blob: 5a56899de62ab8a0947b3ec95d7cd9bbb0750ac4 [file] [log] [blame]
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +01001*version9.txt* For Vim version 9.0. Last change: 2023 Dec 24
Bram Moolenaarc51cf032022-02-26 12:25:45 +00002
3
4 VIM REFERENCE MANUAL by Bram Moolenaar
5
6
7 *vim-9.0* *vim-9* *version-9.0* *version9.0*
8Welcome to Vim 9! Several years have passed since the previous release.
9A large number of bugs have been fixed, many nice features have been added
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010010and the Vim9 script syntax is here! This file mentions all the new things and
11changes to existing features since Vim 8.2.0. The patches up to Vim 8.2 can be
12found here: |vim-8.2|.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013
14Use this command to see the full version and features information of the Vim
15program you are using: >
16 :version
17
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010018NEW FEATURES |new-9|
19 Vim script enhancements |new-vim-script-9|
20 Command line completion in a popup menu |new-popup-compl|
21 Updated colorschemes |new-colorschemes-9|
22 Various new items |new-items-9|
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010024INCOMPATIBLE CHANGES |incompatible-9|
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010026IMPROVEMENTS |improvements-9|
Bram Moolenaarc51cf032022-02-26 12:25:45 +000027
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010028COMPILE TIME CHANGES |compile-changes-9|
Bram Moolenaarc51cf032022-02-26 12:25:45 +000029
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010030PATCHES |patches-9|
Bram Moolenaarc51cf032022-02-26 12:25:45 +000031
32
33See |vi_diff.txt| for an overview of differences between Vi and Vim 9.0.
34See |version4.txt|, |version5.txt|, |version6.txt|, |version7.txt| and
35|version8.txt| for differences between Vim versions.
36
37You can find an overview of the most important changes (according to Martin
38Tournoij) on this site: https://www.arp242.net/vimlog/
39
Bram Moolenaard799daa2022-06-20 11:17:32 +010040 *Sven-Guckes*
Bram Moolenaarc51cf032022-02-26 12:25:45 +000041Vim version 9.0 is dedicated to Sven Guckes, who passed away in February 2022
42when the release was being prepared. Sven was a long time supporter of Vim.
43He registered the vim.org domain and created the first Vim website. We will
44remember him!
45
Christian Brabandte978b452023-08-13 10:33:05 +020046 *Bram* *Moolenaar* *Bram-Moolenaar*
Christian Brabandt596ad662023-08-16 00:11:09 +020047Vim version 9.1 is dedicated to Bram Moolenaar, who passed away on August 3rd
482023 while still working full-time on Vim. The Vim project would not exist
49without his ongoing passion to lead and develop Vim and the community for more
50than 30 years. Bram was also passionate about his |ICCF| foundation to help
51children in Uganda. If you enjoy using Vim, please consider donating! We will
52miss his guidance, passion and leadership.
Christian Brabandte978b452023-08-13 10:33:05 +020053
54Obituary Articles: https://github.com/vim/vim/discussions/12742
55Say Farewell: https://github.com/vim/vim/discussions/12737
56
Bram Moolenaarc51cf032022-02-26 12:25:45 +000057==============================================================================
58NEW FEATURES *new-9*
59
60First an overview of the more interesting new features. A comprehensive list
61is below.
62
63
64Vim9 script ~
65 *new-vim-script-9*
66The Vim script language has been changed step by step over many years,
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010067preserving backwards compatibility. Several choices made in the early days
68got in the way of making it work better. At the same time, Vim script is
69being used much more often, since there are so many plugins being used.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000070
71Vim9 script provides a syntax that is much more similar to other languages.
72In other words: "less weird". Compiled functions are introduced which allow
73for a large speed improvement. You can expect around ten times faster
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010074execution, or even more. The price to pay is that Vim9 script is not
75backwards compatible. But don't worry, you can still use your old scripts,
76the new script language is added, it does not replace the legacy script.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000077
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010078Information about Vim9 script can be found in the |Vim9| help file.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000079
80
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010081Command line completion in a popup menu ~
82 *new-popup-compl*
83Before there was the 'wildmenu' option, which uses the space of one line above
84the statusline to show matches. Only a few matches fit there.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000085
Bram Moolenaar71b6d332022-09-10 13:13:14 +010086Now a popup menu can be used by setting 'wildoptions' to "pum". This allows
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010087for showing many more matches. This requires redrawing more of the display,
88but since computers are fast enough that is not a problem.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000089
90
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010091Updated colorschemes ~
92 *new-colorschemes-9*
93Colorschemes from https://github.com/vim/colorschemes have been included.
94They were made to work consistently across many types of terminals. Although
95generally an improvement, a lot of personal preference is involved. You can
96always get the old version if you prefer it, look here:
97https://github.com/vim/colorschemes/blob/master/legacy_colors/
98
99
100Various new items ~
101 *new-items-9*
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000102Options: ~
103
104'autoshelldir' change directory to the shell's current directory
105'cdhome' change directory to the home directory by ":cd"
Bram Moolenaard799daa2022-06-20 11:17:32 +0100106'cinscopedecls' words that are recognized by 'cino-g'
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000107'guiligatures' GTK GUI: ASCII characters that can form shapes
Bram Moolenaard799daa2022-06-20 11:17:32 +0100108'mousemoveevent' report mouse moves with <MouseMove>
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000109'quickfixtextfunc' function for the text in the quickfix window
110'spelloptions' options for spell checking
111'thesaurusfunc' function to be used for thesaurus completion
112'xtermcodes' request terminal codes from an xterm
113
114
115Ex commands: ~
116
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100117|:abstract| (reserved for future use)
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000118|:argdedupe| remove duplicates from the argument list
119|:balt| like ":badd" but also set the alternate file
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100120|:class| (reserved for future use)
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000121|:def| define a Vim9 user function
122|:defcompile| compile Vim9 user functions in current script
123|:disassemble| disassemble Vim9 user function
124|:echoconsole| like :echomsg but write to stdout
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100125|:endinterface| (reserved for future use)
126|:endclass| (reserved for future use)
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000127|:enddef| end of a user function started with :def
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100128|:endenum| (reserved for future use)
129|:enum| (reserved for future use)
130|:eval| evaluate an expression and discard the result
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000131|:export| Vim9: export an item from a script
132|:final| declare an immutable variable in Vim9
133|:import| Vim9: import an item from another script
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100134|:interface| (reserved for future use)
135|:static| (reserved for future use)
136|:type| (reserved for future use)
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000137|:var| variable declaration in Vim9
138|:vim9script| indicates Vim9 script file
139
140
141Ex command modifiers: ~
142
143|:legacy| make following command use legacy script syntax
144|:vim9cmd| make following command use Vim9 script syntax
145
146
147New and extended functions: ~
148
149|assert_nobeep()| assert that a command does not cause a beep
Bram Moolenaard799daa2022-06-20 11:17:32 +0100150|autocmd_add()| add a list of autocmds and groups
151|autocmd_delete()| delete a list of autocmds and groups
152|autocmd_get()| return a list of autocmds
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000153|blob2list()| get a list of numbers from a blob
154|charclass()| class of a character
155|charcol()| character number of the cursor or a mark
156|charidx()| character index of a byte in a string
157|digraph_get()| get digraph
158|digraph_getlist()| get all digraphs
159|digraph_set()| register digraph
160|digraph_setlist()| register multiple digraphs
161|echoraw()| output characters as-is
162|exists_compiled()| like exists() but check at compile time
163|extendnew()| make a new Dictionary and append items
164|flatten()| flatten a List
165|flattennew()| flatten a copy of a List
166|fullcommand()| get full command name
167|getcharpos()| get character position of cursor, mark, etc.
168|getcharstr()| get a character from the user as a string
Bram Moolenaard799daa2022-06-20 11:17:32 +0100169|getcmdcompltype()| return current cmdline completion type
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100170|getcmdscreenpos()| return the current cursor position in the cmdline
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000171|getcursorcharpos()| get character position of the cursor
172|getmarklist()| list of global/local marks
173|getreginfo()| get information about a register
174|gettext()| lookup message translation
175|hlget()| get highlight group attributes
176|hlset()| set highlight group attributes
Bram Moolenaard799daa2022-06-20 11:17:32 +0100177|isabsolutepath()| check if a path is absolute
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000178|list2blob()| get a blob from a list of numbers
Bram Moolenaard799daa2022-06-20 11:17:32 +0100179|maplist()| list of all mappings, a dict for each
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000180|mapnew()| make a new List with changed items
181|mapset()| restore a mapping
182|matchfuzzy()| fuzzy matches a string in a list of strings
183|matchfuzzypos()| fuzzy matches a string in a list of strings
184|menu_info()| get information about a menu item
185|popup_list()| get list of all popup window IDs
186|prompt_getprompt()| get the effective prompt text for a buffer
187|prop_add_list()| attach a property at multiple positions
188|prop_find()| search for a property
189|readblob()| read a file into a Blob
190|readdirex()| get a List of file information in a directory
191|reduce()| reduce a List to a value
192|searchcount()| get number of matches before/after the cursor
193|setcellwidths()| set character cell width overrides
194|setcharpos()| set character position of cursor, mark, etc.
195|setcursorcharpos()| set character position of the cursor
196|slice()| take a slice of a List
197|strcharlen()| length of a string in characters
198|terminalprops()| properties of the terminal
199|test_gui_event()| generate a GUI event for testing
200|test_null_function()| return a null Funcref
201|test_srand_seed()| set the seed value for srand()
202|test_unknown()| return a value with unknown type
203|test_void()| return a value with void type
204|typename()| type of a variable as text
Bram Moolenaard799daa2022-06-20 11:17:32 +0100205|virtcol2col()| byte index of a character on screen
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000206|win_gettype()| get type of window
207|win_move_separator()| move window vertical separator
208|win_move_statusline()| move window status line
209|windowsversion()| get MS-Windows version
210
211
212New Vim variables: ~
213
214|v:numbermax| maximum value of a number
215|v:numbermin| minimum value of a number (negative)
216|v:numbersize| number of bits in a Number
217|v:collate| current locale setting for collation order
218|v:exiting| vim exit code
219|v:colornames| dictionary that maps color names to hex color strings
220|v:sizeofint| number of bytes in an int
221|v:sizeoflong| number of bytes in a long
222|v:sizeofpointer| number of bytes in a pointer
223|v:maxcol| maximum line length
224
225
226New autocommand events: ~
227
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100228|CompleteDonePre| after Insert mode completion done, before clearing info
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000229|DirChangedPre| before the working directory will change
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100230|InsertLeavePre| just before leaving Insert mode
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000231|ModeChanged| after changing the mode
232|SigUSR1| after the SIGUSR1 signal has been detected
233|WinClosed| after closing a window
Bram Moolenaard799daa2022-06-20 11:17:32 +0100234|WinScrolled| after scrolling or resizing a window
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000235|VimSuspend| when suspending Vim
236|VimResume| when Vim is resumed after being suspended
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000237
238
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100239New operators: ~
Bram Moolenaard799daa2022-06-20 11:17:32 +0100240
241|>>| bitwise right shift
242|<<| bitwise left shift
243|??| falsy operator
244
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000245New runtime files: ~
246
247Too many to list here.
248
249==============================================================================
250INCOMPATIBLE CHANGES *incompatible-9*
251
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100252There is only one change that is incompatible with previous releases:
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000253
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100254- Lua arrays are now one-based, they used to be zero-based.
255
256Note that when using |Vim9| script several things work differently, see
257|vim9-differences|.
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000258
259==============================================================================
260IMPROVEMENTS *improvements-9*
261
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100262Various small and useful improvements have been made since Vim 8.2, here is a
263summary.
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000264
Bram Moolenaard799daa2022-06-20 11:17:32 +0100265Many memory leaks, invalid memory accesses and crashes have been fixed.
266See the list of patches below: |bug-fixes-9|.
267
Bram Moolenaarb59ae592022-11-23 23:46:31 +0000268Support for Vim expression evaluation in a string. |interpolated-string|
Bram Moolenaard799daa2022-06-20 11:17:32 +0100269Support for evaluating Vim expressions in a heredoc. |:let-heredoc|
270
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100271Support for fuzzy matching:
272- a string in a List of strings. |fuzzy-matching|
Bram Moolenaar76db9e02022-11-09 21:21:04 +0000273- completion support for command line completion using 'wildoptions'.
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100274- for |:vimgrep|.
Bram Moolenaard799daa2022-06-20 11:17:32 +0100275
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100276Added support for the |Haiku| OS.
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100277
Bram Moolenaard799daa2022-06-20 11:17:32 +0100278Support for "lsp" channel mode to simplify LSP server RPC communication
Bram Moolenaara57b5532022-06-24 11:48:03 +0100279|language-server-protocol|. Support for using a Unix domain socket with a
280|channel|. IPv6 support in channels |channel-address|.
Bram Moolenaard799daa2022-06-20 11:17:32 +0100281
282Support for sourcing lines from the current buffer. |:source-range|
283
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100284Terminal window improvements:
285- Support for opening a terminal in a popup window. |popup-terminal|
286- Allow setting underline color in terminal.
287- Detect focus events in terminal (|FocusGained| and |FocusLost|).
288- Add bell support for the terminal window. ('belloff')
289- Support mouse left-right scrolling in a terminal window.
Bram Moolenaara57b5532022-06-24 11:48:03 +0100290
Bram Moolenaard799daa2022-06-20 11:17:32 +0100291Support for stopping profiling a Vim script: `:profile stop` and dumping the
292report to a file: `:profile dump` . |:profile|
293
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100294Completion improvements:
295- Argument completion support for the |:breakadd|, |:breakdel|, |:diffget|,
296 |:diffput|, |:profile|, |:profdel| and |:scriptnames| commands.
297- Support using any Vim type for user_data with the completion functions
298 (|complete-items|).
299- Stop insert mode completion without changing text (|i_CTRL-X_CTRL-Z|).
300- Add the "cmdline" option to |getcompletion()| to return the command line
301 arguments.
Bram Moolenaard799daa2022-06-20 11:17:32 +0100302
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100303Support for setting the 'foldtext', 'completefunc', 'omnifunc',
304'operatorfunc', 'thesaurusfunc', 'quickfixtextfunc', 'tagfunc',
305'imactivatefunc' and 'imstatusfunc' options to a function reference or a
306lambda function or a script-local function.
Bram Moolenaard799daa2022-06-20 11:17:32 +0100307
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100308Support directly setting the 'balloonexpr', 'charconvert' 'foldexpr',
309'formatexpr', 'includeexpr', 'printexpr', 'patchexpr', 'indentexpr',
310'modelineexpr', 'diffexpr' and 'printexpr' options to a script-local function.
Bram Moolenaard799daa2022-06-20 11:17:32 +0100311
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100312Improvements in 'fillchars':
313- Support for configuring the character used to mark the beginning of a fold,
314 show a closed fold and show a fold separator using "foldopen", "foldclose"
315 and "foldsep" respectively in 'fillchars'.
316- Support for configuring the character displayed in non existing lines using
317 "eob" in 'fillchars'.
318- Support for using multibyte items with the "stl", "stlnc", "foldopen",
319 "foldclose" and "foldsep" items in the 'fillchars' option.
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100320
321Support for the XChaCha20 encryption method. 'cryptmethod'
Bram Moolenaard799daa2022-06-20 11:17:32 +0100322
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100323Spell checking:
324- Spell check current word with |z=| even when 'spell' is off.
325- Add "timeout" to 'spellsuggest' to limit the searching time for spell
326 suggestions.
327- Add support for spell checking CamelCased words by adding "camel" to
328 'spelloptions'.
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100329
Bram Moolenaard799daa2022-06-20 11:17:32 +0100330Support for executing Ex commands in a map without changing the current mode
331|<Cmd>| and |<ScriptCmd>|.
332
Bram Moolenaard799daa2022-06-20 11:17:32 +0100333Add optional error code to |:cquit|.
334
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100335Recognize numbers as unsigned when "unsigned" is set in 'nrformats'.
Bram Moolenaard799daa2022-06-20 11:17:32 +0100336
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100337Expand script ID using expand('<SID>') and script name using
338expand('<script>'). |expand()|
Bram Moolenaard799daa2022-06-20 11:17:32 +0100339
Bram Moolenaara57b5532022-06-24 11:48:03 +0100340Jump to the last accessed tab page using |g<Tab>| and support using the
341last accessed tab page in |:tabnext| et al.
Bram Moolenaard799daa2022-06-20 11:17:32 +0100342
343Locale aware sorting using |:sort| and |sort()|.
344
345Hide cursor when sleeping using |:sleep!|.
346
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100347Add "multispace" to 'listchars' to show two or more spaces no matter where
348they appear. Add "leadmultispace" to 'listchars' to show two or more leading
349spaces. Add "lead" to 'listchars' to set the character used to show leading
Bram Moolenaar71b6d332022-09-10 13:13:14 +0100350spaces. Support specifying a character using the hexadecimal notation in
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100351'listchars' (\x, \u and \U).
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100352
353Make 'listchars', 'virtualedit' and 'thesaurusfunc' global-local options.
Bram Moolenaard799daa2022-06-20 11:17:32 +0100354
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100355Support for looping over a string using `:for`.
Bram Moolenaard799daa2022-06-20 11:17:32 +0100356
357Don't reset 'wrap' for diff windows when "followwrap" is set in 'diffopt'.
358
359Support for re-evaluating the 'statusline' expression as a statusline format
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100360string (%{% expr %})
Bram Moolenaard799daa2022-06-20 11:17:32 +0100361
362Add |zp| and |zP| to paste in block mode without adding trailing white space.
363Add |zy| to yank without trailing white space in block mode.
364
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100365Add the 'P' command in visual mode to paste text in Visual mode without
366yanking the deleted text to the unnamed register. |put-Visual-mode|
367
Bram Moolenaard799daa2022-06-20 11:17:32 +0100368Add \%.l, \%<.l and \%>.l atoms to match the line the cursor is currently on.
369See |/\%l| for more information.
370
371Add "list" to 'breakindentopt' to add additional indent for lines that match
372a numbered or bulleted list. Add "column" to 'breakindentopt' to indent
373soft-wrapped lines at a specific column.
374
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100375Add the |hl-CursorLineSign| and |hl-CursorLineFold| default highlight groups to
Bram Moolenaard799daa2022-06-20 11:17:32 +0100376adjust sign highlighting for 'cursorline'.
377
378Add the |hl-CurSearch| default highlight group for the current search match.
379
Bram Moolenaard799daa2022-06-20 11:17:32 +0100380Add support for logging on Vim startup (|--log|).
381
Bram Moolenaara57b5532022-06-24 11:48:03 +0100382Add support for customizing the quickfix buffer contents using
383'quickfixtextfunc'. Support for the "note" error type (%t) in |errorformat|.
384Add support for parsing the end line number (%e) and end column number (%k)
385using 'errorformat'.
386
387Support truncating the tag stack using |settagstack()|.
388
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100389Display every option in a separate line when "!" is used with |:set|.
390
391Add "nostop" to 'backspace' to allow backspacing over the start of insert for
392|CTRL-W| and |CTRL-U| also.
393
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100394Sync the undo file if 'fsync' is set.
395
396Support excluding the 'runtimepath' and 'packpath' options from a session file
397using "skiprtp" in 'sessionoptions'.
398
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100399Support for getting the number of lines (line count) in a buffer using
Bram Moolenaara57b5532022-06-24 11:48:03 +0100400|getbufinfo()|.
401
402Support |filter()| and |map()| for blob and string types.
403
404Support for using a multi-byte character for the tag kind. |tags-file-format|
405
406Add support for checking whether a function name is valid using |exists()|.
407
408Update xdiff to version 2.33. Update libvterm to revision 789.
409
Bram Moolenaara57b5532022-06-24 11:48:03 +0100410Support 'trim' for Python/Lua/Perl/Tcl/Ruby/MzScheme interface heredoc.
411
Bram Moolenaar76db9e02022-11-09 21:21:04 +0000412Add the |t_AU| and |t_8u| termcap codes for underline and undercurl. Add the
Bram Moolenaara57b5532022-06-24 11:48:03 +0100413t_fd and t_fe termcap codes for detecting focus events.
414
415Support for indenting C pragmas like normal code. (|cino-P|)
416
Bram Moolenaar76db9e02022-11-09 21:21:04 +0000417Add support for defining the syntax fold level. (|:syn-foldlevel|)
Bram Moolenaara57b5532022-06-24 11:48:03 +0100418
419Add support for using \<*xxx> in a string to prepend a modifier to a
Bram Moolenaar76db9e02022-11-09 21:21:04 +0000420character. (|expr-quote|)
Bram Moolenaara57b5532022-06-24 11:48:03 +0100421
422Add support trimming characters at the beginning or end of a string using
423|trim()|.
424
425Make ":verbose pwd" show the scope of the directory. |:pwd-verbose|
426
Bram Moolenaar76db9e02022-11-09 21:21:04 +0000427Add the "0o" notation for specifying octal numbers. |scriptversion-4|
Bram Moolenaara57b5532022-06-24 11:48:03 +0100428
429Support for changing to the previous tab-local and window-local directories
430using the "tcd -" and "lcd -" commands. (|:tcd-| and |:lcd-|)
431
432Add support for skipping an expression using |search()|.
433
Bram Moolenaara57b5532022-06-24 11:48:03 +0100434Add support for sorting the directory contents returned by the |readdir()|
435and |readdirex()| functions by case.
436
437Add support for executing (|:@|) a register containing line continuation.
438
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100439Lua support:
440- Call Vim functions from Lua (vim.call() and vim.fn()).
441- Convert a Lua function and a closure to a Vim funcref so that it can be
Bram Moolenaar76db9e02022-11-09 21:21:04 +0000442 accessed in a Vim script (|lua-funcref|).
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100443- Not backwards compatible: Make Lua arrays one based.
444- Add support for using table.insert() and table.remove() functions with Vim
445 lists.
446- Support for running multiple Ex-mode commands using vim.command().
447- Add vim.lua_version to get the Lua version.
448- Add support for accessing Vim namespace dictionaries from Lua
449 (|lua-vim-variables|).
Bram Moolenaara57b5532022-06-24 11:48:03 +0100450
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100451Support for new UTF-8 characters from Unicode release 13.
Bram Moolenaara57b5532022-06-24 11:48:03 +0100452
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100453Support for using a command block (|:command-repl|) when defining a |:command|
454or an |:autocmd|.
455
456Support for using |:z!| to use the Vim display height instead of the current
457window height.
458
459Support for deleting a buffer-local command using ":delcommand -buffer {cmd}".
460
461When formatting a // comment after a statement, find the start of the line
462comment, insert the comment leader and indent the comment properly (|fo-/|).
463
464Add the "numhl" argument to `:sign define` to use a separate highlight group
465for the line number on a line where a sign is placed. |:sign-define|
466
467When $SHELL ends in "nologin" or "false", start Vim in restricted mode.
Bram Moolenaara57b5532022-06-24 11:48:03 +0100468
469TermDebug enhancements:
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100470- Support for showing the disassembled code in a separate window.
471- Support for the GDB until command.
472- Use a separate group for the signs.
473
474xxd: Support for showing offset as a decimal number (-d).
Bram Moolenaara57b5532022-06-24 11:48:03 +0100475
Bram Moolenaar8a3b8052022-06-26 12:21:15 +0100476The C omni-complete plugin (|ft-c-omni|), the file type detection script
477(ft.vim) and the syntax menu generation script (makemenu.vim) have been
478rewritten using the Vim9 script syntax.
479
Bram Moolenaara57b5532022-06-24 11:48:03 +0100480A large number of tests have been added to verify the Vim functionality. Most
481of the old style tests have been converted to new style tests using the new
482style assert_* functions.
483
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100484Many Coverity static analysis warnings have been fixed.
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000485
486==============================================================================
487COMPILE TIME CHANGES *compile-changes-9*
488
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100489The following features are now enabled in all the builds:
490 |+cindent|
491 |+jumplist|
492 |+lispindent|
493 |+num64|
494 |+smartindent|
495 |+tag_binary|
496 |+title|
497
498The following features have been removed. They are either obsolete or didn't
499work properly:
Bram Moolenaara57b5532022-06-24 11:48:03 +0100500 - Athena and neXTaw GUI support (use Motif instead)
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100501 - EBCDIC support
Bram Moolenaara57b5532022-06-24 11:48:03 +0100502 - Atari MiNT and BeOS
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100503 - Mac Carbon GUI (use MacVim instead)
504
505The rgb.txt file is no longer included, use colors/lists/default.vim instead.
506
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100507Several large source files were split, mainly to make it easier to inspect
508code coverage information. Source files have also been refactored for
509maintainability.
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000510
Bram Moolenaara57b5532022-06-24 11:48:03 +0100511Support for building Vim with Mingw64 clang compiler on MS-Windows.
512
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100513Support for building Vim with Python 3.10, Lua 5.4.4, Perl 5.34 and
514Ruby 3.1.0.
515
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000516==============================================================================
517PATCHES *patches-9* *bug-fixes-9*
518 *patches-after-8.2*
519
520The list of patches that got included since 8.2.0. This includes all the new
521features, but does not include runtime file changes (syntax, indent, help,
522etc.)
523
524Patch 8.2.0001
525Problem: #endif comments do not reflect corresponding #ifdef.
526Solution: Update the comments. (Rene Nyffenegger, closes #5351)
527Files: src/ui.c
528
529Patch 8.2.0002
530Problem: "dj" only deletes first line of closed fold.
531Solution: Adjust last line of operator for linewise motion. (closes #5354)
532Files: src/ops.c, src/testdir/test_fold.vim
533
534Patch 8.2.0003
535Problem: Build file dependencies are incomplete.
536Solution: Fix the dependencies. (Ken Takata, closes #5356)
537Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms,
538 src/Makefile
539
540Patch 8.2.0004
541Problem: Get E685 and E931 if buffer reload is interrupted.
542Solution: Do not abort deleting a dummy buffer. (closes #5361)
543Files: src/buffer.c, src/proto/buffer.pro, src/testdir/test_trycatch.vim,
544 src/ex_cmds.c, src/ex_getln.c, src/misc2.c, src/quickfix.c,
545 src/window.c, src/vim.h
546
547Patch 8.2.0005
548Problem: Duplication in version info.
549Solution: Use preprocessor string concatenation. (Ken Takata, closes #5357)
550Files: src/version.h
551
552Patch 8.2.0006
553Problem: Test using long file name may fail. (Vladimir Lomov)
554Solution: Limit the name length. (Christian Brabandt, closes #5358)
555Files: src/testdir/test_display.vim
556
557Patch 8.2.0007
558Problem: Popup menu positioned wrong with folding in two tabs.
559Solution: Update the cursor line height. (closes #5353)
560Files: src/move.c, src/proto/move.pro, src/popupmenu.c,
561 src/testdir/test_ins_complete.vim,
562 src/testdir/dumps/Test_pum_with_folds_two_tabs.dump
563
564Patch 8.2.0008
565Problem: Test72 is old style.
566Solution: Convert to new style test. (Yegappan Lakshmanan, closes #5362)
567Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
568 src/testdir/test72.in, src/testdir/test72.ok,
569 src/testdir/test_undo.vim
570
571Patch 8.2.0009
572Problem: VMS: terminal version doesn't build.
573Solution: Move MIN definition. Adjust #ifdefs. (Zoltan Arpadffy)
574Files: src/bufwrite.c, src/fileio.c, src/ui.c, src/xxd/Make_vms.mms
575
576Patch 8.2.0010
577Problem: Test64 is old style.
578Solution: Convert to new style test. (Yegappan Lakshmanan, closes #5363)
579Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
580 src/testdir/test64.in, src/testdir/test64.ok,
581 src/testdir/test95.in, src/testdir/test_regexp_latin.vim
582
583Patch 8.2.0011
584Problem: Screen updating wrong when opening preview window.
585Solution: Redraw the window when the preview window opens.
586Files: src/popupmenu.c, src/testdir/test_ins_complete.vim,
587 src/testdir/dumps/Test_pum_with_preview_win.dump
588
589Patch 8.2.0012
590Problem: Some undo functionality is not tested.
591Solution: Add a few more test cases. (Dominique Pellé, closes #5364)
592Files: src/testdir/test_undo.vim
593
594Patch 8.2.0013
595Problem: Not using a typedef for condstack.
596Solution: Add a typedef.
597Files: src/structs.h, src/ex_docmd.c, src/ex_eval.c, src/userfunc.c,
598 src/ex_cmds.h, src/proto/ex_eval.pro
599
600Patch 8.2.0014
601Problem: Test69 and test95 are old style.
602Solution: Convert to new style tests. (Yegappan Lakshmanan, closes #5365)
603Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
604 src/testdir/test69.in, src/testdir/test69.ok,
605 src/testdir/test95.in, src/testdir/test95.ok,
606 src/testdir/test_regexp_utf8.vim, src/testdir/test_textformat.vim
607
608Patch 8.2.0015
609Problem: Not all modeline variants are tested.
610Solution: Add modeline tests. (Dominique Pellé, closes #5369)
611Files: src/testdir/test_modeline.vim
612
613Patch 8.2.0016
614Problem: Test name used twice, option not restored properly.
615Solution: Rename function, restore option with "&".
616Files: src/testdir/test_textformat.vim
617
618Patch 8.2.0017
619Problem: OS/2 and MS-DOS are still mentioned, even though support was
620 removed long ago.
621Solution: Update documentation. (Yegappan Lakshmanan, closes #5368)
622Files: runtime/doc/autocmd.txt, runtime/doc/change.txt,
623 runtime/doc/cmdline.txt, runtime/doc/editing.txt,
624 runtime/doc/eval.txt, runtime/doc/gui.txt, runtime/doc/insert.txt,
625 runtime/doc/options.txt, runtime/doc/print.txt,
626 runtime/doc/quickfix.txt, runtime/doc/repeat.txt,
627 runtime/doc/starting.txt, runtime/doc/usr_01.txt,
628 runtime/doc/usr_05.txt, runtime/doc/usr_41.txt,
629 runtime/doc/vi_diff.txt, runtime/gvimrc_example.vim,
630 runtime/tools/README.txt, runtime/vimrc_example.vim, src/feature.h
631
632Patch 8.2.0018
633Problem: :join does not add white space where it should. (Zdenek Dohnal)
634Solution: Handle joining multiple lines properly.
635Files: src/ops.c, src/testdir/test_join.vim
636
637Patch 8.2.0019
638Problem: Cannot get number of lines of another buffer.
639Solution: Add "linecount" to getbufinfo(). (Yasuhiro Matsumoto,
640 closes #5370)
641Files: src/evalbuffer.c, src/testdir/test_bufwintabinfo.vim,
642 runtime/doc/eval.txt
643
644Patch 8.2.0020
645Problem: Mouse clicks in the command line not tested.
646Solution: Add tests. (Dominique Pellé, closes #5366)
647Files: src/testdir/test_termcodes.vim
648
649Patch 8.2.0021
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000650Problem: Timer test fails too often on Travis with macOS.
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000651Solution: Be less strict with the time.
652Files: src/testdir/test_timers.vim
653
654Patch 8.2.0022
655Problem: Click in popup window doesn't close it in the GUI. (Sergey Vlasov)
656Solution: When processing the selection also send a button release event.
657 (closes #5367)
658Files: src/gui.c
659
660Patch 8.2.0023
661Problem: Command line editing not sufficiently tested.
662Solution: Add more tests. (Dominique Pellé, closes #5374)
663Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim,
664 src/testdir/test_cmdline.vim, src/testdir/test_ex_mode.vim
665
666Patch 8.2.0024
667Problem: Filetype Rego not recognized.
668Solution: Add *.rego. (Matt Dunford, closes #5376)
669Files: runtime/filetype.vim, src/testdir/test_filetype.vim
670
671Patch 8.2.0025
672Problem: Repeated word in comment.
673Solution: Remove one. (Rene Nyffenegger, closes #5384)
674Files: src/structs.h
675
676Patch 8.2.0026
677Problem: Still some /* */ comments.
678Solution: Convert to // comments.
679Files: src/message.c, src/message_test.c, src/misc1.c, src/misc2.c,
680 src/move.c
681
682Patch 8.2.0027
683Problem: Still some /* */ comments.
684Solution: Convert to // comments.
685Files: src/iid_ole.c, src/indent.c, src/insexpand.c, src/iscygpty.c,
686 src/version.c
687
688Patch 8.2.0028
689Problem: Searchpairpos() is not tested.
690Solution: Add tests. Also improve searchpair() testing. (Dominique Pellé,
691 closes #5388)
692Files: src/testdir/test_search.vim
693
694Patch 8.2.0029
695Problem: MS-Windows: crash with empty job command.
696Solution: Check for NULL result. (Yasuhiro Matsumoto, closes #5390)
697Files: src/channel.c, src/testdir/test_channel.vim
698
699Patch 8.2.0030
700Problem: "gF" does not work on output of "verbose command".
701Solution: Recognize " line " and translations. (closes #5391)
702Files: src/globals.h, src/eval.c, src/findfile.c, src/testdir/test_gf.vim
703
704Patch 8.2.0031 (after 8.2.0029)
705Problem: MS-Windows: test for empty job fails
706Solution: Check for error message, make it also fail on Unix.
707Files: src/channel.c, src/testdir/test_channel.vim
708
709Patch 8.2.0032 (after 8.2.0031)
710Problem: MS-Windows: test for blank job fails
711Solution: Check before escaping.
712Files: src/channel.c, src/testdir/test_channel.vim
713
714Patch 8.2.0033
715Problem: Crash when make_extmatch() runs out of memory.
716Solution: Check for NULL. (Dominique Pellé, closes #5392)
717Files: src/regexp_bt.c, src/regexp_nfa.c
718
719Patch 8.2.0034
720Problem: Missing check for out of memory.
721Solution: Check for NULL after vim_strsave(). (Dominique Pellé,
722 closes #5393)
723Files: src/filepath.c
724
725Patch 8.2.0035
726Problem: Saving and restoring called_emsg is clumsy.
727Solution: Count the number of error messages.
728Files: src/message.c, src/buffer.c, src/channel.c, src/drawscreen.c,
729 src/ex_cmds2.c, src/gui.c, src/highlight.c, src/main.c,
730 src/regexp.c, src/search.c, src/testing.c, src/globals.h
731
732Patch 8.2.0036
733Problem: Not enough test coverage for match functions.
734Solution: Add a few more test cases. (Dominique Pellé, closes #5394)
735 Add error number.
736Files: src/testdir/test_match.vim
737
738Patch 8.2.0037
739Problem: Missing renamed message.
740Solution: Now really add the error number.
741Files: src/highlight.c
742
743Patch 8.2.0038
744Problem: Spell suggestions insufficiently tested.
745Solution: Add spell suggestion tests. (Dominique Pellé, closes #5398)
746Files: src/testdir/test_spell.vim
747
748Patch 8.2.0039
749Problem: Memory access error when "z=" has no suggestions.
750Solution: Check for negative index.
751Files: src/testdir/test_spell.vim, src/spellsuggest.c
752
753Patch 8.2.0040
754Problem: Timers test is still flaky on Travis for Mac.
755Solution: Run separately instead of as part of test_alot.
756Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim
757
758Patch 8.2.0041
759Problem: Leaking memory when selecting spell suggestion.
760Solution: Free previous value at the right time.
761Files: src/spellsuggest.c
762
763Patch 8.2.0042
764Problem: Clearing funccal values twice.
765Solution: Remove clearing individual fields.
766Files: src/userfunc.c
767
768Patch 8.2.0043
769Problem: Timers test is still flaky on Travis for Mac.
770Solution: Increase maximum expected time.
771Files: src/testdir/test_timers.vim
772
773Patch 8.2.0044
774Problem: Expression type is used inconsistently.
775Solution: Add "ETYPE_IS" and "ETYPE_ISNOT" as separate enum values. Rename
776 "TYPE_" to "ETYPE_" to avoid confusion.
777Files: src/structs.h, src/eval.c, src/proto/eval.pro, src/debugger.c
778
779Patch 8.2.0045 (after 8.2.0044)
780Problem: Script test fails.
781Solution: For numbers "is" and "isnot" work like "==" and "!=".
782Files: src/eval.c
783
784Patch 8.2.0046
785Problem: Tests for spell suggestions are slow.
786Solution: Use shorter words. Test with latin1 and utf-8 to cover more code.
787 (Dominique Pellé, closes #5399)
788Files: src/testdir/test_spell.vim
789
790Patch 8.2.0047
791Problem: Cannot skip tests for specific MS-Windows platform.
792Solution: Add windowsversion().
793Files: src/os_win32.c, src/globals.h, src/evalfunc.c,
794 runtime/doc/eval.txt, src/testdir/gen_opt_test.vim,
795 src/testdir/test_options.vim
796
797Patch 8.2.0048
798Problem: Another timers test is flaky on Travis for Mac.
799Solution: Increase maximum expected time.
800Files: src/testdir/test_timers.vim
801
802Patch 8.2.0049
803Problem: Command line completion not fully tested.
804Solution: Add more test cases. Make help sorting stable. (Dominique Pellé,
805 closes #5402)
806Files: src/ex_cmds.c, src/testdir/test_cd.vim,
807 src/testdir/test_cmdline.vim, src/testdir/test_help.vim,
808 src/testdir/test_menu.vim, src/testdir/test_options.vim,
809 src/testdir/test_syntax.vim
810
811Patch 8.2.0050
812Problem: After deleting a file mark it is still in viminfo.
813Solution: When a file mark was deleted more recently than the mark in the
814 merged viminfo file was updated, do not store the mark. (Pavol
815 Juhas, closes #5401, closes #1339)
816Files: src/mark.c, src/testdir/test_marks.vim,
817 src/testdir/test_viminfo.vim, src/viminfo.c
818
819Patch 8.2.0051 (after 8.2.0049)
820Problem: Command line completion test skipped. (Christian Brabandt)
821Solution: Invert condition.
822Files: src/testdir/test_cmdline.vim
823
824Patch 8.2.0052
825Problem: More-prompt not properly tested.
826Solution: Add a test case. (Dominique Pellé, closes #5404)
827Files: src/testdir/test_messages.vim
828
829Patch 8.2.0053
830Problem: windowsversion() does not always return the right value.
831Solution: Add a compatibility section in the manifest. (Ken Takata,
832 closes #5407)
833Files: src/gvim.exe.mnf
834
835Patch 8.2.0054
836Problem: :diffget and :diffput don't have good completion.
837Solution: Add proper completion. (Dominique Pellé, closes #5409)
838Files: runtime/doc/eval.txt, src/buffer.c, src/cmdexpand.c,
839 src/testdir/test_diffmode.vim, src/usercmd.c, src/vim.h
840
841Patch 8.2.0055
842Problem: Cannot use ":gui" in vimrc with VIMDLL enabled.
843Solution: Change the logic, check "gui.starting". (Ken Takata, closes #5408)
844Files: src/gui.c
845
846Patch 8.2.0056
847Problem: Execution stack is incomplete and inefficient.
848Solution: Introduce a proper execution stack and use it instead of
849 sourcing_name/sourcing_lnum. Create a string only when used.
850Files: src/structs.h, src/globals.h, src/autocmd.c, src/buffer.c
851 src/debugger.c, src/ex_docmd.c, src/ex_eval.c, src/highlight.c,
852 src/main.c, src/map.c, src/message.c, src/proto/scriptfile.pro,
853 src/scriptfile.c, src/option.c, src/profiler.c, src/spellfile.c,
854 src/term.c, src/testing.c, src/usercmd.c, src/userfunc.c,
855 src/kword_test.c, src/testdir/test_debugger.vim
856
857Patch 8.2.0057 (after 8.2.0056)
858Problem: Cannot build with small features.
859Solution: Add #ifdefs.
860Files: src/scriptfile.c
861
862Patch 8.2.0058
863Problem: Running tests changes ~/.viminfo.
864Solution: Make 'viminfo' empty when summarizing tests results. (closes #5414)
865Files: src/testdir/summarize.vim
866
867Patch 8.2.0059
868Problem: Compiler warnings for unused variables in small build. (Tony
869 Mechelynck)
870Solution: Add #ifdef.
871Files: src/scriptfile.c
872
873Patch 8.2.0060
874Problem: Message test only runs with one encoding. (Dominique Pellé)
875Solution: Run the test with "utf-8" and "latin1". Fix underflow. (related
876 to #5410)
877Files: src/message_test.c, src/message.c
878
879Patch 8.2.0061
880Problem: The execute stack can grow big and never shrinks.
881Solution: Reduce the size in garbage collect.
882Files: src/eval.c
883
884Patch 8.2.0062
885Problem: Memory test is flaky on FreeBSD.
886Solution: Add a short sleep before getting the first size.
887Files: src/testdir/test_memory_usage.vim
888
889Patch 8.2.0063
890Problem: Wrong size argument to vim_snprintf(). (Dominique Pellé)
891Solution: Reduce the size by the length. (related to #5410)
892Files: src/ops.c
893
894Patch 8.2.0064
895Problem: Diffmode completion doesn't use per-window setting.
896Solution: Check if a window is in diff mode. (Dominique Pellé, closes #5419)
897Files: src/buffer.c, src/testdir/test_diffmode.vim
898
899Patch 8.2.0065
900Problem: Amiga and alikes: autoopen only used on Amiga OS4.
901Solution: Adjust #ifdefs. (Ola Söder, closes #5413)
902Files: src/os_amiga.c
903
904Patch 8.2.0066
905Problem: Some corners of vim_snprintf() are not tested.
906Solution: Add a test in C. (Dominique Pellé, closes #5422)
907Files: src/message_test.c
908
909Patch 8.2.0067
910Problem: ERROR_UNKNOWN clashes on some systems.
911Solution: Rename ERROR_ to FCERR_. (Ola Söder, closes #5415)
912Files: src/evalfunc.c, src/userfunc.c, src/vim.h
913
914Patch 8.2.0068
915Problem: Crash when using Python 3 with "utf32" encoding. (Dominique Pellé)
916Solution: Use "utf-8" whenever enc_utf8 is set. (closes #5423)
917Files: src/testdir/test_python3.vim, src/if_py_both.h
918
919Patch 8.2.0069
920Problem: ETYPE_ is used for two different enums.
921Solution: Rename one to use EXPR_.
922Files: src/structs.h, src/eval.c, src/debugger.c
923
924Patch 8.2.0070
925Problem: Crash when using Python 3 with "debug" encoding. (Dominique Pellé)
926Solution: Use "euc-jp" whenever enc_dbcs is set.
927Files: src/testdir/test_python3.vim, src/if_py_both.h
928
929Patch 8.2.0071
930Problem: Memory test often fails on Cirrus CI.
931Solution: Allow for more tolerance in the upper limit. Remove sleep.
932Files: src/testdir/test_memory_usage.vim
933
934Patch 8.2.0072 (after 8.2.0071)
935Problem: Memory test still fails on Cirrus CI.
936Solution: Allow for a tiny bit more tolerance in the upper limit.
937Files: src/testdir/test_memory_usage.vim
938
939Patch 8.2.0073
940Problem: Initializing globals with COMMA is clumsy.
941Solution: Use INIT2(), INIT3(), etc.
942Files: src/vim.h, src/globals.h
943
944Patch 8.2.0074
945Problem: Python 3 unicode test sometimes fails.
946Solution: Make 'termencoding' empty. Correct number of error message.
947Files: src/change.c, runtime/doc/options.txt, runtime/doc/message.txt,
948 src/testdir/test_python3.vim
949
950Patch 8.2.0075
951Problem: Python 3 unicode test still sometimes fails.
952Solution: Skip the test when 'termencoding' is not empty.
953Files: src/testdir/test_python3.vim
954
955Patch 8.2.0076
956Problem: Python 3 unicode test fails on MS-Windows.
957Solution: Do not set 'encoding' to "debug" on MS-Windows.
958Files: src/testdir/test_python3.vim
959
960Patch 8.2.0077
961Problem: settagstack() cannot truncate at current index.
962Solution: Add the "t" action. (Yegappan Lakshmanan, closes #5417)
963Files: runtime/doc/eval.txt, src/evalfunc.c, src/tag.c,
964 src/testdir/test_tagjump.vim
965
966Patch 8.2.0078
967Problem: Expanding <sfile> works differently the second time.
968Solution: Keep the expanded name when redefining a function. (closes #5425)
969Files: src/testdir/test_vimscript.vim, src/userfunc.c
970
971Patch 8.2.0079
972Problem: Python 3 unicode test still fails on MS-Windows.
973Solution: Do not set 'encoding' to "euc-tw" on MS-Windows.
974Files: src/testdir/test_python3.vim
975
976Patch 8.2.0080
977Problem: Globals using INIT4() are not in the tags file.
978Solution: Adjust the tags command.
979Files: src/configure.ac, src/auto/configure
980
981Patch 8.2.0081
982Problem: MS-Windows also need the change to support INIT4().
983Solution: Add the ctags arguments. (Ken Takata)
984Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
985
986Patch 8.2.0082
987Problem: When reusing a buffer listeners are not cleared. (Axel Forsman)
988Solution: Clear listeners when reusing a buffer. (closes #5431)
989Files: src/testdir/test_listener.vim, src/buffer.c
990
991Patch 8.2.0083
992Problem: Text properties wrong when tabs and spaces are exchanged.
993Solution: Take text properties into account. (Nobuhiro Takasaki,
994 closes #5427)
995Files: src/edit.c, src/testdir/test_textprop.vim
996
997Patch 8.2.0084
998Problem: Complete item "user_data" can only be a string.
999Solution: Accept any type of variable. (closes #5412)
1000Files: src/testdir/test_ins_complete.vim, src/insexpand.c, src/dict.c,
1001 src/proto/dict.pro, src/eval.c, runtime/doc/insert.txt
1002
1003Patch 8.2.0085
1004Problem: Dead code in builtin functions.
1005Solution: Clean up the code.
1006Files: src/evalvars.c, src/sound.c, src/textprop.c
1007
1008Patch 8.2.0086 (after 8.2.0084)
1009Problem: Build error for small version. (Tony Mechelynck)
1010Solution: Only use "user_data" with the +eval feature. Remove unused
1011 variable.
1012Files: src/insexpand.c, src/dict.c
1013
1014Patch 8.2.0087
1015Problem: Crash in command line expansion when out of memory.
1016Solution: Check for NULL pointer. Also make ExpandGeneric() static.
1017 (Dominique Pellé, closes #5437)
1018Files: src/cmdexpand.c, src/proto/cmdexpand.pro
1019
1020Patch 8.2.0088
1021Problem: Insufficient tests for tags; bug in using extra tag field when
1022 using an ex command to position the cursor.
1023Solution: Fix the bug, add more tests. (Yegappan Lakshmanan, closes #5439)
1024Files: runtime/doc/tagsrch.txt, src/tag.c,
1025 src/testdir/test_ins_complete.vim, src/testdir/test_tagfunc.vim,
1026 src/testdir/test_tagjump.vim, src/testdir/test_taglist.vim
1027
1028Patch 8.2.0089
1029Problem: Crash when running out of memory in :setfiletype completion.
1030Solution: Do not allocate memory. (Dominique Pellé, closes #5438)
1031Files: src/cmdexpand.c
1032
1033Patch 8.2.0090
1034Problem: Generated files show up in git status.
1035Solution: Ignore a few more files.
1036Files: .gitignore
1037
1038Patch 8.2.0091
1039Problem: Compiler warnings for size_t / int types.
1040Solution: Change type to size_t. (Mike Williams)
1041Files: src/scriptfile.c
1042
1043Patch 8.2.0092
1044Problem: Tags functionality insufficiently tested.
1045Solution: Add more tags tests. (Yegappan Lakshmanan, closes #5446)
1046Files: src/testdir/test_tagjump.vim
1047
1048Patch 8.2.0093
1049Problem: win_splitmove() can make Vim hang.
1050Solution: Check windows exists in the current tab page. (closes #5444)
1051Files: src/testdir/test_window_cmd.vim, src/evalwindow.c
1052
1053Patch 8.2.0094
1054Problem: MS-Windows: cannot build with Strawberry Perl 5.30.
1055Solution: Define __builtin_expect() as a workaround. (Ken Takata,
1056 closes #5267)
1057Files: src/if_perl.xs
1058
1059Patch 8.2.0095
1060Problem: Cannot specify exit code for :cquit.
1061Solution: Add optional argument. (Thinca, Yegappan Lakshmanan, closes #5442)
1062Files: runtime/doc/quickfix.txt, src/ex_cmds.h, src/ex_docmd.c,
1063 src/testdir/test_quickfix.vim
1064
1065Patch 8.2.0096
1066Problem: Cannot create tiny popup window in last column. (Daniel Steinberg)
1067Solution: Remove position limit. (closes #5447)
1068Files: src/popupwin.c, src/testdir/test_popupwin.vim,
1069 src/testdir/dumps/Test_popupwin_20.dump,
1070 src/testdir/dumps/Test_popupwin_21.dump
1071
1072Patch 8.2.0097
1073Problem: Crash with autocommand and spellfile. (Tim Pope)
1074Solution: Do not pop exestack when not pushed. (closes #5450)
1075Files: src/testdir/test_autocmd.vim, src/spellfile.c
1076
1077Patch 8.2.0098
1078Problem: Exe stack length can be wrong without being detected.
1079Solution: Add a check when ABORT_ON_INTERNAL_ERROR is defined.
1080Files: src/macros.h, src/autocmd.c, src/buffer.c, src/ex_docmd.c,
1081 src/main.c, src/map.c, src/scriptfile.c, src/spellfile.c,
1082 src/userfunc.c
1083
1084Patch 8.2.0099
1085Problem: Use of NULL pointer when out of memory.
1086Solution: Check for NULL pointer. (Dominique Pellé, closes #5449)
1087Files: src/cmdexpand.c
1088
1089Patch 8.2.0100
1090Problem: Macros for Ruby are too complicated.
1091Solution: Do not use DYNAMIC_RUBY_VER, use RUBY_VERSION. (Ken Takata,
1092 closes #5452)
1093Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/auto/configure,
1094 src/configure.ac, src/if_ruby.c
1095
1096Patch 8.2.0101
1097Problem: Crash when passing null object to ":echomsg".
1098Solution: Check for NULL pointer. (Yasuhiro Matsumoto, closes #5460)
1099Files: src/eval.c, src/testdir/test_messages.vim
1100
1101Patch 8.2.0102
1102Problem: Messages test fails in small version.
1103Solution: Only use test_null_job() when available.
1104Files: src/testdir/test_messages.vim
1105
1106Patch 8.2.0103
1107Problem: Using null object with execute() has strange effects.
1108Solution: Give an error message for Job and Channel.
1109Files: src/testdir/test_execute_func.vim, src/globals.h, src/eval.c,
1110 src/evalfunc.c
1111
1112Patch 8.2.0104
1113Problem: Using channel or job with ":execute" has strange effects.
1114Solution: Give an error message for Job and Channel.
1115Files: src/testdir/test_eval_stuff.vim, src/eval.c
1116
1117Patch 8.2.0105
1118Problem: Vim license not easy to find on github.
1119Solution: Add a separate LICENCE file. (closes #5458)
1120Files: LICENSE, Filelist
1121
1122Patch 8.2.0106
1123Problem: Printf formats are not exactly right.
1124Solution: Adjust signed/unsigned conversions. (Frazer Clews, closes #5456)
1125Files: runtime/tools/ccfilter.c, src/libvterm/src/parser.c,
1126 src/libvterm/src/pen.c, src/ui.c
1127
1128Patch 8.2.0107
1129Problem: Hgignore is out of sync from gitignore.
1130Solution: Add lines to hgignore. (Ken Takata)
Bram Moolenaar47c532e2022-03-19 15:18:53 +00001131Files: .hgignore
Bram Moolenaarc51cf032022-02-26 12:25:45 +00001132
1133Patch 8.2.0108
1134Problem: When sign text is changed a manual redraw is needed. (Pontus
1135 Lietzler)
1136Solution: Redraw automatically. (closes #5455)
1137Files: src/testdir/test_signs.vim, src/sign.c,
1138 src/testdir/dumps/Test_sign_cursor_1.dump,
1139 src/testdir/dumps/Test_sign_cursor_2.dump,
1140 src/testdir/dumps/Test_sign_cursor_3.dump,
1141 src/testdir/dumps/Test_sign_cursor_01.dump,
1142 src/testdir/dumps/Test_sign_cursor_02.dump
1143
1144Patch 8.2.0109
1145Problem: Corrupted text properties when expanding spaces.
1146Solution: Reallocate the line. (Nobuhiro Takasaki, closes #5457)
1147Files: src/edit.c, src/testdir/test_textprop.vim
1148
1149Patch 8.2.0110
1150Problem: prop_find() is not implemented.
1151Solution: Implement prop_find(). (Ryan Hackett, closes #5421, closes #4970)
1152Files: src/evalfunc.c, src/proto/textprop.pro,
1153 src/testdir/test_textprop.vim, src/textprop.c,
1154 runtime/doc/textprop.txt
1155
1156Patch 8.2.0111
1157Problem: VAR_SPECIAL is also used for booleans.
1158Solution: Add VAR_BOOL for better type checking.
1159Files: src/structs.h, src/dict.c, src/eval.c, src/evalfunc.c,
1160 src/evalvars.c, src/if_lua.c, src/if_mzsch.c, src/if_py_both.h,
1161 src/if_ruby.c, src/json.c, src/popupmenu.c, src/proto/dict.pro,
1162 src/testing.c, src/vim.h, src/viminfo.c
1163
1164Patch 8.2.0112
1165Problem: Illegal memory access when using 'cindent'.
1166Solution: Check for NUL byte. (Dominique Pellé, closes #5470)
1167Files: src/cindent.c, src/testdir/test_cindent.vim
1168
1169Patch 8.2.0113 (after 8.2.0095)
1170Problem: "make cmdidxs" fails.
1171Solution: Allow address for ":cquit". Add --not-a-term to avoid a delay.
1172Files: src/ex_cmds.h, src/Makefile, src/Make_cyg_ming.mak,
1173 src/Make_mvc.mak
1174
1175Patch 8.2.0114
1176Problem: Info about sourced scripts is scattered.
1177Solution: Use scriptitem_T for info about a script, including s: variables.
1178 Drop ga_scripts.
1179Files: src/structs.h, src/evalvars.c, src/scriptfile.c, src/eval.c
1180
1181Patch 8.2.0115
1182Problem: Byte2line() does not work correctly with text properties. (Billie
1183 Cleek)
1184Solution: Take the bytes of the text properties into account.
1185 (closes #5334)
1186Files: src/testdir/test_textprop.vim, src/memline.c
1187
1188Patch 8.2.0116
1189Problem: BufEnter autocmd not triggered on ":tab drop". (Andy Stewart)
1190Solution: Decrement autocmd_no_enter for the last file. (closes #1660,
1191 closes #5473)
1192Files: src/arglist.c, src/testdir/test_tabpage.vim
1193
1194Patch 8.2.0117
1195Problem: Crash when using gettabwinvar() with invalid arguments. (Yilin
1196 Yang)
1197Solution: Use "curtab" if "tp" is NULL. (closes #5475)
1198Files: src/evalwindow.c, src/testdir/test_getvar.vim
1199
1200Patch 8.2.0118
Dominique Pellé960822a2023-09-24 23:07:39 +02001201Problem: Crash when cycling to buffers involving popup window.
Bram Moolenaarc51cf032022-02-26 12:25:45 +00001202Solution: Do not decrement buffer reference count.
1203Files: src/popupwin.c, src/testdir/test_popupwin.vim,
1204 src/testdir/dumps/Test_popupwin_infopopup_7.dump
1205
1206Patch 8.2.0119
1207Problem: Message test fails on some platforms. (Elimar Riesebieter)
1208Solution: Add type cast to vim_snprintf() argument. (Dominique Pellé)
1209Files: src/message_test.c
1210
1211Patch 8.2.0120
1212Problem: virtcol() does not check arguments to be valid, which may lead to
1213 a crash.
1214Solution: Check the column to be valid. Do not decrement MAXCOL.
1215 (closes #5480)
1216Files: src/evalfunc.c, src/testdir/test_marks.vim
1217
1218Patch 8.2.0121
1219Problem: filter() and map() on blob don't work.
1220Solution: Correct the code. (closes #5483)
1221Files: src/list.c, src/testdir/test_blob.vim
1222
1223Patch 8.2.0122
1224Problem: Readme files still mention MS-DOS.
1225Solution: Update readme files. (Ken Takata, closes #5486)
1226Files: README.md, README.txt, READMEdir/README_dos.txt,
1227 READMEdir/README_srcdos.txt, READMEdir/README_w32s.txt,
1228 runtime/doc/os_win32.txt
1229
1230Patch 8.2.0123
1231Problem: complete_info() does not work when CompleteDone is triggered.
1232Solution: Trigger CompleteDone before clearing the info.
1233Files: src/insexpand.c, runtime/doc/autocmd.txt,
1234 src/testdir/test_ins_complete.vim
1235
1236Patch 8.2.0124
1237Problem: Compiler warnings for variable types.
1238Solution: Change type, add type cast. (Mike Williams)
1239Files: src/memline.c
1240
1241Patch 8.2.0125
1242Problem: :mode no longer works for any system.
1243Solution: Always give an error message.
1244Files: src/ex_docmd.c, runtime/doc/quickref.txt, src/os_amiga.c,
1245 src/proto/os_amiga.pro, src/os_mswin.c, src/proto/os_mswin.pro,
1246 src/os_unix.c, src/proto/os_unix.pro
1247
1248Patch 8.2.0126 (after 8.2.0124)
1249Problem: Textprop test fails.
1250Solution: Fix sign in computation.
1251Files: src/memline.c
1252
1253Patch 8.2.0127
1254Problem: Some buffer commands work in a popup window.
1255Solution: Disallow :bnext, :bprev, etc. (Naruhiko Nishino, closes #5494)
1256Files: src/ex_docmd.c, src/testdir/test_popupwin.vim
1257
1258Patch 8.2.0128
1259Problem: Cannot list options one per line.
1260Solution: Use ":set!" to list one option per line.
1261Files: src/ex_docmd.c, src/option.c, src/proto/option.pro, src/vim.h,
1262 src/ex_cmds.h, src/optiondefs.h, src/testdir/test_options.vim,
1263 runtime/doc/options.txt
1264
1265Patch 8.2.0129
1266Problem: MS-Windows installer doesn't use Turkish translations.
1267Solution: Enable the Turkish translations and fix a few. (Emir Sarı,
1268 closes #5493)
1269Files: nsis/gvim.nsi, nsis/lang/turkish.nsi
1270
1271Patch 8.2.0130
1272Problem: Python3 ranges are not tested.
1273Solution: Add test. (Dominique Pellé, closes #5498)
1274Files: src/testdir/test_python3.vim
1275
1276Patch 8.2.0131
1277Problem: Command line is not cleared when switching tabs and the command
1278 line height differs.
1279Solution: Set the "clear_cmdline" flag when needed. (Naruhiko Nishino,
1280 closes #5495)
1281Files: src/testdir/dumps/Test_cmdlineclear_tabenter.dump,
1282 src/testdir/test_cmdline.vim, src/window.c
1283
1284Patch 8.2.0132
1285Problem: Script may be re-used when deleting and creating a new one.
1286Solution: When the inode matches, also check the file name.
1287Files: src/scriptfile.c, src/testdir/test_source.vim
1288
1289Patch 8.2.0133
1290Problem: Invalid memory access with search command.
1291Solution: When :normal runs out of characters in bracketed paste mode break
1292 out of the loop.(closes #5511)
1293Files: src/testdir/test_search.vim, src/edit.c
1294
1295Patch 8.2.0134
1296Problem: Some map functionality not covered by tests.
1297Solution: Add tests. (Yegappan Lakshmanan, closes #5504)
1298Files: src/testdir/test_maparg.vim, src/testdir/test_mapping.vim
1299
1300Patch 8.2.0135 (after 8.2.0133)
1301Problem: Bracketed paste can still cause invalid memory access. (Dominique
1302 Pellé)
1303Solution: Check for NULL pointer.
1304Files: src/edit.c, src/testdir/test_search.vim
1305
1306Patch 8.2.0136
1307Problem: Stray ch_logfile() call.
1308Solution: Remove it. (closes #5503)
1309Files: src/testdir/test_source.vim
1310
1311Patch 8.2.0137
1312Problem: Crash when using win_execute() from a new tab.
1313Solution: Set the tp_*win pointers. (Ozaki Kiichi, closes #5512)
1314Files: src/testdir/test_winbuf_close.vim, src/window.c
1315
1316Patch 8.2.0138
1317Problem: Memory leak when starting a job fails.
1318Solution: Free the list of arguments. (Ozaki Kiichi, closes #5510)
1319Files: src/channel.c, src/testdir/test_channel.vim
1320
1321Patch 8.2.0139
1322Problem: MS-Windows: default for IME is inconsistent.
1323Solution: Also make IME default enabled with MVC. (Ken Takata, closes #5508)
1324Files: src/Make_mvc.mak
1325
1326Patch 8.2.0140
1327Problem: CI does not test building doc tags.
1328Solution: Add the vimtags/gcc build. Cleanup showing version. (Ozaki Kiichi,
1329 closes #5513)
1330Files: .travis.yml, Filelist, ci/if_ver-1.vim, ci/if_ver-2.vim,
1331 ci/if_ver-cmd.vim, runtime/doc/Makefile, runtime/doc/doctags.vim,
1332 src/testdir/if_ver-1.vim, src/testdir/if_ver-2.vim
1333
1334Patch 8.2.0141
1335Problem: No swift filetype detection.
1336Solution: Add swift, swiftgyb and sil. (Emir Sarı, closes #5517)
1337Files: runtime/filetype.vim, src/testdir/test_filetype.vim
1338
1339Patch 8.2.0142
1340Problem: Possible to enter popup window with CTRL-W p. (John Devin)
1341Solution: Check entered window is not a popup window. (closes #5515)
1342Files: src/window.c, src/popupwin.c, src/testdir/test_popupwin.vim,
1343 src/testdir/dumps/Test_popupwin_previewpopup_9.dump,
1344 src/testdir/dumps/Test_popupwin_previewpopup_10.dump
1345
1346Patch 8.2.0143
1347Problem: Coverity warning for possible use of NULL pointer.
1348Solution: Check argv is not NULL.
1349Files: src/channel.c
1350
1351Patch 8.2.0144
1352Problem: Some mapping code is not fully tested.
1353Solution: Add more test cases. (Yegappan Lakshmanan, closes #5519)
1354Files: src/testdir/test_langmap.vim, src/testdir/test_maparg.vim,
1355 src/testdir/test_mapping.vim
1356
1357Patch 8.2.0145
1358Problem: Using #error for compilation errors should be OK now.
1359Solution: Use #error. (Ken Takata, closes #5299)
1360Files: src/blowfish.c, src/vim.h
1361
1362Patch 8.2.0146
1363Problem: Wrong indent when 'showbreak' and 'breakindent' are set and
1364 'briopt' includes "sbr".
1365Solution: Reset "need_showbreak" where needed. (Ken Takata, closes #5523)
1366Files: src/drawline.c, src/testdir/test_breakindent.vim
1367
1368Patch 8.2.0147
1369Problem: Block Visual mode operators not correct when 'linebreak' set.
1370Solution: Set w_p_lbr to lbr_saved more often. (Ken Takata, closes #5524)
1371Files: src/ops.c, src/testdir/test_listlbr.vim
1372
1373Patch 8.2.0148
1374Problem: Mapping related function in wrong source file.
1375Solution: Move the function. Add a few more test cases. (Yegappan
1376 Lakshmanan, closes #5528)
1377Files: src/map.c, src/proto/term.pro, src/term.c,
1378 src/testdir/test_mapping.vim
1379
1380Patch 8.2.0149
1381Problem: Maintaining a Vim9 branch separately is more work.
1382Solution: Merge the Vim9 script changes.
1383Files: README.md, README_VIM9.md, runtime/doc/Makefile,
1384 runtime/doc/eval.txt, runtime/doc/options.txt, runtime/doc/tags,
1385 runtime/doc/vim9.txt, runtime/ftplugin/vim.vim,
1386 runtime/indent/vim.vim, runtime/syntax/vim.vim,
1387 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Makefile, src/blob.c,
1388 src/channel.c, src/dict.c, src/eval.c, src/evalbuffer.c,
1389 src/evalfunc.c, src/evalvars.c, src/ex_cmdidxs.h, src/ex_cmds.h,
1390 src/ex_docmd.c, src/ex_eval.c, src/filepath.c, src/globals.h,
1391 src/gui.c, src/if_lua.c, src/if_py_both.h, src/insexpand.c,
1392 src/json.c, src/list.c, src/macros.h, src/main.c, src/message.c,
1393 src/misc1.c, src/proto.h, src/proto/blob.pro, src/proto/eval.pro,
1394 src/proto/evalfunc.pro, src/proto/evalvars.pro,
1395 src/proto/ex_docmd.pro, src/proto/ex_eval.pro, src/proto/list.pro,
1396 src/proto/message.pro, src/proto/scriptfile.pro,
1397 src/proto/userfunc.pro, src/proto/vim9compile.pro,
1398 src/proto/vim9execute.pro, src/proto/vim9script.pro,
1399 src/scriptfile.c, src/session.c, src/structs.h, src/syntax.c,
1400 src/testdir/Make_all.mak, src/testdir/test_vim9_expr.vim,
1401 src/testdir/test_vim9_script.vim, src/testing.c, src/userfunc.c,
1402 src/vim.h, src/vim9.h, src/vim9compile.c, src/vim9execute.c,
1403 src/vim9script.c, src/viminfo.c
1404
1405Patch 8.2.0150
1406Problem: Cannot define python function when using :execute. (Yasuhiro
1407 Matsumoto)
1408Solution: Do not recognize "def" inside "function.
1409Files: src/testdir/test_vim9_script.vim, src/userfunc.c
1410
1411Patch 8.2.0151
1412Problem: Detecting a script was already sourced is unreliable.
1413Solution: Do not use the inode number.
1414Files: src/scriptfile.c, src/structs.h, src/testdir/test_vim9_script.vim
1415
1416Patch 8.2.0152
1417Problem: Restoring ctrl_x_mode is not needed.
1418Solution: Remove restoring the old value, it's changed again soon.
1419Files: src/insexpand.c
1420
1421Patch 8.2.0153
1422Problem: Warning shows when listing version info.
1423Solution: Use "-u NONE". (Ozaki Kiichi, closes #5534)
1424Files: .travis.yml
1425
1426Patch 8.2.0154
1427Problem: Reallocating the list of scripts is inefficient.
1428Solution: Instead of using a growarray of scriptitem_T, store pointers and
1429 allocate each scriptitem_T separately. Also avoids that the
1430 growarray pointers change when sourcing a new script.
1431Files: src/globals.h, src/eval.c, src/evalvars.c, src/ex_docmd.c,
1432 src/profiler.c, src/scriptfile.c, src/vim9compile.c,
1433 src/vim9execute.c, src/vim9script.c
1434
1435Patch 8.2.0155
1436Problem: Warnings from MinGW compiler. (John Marriott) Json test fails when
1437 building without +float feature.
1438Solution: Init variables. Fix Json parsing. Skip a few tests that require
1439 the +float feature.
1440Files: src/vim9script.c, src/vim9compile.c, src/vim9execute.c,
1441 src/if_py_both.h, src/json.c, src/testdir/test_method.vim
1442
1443Patch 8.2.0156
1444Problem: Various typos in source files and tests.
1445Solution: Fix the typos. (Emir Sarı, closes #5532)
1446Files: Makefile, src/INSTALLvms.txt, src/Make_vms.mms, src/beval.h,
1447 src/buffer.c, src/charset.c, src/evalvars.c, src/ex_cmds.c,
1448 src/ex_docmd.c, src/getchar.c, src/gui.c, src/gui_mac.c,
1449 src/gui_photon.c, src/if_perl.xs,
1450 src/libvterm/t/11state_movecursor.test,
1451 src/libvterm/t/41screen_unicode.test, src/mbyte.c, src/memline.c,
1452 src/normal.c, src/ops.c, src/option.c, src/option.h,
1453 src/os_unix.c, src/os_win32.c, src/quickfix.c, src/register.c,
1454 src/spell.c, src/tag.c, src/term.c,
1455 src/testdir/test_breakindent.vim, src/testdir/test_channel.vim,
1456 src/testdir/test_cindent.vim, src/testdir/test_digraph.vim,
1457 src/testdir/test_edit.vim, src/testdir/test_netbeans.vim,
1458 src/testdir/test_quickfix.vim, src/testdir/test_registers.vim,
1459 src/testdir/test_stat.vim, src/ui.c, src/xxd/xxd.c
1460
1461Patch 8.2.0157
1462Problem: Vim9 script files not in list of distributed files.
1463Solution: Add the entries.
1464Files: Filelist
1465
1466Patch 8.2.0158 (after 8.2.0123)
1467Problem: Triggering CompleteDone earlier is not backwards compatible.
1468 (Daniel Hahler)
1469Solution: Add CompleteDonePre instead.
1470Files: src/insexpand.c, runtime/doc/autocmd.txt, src/autocmd.c,
1471 src/vim.h, src/testdir/test_ins_complete.vim
1472
1473Patch 8.2.0159
1474Problem: Non-materialized range() list causes problems. (Fujiwara Takuya)
1475Solution: Materialize the list where needed.
1476Files: src/testdir/test_functions.vim, src/testdir/test_python3.vim,
1477 src/userfunc.c, src/evalfunc.c, src/highlight.c, src/evalvars.c,
1478 src/popupmenu.c, src/insexpand.c, src/json.c, src/channel.c,
1479 src/eval.c
1480
1481Patch 8.2.0160 (after 8.2.0159)
1482Problem: Range test fails.
1483Solution: Include change in list code. (#5541)
1484Files: src/list.c
1485
1486Patch 8.2.0161
1487Problem: Not recognizing .gv file as dot filetype.
1488Solution: Add *.gv to dot pattern. (closes #5544)
1489Files: runtime/filetype.vim, src/testdir/test_filetype.vim
1490
1491Patch 8.2.0162
1492Problem: Balloon test fails in the GUI.
1493Solution: Skip test in the GUI.
1494Files: src/testdir/test_functions.vim
1495
1496Patch 8.2.0163
1497Problem: Test hangs on MS-Windows console.
1498Solution: use feedkeys() instead of test_feedinput(). (Ken Takata)
1499Files: src/testdir/test_functions.vim, src/testing.c
1500
1501Patch 8.2.0164
1502Problem: Test_alot takes too long.
1503Solution: Run several tests individually.
1504Files: src/testdir/test_alot.vim, src/testdir/Make_all.mak
1505
1506Patch 8.2.0165
1507Problem: Coverity warning for using NULL pointer.
1508Solution: Add missing "else".
1509Files: src/vim9compile.c
1510
1511Patch 8.2.0166
1512Problem: Coverity warning for using uninitialized variable.
1513Solution: Check for failure.
1514Files: src/vim9execute.c
1515
1516Patch 8.2.0167
1517Problem: Coverity warning for ignoring return value.
1518Solution: Check the return value and jump if failed.
1519Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
1520
1521Patch 8.2.0168
1522Problem: Coverity warning for assigning NULL to an option.
1523Solution: Use empty string instead of NULL.
1524Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
1525
1526Patch 8.2.0169
1527Problem: Coverity warning for dead code.
1528Solution: Check if inside try-finally.
1529Files: src/vim9execute.c
1530
1531Patch 8.2.0170
1532Problem: Coverity warning for ignoring return value.
1533Solution: Check the return value and return if failed.
1534Files: src/vim9compile.c
1535
1536Patch 8.2.0171
1537Problem: Coverity warning for using uninitialized buffer.
1538Solution: Check the skip flag.
1539Files: src/userfunc.c
1540
1541Patch 8.2.0172
1542Problem: Coverity warning for not restoring character.
1543Solution: Restore the character also in case of failure.
1544Files: src/vim9script.c
1545
1546Patch 8.2.0173
1547Problem: Build fails with old compiler.
1548Solution: Do not use anonymous unions. (John Marriott)
1549Files: src/vim9compile.c, src/evalvars.c, src/list.c, src/structs.h,
1550 src/evalfunc.c, src/channel.c, src/if_mzsch.c, src/if_py_both.h
1551
1552Patch 8.2.0174
1553Problem: Various commands not completely tested.
1554Solution: Add more test cases. (Yegappan Lakshmanan, closes #5551)
1555Files: src/testdir/test_excmd.vim, src/testdir/test_fnameescape.vim,
1556 src/testdir/test_ga.vim, src/testdir/test_global.vim,
1557 src/testdir/test_move.vim, src/testdir/test_options.vim,
1558 src/testdir/test_packadd.vim, src/testdir/test_sort.vim,
1559 src/testdir/test_substitute.vim, src/testdir/test_textformat.vim,
1560 src/testdir/test_writefile.vim
1561
1562Patch 8.2.0175
1563Problem: Crash when removing list element in map().
1564Solution: Lock the list. (closes #2652)
1565Files: src/testdir/test_filter_map.vim, src/list.c
1566
1567Patch 8.2.0176
1568Problem: Generating os headers does not work for Swedish.
1569Solution: Set the locale to C. (Christian Brabandt, closes #5258)
1570Files: src/osdef.sh
1571
1572Patch 8.2.0177
1573Problem: Memory leak in get_tags().
1574Solution: Free matches when finding a pseudo-tag line. (Dominique Pellé,
1575 closes #5553)
1576Files: src/tag.c
1577
1578Patch 8.2.0178
1579Problem: With VTP the screen may not be restored properly.
1580Solution: Add another set of saved RGB values. (Nobuhiro Takasaki,
1581 closes #5548)
1582Files: src/os_win32.c
1583
1584Patch 8.2.0179
1585Problem: Still a few places where range() does not work.
1586Solution: Fix using range() causing problems.
1587Files: src/terminal.c, src/testdir/test_functions.vim,
1588 src/testdir/test_popupwin.vim, src/popupwin.c, src/tag.c,
1589 src/testdir/dumps/Test_popupwin_20.dump,
1590 src/testdir/dumps/Test_popupwin_21.dump,
1591 src/testdir/dumps/Test_popup_settext_07.dump, src/globals.h
1592
1593Patch 8.2.0180
1594Problem: Test for wrapmargin fails if terminal is not 80 columns.
1595Solution: Vertical split the window. (Ken Takata, closes #5554)
1596Files: src/testdir/test_textformat.vim
1597
1598Patch 8.2.0181
1599Problem: Problems parsing :term arguments.
1600Solution: Improve parsing, fix memory leak, add tests. (Ozaki Kiichi,
1601 closes #5536)
1602Files: src/channel.c, src/proto/channel.pro, src/structs.h,
1603 src/terminal.c, src/testdir/test_terminal.vim
1604
1605Patch 8.2.0182
1606Problem: Min() and max() materialize a range() list.
1607Solution: Compute the result without materializing the list. (#5541)
1608Files: src/evalfunc.c
1609
1610Patch 8.2.0183
1611Problem: Tests fail when the float feature is disabled.
1612Solution: Skip tests that don't work without float support.
1613Files: src/testdir/shared.vim, src/testdir/test_blob.vim,
1614 src/testdir/test_channel.vim, src/testdir/test_cscope.vim,
1615 src/testdir/test_execute_func.vim, src/testdir/test_expr.vim,
1616 src/testdir/test_functions.vim, src/testdir/test_lambda.vim,
1617 src/testdir/test_listdict.vim, src/testdir/test_lua.vim,
1618 src/testdir/test_options.vim, src/testdir/test_partial.vim,
1619 src/testdir/test_ruby.vim, src/testdir/test_sort.vim,
1620 src/testdir/test_timers.vim, src/testdir/test_true_false.vim,
1621 src/testdir/test_user_func.vim, src/testdir/test_vim9_expr.vim,
1622 src/testdir/test_vimscript.vim, src/testdir/test_regexp_latin.vim,
1623 src/testdir/test_glob2regpat.vim
1624
1625Patch 8.2.0184
1626Problem: Blob test fails.
1627Solution: Check for different error when float feature is missing.
1628Files: src/testdir/test_blob.vim
1629
1630Patch 8.2.0185
1631Problem: Vim9 script: cannot use "if has()" to skip lines.
1632Solution: Evaluate constant expression at runtime.
1633Files: src/vim9compile.c, src/evalfunc.c, src/proto/evalfunc.pro,
1634 src/userfunc.c, src/testdir/test_vim9_script.vim
1635
1636Patch 8.2.0186
1637Problem: A couple of tests may fail when features are missing.
1638Solution: Check for features. (Dominique Pellé, closes #5561)
1639Files: src/testdir/test_functions.vim, src/testdir/test_highlight.vim
1640
1641Patch 8.2.0187
1642Problem: Redundant code.
1643Solution: Remove unused assignments. (Dominique Pellé, closes #5557)
1644Files: src/vim9compile.c
1645
1646Patch 8.2.0188
1647Problem: Check commands don't work well with Vim9 script.
1648Solution: Improve constant expression handling.
1649Files: src/vim9compile.c, src/testdir/check.vim,
1650 src/testdir/test_vim9_expr.vim
1651
1652Patch 8.2.0189
1653Problem: cd() with NULL argument crashes.
1654Solution: Check for NULL. (Ken Takata, closes #5558)
1655Files: src/testdir/test_cd.vim, src/ex_docmd.c
1656
1657Patch 8.2.0190
1658Problem: Kotlin files are not recognized.
1659Solution: Detect Kotlin files. (Alkeryn, closes #5560)
1660Files: runtime/filetype.vim, src/testdir/test_filetype.vim
1661
1662Patch 8.2.0191
1663Problem: Cannot put a terminal in a popup window.
1664Solution: Allow opening a terminal in a popup window. It will always have
1665 keyboard focus until closed.
1666Files: src/popupwin.c, src/proto/popupwin.pro, src/terminal.c,
1667 src/proto/terminal.pro, src/macros.h, src/mouse.c,
1668 src/highlight.c, src/drawline.c, src/optionstr.c, src/window.c,
1669 src/testdir/test_terminal.vim,
1670 src/testdir/dumps/Test_terminal_popup_1.dump,
1671 src/testdir/dumps/Test_terminal_popup_2.dump,
1672 src/testdir/dumps/Test_terminal_popup_3.dump
1673
1674Patch 8.2.0192 (after 8.2.0191)
1675Problem: Build failure without +terminal feature.
1676Solution: Add #ifdefs.
1677Files: src/popupwin.c
1678
1679Patch 8.2.0193 (after 8.2.0191)
1680Problem: Still build failure without +terminal feature.
1681Solution: Add more #ifdefs.
1682Files: src/macros.h
1683
1684Patch 8.2.0194 (after 8.2.0193)
1685Problem: Some commands can cause problems in terminal popup.
1686Solution: Disallow more commands.
1687Files: src/macros.h, src/popupwin.c, src/proto/popupwin.pro,
1688 src/arglist.c, src/ex_docmd.c, src/window.c,
1689 src/testdir/test_terminal.vim
1690
1691Patch 8.2.0195
1692Problem: Some tests fail when run in the GUI.
1693Solution: Make sure the window width is enough. In the GUI run terminal Vim
1694 in the terminal, if possible.
1695Files: src/testdir/test_highlight.vim, src/testdir/check.vim,
1696 src/testdir/test_terminal.vim
1697
1698Patch 8.2.0196
1699Problem: Blocking commands for a finished job in a popup window.
1700Solution: Do not block commands if the job has finished. Adjust test.
1701Files: src/popupwin.c, src/testdir/test_popupwin.vim, src/window.c,
1702 src/terminal.c, src/proto/terminal.pro
1703
1704Patch 8.2.0197
1705Problem: Some Ex commands not sufficiently tested.
1706Solution: Add more tests. (Yegappan Lakshmanan, closes #5565)
1707Files: src/testdir/test_global.vim, src/testdir/test_help.vim,
1708 src/testdir/test_help_tagjump.vim, src/testdir/test_options.vim,
1709 src/testdir/test_substitute.vim, src/testdir/test_textformat.vim,
1710 src/testdir/test_writefile.vim
1711
1712Patch 8.2.0198
1713Problem: No tests for y/n prompt.
1714Solution: Add tests. (Dominique Pellé, closes #5564)
1715Files: src/testdir/test_messages.vim
1716
1717Patch 8.2.0199
1718Problem: Vim9 script commands not sufficiently tested.
1719Solution: Add more tests. Fix script-local function use.
1720Files: src/vim9execute.c, src/testdir/test_vim9_script.vim,
1721 src/userfunc.c
1722
1723Patch 8.2.0200
1724Problem: Vim9 script commands not sufficiently tested.
1725Solution: Add more tests. Fix storing global variable. Make script
1726 variables work.
1727Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/evalvars.c,
1728 src/proto/evalvars.pro, src/testdir/test_vim9_script.vim,
1729 src/misc1.c, src/proto/misc1.pro
1730
1731Patch 8.2.0201
1732Problem: Cannot assign to an imported variable.
1733Solution: Make it work.
1734Files: src/evalvars.c, src/vim9compile.c, src/proto/vim9compile.pro,
1735 src/userfunc.c, src/testdir/test_vim9_script.vim
1736
1737Patch 8.2.0202
1738Problem: When 'lazyredraw' is set the window title may not be updated.
1739Solution: Set "do_redraw" before entering the main loop. (Jason Franklin)
1740Files: src/main.c
1741
1742Patch 8.2.0203
1743Problem: :helptags and some other functionality not tested.
1744Solution: Add more tests. (Yegappan Lakshmanan, closes #5567)
1745Files: src/testdir/test_compiler.vim, src/testdir/test_ex_mode.vim,
1746 src/testdir/test_excmd.vim, src/testdir/test_filechanged.vim,
1747 src/testdir/test_help.vim, src/testdir/test_help_tagjump.vim,
1748 src/testdir/test_timers.vim, src/testdir/test_window_cmd.vim
1749
1750Patch 8.2.0204
1751Problem: Crash when using winnr('j') in a popup window.
1752Solution: Do not search for neighbors in a popup window. (closes #5568)
1753Files: src/window.c, src/testdir/test_popupwin.vim, src/evalwindow.c
1754
1755Patch 8.2.0205
1756Problem: Error code E899 used twice.
1757Solution: Use E863 for the terminal in popup error.
1758Files: src/popupwin.c
1759
1760Patch 8.2.0206
1761Problem: Calling Vim9 function using default argument fails.
1762Solution: Give an appropriate error. (closes #5572)
1763Files: src/testdir/test_vim9_script.vim, src/vim9compile.c,
1764 src/vim9execute.c
1765
1766Patch 8.2.0207
1767Problem: Crash when missing member type on list argument.
1768Solution: Check for invalid type. (closes #5572)
1769Files: src/userfunc.c, src/testdir/test_vim9_script.vim
1770
1771Patch 8.2.0208
1772Problem: Fnamemodify() does not apply ":~" when followed by ":.".
1773Solution: Don't let a failing ":." cause the ":~" to be skipped. (Yasuhiro
1774 Matsumoto, closes #5577)
1775Files: runtime/doc/cmdline.txt, src/filepath.c,
1776 src/testdir/test_fnamemodify.vim
1777
1778Patch 8.2.0209
1779Problem: Function a bit far away from where it's used.
1780Solution: Move function close to where it's used. (Ken Takata, closes #5569)
1781Files: src/fileio.c, src/filepath.c
1782
1783Patch 8.2.0210
1784Problem: Coverity complains about uninitialized field.
1785Solution: Initialize the field.
1786Files: src/vim9compile.c
1787
1788Patch 8.2.0211
1789Problem: Test for ANSI colors fails without an "ls" command.
1790Solution: Use "dir". (Ken Takata, closes #5582)
1791Files: src/testdir/test_functions.vim
1792
1793Patch 8.2.0212
1794Problem: Missing search/substitute pattern hardly tested.
1795Solution: Add test_clear_search_pat() and tests. (Yegappan Lakshmanan,
1796 closes #5579)
1797Files: runtime/doc/eval.txt, runtime/doc/testing.txt,
1798 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/regexp.pro,
1799 src/proto/search.pro, src/proto/testing.pro, src/regexp.c,
1800 src/search.c, src/testdir/test_quickfix.vim,
1801 src/testdir/test_search.vim, src/testdir/test_sort.vim,
1802 src/testdir/test_substitute.vim, src/testing.c
1803
1804Patch 8.2.0213
1805Problem: Configure does not recognize gcc 10.0 and later.
1806Solution: Adjust the pattern matching the version number. (Sergei
1807 Trofimovich, closes #5580)
1808Files: src/configure.ac, src/auto/configure
1809
1810Patch 8.2.0214
1811Problem: A popup window with a terminal can be made hidden.
1812Solution: Disallow hiding a terminal popup.
1813Files: src/testdir/test_terminal.vim, src/popupwin.c,
1814 src/testdir/dumps/Test_terminal_popup_4.dump
1815
1816Patch 8.2.0215 (after 8.2.0208)
1817Problem: Wrong file name shortening. (Ingo Karkat)
1818Solution: Better check for path separator. (Yasuhiro Matsumoto,
1819 closes #5583, closes #5584)
1820Files: src/filepath.c, src/testdir/test_fnamemodify.vim
1821
1822Patch 8.2.0216
1823Problem: Several Vim9 instructions are not tested.
1824Solution: Add more tests. Fix :disassemble output. Make catch with pattern
1825 work.
1826Files: src/testdir/test_vim9_script.vim, src/vim9execute.c,
1827 src/vim9compile.c
1828
1829Patch 8.2.0217 (after 8.2.0214)
1830Problem: Terminal test fails on Mac.
1831Solution: Add a short wait.
1832Files: src/testdir/test_terminal.vim
1833
1834Patch 8.2.0218
1835Problem: Several Vim9 instructions are not tested.
1836Solution: Add more tests.
1837Files: src/testdir/test_vim9_script.vim
1838
1839Patch 8.2.0219 (after 8.2.0217)
1840Problem: Terminal test still fails on Mac.
1841Solution: Skip part of the test on Mac.
1842Files: src/testdir/test_terminal.vim
1843
1844Patch 8.2.0220
1845Problem: Terminal test did pass on Mac.
1846Solution: Remove the skip again.
1847Files: src/testdir/test_terminal.vim
1848
1849Patch 8.2.0221
1850Problem: No test for Vim9 += and ..=.
1851Solution: Add tests.
1852Files: src/testdir/test_vim9_script.vim
1853
1854Patch 8.2.0222
1855Problem: Vim9: optional function arguments don't work yet.
1856Solution: Implement optional function arguments.
1857Files: src/userfunc.c, src/vim9compile.c, src/vim9execute.c,
1858 src/structs.h, src/testdir/test_vim9_script.vim
1859
1860Patch 8.2.0223
1861Problem: Some instructions not yet tested.
1862Solution: Disassemble more instructions. Move tests to a new file. Compile
1863 call to s:function().
1864Files: src/testdir/test_vim9_script.vim, src/testdir/Make_all.mak,
1865 src/testdir/test_vim9_disassemble.vim, src/vim9compile.c,
1866 src/userfunc.c, src/proto/userfunc.pro, src/vim.h
1867
1868Patch 8.2.0224
1869Problem: compiling :elseif not tested yet.
1870Solution: Add test for :elseif. Fix generating jumps.
1871Files: src/testdir/test_vim9_script.vim, src/vim9compile.c,
1872 src/testdir/test_vim9_disassemble.vim
1873
1874Patch 8.2.0225
1875Problem: compiling lambda not tested yet.
1876Solution: Add test for lambda and funcref. Drop unused instruction arg.
1877Files: src/testdir/test_vim9_disassemble.vim, src/vim9.h,
1878 src/vim9execute.c
1879
1880Patch 8.2.0226
1881Problem: Compiling for loop not tested.
1882Solution: Add a test. Make variable initialization work for more types.
1883Files: src/testdir/test_vim9_disassemble.vim, src/vim9compile.c
1884
1885Patch 8.2.0227
1886Problem: Compiling a few instructions not tested.
1887Solution: Add more test cases.
1888Files: src/testdir/test_vim9_disassemble.vim
1889
1890Patch 8.2.0228
1891Problem: Configure does not recognize gcc version on BSD.
1892Solution: Do not use "\+" in the pattern matching the version number. (Ozaki
1893 Kiichi, closes #5590)
1894Files: src/configure.ac, src/auto/configure
1895
1896Patch 8.2.0229
1897Problem: Compare instructions not tested.
1898Solution: Add test cases. Fix disassemble with line continuation.
1899Files: src/testdir/test_vim9_disassemble.vim, src/vim9execute.c,
1900 src/vim9compile.c
1901
1902Patch 8.2.0230
1903Problem: Terminal popup test is flaky.
1904Solution: Increase wait time a bit.
1905Files: src/testdir/test_terminal.vim
1906
1907Patch 8.2.0231
1908Problem: Silent system command may clear the screen.
1909Solution: Do not clear the screen in t_te.
1910Files: src/term.c
1911
1912Patch 8.2.0232
1913Problem: The :compiler command causes a crash. (Daniel Steinberg)
1914Solution: Do not use the script index if it isn't set.
1915Files: src/ex_docmd.c, src/testdir/test_compiler.vim
1916
1917Patch 8.2.0233
1918Problem: Crash when using garbagecollect() in between rand().
1919Solution: Redesign the rand() and srand() implementation. (Yasuhiro
1920 Matsumoto, closes #5587, closes #5588)
1921Files: src/evalfunc.c, src/testdir/test_random.vim,
1922 runtime/doc/testing.txt, runtime/doc/eval.txt
1923
1924Patch 8.2.0234
1925Problem: Message test fails on SunOS.
1926Solution: Adjust expectation for printf "%p". (Ozaki Kiichi, closes #5595)
1927Files: src/message_test.c
1928
1929Patch 8.2.0235
1930Problem: Draw error when an empty group is removed from 'statusline'.
1931Solution: Do not use highlighting from a removed group.
1932Files: src/buffer.c, src/testdir/test_statusline.vim,
1933 src/testdir/dumps/Test_statusline_1.dump
1934
1935Patch 8.2.0236
1936Problem: MS-Windows uninstall doesn't delete vimtutor.bat.
1937Solution: Change directory before deletion. (Ken Takata, closes #5603)
1938Files: src/uninstall.c
1939
1940Patch 8.2.0237
1941Problem: Crash when setting 'wincolor' on finished terminal window.
1942 (Bakudankun)
1943Solution: Check that the vterm is not NULL. (Yasuhiro Matsumoto, closes
1944 #5607, closes #5610)
1945Files: src/terminal.c, src/testdir/test_terminal.vim
1946
1947Patch 8.2.0238
1948Problem: MS-Windows: job_stop() results in exit value zero.
1949Solution: Call TerminateJobObject() with -1 instead of 0. (Yasuhiro
1950 Matsumoto, closes #5150, closes #5614)
1951Files: src/os_win32.c, src/testdir/test_channel.vim
1952
1953Patch 8.2.0239
1954Problem: MS-Windows: 'env' job option does not override existing
1955 environment variables. (Tim Pope)
1956Solution: Set the environment variables later. (Yasuhiro Matsumoto,
1957 closes #5485, closes #5608)
1958Files: src/os_win32.c, src/testdir/test_channel.vim
1959
1960Patch 8.2.0240
1961Problem: Using memory after it was freed. (Dominique Pellé)
1962Solution: Do not mix conversion buffer with other buffer.
1963Files: src/viminfo.c, src/vim.h
1964
1965Patch 8.2.0241
1966Problem: Crash when setting 'buftype' to "quickfix".
1967Solution: Check that error list is not NULL. (closes #5613)
1968Files: src/quickfix.c, src/testdir/test_quickfix.vim
1969
1970Patch 8.2.0242
1971Problem: Preview popup window test fails with long directory name. (Jakub
1972 Kądziołka)
1973Solution: Use "silent cd". (closes #5615)
1974Files: src/testdir/test_popupwin.vim
1975
1976Patch 8.2.0243
1977Problem: Insufficient code coverage for ex_docmd.c functions.
1978Solution: Add more tests. (Yegappan Lakshmanan, closes #5618)
1979Files: src/testdir/Make_all.mak, src/testdir/test_arglist.vim,
1980 src/testdir/test_buffer.vim, src/testdir/test_cd.vim,
1981 src/testdir/test_cmdline.vim, src/testdir/test_ex_mode.vim,
1982 src/testdir/test_excmd.vim, src/testdir/test_mapping.vim,
1983 src/testdir/test_quickfix.vim, src/testdir/test_search.vim,
1984 src/testdir/test_sort.vim, src/testdir/test_source.vim,
1985 src/testdir/test_substitute.vim, src/testdir/test_undo.vim,
1986 src/testdir/test_vimscript.vim, src/testdir/test_window_cmd.vim,
1987 src/testdir/test_writefile.vim
1988
1989Patch 8.2.0244
1990Problem: Compiler warning in Lua interface.
1991Solution: Add type cast. (Ken Takata, closes #5621)
1992Files: src/if_lua.c
1993
1994Patch 8.2.0245
1995Problem: MSVC: error message if the auto directory already exists.
1996Solution: Add "if not exists". (Ken Takata, closes #5620)
1997Files: src/Make_mvc.mak
1998
1999Patch 8.2.0246
2000Problem: MSVC: deprecation warnings with Ruby.
2001Solution: Move _CRT_SECURE_NO_DEPRECATE to build file. (Ken Takata,
2002 closes #5622)
2003Files: src/Make_mvc.mak, src/if_ruby.c, src/os_win32.h, src/vim.h,
2004 src/vimio.h
2005
2006Patch 8.2.0247
2007Problem: Misleading comment in NSIS installer script.
2008Solution: Negate the meaning of the comment. (Ken Takata, closes #5627)
2009Files: nsis/gvim.nsi
2010
2011Patch 8.2.0248
2012Problem: MS-Windows: dealing with deprecation is too complicated.
2013Solution: Use io.h directly. Move _CRT_SECURE_NO_DEPRECATE to the build
2014 file. Suppress C4091 warning by setting "_WIN32_WINNT". (Ken
2015 Takata, closes #5626)
2016Files: src/Make_mvc.mak, src/dosinst.h, src/vim.h, src/vimio.h,
2017 src/winclip.c, Filelist
2018
2019Patch 8.2.0249
2020Problem: MS-Windows: various warnings.
2021Solution: Set the charset to utf-8. Add _WIN32_WINNT and _USING_V110_SDK71_.
2022 (Ken Takata, closes #5625)
2023Files: src/GvimExt/Makefile, src/Make_mvc.mak
2024
2025Patch 8.2.0250
2026Problem: test_clear_search_pat() is unused.
2027Solution: Remove the function. (Yegappan Lakshmanan, closes #5624)
2028Files: runtime/doc/eval.txt, runtime/doc/testing.txt,
2029 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/regexp.pro,
2030 src/proto/search.pro, src/proto/testing.pro, src/regexp.c,
2031 src/search.c, src/testdir/test_writefile.vim, src/testing.c
2032
2033Patch 8.2.0251
2034Problem: A couple of function return types can be more specific.
2035Solution: Use a better return type. (Ken Takata, closes #5629)
2036Files: src/evalfunc.c, src/globals.h
2037
2038Patch 8.2.0252
2039Problem: Windows compiler warns for using size_t.
2040Solution: Change to int. (Mike Williams)
2041Files: src/vim9compile.c
2042
2043Patch 8.2.0253
2044Problem: Crash when using :disassemble without argument. (Dhiraj Mishra)
2045Solution: Check for missing argument. (Dominique Pellé, closes #5635,
2046 closes #5637)
2047Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim,
2048 src/ex_cmds.h
2049
2050Patch 8.2.0254
2051Problem: Compiler warning for checking size_t to be negative.
2052Solution: Only check for zero. (Zoltan Arpadffy)
2053Files: src/vim9compile.c
2054
2055Patch 8.2.0255
2056Problem: VMS: missing files in build.
2057Solution: Add the files. (Zoltan Arpadffy)
2058Files: src/Make_vms.mms
2059
2060Patch 8.2.0256
2061Problem: Time and timer related code is spread out.
2062Solution: Move time and timer related code to a new file. (Yegappan
2063 Lakshmanan, closes #5604)
2064Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
2065 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
2066 src/evalfunc.c, src/ex_cmds.c, src/ex_cmds2.c, src/main.c,
2067 src/memline.c, src/misc1.c, src/misc2.c, src/proto.h,
2068 src/proto/ex_cmds.pro, src/proto/ex_cmds2.pro, src/proto/main.pro,
2069 src/proto/memline.pro, src/proto/misc1.pro, src/proto/misc2.pro,
2070 src/proto/time.pro, src/time.c
2071
2072Patch 8.2.0257
2073Problem: Cannot recognize a terminal in a popup window.
2074Solution: Add the win_gettype() function.
2075Files: runtime/doc/eval.txt, src/evalfunc.c, src/evalwindow.c,
2076 src/proto/evalwindow.pro, src/testdir/test_cmdline.vim,
2077 src/testdir/test_terminal.vim,
2078 src/testdir/dumps/Test_terminal_popup_1.dump
2079
2080Patch 8.2.0258
2081Problem: ModifyOtherKeys cannot be temporarily disabled.
2082Solution: Add echoraw() with an example for modifyOtherKeys.
2083Files: runtime/doc/eval.txt, src/evalfunc.c,
2084 src/testdir/test_functions.vim,
2085 src/testdir/dumps/Test_functions_echoraw.dump
2086
2087Patch 8.2.0259
2088Problem: Terminal in popup test sometimes fails.
2089Solution: Clear the command line.
2090Files: src/testdir/test_terminal.vim,
2091 src/testdir/dumps/Test_terminal_popup_1.dump
2092
2093Patch 8.2.0260
2094Problem: Several lines of code are duplicated.
2095Solution: Move duplicated code to a function. (Yegappan Lakshmanan,
2096 closes #5330)
2097Files: src/option.c, src/os_unix.c, src/os_win32.c, src/proto/term.pro,
2098 src/quickfix.c, src/regexp.c, src/regexp_bt.c, src/regexp_nfa.c,
2099 src/term.c
2100
2101Patch 8.2.0261
2102Problem: Some code not covered by tests.
2103Solution: Add test cases. (Yegappan Lakshmanan, closes #5645)
2104Files: src/testdir/test_buffer.vim, src/testdir/test_cmdline.vim,
2105 src/testdir/test_exists.vim, src/testdir/test_filechanged.vim,
2106 src/testdir/test_fileformat.vim, src/testdir/test_mapping.vim,
2107 src/testdir/test_marks.vim, src/testdir/test_normal.vim,
2108 src/testdir/test_plus_arg_edit.vim, src/testdir/test_quickfix.vim,
2109 src/testdir/test_tabpage.vim, src/testdir/test_visual.vim,
2110 src/testdir/test_window_cmd.vim, src/testdir/test_writefile.vim
2111
2112Patch 8.2.0262 (after 8.2.0261)
2113Problem: Fileformat test fails on MS-Windows.
2114Solution: Set fileformat of buffer.
2115Files: src/testdir/test_fileformat.vim
2116
2117Patch 8.2.0263
2118Problem: A few new Vim9 messages are not localized.
2119Solution: Add the gettext wrapper. (Dominique Pellé, closes #5647)
2120Files: src/vim9compile.c, src/vim9execute.c
2121
2122Patch 8.2.0264 (after 8.2.0262)
2123Problem: Fileformat test still fails on MS-Windows.
2124Solution: Set fileformat of buffer in the right place.
2125Files: src/testdir/test_fileformat.vim
2126
2127Patch 8.2.0265
2128Problem: "eval" after "if 0" doesn't check for following command.
2129Solution: Add "eval" to list of commands that check for a following command.
2130 (closes #5640)
2131Files: src/ex_docmd.c, src/testdir/test_expr.vim
2132
2133Patch 8.2.0266
2134Problem: Terminal in popup test sometimes fails on Mac.
2135Solution: Add a short delay.
2136Files: src/testdir/test_terminal.vim
2137
2138Patch 8.2.0267
2139Problem: No check for a following command when calling a function fails.
2140Solution: Also check for a following command when inside a try block.
2141 (closes #5642)
2142Files: src/userfunc.c, src/testdir/test_user_func.vim
2143
2144Patch 8.2.0268 (after 8.2.0267)
2145Problem: Trycatch test fails.
2146Solution: When calling function fails only check for following command, do
2147 not give another error.
2148Files: src/userfunc.c
2149
2150Patch 8.2.0269
2151Problem: Vim9: operator after list index does not work. (Yasuhiro
2152 Matsumoto)
2153Solution: After indexing a list change the type to the list member type.
2154 (closes #5651)
2155Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
2156
2157Patch 8.2.0270
2158Problem: Some code not covered by tests.
2159Solution: Add test cases. (Yegappan Lakshmanan, closes #5649)
2160Files: src/testdir/test_autocmd.vim, src/testdir/test_buffer.vim,
2161 src/testdir/test_edit.vim, src/testdir/test_ex_mode.vim,
2162 src/testdir/test_excmd.vim, src/testdir/test_expand.vim,
2163 src/testdir/test_filetype.vim, src/testdir/test_findfile.vim,
2164 src/testdir/test_join.vim, src/testdir/test_move.vim,
2165 src/testdir/test_normal.vim, src/testdir/test_registers.vim,
2166 src/testdir/test_source.vim, src/testdir/test_tabpage.vim,
2167 src/testdir/test_tagjump.vim, src/testdir/test_vimscript.vim,
2168 src/testdir/test_visual.vim, src/testdir/test_window_cmd.vim,
2169 src/testdir/test_writefile.vim
2170
2171Patch 8.2.0271
2172Problem: The "num64" feature is available everywhere and building without
2173 it causes problems.
2174Solution: Graduate the "num64" feature. (James McCoy, closes #5650)
2175Files: src/evalfunc.c, src/feature.h, src/message.c, src/structs.h,
2176 src/testdir/test_expr.vim, src/testdir/test_largefile.vim,
2177 src/testdir/test_sort.vim, src/testdir/test_vimscript.vim,
2178 src/version.c
2179
2180Patch 8.2.0272
2181Problem: ":helptags ALL" gives error for directories without write
2182 permission. (Matěj Cepl)
2183Solution: Ignore errors for ":helptags ALL". (Ken Takata, closes #5026,
2184 closes #5652)
2185Files: src/ex_cmds.c, src/testdir/test_help.vim
2186
2187Patch 8.2.0273
2188Problem: MS-Windows uninstall may delete wrong batch file.
2189Solution: Add specific marker in the generated batch file. (Ken Takata,
2190 closes #5654)
2191Files: src/Make_mvc.mak, src/dosinst.c, src/dosinst.h, src/uninstall.c
2192
2193Patch 8.2.0274
2194Problem: Hang with combination of feedkeys(), Ex mode and :global.
2195 (Yegappan Lakshmanan)
2196Solution: Add the pending_exmode_active flag.
2197Files: src/ex_docmd.c, src/globals.h, src/getchar.c,
2198 src/testdir/test_ex_mode.vim
2199
2200Patch 8.2.0275
2201Problem: Some Ex code not covered by tests.
2202Solution: Add test cases. (Yegappan Lakshmanan, closes #5659)
2203Files: src/testdir/test_arglist.vim, src/testdir/test_autocmd.vim,
2204 src/testdir/test_excmd.vim, src/testdir/test_quickfix.vim,
2205 src/testdir/test_search.vim, src/testdir/test_swap.vim,
2206 src/testdir/test_window_cmd.vim
2207
2208Patch 8.2.0276
2209Problem: Vim9: not allowing space before ")" in function call is too
2210 restrictive. (Ben Jackson)
2211Solution: Skip space before the ")". Adjust other space checks.
2212Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
2213
2214Patch 8.2.0277
2215Problem: Vim9: not all instructions covered by tests.
2216Solution: Add more test cases.
2217Files: src/testdir/test_vim9_disassemble.vim
2218
2219Patch 8.2.0278
2220Problem: Channel test is flaky on Mac.
2221Solution: Reset variable before sending message.
2222Files: src/testdir/test_channel.vim
2223
2224Patch 8.2.0279
2225Problem: Vim9: no test for deleted :def function.
2226Solution: Add a test. Clear uf_cleared flag when redefining a function.
2227Files: src/userfunc.c, src/testdir/test_vim9_script.vim
2228
2229Patch 8.2.0280
2230Problem: Vim9: throw in :def function not caught higher up.
2231Solution: Set "need_rethrow".
2232Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
2233
2234Patch 8.2.0281
2235Problem: Two placed signs in the same line are not combined. E.g. in the
2236 terminal debugger a breakpoint and the PC cannot be both be
2237 displayed.
2238Solution: Combine the sign column and line highlight attributes.
2239Files: src/sign.c, src/testdir/test_signs.vim,
2240 src/testdir/dumps/Test_sign_cursor_3.dump,
2241 src/testdir/dumps/Test_sign_cursor_4.dump
2242
2243Patch 8.2.0282
2244Problem: Vim9: setting number option not tested.
2245Solution: Add more tests. Fix assigning to global variable.
2246Files: src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim,
2247 src/vim9execute.c
2248
2249Patch 8.2.0283
2250Problem: Vim9: failing to load script var not tested.
2251Solution: Add more tests. Fix using s: in old script.
2252Files: src/testdir/test_vim9_expr.vim, src/vim9compile.c,
2253 src/testdir/test_vim9_script.vim
2254
2255Patch 8.2.0284
2256Problem: Vim9: assignment test fails.
2257Solution: Avoid duplicating "s:".
2258Files: src/vim9compile.c
2259
2260Patch 8.2.0285
2261Problem: Unused error message. Cannot create s:var.
2262Solution: Remove the error message. Make assignment to s:var work.
2263Files: src/vim9compile.c, src/vim9execute.c,
2264 src/testdir/test_vim9_script.vim
2265
2266Patch 8.2.0286
2267Problem: Cannot use popup_close() for a terminal popup.
2268Solution: Allow using popup_close(). (closes #5666)
2269Files: src/popupwin.c, runtime/doc/popup.txt,
2270 src/testdir/test_terminal.vim,
2271 src/testdir/dumps/Test_terminal_popup_5.dump,
2272 src/testdir/dumps/Test_terminal_popup_6.dump
2273
2274Patch 8.2.0287
2275Problem: Vim9: return in try block not tested; catch with pattern not
2276 tested.
2277Solution: Add tests. Make it work.
2278Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
2279
2280Patch 8.2.0288
2281Problem: Vim9: some float and blob operators not tested.
2282Solution: Add float and blob tests. Fix addition.
2283Files: src/testdir/test_vim9_expr.vim, src/vim9compile.c
2284
2285Patch 8.2.0289
2286Problem: Vim9: :echo did not clear the rest of the line.
2287Solution: Call msg_clr_eos(). (Ken Takata, closes #5668)
2288Files: src/vim9execute.c
2289
2290Patch 8.2.0290
2291Problem: Running individual test differs from all tests.
2292Solution: Pass on environment variables. (Yee Cheng Chin, closes #5672)
2293Files: src/testdir/Makefile, src/testdir/README.txt
2294
2295Patch 8.2.0291
2296Problem: Vim9: assigning [] to list<string> doesn't work.
2297Solution: Use void for empty list and dict. (Ken Takata, closes #5669)
2298Files: src/vim9compile.c, src/globals.h, src/testdir/test_vim9_script.vim
2299
2300Patch 8.2.0292
2301Problem: Vim9: CHECKNR and CHECKTYPE instructions not tested.
2302Solution: Add tests.
2303Files: src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim
2304
2305Patch 8.2.0293
2306Problem: Various Ex commands not sufficiently tested.
2307Solution: Add more test cases. (Yegappan Lakshmanan, closes #5673)
2308Files: src/testdir/test_arglist.vim, src/testdir/test_cmdline.vim,
2309 src/testdir/test_ex_mode.vim, src/testdir/test_excmd.vim,
2310 src/testdir/test_expand.vim, src/testdir/test_filetype.vim,
2311 src/testdir/test_filter_cmd.vim, src/testdir/test_global.vim,
2312 src/testdir/test_normal.vim, src/testdir/test_plus_arg_edit.vim,
2313 src/testdir/test_quickfix.vim, src/testdir/test_trycatch.vim,
2314 src/testdir/test_vimscript.vim
2315
2316Patch 8.2.0294
2317Problem: Cannot use Ex command that is also a function name.
2318Solution: Recognize an Ex command by a colon prefix.
2319Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
2320 runtime/doc/vim9.txt
2321
2322Patch 8.2.0295
2323Problem: Highlighting for :s wrong when using different separator.
2324Solution: Use separate argument for search direction and separator. (Rob
2325 Pilling, closes #5665)
2326Files: src/ex_docmd.c, src/ex_getln.c, src/gui.c, src/normal.c,
2327 src/proto/search.pro, src/quickfix.c, src/search.c, src/spell.c,
2328 src/tag.c, src/testdir/dumps/Test_incsearch_substitute_15.dump,
2329 src/testdir/test_search.vim
2330
2331Patch 8.2.0296
2332Problem: Mixing up "long long" and __int64 may cause problems. (John
2333 Marriott)
2334Solution: Pass varnumber_T to vim_snprintf(). Add v:numbersize.
2335Files: src/message.c, src/eval.c, src/fileio.c, src/json.c, src/ops.c,
2336 src/vim.h, src/structs.h, src/evalvars.c, runtime/doc/eval.txt,
2337 runtime/doc/various.txt, src/testdir/test_eval_stuff.vim
2338
2339Patch 8.2.0297
2340Problem: Compiler warnings for the Ruby interface.
2341Solution: Undefine a few macros, fix initialization. (Ozaki Kiichi,
2342 closes #5677)
2343Files: src/if_ruby.c
2344
2345Patch 8.2.0298
2346Problem: Vim9 script: cannot start command with a string constant.
2347Solution: Recognize expression starting with '('.
2348Files: src/ex_docmd.c, src/vim9compile.c,
2349 src/testdir/test_vim9_script.vim, runtime/doc/vim9.txt
2350
2351Patch 8.2.0299
2352Problem: Vim9: ISN_STORE with argument not tested. Some cases in tv2bool()
2353 not tested.
2354Solution: Add tests. Add test_unknown() and test_void().
2355Files: src/testing.c, src/proto/testing.pro, src/evalfunc.c,
2356 src/testdir/test_vim9_disassemble.vim,
2357 src/testdir/test_vim9_expr.vim, runtime/doc/eval.txt,
2358 runtime/doc/testing.txt
2359
2360Patch 8.2.0300
2361Problem: Vim9: expression test fails without channel support.
2362Solution: Add has('channel') check.
2363Files: src/testdir/test_vim9_expr.vim
2364
2365Patch 8.2.0301
2366Problem: Insufficient testing for exception handling and the "attention"
2367 prompt.
2368Solution: Add test cases. (Yegappan Lakshmanan, closes #5681)
2369Files: src/testdir/test_swap.vim, src/testdir/test_trycatch.vim
2370
2371Patch 8.2.0302
2372Problem: Setting 'term' may cause error in TermChanged autocommand.
2373Solution: Use aucmd_prepbuf() to switch to the buffer where the autocommand
2374 is to be executed. (closes #5682)
2375Files: src/term.c, src/testdir/test_autocmd.vim
2376
2377Patch 8.2.0303
2378Problem: TermChanged test fails in the GUI.
2379Solution: Skip the test when running the GUI.
2380Files: src/testdir/test_autocmd.vim
2381
2382Patch 8.2.0304
2383Problem: Terminal test if failing on some systems.
2384Solution: Wait for the job to finish. (James McCoy)
2385Files: src/testdir/test_terminal.vim
2386
2387Patch 8.2.0305
2388Problem: Relativenumber test fails on some systems. (James McCoy)
2389Solution: Clear the command line.
2390Files: src/testdir/test_number.vim,
2391 src/testdir/dumps/Test_relnr_colors_2.dump,
2392 src/testdir/dumps/Test_relnr_colors_3.dump
2393
2394Patch 8.2.0306
2395Problem: Vim9: :substitute(pat(repl does not work in Vim9 script.
2396Solution: Remember starting with a colon. (closes #5676)
2397Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
2398
2399Patch 8.2.0307
2400Problem: Python 3 vim.eval not well tested.
2401Solution: Add a test. (Dominique Pellé, closes #5680)
2402Files: src/testdir/test_python3.vim
2403
2404Patch 8.2.0308
2405Problem: 'showbreak' does not work for a very long line. (John Little)
2406Solution: Check whether 'briopt' contains "sbr". (Ken Takata, closes #5523,
2407 closes #5684)
2408Files: src/drawline.c, src/testdir/test_breakindent.vim
2409
2410Patch 8.2.0309
2411Problem: Window-local values have confusing name.
2412Solution: Rename w_p_bri* to w_briopt_*.
2413Files: src/structs.h, src/indent.c, src/drawline.c
2414
2415Patch 8.2.0310
2416Problem: Autocmd test fails on a slow system.
2417Solution: Adjust the expectations. (James McCoy, closes #5685)
2418Files: src/testdir/test_autocmd.vim
2419
2420Patch 8.2.0311
2421Problem: Vim9: insufficient script tests.
2422Solution: Add tests. Free imports when re-using a script.
2423Files: src/testdir/test_vim9_script.vim, src/scriptfile.c
2424
2425Patch 8.2.0312
2426Problem: Vim9: insufficient script tests.
2427Solution: Add more tests. Make "import * as Name" work.
2428Files: src/testdir/test_vim9_script.vim, src/vim9script.c,
2429 src/proto/vim9script.pro, src/vim9compile.c
2430
2431Patch 8.2.0313
2432Problem: Vim9: insufficient script tests.
2433Solution: Add tests. Make import of alphanumeric name work.
2434Files: src/testdir/test_vim9_script.vim, src/vim9script.c
2435
2436Patch 8.2.0314
2437Problem: Short name not set for terminal buffer.
2438Solution: Set the short name. (closes #5687)
2439Files: src/terminal.c, src/testdir/test_terminal.vim
2440
2441Patch 8.2.0315
2442Problem: Build failure on HP-UX system.
2443Solution: Use LONG_LONG_MIN instead of LLONG_MIN. Add type casts for switch
2444 statement. (John Marriott)
2445Files: src/structs.h, src/json.c
2446
2447Patch 8.2.0316
2448Problem: ex_getln.c code has insufficient test coverage.
2449Solution: Add more tests. Fix a problem. (Yegappan Lakshmanan, closes #5693)
2450Files: src/cmdhist.c, src/testdir/test_cmdline.vim,
2451 src/testdir/test_functions.vim, src/testdir/test_history.vim,
2452 src/testdir/test_menu.vim
2453
2454Patch 8.2.0317
2455Problem: MSVC: _CRT_SECURE_NO_DEPRECATE not defined on DEBUG build.
2456Solution: Move where CFLAGS is updated. (Ken Takata, closes #5692)
2457Files: src/Make_mvc.mak
2458
2459Patch 8.2.0318
2460Problem: Vim9: types not sufficiently tested.
2461Solution: Add tests with more types.
2462Files: src/globals.h, src/vim9compile.c,
2463 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_expr.vim
2464
2465Patch 8.2.0319
2466Problem: File missing in distribution, comments outdated.
2467Solution: Correct path of README file. Update comments.
2468Files: Filelist, src/evalvars.c, src/register.c, src/if_python3.c
2469
2470Patch 8.2.0320
2471Problem: No Haiku support.
2472Solution: Add support for Haiku. (Emir Sarı, closes #5605)
2473Files: Filelist, runtime/doc/Makefile, runtime/doc/eval.txt,
2474 runtime/doc/gui.txt, runtime/doc/help.txt,
2475 runtime/doc/options.txt, runtime/doc/os_haiku.txt,
2476 runtime/doc/starting.txt, runtime/doc/tags,
2477 runtime/gvimrc_example.vim, runtime/vimrc_example.vim,
2478 src/INSTALL, src/Makefile, src/auto/configure, src/configure.ac,
2479 src/evalfunc.c, src/feature.h, src/fileio.c, src/globals.h,
2480 src/gui.c, src/gui.h, src/gui_haiku.cc, src/gui_haiku.h,
2481 src/mbyte.c, src/menu.c, src/misc1.c, src/mouse.c, src/option.h,
2482 src/os_haiku.h, src/os_haiku.rdef, src/os_unix.c, src/os_unix.h,
2483 src/osdef1.h.in, src/proto.h, src/proto/gui_haiku.pro, src/pty.c,
2484 src/screen.c, src/structs.h, src/term.c, src/version.c, src/vim.h
2485
2486Patch 8.2.0321
2487Problem: Vim9: ":execute" does not work yet.
2488Solution: Add ISN_EXECUTE. (closes #5699) Also make :echo work with more
2489 than one argument.
2490Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
2491 src/testdir/test_vim9_disassemble.vim,
2492 src/testdir/test_vim9_script.vim
2493
2494Patch 8.2.0322
2495Problem: Vim9: error checks not tested.
2496Solution: Add more test cases. Avoid error for function loaded later.
2497Files: src/vim9compile.c, src/evalvars.c, src/testdir/test_vim9_script.vim
2498
2499Patch 8.2.0323
2500Problem: Vim9: calling a function that is defined later is slow.
2501Solution: Once the function is found update the instruction so it can be
2502 called directly.
2503Files: src/vim9execute.c, src/testdir/test_vim9_script.vim,
2504 src/testdir/test_vim9_disassemble.vim
2505
2506Patch 8.2.0324
2507Problem: Text property not updated correctly when inserting/deleting.
2508Solution: Use the right column when deleting. Make zero-width text
2509 properties respect start_incl and end_incl. (Axel Forsman,
2510 closes #5696, closes #5679)
2511Files: src/change.c, src/textprop.c, src/testdir/test_listener.vim,
2512 src/testdir/test_textprop.vim
2513
2514Patch 8.2.0325
2515Problem: Ex_getln.c code not covered by tests.
2516Solution: Add a few more tests. (Yegappan Lakshmanan, closes #5702)
2517Files: src/testdir/test_cmdline.vim, src/testdir/test_ex_mode.vim,
2518 src/testdir/test_functions.vim, src/testdir/test_history.vim,
2519 src/testdir/test_options.vim
2520
2521Patch 8.2.0326
2522Problem: Compiler warning for using uninitialized variable. (Yegappan
2523 Lakshmanan)
2524Solution: Do not jump to failed but return.
2525Files: src/vim9execute.c
2526
2527Patch 8.2.0327
2528Problem: Crash when opening and closing two popup terminal windows.
2529Solution: Check that prevwin is valid. (closes #5707)
2530Files: src/popupwin.c, src/testdir/test_terminal.vim
2531
2532Patch 8.2.0328
2533Problem: No redraw when leaving terminal-normal mode in a terminal popup
2534 window.
2535Solution: Redraw the popup window. (closes #5708)
2536Files: src/macros.h, src/vim.h, src/terminal.c, src/drawscreen.c,
2537 src/move.c, src/popupwin.c, src/testdir/test_terminal.vim,
2538 src/testdir/dumps/Test_terminal_popup_7.dump,
2539 src/testdir/dumps/Test_terminal_popup_8.dump
2540
2541Patch 8.2.0329
2542Problem: Popup filter converts 0x80 bytes.
2543Solution: Keep 0x80 bytes as-is. (Ozaki Kiichi, closes #5706)
2544Files: src/popupwin.c, src/testdir/test_popupwin.vim
2545
2546Patch 8.2.0330
2547Problem: Build error with popup window but without terminal.
2548Solution: Add #ifdef.
2549Files: src/popupwin.c
2550
2551Patch 8.2.0331
2552Problem: Internal error when using test_void() and test_unknown().
2553 (Dominique Pellé)
2554Solution: Give a normal error.
2555Files: src/evalfunc.c, src/testdir/test_functions.vim,
2556 src/testdir/test_vimscript.vim
2557
2558Patch 8.2.0332
2559Problem: Some code in ex_getln.c not covered by tests.
2560Solution: Add a few more tests. (Yegappan Lakshmanan, closes #5710)
2561Files: src/testdir/test_arabic.vim, src/testdir/test_cmdline.vim
2562
2563Patch 8.2.0333
2564Problem: Terminal in popup test is flaky.
2565Solution: Make sure redraw is done before opening the popup.
2566Files: src/testdir/test_terminal.vim,
2567 src/testdir/dumps/Test_terminal_popup_1.dump
2568
2569Patch 8.2.0334
2570Problem: Abort called when using test_void(). (Dominique Pellé)
2571Solution: Only give an error, don't abort.
2572Files: src/message.c, src/proto/message.pro, src/evalfunc.c,
2573 src/eval.c, src/json.c, src/testdir/test_functions.vim
2574
2575Patch 8.2.0335
2576Problem: No completion for :disassemble.
2577Solution: Make completion work. Also complete script-local functions if the
2578 name starts with "s:".
2579Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
2580 runtime/doc/vim9.txt
2581
2582Patch 8.2.0336
2583Problem: Vim9: insufficient test coverage for compiling.
2584Solution: Add more tests.
2585Files: src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim,
2586 src/vim9.h, src/vim9compile.c, src/vim9execute.c
2587
2588Patch 8.2.0337
2589Problem: Build fails on a few systems.
2590Solution: Use vim_snprintf() instead of snprintf().
2591Files: src/cmdexpand.c
2592
2593Patch 8.2.0338
2594Problem: Build failure without the channel feature.
2595Solution: Add #ifdef
2596Files: src/vim9compile.c
2597
2598Patch 8.2.0339
2599Problem: Vim9: function return type may depend on arguments.
2600Solution: Instead of a fixed return type use a function to figure out the
2601 return type.
2602Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9compile.c,
2603 src/evalbuffer.c, src/proto/evalbuffer.pro,
2604 src/testdir/test_vim9_script.vim
2605
2606Patch 8.2.0340
2607Problem: Vim9: function and partial types not tested.
2608Solution: Support more for partial, add tests.
2609Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
2610 src/testdir/test_vim9_script.vim
2611
2612Patch 8.2.0341
2613Problem: Using ":for" in Vim9 script gives an error.
2614Solution: Pass the LET_NO_COMMAND flag. (closes #5715)
2615Files: src/eval.c, src/testdir/test_vim9_script.vim
2616
2617Patch 8.2.0342
2618Problem: Some code in ex_getln.c not covered by tests.
2619Solution: Add more tests. (Yegappan Lakshmanan, closes #5717)
2620Files: src/testdir/test_cmdline.vim, src/testdir/test_ex_mode.vim,
2621 src/testdir/test_history.vim, src/testdir/test_iminsert.vim
2622
2623Patch 8.2.0343
2624Problem: Vim9: using wrong instruction, limited test coverage.
2625Solution: Use ISN_PUSHJOB. Add a few more tests.
2626Files: src/vim9compile.c, src/vim9execute.c,
2627 src/testdir/test_vim9_script.vim,
2628 src/testdir/test_vim9_disassemble.vim
2629
2630Patch 8.2.0344
2631Problem: ":def" not skipped properly.
2632Solution: Add CMD_def to list of commands the require evaluation even when
2633 not being executed.
2634Files: src/ex_docmd.c
2635
2636Patch 8.2.0345
2637Problem: Compiler warning when building without the float feature.
2638Solution: Add #ifdef. (John Marriott)
2639Files: src/evalfunc.c
2640
2641Patch 8.2.0346
2642Problem: Vim9: finding common list type not tested.
2643Solution: Add more tests. Fix listing function. Fix overwriting type.
2644Files: src/vim9compile.c, src/userfunc.c,
2645 src/testdir/test_vim9_script.vim, src/testdir/runtest.vim,
2646 src/testdir/test_vim9_disassemble.vim
2647
2648Patch 8.2.0347
2649Problem: Various code not covered by tests.
2650Solution: Add more test coverage. (Yegappan Lakshmanan, closes #5720)
2651Files: src/testdir/gen_opt_test.vim, src/testdir/test86.in,
2652 src/testdir/test_cmdline.vim, src/testdir/test_digraph.vim,
2653 src/testdir/test_ex_mode.vim, src/testdir/test_history.vim
2654
2655Patch 8.2.0348
2656Problem: Vim9: not all code tested.
2657Solution: Add a few more tests. fix using "b:" in literal dictionary.
2658Files: src/testdir/test_vim9_expr.vim, src/vim9compile.c,
2659 src/proto/vim9compile.pro, src/testdir/test_vim9_script.vim
2660
2661Patch 8.2.0349
2662Problem: Vim9: constant expression not well tested.
2663Solution: Add tests for "if" with constant expression.
2664Files: src/testdir/test_vim9_script.vim
2665
2666Patch 8.2.0350
2667Problem: Vim9: expression tests don't use recognized constants.
2668Solution: Recognize "true" and "false" as constants. Make skipping work for
2669 assignment and expression evaluation.
2670Files: src/vim9compile.c
2671
2672Patch 8.2.0351
2673Problem: Terminal in popup test is still a bit flaky.
2674Solution: Clear and redraw before opening the popup.
2675Files: src/testdir/test_terminal.vim
2676
2677Patch 8.2.0352
2678Problem: FreeBSD: test for sourcing utf-8 is skipped.
2679Solution: Run the matchadd_conceal test separately to avoid that setting
2680 'term' to "ansi" causes problems for other tests. (Ozaki Kiichi,
2681 closes #5721)
2682Files: src/testdir/Make_all.mak, src/testdir/test_alot_utf8.vim,
2683 src/testdir/test_source_utf8.vim
2684
2685Patch 8.2.0353
2686Problem: Vim9: while loop not tested.
2687Solution: Add test with "while", "break" and "continue"
2688Files: src/testdir/test_vim9_script.vim
2689
2690Patch 8.2.0354
2691Problem: Python 3.9 does not define _Py_DEC_REFTOTAL. (Zdenek Dohnal)
2692Solution: Remove it, it was only for debugging.
2693Files: src/if_python3.c
2694
2695Patch 8.2.0355
2696Problem: Vim9: str_val is confusing, it's a number
2697Solution: Rename to stnr_val.
2698Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c
2699
2700Patch 8.2.0356
2701Problem: MS-Windows: feedkeys() with VIMDLL cannot handle CSI correctly.
2702Solution: Modify mch_inchar() to encode CSI bytes. (Ozaki Kiichi, Ken
2703 Takata, closes #5726)
2704Files: src/getchar.c, src/os_win32.c, src/testdir/test_popupwin.vim
2705
2706Patch 8.2.0357
2707Problem: Cannot delete a text property matching both id and type. (Axel
2708 Forsman)
2709Solution: Add the "both" argument.
2710Files: src/textprop.c, runtime/doc/textprop.txt,
2711 src/testdir/test_textprop.vim
2712
2713Patch 8.2.0358
2714Problem: Insufficient testing for indent.c.
2715Solution: Add indent tests. (Yegappan Lakshmanan, closes #5736)
2716Files: src/testdir/Make_all.mak, src/testdir/test_ex_mode.vim,
2717 src/testdir/test_expand_func.vim, src/testdir/test_indent.vim,
2718 src/testdir/test_lispwords.vim, src/testdir/test_smartindent.vim,
2719 src/testdir/test_vartabs.vim
2720
2721Patch 8.2.0359
2722Problem: popup_atcursor() may hang. (Yasuhiro Matsumoto)
2723Solution: Take the decoration into account. (closes #5728)
2724Files: src/popupwin.c, src/testdir/test_popupwin.vim
2725
2726Patch 8.2.0360
2727Problem: Yaml files are only recognized by the file extension.
2728Solution: Check for a line starting with "%YAML". (Jason Franklin)
2729Files: runtime/scripts.vim, src/testdir/test_filetype.vim
2730
2731Patch 8.2.0361
2732Problem: Internal error when using "0" for a callback.
2733Solution: Give a normal error. (closes #5743)
2734Files: src/evalvars.c, src/testdir/test_timers.vim
2735
2736Patch 8.2.0362
2737Problem: MS-Windows: channel test fails if grep is not available.
2738Solution: Use another command. (Ken Takata, closes #5739)
2739Files: src/testdir/test_channel.vim
2740
2741Patch 8.2.0363
2742Problem: Some Normal mode commands not tested.
2743Solution: Add more tests. (Yegappan Lakshmanan, closes #5746)
2744Files: src/testdir/test_cindent.vim, src/testdir/test_cmdline.vim,
2745 src/testdir/test_edit.vim, src/testdir/test_indent.vim,
2746 src/testdir/test_normal.vim, src/testdir/test_prompt_buffer.vim,
2747 src/testdir/test_virtualedit.vim, src/testdir/test_visual.vim
2748
2749Patch 8.2.0364
2750Problem: Printf test failing on Haiku.
2751Solution: Make a difference between int and short. (Dominique Pellé,
2752 closes #5749)
2753Files: src/message.c
2754
2755Patch 8.2.0365
2756Problem: Tag kind can't be a multibyte character. (Marcin Szamotulski)
2757Solution: Recognize multibyte character. (closes #5724)
2758Files: src/tag.c, src/testdir/test_taglist.vim
2759
2760Patch 8.2.0366
2761Problem: Hardcopy command not tested enough.
2762Solution: Add tests for printing. (Dominique Pellé, closes #5748)
2763Files: src/testdir/test_hardcopy.vim
2764
2765Patch 8.2.0367
2766Problem: Can use :pedit in a popup window.
2767Solution: Disallow it.
Bram Moolenaar47c532e2022-03-19 15:18:53 +00002768Files: src/ex_docmd.c, src/testdir/test_popupwin.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +00002769
2770Patch 8.2.0368
2771Problem: Vim9: import that redefines local variable does not fail.
2772Solution: Check for already defined symbols.
2773Files: src/vim9script.c, src/proto/vim9script.pro, src/vim9compile.c,
2774 src/proto/vim9compile.pro, src/testdir/test_vim9_script.vim
2775
2776Patch 8.2.0369
2777Problem: Various Normal mode commands not fully tested.
2778Solution: Add more tests. (Yegappan Lakshmanan, closes #5751)
2779Files: src/testdir/test_arglist.vim, src/testdir/test_changelist.vim,
2780 src/testdir/test_charsearch.vim, src/testdir/test_cmdline.vim,
2781 src/testdir/test_edit.vim, src/testdir/test_ex_mode.vim,
2782 src/testdir/test_excmd.vim, src/testdir/test_gf.vim,
2783 src/testdir/test_iminsert.vim, src/testdir/test_increment.vim,
2784 src/testdir/test_marks.vim, src/testdir/test_normal.vim,
2785 src/testdir/test_prompt_buffer.vim, src/testdir/test_put.vim,
2786 src/testdir/test_registers.vim, src/testdir/test_tagjump.vim,
2787 src/testdir/test_visual.vim
2788
2789Patch 8.2.0370
2790Problem: The typebuf_was_filled flag is sometimes not reset, which may
2791 cause a hang.
2792Solution: Make sure typebuf_was_filled is reset when the typeahead buffer is
2793 empty.
2794Files: src/edit.c, src/getchar.c,
2795
2796Patch 8.2.0371
2797Problem: Crash with combination of terminal popup and autocmd.
2798Solution: Disallow closing a popup that is the current window. Add a check
2799 that the current buffer is valid. (closes #5754)
2800Files: src/macros.h, src/buffer.c, src/popupwin.c, src/terminal.c,
2801 src/testdir/test_terminal.vim
2802
2803Patch 8.2.0372
2804Problem: Prop_find() may not find text property at start of the line.
2805Solution: Adjust the loop to find properties. (Axel Forsman, closes #5761,
2806 closes #5663)
Bram Moolenaar47c532e2022-03-19 15:18:53 +00002807Files: src/textprop.c, src/testdir/test_textprop.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +00002808
2809Patch 8.2.0373
2810Problem: Type of term_sendkeys() is unknown.
2811Solution: Just return zero. (closes #5762)
2812Files: src/terminal.c, src/testdir/test_terminal.vim
2813
2814Patch 8.2.0374
2815Problem: Using wrong printf directive for jump location.
2816Solution: Change "%lld" to "%d". (James McCoy, closes #5773)
2817Files: src/vim9execute.c
2818
2819Patch 8.2.0375
2820Problem: Coverity warning for not using return value.
2821Solution: Move error message to separate function.
2822Files: src/popupwin.c
2823
2824Patch 8.2.0376
2825Problem: Nasty callback test fails on some systems.
2826Solution: Increase the sleep time.
2827Files: src/testdir/test_terminal.vim
2828
2829Patch 8.2.0377
2830Problem: No CI test for a big-endian system.
2831Solution: Test with s390x. (James McCoy, closes #5772)
2832Files: .travis.yml
2833
2834Patch 8.2.0378
2835Problem: prop_find() does not find all props.
2836Solution: Check being in the start line. (Axel Forsman, closes #5776)
2837Files: src/textprop.c, src/testdir/test_textprop.vim
2838
2839Patch 8.2.0379
2840Problem: Gcc warns for ambiguous else.
2841Solution: Add braces. (Dominique Pellé, closes #5778)
2842Files: src/textprop.c
2843
2844Patch 8.2.0380
2845Problem: Tiny popup when creating a terminal popup without minwidth.
2846Solution: Use a default minimum size of 5 lines of 20 characters.
2847Files: src/popupwin.c, src/testdir/test_terminal.vim,
2848 src/testdir/dumps/Test_terminal_popup_m1.dump
2849
2850Patch 8.2.0381
2851Problem: Using freed memory with :lvimgrep and autocommand. (extracted from
2852 POC by Dominique Pellé)
2853Solution: Avoid deleting a dummy buffer used in a window. (closes #5777)
2854Files: src/quickfix.c, src/testdir/test_quickfix.vim
2855
2856Patch 8.2.0382
2857Problem: Some tests fail when run under valgrind.
2858Solution: Increase timeouts.
2859Files: src/testdir/test_autocmd.vim, src/testdir/test_debugger.vim,
2860 src/testdir/test_channel.vim, src/testdir/test_ins_complete.vim,
2861 src/testdir/test_terminal.vim,
2862 src/testdir/dumps/Test_terminal_popup_1.dump,
2863 src/testdir/dumps/Test_terminal_popup_2.dump,
2864 src/testdir/dumps/Test_terminal_popup_3.dump,
2865 src/testdir/dumps/Test_terminal_popup_5.dump,
2866 src/testdir/dumps/Test_terminal_popup_6.dump,
2867 src/testdir/dumps/Test_terminal_popup_7.dump,
2868 src/testdir/dumps/Test_terminal_popup_8.dump,
2869 src/testdir/dumps/Test_terminal_popup_m1.dump
2870
2871Patch 8.2.0383
2872Problem: Wrong feature check causes test not to be run.
2873Solution: Use CheckFunction instead of CheckFeature. (Ozaki Kiichi,
2874 closes #5781)
2875Files: src/testdir/test_channel.vim
2876
2877Patch 8.2.0384
2878Problem: Travis CI has warnings.
2879Solution: Avoid warnings, clean up the config. (Ozaki Kiichi, closes #5779)
2880Files: .travis.yml
2881
2882Patch 8.2.0385
2883Problem: Menu functionality insufficiently tested.
2884Solution: Add tests. Add menu_info(). (Yegappan Lakshmanan, closes #5760)
2885Files: runtime/doc/eval.txt, runtime/doc/gui.txt, runtime/doc/usr_41.txt,
2886 src/evalfunc.c, src/menu.c, src/proto/menu.pro,
2887 src/testdir/test_menu.vim, src/testdir/test_popup.vim,
2888 src/testdir/test_termcodes.vim
2889
2890Patch 8.2.0386 (after 8.2.0385)
2891Problem: Part from unfinished patch got included.
2892Solution: Undo that part.
2893Files: src/evalfunc.c
2894
2895Patch 8.2.0387
2896Problem: Error for possible NULL argument to qsort().
2897Solution: Don't call qsort() when there is nothing to sort. (Dominique
2898 Pellé, closes #5780)
2899Files: src/spellsuggest.c
2900
2901Patch 8.2.0388
2902Problem: Printmbcharset option not tested.
2903Solution: Add a test. Enable PostScript for AppVeyor build. (Dominique
2904 Pellé, closes #5783)
2905Files: appveyor.yml, src/testdir/test_hardcopy.vim
2906
2907Patch 8.2.0389
2908Problem: Delayed redraw when shifting text from Insert mode.
2909Solution: Use msg_attr_keep() instead of msg(). (closes #5782)
2910Files: src/ops.c
2911
2912Patch 8.2.0390
2913Problem: Terminal postponed scrollback test is flaky.
2914Solution: Add delay in between sending keys. Rename dump files.
2915Files: src/testdir/test_terminal.vim,
2916 src/testdir/dumps/Test_terminal_01.dump,
2917 src/testdir/dumps/Test_terminal_02.dump,
2918 src/testdir/dumps/Test_terminal_03.dump,
2919 src/testdir/dumps/Test_terminal_scrollback_1.dump,
2920 src/testdir/dumps/Test_terminal_scrollback_2.dump,
2921 src/testdir/dumps/Test_terminal_scrollback_3.dump
2922
2923Patch 8.2.0391 (after 8.2.0377)
2924Problem: CI test coverage dropped.
2925Solution: Set $DISPLAY also for non-GUI builds. (James McCoy, closes #5788)
2926Files: .travis.yml
2927
2928Patch 8.2.0392
2929Problem: Coverity warns for using array index out of range.
2930Solution: Add extra "if" to avoid warning.
2931Files: src/menu.c
2932
2933Patch 8.2.0393
2934Problem: Coverity warns for not using return value.
2935Solution: Add (void).
2936Files: src/popupmenu.c
2937
2938Patch 8.2.0394
2939Problem: Coverity complains about using NULL pointer.
2940Solution: Use empty string when option value is NULL.
2941Files: src/optionstr.c
2942
2943Patch 8.2.0395
2944Problem: Build fails with FEAT_EVAL but without FEAT_MENU.
2945Solution: Add #ifdef. (John Marriott)
2946Files: src/evalfunc.c
2947
2948Patch 8.2.0396
2949Problem: Cmdexpand.c insufficiently tested.
2950Solution: Add more tests. (Yegappan Lakshmanan, closes #5789)
2951Files: src/testdir/test_cmdline.vim, src/testdir/test_taglist.vim,
2952 src/testdir/test_terminal.vim, src/testdir/test_usercommands.vim
2953
2954Patch 8.2.0397
2955Problem: Delayed screen update when using undo from Insert mode.
2956Solution: Update w_topline and cursor shape before sleeping. (closes #5790)
2957Files: src/normal.c
2958
2959Patch 8.2.0398
2960Problem: Profile test fails when two functions take same time.
2961Solution: Add a short sleep in once function. (closes #5797)
2962Files: src/testdir/test_profile.vim
2963
2964Patch 8.2.0399
2965Problem: Various memory leaks.
2966Solution: Avoid the leaks. (Ozaki Kiichi, closes #5803)
2967Files: src/ex_docmd.c, src/ex_getln.c, src/menu.c, src/message.c,
2968 src/scriptfile.c, src/userfunc.c
2969
2970Patch 8.2.0400
2971Problem: Not all tests using a terminal are in the list of flaky tests.
2972Solution: Introduce the test_is_flaky flag.
2973Files: src/testdir/runtest.vim, src/testdir/term_util.vim,
2974 src/testdir/screendump.vim, src/testdir/test_autocmd.vim
2975
2976Patch 8.2.0401
2977Problem: Not enough test coverage for evalvars.c.
2978Solution: Add more tests. (Yegappan Lakshmanan, closes #5804)
2979Files: src/testdir/test_cmdline.vim, src/testdir/test_const.vim,
2980 src/testdir/test_diffmode.vim, src/testdir/test_excmd.vim,
2981 src/testdir/test_functions.vim, src/testdir/test_let.vim,
2982 src/testdir/test_listdict.vim, src/testdir/test_spell.vim,
2983 src/testdir/test_unlet.vim, src/testdir/test_user_func.vim,
2984 src/testdir/test_vimscript.vim
2985
2986Patch 8.2.0402 (after 8.2.0401)
2987Problem: Setting local instead of global flag.
2988Solution: Prepend "g:" to "test_is_flaky".
2989Files: src/testdir/term_util.vim, src/testdir/screendump.vim,
2990 src/testdir/test_autocmd.vim
2991
2992Patch 8.2.0403
2993Problem: When 'buftype' is "nofile" there is no overwrite check.
2994Solution: Also check for existing file when 'buftype' is set.
2995 (closes #5807)
2996Files: src/ex_cmds.c, src/testdir/test_options.vim
2997
2998Patch 8.2.0404
2999Problem: Writefile() error does not give a hint.
3000Solution: Add remark about first argument.
3001Files: src/filepath.c, src/testdir/test_writefile.vim
3002
3003Patch 8.2.0405
3004Problem: MSVC: build fails with some combination of features.
3005Solution: Enable CHANNEL if TERMINAL is enabled. (Mike Williams)
3006Files: src/Make_mvc.mak
3007
3008Patch 8.2.0406
3009Problem: FileReadCmd event not well tested.
3010Solution: Add a test.
3011Files: src/testdir/test_autocmd.vim
3012
3013Patch 8.2.0407
3014Problem: No early check if :find and :sfind have an argument.
3015Solution: Add EX_NEEDARG.
3016Files: src/ex_cmds.h, src/testdir/test_findfile.vim,
3017 src/testdir/test_find_complete.vim
3018
3019Patch 8.2.0408
3020Problem: Delete() commented out for testing.
3021Solution: Undo commenting-out.
3022Files: src/testdir/test_vim9_disassemble.vim
3023
3024Patch 8.2.0409
3025Problem: Search test leaves file behind.
3026Solution: Delete the file. Also use Check commands.
3027Files: src/testdir/test_search.vim
3028
3029Patch 8.2.0410
3030Problem: Channel test fails too often on slow Mac.
3031Solution: Increase waiting time to 10 seconds.
3032Files: src/testdir/test_channel.vim
3033
3034Patch 8.2.0411
3035Problem: Mac: breakcheck is using a value from the stone ages.
3036Solution: Delete BREAKCHECK_SKIP from the Mac header file. (Ben Jackson)
3037Files: src/os_mac.h
3038
3039Patch 8.2.0412
3040Problem: MS-Windows: cannot use vimtutor from the start menu.
3041Solution: Better check for writable directory. Use the right path for the
3042 executable. (Wu Yongwei, closes #5774, closes #5756)
3043Files: vimtutor.bat
3044
3045Patch 8.2.0413
3046Problem: Buffer menu does not handle special buffers properly.
3047Solution: Keep a dictionary with buffer names to reliably keep track of
3048 entries.
3049 Also trigger BufFilePre and BufFilePost for command-line and
3050 terminal buffers when the name changes.
3051Files: src/testdir/test_alot.vim, src/testdir/Make_all.mak,
3052 runtime/menu.vim, src/ex_getln.c, src/terminal.c,
3053 src/testdir/test_menu.vim
3054
3055Patch 8.2.0414
3056Problem: Channel connect_waittime() test is flaky.
3057Solution: Set the test_is_flaky flag. Use test_is_flaky for more tests.
3058Files: src/testdir/test_channel.vim, src/testdir/test_terminal.vim,
3059 src/testdir/runtest.vim
3060
3061Patch 8.2.0415
3062Problem: Bsdl filetype is not detected.
3063Solution: Add an entry in the filetype list. (Daniel Kho, closes #5810)
3064Files: runtime/filetype.vim, src/testdir/test_filetype.vim
3065
3066Patch 8.2.0416
3067Problem: Test leaves file behind.
3068Solution: Delete the file.
3069Files: src/testdir/test_indent.vim
3070
3071Patch 8.2.0417
3072Problem: Travis CI config can be improved.
3073Solution: Remove COVERAGE variable. Add load-snd-dummy script. add "-i NONE"
3074 to avoid messages about viminfo. (Ozaki Kiichi, closes #5813)
3075Files: .travis.yml, ci/load-snd-dummy.sh
3076
3077Patch 8.2.0418
3078Problem: Code in eval.c not sufficiently covered by tests.
3079Solution: Add more tests. (Yegappan Lakshmanan, closes #5815)
3080Files: src/testdir/test_blob.vim, src/testdir/test_channel.vim,
3081 src/testdir/test_cmdline.vim, src/testdir/test_eval_stuff.vim,
3082 src/testdir/test_expr.vim, src/testdir/test_functions.vim,
3083 src/testdir/test_job_fails.vim, src/testdir/test_lambda.vim,
3084 src/testdir/test_let.vim, src/testdir/test_listdict.vim,
3085 src/testdir/test_marks.vim, src/testdir/test_method.vim,
3086 src/testdir/test_normal.vim, src/testdir/test_unlet.vim,
3087 src/testdir/test_usercommands.vim, src/testdir/test_vimscript.vim,
3088 src/testdir/test_window_cmd.vim
3089
3090Patch 8.2.0419
3091Problem: Various memory leaks in Vim9 script code.
3092Solution: Fix the leaks. (Ozaki Kiichi, closes #5814)
3093Files: src/proto/vim9compile.pro, src/scriptfile.c, src/structs.h,
3094 src/testdir/test_vim9_script.vim, src/vim9.h, src/vim9compile.c,
3095 src/vim9execute.c, src/vim9script.c
3096
3097Patch 8.2.0420
3098Problem: Vim9: cannot interrupt a loop with CTRL-C.
3099Solution: Check for CTRL-C once in a while. Doesn't fully work yet.
3100Files: src/misc1.c, src/proto/misc1.pro,
3101 src/testdir/test_vim9_script.vim
3102
3103Patch 8.2.0421
3104Problem: Interrupting with CTRL-C does not always work.
3105Solution: Recognize CTRL-C while modifyOtherKeys is set.
3106Files: src/ui.c, src/testdir/test_vim9_script.vim, src/evalfunc.c
3107
3108Patch 8.2.0422
3109Problem: Crash when passing popup window to win_splitmove(). (john Devin)
3110Solution: Disallow moving a popup window. (closes #5816)
3111Files: src/testdir/test_popupwin.vim, src/evalwindow.c
3112
3113Patch 8.2.0423
3114Problem: In some environments a few tests are expected to fail.
3115Solution: Add $TEST_MAY_FAIL to list tests that should not cause make to
3116 fail.
3117Files: src/testdir/runtest.vim
3118
3119Patch 8.2.0424
3120Problem: Checking for wrong return value. (Tom)
3121Solution: Invert the check and fix the test.
3122Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
3123
3124Patch 8.2.0425
3125Problem: Code for modeless selection not sufficiently tested.
3126Solution: Add tests. Move mouse code functionality to a common script file.
3127 (Yegappan Lakshmanan, closes #5821)
3128Files: src/testdir/Make_all.mak, src/testdir/gen_opt_test.vim,
3129 src/testdir/mouse.vim, src/testdir/test_edit.vim,
3130 src/testdir/test_global.vim, src/testdir/test_modeless.vim,
3131 src/testdir/test_normal.vim, src/testdir/test_selectmode.vim,
3132 src/testdir/test_termcodes.vim, src/testdir/test_visual.vim,
3133 src/ui.c
3134
3135Patch 8.2.0426
3136Problem: Some errors were not tested for.
3137Solution: Add tests. (Dominique Pellé, closes #5824)
3138Files: src/testdir/test_buffer.vim, src/testdir/test_options.vim,
3139 src/testdir/test_tcl.vim, src/testdir/test_terminal.vim,
3140 src/testdir/test_window_cmd.vim
3141
3142Patch 8.2.0427
3143Problem: It is not possible to check for a typo in a feature name.
3144Solution: Add an extra argument to has().
3145Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/check.vim,
3146 src/testdir/test_functions.vim
3147
3148Patch 8.2.0428
3149Problem: Buffer name may leak.
3150Solution: Free the buffer name before overwriting it.
3151Files: src/terminal.c
3152
3153Patch 8.2.0429
3154Problem: No warning when test checks for option that never exists.
3155Solution: In tests check that the option can exist.
3156Files: src/testdir/check.vim
3157
3158Patch 8.2.0430
3159Problem: Window creation failure not properly tested.
3160Solution: Improve the test. (Yegappan Lakshmanan, closes #5826)
3161Files: src/testdir/test_cmdline.vim, src/testdir/test_window_cmd.vim
3162
3163Patch 8.2.0431
3164Problem: Some compilers don't support using \e for Esc. (Yegappan
3165 Lakshmanan)
3166Solution: use \033 instead.
3167Files: src/ui.c
3168
3169Patch 8.2.0432
3170Problem: A few tests fail in a huge terminal.
3171Solution: Make the tests pass. (Dominique Pellé, closes #5829)
3172Files: src/testdir/test_autocmd.vim, src/testdir/test_options.vim,
3173 src/testdir/test_termcodes.vim, src/testdir/test_terminal.vim,
3174 src/testdir/test_window_cmd.vim
3175
3176Patch 8.2.0433
3177Problem: INT signal not properly tested.
3178Solution: Add a test. Also clean up some unnecessary lines. (Dominique
3179 Pellé, closes #5828)
3180Files: src/testdir/test_display.vim, src/testdir/test_ex_mode.vim,
3181 src/testdir/test_excmd.vim, src/testdir/test_messages.vim,
3182 src/testdir/test_signals.vim
3183
3184Patch 8.2.0434
3185Problem: MS-Windows with VTP: Normal color not working.
3186Solution: After changing the Normal color update the VTP console color.
3187 (Nobuhiro Takasaki, closes #5836)
3188Files: src/highlight.c
3189
3190Patch 8.2.0435
3191Problem: Channel contents might be freed twice.
3192Solution: Call either channel_free_channel() or channel_free(), not both.
3193 (Nobuhiro Takasaki, closes #5835)
3194Files: src/channel.c
3195
3196Patch 8.2.0436
3197Problem: No warnings for incorrect printf arguments.
3198Solution: Fix attribute in declaration. Fix uncovered mistakes. (Dominique
3199 Pellé, closes #5834)
3200Files: src/proto.h, src/eval.c, src/ops.c, src/spellfile.c,
3201 src/vim9compile.c, src/vim9execute.c, src/viminfo.c, src/gui.c
3202
3203Patch 8.2.0437
3204Problem: MS-Windows installer contains old stuff.
3205Solution: Rely on Windows NT. (Ken Takata, closes #5832)
3206Files: src/dosinst.c
3207
3208Patch 8.2.0438
3209Problem: Terminal noblock test is very flaky on BSD.
3210Solution: Change WaitFor() to WaitForAssert() to be able to see why it
3211 failed. Add a short wait in between sending keys.
3212Files: src/testdir/test_terminal.vim
3213
3214Patch 8.2.0439
3215Problem: :disassemble has minor flaws.
3216Solution: Format the code. Use (int) instead of (char) for %c.
3217 (also by James McCoy, closes #5831)
3218Files: src/vim9execute.c
3219
3220Patch 8.2.0440
3221Problem: Terminal noblock test is still very flaky on BSD.
3222Solution: Increase the waiting time.
3223Files: src/testdir/test_terminal.vim
3224
3225Patch 8.2.0441
3226Problem: Terminal noblock test is still failing on BSD.
3227Solution: Reduce the amount of text.
3228Files: src/testdir/test_terminal.vim
3229
3230Patch 8.2.0442
3231Problem: Channel contents might be used after being freed.
3232Solution: Reset the job channel before freeing the channel.
3233Files: src/channel.c
3234
3235Patch 8.2.0443
3236Problem: Clipboard code is spread out.
3237Solution: Move clipboard code to its own file. (Yegappan Lakshmanan,
3238 closes #5827)
3239Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
3240 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
3241 src/clipboard.c, src/ops.c, src/proto.h, src/proto/clipboard.pro,
3242 src/proto/ops.pro, src/proto/register.pro, src/proto/ui.pro,
3243 src/register.c, src/ui.c
3244
3245Patch 8.2.0444
3246Problem: Swap file test fails on some systems.
3247Solution: Preserve the swap file. Send NL terminated keys.
3248Files: src/testdir/test_swap.vim
3249
3250Patch 8.2.0445
3251Problem: Png and xpm files not in MS-Windows zip file.
3252Solution: Move files to shared between Unix and Windows target.
3253Files: Filelist
3254
3255Patch 8.2.0446
3256Problem: Listener with undo of deleting all lines not tested.
3257Solution: Add a test.
3258Files: src/testdir/test_listener.vim
3259
3260Patch 8.2.0447
3261Problem: Terminal scroll tests fails on some systems.
3262Solution: Remove the fixed 100msec wait for Win32. Add a loop to wait until
3263 scrolling has finished. (James McCoy, closes #5842)
3264Files: src/testdir/test_terminal.vim
3265
3266Patch 8.2.0448
3267Problem: Various functions not properly tested.
3268Solution: Add more tests, especially for failures. (Yegappan Lakshmanan,
3269 closes #5843)
3270Files: runtime/doc/eval.txt, src/testdir/test_blob.vim,
3271 src/testdir/test_breakindent.vim, src/testdir/test_charsearch.vim,
3272 src/testdir/test_clientserver.vim, src/testdir/test_cmdline.vim,
3273 src/testdir/test_exists.vim, src/testdir/test_expand_func.vim,
3274 src/testdir/test_expr.vim, src/testdir/test_file_perm.vim,
3275 src/testdir/test_functions.vim, src/testdir/test_gui.vim,
3276 src/testdir/test_listdict.vim, src/testdir/test_marks.vim,
3277 src/testdir/test_partial.vim, src/testdir/test_registers.vim,
3278 src/testdir/test_search.vim, src/testdir/test_spell.vim,
3279 src/testdir/test_substitute.vim, src/testdir/test_syn_attr.vim,
3280 src/testdir/test_syntax.vim, src/testdir/test_taglist.vim,
3281 src/testdir/test_utf8.vim, src/testdir/test_vartabs.vim,
3282 src/testdir/test_window_cmd.vim
3283
3284Patch 8.2.0449
3285Problem: Vim9: crash if return type is invalid. (Yegappan Lakshmanan)
3286Solution: Always return some type, not NULL.
3287Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
3288
3289Patch 8.2.0450
3290Problem: Not enough testing for restricted mode and function calls.
3291Solution: Add more tests. (Yegappan Lakshmanan, closes #5847)
3292Files: src/testdir/test_method.vim, src/testdir/test_restricted.vim,
3293 src/testdir/test_vim9_script.vim
3294
3295Patch 8.2.0451
3296Problem: Win32: double-width character displayed incorrectly.
3297Solution: First move the cursor to the first column. (Nobuhiro Takasaki,
3298 closes #5848)
3299Files: src/os_win32.c
3300
3301Patch 8.2.0452
3302Problem: channel_parse_messages() fails when called recursively.
3303Solution: Return for a recursive call. (closes #5835)
3304Files: src/channel.c
3305
3306Patch 8.2.0453
3307Problem: Trailing space in job_start() command causes empty argument.
3308Solution: Ignore trailing space. (closes #5851)
3309Files: src/misc2.c, src/testdir/test_channel.vim
3310
3311Patch 8.2.0454
3312Problem: Some tests fail when the system is slow.
3313Solution: Make the run number global, use in the test to increase the
3314 waiting time. (closes #5841)
3315Files: src/testdir/runtest.vim, src/testdir/test_functions.vim
3316
3317Patch 8.2.0455
3318Problem: Cannot set the highlight group for a specific terminal.
3319Solution: Add the "highlight" option to term_start(). (closes #5818)
3320Files: src/terminal.c, src/structs.h, src/channel.c,
3321 src/testdir/test_terminal.vim, runtime/doc/terminal.txt,
3322 src/testdir/dumps/Test_terminal_popup_Terminal.dump,
3323 src/testdir/dumps/Test_terminal_popup_MyTermCol.dump
3324
3325Patch 8.2.0456
3326Problem: Test_confirm_cmd is flaky.
3327Solution: Add a term_wait() call. (closes #5854)
3328Files: src/testdir/test_excmd.vim
3329
3330Patch 8.2.0457
3331Problem: Test_quotestar() often fails when run under valgrind.
3332Solution: Wait longer for the GUI to start.
3333Files: src/testdir/test_quotestar.vim
3334
3335Patch 8.2.0458
3336Problem: Missing feature check in test function.
3337Solution: Add check commands.
3338Files: src/testdir/test_excmd.vim
3339
3340Patch 8.2.0459
3341Problem: Cannot check if a function name is correct.
3342Solution: Add "?funcname" to exists().
3343Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_exists.vim,
3344 src/testdir/check.vim
3345
3346Patch 8.2.0460 (after 8.2.0459)
3347Problem: Build failure because of wrong feature name.
3348Solution: Correct feature name.
3349Files: src/evalfunc.c
3350
3351Patch 8.2.0461
3352Problem: Confirm test fails on amd64 system. (Alimar Riesebieter)
3353Solution: Add an extra WaitForAssert(). (Dominique Pellé)
3354Files: src/testdir/test_excmd.vim
3355
3356Patch 8.2.0462
3357Problem: Previewwindow test fails on some systems. (James McCoy)
3358Solution: Wait a bit after sending the "o". (closes #5849)
3359Files: src/testdir/test_popup.vim,
3360 src/testdir/dumps/Test_popup_and_previewwindow_01.dump
3361
3362Patch 8.2.0463
3363Problem: Build error without float and channel feature. (John Marriott)
3364Solution: Define return types always.
3365Files: src/globals.h, src/evalfunc.c
3366
3367Patch 8.2.0464
3368Problem: Typos and other small problems.
3369Solution: Fix the typos. Add missing files to the distribution.
3370Files: Filelist, src/buffer.c, src/drawline.c, src/gui_gtk_x11.c,
3371 src/os_unixx.h, src/proto/popupwin.pro
3372
3373Patch 8.2.0465
3374Problem: Vim9: dead code and wrong return type.
3375Solution: Remove dead code. Fix return type. Add more tests.
3376Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
3377
3378Patch 8.2.0466 (after 8.2.0452)
3379Problem: Not parsing messages recursively breaks the govim plugin.
3380Solution: When called recursively do handle messages but do not close
3381 channels.
3382Files: src/channel.c
3383
3384Patch 8.2.0467
3385Problem: Vim9: some errors are not tested
3386Solution: Add more tests. Fix that Vim9 script flag is not reset.
3387Files: src/vim9compile.c, src/scriptfile.c, src/dict.c,
3388 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim
3389
3390Patch 8.2.0468
3391Problem: GUI: pixel dust with some fonts and characters.
3392Solution: Always redraw the character before the cursor. (Nir Lichtman,
3393 closes #5549, closes #5856)
3394Files: src/gui.c, src/proto/gui.pro, src/screen.c
3395
3396Patch 8.2.0469
3397Problem: Vim9: no error for missing ] after list.
3398Solution: Add error message. Add more tests.
3399Files: src/globals.h, src/list.c, src/userfunc.c,
3400 src/testdir/test_vim9_expr.vim, src/testdir/test_lambda.vim
3401
3402Patch 8.2.0470
3403Problem: Test_confirm_cmd_cancel() can fail on a slow system.
3404Solution: Use WaitForAssert(). (Ozaki Kiichi, closes #5861)
3405Files: src/testdir/test_excmd.vim
3406
3407Patch 8.2.0471
3408Problem: Missing change to compile_list().
3409Solution: Add error message.
3410Files: src/vim9compile.c
3411
3412Patch 8.2.0472
3413Problem: Terminal highlight name is set twice, leaking memory.
3414Solution: Delete one.
3415Files: src/terminal.c
3416
3417Patch 8.2.0473
3418Problem: Variables declared in an outer scope.
3419Solution: Declare variables only in the scope where they are used.
3420Files: src/evalvars.c
3421
3422Patch 8.2.0474 (after 8.2.0403)
3423Problem: Cannot use :write when using a plugin with BufWriteCmd.
3424Solution: Reset BF_NOTEDITED after BufWriteCmd. (closes #5807)
3425Files: src/fileio.c, src/testdir/test_autocmd.vim
3426
3427Patch 8.2.0475
3428Problem: Channel out_cb test still fails sometimes on Mac.
3429Solution: Use an even longer timeout.
3430Files: src/testdir/test_channel.vim
3431
3432Patch 8.2.0476
3433Problem: Terminal nasty callback test fails sometimes.
3434Solution: use term_wait() instead of a sleep. (Yee Cheng Chin, closes #5865)
3435Files: src/testdir/test_terminal.vim
3436
3437Patch 8.2.0477
3438Problem: Vim9: error messages not tested.
3439Solution: Add more tests.
3440Files: src/testdir/test_vim9_expr.vim, src/vim9execute.c
3441
3442Patch 8.2.0478
3443Problem: New buffers are not added to the Buffers menu.
3444Solution: Turn number into string. (Yee Cheng Chin, closes #5864)
3445Files: runtime/menu.vim, src/testdir/test_menu.vim
3446
3447Patch 8.2.0479
3448Problem: Unloading shared libraries on exit has no purpose.
3449Solution: Do not unload shared libraries on exit.
3450Files: src/if_lua.c, src/if_perl.xs, src/if_python.c, src/if_python3.c,
3451 src/if_ruby.c, src/if_tcl.c
3452
3453Patch 8.2.0480
3454Problem: Vim9: some code is not tested.
3455Solution: Add more tests.
3456Files: src/testdir/test_vim9_expr.vim, src/vim9compile.c
3457
3458Patch 8.2.0481
3459Problem: Travis is still using trusty.
3460Solution: Adjust config to use bionic. (Ozaki Kiichi, closes #5868)
3461Files: .travis.yml, src/testdir/lsan-suppress.txt
3462
3463Patch 8.2.0482
3464Problem: Channel and sandbox code not sufficiently tested.
3465Solution: Add more tests. (Yegappan Lakshmanan, closes #5855)
3466Files: src/option.h, src/testdir/test_channel.vim,
3467 src/testdir/test_clientserver.vim, src/testdir/test_cmdline.vim,
3468 src/testdir/test_edit.vim, src/testdir/test_excmd.vim,
3469 src/testdir/test_normal.vim, src/testdir/test_prompt_buffer.vim,
3470 src/testdir/test_restricted.vim, src/testdir/test_smartindent.vim,
3471 src/testdir/test_substitute.vim, src/testdir/test_terminal.vim,
3472 src/testdir/test_textformat.vim, src/testdir/test_visual.vim
3473
3474Patch 8.2.0483
3475Problem: Vim9: "let x = x + 1" does not give an error.
3476Solution: Hide the variable when compiling the expression.
3477Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
3478
3479Patch 8.2.0484
3480Problem: Vim9: some error messages not tested.
3481Solution: Add more tests.
3482Files: src/testdir/test_vim9_expr.vim
3483
3484Patch 8.2.0485 (after 8.2.0483)
3485Problem: Vim9 script test fails.
3486Solution: Stricter condition for adding new local variable.
3487Files: Stricter condition for adding new local variable.
3488
3489Patch 8.2.0486
3490Problem: Vim9: some code and error messages not tested.
3491Solution: Add more tests.
3492Files: src/vim9compile.c, src/evalvars.c, src/testdir/test_vim9_expr.vim,
3493 src/testdir/test_vim9_script.vim
3494
3495Patch 8.2.0487
3496Problem: Vim9: compiling not sufficiently tested.
3497Solution: Add more tests. Fix bug with PCALL.
3498Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
3499 src/testdir/test_vim9_script.vim,
3500 src/testdir/test_vim9_disassemble.vim
3501
3502Patch 8.2.0488
3503Problem: Vim9: Compiling can break when using a lambda inside :def.
3504Solution: Do not keep a pointer to the dfunc_T for longer time.
3505Files: src/vim9compile.c, src/vim9.h
3506
3507Patch 8.2.0489
3508Problem: Vim9: memory leaks.
3509Solution: Free memory in the right place. Add hints for using asan.
3510Files: src/vim9compile.c, src/testdir/lsan-suppress.txt, src/Makefile
3511
3512Patch 8.2.0490
3513Problem: Win32: VTP doesn't respect 'restorescreen'.
3514Solution: Use escape codes to switch to alternate screen. (Nobuhiro
3515 Takasaki, closes #5872)
3516Files: src/os_win32.c
3517
3518Patch 8.2.0491
3519Problem: Cannot recognize a <script> mapping using maparg().
3520Solution: Add the "script" key. (closes #5873)
3521Files: src/map.c, runtime/doc/eval.txt, src/testdir/test_maparg.vim
3522
3523Patch 8.2.0492
3524Problem: Vim9: some error messages not tested.
3525Solution: Add more tests. Remove dead code. Fix uncovered bugs.
3526Files: src/vim9compile.c, src/vim9execute.c,
3527 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim
3528
3529Patch 8.2.0493
3530Problem: Vim9: some error messages not tested.
3531Solution: Add more tests. Fix uncovered bugs.
3532Files: src/vim9compile.c, src/vim9execute.c, src/testing.c, src/eval.c,
3533 src/proto/testing.pro, src/evalfunc.c, runtime/doc/eval.txt,
3534 runtime/doc/testing.txt, src/testdir/test_vim9_script.vim
3535
3536Patch 8.2.0494
3537Problem: Vim9: asan error.
3538Solution: Only get the type when there is one.
3539Files: src/vim9compile.c
3540
3541Patch 8.2.0495
3542Problem: Vim9: some code not tested.
3543Solution: Add more tests. Support more const expressions.
3544Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
3545
3546Patch 8.2.0496
3547Problem: Vim9: disassemble test fails.
3548Solution: Separate test cases with recognized constant expressions.
3549Files: src/testdir/test_vim9_disassemble.vim
3550
3551Patch 8.2.0497
3552Problem: Too verbose output from the asan build in Travis.
3553Solution: Filter out suppression messages. (Ozaki Kiichi, closes #5874)
3554Files: .travis.yml
3555
3556Patch 8.2.0498
3557Problem: Coverity complains about uninitialized field.
3558Solution: Initialize the whole typval_T.
3559Files: src/vim9compile.c
3560
3561Patch 8.2.0499
3562Problem: Calling a lambda is slower than evaluating a string.
3563Solution: Make calling a lambda faster. (Ken Takata, closes #5727)
3564Files: src/userfunc.c
3565
3566Patch 8.2.0500
3567Problem: Using the same loop in many places.
3568Solution: Define more FOR_ALL macros. (Yegappan Lakshmanan, closes #5339)
3569Files: src/arglist.c, src/autocmd.c, src/buffer.c, src/change.c,
3570 src/channel.c, src/cmdexpand.c, src/diff.c, src/eval.c,
3571 src/evalbuffer.c, src/evalfunc.c, src/evalvars.c,
3572 src/evalwindow.c, src/ex_cmds2.c, src/filepath.c, src/globals.h,
3573 src/gui.c, src/if_py_both.h, src/if_ruby.c, src/insexpand.c,
3574 src/list.c, src/misc2.c, src/netbeans.c, src/popupwin.c,
3575 src/quickfix.c, src/screen.c, src/sign.c, src/spell.c,
3576 src/spellfile.c, src/spellsuggest.c, src/tag.c, src/terminal.c,
3577 src/userfunc.c, src/window.c
3578
3579Patch 8.2.0501
3580Problem: Vim9: script test fails when channel feature is missing.
3581Solution: Add a has() condition.
3582Files: src/testdir/test_vim9_script.vim
3583
3584Patch 8.2.0502
3585Problem: Vim9: some code is not tested.
3586Solution: Add more tests. Fix uncovered problems.
3587Files: src/vim9compile.c, src/regexp.c, src/proto/regexp.pro,
3588 src/cmdexpand.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_eval.c,
3589 src/ex_getln.c, src/highlight.c, src/search.c, src/syntax.c,
3590 src/tag.c, src/userfunc.c, src/testdir/test_vim9_script.vim,
3591 src/testdir/test_vim9_disassemble.vim
3592
3593Patch 8.2.0503
3594Problem: Vim9: some code is not tested.
3595Solution: Add tests. Fix uncovered problems.
3596Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
3597
3598Patch 8.2.0504
3599Problem: Vim9: leaking scope memory when compilation fails.
3600Solution: Cleanup the scope list.
3601Files: src/vim9compile.c
3602
3603Patch 8.2.0505
3604Problem: term_gettty() not sufficiently tested.
3605Solution: Add more asserts. (Dominique Pellé, closes #5877)
3606Files: src/testdir/test_terminal.vim
3607
3608Patch 8.2.0506
3609Problem: Coverity complains about ignoring return value.
3610Solution: Add (void).
3611Files: src/userfunc.c
3612
3613Patch 8.2.0507 (after 8.2.0472)
3614Problem: Getbufvar() may get the wrong dictionary. (David le Blanc)
3615Solution: Check for empty name. (closes #5878)
3616Files: src/evalvars.c, src/testdir/test_functions.vim
3617
3618Patch 8.2.0508
3619Problem: Vim9: func and partial types not done yet
3620Solution: Fill in details about func declaration, drop a separate partial
3621 declaration.
3622Files: runtime/doc/vim9.txt, src/vim9compile.c, src/globals.h,
3623 src/structs.h, src/evalfunc.c, src/testdir/test_vim9_expr.vim,
3624 src/testdir/test_vim9_script.vim,
3625 src/testdir/test_vim9_disassemble.vim
3626
3627Patch 8.2.0509
3628Problem: various code is not properly tested.
3629Solution: Add more tests. (Yegappan Lakshmanan, closes #5871)
3630Files: src/main.c, src/testdir/check.vim, src/testdir/shared.vim,
3631 src/testdir/term_util.vim, src/testdir/test_clientserver.vim,
3632 src/testdir/test_ex_mode.vim, src/testdir/test_expand.vim,
3633 src/testdir/test_functions.vim, src/testdir/test_options.vim,
3634 src/testdir/test_startup.vim, src/testdir/test_textformat.vim,
3635 src/testdir/test_trycatch.vim, src/testdir/test_viminfo.vim
3636
3637Patch 8.2.0510
3638Problem: Coverity complains about using uninitialized variable.
3639Solution: Assign a value to "scol". Move code inside NULL check.
3640Files: src/beval.c, src/popupwin.c
3641
3642Patch 8.2.0511
3643Problem: Cscope code not fully tested.
3644Solution: Add more test cases. (Dominique Pellé, closes #5886)
3645Files: src/testdir/test_cscope.vim
3646
3647Patch 8.2.0512
3648Problem: Vim9: no optional arguments in func type.
3649Solution: Check for question mark after type. Find function reference
3650 without function().
3651Files: src/vim9compile.c, src/vim9execute.c, src/structs.h,
3652 src/globals.h, src/vim.h, src/vim9.h, src/userfunc.c,
3653 src/testdir/Make_all.mak, src/testdir/test_vim9_script.vim,
3654 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
3655 src/testdir/test_vim9_disassemble.vim
3656
3657Patch 8.2.0513
3658Problem: Reading past allocated memory when using varargs.
3659Solution: Fix copying function argument types.
3660Files: src/vim9compile.c
3661
3662Patch 8.2.0514
3663Problem: Several global functions are used in only one file.
3664Solution: Make the functions static. (Yegappan Lakshmanan, closes #5884)
3665Files: src/drawscreen.c, src/evalvars.c, src/getchar.c, src/list.c,
3666 src/proto/drawscreen.pro, src/proto/evalvars.pro,
3667 src/proto/getchar.pro, src/proto/list.pro, src/proto/version.pro,
3668 src/version.c
3669
3670Patch 8.2.0515
3671Problem: Some compilers cannot add to "void *".
3672Solution: Cast to "char *".
3673Files: src/vim9compile.c
3674
3675Patch 8.2.0516
3676Problem: Client-server code is spread out.
3677Solution: Move client-server code to a new file. (Yegappan Lakshmanan,
3678 closes #5885)
3679Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
3680 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
3681 src/clientserver.c, src/evalfunc.c, src/main.c, src/proto.h,
3682 src/proto/clientserver.pro, src/proto/main.pro
3683
3684Patch 8.2.0517
3685Problem: Vim9: cannot separate "func" and "func(): void".
3686Solution: Use VAR_ANY for "any" and VAR_UNKNOWN for "no type".
3687Files: src/structs.h, src/globals.h, src/eval.c, src/evalfunc.c,
3688 src/evalvars.c, src/testing.c, src/vim9compile.c,
3689 src/vim9execute.c, src/viminfo.c, src/if_py_both.h, src/json.c,
3690 src/testdir/test_vim9_func.vim
3691
3692Patch 8.2.0518
3693Problem: A terminal falls back to setting $TERM to "xterm".
3694Solution: Use "xterm-color" if more than 16 colors are supported and
3695 "xterm-256color" if at least 256 colors are supported.
3696 (closes #5887)
3697Files: src/os_unix.c
3698
3699Patch 8.2.0519
3700Problem: Vim9: return type not properly checked.
3701Solution: Check type properly, also at runtime.
3702Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
3703
3704Patch 8.2.0520
3705Problem: Tests are not listed in sorted order.
3706Solution: Move test_ex_mode. (Doug Richardson, closes #5889)
3707Files: src/testdir/Make_all.mak
3708
3709Patch 8.2.0521
3710Problem: Crash when reading a blob fails.
3711Solution: Avoid keeping a pointer to a freed blob object. (Dominique Pellé,
3712 closes #5890) Adjust error messages.
3713Files: src/filepath.c, src/testdir/test_blob.vim
3714
3715Patch 8.2.0522
3716Problem: Several errors are not tested for.
3717Solution: Add tests. (Yegappan Lakshmanan, closes #5892)
3718Files: src/testdir/test_autocmd.vim, src/testdir/test_clientserver.vim,
3719 src/testdir/test_digraph.vim, src/testdir/test_expand.vim,
3720 src/testdir/test_expr.vim, src/testdir/test_functions.vim,
3721 src/testdir/test_gui.vim, src/testdir/test_highlight.vim,
3722 src/testdir/test_ins_complete.vim, src/testdir/test_lambda.vim,
3723 src/testdir/test_listdict.vim, src/testdir/test_normal.vim,
3724 src/testdir/test_options.vim, src/testdir/test_preview.vim,
3725 src/testdir/test_user_func.vim, src/testdir/test_vim9_func.vim,
3726 src/testdir/test_vim9_script.vim, src/testdir/test_viminfo.vim,
3727 src/testdir/test_vimscript.vim, src/testdir/test_window_cmd.vim
3728
3729Patch 8.2.0523
3730Problem: Loops are repeated.
3731Solution: Use FOR_ALL_ macros. (Yegappan Lakshmanan, closes #5882)
3732Files: src/buffer.c, src/drawscreen.c, src/evalfunc.c, src/evalwindow.c,
3733 src/globals.h, src/gui_athena.c, src/gui_gtk.c, src/gui_motif.c,
3734 src/gui_w32.c, src/list.c, src/menu.c, src/popupmenu.c,
3735 src/popupwin.c, src/quickfix.c, src/syntax.c, src/time.c,
3736 src/userfunc.c, src/vim9compile.c
3737
3738Patch 8.2.0524
3739Problem: Win32: searching for file matches is slow.
3740Solution: Instead of making another round to find any short filename, check
3741 for the short name right away. Avoid using an ordinary file like a
3742 directory. (Nir Lichtman, closes #5883)
3743Files: src/filepath.c
3744
3745Patch 8.2.0525 (after 8.2.0524)
3746Problem: Win32: typo in assignment and misplaced paren.
3747Solution: Fix the syntax.
3748Files: src/filepath.c
3749
3750Patch 8.2.0526
3751Problem: Gcc 9 complains about empty statement.
3752Solution: Add {}. (Dominique Pellé, closes #5894)
3753Files: src/evalfunc.c
3754
3755Patch 8.2.0527
3756Problem: Vim9: function types insufficiently tested.
3757Solution: Add more tests. Fix white space check. Add "test_vim9" target.
3758Files: src/vim9compile.c, src/testdir/test_vim9_func.vim, src/Makefile,
3759 src/testdir/Makefile, src/testdir/Make_all.mak
3760
3761Patch 8.2.0528
3762Problem: Vim9: function arguments insufficiently tested.
3763Solution: Check types. Add more tests. Fix function with varargs only.
3764Files: src/vim9compile.c, src/userfunc.c, src/testdir/test_vim9_func.vim
3765
3766Patch 8.2.0529
3767Problem: Vim9: function argument with default not checked.
3768Solution: Check type of argument with default value.
3769Files: src/vim9compile.c, src/userfunc.c, src/testdir/test_vim9_func.vim
3770
3771Patch 8.2.0530
3772Problem: Test crashes on s390. (James McCoy)
3773Solution: Explicitly define an 8 big signed type. (closes #5897)
3774Files: src/structs.h
3775
3776Patch 8.2.0531
3777Problem: Various errors not tested.
3778Solution: Add tests. (Yegappan Lakshmanan, closes #5895)
3779Files: src/testdir/test_search.vim, src/testdir/test_source.vim,
3780 src/testdir/test_syntax.vim, src/testdir/test_user_func.vim,
3781 src/testdir/test_vimscript.vim
3782
3783Patch 8.2.0532
3784Problem: Cannot use simplify() as a method.
3785Solution: Add FEARG_1. (closes #5896)
3786Files: runtime/doc/eval.txt, src/evalfunc.c,
3787 src/testdir/test_functions.vim
3788
3789Patch 8.2.0533
3790Problem: Tests using term_wait() can still be flaky.
3791Solution: Increase the wait time when rerunning a test. (James McCoy,
3792 closes #5899) Halve the initial times to make tests run faster
3793 when there is no rerun.
3794Files: src/testdir/term_util.vim, src/testdir/test_arglist.vim,
3795 src/testdir/test_autocmd.vim, src/testdir/test_balloon.vim,
3796 src/testdir/test_bufline.vim, src/testdir/test_channel.vim,
3797 src/testdir/test_cmdline.vim, src/testdir/test_conceal.vim,
3798 src/testdir/test_cursorline.vim, src/testdir/test_debugger.vim,
3799 src/testdir/test_diffmode.vim, src/testdir/test_display.vim,
3800 src/testdir/test_functions.vim, src/testdir/test_highlight.vim,
3801 src/testdir/test_ins_complete.vim, src/testdir/test_mapping.vim,
3802 src/testdir/test_match.vim, src/testdir/test_matchadd_conceal.vim,
3803 src/testdir/test_messages.vim, src/testdir/test_number.vim,
3804 src/testdir/test_popup.vim, src/testdir/test_popupwin.vim,
3805 src/testdir/test_profile.vim, src/testdir/test_search.vim,
3806 src/testdir/test_search_stat.vim, src/testdir/test_startup.vim,
3807 src/testdir/test_startup_utf8.vim,
3808 src/testdir/test_statusline.vim, src/testdir/test_suspend.vim,
3809 src/testdir/test_swap.vim, src/testdir/test_tagjump.vim,
3810 src/testdir/test_terminal.vim, src/testdir/test_terminal_fail.vim,
3811 src/testdir/test_timers.vim, src/testdir/test_vimscript.vim
3812
3813Patch 8.2.0534
3814Problem: Client-server test fails under valgrind.
3815Solution: Use WaitForAssert().
3816Files: src/testdir/test_clientserver.vim
3817
3818Patch 8.2.0535
3819Problem: Regexp patterns not fully tested.
3820Solution: Add more regexp tests and others. (Yegappan Lakshmanan,
3821 closes #5901)
3822Files: src/testdir/test_marks.vim, src/testdir/test_options.vim,
3823 src/testdir/test_regexp_latin.vim, src/testdir/test_search.vim
3824
3825Patch 8.2.0536
3826Problem: Vim9: some compilation code not tested.
3827Solution: Add more test cases.
3828Files: src/evalvars.c, src/proto/evalvars.pro, src/vim9compile.c,
3829 src/testdir/test_vim9_expr.vim
3830
3831Patch 8.2.0537
3832Problem: Vim9: no check for sandbox when setting v:var.
3833Solution: Check for sandbox.
3834Files: src/evalvars.c, src/testdir/test_vim9_script.vim
3835
3836Patch 8.2.0538
3837Problem: Vim9: VAR_PARTIAL is not used during compilation.
3838Solution: Remove VAR_PARTIAL.
3839Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c
3840
3841Patch 8.2.0539
3842Problem: Comparing two NULL list fails.
3843Solution: Change the order of comparing two lists.
3844Files: src/list.c, src/testdir/test_assert.vim
3845
3846Patch 8.2.0540
3847Problem: Regexp and other code not tested.
3848Solution: Add more tests. (Yegappan Lakshmanan, closes #5904)
3849Files: src/testdir/test_backspace_opt.vim, src/testdir/test_expr.vim,
3850 src/testdir/test_increment.vim, src/testdir/test_normal.vim,
3851 src/testdir/test_options.vim, src/testdir/test_regexp_latin.vim,
3852 src/testdir/test_search.vim, src/testdir/test_substitute.vim,
3853 src/testdir/test_terminal.vim, src/testdir/test_virtualedit.vim
3854
3855Patch 8.2.0541
3856Problem: Travis CI does not give compiler warnings.
3857Solution: Add flags for warnings. Fix uncovered problems. (Ozaki Kiichi,
3858 closes #5898)
3859Files: .travis.yml, ci/config.mk.clang.sed, ci/config.mk.gcc.sed,
3860 ci/config.mk.sed, src/if_perl.xs, src/if_ruby.c,
3861 src/libvterm/t/harness.c
3862
3863Patch 8.2.0542
3864Problem: No test for E386.
3865Solution: Add a test. (Dominique Pellé, closes #5911)
3866Files: src/testdir/test_search.vim
3867
3868Patch 8.2.0543
3869Problem: Vim9: function with varargs does not work properly.
3870Solution: Improve function type spec and add tests. Fix bugs.
3871Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9execute.c,
3872 src/structs.h, src/testdir/test_vim9_func.vim
3873
3874Patch 8.2.0544
3875Problem: Memory leak in search test.
3876Solution: Free msgbuf. (Dominique Pellé, closes #5912)
3877Files: src/search.c
3878
3879Patch 8.2.0545
3880Problem: Unused arguments ignored in non-standard way.
3881Solution: Add UNUSED instead of (void).
3882Files: src/libvterm/t/harness.c
3883
3884Patch 8.2.0546
3885Problem: Vim9: varargs implementation is inefficient.
3886Solution: Create list without moving the arguments.
3887Files: src/vim9compile.c, src/vim9execute.c
3888
3889Patch 8.2.0547
3890Problem: Win32: restoring screen not always done right.
3891Solution: Use a more appropriate method. (Nobuhiro Takasaki, closes #5909)
3892Files: src/os_win32.c
3893
3894Patch 8.2.0548
3895Problem: Vim9: not all possible func type errors tested.
3896Solution: Add more tests.
3897Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
3898
3899Patch 8.2.0549
3900Problem: User systemd files not recognized.
3901Solution: Add filetype patterns. (Kevin Locke, closes #5914)
3902Files: runtime/filetype.vim, src/testdir/test_filetype.vim
3903
3904Patch 8.2.0550
3905Problem: Some changes in the libvterm upstream code.
3906Solution: Include some changes.
3907Files: src/libvterm/t/harness.c
3908
3909Patch 8.2.0551
3910Problem: Not all code for options is tested.
3911Solution: Add more tests. (Yegappan Lakshmanan, closes #5913)
3912Files: src/testdir/test_options.vim, src/testdir/test_python3.vim,
3913 src/testdir/test_undo.vim, src/testdir/test_vimscript.vim
3914
3915Patch 8.2.0552
3916Problem: Vim9: some errors not covered by tests.
3917Solution: Add more tests. Check Funcref argument types.
3918Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
3919
3920Patch 8.2.0553 (after 8.2.0550)
3921Problem: Error for unused argument.
3922Solution: Add UNUSED.
3923Files: src/libvterm/t/harness.c
3924
3925Patch 8.2.0554
3926Problem: The GUI doesn't set t_Co.
3927Solution: In the GUI set t_Co to 256 * 256 * 256. (closes #5903)
3928Files: src/term.c, src/proto/term.pro, src/gui.c,
3929 src/testdir/test_gui.vim
3930
3931Patch 8.2.0555
3932Problem: Vim9: line continuation is not always needed.
3933Solution: Recognize continuation lines automatically in list and dict.
3934Files: runtime/doc/vim9.txt, src/vim9compile.c,
3935 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim
3936
3937Patch 8.2.0556
3938Problem: Vim9: memory leak when finding common type.
3939Solution: Store allocated memory in type growarray.
3940Files: src/vim9compile.c
3941
3942Patch 8.2.0557
3943Problem: No IPv6 support for channels.
3944Solution: Add IPv6 support. (Ozaki Kiichi, closes #5893)
3945Files: .travis.yml, runtime/doc/channel.txt, runtime/doc/various.txt,
3946 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/auto/configure,
3947 src/channel.c, src/config.h.in, src/configure.ac, src/evalfunc.c,
3948 src/proto/channel.pro, src/testdir/check.vim,
3949 src/testdir/runtest.vim, src/testdir/test_cdo.vim,
3950 src/testdir/test_channel.py, src/testdir/test_channel.vim,
3951 src/testdir/test_channel_6.py, src/testdir/test_escaped_glob.vim,
3952 src/testdir/test_getcwd.vim, src/testdir/test_hide.vim
3953
3954Patch 8.2.0558
3955Problem: Vim9: dict code not covered by tests.
3956Solution: Remove dead code, adjust test case.
3957Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
3958
3959Patch 8.2.0559
3960Problem: Clearing a struct is verbose.
3961Solution: Define and use CLEAR_FIELD() and CLEAR_POINTER().
3962Files: src/vim.h, src/blowfish.c, src/channel.c, src/charset.c,
3963 src/clipboard.c, src/diff.c, src/eval.c, src/evalfunc.c,
3964 src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c, src/findfile.c,
3965 src/gui_gtk_f.c, src/gui_mac.c, src/gui_motif.c, src/gui_w32.c,
3966 src/gui_x11.c, src/hardcopy.c, src/hashtab.c, src/highlight.c,
3967 src/if_mzsch.c, src/insexpand.c, src/kword_test.c, src/list.c,
3968 src/main.c, src/map.c, src/memfile.c, src/message_test.c,
3969 src/misc1.c, src/netbeans.c, src/normal.c, src/ops.c,
3970 src/option.c, src/os_mswin.c, src/os_win32.c, src/popupmenu.c,
3971 src/quickfix.c, src/regexp.c, src/regexp_bt.c, src/regexp_nfa.c,
3972 src/search.c, src/sign.c, src/spell.c, src/spellfile.c,
3973 src/spellsuggest.c, src/syntax.c, src/tag.c, src/terminal.c,
3974 src/time.c, src/undo.c, src/userfunc.c, src/vim9compile.c,
3975 src/vim9execute.c, src/if_py_both.h
3976
3977Patch 8.2.0560
3978Problem: Compiler warning in tiny build.
3979Solution: Move declaration inside #ifdef. (Dominique Pellé, closes #5915)
3980Files: src/ex_docmd.c
3981
3982Patch 8.2.0561
3983Problem: Vim9: cannot split function call in multiple lines.
3984Solution: Find more arguments in following lines.
3985Files: runtime/doc/vim9.txt, src/vim9compile.c,
3986 src/testdir/test_vim9_script.vim
3987
3988Patch 8.2.0562
3989Problem: Vim9: cannot split an expression into multiple lines.
3990Solution: Continue in next line after an operator.
3991Files: runtime/doc/vim9.txt, src/macros.h, src/vim9compile.c,
3992 src/testdir/test_vim9_expr.vim
3993
3994Patch 8.2.0563
3995Problem: Vim9: cannot split a function line.
3996Solution: Continue in next line so long as the function isn't done.
3997Files: runtime/doc/vim9.txt, src/userfunc.c, src/proto/userfunc.pro,
3998 src/vim9compile.c, src/testdir/test_vim9_func.vim
3999
4000Patch 8.2.0564
4001Problem: Vim9: calling a def function from non-vim9 may fail.
4002Solution: Convert varargs to a list.
4003Files: src/testdir/test_vim9_func.vim, src/vim9execute.c
4004
4005Patch 8.2.0565
4006Problem: Vim9: tests contain superfluous line continuation.
4007Solution: Remove line continuation no longer needed. Skip empty lines.
4008Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
4009 src/testdir/test_vim9_disassemble.vim
4010
4011Patch 8.2.0566
4012Problem: Vim9: variable can be used uninitialized.
4013Solution: Jump to after where variable is used.
4014Files: src/vim9execute.c
4015
4016Patch 8.2.0567
4017Problem: Vim9: cannot put comments halfway expressions.
4018Solution: Support # comments in many places.
4019Files: runtime/doc/vim9.txt, src/vim9compile.c, src/userfunc.c,
4020 src/ex_docmd.c, src/testdir/test_vim9_func.vim,
4021 src/testdir/test_vim9_script.vim
4022
4023Patch 8.2.0568
4024Problem: The man filetype plugin overwrites the unnamed register.
4025Solution: Use the black hole register. (Jason Franklin)
4026Files: runtime/ftplugin/man.vim, src/testdir/test_man.vim
4027
4028Patch 8.2.0569
4029Problem: Build failure with tiny version.
4030Solution: Add #ifdef.
4031Files: src/ex_docmd.c
4032
4033Patch 8.2.0570
4034Problem: Vim9: no error when omitting type from argument.
4035Solution: Enforce specifying argument types.
4036Files: src/userfunc.c, src/ex_eval.c, src/testdir/test_vim9_script.vim,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00004037 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_expr.vim,
Bram Moolenaarc51cf032022-02-26 12:25:45 +00004038 src/testdir/test_vim9_disassemble.vim
4039
4040Patch 8.2.0571
4041Problem: Double free when passing invalid argument to job_start().
4042Solution: Clear the argument when freed. (Masato Nishihata, closes #5926)
4043Files: src/misc2.c, src/testdir/test_channel.vim
4044
4045Patch 8.2.0572 (after 8.2.0571)
4046Problem: Using two lines for free and reset.
4047Solution: Use VIM_CLEAR() instead. (Yegappan Lakshmanan)
4048Files: src/misc2.c
4049
4050Patch 8.2.0573
4051Problem: using :version twice leaks memory
4052Solution: Only initialize variables once. (Dominique Pellé, closes #5917)
4053Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim,
4054 src/testdir/test_version.vim, src/version.c, src/globals.h
4055
4056Patch 8.2.0574
4057Problem: Ipv6 feature not shown in :version output.
4058Solution: Add ipv6 in :version output. (Ozaki Kiichi, closes #5924)
4059Files: runtime/doc/eval.txt, src/version.c
4060
4061Patch 8.2.0575
4062Problem: :digraph! not tested.
4063Solution: Add a test. (Dominique Pellé, closes #5925)
4064Files: src/testdir/test_digraph.vim
4065
4066Patch 8.2.0576
4067Problem: Some errors are not covered by tests.
4068Solution: Add a few more tests. (Dominique Pellé, closes #5920)
4069Files: src/testdir/test_buffer.vim, src/testdir/test_digraph.vim,
4070 src/testdir/test_expr.vim, src/testdir/test_messages.vim
4071
4072Patch 8.2.0577
4073Problem: Not all modifiers supported for :options.
4074Solution: Use all cmdmod.split flags. (closes #4401)
4075Files: src/usercmd.c, src/proto/usercmd.pro, src/scriptfile.c,
4076 src/testdir/test_options.vim, src/testdir/test_usercommands.vim
4077
4078Patch 8.2.0578
4079Problem: Heredoc for interfaces does not support "trim".
4080Solution: Update the script heredoc support to be same as the :let command.
4081 (Yegappan Lakshmanan, closes #5916)
4082Files: runtime/doc/if_lua.txt, runtime/doc/if_mzsch.txt,
4083 runtime/doc/if_perl.txt, runtime/doc/if_pyth.txt,
4084 runtime/doc/if_ruby.txt, runtime/doc/if_tcl.txt, src/evalvars.c,
4085 src/ex_getln.c, src/proto/evalvars.pro, src/testdir/test86.in,
4086 src/testdir/test87.in, src/testdir/test_lua.vim,
4087 src/testdir/test_perl.vim, src/testdir/test_python2.vim,
4088 src/testdir/test_python3.vim, src/testdir/test_pyx2.vim,
4089 src/testdir/test_pyx3.vim, src/testdir/test_ruby.vim,
4090 src/testdir/test_tcl.vim, src/userfunc.c, src/vim9compile.c
4091
4092Patch 8.2.0579
4093Problem: Coverity warns for unused value.
4094Solution: Change order and use "else if".
4095Files: src/os_unix.c
4096
4097Patch 8.2.0580
4098Problem: Window size wrong if 'ea' is off and 'splitright' is on and
4099 splitting then closing a window.
4100Solution: Put abandoned window space in the right place. (Mark Waggoner)
4101Files: src/testdir/test_winbuf_close.vim, src/window.c
4102
4103Patch 8.2.0581 (after 8.2.0547)
4104Problem: Win32 console: the cursor position is always top-left.
4105Solution: Revert the patch for restoring screen.
4106Files: src/os_win32.c
4107
4108Patch 8.2.0582
4109Problem: Color ramp test does not show text colors.
4110Solution: Add a row of 16 text colors and 16 bold text colors.
4111Files: src/testdir/color_ramp.vim
4112
4113Patch 8.2.0583
4114Problem: Vim9: # comment not recognized in :def function.
4115Solution: Recognize and skip # comment.
4116Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
4117
4118Patch 8.2.0584
4119Problem: Viminfo file uses obsolete function file_readable().
4120Solution: Use filereadable(). (closes #5934)
4121Files: src/session.c
4122
4123Patch 8.2.0585
4124Problem: Vim9: # comment not recognized after :vim9script.
4125Solution: Check script type. Make comment after ":echo" work. And in
4126 several other places.
4127Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/eval.c,
4128 src/vim9compile.c, src/testdir/test_vim9_script.vim
4129
4130Patch 8.2.0586
4131Problem: Vim9: # comment not sufficiently tested
4132Solution: Check for preceding white space.
4133Files: src/eval.c, src/testdir/test_vim9_script.vim
4134
4135Patch 8.2.0587
4136Problem: Compiler warning for unused variable.
4137Solution: Add UNUSED.
4138Files: src/ex_docmd.c
4139
4140Patch 8.2.0588
4141Problem: Putty does not use "sgr" 'ttymouse' by default.
4142Solution: Make "sgr" the default for Putty. (Christian Brabandt,
4143 closes #5942)
4144Files: src/term.c
4145
4146Patch 8.2.0589
4147Problem: .bsd file type not recognized.
4148Solution: Recognize .bsd as BSDL. (Daniel Kho, closes #5945)
4149Files: runtime/filetype.vim, src/testdir/test_filetype.vim
4150
4151Patch 8.2.0590
4152Problem: No 'backspace' value allows ignoring the insertion point.
4153Solution: Add the "nostop" and 3 values. (Christian Brabandt, closes #5940)
4154Files: runtime/doc/options.txt, src/edit.c, src/option.c, src/option.h,
4155 src/optionstr.c, src/testdir/gen_opt_test.vim,
4156 src/testdir/test_backspace_opt.vim
4157
4158Patch 8.2.0591
4159Problem: MS-Windows: should always support IPv6
4160Solution: Add build flag. (Ozaki Kiichi, closes #5944)
4161Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
4162
4163Patch 8.2.0592
4164Problem: MS-Windows with VTP: cursor is not made invisible.
4165Solution: Output the code to make the cursor visible or invisible. (Nobuhiro
4166 Takasaki, closes #5941)
4167Files: src/os_win32.c
4168
4169Patch 8.2.0593
4170Problem: Finding a user command is not optimal.
4171Solution: Start further down in the list of commands.
4172Files: src/ex_cmds.h, src/ex_docmd.c
4173
4174Patch 8.2.0594
4175Problem: MS-Windows: cannot build with WINVER set to 0x0501.
4176Solution: Only use inet_ntop() when available. (Ozaki Kiichi, closes #5946)
4177Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/auto/configure,
4178 src/channel.c, src/config.h.in, src/configure.ac
4179
4180Patch 8.2.0595
4181Problem: Vim9: not all commands using ends_excmd() tested.
4182Solution: Find # comment after regular commands. Add more tests. Report
4183 error for where it was caused.
4184Files: src/ex_docmd.c, src/vim9compile.c, src/vim9execute.c, src/usercmd.c,
4185 src/evalfunc.c, src/userfunc.c, src/proto/userfunc.pro,
4186 src/testdir/test_vim9_script.vim,
4187 src/testdir/test_vim9_disassemble.vim
4188
4189Patch 8.2.0596
4190Problem: Crash in test49.
4191Solution: Check the right pointer.
4192Files: src/userfunc.c, src/testdir/test_eval.ok
4193
4194Patch 8.2.0597
4195Problem: Test_eval is old style.
4196Solution: Change some tests to a new style test.
4197Files: src/testdir/test_eval.in, src/testdir/test_eval.ok,
4198 src/testdir/test_eval_stuff.vim
4199
4200Patch 8.2.0598
4201Problem: Test_eval_stuff fails in normal terminal.
4202Solution: Close the new window.
4203Files: src/testdir/test_eval_stuff.vim
4204
4205Patch 8.2.0599
4206Problem: Netbeans interface insufficiently tested.
4207Solution: Add more tests. (Yegappan Lakshmanan, closes #5921)
4208Files: runtime/doc/netbeans.txt, src/netbeans.c, src/os_win32.c,
4209 src/testdir/runtest.vim, src/testdir/test_netbeans.py,
4210 src/testdir/test_netbeans.vim
4211
4212Patch 8.2.0600
4213Problem: Vim9: cannot read or write w:, t: and b: variables.
4214Solution: Implement load and store for w:, t: and b: variables.
Bram Moolenaar47c532e2022-03-19 15:18:53 +00004215 (closes #5950)
Bram Moolenaarc51cf032022-02-26 12:25:45 +00004216Files: src/testdir/test_vim9_disassemble.vim,
4217 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim,
4218 src/vim9.h, src/vim9compile.c, src/vim9execute.c
4219
4220Patch 8.2.0601
4221Problem: Vim9: :unlet is not compiled.
4222Solution: Implement :unlet instruction and check for errors.
4223Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9.h,
4224 src/vim9execute.c, src/evalvars.c, src/proto/evalvars.pro,
4225 src/eval.c, src/testdir/test_vim9_script.vim,
4226 src/testdir/test_vim9_disassemble.vim
4227
4228Patch 8.2.0602
4229Problem: :unlet $VAR does not work properly.
4230Solution: Make ":lockvar $VAR" fail. Check the "skip" flag.
4231Files: src/evalvars.c, src/globals.h, src/testdir/test_vimscript.vim
4232
4233Patch 8.2.0603
4234Problem: Configure does not detect moonjit.
4235Solution: Add check for moonjit. (Shlomi Fish, closes #5947)
4236Files: src/configure.ac, src/auto/configure
4237
4238Patch 8.2.0604
4239Problem: :startinsert in a terminal window used later.
4240Solution: Ignore :startinsert in a terminal window. (closes #5952)
4241Files: src/ex_docmd.c, src/testdir/test_terminal.vim
4242
4243Patch 8.2.0605
4244Problem: Vim9: cannot unlet an environment variable.
4245Solution: Implement unlet for $VAR.
4246Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
4247 src/testdir/test_vim9_script.vim,
4248 src/testdir/test_vim9_disassemble.vim
4249
4250Patch 8.2.0606
4251Problem: Several syntax HL errors not checked.
4252Solution: Add tests. (Yegappan Lakshmanan, closes #5954)
4253Files: src/testdir/test_syntax.vim
4254
4255Patch 8.2.0607
4256Problem: Gcc warns for using uninitialized variable. (John Marriott)
4257Solution: Set name_end also for environment variables.
4258Files: src/evalvars.c
4259
4260Patch 8.2.0608
4261Problem: Warning from clang when building message test.
4262Solution: Use a void pointer. (Dominique Pellé, closes #5958)
4263Files: src/message_test.c
4264
4265Patch 8.2.0609
4266Problem: Configure does not detect moonjit correctly.
4267Solution: Double the brackets. (Ozaki Kiichi)
4268Files: src/configure.ac, src/auto/configure
4269
4270Patch 8.2.0610
4271Problem: Some tests are still old style.
4272Solution: Convert to new style tests. (Yegappan Lakshmanan, closes #5957)
4273Files: src/testdir/test_blob.vim, src/testdir/test_cursor_func.vim,
4274 src/testdir/test_eval.in, src/testdir/test_eval.ok,
4275 src/testdir/test_eval_func.vim, src/testdir/test_eval_stuff.vim,
4276 src/testdir/test_expr.vim, src/testdir/test_filter_map.vim,
4277 src/testdir/test_functions.vim, src/testdir/test_listdict.vim,
4278 src/testdir/test_sort.vim, src/testdir/test_syntax.vim,
4279 src/testdir/test_utf8.vim, src/testdir/test_vimscript.vim
4280
4281Patch 8.2.0611
4282Problem: Vim9: no check for space before #comment.
4283Solution: Add space checks.
4284Files: src/eval.c, src/evalvars.c, src/ex_docmd.c,
4285 src/testdir/test_vim9_script.vim
4286
4287Patch 8.2.0612
4288Problem: Vim9: no check for space before #comment.
4289Solution: Add space checks.
4290Files: src/ex_eval.c, src/ex_cmds.c, src/regexp.c, src/proto/regexp.pro,
4291 src/gui.c, src/highlight.c, src/testdir/test_vim9_script.vim,
4292 src/testdir/test_sort.vim
4293
4294Patch 8.2.0613
4295Problem: Vim9: no check for space before #comment.
4296Solution: Add space checks.
4297Files: src/highlight.c, src/menu.c, src/syntax.c,
4298 src/testdir/test_vim9_script.vim,
4299 runtime/lang/menu_de_de.latin1.vim
4300
4301Patch 8.2.0614
4302Problem: Get ml_get error when deleting a line in 'completefunc'. (Yegappan
4303 Lakshmanan)
4304Solution: Lock the text while evaluating 'completefunc'.
4305Files: src/insexpand.c, src/globals.h, src/edit.c, src/ex_getln.c,
4306 src/undo.c, src/testdir/test_edit.vim, src/testdir/test_excmd.vim,
4307 src/testdir/test_gf.vim, src/testdir/test_popup.vim,
4308 src/testdir/test_ex_mode.vim, runtime/doc/insert.txt
4309
4310Patch 8.2.0615
4311Problem: Regexp benchmark test is old style.
4312Solution: Make it a new style test. Fix using a NULL list. Add more tests.
4313 (Yegappan Lakshmanan, closes #5963)
4314Files: src/evalbuffer.c, src/testdir/Make_dos.mak,
4315 src/testdir/Make_ming.mak, src/testdir/Makefile,
4316 src/testdir/bench_re_freeze.in, src/testdir/bench_re_freeze.vim,
4317 src/testdir/test_autocmd.vim, src/testdir/test_bench_regexp.vim,
4318 src/testdir/test_blob.vim, src/testdir/test_bufline.vim,
4319 src/testdir/test_channel.vim, src/testdir/test_cmdline.vim,
4320 src/testdir/test_functions.vim, src/testdir/test_ins_complete.vim,
4321 src/testdir/test_popupwin.vim, src/testdir/test_prompt_buffer.vim,
4322 src/testdir/test_tagjump.vim, src/testdir/test_window_cmd.vim
4323
4324Patch 8.2.0616
4325Problem: Build error when disabling the diff feature.
4326Solution: Move parenthesis outside of #ifdef. (Tom Ryder)
4327Files: src/drawline.c
4328
4329Patch 8.2.0617
4330Problem: New error check triggers in Swedish menu.
4331Solution: Insert backslash. (Mats Tegner, closes #5966)
4332Files: runtime/lang/menu_sv_se.latin1.vim
4333
4334Patch 8.2.0618
4335Problem: Echoing a null list results in no output. (Yegappan Lakshmanan)
Bram Moolenaar47c532e2022-03-19 15:18:53 +00004336Solution: Return "[]" instead of NULL in echo_string_core().
Bram Moolenaarc51cf032022-02-26 12:25:45 +00004337Files: src/eval.c, src/testdir/test_messages.vim
4338
4339Patch 8.2.0619
4340Problem: Null dict is not handled like an empty dict.
4341Solution: Fix the code and add tests. (Yegappan Lakshmanan, closes #5968)
4342Files: src/dict.c, src/eval.c, src/testdir/test_blob.vim,
4343 src/testdir/test_expr.vim, src/testdir/test_filter_map.vim,
4344 src/testdir/test_let.vim, src/testdir/test_listdict.vim,
4345 src/testdir/test_search.vim, src/testdir/test_unlet.vim,
4346 src/testdir/test_usercommands.vim, src/testdir/test_vimscript.vim
4347
4348Patch 8.2.0620
4349Problem: Error in menu translations.
4350Solution: Insert a backslash before a space.
4351Files: runtime/lang/menu_it_it.latin1.vim,
4352 runtime/lang/menu_chinese_gb.936.vim
4353
4354Patch 8.2.0621
4355Problem: After running tests asan files may remain.
4356Solution: Clean up asan files with "make testclean".
4357Files: src/testdir/Makefile, src/Makefile
4358
4359Patch 8.2.0622
4360Problem: Haiku: GUI does not compile.
4361Solution: Various fixes. (Emir Sarı, closes #5961)
4362Files: Filelist, README.md, READMEdir/README_haiku.txt,
4363 runtime/doc/os_haiku.txt, src/Makefile, src/beval.h,
4364 src/gui_haiku.cc, src/proto/gui_haiku.pro
4365
4366Patch 8.2.0623
4367Problem: Typo in test comment. (Christ van Willegen)
4368Solution: Avoid mixing up a data structure with a body part.
4369Files: src/testdir/test_listdict.vim
4370
4371Patch 8.2.0624
4372Problem: Vim9: no check for space before #comment.
4373Solution: Add space checks. Fix :throw with double quoted string.
4374Files: src/usercmd.c, src/userfunc.c, src/vim9compile.c,
4375 src/testdir/test_vim9_script.vim
4376
4377Patch 8.2.0625
4378Problem: Vim9: confusing error when calling unknown function.
4379Solution: Give error while compiling.
4380Files: src/vim9compile.c, src/vim9execute.c,
4381 src/testdir/test_vim9_func.vim
4382
4383Patch 8.2.0626
4384Problem: Vim9: wrong syntax of function in Vim9 script.
4385Solution: Give error for missing space. Implement :echomsg and :echoerr.
4386 (closes #5670)
4387Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/userfunc.c,
4388 src/eval.c, src/globals.h, src/testdir/test_vim9_func.vim,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00004389 src/testdir/test_vim9_disassemble.vim,
Bram Moolenaarc51cf032022-02-26 12:25:45 +00004390 src/testdir/test_vim9_script.vim
4391
4392Patch 8.2.0627
4393Problem: Vim9: error message does not work. (Yegappan Lakshmanan)
4394Solution: Swap lines.
4395Files: src/userfunc.c
4396
4397Patch 8.2.0628
4398Problem: Error in menu translations.
4399Solution: Insert a backslash before a space in one more file. (Shun Bai,
4400 Emir Sarı)
4401Files: runtime/lang/menu_zh_cn.utf-8.vim,
4402 runtime/lang/menu_ca_es.latin1.vim,
4403 runtime/lang/menu_cs_cz.iso_8859-2.vim,
4404 runtime/lang/menu_cs_cz.utf-8.vim,
4405 runtime/lang/menu_czech_czech_republic.1250.vim,
4406 runtime/lang/menu_czech_czech_republic.ascii.vim,
4407 runtime/lang/menu_da.utf-8.vim,
4408 runtime/lang/menu_fi_fi.latin1.vim,
4409 runtime/lang/menu_hu_hu.iso_8859-2.vim,
4410 runtime/lang/menu_hu_hu.utf-8.vim,
4411 runtime/lang/menu_is_is.latin1.vim,
4412 runtime/lang/menu_no_no.latin1.vim, runtime/lang/menu_pt_br.vim,
4413 runtime/lang/menu_pt_pt.vim,
4414 runtime/lang/menu_sk_sk.iso_8859-2.vim,
4415 runtime/lang/menu_sl_si.latin2.vim,
4416 runtime/lang/menu_slovak_slovak_republic.1250.vim,
4417 runtime/lang/menu_tr_tr.cp1254.vim,
4418 runtime/lang/menu_tr_tr.iso_8859-9.vim,
4419 runtime/lang/menu_tr_tr.utf-8.vim, runtime/lang/menu_vi_vn.vim
4420
4421Patch 8.2.0629
4422Problem: Setting a boolean option to v:false does not work.
4423Solution: Do not use the string representation of the value. (Christian
4424 Brabandt, closes #5974)
4425Files: src/evalvars.c, src/testdir/test_options.vim
4426
4427Patch 8.2.0630
4428Problem: "make tags" does not cover Haiku GUI file.
4429Solution: Add *.cc files.
4430Files: src/Make_all.mak
4431
4432Patch 8.2.0631
4433Problem: Haiku file formatted with wrong tabstop.
4434Solution: Use normal tabstop. Fix white space.
4435Files: src/gui_haiku.cc
4436
4437Patch 8.2.0632
4438Problem: Crash when using Haiku.
4439Solution: Lock the screen. (closes #5975, closes #5973)
4440Files: src/screen.c
4441
4442Patch 8.2.0633
4443Problem: Crash when using null partial in filter().
4444Solution: Fix crash. Add more tests. (Yegappan Lakshmanan, closes #5976)
4445Files: src/eval.c, src/testdir/test_blob.vim,
4446 src/testdir/test_channel.vim, src/testdir/test_eval_stuff.vim,
4447 src/testdir/test_execute_func.vim, src/testdir/test_expr.vim,
4448 src/testdir/test_filter_map.vim, src/testdir/test_fold.vim,
4449 src/testdir/test_functions.vim, src/testdir/test_let.vim,
4450 src/testdir/test_listdict.vim, src/testdir/test_partial.vim,
4451 src/testdir/test_usercommands.vim
4452
4453Patch 8.2.0634
4454Problem: Crash with null partial and blob.
4455Solution: Check for NULL pointer. Add more tests. (Yegappan Lakshmanan,
4456 closes #5984)
4457Files: src/eval.c, src/list.c, src/testdir/test_blob.vim,
4458 src/testdir/test_bufwintabinfo.vim, src/testdir/test_cd.vim,
4459 src/testdir/test_channel.vim, src/testdir/test_cursor_func.vim,
4460 src/testdir/test_eval_stuff.vim, src/testdir/test_expr.vim,
4461 src/testdir/test_filter_map.vim, src/testdir/test_fnamemodify.vim,
4462 src/testdir/test_functions.vim, src/testdir/test_getvar.vim,
4463 src/testdir/test_listdict.vim, src/testdir/test_messages.vim,
4464 src/testdir/test_partial.vim, src/testdir/test_quickfix.vim,
4465 src/testdir/test_tabpage.vim, src/testdir/test_vimscript.vim,
4466 src/testdir/test_window_cmd.vim, src/testdir/test_window_id.vim,
4467 src/testdir/test_writefile.vim
4468
4469Patch 8.2.0635
4470Problem: When using 256 colors DarkYellow does not show expected color.
4471Solution: Use color 3 instead of 130. (Romain Lafourcade, closes #5985)
4472Files: src/highlight.c
4473
4474Patch 8.2.0636
4475Problem: :messages does not show the maintainer when $LANG is unset.
4476Solution: Call get_mess_lang() if available. (closes #5978)
4477Files: src/message.c
4478
4479Patch 8.2.0637
4480Problem: Incsearch highlighting does not work for ":sort!".
4481Solution: Skip over the exclamation point. (closes #5983)
4482Files: src/ex_getln.c, src/testdir/test_search.vim,
4483 src/testdir/dumps/Test_incsearch_sort_02.dump
4484
4485Patch 8.2.0638
4486Problem: MS-Windows: messages test fails.
4487Solution: Clear environment variables.
4488Files: src/testdir/test_messages.vim
4489
4490Patch 8.2.0639
4491Problem: MS-Windows: messages test still fails.
4492Solution: Filter out the maintainer message.
4493Files: src/testdir/test_messages.vim
4494
4495Patch 8.2.0640
4496Problem: Vim9: expanding `=expr` does not work.
4497Solution: Find wildcards in not compiled commands. Reorganize test files.
4498Files: Filelist, src/vim9.h, src/vim9compile.c, src/vim9execute.c,
4499 src/testdir/vim9.vim, src/testdir/test_vim9_cmd.vim,
4500 src/testdir/test_vim9_disassemble.vim,
4501 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim,
4502 src/testdir/Make_all.mak
4503
4504Patch 8.2.0641
4505Problem: Vim9: `=expr` not expanded in :hardcopy and "syntax include".
4506Solution: Add the EX_EXPAND flag. Expend "syntax include".
4507Files: src/ex_cmds.h, src/vim9compile.c, src/vim9execute.c,
4508 src/testdir/test_vim9_cmd.vim
4509
4510Patch 8.2.0642
4511Problem: Vim9: using invalid index.
4512Solution: Check index for being valid. Fix memory leak.
4513Files: src/vim9compile.c, src/clientserver.c
4514
4515Patch 8.2.0643 (after 8.2.0635)
4516Problem: Terminal uses brown instead of dark yellow. (Romain Lafourcade)
4517Solution: Use color index 3 instead of 130. (closes #5993)
4518Files: src/terminal.c
4519
4520Patch 8.2.0644
4521Problem: Insufficient testing for invalid function arguments.
4522Solution: Add more tests. (Yegappan Lakshmanan, closes #5988)
4523Files: runtime/doc/eval.txt, src/testdir/test_bufline.vim,
4524 src/testdir/test_channel.vim, src/testdir/test_clientserver.vim,
4525 src/testdir/test_expr.vim, src/testdir/test_functions.vim,
4526 src/testdir/test_listener.vim, src/testdir/test_match.vim,
4527 src/testdir/test_menu.vim, src/testdir/test_quickfix.vim,
4528 src/testdir/test_registers.vim, src/testdir/test_reltime.vim,
4529 src/testdir/test_terminal.vim, src/testdir/test_textprop.vim,
4530 src/testdir/test_window_cmd.vim, src/testdir/test_window_id.vim,
4531 src/testdir/test_writefile.vim
4532
4533Patch 8.2.0645
4534Problem: MS-Windows terminal: CTRL-C does not get to child job.
4535Solution: Remove CREATE_NEW_PROCESS_GROUP from CreateProcessW(). (Nobuhiro
4536 Takasaki, closes #5987)
4537Files: src/terminal.c
4538
4539Patch 8.2.0646
4540Problem: t_Co uses the value of $COLORS in the GUI. (Masato Nishihata)
4541Solution: Ignore $COLORS for the GUI. (closes #5992)
4542Files: src/os_unix.c, src/term.c
4543
4544Patch 8.2.0647
4545Problem: MS-Windows: repeat count for events was not used.
4546Solution: Check the repeat count. (Nobuhiro Takasaki, closes #5989)
4547Files: src/os_win32.c
4548
4549Patch 8.2.0648
4550Problem: Semicolon search does not work in first line.
4551Solution: Allow the cursor to be in line zero. (Christian Brabandt,
4552 closes #5996)
4553Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
4554
4555Patch 8.2.0649
4556Problem: Undo problem when an InsertLeave autocommand resets undo. (Kutsan
4557 Kaplan)
4558Solution: Do not create a new undo block when leaving Insert mode.
4559Files: src/edit.c, src/testdir/test_edit.vim
4560
4561Patch 8.2.0650
4562Problem: Vim9: script function can be deleted.
4563Solution: Disallow deleting script function. Delete functions when sourcing
4564 a script again.
4565Files: src/userfunc.c, src/proto/userfunc.pro, src/evalfunc.c,
4566 src/vim9compile.c, src/vim9execute.c, src/vim9script.c,
4567 src/scriptfile.c, src/testing.c, src/testdir/test_vim9_expr.vim,
4568 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
4569
4570Patch 8.2.0651
4571Problem: Old style benchmark test still in list of distributed files.
4572Solution: Remove the files from the list.
4573Files: Filelist
4574
4575Patch 8.2.0652 (after 8.2.0650)
4576Problem: Compiler warning for char conversion.
4577Solution: Use unsigned char buffer.
4578Files: src/userfunc.c
4579
4580Patch 8.2.0653 (after 8.2.0650)
4581Problem: using uninitialized pointer.
4582Solution: Move assignment up. (John Marriott)
4583Files: src/userfunc.c, src/testdir/test_vim9_script.vim
4584
4585Patch 8.2.0654
4586Problem: Building with Python fails.
4587Solution: Add missing argument.
4588Files: src/if_py_both.h
4589
4590Patch 8.2.0655
4591Problem: Search code not sufficiently tested.
4592Solution: Add more tests. (Yegappan Lakshmanan, closes #5999)
4593Files: src/testdir/test_charsearch.vim, src/testdir/test_gn.vim,
4594 src/testdir/test_goto.vim, src/testdir/test_ins_complete.vim,
4595 src/testdir/test_normal.vim, src/testdir/test_search.vim,
4596 src/testdir/test_textformat.vim, src/testdir/test_textobjects.vim,
4597 src/testdir/test_visual.vim
4598
4599Patch 8.2.0656
4600Problem: MS-Windows: redrawing right screen edge may not be needed.
4601Solution: Check the build version. (Nobuhiro Takasaki, closes #6002)
4602Files: src/drawscreen.c, src/os_win32.c, src/proto/os_win32.pro
4603
4604Patch 8.2.0657
4605Problem: Vim9: no check if called variable is a FuncRef.
4606Solution: Add a type check.
4607Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
4608 src/testdir/test_vim9_expr.vim
4609
4610Patch 8.2.0658 (after 8.2.0646)
4611Problem: HP-UX build fails when setenv() is not defined.
4612Solution: Change "colors" to "t_colors". (John Marriott)
4613Files: src/os_unix.c
4614
4615Patch 8.2.0659
4616Problem: Vim9: no test for equal func type.
4617Solution: Add a test. Improve type check.
4618Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
4619
4620Patch 8.2.0660
4621Problem: The search.c file is a bit big.
4622Solution: Split off the text object code to a separate file. (Yegappan
4623 Lakshmanan, closes #6007)
4624Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
4625 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
4626 src/proto.h, src/proto/search.pro, src/proto/textobject.pro,
4627 src/search.c, src/textobject.c
4628
4629Patch 8.2.0661
4630Problem: Eval test is still old style.
4631Solution: Change into new style tests. (Yegappan Lakshmanan, closes #6009)
4632Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
4633 src/testdir/test_eval.in, src/testdir/test_eval.ok,
4634 src/testdir/test_eval_stuff.vim
4635
4636Patch 8.2.0662
4637Problem: Cannot use input() in a channel callback.
4638Solution: Reset vgetc_busy. (closes #6010)
4639Files: src/globals.h, src/ex_getln.c, src/evalfunc.c,
4640 src/testdir/test_channel.vim
4641
4642Patch 8.2.0663
4643Problem: Not all systemd temp files are recognized.
4644Solution: Add two more patterns. (Jamie Macdonald, closes #6003)
4645Files: runtime/filetype.vim, src/testdir/test_filetype.vim
4646
4647Patch 8.2.0664
4648Problem: Included undesired changes in Makefile.
4649Solution: Revert the changes.
4650Files: src/Makefile
4651
4652Patch 8.2.0665
4653Problem: Wrongly assuming Python executable is called "python".
4654Solution: Use detected python command. (Ken Takata, closes #6016)
4655 Also use CheckFunction if possible.
4656Files: src/testdir/test_terminal.vim, src/testdir/check.vim
4657
4658Patch 8.2.0666
4659Problem: Ruby test fails on MS-Windows.
4660Solution: Remove the "maintainer" line. (Ken Takata, closes #6015)
4661Files: src/testdir/shared.vim, src/testdir/test_messages.vim,
4662 src/testdir/test_ruby.vim
4663
4664Patch 8.2.0667
4665Problem: Cannot install Haiku version from source.
4666Solution: Update Makefile and rdef file. (Emir Sarı, closes #6013)
4667Files: Filelist, READMEdir/README_haiku.txt, runtime/doc/os_haiku.txt,
4668 src/Makefile, src/os_haiku.rdef.in, src/os_haiku.rdef
4669
4670Patch 8.2.0668
4671Problem: Compiler warning for int/size_t usage.
4672Solution: Change "int" to "size_t". (Mike Williams)
4673Files: src/vim9execute.c
4674
4675Patch 8.2.0669
4676Problem: MS-Windows: display in VTP is a bit slow.
4677Solution: Optimize the code. (Nobuhiro Takasaki, closes #6014)
4678Files: src/os_win32.c, src/screen.c
4679
4680Patch 8.2.0670
4681Problem: Cannot change window when evaluating 'completefunc'.
4682Solution: Make a difference between not changing text or buffers and also
4683 not changing window.
4684Files: src/ex_getln.c, src/beval.c, src/change.c, src/edit.c, src/eval.c,
4685 src/ex_docmd.c, src/insexpand.c, src/globals.h, src/indent.c,
4686 src/map.c, src/window.c, src/proto/ex_getln.pro, src/register.c,
4687 src/undo.c, src/testdir/test_edit.vim,
4688 src/testdir/test_ins_complete.vim, src/testdir/test_popup.vim
4689
4690Patch 8.2.0671
4691Problem: Haiku: compiler warnings.
4692Solution: Avoid the warnings. Drop display_errors() copy. (Emir Sarı,
4693 closes #6018)
4694Files: .gitignore, src/gui.c, src/gui_haiku.cc
4695
4696Patch 8.2.0672
4697Problem: Heredoc in scripts does not accept lower case marker.
4698Solution: Allow lower case only in non-Vim scripts. (Ken Takata,
4699 closes #6019)
4700Files: src/evalvars.c, src/testdir/test_lua.vim,
4701 src/testdir/test_perl.vim, src/testdir/test_python2.vim,
4702 src/testdir/test_python3.vim, src/testdir/test_pyx2.vim,
4703 src/testdir/test_pyx3.vim, src/testdir/test_ruby.vim
4704
4705Patch 8.2.0673
4706Problem: Cannot build Haiku in shadow directory.
4707Solution: Add symlink. (Ozaki Kiichi, closes #6023)
4708Files: src/Makefile
4709
4710Patch 8.2.0674
4711Problem: Some source files are too big.
4712Solution: Move text formatting functions to a new file. (Yegappan
4713 Lakshmanan, closes #6021)
4714Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
4715 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
4716 src/edit.c, src/getchar.c, src/ops.c, src/option.c, src/proto.h,
4717 src/proto/edit.pro, src/proto/getchar.pro, src/proto/ops.pro,
4718 src/proto/option.pro, src/proto/textformat.pro, src/textformat.c
4719
4720Patch 8.2.0675
4721Problem: Vim9: no support for closures.
4722Solution: Do not re-use stack entries.
4723Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
4724 src/evalvars.c, src/proto/evalvars.pro
4725
4726Patch 8.2.0676
4727Problem: Pattern in list of distributed files does not match.
4728Solution: Drop "testdir/test_[a-z]*.ok". Add CI sed files.
4729Files: Filelist
4730
4731Patch 8.2.0677
4732Problem: Vim9: no support for closures.
4733Solution: Find variables in the outer function scope, so long as the scope
4734 exists.
4735Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
4736 src/vim9execute.c, src/structs.h, src/vim9.h,
4737 src/testdir/test_vim9_func.vim
4738
4739Patch 8.2.0678
4740Problem: Rare crash for popup menu.
4741Solution: Check for NULL pointer. (Nobuhiro Takasaki, closes #6027)
4742Files: src/popupmenu.c
4743
4744Patch 8.2.0679
4745Problem: Vim9: incomplete support for closures.
4746Solution: At the end of a function copy arguments and local variables if
4747 they are still used by a referenced closure.
4748Files: src/structs.h, src/vim9.h, src/vim9compile.c, src/vim9execute.c,
4749 src/testdir/test_vim9_func.vim
4750
4751Patch 8.2.0680
4752Problem: PTYGROUP and PTYMODE are unused.
4753Solution: Remove from autoconf. (closes #6024)
4754Files: src/configure.ac, src/auto/configure, src/config.h.in
4755
4756Patch 8.2.0681
4757Problem: Pattern for 'hlsearch' highlighting may leak. (Dominique Pellé)
4758Solution: Call end_search_hl() to make sure the previous pattern is freed.
4759 (closes #6028)
4760Files: src/screen.c
4761
4762Patch 8.2.0682
4763Problem: Vim9: parsing function argument type can get stuck.
4764Solution: Bail out when not making progress.
4765Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
4766
4767Patch 8.2.0683
4768Problem: Vim9: parsing type does not always work.
4769Solution: Handle func type without return value. Test more closures.
4770 Fix type check offset. Fix garbage collection.
4771Files: src/vim9compile.c, src/vim9execute.c, src/proto/vim9execute.pro,
4772 src/userfunc.c, src/testdir/test_vim9_func.vim
4773
4774Patch 8.2.0684
4775Problem: Vim9: memory leak when using lambda.
4776Solution: Move the funccal context to the partial. Free the function when
4777 exiting.
4778Files: src/vim9.h, src/structs.h, src/vim9execute.c, src/userfunc.c,
4779 src/eval.c, src/testdir/test_vim9_func.vim
4780
4781Patch 8.2.0685 (after 8.2.0684)
4782Problem: Build failure.
4783Solution: Include missing changes.
4784Files: src/vim9compile.c
4785
4786Patch 8.2.0686
4787Problem: Formatoptions not sufficiently tested.
4788Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6031)
4789Files: src/testdir/test_normal.vim, src/testdir/test_textformat.vim
4790
4791Patch 8.2.0687
4792Problem: Some tests do not work on FreeBSD.
4793Solution: Enable modeline. Use WaitFor() in more cases. (Ozaki Kiichi,
4794 closes #6036)
4795Files: src/testdir/test_quickfix.vim, src/testdir/test_terminal.vim
4796
4797Patch 8.2.0688
4798Problem: Output clobbered if setting 'verbose' to see shell commands.
4799Solution: Only output "Searching for" when 'verbose' is 11 or higher.
4800Files: src/scriptfile.c, runtime/doc/options.txt
4801
4802Patch 8.2.0689
4803Problem: When using getaddrinfo() the error message is unclear.
4804Solution: Use gai_strerror() to get the message. (Ozaki Kiichi,
4805 closes #6034)
4806Files: src/channel.c
4807
4808Patch 8.2.0690
4809Problem: Line number of option set by modeline is wrong.
4810Solution: Do not double the line number. (Ozaki Kiichi, closes #6035)
4811Files: src/option.c, src/testdir/test_modeline.vim
4812
4813Patch 8.2.0691
4814Problem: Startup test fails.
4815Solution: Adjust expected output from -V2 argument.
4816Files: src/testdir/test_startup.vim
4817
4818Patch 8.2.0692
4819Problem: Startup test fails on MS-Windows.
4820Solution: Allow for any path.
4821Files: src/testdir/test_startup.vim
4822
4823Patch 8.2.0693
4824Problem: Closure using argument not tested.
4825Solution: Add a test, make it work.
4826Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
4827
4828Patch 8.2.0694
4829Problem: Haiku: channel and terminal do not work.
4830Solution: Close files when the job has finished. (Ozaki Kiichi,
4831 closes #6039)
4832Files: src/channel.c, src/getchar.c, src/gui_haiku.cc, src/misc1.c
4833
4834Patch 8.2.0695
4835Problem: Vim9: cannot define a function inside a function.
4836Solution: Initial support for :def inside :def.
4837Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9compile.c,
4838 src/vim9execute.c, src/testdir/test_vim9_func.vim
4839
4840Patch 8.2.0696
4841Problem: Vim9: nested function does not work properly
4842Solution: Create a function reference. Check argument count.
4843Files: src/vim9compile.c, src/vim9execute.c,
4844 src/testdir/test_vim9_func.vim
4845
4846Patch 8.2.0697
4847Problem: Vim9: memory leak when using nested function.
4848Solution: Unreference function when deleting instructions. Adjust reference
4849 count for local variables.
4850Files: src/vim9compile.c, src/vim9execute.c
4851
4852Patch 8.2.0698
4853Problem: Insert mode completion not fully tested.
4854Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6041)
4855Files: src/testdir/test_edit.vim, src/testdir/test_ins_complete.vim,
4856 src/testdir/test_textformat.vim
4857
4858Patch 8.2.0699
4859Problem: Vim9: not all errors tested.
4860Solution: Add test for deleted function. Bail out on first error.
4861Files: src/vim9execute.c, src/testdir/test_vim9_func.vim,
4862 src/testdir/test_vim9_expr.vim, src/testdir/vim9.vim
4863
4864Patch 8.2.0700
4865Problem: Vim9: converting error message to exception not tested.
4866Solution: Test exception from error. Do not continue after :echoerr.
4867Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
4868
4869Patch 8.2.0701
4870Problem: Vim9 test fails without job feature.
4871Solution: Add feature check.
4872Files: src/testdir/test_vim9_script.vim
4873
4874Patch 8.2.0702
4875Problem: Running channel tests may leave running process behind.
4876Solution: Make Python client exit when running into EOF. (Kurtis Rader,
4877 part of #6046)
4878Files: src/testdir/test_channel_pipe.py
4879
4880Patch 8.2.0703
4881Problem: Vim9: closure cannot store value in outer context.
4882Solution: Make storing value in outer context work. Make :disassemble
4883 accept a function reference.
4884Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/eval.c,
4885 src/structs.h, src/testdir/test_vim9_disassemble.vim,
4886 src/testdir/test_vim9_func.vim
4887
4888Patch 8.2.0704
4889Problem: Vim9: memory leak in disassemble test.
4890Solution: Decrement refcount when creating funccal.
4891Files: src/vim9execute.c
4892
4893Patch 8.2.0705
4894Problem: Indent tests don't run on CI for FreeBSD.
4895Solution: Set modeline. (Ozaki Kiichi, closes #6048)
4896Files: .cirrus.yml, runtime/indent/testdir/runtest.vim
4897
4898Patch 8.2.0706
4899Problem: Vim9: using assert_fails() causes function to finish.
4900Solution: Check did_emsg instead of called_emsg.
4901Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim,
4902 src/testdir/test_vim9_script.vim
4903
4904Patch 8.2.0707
4905Problem: Vim9 function test fails.
4906Solution: Adjust expected error code.
4907Files: src/testdir/test_vim9_func.vim
4908
4909Patch 8.2.0708
4910Problem: Vim9: constant expressions are not simplified.
4911Solution: Simplify string concatenation.
4912Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim,
4913 src/testdir/test_vim9_expr.vim
4914
4915Patch 8.2.0709
4916Problem: MS-Windows: compiler warning for int vs size_t.
4917Solution: Add type cast. (Mike Williams)
4918Files: src/channel.c
4919
4920Patch 8.2.0710
4921Problem: Netbeans test sometimes fails.
4922Solution: Mark any test using an external command as flaky.
4923Files: src/testdir/shared.vim
4924
4925Patch 8.2.0711
4926Problem: With a long running Vim the temp directory might be cleared on
4927 some systems.
4928Solution: Lock the temp directory. (closes #6044)
4929Files: src/config.h.in, src/configure.ac, src/auto/configure,
4930 src/fileio.c, src/globals.h, src/os_unix.h
4931
4932Patch 8.2.0712
4933Problem: Various code not fully tested.
4934Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6049)
4935Files: src/testdir/test_functions.vim, src/testdir/test_options.vim,
4936 src/testdir/test_system.vim, src/testdir/test_termcodes.vim
4937
4938Patch 8.2.0713
4939Problem: The pam_environment file is not recognized.
4940Solution: Add a filetype pattern for pamenv. (closes #6051)
4941Files: runtime/filetype.vim, src/testdir/test_filetype.vim
4942
4943Patch 8.2.0714
4944Problem: Vim9: handling constant expression does not scale.
4945Solution: Use another solution, passing typval_T.
4946Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
4947
4948Patch 8.2.0715
4949Problem: Vim9: leaking memory.
4950Solution: Free strings after concatenating them.
4951Files: src/vim9compile.c
4952
4953Patch 8.2.0716
4954Problem: Vim9: another memory leak.
4955Solution: Clear typval when failing.
4956Files: src/vim9compile.c
4957
4958Patch 8.2.0717
4959Problem: Vim9: postponed constant expressions does not scale.
4960Solution: Add a structure to pass around postponed constants.
4961Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
4962
4963Patch 8.2.0718
4964Problem: Gcc warning for returning pointer to local variable. (John
4965 Marriott)
4966Solution: Return another pointer.
4967Files: src/evalvars.c
4968
4969Patch 8.2.0719
4970Problem: Vim9: more expressions can be evaluated at compile time
4971Solution: Recognize has('name').
4972Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim,
4973 src/testdir/test_vim9_expr.vim
4974
4975Patch 8.2.0720
4976Problem: Occasional exit when encountering an X error. (Manfred Lotz)
4977Solution: On an X error do not exit, do preserve files.
4978Files: src/os_unix.c
4979
4980Patch 8.2.0721
4981Problem: Vim9: leaking memory when skipping.
4982Solution: Disable skipping in generate_ppconst().
4983Files: src/vim9compile.c
4984
4985Patch 8.2.0722
4986Problem: Vim9: not handling constant expression for elseif.
4987Solution: Use postponed constants. Delete the code for evaluating a
4988 constant expression.
4989Files: src/vim9compile.c
4990
4991Patch 8.2.0723
4992Problem: Vim9: nested constant expression not evaluated compile time.
4993Solution: Use compile_expr1() for parenthesis.
4994Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
4995
4996Patch 8.2.0724
4997Problem: Vim9: appending to buffer/window/tab variable not tested
4998Solution: Add a test.
4999Files: src/testdir/test_vim9_script.vim
5000
5001Patch 8.2.0725
5002Problem: Vim9: cannot call a function declared later in Vim9 script.
5003Solution: Make two passes through the script file.
5004Files: src/scriptfile.c, src/proto/scriptfile.pro, src/vim9script.c,
5005 src/vim9compile.c, src/vim9execute.c, src/proto/vim9compile.pro,
5006 src/userfunc.c, src/proto/userfunc.pro, src/evalvars.c,
5007 src/proto/evalvars.pro, src/vim.h,
5008 src/testdir/test_vim9_disassemble.vim
5009
5010Patch 8.2.0726
5011Problem: Vim9: leaking memory when calling not compiled :def function.
5012Solution: Check if function is compiled earlier.
5013Files: src/vim9execute.c
5014
5015Patch 8.2.0727
5016Problem: MS-Windows: new gcc compiler does not support scanf format.
5017Solution: Use "%ll" instead of "%I". (Ken Takata)
5018Files: src/vim.h
5019
5020Patch 8.2.0728
5021Problem: Messages about a deadly signal are not left aligned.
5022Solution: Output a CR before the NL. (Dominique Pellé, #6055)
5023Files: src/misc1.c, src/os_unix.c
5024
5025Patch 8.2.0729
5026Problem: Vim9: When reloading a script variables are not cleared.
5027Solution: When sourcing a script again clear all script-local variables.
5028Files: src/dict.c, src/proto/dict.pro, src/scriptfile.c,
5029 src/testdir/test_vim9_script.vim
5030
5031Patch 8.2.0730
5032Problem: Vim9: Assignment to dict member does not work.
5033Solution: Parse dict assignment. Implement getting dict member.
5034Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/globals.h,
5035 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_cmd.vim,
5036 src/testdir/test_vim9_script.vim
5037
5038Patch 8.2.0731
5039Problem: Vim9: parsing declarations continues after :finish.
5040Solution: Bail out when encountering :finish.
5041Files: src/vim9script.c, src/testdir/test_vim9_script.vim
5042
5043Patch 8.2.0732
5044Problem: Vim9: storing value in dict messes up stack.
5045Solution: Correct item count of stack.
5046Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
5047
5048Patch 8.2.0733
5049Problem: Vim9: assigning to dict or list argument does not work.
5050Solution: Recognize an argument as assignment target.
5051Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
5052
5053Patch 8.2.0734
5054Problem: Vim9: leaking memory when using :finish.
5055Solution: Do not check for next line in third pass.
5056Files: src/scriptfile.c
5057
5058Patch 8.2.0735
5059Problem: Vim9: using uninitialized memory.
5060Solution: Clear the arg_lvar field.
5061Files: src/vim9compile.c
5062
5063Patch 8.2.0736
5064Problem: Some files not recognized as pamenv.
5065Solution: Add pam_inv.conf. (closes #6065)
5066Files: runtime/filetype.vim, src/testdir/test_filetype.vim
5067
5068Patch 8.2.0737
5069Problem: When shell doesn't support CTRL-Z Vim still handles it.
5070Solution: Ignore the STOP signal if it was ignored on startup.
5071 (Kurtis Rader, closes #5990, closes #6058)
5072Files: src/os_unix.c
5073
5074Patch 8.2.0738
5075Problem: Mouse handling in a terminal window not well tested.
5076Solution: Add tests. (Yegappan Lakshmanan, closes #6052)
5077Files: src/testdir/term_util.vim, src/testdir/test_gui.vim,
5078 src/testdir/test_modeless.vim, src/testdir/test_terminal.vim
5079
5080Patch 8.2.0739
5081Problem: Incomplete profiling when exiting because of a deadly signal.
5082Solution: Call __gcov_flush() if available.
5083Files: src/os_unix.c, src/Makefile, .travis.yml
5084
5085Patch 8.2.0740
5086Problem: Minor message mistakes.
5087Solution: Change vim to Vim and other fixes.
5088Files: src/if_py_both.h, src/if_tcl.c, src/main.c
5089
5090Patch 8.2.0741
5091Problem: Python tests fail because of changed message.
5092Solution: Adjust the expected messages (Dominique Pellé, closes #6066)
5093Files: src/testdir/test86.ok, src/testdir/test87.ok
5094
5095Patch 8.2.0742
5096Problem: Handling of a TERM signal not tested.
5097Solution: Add a test for SIGTERM. (Dominique Pellé, closes #6055)
5098Files: src/testdir/test_signals.vim
5099
5100Patch 8.2.0743
5101Problem: Can move to another buffer from a terminal in popup window.
5102Solution: Do not allow "gf" or editing a file. (closes #6072)
5103Files: src/normal.c, src/ex_cmds.c, src/testdir/test_popupwin.vim
5104
5105Patch 8.2.0744
5106Problem: The name vim is not capitalized in a message.
5107Solution: Use "Vim" instead of "vim".
5108Files: src/main.c
5109
5110Patch 8.2.0745
5111Problem: Crash on exit when not all popups are closed.
5112Solution: Close popups when freeing all memory. Disable checking for popup
5113 when editing a file for now.
5114Files: src/misc2.c, src/ex_cmds.c
5115
5116Patch 8.2.0746
5117Problem: popup_clear() hangs when a popup can't be closed.
5118Solution: Bail out when a popup can't be closed.
5119Files: src/popupwin.c, src/proto/popupwin.pro
5120
5121Patch 8.2.0747
5122Problem: Cannot forcefully close all popups.
5123Solution: Add the "force" argument to popup_clear(). Use it after running a
5124 test. Put back the check for a popup when editing a file.
5125Files: runtime/doc/popup.txt, src/evalfunc.c, src/popupwin.c,
5126 src/proto/popupwin.pro, src/tag.c, src/window.c, src/misc2.c,
5127 src/ex_cmds.c, src/channel.c, src/testdir/runtest.vim,
5128 src/testdir/test_terminal.vim
5129
5130Patch 8.2.0748
5131Problem: Cannot get a list of all popups.
5132Solution: Add popup_list(). Use it in the test runner.
5133Files: runtime/doc/eval.txt, runtime/doc/popup.txt, src/popupwin.c,
5134 src/proto/popupwin.pro, src/evalfunc.c,
5135 src/testdir/test_popupwin.vim, src/testdir/runtest.vim
5136
5137Patch 8.2.0749
5138Problem: TERM signal test fails on FreeBSD.
5139Solution: Do not check the messages, the may appear anywhere. (Dominique
5140 Pellé, closes #6075)
5141Files: src/testdir/test_signals.vim
5142
5143Patch 8.2.0750
5144Problem: Netbeans test is a bit flaky.
5145Solution: Allow for standard sign to be defined. Use WaitForAssert().
5146Files: src/testdir/test_netbeans.vim
5147
5148Patch 8.2.0751
5149Problem: Vim9: performance can be improved.
5150Solution: Don't call break. Inline check for list materialize. Make an
5151 inline version of ga_grow().
5152Files: src/macros.h, src/evalfunc.c, src/misc2.c,
5153 src/proto/misc2.pro, src/channel.c, src/eval.c, src/evalbuffer.c,
5154 src/evalvars.c, src/filepath.c, src/highlight.c, src/insexpand.c,
5155 src/json.c, src/list.c, src/popupmenu.c, src/popupwin.c,
5156 src/userfunc.c, src/if_py_both.h
5157
5158Patch 8.2.0752
5159Problem: Terminal in popup window test is a bit flaky.
5160Solution: Wait for shell job status to be "run". Mark as flaky test.
5161Files: src/testdir/test_popupwin.vim
5162
5163Patch 8.2.0753
5164Problem: Vim9: expressions are evaluated in the discovery phase.
5165Solution: Bail out if an expression is not a constant. Require a type for
5166 declared constants.
5167Files: src/vim.h, src/evalvars.c, src/eval.c, src/ex_eval.c,
5168 src/evalfunc.c, src/userfunc.c, src/dict.c, src/list.c,
5169 src/vim9compile.c, src/testdir/test_vim9_script.vim,
5170 src/testdir/test_vim9_disassemble.vim
5171
5172Patch 8.2.0754
5173Problem: Vim9: No test for forward declaration.
5174Solution: Add a test.
5175Files: src/testdir/test_vim9_script.vim
5176
5177Patch 8.2.0755
5178Problem: Vim9: No error when variable initializer is not a constant.
5179Solution: Return FAIL when trying to get a variable value. Do not execute a
5180 script when an error is detected in the first or second phase.
5181Files: src/eval.c, src/vim9script.c, src/testdir/test_vim9_script.vim
5182
5183Patch 8.2.0756 (after 8.2.0249)
5184Problem: MS-Windows: still a compiler warning.
5185Solution: Move flag to another place in the Makefile. (Ken Takata,
5186 closes #6083)
5187Files: src/Make_mvc.mak
5188
5189Patch 8.2.0757
5190Problem: Vim9: no test for MEMBER instruction.
5191Solution: Add a test. Make matches stricter.
5192Files: src/testdir/test_vim9_disassemble.vim
5193
5194Patch 8.2.0758
5195Problem: Vim9: no test for STORELIST and STOREDICT.
5196Solution: Add a test. Make matches stricter.
5197Files: src/testdir/test_vim9_disassemble.vim
5198
5199Patch 8.2.0759 (after 8.2.0751)
5200Problem: Vim9: missing changes for performance improvements
5201Solution: Use GA_GROW(). Don't call breakcheck so often.
5202Files: src/vim9execute.c
5203
5204Patch 8.2.0760
5205Problem: Vim9: dict member errors not tested.
5206Solution: Delete unreachable error. Add tests.
5207Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
5208
5209Patch 8.2.0761
5210Problem: Vim9: instructions not tested
5211Solution: Use a variable instead of a constant.
5212Files: src/testdir/test_vim9_expr.vim
5213
5214Patch 8.2.0762
5215Problem: Buffer is not considered modified after setting crypt key.
5216Solution: Set the modified flag. (Christian Brabandt, closes #6082)
5217Files: src/optionstr.c, src/testdir/test_crypt.vim
5218
5219Patch 8.2.0763
5220Problem: GUI test fails without the terminal feature.
5221Solution: Check the terminal feature is supported. (Ken Takata,
5222 closes #6084)
5223Files: src/testdir/test_gui.vim
5224
5225Patch 8.2.0764
5226Problem: Vim9: assigning to option not fully tested.
5227Solution: Add more test cases. Allow using any type for assignment.
5228Files: src/vim9compile.c, src/vim9execute.c,
5229 src/testdir/test_vim9_script.vim
5230
5231Patch 8.2.0765
5232Problem: In the GUI can't use all the modifiers. (Andri Möll)
5233Solution: Do not apply Alt/Meta early, do it later like with the terminal.
5234 Avoid the Motif test from crashing.
5235Files: src/gui_gtk_x11.c, src/gui_x11.c, src/gui_mac.c, src/gui_w32.c,
5236 src/gui_motif.c
5237
5238Patch 8.2.0766
5239Problem: Display error when using 'number' and 'breakindent'.
5240Solution: Adjust extra spaces in the first row. (Ken Takata, closes #6089,
5241 closes #5986)
5242Files: src/drawline.c, src/testdir/test_breakindent.vim
5243
5244Patch 8.2.0767
5245Problem: ModifyOtherKeys active when using a shell command in autocmd.
5246Solution: Output T_CTE when going to cooked mode. (closes 5617)
5247Files: src/term.c
5248
5249Patch 8.2.0768
5250Problem: Vim9: memory leak in script test.
5251Solution: Clear typval before giving an error message.
5252Files: src/vim9execute.c
5253
5254Patch 8.2.0769
5255Problem: VimLeavePre not triggered when Vim is terminated.
5256Solution: Unblock autocommands.
5257Files: src/main.c, src/testdir/test_signals.vim
5258
5259Patch 8.2.0770
5260Problem: Cannot map CTRL-B when using the GUI.
5261Solution: Reset the CTRL modifier when used. (closes #6092)
5262Files: src/gui_gtk_x11.c
5263
5264Patch 8.2.0771
5265Problem: Vim9: cannot call a compiled closure from not compiled code.
5266Solution: Pass funcexe to call_user_func().
5267Files: src/userfunc.c, src/vim9execute.c, src/proto/vim9execute.pro,
5268 src/eval.c, src/testdir/test_vim9_func.vim
5269
5270Patch 8.2.0772
5271Problem: Vim9: some variable initializations not tested.
5272Solution: Add a few more tests
5273Files: src/testdir/test_vim9_script.vim
5274
5275Patch 8.2.0773
5276Problem: Switching to raw mode every time ":" is used.
5277Solution: When executing a shell set cur_tmode to TMODE_UNKNOWN, so that the
5278 next time TMODE_RAW is used it is set, but not every time.
5279Files: src/term.h, src/os_unix.c, src/term.c, src/os_amiga.c,
5280 src/os_win32.c
5281
5282Patch 8.2.0774
5283Problem: t_TI and t_TE are output when using 'visualbell'. (Dominique
5284 Pellé)
5285Solution: Do not change the terminal mode for a short sleep. Do not output
5286 t_TI and t_TE when switching to/from TMODE_SLEEP. Make tmode an
5287 enum.
5288Files: src/os_unix.c, src/proto/os_unix.pro, src/os_amiga.c,
5289 src/proto/os_amiga.pro, src/os_mswin.c, src/proto/os_mswin.pro,
5290 src/os_vms.c, src/proto/os_vms.pro, src/os_win32.c,
5291 src/proto/os_win32.pro, src/term.c, src/term.h, src/globals.h
5292
5293Patch 8.2.0775
5294Problem: Not easy to call a Vim function from Lua.
5295Solution: Add vim.call() and vim.fn(). (Prabir Shrestha, closes #6063)
5296Files: runtime/doc/if_lua.txt, src/if_lua.c, src/testdir/test_lua.vim
5297
5298Patch 8.2.0776
5299Problem: Libvterm code lags behind the upstream version.
5300Solution: Include revision 719.
5301Files: Filelist, src/libvterm/README, src/libvterm/Makefile,
5302 src/libvterm/find-wide-chars.pl, src/libvterm/src/fullwidth.inc,
5303 src/libvterm/src/unicode.c
5304
5305Patch 8.2.0777 (after 8.2.0776)
5306Problem: Terminal test fails.
5307Solution: Adjust character position for double-wide characters.
5308Files: src/testdir/test_terminal.vim
5309
5310Patch 8.2.0778
5311Problem: Libvterm code lags behind the upstream version.
5312Solution: Include revisions 720 - 723.
5313Files: src/libvterm/t/10state_putglyph.test, src/libvterm/Makefile,
5314 src/libvterm/t/run-test.pl, src/libvterm/src/state.c,
5315 src/libvterm/t/92lp1805050.test
5316
5317Patch 8.2.0779
5318Problem: Tmode_T not used everywhere.
5319Solution: Also use tmode_T for settmode().
5320Files: src/term.c, src/proto/term.pro
5321
5322Patch 8.2.0780
5323Problem: Libvterm code lags behind the upstream version.
5324Solution: Include revisions 724 - 726.
5325Files: Filelist, src/libvterm/t/40screen_ascii.test,
5326 src/libvterm/t/60screen_ascii.test,
5327 src/libvterm/t/41screen_unicode.test,
5328 src/libvterm/t/61screen_unicode.test,
5329 src/libvterm/t/42screen_damage.test,
5330 src/libvterm/t/62screen_damage.test,
5331 src/libvterm/t/43screen_resize.test,
5332 src/libvterm/t/63screen_resize.test,
5333 src/libvterm/t/44screen_pen.test,
5334 src/libvterm/t/64screen_pen.test,
5335 src/libvterm/t/45screen_protect.test,
5336 src/libvterm/t/65screen_protect.test,
5337 src/libvterm/t/46screen_extent.test,
5338 src/libvterm/t/66screen_extent.test,
5339 src/libvterm/t/47screen_dbl_wh.test,
5340 src/libvterm/t/67screen_dbl_wh.test,
5341 src/libvterm/t/48screen_termprops.test,
5342 src/libvterm/t/68screen_termprops.test, src/libvterm/t/30pen.test,
5343 src/libvterm/t/30state_pen.test, src/libvterm/t/92lp1805050.test,
5344 src/libvterm/t/31state_rep.test, src/libvterm/doc/seqs.txt
5345
5346Patch 8.2.0781 (after 8.2.0775)
5347Problem: Compiler warning for not using value in Lua.
5348Solution: Add "(void)".
5349Files: src/if_lua.c
5350
5351Patch 8.2.0782
5352Problem: Cannot build with Lua on MS-Windows.
5353Solution: Add DLL symbol for luaL_Loadstring. (Ken Takata)
5354Files: src/if_lua.c
5355
5356Patch 8.2.0783
5357Problem: Libvterm code lags behind the upstream version.
5358Solution: Include revisions 728 - 729.
5359Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Makefile,
5360 src/libvterm/src/keyboard.c, src/libvterm/t/25state_input.test,
5361 src/libvterm/t/harness.c, src/libvterm/src/vterm.c,
5362 src/libvterm/src/vterm_internal.h,
5363 src/libvterm/t/26state_query.test
5364
5365Patch 8.2.0784
5366Problem: Libvterm code lags behind the upstream version.
5367Solution: Include revisions 730 - 733.
5368Files: src/libvterm/src/vterm.c, src/libvterm/src/state.c,
5369 src/libvterm/include/vterm.h, src/libvterm/src/vterm_internal.h,
5370 src/libvterm/t/harness.c
5371
5372Patch 8.2.0785
5373Problem: Libvterm code lags behind the upstream version.
5374Solution: Include revisions 734 - 740.
5375Files: src/libvterm/include/vterm.h, src/libvterm/src/pen.c,
5376 src/libvterm/src/vterm.c, src/libvterm/doc/seqs.txt,
5377 src/libvterm/t/30state_pen.test, src/libvterm/t/run-test.pl,
5378 src/libvterm/Makefile, src/libvterm/CONTRIBUTING
5379
5380Patch 8.2.0786
5381Problem: Channel test is flaky on FreeBSD.
5382Solution: Set the socket TCP_NODELAY option. Adjust expected line count in
5383 netbeans test. (Ozaki Kiichi, closes #6097)
5384Files: src/testdir/test_channel.py, src/testdir/test_netbeans.vim
5385
5386Patch 8.2.0787
5387Problem: Libvterm code lags behind the upstream version.
5388Solution: Include revisions 741 - 742.
5389Files: Filelist, src/libvterm/src/screen.c
5390
5391Patch 8.2.0788
5392Problem: Memory leak in libvterm.
5393Solution: free tmpbuffer.
5394Files: src/libvterm/src/vterm.c
5395
5396Patch 8.2.0789
5397Problem: Vim9: expression testing lost coverage using constants.
5398Solution: Use a few variables instead of constants.
5399Files: src/testdir/test_vim9_expr.vim
5400
5401Patch 8.2.0790
5402Problem: Vim9: list index not well tested.
5403Solution: Add a few more tests.
5404Files: src/testdir/test_vim9_script.vim
5405
5406Patch 8.2.0791
5407Problem: A second popup window with terminal causes trouble.
5408Solution: Disallow opening a second terminal-popup window. (closes #6101,
5409 closes #6103) Avoid defaulting to an invalid line number.
5410Files: runtime/doc/popup.txt, src/popupwin.c, src/ex_docmd.c,
5411 src/testdir/test_popupwin.vim, src/testdir/test_terminal.vim
5412
5413Patch 8.2.0792
5414Problem: Build failure with small features.
5415Solution: Add #ifdef.
5416Files: src/popupwin.c
5417
5418Patch 8.2.0793
5419Problem: MS-Windows: cannot build GUI with small features. (Michael Soyka)
5420Solution: Add #ifdef around use of windowsVersion. (Ken Takata)
5421Files: src/os_win32.c
5422
5423Patch 8.2.0794
5424Problem: Libvterm code lags behind the upstream version.
5425Solution: Include revisions 743 - 747.
5426Files: src/libvterm/src/state.c, src/libvterm/src/screen.c,
5427 src/libvterm/src/vterm_internal.h, src/libvterm/include/vterm.h,
5428 src/libvterm/t/67screen_dbl_wh.test, src/libvterm/t/run-test.pl
5429
5430Patch 8.2.0795
5431Problem: Libvterm code lags behind the upstream version.
5432Solution: Include revisions 748 - 754.
5433Files: src/libvterm/include/vterm.h, src/libvterm/src/screen.c,
5434 src/libvterm/src/state.c, src/libvterm/t/32state_flow.test,
5435 src/libvterm/t/60screen_ascii.test,
5436 src/libvterm/t/62screen_damage.test,
5437 src/libvterm/t/63screen_resize.test, src/libvterm/t/harness.c,
5438 src/libvterm/t/run-test.pl
5439
5440Patch 8.2.0796
5441Problem: MS-Windows: compiler can't handle C99 construct in libvterm.
5442Solution: Change to C90 construct.
5443Files: src/libvterm/src/state.c
5444
5445Patch 8.2.0797
5446Problem: MS-Windows: compiler still can't handle C99 construct.
5447Solution: Change to C90 construct. (Dominique Pellé, closes #6106)
5448Files: src/libvterm/src/state.c
5449
5450Patch 8.2.0798
5451Problem: Libvterm code lags behind the upstream version.
5452Solution: Include revisions 755 - 758.
5453Files: src/libvterm/t/run-test.pl, src/libvterm/src/screen.c,
5454 src/libvterm/t/harness.c, src/libvterm/include/vterm.h,
5455 src/libvterm/src/parser.c, src/libvterm/src/state.c,
5456 src/libvterm/src/vterm.c, src/libvterm/src/vterm_internal.h,
5457 src/libvterm/t/02parser.test,
5458 src/libvterm/t/18state_termprops.test,
5459 src/libvterm/t/29state_fallback.test,
5460 src/libvterm/t/68screen_termprops.test, src/terminal.c
5461
5462Patch 8.2.0799
5463Problem: Build fails if snprintf is not available.
5464Solution: Use vim_snprintf().
5465Files: src/libvterm/src/state.c
5466
5467Patch 8.2.0800
5468Problem: Errors from failing test are unclear.
5469Solution: Include text where parsing failed.
5470Files: src/json.c, src/testdir/test_json.vim
5471
5472Patch 8.2.0801
5473Problem: Terminal test fails on Mac.
5474Solution: Concatenate OSC pieces.
5475Files: src/terminal.c
5476
5477Patch 8.2.0802
5478Problem: Libvterm code lags behind the upstream version.
5479Solution: Include revisions 759 - 762.
5480Files: src/terminal.c, src/libvterm/doc/seqs.txt,
5481 src/libvterm/include/vterm.h, src/libvterm/src/pen.c,
5482 src/libvterm/src/screen.c, src/libvterm/src/state.c,
5483 src/libvterm/src/vterm.c, src/libvterm/src/vterm_internal.h,
5484 src/libvterm/t/harness.c, src/libvterm/t/12state_scroll.test
5485
5486Patch 8.2.0803
5487Problem: Libvterm code lags behind the upstream version.
5488Solution: Include revisions 764 - 767
5489Files: src/Makefile, src/libvterm/src/parser.c,
5490 src/libvterm/src/vterm_internal.h, src/libvterm/t/02parser.test,
5491 src/libvterm/t/run-test.pl, src/libvterm/find-wide-chars.pl,
5492 src/libvterm/src/fullwidth.inc
5493
5494Patch 8.2.0804
5495Problem: Libvterm code lags behind the upstream version.
5496Solution: Include revision 727, but add the index instead of switching
5497 between RGB and indexed.
5498Files: src/terminal.c, src/term.c, src/libvterm/include/vterm.h,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00005499 src/libvterm/src/pen.c, src/libvterm/src/screen.c,
5500 src/libvterm/src/vterm_internal.h,
5501 src/libvterm/t/30state_pen.test,
Bram Moolenaarc51cf032022-02-26 12:25:45 +00005502 src/libvterm/t/harness.c, src/libvterm/src/state.c,
5503 src/libvterm/t/26state_query.test,
5504 src/libvterm/t/64screen_pen.test
5505
5506Patch 8.2.0805
5507Problem: Terminal key codes test fails on some systems.
5508Solution: Skip keypad 3 and 9. (Yegappan Lakshmanan, closes #6070)
5509Files: src/testdir/test_terminal.vim
5510
5511Patch 8.2.0806
5512Problem: using "func!" after vim9script gives confusing error.
5513Solution: Give E477. (closes #6107)
5514Files: src/vim9script.c, src/testdir/test_vim9_script.vim
5515
5516Patch 8.2.0807
5517Problem: Cannot easily restore a mapping.
5518Solution: Add mapset().
5519Files: runtime/doc/eval.txt, src/map.c, src/proto/map.pro, src/evalfunc.c
5520 src/testdir/test_maparg.vim
5521
5522Patch 8.2.0808
5523Problem: Not enough testing for the terminal window.
5524Solution: Add more tests. (Yegappan Lakshmanan, closes #6069) Fix memory
5525 leak.
5526Files: src/testdir/test_gui.vim, src/testdir/test_terminal.vim,
5527 src/terminal.c
5528
5529Patch 8.2.0809
5530Problem: Build failure with small features. (Tony Mechelynck)
5531Solution: Move "expr" inside #ifdef.
5532Files: src/map.c
5533
5534Patch 8.2.0810
5535Problem: Error when appending "tagfile" to 'wildoptions'.
5536Solution: use flags P_ONECOMMA and P_NODUP. (Dmitri Vereshchagin,
5537 closes #6105)
5538Files: src/optiondefs.h, src/testdir/test_options.vim
5539
5540Patch 8.2.0811
5541Problem: Terminal keycode test is flaky.
5542Solution: Use WaitForAssert()
5543Files: src/testdir/test_terminal.vim
5544
5545Patch 8.2.0812
5546Problem: mapset() does not properly handle <> notation.
5547Solution: Convert <> codes. (closes #6116)
5548Files: src/map.c, src/testdir/test_maparg.vim
5549
5550Patch 8.2.0813
5551Problem: libvterm code is slightly different from upstream.
5552Solution: Use upstream text to avoid future merge problems. Mainly comment
5553 style changes.
5554Files: src/libvterm/include/vterm.h, src/libvterm/src/rect.h,
5555 src/libvterm/src/utf8.h, src/libvterm/src/vterm_internal.h,
5556 src/libvterm/src/encoding.c, src/libvterm/src/keyboard.c,
5557 src/libvterm/src/mouse.c, src/libvterm/src/parser.c,
5558 src/libvterm/src/pen.c, src/libvterm/src/screen.c,
5559 src/libvterm/src/state.c, src/libvterm/src/unicode.c,
5560 src/libvterm/src/vterm.c
5561
5562Patch 8.2.0814
5563Problem: Clang warning for implicit conversion.
5564Solution: Add type cast. (Dominique Pellé, closes #6124)
5565Files: src/evalfunc.c
5566
5567Patch 8.2.0815
5568Problem: maparg() does not provide enough information for mapset().
5569Solution: Add "lhsraw" and "lhsrawalt" items. Drop "simplified"
5570Files: src/map.c, runtime/doc/eval.txt, src/testdir/test_maparg.vim
5571
5572Patch 8.2.0816
5573Problem: Terminal test fails when compiled with Athena.
5574Solution: Do give an error when the GUI is not running. (hint by Dominique
5575 Pellé, closes #5928, closes #6132)
5576Files: src/globals.h, src/gui.c, src/term.c, src/channel.c,
5577 src/testdir/test_terminal.vim
5578
5579Patch 8.2.0817
5580Problem: Not enough memory allocated when converting string with special
5581 character.
5582Solution: Reserve space for modifier code. (closes #6130)
5583Files: src/eval.c, src/testdir/test_functions.vim
5584
5585Patch 8.2.0818
5586Problem: Vim9: using a discovery phase doesn't work well.
5587Solution: Remove the discovery phase, instead compile a function only when
5588 it is used. Add :defcompile to compile def functions earlier.
5589Files: runtime/doc/vim9.txt, src/vim9script.c, src/structs.h,
5590 src/userfunc.c, src/proto/userfunc.pro, src/eval.c,
5591 src/evalvars.c, src/proto/evalvars.pro, src/vim9compile.c,
5592 src/proto/vim9compile.pro, src/vim9execute.c, src/ex_cmds.h,
5593 src/ex_docmd.c, src/ex_cmdidxs.h, src/vim.h, src/testdir/vim9.vim,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00005594 src/testdir/test_vim9_disassemble.vim,
Bram Moolenaarc51cf032022-02-26 12:25:45 +00005595 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
5596
5597Patch 8.2.0819
5598Problem: Compiler warning for unused variable.
5599Solution: Remove the variable.
5600Files: src/evalvars.c
5601
5602Patch 8.2.0820
5603Problem: Vim9: function type isn't set until compiled.
5604Solution: Set function type early.
5605Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
5606 src/testdir/test_vim9_func.vim
5607
5608Patch 8.2.0821
5609Problem: Vim9: memory leak in expr test.
5610Solution: Do not decrement the length of the list of functions if the
5611 current function is not at the end.
5612Files: src/vim9compile.c
5613
5614Patch 8.2.0822
5615Problem: Vim9: code left over from discovery phase.
5616Solution: Remove the dead code.
5617Files: src/scriptfile.c, src/proto/scriptfile.pro, src/ex_cmds.h,
5618 src/evalvars.c, src/proto/evalvars.pro, src/ex_docmd.c
5619
5620Patch 8.2.0823
5621Problem: Vim9: script reload test is disabled.
5622Solution: Compile a function in the context of the script where it was
5623 defined. Set execution stack for compiled function. Add a test
5624 that an error is reported for the right file/function.
5625Files: src/vim9compile.c, src/vim9execute.c, src/scriptfile.c,
5626 src/proto/scriptfile.pro, src/userfunc.c, src/globals.h,
5627 src/structs.h, src/ex_docmd.c, src/ex_eval.c,
5628 src/testdir/test_vim9_script.vim
5629
5630Patch 8.2.0824 (after 8.2.0817)
5631Problem: Still not enough memory allocated when converting string with
5632 special character.
5633Solution: Reserve space for expanding K_SPECIAL. (closes #6130)
5634Files: src/eval.c, src/testdir/test_functions.vim
5635
5636Patch 8.2.0825
5637Problem: def_function() may return pointer that was freed.
5638Solution: Set "fp" to NULL after freeing it.
5639Files: src/userfunc.c
5640
5641Patch 8.2.0826
5642Problem: Vim9: crash in :defcompile.
5643Solution: Restart the loop after a call to compile_def_function() caused the
5644 hash table to resize.
5645Files: src/userfunc.c
5646
5647Patch 8.2.0827
5648Problem: Vim9: crash in :defcompile.
5649Solution: Fix off-by-one error.
5650Files: src/userfunc.c
5651
5652Patch 8.2.0828
5653Problem: Travis: regexp pattern doesn't work everywhere.
5654Solution: Use [:blank:] instead of \b. (Ozaki Kiichi, closes #6146)
5655Files: .travis.yml, ci/config.mk.clang.sed, ci/config.mk.gcc.sed,
5656 ci/config.mk.sed, src/if_ruby.c
5657
5658Patch 8.2.0829
5659Problem: filter() may give misleading error message.
5660Solution: Also mention Blob as an allowed argument.
5661Files: src/list.c, src/testdir/test_filter_map.vim
5662
5663Patch 8.2.0830
5664Problem: Motif: can't map "!". (Ben Jackson)
5665Solution: Remove the shift modifier if it's already included in the key.
5666 (closes #6147)
5667Files: src/gui_x11.c
5668
5669Patch 8.2.0831
5670Problem: Compiler warnings for integer sizes.
5671Solution: Add type casts. (Mike Williams)
5672Files: src/libvterm/src/pen.c, src/terminal.c
5673
5674Patch 8.2.0832
5675Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
5676Solution: Add initial value.
5677Files: src/map.c
5678
5679Patch 8.2.0833
5680Problem: Mapping <C-bslash> doesn't work in the GUI.
5681Solution: Reset seenModifyOtherKeys when starting the GUI. (closes #6150)
5682Files: src/gui.c
5683
5684Patch 8.2.0834
5685Problem: :drop command in terminal popup causes problems.
5686Solution: Check for using a popup window. (closes #6151)
5687Files: src/ex_cmds.c, src/testdir/test_popupwin.vim
5688
5689Patch 8.2.0835
5690Problem: Motif: mapping <C-bslash> still doesn't work.
5691Solution: Accept CSI for K_SPECIAL. Do not apply CTRL to the character
5692 early. (closes #6150)
5693Files: src/getchar.c, src/gui_x11.c
5694
5695Patch 8.2.0836
5696Problem: Not all :cdo output is visible.
5697Solution: Reset 'shortmess' temporarily. (Yegappan Lakshmanan, closes #6155)
5698Files: src/ex_cmds2.c, src/testdir/test_cdo.vim
5699
5700Patch 8.2.0837
5701Problem: Compiler warning for value set but not used.
5702Solution: Move variable inside #ifdef.
5703Files: src/channel.c
5704
5705Patch 8.2.0838
5706Problem: MS-Windows: compiler warning for uninitialized variables.
5707Solution: Initialize variables.
5708Files: src/screen.c
5709
5710Patch 8.2.0839
5711Problem: Dropping modifier when putting a character back in typeahead.
5712Solution: Add modifier to ins_char_typebuf(). (closes #6158)
5713Files: src/getchar.c, src/proto/getchar.pro, src/message.c, src/normal.c,
5714 src/terminal.c, src/globals.h, src/testdir/test_messages.vim
5715
5716Patch 8.2.0840
5717Problem: Search match count wrong when only match is in fold.
5718Solution: Update search stats when in a closed fold. (Christian Brabandt,
5719 closes #6160, closes #6152)
5720Files: src/search.c, src/testdir/dumps/Test_searchstat_3.dump,
5721 src/testdir/test_search_stat.vim
5722
5723Patch 8.2.0841
5724Problem: 'verbose' value 16 causes duplicate output.
5725Solution: Combine levels 15 and 16 into one message. (Christian Brabandt,
5726 closes #6153)
5727Files: runtime/doc/options.txt, src/ex_docmd.c
5728
5729Patch 8.2.0842 (after 8.2.0837)
5730Problem: MS-Windows: channel tests fail.
5731Solution: Adjust #ifdefs. (closes #6162)
5732Files: src/channel.c
5733
5734Patch 8.2.0843
5735Problem: Filetype elm not detected.
5736Solution: Recognize *.elm files. (closes #6157)
5737Files: runtime/filetype.vim, src/testdir/test_filetype.vim
5738
5739Patch 8.2.0844
5740Problem: Text properties crossing lines not handled correctly.
5741Solution: When saving for undo include an extra line when needed and do not
5742 adjust properties when undoing. (Axel Forsman, closes #5875)
5743Files: src/memline.c, src/proto/memline.pro, src/undo.c, src/structs.h
5744
5745Patch 8.2.0845
5746Problem: Text properties crossing lines not handled correctly.
5747Solution: When joining lines merge text properties if possible.
5748 (Axel Forsman, closes #5839, closes #5683)
5749Files: src/testdir/test_textprop.vim, src/memline.c, src/ops.c,
5750 src/proto/textprop.pro, src/textprop.c,
5751 src/testdir/dumps/Test_textprop_01.dump
5752
5753Patch 8.2.0846
5754Problem: Build failure with small features.
5755Solution: Add #ifdef.
5756Files: src/undo.c
5757
5758Patch 8.2.0847
5759Problem: Typval related code is spread out.
5760Solution: Move code to new typval.c file. (Yegappan Lakshmanan, closes #6093)
5761Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
5762 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
5763 src/eval.c, src/evalfunc.c, src/globals.h, src/proto.h,
5764 src/proto/eval.pro, src/proto/evalfunc.pro, src/proto/typval.pro,
5765 src/typval.c
5766
5767Patch 8.2.0848
5768Problem: MS-Windows: the Windows terminal code has some flaws.
5769Solution: Do not redraw the right edge of the screen. Remove the background
5770 color trick. Flush the screen output buffer often. (Nobuhiro
5771 Takasaki, #5546)
5772Files: src/os_win32.c, src/proto/os_win32.pro, src/term.c
5773
5774Patch 8.2.0849
5775Problem: BeOS code is not maintained and probably unused.
5776Solution: Remove the BeOS code. (Emir Sarı, closes #5817)
5777Files: Filelist, src/Makefile, src/configure.ac, src/auto/configure,
5778 src/evalfunc.c, src/normal.c, src/os_beos.c, src/os_beos.h,
5779 src/os_beos.rsrc, src/os_unix.c, src/proto.h,
5780 src/proto/os_beos.pro, src/pty.c, src/screen.c, src/term.c,
5781 src/testdir/test_functions.vim, src/ui.c, src/vim.h
5782
5783Patch 8.2.0850
5784Problem: MS-Windows: exepath() works differently from cmd.exe.
5785Solution: Make exepath() work better on MS-Windows. (closes #6115)
5786Files: runtime/doc/eval.txt, src/os_win32.c,
5787 src/testdir/test_functions.vim
5788
5789Patch 8.2.0851 (after 8.2.0833)
5790Problem: Can't distinguish <M-a> from accented "a" in the GUI.
5791Solution: Use another way to make mapping <C-bslash> work. (closes #6163)
5792Files: src/gui.c, src/gui_gtk_x11.c, src/getchar.c
5793
5794Patch 8.2.0852
5795Problem: Cannot map CTRL-S on some systems.
5796Solution: Do not use CTRL-S for flow control.
5797Files: src/os_unix.c
5798
5799Patch 8.2.0853
5800Problem: ml_delete() often called with FALSE argument.
5801Solution: Use ml_delete_flags(x, ML_DEL_MESSAGE) when argument is TRUE.
5802Files: src/buffer.c, src/change.c, src/diff.c, src/evalbuffer.c,
5803 src/ex_cmds.c, src/ex_docmd.c, src/fileio.c, src/if_lua.c,
5804 src/if_mzsch.c, src/if_ruby.c, src/if_tcl.c, src/normal.c,
5805 src/popupmenu.c, src/popupwin.c, src/quickfix.c, src/spell.c,
5806 src/terminal.c, src/if_perl.xs, src/if_py_both.h, src/memline.c,
5807 src/proto/memline.pro
5808
5809Patch 8.2.0854
5810Problem: Xxd cannot show offset as a decimal number.
5811Solution: Add the "-d" flag. (Aapo Rantalainen, closes #5616)
5812Files: src/testdir/test_xxd.vim, src/xxd/xxd.c
5813
5814Patch 8.2.0855
5815Problem: GUI tests fail because the test doesn't use a modifier.
5816Solution: Add "\{xxx}" to be able to encode a modifier.
5817Files: runtime/doc/eval.txt, src/typval.c, src/misc2.c, src/vim.h,
5818 src/proto/misc2.pro, src/gui_mac.c, src/option.c, src/highlight.c,
5819 src/term.c, src/testdir/test_backspace_opt.vim,
5820 src/testdir/test_mapping.vim, src/testdir/test_messages.vim
5821
5822Patch 8.2.0856 (after 8.2.0852)
5823Problem: CTRL-S stops output.
5824Solution: Invert the IXON flag. (closes #6166)
5825Files: src/os_unix.c
5826
5827Patch 8.2.0857
5828Problem: GTK cell height can be a pixel too much.
5829Solution: Subtract 3 instead of 1 when rounding. (closes #6168)
5830Files: src/gui_gtk_x11.c
5831
5832Patch 8.2.0858
5833Problem: Not easy to require Lua modules.
5834Solution: Improve use of Lua path. (Prabir Shrestha, closes #6098)
5835Files: Filelist, src/if_lua.c, src/optionstr.c, src/proto/if_lua.pro,
5836 src/testdir/test_lua.vim,
5837 src/testdir/testluaplugin/lua/testluaplugin/hello.lua,
5838 src/testdir/testluaplugin/lua/testluaplugin/init.lua
5839
5840Patch 8.2.0859
5841Problem: No Turkish translation of the manual.
5842Solution: Add Turkish translations. (Emir Sarı, closes #5641)
5843Files: Filelist, runtime/doc/Makefile, runtime/doc/evim-tr.1,
5844 runtime/doc/evim-tr.UTF-8.1, runtime/doc/vim-tr.1,
5845 runtime/doc/vim-tr.UTF-8.1, runtime/doc/vimdiff-tr.1,
5846 runtime/doc/vimdiff-tr.UTF-8.1, runtime/doc/vimtutor-tr.1,
5847 runtime/doc/vimtutor-tr.UTF-8.1, src/Makefile
5848
5849Patch 8.2.0860
5850Problem: Cannot use CTRL-A and CTRL-X on unsigned numbers.
5851Solution: Add "unsigned" to 'nrformats'. (Naruhiko Nishino, closes #6144)
5852Files: runtime/doc/options.txt, src/ops.c, src/optionstr.c,
5853 src/testdir/test_increment.vim
5854
5855Patch 8.2.0861
5856Problem: Cannot easily get all the current marks.
5857Solution: Add getmarklist(). (Yegappan Lakshmanan, closes #6032)
5858Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
5859 src/mark.c, src/proto/mark.pro, src/testdir/test_marks.vim
5860
5861Patch 8.2.0862
5862Problem: ":term ++curwin" makes the current buffer hidden. (Harm te
5863 Hennepe)
5864Solution: Do not hide the current buffer. (closes #6170)
5865Files: src/terminal.c, src/testdir/test_terminal.vim
5866
5867Patch 8.2.0863
5868Problem: Cannot set a separate color for underline/undercurl.
5869Solution: Add the t_AU and t_8u termcap codes. (Timur Celik, closes #6011)
5870Files: runtime/doc/syntax.txt, runtime/doc/term.txt, src/globals.h,
5871 src/highlight.c, src/optiondefs.h, src/proto/term.pro,
5872 src/screen.c, src/structs.h, src/term.c, src/term.h,
5873 src/testdir/test_options.vim
5874
5875Patch 8.2.0864
5876Problem: Pragmas are indented all the way to the left.
5877Solution: Add an option to indent pragmas like normal code. (Max Rumpf,
5878 closes #5468)
5879Files: runtime/doc/indent.txt, src/cindent.c, src/structs.h,
5880 src/testdir/test_cindent.vim
5881
5882Patch 8.2.0865
5883Problem: Syntax foldlevel is taken from the start of the line.
5884Solution: Add ":syn foldlevel" to be able to use the minimal foldlevel in
5885 the line. (Brad King, closes #6087)
5886Files: runtime/doc/syntax.txt, src/structs.h, src/syntax.c,
5887 src/testdir/test_syntax.vim
5888
5889Patch 8.2.0866
5890Problem: Not enough tests for buffer writing.
5891Solution: Add more tests. Use CheckRunVimInTerminal in more places.
5892 (Yegappan Lakshmanan, closes #6167)
5893Files: src/testdir/test_arglist.vim, src/testdir/test_match.vim,
5894 src/testdir/test_messages.vim, src/testdir/test_netbeans.py,
5895 src/testdir/test_netbeans.vim, src/testdir/test_search.vim,
5896 src/testdir/test_signals.vim, src/testdir/test_signs.vim,
5897 src/testdir/test_startup.vim, src/testdir/test_startup_utf8.vim,
5898 src/testdir/test_syntax.vim, src/testdir/test_tabpage.vim,
5899 src/testdir/test_timers.vim, src/testdir/test_vimscript.vim,
5900 src/testdir/test_writefile.vim
5901
5902Patch 8.2.0867
5903Problem: Using \{xxx} for encoding a modifier is not nice.
5904Solution: Use \<*xxx> instead, since it's the same as \<xxx> but producing a
5905 different code.
5906Files: runtime/doc/eval.txt, src/typval.c, src/misc2.c, src/vim.h,
5907 src/testdir/test_backspace_opt.vim, src/testdir/test_mapping.vim,
5908 src/testdir/test_messages.vim
5909
5910Patch 8.2.0868
5911Problem: trim() always trims both ends.
5912Solution: Add an argument to only trim the beginning or end. (Yegappan
5913 Lakshmanan, closes #6126)
5914Files: runtime/doc/eval.txt, src/evalfunc.c,
5915 src/testdir/test_functions.vim
5916
5917Patch 8.2.0869
5918Problem: It is not possible to customize the quickfix window contents.
5919Solution: Add 'quickfixtextfunc'. (Yegappan Lakshmanan, closes #5465)
5920Files: runtime/doc/eval.txt, runtime/doc/options.txt,
5921 runtime/doc/quickfix.txt, src/option.h, src/optiondefs.h,
5922 src/quickfix.c, src/testdir/test_quickfix.vim
5923
5924Patch 8.2.0870
5925Problem: MS-Windows: Control keys don't work in the GUI.
5926Solution: Don't set seenModifyOtherKeys for now. (Yasuhiro Matsumoto,
5927 closes #6175)
5928Files: src/gui.c
5929
5930Patch 8.2.0871
5931Problem: Cannot use getmarklist() as a method.
5932Solution: Make getmarklist() work as a method. Add one to the column
5933 number to match getpos(). (Yegappan Lakshmanan, closes #6176)
5934Files: runtime/doc/eval.txt, src/evalfunc.c, src/mark.c,
5935 src/testdir/test_marks.vim
5936
5937Patch 8.2.0872
5938Problem: XIM code is mixed with multibyte code.
5939Solution: Move the XIM code to a separate file. (Yegappan Lakshmanan,
5940 closes #6177)
5941Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
5942 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/gui_xim.c,
5943 src/mbyte.c, src/proto.h, src/proto/gui_xim.pro,
5944 src/proto/mbyte.pro
5945
5946Patch 8.2.0873
5947Problem: A .jl file can be sawfish (lisp) or Julia.
5948Solution: Do not recognize *.jl as lisp, since it might be Julia.
5949 (closes #6178)
5950Files: runtime/filetype.vim, src/testdir/test_filetype.vim
5951
5952Patch 8.2.0874
5953Problem: Signals test is a bit flaky.
5954Solution: Flush the XautoOut file. Delete files that may be left behind
5955 from a failure. (Dominique Pellé, closes #6179)
5956Files: src/testdir/test_signals.vim
5957
5958Patch 8.2.0875
5959Problem: Getting attributes for directory entries is slow.
5960Solution: Add readdirex(). (Ken Takata, closes #5619)
5961Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00005962 src/fileio.c, src/filepath.c, src/proto/fileio.pro,
Bram Moolenaarc51cf032022-02-26 12:25:45 +00005963 src/proto/filepath.pro, src/testdir/test_functions.vim
5964
5965Patch 8.2.0876
5966Problem: :pwd does not give a hint about the scope of the directory
5967Solution: Make ":verbose pwd" show the scope. (Takuya Fujiwara, closes #5469)
5968Files: runtime/doc/editing.txt, src/ex_docmd.c, src/testdir/test_cd.vim
5969
5970Patch 8.2.0877
5971Problem: Cannot get the search statistics.
5972Solution: Add the searchcount() function. (Fujiwara Takuya, closes #4446)
5973Files: runtime/doc/eval.txt, src/evalfunc.c, src/macros.h,
5974 src/proto/search.pro, src/search.c,
5975 src/testdir/test_search_stat.vim
5976
5977Patch 8.2.0878
5978Problem: No reduce() function.
5979Solution: Add a reduce() function. (closes #5481)
5980Files: runtime/doc/eval.txt, src/evalfunc.c, src/globals.h, src/list.c,
5981 src/proto/list.pro, src/testdir/test_listdict.vim
5982
5983Patch 8.2.0879
5984Problem: Compiler warning for unused function argument.
5985Solution: Add UNUSED.
5986Files: src/search.c
5987
5988Patch 8.2.0880 (after 8.2.0877)
5989Problem: Leaking memory when using searchcount().
5990Solution: Free the last used search pattern.
5991Files: src/search.c
5992
5993Patch 8.2.0881
5994Problem: Compiler warning for argument type.
5995Solution: Add type cast. (Mike Williams)
5996Files: src/ops.c
5997
5998Patch 8.2.0882
5999Problem: Leaking memory when using reduce().
6000Solution: Free the intermediate value.
6001Files: src/list.c
6002
6003Patch 8.2.0883
6004Problem: Memory leak in test 49.
6005Solution: Free "sfile" from the exception.
6006Files: src/ex_docmd.c
6007
6008Patch 8.2.0884
6009Problem: Searchcount() test fails on slower systems.
6010Solution: Set a longer timeout.
6011Files: src/search.c, src/testdir/test_search_stat.vim
6012
6013Patch 8.2.0885
6014Problem: "make shadow" does not link new lua test dir.
6015Solution: Also link testdir/testluaplugin. (Elimar Riesebieter)
6016Files: src/Makefile
6017
6018Patch 8.2.0886
6019Problem: Cannot use octal numbers in scriptversion 4.
6020Solution: Add the "0o" notation. (Ken Takata, closes #5304)
6021Files: runtime/doc/eval.txt, src/charset.c, src/evalfunc.c,
6022 src/testdir/test_eval_stuff.vim, src/testdir/test_functions.vim,
6023 src/vim.h
6024
6025Patch 8.2.0887
6026Problem: Searchcount().exact_match is 1 right after a match.
6027Solution: Use LT_POS() instead of LTOREQ_POS(). (closes #6189)
6028Files: src/search.c, src/testdir/test_search_stat.vim
6029
6030Patch 8.2.0888
6031Problem: Readdirex() returns size -2 for a directory.
6032Solution: Add missing "else". (Ken Takata, closes #6185)
6033Files: src/fileio.c, src/testdir/test_functions.vim
6034
6035Patch 8.2.0889
6036Problem: Using old style comments.
6037Solution: Use // comments. (Yegappan Lakshmanan, closes #6190)
6038Files: src/gui_xim.c
6039
6040Patch 8.2.0890
6041Problem: No color in terminal window when 'termguicolors' is set.
6042Solution: Clear the underline color. (closes #6186)
6043Files: src/highlight.c
6044
6045Patch 8.2.0891
6046Problem: Clang warns for invalid conversion.
6047Solution: Use zero instead of INVALCOLOR.
6048Files: src/highlight.c
6049
6050Patch 8.2.0892
6051Problem: Ubsan warns for undefined behavior.
6052Solution: Use unsigned instead of signed variable. (Dominique Pellé,
6053 closes #6193)
6054Files: src/regexp_nfa.c
6055
6056Patch 8.2.0893
6057Problem: Assert_equalfile() does not take a third argument.
6058Solution: Implement the third argument. (Gary Johnson)
6059Files: runtime/doc/eval.txt, runtime/doc/testing.txt, src/evalfunc.c,
6060 src/testdir/test_assert.vim, src/testing.c
6061
6062Patch 8.2.0894
6063Problem: :mkspell can take very long if the word count is high.
6064Solution: Use long to avoid negative numbers. Increase the limits by 20% if
6065 the compression did not have effect.
6066Files: src/spellfile.c
6067
6068Patch 8.2.0895
6069Problem: :mkspell output does not mention the tree type.
6070Solution: Back out increasing the limits, it has no effect. Mention the
6071 tree being compressed. Only give a message once per second.
6072Files: src/spellfile.c
6073
6074Patch 8.2.0896
6075Problem: Crash when calling searchcount() with a string.
6076Solution: Check the argument is a dict. (closes #6192)
6077Files: src/search.c, src/testdir/test_search_stat.vim
6078
6079Patch 8.2.0897
6080Problem: List of functions in patched version is outdated.
6081Solution: Update the function lists only.
6082Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt
6083
6084Patch 8.2.0898
6085Problem: Missing help for a function goes unnoticed.
6086Solution: Add a test. (Gary Johnson)
6087Files: src/testdir/test_function_lists.vim, src/testdir/Make_all.mak
6088
6089Patch 8.2.0899
6090Problem: Assert_equalfile() does not give a hint about the difference.
6091Solution: Display the last seen text.
6092Files: src/testing.c, src/testdir/test_assert.vim
6093
6094Patch 8.2.0900
6095Problem: Function list test fails on MS-Windows.
6096Solution: Make sure the fileformat is "unix"
6097Files: src/testdir/test_function_lists.vim
6098
6099Patch 8.2.0901
6100Problem: Formatting CJK text isn't optimal.
6101Solution: Properly break CJK lines. (closes #3875)
6102Files: runtime/doc/change.txt, src/mbyte.c, src/ops.c, src/option.h,
6103 src/proto/mbyte.pro, src/testdir/Make_all.mak, src/textformat.c,
6104 src/testdir/test_cjk_linebreak.vim
6105
6106Patch 8.2.0902
6107Problem: Using searchcount() in 'statusline' causes an error.
6108Solution: Avoid saving/restoring the search pattern recursively.
6109 (closes #6194)
6110Files: src/search.c, src/testdir/test_search_stat.vim,
6111 src/testdir/dumps/Test_searchstat_4.dump
6112
6113Patch 8.2.0903
6114Problem: comparing WINVER does not work correctly.
6115Solution: Use arithmetic expansion. (Ozaki Kiichi, closes #6197)
6116Files: src/Make_cyg_ming.mak
6117
6118Patch 8.2.0904
6119Problem: Assuming modifyOtherKeys for rhs of mapping.
6120Solution: Ignore seenModifyOtherKeys for mapped characters. (closes #6200)
6121Files: src/getchar.c, src/testdir/test_gui.vim
6122
6123Patch 8.2.0905
6124Problem: Test coverage could be better.
6125Solution: Add a couple of tests. (Dominique Pellé, closes #6202)
6126Files: src/testdir/test_cmdline.vim, src/testdir/test_ga.vim
6127
6128Patch 8.2.0906
6129Problem: When setting 'termguicolors' SpellBad is no longer red.
6130Solution: Only use the RGB guisp color for cterm when using the "underline"
6131 or "undercurl" attributes to avoid the background color to be
6132 cleared. Also make t_8u empty when the termresponse indicates a
6133 real xterm. (closes #6207)
6134Files: src/highlight.c, src/term.c
6135
6136Patch 8.2.0907
6137Problem: When using :global clipboard isn't set correctly.
6138Solution: Set "clip_unnamed_saved" instead of "clip_unnamed". (Christian
6139 Brabandt, closes #6203, closes #6198)
6140Files: src/clipboard.c, src/testdir/test_global.vim
6141
6142Patch 8.2.0908
6143Problem: Crash when changing the function table while listing it.
6144Solution: Bail out when the function table changes. (closes #6209)
6145Files: src/userfunc.c, src/testdir/test_timers.vim
6146
6147Patch 8.2.0909
6148Problem: Cannot go back to the previous local directory.
6149Solution: Add "tcd -" and "lcd -". (Yegappan Lakshmanan, closes #4362)
6150Files: runtime/doc/editing.txt, src/filepath.c, src/ex_docmd.c,
6151 src/structs.h, src/testdir/test_cd.vim, src/window.c
6152
6153Patch 8.2.0910
6154Problem: Vim is not reproducibly buildable.
6155Solution: Use the $SOURCE_DATE_EPOCH environment variable in configure.
6156 (James McCoy, closes #513) Give a warning about using it.
6157Files: src/config.h.in, src/config.mk.in, src/configure.ac,
6158 src/auto/configure, src/version.c, src/Makefile
6159
6160Patch 8.2.0911
6161Problem: Crash when opening a buffer for the cmdline window fails. (Chris
6162 Barber)
6163Solution: Check do_ecmd() succeeds. Reset got_int if "q" was used at the
6164 more prompt. (closes #6211)
6165Files: src/ex_getln.c, src/testdir/test_cmdline.vim,
6166 src/testdir/dumps/Test_cmdwin_interrupted.dump
6167
6168Patch 8.2.0912
6169Problem: A few test cases for CJK formatting are disabled.
6170Solution: Fix the tests and enable them. (closes #6212)
6171Files: src/testdir/test_cjk_linebreak.vim
6172
6173Patch 8.2.0913
6174Problem: Code for resetting v:register is duplicated.
6175Solution: Add reset_reg_var().
6176Files: src/evalvars.c, src/proto/evalvars.pro, src/main.c, src/normal.c
6177
6178Patch 8.2.0914
6179Problem: MS-Windows: cannot specify a "modified by" text.
6180Solution: Add MODIFIED_BY in the MSVC build file. (Chen Lei, closes #1275)
6181Files: src/Make_mvc.mak
6182
6183Patch 8.2.0915
6184Problem: Search() cannot skip over matches like searchpair() can.
6185Solution: Add an optional "skip" argument. (Christian Brabandt, closes #861)
6186Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_syntax.vim,
6187 src/structs.h, src/evalvars.c, src/proto/evalvars.pro
6188
6189Patch 8.2.0916
6190Problem: Mapping with partly modifyOtherKeys code does not work.
6191Solution: If there is no mapping with a separate modifier include the
6192 modifier in the key and then try mapping again. (closes #6200)
6193Files: src/getchar.c, src/proto/getchar.pro, src/edit.c, src/term.c,
6194 src/proto/term.pro, src/testdir/test_termcodes.vim
6195
6196Patch 8.2.0917
6197Problem: Quickfix entries do not support a "note" type.
6198Solution: Add support for "note". (partly by Yegappan Lakshmanan,
6199 closes #5527, closes #6216)
6200Files: runtime/doc/quickfix.txt, src/quickfix.c,
6201 src/testdir/test_quickfix.vim
6202
6203Patch 8.2.0918
6204Problem: Duplicate code for evaluating expression argument.
6205Solution: Merge the code and make the use more flexible.
6206Files: src/evalfunc.c, src/eval.c, src/proto/eval.pro, src/evalvars.c,
6207 src/proto/evalvars.pro, src/structs.h
6208
6209Patch 8.2.0919
6210Problem: Merging modifier for modifyOtherKeys is done twice.
6211Solution: Remove the merging done in vgetc().
6212Files: src/getchar.c, src/ex_getln.c
6213
6214Patch 8.2.0920
6215Problem: Writing viminfo fails with a circular reference.
6216Solution: Use copyID to detect the cycle. (closes #6217)
6217Files: src/testdir/test_viminfo.vim, src/viminfo.c
6218
6219Patch 8.2.0921
6220Problem: CTRL-W T in cmdline window causes trouble.
6221Solution: Disallow CTRL-W T in the cmdline window. Add more tests.
6222 (Naruhiko Nishino, closes #6219)
6223Files: src/testdir/test_cmdline.vim, src/window.c
6224
6225Patch 8.2.0922
6226Problem: Search test fails.
6227Solution: Remove failure tests for calls that no longer fail.
6228Files: src/testdir/test_search.vim
6229
6230Patch 8.2.0923
6231Problem: Cmdline test is slow.
6232Solution: Use WaitForAssert().
6233Files: src/testdir/test_cmdline.vim
6234
6235Patch 8.2.0924
6236Problem: Cannot save and restore a register properly.
6237Solution: Add getreginfo() and make setreg() accept a dictionary. (Andy
6238 Massimino, closes #3370)
6239Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
6240 src/proto/register.pro, src/register.c,
6241 src/testdir/test_eval_stuff.vim, src/testdir/test_registers.vim
6242
6243Patch 8.2.0925
6244Problem: Getcompletion() does not return command line arguments.
6245Solution: Add the "cmdline" option. (Shougo, closes #1140)
6246Files: runtime/doc/eval.txt, src/cmdexpand.c,
6247 src/testdir/test_cmdline.vim
6248
6249Patch 8.2.0926
6250Problem: Cmdline test fails on Appveyor.
6251Solution: Add CR to the commands. (Naruhiko Nishino, closes #6220)
6252Files: src/testdir/test_cmdline.vim
6253
6254Patch 8.2.0927
6255Problem: Some sshconfig and ssdhconfig files are not recognized.
6256Solution: Add filetype patterns.
6257Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6258
6259Patch 8.2.0928
6260Problem: Many type casts are used for vim_strnsave().
6261Solution: Make the length argument size_t instead of int. (Ken Takata,
6262 closes #5633) Remove some type casts.
6263Files: src/misc2.c, src/proto/misc2.pro, src/autocmd.c, src/channel.c,
6264 src/cmdexpand.c, src/dict.c, src/diff.c, src/digraph.c,
6265 src/eval.c, src/evalfunc.c, src/highlight.c, src/syntax.c
6266
6267Patch 8.2.0929
6268Problem: v:register is not cleared after an operator was executed.
6269Solution: Clear v:register after finishing an operator (Andy Massimino,
6270 closes #5305)
6271Files: src/normal.c, src/testdir/test_registers.vim
6272
6273Patch 8.2.0930
6274Problem: Script filetype detection trips over env -S argument.
6275Solution: Remove "-S" and "--ignore-environment". (closes #5013)
6276 Add tests.
6277Files: runtime/scripts.vim, src/testdir/test_filetype.vim
6278
6279Patch 8.2.0931
6280Problem: Some remarks about BeOS remain.
6281Solution: Remove BeOS remarks from the help and other files. (Emir Sarı,
6282 closes #6221)
6283Files: READMEdir/README_extra.txt, runtime/doc/options.txt,
6284 runtime/doc/os_beos.txt, runtime/doc/os_vms.txt,
6285 runtime/doc/vi_diff.txt, src/INSTALL
6286
6287Patch 8.2.0932
6288Problem: Misspelling spelllang.
6289Solution: Add an "l". (Dominique Pellé)
6290Files: src/optionstr.c, src/proto/spell.pro, src/spell.c
6291
6292Patch 8.2.0933
6293Problem: 'quickfixtextfunc' does not get window ID of location list.
6294Solution: Add "winid" to the dict argument. (Yegappan Lakshmanan,
6295 closes #6222)
6296Files: runtime/doc/quickfix.txt, src/quickfix.c,
6297 src/testdir/test_quickfix.vim
6298
6299Patch 8.2.0934
6300Problem: Running lhelpgrep twice in a help window doesn't jump to the help
6301 topic.
6302Solution: Check whether any window with the location list is present.
6303 (Yegappan Lakshmanan, closes #6215)
6304Files: src/quickfix.c, src/testdir/test_quickfix.vim
6305
6306Patch 8.2.0935
6307Problem: Flattening a list with existing code is slow.
6308Solution: Add flatten(). (Mopp, closes #3676)
6309Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
6310 src/list.c, src/proto/list.pro, src/testdir/Make_all.mak,
6311 src/testdir/test_flatten.vim
6312
6313Patch 8.2.0936
6314Problem: Some terminals misinterpret the code for getting cursor style.
6315Solution: Send a sequence to the terminal and check the result. (IWAMOTO
6316 Kouichi, closes #2126) Merged with current code.
6317Files: src/main.c, src/term.c, src/proto/term.pro,
6318 src/testdir/term_util.vim, src/testdir/test_quickfix.vim,
6319 src/testdir/test_terminal.vim, src/testdir/test_startup_utf8.vim,
6320 src/testdir/dumps/Test_balloon_eval_term_01.dump,
6321 src/testdir/dumps/Test_balloon_eval_term_01a.dump,
6322 src/testdir/dumps/Test_balloon_eval_term_02.dump,
6323 src/testdir/dumps/Test_terminal_all_ansi_colors.dump
6324
6325Patch 8.2.0937
6326Problem: Asan failure in the flatten() test.
6327Solution: Free the flattened list.
6328Files: src/list.c
6329
6330Patch 8.2.0938
6331Problem: NFA regexp uses tolower() to compare ignore-case. (Thayne McCombs)
6332Solution: Use utf_fold() when possible. (ref. neovim #12456)
6333Files: src/macros.h, src/diff.c, src/regexp_nfa.c,
6334 src/testdir/test_regexp_utf8.vim
6335
6336Patch 8.2.0939
6337Problem: checking for term escape sequences is long and confusing
6338Solution: Refactor code into separate functions.
6339Files: src/term.c
6340
6341Patch 8.2.0940 (after 8.2.0939)
6342Problem: Build failure with tiny features.
6343Solution: Add #ifdef. Add UNUSED. A bit more cleaning up.
6344Files: src/term.c
6345
6346Patch 8.2.0941
6347Problem: Detecting terminal properties is unstructured.
6348Solution: Add a table with terminal properties. Set properties when a
6349 terminal is detected.
6350Files: src/term.c
6351
6352Patch 8.2.0942
6353Problem: Expanding to local dir after homedir keeps "~/".
6354Solution: Adjust modify_fname(). (Christian Brabandt, closes #6205,
6355 closes #5979)
6356Files: src/filepath.c, src/testdir/test_fnamemodify.vim
6357
6358Patch 8.2.0943
6359Problem: Displaying ^M or ^J depends on current buffer.
6360Solution: Pass the displayed buffer to transchar(). (closes #6225)
6361Files: src/drawline.c, src/charset.c, src/proto/charset.pro,
6362 src/ex_cmds.c, src/gui_beval.c, src/message.c,
6363 src/testdir/test_display.vim,
6364 src/testdir/dumps/Test_display_unprintable_01.dump,
6365 src/testdir/dumps/Test_display_unprintable_02.dump
6366
6367Patch 8.2.0944
6368Problem: Xxd test leaves file behind.
6369Solution: Delete the file "XXDfile". (Christian Brabandt, closes #6228)
6370Files: src/testdir/test_xxd.vim
6371
6372Patch 8.2.0945
6373Problem: Cannot use "z=" when 'spell' is off.
6374Solution: Make "z=" work even when 'spell' is off. (Christian Brabandt,
6375 Gary Johnson, closes #6227)
6376Files: runtime/doc/eval.txt, src/evalfunc.c, src/spell.c,
6377 src/spellsuggest.c, src/testdir/test_spell.vim, src/globals.h
6378
6379Patch 8.2.0946
6380Problem: Cannot use "q" to cancel a number prompt.
6381Solution: Recognize "q" instead of ignoring it.
6382Files: src/misc1.c, src/testdir/test_functions.vim
6383
6384Patch 8.2.0947
6385Problem: Readdirex() doesn't handle broken link properly.
6386Solution: Small fixes to readdirex(). (Christian Brabandt, closes #6226,
6387 closes #6213)
6388Files: src/fileio.c, src/testdir/test_functions.vim
6389
6390Patch 8.2.0948
6391Problem: Spell test fails.
6392Solution: Adjust expected text of the prompt.
6393Files: src/testdir/test_spell.vim
6394
6395Patch 8.2.0949
6396Problem: Strptime() does not use DST.
6397Solution: Set the tm_isdst field to -1. (Tomáš Janoušek, closes #6230)
6398Files: src/time.c, src/testdir/test_functions.vim
6399
6400Patch 8.2.0950
6401Problem: Tagjump test fails.
6402Solution: Adjust expected text of the prompt.
6403Files: src/testdir/test_tagjump.vim
6404
6405Patch 8.2.0951
6406Problem: Search stat test has leftover from debugging.
6407Solution: Remove line that writes a file. (Christian Brabandt, closes #6224)
6408Files: src/testdir/test_search_stat.vim
6409
6410Patch 8.2.0952
6411Problem: No simple way to interrupt Vim.
6412Solution: Add the SigUSR1 autocommand, triggered by SIGUSR1. (Jacob Hayes,
6413 closes #1718)
6414Files: runtime/doc/autocmd.txt, src/vim.h, src/autocmd.c, src/getchar.c,
6415 src/globals.h, src/os_unix.c, src/testdir/test_autocmd.vim
6416
6417Patch 8.2.0953
6418Problem: Spell checking doesn't work for CamelCased words.
6419Solution: Add the "camel" value in the new option 'spelloptions'.
6420 (closes #1235)
6421Files: runtime/doc/options.txt, runtime/doc/spell.txt, src/optiondefs.h,
6422 src/option.h, src/option.c, src/buffer.c, src/optionstr.c,
6423 src/testdir/gen_opt_test.vim, src/testdir/test_spell.vim
6424
6425Patch 8.2.0954
6426Problem: Not all desktop files are recognized.
6427Solution: Add the *.directory pattern. (Eisuke Kawashima, closes #3317)
6428Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6429
6430Patch 8.2.0955 (after 8.2.0953)
6431Problem: Build fails.
6432Solution: Add missing struct change.
6433Files: src/structs.h
6434
6435Patch 8.2.0956 (after 8.2.0953)
6436Problem: Spell test fails.
6437Solution: Add missing change the spell checking.
6438Files: src/spell.c
6439
6440Patch 8.2.0957
6441Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
6442Solution: Initialize one variable.
6443Files: src/spell.c
6444
6445Patch 8.2.0958
6446Problem: Not sufficient testing for buffer writing.
6447Solution: Add a few tests. (Yegappan Lakshmanan, closes #6238)
6448Files: src/testdir/test_backup.vim, src/testdir/test_writefile.vim
6449
6450Patch 8.2.0959
6451Problem: Using 'quickfixtextfunc' is a bit slow.
6452Solution: Process a list of entries. (Yegappan Lakshmanan, closes #6234)
6453Files: runtime/doc/quickfix.txt, src/quickfix.c,
6454 src/testdir/test_quickfix.vim
6455
6456Patch 8.2.0960
6457Problem: Cannot use :import in legacy Vim script.
6458Solution: Support :import in any Vim script.
6459Files: src/vim9script.c, src/evalvars.c, src/userfunc.c,
6460 src/testdir/test_vim9_script.vim
6461
6462Patch 8.2.0961
6463Problem: MS-Windows: no completion for locales.
6464Solution: Use the directories in $VIMRUNTIME/lang to complete locales.
6465 (Christian Brabandt, closes 36248)
6466Files: src/cmdexpand.c, src/ex_cmds2.c, src/testdir/test_cmdline.vim
6467
6468Patch 8.2.0962
6469Problem: Terminal test sometimes hangs on Travis.
6470Solution: Do show output for this test temporarily.
6471Files: src/testdir/Makefile
6472
6473Patch 8.2.0963
6474Problem: Number increment/decrement does not work with 'virtualedit'.
6475Solution: Handle coladd changing. (Christian Brabandt, closes #6240,
6476 closes #923)
6477Files: runtime/doc/options.txt, runtime/doc/various.txt, src/ops.c,
6478 src/testdir/test_increment.vim
6479
6480Patch 8.2.0964
6481Problem: TextYankPost does not provide info about Visual selection.
6482Solution: Add the 'visual' key in v:event. (closes #6249)
6483Files: runtime/doc/autocmd.txt, src/register.c,
6484 src/testdir/test_autocmd.vim
6485
6486Patch 8.2.0965
6487Problem: Has_funcundefined() is not used.
6488Solution: Delete the function. (Dominique Pellé, closes #6242)
6489Files: src/autocmd.c, src/proto/autocmd.pro
6490
6491Patch 8.2.0966
6492Problem: 'shortmess' flag "n" not used in two places.
6493Solution: Make use of the "n" flag consistent. (Nick Jensen, closes #6245,
6494 closes #6244)
6495Files: src/bufwrite.c, src/proto/bufwrite.pro, src/buffer.c,
6496 src/fileio.c, src/testdir/dumps/Test_popup_textprop_corn_5.dump,
6497 src/testdir/dumps/Test_start_with_tabs.dump
6498
6499Patch 8.2.0967
6500Problem: Unnecessary type casts for vim_strnsave().
6501Solution: Remove the type casts.
6502Files: src/evalvars.c, src/ex_cmds.c, src/ex_eval.c, src/fileio.c,
6503 src/filepath.c, src/findfile.c, src/highlight.c, src/if_ruby.c,
6504 src/insexpand.c, src/json.c, src/mark.c, src/memline.c,
6505 src/menu.c, src/misc1.c, src/ops.c, src/os_win32.c, src/regexp.c,
6506 src/regexp_bt.c, src/regexp_nfa.c, src/register.c, src/search.c,
6507 src/sign.c, src/syntax.c, src/term.c, src/terminal.c, src/undo.c,
6508 src/usercmd.c, src/userfunc.c, src/vim9compile.c, src/if_perl.xs
6509
6510Patch 8.2.0968
6511Problem: No proper testing of the 'cpoptions' flags.
6512Solution: Add tests. (Yegappan Lakshmanan, closes #6251)
6513Files: src/testdir/Make_all.mak, src/testdir/test_cpoptions.vim,
6514 src/testdir/test_edit.vim, src/testdir/test_normal.vim
6515
6516Patch 8.2.0969
6517Problem: Assert_equal() output for dicts is hard to figure out.
6518Solution: Only show the different items.
6519Files: src/testing.c, src/testdir/test_assert.vim
6520
6521Patch 8.2.0970
6522Problem: Terminal properties are not available in Vim script.
6523Solution: Add the terminalprops() function.
6524Files: src/term.c, src/proto/term.pro, src/evalfunc.c, src/main.c,
6525 src/testing.c, src/globals.h, src/testdir/test_termcodes.vim,
6526 runtime/doc/usr_41.txt, runtime/doc/eval.txt,
6527 runtime/doc/testing.txt
6528
6529Patch 8.2.0971
6530Problem: Build with tiny features fails.
6531Solution: Add #ifdef.
6532Files: src/term.c
6533
6534Patch 8.2.0972
6535Problem: Vim9 script variable declarations need a type.
6536Solution: Make "let var: type" declare a script-local variable.
6537Files: src/evalvars.c, src/vim9script.c, src/proto/vim9script.pro,
6538 src/globals.h, src/vim9compile.c, src/testdir/test_vim9_script.vim
6539
6540Patch 8.2.0973
6541Problem: Vim9: type is not checked when assigning to a script variable.
6542Solution: Check the type.
6543Files: src/evalvars.c, src/vim9script.c, src/proto/vim9script.pro,
6544 src/vim9compile.c, src/proto/vim9compile.pro,
6545 src/testdir/test_vim9_script.vim
6546
6547Patch 8.2.0974
6548Problem: Vim9: memory leak when script var has wrong type.
6549Solution: Free the variable name.
6550Files: src/vim9script.vim
6551
6552Patch 8.2.0975
6553Problem: Vim9: script variable does not accept optional s: prefix.
6554Solution: Adjust the accepted syntax.
6555Files: src/vim9script.c, src/testdir/test_vim9_script.vim
6556
6557Patch 8.2.0976
6558Problem: Some 'cpoptions' not tested.
6559Solution: Add more tests. (Yegappan Lakshmanan, closes #6253)
6560Files: src/testdir/test_cd.vim, src/testdir/test_charsearch.vim,
6561 src/testdir/test_cpoptions.vim, src/testdir/test_normal.vim
6562
6563Patch 8.2.0977
6564Problem: t_8u is made empty for the wrong terminals. (Dominique Pelle)
6565Solution: Invert the check for TPR_YES. (closes #6254)
6566Files: src/term.c, src/testdir/test_termcodes.vim
6567
6568Patch 8.2.0978
6569Problem: Leaking memory in termcodes test.
6570Solution: Set t_8u with set_option_value().
6571Files: src/term.c
6572
6573Patch 8.2.0979
6574Problem: A couple of screendump tests fail.
6575Solution: Do not redraw when clearing t_8u.
6576Files: src/term.c
6577
6578Patch 8.2.0980
6579Problem: Raku file extension not recognized. (Steven Penny)
6580Solution: Recognize .raku and .rakumod. (closes #6255)
6581Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6582
6583Patch 8.2.0981
6584Problem: Vim9: cannot compile "[var, var] = list".
6585Solution: Implement list assignment.
6586Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/evalvars.c,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00006587 src/proto/evalvars.pro, src/eval.c, src/testdir/test_vim9_script.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +00006588
6589Patch 8.2.0982
6590Problem: Insufficient testing for reading/writing files.
6591Solution: Add more tests. (Yegappan Lakshmanan, closes #6257)
6592 Add "ui_delay" to test_override() and use it for the CTRL-O test.
6593Files: src/testing.c, src/globals.h, src/ui.c, runtime/doc/testing.txt,
6594 src/testdir/test_autocmd.vim, src/testdir/test_edit.vim,
6595 src/testdir/test_filechanged.vim, src/testdir/test_writefile.vim
6596
6597Patch 8.2.0983
6598Problem: SConstruct file type not recognized.
6599Solution: Use python for SConstruct files. (Roland Hieber)
6600Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6601
6602Patch 8.2.0984
6603Problem: Not using previous window when closing a shell popup window.
6604Solution: Use "prevwin" if it was set. (closes #6267)
6605Files: src/popupwin.c, src/testdir/test_popupwin.vim
6606
6607Patch 8.2.0985
6608Problem: Simplify() does not remove slashes from "///path".
6609Solution: Reduce > 2 slashes to one. (closes #6263)
6610Files: src/findfile.c, src/testdir/test_functions.vim
6611
6612Patch 8.2.0986 (after 8.2.0985)
6613Problem: MS-Windows: functions test fails.
6614Solution: Only simplify ///path on Unix.
6615Files: src/testdir/test_functions.vim
6616
6617Patch 8.2.0987
6618Problem: Vim9: cannot assign to [var; var].
6619Solution: Assign rest of items to a list.
6620Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/list.c,
6621 src/proto/list.pro, src/eval.c, src/testdir/test_vim9_script.vim
6622
6623Patch 8.2.0988
6624Problem: Getting directory contents is always case sorted.
6625Solution: Add sort options and v:collate. (Christian Brabandt, closes #6229)
6626Files: runtime/doc/eval.txt, runtime/doc/mlang.txt, src/auto/configure,
6627 src/cmdexpand.c, src/config.h.in, src/configure.ac,
6628 src/evalfunc.c, src/evalvars.c, src/ex_cmds2.c, src/fileio.c,
6629 src/filepath.c, src/globals.h, src/proto/fileio.pro,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00006630 src/testdir/test_cmdline.vim, src/testdir/test_functions.vim,
Bram Moolenaarc51cf032022-02-26 12:25:45 +00006631 src/vim.h
6632
6633Patch 8.2.0989
6634Problem: Crash after resizing a terminal window. (August Masquelier)
6635Solution: Add check for valid row in libvterm. (closes #6273)
6636Files: src/libvterm/src/state.c, src/libvterm/src/screen.c
6637
6638Patch 8.2.0990 (after 8.2.0988)
6639Problem: Using duplicate error number.
6640Solution: Use an unused error number. Add a test for it.
6641Files: src/globals.h, src/testdir/test_functions.vim
6642
6643Patch 8.2.0991
6644Problem: Cannot get window type for autocmd and preview window.
6645Solution: Add types to win_gettype(). (Yegappan Lakshmanan, closes #6277)
6646Files: runtime/doc/eval.txt, src/evalwindow.c,
6647 src/testdir/test_autocmd.vim, src/testdir/test_preview.vim
6648
6649Patch 8.2.0992
6650Problem: Vim9: crash when using :import in the Vim command.
6651Solution: Give an error when using :import outside of a script.
6652 (closes #6271)
6653Files: src/vim9script.c, src/testdir/test_vim9_script.vim,
6654 src/testdir/term_util.vim
6655
6656Patch 8.2.0993
6657Problem: Vim9 script test fails with normal features.
6658Solution: Use :func instead of :def for now.
6659Files: src/testdir/test_vim9_script.vim
6660
6661Patch 8.2.0994
6662Problem: Vim9: missing function causes compilation error.
6663Solution: Call test function indirectly.
6664Files: src/testdir/test_vim9_script.vim
6665
6666Patch 8.2.0995
6667Problem: Insufficient testing for the readdir() sort option.
6668Solution: Add a few more tests. (Christian Brabandt, closes #6278)
6669Files: src/testdir/test_functions.vim
6670
6671Patch 8.2.0996
6672Problem: Using "aucmdwin" in win_gettype() is not ideal.
6673Solution: Rename to "autocmd".
6674Files: runtime/doc/eval.txt, src/evalwindow.c,
6675 src/testdir/test_autocmd.vim
6676
6677Patch 8.2.0997
6678Problem: Cannot execute a register containing line continuation.
6679Solution: Concatenate lines where needed. (Yegappan Lakshmanan,
6680 closes #6272)
6681Files: runtime/doc/repeat.txt, src/register.c,
6682 src/testdir/test_registers.vim
6683
6684Patch 8.2.0998
6685Problem: Not all tag code is tested.
6686Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #6284)
6687Files: src/testdir/test_tagjump.vim
6688
6689Patch 8.2.0999
6690Problem: Moving to next sentence gets stuck on quote.
6691Solution: When moving to the next sentence doesn't result in moving, advance
6692 a character and try again. (closes #6291)
6693Files: src/textobject.c, src/testdir/test_textobjects.vim
6694
6695Patch 8.2.1000
6696Problem: Get error when leaving Ex mode with :visual and a CmdLineEnter
6697 autocommand was used.
6698Solution: Reset ex_pressedreturn. (closes #6293)
6699Files: src/ex_docmd.c, src/testdir/test_ex_mode.vim
6700
6701Patch 8.2.1001
6702Problem: Vim9: crash with nested "if" and assignment.
6703Solution: Skip more of the assignment. Do not set ctx_skip when code is
6704 reachable.
6705Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
6706
6707Patch 8.2.1002
6708Problem: Test may fail when run directly.
6709Solution: Check if g:run_nr exists. (Christian Brabandt, closes #6285)
6710Files: src/testdir/term_util.vim
6711
6712Patch 8.2.1003
6713Problem: Vim9: return type of sort() is too generic.
6714Solution: Get type from the first argument. (closes #6292)
6715Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
6716
6717Patch 8.2.1004
6718Problem: Line numbers below filler lines not always updated.
6719Solution: Don't break out of the win_line() loop too early. (Christian
6720 Brabandt, closes #6294, closes #6138)
6721Files: src/drawline.c, src/testdir/dumps/Test_diff_rnu_01.dump,
6722 src/testdir/dumps/Test_diff_rnu_02.dump,
6723 src/testdir/dumps/Test_diff_rnu_03.dump,
6724 src/testdir/test_diffmode.vim
6725
6726Patch 8.2.1005
6727Problem: Vim9: using TRUE/FALSE/MAYBE for ctx_skip is confusing.
6728Solution: Use an enum value.
6729Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
6730
6731Patch 8.2.1006
6732Problem: Vim9: require unnecessary return statement.
6733Solution: Improve the use of the had_return flag. (closes #6270)
6734Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim,
6735 src/testdir/test_vim9_func.vim
6736
6737Patch 8.2.1007
6738Problem: Completion doesn't work after ":r ++arg !".
6739Solution: Skip over "++arg". (Christian Brabandt, closes #6275,
6740 closes #6258)
6741Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
6742
6743Patch 8.2.1008
6744Problem: Vim9: no test for disassembling newly added instructions.
6745Solution: Add a function and check disassembly.
6746Files: src/testdir/test_vim9_disassemble.vim
6747
6748Patch 8.2.1009
6749Problem: Vim9: some failures not checked for.
6750Solution: Add test cases. Remove unused code.
6751Files: src/testdir/test_vim9_script.vim, src/vim9execute.c
6752
6753Patch 8.2.1010
6754Problem: Build failure in libvterm with debug enabled. (John Little)
6755Solution: Use "->" instead of ".".
6756Files: src/libvterm/src/state.c
6757
6758Patch 8.2.1011
6759Problem: Vim9: some code not tested.
6760Solution: Add a few more test cases. Reorder checks for clearer error.
6761 Remove unreachable code.
6762Files: src/evalvars.c, src/vim9script.c, src/vim9execute.c,
6763 src/proto/vim9script.pro, src/testdir/test_vim9_script.vim,
6764 src/testdir/test_vim9_expr.vim
6765
6766Patch 8.2.1012
6767Problem: Vim9: cannot declare single character script variables.
6768Solution: Don't see "b:", "s:", etc. as namespace. Fix item size of
6769 sn_var_vals.
6770Files: src/vim9script.c, src/scriptfile.c,
6771 src/testdir/test_vim9_script.vim
6772
6773Patch 8.2.1013
6774Problem: Channel tests can be a bit flaky.
6775Solution: Set the g:test_is_flaky flag in SetUp().
6776Files: src/testdir/test_channel.vim
6777
6778Patch 8.2.1014
6779Problem: Using "name" for a string result is confusing.
6780Solution: Rename to "end".
6781Files: src/typval.c
6782
6783Patch 8.2.1015
6784Problem: Popup filter gets key with modifier prepended when using
6785 modifyOtherKeys.
6786Solution: Remove the shift modifier when it is included in the key, also
6787 when the Alt or Meta modifier is used.
6788Files: src/term.c, src/misc2.c, src/testdir/test_popupwin.vim
6789
6790Patch 8.2.1016
6791Problem: Vim9: test fails when channel feature is missing.
6792Solution: Process an :if command when skipping
6793Files: src/vim9compile.c
6794
6795Patch 8.2.1017
6796Problem: Appveyor output doesn't show MinGW console features.
6797Solution: List the features of the console build.
6798Files: ci/appveyor.bat
6799
6800Patch 8.2.1018
6801Problem: Typo in enum value. (James McCoy)
6802Solution: Fix the typo.
6803Files: src/vim9compile.c
6804
6805Patch 8.2.1019
6806Problem: Mapping <M-S-a> does not work in the GUI.
6807Solution: Move the logic to remove the shift modifier to
6808 may_remove_shift_modifier() and also use it in the GUI.
6809Files: src/gui_gtk_x11.c, src/misc2.c, src/proto/misc2.pro, src/term.c
6810
6811Patch 8.2.1020
6812Problem: Popupwin test fails in the GUI.
6813Solution: Send GUI byte sequence for <C-S-a>.
6814Files: src/testdir/test_popupwin.vim
6815
6816Patch 8.2.1021
6817Problem: Ruby interface not tested enough.
6818Solution: Add a couple more tests. (Dominique Pellé, closes #6301)
6819Files: src/testdir/test_ruby.vim
6820
6821Patch 8.2.1022
6822Problem: Various parts of code not covered by tests.
6823Solution: Add more tests. (Yegappan Lakshmanan, closes #6300)
6824Files: src/testdir/test_blob.vim, src/testdir/test_cpoptions.vim,
6825 src/testdir/test_digraph.vim, src/testdir/test_edit.vim,
6826 src/testdir/test_iminsert.vim, src/testdir/test_paste.vim,
6827 src/testdir/test_prompt_buffer.vim,
6828 src/testdir/test_selectmode.vim, src/testdir/test_tabpage.vim,
6829 src/testdir/test_tagjump.vim, src/testdir/test_textformat.vim,
6830 src/testdir/test_viminfo.vim, src/testdir/test_virtualedit.vim,
6831 src/testdir/test_visual.vim
6832
6833Patch 8.2.1023
6834Problem: Vim9: redefining a function uses a new index every time.
6835Solution: When redefining a function clear the contents and re-use the
6836 index.
6837Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
6838 src/structs.h, src/eval.c, src/evalvars.c, src/vim9execute.c
6839
6840Patch 8.2.1024
6841Problem: Vim9: no error for using "let g:var = val".
6842Solution: Add an error.
6843Files: src/evalvars.c, src/globals.h, src/structs.h, src/vim9compile.c,
6844 src/scriptfile.c, src/userfunc.c, src/testdir/test_vim9_script.vim,
6845 src/testdir/test_vim9_disassemble.vim,
6846 src/testdir/test_vim9_func.vim
6847
6848Patch 8.2.1025
6849Problem: Tabpage menu and tabline not sufficiently tested.
6850Solution: Add tests. (Yegappan Lakshmanan, closes #6307)
6851Files: src/testdir/test_digraph.vim, src/testdir/test_tabpage.vim
6852
6853Patch 8.2.1026
6854Problem: Vim9: cannot break the line after "->".
6855Solution: Check for a continuation line after "->", "[" and ".". Ignore
6856 trailing white space.
6857Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
6858
6859Patch 8.2.1027
6860Problem: GUI: multibyte characters do not work in a terminal.
6861Solution: Do not assume a key is one byte. (closes #6304)
6862Files: src/gui_gtk_x11.c, src/gui_x11.c
6863
6864Patch 8.2.1028
6865Problem: Vim9: no error for declaring buffer, window, etc. variable.
6866Solution: Give an error. Unify the error messages.
6867Files: src/evalvars.c, src/globals.h, src/vim9compile.c,
6868 src/proto/vim9compile.pro, src/testdir/test_vim9_expr.vim,
6869 src/testdir/test_vim9_script.vim
6870
6871Patch 8.2.1029
6872Problem: Vim9: cannot chain function calls with -> at line start.
6873Solution: Peek ahead for a following line starting with "->". (closes #6306)
6874Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
6875
6876Patch 8.2.1030
6877Problem: Reducing size of a terminal window may cause a crash.
6878Solution: Make sure the row and column don't become negative. (closes #6273)
6879Files: src/libvterm/src/state.c, src/libvterm/src/screen.c
6880
6881Patch 8.2.1031
6882Problem: Build failure with Perl5.32.
6883Solution: Define a few more functions. (Felix Yan, closes #6310)
6884Files: src/if_perl.xs
6885
6886Patch 8.2.1032
6887Problem: Error message for declaring a variable cannot be translated.
6888Solution: Enclose in _(). Make environment variable a separate message.
6889Files: src/globals.h, src/vim9compile.c
6890
6891Patch 8.2.1033
6892Problem: Not easy to read the test time in the test output.
6893Solution: Align the times. Make slow tests bold.
6894Files: src/testdir/runtest.vim
6895
6896Patch 8.2.1034
6897Problem: Compiler warning for uninitialized variables.
6898Solution: Add initializations. (John Marriott)
6899Files: src/vim9compile.c
6900
6901Patch 8.2.1035
6902Problem: setreg() does not always clear the register.
6903Solution: Clear the register if the dict argument is empty. (Andy Massimino,
6904 closes #3370)
6905Files: src/evalfunc.c, src/testdir/test_registers.vim
6906
6907Patch 8.2.1036
6908Problem: Popupwin test fails sometimes.
6909Solution: Use WaitForAssert() instead of a sleep.
6910Files: src/testdir/test_popupwin.vim
6911
6912Patch 8.2.1037
6913Problem: Vim9: crash when using line continuation inside :def.
6914Solution: Check for no more lines available.
6915Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
6916
6917Patch 8.2.1038
6918Problem: Popupwin test fails.
6919Solution: Fix WaitForAssert() argument.
6920Files: src/testdir/test_popupwin.vim
6921
6922Patch 8.2.1039
6923Problem: Cannot put NUL byte on clipboard.
6924Solution: Use the text length. (Christian Brabandt, closes #6312,
6925 closes #6149)
6926Files: src/winclip.c, src/testdir/test_registers.vim
6927
6928Patch 8.2.1040
6929Problem: Not enough testing for movement commands.
6930Solution: Add more tests. (Yegappan Lakshmanan, closes #6313)
6931Files: src/testdir/test_cursor_func.vim, src/testdir/test_functions.vim,
6932 src/testdir/test_gf.vim, src/testdir/test_normal.vim,
6933 src/testdir/test_options.vim, src/testdir/test_quickfix.vim
6934
6935Patch 8.2.1041
6936Problem: Test summary is missing executed count.
6937Solution: Adjust pattern used for counting.
6938Files: src/testdir/summarize.vim
6939
6940Patch 8.2.1042
6941Problem: Vim9: cannot put an operator on the next line.
6942Solution: Require a colon before a range to see if that causes problems.
6943Files: runtime/doc/vim9.txt, src/vim9compile.c, src/ex_docmd.c,
6944 src/globals.h, src/testdir/test_vim9_script.vim,
6945 src/testdir/test_vim9_expr.vim
6946
6947Patch 8.2.1043
6948Problem: %a item in 'statusline' not tested.
6949Solution: Add a test. (Dominique Pellé, closes #6318)
6950Files: src/testdir/test_statusline.vim
6951
6952Patch 8.2.1044
6953Problem: Not all systemd file types are recognized.
6954Solution: Match several more files. (Guido Cella, closes #6319)
6955Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6956
6957Patch 8.2.1045
6958Problem: Vim9: line break before operator does not work.
6959Solution: Peek the next line for an operator.
6960Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
6961
6962Patch 8.2.1046
6963Problem: Insufficient tests for src/buffer.c.
6964Solution: Add more tests. Move comments related tests to a separate file.
6965 (Yegappan Lakshmanan, closes #6325)
6966Files: src/testdir/Make_all.mak, src/testdir/test_buffer.vim,
6967 src/testdir/test_cmdline.vim, src/testdir/test_comments.vim,
6968 src/testdir/test_normal.vim, src/testdir/test_textformat.vim
6969
6970Patch 8.2.1047
6971Problem: Vim9: script cannot use line continuation like in a :def function.
6972Solution: Pass the getline function pointer to the eval() functions. Use it
6973 for addition and multiplication operators.
6974Files: src/vim.h, src/structs.h, src/globals.h, src/ex_eval.c,
6975 src/eval.c, src/proto/eval.pro, src/dict.c, src/evalfunc.c,
6976 src/evalvars.c, src/list.c, src/userfunc.c, src/scriptfile.c,
6977 src/proto/scriptfile.pro, src/testdir/test_vim9_expr.vim
6978
6979Patch 8.2.1048 (after 8.2.1047)
6980Problem: Build failure without the eval feature.
6981Solution: Add dummy typedef.
6982Files: src/structs.h
6983
6984Patch 8.2.1049 (after 8.2.1047)
6985Problem: Vim9: leaking memory when using continuation line.
6986Solution: Keep a pointer to the continuation line in evalarg_T. Centralize
6987 checking for a next command.
6988Files: src/structs.h, src/eval.c, src/proto/eval.pro, src/beval.c,
6989 src/buffer.c, src/clientserver.c, src/evalvars.c, src/ex_docmd.c,
6990 src/ex_eval.c, src/filepath.c, src/findfile.c, src/fold.c,
6991 src/globals.h, src/if_ole.cpp, src/if_perl.xs, src/if_tcl.c,
6992 src/map.c, src/quickfix.c, src/regexp.c, src/register.c,
6993 src/screen.c, src/userfunc.c
6994
6995Patch 8.2.1050 (after 8.2.1049)
6996Problem: Missing change in struct.
6997Solution: Add missing change.
6998Files: src/ex_cmds.h
6999
7000Patch 8.2.1051
7001Problem: Crash when changing a list while using reduce() on it.
7002Solution: Lock the list. (closes #6330)
7003Files: src/list.c, src/testdir/test_listdict.vim
7004
7005Patch 8.2.1052
7006Problem: Build failure with older compilers.
7007Solution: Move declaration to start of block.
7008Files: src/eval.c
7009
7010Patch 8.2.1053
7011Problem: Insufficient testing for 'statusline' and 'tabline'.
7012Solution: Add more tests. (Yegappan Lakshmanan, closes #6333)
7013Files: src/testdir/test_autocmd.vim, src/testdir/test_statusline.vim,
7014 src/testdir/test_tabline.vim
7015
7016Patch 8.2.1054
7017Problem: Not so easy to pass a lua function to Vim.
7018Solution: Convert a Lua function and closure to a Vim funcref. (Prabir
7019 Shrestha, closes #6246)
7020Files: runtime/doc/if_lua.txt, src/if_lua.c, src/proto/userfunc.pro,
7021 src/structs.h, src/testdir/test_lua.vim, src/userfunc.c
7022
7023Patch 8.2.1055
7024Problem: No filetype set for pacman config files.
7025Solution: Recognize pacman.conf and *.hook. (Guido Cella, closes #6335)
7026Files: runtime/filetype.vim, src/testdir/test_filetype.vim
7027
7028Patch 8.2.1056
7029Problem: Wrong display when mixing match conceal and syntax conceal.
7030Solution: Adjust how conceal flags are used. (closes #6327, closes #6303)
7031Files: src/drawline.c, src/highlight.c,
7032 src/testdir/test_matchadd_conceal.vim
7033
7034Patch 8.2.1057 (after 8.2.1054)
7035Problem: Cannot build with dynamic Lua.
7036Solution: Add dll variables.
7037Files: src/if_lua.c
7038
7039Patch 8.2.1058
7040Problem: Multiline conceal causes display errors.
7041Solution: Do not allow conceal cross over EOL. (closes #6326, closes #4854,
7042 closes #6302)
7043Files: src/drawline.c, src/testdir/test_conceal.vim,
7044 src/testdir/test_diffmode.vim
7045
7046Patch 8.2.1059
7047Problem: Crash when using :tabonly in an autocommand. (Yegappan Lakshmanan)
7048Solution: Do not allow the autocommand window to be closed.
7049Files: src/ex_docmd.c, src/window.c, src/globals.h,
7050 src/testdir/test_autocmd.vim
7051
7052Patch 8.2.1060
7053Problem: Not all elinks files are recognized.
7054Solution: Just check for "elinks.conf". (Guido Cella, closes #6337)
7055Files: runtime/filetype.vim, src/testdir/test_filetype.vim
7056
7057Patch 8.2.1061
7058Problem: Insufficient testing for src/window.c.
7059Solution: Add more tests. (Yegappan Lakshmanan, closes #6345)
7060Files: src/testdir/test_excmd.vim, src/testdir/test_gf.vim,
7061 src/testdir/test_options.vim, src/testdir/test_popupwin.vim,
7062 src/testdir/test_quickfix.vim, src/testdir/test_tabpage.vim,
7063 src/testdir/test_tagjump.vim, src/testdir/test_window_cmd.vim,
7064 src/window.c
7065
7066Patch 8.2.1062
7067Problem: Vim9: no line break allowed inside "cond ? val1 : val2".
7068Solution: Check for operator after line break.
7069Files: src/eval.c, src/testdir/test_vim9_expr.vim
7070
7071Patch 8.2.1063
7072Problem: Vim9: no line break allowed before || or &&.
7073Solution: Check for operator after line break.
7074Files: src/eval.c, src/testdir/test_vim9_expr.vim
7075
7076Patch 8.2.1064
7077Problem: Vim9: no line break allowed before comparators.
7078Solution: Check for comparator after line break.
7079Files: src/eval.c, src/testdir/test_vim9_expr.vim
7080
7081Patch 8.2.1065
7082Problem: Vim9: no line break allowed inside a list.
7083Solution: Handle line break inside a list in Vim9 script.
7084Files: src/eval.c, src/proto/eval.pro, src/list.c, src/proto/list.pro,
7085 src/vim9compile.c, src/testdir/test_vim9_expr.vim,
7086 src/testdir/test_arglist.vim
7087
7088Patch 8.2.1066
7089Problem: Lua arrays are zero based.
7090Solution: Make Lua arrays one based. (Prabir Shrestha, closes #6347)
7091 Note: this is not backwards compatible.
7092Files: runtime/doc/if_lua.txt, src/if_lua.c, src/testdir/test_lua.vim
7093
7094Patch 8.2.1067
7095Problem: Expression "!expr->func()" does not work.
7096Solution: Apply plus and minus earlier. (closes #6348)
7097Files: src/eval.c, src/proto/eval.pro, src/evalvars.c, src/userfunc.c,
7098 src/testdir/test_expr.vim, src/testdir/test_vim9_expr.vim
7099
7100Patch 8.2.1068
7101Problem: Vim9: no line break allowed inside a dict.
7102Solution: Handle line break inside a dict in Vim9 script.
7103Files: src/eval.c, src/dict.c, src/proto/dict.pro,
7104 src/vim9compile.c, src/testdir/test_vim9_expr.vim
7105
7106Patch 8.2.1069
7107Problem: Vim9: fail to check for white space in list.
7108Solution: Add check for white space.
7109Files: src/list.c
7110
7111Patch 8.2.1070
7112Problem: Vim9: leaking memory when lacking white space in dict.
7113Solution: Clear the typval.
7114Files: src/dict.c
7115
7116Patch 8.2.1071
7117Problem: Vim9: no line break allowed inside a lambda.
7118Solution: Handle line break inside a lambda in Vim9 script.
7119Files: src/eval.c, src/proto/eval.pro, src/evalvars.c, src/userfunc.c,
7120 src/proto/userfunc.pro, src/popupwin.c, src/vim9compile.c,
7121 src/ex_eval.c, src/globals.h, src/structs.h,
7122 src/testdir/test_vim9_expr.vim
7123
7124Patch 8.2.1072
7125Problem: Missing libvterm test.
7126Solution: Sync with libvterm revision 768.
7127Files: src/libvterm/src/state.c, src/libvterm/t/63screen_resize.test
7128
7129Patch 8.2.1073
7130Problem: Vim9: no line break allowed in () expression.
7131Solution: Skip a line break.
7132Files: src/eval.c, src/testdir/test_vim9_expr.vim
7133
7134Patch 8.2.1074
7135Problem: Vim9: no line break allowed after some operators.
7136Solution: Skip a line break after the operator. Add
7137 eval_may_get_next_line() to simplify checking for a line break.
7138Files: src/eval.c, src/proto/eval.pro, src/dict.c, src/list.c,
7139 src/userfunc.c, src/testdir/test_vim9_expr.vim
7140
7141Patch 8.2.1075
7142Problem: Vim9: no line break allowed in :echo expression.
7143Solution: Skip linebreak.
7144Files: src/eval.c, src/testdir/test_vim9_cmd.vim
7145
7146Patch 8.2.1076
7147Problem: Vim9: no line break allowed in :if expression.
7148Solution: Skip linebreak.
7149Files: src/eval.c, src/proto/eval.pro, src/evalvars.c,
7150 src/testdir/test_vim9_cmd.vim
7151
7152Patch 8.2.1077
7153Problem: No enough test coverage for highlighting.
7154Solution: Add more tests. (Yegappan Lakshmanan, closes #6351)
7155Files: runtime/doc/syntax.txt, src/testdir/test_cmdline.vim,
7156 src/testdir/test_highlight.vim, src/testdir/test_match.vim
7157
7158Patch 8.2.1078
7159Problem: Highlight and match functionality together in one file.
7160Solution: Move match functionality to a separate file. (Yegappan Lakshmanan,
7161 closes #6352)
7162Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
7163 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
7164 src/highlight.c, src/match.c, src/proto.h,
7165 src/proto/highlight.pro, src/proto/match.pro
7166
7167Patch 8.2.1079
7168Problem: Vim9: no line break allowed in a while loop.
7169Solution: Update stored loop lines when finding line breaks.
7170Files: src/structs.h, src/globals.h, src/eval.c, src/evalvars.c,
7171 src/ex_docmd.c, src/proto/ex_docmd.pro,
7172 src/testdir/test_vim9_cmd.vim
7173
7174Patch 8.2.1080
7175Problem: Vim9: no line break allowed in a for loop.
7176Solution: Skip line breaks in for command.
7177Files: src/eval.c, src/ex_eval.c, src/proto/eval.pro, src/userfunc.c,
7178 src/structs.h, src/globals.h, src/testdir/test_vim9_cmd.vim
7179
7180Patch 8.2.1081
7181Problem: Lua: cannot use table.insert() and table.remove().
7182Solution: Add the list functions. (Prabir Shrestha, closes #6353)
7183Files: runtime/doc/if_lua.txt, src/if_lua.c, src/testdir/test_lua.vim
7184
7185Patch 8.2.1082
7186Problem: Coverity complains about ignoring dict_add() return value.
7187Solution: Add (void).
7188Files: src/evalfunc.c
7189
7190Patch 8.2.1083
7191Problem: Crash when using reduce() on a NULL list.
7192Solution: Only access the list when not NULL.
7193Files: src/list.c, src/testdir/test_listdict.vim
7194
7195Patch 8.2.1084
7196Problem: Lua: registering function has useless code.
7197Solution: Remove clearing grow arrays.
7198Files: src/userfunc.c
7199
7200Patch 8.2.1085
7201Problem: Coverity complains about ignoring dict_add() return value.
7202Solution: Add (void).
7203Files: src/register.c
7204
7205Patch 8.2.1086
7206Problem: Possibly using freed memory when text properties used when
7207 changing indent of a line.
7208Solution: Compute the offset before calling ml_replace().
7209Files: src/indent.c
7210
7211Patch 8.2.1087
7212Problem: Possible memory leak when file expansion fails.
7213Solution: Clear the grow array when returning FAIL. Use an error message
7214 instead of an empty string.
7215Files: src/filepath.c
7216
7217Patch 8.2.1088
7218Problem: A very long translation might cause a buffer overflow.
7219Solution: Truncate the message if needed.
7220Files: src/fileio.c
7221
7222Patch 8.2.1089
7223Problem: Coverity warns for pointer computation.
7224Solution: Avoid computing a pointer to invalid memory.
7225Files: src/spellfile.c
7226
7227Patch 8.2.1090
7228Problem: May use NULL pointer when skipping over name.
7229Solution: Always set ll_name_end.
7230Files: src/eval.c
7231
7232Patch 8.2.1091
7233Problem: No check if opening a pty works.
7234Solution: Check for invalid file descriptor.
7235Files: src/os_unix.c
7236
7237Patch 8.2.1092
7238Problem: Not checking if saving for undo succeeds.
7239Solution: Bail out if u_savesub() returns FAIL.
7240Files: src/textprop.c
7241
7242Patch 8.2.1093
7243Problem: Python: double free when adding item to dict fails.
7244Solution: Remove vim_free() call.
7245Files: src/if_py_both.h
7246
7247Patch 8.2.1094
7248Problem: Dead code in libvterm.
7249Solution: Remove condition that is always true.
7250Files: src/libvterm/src/pen.c
7251
7252Patch 8.2.1095
7253Problem: May use pointer after freeing it when text properties are used.
7254Solution: Update redo buffer before calling ml_replace().
7255Files: src/spellsuggest.c
7256
7257Patch 8.2.1096
7258Problem: Vim9: return type of getqflist() is wrong.
7259Solution: Let the return type depend on the arguments. Also for
7260 getloclist(). (closes #6357)
7261Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7262
7263Patch 8.2.1097
7264Problem: Highlight code not sufficiently tested.
7265Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6359)
7266Files: src/testdir/test_filter_cmd.vim, src/testdir/test_highlight.vim
7267
7268Patch 8.2.1098
7269Problem: Vim9: cannot use line break in :throw argument.
7270Solution: Check for line break.
7271Files: src/eval.c, src/testdir/test_vim9_script.vim
7272
7273Patch 8.2.1099
7274Problem: Vim9: cannot use line break in :cexpr argument.
7275Solution: Check for line break.
7276Files: src/eval.c, src/testdir/test_vim9_script.vim
7277
7278Patch 8.2.1100
7279Problem: Vim9: cannot use line break in :execute, :echomsg and :echoerr
7280 argument.
7281Solution: Check for line break.
7282Files: src/eval.c, src/testdir/test_vim9_script.vim
7283
7284Patch 8.2.1101
7285Problem: No error when using wrong arguments for setqflist() or
7286 setloclist().
7287Solution: Check for the error.
7288Files: src/quickfix.c, src/testdir/test_quickfix.vim
7289
7290Patch 8.2.1102
7291Problem: Coverity gets confused by an unnecessary NULL check.
7292Solution: Remove the check for NULL.
7293Files: src/quickfix.c
7294
7295Patch 8.2.1103
7296Problem: Coverity reports an unnecessary NULL check.
7297Solution: Remove the check for NULL.
7298Files: src/eval.c
7299
7300Patch 8.2.1104
7301Problem: Coverity warns for possible NULL pointer use.
7302Solution: Check "pbyts" is not NULL.
7303Files: src/spellsuggest.c
7304
7305Patch 8.2.1105
7306Problem: Insufficient test coverage for Lua.
7307Solution: Add tests. (Yegappan Lakshmanan, closes #6368) Fix uncovered
7308 memory leak. Avoid unnecessary copy/free.
7309Files: src/if_lua.c, src/testdir/test_lua.vim
7310
7311Patch 8.2.1106
7312Problem: Crash when trying to use s: variable in typed command.
7313Solution: Don't use the script index when not set. (Ken Takata,
7314 closes #6366)
7315Files: src/vim9compile.c, src/testdir/test_vimscript.vim
7316
7317Patch 8.2.1107
7318Problem: 'imactivatefunc' and 'imstatusfunc' are not used in the GUI.
7319Solution: Adjust the #ifdefs. (closes #6367)
7320Files: runtime/doc/options.txt, src/gui_xim.c,
7321 src/testdir/test_iminsert.vim
7322
7323Patch 8.2.1108
7324Problem: Mouse left-right scroll is not supported in terminal window.
7325Solution: Implement mouse codes 6 and 7. (Trygve Aaberge, closes #6363)
7326Files: src/libvterm/src/mouse.c, src/mouse.c, src/terminal.c,
7327 src/testdir/mouse.vim, src/testdir/test_termcodes.vim
7328
7329Patch 8.2.1109 (after 8.2.1106)
7330Problem: Still crashing when using s:variable.
7331Solution: Remove assignment. (Ken Takata)
7332Files: src/vim9compile.c
7333
7334Patch 8.2.1110
7335Problem: Vim9: line continuation does not work in function arguments.
7336Solution: Pass "evalarg" to get_func_tv(). Fix seeing double quoted string
7337 as comment.
7338Files: src/userfunc.c, src/proto/userfunc.pro, src/eval.c, src/ex_eval.c,
7339 src/list.c, src/dict.c, src/proto/eval.pro,
7340 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim
7341
7342Patch 8.2.1111
7343Problem: Inconsistent naming of get_list_tv() and eval_dict().
7344Solution: Rename get_list_tv() to eval_list(). Similarly for eval_number(),
7345 eval_string(), eval_lit_string() and a few others.
7346Files: src/eval.c, src/list.c, src/proto/list.pro, src/vim9compile.c,
7347 src/typval.c, src/proto/typval.pro, src/vim9script.c,
7348 src/evalfunc.c, src/evalvars.c, src/proto/evalvars.pro,
7349 src/vim9execute.c
7350
7351Patch 8.2.1112
7352Problem: Vim9: no line continuation allowed in method call.
7353Solution: Handle line continuation in expression before method call.
7354Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim,
7355 src/testdir/test_vim9_script.vim,
7356 src/testdir/test_vim9_expr.vim
7357
7358Patch 8.2.1113
7359Problem: No test for verbose output of :call.
7360Solution: Add a test.
7361Files: src/testdir/test_user_func.vim
7362
7363Patch 8.2.1114
7364Problem: Terminal test sometimes times out.
7365Solution: Split the test in two parts.
7366Files: src/testdir/Makefile, src/testdir/Make_all.mak,
7367 src/testdir/term_util.vim, src/testdir/test_terminal.vim,
7368 src/testdir/test_terminal2.vim
7369
7370Patch 8.2.1115
7371Problem: Iminsert test fails when compiled with VIMDLL.
7372Solution: Change condition. (Ken Takata, closes #6376)
7373Files: src/testdir/test_iminsert.vim
7374
7375Patch 8.2.1116
7376Problem: Vim9: parsing command checks for list twice.
7377Solution: Adjust how a command is parsed.
7378Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
7379
7380Patch 8.2.1117
7381Problem: Coverity warns for using uninitialized field.
7382Solution: Initialize v_lock.
7383Files: src/if_lua.c
7384
7385Patch 8.2.1118
7386Problem: Condition can never be true, dead code.
7387Solution: Remove the dead code.
7388Files: src/move.c
7389
7390Patch 8.2.1119
7391Problem: Configure fails with Xcode 12 beta.
7392Solution: use "return" instead of "exit()". (Nico Weber, closes #6381)
7393Files: src/configure.ac, src/auto/configure
7394
7395Patch 8.2.1120
7396Problem: Python code not tested properly.
7397Solution: Add more tests and convert old-style test into new-style test.
7398 (Yegappan Lakshmanan, closes #6370)
7399Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
7400 src/testdir/test86.in, src/testdir/test86.ok,
7401 src/testdir/test_python2.vim
7402
7403Patch 8.2.1121
7404Problem: Command completion not working after ++arg.
7405Solution: Move skipping up. (Christian Brabandt, closes #6382)
7406Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
7407
7408Patch 8.2.1122
7409Problem: Vim9: line continuation in dict member not recognized.
7410Solution: Check for line continuation.
7411Files: src/eval.c, src/testdir/test_vim9_expr.vim
7412
7413Patch 8.2.1123
7414Problem: Python 3 test is old style.
7415Solution: Turn into new style test. (Yegappan Lakshmanan, closes #6385)
7416Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
7417 src/testdir/test87.in, src/testdir/test87.ok,
7418 src/testdir/test_python2.vim, src/testdir/test_python3.vim
7419
7420Patch 8.2.1124
7421Problem: Vim9: no line break allowed in :import command.
7422Solution: Skip over line breaks.
7423Files: src/vim9script.c, src/proto/vim9script.pro, src/vim9compile.c,
7424 src/testdir/test_vim9_script.vim
7425
7426Patch 8.2.1125
7427Problem: Vim9: double quote can be a string or a comment.
7428Solution: Only support comments starting with # to avoid confusion.
7429Files: src/eval.c, src/proto/eval.pro, src/dict.c, src/list.c,
7430 src/vim9script.c
7431
7432Patch 8.2.1126
7433Problem: Vim9: using :copen causes an error.
7434Solution: Add flag LET_NO_COMMAND in set_var().
7435Files: src/evalvars.c, src/testdir/test_vim9_script.vim
7436
7437Patch 8.2.1127
7438Problem: Vim9: getting a dict member may not work.
7439Solution: Clear the dict only after copying the item. (closes #6390)
7440Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
7441
7442Patch 8.2.1128
7443Problem: The write message mentions characters, but it's actually bytes.
7444Solution: Change "C" to "B" and "characters" to "bytes".
7445Files: runtime/doc/options.txt, src/fileio.c,
7446 src/testdir/test_cscope.vim, src/testdir/test_netbeans.vim,
7447 src/testdir/dumps/Test_diff_syntax_1.dump,
7448 src/testdir/dumps/Test_long_file_name_1.dump,
7449 src/testdir/dumps/Test_display_unprintable_01.dump,
7450 src/testdir/dumps/Test_tselect_1.dump
7451
7452Patch 8.2.1129
7453Problem: Vim9: bar not recognized after not compiled command.
7454Solution: Check for bar for commands where this is possible. (closes #6391)
7455Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
7456
7457Patch 8.2.1130
7458Problem: Vim9: bar not recognized after function call
7459Solution: Skip whitespace. (closes #6391)
7460Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
7461
7462Patch 8.2.1131
7463Problem: Vim9: error message for returning a value in a function that does
7464 not return anything is not clear.
7465Solution: Add a specific message.
7466Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
7467
7468Patch 8.2.1132
7469Problem: Vim9: return type of repeat() is not specific enough.
7470Solution: Return the type of the first argument. (closes #6395)
7471Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7472
7473Patch 8.2.1133
7474Problem: Vim9: return type of add() is not specific enough.
7475Solution: Return the type of the first argument. (closes #6395)
7476Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7477
7478Patch 8.2.1134
7479Problem: Vim9: getting a list member may not work.
7480Solution: Clear the list only after copying the item. (closes #6393)
7481Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
7482
7483Patch 8.2.1135
7484Problem: Vim9: getting a dict member may not work.
7485Solution: Clear the dict only after copying the item.
7486Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
7487
7488Patch 8.2.1136
7489Problem: Vim9: return type of argv() is always any.
7490Solution: Use list<string> if there is no argument.
7491Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7492
7493Patch 8.2.1137
7494Problem: Vim9: modifiers not cleared after compiling function.
7495Solution: Clear command modifiers. (closes #6396)
7496Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
7497 src/testdir/test_vim9_func.vim,
7498 src/testdir/dumps/Test_vim9_silent_echo.dump
7499
7500Patch 8.2.1138
7501Problem: Vim9: return type of copy() and deepcopy() is any.
7502Solution: Use type of the argument.
7503Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7504
7505Patch 8.2.1139 (after 8.2.1137)
7506Problem: Vim9: test for silent echo fails in some environments.
7507Solution: Use :function instead of :def.
7508Files: src/testdir/test_vim9_func.vim
7509
7510Patch 8.2.1140
7511Problem: Vim9: return type of extend() is any.
7512Solution: Use type of the argument.
7513Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7514
7515Patch 8.2.1141
7516Problem: Vim9: return type of filter() is any.
7517Solution: Use type of the argument.
7518Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7519
7520Patch 8.2.1142
7521Problem: Vim9: return type of insert() is any.
7522Solution: Use type of the first argument.
7523Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7524
7525Patch 8.2.1143
7526Problem: Vim9: return type of remove() is any.
7527Solution: Use the member type of the first argument, if known.
7528Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7529
7530Patch 8.2.1144
7531Problem: Vim9: return type of reverse() is any.
7532Solution: Use the type of the first argument.
7533Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7534
7535Patch 8.2.1145
7536Problem: Vim9: "for" only accepts a list at compile time.
7537Solution: Also accept a list at runtime.
7538Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
7539 src/testdir/test_vim9_disassemble.vim
7540
7541Patch 8.2.1146
7542Problem: Not enough testing for Python.
7543Solution: Add more tests. Fix uncovered problems. (Yegappan Lakshmanan,
7544 closes #6392)
7545Files: src/if_py_both.h, src/if_python3.c, src/testdir/shared.vim,
7546 src/testdir/test_python2.vim, src/testdir/test_python3.vim
7547
7548Patch 8.2.1147
7549Problem: :confirm may happen in cooked mode. (Jason Franklin)
7550Solution: Switch to raw mode before prompting. (Brandon Pfeifer)
7551Files: src/message.c, src/testdir/test_excmd.vim
7552
7553Patch 8.2.1148
7554Problem: Warning for using int instead of size_t.
7555Solution: Change "len" argument to size_t. (Mike Williams)
7556Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9script.c
7557
7558Patch 8.2.1149
7559Problem: Vim9: :eval command not handled properly.
7560Solution: Compile the :eval command. (closes #6408)
7561Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
7562
7563Patch 8.2.1150
7564Problem: ml_get error when using Python. (Yegappan Lakshmanan)
7565Solution: Check the line number is not out of range. Call "Check" with
7566 "fromObj" instead of "from".
7567Files: src/if_py_both.h, src/testdir/test_python2.vim,
7568 src/testdir/test_python3.vim
7569
7570Patch 8.2.1151
7571Problem: Insufficient test coverage for Python.
7572Solution: Add more test cases. (Yegappan Lakshmanan, closes #6415)
7573Files: src/testdir/test_python2.vim, src/testdir/test_python3.vim
7574
7575Patch 8.2.1152
7576Problem: Vim9: function reference is missing script prefix.
7577Solution: Use the actual function name instead of the name searched for in
7578 the script context. (closes #6412)
7579Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
7580
7581Patch 8.2.1153
7582Problem: Vim9: script test fails on some systems.
7583Solution: Return proper value from Compare().
7584Files: src/testdir/test_vim9_script.vim
7585
7586Patch 8.2.1154
7587Problem: Vim9: crash when using imported function.
7588Solution: Check for a function type. Set the script context when calling a
7589 function. (closes #6412)
7590Files: src/evalvars.c, src/scriptfile.c, src/proto/scriptfile.pro,
7591 src/vim9execute.c, src/structs.h, src/testdir/test_vim9_script.vim
7592
7593Patch 8.2.1155
7594Problem: Vim9: cannot handle line break inside lambda.
7595Solution: Pass the compilation context through. (closes #6407, closes #6409)
7596Files: src/structs.h, src/vim9compile.c, src/proto/vim9compile.pro,
7597 src/eval.c, src/testdir/test_vim9_func.vim
7598
7599Patch 8.2.1156
7600Problem: Vim9: No error for invalid command in compiled function.
7601Solution: Handle CMD_SIZE.
7602Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
7603
7604Patch 8.2.1157
7605Problem: Vim9: dict.name is not recognized as an expression.
7606Solution: Recognize ".name". (closes #6418)
7607Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
7608
7609Patch 8.2.1158 (after 8.2.1155)
7610Problem: Build error.
7611Solution: Add missing change to globals.
7612Files: src/globals.h
7613
7614Patch 8.2.1159
7615Problem: Vim9: no error for missing space after a comma.
7616Solution: Check for white space.
7617Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
7618 src/testdir/test_vim9_script.vim
7619
7620Patch 8.2.1160
7621Problem: Vim9: memory leak in allocated types.
7622Solution: Free the type pointers.
7623Files: src/vim9script.c, src/userfunc.c, src/vim9compile.c,
7624 src/proto/vim9compile.pro
7625
7626Patch 8.2.1161
7627Problem: Vim9: using freed memory.
7628Solution: Put pointer back in evalarg instead of freeing it.
7629Files: src/userfunc.c, src/vim9compile.c, src/eval.c, src/proto/eval.pro,
7630 src/structs.h
7631
7632Patch 8.2.1162
7633Problem: Crash when using a lambda.
7634Solution: Check for evalarg to be NULL.
7635Files: src/userfunc.c
7636
7637Patch 8.2.1163 (after 8.2.1161)
7638Problem: Build error.
7639Solution: Add missing change to globals.
7640Files: src/globals.h
7641
7642Patch 8.2.1164
7643Problem: Text cleared by checking terminal properties not redrawn. (Alexey
7644 Radkov)
7645Solution: Mark the screen characters as invalid. (closes #6422)
7646Files: src/screen.c, src/proto/screen.pro, src/term.c
7647
7648Patch 8.2.1165
7649Problem: Insufficient testing for the Tcl interface.
7650Solution: Add more tests. (Yegappan Lakshmanan, closes #6423)
7651Files: src/testdir/test_tcl.vim
7652
7653Patch 8.2.1166
7654Problem: Once mouse move events are enabled getchar() returns them.
7655Solution: Ignore K_MOUSEMOVE in getchar(). (closes #6424)
7656Files: runtime/doc/eval.txt, src/getchar.c
7657
7658Patch 8.2.1167
7659Problem: Vim9: builtin function method call only supports first argument.
7660Solution: Shift arguments when needed. (closes #6305, closes #6419)
7661Files: src/evalfunc.c, src/vim9compile.c, src/vim9execute.c,
7662 src/vim9.h, src/testdir/test_vim9_expr.vim,
7663 src/testdir/test_vim9_disassemble.vim
7664
7665Patch 8.2.1168
7666Problem: Wrong method argument for appendbufline().
7667Solution: Use FEARG_3.
7668Files: src/evalfunc.c
7669
7670Patch 8.2.1169
7671Problem: Write NUL past allocated space using corrupted spell file.
7672 (Markus Vervier)
7673Solution: Init "c" every time.
7674Files: src/spellfile.c
7675
7676Patch 8.2.1170
7677Problem: Cursor off by one with block paste while 'virtualedit' is "all".
7678Solution: Adjust condition. (Hugo Gualandi, closes #6430)
7679Files: src/register.c, src/testdir/test_registers.vim
7680
7681Patch 8.2.1171
7682Problem: Possible crash when out of memory.
7683Solution: Check for NULL pointer. (Dominique Pellé, closes #6432)
7684Files: src/syntax.c
7685
7686Patch 8.2.1172
7687Problem: Error messages when doing "make clean" in the runtime/doc or
7688 src/tee directories.
7689Solution: Use "rm -f".
7690Files: runtime/doc/Makefile, src/tee/Makefile
7691
7692Patch 8.2.1173
7693Problem: Tee doesn't build on some systems.
7694Solution: Include header files. (Dominique Pelle, closes #6431)
7695Files: src/tee/tee.c
7696
7697Patch 8.2.1174
7698Problem: No test for the "recording @x" message.
7699Solution: Add a test. (Dominique Pellé, closes #6427)
7700Files: src/testdir/test_registers.vim
7701
7702Patch 8.2.1175
7703Problem: Vim9: Cannot split a line before ".member".
7704Solution: Check for ".member" after line break.
7705Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
7706
7707Patch 8.2.1176
7708Problem: Vim9: not enough type checking in Vim9 script.
7709Solution: Use same type checking as in a :def function.
7710Files: src/vim9compile.c, src/proto/vim9compile.pro,
7711 src/eval.c, src/testdir/test_vim9_expr.vim
7712
7713Patch 8.2.1177
7714Problem: Terminal2 test sometimes hangs in the GUI.
7715Solution: Move some tests to other files to further locate the problem.
7716 Set the GUI to a fixed screen size.
7717Files: src/testdir/test_terminal.vim, src/testdir/test_terminal2.vim,
7718 src/testdir/test_terminal3.vim, src/testdir/Make_all.mak,
7719 src/testdir/runtest.vim
7720
7721Patch 8.2.1178
7722Problem: Vim9: filter function recognized as command modifier, leading to a
7723 crash.
7724Solution: Clear cmdmod after freeing items. Do not recognize a command
7725 modifier followed by non-white space. (closes #6434)
7726Files: src/ex_docmd.c, src/vim9compile.c, src/testdir/test_vim9_cmd.vim
7727
7728Patch 8.2.1179
7729Problem: Test_termwinscroll() sometimes hangs in the GUI.
7730Solution: Skip the test in the GUI.
7731Files: src/testdir/test_terminal2.vim
7732
7733Patch 8.2.1180
7734Problem: Build failure in small version.
7735Solution: Add #ifdef.
7736Files: src/ex_docmd.c
7737
7738Patch 8.2.1181
7739Problem: Json code not fully tested.
7740Solution: Add more test coverage. (Dominique Pellé, closes #6433)
7741Files: src/testdir/test_json.vim
7742
7743Patch 8.2.1182
7744Problem: Vim9: no check for whitespace after comma in lambda.
7745Solution: Give error if white space is missing.
7746Files: src/userfunc.c, src/testdir/test_vim9_expr.vim,
7747 src/testdir/test_vim9_func.vim
7748
7749Patch 8.2.1183
7750Problem: assert_fails() checks the last error message.
7751Solution: Check the first error, it is more relevant. Fix all the tests
7752 that rely on the old behavior.
7753Files: runtime/doc/testing.txt, src/message.c, src/globals.h,
7754 src/testing.c, src/testdir/test_autocmd.vim,
7755 src/testdir/test_buffer.vim, src/testdir/test_cd.vim,
7756 src/testdir/test_channel.vim, src/testdir/test_clientserver.vim,
7757 src/testdir/test_cmdline.vim, src/testdir/test_cpoptions.vim,
7758 src/testdir/test_cscope.vim, src/if_cscope.c,
7759 src/testdir/test_excmd.vim, src/evalvars.c,
7760 src/testdir/test_expr.vim, src/testdir/test_functions.vim,
7761 src/testdir/test_json.vim, src/testdir/test_let.vim,
7762 src/testdir/test_listdict.vim, src/testdir/test_listener.vim,
7763 src/testdir/test_match.vim, src/testdir/test_menu.vim,
7764 src/testdir/test_method.vim, src/testdir/test_normal.vim,
7765 src/testdir/test_popup.vim, src/testdir/test_python2.vim,
7766 src/testdir/test_python3.vim, src/testdir/test_quickfix.vim,
7767 src/testdir/test_random.vim, src/testdir/test_search.vim,
7768 src/testdir/test_signs.vim, src/testdir/test_spell.vim,
7769 src/testdir/test_substitute.vim, src/testdir/test_syntax.vim,
7770 src/testdir/test_tagjump.vim, src/testdir/test_taglist.vim,
7771 src/testdir/test_terminal.vim, src/testdir/test_textprop.vim,
7772 src/testdir/test_trycatch.vim,
7773 src/testdir/test_vim9_disassemble.vim,
7774 src/testdir/test_vim9_func.vim, src/vim9compile.c,
7775 src/testdir/test_vim9_script.vim, src/testdir/test_viminfo.vim,
7776 src/testdir/test_winbuf_close.vim,
7777 src/testdir/test_window_cmd.vim, src/testdir/test_writefile.vim,
7778 src/testdir/test_regexp_latin.vim, src/testdir/test_utf8.vim,
7779 src/testdir/test_global.vim, src/testdir/test_tagfunc.vim
7780
7781Patch 8.2.1184 (after 8.2.1183)
7782Problem: Some tests fail.
7783Solution: Adjust tests for different assert_fails() behavior. Remove unused
7784 variable.
7785Files: src/testdir/test_assert.vim, src/testdir/test_eval_stuff.vim,
7786 src/evalvars.c
7787
7788Patch 8.2.1185 (after 8.2.1183)
7789Problem: Some other tests fail.
7790Solution: Adjust tests for different assert_fails() behavior.
7791Files: src/testdir/test_lua.vim, src/testdir/test_tcl.vim
7792
7793Patch 8.2.1186
7794Problem: With SGR mouse codes balloon doesn't show up after click.
7795Solution: Add the MOUSE_RELEASE bits to mouse_code.
7796Files: src/mouse.c
7797
7798Patch 8.2.1187
7799Problem: Terminal2 test sometimes hangs in the GUI on Travis.
7800Solution: Disable Test_zz2_terminal_guioptions_bang() for now.
7801Files: src/testdir/test_terminal2.vim
7802
7803Patch 8.2.1188
7804Problem: Memory leak with invalid json input.
7805Solution: Free all keys at the end. (Dominique Pellé, closes #6443,
7806 closes #6442)
7807Files: src/json.c, src/testdir/test_json.vim
7808
7809Patch 8.2.1189
7810Problem: Vim9: line continuation in lambda doesn't always work.
7811Solution: Do not use a local evalarg unless there isn't one. (closes #6439)
7812Files: src/eval.c, src/testdir/test_vim9_expr.vim
7813
7814Patch 8.2.1190
7815Problem: Vim9: checking for Vim9 syntax is spread out.
7816Solution: Use in_vim9script().
7817Files: src/vim9script.c, src/dict.c, src/eval.c, src/evalvars.c,
7818 src/ex_docmd.c, src/list.c, src/scriptfile.c, src/userfunc.c
7819
7820Patch 8.2.1191
7821Problem: Vim9: crash when function calls itself.
7822Solution: Add status UF_COMPILING. (closes #6441)
7823Files: src/structs.h, src/vim9compile.c, src/testdir/test_vim9_func.vim
7824
7825Patch 8.2.1192
7826Problem: Lua test fails with older Lua version.
7827Solution: Adjust expected error messages. (closes #6444)
7828Files: src/testdir/test_lua.vim
7829
7830Patch 8.2.1193
7831Problem: Terminal window not redrawn when dragging a popup window over it.
7832Solution: Redraw terminal window. (fixes #6438)
7833Files: src/popupwin.c, src/testdir/test_popupwin.vim,
7834 src/testdir/dumps/Test_popupwin_term_01.dump,
7835 src/testdir/dumps/Test_popupwin_term_02.dump
7836
7837Patch 8.2.1194
7838Problem: Test failure because shell prompt differs.
7839Solution: Set the shell prompt.
7840Files: src/testdir/test_popupwin.vim,
7841 src/testdir/dumps/Test_popupwin_term_01.dump,
7842 src/testdir/dumps/Test_popupwin_term_02.dump
7843
7844Patch 8.2.1195
7845Problem: Clientserver test fails on MS-Windows.
7846Solution: Expect a different error message.
7847Files: src/testdir/test_clientserver.vim
7848
7849Patch 8.2.1196
7850Problem: Build failure with normal features.
7851Solution: Add #ifdef.
7852Files: src/popupwin.c
7853
7854Patch 8.2.1197
7855Problem: Clientserver test still fails on MS-Windows.
7856Solution: Expect a different error message.
7857Files: src/testdir/test_clientserver.vim
7858
7859Patch 8.2.1198
7860Problem: Terminal2 test sometimes hangs in the GUI on Travis.
7861Solution: Move test function to terminal3 to see if the problem moves too.
7862Files: src/testdir/test_terminal2.vim, src/testdir/test_terminal3.vim
7863
7864Patch 8.2.1199
7865Problem: Not all assert functions are fully tested.
7866Solution: Test more assert functions.
7867Files: src/testing.c, src/testdir/test_assert.vim
7868
7869Patch 8.2.1200
7870Problem: Vim9: cannot disassemble a lambda function.
7871Solution: Recognize "<lambda>123" as a function name.
7872Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim
7873
7874Patch 8.2.1201
7875Problem: Vim9: crash when passing number as dict key.
7876Solution: Check key type to be string. (closes #6449)
7877Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
7878
7879Patch 8.2.1202
7880Problem: Vim9: crash when calling a closure from a builtin function.
7881Solution: Use the current execution context. (closes #6441)
7882Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
7883
7884Patch 8.2.1203
7885Problem: Unused assignments in expression evaluation.
7886Solution: Move declarations and assignments to inner blocks where possible.
7887Files: src/eval.c
7888
7889Patch 8.2.1204
7890Problem: Vim9: true and false not recognized in Vim9 script.
7891Solution: Recognize true and false.
7892Files: src/eval.c, src/testdir/test_vim9_expr.vim
7893
7894Patch 8.2.1205
7895Problem: Vim9: && and || work differently when not compiled.
7896Solution: Keep the value.
7897Files: src/eval.c, src/testdir/test_vim9_expr.vim
7898
7899Patch 8.2.1206
7900Problem: Vim9: crash in expr test when run in the GUI.
7901Solution: Temporarily comment out two test lines.
7902Files: src/testdir/test_vim9_expr.vim
7903
7904Patch 8.2.1207
7905Problem: Vim9: crash in expr test when run in the GUI.
7906Solution: Break out of loop over hashtab also when function got removed and
7907 added.
7908Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
7909
7910Patch 8.2.1208
7911Problem: Build failure.
7912Solution: Add missing change.
7913Files: src/structs.h
7914
7915Patch 8.2.1209
7916Problem: Vim9: test failure.
7917Solution: Add missing changes to hashtab.
7918Files: src/hashtab.c
7919
7920Patch 8.2.1210
7921Problem: Using ht_used when looping through a hashtab is less reliable.
7922Solution: Use ht_changed in a few more places.
7923Files: src/userfunc.c, src/if_py_both.h
7924
7925Patch 8.2.1211 (after 8.2.1118)
7926Problem: Removed more than dead code.
7927Solution: Put back the decrement.
7928Files: src/move.c, src/testdir/test_diffmode.vim
7929
7930Patch 8.2.1212
7931Problem: Cannot build with Lua 5.4.
7932Solution: Use luaL_typeerror instead defining it. (closes #6454)
7933Files: src/if_lua.c
7934
7935Patch 8.2.1213
7936Problem: Mouse codes not tested sufficiently.
7937Solution: Add more tests for mouse codes. (closes #6436)
7938Files: src/testdir/test_termcodes.vim
7939
7940Patch 8.2.1214
7941Problem: MS-Windows: default _vimrc not correct in silent install mode.
7942Solution: Add the LoadDefaultVimrc macro. (Ken Takata, closes #6451)
7943Files: nsis/gvim.nsi
7944
7945Patch 8.2.1215
7946Problem: Atari MiNT support is outdated.
7947Solution: Nobody responded this code is still useful, so let's delete it.
7948Files: Filelist, src/os_mint.h, src/vim.h, src/Make_mint.mak,
7949 src/digraph.c, src/fileio.c, src/memfile.c, src/os_unix.c,
7950 src/term.c, READMEdir/README_extra.txt, runtime/doc/os_mint.txt,
7951 src/INSTALL
7952
7953Patch 8.2.1216
7954Problem: Startup test fails.
7955Solution: Adjust expected values for deleted lines.
7956Files: src/testdir/test_startup.vim
7957
7958Patch 8.2.1217
7959Problem: Startup test depends on random source file.
7960Solution: Write a test file to find quickfix errors in.
7961Files: src/testdir/test_startup.vim
7962
7963Patch 8.2.1218
7964Problem: Vim9: cannot use 'text'->func().
7965Solution: Recognize string at start of command.
7966Files: src/vim9compile.c, src/ex_docmd.c, src/testdir/test_vim9_func.vim
7967
7968Patch 8.2.1219
7969Problem: Symlink not followed if dirname ends in //.
7970Solution: Resolve symlink earlier. (Tomáš Janoušek, closes #6454)
7971Files: src/memline.c, src/testdir/test_swap.vim
7972
7973Patch 8.2.1220
7974Problem: memory access error when dragging a popup window over a buffer
7975 with folding.
7976Solution: Avoid going over the end of the cache. (closes #6438)
7977Files: src/mouse.c, src/testdir/test_popupwin.vim,
7978 src/testdir/dumps/Test_popupwin_term_01.dump,
7979 src/testdir/dumps/Test_popupwin_term_02.dump,
7980 src/testdir/dumps/Test_popupwin_term_03.dump,
7981 src/testdir/dumps/Test_popupwin_term_04.dump
7982
7983Patch 8.2.1221
7984Problem: Memory leak when updating popup window.
7985Solution: Clear search highlighting.
7986Files: src/popupwin.c
7987
7988Patch 8.2.1222
7989Problem: When using valgrind a Vim command started by a test uses the same
7990 log file name which gets overwritten.
7991Solution: Fix regexp to rename the log file.
7992Files: src/testdir/shared.vim
7993
7994Patch 8.2.1223
7995Problem: Vim9: invalid type error for function default value.
7996Solution: Use right argument index. (closes #6458)
7997Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
7998
7999Patch 8.2.1224
8000Problem: Vim9: arguments from partial are not used.
8001Solution: Put the partial arguments on the stack. (closes #6460)
8002Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
8003
8004Patch 8.2.1225
8005Problem: Linker errors when building with dynamic Python 3.9.
8006Solution: Add #defined items. (closes #6461)
8007Files: src/if_python3.c
8008
8009Patch 8.2.1226
8010Problem: MS-Windows: windows positioning wrong when the taskbar is placed
8011 at the top or left of the screen.
8012Solution: Use GetWindowRect and MoveWindow APIs. (Yukihiro Nakadaira,
8013 Ken Takata, closes #6455)
8014Files: src/gui_w32.c
8015
8016Patch 8.2.1227
8017Problem: Vim9: allowing both quoted and # comments is confusing.
8018Solution: Only support # comments in Vim9 script.
8019Files: runtime/doc/vim9.txt, src/ex_docmd.c, src/proto/ex_docmd.pro,
8020 src/vim9compile.c, src/testdir/test_vim9_disassemble.vim,
8021 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
8022 src/testdir/test_vim9_script.vim
8023
8024Patch 8.2.1228
8025Problem: Scrollbars not flush against the window edges when maximised.
8026Solution: Add padding. (Ken Takata, closes #5602, closes #6466)
8027Files: src/gui.c, src/gui_athena.c, src/gui_gtk.c, src/gui_haiku.cc,
8028 src/gui_mac.c, src/gui_motif.c, src/gui_photon.c, src/gui_w32.c,
8029 src/proto/gui_athena.pro, src/proto/gui_gtk.pro,
8030 src/proto/gui_haiku.pro, src/proto/gui_mac.pro,
8031 src/proto/gui_motif.pro, src/proto/gui_photon.pro,
8032 src/proto/gui_w32.pro
8033
8034Patch 8.2.1229
8035Problem: Build error without the eval feature.
8036Solution: Declare starts_with_colon. Make function local.
8037Files: src/ex_docmd.c, src/proto/ex_docmd.pro
8038
8039Patch 8.2.1230
8040Problem: Vim9: list index error not caught by try/catch.
8041Solution: Do not bail out if an error is inside try/catch. (closes #6462)
8042Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
8043
8044Patch 8.2.1231
8045Problem: MS-Windows: GUI code can be cleaned up.
8046Solution: Do a bit of cleaning up. (Ken Takata, closes #6465)
8047Files: src/gui_w32.c, src/proto/gui_w32.pro
8048
8049Patch 8.2.1232
8050Problem: MS-Windows GUI: Snap cancelled by split command.
8051Solution: Do not cancel Snap when splitting a window. (Ken Takata,
8052 closes #6467)
8053Files: src/gui_w32.c
8054
8055Patch 8.2.1233
8056Problem: Vim9: various errors not caught by try/catch.
8057Solution: Do not bail out if an error is inside try/catch.
8058Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
8059
8060Patch 8.2.1234
8061Problem: Lua build problem with old compiler.
8062Solution: Move declarations to start of the block. (Taro Muraoka,
8063 closes #6477)
8064Files: src/if_lua.c
8065
8066Patch 8.2.1235
8067Problem: Not all mouse codes covered by tests.
8068Solution: Add more tests for the mouse. (Yegappan Lakshmanan, closes #6472)
8069Files: src/testdir/mouse.vim, src/testdir/test_termcodes.vim
8070
8071Patch 8.2.1236
8072Problem: Vim9: a few errors not caught by try/catch.
8073Solution: Do not bail out if an error is inside try/catch. Fix that a not
8074 matching catch doesn't jump to :endtry.
8075Files: src/vim9compile.c, src/vim9execute.c,
8076 src/testdir/test_vim9_script.vim
8077
8078Patch 8.2.1237
8079Problem: Changing 'completepopup' after opening a popup has no effect. (Jay
8080 Sitter)
8081Solution: Close the popup when the options are changed. (closes #6471)
8082Files: runtime/doc/options.txt, src/popupwin.c, src/proto/popupwin.pro,
8083 src/optionstr.c, src/testdir/test_popupwin.vim,
8084 src/testdir/dumps/Test_popupwin_infopopup_8.dump
8085
8086Patch 8.2.1238
8087Problem: Vim9: a few remaining errors not caught by try/catch.
8088Solution: Do not bail out if an error is inside try/catch.
8089Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
8090
8091Patch 8.2.1239
8092Problem: "maxwidth" in 'completepopup' not obeyed. (Jay Sitter)
8093Solution: Add separate field for value from option. (closes #6470)
8094Files: src/structs.h, src/popupwin.c, src/popupmenu.c,
8095 src/testdir/dumps/Test_popupwin_infopopup_9.dump
8096
8097Patch 8.2.1240
8098Problem: GUI tests sometimes fail because of translations.
8099Solution: Reload the menus without translation. (Taro Muraoka, closes #6486)
8100Files: src/testdir/runtest.vim
8101
8102Patch 8.2.1241
8103Problem: Cannot use getbufinfo() as a method.
8104Solution: Support using getbufinfo() as a method. (closes #6458)
8105Files: runtime/doc/eval.txt, src/evalfunc.c,
8106 src/testdir/test_bufwintabinfo.vim
8107
8108Patch 8.2.1242
8109Problem: Vim9: no error if calling a function with wrong argument type.
8110Solution: Check types of arguments. (closes #6469)
8111Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9execute.c,
8112 src/testdir/test_vim9_func.vim
8113
8114Patch 8.2.1243
8115Problem: Vim9: cannot have a comment or empty line halfway a list at script
8116 level.
8117Solution: Skip more than one line if needed.
8118Files: src/vim9compile.c, src/proto/vim9compile.pro, src/eval.c,
8119 src/scriptfile.c
8120
8121Patch 8.2.1244
8122Problem: Vim9: in lambda index assumes a list.
8123Solution: Use the value type to decide about list or dict. (closes #6479)
8124Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8125
8126Patch 8.2.1245
8127Problem: Build failure in tiny version.
8128Solution: Add #ifdef.
8129Files: src/scriptfile.c
8130
8131Patch 8.2.1246
8132Problem: Vim9: comment after assignment doesn't work.
8133Solution: Skip over white space. (closes #6481)
8134Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8135
8136Patch 8.2.1247
8137Problem: Vim9: cannot index a character in a string.
8138Solution: Add ISN_STRINDEX instruction. (closes #6478)
8139Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
8140 src/testdir/test_vim9_expr.vim
8141
8142Patch 8.2.1248
8143Problem: Netbeans test is flaky in the GUI.
8144Solution: Filter out geometry messages. (Taro Muraoka, closes #6487)
8145Files: src/testdir/test_netbeans.vim
8146
8147Patch 8.2.1249
8148Problem: Vim9: disassemble test fails.
8149Solution: Change INDEX to LISTINDEX. Add test for STRINDEX.
8150Files: src/testdir/test_vim9_disassemble.vim
8151
8152Patch 8.2.1250
8153Problem: Vim9: cannot use the g:, b:, t: and w: namespaces.
8154Solution: Add instructions to push a dict for the namespaces. (closes #6480)
8155Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
8156 src/testdir/test_vim9_disassemble.vim,
8157 src/testdir/test_vim9_expr.vim
8158
8159Patch 8.2.1251
8160Problem: Vim9: warning for pointer usage, test failure undetected.
8161Solution: Fix pointer indirection. Give error when executing function
8162 failed for any reason. Fix instruction names.
8163Files: src/vim9execute.c, src/userfunc.c, src/proto/userfunc.pro
8164
8165Patch 8.2.1252
8166Problem: ":marks" may show '< and '> mixed up.
8167Solution: Show the mark position as where '< and '> would jump.
8168Files: src/mark.c, src/testdir/test_marks.vim
8169
8170Patch 8.2.1253
8171Problem: CTRL-K in Insert mode gets <CursorHold> inserted. (Roland
8172 Puntaier)
8173Solution: Do not reset did_cursorhold, restore it. (closes #6447)
8174Files: src/normal.c
8175
8176Patch 8.2.1254
8177Problem: MS-Windows: regexp test may fail if 'iskeyword' set wrongly.
8178Solution: Override the 'iskeyword' value. (Taro Muraoka, closes #6502)
8179Files: src/testdir/test_regexp_utf8.vim
8180
8181Patch 8.2.1255
8182Problem: Cannot use a lambda with quickfix functions.
8183Solution: Add support for lambda. (Yegappan Lakshmanan, closes #6499)
8184Files: runtime/doc/eval.txt, runtime/doc/options.txt,
8185 runtime/doc/quickfix.txt, src/channel.c, src/evalvars.c,
8186 src/optionstr.c, src/proto/evalvars.pro, src/proto/quickfix.pro,
8187 src/quickfix.c, src/testdir/test_quickfix.vim
8188
8189Patch 8.2.1256
8190Problem: Vim9: type wrong after getting dict item in lambda.
8191Solution: Set the type to "any" after enforcing dict type. (closes #6491)
8192Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8193
8194Patch 8.2.1257
8195Problem: Vim9: list unpack doesn't work at the script level.
8196Solution: Detect unpack assignment better. (closes #6494)
8197Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
8198
8199Patch 8.2.1258 (after 8.2.1253)
8200Problem: CursorHold does not work well.a (Shane-XB-Qian)
8201Solution: Only restore did_cursorhold when using :normal.
8202Files: src/normal.c
8203
8204Patch 8.2.1259
8205Problem: Empty group in 'tabline' may cause using an invalid pointer.
8206Solution: Set the group start position. (closes #6505)
8207Files: src/buffer.c, src/testdir/test_tabline.vim
8208
8209Patch 8.2.1260
8210Problem: There is no good test for CursorHold.
8211Solution: Add a test. Remove duplicated test. (Yegappan Lakshmanan,
8212 closes #6503)
8213Files: src/testdir/test_autocmd.vim, src/testdir/test_buffer.vim,
8214 src/testdir/test_normal.vim
8215
8216Patch 8.2.1261
8217Problem: Vim9: common type of function not tested.
8218Solution: Add a test. Fix uncovered problems.
8219Files: src/vim9compile.c, src/vim9execute.c,
8220 src/testdir/test_vim9_expr.vim
8221
8222Patch 8.2.1262
8223Problem: src/ex_cmds.c file is too big.
8224Solution: Move help related code to src/help.c. (Yegappan Lakshmanan,
8225 closes #6506)
8226Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
8227 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
8228 src/cmdexpand.c, src/ex_cmds.c, src/help.c, src/proto.h,
8229 src/proto/ex_cmds.pro, src/proto/help.pro
8230
8231Patch 8.2.1263
8232Problem: Vim9: comparators use 'ignorecase' in Vim9 script.
8233Solution: Ignore 'ignorecase'. Use true and false instead of 1 and 0.
8234 (closes #6497)
8235Files: src/eval.c, src/typval.c, src/vim9execute.c,
8236 src/testdir/test_vim9_expr.vim
8237
8238Patch 8.2.1264
8239Problem: Terminal getwinpos() test is a bit flaky.
8240Solution: Call getwinpos() a bit later.
8241Files: src/testdir/test_terminal3.vim
8242
8243Patch 8.2.1265
8244Problem: Crash with EXITFREE when split() fails.
8245Solution: Restore 'cpoptions'.
8246Files: src/evalfunc.c
8247
8248Patch 8.2.1266 (after 8.2.1262)
8249Problem: Makefile preference were accidentally included.
8250Solution: Revert the Makefile changes.
8251Files: src/Makefile
8252
8253Patch 8.2.1267
8254Problem: MS-Windows: tests may fail due to $PROMPT value.
8255Solution: Set $PROMPT for testing. (Taro Muraoka, closes #6510)
8256Files: src/testdir/runtest/vim
8257
8258Patch 8.2.1268
8259Problem: Vim9: no error for using double quote comment after :func or :def.
8260Solution: Only accept double quote when not in Vim9 script and not after
8261 :def. (closes #6483)
8262Files: src/userfunc.c, src/testdir/test_vim9_script.vim
8263
8264Patch 8.2.1269
8265Problem: Language and locale code spread out.
8266Solution: Move relevant code to src/locale.c. (Yegappan Lakshmanan,
8267 closes #6509)
8268Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
8269 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
8270 src/ex_cmds2.c, src/locale.c, src/main.c, src/proto.h,
8271 src/proto/ex_cmds2.pro, src/proto/locale.pro
8272
8273Patch 8.2.1270
8274Problem: Vim9: not skipping over function type declaration with only a
8275 return type.
8276Solution: Skip over the return type. (issue #6507)
8277Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8278
8279Patch 8.2.1271
8280Problem: Vim9: Error for Funcref function argument type.
8281Solution: Find the actual function type if possible. (issue #6507)
8282Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8283
8284Patch 8.2.1272
8285Problem: Vim9: type not checked if declaration also assigns value.
8286Solution: Check the type. (issue #6507)
8287Files: src/eval.c, src/vim9compile.c, src/proto/vim9compile.pro,
8288 src/vim9script.c, src/vim9execute.c,
8289 src/testdir/test_vim9_script.vim
8290
8291Patch 8.2.1273
8292Problem: MS-Windows: terminal test may leave file behind.
8293Solution: Wait a moment for process to end before deleting the file.
8294 (Taro Muraoka, closes #6513)
8295Files: src/testdir/test_terminal.vim
8296
8297Patch 8.2.1274
8298Problem: Vim9: no error for missing white space in assignment at script
8299 level.
8300Solution: Check for white space. (closes #6495)
8301Files: src/eval.c, src/evalvars.c, src/testdir/test_vim9_script.vim,
8302 src/testdir/test_let.vim
8303
8304Patch 8.2.1275
8305Problem: Vim9: compiler warning for buffer size.
8306Solution: Change the offset from 10 to 15. (Dominique Pellé, closes #6518)
8307Files: src/vim9script.c
8308
8309Patch 8.2.1276
8310Problem: MS-Windows: system test may fail if more.exe is installed.
8311Solution: Explicitly use more.com. (Taro Muraoka, Ken Takata, closes #6517)
8312Files: src/testdir/test_system.vim
8313
8314Patch 8.2.1277
8315Problem: Tests on Travis do not run with EXITFREE.
8316Solution: Add EXITFREE to all builds to uncover any mistakes.
8317Files: .travis.yml
8318
8319Patch 8.2.1278
8320Problem: Vim9: line break after "->" only allowed in :def function.
8321Solution: Only allow line break after "->". (closes #6492)
8322Files: src/vim9compile.c, src/globals.h, src/testdir/test_vim9_expr.vim
8323
8324Patch 8.2.1279
8325Problem: Some tests on Travis have EXITFREE duplicated.
8326Solution: Remove EXITFREE from shadowopt. Add "shadow" to job name.
8327Files: .travis.yml
8328
8329Patch 8.2.1280
8330Problem: Ex command error cannot contain an argument.
8331Solution: Add ex_errmsg() and translate earlier. Use e_trailing_arg where
8332 possible.
8333Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/buffer.c,
8334 src/ex_eval.c, src/match.c, src/testdir/test_tabpage.vim
8335
8336Patch 8.2.1281
8337Problem: The "trailing characters" error can be hard to understand.
8338Solution: Add the trailing characters to the message.
8339Files: src/cmdhist.c, src/eval.c, src/evalfunc.c, src/evalvars.c,
8340 src/ex_cmds.c, src/ex_docmd.c, src/ex_eval.c, src/json.c,
8341 src/menu.c, src/quickfix.c, src/sign.c, src/userfunc.c
8342
8343Patch 8.2.1282
8344Problem: Vim9: crash when using CheckScriptFailure() in
8345 Test_vim9script_call_fail_decl().
8346Solution: Do not decrement the def_functions len unless the function was
8347 newly added.
8348Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8349
8350Patch 8.2.1283
8351Problem: Vim9: error for misplaced -> lacks argument.
8352Solution: Use the pointer before it was advanced.
8353Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8354
8355Patch 8.2.1284
8356Problem: Vim9: skipping over type includes following white space, leading
8357 to an error for missing white space.
8358Solution: Do not skip over white space after the type.
8359Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8360
8361Patch 8.2.1285
8362Problem: Vim9: argument types are not checked on assignment.
8363Solution: Check function argument types. (issue #6507)
8364Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8365
8366Patch 8.2.1286
8367Problem: Vim9: No error when using a type on a window variable
8368Solution: Recognize the syntax and give an error. (closes #6521)
8369Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
8370
8371Patch 8.2.1287
8372Problem: Vim9: crash when using an imported function.
8373Solution: Add the function type to the imported entry. (closes #6522)
8374Files: src/vim9script.c, src/vim9compile.c,
8375 src/testdir/test_vim9_script.vim
8376
8377Patch 8.2.1288
8378Problem: Vim9: cannot use mark in range.
8379Solution: Use the flag that a colon was seen. (closes #6528)
8380Files: src/ex_docmd.c, src/testdir/test_vim9_func.vim
8381
8382Patch 8.2.1289
8383Problem: Crash when using a custom completion function.
8384Solution: Initialize all of the expand_T. (closes #6532)
8385Files: src/cmdexpand.c
8386
8387Patch 8.2.1290
8388Problem: Vim9: cannot replace a global function.
8389Solution: Allow for "!" on a global function. (closes #6524) Also fix that
8390 :delfunc on a :def function only made it empty.
8391Files: src/userfunc.c, src/testdir/test_vim9_script.vim
8392
8393Patch 8.2.1291
8394Problem: Vim9: type of varargs items is not checked.
8395Solution: Check the list item types. (closes #6523)
8396Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
8397
8398Patch 8.2.1292
8399Problem: AIDL filetype not recognized.
8400Solution: Add filetype detection. (Dominique Pellé, closes #6533)
8401Files: runtime/filetype.vim, src/testdir/test_filetype.vim
8402
8403Patch 8.2.1293
8404Problem: Vim9: :execute mixes up () expression and function call.
8405Solution: Do not skip white space when looking for the "(". (closes #6531)
8406Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8407
8408Patch 8.2.1294
8409Problem: Vim9: error when using vim9script in TextYankPost.
8410Solution: Use EX_LOCKOK instead of the EX_CMDWIN flag for command that can
8411 be used when text is locked. (closes #6529)
8412Files: src/ex_cmds.h, src/ex_docmd.c
8413
8414Patch 8.2.1295
8415Problem: Tests 44 and 99 are old style.
8416Solution: Convert to new style tests. (Yegappan Lakshmanan, closes #6536)
8417Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
8418 src/testdir/test44.in, src/testdir/test44.ok,
8419 src/testdir/test99.in, src/testdir/test99.ok,
8420 src/testdir/test_regexp_utf8.vim
8421
8422Patch 8.2.1296
8423Problem: Some part of using 'smartcase' was not tested.
8424Solution: Add more tests. (Dominique Pellé, closes #6538)
8425Files: src/testdir/test_search.vim
8426
8427Patch 8.2.1297
8428Problem: When a test fails it's often not easy to see what the call stack
8429 is.
8430Solution: Add more entries from the call stack in the exception message.
8431Files: runtime/doc/cmdline.txt, src/scriptfile.c,
8432 src/proto/scriptfile.pro, src/debugger.c, src/ex_docmd.c,
8433 src/ex_eval.c, src/message.c, src/testing.c,
8434 src/testdir/test_expand_func.vim
8435
8436Patch 8.2.1298
8437Problem: Compiler warning for unused argument in small version.
8438Solution: Add UNUSED.
8439Files: src/scriptfile.c
8440
8441Patch 8.2.1299
8442Problem: Compiler warning for using size_t for int and void pointer.
8443Solution: Add type casts.
8444Files: src/scriptfile.c
8445
8446Patch 8.2.1300
8447Problem: Vim9: optional argument type not parsed properly.
8448Solution: Skip over the "?". (issue #6507)
8449Files: src/vim9compile.c, src/proto/vim9compile.pro, src/evalvars.c,
8450 src/userfunc.c, src/testdir/test_vim9_func.vim
8451
8452Patch 8.2.1301
8453Problem: Vim9: varargs argument type not parsed properly.
8454Solution: Skip over the "...". (issue #6507)
8455Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8456
8457Patch 8.2.1302
8458Problem: Vim9: varargs arg after optional arg does not work
8459Solution: Check for the "..." first. (issue #6507)
8460Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8461
8462Patch 8.2.1303
8463Problem: Calling popup_setoptions() resets 'signcolumn'.
8464Solution: Only set 'signcolumn' when creating the popup. (closes #6542)
8465Files: src/popupwin.c, src/testdir/test_popupwin.vim
8466
8467Patch 8.2.1304
8468Problem: Debug backtrace isn't tested much.
8469Solution: Add more specific tests. (Ben Jackson, closes #6540)
8470Files: src/testdir/runtest.vim, src/testdir/test_debugger.vim
8471
8472Patch 8.2.1305
8473Problem: Some tests are still old style.
8474Solution: Convert tests 52 and 70 to new style. (Yegappan Lakshmanan,
8475 closes #6544) Fix error in FinishTesting().
8476Files: src/testdir/runtest.vim, src/Makefile, src/testdir/Make_all.mak,
8477 src/testdir/Make_amiga.mak, src/testdir/Make_vms.mms,
8478 src/testdir/test52.in, src/testdir/test52.ok,
8479 src/testdir/test70.in, src/testdir/test70.ok,
8480 src/testdir/test_mzscheme.vim, src/testdir/test_writefile.vim
8481
8482Patch 8.2.1306
8483Problem: Checking for first character of dict key is inconsistent.
8484Solution: Add eval_isdictc(). (closes #6546)
8485Files: src/eval.c, src/proto/eval.pro, src/vim9compile.c,
8486 src/testdir/test_listdict.vim, src/testdir/test_vim9_expr.vim,
8487 src/testdir/test_let.vim
8488
8489Patch 8.2.1307
8490Problem: popup window width does not include number, fold of sign column
8491 width.
8492Solution: Take number, fold and sign column with into account.
8493Files: src/popupwin.c, src/testdir/test_popupwin.vim,
8494 src/testdir/dumps/Test_popupwin_sign_2.dump
8495
8496Patch 8.2.1308
8497Problem: Vim9: accidentally using "x" causes Vim to exit.
8498Solution: Disallow using ":x" or "xit" in Vim9 script. (closes #6399)
8499Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9script.c,
8500 src/proto/vim9script.pro, src/ex_docmd.c, src/ex_cmds.c,
8501 src/testdir/test_vim9_script.vim
8502
8503Patch 8.2.1309
8504Problem: Build failure with tiny version.
8505Solution: Add #ifdef.
8506Files: src/ex_cmds.c, src/ex_docmd.c
8507
8508Patch 8.2.1310
8509Problem: Configure with Xcode 12 fails to check for tgetent.
8510Solution: Declare tgetent(). (Ozaki Kiichi, closes #6558)
8511Files: src/configure.ac, src/auto/configure
8512
8513Patch 8.2.1311
8514Problem: Test failures with legacy Vim script.
8515Solution: Actually check for Vim9 script.
8516Files: src/vim9script.c
8517
8518Patch 8.2.1312
8519Problem: MS-Windows: terminal test may fail if dir.exe exists.
8520Solution: Use dir.com. (Ken Takata, closes #6557)
8521Files: src/testdir/test_terminal3.vim
8522
8523Patch 8.2.1313
8524Problem: Vim9 script: cannot assign to environment variable.
8525Solution: Recognize environment variable assignment. (closes #6548)
8526 Also options and registers.
8527Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
8528
8529Patch 8.2.1314
8530Problem: Vim9: rule for comment after :function is confusing.
8531Solution: Allow double quoted comment after :function in vim9script.
8532 (closes #6556)
8533Files: src/userfunc.c, src/testdir/test_vim9_script.vim
8534
8535Patch 8.2.1315
8536Problem: MS-Windows: test log contains escape sequences.
8537Solution: Do not use t_md and t_me but ANSI escape sequences. (Ken Takata,
8538 closes #6559)
8539Files: src/testdir/runtest.vim
8540
8541Patch 8.2.1316
8542Problem: Test 42 is still old style.
8543Solution: Turn it into a new style test. (Yegappan Lakshmanan, closes #6561)
8544Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_dos.mak,
8545 src/testdir/Make_ming.mak, src/testdir/Make_vms.mms,
8546 src/testdir/test42.in, src/testdir/test42.ok,
8547 src/testdir/test_writefile.vim
8548
8549Patch 8.2.1317
8550Problem: MS-Windows tests on AppVeyor are slow.
8551Solution: Use GitHub Actions. (Ken Takata, closes #6569)
8552Files: Filelist, .github/workflows/ci-windows.yaml, appveyor.yml,
8553 ci/appveyor.bat
8554
8555Patch 8.2.1318
8556Problem: No status badge for Github CI.
8557Solution: Add a badge.
8558Files: README.md
8559
8560Patch 8.2.1319
8561Problem: Status badge for Github CI has wrong link.
8562Solution: Rename and use the right link
8563Files: README.md, .github/workflows/ci-windows.yaml
8564
8565Patch 8.2.1320
8566Problem: Vim9: cannot declare some single letter variables.
8567Solution: Do not recognize a colon for a namespace for single letter
8568 variables. (closes #6547)
8569Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8570
8571Patch 8.2.1321
8572Problem: GitHub CI also runs on tag push.
8573Solution: Skip CI on push. (Ken Takata, closes #6571)
8574Files: .github/workflows/ci-windows.yaml
8575
8576Patch 8.2.1322
8577Problem: Vim9: method on double quoted string doesn't work.
8578Solution: Recognize double quoted string. (closes #6562)
8579Files: src/ex_docmd.c, src/testdir/test_vim9_func.vim,
8580 src/testdir/test_vim9_expr.vim
8581
8582Patch 8.2.1323
8583Problem: Vim9: invalid operators only rejected in :def function.
8584Solution: Also reject them at script level. (closes #6564)
8585Files: src/eval.c, src/vim9compile.c, src/proto/vim9compile.pro,
8586 src/testdir/test_vim9_expr.vim
8587
8588Patch 8.2.1324
8589Problem: Vim9: line break after "=" does not work.
8590Solution: Also allow for NUL after "=". (closes #6549)
8591Files: src/evalvars.c, src/testdir/test_vim9_script.vim
8592
8593Patch 8.2.1325
8594Problem: Vim9: using Vim9 script for autoload not tested.
8595Solution: Add a test. Update help.
8596Files: runtime/doc/vim9.txt, src/testdir/test_autoload.vim,
8597 src/testdir/sautest/autoload/auto9.vim
8598
8599Patch 8.2.1326
8600Problem: Vim9: skipping over white space after list.
8601Solution: Do not skip white space, a following [] would be misinterpreted.
8602 (closes #6552) Fix a few side effects.
8603Files: src/list.c, src/dict.c, src/eval.c, src/userfunc.c,
8604 src/testdir/test_functions.vim, src/testdir/test_gn.vim,
8605 src/testdir/test_popupwin.vim, src/testdir/test_tabpage.vim,
8606 src/testdir/test_textprop.vim, src/testdir/test_textobjects.vim
8607
8608Patch 8.2.1327
8609Problem: Mac: configure can't find Tcl libraries.
8610Solution: Adjust configure check. (closes #6575)
8611Files: src/configure.ac, src/auto/configure
8612
8613Patch 8.2.1328
8614Problem: No space allowed before comma in list.
8615Solution: Legacy Vim script allows it. (closes #6577)
8616Files: src/dict.c, src/list.c, src/testdir/test_listdict.vim
8617
8618Patch 8.2.1329
8619Problem: Vim9: cannot define global function inside :def function.
8620Solution: Assign to global variable instead of local. (closes #6584)
8621Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro,
8622 src/vim9.h, src/vim9execute.c, src/structs.h,
8623 src/misc2.c, src/proto/misc2.pro, src/testdir/test_vim9_func.vim,
8624 src/testdir/test_vim9_disassemble.vim
8625
8626Patch 8.2.1330
8627Problem: Github workflow takes longer than needed.
8628Solution: Do two test runs in parallel instead of sequentially. (Ken Takata,
8629 closes #6579)
8630Files: .github/workflows/ci-windows.yaml
8631
8632Patch 8.2.1331
8633Problem: Vim9: :echo with two lists doesn't work.
8634Solution: Do not skip white space before []. (closes #6552)
8635Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8636
8637Patch 8.2.1332
8638Problem: Vim9: memory leak when using nested global function.
8639Solution: Delete the function when deleting the instruction. Disable test
8640 that still causes a leak.
8641Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro,
8642 src/testdir/test_vim9_func.vim
8643
8644Patch 8.2.1333
8645Problem: Vim9: memory leak when using nested global function.
8646Solution: Swap from and to when copying the lines.
8647Files: src/userfunc.c, src/testdir/test_vim9_func.vim
8648
8649Patch 8.2.1334
8650Problem: Github workflow timeout needs tuning
8651Solution: Use a 10 minute timeout. Fail when timing out. (Ken Takata,
8652 closes #6590)
8653Files: .github/workflows/ci-windows.yaml
8654
8655Patch 8.2.1335
8656Problem: CTRL-C in the GUI doesn't interrupt. (Sergey Vlasov)
8657Solution: Recognize "C" with CTRL modifier as CTRL-C. (issue #6565)
8658Files: src/gui.c, src/proto/gui.pro, src/gui_gtk_x11.c, src/gui_x11.c,
8659 src/gui_photon.c
8660
8661Patch 8.2.1336 (after 8.2.1335)
8662Problem: Build failure on non-Unix systems.
8663Solution: Add #ifdef.
8664Files: src/gui.c
8665
8666Patch 8.2.1337
8667Problem: Vim9: cannot use empty key in dict assignment.
8668Solution: Allow empty key. (closes #6591)
8669Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
8670
8671Patch 8.2.1338
8672Problem: Vim9: assigning to script-local variable doesn't check type.
8673Solution: Use the type. (issue #6591)
8674Files: src/vim9compile.c, src/vim9execute.c,
8675 src/testdir/test_vim9_script.vim
8676
8677Patch 8.2.1339
8678Problem: Vim9: assigning to global dict variable doesn't work.
8679Solution: Guess variable type based in index type. (issue #6591)
8680Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8681
8682Patch 8.2.1340
8683Problem: Some tests fail on Cirrus CI and/or with FreeBSD.
8684Solution: Make 'backupskip' empty. Do not run tests as root. Check for
8685 directory when using viminfo. (Ozaki Kiichi, closes #6596)
8686Files: .cirrus.yml, src/testdir/test_backup.vim,
8687 src/testdir/test_edit.vim, src/testdir/test_viminfo.vim,
8688 src/testdir/test_writefile.vim, src/viminfo.c
8689
8690Patch 8.2.1341
8691Problem: Build failures.
8692Solution: Add missing error message.
8693Files: src/globals.h
8694
8695Patch 8.2.1342
8696Problem: Vim9: accidentally using "x" gives a confusing error.
8697Solution: Disallow using ":t" in Vim9 script. (issue #6399)
8698Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9script.c,
8699 src/ex_docmd.c, src/testdir/test_vim9_script.vim
8700
8701Patch 8.2.1343
8702Problem: Vim9: cannot find global function when using g: when local
8703 function with the same name exists.
8704Solution: Find global function when using g:.
8705Files: src/userfunc.c, src/testdir/test_vim9_func.vim
8706
8707Patch 8.2.1344
8708Problem: Vim9: No test for trying to redefine global function.
8709Solution: Add a test.
8710Files: src/testdir/test_vim9_func.vim
8711
8712Patch 8.2.1345
8713Problem: Redraw error when using visual block and scroll.
8714Solution: Add check for w_topline. (closes #6597)
8715Files: src/drawscreen.c, src/testdir/test_display.vim,
8716 src/testdir/dumps/Test_display_visual_block_scroll.dump
8717
8718Patch 8.2.1346
8719Problem: Small build fails.
8720Solution: Add #ifdef.
8721Files: src/ex_docmd.c
8722
8723Patch 8.2.1347
8724Problem: Cannot easily get the script ID.
8725Solution: Support expand('<SID>').
8726Files: runtime/doc/map.txt, src/ex_docmd.c,
8727 src/testdir/test_expand_func.vim
8728
8729Patch 8.2.1348
8730Problem: Build failure without the eval feature.
8731Solution: Add #ifdef.
8732Files: src/ex_docmd.c
8733
8734Patch 8.2.1349
8735Problem: Vim9: can define a function with the name of an import.
8736Solution: Disallow using an existing name. (closes #6585)
8737Files: src/userfunc.c, src/vim9compile.c, src/globals.h,
8738 src/testdir/test_vim9_script.vim
8739
8740Patch 8.2.1350
8741Problem: Vim9: no test for error message when redefining function.
8742Solution: Add a test.
8743Files: src/testdir/test_vim9_script.vim
8744
8745Patch 8.2.1351
8746Problem: Vim9: no proper error if using namespace for nested function.
8747Solution: Specifically check for a namespace. (closes #6582)
8748Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8749
8750Patch 8.2.1352
8751Problem: Vim9: no error for shadowing a script-local function by a nested
8752 function.
8753Solution: Check for script-local function. (closes #6586)
8754Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8755
8756Patch 8.2.1353
8757Problem: Crash when drawing double-wide character in terminal window.
8758 (Masato Nishihata)
8759Solution: Check getcell() returning NULL. (issue #6141)
8760Files: src/libvterm/src/screen.c, src/testdir/test_terminal.vim
8761
8762Patch 8.2.1354
8763Problem: Test 59 is old style.
8764Solution: Convert into a new style test. (Yegappan Lakshmanan, closes #6604)
8765Files: runtime/doc/eval.txt, src/Makefile, src/testdir/Make_all.mak,
8766 src/testdir/Make_vms.mms, src/testdir/test59.in,
8767 src/testdir/test59.ok, src/testdir/test_spell_utf8.vim
8768
8769Patch 8.2.1355
8770Problem: Vim9: no error using :let for options and registers.
8771Solution: Give an error. (closes #6568)
8772Files: src/evalvars.c, src/vim9compile.c,
8773 src/testdir/test_vim9_script.vim
8774
8775Patch 8.2.1356
8776Problem: Vim9: cannot get the percent register.
8777Solution: Check for readable registers instead of writable. (closes #6566)
8778Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8779
8780Patch 8.2.1357
8781Problem: Vim9: cannot assign to / register.
8782Solution: Adjust check for assignment. (issue #6566)
8783Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
8784 src/testdir/test_vim9_script.vim
8785
8786Patch 8.2.1358
8787Problem: Vim9: test fails with +dnd is not available.
8788Solution: Add condition.
8789Files: src/testdir/test_vim9_script.vim
8790
8791Patch 8.2.1359
8792Problem: Vim9: cannot assign to / register in Vim9 script.
8793Solution: Adjust check for assignment in Vim9 script. (closes #6567)
8794Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
8795
8796Patch 8.2.1360
8797Problem: Stray error for white space after expression.
8798Solution: Ignore trailing white space. (closes #6608)
8799Files: src/eval.c, src/testdir/test_filter_map.vim
8800
8801Patch 8.2.1361
8802Problem: Error for white space after expression in assignment.
8803Solution: Skip over white space. (closes #6617)
8804Files: src/eval.c, src/testdir/test_expr.vim
8805
8806Patch 8.2.1362
8807Problem: Last entry of ":set term=xxx" overwritten by error message when
8808 'cmdheight' is two or more. (Tony Mechelynck)
8809Solution: Output extra line breaks.
8810Files: src/term.c, src/testdir/test_termcodes.vim
8811
8812Patch 8.2.1363
8813Problem: Test trying to run terminal when it is not supported.
8814Solution: Check if Vim can be run in a terminal.
8815Files: src/testdir/test_termcodes.vim
8816
8817Patch 8.2.1364
8818Problem: Invalid memory access when searching for raw string.
8819Solution: Check for delimiter match before following quote. (closes #6578)
8820Files: src/search.c
8821
8822Patch 8.2.1365
8823Problem: Vim9: no error for missing white space around operator.
8824Solution: Check for white space. (closes #6618)
8825Files: src/eval.c, src/vim9compile.c, src/proto/vim9compile.pro,
8826 src/evalvars.c, src/testdir/test_vim9_expr.vim,
8827 src/testdir/test_vim9_func.vim
8828
8829Patch 8.2.1366
8830Problem: Test 49 is old style.
8831Solution: Convert several tests to new style. (Yegappan Lakshmanan,
8832 closes #6629)
8833Files: src/testdir/script_util.vim, src/testdir/test49.ok,
8834 src/testdir/test49.vim, src/testdir/test_vimscript.vim
8835
8836Patch 8.2.1367
8837Problem: Vim9: no error for missing white space around operator.
8838Solution: Check for white space around *, / and %.
8839Files: src/eval.c, src/testdir/test_vim9_expr.vim
8840
8841Patch 8.2.1368
8842Problem: Vim9: no error for missing white space around operator.
8843Solution: Check for white space around <, !=, etc.
8844Files: src/eval.c, src/testdir/test_vim9_expr.vim
8845
8846Patch 8.2.1369
8847Problem: MS-Windows: autocommand test sometimes fails.
8848Solution: Do not rely on the cat command.
8849Files: src/testdir/test_autocmd.vim
8850
8851Patch 8.2.1370
8852Problem: MS-Windows: warning for using fstat() with stat_T.
8853Solution: use _fstat64() if available. (Naruhiko Nishino, closes #6625)
8854Files: src/macros.h
8855
8856Patch 8.2.1371
8857Problem: Vim9: no error for missing white space around operator.
8858Solution: Check for white space around && and ||.
8859Files: src/eval.c, src/testdir/test_vim9_expr.vim
8860
8861Patch 8.2.1372
8862Problem: Vim9: no error for missing white space around operator.
8863Solution: Check for white space around ? and :.
8864Files: src/eval.c, src/testdir/test_vim9_expr.vim
8865
8866Patch 8.2.1373
8867Problem: Vim9: no error for assigning to non-existing script var.
8868Solution: Check that in Vim9 script the variable was defined. (closes #6630)
8869Files: src/vim9compile.c, src/userfunc.c, src/structs.h,
8870 src/testdir/test_vim9_script.vim
8871
8872Patch 8.2.1374
8873Problem: Vim9: error for assigning empty list to script variable.
8874Solution: Use t_unknown for empty list member. (closes #6595)
8875Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8876
8877Patch 8.2.1375
8878Problem: Vim9: method name with digit not accepted.
8879Solution: Use eval_isnamec() instead of eval_isnamec1(). (closes #6613)
8880Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8881
8882Patch 8.2.1376
8883Problem: Vim9: expression mapping causes error for using :import.
8884Solution: Add EX_LOCK_OK to :import and :export. (closes #6606)
8885Files: src/ex_cmds.h, src/testdir/test_vim9_script.vim
8886
8887Patch 8.2.1377
8888Problem: Triggering the ATTENTION prompt causes typeahead to be messed up.
8889Solution: Increment tb_change_cnt. (closes #6541)
8890Files: src/getchar.c
8891
8892Patch 8.2.1378
8893Problem: Cannot put space between function name and paren.
8894Solution: Allow this for backwards compatibility.
8895Files: src/eval.c, src/testdir/test_expr.vim,
8896 src/testdir/test_vim9_expr.vim
8897
8898Patch 8.2.1379
8899Problem: Curly braces expression ending in " }" does not work.
8900Solution: Skip over white space when checking for "}". (closes #6634)
8901Files: src/dict.c, src/testdir/test_eval_stuff.vim
8902
8903Patch 8.2.1380
8904Problem: Vim9: return type of getreg() is always a string.
8905Solution: Use list of strings when there are three arguments. (closes #6633)
8906Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
8907
8908Patch 8.2.1381
8909Problem: MS-Windows: crash with Python 3.5 when stdin is redirected.
8910Solution: Reconnect stdin. (Yasuhiro Matsumoto, Ken Takata, closes #6641)
8911Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/if_python3.c
8912
8913Patch 8.2.1382
8914Problem: Vim9: using :import in filetype plugin gives an error.
8915Solution: Allow commands with the EX_LOCK_OK flag. (closes #6636)
8916Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
8917
8918Patch 8.2.1383
8919Problem: Test 49 is old style.
8920Solution: Convert test cases to new style. (Yegappan Lakshmanan,
8921 closes #6638)
8922Files: src/testdir/test49.ok, src/testdir/test49.vim,
8923 src/testdir/test_vimscript.vim
8924
8925Patch 8.2.1384
8926Problem: No ATTENTION prompt for :vimgrep first match file.
8927Solution: When there is an existing swap file do not keep the dummy buffer.
8928 (closes #6649)
8929Files: src/quickfix.c, src/testdir/runtest.vim,
8930 src/testdir/test_quickfix.vim
8931
8932Patch 8.2.1385
8933Problem: No testing on ARM.
8934Solution: Add a test on Travis for ARM. (Ozaki Kiichi, closes #6615)
8935Files: .travis.yml
8936
8937Patch 8.2.1386
8938Problem: Backslash not removed after space in option with space in
8939 'isfname'.
8940Solution: Do remove backslash before space, also when it is in 'isfname'.
8941 (Yasuhiro Matsumoto, closes #6651)
8942Files: src/option.c, src/testdir/test_options.vim
8943
8944Patch 8.2.1387
8945Problem: Vim9: cannot assign to single letter variable with type.
8946Solution: Exclude the colon from the variable name. (closes #6647)
8947Files: src/eval.c, src/testdir/test_vim9_script.vim
8948
8949Patch 8.2.1388
8950Problem: Vim9: += only works for numbers.
8951Solution: Use += as concatenate for a list. (closes #6646)
8952Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8953
8954Patch 8.2.1389
8955Problem: File missing from the distribution.
8956Solution: Add script_util.vim to the list of distributes files.
8957Files: Filelist
8958
8959Patch 8.2.1390
8960Problem: Vim9: type error after storing an option value.
8961Solution: Drop the type after a STOREOPT instruction. (closes #6632)
8962Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8963
8964Patch 8.2.1391
8965Problem: Vim9: no error for shadowing a script function.
8966Solution: Check for already defined items. (closes #6652)
8967Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8968
8969Patch 8.2.1392
8970Problem: Vim9: error line number incorrect after skipping over comment
8971 lines.
8972Solution: Insert empty lines for skipped lines.
8973Files: src/userfunc.c, src/testdir/test_vim9_func.vim
8974
8975Patch 8.2.1393
8976Problem: Insufficient testing for script debugging.
8977Solution: Add more tests. (Ben Jackson)
8978Files: src/testdir/test_debugger.vim
8979
8980Patch 8.2.1394
8981Problem: Vim9: compiling a function interferes with command modifiers.
8982Solution: Save and restore command modifiers. (closes #6658)
8983Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
8984 src/testdir/test_vim9_script.vim
8985
8986Patch 8.2.1395
8987Problem: Vim9: no error if declaring a funcref with a lower case letter.
8988Solution: Check the name after the type is inferred. Fix confusing name.
8989Files: src/vim9compile.c, src/dict.c, src/eval.c, src/evalvars.c,
8990 src/proto/evalvars.pro, src/testdir/test_vim9_script.vim,
8991 src/testdir/test_vim9_expr.vim
8992
8993Patch 8.2.1396
8994Problem: Vim9: no error for unexpectedly returning a value.
8995Solution: Only set the return type for lambda's. Make using function type
8996 in a function reference work.
8997Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8998
8999Patch 8.2.1397
9000Problem: Vim9: return type of maparg() not adjusted for fourth argument.
9001Solution: Check if fourth argument is present. (closes #6645)
9002Files: src/evalfunc.c, src/testdir/test_maparg.vim
9003
9004Patch 8.2.1398
9005Problem: Autoload script sourced twice if sourced directly.
9006Solution: Do not source an autoload script again. (issue #6644)
9007Files: src/scriptfile.c, src/testdir/sautest/autoload/sourced.vim
9008
9009Patch 8.2.1399
9010Problem: Vim9: may find imported item in wrong script.
9011Solution: When looking up script-local function use the embedded script ID.
9012 (issue #6644)
9013Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
9014 src/testdir/test_vim9_script.vim
9015
9016Patch 8.2.1400
9017Problem: Vim9: test does not delete written files.
9018Solution: Correct file names.
9019Files: src/testdir/test_vim9_script.vim
9020
9021Patch 8.2.1401
9022Problem: Cannot jump to the last used tabpage.
9023Solution: Add g<Tab> and tabpagnr('#'). (Yegappan Lakshmanan, closes #6661,
9024 neovim #11626)
9025Files: runtime/doc/eval.txt, runtime/doc/index.txt,
9026 runtime/doc/tabpage.txt, src/evalwindow.c, src/globals.h,
9027 src/normal.c, src/proto/window.pro, src/testdir/test_tabpage.vim,
9028 src/window.c
9029
9030Patch 8.2.1402
9031Problem: s390x tests always fail.
9032Solution: Temporarily disable s390x tests.
9033Files: .travis.yml
9034
9035Patch 8.2.1403
9036Problem: Vim9: Vim highlighting fails in cmdline window if it uses Vim9
9037 commands.
9038Solution: Allow using :vim9script, :import and :export while in the cmdline
9039 window. (closes #6656)
9040Files: src/ex_cmds.h, src/testdir/test_vim9_script.vim
9041
9042Patch 8.2.1404
9043Problem: Vim9: script test fails in the GUI.
9044Solution: Use another key to map. Improve cleanup.
9045Files: src/testdir/test_vim9_script.vim
9046
9047Patch 8.2.1405
9048Problem: Vim9: vim9compile.c is getting too big.
9049Solution: Split off type code to vim9type.c.
9050Files: Filelist, src/vim9compile.c, src/proto/vim9compile.pro,
9051 src/vim9type.c, src/proto/vim9type.pro, src/proto.h,
9052 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Makefile
9053
9054Patch 8.2.1406
9055Problem: Popupwindow lacks scrollbar if no "maxheight" is used.
9056Solution: Compute the max height depending on the position. (closes #6664)
9057Files: src/popupwin.c, src/testdir/test_popupwin.vim,
9058 src/testdir/dumps/Test_popupwin_toohigh_1.dump,
9059 src/testdir/dumps/Test_popupwin_toohigh_2.dump
9060
9061Patch 8.2.1407
9062Problem: Vim9: type of list and dict only depends on first item.
9063Solution: Use all items to decide about the type.
9064Files: src/vim9compile.c, src/vim9type.c, src/proto/vim9type.pro,
9065 src/testdir/test_vim9_expr.vim, runtime/doc/vim9.txt
9066
9067Patch 8.2.1408
9068Problem: Vim9: type casting not supported.
9069Solution: Introduce type casting.
9070Files: runtime/doc/vim9.txt, src/vim9compile.c,
9071 src/testdir/test_vim9_expr.vim,
9072 src/testdir/test_vim9_disassemble.vim
9073
9074Patch 8.2.1409
Bram Moolenaar1588bc82022-03-08 21:35:07 +00009075Problem: Npmrc and php.ini filetypes not recognized.
Bram Moolenaarc51cf032022-02-26 12:25:45 +00009076Solution: Add filetype detection. (Doug Kearns)
9077Files: runtime/filetype.vim, src/testdir/test_filetype.vim
9078
9079Patch 8.2.1410
9080Problem: Adding compiler plugin requires test change.
9081Solution: Include compiler plugin and adjust test.
9082Files: src/testdir/test_compiler.vim, runtime/compiler/xo.vim
9083
9084Patch 8.2.1411
9085Problem: when splitting a window localdir is copied but prevdir is not.
9086Solution: Also copy prevdir. (closes #6667)
9087Files: src/window.c, src/testdir/test_cd.vim
9088
9089Patch 8.2.1412
9090Problem: Vim: not operator does not result in boolean.
9091Solution: Make type depend on operator. (issue 6678) Fix using "false" and
9092 "true" in Vim9 script.
9093Files: src/eval.c, src/testdir/test_vim9_expr.vim
9094
9095Patch 8.2.1413 (after 8.2.1401)
9096Problem: Previous tab page not usable from an Ex command.
9097Solution: Add the "#" argument for :tabnext et al. (Yegappan Lakshmanan,
9098 closes #6677)
9099Files: runtime/doc/tabpage.txt, src/ex_docmd.c, src/window.c,
9100 src/testdir/test_tabpage.vim
9101
9102Patch 8.2.1414
9103Problem: Popupwindow missing last couple of lines when cursor is in the
9104 first line.
9105Solution: Compute the max height also when top aligned. (closes #6664)
9106Files: src/popupwin.c, src/testdir/test_popupwin.vim,
9107 src/testdir/dumps/Test_popupwin_toohigh_3.dump,
9108 src/testdir/dumps/Test_popupwin_nospace.dump
9109
9110Patch 8.2.1415
9111Problem: Closing a popup window with CTRL-C interrupts 'statusline' if it
9112 calls a function.
9113Solution: Reset got_int while redrawing. (closes #6675)
9114Files: src/popupwin.c, src/testdir/test_popupwin.vim,
9115 src/testdir/dumps/Test_popupwin_ctrl_c.dump
9116
9117Patch 8.2.1416
9118Problem: Vim9: boolean evaluation does not work as intended.
9119Solution: Use tv2bool() in Vim9 script. (closes #6681)
9120Files: src/eval.c, src/testdir/test_vim9_expr.vim, src/testdir/vim9.vim
9121
9122Patch 8.2.1417
9123Problem: Test 49 is old style.
9124Solution: Convert more parts to new style test. (Yegappan Lakshmanan,
9125 closes #6682)
9126Files: src/testdir/test49.ok, src/testdir/test49.vim,
9127 src/testdir/test_vimscript.vim
9128
9129Patch 8.2.1418
9130Problem: Vim9: invalid error for missing white space after function.
9131Solution: Do not skip over white space. (closes #6679)
9132Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
9133
9134Patch 8.2.1419
9135Problem: Vim9: not operator applied too early.
9136Solution: Implement the "numeric_only" argument. (closes #6680)
9137Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9138
9139Patch 8.2.1420
9140Problem: Test 49 is old style.
9141Solution: Convert remaining parts to new style. Remove obsolete items.
9142 (Yegappan Lakshmanan, closes #6683)
9143Files: Filelist, runtime/doc/testing.txt, src/Make_mvc.mak, src/Makefile,
9144 src/testdir/Make_all.mak, src/testdir/Make_amiga.mak,
9145 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
9146 src/testdir/Make_vms.mms, src/testdir/Makefile,
9147 src/testdir/README.txt, src/testdir/test49.in,
9148 src/testdir/test49.ok, src/testdir/test49.vim,
9149 src/testdir/test_quickfix.vim, src/testdir/test_vimscript.vim
9150
9151Patch 8.2.1421
9152Problem: Vim9: handling "+" and "-" before number differs from Vim script.
9153Solution: Use the same sequence of commands.
9154Files: src/vim9compile.c
9155
9156Patch 8.2.1422
9157Problem: The Mac GUI implementation is outdated and probably doesn't even
9158 work.
9159Solution: Remove the Mac GUI code. The MacVim project provides the
9160 supported Vim GUI version.
9161Files: Filelist, src/gui_mac.c, src/proto/gui_mac.pro, src/proto.h,
9162 src/Makefile, src/configure.ac, src/auto/configure,
9163 src/evalfunc.c, src/fileio.c, src/gui.c, src/if_mzsch.c,
9164 src/main.c, src/misc2.c, src/mouse.c, src/os_mac_conv.c,
9165 src/os_unix.c, src/feature.h, src/globals.h, src/gui.h,
9166 src/option.h, src/optiondefs.h, src/os_mac.h, src/structs.h,
9167 src/vim.h, src/INSTALLmac.txt
9168
9169Patch 8.2.1423
9170Problem: Vim9: find global function when looking for script-local.
9171Solution: Don't strip prefix if name starts with "s:". (closes #6688)
9172Files: src/userfunc.c, src/testdir/test_vim9_func.vim
9173
9174Patch 8.2.1424 (after 8.2.1422)
9175Problem: Mac build fails.
9176Solution: Adjust configure to not fall back to Athena. Adjust some other
9177 files.
9178Files: src/configure.ac, src/auto/configure, src/os_macosx.m,
9179 src/version.c
9180
9181Patch 8.2.1425
9182Problem: Vim9: cannot use call() without :call.
9183Solution: Do not skip over "call(". (closes #6689)
9184Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
9185
9186Patch 8.2.1426
9187Problem: Vim9: cannot call autoload function in :def function.
9188Solution: Load the autoload script. (closes #6690)
9189Files: src/vim9execute.c, src/vim9compile.c, src/scriptfile.c,
9190 src/testdir/test_vim9_expr.vim
9191
9192Patch 8.2.1427
9193Problem: Vim9: cannot use a range with marks in :def function.
9194Solution: Parse range after colon. (closes #6686)
9195Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
9196
9197Patch 8.2.1428
9198Problem: Vim9: :def function does not abort on nested function error.
9199Solution: Check whether an error message was given. (closes #6691)
9200Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
9201
9202Patch 8.2.1429
9203Problem: Vim9: no error for missing white after : in dict.
9204Solution: Check for white space. (closes #6671) Also check that there is no
9205 white before the :.
9206Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
9207 src/testdir/test_vim9_func.vim
9208
9209Patch 8.2.1430
9210Problem: Vim9: error for missing comma instead of extra white space.
9211Solution: Check if comma can be found after white space. (closes #6668)
9212 Also check for extra white space in literal dict. (closes #6670)
9213Files: src/list.c, src/dict.c, src/vim9compile.c,
9214 src/testdir/test_vim9_expr.vim
9215
9216Patch 8.2.1431
9217Problem: Vim9: no error for white space before comma in dict.
9218Solution: Check for extra white space. (closes #6674)
9219Files: src/vim9compile.c, src/dict.c, src/testdir/test_vim9_expr.vim
9220
9221Patch 8.2.1432
9222Problem: Various inconsistencies in test files.
9223Solution: Add modelines where they were missing. Use Check commands instead
9224 of silently skipping over tests. Adjust indents and comments.
9225 (Ken Takata, closes #6695)
9226Files: src/testdir/test_arglist.vim, src/testdir/test_assert.vim,
9227 src/testdir/test_autochdir.vim, src/testdir/test_autocmd.vim,
9228 src/testdir/test_autoload.vim, src/testdir/test_balloon.vim,
9229 src/testdir/test_balloon_gui.vim, src/testdir/test_behave.vim,
9230 src/testdir/test_blockedit.vim, src/testdir/test_breakindent.vim,
9231 src/testdir/test_bufline.vim, src/testdir/test_bufwintabinfo.vim,
9232 src/testdir/test_cd.vim, src/testdir/test_changedtick.vim,
9233 src/testdir/test_changelist.vim, src/testdir/test_channel.vim,
9234 src/testdir/test_checkpath.vim, src/testdir/test_cindent.vim,
9235 src/testdir/test_cjk_linebreak.vim,
9236 src/testdir/test_clientserver.vim,
9237 src/testdir/test_close_count.vim, src/testdir/test_cmdline.vim,
9238 src/testdir/test_command_count.vim,
9239 src/testdir/test_comparators.vim, src/testdir/test_compiler.vim,
9240 src/testdir/test_crypt.vim, src/testdir/test_cursorline.vim,
9241 src/testdir/test_curswant.vim, src/testdir/test_debugger.vim,
9242 src/testdir/test_delete.vim, src/testdir/test_diffmode.vim,
9243 src/testdir/test_digraph.vim, src/testdir/test_display.vim,
9244 src/testdir/test_edit.vim, src/testdir/test_environ.vim,
9245 src/testdir/test_erasebackword.vim,
9246 src/testdir/test_escaped_glob.vim, src/testdir/test_ex_equal.vim,
9247 src/testdir/test_ex_undo.vim, src/testdir/test_ex_z.vim,
9248 src/testdir/test_exec_while_if.vim, src/testdir/test_exists.vim,
9249 src/testdir/test_exists_autocmd.vim, src/testdir/test_exit.vim,
9250 src/testdir/test_expand_dllpath.vim,
9251 src/testdir/test_expr_utf8.vim, src/testdir/test_feedkeys.vim,
9252 src/testdir/test_file_size.vim, src/testdir/test_fileformat.vim,
9253 src/testdir/test_filter_cmd.vim,
9254 src/testdir/test_find_complete.vim, src/testdir/test_findfile.vim,
9255 src/testdir/test_fixeol.vim, src/testdir/test_flatten.vim,
9256 src/testdir/test_fnameescape.vim, src/testdir/test_fold.vim,
9257 src/testdir/test_functions.vim, src/testdir/test_ga.vim,
9258 src/testdir/test_getcwd.vim, src/testdir/test_getvar.vim,
9259 src/testdir/test_glob2regpat.vim, src/testdir/test_global.vim,
9260 src/testdir/test_gui.vim, src/testdir/test_gui_init.vim,
9261 src/testdir/test_highlight.vim, src/testdir/test_hlsearch.vim,
9262 src/testdir/test_iminsert.vim,
9263 src/testdir/test_increment_dbcs.vim,
9264 src/testdir/test_ins_complete.vim, src/testdir/test_interrupt.vim,
9265 src/testdir/test_job_fails.vim, src/testdir/test_join.vim,
9266 src/testdir/test_json.vim, src/testdir/test_jumplist.vim,
9267 src/testdir/test_jumps.vim, src/testdir/test_lambda.vim,
9268 src/testdir/test_langmap.vim, src/testdir/test_largefile.vim,
9269 src/testdir/test_lineending.vim, src/testdir/test_listchars.vim,
9270 src/testdir/test_listener.vim, src/testdir/test_listlbr.vim,
9271 src/testdir/test_listlbr_utf8.vim,
9272 src/testdir/test_makeencoding.vim, src/testdir/test_man.vim,
9273 src/testdir/test_mapping.vim, src/testdir/test_marks.vim,
9274 src/testdir/test_matchadd_conceal.vim,
9275 src/testdir/test_matchadd_conceal_utf8.vim,
9276 src/testdir/test_memory_usage.vim, src/testdir/test_menu.vim,
9277 src/testdir/test_messages.vim, src/testdir/test_mksession.vim,
9278 src/testdir/test_modeline.vim,
9279 src/testdir/test_nested_function.vim, src/testdir/test_number.vim,
9280 src/testdir/test_options.vim, src/testdir/test_packadd.vim,
9281 src/testdir/test_partial.vim, src/testdir/test_paste.vim,
9282 src/testdir/test_plus_arg_edit.vim, src/testdir/test_preview.vim,
9283 src/testdir/test_profile.vim, src/testdir/test_prompt_buffer.vim,
9284 src/testdir/test_quickfix.vim, src/testdir/test_quotestar.vim,
9285 src/testdir/test_random.vim, src/testdir/test_recover.vim,
9286 src/testdir/test_regex_char_classes.vim,
9287 src/testdir/test_regexp_latin.vim, src/testdir/test_registers.vim,
9288 src/testdir/test_rename.vim, src/testdir/test_retab.vim,
9289 src/testdir/test_scriptnames.vim, src/testdir/test_scroll_opt.vim,
9290 src/testdir/test_scrollbind.vim, src/testdir/test_search_stat.vim,
9291 src/testdir/test_searchpos.vim, src/testdir/test_set.vim,
9292 src/testdir/test_sha256.vim, src/testdir/test_shift.vim,
9293 src/testdir/test_shortpathname.vim, src/testdir/test_signs.vim,
9294 src/testdir/test_sort.vim, src/testdir/test_sound.vim,
9295 src/testdir/test_source_utf8.vim, src/testdir/test_spellfile.vim,
9296 src/testdir/test_startup.vim, src/testdir/test_startup_utf8.vim,
9297 src/testdir/test_stat.vim, src/testdir/test_suspend.vim,
9298 src/testdir/test_swap.vim, src/testdir/test_syntax.vim,
9299 src/testdir/test_tab.vim, src/testdir/test_tabline.vim,
9300 src/testdir/test_tagcase.vim, src/testdir/test_tagjump.vim,
9301 src/testdir/test_taglist.vim, src/testdir/test_termcodes.vim,
9302 src/testdir/test_termencoding.vim, src/testdir/test_terminal.vim,
9303 src/testdir/test_terminal2.vim, src/testdir/test_terminal3.vim,
9304 src/testdir/test_terminal_fail.vim,
9305 src/testdir/test_true_false.vim,
9306 src/testdir/test_utf8_comparisons.vim,
9307 src/testdir/test_vartabs.vim, src/testdir/test_version.vim,
9308 src/testdir/test_vim9_expr.vim, src/testdir/test_winbar.vim,
9309 src/testdir/test_winbuf_close.vim,
9310 src/testdir/test_window_cmd.vim, src/testdir/test_window_id.vim,
9311 src/testdir/test_windows_home.vim, src/testdir/test_wnext.vim,
9312 src/testdir/test_wordcount.vim, src/testdir/test_writefile.vim,
9313 src/testdir/test_xxd.vim
9314
9315Patch 8.2.1433
9316Problem: Vim9: cannot mingle comments in multi-line lambda.
9317Solution: Skip over NULL lines. (closes #6694)
9318Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9319
9320Patch 8.2.1434
9321Problem: Vim9: crash when lambda uses outer function argument.
9322Solution: Set the flag that the outer context is used.
9323Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9324
9325Patch 8.2.1435
9326Problem: Vim9: always converting to string for ".." leads to mistakes.
9327Solution: Only automatically convert simple types.
9328Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9.h,
9329 src/vim9execute.c, src/proto/vim9execute.pro, src/eval.c,
9330 src/evalfunc.c, src/testdir/test_vim9_expr.vim,
9331 src/testdir/test_vim9_disassemble.vim
9332
9333Patch 8.2.1436
9334Problem: Function implementing :substitute has unexpected name.
9335Solution: Rename from do_sub() to ex_substitute().
9336Files: src/ex_cmds.c, src/proto/ex_cmds.pro, src/ex_docmd.c,
9337 src/ex_cmds.h
9338
9339Patch 8.2.1437
9340Problem: Vim9: 'statusline' is evaluated using Vim9 script syntax.
9341Solution: Always use legacy script syntax.
9342Files: src/eval.c, src/testdir/test_vim9_script.vim
9343
9344Patch 8.2.1438
9345Problem: Missing tests for interrupting script execution from debugger.
9346Solution: Add tests. (Yegappan Lakshmanan, closes #6697)
9347Files: src/testdir/test_debugger.vim
9348
9349Patch 8.2.1439
9350Problem: Tiny and small builds have no test coverage.
9351Solution: Restore tests that do not depend on the +eval feature.
9352 (Ken Takata, closes #6696)
9353Files: .travis.yml, Filelist, Makefile, runtime/doc/testing.txt,
9354 src/Make_mvc.mak, src/Makefile, src/testdir/Make_all.mak,
9355 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
9356 src/testdir/Make_ming.mak, src/testdir/Make_vms.mms,
9357 src/testdir/Makefile, src/testdir/runtest.vim,
9358 src/testdir/test1.in, src/testdir/test1.ok, src/testdir/test20.in,
9359 src/testdir/test20.ok, src/testdir/test21.in,
9360 src/testdir/test21.ok, src/testdir/test22.in,
9361 src/testdir/test22.ok, src/testdir/test23.in,
9362 src/testdir/test23.ok, src/testdir/test24.in,
9363 src/testdir/test24.ok, src/testdir/test25.in,
9364 src/testdir/test25.ok, src/testdir/test26.in,
9365 src/testdir/test26.ok, src/testdir/test27.in,
9366 src/testdir/test27.ok, src/testdir/test_options.vim
9367
9368Patch 8.2.1440
9369Problem: Debugger code insufficiently tested.
9370Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6700)
9371Files: src/testdir/test_debugger.vim, src/testdir/test_vimscript.vim
9372
9373Patch 8.2.1441
9374Problem: Running tests in tiny version gives error for summarize.vim.
9375Solution: Set 'cpoptions' to allow for line continuation. Restore
9376 redirecting test output to /dev/null.
9377Files: src/testdir/summarize.vim, src/testdir/Makefile
9378
9379Patch 8.2.1442
9380Problem: Outdated references to the Mac Carbon GUI.
9381Solution: Remove or update references. (Yee Cheng Chin, closes #6703)
9382Files: READMEdir/README_extra.txt, src/Makefile, src/configure.ac,
9383 src/auto/configure, src/gui_haiku.cc, src/os_macosx.m,
9384 src/testdir/test_iminsert.vim, src/vim.h
9385
9386Patch 8.2.1443
9387Problem: Vim9: crash when interrupting a nested :def function.
9388Solution: Push a dummy return value onto the stack. (closes #6701)
9389Files: src/vim9execute.c
9390
9391Patch 8.2.1444
9392Problem: Error messages are spread out and names can be confusing.
9393Solution: Start moving error messages to a separate file and use clear
9394 names.
9395Files: Filelist, src/vim.h, src/globals.h, src/errors.h, src/Makefile,
9396 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms,
9397 src/dict.c, src/evalvars.c, src/ex_docmd.c, src/list.c,
9398 src/userfunc.c, src/vim9compile.c, src/vim9execute.c,
9399 src/vim9script.c, src/vim9type.c
9400
9401Patch 8.2.1445
9402Problem: Vim9: function expanded name is cleared when sourcing a script
9403 again.
9404Solution: Only clear the expanded name when deleting the function.
9405 (closes #6707)
9406Files: src/userfunc.c, src/testdir/test_vim9_script.vim
9407
9408Patch 8.2.1446
9409Problem: Vim9: line number in error message is not correct.
9410Solution: Set SOURCING_LNUM before calling emsg(). (closes #6708)
9411Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
9412
9413Patch 8.2.1447
9414Problem: Vim9: return type of keys() is list<any>.
9415Solution: Should be list<string>. (closes #6711)
9416Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
9417
9418Patch 8.2.1448
9419Problem: Test 77a for VMS depends on small.vim which does not exist.
9420Solution: Use the 'silent while 0" trick. (issue #6696)
9421Files: src/testdir/test77a.in
9422
9423Patch 8.2.1449
9424Problem: Some test makefiles delete files that are not generated.
9425Solution: Remove the deletion commands.
9426Files: src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
9427 src/testdir/Make_amiga.mak, src/testdir/Make_vms.mms
9428
9429Patch 8.2.1450
9430Problem: Vim9: no check that script-local items don't become global.
9431Solution: Add a test.
9432Files: src/testdir/test_vim9_script.vim
9433
9434Patch 8.2.1451
9435Problem: Vim9: list type at script level only uses first item.
9436Solution: Use all members, like in a compiled function. (closes #6712)
9437 Also for dictionary.
9438Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
9439
9440Patch 8.2.1452
9441Problem: Vim9: dead code in to_name_end().
9442Solution: Remove check for lambda and dict, it won't be used.
9443Files: src/vim9compile.c
9444
9445Patch 8.2.1453
9446Problem: Vim9: failure to compile lambda not tested.
9447Solution: Add a test case.
9448Files: src/testdir/test_vim9_expr.vim
9449
9450Patch 8.2.1454
9451Problem: Vim9: failure invoking lambda with wrong arguments.
9452Solution: Handle invalid arguments. Add a test.
9453Files: src/vim9compile.c, src/vim9execute.c,
9454 src/testdir/test_vim9_expr.vim
9455
9456Patch 8.2.1455
9457Problem: Vim9: crash when using typecast before constant.
9458Solution: Generate constant before checking type. Add tets.
9459Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9460
9461Patch 8.2.1456
9462Problem: MS-Windows: test files are not deleted.
9463Solution: use "del" instead of $(DEL).
9464Files: src/testdir/Make_dos.mak
9465
9466Patch 8.2.1457
9467Problem: Vim9: the output of :disassemble cannot be interrupted.
9468Solution: Check got_int. (closes #6715)
9469Files: src/vim9execute.c
9470
9471Patch 8.2.1458
9472Problem: .gawk files not recognized.
9473Solution: Recognize .gawk files. (Doug Kearns)
9474Files: runtime/filetype.vim, src/testdir/test_filetype.vim
9475
9476Patch 8.2.1459
Bram Moolenaar1588bc82022-03-08 21:35:07 +00009477Problem: Vim9: declaring a script variable at the script level does not
Bram Moolenaarc51cf032022-02-26 12:25:45 +00009478 infer the type.
9479Solution: Get the type from the value. (closes #6716)
9480Files: src/evalvars.c, src/testdir/test_vim9_script.vim
9481
9482Patch 8.2.1460
9483Problem: Error messages are spread out.
9484Solution: Move more messages into errors.h.
9485Files: src/errors.h, src/globals.h, src/vim9compile.c, src/vim9execute.c,
9486 src/vim9script.c, src/vim9type.c, src/scriptfile.c, src/ex_cmds.c,
9487 src/ex_docmd.c, src/match.c, src/eval.c, src/evalvars.c,
9488 src/userfunc.c, src/testdir/test_vim9_expr.vim,
9489 src/testdir/test_vim9_disassemble.vim,
9490 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
9491
9492Patch 8.2.1461
9493Problem: Vim9: string indexes are counted in bytes.
9494Solution: Use character indexes. (closes #6574)
9495Files: runtime/doc/eval.txt, src/eval.c, src/proto/eval.pro,
9496 src/vim9execute.c, src/eval.c, src/testdir/test_vim9_expr.vim
9497
9498Patch 8.2.1462
9499Problem: Vim9: string slice not supported yet.
9500Solution: Add support for string slicing.
9501Files: src/errors.h, src/vim9compile.c, src/vim9.h, src/vim9execute.c,
9502 src/eval.c, src/proto/eval.pro, src/testdir/test_vim9_expr.vim,
9503 src/testdir/test_vim9_disassemble.vim
9504
9505Patch 8.2.1463
9506Problem: Vim9: list slice not supported yet.
9507Solution: Add support for list slicing.
9508Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/eval.c,
9509 src/list.c, src/proto/list.pro, src/testdir/test_vim9_expr.vim,
9510 src/testdir/test_vim9_disassemble.vim
9511
9512Patch 8.2.1464
9513Problem: Vim9: build warning for unused variable.
9514Solution: Delete the variable declaration.
9515Files: src/vim9execute.c
9516
9517Patch 8.2.1465
9518Problem: Vim9: subscript not handled properly.
9519Solution: Adjust error message. Remove dead code. Disallow string to
9520 number conversion in scripts.
9521Files: src/errors.h, src/vim9compile.c, src/vim9execute.c, src/eval.c,
9522 src/typval.c, src/list.c, src/testdir/test_vim9_expr.vim,
9523 src/testdir/test_vim9_script.vim
9524
9525Patch 8.2.1466
9526Problem: Vim9: cannot index or slice a variable with type "any".
9527Solution: Add runtime index and slice.
9528Files: src/eval.c, src/proto/eval.pro, src/vim9compile.c,
9529 src/vim9execute.c, src/vim9.h, src/errors.h, src/list.c,
9530 src/testdir/test_vim9_expr.vim,
9531 src/testdir/test_vim9_disassemble.vim,
9532 src/testdir/test_vim9_script.vim
9533
9534Patch 8.2.1467
9535Problem: Vim9: :echomsg doesn't like a dict argument.
9536Solution: Convert arguments like in legacy script. (closes #6717)
9537Files: src/vim9compile.c, src/vim9execute.c,
9538 src/testdir/test_vim9_script.vim
9539
9540Patch 8.2.1468
9541Problem: Vim9: invalid error for missing white space.
9542Solution: Don't skip over white space after index. (closes #6718)
9543Files: src/eval.c, src/testdir/test_vim9_expr.vim
9544
9545Patch 8.2.1469
9546Problem: Vim9: cannot assign string to string option.
9547Solution: Change checks for option value. (closes #6720)
9548Files: src/evalvars.c, src/testdir/test_vim9_script.vim
9549
9550Patch 8.2.1470
9551Problem: Errors in spell file not tested.
9552Solution: Add test for spell file errors. (Yegappan Lakshmanan,
9553 closes #6721)
9554Files: src/testdir/test_spellfile.vim
9555
9556Patch 8.2.1471
9557Problem: :const only locks the variable, not the value.
9558Solution: Lock the value as ":lockvar 1 var" would do. (closes #6719)
9559Files: src/evalvars.c, src/testdir/test_const.vim
9560
9561Patch 8.2.1472
9562Problem: ":argdel" does not work like ":.argdel" as documented. (Alexey
9563 Demin)
9564Solution: Make ":argdel" work like ":.argdel". (closes #6727)
9565 Also fix giving the error "0 more files to edit".
9566Files: src/arglist.c, src/ex_docmd.c, src/testdir/test_arglist.vim
9567
9568Patch 8.2.1473
9569Problem: Items in a list given to :const can still be modified.
9570Solution: Work like ":lockvar! name" but don't lock referenced items.
9571 Make locking a blob work.
9572Files: runtime/doc/eval.txt, src/evalvars.c, src/eval.c,
9573 src/testdir/test_const.vim
9574
9575Patch 8.2.1474
9576Problem: /usr/lib/udef/rules.d not recognized as udevrules.
9577Solution: Adjust match pattern. (Haochen Tong, closes 36722)
9578Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim
9579
9580Patch 8.2.1475
9581Problem: Vim9: can't use v:true for option flags.
9582Solution: Add tv_get_bool_chk(). (closes #6725)
9583Files: src/typval.c, src/proto/typval.pro, src/channel.c
9584
9585Patch 8.2.1476 (after 8.2.1474)
9586Problem: Filetype test fails on MS-Windows.
9587Solution: Remove "^" from pattern.
9588Files: runtime/autoload/dist/ft.vim
9589
9590Patch 8.2.1477
9591Problem: Vim9: error when using bufnr('%').
9592Solution: Don't give an error for using a string argument. (closes #6723)
9593Files: src/evalbuffer.c, src/testdir/test_vim9_func.vim
9594
9595Patch 8.2.1478
9596Problem: Vim9: cannot use "true" for some popup options.
9597Solution: Add dict_get_bool(). (closes #6725)
9598Files: src/dict.c, src/proto/dict.pro, src/popupwin.c
9599
9600Patch 8.2.1479
9601Problem: Vim9: error for list index uses wrong line number.
9602Solution: Set source line number. (closes #6724) Add a way to assert the
9603 line number of the error with assert_fails().
9604Files: runtime/doc/testing.txt, src/vim9execute.c, src/testing.c,
9605 src/evalfunc.c, src/message.c, src/globals.h, src/testdir/vim9.vim,
9606 src/testdir/test_vim9_expr.vim
9607
9608Patch 8.2.1480
9609Problem: Vim9: skip expression in search() gives error.
9610Solution: use tv_get_bool() eval_expr_to_bool(). (closes #6729)
9611Files: src/eval.c, src/typval.c, src/proto/typval.pro,
9612 src/testdir/test_vim9_func.vim
9613
9614Patch 8.2.1481
9615Problem: Vim9: line number reported with error may be wrong.
9616Solution: Check line number in tests.
9617Files: src/testdir/test_vim9_expr.vim, src/testdir/vim9.vim,
9618 src/vim9execute.c
9619
9620Patch 8.2.1482
9621Problem: Vim9: crash when using a nested lambda.
9622Solution: Do not clear the growarray when not evaluating. Correct pointer
9623 when getting the next line. (closes #6731)
9624Files: src/eval.c, src/scriptfile.c, src/testdir/test_vim9_expr.vim
9625
9626Patch 8.2.1483
9627Problem: Vim9: error for using special as number when returning "false"
9628 from a popup filter.
9629Solution: Use tv_get_bool(). (closes #6733)
9630Files: src/popupwin.c
9631
9632Patch 8.2.1484
9633Problem: Flaky failure in assert_fails().
9634Solution: Only used fourth argument if there is a third argument.
9635Files: src/testing.c
9636
9637Patch 8.2.1485
9638Problem: Vim9: readdirex() expression doesn't accept bool.
9639Solution: Accept both -1 and bool. (closes #6737)
9640Files: src/filepath.c, src/testdir/test_vim9_func.vim
9641
9642Patch 8.2.1486
9643Problem: Vim9: readdir() expression doesn't accept bool.
9644Solution: Merge with code for readdirex(). (closes #6737)
9645Files: src/filepath.c, src/testdir/test_vim9_func.vim
9646
9647Patch 8.2.1487
9648Problem: Travis: installing snd-dummy is not always useful.
9649Solution: Only install snd-dummy on amd64. (Ozaki Kiichi, closes #6738)
9650Files: .travis.yml, ci/load-snd-dummy.sh
9651
9652Patch 8.2.1488
9653Problem: Text does not scroll when inserting above first line.
9654Solution: Adjust off-by-one error. (Ken Takata, closes #6739)
9655Files: src/drawscreen.c, src/testdir/test_display.vim,
9656 src/testdir/dumps/Test_display_scroll_at_topline.dump
9657
9658Patch 8.2.1489
9659Problem: Vim9: error when setting an option with setbufvar().
9660Solution: Do not get a number from a string value. (closes #6740)
9661Files: src/evalvars.c, src/testdir/test_vim9_func.vim
9662
9663Patch 8.2.1490
9664Problem: Vim9: using /= with float and number doesn't work.
9665Solution: Better support assignment with operator. (closes #6742)
9666Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
9667
9668Patch 8.2.1491
9669Problem: Vim9: crash when compiling heredoc lines start with comment.
9670Solution: Skip over NULL pointers. Do not remove comment and empty lines
9671 when fetching function lines. (closes #6743)
9672Files: src/vim9compile.c, src/scriptfile.c, src/proto/scriptfile.pro,
9673 src/structs.h, src/ex_docmd.c, src/proto/ex_docmd.pro,
9674 src/ex_cmds.h, src/autocmd.c, src/proto/autocmd.pro,
9675 src/ex_getln.c, src/proto/ex_getln.pro, src/userfunc.c,
9676 src/proto/userfunc.pro, src/evalfunc.c,
9677 src/testdir/test_vim9_script.vim
9678
9679Patch 8.2.1492
9680Problem: Build failures.
9681Solution: Move typedef out of #ifdef. Adjust argument types. Discover
9682 America.
9683Files: src/structs.h, src/ex_docmd.c
9684
9685Patch 8.2.1493
9686Problem: Not enough test coverage for the spell file handling.
9687Solution: Add spell file tests. (Yegappan Lakshmanan, closes #6728)
9688Files: src/spellfile.c, src/testdir/test_spellfile.vim
9689
9690Patch 8.2.1494
9691Problem: Missing change to calling eval_getline().
9692Solution: Change last argument.
9693Files: src/eval.c
9694
9695Patch 8.2.1495
9696Problem: "make clean" may delete too many files.
9697Solution: Do not delete $APPDIR. (closes #6751)
9698Files: src/Makefile
9699
9700Patch 8.2.1496
9701Problem: Vim9: cannot use " #" in a mapping.
9702Solution: Do not remove a comment with the EX_NOTRLCOM flag. (closes #6746)
9703Files: src/ex_docmd.c, src/vim9compile.c, src/testdir/test_vim9_cmd.vim
9704
9705Patch 8.2.1497
9706Problem: CursorHold test is flaky. (Jakub Kądziołka)
9707Solution: Use WaitForAssert() (closes #6754)
9708Files: src/testdir/test_autocmd.vim
9709
9710Patch 8.2.1498
9711Problem: On slow systems tests can be flaky.
9712Solution: Use TermWait() instead of term-wait(). (Yegappan Lakshmanan,
9713 closes #6756)
9714Files: src/testdir/test_digraph.vim, src/testdir/test_display.vim,
9715 src/testdir/test_popupwin.vim, src/testdir/test_termcodes.vim,
9716 src/testdir/test_terminal.vim, src/testdir/test_terminal3.vim,
9717 src/testdir/test_writefile.vim
9718
9719Patch 8.2.1499
9720Problem: Vim9: error when using "$" with col().
9721Solution: Reorder getting the column value. (closes #6744)
9722Files: src/eval.c, src/testdir/test_vim9_func.vim
9723
9724Patch 8.2.1500
9725Problem: Vim9: error when using address without a command.
9726Solution: Execute the range itself. (closes #6747)
9727Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
9728
9729Patch 8.2.1501
9730Problem: Vim9: concatenating to constant reverses order.
9731Solution: Generate constant before option, register and environment
9732 variable. (closes #6757)
9733Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9734
9735Patch 8.2.1502
9736Problem: Vim9: can use += with a :let command at script level.
9737Solution: Give an error.
9738Files: src/evalvars.c, src/testdir/test_vim9_script.vim,
9739 src/testdir/test_vim9_expr.vim
9740
9741Patch 8.2.1503
9742Problem: Vim9: error for an autocmd defined in a :def function in legacy
9743 Vim script.
9744Solution: Don't check the variable type. (closes #6758)
9745Files: src/vim9script.c, src/testdir/test_vim9_script.vim
9746
9747Patch 8.2.1504
9748Problem: Vim9: white space checks are only done for a :def function.
9749Solution: Also do checks at the script level. Adjust the name of a few
9750 error messages.
9751Files: src/userfunc.c, src/errors.h, src/dict.c, src/list.c,
9752 src/vim9compile.c, src/vim9script.c, src/vim9type.c,
9753 src/evalvars.c, src/testdir/test_vim9_expr.vim,
9754 src/testdir/vim9.vim
9755
9756Patch 8.2.1505
9757Problem: Not all file read and writecode is tested.
9758Solution: Add a few tests. (Dominique Pellé, closes #6764)
9759Files: src/testdir/test_eval_stuff.vim, src/testdir/test_fnamemodify.vim,
9760 src/testdir/test_functions.vim
9761
9762Patch 8.2.1506
9763Problem: Vim9: no error when using a number other than 0 or 1 as bool.
9764Solution: Check the number is 0 or 1.
9765Files: src/errors.h, src/typval.c, src/testdir/test_vim9_func.vim
9766
9767Patch 8.2.1507
9768Problem: Using malloc() directly.
9769Solution: Use ALLOC_ONE(). Remove superfluous typecast. (Hussam al-Homsi,
9770 closes #6768)
9771Files: src/eval.c, src/memline.c, src/vimrun.c
9772
9773Patch 8.2.1508
9774Problem: Not all debugger commands covered by tests.
9775Solution: Add tests for going up/down in the stack. (Ben Jackson,
9776 closes #6765)
9777Files: src/testdir/test_debugger.vim
9778
9779Patch 8.2.1509
9780Problem: Vertical separator is cleared when dragging a popup window using a
9781 multi-byte character for the border.
9782Solution: Only clear the character before the window if it is using a
9783 multi-byte character. (closes #6766)
9784Files: src/screen.c
9785
9786Patch 8.2.1510
9787Problem: Using "var" in a :def function may refer to a legacy Vim script
9788 variable.
9789Solution: Require using "s:" to refer to a legacy Vim script variable.
9790 (closes #6771)
9791Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
9792
9793Patch 8.2.1511
9794Problem: Putting a string in Visual block mode ignores multi-byte
9795 characters.
9796Solution: Adjust the column for Visual block mode. (closes #6767)
9797Files: src/register.c, src/testdir/test_visual.vim
9798
9799Patch 8.2.1512
9800Problem: Failure after ternary expression fails.
9801Solution: Restore eval_flags. (Yasuhiro Matsumoto, closes #6776)
9802Files: src/eval.c, src/testdir/test_vimscript.vim,
9803 src/testdir/test_vim9_expr.vim
9804
9805Patch 8.2.1513
9806Problem: Cannot interrupt shell used for filename expansion. (Dominique
9807 Pellé)
9808Solution: Do set tmode in mch_delay(). (closes #6770)
9809Files: src/vim.h, src/os_unix.c, src/proto/os_unix.pro, src/term.c,
9810 src/channel.c, src/if_cscope.c, src/os_amiga.c, src/ui.c,
9811 src/proto/os_amiga.pro, src/os_win32.c, src/proto/os_win32.pro
9812
9813Patch 8.2.1514
9814Problem: Multibyte vertical separator is cleared when dragging a popup
9815 window using a multi-byte character for the border.
9816Solution: Only clear the character before the window if it is double width.
9817 (closes #6766)
9818Files: src/screen.c
9819
9820Patch 8.2.1515
9821Problem: Vim9: can create s:var in legacy script but cannot unlet.
9822Solution: Allow :unlet for legacy script var.
9823Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
9824
9825Patch 8.2.1516
9826Problem: Vim9: error for :exe has wrong line number.
9827Solution: Set line number before calling do_cmdline_cmd(). (closes #6774)
9828Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
9829
9830Patch 8.2.1517
9831Problem: Cannot easily get the character under the cursor.
9832Solution: Add the {chars} argument to strpart().
9833Files: runtime/doc/eval.txt, src/evalfunc.c,
9834 src/testdir/test_functions.vim
9835
9836Patch 8.2.1518
9837Problem: Vim9: cannot assign to local option.
9838Solution: Skip over "&l:" and "&g:". (closes #6749)
9839Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/testdir/vim9.vim,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00009840 src/vim9compile.c, src/testdir/test_vim9_script.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +00009841
9842Patch 8.2.1519
9843Problem: Vim9: Ex command default range is not set.
9844Solution: When range is not given use default. (closes #6779)
9845Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
9846
9847Patch 8.2.1520
9848Problem: Vim9: CTRL-] used in :def function does not work.
9849Solution: Omit count or prepend colon. (closes #6769)
9850Files: src/normal.c, src/testdir/test_vim9_cmd.vim
9851
9852Patch 8.2.1521
9853Problem: Reading past end of buffer when reading spellfile. (Yegappan
9854 Lakshmanan)
9855Solution: Store the byte length and check for it.
9856Files: src/spellfile.c, src/spell.h
9857
9858Patch 8.2.1522
9859Problem: Not enough test coverage for the spell file handling.
9860Solution: Add spell file tests. (Yegappan Lakshmanan, closes #6763)
9861Files: src/testdir/test_spellfile.vim
9862
9863Patch 8.2.1523
9864Problem: Still not enough test coverage for the spell file handling.
9865Solution: Add spell file tests. (Yegappan Lakshmanan, closes #6790)
9866Files: src/testdir/test_spellfile.vim
9867
9868Patch 8.2.1524
9869Problem: No longer get an error for string concatenation with float.
9870 (Tsuyoshi Cho)
9871Solution: Only convert float for Vim9 script. (closes #6787)
9872Files: src/eval.c, src/testdir/test_eval_stuff.vim
9873
9874Patch 8.2.1525
9875Problem: Messages from tests were not always displayed.
9876Solution: Always show messages, the timing is always useful. (Ken Takata,
9877 closes #6792)
9878Files: src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
9879 src/testdir/Makefile
9880
9881Patch 8.2.1526
9882Problem: Line in testdir Makefile got commented out. (Christian Brabandt)
9883Solution: Revert.
9884Files: src/testdir/Makefile
9885
9886Patch 8.2.1527
9887Problem: Vim9: cannot use a function name as a function reference at script
9888 level.
9889Solution: Check if a name is a function name. (closes #6789)
9890Files: src/evalvars.c, src/testdir/test_vim9_expr.vim,
9891 src/testdir/test_vim9_script.vim
9892
9893Patch 8.2.1528
9894Problem: Vim9: :endif not found after "if false".
9895Solution: When skipping still check for a following command. (closes #6797)
9896Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
9897
9898Patch 8.2.1529
9899Problem: Vim9: :elseif may be compiled when not needed.
9900Solution: Do evaluate the :elseif expression.
9901Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9902
9903Patch 8.2.1530
9904Problem: Vim9: test fails on MS-Windows.
9905Solution: Skip Ex command inside "if false".
9906Files: src/vim9compile.c
9907
9908Patch 8.2.1531
9909Problem: Vim9: test still fails on MS-Windows.
9910Solution: When skipping expect function to be NULL.
9911Files: src/vim9compile.c
9912
9913Patch 8.2.1532
9914Problem: Compiler warning for conversion of size_t to long.
9915Solution: Add type cast.
9916Files: src/eval.c
9917
9918Patch 8.2.1533
9919Problem: Vim9: error when passing getreginfo() result to setreg().
9920Solution: Use dict_get_bool() for "isunnamed". (closes #6784)
9921Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
9922
9923Patch 8.2.1534
9924Problem: Vim9: type error for argument type is not at call position.
9925Solution: Set the context and stack after checking the arguments.
9926 (issue #6785)
9927Files: src/userfunc.c, src/vim9execute.c, src/testdir/test_vim9_func.vim
9928
9929Patch 8.2.1535
9930Problem: It is not possible to specify cell widths of characters.
9931Solution: Add setcellwidths().
9932Files: runtime/doc/eval.txt, runtime/doc/options.txt,
9933 runtime/doc/usr_41.txt, src/evalfunc.c, src/mbyte.c,
9934 src/proto/mbyte.pro, src/errors.h, src/testdir/test_utf8.vim
9935
9936Patch 8.2.1536
9937Problem: Cannot get the class of a character; emoji widths are wrong in
9938 some environments.
9939Solution: Add charclass(). Update some emoji widths. Add script to check
9940 emoji widths.
9941Files: Filelist, runtime/doc/eval.txt, runtime/doc/usr_41.txt,
9942 src/evalfunc.c, src/mbyte.c, src/proto/mbyte.pro,
9943 src/testdir/emoji_list.vim, src/testdir/test_functions.vim
9944
9945Patch 8.2.1537
Bram Moolenaar1588bc82022-03-08 21:35:07 +00009946Problem: Memory access error when using setcellwidths().
Bram Moolenaarc51cf032022-02-26 12:25:45 +00009947Solution: Use array and pointers correctly.
9948Files: src/mbyte.c, src/errors.h, src/testdir/test_utf8.vim
9949
9950Patch 8.2.1538
9951Problem: Python: iteration over vim objects fails to keep reference.
9952Solution: Keep a reference for the object. (Paul Ollis, closes #6803,
9953 closes #6806)
9954Files: src/if_py_both.h, src/testdir/test_python3.vim
9955
9956Patch 8.2.1539
9957Problem: Using invalid script ID causes a crash.
9958Solution: Check the script ID to be valid. (closes #6804)
9959Files: src/globals.h, src/evalvars.c, src/profiler.c, src/scriptfile.c,
9960 src/vim9compile.c, src/testdir/test_vim9_script.vim
9961
9962Patch 8.2.1540
9963Problem: The user cannot try out emoji character widths.
9964Solution: Move the emoji script to the runtime/tools directory.
9965Files: Filelist, src/testdir/emoji_list.vim, runtime/tools/emoji_list.vim
9966
9967Patch 8.2.1541
9968Problem: Vim9: cannot find function reference for s:Func.
9969Solution: Recognize <SNR> prefix. (closes #6805)
9970Files: src/userfunc.c, src/vim9execute.c,
9971 src/testdir/test_vim9_script.vim
9972
9973Patch 8.2.1542
9974Problem: Vim9: test with invalid SID does not work in the GUI.
9975Solution: Skip the test in the GUI.
9976Files: src/testdir/test_vim9_script.vim
9977
9978Patch 8.2.1543
9979Problem: Vim9: test with invalid SID is skipped in the GUI.
9980Solution: Read the CTRL-C that feedkeys() put in typeahead.
9981Files: src/testdir/test_vim9_script.vim
9982
9983Patch 8.2.1544
9984Problem: Cannot translate messages in a Vim script.
9985Solution: Add gettext(). Try it out for a few messages in the options
9986 window.
9987Files: Filelist, src/po/Makefile, src/po/README.txt, runtime/optwin.vim,
9988 src/evalfunc.c, src/po/tojavascript.vim, src/po/fixfilenames.vim,
9989 runtime/doc/eval.txt, runtime/doc/usr_41.txt
9990
9991Patch 8.2.1545
9992Problem: ch_logfile() is unclear about closing when forking.
9993Solution: Adjust the log messages.
9994Files: src/channel.c, src/os_unix.c
9995
9996Patch 8.2.1546
9997Problem: Build rule for Vim.app is unused.
9998Solution: Delete the related build rules.
9999Files: src/Makefile
10000
10001Patch 8.2.1547
10002Problem: Various comment problems.
10003Solution: Update comments.
10004Files: src/arglist.c, src/map.c, src/mbyte.c, src/tag.c, src/undo.c,
10005 src/testdir/README.txt, src/testdir/test_put.vim,
10006 src/libvterm/README
10007
10008Patch 8.2.1548
10009Problem: Cannot move position of "%%" in message translations. (Emir Sarı)
10010Solution: Improve the check script.
10011Files: src/po/check.vim
10012
10013Patch 8.2.1549
10014Problem: The "r" command fails for keys with modifiers if 'esckeys' is off
10015 and modifyOtherKeys is used. (Lauri Tirkkonen)
10016Solution: Temporarily disable bracketed paste and modifyOtherKeys if
10017 'esckeys' is off. (closes #6809)
10018Files: src/normal.c
10019
10020Patch 8.2.1550
10021Problem: Vim9: bufname('%') gives an error.
10022Solution: Only give an error for wrong argument type. (closes #6807)
10023Files: src/evalbuffer.c, src/testdir/test_vim9_func.vim
10024
10025Patch 8.2.1551
10026Problem: Vim9: error for argument type does not mention the number.
10027Solution: Pass the argument number to where the error is given.
10028Files: src/vim9type.c, src/proto/vim9type.pro, src/vim9compile.c,
10029 src/vim9execute.c, src/vim9script.c, src/eval.c,
10030 src/testdir/test_vim9_func.vim
10031
10032Patch 8.2.1552
10033Problem: Warnings from asan with clang-11. (James McCoy)
10034Solution: Avoid using a NULL pointer. (issue #6811)
10035Files: src/fold.c
10036
10037Patch 8.2.1553 (after 8.2.1552)
10038Problem: Crash in edit test.
10039Solution: Avoid using invalid pointer.
10040Files: src/fold.c
10041
10042Patch 8.2.1554
10043Problem: Crash in normal test.
10044Solution: Skip adjusting marks if there are no folds.
10045Files: src/fold.c
10046
10047Patch 8.2.1555
10048Problem: Not all tests are executed on Github Actions.
10049Solution: Copy "src" to "src2" earlier. Recognize "src2" in a couple more
10050 places. Add two tests to the list of flaky tests. (Ken Takata,
10051 closes #6798)
10052Files: .github/workflows/ci-windows.yaml, src/testdir/runtest.vim,
10053 src/testdir/test_python2.vim, src/testdir/test_python3.vim
10054
10055Patch 8.2.1556
10056Problem: Cursorline highlighting always overrules sign highlighting.
10057Solution: Combine the highlighting, use the priority to decide how.
10058 (closes #6812)
10059Files: runtime/doc/sign.txt, src/structs.h, src/drawline.c,
10060 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim,
10061 src/testdir/test_signs.vim,
10062 src/testdir/dumps/Test_sign_cursor_5.dump,
10063 src/testdir/dumps/Test_sign_cursor_6.dump
10064
10065Patch 8.2.1557
10066Problem: Crash in :vimgrep when started as "vim -n". (Raul Segura)
10067Solution: Check mfp pointer. (Yegappan Lakshmanan, closes #6827)
10068Files: src/quickfix.c, src/testdir/test_quickfix.vim
10069
10070Patch 8.2.1558
10071Problem: Signs test fails.
10072Solution: Add missing change to sign.c.
10073Files: src/sign.c
10074
10075Patch 8.2.1559
10076Problem: s390x tests work again.
10077Solution: re-enable s390x tests. (James McCoy, closes #6829)
10078Files: .travis.yml
10079
10080Patch 8.2.1560
10081Problem: Using NULL pointers in some code. (James McCoy)
10082Solution: Avoid adding to a NULL pointer. Use byte as unsigned.
10083Files: src/fold.c, src/eval.c, src/spellsuggest.c, src/spellfile.c,
10084 src/vim9compile.c
10085
10086Patch 8.2.1561
10087Problem: Using NULL pointers in fold code.
10088Solution: Avoid using a NULL pointer. (Dominique Pellé, closes #6831,
10089 closes #6831)
10090Files: src/fold.c
10091
10092Patch 8.2.1562
10093Problem: Vim9: error when using "%" where a buffer is expected.
10094Solution: Add tv_get_buf_from_arg(). (closes #6814)
10095Files: src/typval.c, src/proto/typval.pro, src/evalbuffer.c,
10096 src/testdir/test_vim9_func.vim
10097
10098Patch 8.2.1563
10099Problem: Vim9: error when using '%" with setbufvar() or getbufvar().
10100Solution: Use tv_get_buf_from_arg(). (closes #6816)
10101Files: src/evalvars.c, src/testdir/test_vim9_func.vim
10102
10103Patch 8.2.1564
10104Problem: A few remaining errors from ubsan.
10105Solution: Avoid the warnings. (Dominique Pellé, closes #6837)
10106Files: src/spellfile.c, src/spellsuggest.c, src/viminfo.c
10107
10108Patch 8.2.1565
10109Problem: Spellfile test sometimes fails.
10110Solution: Check running into the end of the file.
10111Files: src/spellfile.c
10112
10113Patch 8.2.1566
10114Problem: Not all Bazel files are recognized.
10115Solution: Add *.bazel and *.BUILD. (closes #6836)
10116Files: runtime/filetype.vim, src/testdir/test_filetype.vim
10117
10118Patch 8.2.1567
10119Problem: No example to use ubsan with clang.
10120Solution: Add example commands. (Dominique Pellé, issue #6811)
10121Files: src/Makefile
10122
10123Patch 8.2.1568
10124Problem: prop_find() skips properties in the same line if "skipstart" is
10125 used.
10126Solution: Use "continue" instead of "break". (closes #6840)
10127Files: src/textprop.c, src/testdir/test_textprop.vim
10128
10129Patch 8.2.1569
10130Problem: Vim9: fixes for functions not tested; failure in getchangelist().
10131Solution: Add tests. (closes #6813, closes #6815, closes #6817)
10132Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10133
10134Patch 8.2.1570
10135Problem: Configure check for dirfd() does not work on HPUX. (Michael Osipov)
10136Solution: Use AC_TRY_LINK instead of AC_TRY_COMPILE. (closes #6838)
10137Files: src/configure.ac, src/auto/configure, src/fileio.c, src/globals.h
10138
10139Patch 8.2.1571
10140Problem: Vim9: count() third argument cannot be "true".
10141Solution: Use tv_get_bool_chk(). (closes #6818)
10142Files: src/typval.c, src/list.c, src/testdir/test_vim9_func.vim
10143
10144Patch 8.2.1572
10145Problem: Vim9: expand() does not take "true" as argument.
10146Solution: Use tv_get_bool_chk(). (closes #6819)
10147Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10148
10149Patch 8.2.1573
10150Problem: Vim9: getreg() does not take "true" as argument.
10151Solution: Use tv_get_bool_chk(). (closes #6820)
10152Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10153
10154Patch 8.2.1574
10155Problem: Vim9: glob() does not take "true" as argument.
10156Solution: Use tv_get_bool_chk(). (closes #6821)
10157Files: src/filepath.c, src/testdir/test_vim9_func.vim
10158
10159Patch 8.2.1575
10160Problem: Vim9: globpath() does not take "true" as argument.
10161Solution: Use tv_get_bool_chk(). (closes #6821)
10162Files: src/filepath.c, src/testdir/test_vim9_func.vim
10163
10164Patch 8.2.1576
10165Problem: Vim9: index() does not take "true" as argument.
10166Solution: Use tv_get_bool_chk(). (closes #6823)
10167Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10168
10169Patch 8.2.1577
10170Problem: Vim9: hasmapto(), mapcheck() and maparg() do not take "true" as
10171 argument.
10172Solution: Use tv_get_bool(). (closes #6822, closes #6824)
10173Files: src/evalfunc.c, src/map.c, src/testdir/test_vim9_func.vim
10174
10175Patch 8.2.1578
10176Problem: Vim9: popup_clear() does not take "true" as argument.
10177Solution: Use tv_get_bool(). (closes #6826)
10178Files: src/popupwin.c, src/testdir/test_popupwin.vim
10179
10180Patch 8.2.1579
10181Problem: Reports from asan are not optimal.
10182Solution: Use clang with ubsan. (James McCoy, closes #6811)
10183Files: .travis.yml
10184
10185Patch 8.2.1580
10186Problem: Wildmenu does not work properly.
10187Solution: Do not call may_do_incsearch_highlighting() if completion is in
10188 progress.
10189Files: src/ex_getln.c, src/testdir/test_cmdline.vim,
10190 src/testdir/dumps/Test_wildmenu_1.dump,
10191 src/testdir/dumps/Test_wildmenu_2.dump,
10192 src/testdir/dumps/Test_wildmenu_3.dump,
10193 src/testdir/dumps/Test_wildmenu_4.dump
10194
10195Patch 8.2.1581
10196Problem: Using line() for global popup window doesn't work.
10197Solution: Set tabpage to "curtab". (closes #6847)
10198Files: src/evalwindow.c, src/testdir/test_popupwin.vim
10199
10200Patch 8.2.1582
10201Problem: The channel log does not show typed text.
10202Solution: Add raw typed text to the log file.
10203Files: src/ui.c, src/os_win32.c
10204
10205Patch 8.2.1583
10206Problem: MS-Windows: cannot easily measure code coverage.
10207Solution: Add the COVERAGE option. (Ken Takata, closes #6842)
10208Files: src/Make_cyg_ming.mak
10209
10210Patch 8.2.1584
10211Problem: Vim9: cannot use "true" for "skipstart" in prop_find().
10212Solution: Use dict_get_bool() instead of tv_get_number(). (closes #6852)
10213Files: src/textprop.c, src/testdir/test_textprop.vim
10214
10215Patch 8.2.1585
10216Problem: Messages in errors.h not translated, xgettext on MS-Windows not
10217 fully supported.
10218Solution: Add errors.h to list of input files. Update MS-Windows makefiles
10219 to improve message translations. (Ken Takata, closes #6858)
10220Files: src/po/Make_cyg.mak, src/po/Make_ming.mak, src/po/Make_mvc.mak,
10221 src/po/Makefile, src/po/README.txt, src/po/fixfilenames.vim
10222
10223Patch 8.2.1586
10224Problem: :resize command not fully tested.
10225Solution: Add a couple of tests. (Dominique Pellé, closes #6857)
10226Files: src/testdir/test_window_cmd.vim
10227
10228Patch 8.2.1587
10229Problem: Loop for handling keys for the command line is too long.
10230Solution: Move wild menu handling to separate functions. (Yegappan
10231 Lakshmanan, closes #6856)
10232Files: src/cmdexpand.c, src/proto/cmdexpand.pro, src/ex_getln.c
10233
10234Patch 8.2.1588
10235Problem: Cannot read back the prompt of a prompt buffer.
10236Solution: Add prompt_getprompt(). (Ben Jackson, closes #6851)
10237Files: runtime/doc/channel.txt, runtime/doc/eval.txt,
10238 runtime/doc/usr_41.txt, src/channel.c, src/edit.c, src/evalfunc.c,
10239 src/proto/channel.pro, src/proto/edit.pro,
10240 src/testdir/test_prompt_buffer.vim
10241
10242Patch 8.2.1589
10243Problem: Term_start() options for size are overruled by 'termwinsize'.
10244 (Sergey Vlasov)
10245Solution: Set 'termwinsize' to the specified size.
10246Files: src/terminal.c, src/testdir/test_terminal2.vim,
10247 src/testdir/term_util.vim
10248
10249Patch 8.2.1590
10250Problem: Vim9: bufnr() doesn't take "true" argument.
10251Solution: use tv_get_bool_chk(). (closes #6863)
10252Files: src/evalbuffer.c, src/testdir/test_vim9_func.vim
10253
10254Patch 8.2.1591
10255Problem: Using winheight('.') in tests works but is wrong.
10256Solution: Use winheight(0). (issue #6863)
10257Files: src/testdir/test_functions.vim, src/testdir/test_quickfix.vim
10258
10259Patch 8.2.1592
10260Problem: Vim9: passing "true" to char2nr() fails.
10261Solution: Use tv_get_bool_chk(). (closes #6865)
10262Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10263
10264Patch 8.2.1593
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010265Problem: Tests do not check the error number properly.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010266Solution: Add a colon after the error number. (closes #6869)
10267Files: src/testdir/test_assert.vim, src/testdir/test_autocmd.vim,
10268 src/testdir/test_backspace_opt.vim, src/testdir/test_channel.vim,
10269 src/testdir/test_clientserver.vim, src/testdir/test_cmdline.vim,
10270 src/testdir/test_const.vim, src/testdir/test_cscope.vim,
10271 src/testdir/test_eval_stuff.vim, src/testdir/test_functions.vim,
10272 src/testdir/test_global.vim, src/testdir/test_gui.vim,
10273 src/testdir/test_hlsearch.vim, src/testdir/test_lambda.vim,
10274 src/testdir/test_let.vim, src/testdir/test_listdict.vim,
10275 src/testdir/test_move.vim, src/testdir/test_normal.vim,
10276 src/testdir/test_popupwin.vim, src/testdir/test_put.vim,
10277 src/testdir/test_quickfix.vim, src/testdir/test_rename.vim,
10278 src/testdir/test_search.vim, src/testdir/test_signs.vim,
10279 src/testdir/test_substitute.vim, src/testdir/test_syntax.vim,
10280 src/testdir/test_tagfunc.vim, src/testdir/test_tagjump.vim,
10281 src/testdir/test_taglist.vim, src/testdir/test_terminal.vim,
10282 src/testdir/test_terminal2.vim, src/testdir/test_textprop.vim,
10283 src/testdir/test_timers.vim, src/testdir/test_true_false.vim,
10284 src/testdir/test_user_func.vim, src/testdir/test_vim9_func.vim,
10285 src/testdir/test_vim9_script.vim, src/testdir/test_vimscript.vim,
10286 src/testdir/test_winbar.vim, src/testdir/test_winbuf_close.vim,
10287 src/testdir/test_window_cmd.vim, src/testdir/test_writefile.vim
10288
10289Patch 8.2.1594
10290Problem: Pull requests on github do not notify a maintainer.
10291Solution: Add a CODEOWNERS file with a few initial entries.
10292Files: Filelist, .github/CODEOWNERS
10293
10294Patch 8.2.1595
10295Problem: Cannot easily see what Vim sends to the terminal.
10296Solution: Write output to the channel log if it contains terminal control
10297 sequences. Avoid warnings for tputs() argument.
10298Files: src/term.c, src/globals.h, src/edit.c, src/normal.c,
10299 src/optionstr.c
10300
10301Patch 8.2.1596
10302Problem: Using win_screenpos('.') in tests works but is wrong.
10303Solution: Use win_screenpos(0).
10304Files: src/testdir/test_terminal3.vim
10305
10306Patch 8.2.1597
10307Problem: The channel source file is too big.
10308Solution: Move job related code to a new source file.
10309Files: Filelist, src/Makefile, src/Make_mvc.mak, src/Make_cyg_ming.mak,
10310 src/channel.c, src/proto/channel.pro, src/job.c,
10311 src/proto/job.pro, src/proto.h, src/edit.c, src/proto/edit.pro,
10312 src/globals.h, src/configure.ac, src/auto/configure
10313
10314Patch 8.2.1598
10315Problem: Starting a hidden terminal resizes the current window.
10316Solution: Do not resize the current window for a hidden terminal.
10317 (closes #6872)
10318Files: src/terminal.c, src/testdir/test_terminal2.vim
10319
10320Patch 8.2.1599
10321Problem: Missing line end when skipping a long line with :cgetfile.
10322Solution: Fix off-by-one error. (closes #6870)
10323Files: src/quickfix.c, src/testdir/test_quickfix.vim
10324
10325Patch 8.2.1600
10326Problem: Vim9: cannot use "true" with deepcopy().
10327Solution: Use tv_get_bool_chk(). (closes #6867)
10328Files: src/evalfunc.c, src/testdir/test_vim9_func.vim,
10329 src/testdir/test_listdict.vim
10330
10331Patch 8.2.1601
10332Problem: Vim9: cannot use "true" with garbagecollect().
10333Solution: Use tv_get_bool(). (closes #6871)
10334Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10335
10336Patch 8.2.1602
10337Problem: Vim9: cannot use "true" with getbufinfo().
10338Solution: Use dict_get_bool(). (closes #6873)
10339Files: src/evalbuffer.c, src/testdir/test_vim9_func.vim
10340
10341Patch 8.2.1603
10342Problem: Vim9: cannot use "true" with getchar().
10343Solution: use tv_get_bool_chk(). (closes #6874)
10344Files: src/getchar.c, src/testdir/test_vim9_func.vim
10345
10346Patch 8.2.1604
10347Problem: Vim9: cannot use "true" with getcompletion().
10348Solution: use tv_get_bool_chk(). (closes #6875)
10349Files: src/cmdexpand.c, src/testdir/test_vim9_func.vim
10350
10351Patch 8.2.1605
10352Problem: Default maintainer on github is wrong.
10353Solution: Use Bram's account.
10354Files: .github/CODEOWNERS
10355
10356Patch 8.2.1606
10357Problem: Vim9: cannot use "true" with has().
10358Solution: Use tv_get_bool(). (closes #6876)
10359Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10360
10361Patch 8.2.1607
10362Problem: Vim9: getchar() test fails on MS-Windows.
10363Solution: First consume any available input.
10364Files: src/testdir/test_vim9_func.vim
10365
10366Patch 8.2.1608
10367Problem: Vim9: getchar() test fails with GUI.
10368Solution: Avoid that getchar(0) gets stuck on K_IGNORE.
10369Files: src/getchar.c
10370
10371Patch 8.2.1609
10372Problem: Vim9: test fails when build without +channel.
10373Solution: Add check for +channel. (closes #6879)
10374Files: src/testdir/test_vim9_expr.vim
10375
10376Patch 8.2.1610
10377Problem: Vim9: cannot pass "true" to list2str() and str2list().
10378Solution: Use tv_get_bool_chk(). (closes #6877)
10379Files: src/evalfunc.c, src/list.c, src/testdir/test_vim9_func.vim
10380
10381Patch 8.2.1611
10382Problem: Vim9: cannot pass "true" to nr2char().
10383Solution: use tv_get_bool_chk(). (closes #6878)
10384Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10385
10386Patch 8.2.1612
10387Problem: Vim9: cannot pass "true" to prop_remove().
10388Solution: Use dict_get_bool(). (closes #6853)
10389Files: src/textprop.c, src/testdir/test_textprop.vim
10390
10391Patch 8.2.1613
10392Problem: Vim9: cannot pass "true" to prop_type_add().
10393Solution: Use tv_get_bool(). (closes #6850)
10394Files: src/textprop.c, src/testdir/test_textprop.vim
10395
10396Patch 8.2.1614
10397Problem: Vim9: cannot pass "true" to searchcount().
10398Solution: Use tv_get_bool_chk(). (closes #6854)
10399Files: src/search.c, src/testdir/test_vim9_func.vim
10400
10401Patch 8.2.1615
10402Problem: Vim9: cannot pass "true" to searchdecl().
10403Solution: use tv_get_bool_chk(). (closes #6881)
10404Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10405
10406Patch 8.2.1616
10407Problem: Vim9: cannot pass "true" to synID().
10408Solution: Use tv_get_bool_chk(). (closes #6860)
10409Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10410
10411Patch 8.2.1617
10412Problem: Vim9: cannot pass "true" to win_splitmove().
10413Solution: Use dict_get_bool(). (closes #6862) Alphabetize test functions.
10414Files: src/evalwindow.c, src/testdir/test_vim9_func.vim
10415
10416Patch 8.2.1618
10417Problem: Vim9: cannot pass "true" to setloclist().
10418Solution: Use dict_get_bool(). (closes #6882)
10419Files: src/quickfix.c, src/testdir/test_vim9_func.vim
10420
10421Patch 8.2.1619
10422Problem: Vim9: cannot pass "true" to spellsuggest().
10423Solution: Use tv_get_bool_chk(). (closes #6883)
10424Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10425
10426Patch 8.2.1620
10427Problem: searchcount() test fails.
10428Solution: Restore default flag value.
10429Files: src/search.c
10430
10431Patch 8.2.1621
10432Problem: Crash when using submatch(0, 1) in substitute().
10433Solution: Increment reference count. (closes #6887)
10434Files: src/regexp.c, src/testdir/test_substitute.vim
10435
10436Patch 8.2.1622
10437Problem: Loop to handle keys for the command line is too long.
10438Solution: Move code to functions. (Yegappan Lakshmanan, closes #6880)
10439Files: src/ex_getln.c
10440
10441Patch 8.2.1623
10442Problem: Vim9: using :call where it is not needed.
10443Solution: Remove :call. (closes #6892)
10444Files: src/testdir/test_maparg.vim, src/testdir/test_textprop.vim,
10445 src/testdir/test_vim9_disassemble.vim,
10446 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
10447 src/testdir/test_vim9_script.vim
10448
10449Patch 8.2.1624
10450Problem: Vim9: cannot pass "true" to split(), str2nr() and strchars().
10451Solution: Use tv_get_bool_chk(). (closes #6884, closes #6885, closes #6886)
10452Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10453
10454Patch 8.2.1625
10455Problem: Compiler warning for use of fptr_T.
10456Solution: Make the type less strict.
10457Files: src/regexp.c
10458
10459Patch 8.2.1626
10460Problem: Test for strchars() fails with different error number.
10461Solution: Adjust the error number.
10462Files: src/testdir/test_utf8.vim
10463
10464Patch 8.2.1627
10465Problem: Vim9: cannot pass "true" to submatch(), term_gettty() and
10466 term_start()
10467Solution: Use tv_get_bool_chk(). (closes #6888, closes #6890, closes #6889)
10468Files: src/evalfunc.c, src/terminal.c, src/job.c,
10469 src/testdir/test_vim9_func.vim
10470
10471Patch 8.2.1628
10472Problem: Vim9: cannot pass "true" to timer_paused().
10473Solution: Use tv_get_bool(). (closes #6891)
10474Files: src/time.c, src/testdir/test_vim9_func.vim
10475
10476Patch 8.2.1629
10477Problem: Test fails without terminal feature.
10478Solution: Check for terminal feature.
10479Files: src/testdir/test_vim9_func.vim
10480
10481Patch 8.2.1630
10482Problem: Terminal test fails.
10483Solution: Correct argument to term_start(). Correct error number.
10484Files: src/testdir/test_terminal.vim, src/testdir/test_terminal2.vim
10485
10486Patch 8.2.1631
10487Problem: test_fails() does not check the context of the line number.
10488Solution: Use another argument to specify the context of the line number.
10489Files: runtime/doc/testing.txt, runtime/doc/eval.txt,
10490 src/testdir/test_vim9_func.vim, src/testing.c, src/globals.h,
10491 src/evalfunc.c, src/message.c
10492
10493Patch 8.2.1632
10494Problem: Not checking the context of test_fails().
10495Solution: Add the line number and context arguments. Give error if
10496 assert_fails() argument types are wrong.
10497Files: src/testing.c, src/errors.h, src/testdir/test_assert.vim,
10498 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
10499
10500Patch 8.2.1633
10501Problem: Some error messages are internal but do not use iemsg().
10502Solution: Use iemsg(). (Dominique Pellé, closes #6894)
10503Files: src/regexp.c, src/regexp_bt.c, src/regexp_nfa.c
10504
10505Patch 8.2.1634
10506Problem: Loop to handle keys for the command line is too long.
10507Solution: Move a few more parts to separate functions. (Yegappan Lakshmanan,
10508 closes #6895)
10509Files: src/ex_getln.c, src/testdir/test_cmdline.vim
10510
10511Patch 8.2.1635
10512Problem: No digraph for 0x2022 BULLET.
10513Solution: Use "oo". (Hans Ginzel, closes #6904)
10514Files: src/digraph.c, runtime/doc/digraph.txt
10515
10516Patch 8.2.1636
10517Problem: Get stuck if a popup filter causes an error.
10518Solution: Check whether the function can be called and does not cause an
10519 error. (closes #6902)
10520Files: src/structs.h, src/popupwin.c, src/testdir/test_popupwin.vim
10521 src/testdir/dumps/Test_popupwin_wrong_name.dump,
10522 src/testdir/dumps/Test_popupwin_three_errors_1.dump,
10523 src/testdir/dumps/Test_popupwin_three_errors_2.dump
10524
10525Patch 8.2.1637
10526Problem: Vim9: :put ={expr} does not work inside :def function.
10527Solution: Add ISN_PUT. (closes #6397)
10528Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/register.c,
10529 src/proto/register.pro, src/edit.c, src/ex_docmd.c, src/mouse.c,
10530 src/normal.c, src/testdir/test_vim9_cmd.vim,
10531 src/testdir/test_vim9_disassemble.vim
10532
10533Patch 8.2.1638
10534Problem: Leaking memory when popup filter function can't be called.
10535Solution: Don't return too soon.
10536Files: src/popupwin.c
10537
10538Patch 8.2.1639
10539Problem: Options window cannot be translated.
10540Solution: Get the translation for "local to" texts once and use them in many
10541 places. Fix that 'whichwrap' is not a local option. (issue #6800)
10542Files: runtime/optwin.vim
10543
10544Patch 8.2.1640
10545Problem: Amiga: missing header for getgrgid().
10546Solution: Add the grp.h header. (Ola Söder, closes #6906)
10547Files: src/os_amiga.h
10548
10549Patch 8.2.1641
10550Problem: Vim9: cannot use 0 or 1 where a bool is expected.
10551Solution: Allow using 0 and 1 for a bool type. (closes #6903)
10552Files: src/vim9compile.c, src/vim9type.c, src/proto/vim9type.pro,
10553 src/structs.h, src/testdir/test_vim9_script.vim
10554
10555Patch 8.2.1642
10556Problem: Options test fails.
10557Solution: Correct call to OptionG().
10558Files: runtime/optwin.vim
10559
10560Patch 8.2.1643
10561Problem: Vim9: :defcompile compiles dead functions.
10562Solution: Skip over dead functions.
10563Files: src/userfunc.c
10564
10565Patch 8.2.1644
10566Problem: Vim9: cannot assign 1 and 0 to bool at script level.
10567Solution: Add the TTFLAG_BOOL_OK flag to the type. Fix name of test
10568 function.
10569Files: src/vim9type.c, src/testdir/test_vim9_script.vim,
10570 src/testdir/vim9.vim, src/testdir/test_vim9_expr.vim
10571
10572Patch 8.2.1645
10573Problem: GTK3: icons become broken images when resized.
10574Solution: Use gtk_image_new_from_icon_name(). (closes #6916)
10575 Fix compiler warnings.
10576Files: src/gui_gtk_x11.c
10577
10578Patch 8.2.1646
10579Problem: Amiga: Unnecessary #include.
10580Solution: Remove the #include. (Ola Söder, closes #6908)
10581Files: src/version.c
10582
10583Patch 8.2.1647
10584Problem: Vim9: result of expression with && and || cannot be assigned to a
10585 bool variable.
10586Solution: Add the TTFLAG_BOOL_OK flag and convert the value if needed.
10587Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
10588 src/testdir/test_vim9_disassemble.vim
10589
10590Patch 8.2.1648
10591Problem: Amiga: no common build file for Amiga (-like) systems.
10592Solution: Turn Make_morph.mak into Make_ami.mak. (Ola Söder, closes #6805)
10593Files: Filelist, src/Make_ami.mak, src/Make_morph.mak, src/INSTALLami.txt
10594
10595Patch 8.2.1649
10596Problem: GTK3: using old file chooser.
10597Solution: Use native file chooser on GTK 3.20 and above. (Yogeshwar
10598 Velingker, closes #6909)
10599Files: src/gui_gtk.c
10600
10601Patch 8.2.1650
10602Problem: Vim9: result of && and || expression cannot be assigned to a bool
10603 at the script level.
10604Solution: Add the VAR_BOOL_OK flag. Convert to bool when needed.
10605Files: src/structs.h, src/vim9type.c, src/proto/vim9type.pro,
10606 src/vim9script.c, src/evalvars.c, src/eval.c,
10607 src/testdir/test_vim9_script.vim
10608
10609Patch 8.2.1651
10610Problem: Spellfile code not completely tested.
10611Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #6918)
10612Files: src/testdir/test_spellfile.vim
10613
10614Patch 8.2.1652
10615Problem: Cannot translate lines in the options window.
10616Solution: Use the AddOption() function to split descriptions where indicated
10617 by a line break. (issue #6800)
10618Files: runtime/optwin.vim
10619
10620Patch 8.2.1653
10621Problem: Expand('<stack>') does not include the final line number.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010622Solution: Add the line number. (closes #6927)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010623Files: src/vim.h, src/scriptfile.c, src/proto/scriptfile.pro,
10624 src/debugger.c, src/ex_docmd.c, src/ex_eval.c, src/message.c,
10625 src/testing.c, src/testdir/test_expand_func.vim
10626
10627Patch 8.2.1654
10628Problem: When job writes to hidden buffer current window has display
10629 errors. (Johnny McArthur)
10630Solution: Use aucmd_prepbuf() instead of switch_to_win_for_buf().
10631 (closes #6925)
10632Files: src/channel.c
10633
10634Patch 8.2.1655
10635Problem: Cannot build with Strawberry Perl 5.32.0.
10636Solution: Use Perl_sv_2pvbyte_flags. (closes #6921)
10637Files: src/if_perl.xs
10638
10639Patch 8.2.1656
10640Problem: Vim9: callstack wrong if :def function calls :def function.
10641Solution: Set the line number before calling. (closes #6914)
10642Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
10643
10644Patch 8.2.1657
10645Problem: Vim9: no proper error for nested ":def!".
10646Solution: Check for "!". (closes #6920)
10647Files: src/errors.h, src/vim9compile.c, src/testdir/test_vim9_func.vim
10648
10649Patch 8.2.1658
10650Problem: Expand('<stack>') has trailing "..".
10651Solution: Remove the "..". (closes #6927)
10652Files: src/scriptfile.c, src/testdir/test_expand_func.vim
10653
10654Patch 8.2.1659
10655Problem: Spellfile code not completely tested.
10656Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #6929)
10657Files: src/testdir/test_spell.vim, src/testdir/test_spellfile.vim
10658
10659Patch 8.2.1660
10660Problem: Assert functions require passing expected result as the first
10661 argument, which isn't obvious.
10662Solution: Use a method, as in "runtest()->assert_equal(expected)".
10663Files: src/testdir/test_vim9_func.vim
10664
10665Patch 8.2.1661
10666Problem: Cannot connect to 127.0.0.1 for host with only IPv6 addresses.
10667Solution: pass AI_V4MAPPED flag to getaddrinfo. (Filipe Brandenburger,
10668 closes #6931)
10669Files: src/channel.c
10670
10671Patch 8.2.1662
10672Problem: :mksession does not restore shared terminal buffer properly.
10673Solution: Keep a hashtab with terminal buffers. (Rob Pilling, closes #6930)
10674Files: src/hashtab.c, src/proto/terminal.pro, src/session.c,
10675 src/terminal.c, src/testdir/test_mksession.vim
10676
10677Patch 8.2.1663
10678Problem: Options window entries cannot be translated.
10679Solution: Use AddOption() for all explanations. (closes #6800)
10680Files: runtime/optwin.vim
10681
10682Patch 8.2.1664
10683Problem: Memory leak when using :mkview with a terminal buffer.
10684Solution: Don't use a hastab for :mkview. (Rob Pilling, closes #6935)
10685Files: src/session.c, src/terminal.c, src/testdir/test_mksession.vim
10686
10687Patch 8.2.1665
10688Problem: Cannot do fuzzy string matching.
10689Solution: Add matchfuzzy(). (Yegappan Lakshmanan, closes #6932)
10690Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
10691 src/proto/search.pro, src/search.c, src/testdir/test_functions.vim
10692
10693Patch 8.2.1666
10694Problem: The initial value of 'backupskip' can have duplicate items.
10695Solution: Remove duplicates, like when it is set later. (Tom Ryder,
10696 closes #6940)
10697Files: src/option.c, src/testdir/test_options.vim
10698
10699Patch 8.2.1667
10700Problem: Local function name cannot shadow a global function name.
10701Solution: Ignore global functions when checking a script-local or scoped
10702 function name. (closes #6926)
10703Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro,
10704 src/testdir/test_vim9_func.vim
10705
10706Patch 8.2.1668
10707Problem: Vim9: not accepting 0 or 1 as bool when type is any.
10708Solution: Convert the type with the CHECKTYPE instruction. (closes #6913)
10709Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
10710
10711Patch 8.2.1669
10712Problem: Vim9: memory leak when storing a value fails.
10713Solution: Free the value when not storing it.
10714Files: src/evalvars.c
10715
10716Patch 8.2.1670
10717Problem: A couple of gcc compiler warnings.
10718Solution: Initialize local variables. (Dominique Pellé, closes #6944)
10719Files: src/memline.c, src/option.c
10720
10721Patch 8.2.1671
10722Problem: Vim9: stray error for missing white space.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010723Solution: Do not skip over white space after member. (closes #6917)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010724Files: src/eval.c, src/testdir/test_vim9_expr.vim
10725
10726Patch 8.2.1672
10727Problem: v_lock is used when it is not initialized. (Yegappan Lakshmanan)
10728Solution: Initialize the typval in eval1().
10729Files: src/eval.c
10730
10731Patch 8.2.1673
10732Problem: complete_info() selected index has an invalid value. (Ben Jackson)
10733Solution: Set the index when there is only one match. (closes #6945)
10734 Add test for complete_info().
10735Files: src/insexpand.c, src/testdir/test_ins_complete.vim
10736
10737Patch 8.2.1674
10738Problem: Vim9: internal error when using variable that was not set.
10739Solution: Give a meaningful error. (closes #6937)
10740Files: src/vim9script.c, src/testdir/test_vim9_script.vim
10741
10742Patch 8.2.1675
10743Problem: MinGW: testdir makefile deletes non-existing file.
10744Solution: Use another way to delete the output file if it already exists.
10745 (Michael Soyka)
10746Files: src/testdir/Make_ming.mak
10747
10748Patch 8.2.1676
10749Problem: Compiler warnings for function typecast.
10750Solution: Add an intermediate cast to "void *".
10751Files: src/os_unix.c
10752
10753Patch 8.2.1677
10754Problem: Memory access errors when calling setloclist() in an autocommand.
10755Solution: Give an error if the list was changed unexpectedly. (closes #6946)
10756Files: src/quickfix.c, src/testdir/test_quickfix.vim
10757
10758Patch 8.2.1678
10759Problem: Crash when using ":set" after ":ownsyntax". (Dhiraj Mishra)
10760Solution: Make sure 'spelloptions' is not NULL. (closes #6950)
10761Files: src/syntax.c, src/testdir/test_syntax.vim
10762
10763Patch 8.2.1679
10764Problem: Vim9: ":*" is not recognized as a range.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010765Solution: Move recognizing "*" into skip_range(). (closes #6938)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010766Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/cmdexpand.c,
10767 src/ex_getln.c, src/userfunc.c, src/vim9compile.c,
10768 src/testdir/test_vim9_cmd.vim
10769
10770Patch 8.2.1680
10771Problem: Vim9: line number for compare error is wrong.
10772Solution: Set SOURCING_LNUM. (closes #6936)
10773Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
10774
10775Patch 8.2.1681
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010776Problem: Vim9: unnecessary :call commands in tests.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010777Solution: Remove the commands. (issue #6936)
10778Files: src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
10779
10780Patch 8.2.1682
10781Problem: Vim9: const works in an unexpected way.
10782Solution: ":const" only disallows changing the variable, not the value.
10783 Make "list[0] = 9" work at the script level.
10784Files: src/vim9compile.c, src/evalvars.c, src/testdir/test_vim9_script.vim
10785
10786Patch 8.2.1683
10787Problem: Vim9: assignment test fails.
10788Solution: Include changes to find Ex command.
10789Files: src/ex_docmd.c
10790
10791Patch 8.2.1684
10792Problem: "gF" does not use line number after file in Visual mode.
10793Solution: Look for ":123" after the Visual area. (closes #6952)
10794Files: src/findfile.c, src/testdir/test_gf.vim
10795
10796Patch 8.2.1685
10797Problem: Vim9: cannot declare a constant value.
10798Solution: Introduce ":const!".
10799Files: runtime/doc/vim9.txt, src/ex_cmds.h, src/vim9compile.c,
10800 src/vim9.h, src/vim9execute.c, src/evalvars.c,
10801 src/proto/evalvars.pro, src/errors.h, src/vim.h, src/eval.c,
10802 src/testdir/test_vim9_script.vim
10803
10804Patch 8.2.1686
10805Problem: Vim9: "const!" not sufficiently tested.
10806Solution: Add a few more test cases. Fix type checking.
10807Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
10808
10809Patch 8.2.1687
10810Problem: Vim9: out of bounds error.
10811Solution: Check that cmdidx is not negative.
10812Files: src/vim9compile.c
10813
10814Patch 8.2.1688
10815Problem: Increment/decrement removes text property.
10816Solution: Insert the new number before deleting the old one. (closes #6962)
10817Files: src/ops.c, src/testdir/test_textprop.vim
10818
10819Patch 8.2.1689
10820Problem: 'colorcolumn' doesn't show in indent.
10821Solution: Also draw the column when draw_state is WL_BRI or WL_SBR.
10822 (Alexey Demin, closes #6948, closes #6619)
10823Files: src/drawline.c, src/testdir/dumps/Test_colorcolumn_2.dump,
10824 src/testdir/dumps/Test_colorcolumn_3.dump,
10825 src/testdir/test_highlight.vim
10826
10827Patch 8.2.1690
10828Problem: Text properties not adjusted for "I" in Visual block mode.
10829Solution: Call inserted_bytes(). (closes #6961)
10830Files: src/ops.c, src/change.c, src/proto/change.pro,
10831 src/testdir/test_textprop.vim
10832
10833Patch 8.2.1691
10834Problem: Vim9: list<any> is not accepted where list<number> is expected.
10835Solution: Add functions to allocate and free a type_T, use it in
10836 ISN_CHECKTYPE. (closes #6959)
10837Files: src/vim9.h, src/globals.h, src/vim9compile.c, src/vim9execute.c,
10838 src/vim9type.c, src/proto/vim9type.pro, src/errors.h,
10839 src/evalfunc.c, src/testdir/test_vim9_disassemble.vim,
10840 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
10841 src/testdir/test_vim9_script.vim
10842
10843Patch 8.2.1692
10844Problem: Build fails because TTFLAG_STATIC is missing.
10845Solution: Include missing change.
10846Files: src/structs.h
10847
10848Patch 8.2.1693
10849Problem: "hi def" does not work for cleared highlight.
10850Solution: Check the "sg_cleared" flag. (Maxim Kim, closes #6956,
10851 closes #4405)
10852Files: src/highlight.c, src/testdir/test_highlight.vim
10853
10854Patch 8.2.1694
10855Problem: Compiler warning for loss if data.
10856Solution: Add typecast.
10857Files: src/ops.c
10858
10859Patch 8.2.1695
10860Problem: Vim9: crash when using varargs type "any".
10861Solution: Check if uf_va_type is &t_any. (closes #6957)
10862Files: src/vim9compile.c, src/vim9execute.c,
10863 src/testdir/test_vim9_func.vim
10864
10865Patch 8.2.1696
10866Problem: Unused (duplicate) macros.
10867Solution: Remove the macros.
10868Files: src/spell.c
10869
10870Patch 8.2.1697
10871Problem: Inconsistent capitalization of error messages.
10872Solution: Always start with a capital.
10873Files: src/errors.h, src/testdir/test_vim9_expr.vim,
10874 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim,
10875 src/testdir/test_assert.vim
10876
10877Patch 8.2.1698
10878Problem: Cannot lock a variable in legacy Vim script like in Vim9.
10879Solution: Make ":lockvar 0" work.
10880Files: runtime/doc/eval.txt, src/evalvars.c, src/proto/evalvars.pro,
10881 src/dict.c, src/eval.c, src/list.c, src/typval.c, src/userfunc.c,
10882 src/testdir/test_const.vim, src/testdir/test_listdict.vim
10883
10884Patch 8.2.1699
10885Problem: Build failure due to missing error message.
10886Solution: Add error message.
10887Files: src/errors.h
10888
10889Patch 8.2.1700
10890Problem: Vim9: try/catch causes wrong value to be returned.
10891Solution: Reset tcd_return. (closes #6964)
10892Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
10893
10894Patch 8.2.1701
10895Problem: Vim9: sort("i") does not work.
10896Solution: Don't try getting a number for a string argument. (closes #6958)
10897Files: src/list.c, src/testdir/test_vim9_func.vim
10898
10899Patch 8.2.1702
10900Problem: Crash when using undo after deleting folded lines.
10901Solution: Check for NULL pointer. (closes #6968)
10902Files: src/fold.c, src/testdir/test_fold.vim
10903
10904Patch 8.2.1703
10905Problem: ":highlight clear" does not restore default link.
10906Solution: Remember the default link and restore it. (Antony Scriven,
10907 closes #6970, closes #4405)
10908Files: runtime/doc/syntax.txt, src/highlight.c,
10909 src/testdir/test_highlight.vim
10910
10911Patch 8.2.1704
10912Problem: Vim9: crash in for loop when autoload script has an error.
10913Solution: Reset suppress_errthrow. Check for NULL list. (closes #6967)
10914Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
10915
10916Patch 8.2.1705
10917Problem: "verbose hi Name" reports incorrect info after ":hi clear".
10918Solution: Store the script context. (Antony Scriven, closes #6975)
10919Files: src/highlight.c, src/testdir/test_highlight.vim
10920
10921Patch 8.2.1706
10922Problem: Vim9: crash after running into the "Multiple closures" error.
10923Solution: When a function fails still update any closures. (closes #6973)
10924Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
10925
10926Patch 8.2.1707
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010927Problem: Small inconsistency in highlight test.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010928Solution: Use one argument for :execute. (Antony Scriven, #6975)
10929Files: src/testdir/test_highlight.vim
10930
10931Patch 8.2.1708
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010932Problem: Vim9: error message for function has unprintable characters.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010933Solution: use printable_func_name(). (closes #6965)
10934Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
10935
10936Patch 8.2.1709
10937Problem: Vim9: memory leak when using multiple closures.
10938Solution: Free the partial.
10939Files: src/vim9execute.c
10940
10941Patch 8.2.1710
10942Problem: Vim9: list of list type can be wrong.
10943Solution: Use VAR_UNKNOWN for empty list. Recognize VAR_UNKNOWN when
10944 looking for a common type. (closes #6979)
10945Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
10946
10947Patch 8.2.1711
10948Problem: Vim9: leaking memory when using partial.
10949Solution: Do delete the function even when it was compiled.
10950Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
10951 src/vim9execute.c
10952
10953Patch 8.2.1712
10954Problem: Vim9: leaking memory when calling a lambda.
10955Solution: Decrement function reference from ISN_DCALL.
10956Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro
10957
10958Patch 8.2.1713
10959Problem: Motif GUI: crash when setting menu colors. (Andrzej Bylicki)
10960Solution: Add {} to make "n" incremented correctly. (closes #6989,
10961 closes #5948)
10962Files: src/gui_motif.c
10963
10964Patch 8.2.1714
10965Problem: Text properties corrupted with substitute command. (Filipe
10966 Brandenburger)
10967Solution: Get the changed line again after using u_savesub(). (closes #6984)
10968Files: src/textprop.c, src/testdir/test_textprop.vim
10969
10970Patch 8.2.1715
10971Problem: Motif GUI: commented out code missed {}.
10972Solution: Add {} and reenable the code. (similar to #6989)
10973Files: src/gui_motif.c
10974
10975Patch 8.2.1716
10976Problem: Options window has duplicate translations.
10977Solution: Make one entry for "global or local to buffer". Fix wrong text.
10978 (closes #6983)
10979Files: runtime/optwin.vim
10980
10981Patch 8.2.1717
10982Problem: MS-Windows installer doesn't have Russian translations.
10983Solution: Add Russian translations. (closes #6985)
10984Files: nsis/gvim.nsi, nsis/lang/russian.nsi
10985
10986Patch 8.2.1718
10987Problem: Vim9: :def function disallows "firstline" and "lastline" argument
10988 names for no good reason.
10989Solution: Don't check the arguments for a :def function. (closes #6986)
10990Files: src/userfunc.c, src/testdir/test_vim9_func.vim
10991
10992Patch 8.2.1719
10993Problem: Vim9: no error if comma is missing in between arguments.
10994Solution: Give an error message.
10995Files: src/errors.h, src/vim9compile.c, src/testdir/test_vim9_expr.vim
10996
10997Patch 8.2.1720
10998Problem: Vim9: memory leak with heredoc that isn't executed. (Dominique
10999 Pellé)
11000Solution: Don't clear the list items. (closes #6991)
11001Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
11002
11003Patch 8.2.1721
11004Problem: MS-Windows installer doesn't work.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011005Solution: Write "Russian" in ASCII. (closes #6995, see #6985).
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011006Files: nsis/lang/russian.nsi
11007
11008Patch 8.2.1722
11009Problem: Vim9: cannot assign a lambda to a variable of type function.
11010Solution: Allow for assigning a partial to a variable of type function.
11011 (Naruhiko Nishino, closes #6996)
11012Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
11013
11014Patch 8.2.1723
11015Problem: Vim9: Variable argument name cannot start with underscore.
11016Solution: Use eval_isnamec1(). (closes #6988)
11017Files: src/userfunc.c, src/testdir/test_vim9_func.vim
11018
11019Patch 8.2.1724
11020Problem: Vim9: assignment tests spread out.
11021Solution: Create new test file for assignment tests.
11022Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_cmd.vim,
11023 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_expr.vim,
11024 src/testdir/Make_all.mak
11025
11026Patch 8.2.1725
11027Problem: Not all Pascal files are recognized.
11028Solution: Add filetype patterns. (Doug Kearns)
11029Files: runtime/filetype.vim, src/testdir/test_filetype.vim
11030
11031Patch 8.2.1726
11032Problem: Fuzzy matching only works on strings.
11033Solution: Support passing a dict. Add matchfuzzypos() to also get the match
11034 positions. (Yegappan Lakshmanan, closes #6947)
11035Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
11036 src/proto/search.pro, src/search.c, src/testdir/Make_all.mak,
11037 src/testdir/test_functions.vim, src/testdir/test_matchfuzzy.vim
11038
11039Patch 8.2.1727
11040Problem: A popup created with "cursorline" will ignore "firstline".
11041Solution: When both "cursorline" and "firstline" are present put the cursor
11042 on "firstline". (closes #7000) Add the "winid" argument to
11043 getcurpos().
11044Files: runtime/doc/eval.txt, src/evalfunc.c, src/popupwin.c,
11045 src/evalwindow.c, src/testdir/test_popupwin.vim,
11046 src/testdir/test_functions.vim
11047
11048Patch 8.2.1728
11049Problem: Compiler warning for using uninitialized variable. (John Marriott)
11050Solution: Initialize "neighbor".
11051Files: src/search.c
11052
11053Patch 8.2.1729
11054Problem: Endless loop when ":normal" feeds popup window filter.
11055Solution: Add the ex_normal_busy_done flag.
11056Files: src/globals.h, src/getchar.c, src/evalfunc.c, src/ex_docmd.c,
11057 src/menu.c, src/testdir/test_popupwin.vim,
11058 src/testdir/dumps/Test_popupwin_normal_cmd.dump
11059
11060Patch 8.2.1730
11061Problem: Vim9: cannot use member of unknown type.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011062Solution: When type is unknown use "any". (closes #6997)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011063Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
11064
11065Patch 8.2.1731
11066Problem: Vim9: cannot use += to append to empty NULL list.
11067Solution: Copy the list instead of extending it. (closes #6998)
11068Files: src/eval.c, src/testdir/test_vim9_assign.vim
11069
11070Patch 8.2.1732
11071Problem: Stuck when win_execute() for a popup causes an error.
11072Solution: Disable the filter callback on error. (issue #6999)
11073Files: src/popupwin.c, src/testdir/term_util.vim,
11074 src/testdir/test_popupwin.vim,
11075 src/testdir/dumps/Test_popupwin_win_execute.dump
11076
11077Patch 8.2.1733
11078Problem: Vim9: memory leaks when using nested function.
11079Solution: Free function when compilation fails.
11080Files: src/vim9compile.c
11081
11082Patch 8.2.1734
11083Problem: Vim9: cannot use a funcref for a closure twice.
11084Solution: Instead of putting the funcref on the stack use a growarray on the
11085 execution context.
11086Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
11087 src/testdir/test_vim9_func.vim,
11088 src/testdir/test_vim9_disassemble.vim
11089
11090Patch 8.2.1735
11091Problem: Github actions appear to timeout too soon.
11092Solution: use "timeout" instead of "ping".
11093Files: .github/workflows/ci-windows.yaml
11094
11095Patch 8.2.1736
11096Problem: Failure to compile a pattern not tested much.
11097Solution: Add tests where a pattern fails to compile. (Yegappan Lakshmanan,
11098 closes #7004)
11099Files: src/testdir/gen_opt_test.vim, src/testdir/test_arglist.vim,
11100 src/testdir/test_autocmd.vim, src/testdir/test_buffer.vim,
11101 src/testdir/test_checkpath.vim, src/testdir/test_cmdline.vim,
11102 src/testdir/test_debugger.vim, src/testdir/test_functions.vim,
11103 src/testdir/test_history.vim, src/testdir/test_listdict.vim,
11104 src/testdir/test_options.vim, src/testdir/test_search_stat.vim,
11105 src/testdir/test_sort.vim, src/testdir/test_substitute.vim,
11106 src/testdir/test_syntax.vim, src/testdir/test_tagjump.vim,
11107 src/testdir/test_user_func.vim
11108
11109Patch 8.2.1737
11110Problem: Cursor line highlight in popup window is not always updated.
11111Solution: Check if the cursor has moved. (closes #7010)
11112Files: src/popupwin.c, src/testdir/test_popupwin.vim
11113 src/testdir/dumps/Test_popupwin_win_execute_cursorline.dump
11114
11115Patch 8.2.1738
11116Problem: Mac: str2float() recognizes comma instead of decimal point.
11117Solution: Set LC_NUMERIC to "C". (closes #7003)
11118Files: src/os_mac_conv.c
11119
11120Patch 8.2.1739
11121Problem: Vim9: crash when compiling a manually defined function. (Antony
11122 Scriven)
11123Solution: Check that the script ID is positive. (closes #7012)
11124Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
11125
11126Patch 8.2.1740
11127Problem: Test fails without the terminal feature.
11128Solution: Skip test if the terminal feature is not available.
11129Files: src/testdir/test_vim9_script.vim
11130
11131Patch 8.2.1741
11132Problem: pathshorten() only supports using one character.
11133Solution: Add an argument to control the length. (closes #7006)
11134Files: runtime/doc/eval.txt, src/evalfunc.c, src/filepath.c,
11135 src/proto/filepath.pro, src/testdir/test_functions.vim
11136
11137Patch 8.2.1742
11138Problem: Test still fails without the terminal feature.
11139Solution: Put check for terminal feature in separate function.
11140Files: src/testdir/test_vim9_script.vim
11141
11142Patch 8.2.1743
11143Problem: Cannot build without the eval feature.
11144Solution: Move shorten_dir outside of #ifdef.
11145Files: src/filepath.c
11146
11147Patch 8.2.1744
11148Problem: Vim9: using ":const!" is weird.
11149Solution: Use "var" - "final" - "const" like Dart. "let" still works for
11150 now.
11151Files: runtime/doc/vim9.txt, src/ex_cmds.h, src/errors.h, src/evalvars.c,
11152 src/proto/evalvars.pro, src/cmdexpand.c, src/eval.c,
11153 src/ex_docmd.c, src/vim9compile.c, src/vim9execute.c,
11154 src/vim9script.c, src/vim.h, src/ex_cmdidxs.h,
11155 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_script.vim
11156
11157Patch 8.2.1745
11158Problem: Tiny version doesn't build.
11159Solution: Add dummy ex_var() function.
11160Files: src/ex_docmd.c
11161
11162Patch 8.2.1746
11163Problem: Vim9: Cannot use "fina" for "finally". (Naruhiko Nishino)
11164Solution: Specifically check for "fina". (closes #7020)
11165Files: src/ex_docmd.c, src/testdir/test_trycatch.vim,
11166 src/testdir/test_vim9_script.vim
11167
11168Patch 8.2.1747
11169Problem: Result of expand() unexpectedly depends on 'completeslash'.
11170Solution: Temporarily reset 'completeslash'. (Yasuhiro Matsumoto,
11171 closes #7021)
11172Files: src/evalfunc.c, src/testdir/test_ins_complete.vim
11173
11174Patch 8.2.1748
11175Problem: Closing split window in other tab may cause a crash.
11176Solution: Set tp_curwin properly. (Rob Pilling, closes #7018)
11177Files: src/window.c, src/testdir/test_winbuf_close.vim
11178
11179Patch 8.2.1749
11180Problem: Vim9: crash when closure fails in nested function.
11181Solution: Handle function returns before dereferencing remaining closures.
11182 (closes #7008)
11183Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
11184
11185Patch 8.2.1750
11186Problem: Setting firstline with popup_setoptions() fails if cursorline is
11187 set.
11188Solution: Use apply_options(). Update the popup before applying "zz".
11189 (closes #7010)
11190Files: src/popupwin.c, src/proto/popupwin.pro, src/move.c,
11191 src/testdir/test_popupwin.vim,
11192 src/testdir/dumps/Test_popupwin_win_execute_cursorline.dump,
11193 src/testdir/dumps/Test_popupwin_set_firstline_1.dump,
11194 src/testdir/dumps/Test_popupwin_set_firstline_2.dump
11195
11196Patch 8.2.1751
11197Problem: Using 2 where bool is expected may throw an error.
11198Solution: Make this backwards compatible.
11199Files: src/typval.c, src/evalfunc.c, src/testdir/test_search.vim,
11200 src/testdir/test_terminal2.vim
11201
11202Patch 8.2.1752
11203Problem: GTK GUI: cannot map alt-? with <A-?>. (Ingo Karkat)
11204Solution: Adjust the characters for which the shift modifier is removed.
11205 (closes #7016) Make Motif and Win32 use the same function as GTK.
11206Files: src/misc2.c, src/gui_x11.c, src/gui_w32.c,
11207 src/testdir/test_termcodes.vim
11208
11209Patch 8.2.1753
11210Problem: Vim9: crash when using import at script level.
11211Solution: Give a "not implemented yet" error. (closes #7026)
11212Files: src/evalvars.c
11213
11214Patch 8.2.1754
11215Problem: Completion with spell checking not tested.
11216Solution: Add a test case. (Dominique Pellé, closes #7024)
11217Files: src/testdir/test_spell.vim
11218
11219Patch 8.2.1755
11220Problem: Vim9: crash when using invalid heredoc marker. (Dhiraj Mishra)
11221Solution: Check for NULL list. (closes #7027) Fix comment character.
11222Files: src/vim9compile.c, src/evalvars.c,
11223 src/testdir/test_vim9_assign.vim
11224
11225Patch 8.2.1756
11226Problem: Vim9: :let will soon be disallowed.
11227Solution: Add v:disallow_let temporarily. Fix tests.
11228Files: src/vim.h, src/errors.h, src/evalvars.c, src/vim9compile.c,
11229 src/userfunc.c, src/testdir/test_vim9_script.vim
11230
11231Patch 8.2.1757
11232Problem: Mac: default locale is lacking the encoding.
11233Solution: Add ".UTF-8 to the locale. (Yee Cheng Chin, closes #7022)
11234Files: src/os_mac_conv.c, src/testdir/test_environ.vim
11235
11236Patch 8.2.1758
11237Problem: Vim9: type of unmaterialized list is wrong.
11238Solution: Use list<number>.
11239Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
11240
11241Patch 8.2.1759
11242Problem: Vim9: Some tests are still using :let.
11243Solution: Change more declarations to use :var.
11244Files: src/testdir/test_vim9_expr.vim
11245
11246Patch 8.2.1760
11247Problem: Vim9: crash when end marker is missing. (Dhiraj Mishra)
11248Solution: Check for end of function lines. (closes #7031)
11249Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
11250
11251Patch 8.2.1761
11252Problem: Vim9: Some tests are still using :let.
11253Solution: Change more declarations to use :var.
11254Files: src/testdir/test_vim9_assign.vim,
11255 src/testdir/test_vim9_cmd.vim,
11256 src/testdir/test_vim9_disassemble.vim
11257
11258Patch 8.2.1762
11259Problem: When a timer uses :stopinsert Insert mode completion isn't
11260 stopped. (Stanley Chan)
11261Solution: Call ins_compl_prep(ESC).
11262Files: src/edit.c, src/testdir/test_ins_complete.vim,
11263 src/testdir/dumps/Test_pum_stopped_by_timer.dump
11264
11265Patch 8.2.1763
11266Problem: Vim9: cannot use "true" for popup window scrollbar option.
11267Solution: use dict_get_bool(). (closes #7029)
11268Files: src/popupwin.c, src/testdir/test_popupwin.vim
11269
11270Patch 8.2.1764
11271Problem: Vim9: no error when assigning to script var with wrong type.
11272Solution: Fix off-by-one error. (closes #7028)
11273Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
11274
11275Patch 8.2.1765
11276Problem: Vim9: some tests use "var var".
11277Solution: Use "var name". (closes #7032)
11278Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_expr.vim
11279
11280Patch 8.2.1766
11281Problem: Vim9: Some tests are still using :let.
11282Solution: Change the last few declarations to use :var.
11283Files: src/testdir/runtest.vim, src/testdir/test_vim9_assign.vim,
11284 src/testdir/test_vim9_cmd.vim,
11285 src/testdir/test_vim9_disassemble.vim,
11286 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
11287 src/testdir/test_vim9_script.vim, src/testdir/test_maparg.vim,
11288 src/testdir/test_popupwin.vim, src/testdir/test_textprop.vim
11289
11290Patch 8.2.1767
11291Problem: Vim9: test fails with python support.
11292Solution: Use "let" in legacy function.
11293Files: src/testdir/test_vim9_func.vim
11294
11295Patch 8.2.1768
11296Problem: Cannot use the help menu from a terminal window.
11297Solution: Add ":tlnoremenu" commands. (Yee Cheng Chin, closes #7023)
11298Files: runtime/menu.vim, src/testdir/test_gui.vim
11299
11300Patch 8.2.1769
11301Problem: A popup filter interferes with using :normal to move the cursor in
11302 a popup.
11303Solution: Do not invoke the filter when ex_normal_busy is set.
11304Files: runtime/doc/popup.txt, src/getchar.c, src/evalfunc.c,
11305 src/ex_docmd.c, src/menu.c, src/globals.h,
11306 src/testdir/test_popupwin.vim,
11307 src/testdir/dumps/Test_popupwin_normal_cmd.dump
11308
11309Patch 8.2.1770
11310Problem: Invalid memory use when using SpellFileMissing autocmd.
11311Solution: Add test case. (Dominique Pellé, closes #7036) Fix using a window
11312 that was closed.
11313Files: src/spell.c, src/testdir/test_spell.vim
11314
11315Patch 8.2.1771
11316Problem: synIDattr() cannot get the value of ctermul.
11317Solution: Add the "ul" value for "what". (closes #7037)
11318Files: runtime/doc/eval.txt, src/highlight.c, src/evalfunc.c,
11319 src/testdir/test_highlight.vim
11320
11321Patch 8.2.1772
11322Problem: Cannot use CTRL-W <Down> to move out of a terminal window.
11323Solution: Use special_to_buf() instead of mb_char2bytes(). (closes #7045)
11324Files: src/terminal.c, src/testdir/test_terminal.vim
11325
11326Patch 8.2.1773
11327Problem: Crash when calling mapset() with a list as first argument.
11328Solution: Check for NULL. (closes #7040)
11329Files: src/map.c, src/testdir/test_maparg.vim
11330
11331Patch 8.2.1774
11332Problem: GTK: hang when forced to exit.
11333Solution: Do not clean up "mainwin" when really_exiting is set.
11334 (Zdenek Dohnal, closes #7042)
11335Files: src/gui_gtk_x11.c
11336
11337Patch 8.2.1775
11338Problem: MS-Windows: adding a long quickfix list is slow.
11339Solution: Shorten the buffer name only for the first entry. (Yegappan
11340 Lakshmanan, closes #7039, closes #7033)
11341Files: src/quickfix.c, src/testdir/test_quickfix.vim
11342
11343Patch 8.2.1776
11344Problem: Filetype.vim may be loaded twice.
11345Solution: Do "syntax on" after "filetype on". (Adam Stankiewicz,
11346 closes #7049)
11347Files: runtime/defaults.vim
11348
11349Patch 8.2.1777
11350Problem: Vim9: some assignment tests in the wrong file.
11351Solution: Move assignment tests to test_vim9_assign.
11352Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_script.vim
11353
11354Patch 8.2.1778
11355Problem: Vim9: returning from a partial call clears outer context, causing
11356 a crash.
11357Solution: Put the outer context in the stack frame. (closes #7044)
11358Files: src/vim9execute.c, src/vim9.h, src/testdir/test_vim9_func.vim
11359
11360Patch 8.2.1779
11361Problem: Some debian changelog files are not recognized.
11362Solution: Add */debian/changelog. (Jason Franklin)
11363Files: runtime/filetype.vim, src/testdir/test_filetype.vim
11364
11365Patch 8.2.1780
11366Problem: Statusline not updated when splitting windows.
11367Solution: Call status_redraw_all(). (Jason Franklin, closes #5496)
11368Files: src/window.c, src/testdir/test_statusline.vim
11369
11370Patch 8.2.1781
11371Problem: Writing to prompt buffer interferes with insert mode.
11372Solution: Use win_enter() instead of just setting "curwin". (Ben Jackson,
11373 closes #7035)
11374Files: src/autocmd.c, src/testdir/test_prompt_buffer.vim
11375
11376Patch 8.2.1782
11377Problem: Vim9: cannot pass boolean to mapset().
11378Solution: Use get_tv_bool(). (closes #7041)
11379Files: src/map.c, src/testdir/test_vim9_func.vim
11380
11381Patch 8.2.1783 (after 8.2.1781)
11382Problem: Try-catch test fails.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011383Solution: Don't call win_enter(), only call entering_window().
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011384Files: src/autocmd.c, src/window.c, src/proto/window.pro,
11385 src/testdir/runtest.vim
11386
11387Patch 8.2.1784
11388Problem: commits are not scanned for security problems
11389Solution: Enable Github code scanning. (Christian Brabandt, closes #7057)
11390Files: .github/workflows/codeql-analysis.yml
11391
11392Patch 8.2.1785
11393Problem: Compiler warning for strcpy() out of bounds. (Christian Brabandt)
11394Solution: use memmove() instead.
11395Files: src/dict.c
11396
11397Patch 8.2.1786
11398Problem: Various Normal mode commands not fully tested.
11399Solution: Add more tests. (Yegappan Lakshmanan, closes #7059)
11400Files: src/testdir/test_normal.vim, src/testdir/test_regexp_utf8.vim,
11401 src/testdir/test_registers.vim, src/testdir/test_spellfile.vim,
11402 src/testdir/test_tagjump.vim, src/testdir/test_visual.vim
11403
11404Patch 8.2.1787
11405Problem: Crash with 'incsearch' and very long line.
11406Solution: Check whether regprog becomes NULL. (closes #7063)
11407Files: src/search.c, src/testdir/test_search.vim
11408
11409Patch 8.2.1788
11410Problem: Vim9: still allows :let for declarations.
11411Solution: Make the default for v:disallow_let one. It can still be set to
11412 zero to allow for using :let.
11413Files: src/evalvars.c, src/testdir/runtest.vim
11414
11415Patch 8.2.1789
11416Problem: Vim9: crash with invalid list constant. (Dhiraj Mishra)
11417Solution: Return FAIL when compiling the list fails. (closes #7066)
11418Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_expr.vim
11419
11420Patch 8.2.1790
11421Problem: MS-Windows with Python: crash when executed from Vifm.
11422Solution: Use NUL instead of CONIN. (Ken Takata, closes #7061, closes #7053)
11423Files: src/if_python3.c
11424
11425Patch 8.2.1791
11426Problem: Vim9: debugger test fails.
11427Solution: Use "var" instead of "let".
11428Files: src/testdir/test_debugger.vim
11429
11430Patch 8.2.1792
11431Problem: Configure does not recognize Racket 6.1+.
11432Solution: Add a check for "rktio". (closes #7062)
11433Files: src/configure.ac, src/auto/configure
11434
11435Patch 8.2.1793
11436Problem: Not consistently giving the "is a directory" warning.
11437Solution: Adjust check for illegal file name and directory. (Yasuhiro
11438 Matsumoto, closes #7067)
11439Files: src/fileio.c, src/testdir/test_edit.vim
11440
11441Patch 8.2.1794
11442Problem: No falsy Coalescing operator.
11443Solution: Add the "??" operator. Fix mistake with function argument count.
11444Files: runtime/doc/eval.txt, src/eval.c, src/vim9compile.c,
11445 src/vim9type.c, src/testdir/test_expr.vim,
11446 src/testdir/test_vim9_expr.vim,
11447 src/testdir/test_vim9_disassemble.vim
11448
11449Patch 8.2.1795
11450Problem: Vim9: operators && and || have a confusing result.
11451Solution: Make the result a boolean.
11452Files: runtime/doc/vim9.txt, src/eval.c, src/vim9compile.c,
11453 src/vim9execute.c, src/vim9type.c, src/structs.h, src/vim9.h,
11454 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_assign.vim,
11455 src/testdir/test_vim9_cmd.vim,
11456 src/testdir/test_vim9_disassemble.vim
11457
11458Patch 8.2.1796
11459Problem: Vim9: invalid memory access with weird function name. (Dhiraj
11460 Mishra)
11461Solution: Check the name is valid. Add a test.
11462Files: src/userfunc.c, src/testdir/test_vim9_func.vim
11463
11464Patch 8.2.1797
11465Problem: Vim9: some parts of the code not tested.
11466Solution: Add a few tests.
11467Files: src/testdir/test_vim9_func.vim
11468
11469Patch 8.2.1798
11470Problem: Vim9: ternary operator condition is too permissive.
11471Solution: Use tv_get_bool_chk().
11472Files: runtime/doc/vim9.txt, src/eval.c, src/vim9compile.c,
11473 src/vim9execute.c, src/testdir/vim9.vim,
11474 src/testdir/test_expr.vim, src/testdir/test_vim9_expr.vim,
11475 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_script.vim
11476
11477Patch 8.2.1799
11478Problem: Some Normal mode commands not fully tested.
11479Solution: Add a few more tests. (Yegappan Lakshmanan, closes #7073)
11480Files: src/testdir/test_gf.vim, src/testdir/test_goto.vim,
11481 src/testdir/test_normal.vim, src/testdir/test_registers.vim,
11482 src/testdir/test_startup.vim, src/testdir/test_tabpage.vim,
11483 src/testdir/test_visual.vim
11484
11485Patch 8.2.1800
11486Problem: Vim9: memory leak if "if" condition is invalid.
11487Solution: Free ppconst earlier.
11488Files: src/vim9compile.c
11489
11490Patch 8.2.1801
11491Problem: Undo file not found when using ":args" or ":next".
11492Solution: Handle like editing another file. (closes #7072)
11493Files: src/ex_cmds.c, src/testdir/test_undo.vim
11494
11495Patch 8.2.1802
11496Problem: Vim9: crash with unterminated dict. (Dhiraj Mishra)
11497Solution: Return empty string instead of NULL. (closes #7084)
11498Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
11499
11500Patch 8.2.1803
11501Problem: A few failures are not tested.
11502Solution: Test a few failures. (Dominique Pellé, closes #7075)
11503Files: src/testdir/test_arglist.vim, src/testdir/test_cmdline.vim,
11504 src/testdir/test_json.vim, src/testdir/test_listdict.vim
11505
11506Patch 8.2.1804
11507Problem: resolve('/') returns an empty string.
11508Solution: Don't remove single slash. (closes #7074)
11509Files: src/filepath.c, src/testdir/test_functions.vim
11510
11511Patch 8.2.1805
11512Problem: Unix: terminal mode changed when using ":shell".
11513Solution: Avoid calling settmode() when not needed. (issue #7079)
11514Files: src/os_unix.c
11515
11516Patch 8.2.1806
11517Problem: MS-Windows with Python: Vim freezes after import command.
11518Solution: Use either "NUL" or "CONIN$" when reopening stdin. (Yasuhiro
11519 Matsumoto, closes #7083)
11520Files: src/if_python3.c
11521
11522Patch 8.2.1807
11523Problem: Can use :help in a terminal popup window.
11524Solution: Give an error. (closes #7088)
11525Files: src/help.c, src/testdir/test_popupwin.vim
11526
11527Patch 8.2.1808
11528Problem: No test coverage for ":spelldump!".
11529Solution: Add a test. (Dominique Pellé, closes #7089)
11530Files: src/testdir/test_spell.vim
11531
11532Patch 8.2.1809
11533Problem: Mapping some keys with Ctrl does not work properly.
11534Solution: For terminal, GTK and Motif handle "@", "^" and "_" codes.
11535Files: src/misc2.c, src/proto/misc2.pro, src/term.c, src/gui_gtk_x11.c,
11536 src/gui_x11.c, src/testdir/test_termcodes.vim
11537
11538Patch 8.2.1810
11539Problem: Some code in normal.c not covered by tests.
11540Solution: Add normal mode tests. (Yegappan Lakshmanan, closes #7086)
11541Files: src/testdir/test_charsearch.vim, src/testdir/test_normal.vim
11542
11543Patch 8.2.1811
11544Problem: Mapping Ctrl-key does not work for '{', '}' and '|'.
11545Solution: Remove the shift modifier. (closes #6457)
11546Files: runtime/doc/map.txt, src/misc2.c, src/testdir/test_termcodes.vim
11547
11548Patch 8.2.1812
11549Problem: Vim9: nested closure throws an internal error.
11550Solution: Do not skip a local variable with a partial. (closes #7065)
11551Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
11552
11553Patch 8.2.1813
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011554Problem: Vim9: can assign wrong type to script dict. (Christian J. Robinson)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011555Solution: Check the type if known.
11556Files: src/structs.h, src/eval.c, src/vim9script.c,
11557 src/proto/vim9script.pro, src/proto/evalvars.pro,
11558 src/testdir/test_vim9_script.vim
11559
11560Patch 8.2.1814 (after 8.2.1813)
11561Problem: Missing change to remove "static".
11562Solution: Add the change.
11563Files: src/evalvars.c
11564
11565Patch 8.2.1815
11566Problem: Vim9: memory leak when using function reference.
11567Solution: Temporarily disable the test.
11568Files: src/testdir/test_vim9_disassemble.vim
11569
11570Patch 8.2.1816
11571Problem: Vim9: another memory leak when using function reference.
11572Solution: Temporarily disable the tests.
11573Files: src/testdir/test_vim9_func.vim
11574
11575Patch 8.2.1817
11576Problem: Vim9: wrong instruction when reusing a local variable spot.
11577Solution: Clear a newly allocated local variable. (closes #7080)
11578Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
11579
11580Patch 8.2.1818
11581Problem: SE Linux: deprecation warning for security_context_t.
11582Solution: Use "char *" instead. (James McCoy, closes #7093)
11583Files: src/os_unix.c
11584
11585Patch 8.2.1819
11586Problem: Vim9: Memory leak when using a closure.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011587Solution: Compute the minimal refcount in the funcstack. Reenable disabled
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011588 tests.
11589Files: src/vim9execute.c, src/proto/vim9execute.pro, src/structs.h,
11590 src/eval.c, src/testdir/test_vim9_disassemble.vim,
11591 src/testdir/test_vim9_func.vim
11592
11593Patch 8.2.1820
11594Problem: Vim9: crash when error happens in timer callback.
11595Solution: Check that current_exception is not NULL. (closes #7100)
11596Files: src/ex_docmd.c
11597
11598Patch 8.2.1821
11599Problem: Vim9: concatenating to a NULL list doesn't work.
11600Solution: Handle a NULL list like an empty list. (closes #7064)
11601Files: src/list.c, src/testdir/test_vim9_assign.vim
11602
11603Patch 8.2.1822 (after 8.2.1821)
11604Problem: List test doesn't fail.
11605Solution: Adjust the test for NULL list handling.
11606Files: src/testdir/test_listdict.vim
11607
11608Patch 8.2.1823
11609Problem: "gN" does not select the matched string.
11610Solution: Move the cursor to the start of the match.
11611Files: src/search.c, src/testdir/test_gn.vim
11612
11613Patch 8.2.1824
11614Problem: Vim9: variables at the script level escape their scope.
11615Solution: When leaving a scope remove variables declared in it.
11616Files: src/structs.h, src/ex_eval.c, src/evalvars.c,
11617 src/proto/evalvars.pro, src/testdir/test_vim9_script.vim
11618
11619Patch 8.2.1825
11620Problem: Vim9: accessing freed memory.
11621Solution: Clear sv_name when the variable is deleted.
11622Files: src/ex_eval.c
11623
11624Patch 8.2.1826
11625Problem: Vim9: cannot use a {} block at script level.
11626Solution: Recognize a {} block.
11627Files: src/ex_docmd.c, src/ex_cmds.h, src/ex_cmdidxs.h, src/ex_eval.c,
11628 src/structs.h, src/proto/ex_eval.pro, src/errors.h,
11629 src/testdir/test_vim9_script.vim
11630
11631Patch 8.2.1827
11632Problem: Filetype detection does not test enough file names.
11633Solution: Test more file names. (Adam Stankiewicz, closes #7099)
11634Files: runtime/filetype.vim, src/testdir/test_filetype.vim
11635
11636Patch 8.2.1828
11637Problem: Build failure without the +eval feature.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011638Solution: Add dummies for ex_block and ex_endblock.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011639Files: src/ex_docmd.c
11640
11641Patch 8.2.1829
11642Problem: Warnings when executing Github actions.
11643Solution: Use another method to set environment variables. (Ken Takata,
11644 closes #7107)
11645Files: .github/workflows/ci-windows.yaml
11646
11647Patch 8.2.1830
11648Problem: MS-Windows: Python3 issue with stdin.
11649Solution: Check if stdin is readable. (Ken Takata, closes #7106)
11650Files: src/if_python3.c
11651
11652Patch 8.2.1831
11653Problem: File missing from distribution.
11654Solution: Add the github code analyses file.
11655Files: Filelist
11656
11657Patch 8.2.1832
11658Problem: readdirex() error is displayed as a message. (Yegappan Lakshmanan)
11659Solution: Use semsg() instead of smsg().
11660Files: src/fileio.c, src/testdir/test_functions.vim
11661
11662Patch 8.2.1833
11663Problem: When reading from stdin dup() is called twice.
11664Solution: Remove the dup() in main.c. (Ken Takata, closes #7110)
11665Files: src/main.c
11666
11667Patch 8.2.1834
11668Problem: PyEval_InitThreads() is deprecated in Python 3.9.
11669Solution: Do not call PyEval_InitThreads in Python 3.9 and later. (Ken
11670 Takata, closes #7113) Avoid warnings for functions.
11671Files: src/if_python3.c, src/if_py_both.h
11672
11673Patch 8.2.1835
11674Problem: ":help ??" finds the "!!" tag.
11675Solution: Do not translate "?" into ".". (Naruhiko Nishino, closes #7114,
11676 closes #7115)
11677Files: src/help.c, src/testdir/test_help_tagjump.vim
11678
11679Patch 8.2.1836
11680Problem: Autocmd test fails on pacifist systems.
11681Solution: Check that /bin/kill exists. (James McCoy, closes #7117)
11682 Tune the timing, make the autocmd test run faster.
11683Files: src/testdir/test_autocmd.vim
11684
11685Patch 8.2.1837
11686Problem: Using "gn" after "gN" does not work.
11687Solution: Extend the other end of the Visual area. (closes #7109)
11688Files: src/search.c, src/testdir/test_gn.vim
11689
11690Patch 8.2.1838
11691Problem: Vim9: cannot insert a comment line in an expression.
11692Solution: Skip comment lines at the script level. (closes #7111)
11693Files: src/eval.c, src/testdir/test_vim9_expr.vim
11694
11695Patch 8.2.1839
11696Problem: Vim9: memory leaks reported in assign test.
11697Solution: Move the failing job_start() call to separate test files, it
11698 causes false leak reports.
11699Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_fails.vim,
11700 src/testdir/Make_all.mak
11701
11702Patch 8.2.1840
11703Problem: Vim9: error message is not clear about compilation error.
11704Solution: Say "compiling" instead of "processing".
11705Files: src/vim9compile.c, src/message.c, src/globals.h,
11706 src/testdir/test_vim9_func.vim
11707
11708Patch 8.2.1841
11709Problem: Vim9: test for compilation error fails in normal build.
11710Solution: Invoke CheckRunVimInTerminal in a separate function.
11711Files: src/testdir/test_vim9_func.vim
11712
11713Patch 8.2.1842
11714Problem: Crash when USE_FNAME_CASE is defined and using :browse.
11715Solution: Don't use read-only memory for ".". (Yegappan Lakshmanan,
11716 closes #7123)
11717Files: src/ex_cmds.c, src/ex_docmd.c, src/testdir/test_edit.vim
11718
11719Patch 8.2.1843
11720Problem: Netbeans: with huge buffer number memory allocation may fail.
11721Solution: Check for size overflow.
11722Files: src/netbeans.c
11723
11724Patch 8.2.1844
11725Problem: Using "q" at the more prompt doesn't stop a long message.
11726Solution: Check for "got_int". (closes #7122)
11727Files: src/message.c, src/testdir/test_messages.vim,
11728 src/testdir/dumps/Test_quit_long_message.dump
11729
11730Patch 8.2.1845
11731Problem: Vim9: function defined in a block can't use variables defined in
11732 that block.
11733Solution: First step: Make a second hashtab that holds all script variables,
11734 also block-local ones, with more information.
11735Files: src/structs.h, src/evalvars.c, src/ex_eval.c, src/vim9script.c,
11736 src/proto/vim9script.pro, src/scriptfile.c
11737
11738Patch 8.2.1846
11739Problem: Vim9: variables declared in a local block are not found in
11740 when a function is compiled.
11741Solution: Look for script variables in sn_all_vars.
11742Files: src/structs.h, src/vim9compile.c, src/proto/vim9compile.pro,
11743 src/userfunc.c, src/proto/userfunc.pro, src/ex_eval.c,
11744 src/vim9script.c, src/proto/vim9script.pro, src/vim9execute.c,
11745 src/testdir/test_vim9_script.vim
11746
11747Patch 8.2.1847
11748Problem: Vim9: using negative value for unsigned type.
11749Solution: Use zero instead of -1.
11750Files: src/vim9compile.c
11751
11752Patch 8.2.1848
11753Problem: Crash when passing a NULL string or list to popup_settext().
11754Solution: Check for NULL pointers. (closes #7132)
11755Files: src/popupwin.c, src/testdir/test_popupwin.vim
11756
11757Patch 8.2.1849
11758Problem: Vim9: garbage collection frees block-local variables.
11759Solution: Mark all script variables as used.
11760Files: src/evalvars.c, src/testdir/test_vim9_script.vim
11761
11762Patch 8.2.1850
11763Problem: "vat" does not select tags correctly over line break.
11764Solution: Adjust the search pattern. (Aufar Gilbran, closes #7136)
11765Files: src/textobject.c, src/testdir/test_textobjects.vim
11766
11767Patch 8.2.1851
11768Problem: Vim9: "!" followed by space incorrectly used.
11769Solution: Skip over trailing spaces. (closes #7131)
11770Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_expr.vim
11771
11772Patch 8.2.1852
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011773Problem: map() returning zero for NULL list is unexpected.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011774Solution: Return the empty list. (closes #7133)
11775Files: src/list.c, src/testdir/test_filter_map.vim,
11776 src/testdir/test_blob.vim
11777
11778Patch 8.2.1853
11779Problem: "to_f" is recognized at "topleft" modifier.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011780Solution: Do not recognize modifier when "_" follows. (closes #7019)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011781Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim
11782
11783Patch 8.2.1854
11784Problem: Vim9: crash when throwing exception for NULL string. (Dhiraj
11785 Mishra)
11786Solution: Handle NULL string like empty string. (closes #7139)
11787Files: src/vim9execute.c, src/errors.h, src/testdir/test_vim9_script.vim
11788
11789Patch 8.2.1855
11790Problem: Vim9: get error message when nothing is wrong.
11791Solution: Check called_emsg instead of did_emsg. (closes #7143)
11792Files: src/vim9compile.c, src/vim9execute.c, src/errors.h
11793
11794Patch 8.2.1856
11795Problem: "2resize" uses size of current window. (Daniel Steinberg)
11796Solution: Use size of resized window. (Yasuhiro Matsumoto, closes #7152)
11797Files: src/ex_docmd.c, src/testdir/test_window_cmd.vim
11798
11799Patch 8.2.1857
11800Problem: Vim9: using job_status() on an unused var gives an error.
11801Solution: Return "fail". (closes #7158)
11802Files: src/job.c, src/testdir/test_vim9_assign.vim
11803
11804Patch 8.2.1858
11805Problem: Vim9: filter functions return number instead of bool.
11806Solution: Return v:true instead of one. (closes #7144)
11807Files: src/popupwin.c, src/evalfunc.c, src/testdir/test_vim9_func.vim
11808
11809Patch 8.2.1859
11810Problem: Vim9: crash in unpack assignment.
11811Solution: Make sure an error message is turned into an exception.
11812 (closes #7159)
11813Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim,
11814 src/testdir/test_vim9_script.vim
11815
11816Patch 8.2.1860
11817Problem: Vim9: memory leak when throwing empty string.
11818Solution: Free the empty string.
11819Files: src/vim9execute.c
11820
11821Patch 8.2.1861
11822Problem: Vim9: no specific error when parsing lambda fails.
11823Solution: Also give syntax errors when not evaluating. (closes #7154)
11824Files: src/dict.c, src/testdir/test_vim9_expr.vim
11825
11826Patch 8.2.1862
11827Problem: vim9: memory leak when compiling lambda fails.
11828Solution: Call clear_evalarg().
11829Files: src/vim9compile.c
11830
11831Patch 8.2.1863
11832Problem: Json code not sufficiently tested.
11833Solution: Add more test cases. (Dominique Pellé, closes #7166)
11834Files: src/testdir/test_json.vim
11835
11836Patch 8.2.1864
11837Problem: Vim9: no error for wrong list type.
11838Solution: Add flag to indicate a constant. (closes #7160)
11839Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
11840
11841Patch 8.2.1865
11842Problem: Vim9: add() does not check type of argument.
11843Solution: Inline the add() call. (closes #7160)
11844Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/errors.h,
11845 src/testdir/test_vim9_func.vim,
11846 src/testdir/test_vim9_disassemble.vim
11847
11848Patch 8.2.1866
11849Problem: Vim9: appending to pushed blob gives wrong result.
11850Solution: Set ga_maxlen when copying a blob.
11851Files: src/blob.c, src/testdir/test_vim9_func.vim
11852
11853Patch 8.2.1867
11854Problem: Vim9: argument to add() not checked for blob.
11855Solution: Add the BLOBAPPEND instruction.
11856Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/errors.h,
11857 src/testdir/test_vim9_func.vim,
11858 src/testdir/test_vim9_disassemble.vim
11859
11860Patch 8.2.1868
11861Problem: Vim9: no error for missing space after comma in dict.
11862Solution: Check for white space. (closes #6672)
11863Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
11864
11865Patch 8.2.1869
11866Problem: Vim9: memory leak when using add().
11867Solution: Free the added item.
11868Files: src/vim9execute.c
11869
11870Patch 8.2.1870
11871Problem: Vim9: no need to keep all script variables.
11872Solution: Only keep script variables when a function was defined that could
11873 use them. Fix freeing static string on exit.
11874Files: src/vim9script.c, src/proto/vim9script.pro, src/structs.h,
11875 src/ex_eval.c, src/userfunc.c, src/testdir/test_vim9_script.vim
11876
11877Patch 8.2.1871
11878Problem: Using %v in 'errorformat' may fail before %Z.
11879Solution: Set qf_viscol only when qf_col is set. (closes #7169)
11880Files: src/quickfix.c, src/testdir/test_quickfix.vim
11881
11882Patch 8.2.1872
11883Problem: Matchfuzzy() does not prefer sequential matches.
11884Solution: Give sequential matches a higher bonus. (Christian Brabandt,
11885 closes #7140)
11886Files: src/search.c, src/testdir/test_matchfuzzy.vim
11887
11888Patch 8.2.1873
11889Problem: Vim9: missing white space when using <f-args>.
11890Solution: Add spaces. (Christian J. Robinson)
11891Files: src/usercmd.c, src/testdir/test_vim9_cmd.vim
11892
11893Patch 8.2.1874
11894Problem: Can't do something just before leaving Insert mode.
11895Solution: Add the InsertLeavePre autocommand event. (closes #7177)
11896Files: runtime/doc/autocmd.txt, src/edit.c, src/vim.h,
11897 src/autocmd.c, src/testdir/test_edit.vim
11898
11899Patch 8.2.1875
11900Problem: Warning when building GTK gui.
11901Solution: Add missing function parameter.
11902Files: src/gui_gtk_f.c
11903
11904Patch 8.2.1876
11905Problem: Vim9: argument types for builtin functions are not checked at
11906 compile time.
11907Solution: Add an argument type checking mechanism. Implement type checks for
11908 one function.
11909Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9compile.c,
11910 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_builtin.vim,
11911 src/testdir/Make_all.mak
11912
11913Patch 8.2.1877 (after 8.2.1876)
11914Problem: Test for function list fails.
11915Solution: Move "obsolete" comments one line up.
11916Files: src/evalfunc.c
11917
11918Patch 8.2.1878
11919Problem: GTK: error for redefining function. (Tony Mechelynck)
11920Solution: Remove "gtk_" prefix from local functions and prepend "gui_" to
11921 global functions.
11922Files: src/gui_gtk_f.c, src/gui_gtk_f.h, src/gui_gtk.c, src/gui_gtk_x11.c
11923
11924Patch 8.2.1879
11925Problem: Vim9: argument types of insert() not checked when compiling.
11926Solution: Add argument type checks for insert().
11927Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9compile.c,
11928 src/testdir/test_vim9_builtin.vim
11929
11930Patch 8.2.1880
11931Problem: Vim9: Asan complains about adding zero to NULL.
11932Solution: Check for argument count first.
11933Files: src/vim9compile.c
11934
11935Patch 8.2.1881
11936Problem: Cannot build with GTK3.
11937Solution: Adjust form functions.
11938Files: src/gui_gtk_f.c
11939
11940Patch 8.2.1882
11941Problem: Vim9: v:disallow_let is no longer needed.
11942Solution: Remove v:disallow_let.
11943Files: src/evalvars.c, src/vim.h, src/vim9compile.c
11944
11945Patch 8.2.1883
11946Problem: Compiler warnings when using Python.
11947Solution: Adjust PyCFunction to also have the second argument. Use "int"
11948 return type for some functions. Insert "(void *)" to get rid of
11949 the remaining warnings.
11950Files: src/if_py_both.h, src/if_python.c, src/if_python3.c
11951
11952Patch 8.2.1884
11953Problem: Compiler warning for uninitialized variable. (John Marriott)
11954Solution: Initialize with NULL.
11955Files: src/vim9compile.c, src/evalfunc.c
11956
11957Patch 8.2.1885
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011958Problem: Filetype tests unnecessarily creates swap files.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011959Solution: Disable 'swapfile'. (Ken Takata, closes #7183)
11960Files: src/testdir/test_filetype.vim
11961
11962Patch 8.2.1886
11963Problem: Using ":silent!" in a popup filter has unexpected effect.
11964Solution: Use did_emsg instead of called_emsg. (closes #7178)
11965Files: src/popupwin.c, src/testdir/test_popupwin.vim
11966
11967Patch 8.2.1887
11968Problem: Github actions not optimally configured.
11969Solution: Run CI on any pushed branches. Set fail-fast. (Ozaki Kiichi,
11970 closes #7184)
11971Files: .github/workflows/ci-windows.yaml
11972
11973Patch 8.2.1888
11974Problem: Vim9: Getbufline(-1, 1, '$') gives an error.
11975Solution: Return an empty list. (closes #7180)
11976Files: src/evalbuffer.c, src/testdir/test_vim9_builtin.vim
11977
11978Patch 8.2.1889
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011979Problem: Vim9: erroneous error for missing white space after {}.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011980Solution: Don't skip over white space after {}. (issue #7167)
11981Files: src/dict.c, src/testdir/test_vim9_expr.vim
11982
11983Patch 8.2.1890
11984Problem: Vim9: strange error for subtracting from a list.
11985Solution: Check getting a number, not a string. (closes #7167)
11986Files: src/eval.c, src/testdir/test_vim9_expr.vim
11987
11988Patch 8.2.1891
11989Problem: Vim9: skipping over expression doesn't handle line breaks.
11990Solution: Pass evalarg to skip_expr(). (closes #7157)
11991Files: src/vim9compile.c, src/eval.c, src/proto/eval.pro, src/ex_docmd.c,
11992 src/misc1.c, src/testdir/test_vim9_cmd.vim
11993
11994Patch 8.2.1892
11995Problem: Valgrind warns for using uninitialized access in tests.
11996Solution: Fix condition for breaking out of loop. (Dominique Pellé,
11997 closes #7187)
11998Files: src/terminal.c
11999
12000Patch 8.2.1893
12001Problem: Fuzzy matching does not support multiple words.
12002Solution: Add support for matching white space separated words. (Yegappan
12003 Lakshmanan, closes #7163)
12004Files: runtime/doc/eval.txt, src/search.c,
12005 src/testdir/test_matchfuzzy.vim
12006
12007Patch 8.2.1894
12008Problem: Vim9: command modifiers are not supported.
12009Solution: Support "silent" and "silent!".
12010Files: src/structs.h, src/vim9compile.c, src/vim9.h, src/vim9execute.c,
12011 src/evalvars.c, src/testdir/test_vim9_disassemble.vim,
12012 src/testdir/test_vim9_cmd.vim
12013
12014Patch 8.2.1895 (after 8.2.1894)
12015Problem: Vim9: silent command modifier test fails.
12016Solution: Add missing changes.
12017Files: src/ex_docmd.c
12018
12019Patch 8.2.1896
12020Problem: Valgrind warns for using uninitialized memory.
12021Solution: NUL terminate the SmcOpenConnection() error message. (Dominique
12022 Pellé, closes #7194)
12023Files: src/os_unix.c
12024
12025Patch 8.2.1897
12026Problem: Command modifiers are saved and set inconsistently.
12027Solution: Separate parsing and applying command modifiers. Save values in
12028 cmdmod_T.
12029Files: src/structs.h, src/ex_docmd.c, src/proto/ex_docmd.pro,
12030 src/ex_cmds.h, src/vim9compile.c
12031
12032Patch 8.2.1898
12033Problem: Command modifier parsing always uses global cmdmod.
12034Solution: Pass in cmdmod_T to use. Rename struct fields consistently.
Bram Moolenaar47c532e2022-03-19 15:18:53 +000012035Files: src/structs.h, src/arglist.c, src/buffer.c, src/bufwrite.c,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012036 src/diff.c, src/change.c, src/cmdhist.c, src/edit.c,
12037 src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c,
12038 src/fileio.c, src/filepath.c, src/gui.c, src/gui_gtk_x11.c,
12039 src/help.c, src/if_cscope.c, src/indent.c, src/mark.c,
12040 src/memline.c, src/message.c, src/option.c, src/ops.c,
12041 src/os_unix.c, src/quickfix.c, src/register.c, src/scriptfile.c,
12042 src/search.c, src/session.c, src/tag.c, src/terminal.c,
12043 src/textformat.c, src/usercmd.c, src/vim9compile.c, src/window.c,
12044 src/proto/ex_docmd.pro
12045
12046Patch 8.2.1899
12047Problem: Crash in out-of-memory situation.
12048Solution: Bail out if shell_name is NULL. (Dominique Pellé, closes #7196)
12049Files: src/ex_cmds.c
12050
12051Patch 8.2.1900
12052Problem: Vim9: command modifiers do not work.
12053Solution: Make most command modifiers work.
12054Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
12055 src/usercmd.c, src/proto/usercmd.pro, src/scriptfile.c,
12056 src/testdir/test_vim9_disassemble.vim
12057
12058Patch 8.2.1901
12059Problem: Variable completion does not work in command line window.
12060Solution: Use the "prevwin". (closes #7198)
12061Files: src/evalvars.c, src/testdir/test_ins_complete.vim
12062
12063Patch 8.2.1902
12064Problem: Default option values are changed when using :badd for an existing
12065 buffer.
12066Solution: When calling buflist_new() pass a zero line number. (closes #7195)
12067Files: src/ex_cmds.c, src/testdir/test_buffer.vim
12068
12069Patch 8.2.1903 (after 8.2.1902)
12070Problem: Buffer test fails with normal features.
12071Solution: Use 'numberwidth' instead of 'conceallevel' in the test.
12072Files: src/testdir/test_buffer.vim
12073
12074Patch 8.2.1904
12075Problem: Still using default option values after using ":badd +1".
12076Solution: Find a window where options were set. Don't set the window when
12077 using ":badd".
12078Files: src/buffer.c, src/ex_cmds.c, src/vim.h,
12079 src/testdir/test_buffer.vim
12080
12081Patch 8.2.1905
12082Problem: The wininfo list may contain stale entries.
12083Solution: When closing a window remove any other entry where the window
12084 pointer is NULL.
12085Files: src/buffer.c, src/proto/buffer.pro, src/window.c
12086
12087Patch 8.2.1906
12088Problem: Warning for signed/unsigned.
12089Solution: Use size_t instead of int. (Mike Williams)
12090Files: src/proto/usercmd.pro, src/usercmd.c, src/vim9execute.c
12091
12092Patch 8.2.1907
12093Problem: Complete_info().selected may be wrong.
12094Solution: Update cp_number if it was never set. (issue #6945)
12095Files: src/insexpand.c, src/testdir/test_ins_complete.vim
12096
12097Patch 8.2.1908
12098Problem: Lua is initialized even when not used.
12099Solution: Put lua_init() after check for "eap->skip". (Christian Brabandt,
12100 closes #7191). Avoid compiler warnings.
12101Files: src/if_lua.c, src/testdir/test_lua.vim
12102
12103Patch 8.2.1909
12104Problem: Number of status line items is limited to 80.
12105Solution: Dynamically allocate the arrays. (Rom Grk, closes #7181)
12106Files: runtime/doc/options.txt, src/buffer.c, src/optionstr.c,
12107 src/proto/buffer.pro, src/screen.c, src/structs.h,
12108 src/testdir/test_options.vim, src/testdir/test_statusline.vim,
12109 src/vim.h
12110
12111Patch 8.2.1910
12112Problem: Reading past the end of the command line.
12113Solution: Check for NUL. (closes #7204)
12114Files: src/ex_docmd.c, src/testdir/test_edit.vim
12115
12116Patch 8.2.1911
12117Problem: Tiny build fails.
12118Solution: Add #ifdef.
12119Files: src/insexpand.c
12120
12121Patch 8.2.1912
12122Problem: With Python 3.9 some tests fail.
12123Solution: Take into account the different error message. (James McCoy,
12124 closes #7210)
12125Files: src/testdir/test_python3.vim
12126
12127Patch 8.2.1913
12128Problem: GTK GUI: rounding for the cell height is too strict.
12129Solution: Round up above 15/16 of a pixel. (closes #7203)
12130Files: src/gui_gtk_x11.c
12131
12132Patch 8.2.1914
12133Problem: Vim9: cannot put line break in expression for '=' register.
12134Solution: Pass fgetline to set_expr_line(). (closes #7209)
12135Files: src/register.c, src/proto/register.pro, src/ex_docmd.c,
12136 src/eval.c, src/proto/eval.pro, src/misc2.c,
12137 src/testdir/test_vim9_script.vim
12138
12139Patch 8.2.1915
12140Problem: Vim9: error for wrong number of arguments is not useful.
12141Solution: Mention whatever we have for the name. (closes #7208)
12142Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
12143
12144Patch 8.2.1916
12145Problem: Vim9: function call is aborted even when "silent!" is used.
12146Solution: Use did_emsg instead of called_emsg. (closes #7213)
12147Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
12148
12149Patch 8.2.1917
12150Problem: No test for improved Man command.
12151Solution: Test that shell arguments are properly escaped.
12152Files: src/testdir/test_man.vim
12153
12154Patch 8.2.1918
12155Problem: Vim9: E1100 mentions :let.
12156Solution: Mention "var". (closes #7207)
12157Files: src/vim9script.c, src/errors.h
12158
12159Patch 8.2.1919
12160Problem: Assert_fails() setting emsg_silent changes normal execution.
12161Solution: Use a separate flag in_assert_fails.
12162Files: src/testing.c, src/globals.h, src/buffer.c, src/change.c,
12163 src/fileio.c, src/insexpand.c, src/message.c, src/misc1.c,
12164 src/normal.c, src/screen.c, src/term.c, src/vim9execute.c,
12165 src/testdir/test_vim9_func.vim, src/testdir/gen_opt_test.vim,
12166 src/testdir/test_autocmd.vim, src/testdir/test_mapping.vim,
12167 src/testdir/test_popup.vim, src/testdir/test_terminal.vim
12168
12169Patch 8.2.1920
12170Problem: Listlbr test fails when run after another test.
12171Solution: Add test separately to list of test targets.
12172Files: src/testdir/Make_all.mak, src/testdir/test_alot_utf8.vim
12173
12174Patch 8.2.1921
12175Problem: Fuzzy matching does not recognize path separators.
12176Solution: Add a bonus for slash and backslash. (Yegappan Lakshmanan,
12177 closes #7225)
12178Files: src/search.c, src/testdir/test_matchfuzzy.vim
12179
12180Patch 8.2.1922
12181Problem: Win32: scrolling doesn't work properly when part of window is
12182 off-screen.
12183Solution: Fall back to GDI scrolling if part of the window is off-screen.
12184 Handle multi-monitor setup better. (Ken Takata, closes #7219)
12185Files: src/gui_w32.c
12186
12187Patch 8.2.1923
12188Problem: Vim9: "filter" command modifier doesn't work.
12189Solution: Check for space on char before argument. (closes #7216,
12190 closes #7222)
12191Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
12192
12193Patch 8.2.1924
12194Problem: Vim9: crash when indexing dict with NULL key.
12195Solution: Use empty string instead of NULL. (closes #7229) Make error
12196 message more useful for empty string.
12197Files: src/vim9execute.c, src/globals.h, src/testdir/test_vim9_expr.vim
12198
12199Patch 8.2.1925 (after 8.2.1924)
12200Problem: List/dict test fails.
12201Solution: Correct expected exception.
12202File: src/testdir/test_listdict.vim
12203
12204Patch 8.2.1926
12205Problem: Cannot use a space in 'spellfile'. (Filipe Brandenburger)
12206Solution: Permit using a space. (closes #7230)
12207Files: src/spell.c, src/testdir/gen_opt_test.vim
12208
12209Patch 8.2.1927
12210Problem: Vim9: get unknown error with an error in a timer function.
12211Solution: Use did_emsg instead of called_emsg. (closes #7231)
12212Files: src/vim9compile.c, src/vim9execute.c
12213
12214Patch 8.2.1928
12215Problem: Vim9: "silent!" not effective when list index is wrong.
12216Solution: Ignore list index failure when emsg_silent is set. (closes #7232)
12217Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
12218
12219Patch 8.2.1929
12220Problem: MS-Windows: problem loading Perl 5.32.
12221Solution: Define NO_THREAD_SAFE_LOCALE. (Ken Takata, closes #7234)
12222Files: src/if_perl.xs
12223
12224Patch 8.2.1930
12225Problem: Wrong input if removing shift results in special key code.
12226Solution: Handle special key codes. (closes #7189)
12227Files: src/term.c, src/testdir/test_termcodes.vim
12228
12229Patch 8.2.1931
12230Problem: Vim9: arguments of extend() not checked at compile time.
12231Solution: Add argument type checking for extend().
12232Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
12233
12234Patch 8.2.1932
12235Problem: Compiler warnings when building with Athena GUI.
12236Solution: Fix function signatures.
12237Files: src/gui_at_fs.c
12238
12239Patch 8.2.1933
12240Problem: Cannot sort using locale ordering.
12241Solution: Add a flag for :sort and sort() to use the locale. (Dominique
12242 Pellé, closes #7237)
12243Files: runtime/doc/change.txt, runtime/doc/eval.txt, src/ex_cmds.c,
12244 src/list.c, src/testdir/test_sort.vim
12245
12246Patch 8.2.1934
12247Problem: Vim9: command modifiers in :def function not tested.
12248Solution: Add tests. Fix using modifier before filter command.
12249Files: src/ex_docmd.c, src/vim9compile.c, src/testdir/test_vim9_cmd.vim
12250
12251Patch 8.2.1935 (after 8.2.1933)
12252Problem: Sort test fails on Mac.
12253Solution: Disable the sort test with locale on Mac.
12254Files: src/testdir/test_sort.vim
12255
12256Patch 8.2.1936
12257Problem: Session sets the local 'scrolloff' value to the global value.
12258Solution: Do not let restoring the global option value change the local
12259 value.
12260Files: src/session.c, src/testdir/test_mksession.vim
12261
12262Patch 8.2.1937
12263Problem: Vim9: test for confirm modifier fails in some situations.
12264Solution: Add a short wait. Handle failure better.
12265Files: src/testdir/term_util.vim, src/testdir/test_vim9_cmd.vim
12266
12267Patch 8.2.1938
12268Problem: Wiping out a terminal buffer makes some tests fail.
12269Solution: Do not wipe out the terminal buffer unless wanted.
12270Files: src/testdir/term_util.vim, src/testdir/test_terminal.vim,
12271 src/testdir/test_terminal3.vim
12272
12273Patch 8.2.1939
12274Problem: Invalid memory access in Ex mode with global command.
12275Solution: Make sure the cursor is on a valid line. (closes #7238)
12276Files: src/move.c, src/testdir/test_ex_mode.vim
12277
12278Patch 8.2.1940
12279Problem: Vim9: browse modifier test fails on Mac.
12280Solution: Only test when the +browse feature is available.
12281Files: src/testdir/test_vim9_cmd.vim
12282
12283Patch 8.2.1941
12284Problem: Ex mode test fails on MS-Windows with GUI.
12285Solution: Skip the test when using gvim.
12286Files: src/testdir/test_ex_mode.vim
12287
12288Patch 8.2.1942
12289Problem: Insufficient test coverage for the Netbeans interface.
12290Solution: Add more tests. Fix an uncovered bug. (Yegappan Lakshmanan,
12291 closes #7240)
12292Files: runtime/doc/netbeans.txt, src/mouse.c,
12293 src/testdir/test_netbeans.py, src/testdir/test_netbeans.vim,
12294 src/testdir/test_quickfix.vim
12295
12296Patch 8.2.1943
12297Problem: Vim9: wrong error message when colon is missing.
12298Solution: Check for a missing colon. (issue #7239)
12299Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
12300
12301Patch 8.2.1944
12302Problem: Netbeans test is flaky.
12303Solution: Add a short delay. (Yegappan Lakshmanan, closes #7246)
12304Files: src/testdir/test_netbeans.vim
12305
12306Patch 8.2.1945
12307Problem: Crash when passing NULL function to reduce().
12308Solution: Check for NULL pointer and give an error. (Dominique Pellé,
12309 closes #7243)
12310Files: src/list.c, src/errors.h, src/testdir/test_listdict.vim
12311
12312Patch 8.2.1946
12313Problem: sort() with NULL string not tested.
12314Solution: Add a test. use v:collate. (Dominique Pellé, closes #7247)
12315Files: src/testdir/test_sort.vim
12316
12317Patch 8.2.1947
12318Problem: Crash when using "zj" without folds. (Sean Dewar)
12319Solution: Check for at least one fold. (closes #7245)
12320Files: src/fold.c, src/testdir/test_fold.vim
12321
12322Patch 8.2.1948
12323Problem: GUI: crash when handling message while closing a window. (Srinath
12324 Avadhanula)
12325Solution: Don't handle message while closing a window. (closes #7250)
12326Files: src/window.c, src/globals.h, src/getchar.c
12327
12328Patch 8.2.1949
12329Problem: Vim9: using extend() on null dict is silently ignored.
12330Solution: Give an error message. Initialize a dict variable with an empty
12331 dictionary. (closes #7251)
12332Files: src/errors.h, src/list.c, src/evalvars.c,
12333 src/testdir/test_vim9_assign.vim
12334
12335Patch 8.2.1950
12336Problem: Vim9: crash when compiling function fails when getting type.
12337Solution: Handle NULL type. (closes #7253)
12338Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
12339
12340Patch 8.2.1951 (after 8.2.1949)
12341Problem: Test for list and dict fails.
12342Solution: Adjust for using an empty list/dict for a null one.
12343Files: src/testdir/test_listdict.vim, src/testdir/test_python2.vim,
12344 src/testdir/test_python3.vim
12345
12346Patch 8.2.1952
12347Problem: Vim9: crash when using a NULL dict key.
12348Solution: Use a NULL dict key like an empty string. (closes #7249)
12349Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
12350
12351Patch 8.2.1953
12352Problem: Vim9: extra "unknown" error after other error.
12353Solution: Restore did_emsg count after EXEC instruction. (closes #7254)
12354 Improve error message from assert_fails()
12355Files: src/vim9execute.c, src/testing.c,
12356 src/testdir/test_vim9_script.vim, src/testdir/test_assert.vim
12357
12358Patch 8.2.1954
12359Problem: Vim9: not all command modifiers are tested.
12360Solution: Add tests for "keep" modifiers. Fix that marks are lost even
12361 though ":lockmarks" is used.
12362Files: src/ex_cmds.c, src/testdir/test_vim9_cmd.vim
12363
12364Patch 8.2.1955
12365Problem: Vim9: not all command modifiers are tested.
12366Solution: Add tests for remaining modifiers.
12367Files: src/testdir/test_vim9_cmd.vim
12368
12369Patch 8.2.1956
12370Problem: Vim9: cannot specify argument types for lambda.
12371Solution: Allow adding argument types. Check arguments when calling a
12372 function reference.
12373Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9compile.c,
12374 src/eval.c, src/testdir/test_vim9_disassemble.vim,
12375 src/testdir/test_vim9_func.vim
12376
12377Patch 8.2.1957
12378Problem: Diff and cursorcolumn highlighting don't mix.
12379Solution: Fix condition for what attribute to use. (Christian Brabandt,
12380 closes #7258, closes #7260)
12381Files: src/drawline.c, src/testdir/dumps/Test_diff_cuc_01.dump,
12382 src/testdir/dumps/Test_diff_cuc_02.dump,
12383 src/testdir/dumps/Test_diff_cuc_03.dump,
12384 src/testdir/dumps/Test_diff_cuc_04.dump,
12385 src/testdir/test_diffmode.vim
12386
12387Patch 8.2.1958 (after 8.2.1956)
12388Problem: Build failure with timers.
12389Solution: Add missing change.
12390Files: src/popupwin.c
12391
12392Patch 8.2.1959
12393Problem: Crash when terminal buffer name is made empty. (Dhiraj Mishra)
12394Solution: Fall back to "[No Name]". (closes #7262)
12395Files: src/buffer.c, src/proto/buffer.pro, src/terminal.c,
12396 src/testdir/test_terminal.vim
12397
12398Patch 8.2.1960
12399Problem: Warning for uninitialized variable.
12400Solution: Initialize the variable.
12401Files: src/evalfunc.c
12402
12403Patch 8.2.1961
12404Problem: Various comments can be improved.
12405Solution: Various comment adjustments.
12406Files: src/dict.c, src/structs.h, src/time.c, src/testdir/shared.vim,
12407 src/testdir/test_netbeans.vim, src/gui_motif.c
12408
12409Patch 8.2.1962
12410Problem: Netbeans may access freed memory.
12411Solution: Check the buffer pointer is still valid. Add a test. (Yegappan
12412 Lakshmanan, closes #7248)
12413Files: src/netbeans.c, src/testdir/test_netbeans.vim
12414
12415Patch 8.2.1963
12416Problem: Crash when using a popup window with "latin1" encoding.
12417Solution: Don't use ScreenLinesUC when enc_utf8 is false. (closes #7241)
12418Files: src/screen.c, src/terminal.c, src/testdir/test_popupwin.vim
12419
12420Patch 8.2.1964
12421Problem: Not all ConTeXt files are recognized.
12422Solution: Add two patterns. (closes #7263)
12423Files: runtime/filetype.vim, src/testdir/test_filetype.vim
12424
12425Patch 8.2.1965
12426Problem: Vim9: tests fail without the channel feature.
12427Solution: Check if the channel feature is present. (Dominique Pellé,
Bram Moolenaar1588bc82022-03-08 21:35:07 +000012428 closes #7270)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012429Files: src/testdir/test_vim9_expr.vim
12430
12431Patch 8.2.1966
12432Problem: Popup becomes current window after closing a terminal window.
12433Solution: When restoring the window after executing autocommands, check that
12434 the window ID is still the same. (Naruhiko Nishino,
12435 closes #7272)
12436Files: src/autocmd.c, src/window.c, src/proto/window.pro, src/structs.h,
12437 src/testdir/test_popupwin.vim
12438
12439Patch 8.2.1967
12440Problem: The session file does not restore the alternate file.
12441Solution: Add ":balt". Works like ":badd" and also sets the buffer as the
12442 alternate file. Use it in the session file. (closes #7269,
12443 closes #6714)
12444Files: runtime/doc/windows.txt, src/ex_cmds.h, src/ex_cmdidxs.h,
12445 src/ex_docmd.c, src/vim.h, src/ex_cmds.c, src/session.c,
12446 src/testdir/test_buffer.vim
12447
12448Patch 8.2.1968
12449Problem: Vim9: has() assumes a feature does not change dynamically.
12450Solution: Check whether a feature may change dynamically. (closes #7265)
12451Files: src/vim9compile.c, src/evalfunc.c, src/proto/evalfunc.pro,
12452 src/testdir/test_vim9_disassemble.vim
12453
12454Patch 8.2.1969
12455Problem: Vim9: map() may change the list or dict item type.
12456Solution: Add mapnew().
12457Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
12458 src/list.c, src/proto/list.pro, src/testdir/test_filter_map.vim
12459
12460Patch 8.2.1970
12461Problem: It is easy to make mistakes when cleaning up swap files after the
12462 system crashed.
12463Solution: Warn for the process still running after recovery. Do not
12464 automatically delete a swap file created on another system.
12465 (David Fries, closes #7273)
12466Files: src/memline.c, src/testdir/test_swap.vim
12467
12468Patch 8.2.1971
12469Problem: Memory leak when map() fails.
12470Solution: Clear the typval.
12471Files: src/list.c
12472
12473Patch 8.2.1972
12474Problem: Crash when recreating nested fold.
12475Solution: Check for empty growarray. (closes #7278)
12476Files: src/fold.c, src/testdir/test_fold.vim
12477
12478Patch 8.2.1973
12479Problem: Finding a patch number can be a bit slow.
12480Solution: Use binary search. (closes #7279)
12481Files: src/version.c
12482
12483Patch 8.2.1974
12484Problem: Vim9: test for has('gui_running') fails with VIMDLL.
12485Solution: Adjust the #ifdef. (Ken Takata, closes #7276)
12486Files: src/evalfunc.c
12487
12488Patch 8.2.1975
12489Problem: Win32: memory leak when encoding conversion fails.
12490Solution: Free the allocated memory. (Ken Takata, closes #7277)
12491Files: src/os_win32.c
12492
12493Patch 8.2.1976
12494Problem: Cannot backspace in prompt buffer after using cursor-left. (Maxim
12495 Kim)
12496Solution: Ignore "arrow_used" in a prompt buffer. (closes #7281)
12497Files: src/edit.c, src/testdir/test_prompt_buffer.vim
12498
12499Patch 8.2.1977
12500Problem: Vim9: error for using a string in a condition is confusing.
12501Solution: Give a more specific error. Also adjust the compile time type
12502 checking for || and &&.
12503Files: src/vim9compile.c, src/vim9execute.c, src/proto/vim9execute.pro,
12504 src/typval.c, src/errors.h, src/testdir/test_vim9_cmd.vim,
12505 src/testdir/test_vim9_disassemble.vim,
12506 src/testdir/test_vim9_expr.vim
12507
12508Patch 8.2.1978
12509Problem: Making a mapping work in all modes is complicated.
12510Solution: Add the <Cmd> special key. (Yegappan Lakshmanan, closes #7282,
12511 closes 4784, based on patch by Bjorn Linse)
12512Files: runtime/doc/autocmd.txt, runtime/doc/eval.txt,
12513 runtime/doc/map.txt, src/edit.c, src/errors.h, src/ex_docmd.c,
12514 src/ex_getln.c, src/getchar.c, src/insexpand.c, src/keymap.h,
12515 src/map.c, src/misc2.c, src/normal.c, src/ops.c,
12516 src/proto/getchar.pro, src/screen.c, src/terminal.c,
12517 src/testdir/test_mapping.vim
12518
12519Patch 8.2.1979
12520Problem: "term_opencmd" option of term_start() is truncated. (Sergey
12521 Vlasov)
12522Solution: Allocate the buffer to hold the command. (closes #7284)
12523Files: src/terminal.c, src/testdir/test_terminal.vim
12524
12525Patch 8.2.1980
12526Problem: Vim9: some tests are not done at the script level.
12527Solution: Use CheckDefAndScriptSuccess() in more places. Fix uncovered
12528 problems.
12529Files: src/eval.c, src/list.c, src/scriptfile.c,
12530 src/testdir/test_vim9_expr.vim
12531
12532Patch 8.2.1981
12533Problem: MinGW: parallel compilation might fail.
12534Solution: Add dependencies on $(OUTDIR). (Masamichi Abe, closes #7287)
12535Files: src/Make_cyg_ming.mak
12536
12537Patch 8.2.1982
12538Problem: Quickfix window not updated when adding invalid entries.
12539Solution: Update the quickfix buffer properly. (Yegappan Lakshmanan, closes
12540 #7291, closes #7271)
12541Files: src/quickfix.c, src/testdir/test_quickfix.vim
12542
12543Patch 8.2.1983
12544Problem: ml_get error when using <Cmd> to open a terminal.
12545Solution: If the window changed reset the incsearch state. (closes #7289)
12546Files: src/ex_getln.c, src/testdir/test_terminal.vim,
12547 src/testdir/dumps/Test_terminal_from_cmd.dump
12548
12549Patch 8.2.1984
12550Problem: Cannot use :vimgrep in omni completion, causing C completion to
12551 fail.
12552Solution: Add the EX_LOCK_OK flag to :vimgrep. (closes #7292)
12553Files: src/ex_cmds.h, src/testdir/test_quickfix.vim
12554
12555Patch 8.2.1985
12556Problem: Crash when closing terminal popup with <Cmd> mapping.
12557Solution: Check b_term is not NULL. (closes #7294)
12558Files: src/terminal.c, src/testdir/test_terminal.vim
12559
12560Patch 8.2.1986
12561Problem: Expression test is flaky on Appveyor.
12562Solution: Temporarily disable the test in MS-Windows.
12563Files: src/testdir/test_vim9_expr.vim
12564
12565Patch 8.2.1987
12566Problem: MS-Windows: Win32.mak is no longer needed.
12567Solution: Do not include Win32.mak. (Jason McHugh, closes #7290)
12568Files: src/Make_mvc.mak, src/INSTALLpc.txt
12569
12570Patch 8.2.1988
12571Problem: Still in Insert mode when opening terminal popup with a <Cmd>
12572 mapping in Insert mode.
12573Solution: Exit Insert mode. (closes #7295)
12574Files: src/edit.c, src/testdir/test_terminal.vim
12575
12576Patch 8.2.1989
12577Problem: Info popup triggers WinEnter and WinLeave autocommands.
12578Solution: Suppress autocommands for the info popup. (closes #7296)
12579Files: src/popupmenu.c, src/testdir/test_popupwin.vim
12580
12581Patch 8.2.1990
12582Problem: Cursor position wrong in terminal popup with finished job.
12583Solution: Only add the top and left offset when not done already.
12584 (closes #7298)
12585Files: src/popupwin.c, src/structs.h, src/drawline.c, src/move.c,
12586 src/terminal.c, src/testdir/dumps/Test_terminal_popup_m1.dump
12587
12588Patch 8.2.1991
12589Problem: Coverity warns for not using the ga_grow() return value.
12590Solution: Bail out if ga_grow() fails. (Yegappan Lakshmanan, closes #7303)
12591Files: src/getchar.c
12592
12593Patch 8.2.1992
12594Problem: Build fails with small features.
12595Solution: Add #ifdef.
12596Files: src/move.c
12597
12598Patch 8.2.1993
12599Problem: Occasional failure of the netbeans test.
12600Solution: Add "silent!". (Yegappan Lakshmanan, closes #7304)
12601Files: src/testdir/test_netbeans.vim
12602
12603Patch 8.2.1994 (after 8.2.1981)
12604Problem: MS-Windows: MinGW always does a full build.
12605Solution: Only check if $OUTDIR exists. (Masamichi Abe, closes #7311)
12606Files: src/Make_cyg_ming.mak
12607
12608Patch 8.2.1995
12609Problem: The popup menu can cause too much redrawing.
12610Solution: Reduce the length of the displayed text. (Yasuhiro Matsumoto,
12611 closes #7306)
12612Files: src/popupmenu.c
12613
12614Patch 8.2.1996
12615Problem: Vim9: invalid error for argument of extend().
12616Solution: Check if the type could match. (closes #7299)
12617Files: src/evalfunc.c, src/vim9compile.c, src/proto/vim9compile.pro,
12618 src/vim9type.c, src/proto/vim9type.pro,
12619 src/testdir/test_vim9_builtin.vim
12620
12621Patch 8.2.1997
12622Problem: Window changes when using bufload() while in a terminal popup.
12623Solution: When searching for a window by ID also find a popup window.
12624 (closes #7307)
12625Files: src/window.c, src/testdir/test_terminal.vim
12626
12627Patch 8.2.1998
12628Problem: Terminal Cmd test sometimes fails to close popup.
12629Solution: Add "term_finish" option.
12630Files: src/testdir/test_terminal.vim
12631
12632Patch 8.2.1999
12633Problem: Terminal popup test sometimes fails.
12634Solution: Wait for the popup to close.
12635Files: src/testdir/test_terminal.vim
12636
12637Patch 8.2.2000
12638Problem: Vim9: dict.key assignment not implemented yet.
12639Solution: Implement dict.key assignment. (closes #7312)
12640Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
12641
12642Patch 8.2.2001
12643Problem: Vim9: :def function does not apply 'maxfuncdepth'.
12644Solution: Use 'maxfuncdepth'. (issue #7313)
12645Files: src/vim9execute.c, src/userfunc.c, src/proto/userfunc.pro,
12646 src/testdir/test_vim9_func.vim
12647
12648Patch 8.2.2002
12649Problem: Vim9: lambda argument shadowed by function name.
12650Solution: Let function name be shadowed by lambda argument. (closes #7313)
12651Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
12652
12653Patch 8.2.2003
12654Problem: Build error with +conceal but without +popupwin.
12655Solution: Add #ifdef. (Tom Ryder, closes #7316)
12656Files: src/drawline.c
12657
12658Patch 8.2.2004 (after 8.2.2002)
12659Problem: Compiler warning for uninitialized variable.
12660Solution: Initialize "ufunc". (John Marriott)
12661Files: src/vim9compile.c
12662
12663Patch 8.2.2005
12664Problem: Redoing a mapping with <Cmd> doesn't work properly.
12665Solution: Fill the redo buffer. Use "<SNR>" instead of a key code.
12666 (closes #7282)
12667Files: src/ops.c, src/getchar.c, src/testdir/test_mapping.vim
12668
12669Patch 8.2.2006
12670Problem: .pbtxt files are not recognized.
12671Solution: Recognize .pbtxt as protobuf text buffers. (closes #7326)
12672Files: runtime/filetype.vim, src/testdir/test_filetype.vim
12673
12674Patch 8.2.2007
12675Problem: Test for insert mode in popup is not reliable.
12676Solution: Wait for the popup to disappear. (Ozaki Kiichi, closes #7321)
12677Files: src/testdir/test_terminal.vim
12678
12679Patch 8.2.2008
12680Problem: MS-Windows GUI: handling channel messages lags.
12681Solution: Reduce the wait time from 100 to 10 msec. (closes #7097)
12682Files: src/gui_w32.c
12683
12684Patch 8.2.2009
12685Problem: MS-Windows: setting $LANG in gvimext only causes problems.
12686Solution: Do not set $LANG. (Ken Takata, closes #7325)
12687Files: src/GvimExt/gvimext.cpp
12688
12689Patch 8.2.2010
12690Problem: Vim9: compiling fails for unreachable return statement.
12691Solution: Fix it. (closes #7319)
12692Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
12693
12694Patch 8.2.2011
12695Problem: "syn sync" reports a very large number.
12696Solution: Use "at the first line".
12697Files: src/syntax.c, src/testdir/test_syntax.vim
12698
12699Patch 8.2.2012
12700Problem: Vim9: confusing error message when using bool wrongly.
12701Solution: Mention "Bool" instead of "Special". (closes #7323)
12702Files: src/typval.c, src/errors.h, src/testdir/test_vim9_expr.vim
12703
12704Patch 8.2.2013
12705Problem: Vim9: not skipping white space after unary minus.
12706Solution: Skip whitespace. (closes #7324)
12707Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
12708
12709Patch 8.2.2014
12710Problem: Using CTRL-O in a prompt buffer moves cursor to start of the line.
12711Solution: Do not move the cursor when restarting edit. (closes #7330)
12712Files: src/job.c, src/testdir/test_prompt_buffer.vim
12713
12714Patch 8.2.2015
12715Problem: Vim9: literal dict #{} is not like any other language.
12716Solution: Support the JavaScript syntax.
12717Files: runtime/doc/vim9.txt, src/vim9compile.c,
12718 src/proto/vim9compile.pro, src/errors.h,
12719 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_builtin.vim,
12720 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
12721
12722Patch 8.2.2016
12723Problem: Swap file test is a little flaky.
12724Solution: Don't set a byte to a fixed value, increment it.
12725Files: src/testdir/test_swap.vim
12726
12727Patch 8.2.2017 (after 8.2.2015)
12728Problem: Missing part of the dict change.
12729Solution: Also change the script level dict.
12730Files: src/dict.c
12731
12732Patch 8.2.2018
12733Problem: Vim9: script variable not found from lambda.
12734Solution: In a lambda also check the script hashtab for a variable without a
12735 scope. (closes #7329)
12736Files: src/evalvars.c, src/testdir/test_vim9_func.vim
12737
12738Patch 8.2.2019 (after 8.2.2016)
12739Problem: Swap file test fails on MS-Windows.
12740Solution: Add four to the process ID. (Ken Takata, closes #7333)
12741Files: src/testdir/test_swap.vim
12742
12743Patch 8.2.2020
12744Problem: Some compilers do not like the "namespace" argument.
12745Solution: Rename to "use_namespace". (closes #7332)
12746Files: src/vim9compile.c, src/proto/vim9compile.pro
12747
12748Patch 8.2.2021
12749Problem: Vim9: get E1099 when autocommand resets did_emsg.
12750Solution: Add did_emsg_cumul. (closes #7336)
12751Files: src/globals.h, src/ex_docmd.c, src/vim9execute.c,
12752 src/testdir/test_vim9_func.vim
12753
12754Patch 8.2.2022
Bram Moolenaar1588bc82022-03-08 21:35:07 +000012755Problem: Vim9: star command recognized erroneously.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012756Solution: Give an error for missing colon. (issue #7335)
12757Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
12758
12759Patch 8.2.2023
12760Problem: Vim: memory leak when :execute fails.
12761Solution: Clear the growarray.
12762Files: src/vim9execute.c
12763
12764Patch 8.2.2024
12765Problem: Flicker when redrawing a popup with a title and border.
12766Solution: Do not redraw the border where the title is displayed. (Naruhiko
12767 Nishino, closes #7334)
12768Files: src/popupwin.c
12769
12770Patch 8.2.2025
12771Problem: Amiga: Not all colors are used on OS4.
12772Solution: Adjust the #ifdef to include __amigaos4__. (Ola Söder,
12773 closes #7328)
12774Files: src/term.c
12775
12776Patch 8.2.2026
12777Problem: Coverity warns for possibly using not NUL terminated string.
12778Solution: Put a NUL in b0_hname just in case.
12779Files: src/memline.c
12780
12781Patch 8.2.2027
12782Problem: Coverity warns for uninitialized field.
12783Solution: Set "v_lock".
12784Files: src/list.c
12785
12786Patch 8.2.2028
12787Problem: Coverity warns for using an uninitialized variable.
12788Solution: Initialize to NULL.
12789Files: src/eval.c
12790
12791Patch 8.2.2029
12792Problem: Coverity warns for not checking return value.
12793Solution: Check that u_save_cursor() returns OK.
12794Files: src/ops.c
12795
12796Patch 8.2.2030
12797Problem: Some tests fail on Mac.
12798Solution: Avoid Mac test failures. Add additional test for wildmenu.
12799 (Yegappan Lakshmanan, closes #7341)
12800Files: src/testdir/runtest.vim, src/testdir/test_cmdline.vim,
12801 src/testdir/test_options.vim, src/testdir/test_popupwin.vim
12802
12803Patch 8.2.2031
12804Problem: Some tests fail when run under valgrind.
12805Solution: Avoid timing problems.
12806Files: src/testdir/test_vim9_func.vim, src/testdir/test_channel.vim,
12807 src/testdir/test_clientserver.vim, src/testdir/test_debugger.vim,
12808 src/testdir/test_quotestar.vim
12809
12810Patch 8.2.2032
12811Problem: Cabalconfig and cabalproject filetypes not recognized.
12812Solution: Detect more cabal files. (Marcin Szamotulski, closes #7339)
12813Files: runtime/filetype.vim, src/testdir/test_filetype.vim
12814
12815Patch 8.2.2033
12816Problem: Vim9: :def without argument gives compilation error.
12817Solution: Add the DEF instruction. (closes #7344)
12818Files: src/ex_docmd.c, src/vim9.h, src/vim9compile.c, src/vim9execute.c,
12819 src/userfunc.c, src/proto/userfunc.pro,
12820 src/testdir/test_vim9_disassemble.vim,
12821 src/testdir/test_vim9_func.vim
12822
12823Patch 8.2.2034
12824Problem: Vim9: list unpack in for statement not compiled yet.
12825Solution: Compile list unpack. (closes #7345)
12826Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/errors.h,
12827 src/eval.c, src/testdir/test_vim9_disassemble.vim,
12828 src/testdir/test_vim9_script.vim
12829
12830Patch 8.2.2035
12831Problem: MS-Windows: some tests may fail.
12832Solution: Avoid test failures. (Yegappan Lakshmanan, closes #7346)
12833Files: src/testdir/test_channel.vim, src/testdir/test_ex_mode.vim,
12834 src/testdir/test_functions.vim
12835
12836Patch 8.2.2036
12837Problem: Current buffer is messed up if creating a new buffer for the
12838 quickfix window fails.
12839Solution: Check that creating the buffer succeeds. (closes #7352)
12840Files: src/quickfix.c, src/testdir/test_quickfix.vim,
12841 src/testdir/dumps/Test_quickfix_window_fails.dump
12842
12843Patch 8.2.2037
12844Problem: Compiler test depends on list of compiler plugins.
12845Solution: Compare with the actual list of compiler plugins.
12846Files: src/testdir/test_compiler.vim
12847
12848Patch 8.2.2038
12849Problem: Compiler test fails on MS-Windows.
12850Solution: Sort the found compiler plugin names.
12851Files: src/testdir/test_compiler.vim
12852
12853Patch 8.2.2039
12854Problem: Viminfo is not written when creating a new file.
12855Solution: Set "b_marks_read" in the new buffer. (Christian Brabandt,
12856 closes #7350)
12857Files: src/bufwrite.c, src/testdir/test_viminfo.vim
12858
12859Patch 8.2.2040
12860Problem: Terminal buffer disappears even when 'bufhidden' is "hide".
12861 (Sergey Vlasov)
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010012862Solution: Check 'bufhidden' when a terminal buffer becomes hidden.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012863 (closes #7358)
12864Files: src/buffer.c, src/testdir/test_terminal.vim
12865
12866Patch 8.2.2041
12867Problem: Haskell filetype not optimally recognized.
12868Solution: Recognize all *.hsc files as Haskell. (Marcin Szamotulski,
12869 closes #7354)
12870Files: runtime/filetype.vim, src/testdir/test_filetype.vim
12871
12872Patch 8.2.2042
12873Problem: Build failure with +profile but without +reltime.
12874Solution: Adjust #ifdef. (Christian Brabandt, closes #7361)
12875Files: src/syntax.c
12876
12877Patch 8.2.2043
12878Problem: GTK3: white border around text stands out.
12879Solution: Use current theme color. (closes #7357, issue #349)
12880Files: src/gui_gtk_x11.c
12881
12882Patch 8.2.2044
12883Problem: MS-Windows: swap file test sometimes fails.
12884Solution: Use a more reliable way to change the process ID. When "timeout"
12885 fails use "ping" to wait up to ten minutes. (Ken Takata,
12886 closes #7365)
12887Files: .github/workflows/ci-windows.yaml, src/testdir/test_swap.vim
12888
12889Patch 8.2.2045
12890Problem: Highlighting a character too much with incsearch.
12891Solution: Check "search_match_endcol". (Christian Brabandt, closes #7360)
12892Files: src/drawline.c, src/testdir/test_search.vim,
12893 src/testdir/dumps/Test_incsearch_newline1.dump,
12894 src/testdir/dumps/Test_incsearch_newline2.dump,
12895 src/testdir/dumps/Test_incsearch_newline3.dump,
12896 src/testdir/dumps/Test_incsearch_newline4.dump,
12897 src/testdir/dumps/Test_incsearch_newline5.dump
12898
12899Patch 8.2.2046
12900Problem: Some test failures don't give a clear error.
12901Solution: Use assert_match() and assert_fails() instead of assert_true().
12902 (Ken Takata, closes #7368)
12903Files: src/testdir/test_autocmd.vim, src/testdir/test_backspace_opt.vim
12904
12905Patch 8.2.2047
12906Problem: Amiga: FEAT_ARP defined when it should not.
12907Solution: Adjust #ifdef. (Ola Söder, closes #7370)
12908Files: src/feature.h
12909
12910Patch 8.2.2048
12911Problem: Amiga: obsolete code.
12912Solution: Remove the unused lines. (Ola Söder, closes #7373)
12913Files: src/gui.c
12914
12915Patch 8.2.2049
12916Problem: Amiga: obsolete function.
12917Solution: Remove the function. (Ola Söder, closes #7374)
12918Files: src/memfile.c
12919
12920Patch 8.2.2050
12921Problem: Search test contains unneeded sleeps.
12922Solution: Rename the function, remove sleeps. (Christian Brabandt,
12923 closes #7369)
12924Files: src/testdir/test_search.vim
12925
12926Patch 8.2.2051
12927Problem: Vim9: crash when aborting a user function call.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000012928Solution: Do not use the return value when aborting. (closes #7372)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012929Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
12930
12931Patch 8.2.2052
12932Problem: Vim9: "edit +4 fname" gives an error. (Naruhiko Nishino)
12933Solution: Allow using a range in the +cmd argument. (closes #7364)
12934Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/vim.h, src/ex_cmds.c,
12935 src/testdir/test_vim9_cmd.vim
12936
12937Patch 8.2.2053
Bram Moolenaar1588bc82022-03-08 21:35:07 +000012938Problem: Vim9: lambda doesn't accept argument types.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012939Solution: Optionally accept argument types at the script level.
12940Files: src/eval.c, src/testdir/test_vim9_expr.vim
12941
12942Patch 8.2.2054
12943Problem: Amiga: FEAT_ARP defined when it should not.
12944Solution: Adjust "||" to "&&" in #ifdef. (Ola Söder, closes #7375)
12945Files: src/feature.h
12946
12947Patch 8.2.2055
12948Problem: MS-Windows: two Vim instances may use the same temp file.
12949Solution: Use the process ID for the temp name. (Ken Takata, closes #7378)
12950Files: src/fileio.c
12951
12952Patch 8.2.2056
12953Problem: Configure fails when building with the
12954 "implicit-function-declaration" error enabled, specifically on Mac.
12955Solution: Declear the functions like in the source code. (suggestion by
12956 Clemens Lang, closes #7380)
12957Files: src/configure.ac, src/auto/configure
12958
12959Patch 8.2.2057
12960Problem: Getting the selection may trigger TextYankPost autocmd.
12961Solution: Only trigger the autocommand when yanking in Vim, not for getting
12962 the selection. (closes #7367)
12963Files: src/clipboard.c, src/normal.c, src/register.c,
12964 src/testdir/test_autocmd.vim
12965
12966Patch 8.2.2058
12967Problem: Using mkview/loadview changes the jumplist.
12968Solution: Use ":keepjumps". Don't let ":badd" or ":balt" change the
12969 jumplist. (closes #7371)
12970Files: src/session.c, src/ex_docmd.c, src/testdir/test_mksession.vim
12971
12972Patch 8.2.2059
12973Problem: Amiga: can't find plugins.
12974Solution: Do not use "**" in the pattern. (Ola Söder, closes #7384)
12975Files: src/main.c
12976
12977Patch 8.2.2060
12978Problem: Check for features implemented with "if".
12979Solution: Use the Check commands. (Ken Takata, closes #7383)
12980Files: src/testdir/test_autocmd.vim, src/testdir/test_compiler.vim,
12981 src/testdir/test_delete.vim, src/testdir/test_diffmode.vim,
12982 src/testdir/test_expr.vim, src/testdir/test_fold.vim
12983
12984Patch 8.2.2061
12985Problem: Vim9: E1030 error when using empty string for term_sendkeys().
12986Solution: Don't check for an invalid type unless the terminal can't be
12987 found. (closes #7382)
12988Files: src/terminal.c, src/testdir/test_termcodes.vim
12989
12990Patch 8.2.2062
12991Problem: <Cmd> does not handle CTRL-V.
12992Solution: Call get_literal() after encountering CTRL-V. (closes #7387)
12993Files: src/getchar.c, src/testdir/test_mapping.vim
12994
12995Patch 8.2.2063
12996Problem: Vim9: only one level of indexing supported.
12997Solution: Handle more than one index in an assignment.
12998Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_assign.vim
12999
13000Patch 8.2.2064
13001Problem: terminal: cursor is on while redrawing, causing flicker.
13002Solution: Switch the cursor off while redrawing. Always add the top and
13003 left offset to the cursor position when not done already.
13004 (closes #5943)
13005Files: src/terminal.c, src/popupwin.c
13006
13007Patch 8.2.2065
13008Problem: Using map() and filter() on a range() is inefficient.
13009Solution: Do not materialize the range. (closes #7388)
13010Files: src/list.c, src/testdir/test_functions.vim
13011
13012Patch 8.2.2066
13013Problem: Vim9: assignment with += doesn't work.
13014Solution: Do not see the "+" as an addition operator.
13015Files: src/eval.c, src/ex_docmd.c, src/testdir/test_vim9_assign.vim
13016
13017Patch 8.2.2067 (after 8.2.2064)
13018Problem: Cursor position in popup terminal is wrong.
13019Solution: Don't check the flags.
13020Files: src/terminal.c, src/testdir/test_popupwin.vim
13021
13022Patch 8.2.2068
13023Problem: Transparent syntax item uses start/end of containing region.
13024Solution: Do not change the startpos and endpos of a transparent region to
13025 that of its containing region. (Adrian Ghizaru, closes #7349,
13026 closes #7391)
13027Files: src/syntax.c, src/testdir/test_syntax.vim
13028
13029Patch 8.2.2069
13030Problem: The quickfix window is not updated after setqflist().
13031Solution: Update the quickfix buffer. (Yegappan Lakshmanan, closes #7390,
13032 closes #7385)
13033Files: src/quickfix.c, src/testdir/test_quickfix.vim
13034
13035Patch 8.2.2070
13036Problem: Can't get the exit value in VimLeave or VimLeavePre autocommands.
13037Solution: Add v:exiting like in Neovim. (Yegappan Lakshmanan, closes #7395)
13038Files: runtime/doc/autocmd.txt, runtime/doc/eval.txt, src/evalvars.c,
13039 src/main.c, src/testdir/test_exit.vim, src/vim.h
13040
13041Patch 8.2.2071
13042Problem: Vim9: list assign doesn't accept an empty remainder list.
13043Solution: Recognize list assignment with ";".
13044Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim
13045
13046Patch 8.2.2072
13047Problem: Vim9: list assign not well tested.
13048Solution: Test with different destinations. Fix white space error.
13049Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
13050
13051Patch 8.2.2073
13052Problem: Vim9: for with unpack only works for local variables.
13053Solution: Recognize different destinations.
13054Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
13055
13056Patch 8.2.2074
13057Problem: Vim9: using :normal from Vim9 script can't handle range.
13058Solution: Execute a :normal command in legacy script context. (closes #7401)
13059Files: src/structs.h, src/ex_docmd.c, src/testdir/test_vim9_script.vim
13060
13061Patch 8.2.2075
13062Problem: Error for const argument to mapnew().
13063Solution: Don't give an error. (closes #7400)
13064Files: src/list.c, src/testdir/test_filter_map.vim
13065
13066Patch 8.2.2076
13067Problem: MS-Windows console: sometimes drops typed characters.
13068Solution: Do not wait longer than 10 msec for input. (issue #7164)
13069Files: src/os_win32.c
13070
13071Patch 8.2.2077
13072Problem: Build failure with small features.
13073Solution: Add #ifdef.
13074Files: src/structs.h, src/ex_docmd.c
13075
13076Patch 8.2.2078
13077Problem: Illegal memory access when using :print on invalid text. (Dhiraj
13078 Mishra)
13079Solution: Check for more composing characters than supported. (closes #7399)
13080Files: src/message.c, src/testdir/test_utf8.vim
13081
13082Patch 8.2.2079
13083Problem: Vim9: cannot put a linebreak before or after "in" of ":for".
13084Solution: Skip over linebreak.
13085Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
13086
13087Patch 8.2.2080
13088Problem: Vim9: no proper error message for using s:var in for loop.
13089Solution: Give a specific error.
13090Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
13091
13092Patch 8.2.2081
13093Problem: Vim9: cannot handle a linebreak after "=" in assignment.
13094Solution: Skip over linebreak. (closes #7407)
13095Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
13096 src/testdir/test_vim9_expr.vim
13097
13098Patch 8.2.2082
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013099Problem: Vim9: can still use the deprecated #{} dict syntax.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013100Solution: Remove support for #{} in Vim9 script. (closes #7406, closes #7405)
13101Files: src/dict.c, src/proto/dict.pro, src/eval.c, src/vim9compile.c,
13102 src/testdir/test_vim9_assign.vim,
13103 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
13104 src/testdir/test_vim9_disassemble.vim,
13105 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
13106 src/testdir/test_vim9_script.vim, src/testdir/test_popupwin.vim,
13107 src/testdir/test_textprop.vim
13108
13109Patch 8.2.2083
13110Problem: Vim9: crash when using ":silent!" and getting member fails.
13111Solution: Jump to on_fatal_error. (closes #7412)
13112Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
13113
13114Patch 8.2.2084
13115Problem: CTRL-V U doesn't work to enter a Unicode character when
13116 modifyOtherKeys is effective. (Ken Takata)
13117Solution: Add a flag to get_literal() for the shift key. (closes #7413)
13118Files: src/edit.c, src/proto/edit.pro, src/ex_getln.c, src/getchar.c,
13119 src/normal.c, src/testdir/test_termcodes.vim
13120
13121Patch 8.2.2085
13122Problem: Qt translation file is recognized as typescript.
13123Solution: Check the first line for "<?xml". (closes #7418)
13124Files: runtime/filetype.vim, src/testdir/test_filetype.vim
13125
13126Patch 8.2.2086
13127Problem: Libvterm tests are only run on Linux.
13128Solution: Use static libraries. (Ozaki Kiichi, closes #7419)
13129Files: .travis.yml, src/Makefile, src/libvterm/Makefile,
13130 src/libvterm/t/run-test.pl
13131
13132Patch 8.2.2087
13133Problem: Vim9: memory leak when statement is truncated.
13134Solution: Increment the number of local variables.
13135Files: src/vim9compile.c
13136
13137Patch 8.2.2088
13138Problem: Vim9: script test sometimes fails.
13139Solution: Unlet variables.
13140Files: src/testdir/test_vim9_script.vim
13141
13142Patch 8.2.2089
13143Problem: Libvterm test fails to build on Mac.
13144Solution: Adjust configure to remove a space between -L and the path that
13145 follows.
13146Files: src/configure.ac, src/auto/configure
13147
13148Patch 8.2.2090
13149Problem: Vim9: dict does not accept a key in quotes.
13150Solution: Recognize a key in single or double quotes.
13151Files: runtime/doc/vim9.txt, src/dict.c, src/proto/dict.pro,
13152 src/vim9compile.c, src/testdir/test_vim9_expr.vim
13153
13154Patch 8.2.2091
13155Problem: MS-Windows: build warnings.
13156Solution: Add a #pragma to suppress the deprecation warning. (Ken Takata)
13157 Avoid using a non-ASCII character. (closes #7421)
13158Files: src/message.c, src/os_win32.c
13159
13160Patch 8.2.2092
13161Problem: Vim9: unpredictable errors for script tests.
13162Solution: Use a different script file name for each run.
13163Files: src/testdir/vim9.vim, src/testdir/test_vim9_script.vim,
13164 src/testdir/test_vim9_func.vim, src/testdir/test_quickfix.vim,
13165 src/testdir/test_vim9_assign.vim
13166
13167Patch 8.2.2093
13168Problem: Vim9: script test sometimes fails.
13169Solution: Do not find a script variable by its typval if the name was
13170 cleared.
13171Files: src/vim9script.c
13172
13173Patch 8.2.2094
13174Problem: When an expression fails getting the next command may be wrong.
13175Solution: Do not check for a next command after :eval fails. (closes #7415)
13176Files: src/eval.c, src/testdir/test_vim9_cmd.vim
13177
13178Patch 8.2.2095
13179Problem: Vim9: crash when failed dict member is followed by concatenation.
13180Solution: Remove the dict from the stack. (closes #7416)
13181Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
13182
13183Patch 8.2.2096
13184Problem: Vim9: command modifiers not restored after assignment.
13185Solution: Jump to nextline instead of using continue.
13186Files: src/vim9compile.c, src/vim9execute.c,
13187 src/testdir/test_vim9_func.vim
13188
13189Patch 8.2.2097
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013190Problem: Vim9: using :silent! when calling a function prevents aborting
13191 that function.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013192Solution: Add emsg_silent_def and did_emsg_def.
13193Files: src/globals.h, src/message.c, src/vim9execute.c,
13194 src/testdir/test_vim9_func.vim
13195
13196Patch 8.2.2098
13197Problem: Vim9: function argument of sort() and map() not tested.
13198Solution: Add a couple of tests.
13199Files: src/testdir/test_vim9_builtin.vim
13200
13201Patch 8.2.2099
13202Problem: Vim9: some checks are not tested.
13203Solution: Add a few more tests. Give better error messages.
13204Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
13205 src/testdir/test_vim9_expr.vim
13206
13207Patch 8.2.2100
13208Problem: Insufficient testing for function range and dict.
13209Solution: Add a few tests. (Dominique Pellé, closes #7428)
13210Files: src/testdir/test_functions.vim, src/testdir/test_lambda.vim,
13211 src/testdir/test_signals.vim, src/testdir/test_user_func.vim
13212
13213Patch 8.2.2101
13214Problem: Vim9: memory leak when literal dict has an error and when an
13215 expression is not complete.
13216Solution: Clear the typval and the growarray.
13217Files: src/dict.c, src/vim9compile.c
13218
13219Patch 8.2.2102
13220Problem: Vim9: not all error messages tested.
13221Solution: Add a few test cases.
13222Files: src/testdir/test_vim9_func.vim
13223
13224Patch 8.2.2103
13225Problem: Vim9: unreachable code.
13226Solution: Remove the code to prepend s: to the variable name
13227Files: src/vim9compile.c
13228
13229Patch 8.2.2104
13230Problem: Build problem with Ruby 2.7.
13231Solution: Adjust function declarations. (Ozaki Kiichi, closes #7430)
13232Files: src/configure.ac, src/auto/configure, src/if_ruby.c
13233
13234Patch 8.2.2105
13235Problem: Sound test is a bit flaky.
13236Solution: Use WaitForAssert(). (Dominique Pellé, closes #7429)
13237Files: src/testdir/test_sound.vim
13238
13239Patch 8.2.2106
13240Problem: TOML files are not recognized.
13241Solution: Match *.toml. (issue #7432)
13242Files: runtime/filetype.vim, src/testdir/test_filetype.vim
13243
13244Patch 8.2.2107
13245Problem: Vim9: some errors not tested.
13246Solution: Add tests. Fix getting the right error.
13247Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
13248 src/testdir/test_vim9_expr.vim
13249
13250Patch 8.2.2108
13251Problem: Vim9: no test to check for :let error.
13252Solution: Add a test. Rename tests from _let_ to _var_.
13253Files: src/testdir/test_vim9_assign.vim
13254
13255Patch 8.2.2109
13256Problem: "vim -" does not work well when modifyOtherKeys is enabled and a
13257 shell command is executed on startup.
13258Solution: Only change modifyOtherKeys when executing a shell command in raw
13259 mode.
13260Files: src/os_unix.c
13261
13262Patch 8.2.2110
13263Problem: Cannot use ":shell" when reading from stdin. (Gary Johnson)
13264Solution: Revert patch 8.2.1833.
13265Files: src/main.c
13266
13267Patch 8.2.2111
13268Problem: GTK: Menu background is the same color as the main window.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013269Solution: Fix white space around the text in another way. (closes #7437,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013270 closes #7427)
13271Files: src/gui_gtk_x11.c
13272
13273Patch 8.2.2112
13274Problem: Running tests may leave some files behind.
13275Solution: Delete the right files. Fix a few typos. (Dominique Pellé,
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013276 closes #7436)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013277Files: src/testdir/test_filetype.vim, src/testdir/test_messages.vim,
13278 src/testdir/test_mksession.vim
13279
13280Patch 8.2.2113
13281Problem: MS-Windows GUI: crash after using ":set guifont=" four times.
13282Solution: Check for NULL pointer. (Ken Takata, closes #7434)
13283Files: src/gui_dwrite.cpp, src/testdir/test_gui.vim
13284
13285Patch 8.2.2114
13286Problem: Vim9: unreachable code in assignment.
13287Solution: Remove impossible condition and code.
13288Files: src/vim9compile.c
13289
13290Patch 8.2.2115
13291Problem: Vim9: some errors not tested for; dead code.
13292Solution: Add a test. Remove dead code.
13293Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
13294
13295Patch 8.2.2116
13296Problem: MS-Windows GUI: test for 'guifont' is incomplete.
13297Solution: Set 'renderoptions'. (Christian Brabandt)
13298Files: src/testdir/test_gui.vim
13299
13300Patch 8.2.2117
13301Problem: Some functions use any value as a string.
13302Solution: Check that the value is a non-empty string.
13303Files: src/typval.c, src/proto/typval.pro, src/mbyte.c, src/filepath.c,
13304 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim
13305
13306Patch 8.2.2118
13307Problem: Dead code in the job support. (Dominique Pellé)
13308Solution: Define USE_ARGV before checking for it.
13309Files: src/job.c
13310
13311Patch 8.2.2119
13312Problem: GTK3: status line background color is wrong.
13313Solution: Don't change the code for earlier GTK3 versions. (closes #7444)
13314Files: src/gui_gtk_x11.c
13315
13316Patch 8.2.2120
13317Problem: Not all Perl functionality is tested.
13318Solution: Add a few more test cases. (Dominique Pellé, closes #7440)
13319Files: src/testdir/test_perl.vim
13320
13321Patch 8.2.2121
13322Problem: Internal error when using \ze before \zs in a pattern.
13323Solution: Check the end is never before the start. (closes #7442)
13324Files: src/regexp_bt.c, src/regexp_nfa.c,
13325 src/testdir/test_regexp_latin.vim
13326
13327Patch 8.2.2122
13328Problem: Vim9: crash when sourcing vim9script early.
13329Solution: Use set_option_value() instead of setting p_cpo directly.
13330 (closes #7441)
13331Files: src/scriptfile.c, src/testdir/test_vim9_script.vim
13332
13333Patch 8.2.2123
13334Problem: After using a complete popup the buffer is listed. (Boris
13335 Staletic)
13336Solution: Make the buffer unlisted.
13337Files: src/popupmenu.c, src/testdir/test_popupwin.vim
13338
13339Patch 8.2.2124
13340Problem: Vim9: a range cannot be computed at runtime.
13341Solution: Add the ISN_RANGE instruction.
13342Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
13343 src/testdir/test_vim9_script.vim,
13344 src/testdir/test_vim9_disassemble.vim
13345
13346Patch 8.2.2125 (after 8.2.2122)
13347Problem: Vim9: leaking memory.
13348Solution: Free the saved 'cpo' value.
13349Files: src/scriptfile.c
13350
13351Patch 8.2.2126
13352Problem: Ruby: missing function prototype.
13353Solution: Add the prototype.
13354Files: src/if_ruby.c
13355
13356Patch 8.2.2127
13357Problem: Vim9: executing user command defined in Vim9 script not tested.
13358Solution: Add a test.
13359Files: src/testdir/test_vim9_script.vim
13360
13361Patch 8.2.2128
13362Problem: There is no way to do something on CTRL-Z.
13363Solution: Add VimSuspend and VimResume autocommand events. (closes #7450)
13364Files: runtime/doc/autocmd.txt, src/autocmd.c, src/ex_docmd.c,
13365 src/normal.c, src/testdir/test_suspend.vim, src/vim.h
13366
13367Patch 8.2.2129
13368Problem: MS-Windows: Checking if a file name is absolute is slow.
13369Solution: Do not use mch_FullName(). (closes #7033)
13370Files: src/os_mswin.c
13371
13372Patch 8.2.2130
13373Problem: Insert mode completion messages end up in message history.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013374Solution: Set msg_hist_off. (closes #7452)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013375Files: src/insexpand.c, src/testdir/test_ins_complete.vim
13376
13377Patch 8.2.2131
13378Problem: Vim9: crash when lambda uses same var as assignment.
13379Solution: Do not let lookup_local change lv_from_outer, make a copy.
13380 (closes #7461)
13381Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
13382 src/evalvars.c, src/proto/evalvars.pro,
13383 src/testdir/test_vim9_func.vim
13384
13385Patch 8.2.2132
13386Problem: Padding not drawn properly for popup window with title.
13387Solution: Draw the padding below the title. (closes #7460)
13388Files: src/popupwin.c, src/testdir/test_popupwin.vim,
13389 src/testdir/dumps/Test_popupwin_longtitle_3.dump,
13390 src/testdir/dumps/Test_popupwin_longtitle_4.dump
13391
13392Patch 8.2.2133
13393Problem: Vim9: checking for a non-empty string is too strict.
13394Solution: Check for any string. (closes #7447)
13395Files: src/typval.c, src/proto/typval.pro, src/errors.h, src/filepath.c,
13396 src/testdir/test_vim9_builtin.vim
13397
13398Patch 8.2.2134
13399Problem: Vim9: get E1099 when autocmd triggered in builtin function.
13400Solution: Check that did_emsg increased instead of checking that it changed.
13401 (closes #7448)
13402Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
13403
13404Patch 8.2.2135
13405Problem: Vim9: #{ still seen as start of dict in some places.
13406Solution: Remove check for { after #. (closes #7456)
13407Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
13408
13409Patch 8.2.2136
13410Problem: Vim9: Using uninitialized variable.
13411Solution: Initialize "len" to zero. Clean up fnamemodify().
13412Files: src/filepath.c
13413
13414Patch 8.2.2137
13415Problem: Vim9: :echo and :execute give error for empty argument.
13416Solution: Ignore an empty argument. (closes #7468)
13417Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_script.vim,
13418 src/testdir/test_vim9_disassemble.vim
13419
13420Patch 8.2.2138
13421Problem: Vim9: "exit_cb" causes Vim to exit.
13422Solution: Require white space after a command in Vim9 script. (closes #7467)
13423 Also fix that Vim9 style heredoc was not always recognized.
13424Files: src/ex_cmds.h, src/ex_docmd.c, src/errors.h, src/userfunc.c,
13425 src/testdir/test_vim9_assign.vim,
13426 src/testdir/test_vim9_script.vim, src/testdir/test_let.vim
13427
13428Patch 8.2.2139
13429Problem: Vim9: unreachable code in assignment.
13430Solution: Don't check "new_local" when "has_index" is set. Add test for
13431 wrong type of list index.
13432Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
13433
13434Patch 8.2.2140
13435Problem: Build failure with tiny features.
13436Solution: Add #ifdef.
13437Files: src/ex_docmd.c
13438
13439Patch 8.2.2141
13440Problem: A user command with try/catch may not catch an expression error.
13441Solution: When an expression fails check for following "|". (closes #7469)
13442Files: src/eval.c, src/testdir/test_trycatch.vim,
13443 src/testdir/test_vimscript.vim
13444
13445Patch 8.2.2142
13446Problem: Memory leak when heredoc is not terminated.
13447Solution: Free heredoc_trimmed.
13448Files: src/userfunc.c
13449
13450Patch 8.2.2143
13451Problem: Vim9: dead code in compiling :unlet.
13452Solution: Don't check for "!" a second time.
13453Files: src/vim9compile.c
13454
13455Patch 8.2.2144
13456Problem: Vim9: some corner cases not tested.
13457Solution: Add a few tests.
13458Files: src/testdir/test_vim9_script.vim, src/testdir/test_vim9_cmd.vim
13459
13460Patch 8.2.2145
13461Problem: Vim9: concatenating lists does not adjust type of result.
13462Solution: When list member types differ use "any" member type.
13463 (closes #7473)
13464Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
13465
13466Patch 8.2.2146
13467Problem: Vim9: automatic conversion of number to string for dict key.
13468Solution: Do not convert number to string. (closes #7474)
13469Files: src/dict.c, src/testdir/test_vim9_expr.vim
13470
13471Patch 8.2.2147
13472Problem: Quickfix window title not updated in all tab pages.
13473Solution: Update the quickfix window title in all tab pages. (Yegappan
13474 Lakshmanan, closes #7481, closes #7466)
13475Files: src/quickfix.c, src/testdir/test_quickfix.vim
13476
13477Patch 8.2.2148
13478Problem: Vim9: crash when user command doesn't match.
13479Solution: Adjust command index. (closes #7479)
13480Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
13481
13482Patch 8.2.2149
13483Problem: Popupwin test for latin1 sometimes fails.
13484Solution: Wait for the script to finish.
13485Files: src/testdir/test_popupwin.vim
13486
13487Patch 8.2.2150
13488Problem: Github actions CI isn't used for all available platforms.
13489Solution: Update the github workflows. (Ozaki Kiichi, closes #7433)
13490Files: .coveralls.yml, .github/workflows/ci-windows.yaml,
13491 .github/workflows/ci.yml, .travis.yml, README.md,
13492 ci/build-snd-dummy.sh, ci/setup-xvfb.sh
13493
13494Patch 8.2.2151
13495Problem: $dir not expanded when configure checks for moonjit.
13496Solution: Use double quotes instead of single quotes. (closes #7478)
13497Files: src/configure.ac, src/auto/configure
13498
13499Patch 8.2.2152
13500Problem: screenpos() does not include the WinBar offset.
13501Solution: Use W_WINROW() instead of directly using w_window. (closes #7487)
13502Files: src/move.c, src/testdir/test_cursor_func.vim
13503
13504Patch 8.2.2153
13505Problem: Popupwin test for latin1 still fails sometimes.
13506Solution: Wait for the "cat" command to finish.
13507Files: src/testdir/test_popupwin.vim
13508
13509Patch 8.2.2154
13510Problem: Popupwin test for terminal buffer fails sometimes.
13511Solution: Wait for the prompt to appear.
13512Files: src/testdir/test_popupwin.vim
13513
13514Patch 8.2.2155
13515Problem: Warning from Github actions for code analysis.
13516Solution: Remove the "git checkout HEAD^2" block.
13517Files: .github/workflows/codeql-analysis.yml
13518
13519Patch 8.2.2156
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013520Problem: Github actions run on pushing a tag.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013521Solution: Don't run CI on tag push. Omit coveralls on pull-request.
13522 (Ozaki Kiichi, closes #7489)
13523Files: .github/workflows/ci.yml, .github/workflows/codeql-analysis.yml
13524
13525Patch 8.2.2157
13526Problem: Vim9: can delete a Vim9 script variable from a function.
13527Solution: Check the variable is defined in Vim9 script. (closes #7483)
13528Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
13529
13530Patch 8.2.2158
13531Problem: CI on cirrus times out, coveralls doesn't always run.
13532Solution: Set timeout to 20 minutes. Adjust condition. (closes #7493)
13533Files: .cirrus.yml, .github/workflows/ci.yml
13534
13535Patch 8.2.2159
13536Problem: Vim9: when declaring a list it is not allocated yet, causing a
13537 following extend() to fail.
13538Solution: When fetching a variable value for a list or dict that is null
13539 allocate the list or dict, so it can be used. (closes #7491)
13540Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
13541
13542Patch 8.2.2160
13543Problem: Various typos.
13544Solution: Fix spelling mistakes. (closes #7494)
13545Files: src/bufwrite.c, src/cindent.c, src/cmdexpand.c, src/eval.c,
13546 src/ex_cmds.c, src/feature.h, src/getchar.c, src/gui_haiku.cc,
13547 src/gui_xmdlg.c, src/help.c, src/if_ole.cpp, src/insexpand.c,
13548 src/list.c, src/map.c, src/memline.c, src/normal.c,
13549 src/os_win32.c, src/search.c, src/term.c,
13550 src/testdir/test_arglist.vim, src/testdir/test_autocmd.vim,
13551 src/testdir/test_debugger.vim, src/testdir/test_increment.vim,
13552 src/testdir/test_menu.vim, src/testdir/test_netbeans.vim,
13553 src/testdir/test_popupwin.vim, src/testdir/test_python2.vim,
13554 src/testdir/test_python3.vim, src/testdir/test_sort.vim,
13555 src/testdir/test_terminal2.vim, src/testdir/test_terminal3.vim,
13556 src/testdir/test_vartabs.vim, src/testdir/test_vimscript.vim,
13557 src/textprop.c, src/userfunc.c, src/vim9.h, src/vim9compile.c,
13558 src/vim9execute.c
13559
13560Patch 8.2.2161
13561Problem: Arguments -T and -x not tested yet.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013562Solution: Add a test. (Dominique Pellé, closes #7490)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013563Files: src/testdir/test_startup.vim
13564
13565Patch 8.2.2162
13566Problem: Vim9: Cannot load or store autoload variables.
13567Solution: Add ISN_LOADAUTO and ISN_STOREAUTO. (closes #7485)
13568Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/dict.c,
13569 src/eval.c, src/evalvars.c, src/proto/evalvars.pro,
13570 src/testdir/test_vim9_disassemble.vim,
13571 src/testdir/test_vim9_script.vim
13572
13573Patch 8.2.2163
13574Problem: Crash when discarded exception is the current exception.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013575Solution: Compare the exception with current_exception. (closes #7499)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013576Files: src/ex_eval.c
13577
13578Patch 8.2.2164
13579Problem: Vim9: autoload function doesn't work in script that starts with
13580 an upper case letter.
13581Solution: Check for the autoload character. (closes #7502)
13582Files: src/userfunc.c, src/testdir/test_vim9_script.vim
13583
13584Patch 8.2.2165
13585Problem: Vim9: assignment to dict member does not work.
13586Solution: Fix recognizing dict member. (closes #7484)
13587Files: src/ex_docmd.c, src/eval.c, src/evalvars.c, src/vim.h
13588
13589Patch 8.2.2166
13590Problem: Auto format doesn't work when deleting text.
13591Solution: Make "x" trigger auto format. (closes #7504)
13592Files: src/ops.c, src/testdir/test_textformat.vim
13593
13594Patch 8.2.2167
13595Problem: Vim9: assign test fails. (Elimar Riesebieter)
13596Solution: Adjust the test for dict assignment.
13597Files: src/testdir/test_vim9_assign.vim
13598
13599Patch 8.2.2168
13600Problem: Vim9: error for assigning to dict of dict.
13601Solution: Remember the destination type. (closes #7506)
13602Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
13603
13604Patch 8.2.2169
13605Problem: Vim9: test leaves file behind.
13606Solution: Rename script files. (Dominique Pellé, closes #7511)
13607 Use try/finally.
13608Files: src/testdir/test_vim9_script.vim, src/testdir/vim9.vim
13609
13610Patch 8.2.2170
13611Problem: Vim9: a global function defined in a :def function fails if it
13612 uses the context.
13613Solution: Create a partial to store the closure context. (see #7410)
13614Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9execute.c,
13615 src/structs.h, src/testdir/test_vim9_func.vim
13616
13617Patch 8.2.2171
13618Problem: Valgrind warning for using uninitialized value.
13619Solution: Do not use "startp" or "endp" unless there is a match.
13620Files: src/regexp_nfa.c
13621
13622Patch 8.2.2172
13623Problem: Vim9: number of arguments is not always checked. (Yegappan
13624 Lakshmanan)
13625Solution: Check number of arguments when calling function by name.
13626Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9execute.c,
13627 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
13628
13629Patch 8.2.2173
13630Problem: Vim9: get internal error when assigning to undefined variable.
13631Solution: Add error message. (closes #7475)
13632Files: src/vim9compile.c, src/vim9execute.c, src/errors.h,
13633 src/testdir/test_vim9_cmd.vim
13634
13635Patch 8.2.2174
13636Problem: Mac version doesn't specify the CPU architecture.
13637Solution: Add "arm64" or "x86_64". (Yee Cheng Chin, closes #7519)
13638Files: src/version.c
13639
13640Patch 8.2.2175
13641Problem: Github actions: clang-11 handling suboptimal.
13642Solution: Separate step of installing clang-11. Get ubuntu release name
13643 dynamically. (Ozaki Kiichi, closes #7514)
13644Files: .github/workflows/ci.yml
13645
13646Patch 8.2.2176
13647Problem: Crash with a sequence of fold commands.
13648Solution: Bail out when there are no folds at all. Add a test (Dominique
13649 Pellé) (closes #7515)
13650Files: src/fold.c, src/testdir/test_fold.vim
13651
13652Patch 8.2.2177
13653Problem: Pattern "^" does not match if the first character in the line is
13654 combining. (Rene Kita)
13655Solution: Do accept a match at the start of the line. (closes #6963)
13656Files: src/regexp_nfa.c, src/testdir/test_regexp_utf8.vim
13657
13658Patch 8.2.2178
13659Problem: Python 3: non-utf8 character cannot be handled.
13660Solution: Change the string decode. (Björn Linse, closes #1053)
13661Files: src/if_py_both.h, src/if_python.c, src/if_python3.c,
13662 src/testdir/test_python3.vim, src/testdir/test_python2.vim
13663
13664Patch 8.2.2179
13665Problem: Vim9: crash when indexing a dict with a number.
13666Solution: Add ISN_STOREINDEX. (closes #7513)
13667Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
13668 src/errors.h, src/testdir/test_vim9_assign.vim,
13669 src/testdir/test_vim9_disassemble.vim
13670
13671Patch 8.2.2180
13672Problem: Vim9: test for error after error is flaky.
13673Solution: Wait for job to finish instead of a fixed delay.
13674Files: src/testdir/test_vim9_script.vim
13675
13676Patch 8.2.2181
13677Problem: Valgrind warnings for using uninitialized value.
13678Solution: Do not use "start" or "end" unless there is a match.
13679Files: src/regexp_nfa.c, src/regexp_bt.c
13680
13681Patch 8.2.2182
13682Problem: Vim9: value of 'magic' is still relevant.
13683Solution: Always behave like 'magic' is on in Vim9 script (closes #7509)
13684Files: src/option.c, src/proto/option.pro, src/arglist.c, src/buffer.c,
13685 src/cmdexpand.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c,
13686 src/insexpand.c, src/normal.c, src/search.c, src/tag.c,
13687 src/structs.h, src/globals.h, src/ex_cmds.h,
13688 src/testdir/test_vim9_cmd.vim
13689
13690Patch 8.2.2183
13691Problem: Vim9: value of 'edcompatible' and 'gdefault' are used.
13692Solution: Ignore these deprecated options in Vim9 script. (closes #7508)
13693Files: src/ex_cmds.c, src/testdir/test_vim9_cmd.vim
13694
13695Patch 8.2.2184
13696Problem: Vim9: no error when using "2" for a line number.
13697Solution: Give an error message if the line number is invalid. (closes #7492)
13698Files: src/typval.c, src/evalfunc.c, src/testdir/test_vim9_builtin.vim,
13699 src/testdir/test_cursor_func.vim
13700
13701Patch 8.2.2185
13702Problem: BufUnload is not triggered for the quickfix dummy buffer.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013703Solution: Do trigger BufUnload. (Pontus Leitzler, closes #7518, closes #7517)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013704 Fix white space around "=".
13705Files: src/quickfix.c, src/testdir/test_autocmd.vim
13706
13707Patch 8.2.2186
13708Problem: Vim9: error when using 'opfunc'.
13709Solution: Do not expect a return value from 'opfunc'. (closes #7510)
13710Files: src/eval.c, src/proto/eval.pro, src/ops.c,
13711 src/testdir/test_vim9_func.vim
13712
13713Patch 8.2.2187
13714Problem: Python 3 test fails sometimes. (Christian Brabandt)
13715Solution: Accept two SystemError messages.
13716Files: src/testdir/test_python3.vim
13717
13718Patch 8.2.2188
13719Problem: Vim9: crash when calling global function from :def function.
13720Solution: Set the outer context. Define the partial for the context on the
13721 original function. Use a refcount to keep track of which ufunc is
13722 using a dfunc. (closes #7525)
13723Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9execute.c,
13724 src/proto/vim9execute.pro, src/userfunc.c, src/proto/userfunc.pro,
13725 src/structs.h, src/vim9.h, src/testdir/test_vim9_func.vim
13726
13727Patch 8.2.2189
13728Problem: Cannot repeat a command that uses the small delete register.
13729Solution: Store the register name instead of the contents. (Christian
13730 Brabandt, closes #7527)
13731Files: src/ops.c, src/register.c, src/testdir/test_registers.vim
13732
13733Patch 8.2.2190
13734Problem: Vim9: crash when compiled with EXITFREE.
13735Solution: Check that df_ufunc is not NULL.
13736Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
13737
13738Patch 8.2.2191
13739Problem: Vim9: using wrong name with lambda in nested function.
13740Solution: Copy the lambda name earlier. (closes #7525)
13741Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
13742
13743Patch 8.2.2192
13744Problem: Codecov on github actions fails.
13745Solution: Revert to codecov script. (Ozaki Kiichi, closes #7529)
13746Files: Filelist, .github/workflows/ci.yml
13747
13748Patch 8.2.2193
13749Problem: Vim9: can change constant in :def function.
13750Solution: Check if a variable is locked. (issue #7526)
13751Files: src/evalvars.c, src/proto/evalvars.pro, src/vim9execute.c,
13752 src/testdir/test_vim9_func.vim
13753
13754Patch 8.2.2194
13755Problem: Vim9: cannot use :const or :final at the script level.
13756Solution: Support using :const and :final. (closes #7526)
13757Files: src/vim.h, src/evalvars.c, src/testdir/test_vim9_assign.vim,
13758 src/testdir/test_vim9_func.vim
13759
13760Patch 8.2.2195
13761Problem: Failing tests for :const.
13762Solution: Add missing check for ASSIGN_FINAL.
13763Files: src/eval.c, src/evalvars.c, src/testdir/test_vim9_func.vim
13764
13765Patch 8.2.2196
13766Problem: :version output has extra spaces in compile and link command.
13767Solution: Adjust QUOTESED. (closes #7505)
13768Files: src/configure.ac, src/auto/configure
13769
13770Patch 8.2.2197
13771Problem: Assert arguments order reversed.
13772Solution: Swap the arguments. (Christian Brabandt, closes #7531)
13773Files: src/testdir/test_registers.vim
13774
13775Patch 8.2.2198
13776Problem: ml_get error when resizing window and using text property.
13777Solution: Validate botline of the right window. (closes #7528)
13778Files: src/move.c, src/proto/move.pro, src/textprop.c,
13779 src/testdir/test_textprop.vim
13780
13781Patch 8.2.2199
13782Problem: First write after setting 'eol' does not have NL added. (Tomáš
13783 Janoušek)
13784Solution: Only use b_no_eol_lnum when doing a binary write. (closes #7535)
13785Files: src/bufwrite.c, src/testdir/test_writefile.vim
13786
13787Patch 8.2.2200
13788Problem: Vim9: lambda without white space around -> is confusing.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013789Solution: Require white space in a :def function. (issue #7503)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013790Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
13791 src/testdir/test_vim9_disassemble.vim
13792
13793Patch 8.2.2201
13794Problem: Write file test fails on MS-Windows.
13795Solution: Force edit after setting 'fileformat'.
13796Files: src/testdir/test_writefile.vim
13797
13798Patch 8.2.2202
13799Problem: Write file test still fails on MS-Windows.
13800Solution: Set fileformat with the :edit command
13801Files: src/testdir/test_writefile.vim
13802
13803Patch 8.2.2203
13804Problem: Moodle gift files are not recognized.
13805Solution: Add a filetype pattern. (Delim Temizer)
13806Files: runtime/filetype.vim, src/testdir/test_filetype.vim
13807
13808Patch 8.2.2204
13809Problem: Vim9: using -> both for method and lambda is confusing.
13810Solution: Use => for lambda in :def function.
13811Files: runtime/doc/vim9.txt, src/vim9compile.c, src/userfunc.c,
13812 src/testdir/test_vim9_expr.vim
13813
13814Patch 8.2.2205
13815Problem: Vim9: memory leak when parsing lambda fails.
13816Solution: Clear growarrays.
13817Files: src/userfunc.c
13818
13819Patch 8.2.2206
13820Problem: :exe command line completion only works for first argument.
13821Solution: Skip over text if more is following. (closes #7546)
13822Files: src/eval.c, src/testdir/test_cmdline.vim
13823
13824Patch 8.2.2207
13825Problem: Illegal memory access if popup menu items are changed while the
13826 menu is visible. (Tomáš Janoušek)
13827Solution: Make a copy of the text. (closes #7537)
13828Files: src/popupmenu.c, src/testdir/test_popup.vim,
13829 src/testdir/dumps/Test_popup_command_04.dump,
13830 src/testdir/dumps/Test_popup_command_05.dump
13831
13832Patch 8.2.2208
13833Problem: Vim9: after reloading a script variable index may be invalid.
13834Solution: When the sequence number doesn't match give an error for using a
13835 script-local variable from a compiled function. (closes #7547)
13836Files: src/vim9.h, src/structs.h, src/errors.h, src/vim9compile.c,
13837 src/vim9execute.c, src/scriptfile.c,
13838 src/testdir/test_vim9_script.vim
13839
13840Patch 8.2.2209
13841Problem: Vim9: return type of => lambda not parsed.
13842Solution: Parse and use the return type.
13843Files: src/vim9compile.c, src/userfunc.c, src/vim9type.c,
Bram Moolenaar47c532e2022-03-19 15:18:53 +000013844 src/proto/vim9type.pro, src/vim9script.c, src/eval.c,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013845 src/testdir/test_vim9_expr.vim
13846
13847Patch 8.2.2210
13848Problem: Vim9: allocating a type to set TTFLAG_BOOL_OK.
13849Solution: Add t_number_bool.
13850Files: src/globals.h, src/vim9type.c, src/vim9compile.c
13851
13852Patch 8.2.2211
13853Problem: MS-Windows: can't load Python dll if not in the path.
13854Solution: Use the InstallPath registry entry. (Kelvin Lee, closes #7540)
13855Files: src/if_python3.c
13856
13857Patch 8.2.2212
13858Problem: Vim9: lambda with => does not work at the script level.
13859Solution: Make it work.
13860Files: src/eval.c, src/vim9type.c, src/userfunc.c,
13861 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_expr.vim
13862
13863Patch 8.2.2213
13864Problem: Checking white space around -> is not backwards compatible.
13865Solution: Only check white space around =>.
13866Files: src/userfunc.c
13867
13868Patch 8.2.2214
13869Problem: ":e#" does not give a warning for missing white space.
13870Solution: Adjust the check for white space. (closes #7545)
13871Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
13872
13873Patch 8.2.2215
13874Problem: Vim9: `=expr` not recognized in global command.
13875Solution: Skip over pattern. (issue #7541)
13876Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
13877
13878Patch 8.2.2216
13879Problem: Vim9: range with missing colon can be hard to spot.
13880Solution: Include the start of the range in the error. (closes #7543)
13881Files: src/errors.h, src/ex_docmd.c, src/vim9compile.c,
13882 src/testdir/test_vim9_cmd.vim
13883
13884Patch 8.2.2217
13885Problem: Vim9: command modifiers not restored in catch block.
13886Solution: Restore command modifiers. (closes #7542)
13887Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
13888
13889Patch 8.2.2218
13890Problem: Vim9: failure if passing more arguments to a lambda than expected.
13891Solution: Only put expected arguments on the stack. (closes #7548)
13892Files: src/vim9execute.c, src/testdir/test_vim9_builtin.vim
13893
13894Patch 8.2.2219
13895Problem: Vim9: method call with expression not supported.
13896Solution: Implement expr->(expr)().
13897Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
13898
13899Patch 8.2.2220
13900Problem: Vim9: memory leak when parsing nested parenthesis.
13901Solution: Clear newargs.
13902Files: src/userfunc.c
13903
13904Patch 8.2.2221
13905Problem: If <Down> is mapped on the command line 'wildchar' is inserted.
13906Solution: Set KeyTyped when using 'wildchar'. (closes #7552)
13907Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
13908
13909Patch 8.2.2222
13910Problem: Vim9: cannot keep script variables when reloading.
13911Solution: Add the "noclear" argument to :vim9script.
13912Files: runtime/doc/vim9.txt, src/structs.h, src/scriptfile.c,
13913 src/vim9script.c, src/ex_cmds.h, src/ex_docmd.c,
13914 src/testdir/test_vim9_script.vim
13915
13916Patch 8.2.2223
13917Problem: Vim9: Reloading marks a :def function as deleted.
13918Solution: Clear the function contents but keep the index.
13919Files: runtime/doc/vim9.txt, src/vim9compile.c, src/userfunc.c,
13920 src/testdir/test_vim9_script.vim
13921
13922Patch 8.2.2224
13923Problem: Vim9: crash if script reloaded with different variable type.
13924Solution: Check the type when accessing the variable.
13925Files: src/vim9execute.c, src/vim9compile.c, src/vim9.h, src/vim9type.c,
13926 src/proto/vim9type.pro, src/errors.h, src/evalvars.c,
13927 src/vim9script.c, src/proto/vim9script.pro,
13928 src/testdir/test_vim9_script.vim
13929
13930Patch 8.2.2225
13931Problem: Vim9: error when using :import in legacy script twice.
13932Solution: Make it possible to redefine an import when reloading.
13933Files: src/vim9script.c, src/proto/vim9script.pro, src/structs.h,
13934 src/evalvars.c, src/vim9compile.c,
13935 src/testdir/test_vim9_script.vim
13936
13937Patch 8.2.2226
13938Problem: Vim9: script test fails.
13939Solution: Add missing change.
13940Files: src/scriptfile.c
13941
13942Patch 8.2.2227
13943Problem: Vim9: recognizing lambda is too complicated.
13944Solution: Call compile_lambda() and check for NOTDONE.
13945Files: src/vim9compile.c, src/userfunc.c, src/testdir/test_vim9_expr.vim
13946
13947Patch 8.2.2228
13948Problem: Vim9: cannot use ":e #" because # starts a comment.
13949Solution: Support using %% instead of #.
13950Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
13951
13952Patch 8.2.2229
13953Problem: build failure without the +eval feature.
13954Solution: Add #ifdef.
13955Files: src/ex_docmd.c
13956
13957Patch 8.2.2230
13958Problem: Vim9: insert completion runs into error.
13959Solution: Insert colon before range. (closes #7556)
13960Files: src/insexpand.c, src/testdir/test_vim9_cmd.vim
13961
13962Patch 8.2.2231
13963Problem: When "--remote file" is used "file" is not reloaded.
13964Solution: When a :drop command is used for a file that is already displayed
13965 in a window and it has not been changed, check if it needs to be
13966 reloaded. (closes #7560)
13967Files: src/ex_cmds.c, src/testdir/test_clientserver.vim
13968
13969Patch 8.2.2232
13970Problem: Compiler error for falling through into next case.
13971Solution: Move FALLTHROUGH below the #endif
13972Files: src/ex_docmd.c
13973
13974Patch 8.2.2233
13975Problem: Cannot convert a byte index into a character index.
13976Solution: Add charidx(). (Yegappan Lakshmanan, closes #7561)
13977Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
13978 src/testdir/test_functions.vim
13979
13980Patch 8.2.2234
13981Problem: Command line wildmenu test often fails with Unix GUI.
13982Solution: Skip the test where it is expected to fail.
13983Files: src/testdir/test_cmdline.vim
13984
13985Patch 8.2.2235
13986Problem: Build failure with some Ruby versions.
13987Solution: Adjust the code for Ruby 3.0. (Ozaki Kiichi, closes #7564)
13988Files: ci/config.mk.clang.sed, src/if_ruby.c
13989
13990Patch 8.2.2236
13991Problem: 'scroll' option can change when setting the statusline or tabline
13992 but the option context is not updated.
13993Solution: Update the script context when the scroll option is changed as a
13994 side effect. (Christian Brabandt, closes #7533)
13995Files: runtime/doc/options.txt, src/scriptfile.c,
13996 src/testdir/test_options.vim, src/vim.h, src/window.c
13997
13998Patch 8.2.2237
13999Problem: CI on Mac fails in sed command.
14000Solution: Set LC_ALL to "C". (Ozaki Kiichi, closes #7565)
14001Files: .github/workflows/ci.yml
14002
14003Patch 8.2.2238
14004Problem: Vim9: cannot load a Vim9 script without the +eval feature.
14005Solution: Support Vim9 script syntax without the +eval feature.
14006Files: src/ex_docmd.c, src/vim9script.c, src/globals.h, src/main.c,
14007 src/autocmd.c, src/buffer.c, src/structs.h, src/menu.c,
14008 src/scriptfile.c, src/usercmd.c, src/proto.h, src/errors.h
14009
14010Patch 8.2.2239
14011Problem: Vim9: concatenating lines with backslash is inconvenient.
14012Solution: Support concatenating lines starting with '|', useful for
14013 :autocmd, :command, etc. (closes #6702)
14014Files: runtime/doc/vim9.txt, src/scriptfile.c, src/vim9script.c,
14015 src/proto/vim9script.pro, src/vim9compile.c,
14016 src/proto/vim9compile.pro, src/userfunc.c, src/structs.h,
14017 src/testdir/test_vim9_cmd.vim
14018
14019Patch 8.2.2240
14020Problem: Clientserver test fails if full path is used.
14021Solution: Ignore the path preceding the file name.
14022Files: src/testdir/test_clientserver.vim
14023
14024Patch 8.2.2241
14025Problem: Build with Ruby and clang may fail.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014026Solution: Adjust configure and sed script. (Ozaki Kiichi, closes #7566)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014027Files: ci/config.mk.clang.sed, src/auto/configure, src/configure.ac
14028
14029Patch 8.2.2242
14030Problem: Vim9: line continuation with bar does not work at script level.
14031Solution: Check for Vim9 script.
14032Files: src/structs.h, src/ex_docmd.c, src/userfunc.c, src/scriptfile.c,
14033 src/testdir/test_vim9_cmd.vim
14034
14035Patch 8.2.2243
14036Problem: Crash when popup mask contains zeroes.
14037Solution: Check boundaries properly. (closes #7569)
14038Files: src/popupwin.c, src/testdir/test_popupwin.vim
14039
14040Patch 8.2.2244
14041Problem: Crash when making the window width of the not-current window
14042 negative.
14043Solution: Make sure the window width is not negative. (closes #7568)
14044Files: src/window.c, src/testdir/test_window_cmd.vim
14045
14046Patch 8.2.2245
14047Problem: Vim9: return value of winrestcmd() cannot be executed.
14048Solution: Put colons before each range. (closes #7571)
14049Files: src/evalwindow.c, src/testdir/test_vim9_builtin.vim
14050
14051Patch 8.2.2246
14052Problem: Cursor keys not recognized at the hit-Enter prompt after executing
14053 an external command.
14054Solution: Change the codes for the extra cursor keys. (closes #7562)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014055 Tune the delays to avoid test flakiness.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014056Files: runtime/doc/term.txt, src/term.c, src/testdir/test_terminal3.vim
14057
14058Patch 8.2.2247
14059Problem: VMS: various smaller problems.
14060Solution: Fix VMS building and other problems. (Zoltan Arpadffy)
14061Files: src/term.c, src/gui_gtk_vms.h, src/os_vms_conf.h, src/gui_x11.c,
14062 src/Make_vms.mms, src/macros.h, src/gui.h, src/os_unix.h
14063
14064Patch 8.2.2248
14065Problem: ASAN error on exit with GUI.
14066Solution: Check the window still has lines. (Christian Brabandt,
14067 closes #7573)
14068Files: src/term.c
14069
14070Patch 8.2.2249
Bram Moolenaar47c532e2022-03-19 15:18:53 +000014071Problem: Termcodes test is flaky when used over ssh with X forwarding.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014072Solution: Set 'mousetime' to a larger value. (Dominique Pellé, closes #7576,
14073 closes #7563)
14074Files: src/testdir/test_termcodes.vim
14075
14076Patch 8.2.2250
14077Problem: Vim9: sublist is ambiguous.
14078Solution: Require white space around the colon. (closes #7409)
14079Files: src/vim9compile.c, src/eval.c, src/testdir/test_vim9_expr.vim,
14080 src/testdir/test_vim9_disassemble.vim
14081
14082Patch 8.2.2251
14083Problem: Test failures in legacy script.
14084Solution: Check for Vim9 script.
14085Files: src/eval.c
14086
14087Patch 8.2.2252
14088Problem: Vim9: crash when using lambda without return type in dict.
14089Solution: Without a return type use t_unknown. (closes #7587)
14090Files: src/vim9type.c, src/vim9compile.c, src/testdir/test_vim9_expr.vim
14091
14092Patch 8.2.2253
14093Problem: Vim9: expr test fails.
14094Solution: Add missing assignment.
14095Files: src/userfunc.c
14096
14097Patch 8.2.2254
14098Problem: Vim9: bool option type is number.
14099Solution: Have get_option_value() return a different value for bool and
14100 number options. (closes #7583)
14101Files: src/option.h, src/option.c, src/proto/option.pro, src/evalvars.c,
14102 src/if_mzsch.c, src/if_ruby.c, src/spell.c, src/typval.c,
14103 src/vim9compile.c, src/testdir/test_vim9_assign.vim,
14104 src/testdir/test_vim9_cmd.vim
14105
14106Patch 8.2.2255 (after 8.2.2254)
14107Problem: Tcl test fails.
14108Solution: Change option handling.
14109Files: src/if_tcl.c
14110
14111Patch 8.2.2256
14112Problem: Vim9: cannot use function( after line break in :def function.
14113Solution: Check for "(" after "function". (closes #7581)
14114Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14115
14116Patch 8.2.2257
14117Problem: Vim9: using -> for lambda is ambiguous.
14118Solution: Stop supporting ->, must use =>.
14119Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_assign.vim,
14120 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
14121 src/testdir/test_vim9_disassemble.vim,
14122 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
14123 src/testdir/test_vim9_script.vim
14124
14125Patch 8.2.2258
14126Problem: Not all OCaml related files are detected.
14127Solution: Update OCaml file type detection. (Markus Mottl, closes #7590)
14128Files: runtime/filetype.vim, src/testdir/test_filetype.vim
14129
14130Patch 8.2.2259
14131Problem: Test_Executable() fails when using chroot.
14132Solution: Ignore the difference between "sbin" and "bin".
14133Files: src/testdir/test_functions.vim
14134
14135Patch 8.2.2260
14136Problem: Window resize test fails in very wide terminal.
14137Solution: Resize using the 'columns' option. (Vladimir Lomov, closes #7592)
14138Files: src/testdir/test_window_cmd.vim
14139
14140Patch 8.2.2261
14141Problem: Vim9: boolean option gets string type.
14142Solution: Check for VAR_BOOL. (closes #7588)
14143Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14144
14145Patch 8.2.2262
14146Problem: Vim9: converting bool to string prefixes v:.
14147Solution: Do not use the v: prefix.
14148Files: src/evalvars.c, src/testdir/test_vim9_expr.vim,
14149 src/testdir/test_vim9_disassemble.vim
14150
14151Patch 8.2.2263
14152Problem: Vim9: compilation error with try-catch in skipped block.
14153Solution: Do not bail out when generate_instr() returns NULL. (closes #7584)
14154Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
14155
14156Patch 8.2.2264
14157Problem: Vim9: no error for mismatched :endfunc or :enddef.
14158Solution: Check for the mismatch. (issue #7582)
14159Files: src/errors.h, src/userfunc.c, src/testdir/test_vim9_func.vim
14160
14161Patch 8.2.2265
14162Problem: Error message for missing endfunc/enddef is last line.
14163Solution: Report the line where the function starts. (closes #7582)
14164Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14165
14166Patch 8.2.2266
14167Problem: Vim9: it can be hard to see where white space is missing.
14168Solution: Mention the text where the error was seen. (closes #7580)
14169Files: src/errors.h, src/eval.c, src/evalvars.c, src/userfunc.c,
14170 src/vim9compile.c, src/testdir/test_vim9_expr.vim
14171
14172Patch 8.2.2267
14173Problem: Vim9: cannot use unlet for a dict member.
14174Solution: Pass GLV_NO_DECL to get_lval(). (closes #7585)
14175Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
14176
14177Patch 8.2.2268
14178Problem: Vim9: list unpack seen as declaration.
14179Solution: Check for "var". (closes #7594)
14180Files: src/vim9compile.c, src/evalvars.c, src/eval.c, src/vim.h,
14181 src/vim9execute.c, src/testdir/test_vim9_assign.vim
14182
14183Patch 8.2.2269
14184Problem: Not all :hardcopy code covered by tests.
14185Solution: Test more combinations. (Dominique Pellé, closes #7595)
14186Files: src/testdir/test_hardcopy.vim
14187
14188Patch 8.2.2270
14189Problem: Warning for size_t to int conversion. (Randall W. Morris)
14190Solution: Add a type cast.
14191Files: src/vim9execute.c
14192
14193Patch 8.2.2271
14194Problem: ml_get error when changing hidden buffer in Python.
14195Solution: Block updating folds. (closes #7598)
14196Files: src/evalbuffer.c, src/testdir/test_python3.vim
14197
14198Patch 8.2.2272
14199Problem: Vim9: extend() can violate the type of a variable.
14200Solution: Add the type to the dictionary or list and check items against it.
14201 (closes #7593)
14202Files: src/structs.h, src/evalvars.c, src/dict.c, src/list.c,
14203 src/vim9script.c, src/proto/vim9script.pro, src/vim9compile.c,
14204 src/vim9execute.c, src/testdir/test_vim9_builtin.vim,
14205 src/testdir/test_vim9_disassemble.vim
14206
14207Patch 8.2.2273
14208Problem: Build failure.
14209Solution: Add missing changes to header file.
14210Files: src/vim9.h
14211
14212Patch 8.2.2274
14213Problem: badge for Travis is outdated.
14214Solution: Update badge for move from travis-ci.org to travis-ci.com.
14215Files: README.md
14216
14217Patch 8.2.2275
14218Problem: CTRL-C not recognized in Mintty.
14219Solution: Recognize the modifyOtherKeys code ending in "u". (Christian
14220 Brabandt, closes #7575)
14221Files: src/ui.c
14222
14223Patch 8.2.2276
14224Problem: List of distributed files is outdated.
14225Solution: Update the file list. Minor comment updates.
14226Files: Filelist, src/clipboard.c, src/fileio.c, src/option.c,
14227 src/screen.c, src/testdir/test_signals.vim,
14228 src/testdir/Make_vms.mms
14229
14230Patch 8.2.2277
14231Problem: Missing backslash.
14232Solution: Add backslash.
14233Files: Filelist
14234
14235Patch 8.2.2278
14236Problem: Falling back to old regexp engine can some patterns.
14237Solution: Do not fall back once [[:lower:]] or [[:upper:]] is used.
14238 (Christian Brabandt, closes #7572)
14239Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test_regexp_utf8.vim
14240
14241Patch 8.2.2279
14242Problem: Vim9: memory leak with catch in skipped block.
14243Solution: Free the pattern if not used.
14244Files: src/vim9compile.c
14245
14246Patch 8.2.2280
14247Problem: Fuzzy matching doesn't give access to the scores.
14248Solution: Return the scores with a third list. (Yegappan Lakshmanan,
14249 closes #7596)
14250Files: runtime/doc/eval.txt, src/search.c,
14251 src/testdir/test_matchfuzzy.vim
14252
14253Patch 8.2.2281
14254Problem: Vim9: compiled "wincmd" cannot be followed by bar.
14255Solution: Check for bar after "wincmd". (closes #7599)
14256Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
14257
14258Patch 8.2.2282
14259Problem: Length check mismatch with argument of strncmp(). (Christian
14260 Brabandt)
14261Solution: Adjust length check.
14262Files: src/ui.c
14263
14264Patch 8.2.2283
14265Problem: Vim9: crash when lambda has fewer arguments than expected.
14266Solution: Don't check arguments when already failed. (closes #7606)
14267Files: src/vim9type.c, src/testdir/test_vim9_func.vim
14268
14269Patch 8.2.2284
14270Problem: Vim9: cannot set an option to a boolean value.
14271Solution: Check for VAR_BOOL. (closes #7603)
14272Files: src/evalvars.c, src/testdir/test_vim9_builtin.vim
14273
14274Patch 8.2.2285
14275Problem: Vim9: cannot set an option to a false.
14276Solution: For VAR_BOOL use string "0". (closes #7603)
14277Files: src/evalvars.c, src/testdir/test_vim9_builtin.vim
14278
14279Patch 8.2.2286
14280Problem: Sort test fails when locale is Canadian English. (Neil H Watson)
14281Solution: Expect a different sort order. (closes #7609)
14282Files: src/testdir/test_sort.vim
14283
14284Patch 8.2.2287
14285Problem: Sort test fails when locale is French Canadian.
14286Solution: Expect a different sort order. (Dominique Pellé, closes #7609)
14287Files: src/testdir/test_sort.vim
14288
14289Patch 8.2.2288
14290Problem: Vim9: line break and comment not always skipped.
14291Solution: Skip over white space and then line break more consistently.
14292 (closes #7610)
14293Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14294
14295Patch 8.2.2289
14296Problem: Vim9: 'cpo' can become empty.
14297Solution: Use empty_option instead of an empty string. Update quickfix
14298 buffer after restoring 'cpo'. (closes #7608)
14299Files: src/evalfunc.c, src/syntax.c, src/eval.c, src/quickfix.c,
14300 src/evalbuffer.c, src/ex_eval.c, src/gui_motif.c, src/map.c,
14301 src/testdir/test_quickfix.vim
14302
14303Patch 8.2.2290
14304Problem: Vim9: unlet of global variable cannot be compiled.
14305Solution: Skip over variables that might be defined later. Give an error if
14306 a subscript is found. (closes #7585)
14307Files: src/eval.c, src/vim9compile.c, src/vim.h,
14308 src/testdir/test_vim9_assign.vim
14309
14310Patch 8.2.2291
14311Problem: Vim9: cannot use "null" for v:null.
14312Solution: Support "null" like "true" and "false". (closes #7495)
14313Files: runtime/doc/vim9.txt, src/vim9compile.c, src/evalvars.c,
14314 src/testdir/test_vim9_expr.vim
14315
14316Patch 8.2.2292
14317Problem: Vim: expr test fails.
14318Solution: Add missing part of "null" support.
14319Files: src/eval.c
14320
14321Patch 8.2.2293
14322Problem: Build failure with Motif. (Tony Mechelynck)
14323Solution: Use empty_option instead of empty_options.
14324Files: src/gui_motif.c
14325
14326Patch 8.2.2294
14327Problem: VMS: a few remaining problems.
14328Solution: Add VMS specific changes. Add Lua support. (Zoltan Arpadffy)
14329Files: src/fileio.c, src/os_vms_conf.h, src/Make_vms.mms, src/macros.h,
14330 src/os_vms.c, src/vim9execute.c, src/gui_xmebw.c, src/os_unix.h
14331
14332Patch 8.2.2295
14333Problem: Incsearch does not detect empty pattern properly.
14334Solution: Return magic state when skipping over a pattern. (Christian
14335 Brabandt, closes #7612, closes #6420)
14336Files: src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c, src/globals.h,
14337 src/option.c, src/tag.c, src/proto/regexp.pro, src/regexp.c,
14338 src/search.c, src/structs.h, src/vim9compile.c,
14339 src/testdir/dumps/Test_incsearch_sub_01.dump,
14340 src/testdir/dumps/Test_incsearch_sub_02.dump,
14341 src/testdir/test_search.vim
14342
14343Patch 8.2.2296
14344Problem: Cannot use CTRL-N and CTRL-P in a popup menu.
14345Solution: Use CTRL-N like <Down> and CTRL-P like <Up>. (closes #7614)
14346Files: runtime/doc/popup.txt, src/popupwin.c,
14347 src/testdir/test_popupwin.vim
14348
14349Patch 8.2.2297
14350Problem: Vim9: cannot set 'number' to a boolean value.
14351Solution: Use tv_get_bool(). (closes #7615)
14352Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
14353
14354Patch 8.2.2298
14355Problem: Vim9: comment right after "(" of function not recognized.
14356Solution: Do not skip over white space before calling get_function_args().
14357 (closes #7613)
14358Files: src/userfunc.c, src/proto/userfunc.pro,
14359 src/testdir/test_vim9_func.vim
14360
14361Patch 8.2.2299
14362Problem: Vim9: invalid memory access making error message flaky.
14363Solution: Do not check cmd_argt for CMD_USER. (issue #7467)
14364Files: src/ex_docmd.c, src/vim9execute.c, src/errors.h,
14365 src/vim9compile.c, src/testdir/test_vim9_cmd.vim
14366
14367Patch 8.2.2300
14368Problem: Vim9: wrong order on type stack when using dict.
14369Solution: Generate constants before a dict. (closes #7619)
14370Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14371
14372Patch 8.2.2301
14373Problem: Vim9: cannot unlet a dict or list item.
14374Solution: Add ISN_UNLETINDEX. Refactor assignment code to use for unlet.
14375Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c,
14376 src/testdir/test_vim9_assign.vim
14377
14378Patch 8.2.2302
14379Problem: Vim9: using an option value may use uninitialized memory.
14380Solution: Clear v_lock. (closes #7620)
14381Files: src/typval.c, src/testdir/test_vim9_expr.vim
14382
14383Patch 8.2.2303
14384Problem: Vim9: backtick expansion doesn't work for :foldopen.
14385Solution: Do recognize backtick expansion. (closes #7621)
14386Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
14387
14388Patch 8.2.2304
14389Problem: Vim9: no test for unletting an imported variable.
14390Solution: Add a test. Fix line number in error.
14391Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
14392
14393Patch 8.2.2305
14394Problem: Vim9: "++var" and "--var" are silently accepted.
14395Solution: Give an error message.
14396Files: src/vim9compile.c, src/eval.c, src/proto/eval.pro,
14397 src/testdir/test_vim9_expr.vim
14398
14399Patch 8.2.2306
14400Problem: Vim9: when using function reference type is not checked.
14401Solution: When using a function reference lookup the type and check the
14402 argument types. (issue #7629)
14403Files: src/userfunc.c, src/proto/userfunc.pro, src/eval.c, src/structs.h,
14404 src/vim9type.c, src/proto/vim9type.pro, src/vim9compile.c,
14405 src/vim9execute.c, src/evalvars.c, src/evalfunc.c,
14406 src/testdir/test_vim9_func.vim
14407
14408Patch 8.2.2307
14409Problem: A shell command in the vimrc causes terminal output.
14410Solution: Do not call starttermcap() after a shell command if the termcap
14411 wasn't active before.
14412Files: src/ex_cmds.c
14413
14414Patch 8.2.2308
14415Problem: Vim9: no error when assigning lambda to funcref without return
14416 value.
14417Solution: Default return value to "any". (closes #7629)
14418Files: src/userfunc.c, src/vim9compile.c,
14419 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_func.vim
14420
14421Patch 8.2.2309
14422Problem: 0o777 not recognized as octal.
14423Solution: Use vim_isodigit(). (Ken Takata, closes #7633, closes #7631)
14424Files: src/charset.c, src/testdir/test_eval_stuff.vim
14425
14426Patch 8.2.2310
14427Problem: Vim9: winsaveview() return type is too generic.
14428Solution: use dict<number> instead of dict<any>. (closes #7626)
14429Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
14430
14431Patch 8.2.2311
14432Problem: Vim9: cannot assign to a variable that shadows a command modifier.
14433Solution: Check for assignment after possible command modifier.
14434 (closes #7632)
14435Files: src/vim9compile.c, src/ex_docmd.c,
14436 src/testdir/test_vim9_assign.vim
14437
14438Patch 8.2.2312
14439Problem: Build failure with Ruby 3.0 and 32 bits.
14440Solution: Add #ifdef. (closes #7638)
14441Files: src/if_ruby.c
14442
14443Patch 8.2.2313
14444Problem: Vim9: using uninitialized field when parsing range. ":silent!" not
14445 respected when parsing range fails.
14446Solution: Initialize ea.skip. On pattern failure handle it like an error.
14447 (closes #7636)
14448Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
14449
14450Patch 8.2.2314
14451Problem: Vim9: returning zero takes two instructions.
14452Solution: Add ISN_RETURN_ZERO.
14453Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
14454 src/testdir/test_vim9_disassemble.vim
14455
14456Patch 8.2.2315
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014457Problem: Vim9: "enddef" as dict key misinterpreted as function end.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014458Solution: Check for following colon. (closes #7640)
14459Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14460
14461Patch 8.2.2316
14462Problem: Vim9: cannot list a lambda function.
14463Solution: Support the <lambda>9 notation, like :disassemble. (closes #7634)
14464Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14465
14466Patch 8.2.2317
14467Problem: Vim9: command modifier before list unpack doesn't work.
14468Solution: Only recognize "[" directly after the name. (closes #7641)
14469Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim
14470
14471Patch 8.2.2318
14472Problem: Vim9: string and list index work differently.
14473Solution: Make string index work like list index. (closes #7643)
14474Files: src/eval.c, src/proto/eval.pro, src/vim9execute.c, src/list.c,
14475 src/proto/vim9execute.pro, src/testdir/test_vim9_expr.vim
14476
14477Patch 8.2.2319
14478Problem: "exptype_T" can be read as "expected type".
14479Solution: Rename to "exprtype_T", expression type.
14480Files: src/eval.c, src/typval.c, src/proto/typval.pro, src/vim9compile.c,
14481 src/proto/vim9compile.pro, src/vim9execute.c, src/structs.h,
14482 src/vim9.h
14483
14484Patch 8.2.2320
14485Problem: Vim9: no error for comparing bool with string.
14486Solution: Check for wrong types when comparing. (closes #7639)
14487Files: src/typval.c, src/errors.h, src/testdir/test_vim9_expr.vim
14488
14489Patch 8.2.2321
14490Problem: Vim9: cannot nest closures.
14491Solution: Add the nesting level to ISN_LOADOUTER and ISN_STOREOUTER.
14492 (closes #7150, closes #7635)
14493Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/structs.h,
14494 src/testdir/test_vim9_disassemble.vim,
14495 src/testdir/test_vim9_func.vim
14496
14497Patch 8.2.2322
14498Problem: Vim9: closure nested limiting to one level.
14499Solution: Add outer_T. Also make STOREOUTER work.
14500Files: src/vim9execute.c, src/vim9.h, src/structs.h,
14501 src/testdir/test_vim9_func.vim
14502
14503Patch 8.2.2323
14504Problem: Vim9: error when inferring type from empty dict/list.
14505Solution: When the member is t_unknown use t_any. (closes #7009)
14506Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14507
14508Patch 8.2.2324
14509Problem: Not easy to get mark en cursor position by character count.
14510Solution: Add functions that use character index. (Yegappan Lakshmanan,
14511 closes #7648)
14512Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/eval.c,
14513 src/evalfunc.c, src/proto/eval.pro, src/tag.c,
14514 src/testdir/test_cursor_func.vim, src/typval.c
14515
14516Patch 8.2.2325
14517Problem: Vim9: crash if map() changes the item type.
14518Solution: Check that the item type is still OK. (closes #7652)
14519 Fix problem with mapnew() on range list.
14520Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9compile.c,
14521 src/list.c, src/testdir/test_vim9_builtin.vim,
14522 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim
14523
14524Patch 8.2.2326
14525Problem: Build error with +eval feature but without +spell.
14526Solution: Adjust #ifdef. (John Marriott)
14527Files: src/mbyte.c
14528
14529Patch 8.2.2327
14530Problem: Debugging code included.
14531Solution: Remove the debugging code.
14532Files: src/vim9execute.c
14533
14534Patch 8.2.2328
14535Problem: Some test files may not be deleted.
14536Solution: Add a delete() call, correct name. (Dominique Pellé, closes #7654)
14537Files: src/testdir/test_clientserver.vim,
14538 src/testdir/test_vim9_script.vim
14539
14540Patch 8.2.2329
14541Problem: Not all ways Vim can be started are tested.
14542Solution: Add a test for different program names. (Dominique Pellé,
14543 closes #7651)
14544Files: src/testdir/test_startup.vim
14545
14546Patch 8.2.2330
14547Problem: Vim9: crash when using :trow in a not executed block.
14548Solution: Don't generate the instruction when skipping. (closes #7659)
14549Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
14550
14551Patch 8.2.2331
14552Problem: Vim9: wrong error when modifying dict declared with :final.
14553Solution: Do not check for writable variable when an index follows.
14554 (closes #7657)
14555Files: src/vim9compile.c, src/structs.h, src/vim9script.c,
14556 src/proto/vim9script.pro, src/evalvars.c,
14557 src/testdir/test_vim9_assign.vim
14558
14559Patch 8.2.2332
14560Problem: Vim9: missing :endif not reported when using :windo.
14561Solution: Pass a getline function to do_cmdline(). (closes #7650)
14562Files: src/vim9execute.c, src/structs.h, src/scriptfile.c,
14563 src/testdir/test_vim9_cmd.vim
14564
14565Patch 8.2.2333
14566Problem: Vim9: warning for uninitialized variable. (Tony Mechelynck)
14567Solution: Initialize "res".
14568Files: src/vim9execute.c
14569
14570Patch 8.2.2334
14571Problem: Pascal-like filetypes not always detected.
14572Solution: Improved Puppet, InstantFPC and Pascal detection. (Doug Kearns,
14573 closes #7662)
14574Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
14575 runtime/scripts.vim, src/testdir/test_filetype.vim
14576
14577Patch 8.2.2335
14578Problem: Vim9: "silent return" does not restore command modifiers.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014579Solution: Restore command modifiers before returning. (closes #7649)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014580Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
14581
14582Patch 8.2.2336
14583Problem: Vim9: it is not possible to extend a dictionary with different
14584 item types.
14585Solution: Add extendnew(). (closes #7666)
14586Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
14587 src/list.c, src/proto/list.pro, src/testdir/test_listdict.vim,
14588 src/testdir/test_vim9_builtin.vim
14589
14590Patch 8.2.2337
14591Problem: Configure test for GTK only says "no". (Harm te Hennepe)
14592Solution: Hint that a -def package is needed. (closes #5229)
14593Files: src/configure.ac, src/auto/configure
14594
14595Patch 8.2.2338
14596Problem: Vim9: no error if using job_info() result wrongly.
14597Solution: Adjust return type on number of arguments. (closes #7667)
14598Files: src/evalfunc.c, src/globals.h, src/testdir/test_vim9_builtin.vim
14599
14600Patch 8.2.2339
14601Problem: Cannot get the type of a value as a string.
14602Solution: Add typename().
14603Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
14604 src/vim9type.c, src/proto/vim9type.pro,
14605 src/testdir/test_vimscript.vim, src/testdir/test_vim9_builtin.vim
14606
14607Patch 8.2.2340
14608Problem: win_execute() unexpectedly returns number zero when failing.
14609Solution: Return an empty string. (closes #7665)
14610Files: src/evalwindow.c, src/testdir/test_vim9_builtin.vim,
14611 src/testdir/test_execute_func.vim
14612
14613Patch 8.2.2341
14614Problem: Expression command line completion shows variables but not
14615 functions after "g:". (Gary Johnson)
14616Solution: Prefix "g:" when needed to a global function.
14617Files: src/evalfunc.c, src/evalvars.c, src/proto/evalvars.pro,
14618 src/testdir/test_cmdline.vim
14619
14620Patch 8.2.2342
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014621Problem: "char" functions return the wrong column in Insert mode when the
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014622 cursor is beyond the end of the line.
14623Solution: Compute the column correctly. (Yegappan Lakshmanan, closes #7669)
14624Files: src/eval.c, src/evalfunc.c, src/testdir/test_cursor_func.vim
14625
14626Patch 8.2.2343
14627Problem: Vim9: return type of readfile() is any.
14628Solution: Add readblob() so that readfile() can be expected to always
14629 return a list of strings. (closes #7671)
14630Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
14631 src/filepath.c, src/proto/filepath.pro,
14632 src/testdir/test_vim9_builtin.vim
14633
14634Patch 8.2.2344
14635Problem: Using inclusive index for slice is not always desired.
14636Solution: Add the slice() method, which has an exclusive index. (closes
14637 #7408)
14638Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
14639 src/eval.c, src/proto/eval.pro, src/vim9execute.c,
14640 src/proto/vim9execute.pro, src/list.c, src/proto/list.pro,
14641 src/testdir/test_vim9_builtin.vim
14642
14643Patch 8.2.2345
14644Problem: No focus events in a terminal.
14645Solution: Add the t_fd and t_fe termcap entries and implement detecting
14646 focus events. (Hayaki Saito, Magnus Groß, closes #7673,
14647 closes #609, closes #5526)
14648Files: runtime/doc/term.txt, src/optiondefs.h, src/term.c, src/term.h
14649
14650Patch 8.2.2346
14651Problem: Codecov reports every little coverage drop.
14652Solution: Tolerate a 0.05% drop. Hide the appveyor config file. (Ozaki
14653 Kiichi, closes #7678)
14654Files: .appveyor.yml, appveyor.yml, .codecov.yml
14655
14656Patch 8.2.2347
14657Problem: Build failure without GUI.
14658Solution: Add #ifdef.
14659Files: src/term.c
14660
14661Patch 8.2.2348 (after 8.2.2345)
14662Problem: No check for modified files after focus gained. (Mathias Stearn)
14663Solution: Call ui_focus_change().
14664Files: src/term.c, src/ui.c
14665
14666Patch 8.2.2349
14667Problem: Vim9: cannot handle line break after parenthesis at line end.
14668Solution: Skip over line break. (closes #7677)
14669Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14670
14671Patch 8.2.2350
14672Problem: Using "void" for no reason.
14673Solution: Use "char *".
14674Files: src/ex_docmd.c
14675
14676Patch 8.2.2351
14677Problem: Vim9: error message for "throw" in function that was called with
14678 "silent!".
14679Solution: Do not throw the exception when not caught or displayed.
14680 (closes #7672)
14681Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
14682
14683Patch 8.2.2352
14684Problem: If the focus lost/gained escape sequence is received twice it is
Bram Moolenaareb490412022-06-28 13:44:46 +010014685 not ignored. (Christ van Willegen)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014686Solution: Adjust the logic to ignore the escape code.
14687Files: src/term.c
14688
14689Patch 8.2.2353
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014690Problem: Sparql files are not detected.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014691Solution: Add the sparql filetype. (closes #7679)
14692Files: runtime/filetype.vim, src/testdir/test_filetype.vim
14693
14694Patch 8.2.2354
14695Problem: Crash with a weird combination of autocommands.
14696Solution: Increment b_nwindows when needed. (closes #7674)
14697Files: src/ex_cmds.c, src/buffer.c, src/proto/buffer.pro,
14698 src/testdir/test_autocmd.vim
14699
14700Patch 8.2.2355
14701Problem: Stray test failure on Appveyor.
14702Solution: Finish insert command.
14703Files: src/testdir/test_autocmd.vim
14704
14705Patch 8.2.2356
14706Problem: Vim9: ":put =expr" does not handle a list properly.
14707Solution: Use the same logic as eval_to_string_eap(). (closes #7684)
14708Files: src/vim9execute.c, src/eval.c, src/proto/eval.pro,
14709 src/testdir/test_vim9_cmd.vim
14710
14711Patch 8.2.2357
14712Problem: Vim9: crash when parsing function return type fails.
14713Solution: Bail out and set return type to "unknown". (closes #7685)
14714Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14715
14716Patch 8.2.2358
14717Problem: Wrong #ifdef for use_xterm_like_mouse().
14718Solution: Use FEAT_MOUSE_XTERM.
14719Files: src/term.c
14720
14721Patch 8.2.2359
14722Problem: Strange test failure with MS-Windows.
14723Solution: Skip the system() call for now.
14724Files: src/testdir/test_autocmd.vim
14725
14726Patch 8.2.2360
14727Problem: Test leaves file behind.
14728Solution: Delete the right file. (Dominique Pellé, closes #7689)
14729Files: src/testdir/test_filetype.vim
14730
14731Patch 8.2.2361
14732Problem: Vim9: no highlight for "s///gc" when using 'opfunc'.
14733Solution: Reset 'lazyredraw' temporarily. (closes #7687)
14734Files: src/ex_cmds.c
14735
14736Patch 8.2.2362
14737Problem: Vim9: check of builtin function argument type is incomplete.
14738Solution: Use need_type() instead of check_arg_type().
14739Files: src/vim9compile.c, src/proto/vim9compile.pro, src/evalfunc.c,
14740 src/proto/evalfunc.pro, src/vim9type.c, src/proto/vim9type.pro,
14741 src/testdir/test_vim9_builtin.vim
14742
14743Patch 8.2.2363
14744Problem: curpos() does not accept a string argument as before.
14745solution: Make a string argument work again. (Yegappan Lakshmanan,
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014746 closes #7690)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014747Files: src/evalfunc.c, src/testdir/test_cursor_func.vim
14748
14749Patch 8.2.2364
14750Problem: Vim9: line break in lambda accesses freed memory.
14751Solution: Make a copy of the return type. (closes #7664)
14752Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14753
14754Patch 8.2.2365
14755Problem: Vim9: no check for map() changing item type at script level.
14756Solution: Check the new value type.
14757Files: src/list.c, src/testdir/test_vim9_builtin.vim,
14758 src/testdir/test_vim9_assign.vim
14759
14760Patch 8.2.2366
14761Problem: When using ":sleep" the cursor is always displayed.
14762Solution: Do not display the cursor when using ":sleep!". (Jeremy Lerner,
14763 closes #7688)
14764Files: runtime/doc/index.txt, runtime/doc/various.txt, src/ex_cmds.h,
14765 src/ex_docmd.c, src/normal.c, src/proto/ex_docmd.pro, src/term.c,
14766 src/testdir/Make_all.mak, src/testdir/test_sleep.vim
14767
14768Patch 8.2.2367
14769Problem: Test failures on some less often used systems.
14770Solution: Adjust printf formats and types. (James McCoy, closes #7691)
14771Files: src/errors.h, src/evalfunc.c, src/list.c, src/vim9execute.c
14772
14773Patch 8.2.2368
14774Problem: Insufficient tests for setting options.
14775Solution: Add a few tests. (Dominique Pellé, closes #7695)
14776Files: src/testdir/test_options.vim
14777
14778Patch 8.2.2369
14779Problem: Vim9: functions return true/false but can't be used as bool.
14780Solution: Add ret_number_bool(). (closes #7693)
14781Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim,
14782 src/testdir/test_vim9_disassemble.vim
14783
14784Patch 8.2.2370
14785Problem: Vim9: command fails in catch block.
14786Solution: Reset force_abort and need_rethrow. (closes #7692)
14787Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
14788
14789Patch 8.2.2371
14790Problem: Vim9: crash when using types in :for with unpack.
14791Solution: Check for skip_var_list() failing. Pass include_type to
14792 skip_var_one(). Skip type when compiling. (closes #7694)
14793Files: src/vim9compile.c, src/evalvars.c,
14794 src/testdir/test_vim9_script.vim
14795
14796Patch 8.2.2372 (after 8.2.2371)
14797Problem: Confusing error message for wrong :let command.
14798Solution: Only check for type in Vim9 script.
14799Files: src/evalvars.c
14800
14801Patch 8.2.2373
14802Problem: Vim9: list assignment only accepts a number index.
14803Solution: Accept "any" and do a runtime type check. (closes #7694)
14804Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
14805
14806Patch 8.2.2374
14807Problem: Accessing uninitialized memory in test_undo.
14808Solution: Do not look in typebuf.tb_buf if it is empty. (Dominique Pellé,
14809 closes #7697)
14810Files: src/edit.c
14811
14812Patch 8.2.2375
14813Problem: Test for RGB color skipped in the terminal.
14814Solution: Run the GUI if possible.
14815Files: src/testdir/test_highlight.vim
14816
14817Patch 8.2.2376
14818Problem: Vim9: crash when dividing by zero in compiled code using
14819 constants.
14820Solution: Call num_divide() and num_modulus(). (closes #7704)
14821Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14822
14823Patch 8.2.2377
14824Problem: Vim9: crash when using a range after another expression.
14825Solution: Set the variable type to number. Fix using :put with a range and
14826 the "=" register. (closes #7706)
14827Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
14828
14829Patch 8.2.2378
14830Problem: Vim9: no error message for dividing by zero.
14831Solution: Give an error message. (issue #7704)
14832Files: src/errors.h, src/eval.c, src/vim9execute.c,
14833 src/testdir/test_vim9_expr.vim
14834
14835Patch 8.2.2379
14836Problem: Finding spell suggestions twice if 'spellsuggest' contains number.
14837Solution: Only do internal suggestions once. (closes #7713)
14838Files: src/spellsuggest.c
14839
14840Patch 8.2.2380
14841Problem: Vim9: occasional crash when using try/catch and a timer.
14842Solution: Save and restore "need_rethrow" when invoking a timer callback.
14843 (closes #7708)
14844Files: src/time.c
14845
14846Patch 8.2.2381
14847Problem: Vim9: divide by zero does not abort expression execution.
14848Solution: Use a "failed" flag. (issue #7704)
14849Files: src/eval.c, src/proto/eval.pro, src/evalvars.c, src/vim9compile.c,
14850 src/testdir/vim9.vim, src/testdir/test_vim9_assign.vim
14851
14852Patch 8.2.2382 (after 8.2.2381)
14853Problem: Build failure.
14854Solution: Add missing changes.
14855Files: src/vim9execute.c
14856
14857Patch 8.2.2383
14858Problem: Focus escape sequences are not named in ":set termcap" output.
14859Solution: Add the names to the list. (closes #7718)
14860Files: src/misc2.c
14861
14862Patch 8.2.2384
14863Problem: Turtle filetype not recognized.
14864Solution: Add a rule to detect turtle files. (closes #7722)
14865Files: runtime/filetype.vim, src/testdir/test_filetype.vim
14866
14867Patch 8.2.2385
14868Problem: "gj" and "gk" do not work correctly when inside a fold.
14869Solution: Move check for folding. (closes #7724, closes #4095)
14870Files: src/normal.c, src/testdir/test_fold.vim
14871
14872Patch 8.2.2386
14873Problem: Vim9: crash when using ":silent! put".
14874Solution: When ignoring an error for ":silent!" rewind the stack and skip
14875 ahead to restoring the cmdmod. (closes #7717)
14876Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
14877
14878Patch 8.2.2387
14879Problem: Runtime type check does not mention argument index.
14880Solution: Add ct_arg_idx. (closes #7720)
14881Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
14882 src/testdir/test_vim9_builtin.vim,
14883 src/testdir/test_vim9_disassemble.vim,
14884 src/testdir/test_vim9_func.vim
14885
14886Patch 8.2.2388
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014887Problem: No easy way to get the maximum or minimum number value.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014888Solution: Add v:numbermax and v:numbermin.
14889Files: src/evalvars.c, src/vim.h, src/testdir/test_eval_stuff.vim,
14890 runtime/doc/eval.txt
14891
14892Patch 8.2.2389
14893Problem: Test failure on a few systems.
14894Solution: Avoid that "char" value is negative.
14895Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h
14896
14897Patch 8.2.2390
14898Problem: Vim9: using positive offset is unexpected.
14899Solution: Use int8_T instead of char. (James McCoy)
14900Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c
14901
14902Patch 8.2.2391
14903Problem: Memory leak when creating a global function with closure.
14904Solution: Create a separate partial for every instantiated function.
14905Files: src/userfunc.c, src/vim9execute.c
14906
14907Patch 8.2.2392
14908Problem: Fennel filetype not recognized.
14909Solution: Detect with pattern and hashbang. (Chinmay Dalal, closes #7729)
14910Files: runtime/filetype.vim, runtime/scripts.vim,
14911 src/testdir/test_filetype.vim
14912
14913Patch 8.2.2393
14914Problem: Vim9: error message when script line starts with "[{".
14915Solution: Do not give an error for checking for end of list.
14916Files: src/dict.c, src/testdir/test_vim9_script.vim
14917
14918Patch 8.2.2394
14919Problem: Vim9: min() and max() return type is "any".
14920Solution: Use return type "number". (closes #7728)
14921Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
14922
14923Patch 8.2.2395
14924Problem: Vim9: error for wrong type may report wrong line number.
14925Solution: Save and restore the line number when evaluating the expression.
14926 (closes #7727)
14927Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
14928
14929Patch 8.2.2396
14930Problem: Vim9: no white space allowed before "->".
14931Solution: Allow for white space. (closes #7725)
14932Files: src/ex_docmd.c, src/eval.c, src/testdir/test_vim9_cmd.vim
14933
14934Patch 8.2.2397
14935Problem: Vim9: "%%" not seen as alternate file name for commands with a
14936 buffer name argument.
14937Solution: Recognize "%%" like "#". (closes #7732)
14938Files: src/buffer.c, src/testdir/test_vim9_cmd.vim
14939
14940Patch 8.2.2398 (after 8.2.2396)
14941Problem: Method test fails.
14942Solution: Adjust test for allowed white space.
14943Files: src/testdir/test_method.vim
14944
14945Patch 8.2.2399 (after 8.2.2385)
14946Problem: Fold test fails in wide terminal.
14947Solution: Adjust the test. (Dominique Pelle, closes #7731, closes #7739)
14948Files: src/testdir/test_fold.vim
14949
14950Patch 8.2.2400
14951Problem: Vim9: compiled functions are not profiled.
14952Solution: Add initial changes to profile compiled functions. Fix that a
14953 script-local function was hard to debug.
14954Files: runtime/doc/repeat.txt, src/vim9.h, src/vim9compile.c,
14955 src/vim9execute.c, src/userfunc.c, src/proto/vim9compile.pro,
14956 src/structs.h, src/vim9type.c, src/debugger.c, src/ex_cmds.h,
14957 src/ex_docmd.c, src/profiler.c, src/proto/profiler.pro,
14958 src/testdir/test_vim9_disassemble.vim,
14959 src/testdir/test_profile.vim
14960
14961Patch 8.2.2401
14962Problem: Build fails without +profiling feature.
14963Solution: Add #ifdefs.
14964Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/structs.h,
14965 src/testdir/test_vim9_disassemble.vim
14966
14967Patch 8.2.2402
14968Problem: Some filetypes not detected.
14969Solution: Detect Ruby Signature and Puppet related files. (Doug Kearns)
14970Files: runtime/filetype.vim, src/testdir/test_filetype.vim
14971
14972Patch 8.2.2403
14973Problem: Vim9: profiling if/elseif/endif not correct.
14974Solution: Add profile instructions. Fix that "elseif" was wrong.
14975Files: src/vim9compile.c, src/testdir/test_profile.vim,
14976 src/testdir/test_vim9_script.vim,
14977 src/testdir/test_vim9_disassemble.vim
14978
14979Patch 8.2.2404
14980Problem: Vim9: profiling try/catch not correct.
14981Solution: Add profile instructions. Fix that "entry" did not rethrow an
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014982 exception.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014983Files: src/vim9compile.c, src/vim9execute.c, src/testdir/test_profile.vim
14984
14985Patch 8.2.2405
14986Problem: Vim9: no need to allow white space before "(" for :def.
14987Solution: Give an error for stray white space. (issue #7734)
14988Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14989
14990Patch 8.2.2406
14991Problem: Vim9: profiled :def function leaks memory.
14992Solution: Delete the profiled instructions.
14993Files: src/vim9compile.c
14994
14995Patch 8.2.2407
14996Problem: Old jumplist code is never used.
14997Solution: Delete the dead code. (Yegappan Lakshmanan, closes #7740)
14998Files: src/mark.c
14999
15000Patch 8.2.2408
15001Problem: MinGW: "--preprocessor" flag no longer supported.
15002Solution: Remove the flag, use the defaults. (Christopher Wellons,
15003 closes #7741)
15004Files: src/GvimExt/Make_ming.mak, src/Make_cyg_ming.mak
15005
15006Patch 8.2.2409
15007Problem: Vim9: profiling only works for one function.
15008Solution: Select the right instructions when calling and returning.
15009 (closes #7743)
15010Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
15011 src/testdir/test_profile.vim
15012
15013Patch 8.2.2410
15014Problem: Build failure without the +profiling feature.
15015Solution: Add dummy argument to macro.
15016Files: src/vim9.h
15017
15018Patch 8.2.2411
15019Problem: Profile test fails on MS-Windows.
15020Solution: Do the profiling in a separate Vim command.
15021Files: src/testdir/test_profile.vim
15022
15023Patch 8.2.2412
15024Problem: Not all fields in "cstack" are initialized which might cause a
15025 crash.
15026Solution: Use CLEAR_FIELD().
15027Files: src/ex_docmd.c
15028
15029Patch 8.2.2413
15030Problem: Crash when using :all while using a cmdline window. (Zdenek Dohnal)
15031Solution: Disallow :all from the cmdline window.
15032Files: src/arglist.c, src/ex_getln.c, src/testdir/test_arglist.vim
15033
15034Patch 8.2.2414
15035Problem: Using freed memory when closing the cmdline window.
15036Solution: Check the window is still valid.
15037Files: src/ex_getln.c
15038
15039Patch 8.2.2415
15040Problem: No way to check for the cmdwin feature, cmdline_hist is now always
15041 enabled.
15042Solution: Add has('cmdwin') support. Skip arglist test on Windows
15043 temporarily.
15044Files: runtime/doc/cmdline.txt, src/evalfunc.c,
15045 src/testdir/test_autocmd.vim, src/testdir/test_arglist.vim,
15046 src/testdir/test_cmdline.vim, src/testdir/test_ins_complete.vim,
15047 src/testdir/test_normal.vim, src/testdir/test_tabpage.vim,
15048 src/testdir/test_termcodes.vim, src/testdir/test_window_cmd.vim
15049
15050Patch 8.2.2416
15051Problem: May get stuck in command line window state.
15052Solution: Reset "cmdwin_type" when editing buffer fails. Make arglist test
15053 pass on MS-Windows.
15054Files: src/ex_getln.c, src/testdir/test_arglist.vim
15055
15056Patch 8.2.2417
15057Problem: Condition stack values may be used when not set.
15058Solution: Clear cs_script_var_len and cs_block_id just in case they get used
15059 later. (issue #7733)
15060Files: src/ex_eval.c
15061
15062Patch 8.2.2418
15063Problem: Color not changed if ModeMsg highlight is set in InsertEnter
15064 autocmd event. (Paul Swanson)
15065Solution: Call highlight_changed() after triggering InsertEnter.
15066 (closes #7751)
15067Files: src/edit.c
15068
15069Patch 8.2.2419
15070Problem: Autocmd test was failing on MS-Windows with GUI.
15071Solution: Remove stray feedkeys().
15072Files: src/testdir/test_autocmd.vim
15073
15074Patch 8.2.2420
15075Problem: Too many problems with using all autocommand events.
15076Solution: Disallow defining an autocommand for all events.
15077Files: src/autocmd.c, src/errors.h, src/testdir/test_autocmd.vim,
15078 src/testdir/test_quickfix.vim, src/testdir/test_window_cmd.vim
15079
15080Patch 8.2.2421
15081Problem: Double free when using autocommand with "argdel". (Houyunsong)
15082Solution: Add the arglist_locked flag.
15083Files: src/arglist.c, src/testdir/test_autocmd.vim
15084
15085Patch 8.2.2422
15086Problem: Crash when deleting with line number out of range. (Houyunsong)
15087Solution: Avoid using a negative line number.
15088Files: src/normal.c, src/testdir/test_ex_mode.vim
15089
15090Patch 8.2.2423 (after 8.2.2422)
15091Problem: Missing error message.
15092Solution: Add the error message.
15093Files: src/errors.h
15094
15095Patch 8.2.2424
15096Problem: Some tests are known to cause an error with ASAN.
15097Solution: Add CheckNotAsan.
15098Files: src/testdir/check.vim, src/testdir/test_ins_complete.vim,
15099 src/testdir/test_memory_usage.vim, src/testdir/test_ex_mode.vim
15100
15101Patch 8.2.2425
15102Problem: Cursor on invalid line with range and :substitute.
15103Solution: Do not move the cursor when skipping commands. (closes #3434)
15104Files: src/ex_cmds.c, src/testdir/test_eval_stuff.vim
15105
15106Patch 8.2.2426
15107Problem: Allowing 'completefunc' to switch windows causes trouble.
15108Solution: use "textwinlock" instead of "textlock".
15109Files: src/insexpand.c, src/testdir/test_ins_complete.vim,
15110 src/testdir/test_popup.vim
15111
15112Patch 8.2.2427
15113Problem: Can still switch windows for 'completefunc'.
15114Solution: Also disallow switching windows for other completions.
15115Files: src/insexpand.c, src/testdir/test_ins_complete.vim,
15116 src/testdir/test_popup.vim
15117
15118Patch 8.2.2428
15119Problem: FocusGained does not work when 'ttymouse' is empty.
15120Solution: Don't use the short mouse code if there is a longer matching code.
15121 (closes #7755) Add a test.
15122Files: src/term.c, src/testdir/test_termcodes.vim
15123
15124Patch 8.2.2429
15125Problem: :goto does not work correctly with text properties. (Sam McCall)
15126Solution: Add a test. (Andrew Radev) Also use the text property size when
15127 computing the remaining offset. (closes #5930)
15128Files: src/memline.c, src/testdir/test_textprop.vim
15129
15130Patch 8.2.2430
15131Problem: :vimgrep expands wildcards twice.
15132Solution: Do not expand wildcards a second time.
15133Files: src/quickfix.c, src/arglist.c, src/testdir/test_quickfix.vim
15134
15135Patch 8.2.2431
15136Problem: Warning for -fno-strength-reduce with Clang 11.
15137Solution: Adjust check for clang version number.
15138Files: src/configure.ac, src/auto/configure
15139
15140Patch 8.2.2432
15141Problem: Libvterm tests are executed even when libtool doesn't work.
15142Solution: Only run libvterm tests if /usr/bin/gcc exists.
15143Files: src/Makefile
15144
15145Patch 8.2.2433
15146Problem: Opening cmdline window gives error in BufLeave autocommand.
15147Solution: Reset cmdwin_type when triggering the autocommand.
15148Files: src/ex_cmds.c, src/testdir/test_cmdline.vim
15149
15150Patch 8.2.2434
15151Problem: Vim9: no error when compiling str2nr() with a number.
15152Solution: Add argument type checks. (closes #7759)
15153Files: src/evalfunc.c, src/typval.c, src/proto/typval.pro,
15154 src/testdir/test_vim9_builtin.vim
15155
15156Patch 8.2.2435
15157Problem: setline() gives an error for some types.
15158Solution: Allow any type, convert each item to a string.
15159Files: runtime/doc/eval.txt, src/evalbuffer.c, src/typval.c,
15160 src/proto/typval.pro, src/debugger.c, src/vim9execute.c,
15161 src/testdir/test_bufline.vim, src/testdir/test_vim9_builtin.vim
15162
15163Patch 8.2.2436
15164Problem: Vim9 script test is a bit flaky.
15165Solution: Wait longer for exit callback.
15166Files: src/testdir/test_vim9_script.vim
15167
15168Patch 8.2.2437
15169Problem: Deprecation warnings with default configuration.
15170Solution: Add -Wno-deprecated-declarations.
15171Files: src/configure.ac, src/auto/configure
15172
15173Patch 8.2.2438
15174Problem: Out of bounds compiler warning.
15175Solution: Increase the size of uf_name.
15176Files: src/structs.h
15177
15178Patch 8.2.2439
15179Problem: Not easy to figure out what packages to get when installing Vim on
15180 a new Ubuntu system.
15181Solution: Mention explicit commands that are easy to follow.
15182Files: src/INSTALL
15183
15184Patch 8.2.2440
15185Problem: Documentation based on patches is outdated.
15186Solution: Add changes to documentation in a patch.
15187Files: runtime/doc/arabic.txt, runtime/doc/autocmd.txt,
15188 runtime/doc/change.txt, runtime/doc/channel.txt,
15189 runtime/doc/cmdline.txt, runtime/doc/debugger.txt,
15190 runtime/doc/develop.txt, runtime/doc/digraph.txt,
15191 runtime/doc/editing.txt, runtime/doc/eval.txt,
15192 runtime/doc/filetype.txt, runtime/doc/ft_sql.txt,
15193 runtime/doc/gui.txt, runtime/doc/gui_w32.txt,
15194 runtime/doc/gui_x11.txt, runtime/doc/hangulin.txt,
15195 runtime/doc/helphelp.txt, runtime/doc/help.txt,
15196 runtime/doc/if_lua.txt, runtime/doc/if_mzsch.txt,
15197 runtime/doc/if_tcl.txt, runtime/doc/indent.txt,
15198 runtime/doc/index.txt, runtime/doc/insert.txt,
15199 runtime/doc/intro.txt, runtime/doc/map.txt, runtime/doc/mbyte.txt,
15200 runtime/doc/message.txt, runtime/doc/mlang.txt,
15201 runtime/doc/motion.txt, runtime/doc/netbeans.txt,
15202 runtime/doc/options.txt, runtime/doc/os_dos.txt,
15203 runtime/doc/os_haiku.txt, runtime/doc/os_unix.txt,
15204 runtime/doc/os_vms.txt, runtime/doc/os_win32.txt,
15205 runtime/doc/pattern.txt, runtime/doc/pi_getscript.txt,
15206 runtime/doc/pi_logipat.txt, runtime/doc/pi_netrw.txt,
15207 runtime/doc/pi_tar.txt, runtime/doc/pi_vimball.txt,
15208 runtime/doc/pi_zip.txt, runtime/doc/popup.txt,
15209 runtime/doc/print.txt, runtime/doc/quickfix.txt,
15210 runtime/doc/quickref.txt, runtime/doc/recover.txt,
15211 runtime/doc/remote.txt, runtime/doc/repeat.txt,
15212 runtime/doc/rileft.txt, runtime/doc/sign.txt,
15213 runtime/doc/spell.txt, runtime/doc/starting.txt,
15214 runtime/doc/syntax.txt, runtime/doc/tabpage.txt,
15215 runtime/doc/tagsrch.txt, runtime/doc/terminal.txt,
15216 runtime/doc/term.txt, runtime/doc/testing.txt,
15217 runtime/doc/textprop.txt, runtime/doc/tips.txt,
15218 runtime/doc/todo.txt, runtime/doc/uganda.txt,
15219 runtime/doc/undo.txt, runtime/doc/usr_02.txt,
15220 runtime/doc/usr_03.txt, runtime/doc/usr_04.txt,
15221 runtime/doc/usr_05.txt, runtime/doc/usr_07.txt,
15222 runtime/doc/usr_08.txt, runtime/doc/usr_10.txt,
15223 runtime/doc/usr_11.txt, runtime/doc/usr_20.txt,
15224 runtime/doc/usr_22.txt, runtime/doc/usr_23.txt,
15225 runtime/doc/usr_24.txt, runtime/doc/usr_27.txt,
15226 runtime/doc/usr_30.txt, runtime/doc/usr_31.txt,
15227 runtime/doc/usr_40.txt, runtime/doc/usr_41.txt,
15228 runtime/doc/usr_42.txt, runtime/doc/usr_44.txt,
15229 runtime/doc/usr_45.txt, runtime/doc/usr_46.txt,
15230 runtime/doc/usr_90.txt, runtime/doc/usr_toc.txt,
15231 runtime/doc/various.txt, runtime/doc/version5.txt,
15232 runtime/doc/version6.txt, runtime/doc/version7.txt,
15233 runtime/doc/version8.txt, runtime/doc/vi_diff.txt,
15234 runtime/doc/vim9.txt, runtime/doc/visual.txt,
15235 runtime/doc/windows.txt
15236
15237Patch 8.2.2441
15238Problem: Vim9: extend() does not give an error for a type mismatch.
15239Solution: Check the type of the second argument. (closes #7760)
15240Files: src/list.c, src/testdir/test_vim9_builtin.vim
15241
15242Patch 8.2.2442
15243Problem: Automatic GUI selection does not check for GTK 3.
15244Solution: Make SKIP_GTK3 empty for automatic GUI support. Set SKIP_GTK3 to
15245 YES when checking for GTK2.
15246Files: src/configure.ac, src/auto/configure
15247
15248Patch 8.2.2443
15249Problem: Vim9: no compile time error for wrong str2float argument.
15250Solution: Check argument type. (closes #7759)
15251Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
15252
15253Patch 8.2.2444
15254Problem: Vim9: compile error with combination of operator and list.
15255Solution: Generate constants before parsing a list or dict. (closes #7757)
15256Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
15257
15258Patch 8.2.2445
15259Problem: Vim9: no proper error for lambda missing return type.
15260Solution: Check for this error. (closes #7758)
15261Files: src/errors.h, src/userfunc.c, src/testdir/test_vim9_func.vim
15262
15263Patch 8.2.2446
15264Problem: Setting 'term' empty has different error if compiled with GUI.
15265Solution: Insert "else". (closes #7766)
15266Files: src/optionstr.c, src/testdir/test_options.vim
15267
15268Patch 8.2.2447
15269Problem: 'foldlevel' not applied to folds restored from session.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000015270Solution: Set 'foldlevel' after creating the folds. (closes #7767)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000015271Files: src/fold.c, src/testdir/test_mksession.vim
15272
15273Patch 8.2.2448
15274Problem: Compilation error with Ruby 3.0.
15275Solution: Adjust #ifdefs and declaration. (Ken Takata, closes #7761)
15276Files: src/if_ruby.c
15277
15278Patch 8.2.2449
15279Problem: Vim9: flatten() always changes the list type.
15280Solution: Disallow using flatten() and add flattennew().
15281Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
15282 src/list.c, src/proto/list.pro, src/errors.h, src/vim9compile.c,
15283 src/testdir/test_flatten.vim, src/testdir/test_vim9_builtin.vim
15284
15285Patch 8.2.2450
15286Problem: MS-Windows: ADS was not preserved if 'backupcopy' is "yes".
15287Solution: Copy ADS before truncating the file. (Ken Takata, closes #7762)
15288Files: src/bufwrite.c
15289
15290Patch 8.2.2451
15291Problem: MS-Windows: Extended Attributes not preserved.
15292Solution: Preserve Extended Attributes when writing a file. (Ken Takata,
15293 closes #7765)
15294Files: src/os_win32.c
15295
15296Patch 8.2.2452
15297Problem: No completion for the 'filetype' option.
15298Solution: Add filetype completion. (Martin Tournoij, closes #7747)
15299Files: src/option.c, src/optiondefs.h, src/testdir/test_options.vim
15300
15301Patch 8.2.2453
15302Problem: Vim9: a variable name with "->" in the next line doesn't work.
15303Solution: Recognize a variable name by itself. (closes #7770)
15304Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
15305
15306Patch 8.2.2454
15307Problem: Leading space can not be made visible.
15308Solution: Add "lead:" to 'listchars'. (closes #7772)
15309Files: runtime/doc/options.txt, src/drawline.c, src/globals.h,
15310 src/message.c, src/screen.c, src/testdir/test_listchars.vim
15311
15312Patch 8.2.2455
15313Problem: Vim9: key type that can be used for literal dict and indexing is
15314 inconsistent.
15315Solution: Allow using number and bool as key for a literal dict. (#7771)
15316Files: runtime/doc/vim9.txt, src/dict.c, src/eval.c, src/vim9compile.c,
15317 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_builtin.vim,
15318 src/testdir/test_vim9_script.vim
15319
15320Patch 8.2.2456
15321Problem: Coverity warning for strcpy() into fixed size array.
15322Solution: Add a type cast to hopefully silence the bogus warning.
15323Files: src/userfunc.c
15324
15325Patch 8.2.2457
15326Problem: Coverity warns for memory leak.
15327Solution: Free memory when out of memory.
15328Files: src/if_cscope.c
15329
15330Patch 8.2.2458
15331Problem: Coverity warns for :retab using freed memory.
15332Solution: Use the updated line pointer when moving text properties.
15333Files: src/indent.c
15334
15335Patch 8.2.2459
15336Problem: Coverity reports dead code.
15337Solution: Remove the dead code.
15338Files: src/eval.c
15339
15340Patch 8.2.2460
15341Problem: Coverity warns for unused value.
15342Solution: Do not reset the return value to OK.
15343Files: src/vim9compile.c
15344
15345Patch 8.2.2461
15346Problem: Coverity warns for unchecked return value.
15347Solution: Add "(void)" to avoid the warning.
15348Files: src/vim9execute.c
15349
15350Patch 8.2.2462
15351Problem: Coverity warns for not checking for fseek() error.
15352Solution: Give an error message if fseek() fails.
15353Files: src/spellfile.c
15354
15355Patch 8.2.2463
15356Problem: Using :arglocal in an autocommand may use freed memory.
15357 (houyunsong)
15358Solution: Check if the arglist is locked.
15359Files: src/arglist.c, src/testdir/test_autocmd.vim
15360
15361Patch 8.2.2464
15362Problem: Using freed memory if window closed in autocommand. (houyunsong)
15363Solution: Check the window still exists.
15364Files: src/ex_cmds.c, src/testdir/test_autocmd.vim
15365
15366Patch 8.2.2465
15367Problem: Using freed memory in :psearch. (houyunsong)
15368Solution: Check the current window is still valid. Fix flaky test.
15369Files: src/search.c, src/testdir/test_autocmd.vim
15370
15371Patch 8.2.2466
15372Problem: Max() and min() can give many error messages.
15373Solution: Bail out at the first error. (closes #1039, closes #7778)
15374Files: src/evalfunc.c, src/testdir/test_functions.vim
15375
15376Patch 8.2.2467
15377Problem: Script generated by :mkview changes alternate file.
15378Solution: Only write :balt in the session file. (Harish Rajagopal,
15379 closes #7779)
15380Files: src/session.c, src/testdir/test_mksession.vim
15381
15382Patch 8.2.2468
15383Problem: Not easy to get the full command name from a shortened one.
15384Solution: Add fullcommand(). (Martin Tournoij, closes #7777)
15385Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
15386 src/ex_docmd.c, src/proto/evalfunc.pro,
15387 src/testdir/test_cmdline.vim
15388
15389Patch 8.2.2469
15390Problem: Confusing error if :winsize has a wrong argument.
15391Solution: Quote the argument in the error. (closes #2523)
15392Files: src/ex_docmd.c, src/testdir/test_excmd.vim
15393
15394Patch 8.2.2470
15395Problem: Popup_getoptions() does not get textprop from other tab.
15396Solution: use win_valid_any_tab(). (closes #7786)
15397Files: src/popupwin.c, src/testdir/test_popupwin.vim
15398
15399Patch 8.2.2471
15400Problem: Popup_setoptions() does not set textprop in other tab.
15401Solution: use win_valid_any_tab(). (closes #7788)
15402Files: src/popupwin.c, src/testdir/test_popupwin.vim
15403
15404Patch 8.2.2472
15405Problem: Crash when using command line window in an autocommand.
15406 (houyunsong)
15407Solution: Save and restore au_new_curbuf.
15408Files: src/ex_cmds.c, src/testdir/test_autocmd.vim
15409
15410Patch 8.2.2473
15411Problem: Crash when leaving command line window triggers autocommand.
15412 (houyunsong)
15413Solution: Make sure not to close the current window or buffer.
15414Files: src/ex_getln.c, src/testdir/test_autocmd.vim
15415
15416Patch 8.2.2474
15417Problem: Using freed memory when window is closed by autocommand.
15418 (houyunsong)
15419Solution: Check the window pointer is still valid.
15420Files: src/quickfix.c, src/testdir/test_autocmd.vim
15421
15422Patch 8.2.2475
15423Problem: Autocommand tests hangs on MS-Windows.
15424Solution: Skip one test.
15425Files: src/testdir/test_autocmd.vim
15426
15427Patch 8.2.2476
15428Problem: Using freed memory when using an autocommand to split a window
15429 while a buffer is being closed.
15430Solution: Disallow splitting when the buffer has b_locked_split set.
15431Files: src/buffer.c, src/window.c, src/errors.h, src/structs.h,
15432 src/popupwin.c, src/testdir/test_autocmd.vim
15433
15434Patch 8.2.2477
15435Problem: Autocommand tests hang on MS-Windows.
15436Solution: Skip a couple of tests. Fix file name.
15437Files: src/testdir/test_autocmd.vim
15438
15439Patch 8.2.2478
15440Problem: MS-Windows: backup files for plugins are loaded.
15441Solution: Do not use the alternate file name for files ending in "~".
15442Files: src/filepath.c
15443
15444Patch 8.2.2479
15445Problem: set/getbufline test fails without the job feature.
15446Solution: Check whether the job feature is supported. (Dominique Pellé,
15447 closes #7790)
15448Files: src/testdir/test_bufline.vim, src/testdir/test_vim9_builtin.vim
15449
15450Patch 8.2.2480
15451Problem: Vim9: some errors for white space do not show context.
15452Solution: Include the text at the error.
15453Files: src/errors.h, src/dict.c, src/list.c, src/userfunc.c,
15454 src/vim9compile.c, src/vim9script.c, src/vim9type.c
15455
15456Patch 8.2.2481
15457Problem: Vim9: confusing error when variable arguments have a default
15458 value.
15459Solution: Give a specific error message. (closes #7793)
15460Files: src/userfunc.c, src/testdir/test_vim9_func.vim
15461
15462Patch 8.2.2482
15463Problem: Build error.
15464Solution: Add new error message.
15465Files: src/errors.h
15466
15467Patch 8.2.2483
Bram Moolenaar1588bc82022-03-08 21:35:07 +000015468Problem: Vim9: type error for malformed expression.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000015469Solution: Check for end of command before checking type. (closes #7795)
15470Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
15471
15472Patch 8.2.2484
15473Problem: Vim9: Cannot use a comment starting with #{ after an expression.
15474Solution: Remove the check for "{" since #{ dictionaries are not supported.
15475Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
15476
15477Patch 8.2.2485
15478Problem: When sourcing a script again the script version isn't reset.
15479Solution: Set sn_version to one when sourcing a script again. Clear
15480 sn_save_cpo properly. (closes #7608)
15481Files: src/scriptfile.c, src/testdir/test_vim9_script.vim
15482
15483Patch 8.2.2486
15484Problem: Vim9: some errors for white space do not show context.
15485Solution: Include the text at the error.
15486Files: src/errors.h, src/dict.c, src/list.c, src/userfunc.c,
15487 src/vim9compile.c, src/vim9type.c
15488
15489Patch 8.2.2487
15490Problem: Terminal shows garbage after double-wide character with a
15491 combining character. (Kyoichiro Yamada)
15492Solution: Libvterm: do not add the width of the combining character to the
15493 glyph width. (closes #7801)
15494Files: src/libvterm/src/state.c, src/testdir/test_terminal.vim,
15495 src/testdir/dumps/Test_terminal_combining.dump
15496
15497Patch 8.2.2488
15498Problem: json_encode() gives generic argument error.
15499Solution: Mention the type that can't be encoded. (issue #7802)
15500Files: src/json.c, src/errors.h, src/testdir/test_json.vim
15501
15502Patch 8.2.2489
15503Problem: current buffer is wrong after deletebufline() fails to delete a
15504 line in another buffer.
15505Solution: Restore the current buffer.
15506Files: src/evalbuffer.c, src/testdir/test_bufline.vim
15507
15508Patch 8.2.2490
15509Problem: 'wrap' option is always reset when starting diff mode.
15510Solution: Add the "followwrap" item in 'diffopt'. (Rick Howe, closes #7797)
15511Files: runtime/doc/diff.txt, runtime/doc/options.txt, src/diff.c,
15512 src/testdir/test_diffmode.vim
15513
15514Patch 8.2.2491
15515Problem: Popup window for text property may show in first screen line.
15516Solution: If the text position is invisible do not show the popup window.
15517 (closes #7807)
15518Files: src/popupwin.c, src/testdir/test_popupwin.vim,
15519 src/testdir/dumps/Test_popup_prop_not_visible_01.dump,
15520 src/testdir/dumps/Test_popup_prop_not_visible_02.dump,
15521 src/testdir/dumps/Test_popup_prop_not_visible_03.dump
15522
15523Patch 8.2.2492
15524Problem: Command line buffer name cannot be translated.
15525Solution: Add _(). (Gabriel Dupras, closes #7812)
15526Files: src/ex_getln.c
15527
15528Patch 8.2.2493
15529Problem: Text property for text left of window shows up.
15530Solution: Check if the text property ends before the current column.
15531 (closes #7806)
15532Files: src/drawline.c, src/testdir/test_textprop.vim,
15533 src/testdir/dumps/Test_textprop_nowrap_01.dump,
15534 src/testdir/dumps/Test_textprop_nowrap_02.dump
15535
15536Patch 8.2.2494
15537Problem: ":rviminfo!" clears most of oldfiles.
15538Solution: Add VIF_ONLY_CURBUF to read_viminfo(). (closes #1781)
15539Files: src/viminfo.c, src/vim.h
15540
15541Patch 8.2.2495
15542Problem: Text jumps up and down when moving the cursor in a small window
15543 with wrapping text and 'scrolloff' set.
15544Solution: Adjust the computation of w_skipcol. (partly by Ghjuvan Lacambre,
15545 closes #7813)
15546Files: src/move.c, src/testdir/test_breakindent.vim
15547
15548Patch 8.2.2496 (after 8.2.2495)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000015549Problem: Insufficient testing for text jumping fix.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000015550Solution: Add another test case.
15551Files: src/testdir/test_breakindent.vim
15552
15553Patch 8.2.2497
15554Problem: No error when using more than one character for a register name.
15555Solution: In Vim9 script check for a single character string. (closes #7814)
15556 Fix that VAR_BOOL and VAR_SPECIAL are not considered equal.
15557Files: src/errors.h, src/evalfunc.c, src/typval.c,
15558 src/testdir/test_vim9_builtin.vim
15559
15560Patch 8.2.2498
15561Problem: No test for what 8.2.2494 fixes.
15562Solution: Add a simple change to test the fix. (closes #7818)
15563Files: src/testdir/test_viminfo.vim
15564
15565Patch 8.2.2499
15566Problem: "vim -g --version" does not redirect output.
15567Solution: Reset gui.starting when showing version info. (closes #7815)
15568Files: src/main.c, src/testdir/test_version.vim
15569
15570Patch 8.2.2500 (after 8.2.2499)
15571Problem: Build fails without the GUI feature.
15572Solution: Add #ifdef.
15573Files: src/main.c
15574
15575Patch 8.2.2501
15576Problem: Not always clear where an error is reported.
15577Solution: Add the where_T structure and pass it around. (closes #7796)
15578Files: src/structs.h, src/vim9type.c, src/proto/vim9type.pro,
15579 src/errors.h, src/evalvars.c, src/proto/evalvars.pro, src/eval.c,
15580 src/proto/eval.pro, src/vim9execute.c, src/vim9script.c,
15581 src/proto/vim9script.pro, src/dict.c, src/list.c,
15582 src/vim9compile.c, src/testdir/test_vim9_assign.vim
15583
15584Patch 8.2.2502
15585Problem: A few github actions are failing.
15586Solution: Install setuptools-rust. (closes #7823)
15587Files: .github/workflows/ci.yml
15588
15589Patch 8.2.2503
15590Problem: Vim9: a caught error may leave something on the stack.
15591Solution: Drop items from the stack if needed. (closes #7826)
15592Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
15593
15594Patch 8.2.2504
15595Problem: Vim9: crash when using an argument from a closure.
15596Solution: Check if gen_load_outer is NULL. (closes #7821)
15597Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
15598
15599Patch 8.2.2505
15600Problem: Vim9: crash after defining function with invalid return type.
15601Solution: Clear function growarrays. Fix memory leak.
15602Files: src/userfunc.c, src/testdir/test_vim9_func.vim
15603
15604Patch 8.2.2506
15605Problem: Vim9: :continue does not work correctly in a :try block
15606Solution: Add the TRYCLEANUP instruction. (closes #7827)
15607Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
15608 src/testdir/test_vim9_script.vim,
15609 src/testdir/test_vim9_disassemble.vim
15610
15611Patch 8.2.2507
15612Problem: Github build may fail if Ubuntu 20.04 is used. Installing rust is
15613 not needed.
15614Solution: Specify ubuntu-18.04 instead of latest. Update "pip" instead of
15615 installing rust. (Ozaki Kiichi, closes #7820)
15616Files: .github/workflows/ci.yml
15617
15618Patch 8.2.2508
15619Problem: Cannot change the character displayed in non existing lines.
15620Solution: Add the "eob" item to 'fillchars'. (closes #7832, closes #3820)
15621Files: runtime/doc/options.txt, runtime/doc/todo.txt,
15622 runtime/doc/windows.txt, src/drawscreen.c, src/globals.h,
15623 src/optiondefs.h, src/screen.c, src/testdir/test_display.vim
15624
15625Patch 8.2.2509
15626Problem: Tests fail on s390 build.
15627Solution: Initialize trycmd_T.
15628Files: src/vim9execute.c
15629
15630Patch 8.2.2510
15631Problem: Internal error when popup with mask is zero height or width.
15632Solution: Bail out if width or height is zero. (closes #7831)
15633Files: src/popupwin.c, src/testdir/test_popupwin.vim
15634
15635Patch 8.2.2511
15636Problem: Vim9: cannot use Vim9 script syntax in some places.
15637Solution: Add the :vim9cmd command modifier. Incompatible: Makes ":vim9"
15638 mean ":vim9cmd" instead of ":vim9script".
15639Files: runtime/doc/vim9.txt, runtime/doc/repeat.txt, src/ex_docmd.c,
15640 src/ex_cmds.h, src/structs.h, src/ex_cmdidxs.h, src/errors.h,
15641 src/testdir/test_vim9_cmd.vim, src/testdir/test_cmdline.vim,
15642 src/testdir/dumps/Test_wildmenu_1.dump,
15643 src/testdir/dumps/Test_wildmenu_2.dump,
15644 src/testdir/dumps/Test_wildmenu_3.dump,
15645 src/testdir/dumps/Test_wildmenu_4.dump,
15646 src/testdir/test_quickfix.vim
15647
15648Patch 8.2.2512
15649Problem: Vim9: compiling error test sometimes fails.
15650Solution: use WaitForAssert() instead of sleeping for a bit. (Dominique
15651 Pellé, closes #7837)
15652Files: src/testdir/term_util.vim, src/testdir/test_vim9_func.vim,
15653 src/testdir/test_vim9_script.vim
15654
15655Patch 8.2.2513 (after 8.2.2511)
15656Problem: Vim9: missing part of :vim9cmd change.
15657Solution: Use command modifier in in_vim9script().
15658Files: src/vim9script.c
15659
15660Patch 8.2.2514 (after 8.2.2511)
15661Problem: Vim9: build error in tiny version.
15662Solution: Add #ifdef.
15663Files: src/ex_docmd.c
15664
15665Patch 8.2.2515
15666Problem: Memory access error when truncating an empty message.
15667Solution: Check for an empty string. (Dominique Pellé, closes #7841)
15668Files: src/message.c, src/message_test.c
15669
15670Patch 8.2.2516
15671Problem: Test failure on s390. (analyses by James McCoy)
15672Solution: Only set the try_finally label when not skipping.
15673Files: src/vim9compile.c
15674
15675Patch 8.2.2517
15676Problem: Vim9: fix for s390 not tested on other systems.
15677Solution: Add a test.
15678Files: src/testdir/test_vim9_script.vim
15679
15680Patch 8.2.2518
15681Problem: 'listchars' should be window-local.
15682Solution: Make 'listchars' global-local. (Yegappan Lakshmanan, Marco Hinz,
15683 closes #5206, closes #7850)
15684Files: runtime/doc/options.txt, src/buffer.c, src/charset.c,
15685 src/drawline.c, src/drawscreen.c, src/evalfunc.c, src/globals.h,
15686 src/indent.c, src/message.c, src/misc1.c, src/option.c,
15687 src/option.h, src/optiondefs.h, src/optionstr.c,
15688 src/proto/screen.pro, src/screen.c, src/structs.h,
15689 src/testdir/test_listchars.vim, src/testdir/test_listlbr.vim
15690
15691Patch 8.2.2519
15692Problem: Vim9: no reason to keep strange Vi behavior.
15693Solution: ":3" and ":3|" both go to line 3. ":|" does not print the line.
15694 (closes #7840)
15695Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
15696
15697Patch 8.2.2520
15698Problem: Missing tests for 'listchars'.
15699Solution: Add a few more checks. (Yegappan Lakshmanan, closes #7854)
15700Files: src/testdir/test_listchars.vim
15701
15702Patch 8.2.2521
15703Problem: Some compilers can't handle pointer initialization. (John
15704 Marriott)
15705Solution: Use a local struct and assign it afterwards.
15706Files: src/screen.c
15707
15708Patch 8.2.2522
15709Problem: Beancount filetype not recognized.
15710Solution: Add a detection rule. (Brian Ryall, closes #7859)
15711Files: runtime/filetype.vim, src/testdir/test_filetype.vim
15712
15713Patch 8.2.2523
15714Problem: Svelte filetype not recognized.
15715Solution: Add a detection rule. (Brian Ryall, closes #7858)
15716Files: runtime/filetype.vim, src/testdir/test_filetype.vim
15717
15718Patch 8.2.2524
15719Problem: Cannot change the characters displayed in the foldcolumn.
15720Solution: Add fields to 'fillchars'. (Yegappan Lakshmanan, Matthieu Coudron,
15721 closes #7860)
15722Files: runtime/doc/options.txt, src/globals.h, src/mouse.c, src/screen.c,
15723 src/testdir/test_display.vim
15724
15725Patch 8.2.2525
15726Problem: Vim9: only local variables checked for a name.
15727Solution: Also check arguments and script variables. (closes #7838)
15728Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
15729 src/testdir/test_vim9_cmd.vim
15730
15731Patch 8.2.2526 (after 8.2.2525)
15732Problem: Build failure.
15733Solution: Change lookup_scriptvar() arguments.
15734Files: src/evalvars.c, src/proto/evalvars.pro
15735
15736Patch 8.2.2527
15737Problem: Vim9: lambda return type is not determined at script level.
15738Solution: Compile the lambda to get the return type. (closes #7843)
15739Files: src/eval.c, src/vim.h, src/vim9.h,
15740 src/testdir/test_vim9_assign.vim
15741
15742Patch 8.2.2528
15743Problem: Vim9: crash when compiling lambda fails.
15744Solution: Bail out after compilation fails. (closes #7862)
15745Files: src/eval.c, src/testdir/test_vim9_assign.vim
15746
15747Patch 8.2.2529
15748Problem: Vim9: Not possible to use legacy and Vim9 script in one file.
15749Solution: Vim9: allow for "if false" before :vim9script. (closes #7851)
15750Files: runtime/doc/vim9.txt, src/ex_docmd.c,
15751 src/testdir/test_vim9_script.vim
15752
15753Patch 8.2.2530
15754Problem: Vim9: not enough testing for profiling.
15755Solution: Add a test with nested functions and a lambda. Fix profiling
15756 for calling a compiled function.
15757Files: src/profiler.c, src/proto/profiler.pro, src/userfunc.c,
15758 src/vim9execute.c, src/testdir/test_profile.vim
15759
15760Patch 8.2.2531
15761Problem: Vim9: the :k command is obscure.
15762Solution: Disallow using :k, can use :mark instead. (closes #7874)
15763Files: runtime/doc/vim9.txt, src/ex_docmd.c, src/vim9script.c,
15764 src/vim9compile.c, src/ex_cmds.h, src/testdir/test_vim9_script.vim
15765
15766Patch 8.2.2532
15767Problem: Vim9: confusing error if :k is used with a range.
15768Solution: Give an error about the range. (issue #7874)
15769Files: src/vim9script.c, src/vim9compile.c,
15770 src/testdir/test_vim9_script.vim
15771
15772Patch 8.2.2533
15773Problem: Vim9: cannot use a range with :unlet.
15774Solution: Implement ISN_UNLETRANGE.
15775Files: src/errors.h, src/eval.c, src/evalvars.c, src/list.c,
15776 src/proto/evalvars.pro, src/proto/list.pro, src/vim9.h,
Bram Moolenaar47c532e2022-03-19 15:18:53 +000015777 src/vim9compile.c, src/vim9execute.c,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000015778 src/testdir/test_vim9_assign.vim
15779
15780Patch 8.2.2534
15781Problem: Missing test coverage.
15782Solution: Improve test coverage for completion with different encodings,
15783 mapset(), and term function failures. (Dominique Pellé,
15784 closes #7877)
15785Files: src/testdir/test_edit.vim, src/testdir/test_maparg.vim,
15786 src/testdir/test_terminal3.vim
15787
15788Patch 8.2.2535
15789Problem: MS-Windows: cannot run all vim9 tests.
15790Solution: Make test_vim9 target work.
15791Files: src/Make_mvc.mak
15792
15793Patch 8.2.2536
15794Problem: Coverity complains about unchecked return value.
15795Solution: Add (void).
15796Files: src/userfunc.c
15797
15798Patch 8.2.2537
15799Problem: Vim9: crash when map() fails.
15800Solution: Clear typval before using it. (closes #7884)
15801Files: src/list.c, src/testdir/test_vim9_builtin.vim
15802
15803Patch 8.2.2538
15804Problem: Crash when using Python list iterator.
15805Solution: Increment the list reference count. (closes #7886)
15806Files: src/if_py_both.h, src/testdir/test_python3.vim
15807
15808Patch 8.2.2539
15809Problem: Vim9: return from finally block causes a hang.
15810Solution: Store both the finally and endtry indexes. (closes #7885)
15811Files: src/vim9execute.c, src/vim9compile.c, src/vim9.h,
15812 src/testdir/test_vim9_script.vim,
Bram Moolenaar47c532e2022-03-19 15:18:53 +000015813
Bram Moolenaarc51cf032022-02-26 12:25:45 +000015814Patch 8.2.2540
15815Problem: Vim9: no error for using script var name for argument.
15816Solution: Check for this error. (closes #7868)
15817Files: src/userfunc.c, src/vim9compile.c, src/proto/vim9compile.pro,
15818 src/testdir/test_vim9_func.vim
15819
15820Patch 8.2.2541
15821Problem: Popup_create() does not allow boolean for "cursorline".
15822Solution: Use dict_get_bool(). (issue #7869)
15823Files: src/popupwin.c, src/testdir/test_popupwin.vim
15824
15825Patch 8.2.2542
15826Problem: Highlight of char beyond line end is not correct. (Chuan Wei Foo)
15827Solution: Fix counting NUL as one cell. Draw one more character if the EOL
15828 is part of the match. (closes #7883)
15829Files: src/match.c, src/testdir/test_search.vim,
15830 src/testdir/dumps/Test_hlsearch_1.dump,
15831 src/testdir/dumps/Test_hlsearch_2.dump
15832
15833Patch 8.2.2543
15834Problem: Vim9: a return inside try/catch does not restore exception state
15835 properly.
15836Solution: When there is no ":finally" jump to ":endtry". (closes #7882)
15837Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
15838
15839Patch 8.2.2544
15840Problem: Vim9: error for argument when checking for lambda.
15841Solution: Respect the skip flag. (closes #7887)
15842Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
15843
15844Patch 8.2.2545
15845Problem: Errors and crash when terminal window is zero height. (Leonid V.
15846 Fedorenchik)
15847Solution: Do not resize when width or height is zero. (closes #7890)
15848Files: src/terminal.c, src/testdir/test_terminal.vim
15849
15850Patch 8.2.2546
15851Problem: Typo in mouse key name.
15852Solution: Fix the typo. (issue #4725)
15853Files: src/misc2.c
15854
15855Patch 8.2.2547
15856Problem: "%" command not accurate for big files.
15857Solution: Make it more accurate for files up to 21M lines. (Dominique Pellé,
15858 closes #7889)
15859Files: src/normal.c
15860
15861Patch 8.2.2548
15862Problem: May get stuck in the cmdline window using :normal.
15863Solution: Have nv_esc() return K_IGNORE.
15864Files: src/normal.c
15865
15866Patch 8.2.2549
15867Problem: Crash after using "g:" in a for loop.
15868Solution: Increment the reference count. (closes #7892)
15869Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
15870
15871Patch 8.2.2550
15872Problem: Signal stack size is wrong with latest glibc 2.34.
15873Solution: Use sysconf(_SC_SIGSTKSZ) if available. (Zdenek Dohnal, closes
15874 #7895)
15875Files: src/config.h.in, src/configure.ac, src/os_unix.c,
15876 src/auto/configure
15877
15878Patch 8.2.2551
15879Problem: MS-Windows: colors test file is not installed.
15880Solution: Also copy runtime/colors/tools. (Ken Takata, closes #7902)
15881Files: nsis/gvim.nsi
15882
15883Patch 8.2.2552
15884Problem: Vim9: no reason to consider "{{{{{{{{" a command.
15885Solution: Just use "{". (issue #7904)
15886Files: src/ex_cmds.h
15887
15888Patch 8.2.2553
15889Problem: Vim9: Cannot put "|" after "{".
15890Solution: Add the EX_TRLBAR flag. (issue #7904)
15891Files: src/ex_cmds.h, src/ex_eval.c
15892
15893Patch 8.2.2554
15894Problem: Vim9: exporting a final is not tested.
15895Solution: Add a test.
15896Files: src/testdir/test_vim9_script.vim
15897
15898Patch 8.2.2555
15899Problem: Vim9: missing test for 8.2.2553.
15900Solution: Add a simple test.
15901Files: src/testdir/test_vim9_script.vim
15902
15903Patch 8.2.2556
15904Problem: Vim9: :import with "as" not fully supported.
15905Solution: Implement "as" for more cases.
15906Files: src/vim9script.c, src/testdir/test_vim9_script.vim
15907
15908Patch 8.2.2557
15909Problem: Compiler warning for shadowed variable.
15910Solution: Declare "p" only once.
15911Files: src/vim9script.c
15912
15913Patch 8.2.2558
15914Problem: No error if a lambda argument shadows a variable.
15915Solution: Check that the argument name shadows a local, argument or script
15916 variable. (closes #7898)
15917Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
15918 src/vim9script.c, src/errors.h, src/testdir/test_vim9_func.vim,
15919 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim
15920
15921Patch 8.2.2559
15922Problem: MS-Windows: guifont test fails on Windows XP.
15923Solution: Check windowsversion().
15924Files: src/testdir/test_gui.vim
15925
15926Patch 8.2.2560
15927Problem: Setting 'winminheigt' does not take tabline into account.
15928Solution: Subtract the tabline from the available height. (closes #7899)
15929Files: src/window.c, src/testdir/test_options.vim
15930
15931Patch 8.2.2561
15932Problem: Not all textprop code is covered by tests.
15933Solution: Add a few more test cases. (Dominique Pellé, closes #7908)
15934Files: src/testdir/test_textprop.vim
15935
15936Patch 8.2.2562
Bram Moolenaar1588bc82022-03-08 21:35:07 +000015937Problem: GUI: star register changed when 'clipboard' is "unnamedplus". (Ingo
Bram Moolenaarc51cf032022-02-26 12:25:45 +000015938 Karkat)
15939Solution: Do not change the star register when 'clipboard' contains
15940 "unnamedplus" and not "unnamed". (closes #1516)
15941Files: src/register.c
15942
15943Patch 8.2.2563
15944Problem: Cannot use multibyte characters for folding in 'fillchars'.
15945Solution: Port pull request 11568 to Vim. (Yegappan Lakshmanan,
15946 closes #7924)
15947Files: src/drawline.c, src/drawscreen.c, src/macros.h,
15948 src/proto/screen.pro, src/screen.c, src/testdir/test_fold.vim,
15949 src/testdir/test_profile.vim
15950
15951Patch 8.2.2564
15952Problem: Focus events end Insert mode if 'esckeys' is not set.
15953Solution: Do not enable focus events when 'esckeys' is off. (closes #7926)
15954Files: src/term.c
15955
15956Patch 8.2.2565
15957Problem: Vim9: "..=" not always recognized.
15958Solution: Do not consider "..=" to be string concatenation. (closes #7905)
15959Files: src/eval.c, src/testdir/test_vim9_assign.vim
15960
15961Patch 8.2.2566
15962Problem: Vim9: Function name is not recognized.
15963Solution: Change lookup_scriptvar() to also find function names.
15964 (closes #7770)
15965Files: src/vim9script.c, src/evalvars.c, src/proto/evalvars.pro,
15966 src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
15967
15968Patch 8.2.2567
15969Problem: Vim9: no error if variable is defined for existing function.
15970Solution: Check if name isn't already in use. (closes #7897)
15971Files: src/evalvars.c, src/testdir/test_vim9_script.vim
15972
15973Patch 8.2.2568
15974Problem: Second time a preview popup is opened highlight is not set.
15975 (Gabriel Dupras)
15976Solution: Apply 'previewpopup' after getting the file. (closes #7928)
15977Files: src/tag.c, src/testdir/test_popupwin.vim,
15978 src/testdir/dumps/Test_popupwin_previewpopup_2.dump,
15979 src/testdir/dumps/Test_popupwin_previewpopup_3.dump,
15980 src/testdir/dumps/Test_popupwin_previewpopup_4.dump,
15981 src/testdir/dumps/Test_popupwin_previewpopup_5.dump
15982
15983Patch 8.2.2569
15984Problem: 'fillchars' "stl" and "stlnc" items must be single byte.
15985Solution: Accept multi-byte characters. (Christian Wellenbrock, Yegappan
15986 Lakshmanan, closes #7927)
15987Files: runtime/doc/options.txt, src/buffer.c, src/macros.h, src/screen.c,
15988 src/testdir/test_fold.vim, src/testdir/test_statusline.vim
15989
15990Patch 8.2.2570
15991Problem: Tests fail when run as root.
15992Solution: Add a comment mentioning the expected failure. (issue #7919)
15993Files: src/testdir/test_edit.vim, src/testdir/test_excmd.vim,
15994 src/testdir/test_help.vim, src/testdir/test_writefile.vim
15995
15996Patch 8.2.2571
15997Problem: Test may leave file behind.
15998Solution: Delete the temporary file. Don't profile in the running Vim
15999 instance.
16000Files: src/testdir/test_quickfix.vim, src/testdir/test_profile.vim
16001
16002Patch 8.2.2572
16003Problem: Vim9: crash when getting the types for a legacy function.
16004Solution: Initialize the type list growarray. (closes #7929)
16005Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
16006
16007Patch 8.2.2573
16008Problem: Vim9: using invalid pointer for error message.
16009Solution: Use the right pointer. (closes #7921)
16010Files: src/eval.c, src/testdir/test_vim9_expr.vim
16011
16012Patch 8.2.2574
16013Problem: Vim9: crash when calling partial with wrong function.
16014Solution: Check argument types of called function. (closes #7912)
16015Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
16016
16017Patch 8.2.2575
16018Problem: Vim9: a function name with "->" in the next line doesn't work.
16019Solution: Recognize a function name by itself. (closes #7770)
16020Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
16021
16022Patch 8.2.2576
16023Problem: Vim9: defining a :func function checks for white space after a
16024 comma in the arguments.
16025Solution: Only check for white space in a :def function. (closes #7930)
16026Files: src/userfunc.c, src/testdir/test_vim9_func.vim
16027
16028Patch 8.2.2577
16029Problem: Compiler warning for type conversion.
16030Solution: Add a typecast. (Mike Williams)
16031Files: src/drawline.c
16032
16033Patch 8.2.2578
16034Problem: Lua cannot handle a passed in lambda.
16035Solution: Handle VAR_PARTIAL. (Prabir Shrestha, closes #7937, closes #7936)
16036Files: src/if_lua.c, src/testdir/test_lua.vim
16037
16038Patch 8.2.2579
16039Problem: Vim9: crash in garbagecollect after for loop.
16040Solution: Do not set a reference in script item when the name was cleared.
16041 (closes #7935)
16042Files: src/evalvars.c
16043
16044Patch 8.2.2580
16045Problem: Vim9: checking vararg type is wrong when function is auto-loaded.
16046Solution: Use the member type. (closes #7933)
16047Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
16048
16049Patch 8.2.2581
16050Problem: Vim9: sourcing Vim9 script triggers a redraw.
16051Solution: Do not let setting/restoring 'cpoptions' cause a redraw.
16052 (closes #7920)
16053Files: src/vim.h, src/option.c, src/optionstr.c, src/scriptfile.c,
16054 src/vim9script.c, src/testdir/test_vim9_script.vim,
16055 src/testdir/dumps/Test_vim9_no_redraw.dump
16056
16057Patch 8.2.2582 (after 8.2.2581)
16058Problem: Vim9: screendump test fails on MS-Windows.
16059Solution: Use :function instead of :def.
16060Files: src/testdir/test_vim9_script.vim
16061
16062Patch 8.2.2583
16063Problem: Vim9: cannot compare result of getenv() with null.
16064Solution: Make the return type of getenv() "any". (closes #7943)
16065Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
16066
16067Patch 8.2.2584
16068Problem: Vim9: type error for assigning the result of list concatenation to
16069 a list.
16070Solution: Do not consider concatenation result in a constant. (closes #7942)
16071Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
16072
16073Patch 8.2.2585
16074Problem: Vim9: illegal memory access.
16075Solution: Check byte right after "null", not one more.
16076Files: src/vim9compile.c
16077
16078Patch 8.2.2586
16079Problem: Process id may be invalid.
16080Solution: Use sysinfo.uptime to check for recent reboot. (suggested by Hugo
16081 van der Sanden, closes #7947)
16082Files: src/configure.ac, src/auto/configure, src/config.h.in,
16083 src/memline.c, src/testing.c, src/globals.h,
16084 src/testdir/test_recover.vim
16085
16086Patch 8.2.2587 (after 8.2.2586)
16087Problem: Recover test fails on FreeBSD.
16088Solution: Check for Linux.
16089Files: src/testdir/check.vim, src/testdir/test_recover.vim
16090
16091Patch 8.2.2588 (after 8.2.2586)
16092Problem: Build failure with tiny features.
16093Solution: Add #ifdef. Run recover test separately.
16094Files: src/memline.c, src/testdir/Make_all.mak, src/testdir/test_alot.vim
16095
16096Patch 8.2.2589 (after 8.2.2586)
16097Problem: Recover test hangs in the GUI.
16098Solution: Add g:skipped_reason to skip a _nocatch_ test.
16099Files: src/testdir/runtest.vim, src/testdir/test_recover.vim
16100
16101Patch 8.2.2590
16102Problem: Vim9: default argument value may cause internal error.
16103Solution: Hide later function arguments when compiling the expression.
16104 (closes #7948)
16105Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
16106
16107Patch 8.2.2591
16108Problem: Poke files are not recognized.
16109Solution: Add a filetype entry. (Matt Ihlenfield)
16110Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16111
16112Patch 8.2.2592
16113Problem: Code coverage could be improved.
16114Solution: Add a few more tests. (Dominique Pellé, closes #7957)
16115Files: src/testdir/test_fileformat.vim, src/testdir/test_normal.vim,
16116 src/testdir/test_sleep.vim, src/testdir/test_textformat.vim,
16117 src/testdir/test_viminfo.vim
16118
16119Patch 8.2.2593
16120Problem: List of distributed files is incomplete.
16121Solution: Add a file and rename another.
16122Files: Filelist
16123
16124Patch 8.2.2594
16125Problem: Alternate buffer added to session file even when it's hidden.
16126Solution: Check the 'buflisted' option. (closes #7951)
16127Files: src/session.c, src/testdir/test_mksession.vim
16128
16129Patch 8.2.2595
16130Problem: Setting 'winminheight' may cause 'lines' to change.
16131Solution: Also take minimal height of other tabpages into account. (#7899)
16132Files: src/window.c, src/testdir/test_options.vim
16133
16134Patch 8.2.2596
16135Problem: :doautocmd may confuse scripts listening to WinEnter.
16136Solution: Do the current buffer last. (closes #7958)
16137Files: src/autocmd.c, src/testdir/test_autocmd.vim
16138
16139Patch 8.2.2597
16140Problem: Vim9: "import * as" does not work at script level.
16141Solution: Implement using an imported namespace.
16142Files: src/vim.h, src/eval.c, src/evalvars.c, src/proto/evalvars.pro,
16143 src/vim9execute.c, src/errors.h, src/vim9script.c,
16144 src/proto/vim9script.pro, src/testdir/test_vim9_script.vim
16145
16146Patch 8.2.2598
16147Problem: Vim9: :open does not need to be supported.
16148Solution: Do not support :open in Vim9 script.
16149Files: src/ex_docmd.c, src/vim9script.c, src/testdir/test_vim9_script.vim
16150
16151Patch 8.2.2599 (after 8.2.2597)
16152Problem: Build failure.
16153Solution: Add missing change.
16154Files: src/vim9compile.c
16155
16156Patch 8.2.2600
16157Problem: Vim9: crash when putting an unknown type in a dictionary.
16158 (Yegappan Lakshmanan)
16159Solution: Handle a NULL type pointer.
16160Files: src/vim9type.c, src/testdir/test_vim9_builtin.vim
16161
16162Patch 8.2.2601
16163Problem: Memory usage test often fails on FreeBSD.
16164Solution: Increase multiplier for upper limit.
16165Files: src/testdir/test_memory_usage.vim
16166
16167Patch 8.2.2602
16168Problem: Vim9: continue doesn't work if :while is very first command.
16169 (Yegappan Lakshmanan)
16170Solution: Add one to the continue instruction index.
16171Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
16172
16173Patch 8.2.2603
16174Problem: Vim9: no effect if user command is also a function.
16175Solution: Check for paren following. (closes #7960)
16176Files: src/evalvars.c, src/proto/evalvars.pro, src/ex_docmd.c,
16177 src/proto/ex_docmd.pro, src/vim9compile.c,
16178 src/testdir/test_vim9_cmd.vim
16179
16180Patch 8.2.2604
16181Problem: GUI-specific command line arguments not tested.
16182Solution: Add tests for several arguments. (Dominique Pellé, closes #7962)
16183Files: src/testdir/test_startup.vim
16184
16185Patch 8.2.2605
16186Problem: Vim9: string index and slice does not include composing chars.
16187Solution: Include composing characters. (issue #6563)
16188Files: runtime/doc/vim9.txt, src/vim9execute.c,
16189 src/testdir/test_vim9_expr.vim
16190
16191Patch 8.2.2606
16192Problem: strchars() defaults to counting composing characters.
16193Solution: Add strcharlen() which ignores composing characters.
16194Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
16195 src/testdir/test_utf8.vim
16196
16197Patch 8.2.2607
16198Problem: strcharpart() cannot include composing characters.
16199Solution: Add the {skipcc} argument.
16200Files: runtime/doc/eval.txt, src/evalfunc.c,
16201 src/testdir/test_expr_utf8.vim
16202
16203Patch 8.2.2608
16204Problem: Character input not fully tested.
16205Solution: Add more tests. (Yegappan Lakshmanan, closes #7963)
16206Files: src/testdir/test_functions.vim, src/testdir/test_messages.vim,
16207 src/testdir/test_paste.vim, src/testdir/test_registers.vim,
16208 src/testdir/test_undo.vim
16209
16210Patch 8.2.2609
16211Problem: Test disabled on MS-Windows even though it should work.
16212Solution: Restore the condition for skipping the test. (Ken Takata,
16213 closes #7970)
16214Files: src/testdir/test_startup.vim
16215
16216Patch 8.2.2610
16217Problem: Mouse click test fails when using remote connection.
16218Solution: Use a larger 'mousetime'. (Dominique Pellé, closes #7968)
16219Files: src/testdir/test_selectmode.vim
16220
16221Patch 8.2.2611
16222Problem: Conditions for startup tests are not exactly right.
16223Solution: Check for type of GUI instead of MS-Windows. (Ozaki Kiichi,
16224 closes #7976)
16225Files: src/main.c, src/testdir/check.vim, src/testdir/test_startup.vim
16226
16227Patch 8.2.2612
16228Problem: col('.') may get outdated column value.
16229Solution: Add a note to the help how to make this work and add a test for
16230 it. (closes #7971)
16231Files: runtime/doc/map.txt, src/testdir/test_mapping.vim
16232
16233Patch 8.2.2613 (after 8.2.2612)
16234Problem: New test throws exception.
16235Solution: Adjust the function cleanup.
16236Files: src/testdir/test_mapping.vim
16237
16238Patch 8.2.2614
16239Problem: Vim9: function is deleted while executing.
16240Solution: increment the call count, when more than zero do not delete the
16241 function but mark it as dead. (closes #7977)
16242Files: src/vim9execute.c, src/userfunc.c,
16243 src/testdir/test_vim9_script.vim
16244
16245Patch 8.2.2615 (after 8.2.2614)
16246Problem: Test is sourcing the wrong file.
16247Solution: Correct the file name.
16248Files: src/testdir/test_vim9_script.vim
16249
16250Patch 8.2.2616
16251Problem: Vim9: if 'cpo' is changed in Vim9 script it may be restored.
16252Solution: Apply the changes to 'cpo' to the restored value.
16253Files: runtime/doc/vim9.txt, src/scriptfile.c,
16254 src/testdir/test_vim9_script.vim
16255
16256Patch 8.2.2617
16257Problem: Vim9: script variable in a block scope not found by a nested
16258 function.
16259Solution: Copy the block scope IDs before compiling the function.
16260Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
16261 src/testdir/test_vim9_disassemble.vim
16262
16263Patch 8.2.2618
16264Problem: Vim9: cannot use a normal list name to store function refs.
16265Solution: Allow a lower case name if it is indexed.
16266Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
16267
16268Patch 8.2.2619
16269Problem: Vim9: no test for return type of lambda.
16270Solution: Add a test.
16271Files: src/testdir/test_vim9_func.vim
16272
16273Patch 8.2.2620
16274Problem: Vim9: Using #{ for a dictionary gives strange errors.
16275Solution: Give an error when using #{ for a comment after a command.
16276Files: src/vim9compile.c, src/vim9script.c, src/proto/vim9script.pro,
16277 src/errors.h, src/testdir/test_vim9_expr.vim,
16278 src/testdir/test_vim9_script.vim
16279
16280Patch 8.2.2621
16281Problem: typval2type() cannot handle recursive structures.
16282Solution: Use copyID. (closes #7979)
16283Files: src/list.c, src/vim9script.c, src/vim9type.c,
16284 src/proto/vim9type.pro, src/testdir/test_vimscript.vim
16285
16286Patch 8.2.2622
16287Problem: GTK: error when starting up and -geometry is given. (Dominique
16288 Pellé)
16289Solution: Use another function to get the monitor if the window has not been
16290 created yet. (closes #7978)
16291Files: src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro, src/gui_beval.c,
16292 src/gui_xim.c
16293
16294Patch 8.2.2623
16295Problem: Some tests fail when run as root.
16296Solution: Use CheckNotRoot.
16297Files: src/testdir/test_edit.vim, src/testdir/test_excmd.vim,
16298 src/testdir/test_help.vim, src/testdir/test_writefile.vim
16299
16300Patch 8.2.2624
16301Problem: Atom files not recognized.
16302Solution: Recognize .atom as XML. (Kivin Locke, closes #7986)
16303Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16304
16305Patch 8.2.2625
16306Problem: Rss files not recognized.
16307Solution: Recognize .rss as XML. (Kivin Locke, closes #7987)
16308Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16309
16310Patch 8.2.2626
16311Problem: GTK3: error when starting up and -geometry is given. (Dominique
16312 Pellé)
16313Solution: Use another function to get the monitor if the window has not been
16314 created yet. (closes #7978)
16315Files: src/gui_gtk_x11.c
16316
16317Patch 8.2.2627
16318Problem: No need to check for BSD after checking for not root.
16319Solution: Remove CheckNotBSD. (Ozaki Kiichi, closes #7989)
16320Files: src/testdir/test_excmd.vim, src/testdir/test_help.vim,
16321 src/testdir/check.vim
16322
16323Patch 8.2.2628
16324Problem: Vim9: #{ can still be used at the script level.
16325Solution: Give an error for #{ like in a :def function.
16326Files: src/eval.c, src/ex_docmd.c, src/testdir/test_vim9_expr.vim
16327
16328Patch 8.2.2629
16329Problem: Vim9: error for #{{ is not desired.
16330Solution: Adjust the checks. (closes #7990)
16331Files: src/errors.h, src/vim9script.c, src/ex_docmd.c,
16332 src/testdir/test_vim9_expr.vim
16333
16334Patch 8.2.2630
16335Problem: Hard to see where a test gets stuck.
16336Solution: Print the executed test function. (Dominique Pellé, closes #7975)
16337Files: src/testdir/Makefile
16338
16339Patch 8.2.2631
16340Problem: Commands from winrestcmd() do not always work properly. (Leonid V.
16341 Fedorenchik)
16342Solution: Repeat the size commands twice. (closes #7988)
16343Files: src/evalwindow.c, src/testdir/test_window_cmd.vim
16344
16345Patch 8.2.2632
16346Problem: Not all command line arguments are tested.
16347Solution: Add tests for -D and -serverlist. (Dominique Pellé, closes #7992)
16348Files: src/testdir/test_clientserver.vim, src/testdir/test_startup.vim
16349
16350Patch 8.2.2633
16351Problem: Multi-byte 'fillchars' for folding do not show properly.
16352Solution: Handle multi-byte characters correctly. (Yegappan Lakshmanan,
16353 closes #7983, closes #7955)
16354Files: src/screen.c, src/testdir/test_fold.vim
16355
16356Patch 8.2.2634
16357Problem: 'tagfunc' does not indicate using a pattern.
16358Solution: Add the "r" flag. (Andy Massimino, closes #7982)
16359Files: runtime/doc/tagsrch.txt, src/tag.c, src/testdir/test_tagfunc.vim
16360
16361Patch 8.2.2635
16362Problem: Vim9: cannot define an inline function.
16363Solution: Make an inline function mostly work.
16364Files: src/userfunc.c, src/errors.h, src/vim9compile.c, src/misc2.c,
16365 src/proto/vim9compile.pro, src/testdir/test_vim9_expr.vim
16366
16367Patch 8.2.2636 (after 8.2.2635)
16368Problem: Memory leak when compiling inline function.
16369Solution: Free the prefetched line.
16370Files: src/userfunc.c, src/vim9compile.c, src/structs.h, src/globals.h,
16371 src/eval.c
16372
16373Patch 8.2.2637
16374Problem: prop_remove() causes a redraw even when nothing changed.
16375Solution: Only redraw if a property was removed. (Dominique Pellé)
16376Files: src/textprop.c
16377
16378Patch 8.2.2638
16379Problem: Cannot write a message to the terminal from the GUI.
16380Solution: Add :echoconsole and use it in the test runner. (issue #7975)
16381Files: runtime/doc/eval.txt, runtime/doc/index.txt, src/ex_cmds.h,
16382 src/ex_cmdidxs.h, src/eval.c, src/ui.c, src/proto/ui.pro,
16383 src/term.c, src/testdir/runtest.vim
16384
16385Patch 8.2.2639 (after 8.2.2638)
16386Problem: Build failure when fsync() is not available.
16387Solution: Add #ifdef.
16388Files: src/ui.c
16389
16390Patch 8.2.2640
16391Problem: screenstring() returns non-existing composing characters.
16392Solution: Only use composing characters if there is a base character.
16393Files: src/evalfunc.c, src/testdir/test_listchars.vim
16394
16395Patch 8.2.2641
16396Problem: Display test fails because of lacking redraw.
16397Solution: Add a redraw command.
16398Files: src/testdir/test_display.vim
16399
16400Patch 8.2.2642
16401Problem: Vim9: no clear error for wrong inline function.
16402Solution: Check for something following the "{".
16403Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
16404
16405Patch 8.2.2643
16406Problem: Various code not covered by tests.
16407Solution: Add a few more test. (Yegappan Lakshmanan, closes #7995)
16408Files: src/testdir/test_edit.vim, src/testdir/test_functions.vim,
16409 src/testdir/test_mapping.vim, src/testdir/test_termcodes.vim,
16410 src/testdir/test_undo.vim
16411
16412Patch 8.2.2644
16413Problem: prop_clear() causes a screen update even when nothing changed.
16414Solution: Only redraw when a property was cleared. (Dominique Pellé)
16415Files: src/textprop.c
16416
16417Patch 8.2.2645
16418Problem: Using inline function is not properly tested.
16419Solution: Add test cases, esp. for errors. Minor code improvements.
16420Files: src/userfunc.c, src/errors.h, src/testdir/test_vim9_expr.vim,
16421 src/testdir/test_vim9_func.vim
16422
16423Patch 8.2.2646
16424Problem: Vim9: error for not using string doesn't mention argument.
16425Solution: Add argument number.
16426Files: src/filepath.c, src/typval.c, src/proto/typval.pro, src/errors.h,
16427 src/mbyte.c, src/testdir/test_vim9_builtin.vim
16428
16429Patch 8.2.2647
16430Problem: Terminal test sometimes hangs.
16431Solution: Wait for the shell to display a prompt.
16432Files: src/testdir/test_terminal.vim
16433
16434Patch 8.2.2648
16435Problem: Terminal resize test sometimes hangs.
16436Solution: Wait for the shell to display a prompt and other output.
16437Files: src/testdir/test_terminal2.vim
16438
16439Patch 8.2.2649
16440Problem: Vim9: some wincmd arguments cause a white space error.
16441Solution: Insert a space before the count. (closes #8001)
16442Files: src/window.c, src/testdir/test_vim9_cmd.vim
16443
16444Patch 8.2.2650
16445Problem: Vim9: command modifiers not handled in nested function.
16446Solution: Keep function-local info in a structure and save it on the stack.
16447Files: src/vim9execute.c, src/vim9.h, src/testdir/test_vim9_func.vim
16448
16449Patch 8.2.2651
16450Problem: Vim9: restoring command modifiers happens after jump.
16451Solution: Move the restore instruction to before the jump. (closes #8006)
16452 Also handle for and while.
16453Files: src/vim9compile.c, src/vim9execute.c,
16454 src/testdir/test_vim9_disassemble.vim
16455
16456Patch 8.2.2652
16457Problem: Vim9: can use command modifier without an effect.
16458Solution: Give an error for a misplaced command modifier. Fix error message
16459 number.
16460Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
16461 src/ex_eval.c, src/testdir/test_vim9_cmd.vim,
16462 src/testdir/test_vim9_builtin.vim,
16463 src/testdir/test_vim9_disassemble.vim
16464
16465Patch 8.2.2653
16466Problem: Build failure.
16467Solution: Add missing changes.
16468Files: src/errors.h
16469
16470Patch 8.2.2654
16471Problem: Vim9: getting a character from a string can be slow.
16472Solution: Avoid a function call to get the character byte size. (#8000)
16473Files: src/vim9execute.vim
16474
16475Patch 8.2.2655
16476Problem: The -w command line argument doesn't work.
16477Solution: Don't set 'window' when set with the -w argument. (closes #8011)
16478Files: src/term.c, src/testdir/test_startup.vim
16479
16480Patch 8.2.2656
16481Problem: Some command line arguments and regexp errors not tested.
16482Solution: Add a few test cases. (Dominique Pellé, closes #8013)
16483Files: src/testdir/test_regexp_latin.vim, src/testdir/test_startup.vim
16484
16485Patch 8.2.2657
16486Problem: Vim9: error message for declaring variable in for loop.
16487Solution: Clear variables when entering block again. (closes #8012)
16488Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
16489
16490Patch 8.2.2658
16491Problem: :for cannot loop over a string.
16492Solution: Accept a string argument and iterate over its characters.
16493Files: runtime/doc/eval.txt, src/eval.c, src/vim9compile.c,
16494 src/vim9execute.c, src/errors.h, src/testdir/test_vimscript.vim,
16495 src/testdir/test_vim9_disassemble.vim,
16496 src/testdir/test_vim9_script.vim
16497
16498Patch 8.2.2659 (after 8.2.2658)
16499Problem: Eval test fails because for loop on string works.
16500Solution: Check looping over function reference fails.
16501Files: src/testdir/test_eval_stuff.vim
16502
16503Patch 8.2.2660
16504Problem: Vim9: no error for declaration with trailing text.
16505Solution: Give an error. (closes #8014)
16506Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
16507
16508Patch 8.2.2661
16509Problem: Leaking memory when looping over a string.
16510Solution: Free the memory.
16511Files: src/eval.c
16512
16513Patch 8.2.2662
16514Problem: There is no way to avoid some escape sequences.
16515Solution: Suppress escape sequences when the --not-a-term argument is used.
16516 (Gary Johnson)
16517Files: src/main.c, src/os_unix.c, src/testdir/test_startup.vim
16518
16519Patch 8.2.2663
16520Problem: Vim9: leaking memory when inline function has an error.
16521Solution: Free the partially allocated function.
16522Files: src/userfunc.c
16523
16524Patch 8.2.2664
16525Problem: Vim9: not enough function arguments checked for string.
16526Solution: Check in balloon functions. Refactor function arguments.
16527Files: src/typval.c, src/proto/typval.pro, src/filepath.c,
16528 src/evalfunc.c, src/mbyte.c, src/testdir/test_vim9_builtin.vim
16529
16530Patch 8.2.2665 (after 8.2.2664)
16531Problem: Test failures.
16532Solution: Check more specific feature. Add missing change.
16533Files: src/testdir/test_vim9_builtin.vim, src/evalbuffer.c
16534
16535Patch 8.2.2666
16536Problem: Vim9: not enough function arguments checked for string.
16537Solution: Check in ch_logfile(), char2nr() and others.
16538Files: src/channel.c, src/evalfunc.c, src/filepath.c, src/eval.c,
16539 src/testdir/test_vim9_builtin.vim
16540
16541Patch 8.2.2667
16542Problem: prop_find() cannot find item matching both id and type.
16543Solution: Add the "both" argument. (Naohiro Ono, closes #8019)
16544Files: runtime/doc/textprop.txt, src/testdir/test_textprop.vim,
16545 src/textprop.c
16546
16547Patch 8.2.2668
16548Problem: Vim9: omitting "call" for "confirm()" does not give an error.
16549Solution: Do not recognize a modifier followed by "(".
16550Files: src/ex_docmd.c, src/testdir/test_vim9_builtin.vim
16551
16552Patch 8.2.2669
16553Problem: Command line completion does not work after "vim9".
16554Solution: Include the "9". (Naohiro Ono, closes #8025)
16555Files: src/cmdexpand.c, src/ex_docmd.c, src/testdir/test_cmdline.vim
16556
16557Patch 8.2.2670
16558Problem: Vim9: error for append(0, text).
16559Solution: Check for negative number. (closes #8022)
16560Files: src/typval.c, src/testdir/test_vim9_builtin.vim
16561
16562Patch 8.2.2671 (after 8.2.2670)
16563Problem: Error for line number in legacy script.
16564Solution: Check for number type.
16565Files: src/typval.c
16566
16567Patch 8.2.2672
16568Problem: Vim9: cannot use :lockvar and :unlockvar in compiled script.
16569Solution: Implement locking support.
16570Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_cmd.vim
16571
16572Patch 8.2.2673
16573Problem: Vim9: script-local funcref can have lower case name.
16574Solution: Require an upper case name.
16575Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
16576
16577Patch 8.2.2674
16578Problem: Motif: cancelling the font dialog resets the font.
16579Solution: When no font is selected to not change the font. (closes #7825,
16580 closes #8035) Fix compiler warnings.
16581Files: src/gui_x11.c, src/gui_motif.c
16582
16583Patch 8.2.2675
16584Problem: Directory change in a terminal window shell is not followed.
16585Solution: Add the 'autoshelldir' option. (closes #6290)
16586Files: runtime/doc/options.txt, runtime/doc/quickref.txt,
16587 runtime/optwin.vim, src/charset.c, src/feature.h, src/option.h,
16588 src/optiondefs.h, src/terminal.c, src/testdir/check.vim,
16589 src/testdir/test_terminal3.vim
16590
16591Patch 8.2.2676
16592Problem: Missing error message.
16593Solution: Add new error message.
16594Files: src/errors.h
16595
16596Patch 8.2.2677
16597Problem: Vim9: cannot use only some of the default arguments.
16598Solution: Use v:none to use default argument value. Remove
16599 uf_def_arg_idx[], use JUMP_IF_ARG_SET. (closes #6504)
16600Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9execute.c,
16601 src/userfunc.c, src/structs.h, src/vim9.h,
16602 src/testdir/test_vim9_disassemble.vim,
16603 src/testdir/test_vim9_func.vim
16604
16605Patch 8.2.2678
16606Problem: Test for 'autoshelldir' does not reset the option.
16607Solution: Reset the option after testing.
16608Files: src/testdir/test_terminal3.vim
16609
16610Patch 8.2.2679
16611Problem: Winbar drawn over status line for non-current window with winbar
16612 if frame is zero height. (Leonid V. Fedorenchik)
16613Solution: Do not draw the window if the frame height is zero. (closes #8037)
16614Files: src/drawscreen.c, src/testdir/test_winbar.vim,
16615 src/testdir/dumps/Test_winbar_not_visible.dump
16616
16617Patch 8.2.2680
16618Problem: Vim9: problem defining a script variable from legacy function.
16619Solution: Check if the script is Vim9, not the current syntax.
16620 (closes #8032)
16621Files: src/vim9script.c, src/proto/vim9script.pro, src/evalvars.c,
16622 src/testdir/test_vim9_script.vim
16623
16624Patch 8.2.2681
16625Problem: Vim9: test fails for redeclaring script variable.
16626Solution: It's OK to assign to an existing script variable in legacy.
16627Files: src/evalvars.c
16628
16629Patch 8.2.2682
16630Problem: Vim9: cannot find Name.Func from "import * as Name". (Alexander
16631 Goussas)
16632Solution: When no variable found try finding a function. (closes #8045)
16633 Check that the function was exported.
16634Files: src/vim9compile.c, src/vim9script.c,
16635 src/testdir/test_vim9_script.vim
16636
16637Patch 8.2.2683
16638Problem: Build failure without the +eval feature.
16639Solution: Add #ifdef.
16640Files: src/vim9script.c
16641
16642Patch 8.2.2684
16643Problem: Not enough folding code is tested.
16644Solution: Add more test cases. (Yegappan Lakshmanan, closes #8046)
16645Files: src/testdir/test_fold.vim, src/testdir/test_mksession.vim,
16646 src/testdir/test_source.vim
16647
16648Patch 8.2.2685 (after 8.2.2152)
16649Problem: Custom statusline not drawn correctly with WinBar.
16650Solution: Also adjust the column for the custom status line. (Yee Cheng
16651 Chin, closes #8047)
16652Files: src/drawscreen.c, src/proto/drawscreen.pro, src/screen.c,
16653 src/testdir/dumps/Test_winbar_not_visible_custom_statusline.dump,
16654 src/testdir/test_winbar.vim
16655
16656Patch 8.2.2686
16657Problem: Status line is not updated when going to cmdline mode.
16658Solution: Redraw status lines if 'statusline' is set and going to status
16659 line mode. (based on patch from Justin M. Keyes et al.,
16660 closes #8044)
16661Files: src/ex_getln.c, src/testdir/test_statusline.vim,
16662 src/testdir/dumps/Test_statusline_mode_1.dump,
16663 src/testdir/dumps/Test_statusline_mode_2.dump
16664
16665Patch 8.2.2687
16666Problem: Vim9: cannot use "const" for global variable in :def function.
16667Solution: Do allow using :const for a global variable. (closes #8030)
16668Files: src/vim9compile.c, src/vim9execute.c,
16669 src/testdir/test_vim9_assign.vim
16670
16671Patch 8.2.2688
16672Problem: Vim9: crash when using s: for script variable.
16673Solution: Pass the end pointer. (closes #8045)
16674Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
16675
16676Patch 8.2.2689
16677Problem: Tiny build fails.
16678Solution: Add #ifdef around use of p_stl.
16679Files: src/ex_getln.c
16680
16681Patch 8.2.2690
16682Problem: PowerShell files are not recognized.
16683Solution: Recognize several PowerShell extension. (Heath Stewart,
16684 closes #8051)
16685Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16686
16687Patch 8.2.2691
16688Problem: Autoconf may mess up compiler flags.
16689Solution: Handle removing FORTIFY_SOURCE a bit better. (Vladimir Lomov,
16690 closes #8049)
16691Files: src/configure.ac, src/auto/configure
16692
16693Patch 8.2.2692
16694Problem: Vim9: locked script variable can be changed.
16695Solution: Check for locked value. (closes #8031)
16696Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
16697
16698Patch 8.2.2693
16699Problem: Vim9: locked script variable can be changed.
16700Solution: Check legacy script variable for being locked. (issue #8031)
16701Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
16702
16703Patch 8.2.2694
16704Problem: When 'matchpairs' is empty every character beeps. (Marco Hinz)
16705Solution: Bail out when no character in 'matchpairs' was found.
16706 (closes #8053) Add assert_nobeep().
16707Files: runtime/doc/testing.txt, runtime/doc/eval.txt, src/search.c,
16708 src/testing.c, src/proto/testing.pro, src/evalfunc.c,
16709 src/testdir/test_textformat.vim
16710
16711Patch 8.2.2695
16712Problem: Cursor position reset with nested autocommands.
16713Solution: Only check and reset line numbers for not nested autocommands.
16714 (closes #5820)
16715Files: src/autocmd.c, src/testdir/test_terminal.vim
16716
16717Patch 8.2.2696
16718Problem: Lua test fails with Lua 5.4.3 and later.
16719Solution: Check for different error messages. (Yegappan Lakshmanan,
16720 closes #8050)
16721Files: src/testdir/test_lua.vim
16722
16723Patch 8.2.2697
16724Problem: Function list test fails.
16725Solution: Add missing function. (Yegappan Lakshmanan)
16726Files: runtime/doc/usr_41.txt
16727
16728Patch 8.2.2698 (after 8.2.2696)
16729Problem: Lua test fails on MS-Windows.
16730Solution: Fall back to old method if "lua -v" doesn't work.
16731Files: src/testdir/test_lua.vim
16732
16733Patch 8.2.2699
16734Problem: Lua test fails.
16735Solution: Fix condition. (Yegappan Lakshmanan, closes #8060)
16736Files: src/testdir/test_lua.vim
16737
16738Patch 8.2.2700
16739Problem: Nested autocmd test fails sometimes.
16740Solution: Wait for the job to finish.
16741Files: src/testdir/test_terminal.vim
16742
16743Patch 8.2.2701
16744Problem: Order of removing FORTIFY_SOURCE is wrong.
16745Solution: Use the more specific pattern first.
16746Files: src/configure.ac, src/auto/configure
16747
16748Patch 8.2.2702
16749Problem: Compiler completion test fails when more scripts are added.
16750Solution: Add a more generic pattern.
16751Files: src/testdir/test_compiler.vim
16752
16753Patch 8.2.2703
16754Problem: Vim9: memory leak when failing on locked variable.
16755Solution: Free the memory.
16756Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
16757
16758Patch 8.2.2704
16759Problem: Adding a lot of completions can be a bit slow.
16760Solution: Use fast_breakcheck() instead of ui_breakcheck() when adding a
16761 list of completions. (Ben Jackson, closes #8061)
16762Files: src/insexpand.c
16763
16764Patch 8.2.2705
16765Problem: Vim9: misleading reported line number for wrong type.
16766Solution: Remember and use the line number at the start. (closes #8059)
16767Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
16768
16769Patch 8.2.2706
16770Problem: Vim9: wrong line number reported for boolean operator.
16771Solution: Use the line number before skipping over line break.
16772 (closes #8058)
16773Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
16774
16775Patch 8.2.2707 (after 8.2.2704)
16776Problem: Adding a lot of completions can still be a bit slow.
16777Solution: Add the check for CP_FAST. (Ben Jackson)
16778Files: src/insexpand.c
16779
16780Patch 8.2.2708
16781Problem: Test sometimes fails waiting for shell in terminal.
16782Solution: Use WaitForAssert() so we can see the actual job status. Use
16783 Run_shell_in_terminal().
16784Files: src/testdir/term_util.vim, src/testdir/test_mksession.vim
16785
16786Patch 8.2.2709
16787Problem: The GTK GUI has a gap next to the scrollbar.
16788Solution: Calculate the scrollbar padding for GTK. (closes #8027)
16789Files: src/gui_gtk.c
16790
16791Patch 8.2.2710
16792Problem: Vim9: not all tests cover script and :def function.
16793Solution: Run tests in both if possible. Fix differences.
16794Files: src/eval.c, src/vim9compile.c, src/vim9execute.c,
16795 src/testdir/vim9.vim, src/testdir/test_vim9_expr.vim
16796
16797Patch 8.2.2711
16798Problem: "gj" in a closed fold does not move out of the fold. (Marco Hinz)
16799Solution: Add a check for being in a closed fold. (closes #8062)
16800Files: src/normal.c, src/testdir/test_fold.vim
16801
16802Patch 8.2.2712
16803Problem: Memory leak when adding to a blob fails.
16804Solution: Clear the second typval before returning.
16805Files: src/eval.c
16806
16807Patch 8.2.2713
16808Problem: Folding code not sufficiently tested.
16809Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #8064)
16810Files: src/testdir/test_fold.vim
16811
16812Patch 8.2.2714
16813Problem: Filetype pattern ending in star is too far up.
16814Solution: Move down to where patterns ending in star belong. (closes #8065)
16815Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16816
16817Patch 8.2.2715
16818Problem: Vim9: tests fail without the channel feature. (Dominique Pellé)
16819Solution: Check for the channel feature. (closes #8063)
16820Files: src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim
16821
16822Patch 8.2.2716
16823Problem: The equivalent class regexp is missing some characters.
16824Solution: Update the list of equivalent characters. (Dominique Pellé,
16825 closes #8029)
16826Files: src/regexp_bt.c, src/regexp_nfa.c,
16827 src/testdir/test_regexp_utf8.vim
16828
16829Patch 8.2.2717
16830Problem: GTK menu items don't show a tooltip.
16831Solution: Add a callback to show the tooltip. (Leonid V. Fedorenchik,
16832 closes #8067, closes #7810)
16833Files: src/gui_gtk.c
16834
16835Patch 8.2.2718
16836Problem: Vim9: no explicit test for using a global function without the g:
16837 prefix.
16838Solution: Add a test case.
16839Files: src/testdir/test_vim9_func.vim
16840
16841Patch 8.2.2719
16842Problem: Vim9: appending to dict item doesn't work in a :def function.
16843Solution: Implement assignment with operator on indexed item.
16844Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
16845
16846Patch 8.2.2720
16847Problem: GTK menu tooltip moves the cursor.
16848Solution: Position the cursor after displaying the tooltip. Do not show the
16849 tooltip when editing the command line.
16850Files: src/gui_gtk.c
16851
16852Patch 8.2.2721
16853Problem: Vim9: cannot have a linebreak inside a lambda.
16854Solution: Compile the expression before the arguments.
16855Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
16856
16857Patch 8.2.2722
16858Problem: Vim9: crash when using LHS with double index.
16859Solution: Handle lhs_dest which is "dest_expr". (closes #8068)
16860 Fix confusing error message for missing dict item.
16861Files: src/vim9compile.c, src/eval.c, src/testdir/test_vim9_assign.vim
16862
16863Patch 8.2.2723 (after 8.2.2722)
16864Problem: Assignment test fails.
16865Solution: Adjust error number.
16866Files: src/testdir/test_let.vim
16867
16868Patch 8.2.2724 (after 8.2.2722)
16869Problem: Vim9: concatenating to list in dict not tested.
16870Solution: Add a test. (issue #8068)
16871Files: src/testdir/test_vim9_assign.vim
16872
16873Patch 8.2.2725
16874Problem: Vim9: message about compiling is wrong when using try/catch.
16875Solution: Store the compiling flag with the message. (closes #8071)
16876Files: src/ex_docmd.c, src/ex_eval.c, src/structs.h,
16877 src/testdir/test_vim9_func.vim
16878
16879Patch 8.2.2726
16880Problem: Confusing error message with white space before comma in the
16881 arguments of a function declaration.
16882Solution: Give a specific error message. (closes #2235)
16883Files: src/userfunc.c, src/testdir/test_vim9_func.vim
16884
16885Patch 8.2.2727 (after 8.2.2726)
16886Problem: Function test fails.
16887Solution: Adjust expected error number.
16888Files: src/testdir/test_user_func.vim
16889
16890Patch 8.2.2728
16891Problem: Special key names don't work if 'isident' is cleared.
16892Solution: Add vim_isNormalIDc() and use it for special key names.
16893 (closes #2389)
16894Files: src/charset.c, src/proto/charset.pro, src/misc2.c,
16895 src/testdir/test_mapping.vim
16896
16897Patch 8.2.2729
16898Problem: Vim9: wrong error message for referring to legacy script variable.
16899Solution: Do allow referring to a variable in legacy script without "s:" if
16900 it exists at compile time. (closes #8076)
16901Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
16902
16903Patch 8.2.2730
16904Problem: Coverity complains about not restoring character.
16905Solution: Also restore the character in case of an error.
16906Files: src/vim9compile.c
16907
16908Patch 8.2.2731
16909Problem: Mac: SF symbols are not displayed properly.
16910Solution: Add custom range to list of double-width characters. (Yee Cheng
16911 Chin, closes #8077)
16912Files: src/mbyte.c
16913
16914Patch 8.2.2732
16915Problem: Prompt for s///c in Ex mode can be wrong.
16916Solution: Position the cursor before showing the prompt. (closes #8073)
16917Files: src/ex_cmds.c, src/testdir/test_ex_mode.vim
16918
16919Patch 8.2.2733
16920Problem: Detecting Lua version is not reliable.
16921Solution: Add "vim.lua_version". (Ozaki Kiichi, closes #8080)
16922Files: runtime/doc/if_lua.txt, ci/if_ver-1.vim, src/if_lua.c,
16923 src/testdir/test_lua.vim
16924
16925Patch 8.2.2734
16926Problem: Vim9: cannot use legacy script-local var from :def function.
16927Solution: Do not insist on using "s:" prefix. (closes #8076)
16928Files: src/vim9compile.c, src/proto/vim9compile.pro,
16929 src/testdir/test_vim9_expr.vim
16930
16931Patch 8.2.2735
16932Problem: Vim9: function reference found with prefix, not without.
16933Solution: Also find function reference without prefix.
16934Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
16935
16936Patch 8.2.2736
16937Problem: Vim9: for loop over string is a bit slow.
16938Solution: Avoid using strlen().
16939Files: src/vim9execute.c
16940
16941Patch 8.2.2737
16942Problem: Status line not updated when local 'statusline' option set.
16943Solution: Check the 'statusline' option of each window.
16944Files: src/ex_getln.c, src/testdir/test_statusline.vim,
16945 src/testdir/dumps/Test_statusline_mode_1.dump,
16946 src/testdir/dumps/Test_statusline_mode_2.dump
16947
16948Patch 8.2.2738
16949Problem: Extending a list with itself can give wrong result.
16950Solution: Remember the item before where the insertion happens and skip to
16951 after the already inserted items. (closes #1112)
16952Files: src/list.c, src/testdir/test_listdict.vim
16953
16954Patch 8.2.2739
16955Problem: Vim9: a lambda accepts too many arguments at the script level.
16956Solution: Do not set uf_varargs in Vim9 script.
16957Files: src/userfunc.c, src/testdir/test_vim9_func.vim,
16958 src/testdir/test_vim9_script.vim
16959
16960Patch 8.2.2740
16961Problem: Vim9: lambda with varargs doesn't work.
16962Solution: Make "...name" work. Require type to be a list.
16963Files: src/userfunc.c, src/vim9compile.c, src/vim9execute.c,
16964 src/errors.h, src/testdir/test_vim9_func.vim,
16965 src/testdir/test_vim9_script.vim
16966
16967Patch 8.2.2741
16968Problem: Vim9: Partial call does not check right arguments.
16969Solution: Adjust the offset for whether the partial is before or after the
16970 arguments. (closes #8091)
16971Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
16972
16973Patch 8.2.2742
16974Problem: Vim9: when compiling a function fails it is cleared.
16975Solution: Keep the function lines, prevent execution with a different
16976 status. (closes #8093)
16977Files: src/vim9compile.c, src/structs.h, src/vim9execute.c,
16978 src/testdir/test_vim9_func.vim
16979
16980Patch 8.2.2743
16981Problem: Vim9: function state stuck when compiling with ":silent!".
16982Solution: Check for uf_def_status to be UF_COMPILING.
16983Files: src/vim9compile.c, src/message.c, src/globals.h,
16984 src/testdir/test_vim9_func.vim
16985
16986Patch 8.2.2744
16987Problem: Vim9: no way to explicitly ignore an argument.
16988Solution: Use the underscore as the name for an ignored argument.
16989Files: runtime/doc/vim9.txt, src/vim9compile.c, src/eval.c,
16990 src/evalvars.c, src/errors.h, src/testdir/test_vim9_func.vim
16991
16992Patch 8.2.2745 (after 8.2.2744)
16993Problem: Vim9: missing part of the argument change.
16994Solution: Add missing changes.
16995Files: src/userfunc.c
16996
16997Patch 8.2.2746 (after 8.2.2745)
16998Problem: Check for duplicate arguments does not work.
16999Solution: Correct condition.
17000Files: src/userfunc.c
17001
17002Patch 8.2.2747
17003Problem: Vim9: not always an error for too many function arguments.
17004Solution: Check for getting too many arguments.
17005Files: src/vim9execute.c, src/testdir/test_vim9_func.vim,
17006 src/testdir/test_vim9_builtin.vim
17007
17008Patch 8.2.2748
17009Problem: Vim9: memory leak when calling :def function fails.
17010Solution: Jump to failed_early instead of returning.
17011Files: src/vim9execute.c
17012
17013Patch 8.2.2749
17014Problem: Vim9: test for error can be a bit flaky.
17015Solution: Increase the wait time a bit.
17016Files: src/testdir/test_vim9_script.vim
17017
17018Patch 8.2.2750
17019Problem: Vim9: error for using underscore in nested function.
17020Solution: Do not consider "_" already defined. (closes #8096)
17021Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
17022
17023Patch 8.2.2751
17024Problem: Coverity warns for using NULL pointer.
17025Solution: Check for NULL in calling function.
17026Files: src/userfunc.c
17027
17028Patch 8.2.2752
17029problem: coverity reports unreachable code.
17030Solution: Remove check for positive index.
17031Files: src/typval.c
17032
17033Patch 8.2.2753
17034Problem: Vim9: cannot ignore an item in assignment unpack.
17035Solution: Allow using an underscore.
17036Files: runtime/doc/vim9.txt, src/vim.h, src/evalvars.c, src/eval.c,
17037 src/vim9compile.c, src/testdir/test_vim9_assign.vim
17038
17039Patch 8.2.2754
17040Problem: :sleep! does not always hide the cursor.
17041Solution: Add the cursor_is_asleep flag. (Jeremy Lerner, closes #8097,
17042 closes #7998)
17043Files: src/drawscreen.c, src/ex_docmd.c, src/gui.c, src/proto/term.pro,
17044 src/term.c
17045
17046Patch 8.2.2755
17047Problem: Vim9: no error for using a number in a condition.
17048Solution: Also use ISN_COND2BOOL if the type is t_number_bool.
17049 (closes #7644)
17050Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
17051 src/testdir/test_vim9_disassemble.vim
17052
17053Patch 8.2.2756
17054Problem: Vim9: blob index and slice not implemented yet.
17055Solution: Implement blob index and slice.
17056Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/eval.c,
17057 src/blob.c, src/proto/blob.pro, src/testdir/test_vim9_expr.vim
17058
17059Patch 8.2.2757
17060Problem: Vim9: blob tests for legacy and Vim9 script are separate.
17061Solution: Add CheckLegacyAndVim9Success(). Make blob index assign work.
17062Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/errors.h,
17063 src/blob.c, src/proto/blob.pro, src/eval.c, src/ex_docmd.c,
17064 src/testdir/vim9.vim, src/testdir/test_blob.vim
17065
17066Patch 8.2.2758
17067Problem: Vim9: wrong line number for autoload function with wrong name.
17068Solution: Set and restore SOURCING_LNUM. (closes #8100)
17069Files: src/userfunc.c, src/testdir/test_vim9_func.vim
17070
17071Patch 8.2.2759
17072Problem: Vim9: for loop infers type of loop variable.
17073Solution: Do not get the member type. (closes #8102)
17074Files: src/vim9type.c, src/proto/vim9type.pro, src/list.c,
17075 src/vim9script.c, src/proto/vim9script.pro, src/vim.h,
17076 src/testdir/test_vim9_script.vim
17077
17078Patch 8.2.2760
17079Problem: Vim9: no error for changing a for loop variable.
17080Solution: Make the loop variable read-only. (issue #8102)
17081Files: src/eval.c, src/evalvars.c, src/vim9compile.c, src/vim.h,
17082 src/testdir/test_vim9_script.vim
17083
17084Patch 8.2.2761
17085Problem: Using "syn include" does not work properly.
17086Solution: Don't add current_syn_inc_tag to topgrp. (Jaehwang Jerry Jung,
17087 closes #8104)
17088Files: src/syntax.c, src/testdir/test_syntax.vim
17089
17090Patch 8.2.2762
17091Problem: Vim9: function line truncated when compiling.
17092Solution: Copy the line before processing it. (closes #8101)
17093Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
17094
17095Patch 8.2.2763
17096Problem: Vim9: cannot use type in for loop unpack at script level.
17097Solution: Advance over the type name.
17098Files: src/evalvars.c, src/testdir/test_vim9_script.vim
17099
17100Patch 8.2.2764
17101Problem: Memory leak when default function argument is allocated.
17102Solution: Free the expression result.
17103Files: src/userfunc.c, src/testdir/test_functions.vim
17104
17105Patch 8.2.2765
17106Problem: Vim9: not all blob operations work.
17107Solution: Run more tests also with Vim9 script and :def functions. Fix what
17108 doesn't work.
17109Files: src/eval.c, src/blob.c, src/proto/blob.pro, src/vim9execute.c,
17110 src/errors.h, src/testdir/vim9.vim, src/testdir/test_blob.vim
17111
17112Patch 8.2.2766 (after 8.2.2765)
17113Problem: Test failure.
17114Solution: Add change to Vim9 compilation error message.
17115Files: src/vim9compile.c
17116
17117Patch 8.2.2767 (after 8.2.2765)
17118Problem: Compiler warning for unused argument.
17119Solution: Remove the argument.
17120Files: src/blob.c, src/proto/blob.pro, src/vim9execute.c, src/eval.c
17121
17122Patch 8.2.2768
17123Problem: Vim9: memory leak with blob range error.
17124Solution: Jump to end instead of returning.
17125Files: src/vim9compile.c
17126
17127Patch 8.2.2769
17128Problem: Modula-3 config files are not recognized.
17129Solution: Add filetype patterns. (Doug Kearns)
17130Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17131
17132Patch 8.2.2770
17133Problem: Vim9: type of loop variable is not used.
17134Solution: Parse and check the variable type. (closes #8107)
17135Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
17136
17137Patch 8.2.2771
17138Problem: Vim9: assignment not recognized if declaration was skipped.
17139Solution: Also recognized an assignment if the variable does not exist.
17140 (closes #8108)
17141Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim
17142
17143Patch 8.2.2772
17144Problem: Problems when restoring 'runtimepath' from a session file.
17145Solution: Add the "skiprtp" item in 'sessionoptions'.
17146Files: runtime/doc/options.txt, src/session.c, src/optionstr.c,
17147 src/option.h, src/vim.h, src/option.c,
17148 src/testdir/test_mksession.vim
17149
17150Patch 8.2.2773
17151Problem: PSL filetype not recognized.
17152Solution: Add a filetype pattern. (Daniel Kho, closes #8117)
17153Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17154
17155Patch 8.2.2774
17156Problem: Vim9: cannot import an existing name even when using "as".
17157Solution: Do not check for an existing name when using "as". (closes #8113)
17158Files: src/vim9script.c, src/testdir/test_vim9_script.vim
17159
17160Patch 8.2.2775
17161Problem: Vim9: wrong line number used for some commands.
17162Solution: For :exe, :echo and the like use the line number of the start of
17163 the command. When calling a function set the line number in the
17164 script context.
17165Files: src/vim9compile.c, src/vim9execute.c, src/structs.h,
17166 src/testdir/test_vim9_script.vim
17167
17168Patch 8.2.2776
17169Problem: :mksession uses current value of 'splitbelow' and 'splitright'
17170 even though "options" is not in 'sessionoptions'. (Maxim Kim)
17171Solution: Save and restore the values, instead of setting to the current
17172 value. (closes #8119)
17173Files: src/session.c, src/testdir/test_mksession.vim
17174
17175Patch 8.2.2777
17176Problem: Vim9: blob operations not tested in all ways.
17177Solution: Run tests with CheckLegacyAndVim9Success(). Make blob assign with
17178 index work.
17179Files: src/vim9compile.c, src/vim9execute.c, src/errors.h, src/blob.c,
17180 src/proto/blob.pro, src/testdir/test_blob.vim,
17181 src/testdir/test_vim9_disassemble.vim
17182
17183Patch 8.2.2778
17184Problem: Problem restoring 'packpath' in session.
17185Solution: Let "skiprtp" also apply to 'packpath'.
17186Files: runtime/doc/options.txt, src/option.c,
17187 src/testdir/test_mksession.vim
17188
17189Patch 8.2.2779
17190Problem: Memory access error in remove() for blob.
17191Solution: Adjust length for memmove().
17192Files: src/blob.c
17193
17194Patch 8.2.2780
17195Problem: Vim9: for loop over blob doesn't work.
17196Solution: Make it work.
17197Files: src/vim9compile.c, src/vim9execute.c, src/testdir/test_blob.vim
17198
17199Patch 8.2.2781
17200Problem: Add() silently skips when adding to null list or blob.
17201Solution: Give an error in Vim9 script. Allocate blob when it is NULL like
17202 with list and dict.
17203Files: src/list.c, src/evalvars.c, src/vim9execute.c,
17204 src/testdir/test_blob.vim, src/testdir/test_vim9_builtin.vim
17205
17206Patch 8.2.2782
17207Problem: Vim9: blob operations not fully tested.
17208Solution: Make more blob tests run in Vim9 script. Fix filter(). Make
17209 insert() give an error for a null blob, like add().
17210Files: src/list.c, src/testdir/test_blob.vim,
17211 src/testdir/test_vim9_builtin.vim
17212
17213Patch 8.2.2783
17214Problem: Duplicate code for setting byte in blob, blob test may fail.
17215Solution: Call blob_set_append(). Test sort failure with "N".
17216Files: src/eval.c, src/testdir/test_blob.vim
17217
17218Patch 8.2.2784
17219Problem: Vim9: cannot use \=expr in :substitute.
17220Solution: Compile the expression into instructions and execute them when
17221 invoked.
17222Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
17223 src/proto/vim9execute.pro, src/regexp.c, src/ex_cmds.c,
17224 src/proto/ex_cmds.pro, src/globals.h,
17225 src/testdir/test_vim9_cmd.vim,
17226 src/testdir/test_vim9_disassemble.vim
17227
17228Patch 8.2.2785
17229Problem: Vim9: cannot redirect to local variable.
17230Solution: Compile :redir when redirecting to a variable.
17231Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/errors.h,
17232 src/evalvars.c, src/proto/evalvars.pro,
17233 src/testdir/test_vim9_cmd.vim,
17234 src/testdir/test_vim9_disassemble.vim
17235
17236Patch 8.2.2786
17237Problem: Vim9: memory leak when using :s with expression.
17238Solution: Clean up the instruction list.
17239Files: src/vim9compile.c
17240
17241Patch 8.2.2787
17242Problem: MS-Windows: crash when using :echoconsole.
17243Solution: Do not write a NUL when it's already there.
17244Files: src/os_win32.c
17245
17246Patch 8.2.2788
17247Problem: Raku is now the only name what once was called perl6.
17248Solution: Adjust the filetype detection. (closes #8120)
17249Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17250
17251Patch 8.2.2789
17252Problem: Vim9: using \=expr in :substitute does not handle jumps.
17253Solution: Start with instruction count zero. (closes #8128)
17254Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
17255
17256Patch 8.2.2790 (after 8.2.2788)
17257Problem: filetype test fails
17258Solution: Also update the scripts detection
17259Files: runtime/scripts.vim
17260
17261Patch 8.2.2791
17262Problem: Vim9: memory leak when using \=expr in :substitute.
17263Solution: Do not allocate a new instruction list.
17264Files: src/vim9compile.c
17265
17266Patch 8.2.2792
17267Problem: Vim9: :disas shows instructions for default args but no text.
17268Solution: Show the expression test above the default argument instructions.
17269 (closes #8129)
17270Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim
17271
17272Patch 8.2.2793
17273Problem: MS-Windows: string literals are writable with MSVC.
17274Solution: Add the /GF compiler flag. Make mch_write() safer. (Ken Takata,
17275 closes #8133)
17276Files: src/Make_mvc.mak, src/os_win32.c
17277
17278Patch 8.2.2794
17279Problem: Linux users don't know how to get ncurses.
17280Solution: Add the name of the package. (closes #8132)
17281Files: src/configure.ac, src/auto/configure
17282
17283Patch 8.2.2795
17284Problem: Coverity warns for not using return value.
17285Solution: Check the return value of compiling the substitute expression.
17286Files: src/vim9compile.c
17287
17288Patch 8.2.2796
17289Problem: Vim9: redir to variable does not accept an index.
17290Solution: Make the index work.
17291Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
17292
17293Patch 8.2.2797
17294Problem: Search highlight disappears in the Visual area.
17295Solution: Combine the search attributes. (closes #8134)
17296Files: src/drawline.c, src/testdir/test_search.vim,
17297 src/testdir/dumps/Test_hlsearch_visual_1.dump
17298
17299Patch 8.2.2798
17300Problem: Vim9: redir to variable with append does not accept an index.
17301Solution: Make the appending work.
17302Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
17303
17304Patch 8.2.2799
17305Problem: Vim9: type casts don't fully work at the script level.
17306Solution: Implement the missing piece.
17307Files: src/eval.c, src/testdir/test_vim9_expr.vim
17308
17309Patch 8.2.2800
17310Problem: After a timer displays text a hit-enter prompt is given.
17311Solution: Reset msg_didany and need_wait_return. (closes #8136)
17312Files: src/drawscreen.c, src/testdir/test_timers.vim
17313
17314Patch 8.2.2801
17315Problem: Free Pascal makefile not recognized.
17316Solution: Add the fpcmake filetype. (Doug Kearns)
17317Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17318
17319Patch 8.2.2802
17320Problem: Vim9: illegal memory access.
17321Solution: Check for comment before checking for white space. (closes #8142)
17322Files: src/eval.c, src/testdir/test_vim9_func.vim
17323
17324Patch 8.2.2803
17325Problem: Flicker when the popup menu has an info popup.
17326Solution: Avoid drawing over the popup when it's going to be redrawn in the
17327 same position. (closes #8131) Also avoid redrawing the scrollbar.
17328Files: src/popupmenu.c, src/proto/popupmenu.pro, src/drawscreen.c,
17329 src/globals.h
17330
17331Patch 8.2.2804
17332Problem: Setting buffer local mapping with mapset() changes global mapping.
17333Solution: Only set the local mapping. (closes #8143)
17334Files: src/map.c, src/testdir/test_maparg.vim
17335
17336Patch 8.2.2805
17337Problem: Vim9: cannot use legacy syntax in Vim9 script.
17338Solution: Add the :legacy command.
17339Files: src/ex_cmds.h, runtime/doc/vim9.txt, runtime/doc/index.txt
17340 src/ex_cmdidxs.h, src/ex_docmd.c, src/structs.h, src/vim9script.c,
17341 src/vim9compile.c, src/testdir/test_vim9_func.vim,
17342 src/testdir/test_vim9_assign.vim
17343
17344Patch 8.2.2806
17345Problem: Vim9: using "++nr" as a command might not work.
17346Solution: Do not recognize "++" and "--" in a following line as addition or
17347 subtraction.
17348Files: src/vim9compile.c, src/ex_docmd.c, src/ex_cmds.h, src/ex_cmdidxs.h,
17349 src/vim9script.c, src/proto/vim9script.pro, src/eval.c,
17350 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_expr.vim
17351
17352Patch 8.2.2807
17353Problem: Build fails with tiny features.
17354Solution: Use a dummy function for ex_incdec().
17355Files: src/ex_docmd.c
17356
17357Patch 8.2.2808
17358Problem: Vim9: increment and decrement not sufficiently tested.
17359Solution: Add assertions.
17360Files: src/testdir/test_vim9_assign.vim
17361
17362Patch 8.2.2809
17363Problem: Vim9: :def function compilation fails when using :legacy.
17364Solution: Reset CMOD_LEGACY when compiling a function. (closes #8137)
17365Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
17366
17367Patch 8.2.2810
17368Problem: Vim9: crash when calling a function in a substitute expression.
17369Solution: Set the instructions back to the substitute expression
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017370 instructions. (closes #8148)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017371Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
17372
17373Patch 8.2.2811
17374Problem: Vim9: error for missing white space doesn't say where it is
17375 missing
17376Solution: Mention the command. (closes #8149)
17377Files: src/ex_docmd.c, src/errors.h, src/testdir/test_vim9_cmd.vim
17378
17379Patch 8.2.2812
17380Problem: Vim9: still crash when using substitute expression.
17381Solution: Put the instruction list in the stack frame. (closes #8154)
17382Files: src/vim9execute.c, src/vim9.h, src/testdir/test_vim9_cmd.vim
17383
17384Patch 8.2.2813
17385Problem: Cannot grep using fuzzy matching.
17386Solution: Add the "f" flag to :vimgrep. (Yegappan Lakshmanan, closes #8152)
17387Files: runtime/doc/quickfix.txt, src/ex_cmds.c, src/proto/search.pro,
17388 src/quickfix.c, src/search.c, src/vim.h,
17389 src/testdir/test_quickfix.vim
17390
17391Patch 8.2.2814 (after 8.2.2812)
17392Problem: Vim9: unused variable. (John Marriott)
17393Solution: Adjust #ifdef.
17394Files: src/vim9execute.c
17395
17396Patch 8.2.2815
17397Problem: Status line flickers when redrawing popup menu info.
17398Solution: Do not redraw the status line when the focus is in the popup
17399 window. (issue #8144)
17400Files: src/popupmenu.c
17401
17402Patch 8.2.2816
17403Problem: Vim9: comment below expression in lambda causes problems.
17404Solution: Use a single space for empty and comment lines. (closes #8156)
17405Files: src/eval.c, src/testdir/test_vim9_expr.vim
17406
17407Patch 8.2.2817
17408Problem: Vim9: script sourcing continues after an error.
17409Solution: Make an error in any command in "vim9script" abort sourcing.
17410Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim,
17411 src/testdir/test_vim9_assign.vim,
17412 src/testdir/test_vim9_func.vim
17413
17414Patch 8.2.2818
17415Problem: No jump added to jumplist when opening terminal in current window.
17416Solution: Call setpcmark(). (closes #8158)
17417Files: src/terminal.c, src/testdir/test_terminal.vim
17418
17419Patch 8.2.2819
17420Problem: Finishing an abbreviation with a multi-byte char may not work.
17421Solution: Escape K_SPECIAL in the typed character. (closes #8160)
17422Files: src/map.c, src/testdir/test_mapping.vim
17423
17424Patch 8.2.2820
17425Problem: Session file may divide by zero.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017426Solution: Avoid writing divide by zero. (closes #8162)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017427Files: src/session.c, src/testdir/test_mksession.vim
17428
17429Patch 8.2.2821
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017430Problem: MS-Windows: unnecessarily loading libraries when registering OLE.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017431Solution: Skip loading libraries when invoked with "-register".
17432Files: src/main.c, src/globals.h, src/os_win32.c
17433
17434Patch 8.2.2822 (after 8.2.2821)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017435Problem: MS-Windows: unnecessarily loading libraries when unregistering OLE.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017436Solution: Also skip loading libraries when invoked with "-unregister". Run
17437 Vim for README.txt with user privileges.
17438Files: src/main.c, nsis/gvim.nsi, nsis/README.txt
17439
17440Patch 8.2.2823
17441Problem: MS-Windows: launching Vim from installer doesn't open README.
17442Solution: Adjust the quotes.
17443Files: nsis/gvim.nsi
17444
17445Patch 8.2.2824
17446Problem: MS-Windows: build failure with MSVC.
17447Solution: Adjust the list of distributed files. Add hint about python.
17448 Adjust path for reading runtime files.
17449Files: Filelist, src/testdir/shared.vim,
17450 src/testdir/test_function_lists.vim
17451
17452Patch 8.2.2825
17453Problem: Code in checkreadonly() not fully tested.
17454Solution: Add more tests. (Dominique Pellé, closes #8169)
17455Files: src/testdir/test_excmd.vim
17456
17457Patch 8.2.2826
17458Problem: Compiler warnings for int to size_t conversion. (Randall W.
17459 Morris)
17460Solution: Add type casts.
17461Files: src/map.c, src/quickfix.c
17462
17463Patch 8.2.2827
17464Problem: Test file was not deleted.
17465Solution: Uncomment the delete() call. (Dominique Pellé, closes #8172)
17466Files: src/testdir/test_mksession.vim
17467
17468Patch 8.2.2828
17469Problem: Coverity complains about not checking the rename() return value.
17470Solution: Add "(void)", can't do anything in case of a failure.
17471Files: src/fileio.c
17472
17473Patch 8.2.2829
17474Problem: Some comments are not correct or clear.
17475Solution: Adjust the comments. Add test for cursor position.
17476Files: src/regexp_bt.c, src/regexp_nfa.c,
17477 src/testdir/test_exec_while_if.vim,
17478 src/testdir/test_substitute.vim
17479
17480Patch 8.2.2830
17481Problem: Terminal colors are not updated when 'background' is set.
17482Solution: Call term_update_colors() for all terminals. (Marcin Szamotulski,
17483 closes #8171, closes #8150)
17484Files: src/terminal.c, src/proto/terminal.pro, src/optionstr.c
17485
17486Patch 8.2.2831
17487Problem: Vim9: expandcmd() not tested.
17488Solution: Add a test.
17489Files: src/testdir/test_vim9_builtin.vim
17490
17491Patch 8.2.2832
17492Problem: Operator cancelled by moving mouse when using popup. (Sergey
17493 Vlasov)
17494Solution: Do not trigger an operator for a mouse move events. (closes #8176)
17495Files: src/normal.c
17496
17497Patch 8.2.2833
17498Problem: Two key command cancelled by moving mouse when using popup.
17499 (Sergey Vlasov)
17500Solution: Ignore K_MOUSEMOVE in plain_vgetc().
17501Files: src/getchar.c
17502
17503Patch 8.2.2834
17504Problem: Vim9: :cexpr does not work with local variables.
17505Solution: Compile :cexpr.
17506Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/quickfix.c,
17507 src/proto/quickfix.pro, src/testdir/test_quickfix.vim,
17508 src/testdir/test_vim9_disassemble.vim
17509
17510Patch 8.2.2835 (after 8.2.2834)
17511Problem: Vim9: leaking memory in :cexpr.
17512Solution: Also free the command line copy.
17513Files: src/vim9compile.c
17514
17515Patch 8.2.2836 (after 8.2.2834)
17516Problem: Build failure without the +quickfix feature. (John Marriott)
17517Solution: Add #ifdef.
17518Files: src/vim9compile.c, src/vim9execute.c, src/tag.c
17519
17520Patch 8.2.2837
17521Problem: Various code lines not covered by tests.
17522Solution: Add test cases. (Dominique Pellé, closes #8178)
17523Files: src/testdir/test_excmd.vim, src/testdir/test_functions.vim,
17524 src/testdir/test_options.vim, src/testdir/test_startup.vim,
17525 src/testdir/test_syntax.vim, src/testdir/test_vim9_cmd.vim
17526
17527Patch 8.2.2838
17528Problem: File extension .wrap not recognized.
17529Solution: Use dosini filetype for .wrap files. (Liam Beguin, closes #8177)
17530Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17531
17532Patch 8.2.2839
17533Problem: Default redirection missing "ash" and "dash".
17534Solution: Recognize "ash" and "dash". (Natanael Copa, closes #8180)
17535Files: runtime/doc/options.txt, src/option.c
17536
17537Patch 8.2.2840
17538Problem: Vim9: member operation not fully tested.
17539Solution: Add a few tests.
17540Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
17541
17542Patch 8.2.2841
17543Problem: MS-Windows: cursor in wrong position when 'lazyredraw' and
Bram Moolenaar47c532e2022-03-19 15:18:53 +000017544 'statusline' are set.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017545Solution: Call compute_cmdrow(). (closes #8170, closes #8184)
17546Files: src/os_win32.c
17547
17548Patch 8.2.2842
17549Problem: Vim9: skip argument to searchpair() is not compiled.
17550Solution: Add VAR_INSTR.
17551Files: src/structs.h, src/vim9.h, src/vim9compile.c, src/vim9execute.c,
17552 src/proto/vim9execute.pro, src/eval.c, src/evalfunc.c, src/vim.h,
17553 src/evalvars.c, src/typval.c, src/vim9type.c, src/testing.c,
17554 src/viminfo.c, src/if_py_both.h, src/json.c,
17555 src/testdir/test_vim9_disassemble.vim,
17556 src/testdir/test_vim9_builtin.vim
17557
17558Patch 8.2.2843 (after 8.2.2842)
17559Problem: Vim9: skip argument to searchpairpos() is not compiled.
17560Solution: Handle like searchpair(). Also for search() and searchpos().
17561Files: src/vim9compile.c, src/testdir/test_vim9_builtin.vim
17562
17563Patch 8.2.2844
17564Problem: Vim9: memory leak when using searchpair().
17565Solution: Free the v_instr field.
17566Files: src/typval.c
17567
17568Patch 8.2.2845
17569Problem: MS-Windows: warning for signed/unsigned comparison.
17570Solution: Add type cast.
17571Files: src/terminal.c
17572
17573Patch 8.2.2846
17574Problem: Vim9: "echo Func()" does not give an error for a function without
17575 a return value.
17576Solution: Give an error. Be more specific about why a value is invalid.
17577Files: src/globals.h, src/errors.h, src/eval.c, src/evalfunc.c,
17578 src/typval.c, src/vim9compile.c, src/vim9execute.c,
17579 src/testdir/test_vim9_cmd.vim
17580
17581Patch 8.2.2847
17582Problem: Perl not tested sufficiently.
17583Solution: Add test. Also test W17. (Dominique Pellé, closes #8193)
17584Files: src/testdir/test_arabic.vim, src/testdir/test_perl.vim
17585
17586Patch 8.2.2848
17587Problem: Crash when calling partial.
17588Solution: Check for NULL pointer. (Dominique Pellé, closes #8202)
17589Files: src/eval.c, src/evalfunc.c, src/testdir/test_functions.vim,
17590 src/testdir/test_listdict.vim
17591
17592Patch 8.2.2849
17593Problem: Bufwrite not sufficiently tested.
17594Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8192)
17595Files: src/testdir/test_startup.vim, src/testdir/test_writefile.vim
17596
17597Patch 8.2.2850
17598Problem: Recalling commands from history is not tested.
17599Solution: Add tests. (closes #8194)
17600Files: src/testdir/test_cmdline.vim
17601
17602Patch 8.2.2851
17603Problem: Using <Cmd> mapping on the command line triggers CmdlineChanged.
17604 (Naohiro Ono)
17605Solution: Jump to cmdline_not_changed if the command line didn't change.
17606 (closes #8208)
17607Files: src/ex_getln.c, src/testdir/test_cmdline.vim
17608
17609Patch 8.2.2852
17610Problem: Configure can add --as-needed a second time.
17611Solution: Only add --as-needed if not already there. (Natanael Copa,
17612 closes #8189, closes #8181)
17613Files: src/configure.ac, src/auto/configure
17614
17615Patch 8.2.2853 (after 8.2.2851)
17616Problem: Window is not updated after using <Cmd> mapping.
17617Solution: So jump to cmdline_changed but skip autocommand.
17618Files: src/ex_getln.c
17619
17620Patch 8.2.2854
17621Problem: Custom statusline cannot contain % items.
17622Solution: Add "%{% expr %}". (closes #8190)
17623Files: runtime/doc/options.txt, src/buffer.c, src/optionstr.c,
17624 src/testdir/test_statusline.vim
17625
17626Patch 8.2.2855
17627Problem: White space after "->" does not give E274.
17628Solution: Do not skip white space in legacy script. (closes #8212)
17629Files: src/eval.c, src/testdir/test_method.vim
17630
17631Patch 8.2.2856
17632Problem: Get readonly error for device that can't be written to.
17633Solution: Check for being able to write first. (closes #8205)
17634Files: src/ex_cmds.c, src/testdir/test_writefile.vim
17635
17636Patch 8.2.2857
17637Problem: Vim9: exception in ISN_INSTR caught at wrong level.
17638Solution: Set the starting trylevel in exec_instructions(). (closes #8214)
17639Files: src/vim9compile.c, src/vim9execute.c, src/globals.h,
17640 src/testdir/test_vim9_builtin.vim
17641
17642Patch 8.2.2858 (after 8.2.2857)
17643Problem: Test fails because of changed error message.
17644Solution: Adjust the expected error message.
17645Files: src/testdir/test_ex_mode.vim
17646
17647Patch 8.2.2859 (after 8.2.2857)
17648Problem: Tcl test fails because of changed error message.
17649Solution: Adjust the expected error message.
17650Files: src/testdir/test_tcl.vim
17651
17652Patch 8.2.2860
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017653Problem: Adding 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/change.c, src/proto/change.pro, src/textprop.c
17656
17657Patch 8.2.2861
17658Problem: Vim9: "legacy return" is not recognized as a return statement.
17659Solution: Specifically check for a return command. (closes #8213)
17660Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
17661 src/testdir/test_vim9_expr.vim
17662
17663Patch 8.2.2862
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017664Problem: Removing a text property causes the whole window to be redrawn.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017665Solution: Use changed_lines_buf() to only redraw the affected lines.
17666Files: src/textprop.c
17667
17668Patch 8.2.2863 (after 8.2.2862)
17669Problem: Removing a text property does not redraw optimally.
17670Solution: Only redraw the lines that mithg actually have been changed.
17671Files: src/textprop.c
17672
17673Patch 8.2.2864
17674Problem: Vim9: crash when using inline function.
17675Solution: Check for NULL pointer. Make using inline function work inside
17676 lambda. (closes #8217)
17677Files: src/userfunc.c, src/testdir/test_vim9_func.vim
17678
17679Patch 8.2.2865 (after 8.2.2864)
17680Problem: Skipping over function body fails.
17681Solution: Do not define the function when skipping.
17682Files: src/userfunc.c
17683
17684Patch 8.2.2866
17685Problem: Vim9: memory leak when using inline function.
17686Solution: Remember what strings to free.
17687Files: src/userfunc.c, src/structs.h, src/eval.c
17688
17689Patch 8.2.2867 (after 8.2.2866)
17690Problem: Build failure.
17691Solution: Add missing part of the change.
17692Files: src/globals.h
17693
17694Patch 8.2.2868
17695Problem: Vim9: When executing a compiled expression the trylevel at start
17696 is changed but not restored. (closes #8214)
17697Solution: Restore the trylevel at start.
17698Files: src/vim9execute.c, src/testdir/test_vim9_builtin.vim
17699
17700Patch 8.2.2869
17701Problem: Using unified diff is not tested.
17702Solution: Test all cases also with unified diff. (issue #8197)
17703Files: src/testdir/test_diffmode.vim
17704
17705Patch 8.2.2870
17706Problem: CmdlineChange event triggered twice for CTRL-R.
17707Solution: Return CMDLINE_NOT_CHANGED from cmdline_insert_reg().
17708 (closes #8219)
17709Files: src/ex_getln.c, src/testdir/test_cmdline.vim
17710
17711Patch 8.2.2871
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017712Problem: Unnecessary VIM_ISDIGIT() calls, badly indented code.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017713Solution: Call skipdigits() on the next character. Improve indenting.
17714 (Dominique Pellé, closes #8227)
17715Files: src/charset.c, src/evalfunc.c, src/ex_docmd.c, src/json.c,
17716 src/ops.c, src/tag.c, src/vim9compile.c
17717
17718Patch 8.2.2872
17719Problem: Python tests fail without the channel feature.
17720Solution: Add a feature check. (Dominique Pellé, closes #8226)
17721Files: src/testdir/test_python2.vim, src/testdir/test_python3.vim
17722
17723Patch 8.2.2873
17724Problem: Not enough tests for writing buffers.
17725Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8229)
17726Files: src/testdir/test_buffer.vim, src/testdir/test_cmdline.vim,
17727 src/testdir/test_functions.vim, src/testdir/test_writefile.vim
17728
17729Patch 8.2.2874
17730Problem: MS-Windows: screen redraws too often.
17731Solution: Do not redraw when peeking for a character. (closes #8230,
17732 closes #8211)
17733Files: src/os_win32.c
17734
17735Patch 8.2.2875
17736Problem: Cancelling inputlist() after a digit does not return zero.
17737Solution: Always return zero when cancelling. (closes #8231)
17738Files: src/misc1.c, src/testdir/test_functions.vim
17739
17740Patch 8.2.2876
17741Problem: Configure cannot detect Python 3.10.
17742Solution: Use sys.version_info. (closes #8233)
17743Files: src/configure.ac, src/auto/configure
17744
17745Patch 8.2.2877
17746Problem: Insufficient tests for popup menu rightleft.
17747Solution: Add tests. (Yegappan Lakshmanan, closes #8235)
17748Files: src/testdir/test_popup.vim,
17749 src/testdir/dumps/Test_pum_rightleft_01.dump,
17750 src/testdir/dumps/Test_pum_rightleft_02.dump,
17751 src/testdir/dumps/Test_pum_scrollbar_01.dump,
17752 src/testdir/dumps/Test_pum_scrollbar_02.dump
17753
17754Patch 8.2.2878
17755Problem: Vim9: for loop list unpack only allows for one "_".
17756Solution: Drop the value when the variable is "_". (closes #8232)
17757Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
17758
17759Patch 8.2.2879
17760Problem: File extension .hsig not recognized.
17761Solution: Use Haskell filetype for .hsig files. (Marcin Szamotulski,
17762 closes #8236)
17763Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17764
17765Patch 8.2.2880
17766Problem: Unified diff fails if actually used.
17767Solution: Invoke :diffupdate in the test. Fix the check for working external
17768 diff. (Ghjuvan Lacambre, Christian Brabandt, closes #8197)
17769Files: src/diff.c, src/testdir/test_diffmode.vim
17770
17771Patch 8.2.2881
17772Problem: Various pieces of code not covered by tests.
17773Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8245)
17774Files: src/testdir/test_const.vim, src/testdir/test_functions.vim,
17775 src/testdir/test_python2.vim, src/testdir/test_python3.vim,
17776 src/testdir/test_user_func.vim, src/testdir/test_vim9_expr.vim,
17777 src/testdir/test_vim9_func.vim
17778
17779Patch 8.2.2882
17780Problem: Vim9: memory leak when lambda has an error.
17781Solution: Free the list of argument types on failure.
17782Files: src/userfunc.c
17783
17784Patch 8.2.2883
17785Problem: MS-Windows manifest file name is misleading.
17786Solution: Rename the file. (closes #8241)
17787Files: .gitignore, .hgignore, Filelist, Makefile, src/Make_cyg_ming.mak,
17788 src/Make_mvc.mak, src/gvim.exe.mnf, src/vim.manifest, src/vim.rc
17789
17790Patch 8.2.2884
17791Problem: Not enough cscope code is covered by tests.
17792Solution: Add a few test cases. (Dominique Pellé, closes #8246)
17793Files: src/testdir/test_cscope.vim
17794
17795Patch 8.2.2885
17796Problem: searching for \%'> does not match linewise end of line. (Tim Chase)
17797Solution: Match end of line if column is MAXCOL. (closes #8238)
17798Files: src/regexp_nfa.c, src/regexp_bt.c, src/testdir/test_search.vim
17799
17800Patch 8.2.2886
17801Problem: Various pieces of code not covered by tests.
17802Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8255)
17803Files: src/testdir/test_expr.vim, src/testdir/test_functions.vim,
17804 src/testdir/test_listdict.vim, src/testdir/test_registers.vim,
17805 src/testdir/test_user_func.vim, src/testdir/test_vim9_builtin.vim,
17806 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim
17807
17808Patch 8.2.2887
17809Problem: Crash when passing null string to fullcommand().
17810Solution: Check for NULL pointer. (closes #8256)
17811Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
17812
17813Patch 8.2.2888
17814Problem: Vim9: "k" command recognized in Vim9 script.
17815Solution: Do not recognize "k" or "s" and "d" with flags.
17816Files: src/ex_docmd.c, src/testdir/test_vim9_builtin.vim,
17817 src/testdir/test_vim9_script.vim
17818
17819Patch 8.2.2889
17820Problem: Typo and verbose comment in Makefiles.
17821Solution: Fix typo. Use @#. (Ken Takata, closes #8252)
17822Files: Makefile, src/testdir/Makefile
17823
17824Patch 8.2.2890
17825Problem: Text property duplicated when data block splits.
17826Solution: Do not continue text prop from previous line. (closes #8261)
17827Files: src/memline.c, src/structs.h, src/testdir/test_textprop.vim
17828
17829Patch 8.2.2891
17830Problem: Cannot build with Perl 5.34.
17831Solution: Add Perl_SvTRUE_common(). (Ozaki Kiichi, closes #8266,
17832 closes #8250)
17833Files: src/if_perl.xs
17834
17835Patch 8.2.2892
17836Problem: Error message contains random characters.
17837Solution: Pass the right pointer to error_white_both(). (closes #8272,
17838 closes #8263)
17839Files: src/eval.c, src/testdir/test_vim9_expr.vim
17840
17841Patch 8.2.2893
17842Problem: Multi-byte text in popup title shows up wrong.
17843Solution: Use the character width instead of the byte length. (Ralf Schandl,
17844 closes #8267, closes #8264)
17845Files: src/popupwin.c, src/message_test.c, src/testdir/test_popupwin.vim,
17846 src/testdir/dumps/Test_popupwin_multibytetitle.dump
17847
17848Patch 8.2.2894
17849Problem: MS-Windows: using enc_locale() for strftime() might not work.
17850Solution: Use wcsftime(). (Ken Takata, closes #8271)
17851Files: src/time.c
17852
17853Patch 8.2.2895
17854Problem: Vim9: random characters appear in some error messages.
17855Solution: Pass the correct pointer. (closes #8277)
17856Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_expr.vim
17857
17858Patch 8.2.2896
17859Problem: Spellfile functionality not fully tested.
17860Solution: Add tests for CHECKCOMPOUNDPATTERN and COMMON. (Dominique Pellé,
17861 closes #8270)
17862Files: src/testdir/test_spellfile.vim
17863
17864Patch 8.2.2897
17865Problem: Vim9: can use reserved words at the script level.
17866Solution: Check variable names for reserved words. (closes #8253)
17867Files: src/vim9compile.c, src/vim9script.c, src/proto/vim9script.pro,
17868 src/eval.c, src/testdir/test_vim9_assign.vim
17869
17870Patch 8.2.2898
17871Problem: QuitPre and ExitPre not triggered when GUI window is closed.
17872Solution: Call before_quit_autocmds(). (closes #8242)
17873Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/gui.c
17874
17875Patch 8.2.2899
17876Problem: Appveyor script does not detect nmake failure.
17877Solution: Explicitly check for executable. (Ken Takata, closes #8281)
17878Files: ci/appveyor.bat
17879
17880Patch 8.2.2900
17881Problem: QuitPre is triggered before :wq writes the file, which is
17882 different from other commands.
17883Solution: Trigger QuitPre after writing the file. (closes #8279)
17884Files: src/ex_docmd.c, src/testdir/test_writefile.vim
17885
17886Patch 8.2.2901
17887Problem: Some operators not fully tested.
17888Solution: Add a few test cases. (Yegappan Lakshmanan, closes #8282)
17889Files: src/testdir/test_cpoptions.vim, src/testdir/test_increment.vim,
17890 src/testdir/test_normal.vim, src/testdir/test_virtualedit.vim,
17891 src/testdir/test_visual.vim
17892
17893Patch 8.2.2902
17894Problem: Spellfile functionality not fully tested.
17895Solution: Add tests for CIRCUMFIX, NOBREAK and others. (Dominique Pellé,
17896 closes #8283)
17897Files: src/testdir/test_spellfile.vim
17898
17899Patch 8.2.2903
17900Problem: Cursor position wrong on wrapped line with 'signcolumn'.
17901Solution: Don't add space for showbreak twice. (Christian Brabandt,
17902 closes #8262)
17903Files: src/drawline.c, src/testdir/test_display.vim
17904
17905Patch 8.2.2904
17906Problem: "g$" causes scroll if half a double width char is visible.
17907Solution: Advance to the last fully visible character. (closes #8254)
17908Files: src/normal.c, src/testdir/test_normal.vim
17909
17910Patch 8.2.2905
17911Problem: No error when defaults.vim cannot be loaded.
17912Solution: Add an error message. (Christian Brabandt, closes #8248)
17913Files: runtime/doc/starting.txt, src/errors.h, src/main.c,
17914 src/testdir/test_startup.vim
17915
17916Patch 8.2.2906 (after 8.2.2905)
17917Problem: ASAN reports errors for test_startup for unknown reasons.
17918Solution: Temporarily disable the new test.
17919Files: src/testdir/test_startup.vim
17920
17921Patch 8.2.2907
17922Problem: Memory leak when running out of memory.
17923Solution: Free the allocated memory. (Dominique Pellé, closes #8284)
17924Files: src/term.c
17925
17926Patch 8.2.2908
17927Problem: Crash when using a terminal popup window from the cmdline window.
17928Solution: Instead of checking cmdwin_type call cmdwin_is_active().
17929 (closes #8286)
17930Files: src/terminal.c, src/errors.h, src/testdir/test_cmdline.vim,
17931 src/testdir/dumps/Test_cmdwin_no_terminal.dump
17932
17933Patch 8.2.2909
17934Problem: Build error with non-Unix system.
17935Solution: Always include limits.h.
17936Files: src/vim.h
17937
17938Patch 8.2.2910
17939Problem: Test for cmdline window and terminal fails on MS-Windows.
17940Solution: Skip the test on MS-Windows.
17941Files: src/testdir/test_cmdline.vim
17942
17943Patch 8.2.2911
17944Problem: Pattern "\%V" does not match all of block selection. (Rick Howe)
17945Solution: Use the value of vi_curswant. (closes #8285)
17946Files: src/regexp.c, src/testdir/test_search.vim,
17947 src/testdir/dumps/Test_hlsearch_block_visual_match.dump
17948
17949Patch 8.2.2912
17950Problem: MS-Windows: most users expect using Unicode.
17951Solution: Default 'encoding' to utf-8 on MS-Windows. (Ken Takata,
17952 closes #3907)
17953Files: runtime/doc/options.txt, src/mbyte.c, src/option.c, src/option.h,
17954 src/testdir/test_writefile.vim
17955
17956Patch 8.2.2913
17957Problem: MS-Windows conpty supports using mouse events.
17958Solution: When enabling the mouse enable mouse input and disable quick edit
17959 mode. (Wez Furlong, closes #8280)
17960Files: src/os_win32.c
17961
17962Patch 8.2.2914
17963Problem: Cannot paste a block without adding padding.
17964Solution: Add "zp" and "zP" which paste without adding padding. (Christian
17965 Brabandt, closes #8289)
17966Files: runtime/doc/change.txt, runtime/doc/index.txt, src/normal.c,
17967 src/register.c, src/vim.h, src/testdir/test_normal.vim,
17968 src/testdir/test_visual.vim
17969
17970Patch 8.2.2915
17971Problem: MS-Windows: when using "default" for encoding utf-8 is used.
17972Solution: Use the system encoding. (Ken Takata, closes #8300)
17973Files: src/mbyte.c, runtime/doc/options.txt
17974
17975Patch 8.2.2916
17976Problem: Operators are not fully tested.
17977Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8290)
17978Files: src/ops.c, src/testdir/test_netbeans.vim,
17979 src/testdir/test_normal.vim, src/testdir/test_visual.vim
17980
17981Patch 8.2.2917
17982Problem: Spellfile functionality not fully tested.
17983Solution: Add tests for SFX with removal of characters, spelling
17984 suggestions with NOBREAK and others. (Dominique Pellé,
17985 closes #8293)
17986Files: src/testdir/test_spellfile.vim
17987
17988Patch 8.2.2918
17989Problem: Builtin function can be shadowed by global variable.
17990Solution: Check for builtin function before variable. (Yasuhiro Matsumoto,
17991 closes #8302)
17992Files: src/eval.c, src/testdir/test_functions.vim
17993
17994Patch 8.2.2919
17995Problem: Using ":!command" does not work if the command uses posix_spawn().
17996Solution: Do not call ioctl() with TIOCSCTTY. (Felipe Contreras)
17997Files: src/os_unix.c
17998
17999Patch 8.2.2920
18000Problem: Still a way to shadow a builtin function. (Yasuhiro Matsumoto)
18001Solution: Check the key when using extend(). (issue #8302)
18002Files: src/eval.c, src/dict.c, src/proto/dict.pro,
18003 src/testdir/test_functions.vim
18004
18005Patch 8.2.2921
18006Problem: E704 for script local variable is not backwards compatible.
18007 (Yasuhiro Matsumoto)
18008Solution: Only give the error in Vim9 script. Also check for function-local
18009 variable.
18010Files: src/dict.c, src/testdir/test_functions.vim
18011
18012Patch 8.2.2922
18013Problem: Computing array length is done in various ways.
18014Solution: Use ARRAY_LENGTH everywhere. (Ken Takata, closes #8305)
18015Files: src/arabic.c, src/blowfish.c, src/cindent.c, src/cmdexpand.c,
18016 src/cmdhist.c, src/dosinst.c, src/eval.c, src/evalfunc.c,
18017 src/ex_docmd.c, src/fileio.c, src/gui_athena.c, src/gui_gtk_x11.c,
18018 src/gui_haiku.cc, src/gui_photon.c, src/gui_w32.c,
18019 src/gui_xmebw.c, src/hardcopy.c, src/help.c, src/highlight.c,
18020 src/if_mzsch.c, src/macros.h, src/main.c, src/map.c, src/mbyte.c,
18021 src/memline.c, src/menu.c, src/misc2.c, src/normal.c, src/ops.c,
18022 src/option.c, src/optiondefs.h, src/os_win32.c, src/popupwin.c,
18023 src/quickfix.c, src/regexp.c, src/screen.c, src/search.c,
18024 src/syntax.c, src/term.c, src/terminal.c, src/time.c,
18025 src/usercmd.c, src/version.c
18026
18027Patch 8.2.2923
18028Problem: EBCDIC build is broken.
18029Solution: Move sortFunctions() to evalfunc.c. (Ken Takata, closes #8306)
18030Files: src/eval.c, src/evalfunc.c, src/proto/evalfunc.pro
18031
18032Patch 8.2.2924
18033Problem: Superfluous extern declaration.
18034Solution: Delete the declaration. (Ken Takata, closes #8307)
18035Files: src/main.c
18036
18037Patch 8.2.2925
18038Problem: Vim9: line continuation comment uses legacy syntax.
18039Solution: Check for #\ instead of "\. (closes #8295)
18040Files: src/scriptfile.c, src/testdir/test_vim9_script.vim
18041
18042Patch 8.2.2926
18043Problem: Vim9: no good error for using :legacy in a :def function.
18044Solution: Give an explicit error where :legacy is not working.
18045 (closes #8309)
18046Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_func.vim
18047
18048Patch 8.2.2927
18049Problem: Test commented out because it fails with ASAN.
18050Solution: Only skip the test when running with ASAN.
18051Files: src/testdir/test_startup.vim
18052
18053Patch 8.2.2928
18054Problem: The evalfunc.c file is too big.
18055Solution: Move float related functionality to a separate file. (Yegappan
18056 Lakshmanan, closes #8287)
18057Files: Filelist, src/Make_ami.mak, src/Make_cyg_ming.mak,
18058 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
18059 src/eval.c, src/evalfunc.c, src/float.c, src/proto.h,
18060 src/proto/eval.pro, src/proto/float.pro
18061
18062Patch 8.2.2929
18063Problem: Accidentally enable tcl by default.
18064Solution: Revert change to Makefile
18065Files: src/Makefile
18066
18067Patch 8.2.2930
18068Problem: When a popup is visible a mouse move my restart Visual mode.
18069Solution: Reset held_button when ending Visual mode. (closes #8318)
18070Files: src/mouse.c, src/proto/mouse.pro, src/normal.c
18071
18072Patch 8.2.2931
18073Problem: Vim9: line continuation comment still uses legacy syntax in one
18074 place.
18075Solution: Check for #\ instead of "\ earlier. (closes #8316)
18076Files: src/scriptfile.c, src/testdir/test_vim9_script.vim
18077
18078Patch 8.2.2932 (after 8.2.2930)
18079Problem: Select mode test fails.
18080Solution: Do not always reset the held mouse button.
18081Files: src/mouse.c, src/normal.c, src/proto/normal.pro
18082
18083Patch 8.2.2933
18084Problem: When 'clipboard' is "unnamed" zp and zP do not work correctly.
18085Solution: Pass -1 to str_to_reg() and fix computing the character width
18086 instead of using the byte length. (Christian Brabandt,
18087 closes #8301, closes #8317)
18088Files: src/clipboard.c, src/mbyte.c, src/register.c
18089
18090Patch 8.2.2934 (after 8.2.2933)
18091Problem: ASAN error when using text from the clipboard.
18092Solution: Get width of each character.
18093Files: src/register.c
18094
18095Patch 8.2.2935 (after 8.2.2934)
18096Problem: Calculating register width is not always needed. (Christian
18097 Brabandt)
18098Solution: Only calculate the width when the type is MBLOCK.
18099Files: src/register.c
18100
18101Patch 8.2.2936
18102Problem: Vim9: converting number to bool uses wrong stack offset. (Salman
18103 Halim)
18104Solution: Include the offset in the 2BOOL command.
18105Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c,
18106 src/testdir/test_vim9_expr.vim,
18107 src/testdir/test_vim9_disassemble.vim
18108
18109Patch 8.2.2937
18110Problem: Popup test fails if rightleft feature not enabled.
18111Solution: Check that the rightleft feature is available. (Dominique Pellé,
18112 closes #8321)
18113Files: src/testdir/test_popup.vim
18114
18115Patch 8.2.2938
18116Problem: After using motion force from feedkeys() it may not be reset.
18117Solution: Clear motion_force in clearop(). (closes #8323)
18118Files: src/normal.c, src/testdir/test_visual.vim
18119
18120Patch 8.2.2939
18121Problem: GTK: righthand scrollbar does not show with split window.
18122Solution: Adjust padding when two scrollbars are used. (Matt Wozniski,
18123 closes #8324)
18124Files: src/gui_gtk.c
18125
18126Patch 8.2.2940
18127Problem: MS-Windows: cannot see the size of the text area when resizing the
18128 gvim window.
18129Solution: Show a tooltip with the text size. (Ken Takata, closes #8326)
18130Files: src/gui_w32.c
18131
18132Patch 8.2.2941
18133Problem: Vim9: using `=expr` does not handle a list of strings.
18134Solution: Convert a list to a string and escape each item. (closes #8310)
18135Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
18136
18137Patch 8.2.2942
18138Problem: Vim9: internal error when calling function with too few arguments
18139Solution: Check for argument count to be too few. (closes #8325)
18140Files: src/errors.h, src/vim9execute.c, src/testdir/test_vim9_builtin.vim
18141
18142Patch 8.2.2943
18143Problem: Vim9: check for argument count ignores default values.
18144Solution: Take default argument values into account.
18145Files: src/vim9execute.c
18146
18147Patch 8.2.2944
18148Problem: Vim9: no error when using job or channel as a string.
18149Solution: Be more strict about conversion to string. (closes #8312)
18150Files: src/typval.c, src/job.c, src/proto/job.pro, src/channel.c,
18151 src/proto/channel.pro, src/eval.c, src/vim9execute.c,
18152 src/testdir/test_vim9_builtin.vim
18153
18154Patch 8.2.2945
18155Problem: Some buffer related code is not tested.
18156Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8320)
18157Files: src/termlib.c, src/testdir/test_excmd.vim,
18158 src/testdir/test_recover.vim, src/testdir/test_swap.vim,
18159 src/testdir/test_visual.vim
18160
18161Patch 8.2.2946
18162Problem: Vim9: substitute expression cannot be a List in a :def function.
18163Solution: Use typval2string(). (closes #8330)
18164Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
18165
18166Patch 8.2.2947
18167Problem: Build failure without the channel feature.
18168Solution: Add back #ifdef. (John Marriott)
18169Files: src/eval.c
18170
18171Patch 8.2.2948
18172Problem: Substitute() accepts a number but not a float expression.
18173Solution: Also accept a float. (closes #8331)
18174Files: src/typval.c, src/testdir/test_substitute.vim
18175
18176Patch 8.2.2949 (after 8.2.2948)
18177Problem: Tests failing because there is no error for float to string
18178 conversion.
18179Solution: Change the check for failure to check for correct result. Make
18180 some conversions strict in Vim9 script.
18181Files: src/evalfunc.c, src/float.c, src/findfile.c, src/json.c,
18182 src/filepath.c, src/testdir/test_eval_stuff.vim,
18183 src/testdir/test_execute_func.vim,
18184 src/testdir/test_float_func.vim, src/testdir/test_functions.vim,
18185 src/testdir/test_listdict.vim, src/testdir/test_glob2regpat.vim
18186
18187Patch 8.2.2950
18188Problem: Sound code not fully tested.
18189Solution: Add more sound tests. (Dominique Pellé, closes #8332)
18190Files: src/testdir/test_sound.vim
18191
18192Patch 8.2.2951
18193Problem: Vim9: cannot use heredoc in :def function for :python, :lua, etc.
18194Solution: Concatenate the heredoc lines and pass them in the ISN_EXEC_SPLIT
18195 instruction.
18196Files: src/userfunc.c, src/vim9compile.c, src/vim9.h, src/vim9execute.c,
18197 src/testdir/test_vim9_func.vim,
18198 src/testdir/test_vim9_disassemble.vim
18199
18200Patch 8.2.2952
18201Problem: Recover test fails on big endian systems.
18202Solution: Disable the failing test on big endian systems. (Yegappan
18203 Lakshmanan, closes #8335)
18204Files: src/testdir/test_recover.vim, src/testdir/test_swap.vim
18205
18206Patch 8.2.2953 (after 8.2.2951)
18207Problem: Vim9: leaking memory when using heredoc script.
18208Solution: Free the first line.
18209Files: src/vim9execute.c
18210
18211Patch 8.2.2954
18212Problem: Short file name extension for Scala not recognized.
18213Solution: Recognize *.sc. (closes #8337)
18214Files: runtime/filetype.vim, src/testdir/test_filetype.vim
18215
18216Patch 8.2.2955
18217Problem: Vim9: using filter in compiled command does not work.
18218Solution: Generate EXEC including the command modifier.
18219Files: src/vim9compile.c, src/ex_docmd.c, src/ex_cmds.c,
18220 src/proto/ex_cmds.pro, src/testdir/test_vim9_cmd.vim
18221
18222Patch 8.2.2956
18223Problem: Vim9: need to plan for future additions.
18224Solution: Reserve commands for future use: :type, :class, :enum.
18225Files: src/ex_cmds.h, src/ex_cmdidxs.h
18226
18227Patch 8.2.2957
18228Problem: Using getchar() in Vim9 script is problematic.
18229Solution: Add getcharstr(). (closes #8343)
18230Files: runtime/doc/eval.txt, src/evalfunc.c, src/getchar.c,
Bram Moolenaar47c532e2022-03-19 15:18:53 +000018231 src/proto/getchar.pro, src/testdir/test_functions.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018232
18233Patch 8.2.2958 (after 8.2.2957)
18234Problem: Function list test fails.
18235Solution: Add newly added function to the list. Fix typo.
18236Files: runtime/doc/usr_41.txt, src/testdir/test_function_lists.vim
18237
18238Patch 8.2.2959
18239Problem: sound_playfile() is not tested on MS-Windows.
18240Solution: Make it work and enable the test. (Dominique Pellé, closes #8338)
18241Files: src/sound.c, src/testdir/test_sound.vim
18242
18243Patch 8.2.2960
18244Problem: Swap file recovery not sufficiently tested.
18245Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8339)
18246Files: src/testdir/test_recover.vim
18247
18248Patch 8.2.2961
18249Problem: Keys typed during a :normal command are discarded.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018250Solution: Concatenate saved typeahead and typed keys. (closes #8340)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018251Files: src/getchar.c, src/proto/getchar.pro, src/ex_docmd.c,
18252 src/evalfunc.c, src/debugger.c, src/ui.c, src/proto/ui.pro
18253
18254Patch 8.2.2962
18255Problem: MS-Windows command line arguments have wrong encoding.
18256Solution: Always use utf-8 in get_cmd_argsW(). (Ken Takata, closes #8347)
18257Files: src/os_win32.c
18258
18259Patch 8.2.2963
18260Problem: GUI: mouse move may start Visual mode with a popup visible.
18261Solution: Add special code for mouse move. (closes #8318)
18262Files: src/vim.h, src/gui.c, src/keymap.h, src/term.c
18263
18264Patch 8.2.2964
18265Problem: Vim9: hang when using space after ->. (Naohiro Ono)
18266Solution: Skip over white space to find the function name. (closes #8341)
18267Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_expr.vim
18268
18269Patch 8.2.2965
18270Problem: Vim9: crash when calling function that failed to compile.
18271Solution: Fail when trying to call the function. (closes #8344)
18272Files: src/errors.h, src/vim9compile.c, src/testdir/test_vim9_func.vim
18273
18274Patch 8.2.2966
18275Problem: ml_get errors after recovering a file. (Yegappan Lakshmanan)
18276Solution: Fix the cursor position after deleting lines.
18277Files: src/memline.c
18278
18279Patch 8.2.2967
18280Problem: Vim9: crash when using two levels of partials.
18281Solution: Add outer_ref_T and use it in the execution context.
18282Files: src/structs.h, src/vim9execute.c, src/testdir/test_vim9_func.vim
18283
18284Patch 8.2.2968 (after 8.2.2967)
18285Problem: Vim9: memory leak
18286Solution: Unreference pt_outer of partial.
18287Files: src/eval.c
18288
18289Patch 8.2.2969
18290Problem: Subtracting from number option fails when result is zero. (Ingo
18291 Karkat)
18292Solution: Reset the string value when using the numeric value.
18293 (closes #8351)
18294Files: src/evalvars.c, src/testdir/test_vimscript.vim
18295
18296Patch 8.2.2970
18297Problem: Python configure check uses deprecated command.
18298Solution: Use sysconfig instead of distutils if possible. (Zdenek Dohnal,
18299 closes #8354)
18300Files: src/configure.ac, src/auto/configure
18301
18302Patch 8.2.2971
18303Problem: Cannot yank a block without trailing spaces.
18304Solution: Add the "zy" command. (Christian Brabandt, closes #8292)
18305Files: runtime/doc/change.txt, runtime/doc/index.txt, src/normal.c,
18306 src/ops.c, src/register.c, src/structs.h,
18307 src/testdir/test_visual.vim
18308
18309Patch 8.2.2972
18310Problem: "%bd" tries to delete popup window buffers, which fails. (Ralf
18311 Schandl)
18312Solution: Do not try to delete a popup window buffer. (closes #8349)
18313Files: src/buffer.c, src/vim.h, src/testdir/test_popupwin.vim
18314
18315Patch 8.2.2973
18316Problem: Fix for recovery and diff mode not tested.
18317Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8352)
18318Files: src/testdir/test_diffmode.vim, src/testdir/test_prompt_buffer.vim,
18319 src/testdir/test_recover.vim
18320
18321Patch 8.2.2974
18322Problem: Greek spell checking uses wrong case folding.
18323Solution: Fold capital sigma depending on whether it is at the end of a
18324 word or not. (closes #299)
18325Files: src/spell.c, src/proto/spell.pro, src/spellfile.c,
18326 src/spellsuggest.c
18327
18328Patch 8.2.2975
18329Problem: Vim9: can only use an autoload function name as a string.
18330Solution: Load the autoload script when encountered. (closes #8124)
18331Files: src/vim9compile.c, src/evalvars.c, src/scriptfile.c,
18332 src/testdir/test_vim9_func.vim
18333
18334Patch 8.2.2976 (after 8.2.2975)
18335Problem: Build failure without the +eval feature.
18336Solution: Add #ifdefs.
18337Files: src/scriptfile.c
18338
18339Patch 8.2.2977
18340Problem: Crash when using a null function reference. (Naohiro Ono)
18341Solution: Check for an invalid function name. (closes #8367)
18342Files: src/eval.c, src/errors.h, src/testdir/test_functions.vim
18343
18344Patch 8.2.2978 (after 8.2.2977)
18345Problem: Warning for uninitialized variable.
18346Solution: Set return value to FAIL.
18347Files: src/eval.c
18348
18349Patch 8.2.2979
18350Problem: Not all options code is covered by tests.
18351Solution: Add more tests for options. (Yegappan Lakshmanan, closes #8369)
18352Files: src/testdir/test_edit.vim, src/testdir/test_excmd.vim,
18353 src/testdir/test_help.vim, src/testdir/test_mksession.vim,
18354 src/testdir/test_options.vim, src/testdir/test_vartabs.vim,
18355 src/testdir/test_window_cmd.vim
18356
18357Patch 8.2.2980
18358Problem: Popup window test is a bit flaky.
18359Solution: Add a redraw command.
18360Files: src/testdir/test_popupwin.vim
18361
18362Patch 8.2.2981
18363Problem: Recovery test is not run on big-endian systems.
18364Solution: Make it work on big-endian systems. (James McCoy, closes #8368)
18365Files: src/testdir/test_recover.vim
18366
18367Patch 8.2.2982
18368Problem: Vim9: future commands are not reserved yet.
18369Solution: Add commands to be implemented later. Make "this" a reserved
18370 name.
18371Files: runtime/doc/vim9.txt, src/ex_cmds.h, src/ex_cmdidxs.h,
18372 src/vim9script.c, src/testdir/test_vim9_assign.vim
18373
18374Patch 8.2.2983
18375Problem: Vim9: an inline function requires specifying the return type.
18376Solution: Make the return type optional.
18377Files: src/eval.c, src/vim9compile.c, src/userfunc.c,
18378 src/testdir/test_vim9_func.vim
18379
18380Patch 8.2.2984 (after 8.2.2983)
18381Problem: Vim9: Test fails because of missing return statement.
18382Solution: When type is unknown set type to void.
18383Files: src/vim9compile.c
18384
18385Patch 8.2.2985
18386Problem: Vim9: a compiled function cannot be debugged.
18387Solution: Add initial debugging support.
18388Files: src/vim9.h, src/vim9compile.c, src/proto/vim9compile.pro,
18389 src/vim.h, src/eval.c, src/vim9execute.c, src/userfunc.c,
18390 src/vim9type.c, src/testdir/test_debugger.vim,
18391 src/testdir/test_vim9_disassemble.vim
18392
18393Patch 8.2.2986
18394Problem: Build failure without the profile feature.
18395Solution: Add #ifdef.
18396Files: src/vim9compile.c
18397
18398Patch 8.2.2987
18399Problem: Build failure with normal features.
18400Solution: Remove #define.
18401Files: src/vim9execute.c
18402
18403Patch 8.2.2988
18404Problem: Vim9: debugger test fails.
18405Solution: Get the debugger instructions when needed.
18406Files: src/vim.h, src/vim9.h
18407
18408Patch 8.2.2989
18409Problem: Vim9: memory leak when debugging a :def function.
18410Solution: Free the debug instructions.
18411Files: src/vim9compile.c
18412
18413Patch 8.2.2990
18414Problem: Jupyter Notebook files are not recognized.
18415Solution: Recognize *.ipynb. (closes #8375)
18416Files: runtime/filetype.vim, src/testdir/test_filetype.vim
18417
18418Patch 8.2.2991
18419Problem: Vim9: no completion for :vim9 and :legacy.
18420Solution: Expand argument as a command. (closes #8377)
18421Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
18422
18423Patch 8.2.2992
18424Problem: Vim9: completion for :disassemble is incomplete.
18425Solution: Recognize the "debug" and "profile" arguments.
18426Files: src/cmdexpand.c, src/vim9execute.c, src/proto/vim9execute.pro,
18427 src/vim.h, src/testdir/test_cmdline.vim
18428
18429Patch 8.2.2993
18430Problem: 'fileencodings' default value should depend on 'encoding'. (Gary
18431 Johnson)
18432Solution: When 'encoding' is "utf-8" use a different default value for
18433 'fileencodings'.
18434Files: src/mbyte.c, src/option.c, src/proto/option.pro,
18435 src/testdir/test_options.vim
18436
18437Patch 8.2.2994
18438Problem: Various code is not fully tested.
18439Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8378)
18440Files: src/testdir/test_excmd.vim, src/testdir/test_mapping.vim,
18441 src/testdir/test_modeline.vim, src/testdir/test_options.vim,
18442 src/testdir/test_paste.vim, src/vim9compile.c
18443
18444Patch 8.2.2995
18445Problem: Linker errors with dynamic Python 3.10.
18446Solution: Add a couple of library entries. (Zdenek Dohnal, closes #8381,
18447 closes #8356)
18448Files: src/if_python3.c
18449
18450Patch 8.2.2996
18451Problem: Vim9: when debugging cannot inspect local variables.
18452Solution: Make local variables available when debugging.
18453Files: src/vim9execute.c, src/proto/vim9execute.pro, src/vim9compile.c,
18454 src/vim9.h, src/debugger.c, src/testdir/test_debugger.vim
18455
18456Patch 8.2.2997 (after 8.2 2996)
18457Problem: Vim9: disassemble test fails.
18458Solution: Adjust expected output.
18459Files: src/testdir/test_vim9_disassemble.vim
18460
18461Patch 8.2.2998 (after 8.2 2996)
18462Problem: Vim9: disassemble test fails.
18463Solution: Add missing call to lookup_debug_var().
18464Files: src/evalvars.c
18465
18466Patch 8.2.2999
18467Problem: Balloon sometimes does not hide with GTK 3.
18468Solution: Also listen to GDK_LEAVE_NOTIFY. (Johannes Stezenbach)
18469Files: src/gui_beval.c
18470
18471Patch 8.2.3000
18472Problem: Vim9: warning for uninitialized variable.
18473Solution: Add initialization. (John Marriott)
18474Files: src/vim9compile.c
18475
18476Patch 8.2.3001
18477Problem: Vim9: memory leak when compilation fails.
18478Solution: Free the list of variable names.
18479Files: src/vim9compile.c
18480
18481Patch 8.2.3002
18482Problem: Vim doesn't abort on a fatal Tcl error.
18483Solution: Change emsg() to iemsg(). (Dominique Pellé, closes #8383)
18484Files: src/if_tcl.c
18485
18486Patch 8.2.3003
18487Problem: Vim9: closure compiled with wrong compile type.
18488Solution: Use COMPILE_TYPE() when calling a function. (closes #8384)
18489Files: src/vim9execute.c, src/testdir/test_debugger.vim
18490
18491Patch 8.2.3004
18492Problem: Vim9: error for missing colon given while skipping.
18493Solution: Do not give the error when skipping. (closes #8385)
18494Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
18495
18496Patch 8.2.3005
18497Problem: Vim9: using a void value does not give a proper error message.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018498Solution: Give a clear error message. (closes #8387)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018499Files: src/typval.c, src/vim9compile.c, src/vim9.h, src/vim9execute.c,
18500 src/testdir/test_vim9_expr.vim,
18501 src/testdir/test_vim9_disassemble.vim
18502
18503Patch 8.2.3006
18504Problem: Crash when echoing a value very early. (Naruhiko Nishino)
18505Solution: Do not use a NUL to truncate the message, make a copy.
18506 (closes #8388)
18507Files: src/message.c, src/testdir/test_startup.vim
18508
18509Patch 8.2.3007 (after 8.2.3005)
18510Problem: Vim9: test for void value fails.
18511Solution: Adjust expected error. Do not make a copy of void.
18512Files: src/typval.c, src/testdir/test_functions.vim
18513
18514Patch 8.2.3008 (after 8.2.3006)
18515Problem: Startup test may hang.
18516Solution: Add quit command in the script.
18517Files: src/testdir/test_startup.vim
18518
18519Patch 8.2.3009 (after 8.2.3006)
18520Problem: Startup test may hang.
18521Solution: Do not run the test in the GUI.
18522Files: src/testdir/test_startup.vim
18523
18524Patch 8.2.3010
18525Problem: Not enough testing for viminfo code.
18526Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8390)
18527Files: src/register.c, src/testdir/test_fileformat.vim,
18528 src/testdir/test_smartindent.vim, src/testdir/test_viminfo.vim
18529
18530Patch 8.2.3011
18531Problem: Vim9: cannot get argument values during debugging.
18532Solution: Lookup names in the list of arguments. Put debug instruction
18533 halfway for command.
18534Files: src/vim9compile.c, src/vim9execute.c,
18535 src/testdir/test_debugger.vim
18536
18537Patch 8.2.3012
18538Problem: When 'rightleft' is set the line number is sometimes drawn
18539 reversed.
18540Solution: Adjust how space is handled. (Christian Brabandt, closes #8389,
18541 closes #8391)
18542Files: src/drawline.c, src/testdir/test_number.vim
18543
18544Patch 8.2.3013
18545Problem: Vim: when debugging only the first line of a command using line
18546 continuation is displayed.
18547Solution: Find the next command and concatenate lines until that one.
18548 (closes #8392)
18549Files: src/vim9execute.c, src/testdir/test_debugger.vim
18550
18551Patch 8.2.3014
18552Problem: Coverity warns for freeing static string.
18553Solution: Do not assign static string to pointer. (Dominique Pellé,
18554 closes #8397)
18555Files: src/vim9execute.c
18556
18557Patch 8.2.3015
18558Problem: Vim9: Assigning to @# requires a string. (Naohiro Ono)
18559Solution: Accent a number or a string. (closes #8396)
18560Files: src/vim9compile.c, src/vim9execute.c, src/globals.h,
18561 src/testdir/test_vim9_assign.vim
18562
18563Patch 8.2.3016
18564Problem: Confusing error when expression is followed by comma.
18565Solution: Give a different error for trailing text. (closes #8395)
18566Files: src/eval.c, src/testdir/test_let.vim,
18567 src/testdir/test_eval_stuff.vim, src/testdir/test_vim9_expr.vim,
18568 src/testdir/test_vim9_script.vim, src/testdir/test_viminfo.vim,
18569 src/testdir/test_vimscript.vim
18570
18571Patch 8.2.3017
18572Problem: Vim9: debugger shows too many lines.
18573Solution: Truncate at a comment, "enddef", etc. (closes #8392)
18574Files: src/vim9execute.c, src/testdir/test_debugger.vim
18575
18576Patch 8.2.3018
18577Problem: Formatting using quickfixtextfunc is lost when updating location
18578 lists for different buffers. (Yorick Peterse)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018579Solution: Use the right window for the location list. (Yegappan Lakshmanan,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018580 closes #8400, closes #8403)
18581Files: src/quickfix.c, src/testdir/test_quickfix.vim
18582
18583Patch 8.2.3019
18584Problem: Location list only has the start position.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018585Solution: Make it possible to add an end position. (thinca, closes #8393)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018586Files: runtime/doc/eval.txt, src/quickfix.c,
18587 src/testdir/dumps/Test_quickfix_cwindow_1.dump,
18588 src/testdir/dumps/Test_quickfix_cwindow_2.dump,
18589 src/testdir/test_quickfix.vim, src/testdir/test_tagjump.vim,
18590 src/testdir/test_vim9_expr.vim
18591
18592Patch 8.2.3020
18593Problem: Unreachable code.
18594Solution: Remove the code. (closes #8406)
18595Files: src/ex_docmd.c
18596
18597Patch 8.2.3021
18598Problem: Spaces allowed between option name and "!", "?", etc.
18599Solution: Disallow spaces in Vim9 script, it was not documented.
18600 (closes #8408)
18601Files: src/option.c, src/testdir/test_vim9_script.vim
18602
18603Patch 8.2.3022
18604Problem: Available encryption methods are not strong enough.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018605Solution: Add initial support for xchacha20. (Christian Brabandt,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018606 closes #8394)
18607Files: .github/workflows/ci.yml, runtime/doc/eval.txt,
18608 runtime/doc/options.txt, runtime/doc/various.txt,
18609 src/INSTALLpc.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak,
18610 src/auto/configure, src/blowfish.c, src/bufwrite.c,
18611 src/config.h.in, src/configure.ac, src/crypt.c, src/crypt_zip.c,
18612 src/errors.h, src/evalfunc.c, src/feature.h, src/fileio.c,
18613 src/memline.c, src/option.c, src/optionstr.c,
18614 src/proto/blowfish.pro, src/proto/crypt.pro,
18615 src/proto/crypt_zip.pro, src/structs.h,
18616 src/testdir/samples/crypt_sodium_invalid.txt,
18617 src/testdir/test_crypt.vim, src/undo.c, src/version.c
18618
18619Patch 8.2.3023
18620Problem: Vim9: arguments for execute() not checked at compile time.
18621Solution: Add a function to check the argument types.
18622Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
18623
18624Patch 8.2.3024 (after 8.2.3023)
18625Problem: execute() function test fails.
18626Solution: Adjust test for different error.
18627Files: src/testdir/test_execute_func.vim
18628
18629Patch 8.2.3025
18630Problem: Not enough tests for quickfix end_col and end_lnum.
18631Solution: Add a few more test cases. (Shane-XB-Qian, closes #8409)
18632Files: src/testdir/test_quickfix.vim
18633
18634Patch 8.2.3026
18635Problem: Vim9: cannot set breakpoint in compiled function.
18636Solution: Check for breakpoint when calling a function.
18637Files: src/vim9execute.c, src/structs.h, src/vim.h, src/vim9.h,
18638 src/debugger.c, src/testdir/test_debugger.vim
18639
18640Patch 8.2.3027
18641Problem: Vim9: breakpoint in compiled function not always checked.
18642Solution: Check for breakpoint when calling compiled function from compiled
18643 function.
18644Files: src/vim9execute.c, src/testdir/test_debugger.vim
18645
18646Patch 8.2.3028
18647Problem: GUI mouse events not tested.
18648Solution: Add test_gui_mouse_event(). Add mouse tests. Also add a few
18649 viminfo tests. (Yegappan Lakshmanan, closes #8407)
18650Files: runtime/doc/eval.txt, runtime/doc/testing.txt,
18651 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/testing.pro,
18652 src/testdir/test_gui.vim, src/testdir/test_viminfo.vim,
18653 src/testing.c
18654
18655Patch 8.2.3029
18656Problem: Vim9: crash when using operator and list unpack assignment.
18657 (Naohiro Ono)
18658Solution: Get variable value before operation. (closes #8416)
18659Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/ex_docmd.c,
18660 src/testdir/test_vim9_assign.vim,
18661 src/testdir/test_vim9_disassemble.vim
18662
18663Patch 8.2.3030
18664Problem: Coverity reports a memory leak.
18665Solution: Fix the leak and a few typos. (Dominique Pellé, closes #8418)
18666Files: src/crypt.c, src/errors.h
18667
18668Patch 8.2.3031
18669Problem: No error if a function name starts with an underscore. (Naohiro
18670 Ono)
18671Solution: In Vim9 script disallow a function name starting with an
18672 underscore, as is mentioned in the help. (closes #8414)
18673Files: src/userfunc.c, src/testdir/test_vim9_func.vim
18674
18675Patch 8.2.3032
18676Problem: Build problems with MSVC, other crypt issues with libsodium.
18677Solution: Adjust MSVC makefile. Disable swap file only when 'key' is set.
18678 Adjust error message used when key is wrong. Fix Coverity issues.
18679 (Christian Brabandt, closes #8420, closes #8411)
18680Files: src/Make_mvc.mak, src/crypt.c, src/errors.h, src/fileio.c,
18681 src/memline.c, src/proto/crypt.pro
18682
18683Patch 8.2.3033
18684Problem: No error when using alpha delimiter with :global.
18685Solution: Check the delimiter like with :substitute. (closes #8415)
18686Files: src/ex_cmds.c, src/testdir/test_global.vim
18687
18688Patch 8.2.3034
18689Problem: Installing packages on github CI sometimes fails.
18690Solution: Update package information first. (Christian Brabandt,
18691 closes #8432)
18692Files: .github/workflows/ci.yml
18693
18694Patch 8.2.3035
18695Problem: Vim9: crash when calling :def function with partial and return
18696 type is not set.
18697Solution: When the return type is not set handle like the return type is
18698 unknown. (closes #8422)
18699Files: src/vim9type.c, src/testdir/test_vim9_func.vim
18700
18701Patch 8.2.3036
18702Problem: Vim9: builtin function arguments not checked at compile time.
18703Solution: Add more argument type specs. Check arguments to test_setmouse()
18704 and test_gui_mouse_event(). (Yegappan Lakshmanan, closes #8425)
18705Files: src/evalfunc.c, src/testdir/test_assert.vim,
18706 src/testdir/test_gui.vim, src/testdir/test_popupwin.vim,
18707 src/testdir/test_vim9_builtin.vim, src/testing.c
18708
18709Patch 8.2.3037
18710Problem: Configure reports libcanberra when checking for libsodium.
18711Solution: Adjust the message. (Ozaki Kiichi, closes #8435)
18712Files: src/configure.ac, src/auto/configure
18713
18714Patch 8.2.3038
18715Problem: Amiga built-in version string doesn't include build date.
18716Solution: Add the build date if available. (Ola Söder, closes #8437)
18717Files: src/os_amiga.c
18718
18719Patch 8.2.3039
18720Problem: Vim9: breakpoint at a comment line does not work.
18721Solution: Add the comment line number to the debug instruction.
18722 (closes #8429)
18723Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
18724 src/testdir/test_debugger.vim,
18725 src/testdir/test_vim9_disassemble.vim
18726
18727Patch 8.2.3040
18728Problem: GUI: dropping files not tested.
18729Solution: Add test_gui_drop_files() and tests. (Yegappan Lakshmanan,
18730 closes #8434)
18731Files: runtime/doc/eval.txt, runtime/doc/testing.txt,
18732 runtime/doc/usr_41.txt, src/evalfunc.c, src/gui.c,
18733 src/proto/testing.pro, src/testdir/test_gui.vim, src/testing.c
18734
18735Patch 8.2.3041
18736Problem: Detecting if the process of a swap file is running fails if the
18737 process is owned by another user.
18738Solution: Check for the ESRCH error. (closes #8436)
18739Files: src/os_unix.c
18740
18741Patch 8.2.3042 (after 8.2.3041)
18742Problem: Swap file test fails.
18743Solution: Check for a very high process ID instead of one, which should be
18744 running.
18745Files: src/testdir/test_swap.vim
18746
18747Patch 8.2.3043
18748Problem: Amiga: cannot get the shell size on MorphOS and AROS.
18749Solution: Use control sequences. (Ola Söder, closes #8438)
18750Files: src/os_amiga.c
18751
18752Patch 8.2.3044
18753Problem: Amiga MorphOS and AROS: process ID is not valid.
18754Solution: Use FindTask to return something which is unique to all processes.
18755 (Ola Söder, closes #8444)
18756Files: src/os_amiga.c
18757
18758Patch 8.2.3045
18759Problem: Minor typos.
18760Solution: Fix the typos. (Christian Brabandt, closes #8441)
18761Files: src/VisVim/README_VisVim.txt, src/evalfunc.c, src/testdir/vim9.vim
18762
18763Patch 8.2.3046
18764Problem: Amiga MorphOS: Term mode is set using DOS packets.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018765Solution: Use the same way of setting term mode on all next gen Amiga-like
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018766 systems. (Ola Söder, closes #8445)
18767Files: src/os_amiga.c
18768
18769Patch 8.2.3047
18770Problem: Increment and decrement don't allow for next command.
18771Solution: Allow for comment and next command. (closes #8442)
18772Files: src/ex_cmds.h, src/vim9script.c, src/testdir/test_vim9_assign.vim
18773
18774Patch 8.2.3048
18775Problem: Strange error for white space after ++ command.
18776Solution: Check for white space explicitly. (closes #8440)
18777Files: src/vim9script.c, src/errors.h, src/vim9compile.c,
18778 src/testdir/test_vim9_assign.vim
18779
18780Patch 8.2.3049
18781Problem: JSON patch file not recognized.
18782Solution: Recognize json-patch as json. (Kevin Locke, closes #8450)
18783Files: runtime/filetype.vim, src/testdir/test_filetype.vim
18784
18785Patch 8.2.3050
18786Problem: Cannot recognize elixir files.
18787Solution: Recognize Elixir-specific files. Check if an .ex file is Euphoria
18788 or Elixir. (Austin Gatlin, closes #8401, closes #8446)
18789Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
18790 src/testdir/test_filetype.vim
18791
18792Patch 8.2.3051
18793Problem: Vim9: for loop with one list variable does not work.
18794Solution: Use a separate flag for unpacking a list. (closes #8452)
18795Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
18796
18797Patch 8.2.3052
18798Problem: Vim9: "legacy call" does not work.
18799Solution: Do not skip "call" after "legacy". (closes #8454)
18800Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
18801
18802Patch 8.2.3053
18803Problem: Vim9: cannot assign to @@ in :def function
18804Solution: Handle '@' like '"'. (closes #8456)
18805Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
18806
18807Patch 8.2.3054
18808Problem: Vim9: unpack assignment using "_" after semicolon fails.
18809Solution: Drop the expression result. (closes #8453)
18810Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_assign.vim
18811
18812Patch 8.2.3055
18813Problem: Strange error for assigning to "x.key" on non-dictionary.
18814Solution: Add a specific error message. (closes #8451)
18815Files: src/eval.c, src/errors.h, src/testdir/test_vim9_assign.vim,
18816 src/testdir/test_listdict.vim, src/testdir/test_let.vim
18817
18818Patch 8.2.3056
18819Problem: Vim9: using default value in lambda gives confusing error.
18820Solution: Pass "default_args" on the first pass to get the arguments.
18821 (closes #8455)
18822Files: src/userfunc.c, src/testdir/test_vim9_func.vim
18823
18824Patch 8.2.3057
18825Problem: Vim9: debugger test fails with normal features and +terminal.
18826 (Dominique Pellé)
18827Solution: Adjust the INSTRUCTIONS macro. (closes #8460)
18828Files: src/vim9.h
18829
18830Patch 8.2.3058 (after 8.2.3056)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018831Problem: Vim9: cannot use ternary operator in parentheses.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018832Solution: Do not use "==" for a default argument value. (closes #8462)
18833Files: src/userfunc.c, src/testdir/test_vim9_func.vim
18834
18835Patch 8.2.3059 (after 8.2.3056)
18836Problem: Vim9: memory leak when using lambda.
18837Solution: Do not store the default value strings when skipping.
18838Files: src/userfunc.c
18839
18840Patch 8.2.3060 (after 8.2.3056)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018841Problem: Vim9: cannot use ternary operator in parentheses.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018842Solution: Do not use "=~" for a default argument value. (closes #8462)
18843Files: src/userfunc.c, src/testdir/test_vim9_func.vim
18844
18845Patch 8.2.3061
18846Problem: Testing the shell option is incomplete and spread out.
18847Solution: Move shell tests to one file and increase coverage. (Yegappan
18848 Lakshmanan, closes #8464)
18849Files: src/testdir/Make_all.mak, src/testdir/test_functions.vim,
18850 src/testdir/test_options.vim, src/testdir/test_shell.vim,
18851 src/testdir/test_system.vim
18852
18853Patch 8.2.3062
18854Problem: Internal error when adding several text properties.
18855Solution: Do not handle text properties when deleting a line for splitting a
18856 data block. (closes #8466)
18857Files: src/structs.h, src/memline.c, src/testdir/test_textprop.vim
18858
18859Patch 8.2.3063
18860Problem: Crash when switching 'cryptmethod' to xchaha20 with an existing
18861 undo file. (Martin Tournoij)
18862Solution: Disable reading undo file when decoding can't be done inplace.
18863 (issue #8467)
18864Files: src/fileio.c, src/bufwrite.c
18865
18866Patch 8.2.3064
18867Problem: Vim9: in script cannot set item in uninitialized list.
18868Solution: When a list is NULL allocate an empty one. (closes #8461)
18869Files: src/eval.c, src/testdir/test_vim9_assign.vim
18870
18871Patch 8.2.3065
18872Problem: Vim9: error when sourcing script twice and reusing a function
18873 name.
18874Solution: Check if the function is dead. (closes #8463)
18875Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
18876
18877Patch 8.2.3066
18878Problem: Vim9: debugging lambda does not work.
18879Solution: Use the compile type of the function when compiling a lambda.
18880 (closes #8412)
18881Files: src/vim9compile.c, src/testdir/test_debugger.vim
18882
18883Patch 8.2.3067
18884Problem: Building fails with Athena. (Elimar Riesebieter)
18885Solution: Adjust #ifdefs and add the 'drop_file' feature.
18886Files: src/evalfunc.c, src/testing.c, src/testdir/test_gui.vim
18887
18888Patch 8.2.3068
18889Problem: Unicode tables are slightly outdated.
18890Solution: Update the tables for Unicode release 13. (Christian Brabandt
18891 closes #8430)
18892Files: runtime/tools/unicode.vim, src/mbyte.c
18893
18894Patch 8.2.3069
18895Problem: Error messages are spread out.
18896Solution: Move some error messages to errors.h. Use clearer names.
18897Files: src/errors.h, src/globals.h, src/arglist.c, src/buffer.c,
18898 src/channel.c, src/eval.c, src/evalfunc.c, src/evalvars.c,
18899 src/evalwindow.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c,
18900 src/filepath.c, src/fold.c, src/getchar.c, src/indent.c,
18901 src/list.c, src/map.c, src/mark.c, src/normal.c, src/ops.c,
18902 src/optionstr.c, src/popupwin.c, src/quickfix.c, src/spellfile.c,
18903 src/textprop.c, src/typval.c, src/undo.c, src/userfunc.c,
18904 src/vim9compile.c, src/window.c
18905
18906Patch 8.2.3070
18907Problem: Not enough testing for shell use.
18908Solution: Add a bit more testing. (Yegappan Lakshmanan, closes #8469)
18909Files: src/testdir/test_shell.vim, src/testdir/test_startup.vim
18910
18911Patch 8.2.3071
18912Problem: Shell options are not set properly for PowerShell.
18913Solution: Use better option defaults. (Mike Williams, closes #8459)
18914Files: runtime/doc/eval.txt, runtime/doc/options.txt,
18915 runtime/doc/os_dos.txt, src/fileio.c, src/misc2.c, src/option.c,
18916 src/os_win32.c, src/testdir/test_shell.vim
18917
18918Patch 8.2.3072
18919Problem: The "zy" command does not work well when 'virtualedit' is set to
18920 "block". (Johann Höchtl)
18921Solution: Make endspaces zero. (Christian Brabandt, closes #8468,
18922 closes #8448)
18923Files: src/register.c, src/testdir/test_visual.vim
18924
18925Patch 8.2.3073
18926Problem: When cursor is moved for block append wrong text is inserted.
18927Solution: Calculate an offset. (Christian Brabandt, closes #8433,
18928 closes #8288)
18929Files: src/ops.c, src/testdir/test_blockedit.vim,
18930 src/testdir/test_visual.vim
18931
18932Patch 8.2.3074
18933Problem: popup_atcursor() uses wrong position with concealing.
18934Solution: Keep w_wcol in conceal_check_cursor_line(). (closes #8476)
18935Files: src/screen.c, src/proto/screen.pro, src/normal.c, src/edit.c,
18936 src/ui.c, src/testdir/test_popupwin.vim,
18937 src/testdir/dumps/Test_popupwin_atcursor_pos.dump
18938
18939Patch 8.2.3075
18940Problem: Xxd always reports an old version string. (Ã…smund Ervik)
18941Solution: Update the version string with the last known change date.
18942 (Jürgen Weigert, closes #8475)
18943Files: src/xxd/xxd.c, src/testdir/test_xxd.vim
18944
18945Patch 8.2.3076
18946Problem: Vim9: using try in catch block causes a hang.
18947Solution: Save and restore the ec_in_catch flag. (closes #8478)
18948Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
18949
18950Patch 8.2.3077
18951Problem: Vim9: an error in a catch block is not reported.
18952Solution: Put the "in catch" flag in the try stack. (closes #8478)
18953Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
18954
18955Patch 8.2.3078
18956Problem: Vim9: profile test fails.
18957Solution: Make throw in :catch jump to :finally.
18958Files: src/vim9compile.c, src/vim9execute.c,
18959 src/testdir/test_vim9_script.vim
18960
18961Patch 8.2.3079
18962Problem: Powershell core not supported by default.
18963Solution: Set option defaults for "pwsh". (Mike Williams, closes #8481)
18964Files: runtime/doc/eval.txt, runtime/doc/options.txt,
18965 runtime/doc/os_dos.txt, runtime/doc/os_win32.txt, src/fileio.c,
18966 src/misc2.c, src/option.c, src/os_win32.c,
18967 src/testdir/test_shell.vim
18968
18969Patch 8.2.3080
18970Problem: Recover test fails on 32bit systems. (Ondřej Súkup)
18971Solution: Detect 32/64 bit systems. (Yegappan Lakshmanan, closes #8485,
18972 closes #8479)
18973Files: src/testdir/test_recover.vim
18974
18975Patch 8.2.3081
18976Problem: Cannot catch errors in a channel command.
18977Solution: Instead of skipping the error make it silent. (closes #8477)
18978Files: src/channel.c
18979
18980Patch 8.2.3082
18981Problem: A channel command "echoerr" does not show anything.
18982Solution: Do not use silent errors when using an "echoerr" command.
18983 (closes #8494)
18984Files: src/channel.c, src/testdir/test_channel.py,
18985 src/testdir/test_channel.vim
18986
18987Patch 8.2.3083
18988Problem: Crash when passing null string to charclass().
18989Solution: Bail out when string pointer is NULL. (Christian Brabandt,
18990 closes #8498, closes #8260)
18991Files: src/mbyte.c, src/testdir/test_functions.vim
18992
18993Patch 8.2.3084
18994Problem: Vim9: builtin function argument types are not checked at compile
18995 time.
18996Solution: Add argument types. (Yegappan Lakshmanan, closes #8503)
18997Files: src/evalfunc.c, src/testdir/test_functions.vim,
18998 src/testdir/test_glob2regpat.vim,
18999 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim
19000
19001Patch 8.2.3085
19002Problem: JSONC files are not recognized.
19003Solution: Recognize .jsonc files. (Izhak Jakov, closes #8500)
19004Files: runtime/filetype.vim, src/testdir/test_filetype.vim
19005
19006Patch 8.2.3086
19007Problem: Vim9: breakpoint on "for" does not work.
19008Solution: Use the right line number in ISN_DEBUG. (closes #8486)
19009Files: src/vim9compile.c, src/testdir/test_debugger.vim
19010
19011Patch 8.2.3087
19012Problem: Gemtext files are not recognized.
19013Solution: Recognize .gmi and .gemini files. (closes #8427)
19014Files: runtime/filetype.vim, src/testdir/test_filetype.vim
19015
19016Patch 8.2.3088
19017Problem: With 'virtualedit' set to "block" Visual highlight is wrong after
19018 using "$". (Marco Trosi)
19019Solution: Do not set w_old_cursor_lcol to MAXCOL. (closes #8495)
19020Files: src/drawscreen.c, src/testdir/test_visual.vim,
19021 src/testdir/dumps/Test_visual_block_with_virtualedit.dump
19022
19023Patch 8.2.3089
19024Problem: Garbage collection has useless code.
19025Solution: Bail out when aborting. (closes #8504)
19026Files: src/userfunc.c
19027
19028Patch 8.2.3090
19029Problem: With concealing enabled and indirectly closing a fold the cursor
19030 may be somewhere in a folded line.
19031Solution: Recompute the cursor position when the cursor line can be
19032 concealed. (closes #8480)
19033Files: src/drawscreen.c
19034
19035Patch 8.2.3091
19036Problem: Vim9: default argument expression cannot use previous argument
19037Solution: Correct argument index. (closes #8496)
19038Files: src/vim9compile.c, src/structs.h, src/testdir/test_vim9_func.vim
19039
19040Patch 8.2.3092
19041Problem: Vim9: builtin function test fails without the +channel feature.
19042Solution: Check the +channel feature is supported. (Dominique Pellé,
19043 closes #8507)
19044Files: runtime/doc/eval.txt, src/testdir/test_vim9_builtin.vim
19045
19046Patch 8.2.3093
19047Problem: tablabel_tooltip test fails with Athena. (Dominique Pellé)
19048Solution: Skip the test when using Athena. (closes #8508)
19049Files: src/testdir/test_gui.vim, src/testdir/check.vim
19050
19051Patch 8.2.3094
19052Problem: Test_popup_atcursor_pos() fails without the conceal feature.
19053Solution: Add a check for the conceal feature. (Dominique Pellé,
19054 closes #8505)
19055Files: src/testdir/test_popupwin.vim
19056
19057Patch 8.2.3095 (after 8.2.3088)
19058Problem: With 'virtualedit' set to "block" block selection is wrong after
19059 using "$". (Marco Trosi)
19060Solution: Compute the longest selected line. (closes #8495)
19061Files: src/drawscreen.c, src/testdir/test_visual.vim,
19062 src/testdir/dumps/Test_visual_block_with_virtualedit2.dump
19063
19064Patch 8.2.3096
19065Problem: Temp files remain after running tests.
19066Solution: Delete the right files. (Dominique Pellé, closes #8509)
19067Files: src/testdir/test_debugger.vim, src/testdir/test_lambda.vim,
19068 src/testdir/test_visual.vim
19069
19070
19071Patch 8.2.3097
19072Problem: Crash when using "quit" at recovery prompt and autocommands are
19073 triggered.
19074Solution: Block autocommands when creating an empty buffer to use as the
19075 current buffer. (closes #8506)
19076Files: src/buffer.c, src/testdir/test_swap.vim
19077
19078Patch 8.2.3098
19079Problem: Popup window test is flaky on MS-Windows with GUI.
19080Solution: Skip the check in this situation.
19081Files: src/testdir/test_popupwin.vim
19082
19083Patch 8.2.3099
19084Problem: Vim9: missing catch/finally not reported at script level.
19085Solution: Give an error. (closes #8487)
19086Files: src/structs.h, src/ex_eval.c, src/testdir/test_vim9_script.vim
19087
19088Patch 8.2.3100
19089Problem: Vim9: no error when using type with unknown number of arguments.
19090Solution: Do not ignore argument count of -1. (closes #8492)
19091Files: src/vim9type.c, src/evalfunc.c, src/proto/evalfunc.pro,
19092 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_expr.vim,
19093 src/testdir/test_vim9_func.vim
19094
19095Patch 8.2.3101
19096Problem: Missing function prototype for vim_round().
19097Solution: Add the prototype.
19098Files: src/proto/float.pro
19099
19100Patch 8.2.3102 (after 8.2.3097)
19101Problem: Test for crash fix does not fail without the fix.
19102Solution: Adjust the test sequence. (closes #8506)
19103Files: src/testdir/test_swap.vim
19104
19105Patch 8.2.3103 (after 8.2.3102)
19106Problem: Swap test may fail on some systems when jobs take longer to exit.
19107Solution: Use different file names.
19108Files: src/testdir/test_swap.vim
19109
19110Patch 8.2.3104
19111Problem: Vim9: unspecified function type causes type error.
19112Solution: Don't check type when min_argcount is negative. (issue #8492)
19113Files: src/globals.h, src/vim9type.c, src/testdir/test_vim9_assign.vim
19114
19115Patch 8.2.3105
19116Problem: Vim9: type of partial is wrong when it has arguments.
19117Solution: Subtract arguments from the count. (issue #8492)
19118Files: src/vim9type.c, src/userfunc.c, src/testdir/test_vim9_assign.vim
19119
19120Patch 8.2.3106
19121Problem: Vim9: confusing line number reported for error.
19122Solution: Use the start line number for the store instruction.
19123 (closes #8488)
19124Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
19125
19126Patch 8.2.3107
19127Problem: Vim9: error for arguments while type didn't specify arguments.
19128Solution: Do not update that type to check when no argument count is
19129 specified. (closes #8492)
19130Files: src/userfunc.c, src/testdir/test_vim9_assign.vim
19131
19132Patch 8.2.3108
19133Problem: Test for remote_foreground() fails. (Elimar Riesebieter)
19134Solution: Check that $DISPLAY is set. (Christian Brabandt)
19135Files: src/testdir/check.vim, src/testdir/test_clientserver.vim,
19136 src/testdir/test_vim9_builtin.vim
19137
19138Patch 8.2.3109
19139Problem: Check for $DISPLAY never fails.
19140Solution: Use eval().
19141Files: src/testdir/check.vim
19142
19143Patch 8.2.3110
Bram Moolenaar47c532e2022-03-19 15:18:53 +000019144Problem: A pattern that matches the cursor position is a bit complicated.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019145Solution: Use a dot to indicate the cursor line and column. (Christian
19146 Brabandt, closes #8497, closes #8179)
19147Files: runtime/doc/pattern.txt, src/errors.h, src/regexp_bt.c,
19148 src/regexp_nfa.c, src/testdir/test_regexp_latin.vim
19149
19150Patch 8.2.3111
19151Problem: Vim9: confusing error with extra whitespace before colon.
19152Solution: Check for colon after white space. (closes #8513)
19153Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_script.vim
19154
19155Patch 8.2.3112 (after 8.2.3090)
19156Problem: With concealing enabled and indirectly closing a fold the cursor
19157 may be somewhere in a folded line when it is not on the first line
19158 of the fold.
Bram Moolenaar47c532e2022-03-19 15:18:53 +000019159Solution: Check if the cursor is somewhere in the folded text.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019160Files: src/drawscreen.c
19161
19162Patch 8.2.3113
19163Problem: No error when for loop variable shadows script variable.
19164Solution: Check for the error. (closes #8512)
19165Files: src/eval.c, src/testdir/test_vim9_script.vim
19166
19167Patch 8.2.3114
19168Problem: Amiga-like systems: build error checking for running process
19169Solution: Only build swapfile_process_running() on systems where it is
19170 actually used. (Ola Söder, closes #8519)
19171Files: src/memline.c
19172
19173Patch 8.2.3115
19174Problem: Coverity complains about free_wininfo() use.
19175Solution: Add a condition that "wip2" is not equal to "wip". (Neovim #14996)
19176Files: src/window.c
19177
19178Patch 8.2.3116
19179Problem: Vim9: crash when debugging a function with line continuation.
19180Solution: Check for a NULL pointer. (closes #8521)
19181Files: src/vim9execute.c, src/testdir/test_debugger.vim
19182
19183Patch 8.2.3117
19184Problem: Vim9: type not properly checked in for loop.
19185Solution: Have items() return a list of lists. Add runtime type checks.
19186 (closes #8515)
19187Files: src/evalfunc.c, src/globals.h, src/vim9compile.c,
19188 src/testdir/test_vim9_script.vim
19189
19190Patch 8.2.3118
19191Problem: Vim9: "any" type not handled correctly in for loop.
19192Solution: Change compile time check into runtime check. (closes #8516)
19193Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
19194
19195Patch 8.2.3119
19196Problem: Compiler warning for unused argument.
19197Solution: Add UNUSED.
19198Files: src/evalfunc.c
19199
19200Patch 8.2.3120
19201Problem: Crypt with sodium test fails on MS-Windows.
19202Solution: Make the tests pass. (closes #8428)
19203Files: src/testdir/test_crypt.vim
19204
19205Patch 8.2.3121
19206Problem: 'listchars' "exceeds" character appears in foldcolumn. Window
19207 separator is missing. (Leonid V. Fedorenchik)
19208Solution: Only draw the "exceeds" character in the text area. Break the
19209 loop when not drawing the text. (closes #8524)
19210Files: src/drawline.c, src/testdir/test_listchars.vim,
19211 src/testdir/dumps/Test_listchars_01.dump,
19212 src/testdir/dumps/Test_listchars_02.dump,
19213 src/testdir/dumps/Test_listchars_03.dump,
19214 src/testdir/dumps/Test_listchars_04.dump,
19215 src/testdir/dumps/Test_listchars_05.dump
19216
19217Patch 8.2.3122
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019218Problem: With 'nowrap' cursor position is unexpected in narrow window.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019219 (Leonid V. Fedorenchik)
19220Solution: Put cursor on the last non-empty line. (closes #8525)
19221Files: src/move.c, src/testdir/test_listchars.vim,
19222 src/testdir/dumps/Test_listchars_06.dump,
19223 src/testdir/dumps/Test_listchars_07.dump
19224
19225Patch 8.2.3123
19226Problem: Vim9: confusing error when using white space after option, before
19227 one of "!&<".
19228Solution: Give a specific error. (issue #8408)
19229Files: src/errors.h, src/option.c, src/testdir/test_vim9_script.vim
19230
19231Patch 8.2.3124
19232Problem: Vim9: no error for white space between option and "=9".
19233Solution: Check for extraneous white space. (issue #8408)
19234Files: src/option.c, src/testdir/test_vim9_script.vim
19235
19236Patch 8.2.3125
19237Problem: Variables are set but not used.
19238Solution: Move the declarations to the block where they are used.
19239 (closes #8527)
19240Files: src/regexp_nfa.c
19241
19242Patch 8.2.3126
19243Problem: Vim9: for loop error reports wrong line number.
19244Solution: Save and restore the line number when evaluating the expression.
19245 (closes #8514)
19246Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
19247
19248Patch 8.2.3127
19249Problem: Vim9: no error when adding number to list of string.
19250Solution: Check the value type. (closes #8529)
19251Files: src/list.c, src/testdir/test_vim9_builtin.vim
19252
19253Patch 8.2.3128
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019254Problem: Vim9: uninitialized list does not get type checked.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019255Solution: Set the type when initializing the variable. (closes #8529)
19256Files: src/eval.c, src/evalvars.c, src/vim9script.c,
19257 src/userfunc.c, src/proto/vim9script.pro,
19258 src/testdir/test_vim9_builtin.vim
19259
19260Patch 8.2.3129
19261Problem: Vim9: imported uninitialized list does not get type checked.
19262Solution: Get type from imported variable.
19263Files: src/eval.c, src/evalvars.c, src/vim9script.c,
19264 src/proto/vim9script.pro, src/userfunc.c,
19265 src/testdir/test_vim9_script.vim
19266
19267Patch 8.2.3130
19268Problem: Vim9: import test fails.
19269Solution: Rename directory back to "import", use "p" to avoid an error when
19270 the directory already exists.
19271Files: src/testdir/test_vim9_script.vim
19272
19273Patch 8.2.3131
19274Problem: MS-Windows: ipv6 channel test is very flaky in the GUI.
19275Solution: Skip the test.
19276Files: src/testdir/test_channel.vim
19277
19278Patch 8.2.3132
19279Problem: Compiler warns for size_t to colnr_T conversion. (Randall W.
19280 Morris)
19281Solution: Add a type cast.
19282Files: src/drawscreen.c
19283
19284Patch 8.2.3133
19285Problem: Vim9: memory leak when add() fails.
19286Solution: Allocate listitem_T after type check.
19287Files: src/list.c
19288
19289Patch 8.2.3134
19290Problem: Crash when using typename() on a function reference. (Naohiro Ono)
19291Solution: Initialize pointer to NULL. (closes #8531)
19292Files: src/vim9type.c, src/testdir/test_vim9_builtin.vim
19293
19294Patch 8.2.3135
19295Problem: Vim9: builtin function arguments not checked at compile time.
19296Solution: Add more type checks. (Yegappan Lakshmanan, closes #8539)
19297Files: src/channel.c, src/errors.h, src/evalfunc.c, src/proto/typval.pro,
19298 src/terminal.c, src/testdir/test_search.vim,
19299 src/testdir/test_textprop.vim, src/testdir/test_vim9_builtin.vim,
19300 src/testing.c, src/textprop.c, src/typval.c
19301
19302Patch 8.2.3136
19303Problem: No test for E187 and "No swap file".
19304Solution: Add a test. (Dominique Pellé, closes #8540)
19305Files: src/testdir/test_cd.vim, src/testdir/test_swap.vim
19306
19307Patch 8.2.3137
19308Problem: Vim9: no error when a line only has a variable name.
19309Solution: Give an error when an expression is evaluated without an effect.
19310 (closes #8538)
19311Files: src/ex_eval.c, src/errors.h, src/vim9compile.c,
19312 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_expr.vim,
19313 src/testdir/test_vim9_func.vim
19314
19315Patch 8.2.3138 (after 8.2.3137)
19316Problem: Debugger test fails.
19317Solution: Adjust eval command.
19318Files: src/testdir/test_debugger.vim
19319
19320Patch 8.2.3139
19321Problem: Functions for string manipulation are spread out.
19322Solution: Move string related functions to a new source file. (Yegappan
19323 Lakshmanan, closes #8470)
19324Files: Filelist, src/Make_ami.mak, src/Make_cyg_ming.mak,
19325 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
19326 src/eval.c, src/evalfunc.c, src/mbyte.c, src/misc1.c, src/misc2.c,
19327 src/proto.h, src/proto/eval.pro, src/proto/evalfunc.pro,
19328 src/proto/mbyte.pro, src/proto/misc1.pro, src/proto/misc2.pro,
19329 src/proto/strings.pro, src/strings.c
19330
19331Patch 8.2.3140 (after 8.2.3131)
19332Problem: MS-Windows: ipv6 channel test is very flaky also without the GUI.
19333Solution: Skip the test also without the GUI.
19334Files: src/testdir/test_channel.vim
19335
19336Patch 8.2.3141
19337Problem: No error when using :complete for :command without -nargs.
19338Solution: Give an error. (Martin Tournoij, closes #8544, closes #8541)
19339Files: src/usercmd.c, src/errors.h, src/testdir/test_usercommands.vim
19340
19341Patch 8.2.3142
19342Problem: Vim9: type check for has_key() argument is too strict.
19343Solution: Also allow for a number key argument. (closes #8542)
19344Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
19345
19346Patch 8.2.3143
19347Problem: Vim9: A lambda may be compiled with the wrong context if it is
19348 called from a profiled function.
19349Solution: Compile the lambda with and without profiling. (closes #8543)
19350Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
19351
19352Patch 8.2.3144
19353Problem: Vim9: no error when using an invalid value for a line number.
19354Solution: Give an error if the string value is not recognized.
19355 (closes #8536)
19356Files: src/errors.h, src/eval.c, src/testdir/test_vim9_builtin.vim
19357
19358Patch 8.2.3145
19359Problem: Vim9: profile test fails without profile feature.
19360Solution: Check the profile feature is present.
19361Files: src/testdir/test_vim9_script.vim
19362
19363Patch 8.2.3146
19364Problem: Vim9: line number wrong for :execute argument.
19365Solution: Use the line number of the :execute command itself. (closes #8537)
19366Files: src/eval.c, src/testdir/test_vim9_script.vim
19367
19368Patch 8.2.3147
19369Problem: Vim9: profiling does not work with a nested function.
19370Solution: Also compile a nested function without profiling. (closes #8543)
19371 Handle that compiling may cause the table of compiled functions to
19372 change.
19373Files: src/vim9compile.c, src/vim9execute.c,
19374 src/testdir/test_vim9_script.vim
19375
19376Patch 8.2.3148
19377Problem: Vim9: function arg type check does not handle base offset.
19378Solution: Take the base offset into account when checking builtin function
19379 argument types.
19380Files: src/evalfunc.c, src/vim9compile.c,
19381 src/testdir/test_vim9_builtin.vim
19382
19383Patch 8.2.3149 (after 8.2.3141)
19384Problem: Some plugins have a problem with the error check for using
19385 :command with -complete but without -nargs.
19386Solution: In legacy script only give a warning message.
19387Files: src/usercmd.c, src/message.c, src/proto/message.pro,
19388 src/testdir/test_usercommands.vim
19389
19390Patch 8.2.3150
19391Problem: Vim9: argument types are not checked at compile time.
19392Solution: Add more type checks. (Yegappan Lakshmanan, closes #8545)
19393Files: src/evalfunc.c, src/testing.c, src/testdir/test_vim9_builtin.vim
19394
19395Patch 8.2.3151
19396Problem: Vim9: profiling fails if nested function is also profiled.
19397Solution: Use the compile type from the outer function. (closes #8543)
19398Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
19399
19400Patch 8.2.3152
19401Problem: Vim9: accessing "s:" results in an error.
19402Solution: Do not try to lookup a script variable for "s:". (closes #8549)
19403Files: src/evalvars.c, src/testdir/test_vim9_expr.vim
19404
19405Patch 8.2.3153
19406Problem: URLs with a dash in the scheme are not recognized.
19407Solution: Allow for a scheme with a dash, but not at the start or end.
19408 (Tsuyoshi CHO, closes #8299)
19409Files: src/misc1.c, src/testdir/test_buffer.vim
19410
19411Patch 8.2.3154
19412Problem: Vim9: some type checks for builtin functions fail.
19413Solution: Correct the type checks. (Yegappan Lakshmanan, closes #8551,
19414 closes #8550)
19415Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
19416
19417Patch 8.2.3155
19418Problem: Some option related code not covered by tests.
19419Solution: Add a few test cases. (Dominique Pellé, closes #8552)
19420Files: src/testdir/test_options.vim, src/testdir/test_set.vim
19421
19422Patch 8.2.3156
19423Problem: Vim9: term_getansicolors() test fails without +termguicolors.
19424Solution: Add a check for the feature. (Dominique Pellé, closes #8555)
19425Files: src/testdir/test_vim9_builtin.vim
19426
19427Patch 8.2.3157
19428Problem: Crypt test may fail on MS-Windows.
19429Solution: Ignore "[unix]" in the file message. (Christian Brabandt,
19430 closes #8561)
19431Files: src/testdir/test_crypt.vim
19432
19433Patch 8.2.3158
19434Problem: Strange error message when using islocked() with a number.
19435 (Yegappan Lakshmanan)
19436Solution: Check that the name is empty.
19437Files: src/evalfunc.c, src/testdir/test_functions.vim
19438
19439Patch 8.2.3159
19440Problem: Cursor displayed in wrong position after deleting line.
19441Solution: When deleting lines do not approximate botline. (fixes #8559)
19442Files: src/change.c
19443
19444Patch 8.2.3160
19445Problem: 'breakindent' does not work well for bulleted and numbered lists.
19446Solution: Add the "list" entry to 'breakindentopt'. (Christian Brabandt,
19447 closes #8564, closes #1661)
19448Files: runtime/doc/options.txt, src/indent.c, src/structs.h,
19449 src/testdir/test_breakindent.vim
19450
19451Patch 8.2.3161
19452Problem: Vim9: no error when reltime() has invalid arguments.
19453Solution: Add an error. (closes #8562)
19454Files: src/time.c, src/testdir/test_vim9_builtin.vim
19455
19456Patch 8.2.3162
19457Problem: Vim9: argument types are not checked at compile time.
19458Solution: Add more type checks. (Yegappan Lakshmanan, closes #8560)
19459Files: runtime/doc/channel.txt, src/clientserver.c, src/cmdhist.c,
19460 src/errors.h, src/evalfunc.c, src/evalwindow.c, src/filepath.c,
19461 src/globals.h, src/popupwin.c, src/proto/typval.pro, src/sign.c,
19462 src/strings.c, src/terminal.c, src/testdir/test_normal.vim,
19463 src/testdir/test_reltime.vim, src/testdir/test_vim9_builtin.vim,
19464 src/testdir/test_vim9_expr.vim, src/testing.c, src/textprop.c,
19465 src/time.c, src/typval.c
19466
19467Patch 8.2.3163
19468Problem: Location list window may open a wrong file.
19469Solution: Also update the qf_ptr field. (Wei-Chung Wen, closes #8565,
19470 closes #8566)
19471Files: src/quickfix.c, src/testdir/test_quickfix.vim
19472
19473Patch 8.2.3164
19474Problem: MS-Windows: reported version lacks patchlevel, causing some update
19475 tools to update too often. (Klaus Frank)
19476Solution: Add the patchlevel to the version. (Christian Brabandt)
19477Files: src/dosinst.c
19478
19479Patch 8.2.3165
19480Problem: Vim9: in a || expression the error line number may be wrong.
19481Solution: Save and restore the line number when checking the type.
19482 (closes #8569)
19483Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
19484
19485Patch 8.2.3166
19486Problem: Vim9: nested autoload call error overruled by "Unknown error".
19487Solution: Check need_rethrow before giving an "Unknown error".
19488 (closes #8568)
19489Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
19490
19491Patch 8.2.3167
19492Problem: Get E12 in a job callback when searching for tags. (Andy Stewart)
19493Solution: Use the sandbox only for executing a command, not for searching.
19494 (closes #8511)
19495Files: src/tag.c
19496
19497Patch 8.2.3168
19498Problem: Vim9: type error for constant of type any.
19499Solution: Do add a runtime type check if a constant has type any.
19500 (closes #8570)
19501Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
19502
19503Patch 8.2.3169
19504Problem: Vim9: cannot handle nested inline function.
19505Solution: Check for nested inline function. (closes #8575)
19506Files: src/userfunc.c, src/testdir/test_vim9_func.vim,
19507 src/testdir/test_vim9_expr.vim
19508
19509Patch 8.2.3170
19510Problem: Illegal memory access in test.
19511Solution: Check pointer is not before the start of the line.
19512Files: src/userfunc.c
19513
19514Patch 8.2.3171
19515Problem: Another illegal memory access in test.
19516Solution: Check pointer is after the start of the line.
19517Files: src/userfunc.c
19518
19519Patch 8.2.3172
19520Problem: MzScheme test fails. (Christian Brabandt)
19521Solution: Correct function name.
19522Files: src/testdir/test_vim9_builtin.vim
19523
19524Patch 8.2.3173
19525Problem: Vim9: argument types are not checked at compile time.
19526Solution: Add more type checks. (Yegappan Lakshmanan, closes #8581)
19527Files: src/diff.c, src/errors.h, src/evalfunc.c, src/globals.h,
19528 src/job.c, src/proto/typval.pro, src/strings.c, src/terminal.c,
19529 src/testdir/test_vim9_builtin.vim, src/typval.c
19530
19531Patch 8.2.3174
19532Problem: Vim9: "legacy undo" finds "undo" variable.
19533Solution: Do not pass lookup function to find_ex_command(). (closes #8563)
19534Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
19535
19536Patch 8.2.3175
19537Problem: Vim9: using illegal pointer with inline function inside a lambda.
19538Solution: Clear eval_tofree_cmdline when advancing to the next line.
19539 (closes #8578)
19540Files: src/eval.c, src/testdir/test_vim9_func.vim
19541
19542Patch 8.2.3176
19543Problem: Vim9: no type error for comparing number with string.
19544Solution: Add a runtime type check. (closes #8571)
19545Files: src/typval.c, src/errors.h, src/testdir/test_vim9_expr.vim
19546
19547Patch 8.2.3177
19548Problem: Vim9: can not use "for _ in expr" at script level.
19549Solution: Skip assignment if the loop variable is "_".
19550Files: src/eval.c, src/testdir/test_vim9_script.vim
19551
19552Patch 8.2.3178
19553Problem: Vim9: the file name of an :import cannot be an expression.
19554Solution: Accept an expression that results in a string. Do not support
19555 :import in a function.
19556Files: runtime/doc/vim9.txt, src/vim9script.c, src/vim9compile.c,
19557 src/testdir/test_vim9_script.vim
19558
19559Patch 8.2.3179
19560Problem: Vim9: cannot assign to an imported variable at script level.
19561Solution: Lookup imported items when assigning.
19562Files: src/evalvars.c, src/errors.h, src/eval.c,
19563 src/testdir/test_vim9_script.vim
19564
19565Patch 8.2.3180
19566Problem: Vim9: memory leak when concatenating to an imported string.
19567Solution: Clear the destination.
19568Files: src/evalvars.c
19569
19570Patch 8.2.3181
19571Problem: Vim9: builtin function test fails without channel feature.
19572Solution: Add feature checks. (Dominique Pellé, closes #8586) Make feature
19573 checks more consistent.
19574Files: src/testdir/test_vim9_builtin.vim
19575
19576Patch 8.2.3182
19577Problem: Vim9: crash when using removing items from a constant list.
19578 (Yegappan Lakshmanan)
19579Solution: When a list was allocated with items copy them.
19580Files: src/list.c, src/testdir/test_vim9_builtin.vim
19581
19582Patch 8.2.3183
19583Problem: Duplicate error numbers.
19584Solution: Adjust the error numbers.
19585Files: src/errors.h, src/testdir/test_vim9_builtin.vim
19586
19587Patch 8.2.3184
19588Problem: Cannot add a digraph with a leading space. It is not easy to list
19589 existing digraphs.
19590Solution: Add setdigraph(), setdigraphlist(), getdigraph() and
19591 getdigraphlist(). (closes #8580)
19592Files: runtime/doc/digraph.txt, runtime/doc/eval.txt,
19593 runtime/doc/usr_41.txt, src/digraph.c, src/evalfunc.c,
19594 src/ex_docmd.c, src/globals.h, src/errors.h,
19595 src/proto/digraph.pro, src/testdir/test_digraph.vim
19596
19597Patch 8.2.3185
19598Problem: Vim9: start of inline function found in comment line.
19599Solution: Do not check for inline function in comment line. (closes #8589)
19600Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
19601
19602Patch 8.2.3186
19603Problem: Vim9: not all failures for import tested
19604Solution: Test more import failures
19605Files: src/errors.h, src/evalvars.c, src/testdir/test_vim9_script.vim
19606
19607Patch 8.2.3187
19608Problem: Vim9: popup timer callback is not compiled.
19609Solution: Compile the callback when creating the timer.
19610Files: src/vim9compile.c, src/proto/vim9compile.pro, src/popupwin.c
19611
19612Patch 8.2.3188
19613Problem: Vim9: argument types are not checked at compile time.
19614Solution: Add several more type checks, also at runtime. (Yegappan
19615 Lakshmanan, closes #8587)
19616Files: src/blob.c, src/channel.c, src/clientserver.c, src/cmdexpand.c,
19617 src/cmdhist.c, src/dict.c, src/diff.c, src/errors.h, src/eval.c,
19618 src/evalbuffer.c, src/evalfunc.c, src/evalvars.c,
19619 src/evalwindow.c, src/filepath.c, src/globals.h, src/insexpand.c,
19620 src/job.c, src/list.c, src/map.c, src/match.c,
19621 src/proto/typval.pro, src/quickfix.c, src/search.c, src/sign.c,
19622 src/strings.c, src/terminal.c, src/testdir/test_blob.vim,
19623 src/testdir/test_gui.vim, src/testdir/test_vim9_builtin.vim,
19624 src/testing.c, src/textprop.c, src/time.c, src/typval.c
19625
19626Patch 8.2.3189
19627Problem: Vim9: error when using "try|".
19628Solution: Allow for "|" right after a command.
19629Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
19630
19631Patch 8.2.3190
19632Problem: Error messages are spread out.
19633Solution: Move error messages to errors.h and give them a clear name.
19634Files: src/globals.h, src/errors.h, src/buffer.c, src/debugger.c,
19635 src/digraph.c, src/edit.c, src/ex_cmds.c, src/ex_cmds2.c,
19636 src/ex_docmd.c, src/ex_eval.c, src/gui.c, src/list.c, src/main.c,
19637 src/map.c, src/match.c, src/quickfix.c, src/regexp.c,
19638 src/regexp_bt.c, src/regexp_nfa.c, src/register.c, src/search.c,
19639 src/session.c, src/spell.c, src/syntax.c, src/time.c,
19640 src/userfunc.c, src/vim9execute.c, src/window.c
19641
19642Patch 8.2.3191
19643Problem: Vim9: not enough code is tested.
19644Solution: Use CheckLegacyAndVim9Success() in more places. Fix uncovered
19645 problems.
19646Files: src/vim9compile.c, src/vim9execute.c,
19647 src/testdir/test_listdict.vim
19648
19649Patch 8.2.3192 (after 8.2.3190)
19650Problem: Build failure with small version (Tony Mechelynck).
19651Solution: Remove stray #ifdef.
19652Files: src/errors.h
19653
19654Patch 8.2.3193
19655Problem: screenpos() is wrong when the last line is partially visible and
19656 'display' is "lastline".
19657Solution: Also compute the position for a partially visible line.
19658 (closes #8599)
19659Files: src/move.c, src/testdir/test_cursor_func.vim
19660
19661Patch 8.2.3194
19662Problem: Vim9: argument types are not checked at compile time.
19663Solution: Add several more type checks, simplify some. (Yegappan
19664 Lakshmanan, closes #8598)
19665Files: src/diff.c, src/evalbuffer.c, src/evalfunc.c, src/job.c,
19666 src/proto/typval.pro, src/sign.c, src/terminal.c,
19667 src/testdir/test_vim9_builtin.vim, src/typval.c
19668
19669Patch 8.2.3195
19670Problem: Vim9: unclear error when passing too many arguments to lambda.
19671Solution: Pass the expression itself instead of "[expression]".
19672 (closes #8604)
19673Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
19674
19675Patch 8.2.3196
19676Problem: Vim9: bool expression with numbers only fails at runtime.
19677Solution: Check constant to be bool at compile time. (closes #8603)
19678Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
19679
19680Patch 8.2.3197
19681Problem: Error messages are spread out.
19682Solution: Move a few more error messages to errors.h.
19683Files: src/globals.h, src/errors.h, src/edit.c, src/ex_cmds.c,
19684 src/ex_docmd.c, src/evalvars.c, src/option.c, src/quickfix.c,
19685 src/regexp_bt.c, src/regexp_nfa.c, src/regexp.c, src/undo.c,
19686 src/vim9compile.c, src/vim9script.c
19687
19688Patch 8.2.3198
19689Problem: Cannot use 'formatlistpat' for breakindent.
19690Solution: Use a negative list indent. (Maxim Kim, closes #8594)
19691Files: runtime/doc/options.txt, src/indent.c,
19692 src/testdir/test_breakindent.vim
19693
19694Patch 8.2.3199
19695Problem: Vim9: execution speed can be improved.
19696Solution: Make the break counter static.
19697Files: src/vim9execute.c
19698
19699Patch 8.2.3200
19700Problem: Vim9: hard to guess where a type error is given.
19701Solution: Add the function name where possible. (closes #8608)
19702Files: src/dict.c, src/proto/dict.pro, src/eval.c, src/list.c,
19703 src/vim9compile.c, src/vim9execute.c, src/structs.h,
19704 src/vim9type.c, src/proto/vim9type.pro, src/if_py_both.h,
19705 src/errors.h, src/testdir/test_vim9_builtin.vim
19706
19707Patch 8.2.3201 (after 8.2.3200)
19708Problem: Crash in test.
19709Solution: Initialize "where".
19710Files: src/eval.c, src/evalvars.c
19711
19712Patch 8.2.3202
19713Problem: Vim9: tests are only executed for legacy script.
19714Solution: Run more tests also for Vim9 script. Fix uncovered problems.
19715Files: src/vim9execute.c, src/ex_docmd.c, src/testdir/test_listdict.vim
19716
19717Patch 8.2.3203
19718Problem: Vim9: compiled string expression causes type error. (Yegappan
19719 Lakshmanan)
19720Solution: Remove the string type from the stack.
19721Files: src/vim9compile.c, src/evalfunc.c
19722
19723Patch 8.2.3204
19724Problem: Display garbled when 'cursorline' is set and lines wrap. (Gabriel
19725 Dupras)
19726Solution: Avoid inserting lines twice. (closes #7255)
19727Files: src/drawscreen.c, src/testdir/test_cursorline.vim,
19728 src/testdir/dumps/Test_cursorline_redraw_1.dump,
19729 src/testdir/dumps/Test_cursorline_redraw_2.dump
19730
19731Patch 8.2.3205
19732Problem: Coverity reports a null pointer dereference.
19733Solution: Change the logic to avoid Coverity gets confused.
19734Files: src/vim9compile.c
19735
19736Patch 8.2.3206
19737Problem: Vim9: argument types are not checked at compile time.
19738Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8611)
19739Files: runtime/doc/eval.txt, src/blob.c, src/cmdhist.c, src/dict.c,
19740 src/errors.h, src/evalfunc.c, src/filepath.c, src/globals.h,
19741 src/job.c, src/list.c, src/match.c, src/misc1.c, src/popupwin.c,
19742 src/proto/typval.pro, src/sign.c, src/terminal.c,
19743 src/testdir/test_blob.vim, src/testdir/test_vim9_builtin.vim,
19744 src/typval.c
19745
19746Patch 8.2.3207
19747Problem: Vim9: crash when compiling string fails. (Yegappan Lakshmanan)
19748Solution: Adjust the type stack length.
19749Files: src/vim9compile.c, src/testdir/test_vim9_builtin.vim
19750
19751Patch 8.2.3208
19752Problem: Dynamic library load error does not mention why it failed.
19753Solution: Add the error message. (Martin Tournoij, closes #8621)
19754Files: src/globals.h, src/if_cscope.c, src/if_lua.c, src/if_mzsch.c,
19755 src/if_perl.xs, src/if_python.c, src/if_python3.c, src/if_ruby.c,
19756 src/if_tcl.c, src/mbyte.c, src/os_win32.c, src/proto/os_win32.pro,
19757 src/terminal.c
19758
19759Patch 8.2.3209
19760Problem: Vim9: lambda doesn't find block-local variable.
19761Solution: Adjust how a script-local variable is found. (closes #8614)
19762Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
19763
19764Patch 8.2.3210
19765Problem: Vim9: searchpair() sixth argument is compiled. (Yegappan
19766 Lakshmanan)
19767Solution: Only compile the fifth argument.
19768Files: src/vim9compile.c, src/testdir/test_vim9_builtin.vim
19769
19770Patch 8.2.3211
19771Problem: Vim9: argument types are not checked at compile time.
19772Solution: Add several more type checks. Fix type check for matchaddpos().
19773 (Yegappan Lakshmanan, closes #8619)
19774Files: src/channel.c, src/evalfunc.c, src/evalvars.c, src/if_cscope.c,
19775 src/job.c, src/proto/typval.pro,
19776 src/testdir/test_vim9_builtin.vim, src/time.c, src/typval.c
19777
19778Patch 8.2.3212
19779Problem: Vim9: execution speed can be improved.
19780Solution: Use __builtin_expect() to have the compiler produce better code.
19781 (Dominique Pellé, closes #8613)
19782Files: src/vim9execute.c
19783
19784Patch 8.2.3213
19785Problem: NOCOMPOUNDSUGS entry in spell file not tested.
19786Solution: Add a test. (Dominique Pellé, closes #8624)
19787Files: src/testdir/test_spellfile.vim
19788
19789Patch 8.2.3214
19790Problem: MS-Windows: passing /D does not set the install location.
19791Solution: Adjust how the installer uses $VIM. Update the documentation.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019792 (Christian Brabandt, Ken Takata, closes #8605)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019793Files: nsis/gvim.nsi, runtime/doc/os_win32.txt
19794
19795Patch 8.2.3215
19796Problem: Vim9: argument types are not checked at compile time.
19797Solution: Add several more type checks. Sort the argument lists.
19798 (Yegappan Lakshmanan, closes #8626)
19799Files: src/change.c, src/evalfunc.c, src/filepath.c, src/sound.c,
19800 src/testdir/test_gui.vim, src/testdir/test_vim9_builtin.vim,
19801 src/testing.c
19802
19803Patch 8.2.3216
19804Problem: Vim9: crash when using variable in a loop at script level.
19805Solution: Do not clear the variable if a function was defined.
19806 Do not create a new entry in sn_var_vals every time.
19807 (closes #8628)
19808Files: src/eval.c, src/ex_eval.c, src/vim9script.c, src/userfunc.c,
19809 src/evalvars.c, src/structs.h
19810
19811Patch 8.2.3217 (after 8.2.3216)
19812Problem: Build failure.
19813Solution: Add missing changes.
19814Files: src/globals.h
19815
19816Patch 8.2.3218
19817Problem: When using xchaha20 crypt undo file is not removed.
19818Solution: Reset 'undofile' and delete the file. (Christian Brabandt,
19819 closes #8630, closes #8467)
19820Files: src/bufwrite.c, src/crypt.c, src/proto/undo.pro,
19821 src/testdir/test_crypt.vim, src/undo.c
19822
19823Patch 8.2.3219
19824Problem: :find searches non-existing directories.
19825Solution: Check the path is not "..". Update help. (Christian Brabandt,
19826 closes #8612, closes #8533)
19827Files: runtime/doc/editing.txt, src/findfile.c,
19828 src/testdir/test_findfile.vim
19829
19830Patch 8.2.3220
19831Problem: Test_term_setansicolors() fails in some configurations.
19832Solution: Check available features. (Dominique Pellé, closes #8636)
19833Files: src/testdir/test_vim9_builtin.vim
19834
19835Patch 8.2.3221
19836Problem: Vim9: argument types are not checked at compile time.
19837Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8632)
19838Files: src/evalfunc.c, src/popupwin.c, src/proto/typval.pro,
19839 src/testdir/test_assert.vim, src/testdir/test_vim9_builtin.vim,
19840 src/testdir/test_vim9_script.vim, src/testing.c, src/typval.c
19841
19842Patch 8.2.3222
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019843Problem: Vim9: cannot use loop variable later as lambda argument.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019844Solution: When not in function context check the current block ID.
19845 (closes #8637)
19846Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
19847
19848Patch 8.2.3223
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019849Problem: Vim: using {} block in autoloaded omnifunc fails.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019850Solution: Allow using {} block when text is locked. (closes #8631)
19851Files: src/ex_cmds.h, src/testdir/test_ins_complete.vim
19852
19853Patch 8.2.3224
19854Problem: Cannot call script-local function after :vim9cmd. (Christian J.
19855 Robinson)
19856Solution: Skip over "<SNR>123".
19857Files: src/vim9compile.c, src/eval.c, src/testdir/test_vim9_cmd.vim
19858
19859Patch 8.2.3225
19860Problem: Incsearch highlighting is attempted halfway a mapping.
19861Solution: Only do incsearch highlighting if keys were typed or there is no
19862 more typeahead.
19863Files: src/ex_getln.c
19864
19865Patch 8.2.3226
19866Problem: New digraph functions use old naming scheme.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019867Solution: Use the digraph_ prefix. (Hirohito Higashi, closes #8642)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019868Files: runtime/doc/digraph.txt, runtime/doc/eval.txt,
19869 runtime/doc/usr_41.txt, src/digraph.c, src/edit.c, src/errors.h,
19870 src/evalfunc.c, src/proto/digraph.pro,
19871 src/testdir/test_digraph.vim
19872
19873Patch 8.2.3227
19874Problem: 'virtualedit' can only be set globally.
19875Solution: Make 'virtualedit' global-local. (Gary Johnson, closes #8638)
19876Files: runtime/doc/options.txt, src/buffer.c, src/change.c,
19877 src/drawscreen.c, src/edit.c, src/misc2.c, src/normal.c,
19878 src/ops.c, src/option.c, src/option.h, src/optiondefs.h,
19879 src/optionstr.c, src/proto/option.pro, src/register.c,
19880 src/structs.h, src/testdir/test_virtualedit.vim
19881
19882Patch 8.2.3228
19883Problem: Cannot use a simple block for the :command argument. (Maarten
19884 Tournoij)
19885Solution: Recognize a simple {} block. (issue #8623)
19886Files: runtime/doc/map.txt, src/misc2.c, src/proto/misc2.pro,
19887 src/usercmd.c, src/testdir/test_usercommands.vim
19888
19889Patch 8.2.3229
19890Problem: Vim9: runtime and compile time type checks are not the same.
19891Solution: Add more runtime type checks for builtin functions. (Yegappan
19892 Lakshmanan, closes #8646)
19893Files: src/arglist.c, src/change.c, src/channel.c, src/cindent.c,
19894 src/clientserver.c, src/cmdhist.c, src/dict.c, src/diff.c,
19895 src/digraph.c, src/errors.h, src/eval.c, src/evalbuffer.c,
19896 src/evalfunc.c, src/evalwindow.c, src/ex_docmd.c, src/ex_getln.c,
19897 src/filepath.c, src/findfile.c, src/float.c, src/fold.c,
19898 src/getchar.c, src/indent.c, src/insexpand.c, src/job.c,
19899 src/json.c, src/list.c, src/mark.c, src/match.c, src/mbyte.c,
19900 src/menu.c, src/misc1.c, src/move.c, src/popupwin.c,
19901 src/proto/typval.pro, src/quickfix.c, src/search.c, src/sign.c,
19902 src/sound.c, src/strings.c, src/terminal.c,
19903 src/testdir/test_assert.vim, src/testdir/test_blob.vim,
19904 src/testdir/test_execute_func.vim,
19905 src/testdir/test_float_func.vim, src/testdir/test_functions.vim,
19906 src/testdir/test_glob2regpat.vim, src/testdir/test_listdict.vim,
19907 src/testdir/test_vim9_builtin.vim,
19908 src/testdir/test_vim9_script.vim, src/testing.c, src/textprop.c,
19909 src/time.c, src/typval.c, src/undo.c
19910
19911Patch 8.2.3230
19912Problem: Vim9: type error when function return type is not known yet.
19913Solution: When return type is unknown, use "any". (closes #8644)
19914Files: src/vim9compile.c, src/testdir/test_vim9_builtin.vim
19915
19916Patch 8.2.3231
19917Problem: Build failure with small features.
19918Solution: Adjust #ifdef.
19919Files: src/errors.h
19920
19921Patch 8.2.3232 (after 8.2.3229)
19922Problem: system() does not work without a second argument.
19923Solution: Do not require a second argument. (Yegappan Lakshmanan,
19924 closes #8651, closes #8650)
19925Files: src/misc1.c, src/proto/typval.pro,
19926 src/testdir/test_vim9_builtin.vim, src/typval.c
19927
19928Patch 8.2.3233
19929Problem: prop_list() and prop_find() do not indicate the buffer for the
19930 used type.
19931Solution: Add "type_bufnr" to the results. (closes #8647)
19932Files: runtime/doc/textprop.txt, src/testdir/test_textprop.vim,
19933 src/textprop.c
19934
19935Patch 8.2.3234
19936Problem: Crash when printing long string with Lua.
19937Solution: Remove lua_pop(). (Martin Tournoij, closes #8648)
19938Files: src/if_lua.c, src/testdir/test_lua.vim
19939
19940Patch 8.2.3235
19941Problem: Cannot use lambda in {} block in user command. (Martin Tournoij)
19942Solution: Do not go over the end of the lambda.
19943Files: src/userfunc.c, src/testdir/test_usercommands.vim
19944
19945Patch 8.2.3236
19946Problem: mode() does not indicate using CTRL-O in Select mode.
19947Solution: Use "vs" and similar. (closes #8640)
19948Files: runtime/doc/eval.txt, src/globals.h, src/misc1.c, src/normal.c,
19949 src/testdir/test_functions.vim
19950
19951Patch 8.2.3237
19952Problem: When a builtin function gives an error processing continues.
19953Solution: In Vim9 script return FAIL in get_func_tv().
19954Files: src/userfunc.c, src/testdir/test_vim9_assign.vim
19955
19956Patch 8.2.3238
19957Problem: Vim9: error message does not indicate the location.
19958Solution: Add the relevant text. (issue #8634)
19959Files: src/errors.h, src/vim9compile.c, src/testdir/test_vim9_expr.vim
19960
19961Patch 8.2.3239
19962Problem: Vim9: no error using heredoc for a number variable.
19963Solution: Add a type check. (closes #8627)
19964Files: src/vim9compile.c, src/evalvars.c,
19965 src/testdir/test_vim9_assign.vim
19966
19967Patch 8.2.3240
19968Problem: Lua print() does not work properly.
19969Solution: Put back lua_pop().
19970Files: src/if_lua.c, src/testdir/test_lua.vim
19971
19972Patch 8.2.3241
19973Problem: Vim9: memory leak when function reports an error.
19974Solution: Clear the return value.
19975Files: src/userfunc.c
19976
19977Patch 8.2.3242
19978Problem: Vim9: valgrind reports leaks in builtin function test.
19979Solution: Do not start a job.
19980Files: src/testdir/test_vim9_builtin.vim
19981
19982Patch 8.2.3243
19983Problem: MS-Windows: the "edit with multiple Vim" choice is not that
19984 useful.
19985Solution: Change it to "Edit with multiple tabs". (Michael Soyka,
19986 closes #8645)
19987Files: src/GvimExt/gvimext.cpp, src/GvimExt/gvimext.h
19988
19989Patch 8.2.3244
19990Problem: Lua 5.3 print() with a long string crashes.
19991Solution: Use a growarray instead of a Lua buffer. (Yegappan Lakshmanan,
19992 closes #8655)
19993Files: src/if_lua.c, src/misc2.c, src/proto/misc2.pro
19994
19995Patch 8.2.3245
19996Problem: The crypt key may appear in a swap partition.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019997Solution: When using xchacha20 use sodium_mlock(). (Christian Brabandt,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019998 closes #8657)
19999Files: src/buffer.c, src/crypt.c, src/errors.h, src/fileio.c,
20000 src/memline.c, src/vim.h
20001
20002Patch 8.2.3246
20003Problem: Memory use after free.
20004Solution: When clearing a string option set the pointer to "empty_option".
20005Files: src/option.c
20006
20007Patch 8.2.3247
20008Problem: Using uninitialized memory when checking for crypt method.
20009Solution: Check the header length before using the salt and seed.
20010Files: src/fileio.c
20011
20012Patch 8.2.3248
20013Problem: Vim9: error message for wrong input uses wrong line number.
20014Solution: Use the line number of the start of the command. (issue #8653)
20015Files: src/vim9script.c, src/testdir/test_vim9_script.vim
20016
20017Patch 8.2.3249
20018Problem: Vim9: error for re-imported function with default argument.
20019Solution: Do not check argument type if it is still unknown. (closes #8653)
20020Files: src/vim9type.c, src/proto/vim9type.pro, src/vim9script.c,
20021 src/vim.h, src/eval.c, src/vim9execute.c,
20022 src/testdir/test_vim9_script.vim
20023
20024Patch 8.2.3250
20025Problem: MS-Windows: cannot build with libsodium.
20026Solution: Change FEAT_SODIUM into HAVE_SODIUM. (Christian Brabandt,
20027 closes #8668, closes #8663)
20028Files: src/Make_mvc.mak
20029
20030Patch 8.2.3251
20031Problem: Listing builtin_gui as an available terminal is confusing.
20032Solution: Do not list builtin_gui. (Christian Brabandt, closes #8669,
20033 closes #8661)
20034Files: src/term.c, src/testdir/test_termcodes.vim
20035
20036Patch 8.2.3252
20037Problem: Duplicated code for adding buffer lines.
20038Solution: Move code to a common function. Also move map functions to map.c.
20039 (Yegappan Lakshmanan, closes #8665)
20040Files: src/evalbuffer.c, src/evalfunc.c, src/map.c, src/proto/map.pro
20041
20042Patch 8.2.3253
20043Problem: Channel test fails randomly.
20044Solution: Add a sleep after sending the "echoerr" command. (Michael Soyka)
20045Files: src/testdir/test_channel.vim, src/testdir/test_channel.py
20046
20047Patch 8.2.3254
20048Problem: win_gettype() does not recognize a quickfix window.
20049Solution: Add "quickfix" and "loclist". (Yegappan Lakshmanan, closes #8676)
20050Files: runtime/doc/eval.txt, src/evalwindow.c, src/misc2.c,
20051 src/testdir/test_quickfix.vim
20052
20053Patch 8.2.3255
20054Problem: ci" finds following string but ci< and others don't.
20055Solution: When not inside an object find the start. (Connor Lane Smit,
20056 closes #8670)
20057Files: src/search.c, src/testdir/test_textobjects.vim, src/textobject.c
20058
20059Patch 8.2.3256
20060Problem: Executable test may fail on new Ubuntu system.
20061Solution: Consider /usr/bin/cat and /bin/cat the same.
20062Files: src/testdir/test_functions.vim
20063
20064Patch 8.2.3257
Bram Moolenaar1588bc82022-03-08 21:35:07 +000020065Problem: Calling prop_find() with -1 for ID gives erroneous error. (Naohiro
Bram Moolenaarc51cf032022-02-26 12:25:45 +000020066 Ono)
20067Solution: When passing -1 use -2. (closes #8674)
20068Files: src/textprop.c, src/testdir/test_textprop.vim
20069
20070Patch 8.2.3258
20071Problem: Error messages have the wrong text.
20072Solution: Adjust the error message.
20073Files: src/errors.h, src/typval.c, src/testdir/test_vim9_builtin.vim
20074
20075Patch 8.2.3259
20076Problem: When 'indentexpr' causes an error the did_throw flag may remain
20077 set.
20078Solution: Reset did_throw and show the error. (closes #8677)
20079Files: src/indent.c, src/ex_docmd.c, src/proto/ex_docmd.pro
20080
20081Patch 8.2.3260
20082Problem: Build failure with small features.
20083Solution: Add #ifdef.
20084Files: src/ex_docmd.c
20085
20086Patch 8.2.3261
20087Problem: Vim9: when compiling repeat(123, N) return type is number.
20088Solution: Make return type a string. (closes #8664)
20089Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
20090
20091Patch 8.2.3262
20092Problem: Build failure when ABORT_ON_INTERNAL_ERROR is defined.
20093Solution: Adjust how estack_len_before is used.
20094Files: src/ex_docmd.c
20095
20096Patch 8.2.3263
20097Problem: Vim9: "..=" does not accept same types as the ".." operator.
20098Solution: Convert value to string like ".." does. (issue #8664)
20099Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
20100 src/testdir/test_vim9_disassemble.vim
20101
20102Patch 8.2.3264 (after 8.2.3263)
20103Problem: Vim9: assign test fails.
20104Solution: Add missing change.
20105Files: src/eval.c
20106
20107Patch 8.2.3265
20108Problem: Smartcase does not work correctly in very magic pattern.
20109Solution: Take the magicness into account when skipping over regexp items.
20110 (Christian Brabandt, closes #8682, closes #7845)
20111Files: src/search.c, src/testdir/test_search.vim
20112
20113Patch 8.2.3266
20114Problem: Vim9: assignment with two indexes may check next line.
20115Solution: Limit the number of lines to avoid checking the next line when
Bram Moolenaar1588bc82022-03-08 21:35:07 +000020116 assigning to a LHS subscript. (closes #8660)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000020117Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
20118
20119Patch 8.2.3267
20120Problem: Vim9: crash when disassembling a function that uses a deleted
20121 script variable.
20122Solution: Check the variable still exists. (closes #8683)
20123Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim
20124
20125Patch 8.2.3268
20126Problem: Cannot use a block with :autocmd like with :command.
20127Solution: Add support for a {} block after :autocmd. (closes #8620)
20128Files: runtime/doc/autocmd.txt, runtime/doc/map.txt, src/autocmd.c,
20129 src/proto/autocmd.pro, src/usercmd.c, src/proto/usercmd.pro,
20130 src/ex_docmd.c, src/vim.h, src/testdir/test_autocmd.vim
20131
20132Patch 8.2.3269
20133Problem: Vim9: wrong argument check for partial. (Naohiro Ono)
20134Solution: Handle getting return type without arguments. Correct the minimal
20135 number of arguments for what is included in the partial.
20136 (closes #8667)
20137Files: src/evalfunc.c, src/vim9type.c, src/testdir/test_vim9_func.vim
20138
20139Patch 8.2.3270
20140Problem: prop_find() finds property with ID -2.
20141Solution: Use a separate flag to indicate an ID was specified. (issue #8674)
20142Files: src/textprop.c
20143
20144Patch 8.2.3271
20145Problem: Vim9: cannot use :command or :au with a block in a :def function.
20146Solution: Recognize the start of the block.
20147Files: src/userfunc.c, src/usercmd.c, src/ex_docmd.c,
20148 src/proto/ex_docmd.pro, src/vim9compile.c,
20149 src/testdir/test_vim9_script.vim
20150
20151Patch 8.2.3272
20152Problem: Cannot use id zero with prop_find(). (Naohiro Ono)
20153Solution: Also accept id zero.
20154Files: src/textprop.c, src/testdir/test_textprop.vim
20155
20156Patch 8.2.3273
20157Problem: Autocmd test fails.
20158Solution: Require white space before the "{" that starts a block.
20159Files: src/userfunc.c
20160
20161Patch 8.2.3274
20162Problem: Macro for printf format check can be simplified.
20163Solution: Add ATTRIBUTE_FORMAT_PRINTF(). (Dominique Pellé, issue #8635)
20164Files: src/channel.c, src/gui_xim.c, src/if_mzsch.c, src/nbdebug.c,
20165 src/nbdebug.h, src/netbeans.c, src/proto.h, src/term.c, src/vim.h,
20166 src/vim9execute.c
20167
20168Patch 8.2.3275
20169Problem: Optimizer can use hints about ga_grow() normally succeeding.
20170Solution: Use GA_GROW_FAILS() and GA_GROW_OK() in several places. (Dominique
20171 Pellé, issue #8635)
20172Files: src/arglist.c, src/macros.h, src/vim9execute.c, src/vim9compile.c
20173
20174Patch 8.2.3276
20175Problem: Vim9: exists() can only be evaluated at runtime.
20176Solution: Evaluate at compile time for option name literals. (closes #8437)
20177Files: src/vim9compile.c, src/evalfunc.c, src/proto/evalfunc.pro,
20178 src/testdir/test_vim9_builtin.vim
20179
20180Patch 8.2.3277 (after 8.2.3276)
20181Problem: Vim9: compiled has() does not work properly.
20182Solution: Fix check for has() vs exists().
20183Files: src/vim9compile.c
20184
20185Patch 8.2.3278
20186Problem: Vim9: error when adding 1 to float.
20187Solution: Accept t_number_bool. (closes #8687)
20188Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
20189
20190Patch 8.2.3279
20191Problem: Vim9: cannot use block in cmdline window.
20192Solution: Add EX_CMDWIN to the CMD_block flags. (closes #8689)
20193Files: src/ex_cmds.h, src/testdir/test_vim9_cmd.vim
20194
20195Patch 8.2.3280
20196Problem: 'virtualedit' local to buffer is not the best solution.
20197Solution: Make it window-local. (Gary Johnson, closes #8685)
20198Files: runtime/doc/options.txt, src/buffer.c, src/drawscreen.c,
20199 src/ops.c, src/option.c, src/option.h, src/optionstr.c,
20200 src/structs.h, src/testdir/test_virtualedit.vim
20201
20202Patch 8.2.3281
20203Problem: Vim9: TODO items in tests can be taken care of.
20204Solution: Update test for now working functionality. (closes #8694)
20205Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_func.vim,
20206 src/testdir/test_vim9_script.vim
20207
20208Patch 8.2.3282
20209Problem: Vim9: error about using -complete without -nargs is confusing.
20210Solution: Change the wording.
20211Files: src/usercmd.c, src/errors.h
20212
20213Patch 8.2.3283
20214Problem: Julia filetype is not recognized
20215Solution: Add filetype detection. (Christian Clason, closes #8700)
20216Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20217
20218Patch 8.2.3284
20219Problem: No error for insert() or remove() changing a locked blob.
20220Solution: Check a blob is not locked before changing it. (Sean Dewar,
20221 closes #8696)
20222Files: src/blob.c, src/errors.h, src/eval.c, src/list.c,
20223 src/proto/blob.pro, src/testdir/test_blob.vim,
20224 src/testdir/test_eval_stuff.vim
20225
20226Patch 8.2.3285
20227Problem: Scdoc filetype is not recognized.
20228Solution: Add filetype detection. (Gregory Anders, closes #8701)
20229Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20230
20231Patch 8.2.3286
20232Problem: win_enter_ext() has too many boolean arguments.
20233Solution: use one flags argument with defined values.
20234Files: src/window.c
20235
20236Patch 8.2.3287
20237Problem: Channel events not handled in BufEnter autocommand.
20238Solution: Decrement dont_parse_messages earlier. (Tim Pope, closes #8697)
20239Files: src/window.c, src/testdir/test_channel.vim
20240
20241Patch 8.2.3288
20242Problem: Cannot easily access namespace dictionaries from Lua.
20243Solution: Add vim.g, vim.b, etc. (Yegappan Lakshmanan, closes #8693,
20244 from NeoVim)
20245Files: runtime/doc/if_lua.txt, src/if_lua.c, src/testdir/test_lua.vim
20246
20247Patch 8.2.3289 (after 8.2.3287)
20248Problem: Compiler warning for unused variable with small features.
20249Solution: Rearrange #ifdefs.
20250Files: src/window.c
20251
20252Patch 8.2.3290
20253Problem: Vim9: compiling dict may use pointer after free and leak memory on
20254 failure.
20255Solution: Pass a pointer to generate_PUSHS(). (Zdenek Dohnal, closes #8699)
20256Files: src/vim9compile.c
20257
20258Patch 8.2.3291
20259Problem: Coverity warns for not checking return value.
20260Solution: If dict_add() fails give an error message.
20261Files: src/if_lua.c, src/testdir/test_lua.vim
20262
20263Patch 8.2.3292
20264Problem: Underscore in very magic pattern causes a hang. Pattern with \V
20265 are case sensitive. (Yutao Yuan)
20266Solution: Adjust condition for magicness and advance pointer. (Christian
20267 Brabandt, closes #8707, closes #8704, closes #8705)
20268Files: src/search.c, src/testdir/test_search.vim
20269
20270Patch 8.2.3293
20271Problem: Finding completions may cause an endless loop.
20272Solution: Use a better way to check coming back where the search started.
20273 (Andy Gozas, closes #8672, closes #8671)
20274Files: src/insexpand.c, src/testdir/Make_all.mak,
20275 src/testdir/test_ins_complete_no_halt.vim
20276
20277Patch 8.2.3294
20278Problem: Lua: memory leak when adding dict item fails.
20279Solution: Free the typval and the dict item.
20280Files: src/if_lua.c
20281
20282Patch 8.2.3295
20283Problem: 'cursorline' should not apply to 'breakindent'.
20284Solution: Make 'cursorline' apply to 'breakindent' and 'showbreak'
20285 consistently. (closes #8684)
20286Files: src/drawline.c, src/testdir/dumps/Test_Xcursorline_19.dump,
20287 src/testdir/dumps/Test_Xcursorline_20.dump,
20288 src/testdir/dumps/Test_Xcursorline_21.dump,
20289 src/testdir/dumps/Test_Xcursorline_22.dump,
20290 src/testdir/dumps/Test_Xcursorline_23.dump,
20291 src/testdir/dumps/Test_Xcursorline_24.dump,
20292 src/testdir/dumps/Test_diff_with_cul_bri_01.dump,
20293 src/testdir/dumps/Test_diff_with_cul_bri_02.dump,
20294 src/testdir/dumps/Test_diff_with_cul_bri_03.dump,
20295 src/testdir/dumps/Test_diff_with_cul_bri_04.dump,
20296 src/testdir/test_cursorline.vim, src/testdir/test_diffmode.vim
20297
20298Patch 8.2.3296
20299Problem: Vim9: cannot add a number to a float.
20300Solution: Accept a number if the destination is a float. (closes #8703)
20301Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
20302
20303Patch 8.2.3297
20304Problem: Cannot use all commands inside a {} block after :command and
20305 :autocmd.
20306Solution: Do consider \n to separate commands. (closes #8620)
20307Files: runtime/doc/map.txt, src/ex_docmd.c, src/proto/ex_docmd.pro,
20308 src/ex_eval.c, src/proto/ex_eval.pro, src/eval.c, src/evalvars.c,
20309 src/ex_cmds.c, src/syntax.c, src/userfunc.c, src/vim9compile.c,
20310 src/vim9script.c, src/errors.h, src/testdir/test_autocmd.vim,
20311 src/testdir/test_usercommands.vim
20312
20313Patch 8.2.3298
20314Problem: Build failure with small features.
20315Solution: Add #ifdef.
20316Files: src/ex_docmd.c
20317
20318Patch 8.2.3299
20319Problem: Vim9: exists() does not handle much at compile time.
20320Solution: Handle variable names. (closes #8688)
20321Files: src/vim9compile.c, src/evalfunc.c,
20322 src/testdir/test_vim9_builtin.vim
20323
20324Patch 8.2.3300
20325Problem: Lua: can only execute one Vim command at a time. Not easy to get
20326 the Vim version.
20327Solution: Make vim.command() accept multiple lines. Add vim.version().
20328 (Yegappan Lakshmanan, closes #8716)
20329Files: runtime/doc/if_lua.txt, src/evalfunc.c, src/if_lua.c,
20330 src/proto/evalfunc.pro, src/testdir/test_lua.vim,
20331 src/testdir/test_shell.vim
20332
20333Patch 8.2.3301
20334Problem: Memory allocation functions don't have their own place.
20335Solution: Move memory allocation functions to alloc.c. (Yegappan
20336 Lakshmanan, closes #8717)
20337Files: Filelist, src/Make_ami.mak, src/Make_cyg_ming.mak,
20338 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
20339 src/alloc.c, src/misc2.c, src/proto.h, src/proto/alloc.pro,
20340 src/proto/misc2.pro
20341
20342Patch 8.2.3302
20343Problem: Coverity is not run from github.
20344Solution: Add a coverity script. (James McCoy, closes #8714)
20345Files: .github/workflows/coverity.yml, Filelist
20346
20347Patch 8.2.3303
20348Problem: Some structures could be smaller.
20349Solution: Rearrange members to reduce size. (Dominique Pellé, closes #8725)
20350Files: src/structs.h, src/vim9.h, src/vim9execute.c
20351
20352Patch 8.2.3304
20353Problem: Popup window title with wide characters is truncated.
20354Solution: Use vim_strsize() instead of MB_CHARLEN(). (Naruhiko Nishino,
20355 closes #8721)
20356Files: src/popupwin.c, src/testdir/test_popupwin.vim,
20357 src/testdir/dumps/Test_popupwin_multibytetitle.dump
20358
20359Patch 8.2.3305
20360Problem: Vim9: :finally in skipped block not handled correctly.
20361Solution: Check whether :finally is in a skipped block. (Naruhiko Nishino,
20362 closes #8724)
20363Files: src/ex_eval.c, src/vim9compile.c, src/testdir/test_vim9_script.vim
20364
20365Patch 8.2.3306
20366Problem: Unexpected "No matching autocommands".
20367Solution: Do not give the message when aborting. Mention the arguments in
20368 the message. (closes #8690)
20369Files: src/autocmd.c,
20370
20371Patch 8.2.3307
20372Problem: Vim9: :echoconsole cannot access local variables.
20373Solution: Handle like other :echo commands. (closes #8708)
20374Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c,
20375 src/testdir/test_vim9_script.vim,
20376 src/testdir/test_vim9_disassemble.vim
20377
20378Patch 8.2.3308
20379Problem: Vim9: no runtime check for argument type if a function only has
20380 varargs.
20381Solution: Also check argument types if uf_va_type is set. (closes #8715)
20382Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
20383
20384Patch 8.2.3309
20385Problem: Vim9: divide by zero causes a crash.
20386Solution: Give an error message. (closes #8727)
20387Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
20388
20389Patch 8.2.3310
20390Problem: Vim9: unpack assignment does not mention source of type error.
20391Solution: Mention the argument number. (closes #8719)
20392Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
20393 src/testdir/test_vim9_disassemble.vim
20394
20395Patch 8.2.3311
20396Problem: Vim9: check for DO_NOT_FREE_CNT is very slow.
20397Solution: Move to a separate function so it can be skipped by setting
20398 $TEST_SKIP_PAT.
20399Files: src/testdir/test_vim9_expr.vim, src/testdir/runtest.vim
20400
20401Patch 8.2.3312
20402Problem: Vim9: after "if false" line breaks in expression not skipped.
20403Solution: Do parse the expression. (closes #8723)
20404Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
20405
20406Patch 8.2.3313
20407Problem: Unused code in win_exchange() and frame_remove().
20408Solution: Remove the code. (closes #8728)
20409Files: src/window.c
20410
20411Patch 8.2.3314
20412Problem: Behavior of exists() in a :def function is unpredictable.
20413Solution: Add exists_compiled().
20414Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
20415 src/errors.h, src/vim9compile.c, src/testdir/test_vim9_builtin.vim
20416
20417Patch 8.2.3315
20418Problem: Cannot use single quote in a float number for readability.
20419Solution: Support single quotes like in numbers. (closes #8713)
20420Files: src/typval.c, src/float.c, src/proto/float.pro, src/json.c,
20421 src/viminfo.c, src/testdir/test_float_func.vim
20422
20423Patch 8.2.3316 (after 8.2.3315)
20424Problem: Float test fails.
20425Solution: Add missing change.
20426Files: src/evalfunc.c
20427
20428Patch 8.2.3317
20429Problem: Vim9: No error for missing white space before return type.
20430Solution: Check for white space. (closes #8733)
20431Files: src/userfunc.c, src/testdir/test_vim9_func.vim
20432
20433Patch 8.2.3318
20434Problem: Vim9: cannot ignore quotes in number at the command line.
20435Solution: Use in_vim9script() so that after ":vim9" quotes are ignored.
20436Files: src/typval.c, src/testdir/test_float_func.vim
20437
20438Patch 8.2.3319
20439Problem: Coverity action on github does not work.
20440Solution: Remove undefined $SRCDIR. (James McCoy, closes #8739)
20441Files: .github/workflows/coverity.yml
20442
20443Patch 8.2.3320
20444Problem: Some local functions are not static.
20445Solution: Add "static". Move snprintf() related code to strings.c.
20446 (Yegappan Lakshmanan, closes #8734)
20447Files: src/alloc.c, src/channel.c, src/dict.c, src/digraph.c, src/edit.c,
20448 src/ex_docmd.c, src/getchar.c, src/job.c, src/list.c,
20449 src/message.c, src/profiler.c, src/proto/channel.pro,
20450 src/proto/dict.pro, src/proto/digraph.pro, src/proto/edit.pro,
20451 src/proto/ex_docmd.pro, src/proto/getchar.pro, src/proto/job.pro,
20452 src/proto/list.pro, src/proto/profiler.pro, src/proto/spell.pro,
20453 src/proto/vim9compile.pro, src/proto/vim9script.pro,
20454 src/proto/vim9type.pro, src/spell.c, src/strings.c,
20455 src/vim9compile.c, src/vim9script.c, src/vim9type.c, src/window.c
20456
20457Patch 8.2.3321
20458Problem: Some code is not tested.
20459Solution: Add some more tests. (Dominique Pellé, closes #8735)
20460Files: src/testdir/test_excmd.vim, src/testdir/test_writefile.vim
20461
20462Patch 8.2.3322
20463Problem: Vim9: checking type of dict does not check member type.
20464Solution: When getting the type of a typval use dv_type and lv_type.
20465 (closes #8732)
20466Files: src/vim9type.c, src/testdir/test_vim9_builtin.vim
20467
20468Patch 8.2.3323
20469Problem: Help tag for exists_compiled() is wrong. (Maxim Kim)
20470Solution: Adjust the help tag.
20471Files: runtime/doc/eval.txt
20472
20473Patch 8.2.3324
20474Problem: Vim9: Cannot use :silent with :endwhile.
20475Solution: Allow for using the :silent modifier. (closes #8737)
20476Files: src/ex_eval.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
20477 src/vim9compile.c, src/testdir/test_vim9_cmd.vim
20478
20479Patch 8.2.3325
20480Problem: Digraph test fails when LC_ALL is set to "C".
20481Solution: When restoring 'encoding' set it to "utf-8". (closes #8742)
20482Files: src/testdir/test_digraph.vim
20483
20484Patch 8.2.3326
20485Problem: Vim9: no error passing an empty list of the wrong type.
20486Solution: Use ISN_SETTYPE also for "list<any>". (closes #8732)
20487Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
20488 src/testdir/test_vim9_disassemble.vim
20489
20490Patch 8.2.3327
20491Problem: No check for sysconf() failing.
20492Solution: If sysconf() fails use SIGSTKSZ for the signal stack size.
20493 (Zdenek Dohnal, closes #8743)
20494Files: src/os_unix.c
20495
20496Patch 8.2.3328
20497Problem: Coverity error for not checking return value.
20498Solution: Check value is not negative.
20499Files: src/spellfile.c
20500
20501Patch 8.2.3329
20502Problem: v_lock not set when getting value of environment variable.
20503Solution: Set v_lock to zero.
20504Files: src/typval.c
20505
20506Patch 8.2.3330
20507Problem: Coverity reports using uninitialized field.
20508Solution: Initialize the field early.
20509Files: src/tag.c
20510
20511Patch 8.2.3331
20512Problem: Coverity warns for using value without boundary check.
20513Solution: Add a boundary check.
20514Files: src/viminfo.c
20515
20516Patch 8.2.3332
20517Problem: Vim9: cannot assign to range in list.
20518Solution: Implement overwriting a list range.
20519Files: src/vim9compile.c, src/vim9execute.c, src/list.c,
20520 src/proto/list.pro, src/eval.c, src/proto/eval.pro,
20521 src/testdir/test_listdict.vim, src/testdir/test_vim9_assign.vim
20522
20523Patch 8.2.3333
20524Problem: Vim9: not enough tests run with Vim9.
20525Solution: Run a few more tests in Vim9 script and :def function.
20526Files: src/testdir/test_listdict.vim, src/testdir/vim9.vim
20527
20528Patch 8.2.3334
20529Problem: Vim9: not enough tests run with Vim9.
20530Solution: Run a few more tests in Vim9 script and :def function. Fix
20531 islocked(). Fix error for locking local variable.
20532Files: src/evalfunc.c, src/vim9compile.c, src/testdir/test_listdict.vim
20533
20534Patch 8.2.3335
20535Problem: Vim9: not enough tests run with Vim9.
20536Solution: Run a few more tests in Vim9 script and :def function. Fix that
Bram Moolenaar1588bc82022-03-08 21:35:07 +000020537 items(), keys() and values() return zero for a NULL dict.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000020538 Make join() return an empty string for a NULL list. Make sort()
20539 return an empty list for a NULL list.
20540Files: src/dict.c, src/list.c, src/testdir/test_listdict.vim,
20541 src/testdir/vim9.vim
20542
20543Patch 8.2.3336
20544Problem: Behavior of negative index in list change changed. (Naruhiko
20545 Nishino)
20546Solution: Only change it for Vim9 script. (closes #8749)
20547Files: src/list.c, src/testdir/test_listdict.vim
20548
20549Patch 8.2.3337
20550Problem: Completing "call g:" returns entries with just "g:". (Naohiro Ono)
20551Solution: Skip empty strings returned by get_user_func_name(). (closes #8753)
20552Files: src/evalfunc.c, src/testdir/test_cmdline.vim
20553
20554Patch 8.2.3338
20555Problem: Vim9: no type check when assigning a list range. (Naohiro Ono)
20556Solution: Check the member type. (closes #8750)
20557Files: src/list.c, src/testdir/test_listdict.vim
20558
20559Patch 8.2.3339
20560Problem: Vim9: cannot lock a member in a local dict.
20561Solution: Get the local dict from the stack and pass it to get_lval().
20562Files: src/eval.c, src/vim9execute.c, src/vim9compile.c, src/vim9.h,
20563 src/globals.h, src/testdir/test_vim9_cmd.vim,
20564 src/testdir/test_vim9_disassemble.vim
20565
20566Patch 8.2.3340 (after 8.2.3339)
20567Problem: Accessing uninitialized pointer.
20568Solution: Set pointer to NULL.
20569Files: src/eval.c
20570
20571Patch 8.2.3341
20572Problem: Vim9: function call aborted despite try/catch. (Naohiro Ono)
20573Solution: Ignore error caught by try/catch. (closes #8755)
20574Files: src/evalvars.c, src/vim9execute.c, src/message.c, src/time.c,
20575 src/globals.h, src/testdir/vim9.vim, src/testdir/test_vim9_func.vim
20576
20577Patch 8.2.3342 (after 8.2.3341)
20578Problem: Test for :let errors fails.
20579Solution: Adjust the test and how to avoid a second error message.
20580Files: src/evalvars.c, src/testdir/test_let.vim
20581
20582Patch 8.2.3343 (after 8.2.3342)
20583Problem: Vim9: autoload test fails.
20584Solution: Adjust the way the second message is avoided
20585Files: src/evalvars.c
20586
20587Patch 8.2.3344 (after 8.2.3343)
20588Problem: Vimscript test fails.
20589Solution: Have test verify first error instead of second
20590Files: src/testdir/test_vimscript.vim
20591
20592Patch 8.2.3345
20593Problem: Some code not covered by tests.
20594Solution: Add a few more tests. (Dominique Pellé, closes #8757)
20595Files: src/testdir/test_arglist.vim, src/testdir/test_cmdline.vim,
20596 src/testdir/test_spellfile.vim, src/testdir/test_substitute.vim
20597
20598Patch 8.2.3346
20599Problem: Vim9: no error for using "." for concatenation after ":vim9cmd".
20600 (Naohiro Ono)
20601Solution: Check for Vim9 script syntax. (closes #8756)
20602Files: src/eval.c, src/testdir/test_vim9_cmd.vim
20603
20604Patch 8.2.3347
20605Problem: Check for legacy script is incomplete. (Naohiro Ono)
20606Solution: Also check the :legacy modifier. Use for string concatenation
20607 with "." and others (issue #8756)
20608Files: src/vim9script.c, src/proto/vim9script.pro, src/eval.c,
20609 src/typval.c, src/evalvars.c, src/errors.h, src/ex_docmd.c,
20610 src/testdir/test_vim9_cmd.vim
20611
20612Patch 8.2.3348
20613Problem: line2byte() returns wrong value after adding textprop. (Yuto
20614 Kimura)
20615Solution: Reduce the length by the size of the text property. (closes #8759)
20616Files: src/memline.c, src/testdir/test_textprop.vim
20617
20618Patch 8.2.3349 (after 8.2.3347)
20619Problem: Eval test for scriptversion fails.
20620Solution: Fix off-by-one error.
20621Files: src/vim9script.c
20622
20623Patch 8.2.3350 (after 8.2.3348)
20624Problem: Text properties test fails on MS-Windows.
20625Solution: Set fileformat to unix.
20626Files: src/testdir/test_textprop.vim
20627
20628Patch 8.2.3351
20629Problem: Vim9: using a function by name may delete it. (Naohiro Ono)
20630Solution: Increment the reference count when using a function by name.
20631 (closes #8760)
20632Files: src/evalvars.c, src/testdir/test_vim9_func.vim
20633
20634Patch 8.2.3352
20635Problem: Vim9: error for nested :enddef has wrong line number.
20636Solution: Compute the line number.
20637Files: src/userfunc.c, src/testdir/test_vim9_func.vim
20638
20639Patch 8.2.3353
20640Problem: Vim9: type of argument for negate not checked at compile time.
20641Solution: Add a compile time check.
20642Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
20643 src/testdir/test_vim9_script.vim,
20644 src/testdir/test_vim9_disassemble.vim
20645
20646Patch 8.2.3354
20647Problem: Build failure with +byte_offset but without +textprop. (John
20648 Marriott)
20649Solution: Adjust the #ifdef.
20650Files: src/memline.c
20651
20652Patch 8.2.3355
20653Problem: MS-Windows: compiler warning for 64-32 bit conversion.
20654Solution: Add type casts.
20655Files: src/memline.c
20656
20657Patch 8.2.3356
20658Problem: Adding many text properties requires a lot of function calls.
20659Solution: Add the prop_add_list() function. (Yegappan Lakshmanan,
20660 closes #8751)
20661Files: runtime/doc/eval.txt, runtime/doc/textprop.txt,
20662 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/textprop.pro,
20663 src/testdir/test_textprop.vim, src/testdir/test_vim9_builtin.vim,
20664 src/textprop.c
20665
20666Patch 8.2.3357
20667Problem: Crash when 'virtualedit' is set and window is narrow.
20668Solution: Check that width is not zero. (closes #8767)
20669Files: src/misc2.c, src/testdir/test_number.vim
20670
20671Patch 8.2.3358
20672Problem: Structurizr files are not recognized.
20673Solution: Recognize the file by contents. (Bastian Venthur, closes #8764)
20674Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20675
20676Patch 8.2.3359
20677Problem: Vim9: error for type when variable is not set.
20678Solution: Give a specific error for a NULL function. (closes #8773)
20679Files: src/vim9type.c, src/errors.h, src/testdir/test_vim9_func.vim
20680
20681Patch 8.2.3360
20682Problem: User function completion fails with dict function.
20683Solution: Do not stop sequencing through the list if user functions when
20684 encountering an empty name. (Naohiro Ono, closes #8765,
20685 closes #8774)
20686Files: src/evalfunc.c, src/testdir/test_cmdline.vim
20687
20688Patch 8.2.3361
20689Problem: Vim9: crash with nested :while.
20690Solution: Handle skipping better. (Naruhiko Nishino, closes #8778)
20691Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
20692
20693Patch 8.2.3362
20694Problem: Buffer overflow when completing long tag name.
20695Solution: Allocate the buffer dynamically. (Gregory Anders, closes #8769)
20696Files: src/tag.c, src/testdir/test_tagjump.vim
20697
20698Patch 8.2.3363
20699Problem: When :edit reuses the current buffer the alternate file is set to
20700 the same buffer.
20701Solution: Only set the alternate file when not reusing the buffer.
20702 (closes #8783)
20703Files: src/ex_cmds.c, src/testdir/test_undo.vim,
20704 src/testdir/test_cmdline.vim, src/testdir/test_vim9_builtin.vim,
20705 src/testdir/test_vim9_script.vim
20706
20707Patch 8.2.3364
20708Problem: Vim9: crash when :for is skipped.
20709Solution: Skip more code generation. (Naruhiko Nishino, closes #8777)
20710Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
20711
20712Patch 8.2.3365
20713Problem: Vim9: cannot use option for all operations.
20714Solution: Recognize more operations. (closes #8779)
20715Files: src/vim9compile.c, src/proto/vim9compile.pro, src/ex_docmd.c,
20716 src/testdir/test_vim9_cmd.vim
20717
20718Patch 8.2.3366
20719Problem: Vim9: debugging elseif does not stop before condition.
20720Solution: Move debug statement to after the jump. (closes #8781)
20721Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
20722
20723Patch 8.2.3367
20724Problem: Vim9: :@r executing a register is inconsistent.
20725Solution: Use "@r" as the start of an expression. (issue #8779)
20726Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
20727
20728Patch 8.2.3368
20729Problem: Not all Racket files are recognized.
20730Solution: Also recognize .rktl and .rktd files. (Doug Kearns)
20731Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20732
20733Patch 8.2.3369
20734Problem: Auto formatting after "cw" leaves cursor in wrong spot.
20735Solution: Do not auto-format after the delete. (closes #8789)
20736Files: src/ops.c, src/testdir/test_textformat.vim
20737
20738Patch 8.2.3370
20739Problem: Vim9: no check for white space before type in declaration.
20740 (Naohiro Ono)
20741Solution: Check for white space like in a compiled function. (closes #8785)
20742Files: src/eval.c, src/testdir/test_vim9_assign.vim
20743
20744Patch 8.2.3371
20745Problem: Vim9: :$ENV cannot be followed by ->func() in next line.
20746Solution: Use "$ENV" as the start of an expression. (closes #8790)
20747Files: src/ex_docmd.c, src/vim9compile.c, src/testdir/test_vim9_cmd.vim
20748
20749Patch 8.2.3372
20750Problem: line2byte() value wrong when adding a text property. (Yuto Kimura)
20751Solution: Adjust length for text property. (closes #8772) Also fix it for
20752 deleting a line.
20753Files: src/memline.c, src/testdir/test_textprop.vim
20754
20755Patch 8.2.3373 (after 8.2.3372)
20756Problem: text property test fails on MS-Windows.
20757Solution: Set fileformat to "unix"
20758Files: src/testdir/test_textprop.vim
20759
20760Patch 8.2.3374
20761Problem: Pyret files are not recognized.
20762Solution: Recognize .arr files as Pyret. (Doug Kearns)
20763Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20764
20765Patch 8.2.3375
20766Problem: Using uninitialized memory.
20767Solution: Initialize textprop_save_len.
20768Files: src/memline.c
20769
20770Patch 8.2.3376
20771Problem: Vim9: no warning that "@r" does not do anything.
20772Solution: Give a "no effect" error. (closes #8779)
20773Files: src/ex_eval.c, src/proto/ex_eval.pro, src/vim9compile.c,
20774 src/testdir/test_vim9_cmd.vim
20775
20776Patch 8.2.3377
20777Problem: Vim9: :disass completion does not understand "s:".
20778Solution: Expand "s:" to a pattern. (closes #8780)
20779Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
20780
20781Patch 8.2.3378
20782Problem: MS-Windows: completing environment variables with % is wrong.
20783Solution: Only complete environment variables with $. (Albert Liu,
20784 closes #8791)
20785Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
20786
20787Patch 8.2.3379
20788Problem: Crash when using NULL job.
20789Solution: Copy static string into buffer. (issue #8260)
20790Files: src/job.c, src/testdir/test_channel.vim
20791
20792Patch 8.2.3380
20793Problem: Crash when using NULL string for funcref().
20794Solution: Check for NULL argument. (issue #8260)
20795Files: src/evalfunc.c, src/testdir/test_expr.vim
20796
20797Patch 8.2.3381
20798Problem: Crash when using NULL list with sign functions.
20799Solution: Handle a NULL list like an empty list. (issue #8260)
20800Files: src/globals.h, src/testdir/test_signs.vim
20801
20802Patch 8.2.3382
20803Problem: Crash when getting the type of a NULL partial.
20804Solution: Check for NULL. (closes #8260)
20805Files: src/vim9type.c, src/testdir/test_vim9_builtin.vim
20806
20807Patch 8.2.3383
20808Problem: Vim9: completion for :disassemble adds parenthesis.
20809Solution: Don't add parenthesis. (Naohiro Ono, closes #8802)
20810Files: src/userfunc.c, src/testdir/test_cmdline.vim
20811
20812Patch 8.2.3384
20813Problem: Cannot disable modeline for an individual file.
20814Solution: Recognize "nomodeline" in a modeline. (Hu Jialun, closes #8798)
20815Files: runtime/doc/options.txt, src/buffer.c,
20816 src/testdir/test_modeline.vim
20817
20818Patch 8.2.3385
20819Problem: Escaping for fish shell does not work properly.
20820Solution: Insert a backslash before a backslash. (Jason Cox, closes #8810)
20821Files: runtime/doc/eval.txt, src/strings.c, src/testdir/test_shell.vim
20822
20823Patch 8.2.3386
20824Problem: Using uninitialized memory.
20825Solution: Initialize the rm_ic field. (Dominique Pellé, closes #8800)
20826Files: src/indent.c
20827
20828Patch 8.2.3387
20829Problem: Compiler warning for non-static function.
20830Solution: Make the function static. (Dominique Pellé, closes #8816)
20831Files: src/strings.c
20832
20833Patch 8.2.3388
20834Problem: fnamemodify('path/..', ':p') differs from using 'path/../'. (David
20835 Briscoe)
20836Solution: Include the "/.." in the directory name. (closes #8808)
20837Files: src/os_unix.c, src/testdir/test_fnamemodify.vim
20838
20839Patch 8.2.3389
20840Problem: Cannot stop insert mode completion without side effects.
20841Solution: Add CTRL-X CTRL-Z. (closes #8821)
20842Files: runtime/doc/index.txt, runtime/doc/insert.txt, src/insexpand.c,
20843 src/testdir/test_ins_complete.vim
20844
20845Patch 8.2.3390
20846Problem: Included xdiff code is outdated.
20847Solution: Sync with xdiff in git 2.33. (Christian Brabandt, closes #8431)
20848Files: src/diff.c, src/xdiff/README.txt, src/xdiff/xdiff.h,
20849 src/xdiff/xdiffi.c, src/xdiff/xdiffi.h, src/xdiff/xemit.c,
20850 src/xdiff/xemit.h, src/xdiff/xhistogram.c, src/xdiff/xinclude.h,
20851 src/xdiff/xmacros.h, src/xdiff/xpatience.c, src/xdiff/xprepare.h,
20852 src/xdiff/xtypes.h, src/xdiff/xutils.c, src/xdiff/xutils.h
20853
20854Patch 8.2.3391
20855Problem: Crash with combination of 'linebreak' and other options.
20856Solution: Avoid n_extra to become negative. (Christian Brabandt,
20857 closes #8817)
20858Files: src/drawline.c
20859
20860Patch 8.2.3392
20861Problem: augroup completion escapes regexp pattern characters.
20862Solution: Do not escape the augroup name. (closes #8826)
20863Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
20864
20865Patch 8.2.3393
20866Problem: Escaping for fish shell is skipping some characters.
20867Solution: Escape character after backslash if needed. (Jason Cox,
20868 closes #8827)
20869Files: src/strings.c, src/testdir/test_shell.vim
20870
20871Patch 8.2.3394
20872Problem: Filler lines are wrong when changing text in diff mode.
20873Solution: Don't change the filler lines on every change. Check
20874 scrollbinding when updating the filler lines. (closes #8809)
20875Files: src/move.c, src/diff.c, src/testdir/test_diffmode.vim,
20876 src/testdir/dumps/Test_diff_scroll_change_01.dump,
20877 src/testdir/dumps/Test_diff_scroll_change_02.dump
20878
20879Patch 8.2.3395
20880Problem: Vim9: expression breakpoint not checked in :def function.
20881Solution: Always compile a function for debugging if there is an expression
20882 breakpoint. (closes #8803)
20883Files: src/vim9execute.c, src/proto/vim9execute.pro, src/debugger.c,
20884 src/proto/debugger.pro, src/vim.h, src/vim9.h,
20885 src/testdir/test_debugger.vim
20886
20887Patch 8.2.3396
20888Problem: When libcall() fails invalid pointer may be used.
20889Solution: Initialize the string to NULL. (Yasuhiro Matsumoto, closes #8829)
20890Files: src/evalfunc.c
20891
20892Patch 8.2.3397
20893Problem: No test for what 8.2.3391 fixes.
20894Solution: Add a test. (Yegappan Lakshmanan, closes #8828)
20895Files: src/testdir/test_breakindent.vim
20896
20897Patch 8.2.3398
20898Problem: Html text objects are not fully tested.
20899Solution: Add tests for dbcs encoding and different number of backslashes.
20900 (Dominique Pellé, closes #8831)
20901Files: src/testdir/test_textobjects.vim
20902
20903Patch 8.2.3399
20904Problem: Octave files are not recognized.
20905Solution: Detect Octave files. (Doug Kearns)
20906Files: runtime/autoload/dist/ft.vim, runtime/doc/filetype.txt,
20907 runtime/filetype.vim, src/testdir/test_filetype.vim
20908
20909Patch 8.2.3400
20910Problem: ":z!" is not supported.
20911Solution: Make ":z!" work and add tests. (Dominique Pellé, closes #8836)
20912 Use display height instead of current window height.
20913Files: runtime/doc/various.txt, src/ex_cmds.h, src/ex_cmds.c,
20914 src/testdir/test_ex_z.vim
20915
20916Patch 8.2.3401
20917Problem: Vim9: cannot use a negative count with finddir() and findfile().
20918Solution: Adjust the return type. (closes #8776)
20919Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
20920
20921Patch 8.2.3402
20922Problem: Invalid memory access when using :retab with large value.
20923Solution: Check the number is positive.
20924Files: src/indent.c, src/option.c, src/optionstr.c,
20925 src/testdir/test_retab.vim
20926
20927Patch 8.2.3403 (after 8.2.3402)
20928Problem: Memory leak for :retab with invalid argument.
20929Solution: Free the memory. Make error messages consistent.
20930Files: src/indent.c
20931
20932Patch 8.2.3404
20933Problem: Vim9: no error for white space before "(".
20934Solution: Give an error, like in a compiled function.
20935Files: src/userfunc.c, src/testdir/test_vim9_func.vim
20936
20937Patch 8.2.3405
20938Problem: Cannot have a comment line in a {} block of a user command.
20939Solution: Continue after the line break. (closes #8837)
20940Files: src/ex_docmd.c, src/testdir/test_usercommands.vim
20941
20942Patch 8.2.3406
20943Problem: On some systems tests fail without _REENTRANT. (Elimar
20944 Riesebieter)
20945Solution: Add -D_REENTRANT in configure. (closes #7402)
20946Files: src/configure.ac, src/auto/configure
20947
20948Patch 8.2.3407
20949Problem: Using uninitialized memory with "let g:['bar'] = 2".
20950Solution: Initialize v_type of a new dict item.
20951Files: src/dict.c
20952
20953Patch 8.2.3408
20954Problem: Can delete a numbered function. (Naohiro Ono)
20955Solution: Disallow deleting a numbered function. (closes #8760)
20956Files: src/userfunc.c, src/testdir/test_user_func.vim
20957
20958Patch 8.2.3409
20959Problem: Reading beyond end of line with invalid utf-8 character.
20960Solution: Check for NUL when advancing.
20961Files: src/regexp_nfa.c, src/testdir/test_regexp_utf8.vim
20962
20963Patch 8.2.3410
20964Problem: Crash with linebreak, listchars and large tabstop.
20965Solution: Account for different size listchars for a tab. (closes #8841)
20966Files: src/drawline.c, src/testdir/test_listlbr_utf8.vim
20967
20968Patch 8.2.3411
20969Problem: Vim9: crash when using base name of import. (Naohiro Ono)
20970Solution: Check the import flags. (closes #8843)
20971Files: src/evalvars.c, src/errors.h, src/testdir/test_vim9_script.vim
20972
20973Patch 8.2.3412 (after 8.2.3411)
20974Problem: Vim9: importing the wrong file.
20975Solution: Correct the file name. Delete the file afterwards.
20976Files: src/testdir/test_vim9_script.vim
20977
20978Patch 8.2.3413
20979Problem: Vim9: too many characters are allowed in import name.
20980Solution: Disallow ':' and '#', check for white space. (closes #8845)
20981Files: src/vim9script.c, src/errors.h, src/testdir/test_vim9_script.vim
20982
20983Patch 8.2.3414
20984Problem: fullcommand() gives the wrong name if there is a buffer-local user
20985 command. (Naohiro Ono)
20986Solution: Use a separate function to get the user command name.
20987 (closes #8840)
20988Files: src/usercmd.c, src/proto/usercmd.pro, src/ex_docmd.c,
20989 src/testdir/test_cmdline.vim
20990
20991Patch 8.2.3415
20992Problem: Vim9: Not all function argument types are properly checked.
20993Solution: Add and improve argument type checks. (Yegappan Lakshmanan,
20994 closes #8839)
20995Files: src/channel.c, src/digraph.c, src/evalfunc.c, src/terminal.c,
20996 src/testdir/test_digraph.vim, src/testdir/test_vim9_builtin.vim
20997
20998Patch 8.2.3416
20999Problem: Second error is reported while exception is being thrown.
21000Solution: Do not check for trailing characters when already aborting.
21001 (closes #8842)
21002Files: src/userfunc.c, src/testdir/test_trycatch.vim
21003
21004Patch 8.2.3417
21005Problem: Vim9: a failing debug expression aborts script sourcing.
21006Solution: Do not let expression failure abort script sourcing. (closes #8848)
21007Files: src/debugger.c, src/testdir/test_debugger.vim
21008
21009Patch 8.2.3418
21010Problem: Garbage collection while evaluating may cause trouble.
21011Solution: Disable garbage collection while evaluating an expression.
21012 (Christian Brabandt, issue #8848)
21013Files: src/eval.c
21014
21015Patch 8.2.3419
21016Problem: A failing debug expression may make Vim unusable.
21017Solution: Suppress error messages. (closes #8848)
21018Files: src/debugger.c, src/testdir/test_debugger.vim
21019
21020Patch 8.2.3420
21021Problem: _REENTRANT defined more than once.
21022Solution: Fix configure script. (Christian Brabandt, closes #8852)
21023Files: src/configure.ac, src/auto/configure
21024
21025Patch 8.2.3421
21026Problem: A bit of code is not covered by tests.
21027Solution: Add a few more test cases. (Dominique Pellé, closes #8857)
21028Files: src/testdir/test_functions.vim, src/testdir/test_history.vim,
21029 src/testdir/test_startup.vim
21030
21031Patch 8.2.3422
21032Problem: Vim9: no failure if return type differs from returned variable.
21033Solution: Copy type when copying a list. (closes #8847)
21034Files: src/list.c, src/testdir/test_vim9_func.vim
21035
21036Patch 8.2.3423
21037Problem: Vim9: list += list creates a new list in :def function.
21038Solution: Append to the existing list.
21039Files: src/structs.h, src/vim9compile.c, src/vim9execute.c,
21040 src/testdir/test_vim9_assign.vim
21041
21042Patch 8.2.3424
21043Problem: A sequence of spaces is hard to see in list mode.
21044Solution: Add the "multispace" option to 'listchars'. (closes #8834)
21045Files: runtime/doc/options.txt, src/drawline.c, src/message.c,
21046 src/screen.c, src/structs.h, src/testdir/test_listchars.vim
21047
21048Patch 8.2.3425
21049Problem: Warning for using uninitialized variable.
21050Solution: Initialize it. (John Marriott)
21051Files: src/screen.c
21052
21053Patch 8.2.3426
21054Problem: Crash when deleting a listener in a listener callback. (Naohiro
21055 Ono)
21056Solution: Mark the listener and delete it later. (closes #8863)
21057Files: src/change.c, src/testdir/test_listener.vim
21058
21059Patch 8.2.3427
21060Problem: Double free when list is copied.
21061Solution: Allocate the type when making a copy. (closes #8862)
21062 Clear the type for flattennew(). Avoid a memory leak when
21063 flattennew() fails.
21064Files: src/list.c, src/testdir/test_vim9_builtin.vim
21065
21066Patch 8.2.3428
21067Problem: Using freed memory when replacing. (Dhiraj Mishra)
21068Solution: Get the line pointer after calling ins_copychar().
21069Files: src/normal.c, src/testdir/test_edit.vim
21070
21071Patch 8.2.3429
21072Problem: Leaking memory when assigning to list or dict.
21073Solution: Free the list or dict type before overwriting it.
21074Files: src/vim9type.c, src/evalvars.c
21075
21076Patch 8.2.3430
21077Problem: No generic way to trigger an autocommand on mode change.
21078Solution: Add the ModeChanged autocommand event. (Magnus Gross, closes #8856)
21079Files: runtime/doc/autocmd.txt, src/autocmd.c, src/edit.c,
21080 src/ex_docmd.c, src/ex_getln.c, src/globals.h, src/misc1.c,
21081 src/normal.c, src/proto/autocmd.pro, src/proto/misc1.pro,
21082 src/testdir/test_edit.vim, src/vim.h
21083
21084Patch 8.2.3431
21085Problem: Completion for :disas sorts local functions first.
21086Solution: Sort local functions last, like with :delfunc. (Naohiro Ono,
21087 closes #8860)
21088Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
21089
21090Patch 8.2.3432
21091Problem: Octave/Matlab filetype detection does not work properly.
21092Solution: Update the patterns used for matching. (Doug Kearns)
21093Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim
21094
21095Patch 8.2.3433
21096Problem: :delcommand does not take a -buffer option.
21097Solution: Add the -buffer option.
21098Files: runtime/doc/map.txt, src/usercmd.c, src/errors.h,
21099 src/testdir/test_usercommands.vim
21100
21101Patch 8.2.3434 (after 8.2.3430)
21102Problem: Function prototype for trigger_modechanged() is incomplete.
21103Solution: Add "void".
21104Files: src/proto/misc1.pro
21105
21106Patch 8.2.3435
21107Problem: Vim9: dict is not passed to dict function.
21108Solution: Keep the dict used until a function call.
21109Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
21110 src/testdir/test_vim9_func.vim,
21111 src/testdir/test_vim9_disassemble.vim
21112
21113Patch 8.2.3436
21114Problem: Check for optional bool type has confusing return type.
21115Solution: Explicitly return OK.
21116Files: src/typval.c
21117
21118Patch 8.2.3437
21119Problem: Compiler warnings for 32/64 bit usage.
21120Solution: Add type casts. (Mike Williams, closes #8870)
21121Files: src/screen.c, src/xdiff/xemit.c, src/xdiff/xutils.c
21122
21123Patch 8.2.3438
21124Problem: Cannot manipulate blobs.
21125Solution: Add blob2list() and list2blob(). (Yegappan Lakshmanan,
21126 closes #8868)
21127Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/blob.c,
21128 src/errors.h, src/evalfunc.c, src/proto/blob.pro,
21129 src/proto/typval.pro, src/testdir/test_blob.vim,
21130 src/testdir/test_vim9_builtin.vim, src/typval.c
21131
21132Patch 8.2.3439
21133Problem: Deleted lines go to wrong yank register.
21134Solution: Reset y_append when not calling get_yank_register(). (Christian
21135 Brabandt, closes #8872)
21136Files: src/ops.c, src/proto/register.pro, src/register.c,
21137 src/testdir/test_registers.vim
21138
21139Patch 8.2.3440
21140Problem: Recover test fails if there is an old swap file.
21141Solution: Delete old swap files.
21142Files: src/testdir/test_recover.vim
21143
21144Patch 8.2.3441
21145Problem: MS-Windows: vimtutor can't handle path with spaces.
21146Solution: Add double quotes. (Christian Brabandt, closes #8871)
21147Files: vimtutor.bat
21148
21149Patch 8.2.3442
21150Problem: Vim9: || and && are not handled at compile time when possible.
21151Solution: When using constants generate fewer instructions.
21152Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
21153 src/testdir/test_vim9_disassemble.vim
21154
21155Patch 8.2.3443
21156Problem: Vim9: memory leak when and/or fails.
21157Solution: Also clear the growarray when the length is zero.
21158Files: src/vim9compile.c
21159
21160Patch 8.2.3444
21161Problem: concealed text not revealed when leaving insert mode. (Michael
21162 Soyka)
21163Solution: Check if concealing changed when leaving insert mode.
21164 (closes #8880)
21165Files: src/edit.c, src/testdir/test_conceal.vim,
21166 src/testdir/dumps/Test_conceal_two_windows_07in.dump
21167
21168Patch 8.2.3445
21169Problem: On Solaris longVersion may be declared twice. (Vladimir Marek)
21170Solution: Always declare longVersion in version.c
21171Files: src/globals.h, src/version.c
21172
21173Patch 8.2.3446
21174Problem: Not enough tests for empty string arguments.
21175Solution: Add tests, fix type check. (Yegappan Lakshmanan, closes #8881)
21176Files: runtime/doc/sign.txt, runtime/doc/textprop.txt, src/sign.c,
21177 src/testdir/test_blob.vim, src/testdir/test_vim9_builtin.vim
21178
21179Patch 8.2.3447
21180Problem: A couple of declarations are not ANSI C.
21181Solution: Put argument type inside (). (Yegappan Lakshmanan, closes #8890)
21182Files: src/os_unix.h
21183
21184Patch 8.2.3448
21185Problem: :endtry after function call that throws not found.
21186Solution: Do check for following :endtry if an exception is being thrown.
21187 (closes #8889)
21188Files: src/userfunc.c, src/testdir/test_trycatch.vim
21189
21190Patch 8.2.3449
21191Problem: Sort fails if the sort compare function returns 999.
21192Solution: Adjust value to -1 / 0 / 1. (Yasuhiro Matsumoto, closes #8884)
21193Files: src/list.c, src/testdir/test_sort.vim
21194
21195Patch 8.2.3450
21196Problem: Coveralls action fails.
21197Solution: Disable it for now.
21198Files: .github/workflows/ci.yml
21199
21200Patch 8.2.3451
21201Problem: Not all apache files are recognized.
21202Solution: Adjust the filetype pattern. (Zdenek Dohnal, closes #8882)
21203Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21204
21205Patch 8.2.3452
21206Problem: MPD files are not recognized.
21207Solution: Recognize MPD files as XML. (Steven Penny, closes #8893)
21208Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21209
21210Patch 8.2.3453
21211Problem: Autocmd not executed when editing a directory ending in a path
21212 separator inside try block.
21213Solution: Return NOTDONE instead of FAIL. (closes #8885)
21214Files: src/fileio.c, src/testdir/test_autocmd.vim
21215
21216Patch 8.2.3454
21217Problem: Using a count with "gp" leaves cursor in wrong position. (Naohiro
21218 Ono)
21219Solution: Count the inserted lines. (closes #8899)
21220Files: src/register.c, src/testdir/test_put.vim
21221
21222Patch 8.2.3455 (after 8.2.3454)
21223Problem: Using a count with "gp" leaves '] in wrong position. (Naohiro Ono)
21224Solution: Correct the mark position. (closes #8899)
21225Files: src/register.c, src/testdir/test_put.vim
21226
21227Patch 8.2.3456
21228Problem: Vim9: Not all functions are tested with an empty string argument.
21229Solution: Add tests with empty strings. (Yegappan Lakshmanan, closes #8915)
21230Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
21231
21232Patch 8.2.3457
21233Problem: MS-Windows Vim9: test executed and fails.
21234Solution: Add extra check for not being on MS-Windows.
21235Files: src/testdir/test_vim9_script.vim
21236
21237Patch 8.2.3458
21238Problem: Not all dictdconf files are recognized.
21239Solution: Adjust the pattern. (Doug Kearns)
21240Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21241
21242Patch 8.2.3459
21243Problem: Vim9: need more tests for empty string arguments.
21244Solution: Add more tests. Also use empty argument with menu_info() to get
21245 the top-level menu names. (Yegappan Lakshmanan, closes #8925)
21246Files: runtime/doc/eval.txt, src/menu.c, src/testdir/test_menu.vim,
21247 src/testdir/test_vim9_builtin.vim
21248
21249Patch 8.2.3460
21250Problem: Some type casts are not needed.
21251Solution: Remove unnecessary type casts. (closes #8934)
21252Files: src/autocmd.c, src/buffer.c, src/debugger.c, src/getchar.c,
21253 src/hardcopy.c, src/if_cscope.c, src/move.c, src/tag.c,
21254 src/version.c
21255
21256Patch 8.2.3461
21257Problem: Cannot distinguish Normal and Terminal-Normal mode.
21258Solution: Make mode() return "nt" for Terminal-Normal mode. (issue #8856)
21259Files: runtime/doc/eval.txt, src/misc1.c, src/testdir/test_functions.vim
21260
21261Patch 8.2.3462
21262Problem: The ModeChanged event only uses one character for the new_mode and
21263 old_mode values.
21264Solution: Pass one as first argument to mode(). (issue #8856)
21265Files: src/misc1.c, src/testdir/test_edit.vim
21266
21267Patch 8.2.3463
21268Problem: Pattern matching with ModeChanged not tested.
21269Solution: Add a few more test lines. (issue #8856)
21270Files: src/testdir/test_edit.vim
21271
21272Patch 8.2.3464
21273Problem: nginx files are not recognized.
21274Solution: Add several file patterns. (Chris Aumann, closes #8922)
21275Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21276
21277Patch 8.2.3465
21278Problem: Cannot detect insert scroll mode.
21279Solution: Add "scroll" to complete_info(). (closes #8943)
21280Files: runtime/doc/eval.txt, src/insexpand.c, src/testdir/test_popup.vim
21281
21282Patch 8.2.3466
21283Problem: Completion submode not indicated for virtual replace.
21284Solution: Add submode to "Rv". (closes #8945)
21285Files: runtime/doc/eval.txt, src/misc1.c, src/testdir/test_functions.vim
21286
21287Patch 8.2.3467
21288Problem: CursorHoldI event interferes with "CTRL-G U". (Naohiro Ono)
21289Solution: Restore the flag for "CTRL-G U" after triggering CursorHoldI.
21290 (closes #8937)
21291Files: src/edit.c, src/testdir/test_autocmd.vim
21292
21293Patch 8.2.3468
21294Problem: Problem with :cd when editing file in non-existent directory. (Yee
21295 Cheng Chin)
21296Solution: Prepend the current directory to get the full path. (closes #8903)
21297Files: src/os_unix.c, src/testdir/test_cd.vim
21298
21299Patch 8.2.3469
21300Problem: Some files with json syntax are not recognized.
21301Solution: Add a few file patterns. (Emiliano Ruiz Carletti, closes #8947)
21302Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21303
21304Patch 8.2.3470
21305Problem: Crash with error in :catch and also in :finally.
21306Solution: Only discard an exception if there is one. (closes #8954)
21307Files: src/ex_eval.c, src/testdir/test_trycatch.vim
21308
21309Patch 8.2.3471
21310Problem: Crash when using CTRL-T after an empty search pattern.
21311Solution: Bail out when there is no previous search pattern. (closes #8953)
21312Files: src/ex_getln.c, src/testdir/test_search.vim
21313
21314Patch 8.2.3472
21315Problem: Other crashes with empty search pattern not tested.
21316Solution: Add a few more test lines. (Dominique Pellé)
21317Files: src/testdir/test_search.vim
21318
21319Patch 8.2.3473
21320Problem: Some files with tcl syntax are not recognized.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021321Solution: Add a few file patterns. (Doug Kearns)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021322Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21323
21324Patch 8.2.3474
21325Problem: Some places use "Vimscript" instead of "Vim script".
21326Solution: Consistently use "Vim script". (Hirohito Higashi, closes #8910)
21327Files: runtime/doc/if_lua.txt, src/getchar.c, src/if_lua.c
21328
21329Patch 8.2.3475
21330Problem: Expression register set by not executed put command.
21331Solution: Do not set the register if the command is skipped. (closes #8909)
21332Files: src/ex_docmd.c, src/testdir/test_excmd.vim
21333
21334Patch 8.2.3476
21335Problem: Renaming a buffer on startup may cause using freed memory.
21336Solution: Check if the buffer is used in a window. (closes #8955)
21337Files: src/buffer.c, src/testdir/test_startup.vim
21338
21339Patch 8.2.3477 (after 8.2.3476)
21340Problem: Startup test fails on MS-Windows.
21341Solution: Skip the test if not on Unix.
21342Files: src/testdir/test_startup.vim
21343
21344Patch 8.2.3478 (after 8.2.3470)
21345Problem: Still crash with error in :catch and also in :finally.
21346Solution: Only call finish_exception() once. (closes #8954)
21347Files: src/ex_eval.c, src/structs.h
21348
21349Patch 8.2.3479
21350Problem: Crash when calling job_start with an invalid argument. (Virginia
21351 Senioria)
21352Solution: Clear the first item in argv. (closes #8957)
21353Files: src/misc2.c, src/testdir/test_channel.vim
21354
21355Patch 8.2.3480 (after 8.2.3478)
21356Problem: Test does not fail without the fix for a crash.
21357Solution: Write the bad code in a file and source it. (Dominique Pellé,
21358 closes #8961)
21359Files: src/testdir/test_trycatch.vim
21360
21361Patch 8.2.3481
21362Problem: Failures when char is unsigned.
21363Solution: Use int8_T. Make a CI run with unsigned char. (James McCoy,
21364 closes #8936)
21365Files: src/structs.h, .github/workflows/ci.yml
21366
21367Patch 8.2.3482
21368Problem: Reading beyond end of line ending in quote and backslash.
21369Solution: Check for non-NUL after backslash. (closes #8964)
21370Files: src/cindent.c, src/testdir/test_cindent.vim
21371
21372Patch 8.2.3483
21373Problem: #ifdef for using sysinfo() is incomplete.
21374Solution: Also check for HAVE_SYSINFO. Make autoconf check use TRY_LINK.
21375 (closes #8952)
21376Files: src/memline.c, src/configure.ac, src/auto/configure
21377
21378Patch 8.2.3484
21379Problem: Crash when going through spell suggestions.
21380Solution: Limit the text length for finding suggestions to the original
21381 length. Do not update buffers when exiting. (closes #8965)
21382Files: src/spellsuggest.c, src/clipboard.c,
21383 src/testdir/test_spell_utf8.vim
21384
21385Patch 8.2.3485
21386Problem: Python 3 test fails with Python 3.10.
21387Solution: Adjust expected error message. (zdohnal Dohnal, closes #8969)
21388Files: src/testdir/test_python3.vim
21389
21390Patch 8.2.3486
21391Problem: Illegal memory access with invalid sequence of commands.
21392Solution: Do not call leave_block() when not in a try block. (closes #8966)
21393 Reset did_emsg so that exception is shown as an error.
21394Files: src/ex_eval.c, src/testdir/test_trycatch.vim
21395
21396Patch 8.2.3487
21397Problem: Illegal memory access if buffer name is very long.
21398Solution: Make sure not to go over the end of the buffer.
21399Files: src/drawscreen.c, src/testdir/test_statusline.vim
21400
21401Patch 8.2.3488
21402Problem: Issue template is not easy to use.
21403Solution: Use a yaml template. (closes #8928)
21404Files: .github/ISSUE_TEMPLATE/bug_report.md,
21405 .github/ISSUE_TEMPLATE/bug_report.yml
21406
21407Patch 8.2.3489
21408Problem: ml_get error after search with range.
21409Solution: Limit the line number to the buffer line count.
21410Files: src/ex_docmd.c, src/testdir/test_search.vim
21411
21412Patch 8.2.3490
21413Problem: Superfluous return statements.
21414Solution: Remove superfluous return statements from void functions.
21415 (closes #8977)
21416Files: src/buffer.c, src/getchar.c, src/memline.c, src/move.c,
21417 src/option.c
21418
21419Patch 8.2.3491
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021420Problem: xpm2 filetype detection is not so good.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021421Solution: Adjust the check for xpm2. (closes #8914)
21422Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21423
21424Patch 8.2.3492
21425Problem: Crash when pasting too many times.
21426Solution: Limit the size to what fits in an int. (closes #8962)
21427Files: src/register.c, src/errors.h, src/testdir/test_put.vim
21428
21429Patch 8.2.3493 (after 8.2.3492)
21430Problem: Large count test fails on MS-Windows.
21431Solution: Skip the test on MS-Windows.
21432Files: src/testdir/test_put.vim
21433
21434Patch 8.2.3494
21435Problem: Illegal memory access in utf_head_off.
21436Solution: Check cursor position when reselecting the Visual area.
21437 (closes #8963)
21438Files: src/normal.c, src/testdir/test_visual.vim
21439
21440Patch 8.2.3495
21441Problem: GUI geometry startup test fails on some systems. (Drew Vogel)
21442Solution: Add tolerance to the size check. (closes #8815)
21443Files: src/testdir/test_startup.vim
21444
21445Patch 8.2.3496
21446Problem: Crypt test fails on MS-Windows if xxd was not installed yet.
21447Solution: Use the just built xxd executable if it exists. (James McCoy,
21448 closes #8929)
21449Files: src/testdir/test_crypt.vim
21450
21451Patch 8.2.3497
21452Problem: Put test fails when run by itself.
21453Solution: Source check.vim. (Dominique Pellé, closes #8990)
21454Files: src/testdir/test_put.vim
21455
21456Patch 8.2.3498
21457Problem: Recover test may fail on some systems.
21458Solution: Adjust the little endian and 64 bit detection. (James McCoy,
21459 closes #8941)
21460Files: src/testdir/test_recover.vim
21461
21462Patch 8.2.3499
21463Problem: GUI geometry startup test fails.
21464Solution: Check string values instead of numbers
21465Files: src/testdir/test_startup.vim
21466
21467Patch 8.2.3500
21468Problem: Github CI fails to install clang.
21469Solution: Install llvm-11 explicitly. (Christian Brabandt, closes #8993)
21470Files: .github/workflows/ci.yml
21471
21472Patch 8.2.3501
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021473Problem: tmux filetype detection is incomplete
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021474Solution: Also use tmux for files having text after .conf. (Eric Pruitt,
21475 closes #8971)
21476Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21477
21478Patch 8.2.3502 (after 8.2.2919)
21479Problem: Cannot enter password in shell command.
21480Solution: Revert patch 8.2.2919.
21481Files: src/os_unix.c
21482
21483Patch 8.2.3503
21484Problem: Vim9: using g:pat:cmd is confusing.
21485Solution: Do not recognize g: as the :global command. Also for s:pat:repl.
21486 (closes #8982)
21487Files: runtime/doc/vim9.txt, src/ex_docmd.c, src/ex_cmds.c, src/errors.h,
21488 src/vim9compile.c, src/proto/vim9compile.pro,
21489 src/testdir/test_vim9_cmd.vim
21490
21491Patch 8.2.3504 (after 8.2.3503)
21492Problem: Vim9: warning for signed vs unsigned.
21493Solution: Add type cast.
21494Files: src/vim9compile.c
21495
21496Patch 8.2.3505 (after 8.2.3503)
21497Problem: Vim9: build failure without the +eval feature.
21498Solution: Add #ifdef.
21499Files: src/ex_cmds.c
21500
21501Patch 8.2.3506 (after 8.2.3503)
21502Problem: Vim9: special cases for "g" and "s" insufficiently tested.
21503Solution: Add a few more test cases.
21504Files: src/testdir/test_vim9_cmd.vim
21505
21506Patch 8.2.3507
21507Problem: Generating proto files may fail.
21508Solution: Define __attribute().
21509Files: src/Makefile
21510
21511Patch 8.2.3508 (after 8.2.3503)
21512Problem: Vim9: bad separators for "g" and "s" insufficiently tested.
21513Solution: Add a few more test cases.
21514Files: src/testdir/test_vim9_cmd.vim
21515
21516Patch 8.2.3509
21517Problem: Undo file is not synced. (Sami Farin)
21518Solution: Sync the undo file if 'fsync' is set. (Christian Brabandt,
21519 closes #8879, closes #8920)
21520Files: runtime/doc/options.txt, src/undo.c
21521
21522Patch 8.2.3510
21523Problem: Changes are only detected with one second accuracy.
21524Solution: Use the nanosecond time if possible. (Leah Neukirchen,
21525 closes #8873, closes #8875)
21526Files: runtime/doc/eval.txt, src/auto/configure, src/bufwrite.c,
21527 src/config.h.in, src/configure.ac, src/fileio.c,
21528 src/proto/fileio.pro, src/memline.c, src/netbeans.c,
21529 src/structs.h, src/evalfunc.c, src/testdir/test_stat.vim
21530
21531Patch 8.2.3511
21532Problem: Vim9: entry for loop variable is created every round.
21533Solution: Only create the entry once. (closes #8996)
21534Files: src/evalvars.c, src/vim9script.c
21535
21536Patch 8.2.3512
21537Problem: Timestamp test fails on some systems.
21538Solution: Sleep for a short while.
21539Files: src/testdir/test_stat.vim
21540
21541Patch 8.2.3513
21542Problem: Using freed memory when using a timer and searching. (Dominique
21543 Pellé)
21544Solution: Allocated mr_pattern.
21545Files: src/search.c
21546
21547Patch 8.2.3514
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021548Problem: Autoread test with nanosecond time sometimes fails.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021549Solution: Mark the test as being flaky.
21550Files: src/testdir/test_stat.vim
21551
21552Patch 8.2.3515
21553Problem: Nano time test fails on Mac and FreeBSD.
21554Solution: Also check nano time when not on Linux. (Ozaki Kiichi,
21555 closes #9000)
21556Files: src/fileio.c
21557
21558Patch 8.2.3516
21559Problem: Terminal window does not have transparent background when
21560 'termguicolors' is used.
21561Solution: Fix the background color. (closes #2361, closes #9002)
21562Files: runtime/doc/terminal.txt, src/highlight.c, src/proto/terminal.pro,
21563 src/terminal.c
21564
21565Patch 8.2.3517
21566Problem: TextChanged does not trigger after TextChangedI.
21567Solution: Store the tick separately for TextChangedI. (Christian Brabandt,
21568 closes #8968, closes #8932)
21569Files: src/buffer.c, src/bufwrite.c, src/edit.c, src/structs.h,
21570 src/testdir/test_autocmd.vim
21571
21572Patch 8.2.3518
21573Problem: Test_xrestore sometimes fails.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021574Solution: Mark the test as flaky. Move marking test as flaky to the test
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021575 instead of listing them in runtest.
21576Files: src/testdir/test_paste.vim, src/testdir/runtest.vim,
21577 src/testdir/test_autocmd.vim, src/testdir/test_channel.vim,
21578 src/testdir/test_clientserver.vim, src/testdir/test_diffmode.vim,
21579 src/testdir/test_functions.vim, src/testdir/test_gui.vim,
21580 src/testdir/test_mapping.vim, src/testdir/test_popup.vim,
21581 src/testdir/test_quotestar.vim, src/testdir/test_reltime.vim,
21582 src/testdir/test_terminal.vim, src/testdir/test_terminal2.vim,
21583 src/testdir/test_timers.vim
21584
21585Patch 8.2.3519
21586Problem: TOML files are not recognized.
21587Solution: Add filetype patterns for TOML. (Aman Verma, closes #8984)
21588Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21589
21590Patch 8.2.3520
21591Problem: Cannot define a function for thesaurus completion.
21592Solution: Add 'thesaurusfunc'. (Yegappan Lakshmanan, closes #8987,
21593 closes 8950)
21594Files: runtime/doc/insert.txt, runtime/doc/options.txt,
21595 runtime/doc/quickref.txt, src/buffer.c, src/insexpand.c,
21596 src/option.c, src/option.h, src/optiondefs.h, src/optionstr.c,
21597 src/structs.h, src/testdir/test_edit.vim
21598
21599Patch 8.2.3521 (after 8.2.3520)
21600Problem: Options completion test fails.
21601Solution: Add 'thesaurusfunc' to the results.
21602Files: src/testdir/test_options.vim
21603
21604Patch 8.2.3522
21605Problem: Cannot use \x and \u when setting 'listchars'.
21606Solution: Support hex and unicode in hex form. (closes #9006)
21607Files: runtime/doc/options.txt, src/screen.c, src/charset.c,
21608 src/testdir/test_listchars.vim
21609
21610Patch 8.2.3523
21611Problem: Duplicated code in xxd.
21612Solution: Remove duplicated lines. (closes #8972)
21613Files: src/xxd/xxd.c
21614
21615Patch 8.2.3524
21616Problem: GUI: ligatures are not used.
21617Solution: Add the 'guiligatures' option. (Dusan Popovic, closes #8933)
21618Files: runtime/doc/options.txt, src/gui.c, src/gui.h, src/gui_gtk_x11.c,
21619 src/option.h, src/optiondefs.h, src/optionstr.c, src/errors.h,
21620 src/proto/gui.pro, src/proto/gui_gtk_x11.pro,
21621 src/testdir/test_gui.vim
21622
21623Patch 8.2.3525
21624Problem: Option variable name does not match option name. (Christ van
Bram Moolenaareb490412022-06-28 13:44:46 +010021625 Willegen)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021626Solution: Rename the variable.
21627Files: src/buffer.c, src/insexpand.c, src/option.c, src/optionstr.c,
21628 src/structs.h
21629
21630Patch 8.2.3526
21631Problem: Tests have clumsy check for X11 based GUI.
21632Solution: Add CheckX11BasedGui.
21633Files: src/testdir/check.vim, src/testdir/test_gui.vim,
21634 src/testdir/test_gui_init.vim, src/testdir/setup_gui.vim
21635
21636Patch 8.2.3527
21637Problem: Gcc complains about uninitialized variable. (Tony Mechelynck)
21638Solution: Initialize it.
21639Files: src/gui_gtk_x11.c
21640
21641Patch 8.2.3528
21642Problem: 'thesaurus' and 'thesaurusfunc' do not have the same scope.
21643Solution: Make 'thesaurusfunc' global-local.
21644Files: runtime/doc/options.txt, runtime/doc/insert.txt,
21645 src/optiondefs.h, src/option.h, src/option.c, src/structs.h,
21646 src/insexpand.c, src/testdir/test_edit.vim
21647
21648Patch 8.2.3529
21649Problem: Xxd usage output is incomplete.
21650Solution: Add "bytes" to "-g" flag. (Atsushi Sugawara, closes #8944)
21651Files: src/xxd/xxd.c
21652
21653Patch 8.2.3530
21654Problem: ":buf \{a}" fails while ":edit \{a}" works.
21655Solution: Unescape "\{". (closes #8917)
21656Files: src/vim.h, src/cmdexpand.c, src/evalfunc.c, src/ex_getln.c,
21657 src/proto/ex_getln.pro, src/normal.c, src/session.c,
21658 src/terminal.c, src/vim9execute.c, src/testdir/test_cmdline.vim
21659
21660Patch 8.2.3531 (after 8.2.3530)
21661Problem: Command line completion test fails on MS-Windows.
21662Solution: Do not test with "\{" on MS-Windows.
21663Files: src/testdir/test_cmdline.vim
21664
21665Patch 8.2.3532
21666Problem: The previous '' mark is restored after moving the cursor to the
21667 original jump position. (Tony Chen)
21668Solution: Forget the previous position after checking. (closes #8985)
21669Files: src/mark.c, src/testdir/test_marks.vim
21670
21671Patch 8.2.3533
21672Problem: Inefficient code in xxd.
21673Solution: Don't use "p" when "hextype" is non-zero. (closes #9013)
21674Files: src/xxd/xxd.c
21675
21676Patch 8.2.3534
21677Problem: Autoread test is a bit flaky.
21678Solution: Wait a brief moment before overwriting the file.
21679Files: src/testdir/test_stat.vim
21680
21681Patch 8.2.3535
21682Problem: If-else indenting is confusing.
21683Solution: Add curly brackets and indent. (Dominique Pellé, closes #9010)
21684Files: src/drawscreen.c
21685
21686Patch 8.2.3536
21687Problem: The do_highlight() function is way too long.
21688Solution: Split it into several functions. (Yegappan Lakshmanan,
21689 closes #9011)
21690Files: src/highlight.c
21691
21692Patch 8.2.3537
21693Problem: mode() does not return the right value in 'operatorfunc'.
21694Solution: Reset finish_op while calling 'operatorfunc'.
21695Files: src/ops.c, src/testdir/test_functions.vim
21696
21697Patch 8.2.3538
21698Problem: Else-if indenting is confusing.
21699Solution: Add curly brackets. (Yegappan Lakshmanan, closes #9017)
21700Files: src/highlight.c
21701
21702Patch 8.2.3539
21703Problem: GTK3: with 'rightleft' set scrollbar may move unintentionally.
21704Solution: Ignore events while moving the scrollbar thumb. (closes #8958)
21705Files: src/gui_gtk.c
21706
21707Patch 8.2.3540
21708Problem: The mark '] is wrong after put with a count. (Naohiro Ono)
21709Solution: Use the right line number. (closes #8956)
21710Files: src/register.c, src/testdir/test_put.vim
21711
21712Patch 8.2.3541
21713Problem: Compiler warning for unused variable in tiny version.
21714Solution: Add #ifdef. (John Marriott)
21715Files: src/highlight.c
21716
21717Patch 8.2.3542
21718Problem: Too many comments are old style.
21719Solution: Change comments to // style. (closes #9021)
21720Files: src/buffer.c
21721
21722Patch 8.2.3543
21723Problem: Swapname has double slash when 'directory' ends in double slash.
21724 (Shane Smith)
21725Solution: Remove the superfluous slash. (closes #8876)
21726Files: src/memline.c, src/testdir/test_swap.vim
21727
21728Patch 8.2.3544
21729Problem: Unix: may leak file descriptor when using a non-existing
21730 directory.
21731Solution: Always close the file. (closes #9023)
21732Files: src/os_unix.c
21733
21734Patch 8.2.3545
21735Problem: setcellwidths() may make 'listchars' or 'fillchars' invalid.
21736Solution: Check the value and give an error. (closes #9024)
21737Files: runtime/doc/eval.txt, src/optionstr.c, src/errors.h, src/mbyte.c,
21738 src/testdir/test_utf8.vim
21739
21740Patch 8.2.3546 (after 8.2.3545)
21741Problem: Build failure without the +eval feature.
21742Solution: Add #ifdef. (closes #9025)
21743Files: src/errors.h
21744
21745Patch 8.2.3547
21746Problem: Opening the quickfix window triggers BufWinEnter twice. (Yorick
21747 Peterse)
21748Solution: Only trigger BufWinEnter with "quickfix". (closes #9022)
21749Files: src/ex_cmds.c, src/vim.h, src/quickfix.c, src/buffer.c,
21750 src/testdir/test_quickfix.vim
21751
21752Patch 8.2.3548
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021753Problem: GTK GUI crashes when reading from stdin.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021754Solution: Do not overwrite the NUL after the string. (closes #9028)
21755Files: src/gui_gtk_x11.c, src/testdir/test_gui.vim
21756
21757Patch 8.2.3549
21758Problem: Mistakes in test comments.
21759Solution: Fix the comments. (closes #9029)
21760Files: src/testdir/test_autocmd.vim
21761
21762Patch 8.2.3550
21763Problem: completion() does not work properly.
21764Solution: Set xp_line and add WILD_HOME_REPLACE. (Shougo Matsushita,
21765 closes #9016)
21766Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
21767
21768Patch 8.2.3551
21769Problem: Checking first character of url twice.
21770Solution: Only check once. (closes #9026)
21771Files: src/misc1.c
21772
21773Patch 8.2.3552
21774Problem: Xxd revert does not handle end of line correctly.
21775Solution: Check for newline first. (closes #9034)
21776Files: src/xxd/xxd.c, src/testdir/test_xxd.vim
21777
21778Patch 8.2.3553 (after 8.2.3552)
21779Problem: Xxd test fails on MS-Windows.
21780Solution: Split shell command in two.
21781Files: src/testdir/test_xxd.vim
21782
21783Patch 8.2.3554
21784Problem: Xxd has various way to exit.
21785Solution: Add function to print error and exit. (closes #9035)
21786Files: src/xxd/xxd.c
21787
21788Patch 8.2.3555
21789Problem: ModeChanged is not triggered on every mode change.
21790Solution: Also trigger on minor mode changes. (Maguns Gross, closes #8999)
21791Files: runtime/doc/autocmd.txt, src/autocmd.c, src/insexpand.c,
21792 src/misc1.c, src/normal.c, src/terminal.c,
21793 src/testdir/test_edit.vim
21794
21795Patch 8.2.3556
21796Problem: Filler lines are incorrect for other window in diff mode after
21797 making a change.
21798Solution: Copy filler lines from the current window. (closes #8809)
21799Files: src/diff.c, src/testdir/test_diffmode.vim,
21800 src/testdir/dumps/Test_diff_scroll_change_03.dump
21801
21802Patch 8.2.3557
21803Problem: Vim9: cannot call imported funcref at script level.
21804Solution: Check for an imported function. (closes #9007)
21805Files: src/userfunc.c, src/testdir/test_vim9_script.vim
21806
21807Patch 8.2.3558 (after 8.2.3557)
21808Problem: Vim9: asserting the wrong variable.
21809Solution: Don't use Foo, use Goo.
21810Files: src/testdir/test_vim9_script.vim
21811
21812Patch 8.2.3559
21813Problem: Loop variable recreated every time.
21814Solution: Keep the loop variable when looping.
21815Files: src/ex_eval.c
21816
21817Patch 8.2.3560
21818Problem: Using freed memory with lambda.
21819Solution: Do not free lines early, keep them until the expression is
21820 finished. (closes #9020)
21821Files: src/eval.c, src/proto/eval.pro, src/userfunc.c, src/vim9compile.c,
21822 src/structs.h, src/globals.h, src/testdir/test_vim9_func.vim
21823
21824Patch 8.2.3561
21825Problem: Cscope has a complicated way of giving an error message.
21826Solution: Use semsg(). (James McCoy, closes #9038)
21827Files: src/if_cscope.c
21828
21829Patch 8.2.3562
21830Problem: Cannot add color names.
21831Solution: Add the v:colornames dictionary. (Drew Vogel, closes #8761)
21832Files: Filelist, READMEdir/README_extra.txt, nsis/gvim.nsi,
21833 runtime/colors/README.txt, runtime/colors/lists/csscolors.vim,
21834 runtime/colors/lists/default.vim, runtime/doc/eval.txt,
21835 runtime/doc/gui_w32.txt, runtime/doc/message.txt,
21836 runtime/doc/os_haiku.txt, runtime/doc/syntax.txt,
21837 runtime/doc/usr_06.txt, src/Makefile, src/evalvars.c,
21838 src/gui_haiku.cc, src/highlight.c, src/gui.c, src/job.c,
21839 src/proto/highlight.pro, src/proto/term.pro, src/term.c,
21840 src/vim.h, src/globals.h, src/errors.h,
21841 src/testdir/test_highlight.vim
21842
21843Patch 8.2.3563 (after 8.2.3562)
21844Problem: Build failure with +eval but without GUI or +termguicolors
21845Solution: Adjust #ifdef. (John Marriott)
21846Files: src/highlight.c
21847
21848Patch 8.2.3564
21849Problem: Invalid memory access when scrolling without a valid screen.
21850Solution: Do not set VALID_BOTLINE in w_valid.
21851Files: src/move.c, src/testdir/test_normal.vim
21852
21853Patch 8.2.3565
21854Problem: Makefile dependencies are outdated. (Gary Johnson)
21855Solution: Run "make depend" and add missing dependencies.
21856Files: src/Makefile
21857
21858Patch 8.2.3566
21859Problem: Build failure on old systems when using nano timestamp.
21860Solution: Define _BSD_SOURCE, _SVID_SOURCE and _DEFAULT_SOURCE. (Gary
21861 Johnson, closes #9054)
21862Files: src/vim.h
21863
21864Patch 8.2.3567
21865Problem: CTRL-I in Insert mode is not tested
21866Solution: Add a test case. (Dominique Pellé, closes #8866)
21867Files: src/testdir/test_edit.vim
21868
21869Patch 8.2.3568
21870Problem: Ctrl-hat test fails with Athena and Motif. (Elimar Riesebieter)
21871Solution: Run the test only with GTK. (Dominique Pellé, closes #9069)
21872Files: src/testdir/test_edit.vim
21873
21874Patch 8.2.3569
21875Problem: Error for :let when vimrc is Vim 9 script.
21876Solution: Prepend :legacy in the code for converting arguments. (Christian
21877 Brabandt, closes #9068, closes #9077)
21878Files: src/os_win32.c
21879
21880Patch 8.2.3570
21881Problem: Test_very_large_count fails on 32bit systems.
21882Solution: Bail out when using 32 bit numbers. (closes #9072)
21883Files: src/testdir/test_put.vim
21884
21885Patch 8.2.3571
21886Problem: Some unicode control characters are considered printable.
21887Solution: Make 0x2060 - 0x2069 not printable.
21888Files: src/mbyte.c
21889
21890Patch 8.2.3572
21891Problem: Memory leak when closing window and using "multispace" in
21892 'listchars'.
21893Solution: Free the memory. (closes #9071)
21894Files: src/window.c, src/testdir/test_listchars.vim
21895
21896Patch 8.2.3573
21897Problem: Cannot decide whether to skip test that fails with 64 bit ints.
21898 (closes #9072)
21899Solution: Add v:sizeofint, v:sizeoflong and v:sizeofpointer. Improve the
21900 check for multiply overflow.
21901Files: runtime/doc/eval.txt, src/vim.h, src/evalvars.c, src/register.c,
21902 src/testdir/test_put.vim
21903
21904Patch 8.2.3574 (after 8.2.3573)
21905Problem: Divide by zero.
21906Solution: Don't check for overflow if multiplicand is zero.
21907Files: src/register.c
21908
21909Patch 8.2.3575 (after 8.2.3574)
21910Problem: Overflow check still fails when sizeof(int) == sizeof(long).
21911Solution: Use a float to check the result.
21912Files: src/register.c
21913
21914Patch 8.2.3576
21915Problem: Some functions are not documented for use with a method.
21916Solution: Add examples. Fix that sign_unplacelist() only takes one
21917 argument. (Sean Dewar, closes #9081)
21918Files: src/evalfunc.c, runtime/doc/eval.txt
21919
21920Patch 8.2.3577 (after 8.2.3574)
21921Problem: Overflow check fails with 32 bit ints.
21922Solution: Only test with 64 bit ints.
21923Files: src/testdir/test_put.vim
21924
21925Patch 8.2.3578
21926Problem: Manipulating highlighting is complicated.
21927Solution: Add the hlget() and hlset() functions. (Yegappan Lakshmanan,
21928 closes #9039)
21929Files: runtime/doc/eval.txt, runtime/doc/syntax.txt,
21930 runtime/doc/usr_41.txt, runtime/doc/windows.txt, src/evalfunc.c,
21931 src/highlight.c, src/proto/highlight.pro,
21932 src/testdir/test_highlight.vim, src/testdir/test_vim9_builtin.vim
21933
21934Patch 8.2.3579
21935Problem: CI sometimes fails for MinGW.
21936Solution: Use backslashes in HandleSwapExists(). (Christian Brabandt,
21937 closes #9078)
21938Files: src/testdir/runtest.vim
21939
21940Patch 8.2.3580
21941Problem: gj does not move properly with a wide character.
21942Solution: Move one to the right. (Christian Brabandt, closes #8702)
21943Files: src/normal.c, src/testdir/test_normal.vim
21944
21945Patch 8.2.3581
21946Problem: Reading character past end of line.
21947Solution: Correct the cursor column.
21948Files: src/ex_docmd.c, src/testdir/test_put.vim
21949
21950Patch 8.2.3582
21951Problem: Reading uninitialized memory when giving spell suggestions.
21952Solution: Check that preword is not empty.
21953Files: src/spellsuggest.c, src/testdir/test_spell.vim
21954
21955Patch 8.2.3583
21956Problem: The "gd" and "gD" commands do not update search stats. (Gary
21957 Johnson)
21958Solution: Clear search stats.
21959Files: src/normal.c, src/testdir/test_search_stat.vim,
21960 src/testdir/dumps/Test_searchstatgd_1.dump,
21961 src/testdir/dumps/Test_searchstatgd_2.dump
21962
21963Patch 8.2.3584
21964Problem: "verbose set efm" reports the location of the :compiler command.
21965 (Gary Johnson)
21966Solution: Add the "-keepscript" argument to :command and use it when
21967 defining CompilerSet.
21968Files: runtime/doc/map.txt, src/ex_cmds2.c, src/usercmd.c, src/ex_cmds.h,
21969 src/testdir/test_compiler.vim
21970
21971Patch 8.2.3585
21972Problem: Crash when passing float to "term_rows" in the options argument of
21973 term_start(). (Virginia Senioria)
21974Solution: Bail out if the argument is not a number. (closes #9116)
21975Files: src/job.c, src/terminal.c, src/testdir/test_terminal.vim
21976
21977Patch 8.2.3586 (after 8.2.3584)
21978Problem: Command completion test fails.
21979Solution: Add new argument to expected output
21980Files: src/testdir/test_usercommands.vim
21981
21982Patch 8.2.3587 (after 8.2.3584)
21983Problem: Compiler test fails with backslash file separator.
21984Solution: Accept slash and backslash.
21985Files: src/testdir/test_compiler.vim
21986
21987Patch 8.2.3588
21988Problem: Break statement is never reached.
21989Solution: Rely on return value of set_chars_option() not changing.
21990 (closes #9103)
21991Files: src/optionstr.c
21992
21993Patch 8.2.3589
21994Problem: Failure when the "term_rows" argument of term_start() is an
21995 unusual value.
21996Solution: Limit to range of zero to 1000. (closes #9116)
21997Files: runtime/doc/terminal.txt, src/job.c, src/testdir/test_terminal.vim
21998
21999Patch 8.2.3590
22000Problem: Test for v:colornames sometimes fails. (Dominique Pellé)
22001Solution: Check features. Clear v:colornames between tests. (Drew Vogel,
22002 closes #9105, closes #9073)
22003Files: runtime/doc/eval.txt, src/highlight.c, src/proto/highlight.pro,
22004 src/testdir/test_highlight.vim
22005
22006Patch 8.2.3591
22007Problem: No event is triggered when closing a window.
22008Solution: Add the WinClosed event. (Naohiro Ono, closes #9110)
22009Files: runtime/doc/autocmd.txt, src/autocmd.c,
22010 src/testdir/test_autocmd.vim, src/vim.h, src/window.c
22011
22012Patch 8.2.3592
22013Problem: Test_hlset fails when terminal has many columns.
22014Solution: Set the number of columns to 80. (Dominique Pellé, closes #9101,
22015 closes #9100)
22016Files: src/testdir/test_highlight.vim
22017
22018Patch 8.2.3593
22019Problem: Directory is wrong after executing "lcd" with win_execute().
22020Solution: Correct the directory when going back to the original window.
22021 (closes #9132)
22022Files: src/evalwindow.c, src/window.c, src/proto/window.pro,
22023 src/testdir/test_execute_func.vim
22024
22025Patch 8.2.3594
22026Problem: Xxd code is a bit difficult to understand.
22027Solution: Move some lines to a separate function. (closes #9037)
22028Files: src/xxd/xxd.c
22029
22030Patch 8.2.3595
22031Problem: Check for signed overflow might not work everywhere.
22032Solution: Limit to 32 bit int. (closes #9043, closes #9067)
22033Files: src/getchar.c
22034
22035Patch 8.2.3596
22036Problem: Crash when using :pedit in Vim9 script.
22037Solution: Move check for arguments to after checking there are arguments.
22038 (Yegappan Lakshmanan, closes #9134, closes #9135)
22039Files: src/popupwin.c, src/testdir/test_vim9_cmd.vim
22040
22041Patch 8.2.3597
22042Problem: Vim seems to hang when writing a very long text to a terminal
22043 window.
22044Solution: Limit the amount of text based on 'termwinscroll'. (issue #9080)
22045Files: runtime/doc/options.txt, src/terminal.c
22046
22047Patch 8.2.3598
22048Problem: RouterOS filetype is not recognized.
22049Solution: Add file and script patterns. (closes #9097)
22050Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22051
22052Patch 8.2.3599
22053Problem: Not all gdbinit files are recognized.
22054Solution: Add "gdbinit". (Doug Kearns)
22055Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22056
22057Patch 8.2.3600 (after 8.2.3598)
22058Problem: Filetype test fails.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000022059Solution: Add missing change.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000022060Files: runtime/scripts.vim
22061
22062Patch 8.2.3601
22063Problem: Check for overflow in put count does not work well.
22064Solution: Improve the overflow check. (Ozaki Kiichi, closes #9102)
22065Files: src/register.c, src/testdir/test_put.vim
22066
22067Patch 8.2.3602
22068Problem: Python3 test fails with Python 3.10 on MS-Windows.
22069Solution: Adjust the expected error. (Ken Takata, closes #9118)
22070Files: src/testdir/test_python3.vim
22071
22072Patch 8.2.3603
22073Problem: Fish filetype not recognized.
22074Solution: Add a file pattern and match script line. (Doug Kearns)
22075Files: runtime/filetype.vim, runtime/scripts.vim,
22076 src/testdir/test_filetype.vim
22077
22078Patch 8.2.3604
22079Problem: Not all sudoers files are recognized.
22080Solution: Add a file pattern. (Doug Kearns, closes #1192)
22081Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22082
22083Patch 8.2.3605
22084Problem: Cannot clear and unlink a highlight group with hlset() in a
22085 single call.
22086Solution: Add the "force" option. (Yegappan Lakshmanan, closes #9117)
22087Files: runtime/doc/eval.txt, src/highlight.c,
22088 src/testdir/test_highlight.vim, src/testdir/test_vim9_builtin.vim,
22089 src/testdir/test_vim9_cmd.vim
22090
22091Patch 8.2.3606
22092Problem: File missing from list of distributed files.
22093Solution: Add the file.
22094Files: Filelist
22095
22096Patch 8.2.3607
22097Problem: GTK3 screen updating is slow.
22098Solution: Remove some of the GTK3-specific code. (closes #9052)
22099Files: src/gui.h, src/gui_gtk_x11.c
22100
22101Patch 8.2.3608
22102Problem: Users who type "q:" instead of ":q" are confused.
22103Solution: Add an autocmd to give a message that explains this is the
22104 command-line window. (Egor Zvorykin, closes #9146)
22105Files: runtime/defaults.vim, src/testdir/test_autocmd.vim,
22106 src/testdir/test_cmdline.vim
22107
22108Patch 8.2.3609
22109Problem: Internal error when ModeChanged is triggered when v:event is
22110 already in use.
22111Solution: Save and restore v:event if needed.
22112Files: src/misc1.c, src/proto/misc1.pro, src/testdir/test_edit.vim,
22113 src/insexpand.c, src/structs.h, src/register.c
22114
22115Patch 8.2.3610
22116Problem: Crash when ModeChanged triggered too early.
22117Solution: Trigger ModeChanged after setting VIsual.
22118Files: src/normal.c, src/testdir/test_edit.vim
22119
22120Patch 8.2.3611
22121Problem: Crash when using CTRL-W f without finding a file name.
22122Solution: Bail out when the file name length is zero.
22123Files: src/findfile.c, src/normal.c, src/testdir/test_visual.vim
22124
22125Patch 8.2.3612
22126Problem: Using freed memory with regexp using a mark.
22127Solution: Get the line again after getting the mark position.
22128Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test_regexp_latin.vim
22129
22130Patch 8.2.3613
22131Problem: :find test fails.
22132Solution: Put length check inside if block.
22133Files: src/findfile.c
22134
22135Patch 8.2.3614
22136Problem: zindex of popup windows not used when redrawing popup menu.
22137Solution: Check the zindex when redrawing the popup menu. (closes #9129,
22138 closes #9089)
22139Files: src/popupmenu.c, src/popupwin.c, src/proto/popupmenu.pro,
22140 src/screen.c, src/testdir/test_popupwin.vim,
22141 src/testdir/dumps/Test_popupwin_popupmenu_masking_1.dump,
22142 src/testdir/dumps/Test_popupwin_popupmenu_masking_2.dump
22143
22144Patch 8.2.3615
22145Problem: When re-formatting with an indent expression the first line of a
22146 paragraph may get the wrong indent. (Martin F. Krafft)
22147Solution: Apply the correct indenting function for the first line.
22148 (Christian Brabandt, closes #9150, closes #9056)
22149Files: src/textformat.c, src/testdir/test_indent.vim
22150
22151Patch 8.2.3616
22152Problem: Arglist test does not clear the argument list consistently.
22153Solution: Call Reset_arglist(). (Shougo Matsushita, closes #9154)
22154Files: src/testdir/test_arglist.vim
22155
22156Patch 8.2.3617
22157Problem: ":verbose pwd" does not mention 'autochdir' was applied.
22158Solution: Remember the last chdir was done by 'autochdir'. (issue #9142)
22159Files: src/globals.h, src/buffer.c, src/ex_docmd.c, src/window.c,
22160 src/main.c, src/netbeans.c, src/os_win32.c,
22161 src/testdir/test_autochdir.vim
22162
22163Patch 8.2.3618
22164Problem: getcwd() is unclear about how 'autochdir' is used.
22165Solution: Update the help for getcwd(). Without any arguments always return
22166 the actual current directory. (closes #9142)
22167Files: runtime/doc/eval.txt, src/filepath.c, src/testdir/test_cd.vim
22168
22169Patch 8.2.3619
22170Problem: Cannot use a lambda for 'operatorfunc'.
22171Solution: Support using a lambda or partial. (Yegappan Lakshmanan,
22172 closes #8775)
22173Files: runtime/doc/map.txt, runtime/doc/options.txt, src/ops.c,
22174 src/option.c, src/optionstr.c, src/proto/ops.pro,
22175 src/proto/option.pro, src/quickfix.c, src/testdir/test_normal.vim
22176
22177Patch 8.2.3620
22178Problem: Memory leak reported in libtlib.
22179Solution: Call del_curterm() when cleaning up memory. Rename term.h to
22180 termdefs.h to avoid a name clash.
22181Files: src/term.c, src/proto/term.pro, src/alloc.c, src/configure.ac,
22182 src/auto/configure, src/config.h.in, src/Makefile,
22183 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms,
22184 src/term.h, src/termdefs.h
22185
22186Patch 8.2.3621 (after 8.2.3620)
22187Problem: Build failure.
22188Solution: Add missing change.
22189Files: src/vim.h
22190
22191Patch 8.2.3622
22192Problem: "verbose pwd" shows confusing info when :lcd does not change
22193 directory.
22194Solution: Clear last_chdir_reason also when the directory does not change.
22195 (closes #9160)
22196Files: src/ex_docmd.c, src/testdir/test_autochdir.vim
22197
22198Patch 8.2.3623
22199Problem: "$*" is expanded to "nonomatch".
22200Solution: Only add "set nonomatch" when using a csh-like shell. (Christian
22201 Brabandt, closes #9159, closes #9153)
22202Files: src/os_unix.c, src/testdir/test_expand.vim
22203
22204Patch 8.2.3624
22205Problem: When renaming a terminal buffer the status text is not updated.
22206Solution: Clear the cached status text when renaming a terminal buffer.
22207 (closes #9162)
22208Files: src/buffer.c, src/terminal.c, src/proto/terminal.pro,
22209 src/testdir/test_terminal.vim
22210
22211Patch 8.2.3625
22212Problem: Illegal memory access when C-indenting.
22213Solution: Also set the cursor column.
22214Files: src/cindent.c, src/testdir/test_cindent.vim
22215
22216Patch 8.2.3626
22217Problem: "au!" and "au! event" cannot be followed by another command as
22218 documented.
22219Solution: When a bar is found set nextcmd.
22220Files: src/autocmd.c, src/testdir/test_autocmd.vim
22221
22222Patch 8.2.3627
22223Problem: difficult to know where the text starts in a window. (Sergey
22224 Vlasov)
22225Solution: Add the "textoff" entry in the result of getwininfo().
22226 (closes #9163)
22227Files: runtime/doc/eval.txt, src/evalwindow.c,
22228 src/testdir/test_bufwintabinfo.vim
22229
22230Patch 8.2.3628
22231Problem: Looking up terminal colors is a bit slow.
22232Solution: Cache the terminal colors. (closes #9130, closes #9058)
22233Files: src/highlight.c, src/libvterm/include/vterm.h, src/option.c,
22234 src/optionstr.c, src/popupwin.c, src/proto/terminal.pro,
22235 src/structs.h, src/terminal.c, src/window.c,
22236 src/testdir/test_terminal3.vim,
22237 src/testdir/dumps/Test_terminal_color_MyTermCol.dump,
22238 src/testdir/dumps/Test_terminal_color_MyTermCol_over_Terminal.dump,
22239 src/testdir/dumps/Test_terminal_color_MyWinCol.dump,
22240 src/testdir/dumps/Test_terminal_color_MyWinCol_over_group.dump,
22241 src/testdir/dumps/Test_terminal_color_Terminal.dump,
22242 src/testdir/dumps/Test_terminal_color_gui_MyTermCol.dump,
22243 src/testdir/dumps/Test_terminal_color_gui_MyWinCol.dump,
22244 src/testdir/dumps/Test_terminal_color_gui_Terminal.dump,
22245 src/testdir/dumps/Test_terminal_color_gui_transp_MyTermCol.dump,
22246 src/testdir/dumps/Test_terminal_color_gui_transp_MyWinCol.dump,
22247 src/testdir/dumps/Test_terminal_color_gui_transp_Terminal.dump,
22248 src/testdir/dumps/Test_terminal_color_transp_MyTermCol.dump,
22249 src/testdir/dumps/Test_terminal_color_transp_MyWinCol.dump,
22250 src/testdir/dumps/Test_terminal_color_transp_Terminal.dump,
22251 src/testdir/dumps/Test_terminal_popup_MyPopupHlCol.dump,
22252 src/testdir/dumps/Test_terminal_popup_MyTermCol_over_Terminal.dump,
22253 src/testdir/dumps/Test_terminal_popup_MyWinCol.dump,
22254 src/testdir/dumps/Test_terminal_popup_MyWinCol_over_group.dump,
22255 src/testdir/dumps/Test_terminal_popup_gui_MyPopupHlCol.dump,
22256 src/testdir/dumps/Test_terminal_popup_gui_MyTermCol.dump,
22257 src/testdir/dumps/Test_terminal_popup_gui_MyWinCol.dump,
22258 src/testdir/dumps/Test_terminal_popup_gui_Terminal.dump,
22259 src/testdir/dumps/Test_terminal_popup_gui_transp_MyPopupHlCol.dump,
22260 src/testdir/dumps/Test_terminal_popup_gui_transp_MyTermCol.dump,
22261 src/testdir/dumps/Test_terminal_popup_gui_transp_MyWinCol.dump,
22262 src/testdir/dumps/Test_terminal_popup_gui_transp_Terminal.dump,
22263 src/testdir/dumps/Test_terminal_popup_transp_MyPopupHlCol.dump,
22264 src/testdir/dumps/Test_terminal_popup_transp_MyTermCol.dump,
22265 src/testdir/dumps/Test_terminal_popup_transp_MyWinCol.dump,
22266 src/testdir/dumps/Test_terminal_popup_transp_Terminal.dump,
22267 src/testdir/dumps/Test_terminal_wincolor_split_MyWinCol.dump,
22268 src/testdir/dumps/Test_terminal_wincolor_split_MyWinCol2.dump
22269
22270Patch 8.2.3629
22271Problem: Command completion in cmdline window uses global user commands,
22272 not local commands for the window where it was opened from.
22273Solution: Use local commands. (closes #9168)
22274Files: src/ex_getln.c, src/proto/ex_getln.pro, src/evalvars.c,
22275 src/usercmd.c, src/testdir/test_ins_complete.vim
22276
22277Patch 8.2.3630
22278Problem: Printf() with %S does not handle multi-byte correctly.
22279Solution: Count cells instead of bytes. (closes #9169, closes #7486)
22280Files: src/strings.c, src/testdir/test_expr.vim
22281
22282Patch 8.2.3631
22283Problem: "syntax enable" does not work properly in Vim9 context.
22284Solution: Also handle Vim9 context. (closes #9161)
22285Files: src/syntax.c, src/testdir/test_vim9_cmd.vim
22286
22287Patch 8.2.3632
22288Problem: GTK3: undercurl does not get removed properly.
22289Solution: Set the cairo cursor first. (closes #9170)
22290Files: src/gui_gtk_x11.c
22291
22292Patch 8.2.3633
22293Problem: Vim9: line number of lambda is off by one.
22294Solution: Add one to the line number. (closes #9083)
22295Files: src/userfunc.c, src/testdir/test_vim9_func.vim
22296
22297Patch 8.2.3634
22298Problem: Error for already defined function uses wrong line number.
22299Solution: Set SOURCING_LNUM before giving the error message. (closes #9085)
22300Files: src/userfunc.c, src/testdir/test_vim9_func.vim
22301
22302Patch 8.2.3635
22303Problem: GTK: composing underline does not show.
22304Solution: Include composing character in pango call. A few more
22305 optimizations for ligatures. (Dusan Popovic, closes #9171,
22306 closes #9147)
22307Files: src/gui_gtk_x11.c
22308
22309Patch 8.2.3636
22310Problem: Coverity warns for unreachable code.
22311Solution: Remove unreachable else block.
22312Files: src/gui_gtk_x11.c
22313
22314Patch 8.2.3637
22315Problem: Typos in test files.
22316Solution: Correct the typos. (Dominique Pellé, closes #9175)
22317Files: src/testdir/runtest.vim, src/testdir/test_debugger.vim,
22318 src/testdir/test_diffmode.vim, src/testdir/test_edit.vim,
22319 src/testdir/test_excmd.vim, src/testdir/test_flatten.vim,
22320 src/testdir/test_ins_complete.vim, src/testdir/test_normal.vim,
22321 src/testdir/test_options.vim, src/testdir/test_python2.vim,
22322 src/testdir/test_python3.vim, src/testdir/test_quickfix.vim,
22323 src/testdir/test_recover.vim, src/testdir/test_spellfile.vim,
22324 src/testdir/test_syntax.vim, src/testdir/test_termcodes.vim,
22325 src/testdir/test_textobjects.vim, src/testdir/test_trycatch.vim,
22326 src/testdir/test_vim9_script.vim, src/testdir/test_viminfo.vim
22327
22328Patch 8.2.3638
22329Problem: getcompletion() always passes zero as position to custom
22330 completion function.
22331Solution: Pass the pattern length. (closes #9173)
22332Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
22333
22334Patch 8.2.3639 (after 8.2.2922)
22335Problem: Line commented out accidentally.
22336Solution: Uncomment. (Volodymyr Kot, closes #9172)
22337Files: src/main.c
22338
22339Patch 8.2.3640
22340Problem: Freeze when calling term_wait() in a close callback.
22341Solution: Set a "closing" flag to tell term_wait() to return. (closes #9152)
22342Files: src/channel.c, src/terminal.c, src/proto/terminal.pro,
22343 src/testdir/test_terminal.vim
22344
22345Patch 8.2.3641
22346Problem: Xxd code has duplicate expressions.
22347Solution: Refactor to avoid duplication. (closes #9185)
22348Files: src/xxd/xxd.c
22349
22350Patch 8.2.3642
22351Problem: List of distributed files is outdated.
22352Solution: Rename term.h to termdefs.h.
22353Files: Filelist
22354
22355Patch 8.2.3643
22356Problem: Header for source file is outdated.
22357Solution: Make the header more accurate. (closes #9186)
22358Files: src/map.c, src/getchar.c
22359
22360Patch 8.2.3644
22361Problem: Count for 'operatorfunc' in Visual mode is not redone.
22362Solution: Add the count to the redo buffer. (closes #9174)
22363Files: src/normal.c, src/proto/normal.pro, src/ops.c,
22364 src/testdir/test_normal.vim
22365
22366Patch 8.2.3645
22367Problem: Vim9: The "no effect" error is not given for all registers.
22368Solution: Include any character following '@'. (closes #8779)
22369Files: src/ex_eval.c, src/testdir/test_vim9_cmd.vim
22370
22371Patch 8.2.3646
22372Problem: Using <sfile> in a function gives an unexpected result.
22373Solution: Give an error in a Vim9 function. (issue #9189)
22374Files: src/scriptfile.c, src/errors.h, src/testdir/test_vim9_builtin.vim
22375
22376Patch 8.2.3647
22377Problem: GTK: when using ligatures the cursor is drawn wrong.
22378Solution: Clear more characters when ligatures are used. (Dusan Popovic,
22379 closes #9190)
22380Files: src/gui.c
22381
22382Patch 8.2.3648
22383Problem: "verbose pwd" is incorrect after dropping files on Vim.
22384Solution: Set the chdir reason to "drop".
22385Files: src/gui.c
22386
22387Patch 8.2.3649
22388Problem: Vim9: error for variable declared in while loop.
22389Solution: Do not keep the first variable. (closes #9191)
22390Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
22391
22392Patch 8.2.3650
22393Problem: Vim9: for loop variable can be a list member.
22394Solution: Check for valid variable name. (closes #9179)
22395Files: src/vim9compile.c, src/dict.c, src/eval.c, src/evalvars.c,
22396 src/proto/evalvars.pro, src/testdir/test_vim9_script.vim
22397
22398Patch 8.2.3651
22399Problem: Vim9: no error for :lock or :unlock with unknown variable.
22400Solution: Give an error. (closes #9188)
22401Files: src/evalvars.c, src/errors.h, src/testdir/test_vim9_cmd.vim
22402
22403Patch 8.2.3652
22404Problem: Can only get text properties one line at a time.
22405Solution: Add options to prop_list() to use a range of lines and filter by
22406 types. (Yegappan Lakshmanan, closes #9138)
22407Files: runtime/doc/textprop.txt, src/textprop.c,
22408 src/testdir/test_textprop.vim
22409
22410Patch 8.2.3653
22411Problem: Terminal ANSI colors may be wrong.
22412Solution: Initialize the color type. (closes #9198, closes #9197)
22413Files: src/terminal.c
22414
22415Patch 8.2.3654
22416Problem: GTK: a touch-drag does not update the selection.
22417Solution: Add GDK_BUTTON1_MASK to the state. (Chris Dalton, close #9196,
22418 closes #9194)
22419Files: src/gui_gtk_x11.c
22420
22421Patch 8.2.3655
22422Problem: Compiler warning for using size_t for int.
22423Solution: Add a type cast. (Mike Williams, closes #9199)
22424Files: src/vim9compile.c
22425
22426Patch 8.2.3656
Bram Moolenaar1588bc82022-03-08 21:35:07 +000022427Problem: Vim9: no error for an environment variable by itself.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000022428Solution: Give a "without effect" error. (closes #9166)
22429Files: src/ex_eval.c, src/testdir/test_vim9_cmd.vim
22430
22431Patch 8.2.3657
22432Problem: Vim9: debug text misses one line of return statement.
22433Solution: Add a line when not at a debug instruction. (closes #9137)
22434Files: src/vim9execute.c, src/testdir/test_debugger.vim
22435
22436Patch 8.2.3658
22437Problem: Duplicate code in xxd.
22438Solution: Merge duplicated code. Add more tests. (closes #9192)
22439Files: src/xxd/xxd.c, src/testdir/test_xxd.vim
22440
22441Patch 8.2.3659
22442Problem: Integer overflow with large line number.
22443Solution: Check for overflow. (closes #9202)
22444Files: src/errors.h, src/ex_docmd.c, src/testdir/test_excmd.vim
22445 src/normal.c, src/testdir/test_normal.vim
22446
22447Patch 8.2.3660 (after 8.2.3659)
22448Problem: Overflow check uses wrong number.
22449Solution: Divide by ten.
22450Files: src/normal.c
22451
22452Patch 8.2.3661 (after 8.2.3659)
22453Problem: Test for put with large count fails.
22454Solution: Adjust the counts in the test.
22455Files: src/testdir/test_put.vim
22456
22457Patch 8.2.3662
22458Problem: Illegal memory access if malloc() fails.
22459Solution: Check 'foldmethod' is not empty. (closes #9207)
22460Files: src/fold.c
22461
22462Patch 8.2.3663
22463Problem: Using %S in printf() does not work correctly.
22464Solution: Fix the problem and add more tests. (closes #9208)
22465Files: src/strings.c, src/testdir/test_expr.vim
22466
22467Patch 8.2.3664
22468Problem: Cannot adjust sign highlighting for 'cursorline'.
22469Solution: Add CursorLineSign and CursorLineFold highlight groups.
22470 (Gregory Anders, closes #9201)
22471Files: runtime/doc/sign.txt, runtime/doc/syntax.txt, src/drawline.c,
22472 src/highlight.c, src/optiondefs.h, src/popupwin.c,
22473 src/proto/sign.pro, src/sign.c, src/structs.h, src/vim.h,
22474 src/testdir/test_signs.vim
22475
22476Patch 8.2.3665
22477Problem: Cannot use a lambda for 'tagfunc'.
22478Solution: Use 'tagfunc' like 'opfunc'. (Yegappan Lakshmanan, closes #9204)
22479Files: runtime/doc/options.txt, src/buffer.c, src/option.c,
22480 src/optionstr.c, src/proto/tag.pro, src/structs.h, src/tag.c,
22481 src/testdir/test_tagfunc.vim
22482
22483Patch 8.2.3666
22484Problem: Libvterm is outdated.
22485Solution: Include patches from revision 769 to revision 789.
22486Files: Filelist, src/libvterm/Makefile, src/libvterm/doc/seqs.txt,
22487 src/libvterm/include/vterm.h, src/libvterm/src/mouse.c,
22488 src/libvterm/src/parser.c, src/libvterm/src/state.c,
22489 src/libvterm/src/vterm.c, src/libvterm/src/vterm_internal.h,
22490 src/libvterm/t/02parser.test, src/libvterm/t/17state_mouse.test,
22491 src/libvterm/t/29state_fallback.test,
22492 src/libvterm/t/40state_selection.test, src/libvterm/t/harness.c,
22493 src/libvterm/t/run-test.pl, src/libvterm/vterm.pc.in,
22494 src/terminal.c
22495
22496Patch 8.2.3667
22497Problem: Building libvterm fails with MSVC.
22498Solution: Don't use C99 construct.
22499Files: src/libvterm/src/state.c
22500
22501Patch 8.2.3668
22502Problem: Messages may be corrupted.
22503Solution: Use another buffer instead of IObuff. (Yegappan Lakshmanan,
22504 closes #9195)
22505Files: src/highlight.c, src/testdir/test_highlight.vim
22506
22507Patch 8.2.3669
22508Problem: Buffer overflow with long help argument.
22509Solution: Use snprintf().
22510Files: src/help.c, src/testdir/test_help.vim
22511
22512Patch 8.2.3670
22513Problem: Error checks repeated several times.
22514Solution: Move the checks to functions. (closes #9213)
22515Files: src/xxd/xxd.c
22516
22517Patch 8.2.3671
22518Problem: Restarting Insert mode in prompt buffer too often when a callback
22519 switches windows and comes back. (Sean Dewar)
22520Solution: Do not set "restart_edit" when already in Insert mode.
22521 (closes #9212)
22522Files: src/window.c, src/testdir/test_prompt_buffer.vim
22523
22524Patch 8.2.3672 (after 8.2.3670)
22525Problem: Build failure with unsigned char.
22526Solution: Use int instead of char.
22527Files: src/xxd/xxd.c
22528
22529Patch 8.2.3673
22530Problem: Crash when allocating signal stack fails.
22531Solution: Only using sourcing info when available. (closes #9215)
22532Files: src/globals.h, src/message.c
22533
22534Patch 8.2.3674
22535Problem: When ml_get_buf() fails it messes up IObuff.
22536Solution: Return a local pointer. (closes #9214)
22537Files: src/memline.c
22538
22539Patch 8.2.3675
22540Problem: Using freed memory when vim_strsave() fails.
22541Solution: Clear "last_sourcing_name". Check for msg_source() called
22542 recursively. (closes #8217)
22543Files: src/message.c
22544
22545Patch 8.2.3676
22546Problem: Unused runtime file.
22547Solution: Remove rgb.txt.
22548Files: runtime/rgb.txt
22549
22550Patch 8.2.3677
22551Problem: After a put the '] mark is on the last byte of a multi-byte
22552 character.
22553Solution: Move it to the first byte. (closes #9047)
22554Files: src/register.c, src/testdir/test_put.vim
22555
22556Patch 8.2.3678 (after 8.2.3677)
22557Problem: Illegal memory access.
22558Solution: Ignore changed indent when computing byte offset.
22559Files: src/register.c
22560
22561Patch 8.2.3679
22562Problem: objc file detected as Octave. (Antony Lee)
22563Solution: Detect objc by preprocessor lines. (Doug Kearns, closes #9223,
22564 closes #9220)
22565Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim
22566
22567Patch 8.2.3680
22568Problem: Repeated code in xxd.
22569Solution: Change exit_on_ferror() to getc_or_die(). (closes #9226)
22570Files: src/xxd/xxd.c
22571
22572Patch 8.2.3681
22573Problem: Cannot drag popup window after click on a status line. (Sergey
22574 Vlasov)
22575Solution: Reset on_status_line. (closes #9221)
22576Files: src/mouse.c, src/testdir/test_popupwin.vim,
22577 src/testdir/dumps/Test_popupwin_drag_04.dump
22578
22579Patch 8.2.3682
22580Problem: Vim9: assigning to a script variable drops the required type.
22581Solution: Lookup the type of the variable and use it. (closes #9219)
22582Files: src/evalvars.c, src/vim9script.c, src/proto/vim9script.pro,
22583 src/testdir/test_vim9_assign.vim
22584
22585Patch 8.2.3683
22586Problem: Vim9: cannot use `=expr` in :...do commands.
22587Solution: Add EX_EXPAND to the commands. (closes #9232)
22588Files: src/ex_cmds.h, src/testdir/test_vim9_cmd.vim
22589
22590Patch 8.2.3684
22591Problem: Blockwise insert does not handle autoindent properly.
22592Solution: Adjust text column for indent. (closes #9229)
22593Files: src/ops.c, src/testdir/test_blockedit.vim
22594
22595Patch 8.2.3685
Bram Moolenaar1588bc82022-03-08 21:35:07 +000022596Problem: Visual Studio project files are not recognized.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000022597Solution: Use the xml file type. (Doug Kearns)
22598Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22599
22600Patch 8.2.3686
22601Problem: Filetype detection often mixes up Forth and F#.
22602Solution: Add a function to inspect the file contents. (Doug Kearns)
22603Files: runtime/autoload/dist/ft.vim, runtime/doc/filetype.txt,
22604 runtime/doc/syntax.txt, runtime/filetype.vim, runtime/scripts.vim,
22605 src/testdir/test_filetype.vim
22606
22607Patch 8.2.3687
22608Problem: Blockwise insert does not handle autoindent properly when tab is
22609 inserted.
22610Solution: Adjust text column for indent before computing column.
22611 (closes #9229)
22612Files: src/ops.c, src/testdir/test_blockedit.vim
22613
22614Patch 8.2.3688
22615Problem: The window title is not updated when dragging the scrollbar.
22616Solution: Call maketitle(). (Christian Brabandt, closes #9238, closes #5383)
22617Files: src/gui.c
22618
22619Patch 8.2.3689
22620Problem: ex_let_one() is too long.
22621Solution: Split into multiple functions.
22622Files: src/evalvars.c
22623
22624Patch 8.2.3690
22625Problem: Vim9: "filter #pat# cmd" does not work.
22626Solution: Do not see #pat# as a comment.
22627Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
22628
22629Patch 8.2.3691
22630Problem: Build failure with small features.
22631Solution: Add #ifdef. (Dominique Pellé)
22632Files: src/gui.c
22633
22634Patch 8.2.3692
22635Problem: Vim9: cannot use :func inside a :def function.
22636Solution: Make it work.
22637Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/errors.h,
22638 src/structs.h, src/userfunc.c, src/testdir/test_vim9_func.vim
22639
22640Patch 8.2.3693
22641Problem: Coverity warns for possibly using a NULL pointer.
22642Solution: Check for NULL and give an error.
22643Files: src/vim9execute.c, src/errors.h
22644
22645Patch 8.2.3694
22646Problem: Cannot use quotes in the count of an Ex command.
22647Solution: Add getdigits_quoted(). Give an error when misplacing a quote in
22648 a range. (closes #9240)
22649Files: src/ex_docmd.c, src/charset.c, src/proto/charset.pro,
22650 src/testdir/test_usercommands.vim
22651
22652Patch 8.2.3695
22653Problem: Confusing error for missing key.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000022654Solution: Use the actual key for the error. (closes #9241)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000022655Files: src/eval.c, src/testdir/test_listdict.vim
22656
22657Patch 8.2.3696
22658Problem: Vim9: error for invalid assignment when skipping.
22659Solution: Do not check white space when skipping. (closes #9243)
22660Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
22661
22662Patch 8.2.3697
22663Problem: Cannot drag a popup without a border.
22664Solution: Add the "dragall" option. (closes #9218)
22665Files: runtime/doc/popup.txt, src/mouse.c, src/popupwin.c, src/vim.h,
22666 src/testdir/test_popupwin.vim,
22667 src/testdir/dumps/Test_popupwin_drag_05.dump,
22668 src/testdir/dumps/Test_popupwin_drag_06.dump
22669
22670Patch 8.2.3698
22671Problem: Match highlighting continues over breakindent.
22672Solution: Stop before the end column. (closes #9242)
22673Files: src/match.c, src/proto/match.pro, src/drawline.c,
22674 src/testdir/test_match.vim,
22675 src/testdir/dumps/Test_match_linebreak.dump
22676
22677Patch 8.2.3699
22678Problem: The +title feature adds a lot of #ifdef but little code.
22679Solution: Graduate the +title feature.
22680Files: src/feature.h, src/alloc.c, src/arglist.c, src/autocmd.c,
22681 src/buffer.c, src/bufwrite.c, src/change.c, src/drawscreen.c,
22682 src/evalfunc.c, src/ex_cmds.c, src/ex_docmd.c, src/gui.c,
22683 src/gui_gtk_x11.c, src/if_xcmdsrv.c, src/locale.c, src/main.c,
22684 src/misc2.c, src/netbeans.c, src/option.c, src/optionstr.c,
22685 src/os_amiga.c, src/os_mswin.c, src/os_unix.c, src/os_win32.c,
22686 src/regexp.c, src/term.c, src/ui.c, src/version.c, src/window.c,
22687 src/globals.h, src/option.h, src/optiondefs.h,
22688 runtime/doc/options.txt, runtime/doc/various.txt
22689
22690Patch 8.2.3700
22691Problem: Text property highlighting continues over breakindent.
22692Solution: Stop before the end column. (closes #9242)
22693Files: src/drawline.c, src/testdir/test_textprop.vim,
22694 src/testdir/dumps/Test_prop_linebreak.dump
22695
22696Patch 8.2.3701
22697Problem: Vim9: invalid LHS is not possible.
22698Solution: Remove unreachable error message.
22699Files: src/vim9compile.c
22700
22701Patch 8.2.3702
22702Problem: First key in dict is seen as curly expression and fails.
22703Solution: Ignore failure of curly expression. (closes #9247)
22704Files: src/typval.c, src/dict.c, src/testdir/test_listdict.vim
22705
22706Patch 8.2.3703 (after 8.2.3686)
22707Problem: Most people call F# "fsharp" and not "fs".
22708Solution: Rename filetype "fs" to "fsharp".
22709Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
22710 src/testdir/test_filetype.vim
22711
22712Patch 8.2.3704
22713Problem: Vim9: cannot use a list declaration in a :def function.
22714Solution: Make it work.
22715Files: runtime/doc/vim9.txt, src/vim9compile.c, src/errors.h,
22716 src/testdir/test_vim9_assign.vim
22717
22718Patch 8.2.3705
22719Problem: Cannot pass a lambda name to function() or funcref(). (Yegappan
22720 Lakshmanan)
22721Solution: Handle a lambda name differently.
22722Files: src/userfunc.c, src/proto/userfunc.pro, src/evalfunc.c,
22723 src/testdir/test_expr.vim
22724
22725Patch 8.2.3706 (after 8.2.3700)
22726Problem: Text property highlighting is used on Tab.
22727Solution: Only set in_linebreak when not on a Tab. (closes #9242)
22728Files: src/drawline.c, src/testdir/test_textprop.vim,
22729 src/testdir/dumps/Test_prop_after_tab.dump
22730
22731Patch 8.2.3707
22732Problem: Vim9: constant expression of elseif not recognized.
22733Solution: Set instruction count before generating the expression.
22734Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
22735
22736Patch 8.2.3708 (after 8.2.3707)
22737Problem: Vim9: test fails with different error.
22738Solution: Correct the error number.
22739Files: src/testdir/test_vim9_cmd.vim
22740
22741Patch 8.2.3709
22742Problem: Vim9: backtick expression expanded when not desired.
22743Solution: Only expand a backtick expression for commands that expand their
22744 argument. Remove a few outdated TODO comments.
22745Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
22746
22747Patch 8.2.3710
22748Problem: Vim9: backtick expression expanded for :global.
22749Solution: Check the following command.
22750Files: runtime/doc/vim9.txt, src/vim9compile.c,
22751 src/testdir/test_vim9_cmd.vim
22752
22753Patch 8.2.3711
22754Problem: Vim9: memory leak when compiling :elseif fails.
22755Solution: Cleanup ppconst.
22756Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
22757
22758Patch 8.2.3712
22759Problem: Cannot use Vim9 lambda for 'tagfunc'.
22760Solution: Make it work, add more tests. (Yegappan Lakshmanan, closes #9250)
22761Files: runtime/doc/options.txt, src/insexpand.c, src/option.c,
22762 src/testdir/test_tagfunc.vim
22763
22764Patch 8.2.3713
22765Problem: MS-Windows: No error message if vimgrep pattern is not matching.
22766Solution: Give an error message. (Christian Brabandt, closes #9245,
22767 closes #8762)
22768Files: src/quickfix.c, src/testdir/test_quickfix.vim
22769
22770Patch 8.2.3714
22771Problem: Some unused assignments and ugly code in xxd.
22772Solution: Leave out assignments. Use marcro for fprintf(). (closes #9246)
22773Files: src/xxd/xxd.c
22774
22775Patch 8.2.3715
22776Problem: Vim9: valgrind reports spurious problems for a test.
22777Solution: Move the test to the set that is known to fail.
22778Files: src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_fails.vim
22779
22780Patch 8.2.3716
22781Problem: Vim9: range without a command is not compiled.
22782Solution: Add the ISN_EXECRANGE byte code.
22783Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/vim9compile.c,
22784 src/vim9execute.c, src/vim9.h,
22785 src/testdir/test_vim9_disassemble.vim
22786
22787Patch 8.2.3717
22788Problem: Vim9: error for constant list size is only given at runtime.
22789Solution: Give the error at compile time if possible.
22790Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
22791 src/testdir/test_vim9_script.vim,
22792 src/testdir/test_vim9_disassemble.vim
22793
22794Patch 8.2.3718
22795Problem: Compiler warns for unused variable without the +textprop feature.
22796 (John Marriott)
22797Solution: Adjust #ifdefs.
22798Files: src/drawline.c
22799
22800Patch 8.2.3719
22801Problem: MS-Windows: test sometimes runs into existing swap file.
22802Solution: Use a different file name.
22803Files: src/testdir/test_buffer.vim
22804
22805Patch 8.2.3720
22806Problem: Vim9: Internal error when invoking closure in legacy context.
22807Solution: Give a more appropriate error message. (closes #9251)
22808Files: src/errors.h, src/vim9execute.c, src/testdir/test_vim9_func.vim
22809
22810Patch 8.2.3721
22811Problem: Using memory freed by losing the clipboard selection. (Dominique
22812 Pellé)
22813Solution: Check y_array is still valid after calling changed_lines().
22814 (closes #9253)
22815Files: src/errors.h, src/register.c
22816
22817Patch 8.2.3722
22818Problem: Amiga: superfluous messages for freeing lots of yanked text.
22819Solution: Assume that the machine isn't that slow these days.
22820Files: src/register.c
22821
22822Patch 8.2.3723
22823Problem: When using 'linebreak' a text property starts too early.
22824Solution: Decrement "bcol" when looking for property start. (closes #9242)
22825Files: src/drawline.c, src/testdir/test_textprop.vim,
22826 src/testdir/dumps/Test_prop_after_linebreak.dump
22827
22828Patch 8.2.3724
22829Problem: Build error for missing error message in small build.
22830Solution: Correct #ifdef.
22831Files: src/errors.h
22832
22833Patch 8.2.3725
22834Problem: Cannot use a lambda for 'completefunc' and 'omnifunc'.
22835Solution: Implement lambda support. (Yegappan Lakshmanan, closes #9257)
22836Files: runtime/doc/options.txt, src/buffer.c, src/insexpand.c,
22837 src/option.c, src/optionstr.c, src/proto/insexpand.pro,
22838 src/proto/tag.pro, src/proto/userfunc.pro, src/structs.h,
22839 src/tag.c, src/userfunc.c, src/testdir/test_ins_complete.vim,
22840 src/testdir/test_tagfunc.vim
22841
22842Patch 8.2.3726
22843Problem: README file in a config directory gets wrong filetype.
22844Solution: Match README before patterns that match everything in a directory.
22845Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22846
22847Patch 8.2.3727
22848Problem: In a gnome terminal keys are recognized as mouse events.
22849Solution: Only recognize DEC mouse events when four numbers are following.
22850 (closes #9256)
22851Files: src/term.c, src/testdir/test_termcodes.vim
22852
22853Patch 8.2.3728
22854Problem: Internal error when passing range() to list2blob().
22855Solution: Materialize the list first. (closes #9262)
22856Files: src/blob.c, src/testdir/test_blob.vim
22857
22858Patch 8.2.3729
22859Problem: No support for squirrels.
22860Solution: Recognize nuts. (closes #9259)
22861Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22862
22863Patch 8.2.3730
22864Problem: "/etc/Muttrc.d/README" gets filetype muttrc.
22865Solution: Move the Muttrc.d pattern down, add exception for *.rc files.
22866Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22867
22868Patch 8.2.3731
22869Problem: "set! termcap" shows codes in one column, but not keys.
22870Solution: Also use one column for keys. (closes #9258)
22871Files: src/option.c, src/term.c, src/proto/term.pro,
22872 src/testdir/test_set.vim
22873
22874Patch 8.2.3732 (after 8.2.3731)
22875Problem: "set! termcap" test fails.
22876Solution: Account for keys without a t_xx entry.
22877Files: src/testdir/test_set.vim
22878
22879Patch 8.2.3733
22880Problem: Vim9: using "legacy" before range does not work.
22881Solution: Skip over range before parsing command. (closes #9270)
22882Files: src/vim9compile.c, src/usercmd.c, src/testdir/test_vim9_cmd.vim
22883
22884Patch 8.2.3734
22885Problem: Vim9: crash when no pattern match found.
22886Solution: Check for error.
22887Files: src/vim9execute.c
22888
22889Patch 8.2.3735
22890Problem: Cannot use a lambda for 'imactivatefunc'.
22891Solution: Add lambda support for 'imactivatefunc' and 'imstatusfunc'.
22892 (Yegappan Lakshmanan, closes #9275)
22893Files: runtime/doc/options.txt, src/alloc.c, src/gui_xim.c,
22894 src/optionstr.c, src/proto/gui_xim.pro,
22895 src/testdir/test_iminsert.vim, src/testdir/test_ins_complete.vim
22896
22897Patch 8.2.3736
22898Problem: Test fails without the channel feature. (Dominique Pellé)
22899Solution: Source the check.vim script. (closes #9277)
22900Files: src/testdir/test_vim9_fails.vim
22901
22902Patch 8.2.3737
22903Problem: Test fails without the 'autochdir' option.
22904Solution: Check that the option is available. (Dominique Pellé, closes #9272)
22905Files: src/testdir/test_cd.vim
22906
22907Patch 8.2.3738
22908Problem: Screen is cleared when a FocusLost autocommand triggers.
22909Solution: Do not redraw when at the hit-enter or more prompt. (closes #9274)
22910Files: src/misc1.c
22911
22912Patch 8.2.3739
22913Problem: In wrong directory when using win_execute() with 'acd' set.
22914Solution: Restore the directory when returning to the window. (closes #9276)
22915Files: src/window.c, src/testdir/test_autochdir.vim
22916
22917Patch 8.2.3740
22918Problem: Memory left allocated on exit when using Tcl.
22919Solution: Call Tcl_Finalize().
22920Files: src/if_tcl.c, src/proto/if_tcl.pro, src/alloc.c
22921
22922Patch 8.2.3741
22923Problem: Using freed memory in open command.
22924Solution: Make a copy of the current line.
22925Files: src/ex_docmd.c, src/testdir/test_ex_mode.vim
22926
22927Patch 8.2.3742
22928Problem: Dec mouse test fails without gnome terminfo entry.
22929Solution: Check if there is a gnome entry. Also fix 'acd' test on
22930 MS-Windows. (Ozaki Kiichi, closes #9282)
22931Files: src/testdir/test_termcodes.vim, src/testdir/test_autochdir.vim
22932
22933Patch 8.2.3743
22934Problem: ":sign" can add a highlight group without a name.
22935Solution: Give an error if the group name is missing. (closes #9280)
22936Files: src/sign.c, src/errors.h, src/testdir/test_signs.vim
22937
22938Patch 8.2.3744
22939Problem: E854 is not tested; some spelling suggestions are not tested.
22940Solution: Add a couple of tests. (Dominique Pellé, closes #9279)
22941Files: src/testdir/test_options.vim, src/testdir/test_spell.vim
22942
22943Patch 8.2.3745
22944Problem: Autochdir test fails without the +channel feature.
22945Solution: Remove the ch_logfile() call. (Dominique Pellé, closes #9281)
22946Files: src/testdir/test_autochdir.vim
22947
22948Patch 8.2.3746
22949Problem: Cannot disassemble function starting with "debug" or "profile".
22950Solution: Check for white space following. (closes #9273)
22951Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
22952
22953Patch 8.2.3747 (after 8.2.3743)
22954Problem: Cannot remove highlight from an existing sign. (James McCoy)
22955Solution: Only reject empty argument for a new sign.
22956Files: src/sign.c, src/testdir/test_signs.vim
22957
22958Patch 8.2.3748 (after 8.2.3747)
22959Problem: Giving an error for an empty sign argument breaks a plugin.
22960Solution: Do not give an error.
22961Files: src/sign.c, src/errors.h, src/testdir/test_signs.vim
22962
22963Patch 8.2.3749
22964Problem: Error messages are everywhere.
22965Solution: Move more error messages to errors.h and adjust the names.
22966Files: src/errors.h, src/regexp_bt.c, src/regexp.c, src/regexp_nfa.c,
22967 src/globals.h, src/memfile.c, src/tag.c, src/getchar.c,
22968 src/bufwrite.c, src/cmdexpand.c
22969
22970Patch 8.2.3750
22971Problem: Error messages are everywhere.
22972Solution: Move more error messages to errors.h and adjust the names.
22973Files: src/globals.h, src/errors.h, src/blob.c, src/buffer.c,
22974 src/channel.c, src/ex_docmd.c, src/job.c, src/list.c, src/mark.c,
22975 src/misc1.c, src/os_unix.c, src/popupwin.c, src/register.c,
22976 src/session.c, src/spellfile.c, src/term.c, src/userfunc.c
22977
22978Patch 8.2.3751
22979Problem: Cannot assign a lambda to an option that takes a function.
22980Solution: Automatically convert the lambda to a string. (Yegappan
22981 Lakshmanan, closes #9286)
22982Files: runtime/doc/options.txt, src/eval.c, src/proto/eval.pro,
22983 src/evalvars.c, src/if_mzsch.c, src/if_ruby.c, src/if_tcl.c,
22984 src/option.c, src/option.h, src/optiondefs.h,
22985 src/proto/option.pro, src/spell.c, src/typval.c,
22986 src/vim9compile.c, src/testdir/test_iminsert.vim,
22987 src/testdir/test_ins_complete.vim, src/testdir/test_tagfunc.vim
22988
22989Patch 8.2.3752
22990Problem: Build error when using Photon GUI.
22991Solution: Adjust #ifdef. (closes #9288)
22992Files: src/beval.c
22993
22994Patch 8.2.3753
22995Problem: Vim9: function unreferenced while called is never deleted.
22996Solution: Delete a function when no longer referenced.
22997Files: src/vim9execute.c, src/userfunc.c, src/proto/userfunc.pro
22998
22999Patch 8.2.3754 (after 8.2.3615)
23000Problem: Undesired changing of the indent of the first formatted line.
23001Solution: Do not indent the first formatted line.
23002Files: src/textformat.c, src/testdir/test_indent.vim
23003
23004Patch 8.2.3755
23005Problem: Coverity warns for using a buffer in another scope.
23006Solution: Declare the buffer in a common scope.
23007Files: src/evalvars.c
23008
23009Patch 8.2.3756
23010Problem: might crash when callback is not valid.
23011Solution: Check for valid callback. (Yegappan Lakshmanan, closes #9293)
23012Files: src/insexpand.c, src/option.c, src/tag.c, src/job.c,
23013 src/userfunc.c, src/testdir/test_iminsert.vim,
23014 src/testdir/test_ins_complete.vim, src/testdir/test_tagfunc.vim
23015
23016Patch 8.2.3757
23017Problem: An overlong highlight group name is silently truncated.
23018Solution: Give an error if the name is too long. (closes #9289)
23019Files: src/errors.h, src/highlight.c, src/testdir/test_highlight.vim
23020
23021Patch 8.2.3758
23022Problem: Options that take a function insufficiently tested.
23023Solution: Add additional tests and enhance existing tests. (Yegappan
23024 Lakshmanan, closes #9298)
23025Files: src/testdir/test_ins_complete.vim, src/testdir/test_normal.vim,
23026 src/testdir/test_tagfunc.vim
23027
23028Patch 8.2.3759
23029Problem: Quickfix buffer becomes hidden while still in a window.
23030Solution: Check if the closed window is the last window showing the quickfix
23031 buffer. (Yegappan Lakshmanan, closes #9303, closes #9300)
23032Files: src/quickfix.c, src/testdir/test_quickfix.vim, src/window.c
23033
23034Patch 8.2.3760
23035Problem: Not automatically handling gnome terminal mouse like xterm.
23036Solution: Default 'ttymouse' to "xterm" and recognize Focus events.
23037 (issue #9296)
23038Files: src/os_unix.c
23039
23040Patch 8.2.3761
23041Problem: Focus change is not passed on to a terminal window.
23042Solution: If the current window is a terminal and focus events are enabled
23043 send a focus event escape sequence to the terminal.
23044Files: src/ui.c, src/terminal.c, src/proto/terminal.pro,
23045 src/testdir/test_terminal.vim,
23046 src/testdir/dumps/Test_terminal_focus_1.dump,
23047 src/testdir/dumps/Test_terminal_focus_2.dump
23048
23049Patch 8.2.3762
23050Problem: If the quickfix buffer is wiped out getqflist() still returns its
23051 number.
23052Solution: Use zero if the buffer is no longer present. (Yegappan Lakshmanan,
23053 closes #9306)
23054Files: src/quickfix.c, src/testdir/test_quickfix.vim
23055
23056Patch 8.2.3763
23057Problem: When editing the command line a FocusLost callback may cause the
23058 screen to scroll up.
23059Solution: Do not redraw at the last line but at the same place where the
23060 command line was before. (closes #9295)
23061Files: src/ex_getln.c, src/ui.c, src/beval.c, src/channel.c,
23062 src/drawscreen.c, src/proto/drawscreen.pro, src/job.c,
23063 src/popupwin.c, src/sound.c, src/terminal.c, src/time.c,
23064 src/testdir/test_terminal.vim,
23065 src/testdir/dumps/Test_terminal_focus_1.dump,
23066 src/testdir/dumps/Test_terminal_focus_2.dump,
23067 src/testdir/dumps/Test_terminal_focus_3.dump
23068
23069Patch 8.2.3764
23070Problem: Cannot see any text when window was made zero lines or zero
23071 columns.
23072Solution: Ensure there is at least one line and column. (fixes #9307)
23073Files: src/window.c, src/proto/window.pro, src/normal.c, src/edit.c,
23074 src/testdir/test_window_cmd.vim
23075
23076Patch 8.2.3765
23077Problem: Vim9: cannot use a lambda for 'opfunc' and others.
23078Solution: Convert the lambda to a string.
23079Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c,
23080 src/testdir/test_vim9_func.vim,
23081 src/testdir/test_vim9_disassemble.vim
23082
23083Patch 8.2.3766
23084Problem: Converting a funcref to a string leaves out "g:", causing the
23085 meaning of the name depending on the context.
23086Solution: Prepend "g:" for a global function.
23087Files: src/eval.c, src/testdir/test_functions.vim
23088
23089Patch 8.2.3767 (after 8.2.3766)
23090Problem: Crash when using NULL partial.
23091Solution: Check for NULL.
23092Files: src/eval.c
23093
23094Patch 8.2.3768
23095Problem: timer_info() has the wrong repeat value in a timer callback.
23096 (Sergey Vlasov)
23097Solution: Do not add one to the repeat value when in the callback.
23098 (closes #9294)
23099Files: src/time.c, src/testdir/test_timers.vim
23100
23101Patch 8.2.3769
23102Problem: Zig files are not recognized.
23103Solution: Add *.zig. (Gregory Anders, closes #9313)
23104Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23105
23106Patch 8.2.3770
23107Problem: New compiler warnings from clang-12 and clang-13.
23108Solution: Adjust CI and suppress some warnings. (Ozaki Kiichi, closes #9314)
23109Files: .github/workflows/ci.yml, ci/config.mk.clang-12.sed,
23110 src/os_unix.c, src/spellfile.c
23111
23112Patch 8.2.3771
23113Problem: Vim9: accessing freed memory when checking type.
23114Solution: Make a copy of a function type.
23115Files: src/structs.h, src/evalvars.c, src/vim9script.c,
23116 src/testdir/test_vim9_func.vim
23117
23118Patch 8.2.3772
23119Problem: Timer info test fails on slow machine.
23120Solution: Use WaitForAssert().
23121Files: src/testdir/test_timers.vim
23122
23123Patch 8.2.3773
23124Problem: Wrong window size when a modeline changes 'columns' and there is
23125 more than one tabpage. (Michael Soyka)
23126Solution: Adjust the frames of all tabpages. (closes #9315)
23127Files: src/window.c
23128
23129Patch 8.2.3774 (after 8.2.3773)
23130Problem: Test for command line height fails.
23131Solution: Use another way to handle window size change.
23132Files: src/structs.h, src/window.c
23133
23134Patch 8.2.3775
23135Problem: Vim9: lambda compiled without outer context when debugging.
23136Solution: When compiling a lambda for debugging also compile it without.
23137 (closes #9302)
23138Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
23139
23140Patch 8.2.3776
23141Problem: When a tags file line is long a tag may not be found.
23142Solution: When increasing the buffer size read the same line again.
23143Files: src/tag.c, src/testdir/test_taglist.vim
23144
23145Patch 8.2.3777
23146Problem: Spell file write error not checked.
23147Solution: Check writing the prefix conditions. (Bjorn Linse, closes #9323)
23148Files: src/spellfile.c
23149
23150Patch 8.2.3778
23151Problem: Lambda debug test fails in some configurations.
23152Solution: Check feature in a legacy function.
23153Files: src/testdir/test_vim9_script.vim
23154
23155Patch 8.2.3779
23156Problem: Using freed memory when defining a user command from a user
23157 command.
23158Solution: Do not use the command pointer after executing the command.
23159 (closes #9318)
23160Files: src/usercmd.c, src/testdir/test_usercommands.vim
23161
23162Patch 8.2.3780
23163Problem: ":cd" works differently on MS-Windows.
23164Solution: Add the 'cdhome' option. (closes #9324)
23165Files: runtime/doc/editing.txt, runtime/doc/options.txt,
23166 runtime/doc/quickref.txt, runtime/optwin.vim, src/ex_docmd.c,
23167 src/option.h, src/optiondefs.h, src/testdir/runtest.vim,
23168 src/testdir/test_options.vim
23169
23170Patch 8.2.3781
23171Problem: The option window script is outdated.
23172Solution: Add several changes.
23173Files: runtime/optwin.vim
23174
23175Patch 8.2.3782
23176Problem: Vim9: no error if a function shadows a script variable.
23177Solution: Check the function doesn't shadow a variable. (closes #9310)
23178Files: src/userfunc.c, src/evalvars.c, src/vim.h,
23179 src/testdir/test_vim9_script.vim
23180
23181Patch 8.2.3783
23182Problem: Confusing error for using a variable as a function.
23183Solution: If a function is not found but there is a variable, give a more
23184 useful error. (issue #9310)
23185Files: src/eval.c, src/userfunc.c, src/proto/userfunc.pro,
23186 src/structs.h, src/vim9execute.c, src/testdir/test_functions.vim,
23187 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_func.vim
23188
23189Patch 8.2.3784
23190Problem: The help for options is outdated.
23191Solution: Include all the recent changes.
23192Files: runtime/doc/options.txt
23193
23194Patch 8.2.3785
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023195Problem: Running CI on macOS with gcc is not useful.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023196Solution: Only use clang. (Ozaki Kiichi, closes #9326) Also build with
23197 normal features.
23198Files: .github/workflows/ci.yml
23199
23200Patch 8.2.3786
23201Problem: Test fails because of using Vim9 syntax in legacy function.
23202Solution: Add "call".
23203Files: src/testdir/test_functions.vim
23204
23205Patch 8.2.3787
23206Problem: No proper formatting of a C line comment after a statement.
23207Solution: Find the start of the line comment, insert the comment leader and
23208 indent the comment properly.
23209Files: src/change.c, src/proto/change.pro, src/search.c,
23210 src/proto/search.pro, src/cindent.c, src/edit.c, src/normal.c,
23211 src/textformat.c, src/testdir/test_textformat.vim,
23212 src/testdir/test_cindent.vim
23213
23214Patch 8.2.3788
23215Problem: Lambda for option that is a function may be garbage collected.
23216Solution: Set a reference in the funcref. (Yegappan Lakshmanan,
23217 closes #9330)
23218Files: src/eval.c, src/evalbuffer.c, src/evalvars.c, src/gui_xim.c,
23219 src/insexpand.c, src/ops.c, src/proto/eval.pro,
23220 src/proto/gui_xim.pro, src/proto/insexpand.pro, src/proto/ops.pro,
23221 src/proto/tag.pro, src/quickfix.c, src/tag.c,
23222 src/testdir/test_iminsert.vim, src/testdir/test_ins_complete.vim,
23223 src/testdir/test_normal.vim, src/testdir/test_quickfix.vim,
23224 src/testdir/test_tagfunc.vim
23225
23226Patch 8.2.3789
23227Problem: Test_window_minimal_size can fail on a slow machine.
23228Solution: Do not rely on timers firing at the expected time. (Ozaki Kiichi,
23229 closes #9335)
23230Files: src/testdir/test_window_cmd.vim
23231
23232Patch 8.2.3790
23233Problem: Test for term_gettitle() fails in some environments.
23234Solution: Make the digits after "VIM" optional. (Kenta Sato, closes #9334)
23235Files: src/testdir/test_terminal2.vim
23236
23237Patch 8.2.3791
23238Problem: Build error with +cindent but without +smartindent.
23239Solution: Move declaration of "do_cindent". (John Marriott)
23240Files: src/change.c
23241
23242Patch 8.2.3792
23243Problem: Setting *func options insufficiently tested.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023244Solution: Improve tests. (Yegappan Lakshmanan, closes #9337)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023245Files: src/testdir/test_iminsert.vim, src/testdir/test_ins_complete.vim,
23246 src/testdir/test_normal.vim, src/testdir/test_quickfix.vim,
23247 src/testdir/test_tagfunc.vim
23248
23249Patch 8.2.3793
23250Problem: Using "g:Func" as a funcref does not work in script context
23251 because "g:" is dropped.
23252Solution: Keep "g:" in the name. Also add parenthesis to avoid confusing
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023253 operator precedence. (closes #9336)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023254Files: src/evalvars.c, src/testdir/test_vim9_func.vim
23255
23256Patch 8.2.3794
23257Problem: Vim9: cannot find script-local func using "s:". (Yegappan
23258 Lakshmanan)
23259Solution: Skip the "s:".
23260Files: src/userfunc.c, src/testdir/test_vim9_func.vim
23261
23262Patch 8.2.3795
23263Problem: Too many #ifdefs.
23264Solution: Graduate the jumplist feature.
23265Files: runtime/doc/various.txt, runtime/doc/motion.txt, src/feature.h,
23266 src/buffer.c, src/change.c, src/evalfunc.c, src/ex_docmd.c,
23267 src/mark.c, src/normal.c, src/undo.c, src/version.c,
23268 src/viminfo.c, src/window.c, src/structs.h,
23269 src/testdir/test_changelist.vim, src/testdir/test_jumplist.vim,
23270 src/testdir/test_normal.vim
23271
23272Patch 8.2.3796
23273Problem: The funcexe_T struct members are not named consistently.
23274Solution: Prefix "fe_" to all the members.
23275Files: src/structs.h, src/eval.c, src/list.c, src/regexp.c,
23276 src/terminal.c, src/userfunc.c, src/vim9execute.c
23277
23278Patch 8.2.3797
23279Problem: No good reason to limit the message history in the tiny version.
23280Solution: Always use 200.
23281Files: runtime/doc/message.txt, src/feature.h
23282
23283Patch 8.2.3798
23284Problem: A :def callback function postpones an error message.
23285Solution: Display the error after calling the function. (closes #9340)
23286Files: src/userfunc.c, src/testdir/test_vim9_func.vim,
23287 src/testdir/dumps/Test_opfunc_error.dump
23288
23289Patch 8.2.3799 (after 8.2.3798)
23290Problem: Edit test hangs or fails.
23291Solution: Do not rethrow an exception when inside try/catch.
23292Files: src/userfunc.c
23293
23294Patch 8.2.3800
23295Problem: When cross compiling the output of "uname" cannot be set. (Ben
23296 Reeves)
23297Solution: Use cache variables. (closes #9338)
23298Files: src/configure.ac, src/auto/configure
23299
23300Patch 8.2.3801
23301Problem: If a terminal shows in two windows, only one is redrawn.
23302Solution: Reset the dirty row range only after redrawing all windows.
23303 (closes #9341)
23304Files: src/terminal.c, src/proto/terminal.pro, src/drawscreen.c,
23305 src/testdir/test_terminal.vim
23306
23307Patch 8.2.3802
23308Problem: Terminal in two windows test fails on some systems.
23309Solution: Wait a bit between commands.
23310Files: src/testdir/test_terminal.vim
23311
23312Patch 8.2.3803
23313Problem: Crash when 'writedelay' is set and using a terminal window to
23314 execute a shell command.
23315Solution: Check that "tl_vterm" isn't NULL. (closes #9346)
23316Files: src/terminal.c
23317
23318Patch 8.2.3804
23319Problem: Script context not set when copying 'swf' and 'ts'.
23320Solution: Use COPY_OPT_SCTX with the right argument. (closes #9347)
23321Files: src/option.c
23322
23323Patch 8.2.3805
23324Problem: i3config files are not recognized.
23325Solution: Add patterns to match i3config files. (Quentin Hibon,
23326 closes #7969)
23327Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23328
23329Patch 8.2.3806
23330Problem: Terminal focus test fails sometimes.
23331Solution: Run the test function before others.
23332Files: src/testdir/test_terminal.vim
23333
23334Patch 8.2.3807
23335Problem: Vim9: can call import with star directly.
23336Solution: Check that the import used star.
23337Files: src/userfunc.c, src/eval.c, src/testdir/test_vim9_script.vim
23338
23339Patch 8.2.3808
23340Problem: Vim9: obsolete TODO items
23341Solution: Remove the comments.
23342Files: src/vim9execute.c
23343
23344Patch 8.2.3809
23345Problem: Vim9: crash when garbage collecting a nested partial. (Virginia
23346 Senioria)
23347Solution: Set references in all the funcstacks. (closes #9348)
23348Files: src/vim9execute.c, src/proto/vim9execute.pro, src/structs.h,
23349 src/eval.c, src/testdir/test_vim9_func.vim
23350
23351Patch 8.2.3810
23352Problem: Vim9: expr4 test fails on MS-Windows.
23353Solution: Do not give an error for a missing function name when skipping.
23354Files: src/eval.c, src/testdir/test_vim9_expr.vim
23355
23356Patch 8.2.3811
23357Problem: The opfunc error test fails on a slow machine.
23358Solution: Use WaitForAssert().
23359Files: src/testdir/test_vim9_func.vim
23360
23361Patch 8.2.3812
23362Problem: Vim9: leaking memory in numbered function test.
23363Solution: Skip "g:" when checking for numbered function. Clean up after
23364 errors properly.
23365Files: src/userfunc.c
23366
23367Patch 8.2.3813
23368Problem: confusing error when using :cc without error list. (Gary Johnson)
23369Solution: Give the "no errors" error.
23370Files: src/ex_docmd.c, src/testdir/test_quickfix.vim
23371
23372Patch 8.2.3814
23373Problem: .csx files and .sln files are not recognized.
23374Solution: Add filetype patterns. (Doug Kearns)
23375Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23376
23377Patch 8.2.3815
23378Problem: Vim9: cannot have a multi-line dict inside a block.
23379Solution: Do not split the command at a line break, handle NL characters
23380 as white space.
23381Files: src/ex_docmd.c, src/charset.c, src/proto/charset.pro,
23382 src/eval.c, src/testdir/test_vim9_expr.vim
23383
23384Patch 8.2.3816
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023385Problem: Compiler warning for possible loss of data on MS-Windows.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023386Solution: Add type cast. (Mike Williams, closes #9349)
23387Files: src/userfunc.c
23388
23389Patch 8.2.3817 (after 8.2.3815)
23390Problem: Vim9: Not using NL as command end does not work for :autocmd.
23391Solution: Only ignore NL for commands with an expression argument.
23392Files: src/ex_cmds.h, src/ex_docmd.c, src/testdir/test_usercommands.vim
23393
23394Patch 8.2.3818
23395Problem: Cannot filter or map characters in a string.
23396Solution: Make filter() and map() work on a string. (Naruhiko Nishino,
23397 closes #9327)
23398Files: runtime/doc/eval.txt, src/errors.h, src/list.c,
23399 src/testdir/test_filter_map.vim
23400
23401Patch 8.2.3819 (after 8.2.3818)
23402Problem: Test fails because error message changed.
23403Solution: Update screendumps.
23404Files: src/testdir/dumps/Test_popupwin_three_errors_1.dump,
23405 src/testdir/dumps/Test_popupwin_three_errors_2.dump
23406
23407Patch 8.2.3820
23408Problem: "vrc" does not replace composing characters, while "rc" does.
23409Solution: Check the byte length including composing characters.
23410 (closes #9351)
23411Files: src/ops.c, src/testdir/test_visual.vim
23412
23413Patch 8.2.3821
23414Problem: ASAN test run fails.
23415Solution: Use asan_symbolize-13 instead of asan_symbolize-11.
23416Files: .github/workflows/ci.yml
23417
23418Patch 8.2.3822
23419Problem: Leaking memory in map() and filter(), cannot use a string argument
23420 in Vim9 script.
23421Solution: Fix the leak, adjust the argument check, also run the tests as
23422 Vim9 script. (Yegappan Lakshmanan, closes #9354)
23423Files: src/errors.h, src/evalfunc.c, src/list.c, src/proto/typval.pro,
23424 src/testdir/test_filter_map.vim,
23425 src/testdir/test_vim9_builtin.vim, src/typval.c
23426
23427Patch 8.2.3823
23428Problem: Test for visual replace is in wrong function.
23429Solution: Move it to another function.
23430Files: src/testdir/test_visual.vim
23431
23432Patch 8.2.3824
23433Problem: No ASAN support for MSVC.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023434Solution: Add ASAN support and fix a couple of uncovered problems. (Yegappan
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023435 Lakshmanan, closes #9357)
23436Files: src/Make_mvc.mak, src/findfile.c, src/os_mswin.c,
23437 src/testdir/test_fnamemodify.vim
23438
23439Patch 8.2.3825
23440Problem: Various comments could be improved.
23441Solution: Improve the comments.
23442Files: src/getchar.c, src/mbyte.c, src/regexp_nfa.c,
23443 src/testdir/test_edit.vim, src/gui_motif.c
23444
23445Patch 8.2.3826
23446Problem: Vim9: using "g:Func" as a funcref does not work in a :def
23447 function.
23448Solution: Include "g:" in the function name. (closes #9336)
23449Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
23450 src/testdir/test_vim9_disassemble.vim
23451
23452Patch 8.2.3827
23453Problem: Huntr badge does not really fit in the list.
23454Solution: Move the link to Huntr to the issue template.
23455Files: Filelist, .github/ISSUE_TEMPLATE/bug_report.yml, README.md
23456
23457Patch 8.2.3828
23458Problem: when opening a terminal from a timer the first typed character
23459 is lost. (Virginia Senioria)
23460Solution: When opening a terminal while waiting for a character put K_IGNORE
23461 in the input buffer.
23462Files: src/terminal.c, src/edit.c, src/testdir/test_terminal.vim
23463
23464Patch 8.2.3829
23465Problem: No error when setting a func option to a script-local function.
23466Solution: Give an error if the name starts with "s:". (closes #9358)
23467Files: src/option.c, src/testdir/test_tagfunc.vim,
23468 src/testdir/dumps/Test_set_tagfunc_on_cmdline.dump
23469
23470Patch 8.2.3830
23471Problem: Error messages are spread out.
23472Solution: Move more error messages to errors.h.
23473Files: src/globals.h, src/errors.h, src/buffer.c, src/dict.c, src/diff.c,
23474 src/digraph.c, src/eval.c, src/evalfunc.c, src/evalvars.c,
23475 src/misc2.c, src/quickfix.c, src/typval.c, src/ui.c,
23476 src/userfunc.c, src/vim9compile.c, src/vim9execute.c,
23477 src/vim9type.c, src/window.c
23478
23479Patch 8.2.3831
23480Problem: Opfunc test fails when missing feature changes function name.
23481 (Dominique Pellé)
23482Solution: Check the relevant screen line instead of using a screendump.
23483 (closes #9360)
23484Files: src/testdir/test_vim9_func.vim,
23485 src/testdir/dumps/Test_opfunc_error.dump
23486
23487Patch 8.2.3832 (after 8.2.3830)
23488Problem: Test fails because of changed error message.
23489Solution: Adjust the expected error message.
23490Files: src/testdir/test_vimscript.vim
23491
23492Patch 8.2.3833
23493Problem: Error from term_start() not caught by try/catch.
23494Solution: save and restore did_emsg when applying autocommands. (Ozaki
23495 Kiichi, closes #9361)
23496Files: src/autocmd.c, src/testdir/test_terminal3.vim
23497
23498Patch 8.2.3834
23499Problem: Test_out_cb often fails on Mac.
23500Solution: Increase the timeout with every retry.
23501Files: src/testdir/test_channel.vim
23502
23503Patch 8.2.3835
23504Problem: The inline-function example does not work.
23505Solution: Drop ":let". Add EX_EXPR_ARG to CMD_var. (issue #9352)
23506Files: runtime/doc/vim9.txt, src/ex_cmds.h,
23507 src/testdir/test_vim9_expr.vim
23508
23509Patch 8.2.3836
23510Problem: Vim9: comment after expression not skipped to find NL.
23511Solution: After evaluating an expression look for a newline after a #
23512 comment.
23513Files: src/eval.c
23514
23515Patch 8.2.3837
23516Problem: QNX: crash when compiled with GUI but using terminal.
23517Solution: Check gui.in_use is set. (Hirohito Higashi, closes #9363)
23518Files: src/autocmd.c
23519
23520Patch 8.2.3838
23521Problem: Cannot use script-local function for setting *func options.
23522Solution: Use the script context. (Yegappan Lakshmanan, closes #9362)
23523Files: src/option.c, src/testdir/dumps/Test_set_tagfunc_on_cmdline.dump,
23524 src/testdir/test_ins_complete.vim, src/testdir/test_normal.vim,
23525 src/testdir/test_quickfix.vim, src/testdir/test_tagfunc.vim
23526
23527Patch 8.2.3839
23528Problem: Using \z() with \z1 not tested for syntax highlighting.
23529Solution: Add a test. (Dominique Pellé, closes #9365)
23530Files: src/testdir/test_syntax.vim
23531
23532Patch 8.2.3840
23533Problem: Useless test for negative index in check functions.
23534Solution: Remove the test for negative index. (Naruhiko Nishino,
23535 closes #9364)
23536Files: src/typval.c
23537
23538Patch 8.2.3841
23539Problem: Vim9: outdated TODO items, disabled tests that work.
23540Solution: Remove TODO items, run tests that work now. Check that a dict
23541 item isn't locked.
23542Files: src/vim9execute.c, src/evalvars.c, src/errors.h, src/globals.h,
23543 src/testdir/test_listdict.vim, src/testdir/test_vim9_assign.vim
23544
23545Patch 8.2.3842
23546Problem: Vim9: can change locked list and list items.
23547Solution: Check that a list and list item isn't locked.
23548Files: src/vim9execute.c, src/testdir/test_listdict.vim
23549
23550Patch 8.2.3843
23551Problem: Dep3patch files are not recognized.
23552Solution: Recognize dep3patch files by their location and content. (James
23553 McCoy, closes #9367)
23554Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
23555 src/testdir/test_filetype.vim
23556
23557Patch 8.2.3844
23558Problem: Vim9: no type error if assigning a value with type func(number) to
23559 a variable of type func(string).
23560Solution: Use check_type_maybe(): return MAYBE if a runtime type check is
23561 useful. (issue #8492)
23562Files: src/vim9type.c, src/proto/vim9type.pro, src/vim9compile.c,
23563 src/testdir/test_vim9_assign.vim
23564
23565Patch 8.2.3845
23566Problem: Vim9: test fails when the channel feature is missing.
23567Solution: Check for the channel feature. (Dominique Pellé, closes #9368)
23568Files: src/testdir/test_vim9_builtin.vim
23569
23570Patch 8.2.3846
23571Problem: No error when using control character for 'lcs' or 'fcs'.
23572Solution: Use char2cells() to check the width. (closes #9369)
23573Files: src/screen.c, src/testdir/test_display.vim,
23574 src/testdir/test_listchars.vim
23575
23576Patch 8.2.3847
23577Problem: Illegal memory access when using a lambda with an error.
23578Solution: Avoid skipping over the NUL after a string.
23579Files: src/eval.c, src/testdir/test_lambda.vim
23580
23581Patch 8.2.3848
23582Problem: Cannot use reduce() for a string.
23583Solution: Make reduce() work with a string. (Naruhiko Nishino, closes #9366)
23584Files: runtime/doc/eval.txt, src/errors.h, src/evalfunc.c, src/list.c,
23585 src/typval.c, src/proto/typval.pro, src/testdir/test_listdict.vim,
23586 src/testdir/test_vim9_builtin.vim
23587
23588Patch 8.2.3849
23589Problem: Functions implementing reduce and map are too long.
23590Solution: Use a function for each type of value. Add a few more test cases
23591 and add to the help. (Yegappan Lakshmanan, closes #9370)
23592Files: runtime/doc/eval.txt, src/list.c, src/testdir/test_listdict.vim
23593
23594Patch 8.2.3850
23595Problem: Illegal memory access when displaying a partial.
23596Solution: Terminate the string with a NUL. (closes #9371)
23597Files: src/eval.c, src/testdir/test_messages.vim
23598
23599Patch 8.2.3851
23600Problem: Vim9: overhead when comparing string, dict or function.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023601Solution: Call the intended compare function directly. Refactor to avoid
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023602 duplicated code.
23603Files: src/vim9execute.c, src/typval.c, src/proto/typval.pro
23604
23605Patch 8.2.3852
23606Problem: Vim9: not enough tests.
23607Solution: Also run existing tests for Vim9 script. Make errors more
23608 consistent.
23609Files: src/testdir/test_listdict.vim, src/eval.c, src/vim9compile.c,
23610 src/errors.h
23611
23612Patch 8.2.3853
23613Problem: Vim9: not enough tests.
23614Solution: Run more existing tests for Vim9 script.
23615Files: src/testdir/test_listdict.vim
23616
23617Patch 8.2.3854
23618Problem: Vim9: inconsistent arguments for test functions.
23619Solution: When :def function and script have different arguments use a list
23620 with two items instead of a separate function.
23621Files: src/testdir/vim9.vim, src/testdir/test_execute_func.vim,
23622 src/testdir/test_float_func.vim, src/testdir/test_functions.vim,
23623 src/testdir/test_glob2regpat.vim, src/testdir/test_listdict.vim,
23624 src/testdir/test_vim9_assign.vim,
23625 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
23626 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
23627 src/testdir/test_vim9_script.vim
23628
23629Patch 8.2.3855
23630Problem: Illegal memory access when displaying a blob.
23631Solution: Append a NUL at the end. (Yegappan Lakshmanan, closes #9372)
23632Files: src/blob.c, src/regexp_nfa.c, src/testdir/test_blob.vim,
23633 src/testdir/test_messages.vim
23634
23635Patch 8.2.3856
23636Problem: Vim9: not enough tests.
23637Solution: Run more expression tests also with Vim9. Fix an uncovered
23638 problem.
23639Files: src/vim9compile.c, src/testdir/test_expr.vim, src/testdir/vim9.vim
23640
23641Patch 8.2.3857
23642Problem: Vim9: inconsistent error for using function().
23643Solution: Use a runtime type check for the result of function().
23644 (closes #8492)
23645Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
23646
23647Patch 8.2.3858
23648Problem: Vim9: not enough tests.
23649Solution: Add tests for :try/:catch and :redir. Add missing type check.
23650Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
23651 src/testdir/test_vim9_cmd.vim
23652
23653Patch 8.2.3859
23654Problem: Vim9: some code lines not tested.
23655Solution: Add a few specific tests.
23656Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim, src/errors.h,
23657 src/testdir/test_vim9_script.vim
23658
23659Patch 8.2.3860
23660Problem: Vim9: codecov struggles with the file size.
23661Solution: Split vim9compile.c into four files.
23662Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9instr.c,
23663 src/proto/vim9instr.pro, src/vim9expr.c, src/proto/vim9expr.pro,
23664 src/vim9cmds.c, src/proto/vim9cmds.pro, src/vim9.h,
23665 src/vim9execute.c, src/vim9script.c, src/proto.h,
23666 src/Makefile, src/Make_ami.mak, src/Make_cyg_ming.mak,
23667 src/Make_mvc.mak, src/Make_vms.mms
23668
23669Patch 8.2.3861
23670Problem: List of distributed files is outdated.
23671Solution: Add new files.
23672Files: Filelist
23673
23674Patch 8.2.3862
23675Problem: Crash on exit with EXITFREE and using win_execute().
23676Solution: Also save and restore tp_topframe. (issue #9374)
23677Files: src/evalwindow.c, src/testdir/test_execute_func.vim
23678
23679Patch 8.2.3863 (after 8.2.3860)
23680Problem: Various build flags accidentally enabled.
23681Solution: Revert several lines in Makefile.
23682Files: src/Makefile
23683
23684Patch 8.2.3864
23685Problem: Cannot disable requesting key codes from xterm.
23686Solution: Add the 'xtermcodes' option, default on.
23687Files: runtime/doc/options.txt, runtime/doc/term.txt, src/option.h,
23688 src/optiondefs.h, src/term.c, runtime/optwin.vim
23689
23690Patch 8.2.3865
23691Problem: Vim9: compiler complains about using "try" as a struct member.
23692Solution: Rename "try" to "tryref".
23693Files: src/vim9.h, src/vim9cmds.c, src/vim9execute.c, src/vim9instr.c
23694
23695Patch 8.2.3866
23696Problem: Vim9: type checking global variables is inconsistent.
23697Solution: Use the "unknown" type in more places.
23698Files: src/globals.h, src/vim9expr.c, src/vim9instr.c, src/vim9cmds.c,
23699 src/evalfunc.c, src/testdir/test_vim9_func.vim
23700
23701Patch 8.2.3867
23702Problem: Implementation of some list functions too complicated.
23703Solution: Refactor do_sort_uniq(), f_count() and extend() (Yegappan
23704 Lakshmanan, closes #9378)
23705Files: src/list.c
23706
23707Patch 8.2.3868 (after 8.2.3866)
23708Problem: Vim9: function test fails.
23709Solution: Add missing changes. Add test for earlier patch.
23710Files: src/vim9type.c, src/testdir/test_vim9_disassemble.vim
23711
23712Patch 8.2.3869
23713Problem: Vim9: type checking for "any" is inconsistent.
23714Solution: Always use a runtime type check for using "any" for a more
23715 specific type.
23716Files: src/vim9type.c, src/vim9compile.c, src/vim9expr.c,
23717 src/testdir/test_vim9_func.vim
23718
23719Patch 8.2.3870
23720Problem: MS-Windows: wrong working directory when opening two files with
23721 right-click context menu. (Gabriel Dupras)
23722Solution: Use the working directory and pass it on to the process creation.
23723 (Nir Lichtman, closes #9382, closes #8874)
23724Files: src/GvimExt/gvimext.cpp, src/GvimExt/gvimext.h
23725
23726Patch 8.2.3871
23727Problem: List.c contains code for dict and blob.
23728Solution: Refactor to put code where it belongs. (Yegappan Lakshmanan,
23729 closes #9386)
23730Files: src/blob.c, src/dict.c, src/list.c, src/proto/blob.pro,
23731 src/proto/dict.pro, src/proto/list.pro, src/proto/strings.pro,
23732 src/strings.c, src/structs.h, src/testdir/test_filter_map.vim,
23733 src/testdir/test_listdict.vim, src/testdir/test_sort.vim
23734
23735Patch 8.2.3872
23736Problem: Vim9: finddir() and uniq() return types can be more specific.
23737Solution: Adjust the return type.
23738Files: src/evalfunc.c, src/testdir/vim9.vim,
23739 src/testdir/test_vim9_builtin.vim
23740
23741Patch 8.2.3873
23742Problem: go.mod files are not recognized.
23743Solution: Check for the file name. (closes #9380)
23744Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23745
23746Patch 8.2.3874
23747Problem: Cannot highlight the number column for a sign.
23748Solution: Add the "numhl" argument. (James McCoy, closes #9381)
23749Files: runtime/doc/options.txt, runtime/doc/sign.txt, src/drawline.c,
23750 src/popupwin.c, src/proto/sign.pro, src/sign.c, src/structs.h,
23751 src/testdir/test_signs.vim
23752
23753Patch 8.2.3875
23754Problem: gcc complains about buffer overrun.
23755Solution: Use mch_memmove() instead of STRCPY(). (John Marriott)
23756Files: src/dict.c
23757
23758Patch 8.2.3876
23759Problem: 'cindent' does not recognize inline namespace.
23760Solution: Skip over "inline" to find "namespace". (closes #9383)
23761Files: src/cindent.c, src/testdir/test_cindent.vim
23762
23763Patch 8.2.3877
23764Problem: Function does not abort after a type error in compare
23765Solution: Check getting number fails. (closes #9384)
23766Files: src/typval.c, src/testdir/test_vim9_expr.vim
23767
23768Patch 8.2.3878
23769Problem: Vim9: debugger tries to read more lines than there are.
23770Solution: Check the number of lines. (closes #9394)
23771Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
23772
23773Patch 8.2.3879
23774Problem: getreg() and getregtype() contain dead code.
23775Solution: Remove the needless check. (closes #9392) Also refactor to put
23776 common code in a shared function.
23777Files: src/evalfunc.c
23778
23779Patch 8.2.3880
23780Problem: Solution filter files are not recognized.
23781Solution: Add pattern *.slnf and use json. (Doug Kearns)
23782Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23783
23784Patch 8.2.3881
23785Problem: QNX: crash when compiled with GUI but using terminal.
23786Solution: Check the gui.in_use flag. (Hirohito Higashi, closes #9391)
23787Files: src/main.c
23788
23789Patch 8.2.3882 (after 8.2.3879)
23790Problem: More duplicated code in f_getreginfo().
23791Solution: Also use getreg_get_regname(). (closes #9398)
23792Files: src/evalfunc.c
23793
23794Patch 8.2.3883
23795Problem: Crash when switching to other regexp engine fails.
23796Solution: Check for regprog being NULL.
23797Files: src/ex_cmds.c
23798
23799Patch 8.2.3884
23800Problem: Crash when clearing the argument list while using it.
23801Solution: Lock the argument list for ":all".
23802Files: src/arglist.c, src/testdir/test_arglist.vim
23803
23804Patch 8.2.3885
23805Problem: Arglist test fails.
23806Solution: Adjust for locking the arglist for ":all".
23807Files: src/testdir/test_arglist.vim
23808
23809Patch 8.2.3886
23810Problem: Can define autocmd for every event by using "au!".
23811Solution: Check if a command is present also for "au!".
23812Files: src/autocmd.c, src/testdir/test_autocmd.vim,
23813 src/testdir/test_arglist.vim
23814
23815Patch 8.2.3887
23816Problem: E1135 is used for two different errors.
23817Solution: Renumber one error.
23818Files: src/errors.h, src/testdir/test_mapping.vim
23819
23820Patch 8.2.3888
23821Problem: The argument list may contain duplicates.
23822Solution: Add the :argdedeupe command. (Nir Lichtman, closes #6235)
23823Files: runtime/doc/editing.txt, runtime/doc/index.txt, src/arglist.c,
23824 src/ex_cmdidxs.h, src/ex_cmds.h, src/proto/arglist.pro,
23825 src/testdir/test_arglist.vim
23826
23827Patch 8.2.3889
23828Problem: Duplicate code for translating script-local function name.
23829Solution: Move the code to get_scriptlocal_funcname(). (Yegappan Lakshmanan,
23830 closes #9393)
23831Files: src/evalfunc.c, src/evalvars.c, src/option.c, src/userfunc.c,
23832 src/proto/userfunc.pro, src/testdir/test_expr.vim,
23833 src/testdir/test_normal.vim
23834
23835Patch 8.2.3890
23836Problem: Vim9: type check for using v: variables is basic.
23837Solution: Specify a more precise type.
23838Files: src/evalvars.c, src/proto/evalvars.pro, src/vim9instr.c,
23839 src/testdir/test_vim9_expr.vim
23840
23841Patch 8.2.3891
23842Problem: Github CI: workflows may overlap.
23843Solution: Cancel previous workflows when starting a new one. (Yegappan
23844 Lakshmanan, closes #9400)
23845Files: .github/workflows/ci.yml, .github/workflows/codeql-analysis.yml
23846
23847Patch 8.2.3892
23848Problem: When modifyOtherKeys is used CTRL-C is not recognized.
23849Solution: Check for uppercase C as well, fix minimum length.
23850Files: src/ui.c
23851
23852Patch 8.2.3893
23853Problem: Vim9: many local variables are initialized with an instruction.
23854Solution: Initialize local variables to zero to avoid the instructions.
23855Files: src/vim9execute.c, src/vim9compile.c, src/vim9instr.c,
23856 src/proto/vim9instr.pro, src/vim9cmds.c,
23857 src/testdir/test_vim9_disassemble.vim
23858
23859Patch 8.2.3894
23860Problem: Vim9: no proper type check for first argument of call().
23861Solution: Add specific type check.
23862Files: src/evalfunc.c, src/typval.c, src/proto/typval.pro,
23863 src/errors.h, src/testdir/test_vim9_builtin.vim
23864
23865Patch 8.2.3895
23866Problem: Vim9: confusing error when using function() with a number.
23867Solution: Check for a function or string argument.
23868Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
23869
23870Patch 8.2.3896
23871Problem: Vim9: no test for nested function not available later.
23872Solution: Add a test.
23873Files: src/testdir/test_vim9_func.vim
23874
23875Patch 8.2.3897
23876Problem: Vim9: the second argument of map() and filter() is not checked at
23877 compile time.
23878Solution: Add more specific type check for the second argument.
23879Files: src/evalfunc.c, src/globals.h, src/list.c,
23880 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim,
23881 src/testdir/test_vim9_script.vim
23882
23883Patch 8.2.3898
23884Problem: Vim9: not sufficient testing for variable initialization.
23885Solution: Add another test case.
23886Files: src/testdir/test_vim9_disassemble.vim
23887
23888Patch 8.2.3899 (after 8.2.3897)
23889Problem: Vim9: test for map() on string fails.
23890Solution: Expect string return type.
23891Files: src/evalfunc.c
23892
23893Patch 8.2.3900
23894Problem: It is not easy to use a script-local function for an option.
23895Solution: recognize s: and <SID> at the start of the expression. (Yegappan
23896 Lakshmanan, closes #9401)
23897Files: runtime/doc/diff.txt, runtime/doc/fold.txt,
23898 runtime/doc/options.txt, runtime/doc/print.txt, src/optionstr.c,
23899 src/testdir/test_diffmode.vim, src/testdir/test_edit.vim,
23900 src/testdir/test_fold.vim, src/testdir/test_gf.vim,
23901 src/testdir/test_gui.vim, src/testdir/test_hardcopy.vim,
23902 src/testdir/test_normal.vim
23903
23904Patch 8.2.3901
23905Problem: Vim9: Cannot set 'cpo' in main .vimrc if using Vim9 script.
23906Solution: Do not restore 'cpo' at the end of the main .vimrc.
23907Files: runtime/doc/vim9.txt, runtime/doc/options.txt, src/scriptfile.c,
23908 src/structs.h, src/testdir/test_vim9_script.vim
23909
23910Patch 8.2.3902
23911Problem: Vim9: double free with nested :def function.
23912Solution: Pass "line_to_free" from compile_def_function() and make sure
23913 cmdlinep is valid.
23914Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro,
23915 src/vim9execute.c, src/testdir/test_vim9_func.vim
23916
23917Patch 8.2.3903
23918Problem: "gM" does not count tabs as expected.
23919Solution: Use linetabsize() instead of mb_string2cells(). (closes #9409)
23920Files: src/normal.c, src/testdir/test_normal.vim
23921
23922Patch 8.2.3904
23923Problem: Vim9: skip expression type is not checked at compile time.
23924Solution: Add argument type checks.
23925Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
23926
23927Patch 8.2.3905
23928Problem: Dockerfile using prefix name not recognized.
23929Solution: Recognize Dockerfile.*. (closes #9410)
23930Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23931
23932Patch 8.2.3906
23933Problem: Vim9 help still contains "under development" warnings.
23934Solution: Remove the explicit warning.
23935Files: runtime/doc/vim9.txt
23936
23937Patch 8.2.3907
23938Problem: Error messages are spread out.
23939Solution: Move error messages to errors.h. Avoid duplicates.
23940Files: src/userfunc.c, src/ex_cmds.c, src/viminfo.c, src/errors.h,
23941 src/testdir/test_user_func.vim
23942
23943Patch 8.2.3908
23944Problem: Cannot use a script-local function for 'foldtext'.
23945Solution: Expand "s:" and "<SID>". (Yegappan Lakshmanan, closes #9411)
23946Files: runtime/doc/fold.txt, src/optionstr.c, src/strings.c,
23947 src/testdir/test_blob.vim, src/testdir/test_expr.vim,
23948 src/testdir/test_filter_map.vim, src/testdir/test_fold.vim,
23949 src/testdir/test_listdict.vim
23950
23951Patch 8.2.3909
23952Problem: Containerfile using prefix name not recognized.
23953Solution: Recognize Containerfile.*.
23954Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23955
23956Patch 8.2.3910
23957Problem: When the compare function of sort() produces and error then sort()
23958 does not abort.
23959Solution: Check if did_emsg was incremented.
23960Files: src/list.c, src/testdir/test_vim9_builtin.vim
23961
23962Patch 8.2.3911
23963Problem: Vim9: type check for filter() does not accept unknown.
23964Solution: Also accept unknown for the return type. (closes #9413)
23965Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
23966
23967Patch 8.2.3912
23968Problem: The ins_complete() function is much too long.
23969Solution: Split it up into multiple functions. (Yegappan Lakshmanan,
23970 closes #9414)
23971Files: src/insexpand.c
23972
23973Patch 8.2.3913
23974Problem: Help for expressions does not mention Vim9 syntax.
23975Solution: Add the rules for Vim9 to the expression help. Rename functions
23976 to match the help.
23977Files: runtime/doc/vim9.txt, runtime/doc/eval.txt, src/vim9expr.c
23978
23979Patch 8.2.3914
23980Problem: Various spelling mistakes in comments.
23981Solution: Fix the mistakes. (Dominique Pellé, closes #9416)
23982Files: src/alloc.c, src/blowfish.c, src/buffer.c, src/cindent.c,
23983 src/clipboard.c, src/diff.c, src/drawline.c, src/edit.c,
23984 src/ex_cmds.c, src/ex_docmd.c, src/findfile.c, src/fold.c,
23985 src/getchar.c, src/gui.c, src/gui_athena.c, src/gui_gtk.c,
23986 src/gui_motif.c, src/gui_photon.c, src/gui_w32.c, src/gui_xmebw.c,
23987 src/if_python.c, src/if_python3.c, src/if_xcmdsrv.c, src/main.c,
23988 src/memline.c, src/menu.c, src/message.c, src/misc1.c, src/move.c,
23989 src/option.c, src/os_amiga.c, src/os_mac.h, src/os_mac_conv.c,
23990 src/os_mswin.c, src/os_unix.c, src/os_win32.c, src/os_win32.h,
23991 src/quickfix.c, src/regexp_nfa.c, src/screen.c, src/scriptfile.c,
23992 src/spell.c, src/spellfile.c, src/spellsuggest.c, src/strings.c,
23993 src/term.c, src/terminal.c, src/testdir/test_debugger.vim,
23994 src/testdir/test_source.vim, src/textformat.c, src/userfunc.c,
23995 src/vim.h, src/vim9.h, src/vim9cmds.c, src/vim9execute.c,
23996 src/winclip.c, src/window.c
23997
23998Patch 8.2.3915
23999Problem: illegal memory access when completing with invalid bytes.
24000Solution: Avoid going over the end of the completion text.
24001Files: src/insexpand.c, src/testdir/test_ins_complete.vim
24002
24003Patch 8.2.3916
24004Problem: No error for passing an invalid line number to append().
24005Solution: In Vim9 script check for a non-negative number. (closes #9417)
24006Files: src/evalbuffer.c, src/textprop.c, src/errors.h, src/indent.c,
24007 src/eval.c, src/testdir/test_vim9_builtin.vim
24008
24009Patch 8.2.3917
24010Problem: The eval.txt help file is way too big.
24011Solution: Move the builtin function details to a separate file.
24012Files: runtime/doc/eval.txt, runtime/doc/builtin.txt,
24013 runtime/doc/Makefile, runtime/doc/help.txt, runtime/doc/remote.txt
24014
24015Patch 8.2.3918 (after 8.2.3916)
24016Problem: Function list test fails.
24017Solution: Adjust the test for the new location of the function list.
24018Files: src/testdir/test_function_lists.vim
24019
24020Patch 8.2.3919
24021Problem: Vim9: wrong argument for append() results in two errors.
24022Solution: Check did_emsg. Also for setline(). Adjust the help for
24023 appendbufline().
24024Files: runtime/doc/builtin.txt, src/evalbuffer.c, src/typval.c,
24025 src/testdir/test_vim9_builtin.vim
24026
24027Patch 8.2.3920
24028Problem: Restoring directory after using another window is inefficient.
24029Solution: Only restore the directory for win_execute(). Apply 'autochdir'
24030 only when needed.
24031Files: src/evalwindow.c, src/testdir/test_autochdir.vim
24032
24033Patch 8.2.3921
24034Problem: The way xdiff is used is inefficient.
24035Solution: Use hunk_func instead of the out_line callback. (Lewis Russell,
24036 closes #9344)
24037Files: src/diff.c
24038
24039Patch 8.2.3922
24040Problem: Cannot build with dynamic Ruby 3.1.
24041Solution: Add "_EXTRA" variables for CI. Add missing functions. (Ozaki
24042 Kiichi, closes #9420)
24043Files: ci/config.mk.clang-12.sed, ci/config.mk.clang.sed,
24044 ci/config.mk.sed, src/Makefile, src/auto/configure,
24045 src/config.mk.in, src/configure.ac, src/if_ruby.c, src/vim.h
24046
24047Patch 8.2.3923
24048Problem: Vim9: double free if a nested function has a line break in the
24049 argument list.
24050Solution: Set cmdlinep when freeing the previous line.
24051Files: src/userfunc.c, src/testdir/test_vim9_func.vim
24052
24053Patch 8.2.3924
24054Problem: Vim9: no error if something follows :enddef in a nested function.
24055Solution: Give an error. Move common code to a function.
24056Files: src/userfunc.c, src/vim9compile.c, src/errors.h,
24057 src/testdir/test_vim9_func.vim
24058
24059Patch 8.2.3925
24060Problem: Diff mode confused by NUL bytes.
24061Solution: Handle NUL bytes differently. (Christian Brabandt, closes #9421,
24062 closes #9418)
24063Files: src/diff.c, src/testdir/test_diffmode.vim,
24064 src/testdir/dumps/Test_diff_bin_01.dump,
24065 src/testdir/dumps/Test_diff_bin_02.dump,
24066 src/testdir/dumps/Test_diff_bin_03.dump,
24067 src/testdir/dumps/Test_diff_bin_04.dump
24068
24069Patch 8.2.3926 (after 8.2.3920)
24070Problem: Build failure without the 'autochdir' option. (John Marriott)
24071Solution: Add #ifdefs.
24072Files: src/evalwindow.c
24073
24074Patch 8.2.3927
24075Problem: Vim9: double free when using lambda.
24076Solution: Don't free both cmdline and line_to_free.
24077Files: src/userfunc.c
24078
24079Patch 8.2.3928
24080Problem: Heredoc test fails.
24081Solution: Correct order of function arguments.
24082Files: src/userfunc.c
24083
24084Patch 8.2.3929
Bram Moolenaar1588bc82022-03-08 21:35:07 +000024085Problem: Using uninitialized variable.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024086Solution: Set the option flags to zero for a terminal option.
24087Files: src/option.c
24088
24089Patch 8.2.3930
24090Problem: getcmdline() argument has a misleading type.
24091Solution: Use the correct type, even though the value is not used.
24092Files: src/ex_getln.c, src/proto/ex_getln.pro, src/ex_docmd.c,
24093 src/normal.c, src/register.c, src/userfunc.c
24094
24095Patch 8.2.3931
24096Problem: Coverity reports a memory leak.
24097Solution: Free memory in case of failure.
24098Files: src/diff.c
24099
24100Patch 8.2.3932
24101Problem: C line comment not formatted properly.
24102Solution: If a line comment follows after "#if" the next line is not the end
24103 of a paragraph.
24104Files: src/textformat.c, src/testdir/test_textformat.vim
24105
24106Patch 8.2.3933
24107Problem: After ":cd" fails ":cd -" is incorrect.
24108Solution: Set the previous directory only after successfully changing
24109 directory. (Richard Doty, closes #9419, closes #8983)
24110Files: src/ex_docmd.c, src/testdir/test_cd.vim
24111
24112Patch 8.2.3934
24113Problem: Repeating line comment is undesired for "O" command.
24114Solution: Do not copy line comment leader for "O". (closes #9426)
24115Files: src/change.c, src/testdir/test_textformat.vim
24116
24117Patch 8.2.3935
24118Problem: CTRL-U in Insert mode does not fix the indent.
24119Solution: Fix the indent when 'cindent' is set.
24120Files: src/edit.c, src/testdir/test_textformat.vim
24121
24122Patch 8.2.3936
24123Problem: No proper test for maintaining change mark in diff mode.
24124Solution: Run the test with internal and external diff. (Sean Dewar,
24125 closes #9424)
24126Files: src/testdir/test_diffmode.vim
24127
24128Patch 8.2.3937
24129Problem: Insert mode completion function is too long.
24130Solution: Refactor into multiple functions. (Yegappan Lakshmanan,
24131 closes #9423)
24132Files: src/insexpand.c, src/testdir/test_ins_complete.vim
24133
24134Patch 8.2.3938
24135Problem: Line comment start is also found in a string.
24136Solution: Skip line comments in a string.
24137Files: src/cindent.c, src/proto/cindent.pro, src/search.c,
24138 src/testdir/test_textformat.vim
24139
24140Patch 8.2.3939
24141Problem: MS-Windows: fnamemodify('', ':p') does not work.
24142Solution: Do not consider an empty string a full path. (Yegappan Lakshmanan,
24143 closes #9428, closes #9427)
24144Files: src/os_mswin.c, src/testdir/test_fnamemodify.vim
24145
24146Patch 8.2.3940
24147Problem: Match highlight disappears when doing incsearch for ":s/pat".
24148Solution: Only use line limit for incsearch highlighting. (closes #9425)
24149Files: src/match.c, src/testdir/test_match.vim,
24150 src/testdir/dumps/Test_match_with_incsearch_1.dump,
24151 src/testdir/dumps/Test_match_with_incsearch_2.dump
24152
24153Patch 8.2.3941
24154Problem: SIGTSTP is not handled.
24155Solution: Handle SIGTSTP like pressing CTRL-Z. (closes #9422)
24156Files: runtime/doc/autocmd.txt, src/ex_docmd.c, src/os_unix.c,
24157 src/proto/ex_docmd.pro, src/testdir/test_signals.vim
24158
24159Patch 8.2.3942
24160Problem: Coverity reports a possible memory leak.
24161Solution: Free the array if allocation fails.
24162Files: src/insexpand.c
24163
24164Patch 8.2.3943
24165Problem: Compiler warning from gcc for uninitialized variable.
24166Solution: Initialize variable. (closes #9429)
24167Files: src/diff.c
24168
24169Patch 8.2.3944
24170Problem: Insert mode completion functions are too long.
24171Solution: Split up into multiple functions. (Yegappan Lakshmanan,
24172 closes #9431)
24173Files: src/insexpand.c, src/testdir/test_ins_complete.vim
24174
24175Patch 8.2.3945
24176Problem: Vim9: partial variable argument types are wrong, leading to a
24177 crash.
24178Solution: When adjusting the argument count also adjust the argument types.
24179 (closes #9433)
24180Files: src/vim9type.c, src/userfunc.c, src/testdir/test_vim9_assign.vim
24181
24182Patch 8.2.3946
24183Problem: When an internal error makes Vim exit the error is not seen.
24184Solution: Add the error to the test output.
24185Files: src/message.c, src/testdir/runtest.vim
24186
24187Patch 8.2.3947
24188Problem: Unnecessary check for NULL pointer.
24189Solution: Remove the check. (closes #9434)
24190Files: src/ex_docmd.c
24191
24192Patch 8.2.3948
24193Problem: Vim9: failure with partial with unknown argument count.
24194Solution: Do not copy argument types if there aren't any.
24195Files: src/vim9type.c
24196
24197Patch 8.2.3949
24198Problem: Using freed memory with /\%V.
24199Solution: Get the line again after getvvcol().
24200Files: src/regexp.c, src/testdir/test_regexp_latin.vim
24201
24202Patch 8.2.3950
24203Problem: Going beyond the end of the line with /\%V.
24204Solution: Check for valid column in getvcol().
24205Files: src/charset.c, src/testdir/test_regexp_latin.vim
24206
24207Patch 8.2.3951
24208Problem: Vim9: memory leak when text after a nested function.
24209Solution: Free the function if text is found after "enddef".
24210Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
24211
24212Patch 8.2.3952
24213Problem: First line not redrawn when adding lines to an empty buffer.
24214Solution: Adjust the argument to appended_lines(). (closes #9439,
24215 closes #9438)
24216Files: src/ex_cmds.c, src/testdir/test_excmd.vim
24217
24218Patch 8.2.3953
24219Problem: Insert completion code is too complicated.
24220Solution: More refactoring. Move function arguments into a struct.
24221 (Yegappan Lakshmanan, closes #9437)
24222Files: src/insexpand.c
24223
24224Patch 8.2.3954
24225Problem: Vim9: no error for shadowing if script var is declared later.
24226Solution: Check argument names when compiling a function.
24227Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
24228 src/testdir/test_vim9_assign.vim
24229
24230Patch 8.2.3955
24231Problem: Error messages are spread out.
24232Solution: Move more errors to errors.h.
24233Files: src/errors.h, src/globals.h, src/debugger.c, src/ex_cmds.c,
24234 src/help.c, src/sign.c, src/spellfile.c
24235
24236Patch 8.2.3956
24237Problem: Duplicate assignment.
24238Solution: Remove the second assignment. (closes #9442)
24239Files: src/evalfunc.c
24240
24241Patch 8.2.3957
24242Problem: Error messages are spread out.
24243Solution: Move more errors to errors.h.
24244Files: src/errors.h, src/globals.h, src/arglist.c, src/bufwrite.c,
Bram Moolenaar47c532e2022-03-19 15:18:53 +000024245 src/evalvars.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_eval.c,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024246 src/help.c, src/scriptfile.c, src/usercmd.c, src/userfunc.c,
24247 src/vim9cmds.c, src/vim9compile.c
24248
24249Patch 8.2.3958
24250Problem: Build failure compiling xxd with "-std=c2x".
24251Solution: define _XOPEN_SOURCE. (Yegappan Lakshmanan, closes #9444)
24252Files: src/xxd/xxd.c
24253
24254Patch 8.2.3959
24255Problem: Error messages are spread out.
24256Solution: Move more errors to errors.h.
24257Files: src/errors.h, src/autocmd.c, src/bufwrite.c, src/evalvars.c,
24258 src/ex_docmd.c, src/ex_eval.c, src/ex_getln.c, src/fileio.c,
24259 src/getchar.c, src/gui.c, src/locale.c, src/map.c
24260
24261Patch 8.2.3960
24262Problem: Error messages are spread out.
24263Solution: Move more errors to errors.h.
24264Files: src/errors.h, src/alloc.c, src/arglist.c, src/autocmd.c,
24265 src/blob.c, src/blowfish.c, src/buffer.c, src/bufwrite.c
24266
24267Patch 8.2.3961
24268Problem: Error messages are spread out.
24269Solution: Move more errors to errors.h.
Bram Moolenaar47c532e2022-03-19 15:18:53 +000024270Files: src/errors.h, src/globals.h, src/arglist.c, src/autocmd.c,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024271 src/blob.c, src/bufwrite.c, src/channel.c, src/clipboard.c,
24272 src/cmdexpand.c, src/debugger.c, src/dict.c, src/eval.c,
24273 src/evalfunc.c, src/evalvars.c, src/evalwindow.c, src/ex_cmds.c,
24274 src/ex_docmd.c, src/ex_eval.c, src/ex_getln.c, src/fileio.c,
24275 src/filepath.c, src/gui_gtk_x11.c, src/gui_haiku.cc,
24276 src/gui_photon.c, src/gui_w32.c, src/gui_x11.c, src/highlight.c,
24277 src/indent.c, src/insexpand.c, src/job.c, src/json.c, src/list.c,
24278 src/map.c, src/mark.c, src/match.c, src/mbyte.c, src/menu.c,
24279 src/message.c, src/misc2.c, src/ops.c, src/option.c,
24280 src/optionstr.c, src/popupwin.c, src/quickfix.c, src/screen.c,
24281 src/scriptfile.c, src/search.c, src/sign.c, src/spell.c,
24282 src/spellfile.c, src/strings.c, src/syntax.c, src/terminal.c,
24283 src/testing.c, src/textprop.c, src/time.c, src/userfunc.c,
24284 src/vim9cmds.c, src/vim9execute.c, src/vim9script.c, src/window.c
24285
24286Patch 8.2.3962 (after 8.2.3961)
24287Problem: Build fails for missing error message.
24288Solution: Add changes in missed file.
24289Files: src/regexp_bt.c
24290
24291Patch 8.2.3963
24292Problem: Build failure with tiny and small features. (Tony Mechelynck)
24293Solution: Adjust #ifdefs.
24294Files: src/errors.h, src/message.c
24295
24296Patch 8.2.3964
24297Problem: Some common lisp and scheme files not recognized.
24298Solution: Recognize *.asd as lisp and *.sld as scheme. (Alex Vear,
24299 closes #9447)
24300Files: runtime/filetype.vim, src/testdir/test_filetype.vim
24301
24302Patch 8.2.3965
24303Problem: Vim9: no easy way to check if Vim9 script is supported.
24304Solution: Add has('vim9script').
24305Files: runtime/doc/vim9.txt, src/evalfunc.c,
24306 src/testdir/test_vim9_script.vim
24307
24308Patch 8.2.3966
24309Problem: When using feedkeys() abbreviations may be blocked.
24310Solution: Reset tb_no_abbr_cnt when running out of characters.
24311 (closes #9448)
24312Files: src/getchar.c, src/testdir/test_feedkeys.vim
24313
24314Patch 8.2.3967
24315Problem: Error messages are spread out.
24316Solution: Move more errors to errors.h.
24317Files: src/errors.h, src/globals.h, src/feature.h, src/arglist.c,
24318 src/autocmd.c, src/blob.c, src/bufwrite.c, src/channel.c,
24319 src/cmdexpand.c, src/dict.c, src/diff.c, src/eval.c,
24320 src/evalfunc.c, src/evalvars.c, src/ex_cmds.c, src/ex_docmd.c,
24321 src/fileio.c, src/filepath.c, src/getchar.c, src/gui_gtk_x11.c,
24322 src/gui_x11.c, src/hardcopy.c, src/help.c, src/highlight.c,
24323 src/if_cscope.c, src/if_lua.c, src/if_mzsch.c, src/if_perl.xs,
24324 src/if_python.c, src/if_python3.c, src/if_ruby.c, src/if_tcl.c,
24325 src/if_xcmdsrv.c, src/indent.c, src/insexpand.c, src/job.c,
24326 src/list.c, src/main.c, src/map.c, src/match.c, src/mbyte.c,
24327 src/message.c, src/misc1.c, src/option.c, src/optionstr.c,
24328 src/os_mswin.c, src/os_unix.c, src/os_win32.c, src/popupwin.c,
24329 src/profiler.c, src/quickfix.c, src/scriptfile.c, src/search.c,
24330 src/session.c, src/sign.c, src/spell.c, src/spellfile.c,
24331 src/spellsuggest.c, src/syntax.c, src/tag.c, src/terminal.c,
24332 src/testing.c, src/textprop.c, src/typval.c, src/userfunc.c,
24333 src/vim9execute.c, src/vim9expr.c, src/vim9instr.c,
24334 src/vim9script.c
24335
24336Patch 8.2.3968
24337Problem: Build failure.
24338Solution: Add missing changes.
24339Files: src/strings.c, src/vim9compile.c
24340
24341Patch 8.2.3969
24342Problem: Value of MAXCOL not available in Vim script.
24343Solution: Add v:maxcol. (Naohiro Ono, closes #9451)
24344Files: runtime/doc/builtin.txt, runtime/doc/eval.txt, src/evalvars.c,
24345 src/testdir/test_cursor_func.vim, src/testdir/test_normal.vim,
24346 src/testdir/test_put.vim, src/vim.h
24347
24348Patch 8.2.3970
24349Problem: Error messages are spread out.
24350Solution: Move more errors to errors.h.
24351Files: src/errors.h, src/globals.h, src/buffer.c, src/bufwrite.c,
24352 src/clientserver.c, src/cmdhist.c, src/dict.c, src/edit.c,
24353 src/eval.c, src/evalfunc.c, src/evalvars.c, src/ex_cmds.c,
24354 src/ex_docmd.c, src/ex_eval.c, src/ex_getln.c, src/gui_w32.c,
24355 src/gui_x11.c, src/if_xcmdsrv.c, src/insexpand.c, src/json.c,
24356 src/match.c, src/menu.c, src/option.c, src/optionstr.c,
24357 src/os_mswin.c, src/quickfix.c, src/regexp_bt.c, src/regexp_nfa.c,
24358 src/scriptfile.c, src/sign.c, src/spellfile.c, src/undo.c,
24359 src/userfunc.c, src/vim9cmds.c, src/vim9compile.c,
24360 src/vim9execute.c, src/vim9expr.c, src/window.c
24361
24362Patch 8.2.3971
24363Problem: Build fails.
24364Solution: Use the right error message name.
24365Files: src/typval.c
24366
24367Patch 8.2.3972
24368Problem: Error messages are spread out.
24369Solution: Move the last errors from globals.h to errors.h.
24370Files: src/errors.h, src/globals.h, src/eval.c, src/evalfunc.c,
24371 src/evalvars.c, src/evalwindow.c, src/ex_eval.c, src/list.c,
24372 src/match.c, src/menu.c, src/popupmenu.c, src/search.c,
24373 src/vim9cmds.c, src/vim9expr.c
24374
24375Patch 8.2.3973
24376Problem: Tiny build fails.
24377Solution: Adjust #ifdefs
24378Files: src/errors.h
24379
24380Patch 8.2.3974
24381Problem: Vim9: LISTAPPEND instruction does not check for a locked list.
24382Solution: Check whether the list is locked. (closes #9452)
24383Files: src/vim9execute.c, src/testdir/test_vim9_builtin.vim
24384
24385Patch 8.2.3975
24386Problem: Error messages are spread out.
24387Solution: Move more error messages to errors.h.
24388Files: src/errors.h, src/clientserver.c, src/fileio.c, src/gui.c,
24389 src/gui_beval.c, src/gui_w32.c, src/gui_x11.c, src/if_cscope.c,
24390 src/if_xcmdsrv.c, src/os_mswin.c, src/sign.c, src/viminfo.c,
24391 src/window.c
24392
24393Patch 8.2.3976
24394Problem: FEARG_LAST is never used. (Dominique Pellé)
24395Solution: Remove FEARG_LAST and the related code.
24396Files: src/evalfunc.c
24397
24398Patch 8.2.3977
24399Problem: Error messages are spread out.
24400Solution: Move more error messages to errors.h.
24401Files: src/errors.h, src/change.c, src/clientserver.c, src/eval.c,
24402 src/gui_xim.c, src/if_cscope.c, src/if_py_both.h, src/if_python.c,
24403 src/if_python3.c, src/if_ruby.c, src/if_tcl.c, src/main.c,
24404 src/mark.c, src/match.c, src/memfile.c, src/memline.c,
24405 src/terminal.c, src/textprop.c, src/userfunc.c
24406
24407Patch 8.2.3978
Bram Moolenaar1588bc82022-03-08 21:35:07 +000024408Problem: Build error when using dynamically loaded Python 3.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024409Solution: Adjust #ifdef.
24410Files: src/errors.h
24411
24412Patch 8.2.3979
24413Problem: Vim9: the feature is not mentioned in the right places.
24414Solution: Add +vim9script to the help and :version output.
24415Files: runtime/doc/builtin.txt, runtime/doc/various.txt, src/version.c
24416
24417Patch 8.2.3980
24418Problem: If 'operatorfunc' invokes an operator the remembered Visual mode
24419 may be changed. (Naohiro Ono)
24420Solution: Save and restore the information for redoing the Visual area.
24421 (closes #9455)
24422Files: src/ops.c, src/testdir/test_normal.vim
24423
24424Patch 8.2.3981
24425Problem: Vim9: debugging a for loop doesn't stop before it starts.
24426Solution: Keep the DEBUG instruction before the expression is evaluated.
24427 (closes #9456)
24428Files: src/vim9cmds.c, src/testdir/test_vim9_disassemble.vim
24429
24430Patch 8.2.3982
24431Problem: Some lines of code not covered by tests.
24432Solution: Add a few more test cases. (Dominique Pellé, closes #9453)
24433Files: src/testdir/test_filter_map.vim, src/testdir/test_highlight.vim,
24434 src/testdir/test_regexp_latin.vim, src/testdir/test_search.vim,
24435 src/testdir/test_vim9_builtin.vim
24436
24437Patch 8.2.3983
24438Problem: Error messages are spread out.
24439Solution: Move more error messages to errors.h.
24440Files: src/errors.h, src/ex_docmd.c, src/fileio.c, src/filepath.c,
24441 src/findfile.c, src/hardcopy.c, src/memfile.c, src/memline.c,
24442 src/menu.c, src/normal.c, src/regexp_bt.c
24443
24444Patch 8.2.3984 (after 8.2.3981)
24445Problem: Debugger test fails.
24446Solution: Adjust the test for modified debugging of a for loop.
24447Files: src/testdir/test_debugger.vim
24448
24449Patch 8.2.3985
24450Problem: Error messages are spread out.
24451Solution: Move more error messages to errors.h.
24452Files: src/errors.h, src/findfile.c, src/fold.c, src/hardcopy.c,
24453 src/highlight.c, src/map.c, src/message.c, src/normal.c,
24454 src/option.c, src/os_amiga.c, src/os_unix.c, src/os_win32.c,
24455 src/quickfix.c, src/regexp.c, src/register.c, src/search.c,
24456 src/syntax.c, src/tag.c, src/term.c, src/typval.c, src/undo.c,
24457 src/window.c
24458
24459Patch 8.2.3986
24460Problem: Error messages are spread out.
24461Solution: Move more error messages to errors.h.
24462Files: src/errors.h, src/evalvars.c, src/ex_cmds.c, src/ex_docmd.c,
24463 src/fileio.c, src/fold.c, src/gui_x11.c, src/hardcopy.c,
24464 src/help.c, src/highlight.c, src/if_cscope.c, src/json.c,
24465 src/map.c, src/netbeans.c, src/popupwin.c, src/usercmd.c,
24466 src/userfunc.c
24467
24468Patch 8.2.3987
24469Problem: Error messages are spread out.
24470Solution: Move more error messages to errors.h.
24471Files: src/errors.h, src/digraph.c, src/ex_eval.c, src/gui.c,
24472 src/hardcopy.c, src/if_cscope.c, src/if_tcl.c, src/if_xcmdsrv.c,
24473 src/mbyte.c, src/misc2.c, src/netbeans.c, src/option.c,
24474 src/optionstr.c, src/quickfix.c, src/regexp.c, src/tag.c,
24475 src/term.c, src/viminfo.c
24476
24477Patch 8.2.3988 (after 8.2.3987)
24478Problem: Tiny build fails.
24479Solution: Fix misplaced #ifdef.
24480Files: src/errors.h
24481
24482Patch 8.2.3989
24483Problem: Some insert completion code is not tested.
24484Solution: Add a few tests. Refactor thesaurus completion. (Yegappan
24485 Lakshmanan, closes #9460)
24486Files: src/insexpand.c, src/testdir/test_edit.vim,
24487 src/testdir/test_ins_complete.vim
24488
24489Patch 8.2.3990
24490Problem: Testing wrong operator.
24491Solution: Test "g@" instead of "r_". (Naohiro Ono, closes #9463)
24492Files: src/testdir/test_normal.vim
24493
24494Patch 8.2.3991
24495Problem: Vim9: error when extending dict<any> with another type that it was
24496 initialized with.
24497Solution: Also set the type for dict<any> if the initializer has a more
24498 specific type. (closes #9461)
24499Files: src/vim9compile.c, src/vim9type.c, src/vim9.h, src/eval.c,
24500 src/list.c, src/vim9script.c, src/testdir/test_vim9_assign.vim,
24501 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_func.vim
24502
24503Patch 8.2.3992
24504Problem: Wrong local-additions in the help with language mix.
24505Solution: Adjust how the local additions list is generated. (Hirohito
24506 Higashi, closes #9464)
24507Files: src/help.c, src/testdir/test_help.vim
24508
24509Patch 8.2.3993
24510Problem: When recording a change in Select mode the first typed character
24511 appears twice.
24512Solution: When putting the character back into typeahead remove it from
24513 recorded characters. (closes #9462)
24514Files: src/getchar.c, src/proto/getchar.pro, src/normal.c,
24515 src/testdir/test_registers.vim
24516
24517Patch 8.2.3994
24518Problem: Vim9: extend() complains about the type even when it was not
24519 declared.
24520Solution: Only check the list or dict type when it was declared.
24521Files: src/list.c, src/testdir/test_vim9_builtin.vim
24522
24523Patch 8.2.3995
24524Problem: Not all sshconfig files are detected as such.
24525Solution: Adjust the patterns used for sshconfig detection. (David Auer,
24526 closes #9322)
24527Files: runtime/filetype.vim, src/testdir/test_filetype.vim
24528
24529Patch 8.2.3996
24530Problem: Vim9: type checking for list and dict lacks information about
24531 declared type.
24532Solution: Add dv_decl_type and lv_decl_type. Refactor the type stack to
24533 store two types in each entry.
24534Files: src/structs.h, src/dict.c, src/list.c, src/vim9type.c,
24535 src/proto/vim9type.pro, src/vim9instr.c, src/proto/vim9instr.pro,
24536 src/vim9compile.c, src/evalfunc.c, src/proto/evalfunc.pro,
24537 src/evalbuffer.c, src/proto/evalbuffer.pro, src/vim9expr.c,
24538 src/vim9cmds.c, src/testdir/test_vim9_assign.vim,
24539 src/testdir/test_vim9_builtin.vim
24540
24541Patch 8.2.3997
24542Problem: Vim9: not enough testing for extend() and map().
24543Solution: Add more test cases. Fix uncovered problems. Remove unused type
24544 fields.
24545Files: src/structs.h, src/dict.c, src/list.c, src/vim9compile.c,
24546 src/testdir/test_vim9_builtin.vim,
24547 src/testdir/test_vim9_disassemble.vim
24548
24549Patch 8.2.3998
24550Problem: Asan error for adding zero to NULL.
24551Solution: Do not compute pointer if there are no entries.
24552Files: src/vim9type.c
24553
24554Patch 8.2.3999
24555Problem: Redundant check for NUL byte.
24556Solution: Remove the check for a NUL byte. (closes #9471)
24557Files: src/ex_docmd.c
24558
24559Patch 8.2.4000
24560Problem: Coverity warns for checking for NULL pointer after using it.
24561Solution: Remove check for NULL.
24562Files: src/help.c
24563
24564Patch 8.2.4001
24565Problem: Insert complete code uses global variables.
24566Solution: Make variables local to the file and use accessor functions.
24567 (Yegappan Lakshmanan, closes #9470)
24568Files: src/edit.c, src/getchar.c, src/globals.h, src/insexpand.c,
24569 src/proto/insexpand.pro, src/search.c
24570
24571Patch 8.2.4002
24572Problem: First char typed in Select mode can be wrong.
24573Solution: Escape special bytes in the input buffer. (closes #9469)
24574Files: src/getchar.c, src/testdir/test_utf8.vim
24575
24576Patch 8.2.4003
24577Problem: Error messages are spread out.
24578Solution: Move more error messages to errors.h.
24579Files: src/errors.h, src/channel.c, src/ex_docmd.c, src/ex_eval.c,
24580 src/gui_at_fs.c, src/hardcopy.c, src/if_cscope.c, src/menu.c,
24581 src/netbeans.c, src/optionstr.c, src/os_mswin.c, src/sign.c,
24582 src/typval.c
24583
24584Patch 8.2.4004
24585Problem: Old compiler complains about struct init with variable.
Bram Moolenaar47c532e2022-03-19 15:18:53 +000024586Solution: Set the struct member later. (John Marriott)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024587Files: src/evalfunc.c
24588
24589Patch 8.2.4005
24590Problem: Error messages are spread out.
24591Solution: Move more error messages to errors.h.
24592Files: src/errors.h, src/dict.c, src/eval.c, src/evalfunc.c,
24593 src/evalvars.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_eval.c,
24594 src/filepath.c, src/gui.c, src/gui_w32.c, src/hardcopy.c,
24595 src/help.c, src/highlight.c, src/if_python.c, src/list.c,
24596 src/misc1.c, src/normal.c, src/quickfix.c, src/regexp.c,
24597 src/regexp_bt.c, src/regexp_nfa.c, src/typval.c, src/userfunc.c
24598
24599Patch 8.2.4006
24600Problem: Vim9: crash when declaring variable on the command line.
24601Solution: Use a temporary type list. (closes #9474)
24602Files: src/eval.c, src/testdir/test_vim9_assign.vim
24603
24604Patch 8.2.4007
24605Problem: Session does not restore help buffer properly when "options' is
24606 missing from 'sessionoptions'.
24607Solution: Use a ":help" command to create the help window. (closes #9475,
24608 closes #9458, closes #9472)
24609Files: src/session.c, src/testdir/test_mksession.vim
24610
24611Patch 8.2.4008
24612Problem: Error messages are spread out.
24613Solution: Move more error messages to errors.h.
24614Files: src/errors.h, src/diff.c, src/digraph.c, src/evalfunc.c,
24615 src/evalvars.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c,
24616 src/insexpand.c, src/match.c, src/memline.c, src/menu.c,
24617 src/ops.c, src/profiler.c, src/quickfix.c, src/regexp.c,
24618 src/regexp_bt.c, src/regexp_nfa.c, src/register.c, src/spell.c,
24619 src/spell.h, src/spellfile.c, src/strings.c, src/syntax.c,
24620 src/typval.c, src/undo.c, src/userfunc.c
24621
24622Patch 8.2.4009
24623Problem: Reading one byte beyond the end of the line.
24624Solution: Check for NUL byte first.
24625Files: src/vim9compile.c, src/ex_docmd.c, src/testdir/test_vim9_func.vim
24626
24627Patch 8.2.4010
24628Problem: Error messages are spread out.
24629Solution: Move more error messages to errors.h.
24630Files: src/errors.h, src/crypt.c, src/diff.c, src/ex_docmd.c,
24631 src/ex_getln.c, src/fileio.c, src/findfile.c, src/float.c,
24632 src/gui.c, src/highlight.c, src/if_mzsch.c, src/if_py_both.h,
24633 src/if_python.c, src/if_python3.c, src/insexpand.c, src/match.c,
24634 src/memline.c, src/option.c, src/popupwin.c, src/regexp.c,
24635 src/regexp_nfa.c, src/spellfile.c, src/strings.c, src/syntax.c,
24636 src/textprop.c, src/typval.c, src/undo.c, src/usercmd.c,
24637 src/userfunc.c, src/window.c
24638
24639Patch 8.2.4011
24640Problem: Test fails because of changed error number.
24641Solution: Restore old duplicate error message.
24642Files: src/errors.h, src/match.c
24643
24644Patch 8.2.4012
24645Problem: Error messages are spread out.
24646Solution: Move the last error messages to errors.h.
24647Files: src/errors.h, src/channel.c, src/clientserver.c, src/diff.c,
24648 src/evalfunc.c, src/evalvars.c, src/ex_cmds2.c, src/ex_docmd.c,
24649 src/gui_w32.c, src/help.c, src/if_mzsch.c, src/if_py_both.h,
24650 src/if_python.c, src/job.c, src/json.c, src/list.c, src/option.c,
24651 src/optionstr.c, src/quickfix.c, src/regexp.c, src/regexp_nfa.c,
24652 src/register.c, src/scriptfile.c, src/sign.c, src/syntax.c,
24653 src/tag.c, src/terminal.c, src/textprop.c, src/typval.c,
24654 src/undo.c, src/userfunc.c, src/vim9compile.c, src/viminfo.c
24655
24656Patch 8.2.4013
24657Problem: Build failure without the spell feature.
24658Solution: Adjust #ifdefs.
24659Files: src/errors.h
24660
24661Patch 8.2.4014
24662Problem: Git and gitcommit file types not properly recognized.
24663Solution: Adjust filetype detection. (Tim Pope, closes #9477)
24664Files: runtime/filetype.vim, runtime/scripts.vim,
24665 src/testdir/test_filetype.vim
24666
24667Patch 8.2.4015
24668Problem: Build failure with tiny features. (Tony Mechelynck)
24669Solution: Adjust #ifdefs.
24670Files: src/errors.h
24671
24672Patch 8.2.4016
24673Problem: Vim9: incorrect error for argument that is shadowing var.
24674Solution: Ignore variable that is not in block where the function was
24675 defined.
24676Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
24677
24678Patch 8.2.4017
24679Problem: Gcc warns for misleading indent in Athena menu code.
24680Solution: Add curlies around the two statements. (Dominique Pellé,
24681 closes #9480)
24682Files: src/gui_athena.c
24683
24684Patch 8.2.4018
24685Problem: ml_get error when win_execute redraws with Visual selection.
24686Solution: Disable Visual area temporarily. (closes #9479)
24687Files: src/evalwindow.c, src/proto/evalwindow.pro, src/structs.h,
24688 src/evalbuffer.c, src/proto/evalbuffer.pro, src/evalvars.c,
24689 src/if_py_both.h, src/evalfunc.c,
24690 src/testdir/test_execute_func.vim
24691
24692Patch 8.2.4019
24693Problem: Vim9: import mechanism is too complicated.
24694Solution: Do not use the Javascript mechanism but a much simpler one.
24695Files: runtime/doc/vim9.txt, src/vim9script.c, src/proto/vim9script.pro,
24696 src/errors.h, src/structs.h, src/eval.c, src/proto/eval.pro,
24697 src/evalvars.c, src/proto/evalvars.pro, src/userfunc.c,
24698 src/vim9expr.c, src/vim9compile.c, src/vim9execute.c,
24699 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_script.vim
24700
24701Patch 8.2.4020 (after 8.2.4019)
24702Problem: Debugger test fails.
24703Solution: Fix import statement.
24704Files: src/testdir/test_debugger.vim
24705
24706Patch 8.2.4021 (after 8.2.4019)
24707Problem: Missing part of the :import changes.
24708Solution: Add changes in vim9cmds.c.
24709Files: src/vim9cmds.c
24710
24711Patch 8.2.4022
24712Problem: Two error messages in the wrong file.
24713Solution: Use the error message from errors.h.
24714Files: src/popupwin.c, src/usercmd.c
24715
24716Patch 8.2.4023
24717Problem: Using uninitialized variable.
24718Solution: Initialize "ufunc" also when an item is not exported.
24719Files: src/vim9script.c
24720
24721Patch 8.2.4024
24722Problem: Confusing error message if imported name is used directly.
24723Solution: Give a better error message.
24724Files: src/eval.c, src/proto/eval.pro, src/evalvars.c, src/userfunc.c,
24725 src/testdir/test_vim9_script.vim
24726
24727Patch 8.2.4025
24728Problem: Error for import not ending in .vim does not work for .vimrc.
24729Solution: Check that .vim is the end. (closes #9484)
24730Files: src/vim9script.c, src/errors.h, src/testdir/test_vim9_script.vim
24731
24732Patch 8.2.4026
24733Problem: ml_get error with specific win_execute() command. (Sean Dewar)
24734Solution: Check cursor and Visual area are OK.
24735Files: src/evalwindow.c, src/testdir/test_execute_func.vim
24736
24737Patch 8.2.4027
24738Problem: Import test fails on MS-Windows.
24739Solution: Use a different directory name.
24740Files: src/testdir/test_vim9_script.vim
24741
24742Patch 8.2.4028
24743Problem: ml_get error with :doautoall and Visual area. (Sean Dewar)
24744Solution: Disable Visual mode while executing autocommands.
24745Files: src/structs.h, src/autocmd.c, src/testdir/test_autocmd.vim
24746
24747Patch 8.2.4029
24748Problem: Debugging NFA regexp my crash, cached indent may be wrong.
24749Solution: Fix some debug warnings in the NFA regexp code. Make sure log_fd
24750 is set when used. Fix breakindent and indent caching. (Christian
24751 Brabandt, closes #9482)
24752Files: src/indent.c, src/optionstr.c, src/regexp_nfa.c
24753
24754Patch 8.2.4030
24755Problem: A script local funcref is not found from a mapping.
24756Solution: When looking for a function, also find a script-local funcref.
24757 (closes #9485)
24758Files: src/evalvars.c, src/proto/evalvars.pro, src/userfunc.c,
24759 src/testdir/test_vim9_script.vim
24760
24761Patch 8.2.4031
24762Problem: Crash in xterm with only two lines. (Dominique Pellé)
24763Solution: Only perform xterm compatibility test if possible. (closes #9488)
24764Files: src/term.c, src/testdir/test_startup.vim
24765
24766Patch 8.2.4032
24767Problem: ATTRIBUTE_NORETURN is not needed.
24768Solution: Use NORETURN(). (Ozaki Kiichi, closes #9487)
24769Files: src/if_ruby.c, src/vim.h
24770
24771Patch 8.2.4033
24772Problem: Running filetype tests leaves directory behind.
24773Solution: Delete the top directory. (closes #9483)
24774Files: src/testdir/test_filetype.vim
24775
24776Patch 8.2.4034
24777Problem: Coverity warns for possibly using a NULL pointer.
24778Solution: Check v_partial is not NULL.
24779Files: src/vim9type.c
24780
24781Patch 8.2.4035
24782Problem: Timer triggered at the debug prompt may cause trouble.
24783Solution: Do not trigger any timer at the debug prompt. (closes #9481)
24784Files: src/time.c
24785
24786Patch 8.2.4036
24787Problem: Vim9: script test file is getting too long.
24788Solution: Split the import/export functionality to a separate file.
Bram Moolenaar47c532e2022-03-19 15:18:53 +000024789Files: src/testdir/test_vim9_script.vim, src/testdir/test_vim9_import.vim,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024790 src/testdir/Make_all.mak
24791
24792Patch 8.2.4037
24793Problem: Insert mode completion is insufficiently tested.
24794Solution: Add more tests. Fix uncovered memory leak. (Yegappan Lakshmanan,
24795 closes #9489)
24796Files: src/insexpand.c, src/testdir/test_ins_complete.vim
24797
24798Patch 8.2.4038
24799Problem: Various code not used when features are disabled.
24800Solution: Add #ifdefs. (Dominique Pellé, closes #9491)
24801Files: src/alloc.c, src/buffer.c, src/charset.c, src/clipboard.c,
24802 src/cmdhist.c, src/crypt.c, src/edit.c, src/eval.c,
24803 src/evalbuffer.c, src/evalfunc.c, src/ex_docmd.c, src/globals.h,
24804 src/gui_xim.c, src/hashtab.c, src/highlight.c, src/insexpand.c,
24805 src/main.c, src/mark.c, src/message.c, src/misc1.c, src/misc2.c,
24806 src/ops.c, src/option.c, src/option.h, src/optionstr.c,
24807 src/register.c, src/scriptfile.c, src/tag.c, src/term.c,
24808 src/typval.c, src/usercmd.c, src/userfunc.c, src/vim9script.c,
24809 src/vim9type.c
24810
24811Patch 8.2.4039
24812Problem: The xdiff library is linked in even when not used.
24813Solution: Use configure to decide whether xdiff object files are included.
24814Files: src/Makefile, src/config.mk.in, src/configure.ac,
24815 src/auto/configure, src/feature.h
24816
24817Patch 8.2.4040
24818Problem: Keeping track of allocated lines in user functions is too
24819 complicated.
24820Solution: Instead of freeing individual lines keep them all until the end.
24821Files: src/alloc.c, src/proto/alloc.pro, src/vim9compile.c,
24822 src/userfunc.c, src/proto/userfunc.pro, src/message.c,
24823 src/usercmd.c, src/viminfo.c, src/testdir/test_vim9_func.vim
24824
24825Patch 8.2.4041
Bram Moolenaar1588bc82022-03-08 21:35:07 +000024826Problem: Using uninitialized pointer.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024827Solution: Store "ht" when variable is in another script.
24828Files: src/evalvars.c
24829
24830Patch 8.2.4042
24831Problem: Vim9: build error.
24832Solution: Use grow array instead of character pointer.
24833Files: src/vim9execute.c
24834
24835Patch 8.2.4043
24836Problem: Using int for second argument of ga_init2().
Bram Moolenaar1588bc82022-03-08 21:35:07 +000024837Solution: Remove unnecessary type cast (int) when using sizeof().
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024838Files: src/arglist.c, src/channel.c, src/cmdexpand.c, src/dict.c,
24839 src/digraph.c, src/eval.c, src/evalfunc.c, src/evalvars.c,
24840 src/evalwindow.c, src/ex_docmd.c, src/fileio.c, src/filepath.c,
24841 src/findfile.c, src/fold.c, src/hardcopy.c, src/help.c,
24842 src/job.c, src/list.c, src/menu.c, src/os_win32.c, src/register.c,
24843 src/scriptfile.c, src/spellfile.c, src/spellsuggest.c,
24844 src/strings.c, src/syntax.c, src/tag.c, src/terminal.c,
24845 src/undo.c, src/usercmd.c, src/userfunc.c, src/vim9execute.c,
24846 src/viminfo.c, src/window.c, src/if_py_both.h
24847
24848Patch 8.2.4044
24849Problem: Vim9: no error when importing the same script twice.
24850Solution: Give an error, unless it is a reload.
24851Files: src/vim9script.c, src/errors.h, src/testdir/test_vim9_import.vim
24852
24853Patch 8.2.4045
24854Problem: Some global functions are only used in one file.
24855Solution: Make the functions static. (Yegappan Lakshmanan, closes #9492)
24856Files: src/ex_getln.c, src/highlight.c, src/proto/ex_getln.pro,
24857 src/proto/highlight.pro, src/proto/vim9compile.pro,
24858 src/proto/vim9instr.pro, src/proto/window.pro, src/vim9compile.c,
24859 src/vim9instr.c, src/window.c
24860
24861Patch 8.2.4046
24862Problem: Some error messages not in the right place.
24863Solution: Adjust the errors file. Fix typo.
24864Files: src/errors.h, src/regexp_bt.c, src/typval.c,
24865
24866Patch 8.2.4047
24867Problem: Depending on the build features error messages are unused.
24868Solution: Add #ifdefs. (Dominique Pellé, closes #9493)
24869Files: src/errors.h
24870
24871Patch 8.2.4048
24872Problem: gcc complains about use of "%p" in printf.
24873Solution: Add (void *) typecast. (Dominique Pellé, closes #9494)
24874Files: src/if_py_both.h
24875
24876Patch 8.2.4049
24877Problem: Vim9: reading before the start of the line with "$" by itself.
24878Solution: Do not subtract one when reporting the error.
24879Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim
24880
24881Patch 8.2.4050
24882Problem: Vim9: need to prefix every item in an autoload script.
24883Solution: First step in supporting "vim9script autoload" and "import
24884 autoload".
24885Files: runtime/doc/repeat.txt, runtime/doc/vim9.txt, src/structs.h,
24886 src/errors.h, src/vim9script.c, src/scriptfile.c,
24887 src/proto/scriptfile.pro, src/userfunc.c, src/eval.c,
24888 src/evalvars.c, src/vim9compile.c, src/proto/vim9compile.pro,
24889 src/vim9expr.c, src/testdir/test_vim9_script.vim
24890
24891Patch 8.2.4051
24892Problem: Compiler complains about possibly uninitialized variable.
24893Solution: Add code to avoid a compiler warning. (John Marriott)
24894Files: src/scriptfile.c
24895
24896Patch 8.2.4052
24897Problem: Not easy to resize a window from a plugin.
24898Solution: Add win_move_separator() and win_move_statusline() functions.
24899 (Daniel Steinberg, closes #9486)
24900Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
24901 src/evalwindow.c, src/proto/evalwindow.pro,
24902 src/testdir/test_window_cmd.vim
24903
24904Patch 8.2.4053
24905Problem: Vim9: autoload mechanism doesn't fully work yet.
24906Solution: Define functions and variables with their autoload name, add the
24907 prefix when calling a function, find the variable in the table of
24908 script variables.
24909Files: src/structs.h, src/scriptfile.c, src/proto/scriptfile.pro,
24910 src/vim9script.c, src/proto/vim9script.pro, src/userfunc.c,
24911 src/evalvars.c, src/testdir/test_vim9_script.vim
24912
24913Patch 8.2.4054 (after 8.2.4053)
24914Problem: Vim9 script test fails.
24915Solution: Add missing change.
24916Files: src/vim9compile.c
24917
24918Patch 8.2.4055
24919Problem: Vim9: line break in expression causes v:errmsg to be filled.
24920 (Yegappan Lakshmanan)
24921Solution: Do not give an error when skipping over an expression.
24922Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
24923
24924Patch 8.2.4056
24925Problem: Vim9: memory leak when exporting function in autoload script.
24926Solution: Free the name if replacing it.
24927Files: src/scriptfile.c
24928
24929Patch 8.2.4057
24930Problem: Vim9: not fully implementing the autoload mechanism.
24931Solution: Allow for exporting a legacy function. Improve test coverage.
24932Files: src/vim9script.c, src/testdir/test_vim9_import.vim,
24933 src/testdir/test_vim9_script.vim
24934
24935Patch 8.2.4058
24936Problem: Vim9: import test failure in wrong line.
24937Solution: Adjust line number.
24938Files: src/testdir/test_vim9_import.vim
24939
24940Patch 8.2.4059
24941Problem: Vim9: an expression of a map cannot access script-local items.
24942 (Maxim Kim)
24943Solution: Use the script ID of where the map was defined.
24944Files: src/getchar.c, src/map.c, src/proto/map.pro,
24945 src/testdir/test_vim9_import.vim
24946
24947Patch 8.2.4060
24948Problem: win_execute() is slow on systems where getcwd() or chdir() is
24949 slow. (Rick Howe)
24950Solution: Avoid using getcwd() and chdir() if no local directory is used and
24951 'acd' is not set. (closes #9504)
24952Files: src/evalwindow.c
24953
24954Patch 8.2.4061
24955Problem: Codecov bash script is deprecated.
24956Solution: Use the codecov action. (Ozaki Kiichi, closes #9505)
24957Files: .github/workflows/ci.yml
24958
24959Patch 8.2.4062
24960Problem: Match highlighting of tab too short.
24961Solution: Do not stop match highlighting if on a Tab. (Christian Brabandt,
24962 closes #9507, closes #9500)
24963Files: src/drawline.c, src/testdir/test_match.vim,
24964 src/testdir/dumps/Test_match_tab_linebreak.dump
24965
24966Patch 8.2.4063
24967Problem: Vim9: exported function in autoload script not found. (Yegappan
24968 Lakshmanan)
24969Solution: Use the autoload prefix to search for the function.
24970Files: src/userfunc.c, src/testdir/test_vim9_import.vim
24971
24972Patch 8.2.4064
24973Problem: Foam files are not detected.
24974Solution: Detect the foam filetype by the path and file contents. (Mohammed
24975 Elwardi Fadeli, closes #9501)
24976Files: runtime/filetype.vim, runtime/autoload/dist/ft.vim,
24977 src/testdir/test_filetype.vim
24978
24979Patch 8.2.4065
24980Problem: Computation overflow with large count for :yank.
24981Solution: Avoid an overflow.
24982Files: src/ex_docmd.c, src/testdir/test_excmd.vim
24983
24984Patch 8.2.4066
24985Problem: Vim9: imported autoload script loaded again.
24986Solution: Do not create a new imported_T every time.
24987Files: src/vim9script.c, src/vim9compile.c,
24988 src/testdir/test_vim9_import.vim
24989
24990Patch 8.2.4067
24991Problem: Vim9: cannot call imported function with :call. (Drew Vogel)
24992Solution: Translate the function name. (closes #9510)
24993Files: src/userfunc.c, src/testdir/test_vim9_import.vim
24994
24995Patch 8.2.4068 (after 8.2.4066)
24996Problem: Vim9: import test fails.
24997Solution: Add missing change.
24998Files: src/scriptfile.c
24999
25000Patch 8.2.4069
25001Problem: Vim9: import test fails on MS-Windows.
25002Solution: Ignore case. Adjust test to avoid name that only differs in case.
25003Files: src/eval.c, src/scriptfile.c, src/testdir/test_vim9_import.vim
25004
25005Patch 8.2.4070
25006Problem: Using uninitialized memory when reading empty file.
25007Solution: Check for empty file before checking for NL. (Dominique Pellé,
25008 closes #9511)
25009Files: src/filepath.c, src/testdir/test_eval_stuff.vim
25010
25011Patch 8.2.4071
25012Problem: Vim9: no detection of return in try/endtry. (Dominique Pellé)
25013Solution: Check if any of the blocks inside try/endtry did not end in
25014 return.
25015Files: src/vim9.h, src/vim9compile.c, src/vim9cmds.c,
25016 src/testdir/test_vim9_script.vim
25017
25018Patch 8.2.4072
25019Problem: Vim9: compiling function fails when autoload script is not loaded
25020 yet.
25021Solution: Depend on runtime loading.
25022Files: src/vim9expr.c, src/vim9script.c, src/vim9instr.c,
25023 src/vim9execute.c, src/testdir/test_vim9_import.vim
25024
25025Patch 8.2.4073
25026Problem: Coverity warns for using NULL pointer.
25027Solution: Bail out when running out of memory. Check for running over end of
25028 a string.
25029Files: src/userfunc.c,
25030
25031Patch 8.2.4074
25032Problem: Going over the end of NameBuff.
25033Solution: Check length when appending a space.
25034Files: src/drawscreen.c, src/testdir/test_edit.vim
25035
25036Patch 8.2.4075 (after 8.2.4073)
25037Problem: Test failures.
25038Solution: Change check for NULL pointer.
25039Files: src/userfunc.c
25040
25041Patch 8.2.4076
25042Problem: Memory leak in autoload import.
25043Solution: Do not overwrite the autoload prefix.
25044Files: src/vim9script.c
25045
25046Patch 8.2.4077
25047Problem: Not all Libsensors files are recognized.
25048Solution: Add "sensors.d/*" pattern. (Doug Kearns)
25049Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25050
25051Patch 8.2.4078
25052Problem: Terminal test for current directory not used on FreeBSD.
25053Solution: Make it work on FreeBSD. (Ozaki Kiichi, closes #9516) Add
25054 TermWait() inside Run_shell_in_terminal() as a generic solution.
25055Files: src/testdir/test_terminal3.vim, src/testdir/term_util.vim,
25056 src/testdir/test_terminal.vim, src/testdir/test_terminal2.vim,
25057 src/testdir/test_mapping.vim
25058
25059Patch 8.2.4079
25060Problem: MS-Windows: "gvim --version" didn't work when build with VIMDLL.
25061Solution: Adjust #ifdef. (Ken Takata, closes #9517)
25062Files: src/main.c
25063
25064Patch 8.2.4080
25065Problem: Not sufficient test coverage for xxd.
25066Solution: Add a few more test cases. (Erki Auerswald, closes #9515)
25067Files: src/testdir/test_xxd.vim
25068
25069Patch 8.2.4081
25070Problem: CodeQL reports problem in if_cscope causing it to fail.
25071Solution: Use execvp() instead of execl(). Merge the header file into the
25072 source file. (Ozaki Kiichi, closes #9519)
25073Files: Filelist, src/Make_cyg_ming.mak, src/Make_mvc.mak,
25074 src/Make_vms.mms, src/Makefile, src/if_cscope.c, src/if_cscope.h,
25075 src/testdir/test_cscope.vim
25076
25077Patch 8.2.4082
25078Problem: Check for autoload file name and prefix fails. (Christian J.
25079 Robinson)
25080Solution: Only lower case the prefix on systems where the file name is not
25081 case sensitive.
25082Files: src/scriptfile.c, src/testdir/test_vim9_import.vim
25083
25084Patch 8.2.4083
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025085Problem: Vim9: no test for "vim9script autoload" and using script variable
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025086 in the same script.
25087Solution: Add a simple test. Fix uncovered problem.
25088Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25089
25090Patch 8.2.4084
25091Problem: Memory leak when looking for autoload prefixed variable.
25092Solution: Free the concatenated string.
25093Files: src/evalvars.c
25094
25095Patch 8.2.4085
25096Problem: Vim9: no test for using import in legacy script.
25097Solution: Add a test.
25098Files: src/testdir/test_vim9_import.vim
25099
25100Patch 8.2.4086
25101Problem: "cctx" argument of find_func_even_dead() is unused.
25102Solution: Remove the argument.
25103Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9compile.c,
25104 src/vim9instr.c, src/evalfunc.c, src/evalvars.c, src/testing.c,
25105 src/vim9execute.c, src/vim9expr.c, src/vim9script.c,
25106 src/vim9type.c
25107
25108Patch 8.2.4087
25109Problem: Cannot test items from an autoload script easily.
25110Solution: Add the "autoload" value for test_override().
25111Files: runtime/doc/testing.txt, src/testing.c, src/globals.h,
25112 src/vim9script.c, src/testdir/test_vim9_import.vim
25113
25114Patch 8.2.4088
25115Problem: Xxd cannot output everything in one line.
25116Solution: Make zero columns mean infinite columns. (Erik Auerswald,
25117 closes #9524)
25118Files: runtime/doc/xxd.1, runtime/doc/xxd.man, src/testdir/test_xxd.vim,
25119 src/xxd/xxd.c
25120
25121Patch 8.2.4089 (after 8.2.4078)
25122Problem: Terminal test for current directory fails on FreeBSD.
25123Solution: Skip the test.
25124Files: src/testdir/test_terminal3.vim
25125
25126Patch 8.2.4090
25127Problem: After restoring a session buffer order can be quite different.
25128Solution: Create buffers first. (Evgeni Chasnovski, closes #9520)
25129Files: src/session.c, src/testdir/test_mksession.vim
25130
25131Patch 8.2.4091
25132Problem: Virtcol is recomputed for statusline unnecessarily.
25133Solution: Just use "w_virtcol". (closes #9523)
25134Files: src/buffer.c, src/testdir/test_statusline.vim
25135
25136Patch 8.2.4092
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025137Problem: macOS CI: unnecessarily doing "Install packages".
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025138Solution: Only do "Install packages" for huge build. (Ozaki Kiichi,
25139 closes #9521)
25140Files: .github/workflows/ci.yml
25141
25142Patch 8.2.4093
25143Problem: Cached breakindent values not initialized properly.
25144Solution: Initialize and cache formatlistpat. (Christian Brabandt,
25145 closes #9526, closes #9512)
25146Files: runtime/doc/options.txt, src/indent.c, src/option.c,
25147 src/proto/option.pro, src/testdir/test_breakindent.vim
25148
25149Patch 8.2.4094
25150Problem: 'virtualedit' is window-local but using buffer-local enum.
25151Solution: Use window-local enum. (closes #9529)
25152Files: src/option.h, src/optiondefs.h
25153
25154Patch 8.2.4095
25155Problem: Sed script not recognized by the first line.
25156Solution: Recognize a sed script starting with "#n". (Doug Kearns)
25157Files: runtime/scripts.vim, src/testdir/test_filetype.vim
25158
25159Patch 8.2.4096
25160Problem: Linux CI: unnecessarily installing packages
25161Solution: Only install packages for huge build. (Ozaki Kiichi,
25162 closes #9530)
25163Files: .github/workflows/ci.yml
25164
25165Patch 8.2.4097
25166Problem: Wrong number in error message on 32 bit system. (John Paul Adrian
25167 Glaubitz)
25168Solution: Add type cast. (closes #9527)
25169Files: src/vim9compile.c
25170
25171Patch 8.2.4098
25172Problem: Typing "interrupt" at debug prompt may keep exception around,
25173 causing function calls to fail.
25174Solution: Discard any exception at the toplevel. (closes #9532)
25175Files: src/main.c
25176
25177Patch 8.2.4099
25178Problem: Vim9: cannot use Vim9 syntax in mapping.
25179Solution: Add <ScriptCmd> to use the script context for a command.
25180Files: runtime/doc/map.txt, src/normal.c, src/getchar.c,
25181 src/proto/getchar.pro, src/ex_getln.c, src/edit.c, src/terminal.c,
25182 src/keymap.h, src/insexpand.c, src/misc2.c, src/ops.c,
25183 src/testdir/test_vim9_import.vim
25184
25185Patch 8.2.4100
25186Problem: Early return when getting the 'formatlistpat' value.
25187Solution: Remove the first line. (Christian Brabandt)
25188Files: src/option.c, src/testdir/test_breakindent.vim
25189
25190Patch 8.2.4101
25191Problem: Warning for unused argument in tiny version.
25192Solution: Add "UNUSED".
25193Files: src/getchar.c
25194
25195Patch 8.2.4102
25196Problem: Vim9: import cannot be used after method.
25197Solution: Recognize an imported function name. (closes #9496)
25198Files: src/eval.c, src/testdir/test_vim9_import.vim
25199
25200Patch 8.2.4103
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025201Problem: Vim9: variable declared in for loop not initialized.
25202Solution: Always initialize the variable. (closes #9535)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025203Files: src/vim9instr.c, src/proto/vim9instr.pro, src/vim9compile.c,
25204 src/testdir/test_vim9_assign.vim
25205
25206Patch 8.2.4104
25207Problem: Vim9: lower casing the autoload prefix causes problems.
25208Solution: Always store the prefix with case preserved.
25209Files: src/scriptfile.c, src/testdir/test_vim9_import.vim
25210
25211Patch 8.2.4105
25212Problem: Translation related comment in the wrong place.
25213Solution: Move it back with the text. (Ken Takata, closes #9537)
25214Files: src/errors.h, src/ex_docmd.c
25215
25216Patch 8.2.4106
25217Problem: Going over the end of the w_lines array.
25218Solution: Break out of the loop when "idx" is too big. (issue #9540)
25219Files: src/drawscreen.c
25220
25221Patch 8.2.4107
25222Problem: Script context not restored after using <ScriptCmd>.
25223Solution: Also restore context when not in a script. (closes #9536)
25224 Add the 'c' flag to feedkeys() to be able to test this.
25225Files: runtime/doc/builtin.txt, src/getchar.c, src/evalfunc.c,
25226 src/testdir/test_mapping.vim
25227
25228Patch 8.2.4108
25229Problem: Going over the end of the w_lines array.
25230Solution: Check not going over the end and limit to Rows. (issue #9540)
25231Files: src/drawscreen.c
25232
25233Patch 8.2.4109
25234Problem: MS-Windows: high dpi support is outdated.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025235Solution: Improve High DPI support by using PerMonitorV2. (Ken Takata
25236 closes #9525, closes #3102)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025237Files: src/gui.c, src/gui.h, src/gui_w32.c, src/vim.manifest
25238
25239Patch 8.2.4110
25240Problem: Coverity warns for using NULL pointer.
25241Solution: Check "evalarg" is not NULL. Skip errors when "verbose" is false.
25242Files: src/eval.c
25243
25244Patch 8.2.4111
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025245Problem: Potential problem when map is deleted while executing.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025246Solution: Reset last used map pointer when deleting a mapping.
25247Files: src/map.c
25248
25249Patch 8.2.4112
25250Problem: Function not deleted at end of test.
25251Solution: Delete the function.
25252Files: src/testdir/test_diffmode.vim
25253
25254Patch 8.2.4113
25255Problem: Typo on DOCMD_RANGEOK results in not recognizing command.
25256Solution: Correct the typo. (closes #9539)
25257Files: src/vim.h, src/testdir/test_mapping.vim
25258
25259Patch 8.2.4114
25260Problem: Vim9: type checking for a funcref does not work for when it is
25261 used in a method.
25262Solution: Pass the base to where the type is checked.
25263Files: src/vim9type.c, src/proto/vim9type.pro, src/userfunc.c,
25264 src/testdir/test_vim9_expr.vim
25265
25266Patch 8.2.4115
25267Problem: Cannot use a method with a complex expression.
25268Solution: Evaluate the expression after "->" and use the result.
25269Files: src/eval.c, src/errors.h, src/testdir/test_vim9_expr.vim
25270
25271Patch 8.2.4116
25272Problem: Vim9: cannot use a method with a complex expression in a :def
25273 function.
25274Solution: Implement compiling the expression.
25275Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim
25276
25277Patch 8.2.4117
25278Problem: Vim9: wrong white space error after using imported item.
25279Solution: Don't skip over white space. (closes #9544)
25280Files: src/eval.c, src/testdir/test_vim9_import.vim
25281
25282Patch 8.2.4118
25283Problem: Using UNUSED for argument that is used.
25284Solution: Remove UNUSED.
25285Files: src/usercmd.c
25286
25287Patch 8.2.4119
25288Problem: Build failure when disabling the channel feature.
25289Solution: Adjust #ifdef. (Dominique Pellé, closes #9545)
25290Files: src/misc2.c
25291
25292Patch 8.2.4120
25293Problem: Block insert goes over the end of the line.
25294Solution: Handle invalid byte better. Fix inserting the wrong text.
25295Files: src/ops.c, src/testdir/test_visual.vim
25296
25297Patch 8.2.4121
25298Problem: Visual test fails on MS-Windows.
25299Solution: Set 'isprint' so that the character used is not printable.
25300Files: src/testdir/test_visual.vim
25301
25302Patch 8.2.4122
25303Problem: ":command Cmd" does not show custom completion argument.
25304Solution: Show the completion argument when using ":verbose".
25305Files: src/usercmd.c, src/testdir/test_usercommands.vim
25306
25307Patch 8.2.4123
25308Problem: Complete function cannot be import.Name.
25309Solution: Dereference the function name if needed. Also: do not see
25310 "import.Name" as a builtin function. (closes #9541)
25311Files: src/userfunc.c, src/eval.c, src/testdir/test_vim9_import.vim
25312
25313Patch 8.2.4124
25314Problem: Vim9: method in compiled function may not see script item.
25315Solution: Make sure not to skip to the next line. (closes #9496)
25316Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim
25317
25318Patch 8.2.4125
25319Problem: Completion tests fail.
25320Solution: Disable error messages while dereferencing the function name.
25321Files: src/eval.c
25322
25323Patch 8.2.4126
25324Problem: Crash on exit when built with dynamic Tcl and EXITFREE is defined.
25325 (Dominique Pellé)
25326Solution: Only call Tcl_Finalize() when initialized. (closes #9546)
25327Files: src/if_tcl.c
25328
25329Patch 8.2.4127
25330Problem: Build failure without the +eval feature.
25331Solution: Add #ifdef.
25332Files: src/usercmd.c
25333
25334Patch 8.2.4128
25335Problem: Crash when method cannot be found. (Christian J. Robinson)
25336Solution: Don't mix up pointer names.
25337Files: src/eval.c, src/testdir/test_vim9_expr.vim
25338
25339Patch 8.2.4129
25340Problem: Building with +sound but without +eval fails. (Dominique Pellé)
25341Solution: Disable canberra in tiny and small build. (closes #9548)
25342Files: src/configure.ac, src/auto/configure
25343
25344Patch 8.2.4130
25345Problem: MS-Windows: MSVC build may have libraries duplicated.
25346Solution: Improve the MSVC Makefile. (Ken Takata, closes #9547)
25347Files: src/Make_mvc.mak
25348
25349Patch 8.2.4131
25350Problem: Vim9: calling function in autoload import does not work in a :def
25351 function.
25352Solution: When a variable is not found and a PCALL follows use a funcref.
25353 (closes #9550)
25354Files: src/vim9execute.c, src/testdir/test_vim9_import.vim
25355
25356Patch 8.2.4132
25357Problem: Vim9: wrong error message when autoload script can't be found.
25358Solution: Correct check for using autoload with wrong name.
25359Files: src/vim9script.c, src/testdir/test_vim9_import.vim
25360
25361Patch 8.2.4133
25362Problem: output of ":scriptnames" goes into the message history, while this
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025363 does not happen for other commands, such as ":ls".
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025364Solution: Use msg_outtrans() instead of smsg(). (closes #9551)
25365Files: src/scriptfile.c, src/testdir/test_scriptnames.vim
25366
25367Patch 8.2.4134
25368Problem: MS-Windows: test for import with absolute path fails.
25369Solution: Handle path starting with slash as an absolute path.
25370Files: src/vim9script.c
25371
25372Patch 8.2.4135
25373Problem: Vim9: ":scriptnames" shows unloaded imported autoload script.
25374Solution: Mark the unloaded script with "A". (closes #9552)
25375Files: runtime/doc/repeat.txt, src/scriptfile.c,
25376 src/testdir/test_vim9_import.vim
25377
25378Patch 8.2.4136
25379Problem: Vim9: the "autoload" argument of ":vim9script" is not useful.
25380Solution: Remove the argument. (closes #9555)
25381Files: runtime/doc/vim9.txt, runtime/doc/repeat.txt, src/vim9script.c,
25382 src/errors.h, src/testdir/test_vim9_import.vim
25383
25384Patch 8.2.4137
25385Problem: Vim9: calling import with and without method is inconsistent.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025386Solution: Set a flag that a parenthesis follows to compile_load_scriptvar().
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025387 Add some more tests. Improve error message.
25388Files: src/vim9expr.c, src/vim9execute.c, src/vim9script.c,
25389 src/testdir/test_vim9_import.vim
25390
25391Patch 8.2.4138
25392Problem: Vim9: no error for return with argument when the function does not
25393 return anything.
25394Solution: Give an error for the invalid argument. (issue #9497)
25395Files: src/vim9cmds.c, src/testdir/test_vim9_func.vim
25396
25397Patch 8.2.4139
25398Problem: Using freed memory if an expression abbreviation deletes the
25399 abbreviation.
25400Solution: Do not access the pointer after evaluating the expression.
25401Files: src/map.c, src/testdir/test_mapping.vim
25402
25403Patch 8.2.4140
25404Problem: maparg() does not indicate the type of script where it was defined.
25405Solution: Add "scriptversion".
25406Files: runtime/doc/builtin.txt, src/map.c, src/testdir/test_maparg.vim
25407
25408Patch 8.2.4141 (after 8.2.4140)
25409Problem: Vim9 builtin functions test fails.
25410Solution: Add "scriptversion" item to maparg() result.
25411Files: src/testdir/test_vim9_builtin.vim
25412
25413Patch 8.2.4142
25414Problem: Build failure with normal features without persistent undo.
25415Solution: Adjust #ifdef. (closes #9557)
25416Files: src/fileio.c
25417
25418Patch 8.2.4143
25419Problem: MS-Windows: IME support for Win9x is obsolete.
25420Solution: Remove the Win9x code. (Ken Takata, closes #9559)
25421Files: src/gui_w32.c
25422
25423Patch 8.2.4144
25424Problem: Cannot load libsodium dynamically.
25425Solution: Support dynamic loading on MS-Windows. (Ken Takata, closes #9554)
25426Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/buffer.c,
25427 src/crypt.c, src/memline.c, src/proto/crypt.pro
25428
25429Patch 8.2.4145
25430Problem: Confusing error when using name of import for a function.
25431Solution: Pass a flag to trans_function_name().
25432Files: src/vim.h, src/userfunc.c, src/proto/userfunc.pro, src/eval.c,
25433 src/testdir/test_vim9_import.vim
25434
25435Patch 8.2.4146
25436Problem: Vim9: shadowed function can be used in compiled function but not
25437 at script level.
25438Solution: Also give an error in a compiled function. (closes #9563)
25439Files: src/vim9expr.c
25440
25441Patch 8.2.4147
25442Problem: E464 does not always include the offending command.
25443Solution: Add another error message with "%s". (closes #9564)
25444Files: src/errors.h, src/vim9compile.c, src/ex_docmd.c,
25445 src/testdir/test_vim9_script.vim
25446
25447Patch 8.2.4148
25448Problem: Deleting any mapping may cause <ScriptCmd> to not set the script
25449 context.
25450Solution: Only reset last_used_map if it is the deleted mapping.
25451 (closes #9568)
25452Files: src/map.c, src/getchar.c, src/proto/getchar.pro,
25453 src/testdir/test_mapping.vim
25454
25455Patch 8.2.4149
25456Problem: Test override not restored, autocommand left behind.
25457Solution: Correct restoring test override. Delete autocommand afterwards.
25458Files: src/testdir/test_autocmd.vim, src/testdir/test_mapping.vim
25459
25460Patch 8.2.4150
25461Problem: Coverity warns for using pointer after free.
25462Solution: Swap statements, even though using the pointer is no problem.
25463Files: src/map.c
25464
25465Patch 8.2.4151
25466Problem: Reading beyond the end of a line.
25467Solution: For block insert only use the offset for correcting the length.
25468Files: src/ops.c, src/testdir/test_visual.vim
25469
25470Patch 8.2.4152
25471Problem: Block insert with double wide character fails.
25472Solution: Adjust the expected output.
25473Files: src/testdir/test_utf8.vim
25474
25475Patch 8.2.4153
25476Problem: MS-Windows: Global IME is no longer supported.
25477Solution: Remove the Global IME implementation. (Ken Takata, closes #9562)
25478Files: Filelist, runtime/doc/mbyte.txt, src/Make_mvc.mak, src/dimm.idl,
25479 src/glbl_ime.cpp, src/glbl_ime.h, src/gui_w32.c, src/vim.h
25480
25481Patch 8.2.4154
25482Problem: ml_get error when exchanging windows in Visual mode.
25483Solution: Correct end of Visual area when entering another buffer.
25484Files: src/window.c, src/testdir/test_visual.vim
25485
25486Patch 8.2.4155
25487Problem: Translating strftime() argument results in check error.
25488Solution: Add gettext comment.
25489Files: src/time.c
25490
25491Patch 8.2.4156
25492Problem: Fileinfo message overwrites echo'ed message.
25493Solution: Reset need_fileinfo when displaying a message. (Rob Pilling,
25494 closes #9569)
25495Files: src/message.c, src/testdir/test_messages.vim,
25496 src/testdir/dumps/Test_fileinfo_after_echo.dump
25497
25498Patch 8.2.4157
25499Problem: Terminal test fails because Windows sets the title.
25500Solution: Add the "vterm_title" testing override and use it in the test.
25501 (Ozaki Kiichi, closes #9556)
25502Files: runtime/doc/testing.txt, src/globals.h, src/terminal.c,
25503 src/testing.c, src/testdir/test_terminal.vim
25504
25505Patch 8.2.4158
25506Problem: MS-Windows: memory leak in :browse.
25507Solution: Free stuff before returning. (Ken Takata, closes #9574)
25508Files: src/gui_w32.c
25509
25510Patch 8.2.4159
25511Problem: MS-Windows: _WndProc() is very long.
25512Solution: Move code to separate functions. (Ken Takata, closes #9573)
25513Files: src/gui_w32.c
25514
25515Patch 8.2.4160
25516Problem: Cannot change the register used for Select mode delete.
25517Solution: Make CTRL-R set the register to be used when deleting text for
25518 Select mode. (Shougo Matsushita, closes #9531)
25519Files: runtime/doc/visual.txt, src/globals.h, src/normal.c, src/ops.c,
25520 src/testdir/test_selectmode.vim
25521
25522Patch 8.2.4161
25523Problem: Vim9: warning for missing white space after imported variable.
25524Solution: Do not skip white space. (closes #9567)
25525Files: src/vim9expr.c, src/testdir/test_vim9_import.vim
25526
25527Patch 8.2.4162
25528Problem: Vim9: no error for redefining function with export.
25529Solution: Check for existing function with/without prefix. (closes #9577)
25530Files: src/userfunc.c, src/scriptfile.c, src/testdir/test_vim9_import.vim
25531
25532Patch 8.2.4163
25533Problem: No error for omitting function name after autoload prefix.
25534Solution: Check for missing function name. (issue #9577)
25535Files: src/userfunc.c, src/testdir/test_vim9_import.vim
25536
25537Patch 8.2.4164 (after 8.2.4162)
25538Problem: Error in legacy code for function shadowing variable.
25539Solution: Only give the error in Vim9 script.
25540Files: src/userfunc.c
25541
25542Patch 8.2.4165
25543Problem: The nv_g_cmd() function is too long.
25544Solution: Move code to separate functions. (Yegappan Lakshmanan,
25545 closes #9576)
25546Files: src/normal.c
25547
25548Patch 8.2.4166
25549Problem: Undo synced when switching buffer in another window.
25550Solution: Do not sync undo when not needed. (closes #9575)
25551Files: src/buffer.c, src/testdir/test_timers.vim
25552
25553Patch 8.2.4167
25554Problem: Vim9: error message for old style import.
25555Solution: Use another error message. Add a test.
25556Files: src/evalvars.c, src/errors.h, src/testdir/test_vim9_import.vim
25557
25558Patch 8.2.4168 (after 8.2.4163)
25559Problem: Disallowing empty function name breaks existing plugins.
25560Solution: Allow empty function name in legacy script.
25561Files: src/userfunc.c, src/testdir/test_autoload.vim,
25562 src/testdir/sautest/autoload/foo.vim
25563
25564Patch 8.2.4169
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025565Problem: MS-Windows: unnecessary casts and other minor things.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025566Solution: Clean up the MS-Windows code. (Ken Takata, closes #9583)
25567Files: src/gui_w32.c
25568
25569Patch 8.2.4170
25570Problem: MS-Windows: still using old message API calls.
25571Solution: Call the "W" functions directly. (Ken Takata, closes #9582)
25572Files: src/gui_w32.c, src/os_mswin.c, src/os_win32.c, src/os_win32.h
25573
25574Patch 8.2.4171
25575Problem: Cannot invoke option function using autoload import.
25576Solution: Expand the import to an autoload function name. (closes #9578)
25577Files: src/userfunc.c, src/evalvars.c, src/proto/evalvars.pro,
25578 src/option.c, src/testdir/test_vim9_import.vim
25579
25580Patch 8.2.4172
25581Problem: Filetype detection for BASIC is not optimal.
25582Solution: Improve BASIC filetype detection. (Doug Kearns)
25583Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
25584 src/testdir/test_filetype.vim
25585
25586Patch 8.2.4173
25587Problem: Cannot use an import in 'foldexpr'.
25588Solution: Set the script context to where 'foldexpr' was set. (closes #9584)
25589 Fix that the script context was not set for all buffers.
25590Files: src/eval.c, src/proto/eval.pro, src/fold.c, src/structs.h,
25591 src/option.c, src/testdir/test_vim9_import.vim
25592
25593Patch 8.2.4174
25594Problem: Vim9: can use an autoload name in normal script.
25595Solution: Disallow using an autoload name.
25596Files: src/userfunc.c, src/errors.h, src/testdir/test_vim9_import.vim
25597
25598Patch 8.2.4175
25599Problem: MS-Windows: runtime check for multi-line balloon is obsolete.
25600Solution: Remove the obsolete code. (Ken Takata, closes #9592)
25601Files: src/evalfunc.c, src/gui_w32.c, src/proto/gui_w32.pro
25602
25603Patch 8.2.4176
25604Problem: Vim9: cannot use imported function with call().
25605Solution: Translate the function name. (closes #9590)
25606Files: src/evalfunc.c, src/testdir/test_vim9_import.vim
25607
25608Patch 8.2.4177
25609Problem: Vim9: autoload script not loaded after "vim9script noclear".
25610Solution: Check IMP_FLAGS_AUTOLOAD properly. (closes #9593)
25611Files: src/vim9compile.c, src/testdir/test_vim9_import.vim
25612
25613Patch 8.2.4178
25614Problem: Vim9: invalid error for return type of lambda when debugging.
25615Solution: Do not check the return type of a lambda. (closes #9589)
25616Files: src/vim9cmds.c
25617
25618Patch 8.2.4179
25619Problem: 'foldtext' is evaluated in the current script context.
25620Solution: Use the script context where the option was set.
25621Files: src/fold.c, src/buffer.c, src/eval.c, src/proto/eval.pro,
25622 src/findfile.c, src/testdir/test_vim9_import.vim
25623
25624Patch 8.2.4180
25625Problem: 'balloonexpr' is evaluated in the current script context.
25626Solution: Use the script context where the option was set.
25627Files: src/beval.c, src/option.c, src/proto/option.pro,
25628 src/testdir/test_balloon.vim,
25629 src/testdir/dumps/Test_balloon_eval_term_01.dump,
25630 src/testdir/dumps/Test_balloon_eval_term_01a.dump,
25631 src/testdir/dumps/Test_balloon_eval_term_02.dump
25632
25633Patch 8.2.4181
25634Problem: Vim9: cannot use an import in 'diffexpr'.
25635Solution: Set the script context when evaluating 'diffexpr'. Do not require
25636 'diffexpr' to return a bool, it was ignored anyway.
25637Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25638
25639Patch 8.2.4182 (after 8.2.4182)
25640Problem: Memory leak when evaluating 'diffexpr'.
25641Solution: Use free_tv() instead of clear_tv().
25642Files: src/evalvars.c
25643
25644Patch 8.2.4183
25645Problem: Cannot use an import in 'formatexpr'.
25646Solution: Set the script context when evaluating 'formatexpr'.
25647Files: src/textformat.c, src/testdir/test_vim9_import.vim
25648
25649Patch 8.2.4184
25650Problem: Cannot use an import in 'includeexpr'.
25651Solution: Set the script context when evaluating 'includeexpr'
25652Files: src/findfile.c, src/testdir/test_vim9_import.vim
25653
25654Patch 8.2.4185
25655Problem: Cannot use an import in 'indentexpr'.
25656Solution: Set the script context when evaluating 'indentexpr'
25657Files: src/indent.c, src/testdir/test_vim9_import.vim
25658
25659Patch 8.2.4186
25660Problem: Cannot use an import in 'patchexpr'.
25661Solution: Set the script context when evaluating 'patchexpr'. Do not
25662 require 'patchexpr' to return a bool, it was ignored anyway.
25663Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25664
25665Patch 8.2.4187
25666Problem: Gnuplot file not recognized.
25667Solution: Recognize ".gnuplot". (closes #9588)
25668Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25669
25670Patch 8.2.4188
25671Problem: Not all gitconfig files are recognized.
25672Solution: Add a few more patterns. (Tim Pope, closes #9597)
25673Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25674
25675Patch 8.2.4189
25676Problem: MS-Windows: code for "old look" is obsolete.
25677Solution: Delete obsolete code. Use "MS Shell Dlg" font. (Ken Takata,
25678 closes #9596)
25679Files: src/gui_w32.c
25680
25681Patch 8.2.4190
25682Problem: All conceal tests are skipped without the screendumps feature.
25683Solution: Only skip the tests that use screendumps. (closes #9599)
25684Files: src/testdir/test_conceal.vim
25685
25686Patch 8.2.4191
25687Problem: json5 files are not recognized.
25688Solution: Add a pattern for json5 files. (closes #9601)
25689Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25690
25691Patch 8.2.4192
25692Problem: Cannot use an import in 'printexpr'.
25693Solution: Set the script context when evaluating 'printexpr'.
25694Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25695
25696Patch 8.2.4193
25697Problem: Cannot use an import in 'charconvert'.
25698Solution: Set the script context when evaluating 'charconvert'. Also expand
25699 script-local functions in 'charconvert'.
25700Files: src/evalvars.c, src/optionstr.c, src/testdir/test_vim9_import.vim
25701
25702Patch 8.2.4194
25703Problem: MS-Windows: code for calculating font size is duplicated.
25704Solution: Move the code to a function. (Ken Takata, closes #9603)
25705Files: src/gui_w32.c
25706
25707Patch 8.2.4195
25708Problem: Resizing terminal may cause to behave like CTRL-Z.
25709Solution: Set "got_tstp" only when in_mch_suspend is set. (Dorian Bivolaru,
25710 closes #9602, closes #9586)
25711Files: src/os_unix.c
25712
25713Patch 8.2.4196
25714Problem: Various file types not recognized.
25715Solution: Add patterns to recognize more file types (closes #9607)
25716Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25717
25718Patch 8.2.4197
25719Problem: Cannot use an import in the "expr" part of 'spellsuggest'.
25720Solution: Set the script context when evaluating "expr" of 'spellsuggest'.
25721Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25722
25723Patch 8.2.4198
25724Problem: Vim9: the switch for executing instructions is too long.
25725Solution: Move some code to separate functions.
25726Files: src/vim9execute.c
25727
25728Patch 8.2.4199
25729Problem: MS-Windows: Support for MSVC before 2003 is not useful.
25730Solution: Remove the exceptions for MSVC 6.0. (Ken Takata, closes #9616)
25731Files: src/GvimExt/gvimext.h, src/ex_docmd.c, src/feature.h,
25732 src/gui_w32.c, src/if_cscope.c, src/if_ole.cpp, src/if_ruby.c,
25733 src/macros.h, src/os_mswin.c, src/os_win32.c, src/os_win32.h,
25734 src/proto/os_win32.pro, src/time.c, src/vim.h
25735
25736Patch 8.2.4200
25737Problem: Some tests do not clean up properly.
25738Solution: Delete created files. (Yegappan Lakshmanan, closes #9611)
25739Files: src/testdir/test_filetype.vim, src/testdir/test_messages.vim,
25740 src/testdir/test_vim9_import.vim
25741
25742Patch 8.2.4201
25743Problem: When using the GUI CTRL-Z does not stop gvim.
25744Solution: When using the GUI set SIGTSTP to SIG_DFL. (Andrew Maltsev,
25745 closes #9570)
25746Files: src/os_unix.c
25747
25748Patch 8.2.4202
25749Problem: Vim9: cannot export function that exists globally.
25750Solution: When checking if a function already exists only check for
25751 script-local functions. (closes #9615)
Bram Moolenaar47c532e2022-03-19 15:18:53 +000025752Files: src/userfunc.c, src/proto/userfunc.pro, src/vim.h,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025753 src/vim9compile.c, src/vim9instr.c,
25754 src/testdir/test_vim9_import.vim
25755
25756Patch 8.2.4203
25757Problem: Entering a character with CTRL-V may include modifiers.
25758Solution: Reset "mod_mask" when entering a character with digits after
25759 CTRL-V. (closes #9610)
25760Files: src/edit.c, src/testdir/test_edit.vim
25761
25762Patch 8.2.4204
25763Problem: screenpos() has non-zero row for invisible text.
25764Solution: Only add the window row when the text is visible. (closes #9618)
25765Files: src/move.c, src/testdir/test_cursor_func.vim
25766
25767Patch 8.2.4205
25768Problem: The normal_cmd() function is too long.
25769Solution: Move parts to separate functions. (Yegappan Lakshmanan,
25770 closes #9608)
25771Files: src/normal.c
25772
25773Patch 8.2.4206
25774Problem: Condition with many "(" causes a crash.
25775Solution: Limit recursion to 1000.
25776Files: src/errors.h, src/eval.c, src/testdir/test_eval_stuff.vim
25777
25778Patch 8.2.4207 (after 8.2.4206)
25779Problem: Recursion test fails with MSVC.
25780Solution: Use a smaller limit for MSVC.
25781Files: src/eval.c
25782
25783Patch 8.2.4208
25784Problem: Using setbufvar() may change the window title.
25785Solution: Do not redraw when creating the autocommand window. (closes #9613)
25786Files: src/autocmd.c, src/testdir/test_functions.vim
25787
25788Patch 8.2.4209
25789Problem: partial in 'opfunc' cannot use an imported function.
25790Solution: Also expand the function name in a partial. (closes #9614)
25791Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25792
25793Patch 8.2.4210 (after 8.2.4208)
25794Problem: Window title test fails in some configurations.
25795Solution: Only run the test if the title can be obtained.
25796Files: src/testdir/test_functions.vim
25797
25798Patch 8.2.4211 (after 8.2.4208)
25799Problem: Window title test still fails in some configurations.
25800Solution: Use WaitForAssert().
25801Files: src/testdir/test_functions.vim
25802
25803Patch 8.2.4212 (after 8.2.4208)
25804Problem: Window title test still fails in some configurations.
25805Solution: Explicitly set the 'title' option.
25806Files: src/testdir/test_functions.vim
25807
25808Patch 8.2.4213
25809Problem: Too much code for supporting old MSVC versions.
25810Solution: Remove MSVC 2003 support. (Ken Takata, closes #9623)
25811Files: Filelist, src/INSTALLpc.txt, src/Make_mvc.mak, src/gui_w32.c,
25812 src/msvcsetup.bat, src/os_win32.c
25813
25814Patch 8.2.4214
25815Problem: Illegal memory access with large 'tabstop' in Ex mode.
25816Solution: Allocate enough memory.
25817Files: src/ex_getln.c, src/testdir/test_ex_mode.vim
25818
25819Patch 8.2.4215
25820Problem: Illegal memory access when copying lines in Visual mode.
25821Solution: Adjust the Visual position after copying lines.
25822Files: src/ex_cmds.c, src/testdir/test_visual.vim
25823
25824Patch 8.2.4216
25825Problem: Vim9: cannot use a function from an autoload import directly.
25826Solution: Add the AUTOLOAD instruction to figure out at runtime.
25827 (closes #9620)
25828Files: src/vim9expr.c, src/vim9.h, src/vim9execute.c, src/vim9instr.c,
25829 src/proto/vim9instr.pro, src/testdir/test_vim9_import.vim,
25830 src/testdir/test_vim9_disassemble.vim
25831
25832Patch 8.2.4217
25833Problem: Illegal memory access when undo makes Visual area invalid.
25834Solution: Correct the Visual area after undo.
25835Files: src/undo.c, src/testdir/test_visual.vim
25836
25837Patch 8.2.4218
25838Problem: Illegal memory access with bracketed paste in Ex mode.
25839Solution: Reserve space for the trailing NUL.
25840Files: src/edit.c, src/testdir/test_paste.vim
25841
25842Patch 8.2.4219
25843Problem: Reading before the start of the line.
25844Solution: Check boundary before trying to read the character.
25845Files: src/register.c, src/testdir/test_visual.vim
25846
25847Patch 8.2.4220
25848Problem: MS-Windows: some old compiler support remains.
25849Solution: Remove obsolete compiler support. (Ken Takata, closes #9627)
25850Files: src/Make_mvc.mak, src/vim.h
25851
25852Patch 8.2.4221
25853Problem: Some functions in normal.c are very long.
25854Solution: Move code to separate functions. (Yegappan Lakshmanan,
25855 closes #9628)
25856Files: src/normal.c
25857
25858Patch 8.2.4222
25859Problem: MS-Windows: clumsy way to suppress progress on CI.
25860Solution: Check for "$CI" in the Makefile itself. (Ken Takata, closes #9631)
25861Files: .github/workflows/ci.yml, ci/appveyor.bat, src/Make_mvc.mak
25862
25863Patch 8.2.4223
25864Problem: Long/int compiler warnings; function arguments swapped.
25865Solution: Add type casts. Swap arguments. (Ken Takata, closes #9632)
25866Files: src/alloc.c, src/eval.c, src/vim9script.c
25867
25868Patch 8.2.4224
25869Problem: Vim9: no error when using a number for map() second argument
25870Solution: Disallow number to string conversion. (closes #9630)
25871Files: src/eval.c, src/evalfunc.c, src/testdir/test_vim9_builtin.vim
25872
25873Patch 8.2.4225
25874Problem: Vim9: depth argument of :lockvar not parsed in :def function.
25875Solution: Parse the optional depth argument. (closes #9629)
25876 Fix that locking doesn't work for a non-materialize list.
25877Files: src/vim9cmds.c, src/evalvars.c, src/structs.h, src/evalfunc.c,
25878 src/errors.h, src/vim9execute.c, src/testdir/test_vim9_cmd.vim,
25879 src/testdir/test_vim9_disassemble.vim
25880
25881Patch 8.2.4226 (after 8.2.4224)
25882Problem: Filter-map test fails.
25883Solution: Only reject number argument in Vim9 script.
25884Files: src/eval.c
25885
25886Patch 8.2.4227
25887Problem: Vim9: using "lockvar!" in :def function does not work.
25888Solution: Add "!" instead of "-1". (closes #9634)
25889Files: src/vim9cmds.c, src/testdir/test_vim9_cmd.vim
25890
25891Patch 8.2.4228
25892Problem: No tests for clicking in the GUI tabline.
25893Solution: Add test functions to generate the events. Add tests using the
25894 functions. (Yegappan Lakshmanan, closes #9638)
25895Files: runtime/doc/builtin.txt, runtime/doc/testing.txt,
25896 runtime/doc/usr_41.txt, src/evalfunc.c, src/normal.c,
25897 src/proto/testing.pro, src/testdir/test_diffmode.vim,
25898 src/testdir/test_gui.vim, src/testdir/test_normal.vim,
25899 src/testing.c
25900
25901Patch 8.2.4229
25902Problem: Possible crash when invoking timer callback fails.
25903Solution: Initialize the typval. Give an error for an empty callback.
25904 (closes #9636)
25905Files: src/time.c, src/testdir/test_vim9_builtin.vim
25906
25907Patch 8.2.4230
25908Problem: MS-Windows: set_guifontwide() is included but won't work.
25909Solution: Include set_guifontwide() only for X11. (Ken Takata, closes #9640)
25910Files: src/gui.c
25911
25912Patch 8.2.4231
25913Problem: Vim9: map() gives type error when type was not declared.
25914Solution: Only check the type when it was declared, like extend() does.
25915 (closes #9635)
25916Files: src/list.c, src/evalfunc.c, src/vim9instr.c,
25917 src/testdir/test_vim9_builtin.vim,
25918 src/testdir/test_vim9_assign.vim
25919
25920Patch 8.2.4232 (after 8.2.4231)
25921Problem: Some compilers don't like a goto label without statement.
25922Solution: Return instead of using a goto.
25923Files: src/list.c
25924
25925Patch 8.2.4233
25926Problem: Crash when recording and using Select mode.
25927Solution: When deleting the last recorded character check there is something
25928 to delete.
25929Files: src/getchar.c, src/testdir/test_registers.vim
25930
25931Patch 8.2.4234
25932Problem: test_garbagecollect_now() does not check v:testing as documented.
25933Solution: Give an error if v:testing is not set.
25934Files: src/testing.c, src/errors.h, src/testdir/test_functions.vim
25935
25936Patch 8.2.4235
25937Problem: Invalid check for NULL pointer.
25938Solution: Remove the check.
25939Files: src/getchar.c
25940
25941Patch 8.2.4236
25942Problem: Accessing freed memory.
25943Solution: Set the bh_curr pointer to NULL.
25944Files: src/getchar.c
25945
25946Patch 8.2.4237
25947Problem: Record buffer wrong if character in Select mode was not typed.
25948Solution: Only delete the tail from the record buffer if the character was
25949 typed. (closes #9650)
25950Files: src/normal.c, src/testdir/test_registers.vim
25951
25952Patch 8.2.4238
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010025953Problem: *.tf file could be filetype "tf" or "terraform".
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025954Solution: Detect the type from the file contents. (closes #9642)
25955Files: runtime/filetype.vim, runtime/autoload/dist/ft.vim,
25956 src/testdir/test_filetype.vim
25957
25958Patch 8.2.4239
25959Problem: Build fails with unusual configuration.
25960Solution: Adjust #ifdef. (closes #9651)
25961Files: src/testing.c
25962
25963Patch 8.2.4240
25964Problem: Error for using flatten() in Vim9 script is unclear.
25965Solution: Add a remark to use flattennew().
25966Files: src/errors.h
25967
25968Patch 8.2.4241
25969Problem: Some type casts are redundant.
25970Solution: Remove the type casts. (closes #9643)
25971Files: src/blob.c, src/buffer.c, src/channel.c, src/clientserver.c,
25972 src/clipboard.c, src/drawline.c, src/drawscreen.c, src/edit.c,
25973 src/evalfunc.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_eval.c,
25974 src/fold.c, src/if_cscope.c, src/json.c, src/match.c,
25975 src/memline.c, src/message.c, src/misc1.c, src/normal.c,
25976 src/ops.c, src/option.c, src/optionstr.c, src/os_unix.c,
25977 src/register.c, src/sign.c, src/spellfile.c, src/tag.c, src/ui.c,
25978 src/undo.c, src/window.c
25979
25980Patch 8.2.4242
25981Problem: Put in Visual mode cannot be repeated.
25982Solution: Use "P" to put without yanking the deleted text into the unnamed
25983 register. (Shougo Matsushita, closes #9591)
25984Files: runtime/doc/visual.txt, src/normal.c, src/register.c,
25985 src/testdir/test_visual.vim
25986
25987Patch 8.2.4243
25988Problem: Lua tests fail with Lua 5.4.4.
25989Solution: Check messages like before Lua 5.4.3. (Jakub Kulík, closes #9652)
25990Files: src/testdir/test_lua.vim
25991
25992Patch 8.2.4244
25993Problem: MS-Windows: warning from MSVC on debug build.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025994Solution: Adjust "/opt" options. Remove unused variables. Make variables
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025995 uppercase for consistency. (Ken Takata, closes #9647)
25996Files: src/Make_mvc.mak
25997
25998Patch 8.2.4245
25999Problem: ":retab 0" may cause illegal memory access.
26000Solution: Limit the value of 'tabstop' to 10000.
26001Files: src/option.c, src/vim.h, src/indent.c,
26002 src/testdir/test_options.vim
26003
26004Patch 8.2.4246
26005Problem: One error message not in errors.h. (Antonio Colombo)
26006Solution: Move the message and rename.
26007Files: src/errors.h, src/if_perl.xs
26008
26009Patch 8.2.4247
26010Problem: Stack corruption when looking for spell suggestions.
26011Solution: Prevent the depth increased too much. Add a five second time
26012 limit to finding suggestions.
26013Files: src/spellsuggest.c, src/testdir/test_spell.vim
26014
26015Patch 8.2.4248
26016Problem: No proper test for moving the window separator.
26017Solution: Add a test. Add comment in code. (closes #9656)
26018Files: src/window.c, src/testdir/test_window_cmd.vim
26019
26020Patch 8.2.4249
26021Problem: The timeout limit for spell suggestions is always 5000 milli
26022 seconds.
26023Solution: Add the "timeout" entry to 'spellsuggest'.
26024Files: runtime/doc/options.txt, src/spellsuggest.c,
26025 src/testdir/test_spell.vim
26026
26027Patch 8.2.4250
26028Problem: Channel out callback test is flaky on Mac.
26029Solution: Assign high priority to the test process. (Ozaki Kiichi,
26030 closes #9653)
26031Files: src/testdir/test_channel_pipe.py, src/testdir/thread_util.py
26032
26033Patch 8.2.4251
26034Problem: Vala files are not recognized.
26035Solution: Add the *.vala pattern. (closes #9654)
26036Files: runtime/filetype.vim, src/testdir/test_filetype.vim
26037
26038Patch 8.2.4252
26039Problem: Generating the normal command table at runtime is inefficient.
26040Solution: Generate the table with a Vim script and put it in a header file.
26041 (Yegappan Lakshmanan, closes #9648)
26042Files: Filelist, runtime/doc/builtin.txt, runtime/doc/usr_41.txt,
26043 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms,
26044 src/Makefile, src/create_nvcmdidxs.vim, src/evalfunc.c,
26045 src/main.c, src/normal.c, src/nv_cmdidxs.h, src/proto/normal.pro
26046
26047Patch 8.2.4253
26048Problem: Using freed memory when substitute uses a recursive function call.
26049Solution: Make a copy of the substitute text.
26050Files: src/ex_cmds.c, src/testdir/test_substitute.vim
26051
26052Patch 8.2.4254
26053Problem: Using short instead of int.
26054Solution: Use int. (closes #9658)
26055Files: src/if_cscope.c
26056
26057Patch 8.2.4255
26058Problem: Theoretical computation overflow.
26059Solution: Perform multiplication in a wider type. (closes #9657)
26060Files: src/alloc.c, src/drawline.c, src/eval.c, src/evalfunc.c,
26061 src/ex_docmd.c, src/hardcopy.c, src/list.c, src/memfile.c,
26062 src/memline.c, src/popupwin.c
26063
26064Patch 8.2.4256
26065Problem: MS-Windows: compiler warnings when compiled with /W4.
26066Solution: Small adjustments to the code. (Ken Takata, closes #9659)
26067Files: src/gui_w32.c, src/os_win32.c
26068
26069Patch 8.2.4257
26070Problem: Vim9: finding global function without g: prefix but not finding
26071 global variable is inconsistent.
26072Solution: Require using g: for a global function. Change the vim9.vim
26073 script into a Vim9 script with exports. Fix that import in legacy
26074 script does not work.
26075Files: src/vim9expr.c, src/evalfunc.c, src/eval.c, src/userfunc.c,
26076 src/testdir/vim9.vim, src/testdir/test_vim9_assign.vim,
26077 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
26078 src/testdir/test_vim9_disassemble.vim,
26079 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
26080 src/testdir/test_vim9_import.vim,
26081 src/testdir/test_vim9_script.vim, src/testdir/test_blob.vim,
26082 src/testdir/test_execute_func.vim, src/testdir/test_debugger.vim,
26083 src/testdir/test_expr.vim, src/testdir/test_filter_map.vim,
26084 src/testdir/test_float_func.vim, src/testdir/test_functions.vim,
26085 src/testdir/test_glob2regpat.vim, src/testdir/test_highlight.vim,
26086 src/testdir/test_iminsert.vim, src/testdir/test_ins_complete.vim,
26087 src/testdir/test_listdict.vim, src/testdir/test_mapping.vim,
26088 src/testdir/test_normal.vim, src/testdir/test_popupwin.vim,
26089 src/testdir/test_profile.vim, src/testdir/test_quickfix.vim,
26090 src/testdir/test_tagfunc.vim, src/testdir/test_textprop.vim,
26091 src/testdir/test_usercommands.vim
26092
26093Patch 8.2.4258
26094Problem: Coverity warns for array overrun.
26095Solution: Restrict depth to MAXWLEN - 1.
26096Files: src/spellsuggest.c
26097
26098Patch 8.2.4259
26099Problem: Number of test functions for GUI events is growing.
26100Solution: Use one function with a dictionary. (Yegappan Lakshmanan,
26101 closes #9660)
26102Files: runtime/doc/builtin.txt, runtime/doc/testing.txt,
26103 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/testing.pro,
26104 src/testdir/test_gui.vim, src/testdir/test_vim9_builtin.vim,
26105 src/testing.c
26106
26107Patch 8.2.4260
26108Problem: Vim9: can still use a global function without g: at the script
26109 level.
26110Solution: Also check for g: at the script level. (issue #9637)
26111Files: src/userfunc.c, src/proto/userfunc.pro, src/evalvars.c,
26112 src/vim9expr.c, src/testdir/test_vim9_assign.vim,
26113 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
26114 src/testdir/test_vim9_disassemble.vim,
26115 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
26116 src/testdir/test_vim9_import.vim,
26117 src/testdir/test_ins_complete.vim, src/testdir/test_popupwin.vim,
26118 src/testdir/dumps/Test_popupwin_scroll_11.dump,
26119 src/testdir/dumps/Test_popupwin_scroll_12.dump
26120
26121Patch 8.2.4261
26122Problem: Accessing invalid memory when a regular expression checks the
26123 Visual area while matching in a string.
26124Solution: Do not try matching the Visual area in a string.
26125Files: src/regexp.c, src/testdir/test_help.vim
26126
26127Patch 8.2.4262 (after 8.2.4261)
26128Problem: Some search tests fail.
26129Solution: Use a better way to reject searching for the Visual area.
26130Files: src/regexp.c
26131
26132Patch 8.2.4263
26133Problem: No test for the GUI find/replace dialog.
26134Solution: Add a test function and a test. (Yegappan Lakshmanan,
26135 closes #9662)
26136Files: runtime/doc/testing.txt, src/testdir/test_gui.vim, src/testing.c
26137
26138Patch 8.2.4264
26139Problem: Vim9: can use old style autoload function name.
26140Solution: Give an error for old style autoload function name.
26141Files: src/errors.h, src/userfunc.c, src/testdir/test_vim9_import.vim,
26142 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
26143
26144Patch 8.2.4265 (after 8.2.4264)
26145Problem: Autoload tests fails.
26146Solution: Use export instead of name with #.
26147Files: src/testdir/sautest/autoload/auto9.vim,
Bram Moolenaar47c532e2022-03-19 15:18:53 +000026148 src/testdir/test_autoload.vim, src/testdir/test_ins_complete.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +000026149
26150Patch 8.2.4266
26151Problem: Compiler warning for uninitialized variable.
26152Solution: Initialize saved_did_emsg.
26153Files: src/userfunc.c
26154
26155Patch 8.2.4267
26156Problem: Unused entry in keymap enum.
26157Solution: Remove the entry.
26158Files: src/keymap.h
26159
26160Patch 8.2.4268
26161Problem: CI log output is long.
26162Solution: Group output in sections. (Ozaki Kiichi, closes #9670)
26163Files: .github/workflows/ci.yml
26164
26165Patch 8.2.4269
26166Problem: Coverity warns for using a NULL pointer.
26167Solution: Check for "name" to not be NULL.
26168Files: src/userfunc.c
26169
26170Patch 8.2.4270
26171Problem: Generating nv_cmdidxs.h requires building Vim twice.
26172Solution: Move the table into a separate file and use a separate executable
26173 to extract the command characters. (Ozaki Kiichi, closes #9669)
26174Files: src/normal.c, src/nv_cmds.h, Filelist, runtime/doc/builtin.txt,
26175 runtime/doc/usr_41.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak,
26176 src/Make_vms.mms, src/Makefile, src/create_nvcmdidxs.c,
26177 src/create_nvcmdidxs.vim, src/evalfunc.c, src/proto/normal.pro
26178
26179Patch 8.2.4271
26180Problem: MS-Windows: cannot build with Ruby 3.1.0.
26181Solution: Adjust the DLL name and include directory. (Ken Takata,
26182 closes #9666)
26183Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
26184
26185Patch 8.2.4272
26186Problem: Vim9 expr test fails without the channel feature. (Dominique
26187 Pellé)
26188Solution: Remove "g:" before "CheckFeature". (closes #9671)
26189Files: src/testdir/test_vim9_expr.vim
26190
26191Patch 8.2.4273
26192Problem: The EBCDIC support is outdated.
26193Solution: Remove the EBCDIC support.
26194Files: src/ascii.h, src/charset.c, src/cindent.c, src/digraph.c,
26195 src/edit.c, src/eval.c, src/evalfunc.c, src/ex_cmds.c,
26196 src/feature.h, src/filepath.c, src/findfile.c, src/getchar.c,
26197 src/gui.c, src/gui_motif.c, src/hardcopy.c, src/help.c,
26198 src/macros.h, src/map.c, src/mark.c, src/misc2.c, src/normal.c,
26199 src/ops.c, src/option.c, src/option.h, src/optiondefs.h,
26200 src/os_unix.c, src/proto/evalfunc.pro, src/regexp.c,
26201 src/regexp_bt.c, src/regexp_nfa.c, src/register.c, src/screen.c,
26202 src/spell.c, src/strings.c, src/structs.h, src/term.c,
26203 src/version.c, src/viminfo.c, src/testdir/test_edit.vim,
26204 src/testdir/test_exec_while_if.vim, src/testdir/test_expr.vim,
26205 src/testdir/test_gf.vim, src/testdir/test_regexp_utf8.vim
26206
26207Patch 8.2.4274
26208Problem: Basic and form filetype detection is incomplete.
26209Solution: Add a separate function for .frm files. (Doug Kearns, closes #9675)
26210Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
26211 src/testdir/test_filetype.vim
26212
26213Patch 8.2.4275
26214Problem: Cannot use an autoload function from a package under start.
26215Solution: Also look in the "start" package directory. (Bjorn Linse,
26216 closes #7193)
26217Files: src/scriptfile.c, src/testdir/test_packadd.vim
26218
26219Patch 8.2.4276
26220Problem: Separate test function for the GUI scrollbar.
26221Solution: Use test_gui_event(). (Yegappan Lakshmanan, closes #9674)
26222Files: runtime/doc/builtin.txt, runtime/doc/testing.txt,
26223 runtime/doc/usr_41.txt, src/evalfunc.c, src/testing.c,
26224 src/proto/testing.pro, src/testdir/test_gui.vim,
26225 src/testdir/test_vim9_builtin.vim
26226
26227Patch 8.2.4277
26228Problem: Vim9: an import does not shadow a command modifier.
26229Solution: Do not accept a command modifier followed by a dot.
26230Files: src/ex_docmd.c, src/testdir/test_vim9_import.vim
26231
26232Patch 8.2.4278
26233Problem: Build with Athena GUI fails. (Elimar Riesebieter)
26234Solution: Add #ifdef.
26235Files: src/testing.c
26236
26237Patch 8.2.4279
26238Problem: Vim9: cannot change item type with map() after range().
26239Solution: Split the return type in current type and declared type.
26240 (closes #9665)
26241Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9instr.c,
26242 src/vim9type.c, src/proto/vim9type.pro,
26243 src/testdir/test_vim9_builtin.vim
26244
26245Patch 8.2.4280 (after 8.2.4279)
26246Problem: list-dict test crashes.
26247Solution: Check declared type for add().
26248Files: src/vim9expr.vim
26249
26250Patch 8.2.4281
26251Problem: Using freed memory with :lopen and :bwipe.
26252Solution: Do not use a wiped out buffer.
26253Files: src/buffer.c, src/testdir/test_quickfix.vim
26254
26255Patch 8.2.4282
26256Problem: Restricted mode requires the -Z command line option.
26257Solution: Use restricted mode when $SHELL ends in "nologin" or "false".
26258 (closes #9681)
26259Files: runtime/doc/starting.txt, src/option.c,
26260 src/testdir/test_restricted.vim
26261
26262Patch 8.2.4283
26263Problem: Using a variable for the return value is not needed.
26264Solution: Return the value directly. (closes #9687)
26265Files: src/ex_docmd.c, src/misc2.c
26266
26267Patch 8.2.4284
26268Problem: Old mac resources files are no longer used.
26269Solution: Delete the unused files. (Ozaki Kiichi, closes #9688)
26270Files: Filelist, src/Makefile, src/dehqx.py, src/infplist.xml,
26271 src/os_mac.rsr.hqx, src/os_mac_rsrc/app.icns,
26272 src/os_mac_rsrc/doc-txt.icns, src/os_mac_rsrc/doc.icns
26273
26274Patch 8.2.4285
26275Problem: Vim9: type of item in for loop not checked properly.
26276Solution: Adjust the type checking. (closes #9683)
26277Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9cmds.c,
26278 src/testdir/test_vim9_script.vim
26279
26280Patch 8.2.4286
26281Problem: Vim9: strict type checking after copy() and deepcopy().
26282Solution: Allow type to change after making a copy. (closes #9644)
26283Files: src/eval.c, src/proto/eval.pro, src/dict.c, src/proto/dict.pro,
26284 src/list.c, src/proto/list.pro, src/evalfunc.c, src/vim9execute.c,
26285 src/vim9type.c, src/proto/vim9type.pro, src/evalvars.c,
26286 src/testdir/test_vim9_builtin.vim,
26287 src/testdir/test_vim9_assign.vim
26288
26289Patch 8.2.4287
26290Problem: Cannot assign empty list with any list type to variable with
26291 specific list type.
26292Solution: Use unknown list type for empty list if the specified type is any.
26293Files: src/vim9type.c, src/testdir/test_vim9_assign.vim,
26294 src/testdir/test_vim9_func.vim
26295
26296Patch 8.2.4288
26297Problem: Preprocessor indents are inconsistent.
26298Solution: Fix preprocessor indents. (Ken Takata, closes #9691)
26299Files: src/arglist.c, src/change.c, src/ex_cmds.c, src/gui.c,
26300 src/hashtab.c, src/indent.c, src/ops.c, src/os_win32.c
26301
26302Patch 8.2.4289
26303Problem: Warnings reported by MSVC.
26304Solution: Rename variables and other fixes. (Ken Takata, closes #9689)
26305Files: src/cmdexpand.c, src/drawscreen.c, src/filepath.c, src/getchar.c,
26306 src/menu.c, src/os_win32.c, src/version.c
26307
26308Patch 8.2.4290
26309Problem: MS-Windows: using type casts for timer IDs.
26310Solution: Remove type casts and use the right type. (Ken Takata,
26311 closes #9690) Remove old debug comments. Rename variables and
26312 functions.
26313Files: src/gui_w32.c
26314
26315Patch 8.2.4291
26316Problem: Error number used twice.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000026317Solution: Renumber the errors.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000026318Files: src/errors.h
26319
26320Patch 8.2.4292 (after 8.2.4291)
26321Problem: Test fails.
26322Solution: Adjust the expected error number.
26323Files: src/testdir/test_vim9_cmd.vim
26324
26325Patch 8.2.4293
26326Problem: Vim9: when copying a list it gets type list<any> even when the
26327 original list did not have a type.
26328Solution: Only set the type when the original list has a type. (closes #9692)
26329Files: src/list.c, src/testdir/test_vim9_expr.vim
26330
26331Patch 8.2.4294
26332Problem: MS-Windows: #ifdefs for Cygwin are too complicated.
26333Solution: Simplify the conditions. (Ken Takata, closes #9693)
26334Files: src/evalfunc.c, src/main.c, src/os_unix.c, src/os_win32.c,
26335 src/os_win32.h
26336
26337Patch 8.2.4295
26338Problem: Vim9: concatenating two lists may result in wrong type.
26339Solution: Remove the type instead of using list<any>. (closes #9692)
26340Files: src/list.c, src/testdir/test_vim9_expr.vim
26341
26342Patch 8.2.4296
26343Problem: Vim9: not all code covered by tests.
26344Solution: Add a few more tests for corner cases. Fix hang when single quote
26345 is missing.
26346Files: src/vim9expr.c, src/testdir/test_vim9_assign.vim,
26347 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_expr.vim
26348
26349Patch 8.2.4297
26350Problem: Vim9: not all code covered by tests.
26351Solution: Add a couple more tests.
26352Files: src/testdir/test_vim9_script.vim,
26353 src/testdir/test_vim9_disassemble.vim
26354
26355Patch 8.2.4298
26356Problem: Divide by zero with huge tabstop value.
26357Solution: Reject tabstop value that overflows to zero.
26358Files: src/indent.c, src/testdir/test_vartabs.vim
26359
26360Patch 8.2.4299
26361Problem: SafeState autocommand interferes with debugging.
26362Solution: Do not trigger SafeState while debugging. (closes #9697)
26363Files: src/main.c
26364
26365Patch 8.2.4300 (after 8.2.4299)
26366Problem: Cannot build tiny version. (Tony Mechelynck)
26367Solution: Add #ifdef.
26368Files: src/main.c
26369
26370Patch 8.2.4301
26371Problem: Vim9: type error for copy of dict.
26372Solution: Do not use dict<any> but no type. (closes #9696)
26373Files: src/dict.c, src/testdir/test_vim9_builtin.vim
26374
26375Patch 8.2.4302
26376Problem: Vim9: return type of getline() is too strict.
26377Solution: Make the declared type list<any>. Also do this for other
26378 functions returning a list of a specific type.
26379Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
26380
26381Patch 8.2.4303
26382Problem: A few messages should not be translated.
26383Solution: Remove _(). (Dominique Pellé, closes #9702)
26384Files: src/syntax.c
26385
26386Patch 8.2.4304
26387Problem: Vim9: slice() makes a copy but doesn't change the type.
26388Solution: Change the declared type like copy(). (closes #9696)
26389Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
26390
26391Patch 8.2.4305
26392Problem: Tex filetype detection fails.
26393Solution: Check value to be positive. (closes #9704)
26394Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim
26395
26396Patch 8.2.4306
26397Problem: No test for fixed perl filetype check.
26398Solution: Add a test. Sort test functions.
26399Files: src/testdir/test_filetype.vim
26400
26401Patch 8.2.4307
26402Problem: A few more messages should not be translated.
26403Solution: Remove _().
26404Files: src/syntax.c
26405
26406Patch 8.2.4308
26407Problem: Vim9: cannot list autoload function.
26408Solution: Don't give an error for using # when listing a function.
26409 (closes #9703)
26410Files: src/userfunc.c, src/testdir/test_vim9_import.vim
26411
26412Patch 8.2.4309
26413Problem: Vim9: crash when using a partial in the wrong context.
26414Solution: Don't use an NULL outer pointer. (closes #9706)
26415Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
26416
26417Patch 8.2.4310
26418Problem: Vim9: constant list and dict get a declaration type other than
26419 "any".
26420Solution: A constant list and dict have a declared member type "any".
26421 (closes #9701)
26422Files: src/vim9instr.c, src/vim9type.c, src/proto/vim9type.pro,
26423 src/testdir/test_vim9_builtin.vim
26424
26425Patch 8.2.4311
26426Problem: Vim9: changing script variable type not caught at compile time.
26427Solution: Set the declared type.
26428Files: src/vim9instr.c, src/testdir/test_vim9_assign.vim
26429
26430Patch 8.2.4312
26431Problem: No error for using :vim9script in a :def function.
26432Solution: Give an error when compiling.
26433Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
26434
26435Patch 8.2.4313
26436Problem: Vim9: cannot change type of list after making a slice.
26437Solution: Adjust the declared member type. (closes #9696)
26438Files: src/vim9expr.c, src/testdir/test_vim9_builtin.vim
26439
26440Patch 8.2.4314 (after 8.2.4312)
26441Problem: Test fails where lines are skipped.
26442Solution: Only give an error when not skipping commands.
26443Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
26444
26445Patch 8.2.4315
26446Problem: Put in Visual mode not fully tested.
26447Solution: Add a few more test cases. (closes #9708)
26448Files: src/testdir/test_visual.vim
26449
26450Patch 8.2.4316
26451Problem: __CYGWIN32__ is not defined on 64 bit systems.
26452Solution: Update #ifdefs. (Ken Takata, closes #9709)
26453Files: src/main.c, src/os_unix.c, src/pty.c, src/vim.h
26454
26455Patch 8.2.4317
26456Problem: MS-Windows: Vim exits when Python 3 initialisation fails.
26457Solution: Hook into the exit() function to recover from the failure.
26458 (Ken Takata, closes #9710)
26459Files: runtime/doc/if_pyth.txt, src/if_python3.c, src/os_win32.c,
26460 src/errors.h, src/proto/os_win32.pro
26461
26462Patch 8.2.4318
26463Problem: Various comment and indent mistakes, returning wrong zero.
26464Solution: Fix the mistakes. Return NULL instead of FAIL.
26465Files: src/clientserver.c, src/eval.c, src/evalvars.c, src/vim9cmds.c,
26466 src/window.c
26467
26468Patch 8.2.4319
26469Problem: :put does not work properly in compiled function. (John Beckett)
26470Solution: Adjust the direction when using line zero.
26471Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
26472
26473Patch 8.2.4320
26474Problem: Athena and Motif: when maximized scrollbar position is wrong.
26475Solution: Implement the scrollbar padding functions. (closes #9712)
26476Files: src/gui_athena.c, src/gui_motif.c
26477
26478Patch 8.2.4321
26479Problem: Vim9: crash when using a funcref to a closure.
26480Solution: Copy pt_outer to the new partial. (closes #9714)
26481Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
26482
26483Patch 8.2.4322
26484Problem: Vim9: crash when using funcref with closure.
26485Solution: Keep a reference to the funcref that has the outer context.
26486 (closes #9716)
26487Files: src/evalfunc.c, src/structs.h, src/eval.c, src/vim9execute.c,
26488 src/testdir/test_vim9_func.vim
26489
26490Patch 8.2.4323
26491Problem: Vim9: nested function name can start with "_".
26492Solution: Use same rule for function name for nested functions.
26493 (closes #9713)
26494Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
26495
26496Patch 8.2.4324
26497Problem: Vim9: script-local function name can start with "_".
26498Solution: Check for leading capital after "s:". Correct error message.
26499Files: src/userfunc.c, src/errors.h, src/vim9compile.c,
26500 src/testdir/test_vim9_func.vim
26501
26502Patch 8.2.4325
26503Problem: 'wildmenu' only shows few matches.
26504Solution: Add the "pum" option: use a popup menu to show the matches.
26505 (Yegappan Lakshmanan et al., closes #9707)
26506Files: runtime/doc/options.txt, src/vim.h, src/cmdexpand.c,
26507 src/drawscreen.c, src/evalfunc.c, src/ex_getln.c, src/option.h,
26508 src/optionstr.c, src/popupmenu.c, src/proto/cmdexpand.pro,
26509 src/testdir/test_cmdline.vim,
26510 src/testdir/dumps/Test_wildmenu_pum_01.dump,
26511 src/testdir/dumps/Test_wildmenu_pum_02.dump,
26512 src/testdir/dumps/Test_wildmenu_pum_03.dump,
26513 src/testdir/dumps/Test_wildmenu_pum_04.dump,
26514 src/testdir/dumps/Test_wildmenu_pum_05.dump,
26515 src/testdir/dumps/Test_wildmenu_pum_06.dump,
26516 src/testdir/dumps/Test_wildmenu_pum_07.dump,
26517 src/testdir/dumps/Test_wildmenu_pum_08.dump,
26518 src/testdir/dumps/Test_wildmenu_pum_09.dump,
26519 src/testdir/dumps/Test_wildmenu_pum_10.dump,
26520 src/testdir/dumps/Test_wildmenu_pum_11.dump,
26521 src/testdir/dumps/Test_wildmenu_pum_12.dump,
26522 src/testdir/dumps/Test_wildmenu_pum_13.dump,
26523 src/testdir/dumps/Test_wildmenu_pum_14.dump,
26524 src/testdir/dumps/Test_wildmenu_pum_15.dump,
26525 src/testdir/dumps/Test_wildmenu_pum_16.dump,
26526 src/testdir/dumps/Test_wildmenu_pum_17.dump,
26527 src/testdir/dumps/Test_wildmenu_pum_18.dump,
26528 src/testdir/dumps/Test_wildmenu_pum_19.dump,
26529 src/testdir/dumps/Test_wildmenu_pum_20.dump,
26530 src/testdir/dumps/Test_wildmenu_pum_21.dump,
26531 src/testdir/dumps/Test_wildmenu_pum_22.dump,
26532 src/testdir/dumps/Test_wildmenu_pum_23.dump,
26533 src/testdir/dumps/Test_wildmenu_pum_24.dump,
26534 src/testdir/dumps/Test_wildmenu_pum_25.dump,
26535 src/testdir/dumps/Test_wildmenu_pum_26.dump,
26536 src/testdir/dumps/Test_wildmenu_pum_27.dump,
26537 src/testdir/dumps/Test_wildmenu_pum_28.dump,
26538 src/testdir/dumps/Test_wildmenu_pum_29.dump
26539
26540Patch 8.2.4326
26541Problem: "o" and "O" copying comment not sufficiently tested.
26542Solution: Add a test case. (closes #9718)
26543Files: src/testdir/test_textformat.vim
26544
26545Patch 8.2.4327
26546Problem: May end up with no current buffer.
26547Solution: When deleting the current buffer to not pick a quickfix buffer as
26548 the new current buffer.
26549Files: src/buffer.c, src/testdir/test_quickfix.vim
26550
26551Patch 8.2.4328
Bram Moolenaar1588bc82022-03-08 21:35:07 +000026552Problem: Command line complete matches cleared when typing character.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000026553 (Dominique Pellé)
26554Solution: Only remove a popup menu if there is one.
26555Files: src/ex_getln.c, src/testdir/test_cmdline.vim,
26556 src/testdir/dumps/Test_wildmenu_pum_30.dump,
26557 src/testdir/dumps/Test_wildmenu_pum_31.dump
26558
26559Patch 8.2.4329
26560Problem: No support for end line number and column in 'errorformat'.
26561Solution: Add %e and %k. (closes #9624)
26562Files: runtime/doc/quickfix.txt, src/quickfix.c,
26563 src/testdir/test_quickfix.vim
26564
26565Patch 8.2.4330
26566Problem: Vim9: no error if script imports itself.
26567Solution: Give an error when a script imports itself.
26568Files: src/vim9script.c, src/errors.h, src/testdir/test_vim9_import.vim
26569
26570Patch 8.2.4331
26571Problem: Vim9: no test for existing script variable in block.
26572Solution: Add a test.
26573Files: src/testdir/test_vim9_func.vim
26574
26575Patch 8.2.4332
26576Problem: Vim9: incomplete test for existing script variable in block.
26577Solution: Add a couple more tests. Fix uncovered problem.
26578Files: src/userfunc.c, src/vim9compile.c, src/proto/vim9compile.pro,
26579 src/vim9script.c, src/vim9expr.c, src/testdir/test_vim9_func.vim
26580
26581Patch 8.2.4333
26582Problem: cstack not always passed to where it is needed.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000026583Solution: Pass cstack through functions.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000026584Files: src/eval.c, src/vim9expr.c, src/vim9script.c,
26585 src/proto/vim9script.pro, src/vim9compile.c,
26586 src/proto/vim9compile.pro
26587
26588Patch 8.2.4334
26589Problem: Command line popup menu not positioned correctly.
26590Solution: Also use vim_strsize() on the existing text. (Naruhiko Nishino,
26591 closes #9727)
26592Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
26593 src/testdir/dumps/Test_wildmenu_pum_32.dump
26594
26595Patch 8.2.4335
26596Problem: No autocommand event triggered before changing directory. (Ronnie
26597 Magatti)
26598Solution: Add DirChangedPre. (closes #9721)
26599Files: runtime/doc/autocmd.txt, src/ex_docmd.c, src/proto/ex_docmd.pro,
26600 src/vim.h, src/autocmd.c, src/misc2.c,
26601 src/testdir/test_autocmd.vim
26602
26603Patch 8.2.4336
26604Problem: Using :filter for :scriptnames does not work. (Ben Jackson)
26605Solution: Call message_filtered(). (closes #9720)
26606Files: src/scriptfile.c, src/testdir/test_filter_cmd.vim
26607
26608Patch 8.2.4337
26609Problem: Part of condition is always true.
26610Solution: Remove that part of the condition. (closes #9729)
26611Files: src/filepath.c
26612
26613Patch 8.2.4338
26614Problem: An error from an expression mapping messes up the display.
26615Solution: When the expression results in an empty string return K_IGNORE.
26616 In cmdline mode redraw the command line. (closes #9726)
26617Files: src/getchar.c, src/testdir/test_mapping.vim,
26618 src/testdir/dumps/Test_map_expr_2.dump,
26619 src/testdir/dumps/Test_map_expr_3.dump,
26620 src/testdir/dumps/Test_map_expr_4.dump
26621
26622Patch 8.2.4339
26623Problem: CTRL-A does not work properly with the cmdline popup menu.
26624Solution: Fix issues with CTRL-A. Add more tests for the cmdline popup
26625 menu. Remove TermWait() before VeriryScreenDump(). Refactor the
26626 cmdline popup code. (Yegappan Lakshmanan, closes #9735)
26627Files: src/cmdexpand.c, src/ex_getln.c, src/popupmenu.c,
26628 src/testdir/screendump.vim, src/testdir/test_bufline.vim,
26629 src/testdir/test_cmdline.vim, src/testdir/test_conceal.vim,
26630 src/testdir/test_cursorline.vim, src/testdir/test_diffmode.vim,
26631 src/testdir/test_display.vim, src/testdir/test_highlight.vim,
26632 src/testdir/test_match.vim, src/testdir/test_popup.vim,
26633 src/testdir/test_search_stat.vim, src/testdir/test_terminal.vim,
26634 src/testdir/test_textprop.vim,
26635 src/testdir/dumps/Test_wildmenu_pum_33.dump,
26636 src/testdir/dumps/Test_wildmenu_pum_34.dump,
26637 src/testdir/dumps/Test_wildmenu_pum_35.dump,
26638 src/testdir/dumps/Test_wildmenu_pum_36.dump,
26639 src/testdir/dumps/Test_wildmenu_pum_37.dump
26640
26641Patch 8.2.4340
26642Problem: Amiga: mch_can_exe() is not implemented.
26643Solution: Implement mch_can_exe() for Amiga OS 4. (Ola Söder, closes #9731)
26644Files: src/os_amiga.c
26645
26646Patch 8.2.4341
26647Problem: Command line not redrawn when finishing popup menu and the screen
26648 has scrolled up.
26649Solution: Redraw the command line after updating the screen. (closes #9722)
26650Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
26651 src/testdir/dumps/Test_wildmenu_pum_38.dump
26652
26653Patch 8.2.4342
26654Problem: CI will soon switch to other windows version.
26655Solution: Use "windows-2019" instead of "windows-latest". (Ozaki Kiichi,
26656 closes #9740)
26657Files: .github/workflows/ci.yml
26658
26659Patch 8.2.4343
26660Problem: When reloading not all properties are detected.
26661Solution: Add the "edit" value to v:fcs_choice. (Rob Pilling, closes #9579)
26662Files: runtime/doc/editing.txt, runtime/doc/eval.txt, src/fileio.c,
26663 src/proto/fileio.pro, src/message.c, src/spellfile.c,
26664 src/testdir/test_filechanged.vim
26665
26666Patch 8.2.4344
26667Problem: Amiga: header file included twice.
26668Solution: Remove #include. (Ola Söder, closes #9733)
26669Files: src/memfile.c
26670
26671Patch 8.2.4345
26672Problem: <amatch> is expanded like a file name for DirChangedPre.
26673Solution: Do not expand <amatch>. (closes #9742) Also for the User event.
26674Files: src/autocmd.c, src/testdir/test_autocmd.vim
26675
26676Patch 8.2.4346
26677Problem: A custom statusline may cause Esc to work like Enter on the
26678 command line when the popup menu is displayed.
26679Solution: Save and restore KeyTyped. (closes #9749)
26680Files: src/drawscreen.c, src/testdir/test_cmdline.vim,
26681 src/testdir/dumps/Test_wildmenu_pum_39.dump
26682
26683Patch 8.2.4347
26684Problem: In some build setups UNUSED is not defined.
26685Solution: Change the logic of how UNUSED is defined. (Ola Söder,
26686 closes #9734)
26687Files: src/vim.h
26688
26689Patch 8.2.4348
26690Problem: "legacy exe cmd" does not do what one would expect.
26691Solution: Apply the "legacy" and "vim9script" command modifiers to the
26692 argument of ":execute".
26693Files: runtime/doc/vim9.txt, src/globals.h, src/eval.c, src/ex_docmd.c,
26694 src/testdir/test_vim9_cmd.vim
26695
26696Patch 8.2.4349
26697Problem: FileChangedShell test fails on MS-Windows.
26698Solution: Skip the test on MS-Windows.
26699Files: src/testdir/test_filechanged.vim
26700
26701Patch 8.2.4350
26702Problem: FEAT_GUI_ENABLED defined but never used.
26703Solution: Remove the #define. (Ola Söder, closes #9732)
26704Files: src/vim.h
26705
26706Patch 8.2.4351
26707Problem: No coverage is measured on MS-Windows CI.
26708Solution: Enable coverage on MS-Windows. (Ozaki Kiichi, closes #9750)
26709Files: .github/workflows/ci.yml
26710
26711Patch 8.2.4352
26712Problem: ReScript files are not recognized.
26713Solution: Add the *.res and *.resi patterns. (Ananda Umamil, closes #9752)
26714Files: runtime/filetype.vim, src/testdir/test_filetype.vim
26715
26716Patch 8.2.4353
26717Problem: CI does not use the latest Lua and Python.
26718Solution: Use Lua 5.4.2 and Python 3.10. (closes #9744)
26719Files: .github/workflows/ci.yml
26720
26721Patch 8.2.4354
26722Problem: Dynamic loading of libsodium not handled properly.
26723Solution: Fix has() and :version. Show an error message when loading fails.
26724 Fix memory leaks. (Ken Takata, closes #9754)
26725Files: src/crypt.c, src/evalfunc.c, src/gui_dwrite.cpp, src/if_cscope.c,
26726 src/os_win32.c, src/proto/crypt.pro, src/proto/os_win32.pro,
26727 src/version.c
26728
26729Patch 8.2.4355
26730Problem: Unnecessary call to check_colorcolumn().
26731Solution: Remove the call. (Sean Dewar, closes #9748)
26732Files: src/option.c, src/window.c
26733
26734Patch 8.2.4356
26735Problem: Command line completion functions are very long.
26736Solution: Refactor into multiple functions. (Yegappan Lakshmanan,
26737 closes #9753)
26738Files: src/cmdexpand.c
26739
26740Patch 8.2.4357 (after 8.2.4348)
26741Problem: sticky command modifiers are too sticky.
26742Solution: Do not apply command modifiers to a sourced script. (closes #9751)
26743Files: src/scriptfile.c, src/testdir/test_vim9_cmd.vim
26744
26745Patch 8.2.4358
26746Problem: Vim9: line number of exception is not set.
26747Solution: Set the line number before throwing an exception. (closes #9755)
26748Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
26749
26750Patch 8.2.4359
26751Problem: crash when repeatedly using :retab.
26752Solution: Bail out when the line is getting too long.
26753Files: src/indent.c, src/testdir/test_retab.vim
26754
26755Patch 8.2.4360
26756Problem: Vim9: allowing use of "s:" leads to inconsistencies.
26757Solution: Disallow using "s:" in Vim9 script at the script level.
26758Files: src/userfunc.c, src/proto/userfunc.pro, src/errors.h,
26759 src/vim9compile.c, src/eval.c, src/testdir/vim9.vim,
26760 src/testdir/test_vim9_assign.vim,
26761 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
26762 src/testdir/test_vim9_disassemble.vim,
26763 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
26764 src/testdir/test_vim9_import.vim, src/testdir/test_vim9_script.vim
26765
26766Patch 8.2.4361 (after 8.2.4360)
26767Problem: Vim9: some tests fail.
26768Solution: Fix the tests, mostly by removing "s:".
26769Files: src/testdir/test_expr.vim, src/testdir/test_functions.vim,
26770 src/testdir/test_ins_complete.vim, src/testdir/test_normal.vim,
26771 src/testdir/test_tagfunc.vim
26772
26773Patch 8.2.4362
26774Problem: :retab may allocate too much memory.
26775Solution: Bail out when allocating more than MAXCOL bytes.
26776Files: src/indent.c
26777
26778Patch 8.2.4363
26779Problem: MS-Windows: running out of memory for a very long line.
26780Solution: Use a 32 bit value for MAXCOL also when ints are 64 bits.
26781Files: src/vim.h
26782
26783Patch 8.2.4364
26784Problem: MS-Windows: still running out of memory for a very long line.
26785Solution: Check for negative length.
26786Files: src/indent.c
26787
26788Patch 8.2.4365 (after 8.2.4348)
26789Problem: sticky command modifiers are too sticky.
26790Solution: Do not apply command modifiers to a called function. (closes #9751)
26791Files: src/userfunc.c, src/testdir/test_vim9_cmd.vim
26792
26793Patch 8.2.4366
26794Problem: Not enough tests for command line completion.
26795Solution: Add a few more tests. (Yegappan Lakshmanan, closes #9760)
26796Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
26797 src/testdir/test_usercommands.vim
26798
26799Patch 8.2.4367
26800Problem: Calling in_vim9script() multiple times.
26801Solution: Call it once and keep the result.
26802Files: src/userfunc.c, src/eval.c
26803
26804Patch 8.2.4368
26805Problem: Amiga: a few compiler warnings.
26806Solution: Adjust #ifdefs. Add "UNUSED". (Ola Söder, closes #9756,
26807 closes #9757)
26808Files: src/term.c, src/os_amiga.c
26809
26810Patch 8.2.4369
26811Problem: Redundant #ifdef argument.
26812Solution: Remove unused MSWIN. (Ola Söder, closes #9758)
26813Files: src/feature.h
26814
26815Patch 8.2.4370
26816Problem: MS-Windows: libsodium.dll not included with the installer.
26817Solution: Add the file to the installer if it exists. (Christian Brabandt,
26818 closes #9762)
26819Files: nsis/gvim.nsi
26820
26821Patch 8.2.4371
26822Problem: Vim9: can create a script variable from a legacy function.
26823Solution: Disallow creating a script variable from a function.
26824Files: src/evalvars.c, src/errors.h, src/testdir/test_vim9_script.vim
26825
26826Patch 8.2.4372
26827Problem: Filetype detection from file contents is in legacy script.
26828Solution: Use a compiled function for filetype detection.
26829Files: runtime/scripts.vim, runtime/autoload/dist/script.vim
26830
26831Patch 8.2.4373
26832Problem: Expression test fails.
26833Solution: Make the test work with latest Vim9 syntax.
26834Files: src/testdir/test_expr.vim
26835
26836Patch 8.2.4374
26837Problem: Unreachable code.
26838Solution: Remove outdated code lines.
26839Files: src/vim9compile.c
26840
26841Patch 8.2.4375
26842Problem: ctx_imports is not used.
26843Solution: Delete ctx_imports. Add missing dependency.
26844Files: src/vim9.h, src/vim9compile.c, src/proto/vim9compile.pro,
26845 src/eval.c, src/evalfunc.c, src/evalvars.c, src/userfunc.c,
26846 src/vim9expr.c, src/vim9script.c, src/Makefile
26847
26848Patch 8.2.4376
26849Problem: Not enough tests for command line completion.
26850Solution: Add a few more tests. (Yegappan Lakshmanan, closes #9771)
26851Files: src/testdir/test_cmdline.vim, src/testdir/test_usercommands.vim
26852
26853Patch 8.2.4377
26854Problem: CI steps for Windows are a bit unorganized.
26855Solution: Organize CI test steps on Windows. (Ozaki Kiichi, closes #9764)
26856Files: .github/workflows/ci.yml
26857
26858Patch 8.2.4378
26859Problem: Incsearch highlight broken when calling searchcount() in 'tabLine'
26860 function. (Mirko Palmer)
26861Solution: Save and restore the incsearch state. (Christian Brabandt,
26862 closes #9763, closes #9633)
26863Files: src/search.c, src/testdir/test_search_stat.vim,
26864 src/testdir/dumps/Test_searchstat_inc_1.dump,
26865 src/testdir/dumps/Test_searchstat_inc_2.dump,
26866 src/testdir/dumps/Test_searchstat_inc_3.dump
26867
26868Patch 8.2.4379
26869Problem: An empty change is reported to a listener.
26870Solution: Do not report an empty change. (closes #9768) Remove unused
26871 return value.
26872Files: src/undo.c, src/change.c, src/testdir/test_listener.vim
26873
26874Patch 8.2.4380
26875Problem: Small differences between Chinese translation files.
26876Solution: Add rule for converting UTF-8 to gb2312. (closes #9773)
26877Files: src/po/Makefile, src/po/Make_all.mak
26878
26879Patch 8.2.4381 (after 8.2.4380)
26880Problem: Translation file listed twice.
26881Solution: Remove one entry.
26882Files: src/po/Make_all.mak
26883
26884Patch 8.2.4382 (after 8.2.4346)
26885Problem: A custom 'tabline' may cause Esc to work like Enter on the
26886 command line when the popup menu is displayed.
26887Solution: Save and restore KeyTyped. (closes #9776)
26888Files: src/drawscreen.c, src/screen.c, src/testdir/test_cmdline.vim,
26889 src/testdir/dumps/Test_wildmenu_pum_40.dump
26890
26891Patch 8.2.4383
26892Problem: Vim9: unused code lines.
26893Solution: Rely on either "cctx" or "cstack" to not be NULL.
26894Files: src/vim9compile.c
26895
26896Patch 8.2.4384
26897Problem: Vim9: error message not tested, some code not tested.
26898Solution: Add a couple of test cases. Give an error for a command modifier
26899 without a command.
26900Files: src/errors.h, src/vim9compile.c, src/ex_docmd.c,
26901 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_cmd.vim
26902
26903Patch 8.2.4385 (after 8.2.4384)
26904Problem: Cannot build tiny version.
26905Solution: Adjust #ifdefs.
26906Files: src/errors.h
26907
26908Patch 8.2.4386 (after 8.2.4384)
26909Problem: Still cannot build tiny version.
26910Solution: Adjust #ifdefs.
26911Files: src/ex_docmd.c
26912
26913Patch 8.2.4387
26914Problem: Command line completion doesn't always work properly.
26915Solution: Adjust triggering after a "|". Add more tests. (Yegappan
26916 Lakshmanan, closes #9779)
26917Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
26918
26919Patch 8.2.4388
26920Problem: Dead code in op_insert().
26921Solution: Remove condition and else block. (closes #9782)
26922Files: src/ops.c
26923
26924Patch 8.2.4389
26925Problem: screenpos() does not handle a position in a closed fold.
26926Solution: Check if the position is inside a closed fold. (closes #9778)
26927Files: src/move.c, src/testdir/test_cursor_func.vim
26928
26929Patch 8.2.4390
26930Problem: Vim9: list from declaration with inferred type does not set the
26931 type on the value.
26932Solution: When inferring the type in a variable declaration also set the
26933 type of the list or dictionary. (closes #9705) Do not set the
26934 type when the member is "any".
26935Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
26936 src/testdir/test_vim9_builtin.vim,
26937 src/testdir/test_vim9_disassemble.vim
26938
26939Patch 8.2.4391
26940Problem: Command line executed when typing Esc in the GUI.
26941Solution: Move saving/restoring KeyTyped to build_stl_str_hl().
26942 (closes #9783)
26943Files: src/buffer.c, src/screen.c
26944
26945Patch 8.2.4392 (after 8.2.4002)
26946Problem: MS-Windows with VIMDLL: Escaping CSI is wrong.
26947Solution: Put back #ifdef. (Ken Takata, closes #9769)
26948Files: src/getchar.c
26949
26950Patch 8.2.4393
26951Problem: Possible number overflow with nested folds.
26952Solution: Avoid a negative line number.
26953Files: src/fold.c
26954
26955Patch 8.2.4394 (after 8.2.4392)
26956Problem: UTF8 select mode test fails on MS-Windows.
26957Solution: Revert the #ifdef change.
26958Files: src/getchar.c
26959
26960Patch 8.2.4395
26961Problem: Some code lines not covered by tests.
26962Solution: Add a few more test cases. Fix getting more than one error for
26963 invalid assignment.
26964Files: src/evalvars.c, src/errors.h, src/vim9compile.c,
26965 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_cmd.vim,
26966 src/testdir/test_vim9_func.vim
26967
26968Patch 8.2.4396 (after 8.2.4395)
26969Problem: Python3 test fails.
26970Solution: Remove "let".
26971Files: src/testdir/test_vim9_func.vim
26972
26973Patch 8.2.4397
26974Problem: Crash when using many composing characters in error message.
26975Solution: Use mb_cptr2char_adv() instead of mb_ptr2char_adv().
26976Files: src/testing.c, src/testdir/test_assert.vim
26977
26978Patch 8.2.4398
26979Problem: Some command completion functions are too long.
26980Solution: Refactor code into separate functions. Add a few more tests.
26981 (Yegappan Lakshmanan, closes #9785)
26982Files: src/cmdexpand.c, src/ex_getln.c, src/usercmd.c,
26983 src/proto/usercmd.pro, src/testdir/test_cmdline.vim
26984
26985Patch 8.2.4399
26986Problem: Crash after ml_get error.
26987Solution: When returning "???" flush the line and set ml_line_lnum.
26988Files: src/memline.c
26989
26990Patch 8.2.4400 (after 8.2.4394)
26991Problem: MS-Windows: cannot use the mouse in the console with VIMDLL.
26992Solution: use add_char2buf() instead of fix_input_buffer(). (closes #9784,
26993 closes #9769)
26994Files: src/getchar.c
26995
26996Patch 8.2.4401
26997Problem: Map listing does not clear the rest of the command line.
26998Solution: Call msg_clear_eos(). (closes #5623, closes #5962)
26999Files: src/map.c, src/testdir/test_mapping.vim,
27000 src/testdir/dumps/Test_map_list_1.dump
27001
27002Patch 8.2.4402
27003Problem: Missing parenthesis may cause unexpected problems.
27004Solution: Add more parenthesis is macros. (closes #9788)
27005Files: src/autocmd.c, src/charset.c, src/drawline.c, src/drawscreen.c,
27006 src/evalfunc.c, src/fileio.c, src/fold.c, src/getchar.c,
27007 src/highlight.c, src/memline.c, src/normal.c, src/quickfix.c,
27008 src/regexp.c, src/search.c, src/sha256.c, src/spell.c,
27009 src/spellfile.c, src/spellsuggest.c, src/syntax.c, src/window.c
27010
27011Patch 8.2.4403
27012Problem: ml_get error with nested folds and deleting lines.
27013Solution: Correct the last line number before calling hasFoldingWin().
27014Files: src/change.c
27015
27016Patch 8.2.4404
27017Problem: Vim9: some code not covered by tests.
27018Solution: Add a few specific test cases.
27019Files: src/vim9execute.c, src/testdir/test_vim9_func.vim,
27020 src/testdir/test_vim9_import.vim
27021
27022Patch 8.2.4405
27023Problem: Compiler warning for unused variable without the +folding feature.
27024 (Tony Mechelynck)
27025Solution: Add #ifdef.
27026Files: src/change.c
27027
27028Patch 8.2.4406
27029Problem: Expand functions use confusing argument names.
27030Solution: Rename "file" to "match". Refactor some completion code. Add a
27031 few more tests. (Yegappan Lakshmanan, closes #9790)
27032Files: src/cmdexpand.c, src/testdir/test_usercommands.vim
27033
27034Patch 8.2.4407
27035Problem: Vim9: some code not covered by tests.
27036Solution: Add more tests. Avoid giving two errors. Remove dead code.
27037Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim,
27038 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_func.vim
27039
27040Patch 8.2.4408
27041Problem: Vim9: some code not covered by tests.
27042Solution: Add a few more tests. Correct error message. Allow unlet on dict
27043 with a number key.
27044Files: src/vim9execute.c, src/errors.h, src/testdir/test_vim9_assign.vim
27045
27046Patch 8.2.4409
27047Problem: Vim9: some code not covered by tests.
27048Solution: Add a few more tests. Fix reported line number.
27049Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
27050
27051Patch 8.2.4410
27052Problem: Vim9: some code not covered by tests.
27053Solution: Add a few more tests. Remove dead code.
27054Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim,
27055 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_expr.vim,
27056 src/testdir/test_vim9_script.vim
27057
27058Patch 8.2.4411
27059Problem: Bicep files are not recognized.
27060Solution: Match *.bicep files. (Dundar Goc, closes #9791)
27061Files: runtime/filetype.vim, src/testdir/test_filetype.vim
27062
27063Patch 8.2.4412
27064Problem: Translation cleanup script does not remove empty lines at end.
27065Solution: Remove empty lines at the end. (Ken Takata, closes #9794)
27066Files: src/po/cleanup.vim
27067
27068Patch 8.2.4413
27069Problem: Vim9: Coverity warns for using NULL pointer.
27070Solution: Give an internal error when funcref function can't be found.
27071Files: src/vim9execute.c
27072
27073Patch 8.2.4414
27074Problem: Solidity files are not recognized.
27075Solution: Add the *.sol pattern. (Dundar Goc, closes #9792)
27076Files: runtime/filetype.vim, src/testdir/test_filetype.vim
27077
27078Patch 8.2.4415
27079Problem: Function argument name conflicts with C++ keyword.
27080Solution: Rename the argument.
27081Files: src/usercmd.c, src/proto/usercmd.pro
27082
27083Patch 8.2.4416
27084Problem: Vim9: using a script-local function requires using "s:" when
27085 setting 'completefunc'.
27086Solution: Do not require "s:" in Vim9 script. (closes #9796)
27087Files: runtime/doc/options.txt, src/userfunc.c,
27088 src/testdir/test_ins_complete.vim
27089
27090Patch 8.2.4417 (after 8.2.4416)
27091Problem: Using NULL pointer.
27092Solution: Set offset after checking for NULL pointer.
27093Files: src/userfunc.c
27094
27095Patch 8.2.4418
27096Problem: Crash when using special multi-byte character.
27097Solution: Don't use isalpha() for an arbitrary character.
27098Files: src/charset.c, src/proto/charset.pro, src/filepath.c,
27099 src/testdir/test_autochdir.vim
27100
27101Patch 8.2.4419
27102Problem: Illegal memory access when using exactly 20 highlights.
27103Solution: Add one more item in the array. (Brandon Richardson,
27104 closes #9800)
27105Files: src/buffer.c, src/testdir/test_tabline.vim
27106
27107Patch 8.2.4420
27108Problem: Menu translations are inconsistent.
27109Solution: Add a Makefile to convert between encodings. (Ada (Haowen) Yu,
27110 closes #9801)
27111Files: runtime/lang/Makefile, runtime/lang/menu_af_af.latin1.vim,
27112 runtime/lang/menu_ca_es.latin1.vim,
27113 runtime/lang/menu_chinese_gb.936.vim,
27114 runtime/lang/menu_chinese_taiwan.950.vim,
27115 runtime/lang/menu_cs_cz.iso_8859-2.vim,
27116 runtime/lang/menu_cs_cz.utf-8.vim,
27117 runtime/lang/menu_czech_czech_republic.1250.vim,
27118 runtime/lang/menu_czech_czech_republic.ascii.vim,
27119 runtime/lang/menu_da.utf-8.vim,
27120 runtime/lang/menu_de_de.latin1.vim,
27121 runtime/lang/menu_eo.utf-8.vim,
27122 runtime/lang/menu_es_es.latin1.vim,
27123 runtime/lang/menu_fi_fi.latin1.vim,
27124 runtime/lang/menu_fr_fr.latin1.vim,
27125 runtime/lang/menu_hu_hu.iso_8859-2.vim,
27126 runtime/lang/menu_hu_hu.utf-8.vim,
27127 runtime/lang/menu_is_is.latin1.vim,
27128 runtime/lang/menu_it_it.latin1.vim,
27129 runtime/lang/menu_ja_jp.euc-jp.vim,
27130 runtime/lang/menu_ja_jp.utf-8.vim,
27131 runtime/lang/menu_japanese_japan.932.vim,
27132 runtime/lang/menu_ko_kr.euckr.vim,
27133 runtime/lang/menu_ko_kr.utf-8.vim,
27134 runtime/lang/menu_nl_nl.latin1.vim,
27135 runtime/lang/menu_no_no.latin1.vim,
27136 runtime/lang/menu_pl_pl.iso_8859-2.vim,
27137 runtime/lang/menu_pl_pl.utf-8.vim,
27138 runtime/lang/menu_polish_poland.1250.vim,
27139 runtime/lang/menu_pt_br.vim, runtime/lang/menu_pt_pt.vim,
27140 runtime/lang/menu_ru.utf-8.vim,
27141 runtime/lang/menu_ru_ru.koi8-r.vim,
27142 runtime/lang/menu_ru_ru.utf-8.vim, runtime/lang/menu_ru_ru.vim,
27143 runtime/lang/menu_sk_sk.iso_8859-2.vim,
27144 runtime/lang/menu_sl_si.cp1250.vim,
27145 runtime/lang/menu_sl_si.latin2.vim,
27146 runtime/lang/menu_sl_si.utf-8.vim,
27147 runtime/lang/menu_slovak_slovak_republic.1250.vim,
27148 runtime/lang/menu_sr_rs.ascii.vim,
27149 runtime/lang/menu_sr_rs.iso_8859-2.vim,
27150 runtime/lang/menu_sr_rs.iso_8859-5.vim,
27151 runtime/lang/menu_sr_rs.utf-8.vim,
27152 runtime/lang/menu_sv_se.latin1.vim,
27153 runtime/lang/menu_tr_tr.cp1254.vim,
27154 runtime/lang/menu_tr_tr.iso_8859-9.vim,
27155 runtime/lang/menu_tr_tr.utf-8.vim,
27156 runtime/lang/menu_uk_ua.cp1251.vim,
27157 runtime/lang/menu_uk_ua.koi8-u.vim,
27158 runtime/lang/menu_uk_ua.utf-8.vim, runtime/lang/menu_vi_vn.vim,
27159 runtime/lang/menu_zh_cn.utf-8.vim,
27160 runtime/lang/menu_zh_tw.utf-8.vim
27161
27162Patch 8.2.4421
27163Problem: Some installed files and directories have wrong permissions.
27164Solution: Adjust the Makefile and shell to set permissions. (closes #9793)
27165Files: src/Makefile, src/installman.sh
27166
27167Patch 8.2.4422
27168Problem: Autochdir test fails on MS-Windows.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000027169Solution: Expect another error on MS-Windows.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000027170Files: src/testdir/test_autochdir.vim
27171
27172Patch 8.2.4423
27173Problem: "make nvcmdidxs" fails.
27174Solution: Use "-S" instead of "-u" to source the script.
27175Files: src/Makefile
27176
27177Patch 8.2.4424
27178Problem: ".gts" and ".gjs" files are not recognized.
27179Solution: Recognize Glimmer flavored typescript and javascript.
27180 (closes #9799)
27181Files: runtime/filetype.vim, src/testdir/test_filetype.vim
27182
27183Patch 8.2.4425
27184Problem: map() function does not check function arguments at compile time.
27185Solution: Give an error if the arguments of a map() function are wrong.
27186Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim,
27187 src/testdir/test_vim9_func.vim
27188
27189Patch 8.2.4426
27190Problem: map() function on string and blob does not check argument types at
27191 compile time.
27192Solution: Check string and blob argument types. Support "0z1234->func()".
27193Files: src/vim9compile.c, src/evalfunc.c, src/ex_docmd.c,
27194 src/testdir/test_vim9_builtin.vim
27195
27196Patch 8.2.4427
27197Problem: getchar() may return modifiers if no character is available.
27198Solution: Do not process modifiers when there is no character. (closes #9806)
27199Files: src/getchar.c, src/testdir/test_functions.vim
27200
27201Patch 8.2.4428
27202Problem: Crash when switching tabpage while in the cmdline window.
27203Solution: Disallow switching tabpage when in the cmdline window.
27204Files: src/window.c, src/proto/window.pro, src/evalvars.c,
27205 src/evalvars.c, src/usercmd.c
27206
27207Patch 8.2.4429
27208Problem: Using script-local function from the wrong script when using a
27209 partial. (Yegappan Lakshmanan)
27210Solution: Include the script ID in the partial name.
27211Files: src/userfunc.c, src/proto/userfunc.pro, src/evalfunc.c,
27212 src/vim9type.c, src/testdir/test_vim9_import.vim
27213
Bram Moolenaard799daa2022-06-20 11:17:32 +010027214Patch 8.2.4430
27215Problem: GTK: crash when using 'guiligatures' and reading from stdin.
27216Solution: Make a copy of the message. (Amon Sha, closes #9719, closes #9814)
27217Files: src/fileio.c
27218
27219Patch 8.2.4431
27220Problem: Unnecessary condition when assigning to a variable.
27221Solution: Remove the condition.
27222Files: src/evalvars.c
27223
27224Patch 8.2.4432 (after 8.2.4428)
27225Problem: Cannot use settabvar() while the cmdline window is open.
27226Solution: Only give an error when actually switching tabpage.
27227 (closes #9813)
27228Files: src/window.c
27229
27230Patch 8.2.4433
27231Problem: CI: cannot see interface versions for MS-Windows.
27232Solution: List the interface versions. (Ken Takata, closes #9811)
27233Files: .github/workflows/ci.yml
27234
27235Patch 8.2.4434
27236Problem: Duplicate check for cmdline window.
27237Solution: Remove the second check. (Sean Dewar, closes #9816)
27238Files: src/window.c
27239
27240Patch 8.2.4435
27241Problem: Dead code in checking map() arguments. (Dominique Pellé)
27242Solution: Remove the first return statement. (closes #9815)
27243Files: src/evalfunc.c
27244
27245Patch 8.2.4436
27246Problem: Crash with weird 'vartabstop' value.
27247Solution: Check for running into the end of the line.
27248Files: src/indent.c, src/testdir/test_vartabs.vim
27249
27250Patch 8.2.4437
27251Problem: Vartabs test fails on MS-Windows.
27252Solution: Use iso8859-1 'encoding'. (Ken Takata, closes #9818)
27253Files: src/testdir/test_vartabs.vim
27254
27255Patch 8.2.4438
27256Problem: Crash on exit when using cmdline window.
27257Solution: Reset "cmdwin_type" before exiting. (closes #9817)
27258Files: src/ui.c, src/testdir/test_exit.vim
27259
27260Patch 8.2.4439
27261Problem: Accepting "iso8859" 'encoding' as "iso-8859-".
27262Solution: use "iso8859" as "iso-8859-1".
27263Files: src/mbyte.c, src/testdir/test_options.vim
27264
27265Patch 8.2.4440
27266Problem: Crash with specific regexp pattern and string.
27267Solution: Stop at the start of the string.
27268Files: src/regexp_bt.c, src/testdir/test_regexp_utf8.vim
27269
27270Patch 8.2.4441
27271Problem: Vim9: function argument of filter() not checked like map().
27272Solution: Also check the function argument of filter().
27273Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
27274
27275Patch 8.2.4442 (after 8.2.4438)
27276Problem: Test for error reading input fails on MS-Windows.
27277Solution: Don't run the test on MS-Windows.
27278Files: src/testdir/test_exit.vim
27279
27280Patch 8.2.4443 (after 8.2.4440)
27281Problem: Regexp pattern test fails on Mac.
27282Solution: Do not use a swapfile for the buffer.
27283Files: src/testdir/test_regexp_utf8.vim
27284
27285Patch 8.2.4444
27286Problem: Beep caused by test. ASAN reports leaks.
27287Solution: Do not put a NL at the end of the script. Make the text work on
27288 MS-Windows. Do not run the test with ASAN.
27289Files: src/testdir/test_exit.vim
27290
27291Patch 8.2.4445
27292Problem: Exit test fails on MS-Windows anyway.
27293Solution: Skip the test on MS-Windows.
27294Files: src/testdir/test_exit.vim
27295
27296Patch 8.2.4446
27297Problem: Vim9: cannot refer to a global function like a local one.
27298Solution: When g:name is not a variable but a function, use a function
27299 reference. (closes #9826)
27300Files: src/vim9execute.c, src/testdir/test_vim9_builtin.vim
27301
27302Patch 8.2.4447
27303Problem: Vim9: can still use s:var in a compiled function.
27304Solution: Disallow using s:var for Vim9 script. (closes #9824)
27305Files: runtime/doc/vim9.txt, src/vim9expr.c, src/vim9compile.c,
27306 src/testdir/test_vim9_assign.vim
27307
27308Patch 8.2.4448 (after 8.2.4447)
27309Problem: Filetype detection is failing.
27310Solution: Do not use "s:" where it is no longer allowed.
27311Files: runtime/autoload/dist/ft.vim,
27312
27313Patch 8.2.4449
27314Problem: vim9: function argument of sort() not checked at compile time.
27315Solution: Add a compile time check.
27316Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
27317
27318Patch 8.2.4450 (after 8.2.4449)
27319Problem: List sort test fails.
27320Solution: Pass a valid "how" argument.
27321Files: src/testdir/test_listdict.vim
27322
27323Patch 8.2.4451 (after 8.2.4450)
27324Problem: sort() fails when ignoring case.
27325Solution: Accept a number one argument in sort().
27326Files: src/evalfunc.c, src/testdir/test_listdict.vim
27327
27328Patch 8.2.4452
27329Problem: Test for what 8.2.4436 fixes does not check for regression.
27330Solution: Set several options. (Ken Takata, closes #9830)
27331Files: src/testdir/test_vartabs.vim
27332
27333Patch 8.2.4453
27334Problem: :helpgrep may free an option that was not allocated. (Yegappan
27335 Lakshmanan)
27336Solution: Check if the value was allocated.
27337Files: src/option.c, src/proto/option.pro, src/quickfix.c,
27338 src/testdir/test_quickfix.vim
27339
27340Patch 8.2.4454
27341Problem: Resetting cmdwin_type only for one situation.
27342Solution: Reset cmdwin_type before closing windows. (closes #9822)
27343Files: src/ui.c, src/window.c, src/testdir/test_exit.vim
27344
27345Patch 8.2.4455
27346Problem: Accepting one and zero for the second sort() argument is strange.
27347Solution: Disallow using one and zero in Vim9 script.
27348Files: runtime/doc/builtin.txt, src/evalfunc.c, src/list.c,
27349 src/testdir/test_listdict.vim
27350
27351Patch 8.2.4456
27352Problem: Terminal test may fail on some machines.
27353Solution: Increase wait time. (Zdenek Dohnal, closes #9834)
27354Files: src/testdir/test_terminal.vim
27355
27356Patch 8.2.4457
27357Problem: The GPM library can only be linked statically.
27358Solution: Make it possible to load the GPM library dynamically. (Damien)
27359Files: runtime/doc/various.txt, src/config.h.in, src/configure.ac,
27360 src/Makefile, src/evalfunc.c, src/feature.h, src/os_unix.c,
27361 src/proto/os_unix.pro, src/version.c
27362
27363Patch 8.2.4458
27364Problem: Vim9: compiling filter() call fails with funcref that has unknown
27365 arguments.
27366Solution: Do not check the arguments if they are unknown at compile time.
27367 (closes #9835)
27368Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
27369
27370Patch 8.2.4459
27371Problem: Vim9: compiling sort() call fails with a funcref that has unknown
27372 arguments.
27373Solution: Do not check the arguments if they are unknown at compile time.
27374 (closes #9835)
27375Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
27376
27377Patch 8.2.4460
27378Problem: Vim9: wrong error for defining dict function.
27379Solution: Explicitly check for trying to define a dict function.
Bram Moolenaar76db9e02022-11-09 21:21:04 +000027380 (closes #9827)
Bram Moolenaard799daa2022-06-20 11:17:32 +010027381Files: src/errors.h, src/userfunc.c, src/vim9compile.c,
27382 src/testdir/test_vim9_func.vim
27383
27384Patch 8.2.4461
27385Problem: MS-Windows: garbage characters on stdout with VIMDLL.
27386Solution: Don't call gui_focus_change() when about to quit. (Ken Takata,
27387 closes #9840)
27388Files: src/gui_w32.c
27389
27390Patch 8.2.4462
27391Problem: Not enough testing for quickfix code.
27392Solution: Add more tests. Fix uncovered problem. (Yegappan Lakshmanan,
27393 closes #9839)
27394Files: src/quickfix.c, src/window.c, src/testdir/test_makeencoding.vim,
27395 src/testdir/test_quickfix.vim
27396
27397Patch 8.2.4463
27398Problem: Completion only uses strict matching.
27399Solution: Add the "fuzzy" item for 'wildoptions'. (Yegappan Lakshmanan,
27400 closes #9803)
27401Files: runtime/doc/options.txt, src/buffer.c, src/cmdexpand.c,
27402 src/option.c, src/option.h, src/optionstr.c,
27403 src/proto/cmdexpand.pro, src/proto/option.pro,
27404 src/proto/search.pro, src/search.c, src/structs.h,
27405 src/testdir/gen_opt_test.vim, src/testdir/test_cmdline.vim
27406
27407Patch 8.2.4464
27408Problem: Dtrace files are recognized as filetype D.
27409Solution: Add a pattern for Dtrace files. (Teubel György, closes #9841)
27410 Add some more testing.
27411Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
27412 src/testdir/test_filetype.vim
27413
27414Patch 8.2.4465
27415Problem: Fuzzy completion does not order matches properly.
27416Solution: Do not use regular expression match. (Yegappan Lakshmanan,
27417 closes #9843)
27418Files: src/cmdexpand.c, src/search.c, src/testdir/test_cmdline.vim
27419
27420Patch 8.2.4466
27421Problem: MS-Windows: illegal memory access in installer when using
27422 "create-directories" as the final argument.
27423Solution: Check the argument count. (Cam Sinclair, closes #9844)
27424Files: src/dosinst.c
27425
27426Patch 8.2.4467
27427Problem: Running filetype test leaves file behind.
27428Solution: Delete the file.
27429Files: src/testdir/test_filetype.vim
27430
27431Patch 8.2.4468
27432Problem: Coverity warns for uninitialized struct member.
27433Solution: Set color.index to zero.
27434Files: src/terminal.c
27435
27436Patch 8.2.4469
27437Problem: Coverity warns for uninitialized variable.
27438Solution: Set the value to zero.
27439Files: src/ex_getln.c
27440
27441Patch 8.2.4470
27442Problem: Coverity warns for uninitialized variable.
27443Solution: Set can_spell to zero.
27444Files: src/drawline.c
27445
27446Patch 8.2.4471
27447Problem: Coverity warns for uninitialized variable.
27448Solution: Set flags to zero.
27449Files: src/vim9cmds.c
27450
27451Patch 8.2.4472
27452Problem: Coverity warns for use of a freed function name.
27453Solution: Only check an autoload name when is prefixed.
27454Files: src/userfunc.c
27455
27456Patch 8.2.4473
Bram Moolenaar8a3b8052022-06-26 12:21:15 +010027457Problem: Coverity warns for not checking return value of ftell().
Bram Moolenaard799daa2022-06-20 11:17:32 +010027458Solution: Bail out if ftell() returns a negative value.
27459Files: src/spellfile.c
27460
27461Patch 8.2.4474
27462Problem: Memory allocation failures not tested in quickfix code.
27463Solution: Add alloc IDs and tests. (Yegappan Lakshmanan, closes #9848)
27464Files: src/alloc.h, src/quickfix.c, src/vim.h,
27465 src/testdir/test_quickfix.vim
27466
27467Patch 8.2.4475
27468Problem: Fuzzy cmdline completion does not work for lower case.
27469Solution: Also use fuzzy completion for lower case input. (Yegappan
27470 Lakshmanan, closes #9849)
27471Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
27472
27473Patch 8.2.4476
27474Problem: Operator name spelled wrong.
27475Solution: Change trinary to ternary. (Goc Dundar, closes #9850)
27476Files: src/testdir/test_expr.vim, src/testdir/test_vim9_expr.vim,
27477 src/testdir/test_vimscript.vim
27478
27479Patch 8.2.4477
27480Problem: Crash when using fuzzy completion.
27481Solution: Temporary fix: put back regexp. (closes #9851)
27482Files: src/cmdexpand.c
27483
27484Patch 8.2.4478
27485Problem: Crash when using fuzzy completion.
27486Solution: Temporary fix: put back regexp. (closes #9852, closes #9851)
27487Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
27488
27489Patch 8.2.4479
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010027490Problem: No fuzzy completion for maps and abbreviations.
Bram Moolenaard799daa2022-06-20 11:17:32 +010027491Solution: Fuzzy complete maps and abbreviations. (Yegappan Lakshmanan,
27492 closes #9856)
27493Files: src/cmdexpand.c, src/map.c, src/proto/map.pro, src/search.c,
27494 src/testdir/test_cmdline.vim
27495
27496Patch 8.2.4480
27497Problem: Suspending with CTRL-Z does not work on Android.
27498Solution: Do not handle SIGTSTP. (closes #9854)
27499Files: src/os_unix.c
27500
27501Patch 8.2.4481
27502Problem: Cmdline popup menu not removed when 'lazyredraw' is set.
27503Solution: Temporarily reset 'lazyredraw' when removing the popup menu.
27504 (closes #9857)
27505Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
27506 src/testdir/dumps/Test_wildmenu_pum_41.dump
27507
27508Patch 8.2.4482
27509Problem: No fuzzy cmdline completion for user defined completion.
27510Solution: Add fuzzy completion for user defined completion. (Yegappan
27511 Lakshmanan, closes #9858)
27512Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
27513
27514Patch 8.2.4483
27515Problem: Command completion makes two rounds to collect matches.
27516Solution: Use a growarray to collect matches. (Yegappan Lakshmanan,
27517 closes #9860)
27518Files: src/buffer.c, src/cmdexpand.c, src/map.c,
27519 src/testdir/test_cmdline.vim
27520
27521Patch 8.2.4484
27522Problem: Vim9: some error messages are not tested.
27523Solution: Add a few more test cases. Delete dead code.
27524Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim,
27525 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim
27526
27527Patch 8.2.4485
27528Problem: Compiler warning for uninitialized variable.
27529Solution: Initialize the variable. (John Marriott)
27530Files: src/cmdexpand.c
27531
27532Patch 8.2.4486
27533Problem: MS-Windows GUI: slow scrolling with maximized window.
27534Solution: Use a better way to check the window is on screen. (Ken Takata,
27535 closes #9865)
27536Files: src/gui_w32.c
27537
27538Patch 8.2.4487
27539Problem: Vim9: cannot compare with v:null.
27540Solution: Allow comparing anything with v:null. (closes #9866)
27541Files: src/vim9instr.c, src/typval.c, src/proto/typval.pro,
27542 src/vim9.h, src/vim9execute.c, src/evalvars.c,
27543 src/testdir/test_vim9_expr.vim,
27544 src/testdir/test_vim9_disassemble.vim
27545
27546Patch 8.2.4488 (after 8.2.4487)
27547Problem: Build error with +eval but without +channel or +job.
27548Solution: Add #ifdef. (John Marriott)
27549Files: src/typval.c
27550
27551Patch 8.2.4489 (after 8.2.4487)
27552Problem: Failing test for comparing v:null with number.
27553Solution: Allow comparing v:null with number in legacy script.
27554 (Ken Takata, closes #9873) Also do this for float.
27555Files: src/typval.c, src/testdir/test_vimscript.vim
27556
27557Patch 8.2.4490
27558Problem: Terminal focus reporting only works for xterm-like terminals.
27559 (Jonathan Rascher)
27560Solution: Remove the "focus_mode" flag. (closes #9859)
27561Files: src/term.c
27562
27563Patch 8.2.4491
27564Problem: MS-Windows makefile dependencies are outdated.
27565Solution: Update dependencies. (Ken Takata, closes #9876)
27566Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
27567
27568Patch 8.2.4492
27569Problem: No error if an option is given an invalid value with
27570 ":let &opt = val".
27571Solution: Give the error. (closes #9864)
27572Files: src/evalvars.c, src/testdir/test_options.vim
27573
27574Patch 8.2.4493 (after 8.2.4492)
27575Problem: Options test fails in the GUI.
27576Solution: Do not save and restore 'term'.
27577Files: src/testdir/gen_opt_test.vim
27578
27579Patch 8.2.4494
27580Problem: The find_tags() function is much too long.
27581Solution: Refactor the function. (Yegappan Lakshmanan, closes #9869)
27582Files: src/quickfix.c, src/tag.c, src/testdir/test_tagjump.vim
27583
27584Patch 8.2.4495
27585Problem: Help test fails in 24 line terminal.
27586Solution: Use up to 23 lines for text.
27587Files: src/testdir/test_help.vim
27588
27589Patch 8.2.4496 (after 8.2.4494)
27590Problem: Coverity gives warnings after tags code refactoring.
27591Solution: Avoid the warnings. (Yegappan Lakshmanan, closes #9882)
27592Files: src/tag.c
27593
27594Patch 8.2.4497
27595Problem: Wrong color for half of wide character next to pum scrollbar.
27596Solution: Redraw the screen cell with the right color. (closes #9874)
27597Files: src/screen.c, src/testdir/test_ins_complete.vim,
27598 src/testdir/dumps/Test_scrollbar_on_wide_char.dump
27599
27600Patch 8.2.4498
27601Problem: Using <Plug> with "noremap" does not work.
27602Solution: Always remap <Plug>. (closes #9879, closes #9789)
27603Files: runtime/doc/map.txt, src/getchar.c, src/testdir/test_mapping.vim
27604
27605Patch 8.2.4499
27606Problem: Vim9: at the script level declarations leak from try block to
27607 catch and finally block.
27608Solution: End the block and start a new one. (closes #9883)
27609Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
27610
27611Patch 8.2.4500
27612Problem: Vim9: can declare a global variable on the command line.
27613Solution: Disallow declaring a variable on the command line. (closes #9881)
27614Files: src/errors.h, src/evalvars.c, src/testdir/test_vim9_assign.vim,
27615 src/testdir/test_vim9_script.vim,
27616 src/testdir/dumps/Test_vim9_reject_declaration.dump
27617
27618Patch 8.2.4501
27619Problem: With 'showbreak' set and after the end of the line the cursor
27620 may be displayed in the wrong position.
27621Solution: Do not apply 'showbreak' after the end of the line. (closes #9884)
27622Files: src/charset.c, src/testdir/test_breakindent.vim,
27623 src/testdir/dumps/Test_cursor_position_with_showbreak.dump
27624
27625Patch 8.2.4502
27626Problem: In the GUI a modifier is not recognized for the key typed after
27627 CTRL-X, which may result in a mapping to be used. (Daniel
27628 Steinberg)
27629Solution: Recognize a modifier starting with CSI. (closes #9889)
27630Files: src/getchar.c, src/testdir/test_ins_complete.vim
27631
27632Patch 8.2.4503
27633Problem: Vim9: there is no point in supporting :Print and :mode.
27634Solution: Do not recognize :Print and :mode as commands. (closes #9870)
27635Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
27636
27637Patch 8.2.4504
27638Problem: When there is a partially matching map and modifyOtherKeys is
27639 active a full map may not work.
27640Solution: Only simplify modifiers when there is no matching mapping.
27641 (closes #8792)
27642Files: src/getchar.c, src/testdir/test_termcodes.vim
27643
27644Patch 8.2.4505
27645Problem: Vim9: outdated "autocmd nested" still works.
27646Solution: Do not accept the :autocmd argument "nested" without "++" in Vim9
27647 script.
27648Files: src/autocmd.c, src/errors.h, src/testdir/test_autocmd.vim
27649
27650Patch 8.2.4506
27651Problem: "pattern not found" for :global is not an error message.
27652Solution: In Vim9 script make this an actual error, so that try/catch can be
27653 used as expected.
27654Files: src/ex_cmds.c, src/errors.h, src/testdir/test_global.vim
27655
27656Patch 8.2.4507 (after 8.2.4506)
27657Problem: Test fails because of new error message.
27658Solution: Avoid the test fails.
27659Files: src/testdir/test_vim9_cmd.vim
27660
27661Patch 8.2.4508
27662Problem: Vim9: cannot assign to a global variable on the command line.
27663Solution: Allow using :vim9cmd for assignment on the command line.
27664Files: src/evalvars.c, src/testdir/test_vim9_script.vim,
27665 src/testdir/dumps/Test_vim9_reject_declaration.dump,
27666 src/testdir/dumps/Test_vim9_reject_declaration_1.dump,
27667 src/testdir/dumps/Test_vim9_reject_declaration_2.dump
27668
27669Patch 8.2.4509
27670Problem: Vim9: can declare a variable with ":va".
27671Solution: Disallow using ":va", require using ":var".
27672Files: src/evalvars.c, src/errors.h, src/vim9compile.c,
27673 src/testdir/test_vim9_assign.vim
27674
27675Patch 8.2.4510
27676Problem: Vim9: shortening commands leads to confusing script.
27677Solution: In Vim9 script require at least ":cont" for ":continue", "const"
27678 instead of "cons", "break" instead of "brea", "catch" instead of
27679 "cat", "else" instead of "el" "elseif" instead of "elsei" "endfor"
27680 instead of "endfo" "endif" instead of "en" "endtry" instead of
27681 "endt", "finally" instead of "fina", "throw" instead of "th",
27682 "while" instead of "wh".
27683Files: src/ex_cmds.h, src/ex_docmd.c, src/errors.h, src/evalvars.c,
27684 src/vim9compile.c, src/testdir/test_vim9_script.vim
27685
27686Patch 8.2.4511
27687Problem: Filetype test fails.
27688Solution: Change "endw" to "endwhile".
27689Files: runtime/autoload/dist/ft.vim
27690
27691Patch 8.2.4512
27692Problem: The find_tags_in_file() function is much too long.
27693Solution: Refactor into multiple smaller functions. (Yegappan Lakshmanan,
27694 closes #9892)
27695Files: Filelist, src/Makefile, src/quickfix.c, src/tag.c,
27696 src/testdir/test83-tags2, src/testdir/test83-tags3,
27697 src/testdir/test_tagjump.vim
27698
27699Patch 8.2.4513
27700Problem: Window-local directory is not applied if 'acd' fails.
27701Solution: Don't call do_autochdir(). (closes #9891)
27702Files: src/window.c, src/testdir/test_autochdir.vim
27703
27704Patch 8.2.4514
27705Problem: Vim9: some flow commands can be shortened.
27706Solution: Also require using the full name for ":return", ":enddef",
27707 ":continue", ":export" and ":import".
27708Files: src/ex_cmds.h, src/ex_docmd.c, src/errors.h, src/userfunc.c,
27709 src/testdir/test_vim9_script.vim
27710
27711Patch 8.2.4515
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010027712Problem: Old substitute syntax is still supported.
Bram Moolenaard799daa2022-06-20 11:17:32 +010027713Solution: Disallow using backslash after ":s" in Vim9 script.
27714Files: src/ex_cmds.c, src/errors.h, src/testdir/test_substitute.vim
27715
27716Patch 8.2.4516 (after 8.2.4515)
27717Problem: Build failure without the +eval feature.
27718Solution: Move error message outside of #ifdef.
27719Files: src/errors.h
27720
27721Patch 8.2.4517
27722Problem: MS-Windows: cannot specify location of sodium library.
27723Solution: Allow for using a path for SODIUM. (Ken Takata, closes #9896)
27724Files: src/Make_cyg_ming.mak
27725
27726Patch 8.2.4518
27727Problem: The binary tag search feature is always enabled.
27728Solution: Remove the #ifdefs. Add a few more tests. (Yegappan Lakshmanan,
27729 closes #9893)
27730Files: src/evalfunc.c, src/feature.h, src/tag.c, src/version.c,
27731 src/testdir/test_tagjump.vim, src/testdir/test_taglist.vim
27732
27733Patch 8.2.4519
27734Problem: Vim9: Can still use ":fini" and ":finis" for ":finish".
27735Solution: Require using ":finish".
27736Files: src/ex_cmds.h, src/testdir/test_vim9_script.vim
27737
27738Patch 8.2.4520
27739Problem: Using wrong highlight for cursor line number.
27740Solution: Take filler lines into account when using CursorLineNr.
27741 (closes #9897)
27742Files: src/drawline.c, src/testdir/test_diffmode.vim,
27743 src/testdir/dumps/Test_diff_with_cursorline_number_01.dump,
27744 src/testdir/dumps/Test_diff_with_cursorline_number_02.dump
27745
27746Patch 8.2.4521 (after 8.2.4520)
27747Problem: Build failure without the +diff feature. (John Marriott)
27748Solution: Define filler+lines if not declaring it.
27749Files: src/drawline.c
27750
27751Patch 8.2.4522 (after 8.2.4492)
27752Problem: GUI test fails with Motif. (Dominique Pellé)
27753Solution: Remove using an invalid value for 'guifontset'.
27754Files: src/testdir/test_gui.vim
27755
27756Patch 8.2.4523
27757Problem: When gvim is started maximized the 'window' option isn't set
27758 properly. (Christian J. Robinson)
27759Solution: Check if 'windows' was already set or not. (Ken Takata,
27760 closes #9904)
27761Files: src/term.c
27762
27763Patch 8.2.4524
27764Problem: MS-Windows: cannot build with some sodium libraries.
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010027765Solution: Make the DLL name configurable. Add build instructions.
Bram Moolenaard799daa2022-06-20 11:17:32 +010027766 (Ken Takata, closes #9905)
27767Files: src/INSTALLpc.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak,
27768 src/crypt.c
27769
27770Patch 8.2.4525
27771Problem: Some GUI tests don't work on Athena.
27772Solution: Skip tests that won't work. (Yegappan Lakshmanan, closes #9902)
27773Files: src/testdir/test_gui.vim
27774
27775Patch 8.2.4526
27776Problem: Vim9: cannot set variables to a null value.
27777Solution: Add null_list, null_job, etc.
27778Files: runtime/doc/vim9.txt, src/eval.c, src/proto/eval.pro,
27779 src/vim9expr.c, src/vim9script.c, src/vim9instr.c,
27780 src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/vim9type.c,
27781 src/evalvars.c, src/testdir/test_vim9_assign.vim,
27782 src/testdir/test_vim9_disassemble.vim,
27783 src/testdir/test_vim9_func.vim, src/testdir/test_expr.vim
27784
27785Patch 8.2.4527
27786Problem: The Athena GUI is old and does not work well.
27787Solution: Remove the Athena GUI from configure to find out who still wants
27788 support for this GUI.
27789Files: src/configure.ac, src/auto/configure, src/Makefile
27790
27791Patch 8.2.4528
27792Problem: Crash when using null_function for a partial.
27793Solution: Don't call fname_trans_sid() with NULL. (closes #9908)
27794Files: src/userfunc.c, src/testdir/test_vim9_func.vim
27795
27796Patch 8.2.4529
27797Problem: Vim9: comparing partial with function fails.
27798Solution: Support this comparison. Avoid a crash. (closes #9909)
27799 Add more test cases.
27800Files: src/vim9instr.c, src/userfunc.c, src/vim9type.c,
27801 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim,
27802 src/testdir/test_vim9_func.vim, src/testdir/test_vimscript.vim
27803
27804Patch 8.2.4530
27805Problem: Making comparison with null work changes legacy behavior.
27806Solution: Only use the better comparison in Vim9 script. (closes #9910)
27807Files: src/typval.c, src/testdir/test_expr.vim
27808
27809Patch 8.2.4531
27810Problem: LGTM warnings for condition always true and buffer size too small.
27811Solution: Remove the useless condition. Make the buffer larger. (Goc
27812 Dundar, closes #9914)
27813Files: src/charset.c, src/term.c
27814
27815Patch 8.2.4532
27816Problem: Suspending with CTRL-Z does not work on OpenBSD.
27817Solution: Adjust #ifdef for SIGTSTP. (Stuart Henderson, closes #9912)
27818Files: src/os_unix.c
27819
27820Patch 8.2.4533
27821Problem: Vim9: no test that after assigning null the type is still checked.
27822Solution: Add a test.
27823Files: src/testdir/test_vim9_assign.vim
27824
27825Patch 8.2.4534
27826Problem: Vim9: "is" operator with empty string and null returns true.
27827Solution: Consider empty string and null to be different for "is".
27828Files: src/typval.c, src/vim9execute.c, src/testdir/test_vim9_expr.vim
27829
27830Patch 8.2.4535
Bram Moolenaar8a3b8052022-06-26 12:21:15 +010027831Problem: Filename modifier ":8" removes the filename.
Bram Moolenaard799daa2022-06-20 11:17:32 +010027832Solution: Use strncpy() instead of vim_strncpy(). (Christian Brabandt,
27833 closes #9918, closes #8600)
27834Files: src/filepath.c, src/testdir/test_shortpathname.vim
27835
27836Patch 8.2.4536 (after 8.2.4534)
27837Problem: Debugger test fails when breaking on expression.
27838Solution: Compare strings with "==" instead of "is".
27839Files: src/debugger.c
27840
27841Patch 8.2.4537
27842Problem: Output from linter and language server shows up in git.
27843Solution: Add patterns to .gitignore. (Goc Dundar, closes #9925)
27844Files: .gitignore
27845
27846Patch 8.2.4538
27847Problem: The find_tags_in_file() function is too long.
27848Solution: Refactor into smaller functions. (Yegappan Lakshmanan,
27849 closes #9920)
27850Files: src/tag.c, src/testdir/test_tagjump.vim
27851
27852Patch 8.2.4539
27853Problem: When comparing special v:none and v:null are handled the same when
27854 compiling.
27855Solution: Pass more information so that v:none can be handled differently at
27856 compile time. (issue #9923)
27857Files: src/vim9instr.c, src/vim9compile.c, src/globals.h,
27858 src/testdir/test_vim9_expr.vim
27859
27860Patch 8.2.4540
27861Problem: Line number for error is off by one.
27862Solution: Remember the line number of the comparison. (closes #9923)
27863Files: src/eval.c, src/testdir/test_vim9_expr.vim
27864
27865Patch 8.2.4541
27866Problem: Crash in debugger when a variable is not available in the current
27867 block.
27868Solution: Check for a NULL name. (closes #9926)
27869Files: src/vim9execute.c, src/testdir/test_debugger.vim
27870
27871Patch 8.2.4542
27872Problem: Vim9: "break" inside try/catch not handled correctly.
27873Solution: First jump to :endtry. (closes #9927)
27874Files: src/vim9cmds.c, src/vim9.h, src/testdir/test_vim9_script.vim
27875
27876Patch 8.2.4543
27877Problem: Coverity warning for refactored tag search code.
27878Solution: Avoid the warnings. Update comments. Add one more test case.
27879 (Yegappan Lakshmanan, closes #9928)
27880Files: src/tag.c, src/testdir/test_tagjump.vim
27881
27882Patch 8.2.4544
27883Problem: Coverity warnings for not using returned value.
27884Solution: Assign to vim_ignored.
27885Files: src/tag.c
27886
27887Patch 8.2.4545
27888Problem: MS-Windows: the installed icon is low resolution.
27889Solution: Use a better icon. Install vim.ico. (Christian Brabandt,
27890 closes #9931, closes #9930)
27891Files: Filelist, nsis/gvim.nsi, src/vim.ico, runtime/bitmaps/vim.ico
27892
27893Patch 8.2.4546
27894Problem: Duplicate #undef.
27895Solution: Remove one #undef. (closes #9932)
27896Files: src/regexp_nfa.c
27897
27898Patch 8.2.4547
27899Problem: The neXTaw GUI is old and does not work well.
27900Solution: Remove the neXTaw GUI from configure to find out who still wants
27901 support for this GUI.
27902Files: src/configure.ac, src/auto/configure, src/Makefile
27903
27904Patch 8.2.4548
27905Problem: Script-local function is deleted when used in a funcref.
27906Solution: Do not consider a function starting with "<SNR>" reference
27907 counted. (closes #9916, closes #9820)
27908Files: src/userfunc.c, src/testdir/test_vim9_func.vim
27909
27910Patch 8.2.4549
27911Problem: Cannot build with Motif and editres. (Tony Mechelynck)
27912Solution: Fix configure mistake.
27913Files: src/configure.ac, src/auto/configure
27914
27915Patch 8.2.4550
27916Problem: Motif: cannot set the color of the scrollbar thumb.
27917Solution: Remove #ifdef.
27918Files: src/gui_motif.c
27919
27920Patch 8.2.4551
27921Problem: When mapping <Esc> terminal codes are not recognized.
27922Solution: Specifically recognize a mapping with just <Esc> and check for
27923 terminal codes even though there is no partial mapping.
27924 (closes #9903)
27925Files: src/getchar.c, src/testdir/test_termcodes.vim
27926
27927Patch 8.2.4552
27928Problem: In a :def function "put = expr" does not work.
27929Solution: Skip over white space. (closes #9936)
27930Files: src/vim9cmds.c, src/testdir/test_vim9_cmd.vim
27931
27932Patch 8.2.4553
27933Problem: Linear tag search is a bit slow.
27934Solution: Remove a vim_ftell() call. (Yegappan Lakshmanan, closes #9937)
27935Files: src/tag.c, src/testdir/test_taglist.vim
27936
27937Patch 8.2.4554
27938Problem: Vim9: using null values not sufficiently tested.
27939Solution: Add more tests. Fix uncovered problem.
27940Files: src/vim9type.c, src/testdir/test_vim9_assign.vim,
27941 src/testdir/test_vim9_func.vim
27942
27943Patch 8.2.4555
27944Problem: getmousepos() returns the wrong column. (Ernie Rael)
27945Solution: Limit to the text size, not the number of bytes.
27946Files: src/mouse.c, src/testdir/test_functions.vim
27947
27948Patch 8.2.4556
27949Problem: Test fails without the +job or +channel feature. (Dominique Pellé)
27950Solution: Adjust #ifdefs. Pass on skip flag. (closes #9942)
27951Files: src/eval.c, src/vim9compile.c
27952
27953Patch 8.2.4557
27954Problem: Confusing comment about 'cursorlineopt'.
27955Solution: Adjust comment. (closes #9939) Add parenthesis around logical
27956 OR.
27957Files: src/drawline.c
27958
27959Patch 8.2.4558
27960Problem: Motif: using default colors does not work as expected.
27961Solution: Do not try to store the default colors, use the resources.
27962 (closes #9933)
27963Files: src/gui_motif.c, src/gui.h
27964
27965Patch 8.2.4559 (after 8.24555)
27966Problem: getmousepos() returns the screen column. (Ernie Rael)
27967Solution: Return the text column, as documented.
27968Files: src/mouse.c, src/testdir/test_functions.vim
27969
27970Patch 8.2.4560
27971Problem: Suspending with CTRL-Z does not work on DragonFlyBSD.
27972Solution: Adjust #ifdef. (Ozaki Kiichi, closes #9943)
27973Files: src/os_unix.c
27974
27975Patch 8.2.4561
27976Problem: Build failure with some combination of features. (John Marriott)
27977Solution: Adjust #ifdef.
27978Files: src/mouse.c
27979
27980Patch 8.2.4562
27981Problem: Linear tag search is not optimal.
27982Solution: Improve linear tag search performance. (Yegappan Lakshmanan,
27983 closes #9944)
27984Files: src/tag.c
27985
27986Patch 8.2.4563
27987Problem: "z=" in Visual mode may go beyond the end of the line.
27988Solution: Adjust "badlen".
27989Files: src/spellsuggest.c, src/testdir/test_spell.vim
27990
27991Patch 8.2.4564
27992Problem: Running test leaves file behind. (Dominique Pellé)
27993Solution: Run the profiling in a separate Vim instance. (closes #9952)
27994Files: src/testdir/test_vim9_script.vim
27995
27996Patch 8.2.4565
27997Problem: No command line completion for :breakadd and :breakdel.
27998Solution: Add completion for :breakadd and :breakdel. (Yegappan Lakshmanan,
27999 closes #9950)
28000Files: runtime/doc/builtin.txt, src/cmdexpand.c, src/spellsuggest.c,
28001 src/usercmd.c, src/vim.h, src/testdir/test_cmdline.vim,
28002 src/testdir/test_writefile.vim
28003
28004Patch 8.2.4566
28005Problem: Check for existing buffer in session file does not work for files
28006 in the home directory.
28007Solution: Use fnamemodify(). (James Cherti, closes #9945) Add a test.
28008Files: src/session.c, src/testdir/test_mksession.vim
28009
28010Patch 8.2.4567
28011Problem: Bracketed paste doesn't work well in Visual linewise mode.
28012Solution: Handle linewise Visual mode differently. (closes #9947)
28013Files: src/normal.c, src/testdir/test_paste.vim
28014
28015Patch 8.2.4568
28016Problem: getmousepos() does not compute the column below the last line.
28017Solution: Also compute the column when the mouse is below the last line.
28018 (Sean Dewar, closes #9946)
28019Files: src/mouse.c, src/testdir/test_functions.vim
28020
28021Patch 8.2.4569
28022Problem: Coverity warning for not using a return value.
28023Solution: Add "(void)".
28024Files: src/popupwin.c
28025
28026Patch 8.2.4570
28027Problem: No command line completion for :profile and :profdel.
28028Solution: Implement completion. (Yegappan Lakshmanan, closes #9955)
28029Files: src/cmdexpand.c, src/profiler.c, src/testdir/test_cmdline.vim,
28030 src/testdir/test_profile.vim
28031
28032Patch 8.2.4571
28033Problem: Not all gdb files are recognized.
28034Solution: Add a few more patterns for gdb. (Jade Lovelace, closes #9956)
28035Files: runtime/filetype.vim, src/testdir/test_filetype.vim
28036
28037Patch 8.2.4572
28038Problem: Vim9: return type "any" is sometimes changed to first returned
28039 type. (Virginia Senioria)
28040Solution: Do not change the return type if declared as "any". (closes #9949)
28041Files: src/vim9cmds.c, src/testdir/test_vim9_func.vim
28042
28043Patch 8.2.4573
28044Problem: A nested function (closure) is compiled for debugging without
28045 context.
28046Solution: Check if a nested function is marked for debugging before
28047 compiling it. Give an error when trying to compile a closure
28048 without its context. (closes #9951)
28049Files: src/vim9compile.c, src/vim9execute.c, src/proto/vim9execute.pro,
28050 src/vim9expr.c, src/errors.h
28051
28052Patch 8.2.4574
28053Problem: Vim9: test for profiling fails.
28054Solution: Mark function for profiling earlier to avoid E1271.
28055Files: src/testdir/test_vim9_script.vim
28056
28057Patch 8.2.4575
28058Problem: Vim9: test for profiling still fails.
28059Solution: Update flags for profiling and breakpoints when obtaining the
28060 compile type. Do not set the FC_CLOSURE flag for a toplevel
28061 function.
28062Files: src/vim.h, src/vim9compile.c, src/proto/vim9compile.pro,
28063 src/eval.c, src/vim9execute.c, src/vim9expr.c, src/vim9instr.c,
28064 src/vim9.h
28065
28066Patch 8.2.4576
28067Problem: Vim9: error for comparing with null can be annoying.
28068Solution: Allow comparing anything with null. (closes #9948)
28069Files: src/vim9instr.c, src/typval.c, src/testdir/test_vim9_expr.vim
28070
28071Patch 8.2.4577
28072Problem: Message test is flaky. (Elimar Riesebieter)
28073Solution: Trigger the autocommand event only after startup is finished.
28074Files: src/testdir/test_messages.vim
28075
28076Patch 8.2.4578
28077Problem: No warning when an autoload script for completion function has an
28078 error.
28079Solution: Do not ignore errors when a function name is given with a dot or
28080 '#' character. (closes #9958)
28081Files: src/eval.c, src/testdir/test_cmdline.vim
28082
28083Patch 8.2.4579
28084Problem: Cannot use page-up and page-down in the command line completion
28085 popup menu.
28086Solution: Check for to page-up and page-down keys. (Yegappan Lakshmanan,
28087 closes #9960)
28088Files: src/cmdexpand.c, src/ex_getln.c, src/spellsuggest.c, src/vim.h,
28089 src/testdir/test_cmdline.vim,
28090 src/testdir/dumps/Test_wildmenu_pum_42.dump,
28091 src/testdir/dumps/Test_wildmenu_pum_43.dump,
28092 src/testdir/dumps/Test_wildmenu_pum_44.dump,
28093 src/testdir/dumps/Test_wildmenu_pum_45.dump,
28094 src/testdir/dumps/Test_wildmenu_pum_46.dump,
28095 src/testdir/dumps/Test_wildmenu_pum_47.dump,
28096 src/testdir/dumps/Test_wildmenu_pum_48.dump,
28097 src/testdir/dumps/Test_wildmenu_pum_49.dump,
28098 src/testdir/dumps/Test_wildmenu_pum_50.dump
28099
28100Patch 8.2.4580
28101Problem: Vim9: incorrect error for shadowing variable.
28102Solution: Do not pass the context when compiling a referenced function.
28103Files: src/vim9expr.c, src/testdir/test_vim9_func.vim
28104
28105Patch 8.2.4581
28106Problem: Null types not fully tested.
28107Solution: Add some more tests using null types.
28108Files: src/testdir/test_vim9_expr.vim
28109
28110Patch 8.2.4582
28111Problem: Useless code handling a type declaration.
28112Solution: Remove the code and give an error.
28113Files: src/eval.c, src/errors.h, src/testdir/test_vim9_script.vim,
28114 src/testdir/dumps/Test_misplaced_type.dump
28115
28116Patch 8.2.4583 (after 8.2.4582)
28117Problem: Screendump test fails.
28118Solution: Check that making a screendump is possible.
28119Files: src/testdir/test_vim9_script.vim
28120
28121Patch 8.2.4584 (after 8.2.4578)
28122Problem: Error for using autoload function in custom completion.
28123Solution: Do not check for errors when using an autoload function.
28124 (closes #9962)
28125Files: src/eval.c, src/testdir/test_cmdline.vim
28126
28127Patch 8.2.4585
28128Problem: Cannot use keypad page-up/down for completion menu.
28129Solution: Recognize the keypad keys. (Yegappan Lakshmanan, closes #9963)
28130Files: src/ex_getln.c, src/testdir/test_cmdline.vim
28131
28132Patch 8.2.4586
28133Problem: Vim9: no error for using lower case name for "func" argument.
28134 (Ernie Rael)
28135Solution: Check the name as soon as the type is known.
28136Files: src/userfunc.c, src/testdir/test_vim9_func.vim
28137
28138Patch 8.2.4587
28139Problem: Vim9: double free after unpacking a list.
28140Solution: Make a copy of the value instead of moving it. (closes #9968)
28141Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
28142
28143Patch 8.2.4588
28144Problem: Mapping with key code after other matching mapping does not work.
28145Solution: Change ">" to ">=". (closes #9903)
28146Files: src/getchar.c, src/testdir/test_termcodes.vim
28147
28148Patch 8.2.4589
28149Problem: Cannot index the g: dictionary.
28150Solution: Recognize using "g:[key]". (closes #9969)
28151Files: src/ex_docmd.c, src/eval.c, src/vim9compile.c,
28152 src/testdir/test_vim9_assign.vim
28153
28154Patch 8.2.4590
28155Problem: Vim9: range type check has wrong offset.
28156Solution: Adjust offset for CHECKTYPE. Remove other type check.
28157Files: src/vim9compile.c, src/vim9execute.c,
28158 src/testdir/test_vim9_assign.vim
28159
28160Patch 8.2.4591
28161Problem: Cursor line not updated when a callback moves the cursor.
28162Solution: Check if the cursor moved. (closes #9970)
28163Files: src/main.c, src/drawscreen.c, src/proto/drawscreen.pro,
28164 src/testdir/test_cursorline.vim,
28165 src/testdir/dumps/Test_cursorline_callback_1.dump
28166
28167Patch 8.2.4592
28168Problem: Search continues after giving E1204.
28169Solution: Return failure after giving E1204. (closes #9972)
28170Files: src/regexp_nfa.c
28171
28172Patch 8.2.4593
28173Problem: Unnecessary call to redraw_later().
28174Solution: Remove the call to redraw_later() in op_yank(). (closes #9971)
28175Files: src/register.c
28176
28177Patch 8.2.4594
28178Problem: Need to write script to a file to be able to source them.
28179Solution: Make ":source" use lines from the current buffer. (Yegappan
28180 Lakshmanan et al., closes #9967)
28181Files: runtime/doc/repeat.txt, runtime/doc/todo.txt, src/alloc.c,
28182 src/digraph.c, src/eval.c, src/ex_cmds.h, src/scriptfile.c,
28183 src/proto/scriptfile.pro, src/vim9script.c,
28184 src/testdir/test_source.vim
28185
28186Patch 8.2.4595
28187Problem: X11: using --remote-wait may keep the CPU busy.
28188Solution: Set the timeout for select() on every call. (Jacopo Secchiero,
28189 closes #9973)
28190Files: src/if_xcmdsrv.c
28191
28192Patch 8.2.4596
28193Problem: Installing tutor binary may fail.
28194Solution: Fix the dependency. (Sergei Trofimovich, closes #9978)
28195Files: src/Makefile
28196
28197Patch 8.2.4597
28198Problem: LuaV_debug() not covered by tests.
28199Solution: Add a test. (Dominique Pellé, closes #9980)
28200Files: src/testdir/test_lua.vim
28201
28202Patch 8.2.4598
28203Problem: Profile completion test sometimes fails.
28204Solution: Delete the .res file before running tests.
28205Files: src/testdir/runtest.vim
28206
28207Patch 8.2.4599
28208Problem: GTK: get assertion errors when scrolling a split window.
28209Solution: Use GDK_IS_DRAWABLE() on the scrollbar window. (closes #9982)
28210Files: src/gui_gtk.c
28211
28212Patch 8.2.4600
28213Problem: Vim9: not enough test coverage for executing :def function.
28214Solution: Add a few more tests. Fix inconsistencies.
28215Files: src/vim9execute.c, src/evalvars.c, src/proto/evalvars.pro,
28216 src/testdir/test_listdict.vim, src/testdir/test_vim9_assign.vim,
28217 src/testdir/test_vim9_cmd.vim
28218
28219Patch 8.2.4601
28220Problem: Vim9: not enough test coverage for executing :def function.
28221Solution: Add a few more tests.
28222Files: src/testdir/test_vim9_script.vim, src/testdir/test_vim9_func.vim,
28223 src/testdir/test_vim9_cmd.vim
28224
28225Patch 8.2.4602
28226Problem: Vim9: not enough test coverage for executing :def function.
28227Solution: Add a few more tests. Fix uncovered problem. Remove dead code.
28228Files: src/vim9execute.c, src/vim9.h, src/vim9instr.c,
28229 src/proto/vim9instr.pro, src/vim9compile.c,
28230 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_expr.vim
28231
28232Patch 8.2.4603
28233Problem: Sourcing buffer lines is too complicated.
28234Solution: Simplify the code. Make it possible to source Vim9 script lines.
28235 (Yegappan Lakshmanan, closes #9974)
28236Files: runtime/doc/repeat.txt, src/ex_docmd.c, src/proto/scriptfile.pro,
28237 src/scriptfile.c, src/structs.h, src/testdir/test_source.vim
28238
28239Patch 8.2.4604
28240Problem: Error for redefining a script item may be confusing.
28241Solution: Put quotes around the name.
28242Files: src/errors.h
28243
28244Patch 8.2.4605
28245Problem: Error for arguments of remote_expr() even when the +clientserver
28246 feature is not included.
28247Solution: Move #ifdef.
28248Files: src/clientserver.c
28249
28250Patch 8.2.4606 (after 8.2.4605)
28251Problem: Test fails because of changed error message.
28252Solution: Update the expected error message
28253Files: src/testdir/test_vim9_import.vim
28254
28255Patch 8.2.4607
28256Problem: Sourcing buffer lines may lead to errors for conflicts.
28257Solution: Add the ++clear argument. (Yegappan Lakshmanan, closes #9991)
28258Files: runtime/doc/repeat.txt, src/scriptfile.c, src/vim9script.c,
28259 src/proto/vim9script.pro, src/testdir/test_source.vim
28260
28261Patch 8.2.4608
Bram Moolenaar71b6d332022-09-10 13:13:14 +010028262Problem: getcompletion() does not work properly when 'wildoptions'
Bram Moolenaard799daa2022-06-20 11:17:32 +010028263 contains "fuzzy".
28264Solution: Do not use addstar(). (Yegappan Lakshmanan, closes #9992,
28265 closes #9986)
28266Files: runtime/doc/builtin.txt, src/cmdexpand.c,
28267 src/testdir/test_cmdline.vim
28268
28269Patch 8.2.4609
28270Problem: :unhide does not check for failing to close a window.
28271Solution: When closing a window fails continue with the next one. Do not
28272 try closing the autocmd window. (closes #9984)
28273Files: src/buffer.c, src/window.c, src/proto/window.pro,
28274 src/testdir/test_autocmd.vim
28275
28276Patch 8.2.4610
28277Problem: Some conditions are always true.
28278Solution: Remove the useless conditions. (closes #9993)
28279Files: src/clientserver.c, src/drawline.c, src/drawscreen.c,
28280 src/ex_cmds.c, src/fileio.c, src/message.c, src/misc2.c,
28281 src/ops.c, src/sign.c, src/spell.c, src/vim9cmds.c, src/window.c
28282
28283Patch 8.2.4611
28284Problem: Typos in tests; one lua line not covered by test.
28285Solution: Fix typos. Add test case. (Dominique Pellé, closes #9994)
28286Files: src/testdir/test_breakindent.vim, src/testdir/test_crypt.vim,
28287 src/testdir/test_cursorline.vim, src/testdir/test_digraph.vim,
28288 src/testdir/test_gui.vim, src/testdir/test_lua.vim,
28289 src/testdir/test_regexp_latin.vim, src/testdir/test_signals.vim,
28290 src/testdir/test_spell.vim, src/testdir/test_statusline.vim,
28291 src/testdir/test_vim9_disassemble.vim,
28292 src/testdir/test_vim9_expr.vim, src/testdir/test_vimscript.vim
28293
28294Patch 8.2.4612
28295Problem: Vim9: cannot use a recursive call in a nested function. (Sergey
28296 Vlasov)
28297Solution: Define the funcref before compiling the function. (closes #9989)
28298Files: src/vim9compile.c, src/vim9instr.c, src/proto/vim9instr.pro,
28299 src/vim9expr.c, src/testdir/test_vim9_func.vim
28300
28301Patch 8.2.4613
28302Problem: Return type of swapfile_unchanged() is wrong.
28303Solution: Use "int". (closes #10000 Yeah!)
28304Files: src/memline.c
28305
28306Patch 8.2.4614
28307Problem: Redrawing too much when 'cursorline' is set and jumping around.
28308Solution: Rely on win_update() to redraw the current and previous cursor
28309 line, do not mark lines as modified. (closes #9996)
28310Files: src/drawline.c, src/drawscreen.c, src/move.c, src/proto/move.pro,
28311 src/option.c
28312
28313Patch 8.2.4615
28314Problem: Mapping with escaped bar does not work in :def function. (Sergey
28315 Vlasov)
28316Solution: Do not remove the backslash. (closes #10002)
28317Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/syntax.c,
28318 src/vim9cmds.c, src/testdir/test_vim9_cmd.vim
28319
28320Patch 8.2.4616
28321Problem: Vim9: Declarations in a {} block of a user command do not use Vim9
28322 rules if defined in a legacy script. (Yegappan Lakshmanan)
28323Solution: Pretend the script is Vim9 script.
28324Files: src/usercmd.c, src/testdir/test_usercommands.vim
28325
28326Patch 8.2.4617
28327Problem: No completion for :scriptnames.
28328Solution: Implement :scriptnames completion. (Yegappan Lakshmanan,
28329 closes #10005)
28330Files: runtime/doc/builtin.txt, src/cmdexpand.c, src/ex_cmds.h,
28331 src/scriptfile.c, src/usercmd.c, src/vim.h,
28332 src/testdir/test_cmdline.vim, src/testdir/test_quickfix.vim
28333
28334Patch 8.2.4618
28335Problem: Command line completion does not recognize single letter commands.
28336Solution: Use the condition from find_ex_command().
28337Files: src/ex_docmd.c
28338
28339Patch 8.2.4619
28340Problem: Mapping is cancelled when mouse moves and popup is visible.
28341Solution: Only generate mouse moved events when a popup may use them.
28342 (closes #10004)
28343Files: src/gui.c, src/globals.h, src/popupwin.c
28344
28345Patch 8.2.4620 (after 8.2.4618)
28346Problem: Two letter substitute commands don't work. (Yegappan Lakshmanan)
28347Solution: Invert condition.
28348Files: src/ex_docmd.c
28349
28350Patch 8.2.4621
28351Problem: Crash when using the tabline right-click menu.
28352Solution: Use XtPointer for XmNuserData. (closes #10009)
28353Files: src/gui_motif.c
28354
28355Patch 8.2.4622
28356Problem: Vim9: Crash with :execute and :finish. (Sergey Vlasov)
28357Solution: Check for NULL. (closes #10011)
28358Files: src/eval.c, src/testdir/test_vim9_script.vim
28359
28360Patch 8.2.4623
28361Problem: Coverity warns for using uninitialized field.
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010028362Solution: Initialize the field to zero.
Bram Moolenaard799daa2022-06-20 11:17:32 +010028363Files: src/ex_docmd.c
28364
28365Patch 8.2.4624
28366Problem: Old Coverity warning for resource leak.
28367Solution: Close the file if memory allocation fails.
28368Files: src/diff.c
28369
28370Patch 8.2.4625
28371Problem: Old Coverity warning for resource leak.
28372Solution: Call FreeWild() if expanding matches did not fail.
28373Files: src/help.c
28374
28375Patch 8.2.4626
28376Problem: Visual area not fully updated when removing sign in Visual mode
28377 while scrolling.
28378Solution: Adjust check for topline. (closes #10017)
28379Files: src/drawscreen.c, src/testdir/test_display.vim,
28380 src/testdir/dumps/Test_display_scroll_update_visual.dump
28381
28382Patch 8.2.4627
28383Problem: flatten() does not use maxdepth correctly.
28384Solution: Use a recursive implementation. (closes #10020)
28385Files: src/list.c, src/testdir/test_flatten.vim
28386
28387Patch 8.2.4628
28388Problem: Not enough testing for 2/3 letter substitute commands.
28389Solution: Add more tests. (Yegappan Lakshmanan, closes #10019)
28390Files: src/testdir/test_cmdline.vim, src/testdir/test_substitute.vim
28391
28392Patch 8.2.4629
28393Problem: flattennew() makes a deep copy unnecessarily.
28394Solution: Use a shallow copy. (issue #10012)
28395Files: src/list.c
28396
28397Patch 8.2.4630
28398Problem: 'cursorline' not always updated with 'cursorlineopt' is
28399 "screenline".
28400Solution: Call check_redraw_cursorline() more often. (closes #10013)
28401Files: src/normal.c, src/edit.c, src/testdir/test_cursorline.vim,
28402 src/testdir/dumps/Test_cursorline_screenline_1.dump,
28403 src/testdir/dumps/Test_cursorline_screenline_2.dump
28404
28405Patch 8.2.4631
28406Problem: Crash when switching window in BufWipeout autocommand.
28407Solution: Put any buffer in the window to avoid it being NULL.
28408 (closes #10024)
28409Files: src/window.c, src/buffer.c, src/testdir/test_autocmd.vim
28410
28411Patch 8.2.4632
28412Problem: Using freed memory in flatten().
28413Solution: Clear typval after recursing into list.
28414Files: src/list.c
28415
28416Patch 8.2.4633
28417Problem: Visual range does not work before command modifiers.
28418Solution: Move Visual range to after command modifiers.
28419Files: src/ex_docmd.c, src/testdir/test_source.vim
28420
28421Patch 8.2.4634
28422Problem: Vim9: cannot initialize a variable to null_list.
28423Solution: Give negative count to NEWLIST. (closes #10027)
28424 Also fix inconsistencies in comparing with null values.
28425Files: src/vim9instr.c, src/proto/vim9instr.pro, src/vim9.h,
28426 src/vim9compile.c, src/vim9expr.c, src/vim9execute.c,
28427 src/evalvars.c, src/typval.c, src/testdir/test_vim9_expr.vim,
28428 src/testdir/test_vim9_builtin.vim,
28429 src/testdir/test_vim9_disassemble.vim
28430
28431Patch 8.2.4635 (after 8.2.4634)
28432Problem: Tests using null list or dict fail.
28433Solution: Only use the new rules for Vim9 script.
28434Files: src/evalvars.c
28435
28436Patch 8.2.4636 (after 8.2.4633)
28437Problem: Not using Visual range.
28438Solution: Put the command pointer back to the range.
28439Files: src/ex_docmd.c
28440
28441Patch 8.2.4637
28442Problem: Warning for using uninitialized variable. (Tony Mechelynck)
28443Solution: Initialize it.
28444Files: src/ex_docmd.c
28445
28446Patch 8.2.4638
28447Problem: Superfluous check if a redraw is needed for 'cursorline'.
28448Solution: Remove check_redraw_cursorline(). (closes #10030, closes #10029)
28449Files: src/drawscreen.c, src/proto/drawscreen.pro, src/edit.c,
28450 src/main.c, src/normal.c, src/move.c,
28451 src/testdir/dumps/Test_cursorcolumn_callback_1.dump,
28452 src/testdir/dumps/Test_relativenumber_callback_1.dump,
28453 src/testdir/test_highlight.vim, src/testdir/test_number.vim
28454
28455Patch 8.2.4639
28456Problem: Not sufficient parenthesis in preprocessor macros.
28457Solution: Add more parenthesis. (closes #10031)
28458Files: src/globals.h, src/gui.h, src/if_py_both.h, src/macros.h,
28459 src/option.h, src/regexp.h, src/spell.h, src/structs.h, src/vim.h,
28460 src/vim9.h
28461
28462Patch 8.2.4640
28463Problem: Some boolean options use "long" instead of "int".
28464Solution: Adjust the type. (James McCoy, closes #10033)
28465Files: src/option.h
28466
28467Patch 8.2.4641
28468Problem: May mark the wrong window for redrawing.
28469Solution: Use redraw_win_later(). (closes #10032)
28470Files: src/move.c
28471
28472Patch 8.2.4642
28473Problem: Vim9: in :def function script var cannot be null.
28474Solution: Only initialize a script variable when not set to a null value.
28475 (closes #10034)
28476Files: src/vim9execute.c, src/vim9type.c, src/globals.h, src/evalvars.c,
28477 src/vim.h, src/vim9script.c, src/testdir/test_vim9_expr.vim
28478
28479Patch 8.2.4643
28480Problem: Vim9: variable may be locked unintentionally.
28481Solution: Clear "v_lock". (closes #10036)
28482Files: src/vim9execute.c, src/testdir/test_vim9_builtin.vim
28483
28484Patch 8.2.4644
28485Problem: Redrawing too often when 'relativenumber' is set.
28486Solution: Only redraw when the cursor line changed. (Lewis Russell,
28487 closes #10040)
28488Files: src/change.c, src/drawscreen.c, src/structs.h
28489
28490Patch 8.2.4645
28491Problem: 'shortmess' changed when session does not store options.
Bram Moolenaarb59ae592022-11-23 23:46:31 +000028492Solution: Save and restore 'shortmess' if needed. (James Cherti,
Bram Moolenaard799daa2022-06-20 11:17:32 +010028493 closes #10037)
28494Files: src/session.c, src/testdir/test_mksession.vim
28495
28496Patch 8.2.4646
28497Problem: Using buffer line after it has been freed in old regexp engine.
28498Solution: After getting mark get the line again.
28499Files: src/regexp_bt.c, src/testdir/test_regexp_latin.vim
28500
28501Patch 8.2.4647
28502Problem: "source" can read past end of copied line.
28503Solution: Add a terminating NUL.
28504Files: src/scriptfile.c, src/testdir/test_source.vim
28505
28506Patch 8.2.4648
28507Problem: Handling LSP messages is a bit slow.
28508Solution: Included support for LSP messages. (Yegappan Lakshmanan,
28509 closes #10025)
28510Files: runtime/doc/channel.txt, src/channel.c, src/job.c, src/json.c,
28511 src/proto/json.pro, src/structs.h, src/testdir/test_channel.vim,
28512 src/testdir/test_channel_lsp.py
28513
28514Patch 8.2.4649
28515Problem: Various formatting problems.
28516Solution: Improve the code formatting.
28517Files: src/mark.c, src/quickfix.c, src/regexp_nfa.c, src/register.c,
28518 src/testdir/test_filechanged.vim, src/gui_athena.c,
28519 src/gui_motif.c, src/os_unix.c
28520
28521Patch 8.2.4650
28522Problem: "import autoload" only works with using 'runtimepath'.
28523Solution: Also support a relative and absolute file name.
28524Files: runtime/doc/vim9.txt, src/structs.h, src/scriptfile.c,
28525 src/proto/scriptfile.pro, src/vim9script.c, src/vim9expr.c,
28526 src/vim9.h, src/vim9execute.c, src/vim9instr.c,
28527 src/proto/vim9instr.pro, src/vim.h, src/userfunc.c,
28528 src/proto/userfunc.pro, src/testdir/test_vim9_import.vim,
28529 src/testdir/test_vim9_disassemble.vim
28530
28531Patch 8.2.4651 (after 8.2.4650)
28532Problem: Test fails because path differs.
28533Solution: Only compare the tail of the path.
28534Files: src/testdir/test_vim9_disassemble.vim
28535
28536Patch 8.2.4652 (after 8.2.4650)
28537Problem: Leaking memory if assignment fails.
28538Solution: Clear assigned value on failure.
28539Files: src/vim9execute.c
28540
28541Patch 8.2.4653
28542Problem: "import autoload" does not check the file name.
28543Solution: Give an error if the file is not readable. (closes #10049)
28544Files: src/filepath.c, src/proto/filepath.pro, src/errors.h,
28545 src/ex_cmds.c, src/ex_docmd.c, src/spellfile.c,
28546 src/testdir/test_vim9_import.vim
28547
28548Patch 8.2.4654 (after 8.2.4653)
28549Problem: Missing changes for import check.
28550Solution: Add missing changes.
28551Files: src/vim9script.c
28552
28553Patch 8.2.4655
28554Problem: Command line completion popup menu positioned wrong when using a
28555 terminal window.
28556Solution: Position the popup menu differently when editing the command line.
28557 (Yegappan Lakshmanan, closes #10050, closes #10035)
28558Files: src/popupmenu.c, src/testdir/test_cmdline.vim,
28559 src/testdir/test_terminal.vim,
28560 src/testdir/dumps/Test_wildmenu_pum_term_01.dump
28561
28562Patch 8.2.4656
28563Problem: Vim9: can't use items from "import autoload" with autoload
28564 directory name.
28565Solution: Let sn_autoload_prefix overrule sn_import_autoload.
28566 (closes #10054)
28567Files: src/structs.h, src/vim9instr.c, src/vim9expr.c, src/vim9script.c,
28568 src/testdir/test_vim9_import.vim
28569
28570Patch 8.2.4657
28571Problem: Errors for functions are sometimes hard to read.
28572Solution: Use printable_func_name() in more places.
28573Files: src/vim9execute.c, src/userfunc.c, src/proto/userfunc.pro,
28574 src/vim9expr.c, src/eval.c, src/vim9instr.c, src/vim9type.c,
28575 src/testdir/test_vim9_expr.vim
28576
28577Patch 8.2.4658
28578Problem: Org-mode files are not recognized.
28579Solution: Add patterns to recognize "org" files. (closes #10046)
28580Files: runtime/filetype.vim, src/testdir/test_filetype.vim
28581
28582Patch 8.2.4659
28583Problem: Invalid memory access when using printable function name.
28584Solution: Adjust copied name length.
28585Files: src/userfunc.c
28586
28587Patch 8.2.4660
28588Problem: Cursorcolumn is sometimes not correct.
28589Solution: Recompute the cursor column when entering Insert mode and the
28590 cursor is on a character wider than a screen cell. (closes #10057)
28591Files: src/edit.c, src/testdir/test_highlight.vim,
28592 src/testdir/dumps/Test_cursorcolumn_insert_on_tab_1.dump,
28593 src/testdir/dumps/Test_cursorcolumn_insert_on_tab_2.dump
28594
28595Patch 8.2.4661
28596Problem: Coverity warning for using uninitialized variable.
28597Solution: Initialize variable to NULL.
28598Files: src/vim9expr.c
28599
28600Patch 8.2.4662
28601Problem: No error for using out of range list index.
28602Solution: Check list index at script level like in compiled function.
28603 (closes #10051)
28604Files: src/vim.h, src/evalvars.c, src/list.c, src/proto/list.pro,
28605 src/eval.c, src/vim9execute.c, src/testdir/test_vim9_assign.vim
28606
28607Patch 8.2.4663
28608Problem: Occasional crash when running the GUI tests.
28609Solution: Check that the line index is not too high. (closes #8681)
28610Files: src/screen.c
28611
28612Patch 8.2.4664
28613Problem: Elvish files are not recognized.
28614Solution: Recognize .elv files. (Bruno Roque, closes #10058)
28615Files: runtime/filetype.vim, src/testdir/test_filetype.vim
28616
28617Patch 8.2.4665
28618Problem: Popup with "minwidth" and scrollbar not updated properly.
28619Solution: Adjust the computation if the window width. (closes #10061)
28620Files: src/popupwin.c, src/testdir/test_popupwin.vim,
28621 src/testdir/dumps/Test_popupwin_previewpopup_4.dump,
28622 src/testdir/dumps/Test_popupwin_previewpopup_5.dump,
28623 src/testdir/dumps/Test_popupwin_previewpopup_7.dump,
28624 src/testdir/dumps/Test_popupwin_previewpopup_8.dump,
28625 src/testdir/dumps/Test_popupwin_previewpopup_9.dump,
28626 src/testdir/dumps/Test_popupwin_previewpopup_10.dump,
28627 src/testdir/dumps/Test_popupwin_drag_minwidth_1.dump,
28628 src/testdir/dumps/Test_popupwin_drag_minwidth_2.dump,
28629 src/testdir/dumps/Test_popupwin_drag_minwidth_3.dump
28630
28631Patch 8.2.4666
28632Problem: Vim9: assignment not recognized in skipped block.
28633Solution: When skipping assume identifier exists. (closes #10059)
28634Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9cmds.c,
28635 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_script.vim
28636
28637Patch 8.2.4667
28638Problem: expandcmd() fails on an error.
Bram Moolenaareb490412022-06-28 13:44:46 +010028639Solution: On failure return the command unmodified. (Yegappan Lakshmanan,
Bram Moolenaard799daa2022-06-20 11:17:32 +010028640 closes #10063)
28641Files: runtime/doc/builtin.txt, src/evalfunc.c,
28642 src/testdir/test_expand.vim
28643
28644Patch 8.2.4668
28645Problem: Buffer allocation failures insufficiently tested.
28646Solution: Add tests for memory allocation failures. (Yegappan Lakshmanan,
28647 closes #10064)
28648Files: src/alloc.h, src/buffer.c, src/popupwin.c, src/window.c,
28649 src/testdir/test_buffer.vim, src/testdir/test_swap.vim
28650
28651Patch 8.2.4669
28652Problem: In compiled code len('string') is not inlined.
28653Solution: Compute the length at compile time if possible. (closes #10065)
28654Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9expr.c,
28655 src/testdir/test_vim9_disassemble.vim
28656
28657Patch 8.2.4670
28658Problem: Memory allocation failures for new tab page not tested.
28659Solution: Add tests with failing memory allocation. (Yegappan Lakshmanan,
28660 closes #10067)
28661Files: src/alloc.h, src/blob.c, src/buffer.c, src/window.c,
28662 src/testdir/test_blob.vim, src/testdir/test_buffer.vim,
28663 src/testdir/test_tabpage.vim, src/testdir/test_window_cmd.vim
28664
28665Patch 8.2.4671
28666Problem: 'wildignorecase' is sometimes not used for glob().
28667Solution: Also use 'wildignorecase' when there are no wildcards.
28668 (closes #10066, closes #8350)
28669Files: src/filepath.c, src/testdir/test_functions.vim
28670
28671Patch 8.2.4672
28672Problem: Using :normal with Ex mode may make :substitute hang.
28673Solution: When getting an empty line behave like 'q' was typed.
28674 (closes #10070)
28675Files: src/ex_cmds.c, src/testdir/test_normal.vim
28676
28677Patch 8.2.4673
28678Problem: Redrawing a vertically split window is slow when using CTRL-F and
28679 CTRL-B.
28680Solution: When deciding on USE_REDRAW bail out if scrolling more than three
28681 lines. (issue #8002)
28682Files: src/screen.c
28683
28684Patch 8.2.4674
28685Problem: Cannot force getting MouseMove events.
Bram Moolenaar8a3b8052022-06-26 12:21:15 +010028686Solution: Add the 'mousemoveevent' option with implementation for the GUI.
Bram Moolenaard799daa2022-06-20 11:17:32 +010028687 (Ernie Rael, closes #10044)
28688Files: runtime/doc/gui.txt, runtime/doc/options.txt,
28689 runtime/doc/testing.txt, src/gui.c, src/option.h,
28690 src/optiondefs.h, src/testing.c, src/testdir/test_gui.vim
28691
28692Patch 8.2.4675
28693Problem: No error for missing expression after :elseif. (Ernie Rael)
28694Solution: Check for missing expression. (closes #10068)
28695Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
28696
28697Patch 8.2.4676 (after 8.2.4675)
28698Problem: Test fails with different error.
28699Solution: Add argument to :elseif.
28700Files: src/testdir/test_vimscript.vim
28701
28702Patch 8.2.4677
28703Problem: The Athena GUI support is outdated.
28704Solution: Remove the Athena GUI code.
28705Files: Filelist, src/Makefile, src/proto.h, src/clipboard.c,
28706 src/gui_athena.c, src/proto/gui_athena.pro, src/gui_at_sb.c,
28707 src/gui_at_sb.h, src/gui_at_fs.c, src/gui_motif.c, src/evalfunc.c,
28708 src/gui.c, src/gui_beval.c, src/gui_x11.c, src/if_mzsch.c,
28709 src/main.c, src/menu.c, src/mouse.c, src/version.c, src/feature.h,
28710 src/gui.h, src/structs.h, src/vim.h, src/testdir/gui_init.vim,
28711 src/testdir/setup_gui.vim, src/testdir/test_clientserver.vim,
28712 src/testdir/test_edit.vim, src/testdir/test_gui.vim,
28713 src/testdir/test_highlight.vim, src/testdir/test_quotestar.vim,
28714 src/testdir/test_startup.vim, runtime/doc/gui.txt,
28715 runtime/doc/gui_x11.txt
28716
28717Patch 8.2.4678
28718Problem: Vim9: not all code is tested.
28719Solution: Add a few more tests.
28720Files: src/vim9execute.c, src/testdir/test_vim9_script.vim,
28721 src/testdir/test_vim9_import.vim, src/testdir/test_vim9_cmd.vim
28722
28723Patch 8.2.4679
28724Problem: Cannot have expandcmd() give an error message for mistakes.
28725Solution: Add an optional argument to give errors. Fix memory leak when
28726 expanding files fails. (Yegappan Lakshmanan, closes #10071)
28727Files: runtime/doc/builtin.txt, src/evalfunc.c, src/filepath.c,
28728 src/testdir/test_expand.vim, src/testdir/test_vim9_builtin.vim
28729
28730Patch 8.2.4680
28731Problem: Build failure without +postscript.
28732Solution: Use another error message.
28733Files: src/vim9execute.c, src/testdir/test_vim9_import.vim
28734
28735Patch 8.2.4681
28736Problem: Build fails with a combination of features.
28737Solution: Remove #ifdef for alloc_clear_id(). (John Marriott)
28738Files: src/alloc.c
28739
28740Patch 8.2.4682
28741Problem: Vim9: can use :unlockvar for const variable. (Ernie Rael)
28742Solution: Check whether the variable is a const.
28743Files: src/ex_docmd.c, src/evalvars.c, src/vim9script.c,
28744 src/proto/vim9script.pro, src/eval.c, src/userfunc.c,
28745 src/testdir/test_vim9_cmd.vim
28746
28747Patch 8.2.4683
28748Problem: Verbose check with dict_find() to see if a key is present.
28749Solution: Add dict_has_key(). (Yegappan Lakshmanan, closes #10074)
28750Files: src/channel.c, src/dict.c, src/evalwindow.c, src/filepath.c,
28751 src/highlight.c, src/json.c, src/match.c, src/popupwin.c,
28752 src/proto/dict.pro, src/quickfix.c, src/search.c, src/sign.c,
28753 src/tag.c, src/terminal.c, src/testing.c, src/textprop.c,
28754 src/time.c
28755
28756Patch 8.2.4684
28757Problem: Cannot open a channel on a Unix domain socket.
28758Solution: Add Unix domain socket support. (closes #10062)
28759Files: runtime/doc/channel.txt, src/channel.c, src/testdir/check.vim,
28760 src/testdir/shared.vim, src/testdir/test_channel.py,
28761 src/testdir/test_channel.vim, src/testdir/test_channel_unix.py,
28762 src/testdir/test_cmdline.vim
28763
28764Patch 8.2.4685
28765Problem: When a swap file is found for a popup there is no dialog and the
28766 buffer is loaded anyway.
28767Solution: Silently load the buffer read-only. (closes #10073)
28768Files: runtime/doc/popup.txt, src/memline.c, src/popupwin.c, src/vim.h,
28769 src/buffer.c, src/testdir/test_popupwin.vim
28770
28771Patch 8.2.4686
28772Problem: Configure doesn't find the Motif library with Cygwin.
28773Solution: Check for libXm.dll.a. (Kelvin Lee, closes #10077)
28774Files: src/configure.ac, src/auto/configure
28775
28776Patch 8.2.4687
28777Problem: "vimgrep /\%v/ *" may cause a crash.
28778Solution: When compiling the pattern with the old engine fails, restore the
28779 regprog of the new engine instead of leaving it NULL.
28780 (closes #10079)
28781Files: src/regexp.c
28782
28783Patch 8.2.4688
28784Problem: New regexp engine does not give an error for "\%v".
28785Solution: Check for a value argument. (issue #10079)
28786Files: src/regexp_nfa.c, src/errors.h, src/regexp_bt.c,
28787 src/testdir/test_regexp_latin.vim
28788
28789Patch 8.2.4689
28790Problem: Using <Cmd> in a mapping does not work for mouse keys in Insert
28791 mode. (Sergey Vlasov)
28792Solution: When reading the <Cmd> argument do not use the stuff buffer.
28793 (closes #10080)
28794Files: src/getchar.c
28795
28796Patch 8.2.4690
28797Problem: Channel tests fail on MS-Windows.
28798Solution: Check if the AF_UNIX attribute exists. (closes #10083)
28799Files: src/testdir/test_channel.py, src/testdir/test_channel_unix.py
28800
28801Patch 8.2.4691 (after 8.2.4689)
28802Problem: Solution for <Cmd> in a mapping causes trouble.
28803Solution: Use another solution: put back CTRL-O after reading the <Cmd>
28804 sequence.
28805Files: src/getchar.c
28806
28807Patch 8.2.4692
28808Problem: No test for what 8.2.4691 fixes.
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010028809Solution: Add a test. Use a more generic solution. (closes #10090)
Bram Moolenaard799daa2022-06-20 11:17:32 +010028810Files: src/getchar.c, src/mouse.c, src/testdir/test_mapping.vim
28811
28812Patch 8.2.4693 (after 8.2.4688)
28813Problem: new regexp does not accept pattern "\%>0v".
28814Solution: Do accept digit zero.
28815Files: src/regexp_bt.c, src/regexp_nfa.c,
28816 src/testdir/test_regexp_latin.vim
28817
28818Patch 8.2.4694
28819Problem: Avoidance of #elif causes more preproc nesting.
28820Solution: Use #elif where it is useful. (Ozaki Kiichi, closes #10081)
28821Files: src/option.c, src/optiondefs.h, src/optionstr.c, src/version.c
28822
28823Patch 8.2.4695
28824Problem: JSON encoding could be faster.
28825Solution: Optimize encoding JSON strings. (closes #10086)
28826Files: src/json.c, src/testdir/test_json.vim
28827
28828Patch 8.2.4696
28829Problem: delete() with "rf" argument does not report a failure.
28830Solution: Return -1 if the directory could not be removed. (closes #10078)
28831Files: src/fileio.c, src/testdir/test_functions.vim
28832
28833Patch 8.2.4697
28834Problem: Vim9: crash when adding a duplicate key to a dictionary.
28835Solution: Clear the stack item when it has been moved into the dictionary.
28836 (closes #10087)
28837Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
28838
28839Patch 8.2.4698
28840Problem: Vim9: script variable has no flag that it was set.
28841Solution: Add a flag that it was set, to avoid giving it a value when used.
28842 (closes #10088)
28843Files: src/structs.h, src/vim9script.c, src/vim9execute.c,
28844 src/evalvars.c, src/testdir/test_vim9_assign.vim,
28845 src/testdir/test_vim9_builtin.vim
28846
28847Patch 8.2.4699
28848Problem: Hard to reproduce hang when reading from a channel.
28849Solution: Check for readahead before starting to wait. (closes #10093,
28850 closes #7781, closes #6364)
28851Files: src/channel.c
28852
28853Patch 8.2.4700
28854Problem: Buffer remains active if a WinClosed event throws an exception.
28855Solution: Ignore aborting() when closing the buffer. (closes #10097)
28856Files: src/window.c, src/testdir/test_autocmd.vim
28857
28858Patch 8.2.4701
28859Problem: Kuka Robot Language files not recognized.
28860Solution: Recognize *.src and *.dat files. (Patrick Meiser-Knosowski,
28861 closes #10096)
28862Files: runtime/filetype.vim, src/testdir/test_filetype.vim,
28863 runtime/autoload/dist/ft.vim
28864
28865Patch 8.2.4702
28866Problem: C++ scope labels are hard-coded.
28867Solution: Add 'cinscopedecls' to define the labels. (Rom Praschan,
28868 closes #10109)
28869Files: runtime/doc/indent.txt, runtime/doc/options.txt,
28870 runtime/doc/quickref.txt, runtime/optwin.vim, src/buffer.c,
28871 src/cindent.c, src/option.c, src/option.h, src/optiondefs.h,
28872 src/optionstr.c, src/structs.h, src/testdir/test_cindent.vim
28873
28874Patch 8.2.4703 (after 8.2.4702)
28875Problem: Memory leak in handling 'cinscopedecls'.
28876Solution: Free the memory before returning.
28877Files: src/cindent.c
28878
28879Patch 8.2.4704
28880Problem: Using "else" after return or break increases indent.
28881Solution: Remove "else" and reduce indent. (Goc Dundar, closes #10099)
28882Files: src/fileio.c, src/memline.c, src/option.c, src/syntax.c
28883
28884Patch 8.2.4705
28885Problem: reg_executing may not be cleared.
28886Solution: Reset reg_executing later. (closes #10111, closes #10110)
28887Files: src/ex_docmd.c, src/getchar.c, src/globals.h, src/structs.h,
28888 src/testdir/test_registers.vim
28889
28890Patch 8.2.4706
28891Problem: Buffer remains active if a WinClosed event throws an exception
28892 when there are multiple tabpages.
28893Solution: Ignore aborting() when closing the buffer. (closes #10101)
28894Files: src/window.c, src/testdir/test_autocmd.vim
28895
28896Patch 8.2.4707
28897Problem: Redrawing could be a bit more efficient.
28898Solution: Optimize redrawing. (closes #10105)
28899Files: src/change.c, src/edit.c, src/testdir/test_highlight.vim,
28900 src/testdir/dumps/Test_cursorcolumn_insert_on_tab_3.dump
28901
28902Patch 8.2.4708
28903Problem: PHP test files are not recognized.
28904Solution: Add the *.phpt pattern. (Julien Voisin, closes #10112)
28905Files: runtime/filetype.vim, src/testdir/test_filetype.vim
28906
28907Patch 8.2.4709
28908Problem: After :redraw the statusline highlight might be used.
28909Solution: Clear the screen attribute after redrawing the screen.
28910 (closes #10108)
28911Files: src/ex_docmd.c
28912
28913Patch 8.2.4710
28914Problem: Smart indenting does not work after completion.
28915Solution: Set "can_si". (Christian Brabandt, closes #10113, closes #558)
28916Files: src/edit.c, src/testdir/test_ins_complete.vim
28917
28918Patch 8.2.4711
28919Problem: When 'insermode' is set :edit from <Cmd> mapping misbehaves.
28920Solution: Don't set "need_start_insertmode" when already in Insert mode.
28921 (closes #10116)
28922Files: src/ex_cmds.c, src/testdir/test_edit.vim
28923
28924Patch 8.2.4712
28925Problem: Only get profiling information after exiting.
28926Solution: Add "profile dump" and "profile stop". (Marco Hinz, Yegappan
28927 Lakshmanan, closes #10107)
28928Files: runtime/doc/repeat.txt, src/profiler.c,
28929 src/testdir/test_profile.vim
28930
28931Patch 8.2.4713
28932Problem: Plugins cannot track text scrolling.
28933Solution: Add the WinScrolled event. (closes #10102)
28934Files: runtime/doc/autocmd.txt, src/autocmd.c, src/proto/autocmd.pro,
28935 src/edit.c, src/gui.c, src/main.c, src/structs.h, src/vim.h,
28936 src/window.c, src/proto/window.pro, src/testdir/test_autocmd.vim
28937
28938Patch 8.2.4714
28939Problem: Using g:filetype_dat and g:filetype_src not tested.
28940Solution: Add a test. (Patrick Meiser-Knosowski, closes #10117)
28941Files: src/testdir/test_filetype.vim
28942
28943Patch 8.2.4715
28944Problem: Vagrantfile not recognized.
28945Solution: Recognize Vagrantfile as ruby. (Julien Voisin, closes #10119)
28946Files: runtime/filetype.vim, src/testdir/test_filetype.vim
28947
28948Patch 8.2.4716
28949Problem: Memory allocation failure not tested when defining a function.
28950Solution: Add a test. (Yegappan Lakshmanan, closes #10127)
28951Files: src/alloc.c, src/alloc.h, src/proto/alloc.pro, src/userfunc.c,
28952 src/testdir/test_user_func.vim, src/testdir/test_vim9_func.vim
28953
28954Patch 8.2.4717
28955Problem: For TextYankPost v:event does not contain information about the
28956 operation being inclusive or not.
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010028957Solution: Add "inclusive" to v:event. (Justin M. Keyes, Yegappan Lakshmanan,
Bram Moolenaard799daa2022-06-20 11:17:32 +010028958 closes #10125)
28959Files: runtime/doc/autocmd.txt, src/register.c,
28960 src/testdir/test_autocmd.vim
28961
28962Patch 8.2.4718
28963Problem: @@@ in the last line sometimes drawn in the wrong place.
28964Solution: Make sure the column is valid. (closes #10130)
28965Files: src/drawscreen.c, src/screen.c, src/testdir/test_display.vim
28966 src/testdir/dumps/Test_display_lastline_1.dump,
28967 src/testdir/dumps/Test_display_lastline_2.dump,
28968 src/testdir/dumps/Test_display_lastline_3.dump,
28969 src/testdir/dumps/Test_display_lastline_4.dump
28970
28971Patch 8.2.4719
28972Problem: ">" marker sometimes not displayed in the jumplist.
28973Solution: If the buffer no longer exists show "-invalid-". (Christian
28974 Brabandt, closes #10131, closes #10100)
28975Files: runtime/doc/motion.txt, src/mark.c, src/testdir/Make_all.mak,
28976 src/testdir/test_alot.vim, src/testdir/test_jumplist.vim,
28977 src/testdir/test_jumps.vim
28978
28979Patch 8.2.4720
28980Problem: ABB Rapid files are not recognized properly.
28981Solution: Add checks for ABB Rapid files. (Patrick Meiser-Knosowski,
28982 closes #10104)
28983Files: runtime/autoload/dist/ft.vim, runtime/doc/filetype.txt,
28984 runtime/filetype.vim, src/testdir/test_filetype.vim
28985
28986Patch 8.2.4721
28987Problem: Cooklang files are not recognized.
28988Solution: recognize *.cook files. (Goc Dundar, closes #10120)
28989Files: runtime/filetype.vim, src/testdir/test_filetype.vim
28990
28991Patch 8.2.4722
28992Problem: When a recording is ended with a mapped key that key is also
28993 recorded.
28994Solution: Remember the previous last_recorded_len. (closes #10122)
28995Files: src/getchar.c, src/testdir/test_registers.vim
28996
28997Patch 8.2.4723
28998Problem: The ModeChanged autocmd event is inefficient.
28999Solution: Avoid allocating memory. (closes #10134) Rename
29000 trigger_modechanged() to may_trigger_modechanged().
29001Files: src/misc1.c, src/proto/misc1.pro, src/edit.c, src/ex_docmd.c,
29002 src/ex_getln.c, src/insexpand.c, src/normal.c, src/terminal.c,
29003 src/autocmd.c
29004
29005Patch 8.2.4724
29006Problem: Current instance of last search pattern not easily spotted.
29007Solution: Add CurSearch highlighting. (closes #10133)
29008Files: runtime/doc/options.txt, runtime/doc/syntax.txt, src/highlight.c,
29009 src/match.c, src/normal.c, src/optiondefs.h, src/structs.h,
29010 src/vim.h, src/normal.c, src/testdir/test_search.vim,
29011 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line.dump,
29012 src/testdir/dumps/Test_hlsearch_cursearch_single_line_1.dump,
29013 src/testdir/dumps/Test_hlsearch_cursearch_single_line_2.dump,
29014 src/testdir/dumps/Test_hlsearch_cursearch_single_line_3.dump
29015
29016Patch 8.2.4725 (after 8.2.4724)
29017Problem: Unused variable in tiny build.
29018Solution: Add #ifdef.
29019Files: src/normal.c
29020
29021Patch 8.2.4726
29022Problem: Cannot use expand() to get the script name.
29023Solution: Support expand('<script>'). (closes #10121)
29024Files: runtime/doc/cmdline.txt, src/errors.h, src/ex_docmd.c,
29025 src/scriptfile.c, src/vim.h, src/testdir/test_expand.vim
29026
29027Patch 8.2.4727
29028Problem: Unused code.
29029Solution: Remove code and add #ifdefs. (Dominique Pellé, closes #10136)
29030Files: runtime/doc/editing.txt, runtime/doc/eval.txt,
29031 runtime/doc/vim9.txt, src/errors.h, src/option.c, src/search.c,
29032 src/proto/search.pro
29033
29034Patch 8.2.4728
29035Problem: No test that v:event cannot be modified.
29036Solution: Add a test. (closes #10139)
29037Files: src/testdir/test_autocmd.vim
29038
29039Patch 8.2.4729
29040Problem: HEEx and Surface templates do not need a separate filetype.
29041Solution: Use Eelixir for the similar filetypes. (Aaron Tinio, closes #10124)
29042Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29043
29044Patch 8.2.4730
29045Problem: MS-Windows GUI: cannot use CTRL-/.
29046Solution: Handle the WM_KEYUP event. (Yasuhiro Matsumoto, closes #10141)
29047Files: src/gui_w32.c
29048
29049Patch 8.2.4731
29050Problem: The changelist index is not remembered per buffer.
29051Solution: Keep the changelist index per window and buffer. (closes #10135,
29052 closes #2173)
29053Files: src/buffer.c, src/evalfunc.c, src/structs.h,
29054 src/testdir/test_changelist.vim
29055
29056Patch 8.2.4732
29057Problem: Duplicate code to free fuzzy matches.
29058Solution: Bring back fuzmatch_str_free().
29059Files: src/search.c, src/proto/search.pro, src/cmdexpand.c
29060
29061Patch 8.2.4733 (after 8.2.4729)
29062Problem: HEEx and Surface do need a separate filetype.
29063Solution: Revert 8.2.4729. (closes #10147)
29064Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29065
29066Patch 8.2.4734
29067Problem: getcharpos() may change a mark position.
29068Solution: Copy the mark position. (closes #10148)
29069Files: src/eval.c, src/testdir/test_cursor_func.vim
29070
29071Patch 8.2.4735
29072Problem: Quickfix tests can be a bit hard to read.
29073Solution: Use heredoc instead of strings and line continuation. (Yegappan
29074 Lakshmanan, closes #10145)
29075Files: src/testdir/test_quickfix.vim
29076
29077Patch 8.2.4736
29078Problem: Build problem for Cygwin with Motif.
29079Solution: Undefine ControlMask. (Kelvin Lee, closes #10152)
29080Files: src/mbyte.c
29081
29082Patch 8.2.4737
29083Problem: // in JavaScript string recognized as comment.
29084Solution: Only check for linecomment if 'cindent' is set. (closes #10151)
29085Files: src/change.c, src/testdir/test_textformat.vim
29086
29087Patch 8.2.4738
29088Problem: Esc on commandline executes command instead of abandoning it.
29089Solution: Save and restore KeyTyped when removing the popup menu.
29090 (closes #10154)
29091Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
29092 src/testdir/dumps/Test_wildmenu_with_pum_foldexpr_1.dump,
29093 src/testdir/dumps/Test_wildmenu_with_pum_foldexpr_2.dump
29094
29095Patch 8.2.4739
29096Problem: Accessing freed memory after WinScrolled autocmd event.
29097Solution: Check the window pointer is still valid. (closes #10156)
29098 Remove the argument from may_trigger_winscrolled().
29099Files: src/window.c, src/proto/window.pro, src/edit.c, src/gui.c,
29100 src/main.c, src/testdir/test_autocmd.vim
29101
29102Patch 8.2.4740
29103Problem: When expand() fails there is no error message.
29104Solution: When 'verbose' is set give an error message.
29105Files: runtime/doc/builtin.txt, src/evalfunc.c,
29106 src/testdir/test_expand.vim
29107
29108Patch 8.2.4741 (after 8.2.4740)
29109Problem: Startup test fails.
29110Solution: Avoid an error for verbose expansion. Fix that the "0verbose"
29111 command modifier doesn't work.
29112Files: runtime/syntax/syntax.vim, runtime/syntax/synload.vim,
29113 src/structs.h, src/ex_docmd.c, src/testdir/test_excmd.vim
29114
29115Patch 8.2.4742
29116Problem: There is no way to start logging very early in startup.
29117Solution: Add the --log argument. Include the date in the start message in
29118 the log file. Avoid a duplicate message when forking. Log an
29119 executed shell command.
29120Files: runtime/doc/starting.txt, runtime/doc/channel.txt,
29121 src/main.c, src/channel.c, src/os_unix.c, src/os_win32.c,
29122 src/testdir/test_startup.vim
29123
29124Patch 8.2.4743
29125Problem: Clang 14 is available on CI.
29126Solution: Switch from clang 13 to 14. (closes #10157)
29127Files: .github/workflows/ci.yml
29128
29129Patch 8.2.4744
29130Problem: A terminal window can't use the bell.
29131Solution: Add bell support for the terminal window. (closes #10178)
29132Files: runtime/doc/options.txt, src/gui_w32.c, src/option.h,
29133 src/optionstr.c, src/terminal.c
29134
29135Patch 8.2.4745 (after 8.2.4744)
29136Problem: Using wrong flag for using bell in the terminal.
29137Solution: Change to use BO_TERM.
29138Files: src/terminal.c, src/misc1.c
29139
29140Patch 8.2.4746
29141Problem: Supercollider filetype not recognized.
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010029142Solution: Match file extensions and check file contents to detect
Bram Moolenaard799daa2022-06-20 11:17:32 +010029143 supercollider. (closes #10142)
29144Files: runtime/filetype.vim, runtime/autoload/dist/ft.vim,
29145 src/testdir/test_filetype.vim
29146
29147Patch 8.2.4747
29148Problem: No filetype override for .sys files.
29149Solution: Add g:filetype_sys. (Patrick Meiser-Knosowski, closes #10181)
29150Files: runtime/doc/filetype.txt, runtime/autoload/dist/ft.vim,
29151 src/testdir/test_filetype.vim
29152
29153Patch 8.2.4748
29154Problem: Cannot use an imported function in a mapping.
29155Solution: Recognize <SID>name.Func.
29156Files: runtime/doc/vim9.txt, src/term.c, src/vim9execute.c,
29157 src/proto/vim9execute.pro, src/scriptfile.c,
29158 src/testdir/test_vim9_import.vim
29159
29160Patch 8.2.4749
29161Problem: <script> is not expanded in autocmd context.
29162Solution: Add the context to the pattern struct. (closes #10144)
29163 Rename AutoPatCmd to AutoPatCmd_T.
29164Files: src/autocmd.c, src/proto/autocmd.pro, src/scriptfile.c,
29165 src/structs.h, src/testdir/test_expand.vim
29166
29167Patch 8.2.4750
29168Problem: Small pieces of dead code.
29169Solution: Remove the dead code. (Goc Dundar, closes #10190) Rename the
29170 qftf_cb struct member to avoid confusion.
29171Files: src/ex_cmds.c, src/misc1.c, src/optionstr.c, src/quickfix.c
29172
29173Patch 8.2.4751 (after 8.2.4748)
29174Problem: Mapping <SID>name.Func does not work for script in autoload
29175 directory.
29176Solution: Use the # form for a script in the autoload directory.
29177 (closes #10186)
29178Files: src/term.c, src/testdir/test_vim9_import.vim
29179
29180Patch 8.2.4752
29181Problem: Wrong 'statusline' value can cause illegal memory access.
29182Solution: Properly check the value. (closes #10192)
29183Files: src/optionstr.c, src/testdir/test_options.vim
29184
29185Patch 8.2.4753
29186Problem: Error from setting an option is silently ignored.
29187Solution: Handle option value errors better. Fix uses of N_().
29188Files: src/option.c, src/proto/option.pro, src/optionstr.c,
29189 src/channel.c, src/crypt.c, src/diff.c, src/edit.c,
29190 src/eval.c, src/evalfunc.c, src/evalvars.c, src/ex_cmds2.c,
29191 src/ex_docmd.c, src/ex_getln.c, src/getchar.c, src/gui.c,
29192 src/gui_gtk_x11.c, src/help.c, src/highlight.c, src/if_tcl.c,
29193 src/main.c, src/memline.c, src/message_test.c,
29194 src/popupmenu.c, src/quickfix.c, src/scriptfile.c, src/spell.c,
29195 src/spellfile.c, src/term.c, src/undo.c, src/vim9script.c
29196
29197Patch 8.2.4754
29198Problem: Still using cached values after unsetting some known environment
29199 variables.
29200Solution: Take care of the side effects. (closes #10194)
29201Files: src/evalfunc.c, src/evalvars.c, src/misc1.c, src/proto/misc1.pro,
29202 src/vim9execute.c, src/optionstr.c, src/testdir/test_environ.vim
29203
29204Patch 8.2.4755
29205Problem: Cannot use <SID>FuncRef in completion spec.
29206Solution: Dereference a function name in another way. (closes #10197)
29207Files: src/eval.c, src/testdir/test_vim9_import.vim
29208
29209Patch 8.2.4756 (after 8.2.4754)
29210Problem: Build error without the +eval feature.
29211Solution: Adjust #ifdefs.
29212Files: src/misc1.c
29213
29214Patch 8.2.4757
29215Problem: List of libraries to suppress lsan errors is outdated.
29216Solution: Add another library. (closes #10201)
29217Files: src/testdir/lsan-suppress.txt
29218
29219Patch 8.2.4758
29220Problem: When using an LSP channel want to get the message ID.
29221Solution: Have ch_sendexpr() return the ID. (Yegappan Lakshmanan,
29222 closes #10202)
29223Files: runtime/doc/channel.txt, src/channel.c, src/evalfunc.c,
29224 src/testdir/test_channel.vim
29225
29226Patch 8.2.4759
29227Problem: CurSearch highlight does not work for multi-line match.
29228Solution: Check cursor position before adjusting columns. (closes #10133)
29229Files: src/structs.h, src/match.c, src/testdir/test_search.vim,
29230 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line.dump,
29231 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line_1.dump,
29232 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line_2.dump,
29233 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line_3.dump,
29234 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line_4.dump,
29235 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line_5.dump
29236
29237Patch 8.2.4760
29238Problem: Using matchfuzzy() on a long list can take a while.
29239Solution: Add a limit to the number of matches. (Yasuhiro Matsumoto,
29240 closes #10189)
29241Files: runtime/doc/builtin.txt, src/search.c,
29242 src/testdir/test_matchfuzzy.vim
29243
29244Patch 8.2.4761
29245Problem: Documentation for using LSP messages is incomplete.
29246Solution: Update the documentation. (Yegappan Lakshmanan, closes #10206)
29247Files: runtime/doc/channel.txt
29248
29249Patch 8.2.4762
29250Problem: Using freed memory when using synstack() and synID() in WinEnter.
29251Solution: Check using the syntax window. (closes #10204)
29252Files: src/syntax.c, src/testdir/test_syntax.vim
29253
29254Patch 8.2.4763
29255Problem: Using invalid pointer with "V:" in Ex mode.
29256Solution: Correctly handle the command being changed to "+".
29257Files: src/ex_docmd.c, src/testdir/test_ex_mode.vim
29258
29259Patch 8.2.4764
29260Problem: CI uses an older gcc version.
29261Solution: Use GCC 11. (closes #10185)
29262Files: .github/workflows/ci.yml, src/testdir/lsan-suppress.txt
29263
29264Patch 8.2.4765
29265Problem: Function matchfuzzy() sorts too many items.
29266Solution: Only put matches in the array. (Yegappan Lakshmanan,
29267 closes #10208)
29268Files: src/search.c
29269
29270Patch 8.2.4766
29271Problem: KRL files using "deffct" not recognized.
29272Solution: Adjust the pattern used for matching. (Patrick Meiser-Knosowski,
29273 closes #10200)
29274Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim
29275
29276Patch 8.2.4767
29277Problem: Openscad files are not recognized.
29278Solution: Add a filetype pattern. (Niklas Adam, closes #10199)
29279Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29280
29281Patch 8.2.4768
29282Problem: CI: codecov upload sometimes does not work.
29283Solution: Use action v3 instead of v2. (closes #10209)
29284Files: .github/workflows/ci.yml
29285
29286Patch 8.2.4769
29287Problem: Build warning with UCRT.
29288Solution: Adjust #ifdef for _wenviron. (John Marriott)
29289Files: src/evalfunc.c
29290
29291Patch 8.2.4770
29292Problem: Cannot easily mix expression and heredoc.
29293Solution: Support `=expr` in heredoc. (Yegappan Lakshmanan, closes #10138)
29294Files: runtime/doc/eval.txt, src/evalvars.c, src/userfunc.c,
29295 src/testdir/test_let.vim, src/testdir/test_vim9_assign.vim
29296
29297Patch 8.2.4771
29298Problem: Coverity warns for not checking return value.
29299Solution: Check return value of rettv_dict_alloc().
29300Files: src/channel.c
29301
29302Patch 8.2.4772
29303Problem: Old Coverity warning for not checking ftell() return value.
29304Solution: Check return value of fseek() and ftell().
29305Files: src/misc1.c
29306
29307Patch 8.2.4773
29308Problem: Build failure without the +eval feature.
29309Solution: Use other error message. Avoid warnings.
29310Files: src/misc1.c, src/cindent.c, src/term.c
29311
29312Patch 8.2.4774
29313Problem: Crash when using a number for lambda name.
29314Solution: Check the type of the lambda reference.
29315Files: src/eval.c, src/errors.h, src/testdir/test_lambda.vim
29316
29317Patch 8.2.4775
29318Problem: SpellBad highlighting does not work in Konsole.
29319Solution: Do not keep t_8u defined for Konsole. Redraw when t_8u is reset.
29320 (closes #10177)
29321Files: src/term.c
29322
29323Patch 8.2.4776
29324Problem: GTK: 'lines' and 'columns' may change during startup.
29325Solution: Ignore stale GTK resize events. (Ernie Rael, closes #10179)
29326Files: src/gui_gtk_x11.c
29327
29328Patch 8.2.4777 (after 8.2.4775)
29329Problem: Screendump tests fail because of a redraw.
29330Solution: Do not output t_8u before receiving termresponse. Redraw only
29331 when t_8u is not reset and termresponse is received.
29332Files: src/term.c
29333
29334Patch 8.2.4778
29335Problem: Pacman files use dosini filetype.
29336Solution: Use conf instead. (Chaoren Lin, closes #10213)
29337Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29338
29339Patch 8.2.4779
29340Problem: lsan suppression is too version specific.
29341Solution: Leave out the version number. (Christian Brabandt, closes #10214)
29342Files: src/testdir/lsan-suppress.txt
29343
29344Patch 8.2.4780
29345Problem: Parsing an LSP message fails when it is split.
29346Solution: Collapse the received data before parsing. (Yegappan Lakshmanan,
29347 closes #10215)
29348Files: runtime/doc/channel.txt, src/channel.c,
29349 src/testdir/test_channel.vim, src/testdir/test_channel_lsp.py
29350
29351Patch 8.2.4781
29352Problem: Maxima files are not recognized.
29353Solution: Add patterns to detect Maxima files. (Doron Behar, closes #10211)
29354Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29355
29356Patch 8.2.4782
29357Problem: Accessing freed memory.
29358Solution: Clear evalarg after checking for trailing characters.
29359 (issue #10218)
29360Files: src/userfunc.c, src/testdir/test_lambda.vim
29361
29362Patch 8.2.4783
29363Problem: Coverity warns for leaking memory.
29364Solution: Use another strategy freeing "theline".
29365Files: src/evalvars.c
29366
29367Patch 8.2.4784
29368Problem: Lamba test with timer is flaky.
29369Solution: Adjust sleep time on retry.
29370Files: src/testdir/test_lambda.vim
29371
29372Patch 8.2.4785
29373Problem: Visual mode not stopped early enough if win_gotoid() goes to
29374 another buffer. (Sergey Vlasov)
29375Solution: Stop Visual mode before jumping to another buffer. (closes #10217)
29376Files: src/evalwindow.c, src/testdir/test_vim9_builtin.vim,
29377 src/testdir/dumps/Test_win_gotoid_1.dump,
29378 src/testdir/dumps/Test_win_gotoid_2.dump,
29379 src/testdir/dumps/Test_win_gotoid_3.dump
29380
29381Patch 8.2.4786 (after 8.2.4785)
29382Problem: Test for win_gotoid() in Visual mode fails on Mac.
29383Solution: Skip the test on MacOS.
29384Files: src/testdir/test_vim9_builtin.vim
29385
29386Patch 8.2.4787
29387Problem: prop_find() does not find the right property.
29388Solution: Fix the scan order. (closes #10220)
29389Files: src/textprop.c, src/testdir/test_textprop.vim
29390
29391Patch 8.2.4788
29392Problem: Large payload for LSP message not tested.
29393Solution: Add a test with a large LSP payload. (Yegappan Lakshmanan,
29394 closes #10223)
29395Files: src/channel.c, src/testdir/test_channel.vim,
29396 src/testdir/test_channel_lsp.py
29397
29398Patch 8.2.4789
29399Problem: The cursor may be in the in wrong place when using :redraw while
29400 editing the cmdline.
29401Solution: When editing the command line let :redraw update the command line
29402 too. (closes #10210)
29403Files: src/ex_docmd.c, src/testdir/test_cmdline.vim,
29404 src/testdir/dumps/Test_redraw_in_autocmd_1.dump,
29405 src/testdir/dumps/Test_redraw_in_autocmd_2.dump
29406
29407Patch 8.2.4790
29408Problem: Lilypond filetype not recognized.
29409Solution: Add patterns for lilypond. (Doug Kearns)
29410Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29411
29412Patch 8.2.4791
29413Problem: Autocmd events triggered in different order when reusing an empty
29414 buffer.
29415Solution: Call buff_freeall() earlier. (Charlie Groves, closes #10198)
29416Files: src/buffer.c, src/testdir/test_autocmd.vim
29417
29418Patch 8.2.4792
29419Problem: Indent operator creates an undo entry for every line.
29420Solution: Create one undo entry for all lines. (closes #10227)
29421Files: src/indent.c, src/testdir/test_indent.vim
29422
29423Patch 8.2.4793
29424Problem: Recognizing Maxima filetype even though it might be another.
29425Solution: Remove *.mc and *.dem patterns from Maxima files
29426Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29427
29428Patch 8.2.4794
29429Problem: Compiler warning for not initialized variable.
29430Solution: Initialize the variable. (John Marriott)
29431Files: src/indent.c
29432
29433Patch 8.2.4795
29434Problem: 'cursorbind' scrolling depends on whether 'cursorline' is set.
29435Solution: Always call validate_cursor(). (Christian Brabandt, closes #10230,
29436 closes #10014)
29437Files: src/move.c, src/testdir/README.txt,
29438 src/testdir/test_cursorline.vim,
29439 src/testdir/dumps/Test_hor_scroll_1.dump,
29440 src/testdir/dumps/Test_hor_scroll_2.dump,
29441 src/testdir/dumps/Test_hor_scroll_3.dump,
29442 src/testdir/dumps/Test_hor_scroll_4.dump
29443
29444Patch 8.2.4796 (after 8.2.4795)
29445Problem: File left behind after running cursorline tests.
29446Solution: Uncomment the line that deletes the file.
29447Files: src/testdir/test_cursorline.vim
29448
29449Patch 8.2.4797
Bram Moolenaar8a3b8052022-06-26 12:21:15 +010029450Problem: getwininfo() may get outdated values.
Bram Moolenaard799daa2022-06-20 11:17:32 +010029451Solution: Make sure w_botline is up-to-date. (closes #10226)
29452Files: src/evalwindow.c, src/testdir/test_bufwintabinfo.vim
29453
29454Patch 8.2.4798
29455Problem: t_8u option was reset even when set by the user.
29456Solution: Only reset t_8u when using the default value. (closes #10239)
29457Files: src/term.c
29458
29459Patch 8.2.4799
29460Problem: Popup does not use correct topline.
29461Solution: Also add one when firstline is negative. (closes #10229)
29462Files: src/popupwin.c, src/testdir/test_popupwin.vim
29463
29464Patch 8.2.4800 (after 8.2.4798)
29465Problem: Missing test update for adjusted t_8u behavior.
29466Solution: Update and extend the test.
29467Files: src/testdir/test_termcodes.vim
29468
29469Patch 8.2.4801 (after 8.2.4795)
29470Problem: Fix for cursorbind fix not fully tested.
29471Solution: Add another test case. (Christian Brabandt, closes #10240)
29472Files: src/testdir/test_cursorline.vim,
29473 src/testdir/dumps/Test_hor_scroll_5.dump
29474
29475Patch 8.2.4802
29476Problem: Test is not cleaned up.
29477Solution: Make test clean up after itself. Avoid NUL. (closes #10233)
29478Files: src/testdir/test_autocmd.vim
29479
29480Patch 8.2.4803
29481Problem: WinScrolled not always triggered when scrolling with the mouse.
29482Solution: Add calls to may_trigger_winscrolled(). (closes #10246)
29483Files: src/mouse.c, src/testdir/test_autocmd.vim
29484
29485Patch 8.2.4804
29486Problem: Expression in heredoc doesn't work for compiled function.
29487Solution: Implement compiling the heredoc expressions. (Yegappan Lakshmanan,
29488 closes #10232)
29489Files: runtime/doc/eval.txt, src/evalvars.c, src/proto/evalvars.pro,
29490 src/ex_getln.c, src/vim9compile.c, src/proto/vim9compile.pro,
29491 src/testdir/test_vim9_assign.vim
29492
29493Patch 8.2.4805
29494Problem: CurSearch used for all matches in current line.
29495Solution: Don't use the non-zero line count. (closes #10247)
29496Files: src/match.c, src/testdir/test_search.vim,
29497 src/testdir/dumps/Test_hlsearch_cursearch_single_line_1.dump,
29498 src/testdir/dumps/Test_hlsearch_cursearch_single_line_2.dump,
29499 src/testdir/dumps/Test_hlsearch_cursearch_single_line_2a.dump,
29500 src/testdir/dumps/Test_hlsearch_cursearch_single_line_2b.dump
29501
29502Patch 8.2.4806
29503Problem: A mapping using <LeftDrag> does not start Select mode.
29504Solution: When checking for starting select mode with the mouse also do this
29505 when there is typeahead. (closes #10249)
29506Files: src/normal.c
29507
29508Patch 8.2.4807
29509Problem: Processing key events in Win32 GUI is not ideal.
29510Solution: Improve processing of key events. (closes #10155)
29511Files: src/gui_w32.c
29512
29513Patch 8.2.4808
29514Problem: Unused item in engine struct.
29515Solution: Remove "expr". Add comment with tags.
29516Files: src/regexp.h
29517
29518Patch 8.2.4809
29519Problem: Various things not properly tested.
29520Solution: Add various test cases. (Yegappan Lakshmanan, closes #10259)
29521Files: src/testdir/test_blob.vim, src/testdir/test_debugger.vim,
29522 src/testdir/test_listdict.vim, src/testdir/test_vim9_builtin.vim,
29523 src/testdir/test_vim9_import.vim, src/testdir/test_vim9_script.vim
29524
29525Patch 8.2.4810 (after 8.2.4808)
29526Problem: Missing changes in one file.
29527Solution: Also change the struct initializers.
29528Files: src/regexp.c
29529
29530Patch 8.2.4811 (after 8.2.4807)
29531Problem: Win32 GUI: caps lock doesn't work.
29532Solution: Handle VK_CAPITAL. (closes #10260, closes #10258)
29533Files: src/gui_w32.c
29534
29535Patch 8.2.4812
29536Problem: Unused struct item.
29537Solution: Remove "lines" match_T. Simplify the code. (closes #10256)
29538Files: src/match.c, src/structs.h
29539
29540Patch 8.2.4813
29541Problem: Pasting text while indent folding may mess up folds.
29542Solution: Adjust the way folds are split. (Brandon Simmons, closes #10254)
29543Files: src/fold.c, src/testdir/test_fold.vim
29544
29545Patch 8.2.4814
29546Problem: Possible to leave a popup window with win_gotoid().
29547Solution: Give an error when trying to leave a popup window with
29548 win_gotoid(). (closes #10253)
29549Files: src/evalwindow.c, src/testdir/test_terminal3.vim
29550
29551Patch 8.2.4815 (after 8.2.4776)
29552Problem: Cannot build with older GTK version.
29553Solution: Use gtk_window_get_size() instead of gdk_window_get_width() and
29554 gdk_window_get_height(). (Ernie Rael, closes #10257)
29555Files: src/gui_gtk_x11.c
29556
29557Patch 8.2.4816
29558Problem: Still using older codecov app in some places of CI.
29559Solution: Use v3.1.0. (closes #10209)
29560Files: .github/workflows/ci.yml
29561
29562Patch 8.2.4817
29563Problem: Win32 GUI: modifiers are not always used.
29564Solution: Handle more modifiers. (closes #10269)
29565Files: src/gui_w32.c
29566
29567Patch 8.2.4818 (after 8.2 4806)
29568Problem: No test for what 8.2.4806 fixes.
29569Solution: Add a test. (closes #10272)
29570Files: src/testdir/test_mapping.vim
29571
29572Patch 8.2.4819
29573Problem: Unmapping simplified keys also deletes other mapping.
29574Solution: Only unmap a mapping with m_simplified set. (closes #10270)
29575Files: src/map.c, src/testdir/test_mapping.vim
29576
29577Patch 8.2.4820
29578Problem: No simple programmatic way to find a specific mapping.
29579Solution: Add getmappings(). (Ernie Rael, closes #10273)
29580Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
29581 src/map.c, src/proto/map.pro, src/testdir/test_maparg.vim
29582
29583Patch 8.2.4821
29584Problem: Crash when imported autoload script was deleted.
29585Solution: Initialize local variable. (closes #10274) Give a more meaningful
29586 error message.
29587Files: src/eval.c, src/vim9script.c, src/testdir/test_vim9_import.vim
29588
29589Patch 8.2.4822
29590Problem: Setting ufunc to NULL twice.
29591Solution: Set ufunc to NULL in find_exported(). (closes #19275)
29592Files: src/eval.c, src/vim9script.c
29593
29594Patch 8.2.4823
29595Problem: Concatenating more than 2 strings in a :def function is
29596 inefficient.
29597Solution: Add a count to the CONCAT instruction. (closes #10276)
29598Files: src/vim9.h, src/vim9cmds.c, src/vim9compile.c, src/vim9execute.c,
29599 src/vim9expr.c, src/vim9instr.c, src/proto/vim9instr.pro,
29600 src/testdir/test_vim9_disassemble.vim
29601
29602Patch 8.2.4824
29603Problem: Expression is evaluated multiple times.
29604Solution: Evaluate expression once and store the result. (closes #10278)
29605Files: src/map.c
29606
29607Patch 8.2.4825
29608Problem: Can only get a list of mappings.
29609Solution: Add the optional {abbr} argument. (Ernie Rael, closes #10277)
29610 Rename to maplist(). Rename test file.
29611Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
29612 src/map.c, src/proto/map.pro, src/testdir/test_maparg.vim,
29613 src/testdir/test_map_functions.vim, src/testdir/Make_all.mak
29614
29615Patch 8.2.4826
29616Problem: .cshtml files are not recognized.
29617Solution: Use html filetype for .cshtml files. (Julien Voisin, closes #10212)
29618Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29619
29620Patch 8.2.4827
29621Problem: Typo in variable name. (Gabriel Dupras)
29622Solution: Rename the variable.
29623Files: src/map.c
29624
29625Patch 8.2.4828
29626Problem: Fix for unmapping simplified key not fully tested.
29627Solution: Add a test case. (closes #10292)
29628Files: src/map.c, src/testdir/test_mapping.vim
29629
29630Patch 8.2.4829
29631Problem: A key may be simplified to NUL.
29632Solution: Use K_ZERO instead. Use macros instead of hard coded values.
29633 (closes #10290)
29634Files: src/getchar.c, src/misc2.c, src/testdir/test_termcodes.vim
29635
29636Patch 8.2.4830
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010029637Problem: Possible endless loop if there is unused typeahead.
Bram Moolenaard799daa2022-06-20 11:17:32 +010029638Solution: Only loop when the typeahead changed.
29639Files: src/channel.c
29640
29641Patch 8.2.4831
29642Problem: Crash when using maparg() and unmapping simplified keys.
29643Solution: Do not keep a mapblock pointer. (closes #10294)
29644Files: src/map.c, src/testdir/test_map_functions.vim
29645
29646Patch 8.2.4832
29647Problem: Passing zero instead of NULL to a pointer argument.
29648Solution: Use NULL. (closes #10296)
29649Files: src/getchar.c, src/term.c
29650
29651Patch 8.2.4833
29652Problem: Failure of mapping not checked for.
29653Solution: Check return value of ins_typebuf(). (closes #10299)
29654Files: src/getchar.c, src/term.c, src/testdir/test_termcodes.vim
29655
29656Patch 8.2.4834
29657Problem: Vim9: some lines not covered by tests.
29658Solution: Add a few more tests. Remove dead code.
29659Files: src/vim9execute.c, src/vim9instr.c, src/vim9.h,
29660 src/testdir/test_vim9_expr.vim
29661
29662Patch 8.2.4835
29663Problem: Vim9: some lines not covered by tests.
29664Solution: Add a few more tests. Fix disassemble output.
29665Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim,
29666 src/testdir/test_vim9_script.vim,
29667 src/testdir/test_vim9_disassemble.vim
29668
29669Patch 8.2.4836
29670Problem: Vim9: some lines not covered by tests.
29671Solution: Remove dead code. Add disassemble tests.
29672Files: src/vim9execute.c, src/vim9.h,
29673 src/testdir/test_vim9_disassemble.vim
29674
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010029675Patch 8.2.4837 (after patch 8.2.0919)
Bram Moolenaard799daa2022-06-20 11:17:32 +010029676Problem: Modifiers not simplified when timed out or using feedkeys() with
29677 'n" flag.
29678Solution: Adjust how mapped flag and timeout are used. (closes #10305)
29679Files: src/getchar.c, src/testdir/test_paste.vim,
29680 src/testdir/test_termcodes.vim
29681
29682Patch 8.2.4838
29683Problem: Checking for absolute path is not trivial.
29684Solution: Add isabsolutepath(). (closes #10303)
29685Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
29686 src/filepath.c, src/proto/filepath.pro,
29687 src/testdir/test_functions.vim
29688
29689Patch 8.2.4839
29690Problem: Compiler warning for unused argument.
29691Solution: Add "UNUSED".
29692Files: src/gui_gtk_x11.c
29693
29694Patch 8.2.4840
29695Problem: Heredoc expression evaluated even when skipping.
29696Solution: Don't evaluate when "skip" is set. (closes #10306)
29697Files: src/evalvars.c, src/testdir/test_let.vim
29698
29699Patch 8.2.4841
29700Problem: Empty string considered an error for expand() when 'verbose' is
29701 set. (Christian Brabandt)
29702Solution: Do not give an error for an empty result. (closes #10307)
29703Files: src/evalfunc.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
29704 src/filepath.c, src/testdir/test_expand_func.vim
29705
29706Patch 8.2.4842 (after 8.2.4841)
29707Problem: expand("%:p") is not empty when there is no buffer name.
29708Solution: When ignoring errors still return NULL. (closes #10311)
29709Files: src/ex_docmd.c, src/testdir/test_expand_func.vim
29710
29711Patch 8.2.4843 (after 8.2.4807)
29712Problem: Win32 GUI: Treating CTRL + ALT as AltGr is not backwards
29713 compatible. (Axel Bender)
29714Solution: Make a difference between left and right menu keys.
29715 (closes #10308)
29716Files: src/gui_w32.c
29717
29718Patch 8.2.4844
29719Problem: <C-S-I> is simplified to <S-Tab>.
29720Solution: Do not simplify CTRL if there is also SHIFT. (closes #10313)
29721Files: src/getchar.c, src/testdir/test_gui.vim
29722
29723Patch 8.2.4845
29724Problem: Duplicate code.
29725Solution: Move code below if/else. (closes #10314)
29726Files: src/misc1.c
29727
29728Patch 8.2.4846 (after 8.2.4844)
29729Problem: Termcodes test fails.
29730Solution: use CTRL-SHIFT-V to insert an unsimplified key. (closes #10316)
29731Files: runtime/doc/cmdline.txt, src/edit.c, src/getchar.c,
29732 src/testdir/test_gui.vim
29733
29734Patch 8.2.4847
29735Problem: Crash when using uninitialized function pointer.
29736Solution: Check for NULL pointer. (closes #10319, closes #10319)
29737Files: src/eval.c, src/testdir/test_vim9_script.vim
29738
29739Patch 8.2.4848
29740Problem: Local completion with mappings and simplification not working.
29741Solution: Fix local completion <C-N>/<C-P> mappings not ignored if keys are
29742 not simplified. (closes #10323)
29743Files: src/getchar.c, src/testdir/test_popup.vim
29744
29745Patch 8.2.4849
29746Problem: Gleam filetype not detected.
29747Solution: Add a pattern for Gleam files. (Mathias Jean Johansen,
29748 closes #10326)
29749Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29750
29751Patch 8.2.4850
29752Problem: Mksession mixes up "tabpages" and "curdir" arguments.
29753Solution: Correct logic for storing tabpage in session. (closes #10312)
29754Files: src/session.c, src/testdir/test_mksession.vim
29755
29756Patch 8.2.4851
29757Problem: Compiler warning for uninitialized variable.
29758Solution: Use another variable to decide to restore option values.
29759Files: src/session.c
29760
29761Patch 8.2.4852
29762Problem: ANSI color index to RGB value not correct.
29763Solution: Convert the cterm index to ANSI index. (closes #10321,
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010029764 closes #9836)
Bram Moolenaard799daa2022-06-20 11:17:32 +010029765Files: src/term.c
29766
29767Patch 8.2.4853
29768Problem: CI with FreeBSD is a bit outdated.
29769Solution: Use 12.3 instead of 12.1. (closes #10333)
29770Files: .cirrus.yml
29771
29772Patch 8.2.4854
29773Problem: Array size does not match usage.
29774Solution: Make array size 3 instead of 4. (Christian Brabandt, closes #10336)
29775Files: src/term.c
29776
29777Patch 8.2.4855
29778Problem: Robot files are not recognized.
29779Solution: Add patterns for robot files. (Zoe Roux, closes #10339)
29780Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29781
29782Patch 8.2.4856
29783Problem: MinGW compiler complains about unknown escape sequence.
29784Solution: Avoid using a backslash in path. (Christian Brabandt,
29785 closes #10337)
29786Files: .github/workflows/ci.yml
29787
29788Patch 8.2.4857
29789Problem: Yaml indent for multiline is wrong.
29790Solution: Adjust patterns. (closes #10328, closes #8740)
29791Files: runtime/indent/yaml.vim, runtime/indent/testdir/yaml.in,
29792 runtime/indent/testdir/yaml.ok
29793
29794Patch 8.2.4858
29795Problem: K_SPECIAL may be escaped twice.
29796Solution: Avoid double escaping. (closes #10340)
29797Files: src/highlight.c, src/misc2.c, src/proto/misc2.pro, src/term.c,
29798 src/typval.c, src/testdir/test_eval_stuff.vim,
29799 src/testdir/test_feedkeys.vim, src/testdir/test_functions.vim,
29800 src/testdir/test_mapping.vim
29801
29802Patch 8.2.4859
29803Problem: wget2 files are not recognized.
29804Solution: Add patterns to recognize wget2. (Doug Kearns)
29805Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29806
29807Patch 8.2.4860
29808Problem: MS-Windows: always uses current directory for executables.
29809Solution: Check the NoDefaultCurrentDirectoryInExePath environment variable.
29810 (Yasuhiro Matsumoto, closes #10341)
29811Files: runtime/doc/builtin.txt, src/os_win32.c,
29812 src/testdir/test_functions.vim
29813
29814Patch 8.2.4861
29815Problem: It is not easy to restore saved mappings.
29816Solution: Make mapset() accept a dict argument. (Ernie Rael, closes #10295)
29817Files: runtime/doc/builtin.txt, src/errors.h, src/evalfunc.c, src/map.c,
29818 src/typval.c, src/proto/typval.pro,
29819 src/testdir/test_map_functions.vim,
29820 src/testdir/test_vim9_builtin.vim
29821
29822Patch 8.2.4862
29823Problem: Vim9: test may fail when run with valgrind.
29824Solution: Wait longer for callback if needed.
29825Files: src/testdir/test_vim9_script.vim
29826
29827Patch 8.2.4863
29828Problem: Accessing freed memory in test without the +channel feature.
29829 (Dominique Pellé)
Bram Moolenaar71badf92023-04-22 22:40:14 +010029830Solution: Do not generate PUSHCHANNEL or PUSHJOB if they are not
Bram Moolenaard799daa2022-06-20 11:17:32 +010029831 implemented. (closes #10350)
29832Files: src/vim9instr.c, src/errors.h, src/vim9compile.c,
29833 src/testdir/test_vim9_script.vim
29834
29835Patch 8.2.4864 (after 8.2.4863)
29836Problem: Vim9: script test fails.
29837Solution: Remove "if" around declaration.
29838Files: src/testdir/test_vim9_script.vim
29839
29840Patch 8.2.4865
29841Problem: :startinsert right after :stopinsert does not work when popup menu
29842 is still visible.
29843Solution: Use ins_compl_active() instead of pum_visible(). (closes #10352)
29844Files: src/edit.c, src/testdir/test_ins_complete.vim
29845
29846Patch 8.2.4866
29847Problem: Duplicate code in "get" functions.
29848Solution: Use get_var_from() for getwinvar(), gettabvar(), gettabwinvar()
29849 and getbufvar(). (closes #10335)
29850Files: src/evalvars.c
29851
29852Patch 8.2.4867
29853Problem: Listing of mapping with K_SPECIAL is wrong.
29854Solution: Adjust escaping of special characters. (closes #10351)
29855Files: src/map.c, src/message.c, src/testdir/test_mapping.vim
29856
29857Patch 8.2.4868
29858Problem: When closing help window autocmds triggered for the wrong window.
29859Solution: Figure out the new current window earlier. (closes #10348)
29860Files: src/window.c, src/testdir/test_help.vim
29861
29862Patch 8.2.4869
29863Problem: Expression in command block does not look after NL.
29864Solution: Skip over NL to check what follows. (closes #10358)
29865Files: src/eval.c, src/proto/eval.pro, src/vim9script.c,
29866 src/testdir/test_usercommands.vim
29867
29868Patch 8.2.4870
29869Problem: Vim9: expression in :substitute is not compiled.
29870Solution: Use an INSTR instruction if possible. (closes #10334)
29871Files: src/evalfunc.c, src/regexp.c, src/vim9execute.c, src/vim9expr.c,
29872 src/testdir/test_vim9_builtin.vim,
29873 src/testdir/test_vim9_disassemble.vim
29874
29875Patch 8.2.4871
29876Problem: Vim9: in :def function no error for using a range with a command
29877 that does not accept one.
29878Solution: Check for the command to accept a range. (closes #10330)
29879Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
29880
29881Patch 8.2.4872
29882Problem: Vim9: no error for using an expression only at the script level
29883 when followed by an empty line.
29884Solution: Do not check the line number but whether something follows.
29885 (closes #10357)
29886Files: src/ex_eval.c, src/testdir/test_vim9_cmd.vim
29887
29888Patch 8.2.4873
29889Problem: Vim9: using "else" differs from using "endif/if !cond".
29890Solution: Leave the block and enter another one. (closes #10320)
29891Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
29892
29893Patch 8.2.4874
29894Problem: Win32 GUI: horizontal scroll wheel not handled properly.
29895Solution: Also handle WM_MOUSEHWHEEL. (closes #10309)
29896Files: src/gui_w32.c
29897
29898Patch 8.2.4875
29899Problem: MS-Windows: some .exe files are not recognized.
29900Solution: Parse APPEXECLINK junctions. (closes #10302)
29901Files: src/os_mswin.c, src/proto/os_mswin.pro, src/os_win32.c,
29902 src/os_win32.h, src/testdir/test_functions.vim
29903
29904Patch 8.2.4876
29905Problem: MS-Windows: Shift-BS results in strange character in powershell.
29906Solution: Add K_S_BS. (Christian Brabandt, closes #10283, closes #10279)
29907Files: src/edit.c, src/keymap.h, src/term.c, src/testdir/shared.vim,
29908 src/testdir/test_edit.vim
29909
29910Patch 8.2.4877
29911Problem: MS-Windows: Using Normal colors for termguicolors causes problems.
29912Solution: Do not use Normal colors to set sg_gui_fg and sg_gui_bg.
29913 (Christian Brabandt, closes #10317, closes #10241)
29914Files: src/highlight.c
29915
29916Patch 8.2.4878
29917Problem: Valgrind warning for using uninitialized variable.
29918Solution: Initialize the type of newtv.
29919Files: src/strings.c
29920
29921Patch 8.2.4879
29922Problem: Screendump test may fail when using valgrind.
29923Solution: Wait longer for the first screendump.
29924Files: src/testdir/test_vim9_builtin.vim, src/testdir/screendump.vim
29925
29926Patch 8.2.4880
29927Problem: Vim9: misplaced elseif causes invalid memory access.
29928Solution: Check cs_idx not to be negative.
29929Files: src/ex_eval.c
29930
29931Patch 8.2.4881
29932Problem: "P" in Visual mode still changes some registers.
29933Solution: Make "P" in Visual mode not change any register. (Shougo
29934 Matsushita, closes #10349)
29935Files: runtime/doc/change.txt, runtime/doc/index.txt,
29936 runtime/doc/visual.txt, src/normal.c, src/testdir/test_visual.vim
29937
29938Patch 8.2.4882
29939Problem: Cannot make 'breakindent' use a specific column.
29940Solution: Add the "column" entry in 'breakindentopt'. (Christian Brabandt,
29941 closes #10362, closes #10325)
29942Files: runtime/doc/options.txt, src/indent.c, src/structs.h,
29943 src/testdir/test_breakindent.vim
29944
29945Patch 8.2.4883
29946Problem: String interpolation only works in heredoc.
29947Solution: Support interpolated strings. Use syntax for heredoc consistent
29948 with strings, similar to C#. (closes #10327)
29949Files: runtime/doc/eval.txt, src/errors.h, src/eval.c, src/evalvars.c,
29950 src/proto/evalvars.pro, src/typval.c, src/proto/typval.pro,
29951 src/vim9compile.c, src/proto/vim9compile.pro, src/vim9expr.c,
29952 src/testdir/test_debugger.vim, src/testdir/test_expr.vim,
29953 src/testdir/test_let.vim, src/testdir/test_vim9_assign.vim,
29954 src/testdir/test_vim9_disassemble.vim
29955
29956Patch 8.2.4884
29957Problem: Test fails without the job/channel feature. (Dominique Pellé)
29958Solution: Add condition.
29959Files: src/testdir/test_vim9_script.vim
29960
29961Patch 8.2.4885 (after 8.2.4884)
29962Problem: Test fails with the job/channel feature.
29963Solution: Move check for job/channel separately.
29964Files: src/testdir/test_vim9_script.vim
29965
29966Patch 8.2.4886
29967Problem: Vim9: redir in skipped block seen as assignment.
29968Solution: Check for valid assignment.
29969Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim
29970
29971Patch 8.2.4887
29972Problem: Channel log does not show invoking a timer callback.
29973Solution: Add a ch_log() call.
29974Files: src/time.c
29975
29976Patch 8.2.4888
29977Problem: Line number of lambda ignores line continuation.
29978Solution: Use the line number of where the arguments are. Avoid outputting
29979 "..." twice. (closes #10364)
29980Files: src/userfunc.c
29981
29982Patch 8.2.4889
29983Problem: CI only tests with FreeBSD 12.
29984Solution: Also test with FreeBSD 13. (closes #10366)
29985Files: .cirrus.yml
29986
29987Patch 8.2.4890
29988Problem: Inconsistent capitalization in error messages.
29989Solution: Make capitalization consistent. (Doug Kearns)
29990Files: src/errors.h
29991
29992Patch 8.2.4891
29993Problem: Vim help presentation could be better.
29994Solution: Add an imported file for extra Vim help support. Show highlight
29995 names in the color they have.
29996Files: Filelist, runtime/import/dist/vimhelp.vim
29997
29998Patch 8.2.4892
29999Problem: Test failures because of changed error messages.
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010030000Solution: Adjust the expected error messages.
Bram Moolenaard799daa2022-06-20 11:17:32 +010030001Files: src/testdir/test_vim9_assign.vim,
30002 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim,
30003 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim,
30004 src/testdir/test_expand.vim, src/testdir/test_tcl.vim,
30005 src/testdir/test_vimscript.vim
30006
30007Patch 8.2.4893 (after 8.2.4891)
30008Problem: Distributed import files are not installed.
30009Solution: Add rules to Makefile and NSIS.
30010Files: src/Makefile, nsis/gvim.nsi
30011
30012Patch 8.2.4894
30013Problem: MS-Windows: not using italics.
30014Solution: Use italics. Simplify the code. (closes #10359)
30015Files: src/term.c
30016
30017Patch 8.2.4895
30018Problem: Buffer overflow with invalid command with composing chars.
30019Solution: Check that the whole character fits in the buffer.
30020Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
30021
30022Patch 8.2.4896 (after 8.2.4869)
30023Problem: Expression in command block does not look after NL when command is
30024 typed.
30025Solution: Skip over NL also when not in a script. (closes #10358)
30026Files: src/eval.c, src/testdir/test_usercommands.vim
30027
30028Patch 8.2.4897
30029Problem: Comment inside an expression in lambda ignores the rest of the
30030 expression.
30031Solution: Truncate the line at the comment. (closes #10367)
30032Files: src/eval.c, src/testdir/test_lambda.vim
30033
30034Patch 8.2.4898
30035Problem: Coverity complains about pointer usage.
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010030036Solution: Move code for increment/decrement.
Bram Moolenaard799daa2022-06-20 11:17:32 +010030037Files: src/vim9compile.c
30038
30039Patch 8.2.4899
30040Problem: With latin1 encoding CTRL-W might go before the start of the
30041 command line.
30042Solution: Check already being at the start of the command line.
30043Files: src/ex_getln.c, src/testdir/test_cmdline.vim
30044
30045Patch 8.2.4900
30046Problem: Vim9 expression test fails without the job feature.
30047Solution: Add a check for the job feature. (Dominique Pellé, closes #10373)
30048Files: src/testdir/test_vim9_expr.vim
30049
30050Patch 8.2.4901
30051Problem: NULL pointer access when using invalid pattern.
30052Solution: Check for failed regexp program.
30053Files: src/buffer.c, src/testdir/test_buffer.vim
30054
30055Patch 8.2.4902
30056Problem: Mouse wheel scrolling is inconsistent.
Bram Moolenaar8a3b8052022-06-26 12:21:15 +010030057Solution: Use the MS-Windows system setting. (closes #10368)
Bram Moolenaard799daa2022-06-20 11:17:32 +010030058Files: runtime/doc/scroll.txt, src/gui_w32.c, src/mouse.c,
30059 src/proto/mouse.pro, src/testing.c, src/testdir/test_gui.vim
30060
30061Patch 8.2.4903
30062Problem: Cannot get the current cmdline completion type and position.
30063Solution: Add getcmdcompltype() and getcmdscreenpos(). (Shougo Matsushita,
30064 closes #10344)
30065Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/cmdexpand.c,
30066 src/proto/cmdexpand.pro, src/evalfunc.c, src/ex_getln.c,
30067 src/proto/ex_getln.pro, src/usercmd.c, src/proto/usercmd.pro,
30068 src/testdir/test_cmdline.vim
30069
30070Patch 8.2.4904
30071Problem: codecov includes MS-Windows install files.
30072Solution: Ignore dosinst.c and uninstall.c.
30073Files: .codecov.yml
30074
30075Patch 8.2.4905
30076Problem: codecov includes MS-Windows install header file.
30077Solution: Ignore dosinst.h.
30078Files: .codecov.yml
30079
30080Patch 8.2.4906
30081Problem: MS-Windows: cannot use transparent background.
30082Solution: Make transparent background work with 'termguicolors' and NONE
30083 background color. (Yasuhiro Matsumoto, closes #10310, closes #7162)
30084Files: runtime/doc/options.txt, src/os_win32.c, src/term.c
30085
30086Patch 8.2.4907
30087Problem: Some users do not want a line comment always inserted.
30088Solution: Add the '/' flag to 'formatoptions' to not repeat the comment
30089 leader after a statement when using "o".
30090Files: runtime/doc/change.txt, src/option.h, src/change.c,
30091 src/testdir/test_textformat.vim
30092
30093Patch 8.2.4908
30094Problem: No text formatting for // comment after a statement.
30095Solution: format a comment when the 'c' flag is in 'formatoptions'.
30096Files: src/textformat.c, src/testdir/test_textformat.vim
30097
30098Patch 8.2.4909
30099Problem: MODE_ enum entries names are too generic.
30100Solution: use CH_MODE_.
30101Files: src/structs.h, src/channel.c, src/job.c, src/terminal.c
30102
30103Patch 8.2.4910
30104Problem: Imperfect coding.
30105Solution: Make code nicer.
30106Files: src/ex_getln.c
30107
30108Patch 8.2.4911
30109Problem: The mode #defines are not clearly named.
30110Solution: Prepend MODE_. Renumber them to put the mapped modes first.
30111Files: src/vim.h, src/autocmd.c, src/buffer.c, src/change.c,
30112 src/charset.c, src/cindent.c, src/clipboard.c, src/debugger.c,
30113 src/digraph.c, src/drawline.c, src/drawscreen.c, src/edit.c,
30114 src/evalfunc.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c,
30115 src/fileio.c, src/fold.c, src/getchar.c, src/globals.h, src/gui.c,
30116 src/gui_gtk.c, src/gui_w32.c, src/gui_xim.c, src/indent.c,
30117 src/insexpand.c, src/macros.h, src/main.c, src/map.c, src/menu.c,
30118 src/message.c, src/misc1.c, src/misc2.c, src/mouse.c,
30119 src/netbeans.c, src/normal.c, src/ops.c, src/option.c,
30120 src/os_unix.c, src/os_win32.c, src/popupmenu.c, src/search.c,
30121 src/tag.c, src/screen.c, src/term.c, src/terminal.c,
30122 src/textformat.c, src/window.c
30123
30124Patch 8.2.4912
30125Problem: Using execute() to define a lambda doesn't work. (Ernie Rael)
30126Solution: Put the getline function in evalarg. (closes #10375)
30127Files: src/eval.c, src/evalfunc.c, src/proto/evalfunc.pro,
30128 src/testdir/test_vim9_func.vim
30129
30130Patch 8.2.4913
30131Problem: Popup_hide() does not always have effect.
30132Solution: Add the POPF_HIDDEN_FORCE flag. (closes #10376)
30133Files: src/popupwin.c, src/vim.h, src/testdir/test_popupwin.vim,
30134 src/testdir/dumps/Test_popup_prop_not_visible_01a.dump,
30135 src/testdir/dumps/Test_popup_prop_not_visible_01b.dump
30136
30137Patch 8.2.4914
30138Problem: String interpolation in :def function may fail.
30139Solution: Do not terminate the expression. (closes #10377)
30140Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
30141
30142Patch 8.2.4915
30143Problem: Sometimes the cursor is in the wrong position.
30144Solution: When the cursor moved to another line, recompute w_botline.
30145 (closes #9736)
30146Files: src/move.c
30147
30148Patch 8.2.4916 (after 8.2.4915)
30149Problem: Mouse in Insert mode test fails.
30150Solution: Fix the test and check relevant positions.
30151Files: src/testdir/test_edit.vim
30152
30153Patch 8.2.4917
30154Problem: Fuzzy expansion of option names is not right.
30155Solution: Pass the fuzzy flag down the call chain. (Christian Brabandt,
30156 closes #10380, closes #10318)
30157Files: src/cmdexpand.c, src/option.c, src/proto/option.pro,
30158 src/testdir/test_options.vim
30159
30160Patch 8.2.4918
30161Problem: Conceal character from matchadd() displayed too many times.
30162Solution: Check the syntax flag. (closes #10381, closes #7268)
30163Files: src/drawline.c, src/testdir/test_matchadd_conceal.vim
30164
30165Patch 8.2.4919
30166Problem: Can add invalid bytes with :spellgood.
30167Solution: Check for a valid word string.
30168Files: src/mbyte.c, src/spellfile.c, src/errors.h,
30169 src/testdir/test_spell_utf8.vim
30170
30171Patch 8.2.4920 (after 8.2.4902)
30172Problem: MS-Windows GUI: unused variables.
30173Solution: Delete the variables. (John Marriott)
30174Files: src/gui_w32.c
30175
30176Patch 8.2.4921
30177Problem: Spell test fails because of new illegal byte check.
30178Solution: Remove the test.
30179Files: src/testdir/test_spell.vim
30180
30181Patch 8.2.4922 (after 8.2.4916)
30182Problem: Mouse test fails on MS-Windows.
30183Solution: Set 'mousemodel' to "extend".
30184Files: src/testdir/test_edit.vim
30185
30186Patch 8.2.4923
30187Problem: Test checks for terminal feature unnecessarily.
30188Solution: Remove CheckRunVimInTerminal. (closes #10383)
30189Files: src/testdir/test_matchadd_conceal.vim
30190
30191Patch 8.2.4924
30192Problem: maparg() may return a string that cannot be reused.
30193Solution: use msg_outtrans_special() instead of str2special().
30194 (closes #10384)
30195Files: src/message.c, src/option.c, src/testdir/test_map_functions.vim,
30196 src/testdir/test_mapping.vim, src/testdir/test_options.vim
30197
30198Patch 8.2.4925
30199Problem: Trailing backslash may cause reading past end of line.
30200Solution: Check for NUL after backslash.
30201Files: src/textobject.c, src/testdir/test_textobjects.vim
30202
30203Patch 8.2.4926
30204Problem: #ifdef for crypt feature around too many lines.
30205Solution: Move code outside of #ifdef. (closes #10388)
30206Files: src/option.c
30207
30208Patch 8.2.4927
30209Problem: Return type of remove() incorrect when using three arguments.
30210Solution: Use first argument type when there are three arguments.
30211 (closes #10387)
30212Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
30213
30214Patch 8.2.4928
30215Problem: Various white space and cosmetic mistakes.
30216Solution: Change spaces to tabs, improve comments.
30217Files: src/bufwrite.c, src/channel.c, src/cindent.c, src/crypt.c,
30218 src/debugger.c, src/digraph.c, src/edit.c, src/evalwindow.c,
30219 src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c, src/fileio.c,
30220 src/filepath.c, src/gui.c, src/highlight.c, src/indent.c,
30221 src/insexpand.c, src/job.c, src/keymap.h, src/macros.h,
30222 src/menu.c, src/misc1.c, src/misc2.c, src/mouse.c, src/move.c,
30223 src/normal.c, src/ops.c, src/option.c, src/option.h, src/search.c,
30224 src/session.c, src/spellsuggest.c, src/structs.h, src/tag.c,
30225 src/term.c, src/terminal.c, src/textformat.c, src/typval.c,
30226 src/ui.c, src/userfunc.c, src/vim.h, src/vim9.h,
30227 src/vim9compile.c, src/vim9execute.c, src/window.c,
30228 src/testdir/test_cursorline.vim, src/os_unix.c, src/if_lua.c,
30229 src/if_py_both.h, src/os_amiga.c, src/os_win32.c, src/os_mswin.c,
30230 src/os_vms.c, src/os_vms_conf.h
30231
30232Patch 8.2.4929
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010030233Problem: Off-by-one error in statusline item.
Bram Moolenaard799daa2022-06-20 11:17:32 +010030234Solution: Subtrace one less. (closes #10394, closes #5599)
30235Files: src/buffer.c, src/testdir/test_statusline.vim,
30236 src/testdir/dumps/Test_statusline_hl.dump
30237
30238Patch 8.2.4930
30239Problem: Interpolated string expression requires escaping.
30240Solution: Do not require escaping in the expression.
30241Files: runtime/doc/eval.txt, src/typval.c, src/proto/typval.pro,
30242 src/dict.c, src/eval.c, src/evalvars.c, src/proto/evalvars.pro,
30243 src/vim9compile.c, src/proto/vim9compile.pro, src/vim9expr.c,
30244 src/vim9instr.c, src/alloc.c, src/proto/alloc.pro,
30245 src/testdir/test_expr.vim, src/testdir/test_let.vim
30246
30247Patch 8.2.4931
30248Problem: Crash with sequence of Perl commands.
30249Solution: Move PUTBACK to another line. (closes #10386)
30250Files: src/if_perl.xs
30251
30252Patch 8.2.4932
30253Problem: Not easy to filter the output of maplist().
30254Solution: Add mode_bits to the dictionary. (Ernie Rael, closes #10356)
30255Files: runtime/doc/builtin.txt, src/map.c,
30256 src/testdir/test_map_functions.vim,
30257 src/testdir/test_vim9_builtin.vim
30258
30259Patch 8.2.4933
30260Problem: A few more capitalization mistakes in error messages.
30261Solution: Adjust capitalization. (Doug Kearns)
30262Files: src/errors.h
30263
30264Patch 8.2.4934
30265Problem: String interpolation fails when not evaluating.
30266Solution: Skip the expression when not evaluating. (closes #10398)
30267Files: src/typval.c, src/evalvars.c, src/proto/evalvars.pro,
30268 src/testdir/test_vim9_expr.vim
30269
30270Patch 8.2.4935
30271Problem: With 'foldmethod' "indent" some lines are not included in the
30272 fold. (Oleg Koshovetc)
30273Solution: Fix it. (Brandon Simmons, closes #10399, closes #3214)
30274Files: src/fold.c, src/testdir/test_fold.vim
30275
30276Patch 8.2.4936
30277Problem: MS-Windows: mouse coordinates for scroll event are wrong.
30278Solution: Convert coordinates to the text area coordinates. (closes #10400)
30279Files: src/gui_w32.c
30280
30281Patch 8.2.4937 (after 8.2.4931)
30282Problem: No test for what 8.2.4931 fixes.
30283Solution: Add a test that triggers a valgrind error.
30284Files: src/testdir/test_perl.vim
30285
30286Patch 8.2.4938
30287Problem: Crash when matching buffer with invalid pattern.
30288Solution: Check for NULL regprog.
30289Files: src/buffer.c, src/testdir/test_buffer.vim
30290
30291Patch 8.2.4939
30292Problem: matchfuzzypos() with "matchseq" does not have all positions.
30293Solution: Also add a position for white space. (closes #10404)
30294Files: runtime/doc/builtin.txt, src/search.c,
30295 src/testdir/test_matchfuzzy.vim
30296
30297Patch 8.2.4940
30298Problem: Some code is never used.
30299Solution: Remove dead code. Add a few more test cases.
30300Files: src/vim9expr.c, src/proto/vim9expr.pro, src/vim9compile.c,
30301 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim
30302
30303Patch 8.2.4941
30304Problem: '[ and '] marks may be wrong after undo.
30305Solution: Adjust the '[ and '] marks if needed. (closes #10407, closes #1281)
30306Files: src/undo.c, src/testdir/test_undo.vim
30307
30308Patch 8.2.4942
30309Problem: Error when setting 'filetype' in help file again.
30310Solution: Deal with text property type already existing. (closes #10409)
30311Files: runtime/import/dist/vimhelp.vim
30312
30313Patch 8.2.4943
30314Problem: Changing 'switchbuf' may have no effect.
30315Solution: Handle 'switchbuf' in didset_string_options(). (Sean Dewar,
30316 closes #10406)
30317Files: src/optionstr.c, src/testdir/test_options.vim
30318
30319Patch 8.2.4944
30320Problem: Text properties are wrong after "cc". (Axel Forsman)
30321Solution: Pass the deleted byte count to inserted_bytes(). (closes #10412,
30322 closes #7737, closes #5763)
30323Files: src/change.c, src/testdir/test_textprop.vim
30324
30325Patch 8.2.4945
30326Problem: Inconsistent use of white space.
30327Solution: Use Tabs and Spaces consistently.
30328Files: src/os_amiga.c, src/if_py_both.h, src/os_win32.c, src/os_mswin.c,
30329 src/os_vms.c, src/os_vms_conf.h
30330
30331Patch 8.2.4946
30332Problem: Vim9: some code not covered by tests.
30333Solution: Add a few more test cases. Remove dead code.
30334Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim,
30335 src/testdir/test_vim9_builtin.vim
30336
30337Patch 8.2.4947
30338Problem: Text properties not adjusted when accepting spell suggestion.
30339Solution: Adjust text properties when text changes. (closes #10414)
30340Files: src/spell.c, src/spellsuggest.c, src/testdir/test_textprop.vim
30341
30342Patch 8.2.4948
30343Problem: Cannot use Perl heredoc in nested :def function. (Virginia
30344 Senioria)
30345Solution: Only concatenate heredoc lines when not in a nested function.
30346 (closes #10415)
30347Files: src/userfunc.c, src/testdir/test_vim9_func.vim
30348
30349Patch 8.2.4949
30350Problem: Vim9: some code not covered by tests.
30351Solution: Add a few more test cases. Fix double error message.
30352Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim
30353
30354Patch 8.2.4950
30355Problem: Text properties position wrong after shifting text.
30356Solution: Adjust the text properties when shifting a block of text.
30357 (closes #10418)
30358Files: src/ops.c, src/testdir/test_textprop.vim
30359
30360Patch 8.2.4951
30361Problem: Smart indenting done when not enabled.
30362Solution: Check option values before setting can_si. (closes #10420)
30363Files: src/indent.c, src/proto/indent.pro, src/change.c, src/edit.c,
30364 src/ops.c, src/testdir/test_smartindent.vim
30365
30366Patch 8.2.4952
30367Problem: GUI test will fail if color scheme changes.
30368Solution: Reduce the test for now.
30369Files: src/testdir/test_gui.vim
30370
30371Patch 8.2.4953
30372Problem: With 'smartindent' inserting '}' after completion goes wrong.
30373Solution: Check the cursor is in indent. (closes #10420)
30374Files: src/indent.c, src/testdir/test_smartindent.vim
30375
30376Patch 8.2.4954
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010030377Problem: Inserting line breaks text property spanning more than one line.
Bram Moolenaard799daa2022-06-20 11:17:32 +010030378Solution: Check TP_FLAG_CONT_PREV and TP_FLAG_CONT_NEXT. (closes #10423)
30379Files: src/textprop.c, src/testdir/test_textprop.vim
30380
30381Patch 8.2.4955
30382Problem: Text property in wrong position after auto-indent.
30383Solution: Adjust text property columns. (closes #10422, closes #7719)
30384Files: src/change.c, src/testdir/test_textprop.vim
30385
30386Patch 8.2.4956
30387Problem: Reading past end of line with "gf" in Visual block mode.
30388Solution: Do not include the NUL in the length.
30389Files: src/normal.c, src/testdir/test_gf.vim
30390
30391Patch 8.2.4957
30392Problem: Text properties in a wrong position after a block change.
30393Solution: Adjust the properties columns. (closes #10427)
30394Files: src/ops.c, src/testdir/test_textprop.vim
30395
30396Patch 8.2.4958
30397Problem: A couple conditions are always true.
30398Solution: Remove the conditions. (Goc Dundar, closes #10428)
30399Files: src/evalfunc.c, src/quickfix.c
30400
30401Patch 8.2.4959
30402Problem: Using NULL regexp program.
30403Solution: Check for regexp program becoming NULL in more places.
30404Files: src/buffer.c, src/testdir/test_buffer.vim
30405
30406Patch 8.2.4960
30407Problem: Text properties that cross line boundary are not correctly updated
30408 for a deleted line.
30409Solution: Correct computing location of text property entry. (Paul Ollis,
30410 closes #10431, closes #10430)
30411Files: src/memline.c, src/testdir/test_textprop.vim
30412
30413Patch 8.2.4961
30414Problem: Build error with a certain combination of features.
30415Solution: Adjust #if. (John Marriott)
30416Files: src/memline.c
30417
30418Patch 8.2.4962
30419Problem: Files show up in git status.
30420Solution: Adjust the list of ignored files. Clean up more test files.
30421 (Shane xb Qian, closes #9929)
30422Files: .gitignore, src/testdir/Makefile
30423
30424Patch 8.2.4963
30425Problem: Expanding path with "/**" may overrun end of buffer.
30426Solution: Use vim_snprintf().
30427Files: src/filepath.c
30428
30429Patch 8.2.4964
30430Problem: MS-Windows GUI: mouse event test is flaky.
30431Solution: Add a short delay after generating a mouse event.
30432Files: src/testdir/test_gui.vim
30433
30434Patch 8.2.4965
30435Problem: GUI: testing mouse move event depends on screen cell size.
30436Solution: Multiply the row and column with the screen cell size.
30437Files: runtime/doc/testing.txt, src/testing.c, src/testdir/test_gui.vim
30438
30439Patch 8.2.4966
30440Problem: MS-Windows GUI: mouse event test gets extra event.
30441Solution: Ignore one move event.
30442Files: src/testdir/test_gui.vim
30443
30444Patch 8.2.4967 (after 8.2.4966)
30445Problem: MS-Windows GUI: mouse event test sometimes fails.
30446Solution: Ignore one move event only if there is an extra event.
30447Files: src/testdir/test_gui.vim
30448
30449Patch 8.2.4968
30450Problem: Reading past end of the line when C-indenting.
30451Solution: Check for NUL.
30452Files: src/cindent.c, src/testdir/test_cindent.vim
30453
30454Patch 8.2.4969
30455Problem: Changing text in Visual mode may cause invalid memory access.
30456Solution: Check the Visual position after making a change.
30457Files: src/change.c, src/edit.c, src/misc2.c, src/proto/misc2.pro,
30458 src/testdir/test_visual.vim
30459
30460Patch 8.2.4970
30461Problem: "eval 123" gives an error, "eval 'abc'" does not.
30462Solution: Also give an error when evaluating only a string. (closes #10434)
30463Files: src/ex_eval.c, src/testdir/test_vim9_cmd.vim
30464
30465Patch 8.2.4971
30466Problem: Vim9: interpolated string seen as range.
30467Solution: Recognize an interpolated string at the start of a command line.
30468 (closes #10434)
30469Files: src/ex_docmd.c, src/testdir/test_vim9_expr.vim
30470
30471Patch 8.2.4972
30472Problem: Vim9: compilation fails when using dict member when skipping.
30473Solution: Do not generate ISN_USEDICT when skipping. (closes #10433)
30474Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim
30475
30476Patch 8.2.4973
30477Problem: Vim9: type error for list unpack mentions argument.
30478Solution: Mention variable. (close #10435)
30479Files: src/vim9.h, src/vim9execute.c, src/vim9instr.c,
30480 src/proto/vim9instr.pro, src/vim9compile.c,
30481 src/testdir/test_vim9_script.vim,
30482 src/testdir/test_vim9_disassemble.vim
30483
30484Patch 8.2.4974
30485Problem: ":so" command may read after end of buffer.
30486Solution: Compute length of text properly.
30487Files: src/scriptfile.c, src/testdir/test_source.vim
30488
30489Patch 8.2.4975
30490Problem: Recursive command line loop may cause a crash.
30491Solution: Limit recursion of getcmdline().
30492Files: src/ex_getln.c, src/testdir/test_cmdline.vim
30493
30494Patch 8.2.4976
30495Problem: Coverity complains about not restoring a saved value.
30496Solution: Restore value before handling error.
30497Files: src/vim9execute.c
30498
30499Patch 8.2.4977
30500Problem: Memory access error when substitute expression changes window.
30501Solution: Disallow changing window in substitute expression.
30502Files: src/ex_cmds.c, src/testdir/test_substitute.vim
30503
30504Patch 8.2.4978
30505Problem: No error if engine selection atom is not at the start.
30506Solution: Give an error. (Christian Brabandt, closes #10439)
30507Files: runtime/doc/pattern.txt, src/errors.h, src/regexp_bt.c,
30508 src/regexp_nfa.c, src/testdir/test_regexp_latin.vim
30509
30510Patch 8.2.4979
30511Problem: Accessing freed memory when line is flushed.
30512Solution: Make a copy of the pattern to search for.
30513Files: src/window.c, src/testdir/test_tagjump.vim
30514
30515Patch 8.2.4980
30516Problem: When 'shortmess' contains 'A' loading a session may still warn for
30517 an existing swap file. (Melker Österberg)
30518Solution: Keep the 'A' flag to 'shortmess' in the session file.
30519 (closes #10443)
30520Files: src/session.c, src/testdir/test_mksession.vim
30521
30522Patch 8.2.4981
30523Problem: It is not possible to manipulate autocommands.
30524Solution: Add functions to add, get and set autocommands. (Yegappan
30525 Lakshmanan, closes #10291)
30526Files: runtime/doc/autocmd.txt, runtime/doc/builtin.txt,
30527 runtime/doc/usr_41.txt, src/autocmd.c, src/evalfunc.c,
30528 src/proto/autocmd.pro, src/testdir/test_autocmd.vim,
30529 src/testdir/test_vim9_builtin.vim
30530
30531Patch 8.2.4982
30532Problem: Colors in terminal window are not 100% correct.
30533Solution: Use g:terminal_ansi_colors as documented. (closes #10429,
30534 closes #7227 closes #10347)
30535Files: src/job.c, src/option.c, src/proto/term.pro,
30536 src/terminal.c, src/proto/terminal.pro, src/term.c,
30537 src/testdir/test_functions.vim, src/testdir/test_terminal.vim
30538
30539Patch 8.2.4983 (after 8.2.4982)
30540Problem: Colors test fails in the GUI.
30541Solution: Reset g:terminal_ansi_colors.
30542Files: src/testdir/test_functions.vim
30543
30544Patch 8.2.4984
30545Problem: Dragging statusline fails for window with winbar.
30546Solution: Fix off-by-one error. (closes #10448)
30547Files: src/mouse.c, src/testdir/test_winbar.vim
30548
30549Patch 8.2.4985
30550Problem: PVS warns for possible array underrun.
30551Solution: Add a check for a positive value. (Goc Dundar, closes #10451)
30552Files: src/spell.c
30553
30554Patch 8.2.4986
30555Problem: Some github actions are outdated.
30556Solution: Update CodeQl to v2, update checkout to v3. (closes #10450)
30557Files: .github/workflows/ci.yml, .github/workflows/codeql-analysis.yml,
30558 .github/workflows/coverity.yml
30559
30560Patch 8.2.4987
30561Problem: After deletion a small fold may be closable.
30562Solution: Check for a reverse range. (Brandon Simmons, closes #10457)
30563Files: src/fold.c, src/testdir/test_fold.vim
30564
30565Patch 8.2.4988
30566Problem: Textprop in wrong position when replacing multi-byte chars.
30567Solution: Adjust textprop position. (closes #10461)
30568Files: src/change.c, src/testdir/test_textprop.vim
30569
30570Patch 8.2.4989
30571Problem: Cannot specify a function name for :defcompile.
30572Solution: Implement a function name argument for :defcompile.
30573Files: runtime/doc/vim9.txt, src/userfunc.c, src/proto/userfunc.pro,
30574 src/vim9execute.c, src/ex_cmds.h, src/testdir/test_vim9_cmd.vim,
30575 src/testdir/test_vim9_disassemble.vim
30576
30577Patch 8.2.4990 (after 8.2.4989)
30578Problem: Memory leak when :defcompile fails.
30579Solution: Free fname when returning early.
30580Files: src/userfunc.c
30581
30582Patch 8.2.4991
30583Problem: No test for what patch 8.1.0535 fixes.
30584Solution: Add a test. (closes #10462)
30585Files: src/testdir/test_fold.vim
30586
30587Patch 8.2.4992 (after 8.2.4989)
30588Problem: Compiler warning for possibly uninitialized variable. (Tony
30589 Mechelynck)
30590Solution: Initialize variable in the caller instead of in the function.
30591Files: src/userfunc.c, src/vim9execute.c
30592
30593Patch 8.2.4993
30594Problem: smart/C/lisp indenting is optional, which makes the code more
30595 complex, while it only reduces the executable size a bit.
30596Solution: Graduate FEAT_CINDENT, FEAT_SMARTINDENT and FEAT_LISP.
30597Files: runtime/doc/builtin.txt, runtime/doc/indent.txt,
30598 runtime/doc/options.txt, runtime/doc/various.txt, src/feature.h,
30599 src/buffer.c, src/change.c, src/cindent.c, src/charset.c,
30600 src/edit.c, src/evalfunc.c, src/indent.c, src/insexpand.c,
30601 src/main.c, src/mouse.c, src/ops.c, src/option.c, src/optionstr.c,
30602 src/register.c, src/search.c, src/textformat.c, src/version.c,
30603 src/option.h, src/optiondefs.h, src/structs.h, src/globals.h,
30604 src/testdir/test_edit.vim
30605
30606Patch 8.2.4994
30607Problem: Tests are using legacy functions.
30608Solution: Convert a few tests to use :def functions.
30609Files: src/testdir/test_cindent.vim
30610
30611Patch 8.2.4995 (after 8.2.4992)
30612Problem: Still a compiler warning for possibly uninitialized variable.
30613 (Tony Mechelynck)
30614Solution: Initialize variables.
30615Files: src/vim9execute.c
30616
30617Patch 8.2.4996 (after 8.2.4969)
30618Problem: setbufline() may change Visual selection. (Qiming Zhao)
30619Solution: Disable Visual mode when using another buffer. (closes #10466)
30620Files: src/evalbuffer.c, src/testdir/test_bufline.vim
30621
30622Patch 8.2.4997
30623Problem: Python: changing hidden buffer can cause the display to be messed
30624 up.
30625Solution: Do not mark changed lines when using another buffer. (Paul Ollis,
30626 closes #10437, closes #7972)
30627Files: src/if_py_both.h, src/testdir/test_python3.vim
30628
30629Patch 8.2.4998
30630Problem: Vim9: crash when using multiple funcref().
30631Solution: Check if varargs type is NULL. (closes #10467)
30632Files: src/vim9type.c, src/testdir/test_vim9_func.vim
30633
30634Patch 8.2.4999
30635Problem: Filetype test table is not properly sorted.
30636Solution: Sort by filetype. (Doug Kearns)
30637Files: src/testdir/test_filetype.vim
30638
30639Patch 8.2.5000
30640Problem: No patch for documentation updates.
30641Solution: Update documentation files.
30642Files: runtime/doc/arabic.txt, runtime/doc/autocmd.txt,
30643 runtime/doc/builtin.txt, runtime/doc/change.txt,
30644 runtime/doc/channel.txt, runtime/doc/cmdline.txt,
30645 runtime/doc/diff.txt, runtime/doc/digraph.txt,
30646 runtime/doc/editing.txt, runtime/doc/eval.txt,
30647 runtime/doc/filetype.txt, runtime/doc/fold.txt,
30648 runtime/doc/ft_ada.txt, runtime/doc/ft_ps1.txt,
30649 runtime/doc/ft_raku.txt, runtime/doc/ft_rust.txt,
30650 runtime/doc/ft_sql.txt, runtime/doc/gui.txt,
30651 runtime/doc/gui_w32.txt, runtime/doc/helphelp.txt,
30652 runtime/doc/help.txt, runtime/doc/if_cscop.txt,
30653 runtime/doc/if_lua.txt, runtime/doc/if_perl.txt,
30654 runtime/doc/if_pyth.txt, runtime/doc/if_tcl.txt,
30655 runtime/doc/indent.txt, runtime/doc/index.txt,
30656 runtime/doc/insert.txt, runtime/doc/intro.txt,
30657 runtime/doc/map.txt, runtime/doc/mbyte.txt,
30658 runtime/doc/message.txt, runtime/doc/motion.txt,
30659 runtime/doc/netbeans.txt, runtime/doc/options.txt,
30660 runtime/doc/os_dos.txt, runtime/doc/os_vms.txt,
30661 runtime/doc/os_win32.txt, runtime/doc/pattern.txt,
30662 runtime/doc/pi_netrw.txt, runtime/doc/pi_zip.txt,
30663 runtime/doc/popup.txt, runtime/doc/print.txt,
30664 runtime/doc/quickfix.txt, runtime/doc/quickref.txt,
30665 runtime/doc/remote.txt, runtime/doc/repeat.txt,
30666 runtime/doc/rileft.txt, runtime/doc/scroll.txt,
30667 runtime/doc/sign.txt, runtime/doc/spell.txt,
30668 runtime/doc/sponsor.txt, runtime/doc/starting.txt,
30669 runtime/doc/syntax.txt, runtime/doc/tabpage.txt,
30670 runtime/doc/tagsrch.txt, runtime/doc/terminal.txt,
30671 runtime/doc/term.txt, runtime/doc/testing.txt,
30672 runtime/doc/textprop.txt, runtime/doc/tips.txt,
30673 runtime/doc/todo.txt, runtime/doc/uganda.txt,
30674 runtime/doc/undo.txt, runtime/doc/usr_02.txt,
30675 runtime/doc/usr_04.txt, runtime/doc/usr_05.txt,
30676 runtime/doc/usr_06.txt, runtime/doc/usr_08.txt,
30677 runtime/doc/usr_09.txt, runtime/doc/usr_12.txt,
30678 runtime/doc/usr_20.txt, runtime/doc/usr_29.txt,
30679 runtime/doc/usr_40.txt, runtime/doc/usr_41.txt,
30680 runtime/doc/usr_45.txt, runtime/doc/usr_46.txt,
30681 runtime/doc/usr_50.txt, runtime/doc/usr_51.txt,
30682 runtime/doc/usr_52.txt, runtime/doc/usr_90.txt,
30683 runtime/doc/usr_toc.txt, runtime/doc/various.txt,
30684 runtime/doc/version5.txt, runtime/doc/version6.txt,
30685 runtime/doc/version7.txt, runtime/doc/version8.txt,
30686 runtime/doc/version9.txt, runtime/doc/vi_diff.txt,
30687 runtime/doc/vim9.txt, runtime/doc/visual.txt,
30688 runtime/doc/windows.txt, runtime/doc/tags, runtime/doc/Makefile
30689
30690Patch 8.2.5001
30691Problem: Checking translations affects the search pattern history.
30692Solution: Use "keeppatterns". (Doug Kearns)
30693Files: src/po/check.vim
30694
30695Patch 8.2.5002
30696Problem: deletebufline() may change Visual selection.
30697Solution: Disable Visual mode when using another buffer. (closes #10469)
30698Files: src/evalbuffer.c, src/testdir/test_bufline.vim
30699
30700Patch 8.2.5003
30701Problem: Cannot do bitwise shifts.
30702Solution: Add the >> and << operators. (Yegappan Lakshmanan, closes #8457)
30703Files: runtime/doc/eval.txt, src/errors.h, src/eval.c, src/structs.h,
30704 src/vim.h, src/vim9execute.c, src/vim9expr.c,
30705 src/testdir/test_expr.vim, src/testdir/test_vim9_disassemble.vim,
30706 src/testdir/test_vim9_expr.vim
30707
30708Patch 8.2.5004
30709Problem: Right shift on negative number does not work as documented.
30710Solution: Use a uvarnumber_T type cast.
30711Files: runtime/doc/eval.txt, src/eval.c, src/vim9expr.c,
30712 src/vim9execute.c, src/charset.c, src/testdir/test_expr.vim
30713
30714Patch 8.2.5005 (after 8.2.5003)
30715Problem: Compiler warning for uninitialized variable. (John Marriott)
30716Solution: Initialize the pointer to NULL.
30717Files: src/vim9expr.vim
30718
30719Patch 8.2.5006 (after 8.2.5003)
30720Problem: Asan warns for undefined behavior.
30721Solution: Cast the shifted value to unsigned.
30722Files: src/eval.c, src/vim9expr.c, src/vim9execute.c
30723
30724Patch 8.2.5007
30725Problem: Spell suggestion may use uninitialized memory. (Zdenek Dohnal)
30726Solution: Avoid going over the end of the word.
30727Files: src/spellsuggest.c, src/testdir/test_spell_utf8.vim
30728
30729Patch 8.2.5008
30730Problem: When 'formatoptions' contains "/" wrongly wrapping a long trailing
30731 comment.
30732Solution: Pass the OPENLINE_FORMAT flag.
30733Files: src/change.c, src/vim.h, src/textformat.c,
30734 src/testdir/test_textformat.vim
30735
30736Patch 8.2.5009
Bram Moolenaar8a3b8052022-06-26 12:21:15 +010030737Problem: Fold may not be closable after appending.
Bram Moolenaard799daa2022-06-20 11:17:32 +010030738Solution: Set the fd_small flag to MAYBE. (Brandon Simmons, closes #10471)
30739Files: src/fold.c, src/testdir/test_fold.vim
30740
30741Patch 8.2.5010
30742Problem: The terminal debugger uses various global variables.
30743Solution: Add a dictionary to hold the terminal debugger preferences.
30744Files: runtime/doc/terminal.txt,
30745 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
30746
30747Patch 8.2.5011
30748Problem: Replacing an autocommand requires several lines.
30749Solution: Add the "replace" flag to autocmd_add(). (Yegappan Lakshmanan,
30750 closes #10473)
30751Files: runtime/doc/autocmd.txt, runtime/doc/builtin.txt, src/autocmd.c,
30752 src/testdir/test_autocmd.vim
30753
30754Patch 8.2.5012
30755Problem: Cannot select one character inside ().
30756Solution: Do not try to extend the area if it is empty. (closes #10472,
30757 closes #6616)
30758Files: src/textobject.c, src/testdir/test_textobjects.vim
30759
30760Patch 8.2.5013
30761Problem: After text formatting the cursor may be in an invalid position.
30762Solution: Correct the cursor position after formatting.
30763Files: src/textformat.c, src/testdir/test_textformat.vim
30764
30765Patch 8.2.5014
30766Problem: Byte offsets are wrong when using text properties.
30767Solution: Make sure text properties do not affect the byte counts.
30768 (Paul Ollis, closes #10474)
30769Files: src/memline.c, src/textprop.c, src/testdir/test_textprop.vim
30770
30771Patch 8.2.5015
30772Problem: Hoon and Moonscript files are not recognized.
30773Solution: Add filetype patterns. (Goc Dundar, closes #10478)
30774Files: runtime/filetype.vim, src/testdir/test_filetype.vim
30775
30776Patch 8.2.5016
30777Problem: Access before start of text with a put command.
30778Solution: Check the length is more than zero.
30779Files: src/register.c, src/testdir/test_put.vim
30780
30781Patch 8.2.5017
30782Problem: Gcc 12.1 warns for uninitialized variable.
30783Solution: Initialize the variable. (closes #10476)
30784Files: src/evalvars.c
30785
30786Patch 8.2.5018
30787Problem: Vim9: some code is not covered by tests.
30788Solution: Delete dead code.
30789Files: src/vim9instr.c, src/proto/vim9instr.pro, src/vim9compile.c,
30790 src/vim9expr.c,
30791
30792Patch 8.2.5019
30793Problem: Cannot get the first screen column of a character.
30794Solution: Let virtcol() optionally return a list. (closes #10482,
30795 closes #7964)
30796Files: runtime/doc/builtin.txt, src/evalfunc.c,
30797 src/testdir/test_functions.vim, src/testdir/test_vim9_builtin.vim
30798
30799Patch 8.2.5020
30800Problem: Using 'imstatusfunc' and 'imactivatefunc' breaks 'foldopen'.
30801Solution: Save and restore the KeyTyped flag. (closes #10479)
30802Files: src/gui_xim.c, src/testdir/test_iminsert.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +000030803
30804
Bram Moolenaard799daa2022-06-20 11:17:32 +010030805Patch 8.2.5021
30806Problem: Build fails with normal features and +terminal. (Dominique Pellé)
30807Solution: Add #ifdefs. (closes #10484)
30808Files: src/terminal.c
30809
30810Patch 8.2.5022
30811Problem: 'completefunc'/'omnifunc' error does not end completion.
30812Solution: Check if there was an error or exception. (closes #10486,
30813 closes #4218)
30814Files: src/insexpand.c, src/testdir/test_ins_complete.vim
30815
30816Patch 8.2.5023
30817Problem: Substitute overwrites allocated buffer.
30818Solution: Disallow undo when in a substitute command.
30819Files: src/normal.c, src/undo.c, src/testdir/test_substitute.vim
30820
30821Patch 8.2.5024
30822Problem: Using freed memory with "]d".
30823Solution: Copy the pattern before searching.
30824Files: src/normal.c, src/testdir/test_tagjump.vim
30825
30826Patch 8.2.5025
30827Problem: Vim9: a few lines not covered by tests.
30828Solution: Add a few tests.
30829Files: src/vim9script.c, src/testdir/test_vim9_assign.vim,
30830 src/testdir/test_vim9_import.vim
30831
30832Patch 8.2.5026
30833Problem: Vim9: a few lines not covered by tests.
30834Solution: Delete dead code. Add a few test cases. make "12->func()" work.
30835Files: src/vim9type.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
30836 src/vim9compile.c, src/testdir/test_vim9_assign.vim,
30837 src/testdir/test_vim9_func.vim
30838
30839Patch 8.2.5027
30840Problem: Error for missing :endif when an exception was thrown. (Dani
30841 Dickstein)
30842Solution: Do not give an error when aborting. (closes #10490)
30843Files: src/ex_docmd.c, src/testdir/test_trycatch.vim
30844
30845Patch 8.2.5028
30846Problem: Syntax regexp matching can be slow.
30847Solution: Adjust the counters for checking the timeout to check about once
30848 per msec. (closes #10487, closes #2712)
30849Files: src/regexp_bt.c, src/regexp_nfa.c
30850
30851Patch 8.2.5029
30852Problem: "textlock" is always zero.
30853Solution: Remove "textlock" and rename "textwinlock" to "textlock".
30854 (closes #10489)
30855Files: runtime/doc/insert.txt, runtime/doc/tags, src/beval.c,
30856 src/change.c, src/edit.c, src/errors.h, src/eval.c, src/ex_cmds.c,
30857 src/ex_getln.c, src/proto/ex_getln.pro, src/globals.h,
30858 src/indent.c, src/insexpand.c, src/map.c, src/register.c,
30859 src/undo.c, src/window.c, src/testdir/test_edit.vim,
30860 src/testdir/test_ins_complete.vim, src/testdir/test_popup.vim,
30861 src/testdir/test_quickfix.vim
30862
30863Patch 8.2.5030
30864Problem: autocmd_add() can only handle one event and pattern.
30865Solution: Support a list of events and patterns. (Yegappan Lakshmanan,
30866 closes #10483)
30867Files: runtime/doc/builtin.txt, src/autocmd.c, src/errors.h,
30868 src/testdir/test_autocmd.vim
30869
30870Patch 8.2.5031
30871Problem: Cannot easily run the benchmarks.
30872Solution: Have "make benchmark" in the src directory work.
30873Files: src/Makefile, src/testdir/Makefile
30874
30875Patch 8.2.5032
30876Problem: Python 3 test fails without the GUI.
30877Solution: Check the balloon_eval feature is available.
30878Files: src/testdir/test_python3.vim
30879
30880Patch 8.2.5033 (after 8.2.5030)
30881Problem: Build error with +eval but without +quickfix. Warning for
30882 uninitialized variable.
30883Solution: Adjust #ifdefs. (John Marriott)
30884Files: src/errors.h, src/autocmd.c
30885
30886Patch 8.2.5034
30887Problem: There is no way to get the byte index from a virtual column.
30888Solution: Add virtcol2col(). (Yegappan Lakshmanan, closes #10477,
30889 closes #10098)
30890Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
30891 src/move.c, src/proto/move.pro, src/testdir/test_cursor_func.vim
30892
30893Patch 8.2.5035
30894Problem: When splitting a window the changelist position moves.
30895Solution: Set the changelist index a bit later. (closes #10493)
30896Files: src/window.c, src/testdir/test_changelist.vim,
30897 src/testdir/test_normal.vim
30898
30899Patch 8.2.5036 (after 8.2.5028)
30900Problem: Using two counters for timeout check in NFA engine.
30901Solution: Use only one counter. Tune the counts based on guessing.
30902Files: src/regexp_nfa.c
30903
30904Patch 8.2.5037
30905Problem: Cursor position may be invalid after "0;" range.
30906Solution: Check the cursor position when it was set by ";" in the range.
30907Files: src/ex_docmd.c, src/testdir/test_excmd.vim
30908
30909Patch 8.2.5038
30910Problem: A finished terminal in a popup window does not show a scrollbar.
30911Solution: Show the scrollbar if the terminal job is finished. (closes
30912 #10497)
30913Files: src/popupwin.c, src/testdir/test_popupwin.vim,
30914 src/testdir/dumps/Test_popupwin_poptermscroll_1.dump,
30915 src/testdir/dumps/Test_popupwin_poptermscroll_2.dump,
30916 src/testdir/dumps/Test_popupwin_poptermscroll_3.dump
30917
30918Patch 8.2.5039
30919Problem: Confusing error if first argument of popup_create() is wrong.
30920Solution: Give a more informative error.
30921Files: src/popupwin.c, src/testdir/test_popupwin.vim, src/errors.h,
30922 src/testdir/dumps/Test_popup_settext_07.dump
30923
30924Patch 8.2.5040
30925Problem: Scrollbar thumb in scrolled popup not visible.
30926Solution: Show at least one thumb character. (fixes 10492)
30927Files: src/popupwin.c, src/testdir/test_popupwin.vim,
30928 src/testdir/dumps/Test_popupwin_scroll_13.dump
30929
30930Patch 8.2.5041
30931Problem: Cannot close a terminal popup with "NONE" job.
30932Solution: Adjust the conditions for whether a job is running.
30933 (closes #10498)
30934Files: src/buffer.c, src/terminal.c, src/proto/terminal.pro,
30935 src/undo.c, src/testdir/test_popupwin.vim
30936
30937Patch 8.2.5042
30938Problem: Scrollbar thumb in tall scrolled popup not visible.
30939Solution: Show at least one thumb character. (fixes 10492)
30940Files: src/popupwin.c, src/testdir/test_popupwin.vim,
30941 src/testdir/dumps/Test_popupwin_scroll_13.dump
30942
30943Patch 8.2.5043
30944Problem: Can open a cmdline window from a substitute expression.
30945Solution: Disallow opening a command line window when text or buffer is
30946 locked.
30947Files: src/buffer.c, src/ex_getln.c, src/proto/ex_getln.pro,
30948 src/window.c, src/testdir/test_substitute.vim
30949
30950Patch 8.2.5044 (after 8.2.5043)
30951Problem: Command line test fails.
30952Solution: Also beep when cmdline win can't be opened because of locks.
30953 Make the test not beep. Make the test pass on MS-Windows.
30954Files: src/ex_getln.c, src/testdir/test_substitute.vim
30955
30956Patch 8.2.5045
30957Problem: Can escape a terminal popup window when the job is finished.
30958Solution: Only check for a finished job where it is relevant.
30959 (closes #10253)
30960Files: src/popupwin.c, src/testdir/test_popupwin.vim,
30961 src/testdir/dumps/Test_popupwin_poptermscroll_1.dump,
30962 src/testdir/dumps/Test_popupwin_poptermscroll_2.dump,
30963 src/testdir/dumps/Test_popupwin_poptermscroll_3.dump,
30964 src/testdir/dumps/Test_popupwin_poptermscroll_4.dump
30965
30966Patch 8.2.5046
30967Problem: vim_regsub() can overwrite the destination.
30968Solution: Pass the destination length, give an error when it doesn't fit.
30969Files: src/regexp.h, src/regexp.c, src/proto/regexp.pro, src/eval.c,
30970 src/ex_cmds.c
30971
30972Patch 8.2.5047
30973Problem: CurSearch highlight is often wrong.
30974Solution: Remember the last highlighted position and redraw when needed.
30975Files: src/globals.h, src/match.c, src/drawscreen.c, src/change.c,
30976 src/testdir/test_search.vim,
30977 src/testdir/dumps/Test_hlsearch_cursearch_changed_1.dump
30978
30979Patch 8.2.5048
30980Problem: When using XIM the gui test may fail.
30981Solution: Only use --not-a-term when not using XIM.
30982Files: src/testdir/test_gui.vim
30983
30984Patch 8.2.5049
30985Problem: Insufficient tests for autocommands.
30986Solution: Add a few more tests. (Yegappan Lakshmanan, closes #10507)
30987Files: src/autocmd.c, src/testdir/gen_opt_test.vim,
30988 src/testdir/test_autocmd.vim, src/testdir/test_cmdline.vim
30989
30990Patch 8.2.5050
30991Problem: Using freed memory when searching for pattern in path.
30992Solution: Make a copy of the line.
30993Files: src/search.c, src/testdir/test_tagjump.vim
30994
30995Patch 8.2.5051
30996Problem: Check for autocmd_add() event argument is confusing.
30997Solution: Make the code more straightforward.
30998Files: src/autocmd.c
30999
31000Patch 8.2.5052
31001Problem: CI checkout step title is a bit cryptic.
31002Solution: Add a better title. (closes #10509)
31003Files: .github/workflows/ci.yml, .github/workflows/coverity.yml,
31004 .github/workflows/codeql-analysis.yml
31005
31006Patch 8.2.5053
31007Problem: Cannot have a comment halfway an expression in an autocmd command
31008 block.
31009Solution: When skipping over the NL also skip over comments. (closes #10519)
31010Files: src/eval.c, src/testdir/test_autocmd.vim
31011
31012Patch 8.2.5054
31013Problem: No good filetype for conf files similar to dosini.
31014Solution: Add the confini filetype. (closes #10518)
31015Files: runtime/filetype.vim, src/testdir/test_filetype.vim
31016
31017Patch 8.2.5055
31018Problem: Statusline is not updated when terminal title changes.
31019Solution: Redraw the status line when the title changes. (issue #10425)
31020Files: src/terminal.c
31021
31022Patch 8.2.5056
31023Problem: The channel log only contains some of the raw terminal output.
31024Solution: Add the "o" flag to log all terminal output. Use it for "--log".
31025Files: runtime/doc/channel.txt, runtime/doc/starting.txt, src/main.c,
31026 src/channel.c, src/vim.h, src/term.c, src/edit.c, src/normal.c,
31027 src/optionstr.c
31028
31029Patch 8.2.5057
31030Problem: Using gettimeofday() for timeout is very inefficient.
31031Solution: Set a platform dependent timer. (Paul Ollis, closes #10505)
31032Files: src/auto/configure, src/config.h.in, src/configure.ac,
31033 src/drawscreen.c, src/errors.h, src/evalfunc.c, src/ex_cmds.c,
31034 src/ex_getln.c, src/match.c, src/os_mac.h, src/os_macosx.m,
31035 src/os_unix.c, src/os_win32.c, src/proto/os_unix.pro,
31036 src/proto/os_win32.pro, src/proto/regexp.pro, src/quickfix.c,
31037 src/regexp.c, src/regexp.h, src/regexp_bt.c, src/regexp_nfa.c,
31038 src/screen.c, src/search.c, src/structs.h, src/syntax.c,
31039 src/testdir/test_hlsearch.vim, src/testdir/test_search.vim,
31040 src/testdir/test_syntax.vim
31041
31042Patch 8.2.5058
31043Problem: input() does not handle composing characters properly.
31044Solution: Use mb_cptr2char_adv() instead of mb_ptr2char_adv().
31045 (closes #10527)
31046Files: src/getchar.c, src/testdir/test_functions.vim
31047
31048Patch 8.2.5059
31049Problem: Autoconf 2.71 produces many obsolete warnings.
31050Solution: Replace obsolete macros with non-obsolete ones, where the
31051 functionality does not change. (issue #10528)
31052Files: src/configure.ac, src/auto/configure
31053
31054Patch 8.2.5060 (after 8.2.5059)
31055Problem: Running configure fails.
31056Solution: Remove line break.
31057Files: src/configure.ac, src/auto/configure
31058
31059Patch 8.2.5061
31060Problem: C89 requires signal handlers to return void.
31061Solution: Drop RETSIGTYPE and hard-code a void return value.
31062Files: src/configure.ac, src/auto/configure, src/if_cscope.c,
31063 src/os_unix.c, src/pty.c, src/os_mac.h, src/os_vms_conf.h,
31064 src/config.h.in, src/osdef1.h.in
31065
31066Patch 8.2.5062
31067Problem: Coverity warns for dead code.
31068Solution: Remove the dead code.
31069Files: src/os_unix.c, src/match.c
31070
31071Patch 8.2.5063
31072Problem: Error for a command may go over the end of IObuff.
31073Solution: Truncate the message.
31074Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
31075
31076Patch 8.2.5064
31077Problem: No test for what 8.1.0052 fixes.
31078Solution: Add a test. (closes #10531)
31079Files: src/getchar.c, src/testdir/test_mapping.vim
31080
31081Patch 8.2.5065
31082Problem: Wrong return type for main() in tee.c.
31083Solution: Use "int" instead of "void". Remove unused variable.
31084Files: src/tee/tee.c
31085
31086Patch 8.2.5066
31087Problem: Can specify multispace listchars only for whole line.
31088Solution: Add "leadmultispace". (Christian Brabandt, closes #10496)
31089Files: runtime/doc/options.txt, src/drawline.c, src/message.c,
31090 src/screen.c, src/structs.h, src/window.c,
31091 src/testdir/test_listchars.vim
31092
31093Patch 8.2.5067
31094Problem: Timer_create is not available on every Mac system. (Hisashi T
31095 Fujinaka)
31096Solution: Adjust #ifdef.
31097Files: src/os_unix.c
31098
31099Patch 8.2.5068
31100Problem: Gcc 12.1 warning when building tee.
31101Solution: Change type to size_t. (John Marriott)
31102Files: src/tee/tee.c
31103
31104Patch 8.2.5069
31105Problem: Various warnings from clang on MS-Windows.
31106Solution: Fix the code to avoid the warnings. (Yegappan Lakshmanan,
31107 closes #10538)
31108Files: src/dosinst.c, src/fileio.c, src/gui_w32.c, src/os_mswin.c,
31109 src/os_win32.c
31110
31111Patch 8.2.5070
31112Problem: Unnecessary code.
31113Solution: Remove code that isn't needed. (closes #10534)
31114Files: src/message.c, src/screen.c
31115
31116Patch 8.2.5071
31117Problem: With some Mac OS version clockid_t is redefined.
31118Solution: Adjust #ifdefs. (Ozaki Kiichi, closes #10549)
31119Files: src/os_mac.h
31120
31121Patch 8.2.5072
31122Problem: Using uninitialized value and freed memory in spell command.
31123Solution: Initialize "attr". Check for empty line early.
31124Files: src/spell.c, src/testdir/test_spell_utf8.vim
31125
31126Patch 8.2.5073
31127Problem: Clang on MS-Windows produces warnings.
31128Solution: Avoid the warnings. (Yegappan Lakshmanan, closes #10546)
31129Files: src/dosinst.c, src/dosinst.h, src/gui_dwrite.cpp, src/gui_w32.c,
31130 src/iscygpty.c, src/libvterm/src/vterm_internal.h, src/mbyte.c,
31131 src/os_win32.c, src/os_win32.h, src/term.c, src/xdiff/xinclude.h
31132
31133Patch 8.2.5074
31134Problem: Spell test fails on MS-Windows.
31135Solution: Do not change 'encoding'
31136Files: src/testdir/test_spell_utf8.vim
31137
31138Patch 8.2.5075
31139Problem: Clang gives an out of bounds warning.
31140Solution: adjust conditional expression (John Marriott)
31141Files: src/ui.c
31142
31143Patch 8.2.5076
31144Problem: Unnecessary code.
31145Solution: Remove code and replace with function call. (closes #10552)
31146Files: src/drawline.c, src/getchar.c
31147
31148Patch 8.2.5077
31149Problem: Various warnings from clang on MS-Windows.
31150Solution: Avoid the warnings. (Yegappan Lakshmanan, closes #10553)
31151Files: src/dosinst.c, src/dosinst.h, src/filepath.c, src/gui_w32.c,
31152 src/misc1.c, src/os_win32.c
31153
31154Patch 8.2.5078
31155Problem: Substitute test has a one second delay.
31156Solution: Use ":silent!". Add another test case. (closes #10558)
31157Files: src/testdir/test_substitute.vim
31158
31159Patch 8.2.5079
31160Problem: DirChanged autocommand may use freed memory. (Shane-XB Qian)
31161Solution: Free the memory later. (closes #10555)
31162Files: src/ex_docmd.c, src/testdir/test_autocmd.vim
31163
31164Patch 8.2.5080
31165Problem: When indenting gets out of hand it is hard to stop.
31166Solution: When line gets too long set got_int.
31167Files: src/indent.c
31168
31169Patch 8.2.5081
31170Problem: Autocmd test fails on MS-Windows.
31171Solution: Set shellslash to get forward slashes.
31172Files: src/testdir/test_autocmd.vim
31173
31174Patch 8.2.5082 (after 8.2.5080)
31175Problem: Retab test fails.
31176Solution: Disable the test for now.
31177Files: src/testdir/test_retab.vim
31178
31179Patch 8.2.5083
31180Problem: Autocmd test still fails on MS-Windows.
31181Solution: Change backward to forward slashes.
31182Files: src/testdir/test_autocmd.vim
31183
31184Patch 8.2.5084
31185Problem: When the GUI shows a dialog tests get stuck.
31186Solution: Add the --gui-dialog-file argument.
31187Files: runtime/doc/starting.txt, src/Make_mvc.mak, src/gui.c, src/main.c,
31188 src/message.c, src/os_mswin.c, src/proto/gui.pro,
31189 src/proto/main.pro, src/structs.h, src/testdir/Make_dos.mak,
31190 src/testdir/Make_ming.mak, src/testdir/Makefile,
31191 src/testdir/runtest.vim, src/testdir/shared.vim
31192
31193Patch 8.2.5085
31194Problem: Gcc gives warning for signed/unsigned difference.
31195Solution: Use a different pointer type. (John Marriott)
31196Files: src/os_mswin.c
31197
31198Patch 8.2.5086
31199Problem: CI runs on Windows 2019.
31200Solution: Switch to Windows 2022. (closes #10566)
31201Files: .github/workflows/ci.yml
31202
31203Patch 8.2.5087
31204Problem: Cannot build with clang on MS-Windows.
31205Solution: Add support for building with clang. (Yegappan Lakshmanan,
31206 closes #10557)
31207Files: src/GvimExt/Make_ming.mak, src/INSTALLpc.txt,
31208 src/Make_cyg_ming.mak
31209
31210Patch 8.2.5088
31211Problem: Value of cmod_verbose is a bit complicated to use.
31212Solution: Use zero for not set, value + 1 when set. (closes #10564)
31213Files: src/ex_docmd.c, src/ex_getln.c, src/globals.h, src/structs.h
31214
31215Patch 8.2.5089
31216Problem: Some functions return a different value on failure.
31217Solution: Initialize the return value earlier. (Yegappan Lakshmanan,
31218 closes #10568)
31219Files: src/autocmd.c, src/dict.c, src/evalfunc.c, src/list.c
31220
31221Patch 8.2.5090
31222Problem: MS-Windows: vim.def is no longer used.
31223Solution: Delete vim.def. (Ken Takata, closes #10569)
31224Files: Filelist, Makefile, src/vim.def
31225
31226Patch 8.2.5091
31227Problem: Terminal test fails with some shell commands.
31228Solution: Disable setting the window title. (closes #10530)
31229Files: src/testdir/test_terminal.vim
31230
31231Patch 8.2.5092
31232Problem: Using "'<,'>" in Ex mode may compare unrelated pointers.
31233Solution: Set eap->cmd to "+" only later.
31234Files: src/ex_docmd.c
31235
31236Patch 8.2.5093
31237Problem: Error message for unknown command may mention the command twice.
31238 (Malcolm Rowe)
31239Solution: Add the did_append_cmd flag. (closes #10570)
31240Files: src/ex_docmd.c
31241
31242Patch 8.2.5094
31243Problem: MS-Windows GUI: empty command may cause a dialog.
31244Solution: Delete the dialog file. Improve the message.
31245Files: src/testdir/runtest.vim, src/testdir/test_ex_mode.vim
31246
31247Patch 8.2.5095
31248Problem: Terminal test still fails with some shell commands.
31249Solution: Disable setting the window title in the Vim instance running in a
31250 terminal window. (closes #10530)
31251Files: src/testdir/test_terminal.vim
31252
31253Patch 8.2.5096 (after 8.2.5095)
31254Problem: Terminal test still fails with some shell commands.
31255Solution: Add missing "call". (closes #10530)
31256Files: src/testdir/test_terminal.vim
31257
31258Patch 8.2.5097
31259Problem: Using uninitialized memory when using 'listchars'.
31260Solution: Use the length returned by mb_char2bytes(). (closes #10576)
31261Files: src/message.c
31262
31263Patch 8.2.5098
31264Problem: Spelldump test sometimes hangs.
31265Solution: Catch the problem of the spell file not being found to avoid
31266 hanging in the download dialog.
31267Files: src/testdir/test_spell.vim
31268
31269Patch 8.2.5099
31270Problem: Some terminal tests are not retried.
31271Solution: Mark terminal tests as flaky.
31272Files: src/testdir/test_terminal.vim
31273
31274Patch 8.2.5100
31275Problem: Memory usage tests are not retried.
31276Solution: Mark memory usage tests as flaky.
31277Files: src/testdir/test_memory_usage.vim
31278
31279Patch 8.2.5101
31280Problem: MS-Windows with MinGW: $CC may be "cc" instead of "gcc".
31281Solution: Set $CC if it is not matching "clang". (Yegappan Lakshmanan,
31282 closes #10578)
31283Files: src/INSTALLpc.txt, src/Make_cyg_ming.mak
31284
31285Patch 8.2.5102
31286Problem: Interrupt not caught in test.
31287Solution: Consider an exception thrown in the current try/catch when got_int
31288 is set. Also catch early exit when not using try/catch.
31289Files: src/indent.c, src/testing.c, src/testdir/test_retab.vim,
31290 src/testdir/runtest.vim
31291
31292Patch 8.2.5103
31293Problem: Build fails with small features.
31294Solution: Add #ifdef. Skip test on MS-Windows.
31295Files: src/indent.c, src/testdir/test_retab.vim
31296
31297Patch 8.2.5104 (after 8.2.5103)
31298Problem: Test hangs on MS-Windows.
31299Solution: Skip another test on MS-Windows.
31300Files: src/testdir/test_retab.vim
31301
31302Patch 8.2.5105 (after 8.2.5104)
31303Problem: Test still hangs on MS-Windows.
31304Solution: Skip "nocatch" test the right way.
31305Files: src/testdir/test_retab.vim
31306
31307Patch 8.2.5106
31308Problem: Default cmdwin mappings are re-mappable.
31309Solution: Make the default mappings not re-mappable. (closes #10580) Use
31310 symbols for the first do_map() argument.
31311Files: src/vim.h, src/ex_getln.c, src/map.c, src/proto/map.pro,
31312 src/digraph.c, src/netbeans.c
31313
31314Patch 8.2.5107
31315Problem: Some callers of rettv_list_alloc() check for not OK. (Christ van
31316 Willegen)
31317Solution: Use "==" instead of "!=" when checking the return value.
31318Files: src/evalbuffer.c, src/channel.c, src/cmdexpand.c, src/evalfunc.c,
31319 src/evalwindow.c, src/insexpand.c, src/job.c, src/list.c,
31320 src/map.c, src/menu.c, src/mouse.c, src/move.c, src/sign.c,
31321 src/textprop.c, src/term.c, src/time.c
31322
31323Patch 8.2.5108
31324Problem: Retab test disabled because it hangs on MS-Windows.
Bram Moolenaareb490412022-06-28 13:44:46 +010031325Solution: Also set got_int at the other place an overlong text is detected.
Bram Moolenaard799daa2022-06-20 11:17:32 +010031326Files: src/indent.c, src/testdir/test_retab.vim
31327
31328Patch 8.2.5109
31329Problem: Mode not updated after CTRL-O CTRL-C in Insert mode.
31330Solution: Set redraw_mode and use it. (closes #10581)
31331Files: src/main.c, src/normal.c, src/testdir/test_normal.vim,
31332 src/testdir/dumps/Test_mode_updated_1.dump
31333
31334Patch 8.2.5110
31335Problem: Icon filetype not recognized from the first line.
31336Solution: Add a check for the first line. (Doug Kearns)
31337Files: runtime/autoload/dist/script.vim, src/testdir/test_filetype.vim
31338
31339Patch 8.2.5111
31340Problem: No test for --gui-dialog-file.
31341Solution: Add a test.
31342Files: src/testdir/test_gui.vim
31343
31344Patch 8.2.5112 (after 8.2.5111)
31345Problem: Gui test hangs on MS-Windows.
31346Solution: Use "!start" to start Vim.
31347Files: src/testdir/test_gui.vim
31348
31349Patch 8.2.5113
31350Problem: Timer becomes invalid after fork/exec, :gui gives errors. (Gabriel
31351 Dupras)
31352Solution: Delete the timer befor forking. (closes #10584)
31353Files: src/os_unix.c, src/proto/os_unix.pro, src/gui.c
31354
31355Patch 8.2.5114
31356Problem: Time limit on searchpair() does not work properly.
31357Solution: Set the time limit once instead of for each regexp. (closes #10562)
31358Files: src/search.c, src/evalfunc.c, src/testdir/test_search.vim
31359
31360Patch 8.2.5115
31361Problem: Search timeout is overrun with some patterns.
31362Solution: Check for timeout in more places. Make the flag volatile and
31363 atomic. Use assert_inrange() to see what happened.
31364Files: src/regexp_nfa.c, src/regexp_bt.c, src/regexp.c, src/os_unix.c,
31365 src/proto/os_unix.pro, src/testdir/test_search.vim
31366
31367Patch 8.2.5116
31368Problem: "limit" option of matchfuzzy() not always respected.
31369Solution: Remove "else". (Kazuyuki Miyagi, closes #10586)
31370Files: runtime/doc/builtin.txt, src/search.c,
31371 src/testdir/test_matchfuzzy.vim
31372
31373Patch 8.2.5117
31374Problem: Crash when calling a Lua callback from a :def function. (Bohdan
31375 Makohin)
31376Solution: Handle FC_CFUNC in call_user_func_check(). (closes #10587)
31377Files: src/userfunc.c, src/testdir/test_lua.vim
31378
31379Patch 8.2.5118
31380Problem: MS-Windows: sending a message to another Vim may hang if that Vim
31381 is halted.
31382Solution: Add a timeout to serverSendToVim(). (Ken Takata, closes #10585)
31383Files: runtime/pack/dist/opt/editexisting/plugin/editexisting.vim,
31384 src/os_mswin.c
31385
31386Patch 8.2.5119
31387Problem: CI uses cache v2.
31388Solution: Use cache v3. (closes #10588)
31389Files: .github/workflows/ci.yml
31390
31391Patch 8.2.5120
31392Problem: Searching for quotes may go over the end of the line.
31393Solution: Check for running into the NUL.
31394Files: src/textobject.c
31395
31396Patch 8.2.5121
31397Problem: Interrupt test sometimes fails.
31398Solution: Use a different file name.
31399Files: src/testdir/test_interrupt.vim
31400
31401Patch 8.2.5122
31402Problem: Lisp indenting my run over the end of the line.
31403Solution: Check for NUL earlier.
31404Files: src/indent.c, src/testdir/test_indent.vim
31405
31406Patch 8.2.5123
31407Problem: Using invalid index when looking for spell suggestions.
31408Solution: Do not decrement the index when it is zero.
31409Files: src/spellsuggest.c, src/testdir/test_spell.vim
31410
31411Patch 8.2.5124
31412Problem: When syntax timeout test fails it does not show the time.
31413Solution: Use assert_inrange().
31414Files: src/testdir/test_syntax.vim
31415
31416Patch 8.2.5125
Bram Moolenaar8a3b8052022-06-26 12:21:15 +010031417Problem: MS-Windows: warnings from MinGW compiler.
Bram Moolenaard799daa2022-06-20 11:17:32 +010031418Solution: Use "volatile". (Yasuhiro Matsumoto, closes #10589) Initialize
31419 variable.
31420Files: src/os_win32.c, src/proto/os_win32.pro, src/map.c
31421
31422Patch 8.2.5126
31423Problem: Substitute may overrun destination buffer.
31424Solution: Disallow switching buffers in a substitute expression.
31425Files: src/ex_docmd.c, src/testdir/test_substitute.vim
31426
31427Patch 8.2.5127
31428Problem: Using assert_true() does not show value on failure.
31429Solution: Use assert_inrange(). (closes #10593)
31430Files: src/testdir/test_channel.vim, src/testdir/test_hlsearch.vim
31431
31432Patch 8.2.5128
31433Problem: Syntax highlighting disabled when using synID() in searchpair()
31434 skip expression and it times out. (Jaehwang Jung)
31435Solution: Add the redrawtime_limit_set flag. (closes #10562)
31436Files: src/globals.h, src/drawscreen.c, src/syntax.c
31437
31438Patch 8.2.5129
31439Problem: Timeout handling is not optimal.
31440Solution: Avoid setting timeout_flag twice. Adjust the pointer when
31441 stopping the regexp timeout. Adjust variable name.
31442Files: src/os_unix.c, src/os_win32.c, src/regexp.c
Bram Moolenaarc51cf032022-02-26 12:25:45 +000031443
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010031444Patch 8.2.5130
31445Problem: Edit test for mode message fails when using valgrind.
31446Solution: Use WaitForAssert(). Run beep test later.
31447Files: src/testdir/test_edit.vim
31448
31449Patch 8.2.5131
31450Problem: Timeout implementation is not optimal.
31451Solution: Further improvements for timeouts. Add a test for searchpair()
31452 timeout. (partly by Paul Ollis)
31453Files: src/configure.ac, src/auto/configure,
31454 src/testdir/test_hlsearch.vim, src/testdir/test_search.vim
31455
31456Patch 8.2.5132
31457Problem: :mkview test doesn't test much.
31458Solution: Save the view with the folds closed. (James McCoy, closes #10596)
31459Files: src/testdir/test_mksession.vim
31460
31461Patch 8.2.5133
31462Problem: MacOS: build fails.
31463Solution: Remove "#if 0" from timer_delete().
31464Files: src/os_macosx.m
31465
31466Patch 8.2.5134
31467Problem: Function has confusing name.
31468Solution: Rename tgetent_error() to invoke_tgetent().
31469Files: src/term.c
31470
31471Patch 8.2.5135
31472Problem: Running configure gives warnings for main() return type.
31473Solution: Specify "int" return type. Avoid a few more warnings.
31474Files: src/configure.ac, src/auto/configure
31475
31476Patch 8.2.5136
31477Problem: Debugger test fails when run with valgrind.
31478Solution: Wait longer when using valgrind.
31479Files: src/testdir/shared.vim, src/testdir/test_debugger.vim,
31480 src/testdir/test_search.vim
31481
31482Patch 8.2.5137
31483Problem: Cannot build without the +channel feature. (Dominique Pellé)
31484Solution: Add #ifdef around ch_log() calls. (closes #10598)
31485Files: src/os_unix.c, src/regexp_nfa.c, src/regexp_bt.c
31486
31487Patch 8.2.5138
31488Problem: Various small issues.
Bram Moolenaareb490412022-06-28 13:44:46 +010031489Solution: Various small improvements.
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010031490Files: src/filepath.c, src/job.c, src/mark.c, src/move.c,
31491 src/popupwin.c, src/testdir/test_filetype.vim
31492
31493Patch 8.2.5139
31494Problem: TIME_WITH_SYS_TIME is no longer supported by autoconf.
31495Solution: Always include time.h.
31496Files: src/os_unix.h
31497
31498Patch 8.2.5140
31499Problem: Seachpair timeout test is flaky.
31500Solution: Mark the test as flaky so it is retried.
31501Files: src/testdir/test_search.vim
31502
31503Patch 8.2.5141
31504Problem: Using "volatile int" in a signal handler might be wrong.
31505Solution: Use "volatile sig_atomic_t".
31506Files: src/os_unix.c, src/proto/os_unix.pro, src/os_win32.c,
31507 src/proto/os_win32.pro, src/regexp.c,
31508
31509Patch 8.2.5142
31510Problem: Startup test fails if there is a status bar at the top of the
31511 screen. (Ernie Rael)
31512Solution: Use a larger vertical offset in the test.
31513Files: src/testdir/test_startup.vim
31514
31515Patch 8.2.5143
31516Problem: Some tests fail when using valgrind. Spurious leak reports.
31517Solution: Use WaitForAssert(). Avoid failing fork/exec. Skip tests where a
31518 job is killed when running valgrind.
31519Files: src/testdir/test_iminsert.vim, src/testdir/test_popup.vim,
31520 src/testdir/test_cscope.vim, src/testdir/test_channel.vim
31521
31522Patch 8.2.5144
31523Problem: With 'lazyredraw' set completion menu may be displayed wrong.
31524Solution: When the popup menu is visible do not insert a screen line.
31525 (closes #10601)
31526Files: src/screen.c
31527
31528Patch 8.2.5145
31529Problem: Exit test causes spurious valgrind reports.
31530Solution: Skip test. Add CheckNotValgrind.
31531Files: src/testdir/test_exit.vim, src/testdir/check.vim,
31532 src/testdir/test_channel.vim
31533
31534Patch 8.2.5146
31535Problem: Memory leak when substitute expression nests.
31536Solution: Use an array of expression results.
31537Files: src/alloc.c, src/regexp.c, src/proto/regexp.pro,
31538 src/errors.h, src/ex_cmds.c, src/testdir/test_substitute.vim
31539
31540Patch 8.2.5147
31541Problem: Flaky test always fails on retry.
31542Solution: Delete the created function.
31543Files: src/testdir/test_search.vim
31544
31545Patch 8.2.5148
31546Problem: Invalid memory access when using an expression on the command line.
31547Solution: Make sure the position does not go negative.
31548Files: src/ex_getln.c, src/testdir/test_cmdline.vim
31549
31550Patch 8.2.5149 (after 8.2.5148)
31551Problem: Cannot build without the +eval feature. (Tony Mechelynck)
31552Solution: Add #ifdefs.
31553Files: src/ex_getln.c
31554
31555Patch 8.2.5150
31556Problem: Read past the end of the first line with ":0;'{".
31557Solution: When on line zero check the column is valid for line one.
31558Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
31559
31560Patch 8.2.5151
31561Problem: Reading beyond the end of the line with lisp indenting.
31562Solution: Avoid going over the NUL at the end of the line.
31563Files: src/indent.c, src/testdir/test_lispwords.vim
31564
31565Patch 8.2.5152
31566Problem: search() gets stuck with "c" and skip evaluates to true.
31567Solution: Reset the SEARCH_START option. (closes #10608)
31568Files: src/evalfunc.c, src/testdir/test_syntax.vim
31569
31570Patch 8.2.5153
31571Problem: "make uninstall" does not remove colors/lists.
31572Solution: Add a line to the Makefile. (closes #10609)
31573Files: src/Makefile
31574
31575Patch 8.2.5154
31576Problem: Still mentioning version8, some cosmetic issues.
31577Solution: Prefer mentioning version9, cosmetic improvements.
31578Files: src/version.c, src/if_tcl.c, src/regexp.c,
31579 src/testdir/test_gui.vim, src/os_unix.c, Filelist, src/Makefile
31580
31581Patch 8.2.5155
31582Problem: In diff mode windows may get out of sync. (Gary Johnson)
31583Solution: Avoid that the other window scrolls for 'cursorbind'.
31584Files: src/move.c, src/testdir/test_diffmode.vim,
31585 src/testdir/dumps/Test_diff_scroll_1.dump,
31586 src/testdir/dumps/Test_diff_scroll_2.dump
31587
31588Patch 8.2.5156
31589Problem: Search timeout test often fails with FreeBSD.
31590Solution: Double the maximum time.
31591Files: src/testdir/test_search.vim
31592
31593Patch 8.2.5157
31594Problem: MS-Windows GUI: CTRL-key combinations do not always work.
31595Solution: Handle special key combinations better. (closes #10613,
31596 closes #10602, closes #10579)
31597Files: src/gui_w32.c
Bram Moolenaarc51cf032022-02-26 12:25:45 +000031598
Bram Moolenaar8a3b8052022-06-26 12:21:15 +010031599Patch 8.2.5158
31600Problem: TSTP and INT signal tests are not run with valgrind.
31601Solution: Sleep a bit longer. (closes #10614)
31602Files: src/testdir/test_signals.vim
31603
31604Patch 8.2.5159 (after 8.2.5157)
31605Problem: Fix for CTRL-key combinations causes more problems than it solves.
31606Solution: Roll back the change.
31607Files: src/gui_w32.c
31608
31609Patch 8.2.5160
31610Problem: Accessing invalid memory after changing terminal size.
31611Solution: Adjust cmdline_row and msg_row to the value of Rows.
31612Files: src/term.c
31613
Bram Moolenaar069a7d52022-06-27 22:16:08 +010031614Patch 8.2.5161
31615Problem: Might still access invalid memory.
31616Solution: Add extra check for negative value.
31617Files: src/message.c
31618
31619Patch 8.2.5162
31620Problem: Reading before the start of the line with BS in Replace mode.
31621Solution: Check the cursor column is more than zero.
31622Files: src/edit.c
31623
31624Patch 8.2.5163
31625Problem: Crash when deleting buffers in diff mode.
31626Solution: Recompute diffs later. Skip window without a valid buffer.
31627Files: src/diff.c, src/testdir/test_diffmode.vim
31628
31629Patch 8.2.5164
31630Problem: Invalid memory access after diff buffer manipulations.
31631Solution: Use zero offset when change removes all lines in a diff block.
31632Files: src/diff.c, src/testdir/test_diffmode.vim
31633
31634Patch 8.2.5165
31635Problem: Import test fails because 'diffexpr' isn't reset.
31636Solution: Reset 'diffexpr'.
31637Files: src/testdir/test_vim9_import.vim
31638
31639Patch 8.2.5166
31640Problem: Test for DiffUpdated fails.
31641Solution: Also accept a count of two.
31642Files: src/testdir/test_diffmode.vim
31643
31644Patch 8.2.5167
31645Problem: get(Fn, 'name') on funcref returns special byte code.
31646Solution: Use the printable name.
31647Files: src/evalfunc.c, src/testdir/test_getvar.vim
31648
31649Patch 8.2.5168
31650Problem: Cannot build with Python 3.11.
31651Solution: Adjust define for _PyObject_TypeCheck. (Zdenek Dohnal,
31652 closes #10627)
31653Files: src/if_python3.c
31654
31655Patch 8.2.5169
31656Problem: Nested :source may use NULL pointer.
31657Solution: Do not use the NULL pointer.
31658Files: src/eval.c, src/testdir/test_vimscript.vim
31659
Bram Moolenaareb490412022-06-28 13:44:46 +010031660Patch 8.2.5170
31661Problem: Tiny issues.
31662Solution: Tiny improvements.
31663Files: src/misc1.c, src/screen.c, src/vim.h
31664
31665Patch 8.2.5171
31666Problem: Dependencies and proto files are outdated.
31667Solution: Update dependencies and proto files. Avoid errors.
31668Files: src/Makefile, src/gui_w32.c, src/os_mswin.c, src/proto/buffer.pro,
31669 src/proto/cmdexpand.pro, src/proto/getchar.pro,
31670 src/proto/help.pro, src/proto/mbyte.pro, src/proto/option.pro,
31671 src/proto/screen.pro, src/proto/syntax.pro,
31672 src/proto/textformat.pro, src/proto/textobject.pro,
31673 src/proto/time.pro, src/proto/gui_x11.pro, src/proto/if_tcl.pro,
31674 src/proto/os_mswin.pro
31675
31676Patch 8.2.5172
31677Problem: "make menu" still uses legacy script.
31678Solution: make menu generation script use Vim9 script, fix errors.
31679Files: runtime/makemenu.vim
31680
Bram Moolenaarc51cf032022-02-26 12:25:45 +000031681
Yegappan Lakshmanan7c948642023-09-24 14:07:03 -070031682==============================================================================
31683VERSION 9.1 *version-9.1* *version9.1* *vim-9.1*
31684
31685This section is about improvements made between version 9.0 and 9.1.
31686
31687This release has hundreds of bug fixes, there are a few new features and there
31688are many minor improvements.
31689
31690Vim9 classes
31691------------
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010031692Support for classes and objects in a Vim9 script are added. This is described
31693in |vim9-class|. The following features are supported:
Yegappan Lakshmanan59df9ad2023-12-21 17:09:15 +010031694 - Defining classes and instantiating objects
31695 - Multiple constructors
31696 - Class variables and methods
31697 - Object variables and methods
31698 - Public and protected access for variables and methods
31699 - Constant and final object/class variables
31700 - Extending classes (single inheritance)
31701 - Interfaces
31702 - Abstract classes
31703 - Exporting classes
31704
31705Support for creating a type alias for an existing type is added.
Yegappan Lakshmanan7c948642023-09-24 14:07:03 -070031706
31707Virtual text
31708------------
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010031709Support for adding |virtual-text| to a buffer is added. This is useful for
31710language server features (e.g. inlay hints)
Yegappan Lakshmanan7c948642023-09-24 14:07:03 -070031711
31712Smooth Scroll
31713-------------
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010031714Support for scrolling text using screen lines instead of file lines is added.
31715Refer to the 'smoothscroll' option.
31716
31717EditorConfig and JSON formatting plugins are included.
31718
31719OpenVMS x86_64 platform port.
Yegappan Lakshmanan7c948642023-09-24 14:07:03 -070031720
31721Other improvements *new-other-9.1*
31722------------------
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010031723- Support for undercurl (|t_Ce|), double underline (|t_Us|), dotted underline
31724 (|t_ds|) and dashed underline (|t_Ds|) termcap entries.
31725- The 'fillchars' option is now a global-local option.
31726- The |vertical| and |horizontal| modifiers can be used with ":wincmd ="
31727 command to equalize windows vertically or horizontally.
31728- |:defer| command to defer the execution of a function till the end of a
31729 function.
31730- Support for closing a tab page using the middle mouse button.
31731- Sound support in MacOS.
31732- The |prop_remove()| function can now remove multiple text properties.
31733- The |items()| function now supports a List or a String argument.
31734- Command line completion support for |:runtime| command.
31735- Support for multiple "%=" items in 'statusline'
31736- Support for the PmenuKind, PmenuKindSel, PmenuExtra and PmenuExtraSel
31737 highlight groups.
31738- xxd: support for using colors in the hex dump output
31739- xxd: reversing a bit dump
31740- Text properties can override 'cursorline' highlight.
31741- Support for echoing messages in a popup window |:echowindow|.
31742- Control scroll behavior when spliting windows 'splitkeep'.
31743- Specify the character used for the last window line 'fillchars'
31744- Support for mouse scrolling in the MS-Windows console.
31745- Support for using different keyboard protocols 'keyprotocol'
31746- Support for UTF-16 string index.
31747- Quickfix list items can have associated custom user data.
31748- |reverse()| supports reversing a string
31749- 'switchbuf' is used by more commands.
31750- |undotree()| can be used with any buffer.
31751- |printf()| supports positional arguments
31752- Support for custom completion using |getcompletion()|
31753- Support for Python3 stable ABI
31754- Use |jumplist| like a stack
31755- Command-line completion support for option values
31756- Support for writing extended attributes in Linux
31757- 'errorformat' supports parsing a buffer number (|%b|)
31758- Termdebug: Support for variables window, moving up/down the stack frames and
31759 setting temporary breakpoints
Yegappan Lakshmanan7c948642023-09-24 14:07:03 -070031760
31761Changed *changed-9.1*
31762-------
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010031763- The features |++builtin_terms|, |+cmdline_info|, |+cmdwin|, |+file_in_path|,
31764 |+float|, |+path_extra|, |+textobjects|, |+wildignore| and |+wildmenu| are
31765 available in all the builds.
31766- Support for Windows-XP is dropped.
31767- The "small" and "big" builds are dropped in favor of "tiny" and "huge"
31768 builds.
31769- Support for VisVim is removed.
31770- The optional Content-Type header is removed from the LSP messages.
31771- |charidx()| returns the character length when the index is one more than the
31772 last byte index.
31773- Ctrl-Q works like Ctrl-V in replace mode.
31774- |popup_filter_menu()| now wraps around.
31775- |g<End>| now jumps to the last non-blank character
31776- dot and hypen are supported in highlight group names
31777- |executable()| resolves symlinks on MS-Windows.
Yegappan Lakshmanan7c948642023-09-24 14:07:03 -070031778
31779Added *added-9.1*
31780-----
31781
31782Various syntax, indent and other plugins were added.
31783
31784Functions: ~
31785
31786|err_teapot()| produce error 418 or 503
31787|getbufoneline()| get a one line from the specified buffer
31788|getcellwidths()| get character cell width overrides
31789|getmouseshape()| get name of the current mouse shape
31790|getscriptinfo()| get list of sourced vim scripts
31791|indexof()| index in a List or Blob of a true expression
31792|instanceof()| check if a variable is an instance of a given class
31793|keytrans()| translate internal key codes to be usable with |:map|
31794|popup_findecho()| get window ID for popup used for |:echowindow|
31795|setcmdline()| set the current command line
31796|strutf16len()| number of UTF-16 code units in a string
31797|swapfilelist()| list of existing swap files in 'directory'
31798|test_mswin_event()| generate an MS-Windows event for testing
31799|utf16idx()| UTF-16 index of a byte in a string
31800
31801
31802Autocommands: ~
31803
31804|TextChangedT| after a change was made to the text in Terminal mode
31805|WinResized| after a window in the current tab page is resized
31806
31807
31808Commands: ~
31809
31810|:abstract| define an Vim9 abstract class
31811|:class| start of a class specification
31812|:defer| call function when current function is done
31813|:echowindow| same as :echomsg, but use a popup window
31814|:endinterface| end of an interface specification
31815|:endclass| end of a class specification
31816|:horizontal| following window command work horizontally
31817|:interface| start of an interface specification
31818|:public| prefix for a class or object member
31819|:static| prefix for a class member or function
31820|:this| prefix for an object member
Yegappan Lakshmanan59df9ad2023-12-21 17:09:15 +010031821|:type| create a type alias
Yegappan Lakshmanan7c948642023-09-24 14:07:03 -070031822
31823
31824Options: ~
31825
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010031826'endoffile' write CTRL-Z at end of the file
Yegappan Lakshmanan7c948642023-09-24 14:07:03 -070031827'jumpoptions' specifies how jumping is done
31828'keyprotocol' what keyboard protocol to use for what terminal
31829'lispoptions' changes how Lisp indenting is done
31830'showcmdloc' where to show (partial) command
31831'smoothscroll' scroll by screen lines when 'wrap' is set
31832'splitkeep' determines scroll behavior for split windows
31833
Christian Brabandt5872bcb2023-12-19 20:10:43 +010031834==============================================================================
31835PATCHES *patches-9.1* *bug-fixes-9.1*
31836 *patches-after-9.0*
Yegappan Lakshmanan7c948642023-09-24 14:07:03 -070031837
Christian Brabandt5872bcb2023-12-19 20:10:43 +010031838The list of patches that got included since 9.0.0. This includes all the new
31839features, but does not include runtime file changes (syntax, indent, ftplugin,
31840documentation, etc.)
Yegappan Lakshmanan7c948642023-09-24 14:07:03 -070031841
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010031842Note: authorship and the list of changed files is left out and only visible
31843through `git log` for each commit.
31844
Christian Brabandt5872bcb2023-12-19 20:10:43 +010031845Patch 9.0.0001
31846Problem: Travis CI is no longer used.
31847Solution: Delete the Travis CI configuration. (Hugo Osvaldo Barrera,
31848 closes #10636)
31849
31850Patch 9.0.0002
31851Problem: Map functionality outside of map.c.
31852Solution: Move f_hasmapto() to map.c. Rename a function. (closes #10611)
31853
31854Patch 9.0.0003
31855Problem: Functions are global while they could be local.
31856Solution: Add "static". Add a few tests. (Yegappan Lakshmanan,
31857 closes #10612)
31858
31859Patch 9.0.0004
31860Problem: Plural messages not translated properly.
31861Solution: Use ngettext() in a few more places. (Matvey Tarasov,
31862 closes #10606)
31863
31864Patch 9.0.0005
31865Problem: Hare files are not recognized.
31866Solution: Add a filetype pattern. (Hugo Osvaldo Barrera, closes #10630)
31867
31868Patch 9.0.0006
31869Problem: Not all Visual Basic files are recognized.
31870Solution: Change detection of *.cls files. (Doug Kearns)
31871
31872Patch 9.0.0007
31873Problem: No support for double, dotted and dashed underlines.
31874Solution: Add the termcap entries and highlight modes. (closes #9553)
31875
31876Patch 9.0.0008
31877Problem: Cannot specify the variable name for "xxd -i".
31878Solution: Add the "-name" argument. (David Gow, closes #10599)
31879
31880Patch 9.0.0009
31881Problem: Going past the end of a menu item with only modifier.
31882Solution: Check for NUL.
31883
31884Patch 9.0.0010
31885Problem: Returning 0 for has('patch-9.0.0') is inconsistent.
31886Solution: Make it return 1. (closes #10640)
31887
31888Patch 9.0.0011
31889Problem: Reading beyond the end of the line with put command.
31890Solution: Adjust the end mark position.
31891
31892Patch 9.0.0012
31893Problem: Signature files not detected properly.
31894Solution: Add a function to better detect signature files. (Doug Kearns)
31895
31896Patch 9.0.0013
31897Problem: Reproducing memory access errors can be difficult.
31898Solution: When testing, copy each line to allocated memory, so that valgrind
31899 can detect accessing memory before and/or after it. Fix uncovered
31900 problems.
31901
31902Patch 9.0.0014
31903Problem: Missing part of the test override change.
31904Solution: Add the missing part.
31905
31906Patch 9.0.0015
31907Problem: With EXITFREE defined terminal menus are not cleared.
31908Solution: Also clear terminal menus. Remove condition that is always true.
31909 (closes #10641)
31910
31911Patch 9.0.0016
31912Problem: Comparing line pointer for 'breakindent' is not reliable.
31913Solution: Make a copy of the line.
31914
31915Patch 9.0.0017
31916Problem: Accessing memory beyond the end of the line.
31917Solution: Stop Visual mode when closing a window.
31918
31919Patch 9.0.0018
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010031920Problem: Going over the end of the typeahead.
Christian Brabandt5872bcb2023-12-19 20:10:43 +010031921Solution: Put a NUL after the typeahead.
31922
31923Patch 9.0.0019
31924Problem: Timers test not run where possible.
31925Solution: Adjust platform checks. (closes #10645)
31926
31927Patch 9.0.0020
31928Problem: With some completion reading past end of string.
31929Solution: Check the length of the string.
31930
31931Patch 9.0.0021
31932Problem: Invalid memory access when adding word with a control character to
31933 the internal spell word list.
31934Solution: Disallow adding a word with control characters or a trailing
31935 slash.
31936
31937Patch 9.0.0022
31938Problem: Spell test fails.
31939Solution: Expect new error is given.
31940
31941Patch 9.0.0023
31942Problem: On Solaris timer_create() exists but does not work.
31943Solution: Adjust the configure check to run the test program.
31944 (closes #10647)
31945
31946Patch 9.0.0024
31947Problem: May access part of typeahead buf that isn't filled.
31948Solution: Check length of typeahead.
31949
31950Patch 9.0.0025
31951Problem: Accessing beyond allocated memory when using the cmdline window in
31952 Ex mode.
31953Solution: Use "*" instead of "'<,'>" for Visual mode.
31954
31955Patch 9.0.0026
31956Problem: Accessing freed memory with diff put.
31957Solution: Bail out when diff pointer is no longer valid.
31958
31959Patch 9.0.0027
31960Problem: The command line test is getting quite big.
31961Solution: Move command line window tests to a separate file.
31962
31963Patch 9.0.0028
31964Problem: MS-Windows: tests fail if there is a stray "runtime" directory.
31965Solution: Only use a "runtime" directory if it contains "defaults.vim".
31966
31967Patch 9.0.0029
31968Problem: The bitmaps/vim.ico file is not in the distribution.
31969Solution: Add it back to the distribution. Adjust the build rules to have
31970 it end up in the right place.
31971
31972Patch 9.0.0030
31973Problem: Matchfuzzy test depends on path of current directory.
31974Solution: Use fnamemodify() to remove the path. (Robin Becker,
31975 closes #10650)
31976
31977Patch 9.0.0031
31978Problem: <cmod> of user command does not have correct verbose value.
31979Solution: Use the value from the command modifier. (closes #10651)
31980
31981Patch 9.0.0032
31982Problem: In the quickfix window 'cursorline' overrules QuickFixLine
31983 highlighting.
31984Solution: Combine the attributes. Add a test. (closes #10654)
31985
31986Patch 9.0.0033
31987Problem: On a Belgian keyboard CTRL-[ does not work.
31988Solution: Handle GDK_KEY_dead_circumflex. (Anton Sharonov, closes #10658)
31989
31990Patch 9.0.0034
31991Problem: Spell tests do not always clear the word list.
31992Solution: Clear the word list in TearDown(). (closes #10659)
31993
31994Patch 9.0.0035
31995Problem: Spell dump may go beyond end of an array.
31996Solution: Limit the word length.
31997
31998Patch 9.0.0036
31999Problem: 'fillchars' cannot have window-local values.
32000Solution: Make 'fillchars' global-local. (closes #5206)
32001
32002Patch 9.0.0037
32003Problem: Build error.
32004Solution: Add missing change.
32005
32006Patch 9.0.0038
32007Problem: 'listchars' test fails.
32008Solution: Use window-local value after setting the global value
32009
32010Patch 9.0.0039
32011Problem: Not all systems have GDK_KEY_dead_circumflex. (Hisashi T Fujinaka)
32012Solution: Add an #ifdef.
32013
32014Patch 9.0.0040
32015Problem: Use of set_chars_option() is confusing.
32016Solution: Add "apply" argument to store the result or not. Merge similar
32017 code.
32018
32019Patch 9.0.0041
32020Problem: A couple of filetype patterns do not have "*" before "/etc".
32021Solution: Add the star. (Jonas Strittmatter, closes #10662)
32022
32023Patch 9.0.0042
32024Problem: Missing change for filetype detection.
32025Solution: Include change to detect guile from shebang line.
32026
32027Patch 9.0.0043
32028Problem: Insufficient testing for bracket commands.
32029Solution: Add a few more tests. (closes #10668)
32030
32031Patch 9.0.0044
32032Problem: Typos in comments, wrapping lines.
32033Solution: Adjust comments. Wrap lines.
32034
32035Patch 9.0.0045
32036Problem: Reading past end of completion with a long line and 'infercase'
32037 set.
32038Solution: Allocate the string if needed.
32039
32040Patch 9.0.0046
32041Problem: Reading past end of completion with duplicate match.
32042Solution: Check string length
32043
32044Patch 9.0.0047
32045Problem: Using freed memory with recursive substitute.
32046Solution: Always make a copy for reg_prev_sub.
32047
32048Patch 9.0.0048
32049Problem: Cursor in wrong column with mouse click after concealed text.
32050Solution: Store the text column when drawing text.
32051
32052Patch 9.0.0049
32053Problem: Csv and tsv files are not recognized.
32054Solution: Add patterns fo csv and tsv files. (Leandro Lourenci,
32055 closes #10680)
32056
32057Patch 9.0.0050
32058Problem: Split else-of is confusing.
32059Solution: Join the lines. (closes #10696)
32060
32061Patch 9.0.0051
32062Problem: Using CTRL-C wih :append may hang Vim.
32063Solution: Reset got_int. (closes #10729, closes #10728)
32064
32065Patch 9.0.0052
32066Problem: "zG" may throw an error if invalid character follows.
32067Solution: Pass the word length to valid_spell_word(). (Ken Takata,
32068 closes #10737)
32069
32070Patch 9.0.0053
32071Problem: E1281 not tested with the old regexp engine.
32072Solution: Loop over the values of 'regexp'. (Dominique Pellé, closes #10695)
32073
32074Patch 9.0.0054
32075Problem: Compiler warning for size_t to int conversion.
32076Solution: Add type cast. (Mike Williams, closes #10741)
32077
32078Patch 9.0.0055
32079Problem: Bitbake files are not detected.
32080Solution: Add bitbake filetype detection by file name and contents. (Gregory
32081 Anders, closes #10697)
32082
32083Patch 9.0.0056
32084Problem: Wrong line number reported when :cexpr fails in :def function.
32085Solution: Set line_number before executing :cexpr. (closes #10735)
32086
32087Patch 9.0.0057
32088Problem: has('patch-xxx') returns true.
32089Solution: Check for digit. (closes #10751)
32090
32091Patch 9.0.0058
32092Problem: Win32: cannot test low level events.
32093Solution: Add "sendevent" to test_gui_event(). (Yegappan Lakshmanan,
32094 closes #10679)
32095
32096Patch 9.0.0059
32097Problem: Test file has wrong name.
32098Solution: Rename the file. Various small fixes. (closes #10674)
32099
32100Patch 9.0.0060
32101Problem: Accessing uninitialized memory when completing long line.
32102Solution: Terminate string with NUL.
32103
32104Patch 9.0.0061
32105Problem: ml_get error with nested autocommand.
32106Solution: Also check line numbers for a nested autocommand. (closes #10761)
32107
32108Patch 9.0.0062
32109Problem: Compiler warnings for signed/unsigned char.
32110Solution: Add type casts. (John Marriott)
32111
32112Patch 9.0.0063
32113Problem: Too many type casts for dict_get functions.
32114Solution: Change the key argument from "char_u *" to "char *".
32115
32116Patch 9.0.0064
32117Problem: Confusing error when using "q:" in command line window.
32118Solution: Check for the situation and give a better error message.
32119 (closes #10756)
32120
32121Patch 9.0.0065
32122Problem: Cross-compiling doesn't work because of timer_create check.
32123Solution: Use AC_CACHE_CHECK(). (Richard Purdie, closes #10777)
32124
32125Patch 9.0.0066
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010032126Problem: Switching window unnecessarily when getting buffer options.
Christian Brabandt5872bcb2023-12-19 20:10:43 +010032127Solution: Do not switch window when getting buffer options. (closes #10767)
32128
32129Patch 9.0.0067
32130Problem: Cannot show virtual text.
32131Solution: Initial changes for virtual text support, using text properties.
32132
32133Patch 9.0.0068
32134Problem: Build fails with tiny features.
32135Solution: Add #ifdef.
32136
32137Patch 9.0.0069
32138Problem: Leaking memory when using text prop with inserted text.
32139Solution: Clear the growarray with text.
32140
32141Patch 9.0.0070
32142Problem: Using utfc_ptr2char_len() when length is negative.
32143Solution: Check value of length. (closes #10760)
32144
32145Patch 9.0.0071
32146Problem: Command overlaps with printed text in scrollback.
32147Solution: Clear until end-of-line and use correct message chunk.
32148 (closes #10765, closes #10764)
32149
32150Patch 9.0.0072
32151Problem: Compiler warning for uninitialized variable.
32152Solution: Initialize it. (John Marriott)
32153
32154Patch 9.0.0073
32155Problem: Too many files recognized as bsdl.
32156Solution: Use pattern "*.bsd" instead of "*bsd". (Martin Tournoij,
32157 closes #10783)
32158
32159Patch 9.0.0074
32160Problem: Coverity warns for double free.
32161Solution: Reset cts_text_prop_count when freeing cts_text_props.
32162
32163Patch 9.0.0075
32164Problem: Some compilers warn for using an uninitialized variable. (Tony
32165 Mechelynck)
32166Solution: Initialize the variable.
32167
32168Patch 9.0.0076
32169Problem: No test for what patch 8.1.1424 fixes.
32170Solution: Add a test. (closes #10789)
32171
32172Patch 9.0.0077
32173Problem: When switching window in autocmd the restored cursor position may
32174 be wrong.
32175Solution: Do not restore the cursor if it was not set. (closes #10775)
32176
32177Patch 9.0.0078
32178Problem: Star register is changed when deleting and both "unnamed" and
32179 "unnamedplus" are in 'clipboard'.
32180Solution: Make the use of the star register work as documented. (Ernie Rael,
32181 closes #10669)
32182
32183Patch 9.0.0079
32184Problem: Error in autoload script not reported for 'foldexpr'.
32185Solution: Reset "emsg_off" when auto-loading a script. (closes #10685)
32186
32187Patch 9.0.0080
32188Problem: Compiler warning for size_t to int conversion.
32189Solution: Add type casts. (Mike Williams, closes #10795)
32190
32191Patch 9.0.0081
32192Problem: Command line completion of user command may have duplicates.
32193 (Dani Dickstein)
32194Solution: Skip global user command if an identical buffer-local one is
32195 defined. (closes #10797)
32196
32197Patch 9.0.0082
32198Problem: Cannot interrupt global command from command line.
32199Solution: Reset got_int in another place. (closes #10739)
32200
32201Patch 9.0.0083
32202Problem: ModeChanged event not triggered when leaving the cmdline window.
32203Solution: Call may_trigger_modechanged(). (closes #10791)
32204
32205Patch 9.0.0084
32206Problem: Using "terraform" filetype for .tfvars file is bad.
32207Solution: use "terraform-vars", so that different completion and other
32208 mechanisms can be used. (Radek Simko, closes #10755)
32209
32210Patch 9.0.0085
32211Problem: ":write" fails after ":file name" and the ":edit".
32212Solution: Reset BF_NOTEDITED when using ":edit". (closes #10790)
32213
32214Patch 9.0.0086
32215Problem: Tabline is not redrawn when entering command line.
32216Solution: Set "redraw_tabline". (closes #10771)
32217
32218Patch 9.0.0087
32219Problem: MS-Windows: CTRL-[ on Belgian keyboard does not work like Esc.
32220Solution: Figure out what the key code means. (Anton Sharonov,
32221 closes #10687, closes #10454)
32222
32223Patch 9.0.0088
32224Problem: Pattern for detecting bitbake files is not sufficient.
32225Solution: Adjust the pattern. (Gregory Anders, closes #10743)
32226
32227Patch 9.0.0089
32228Problem: Fuzzy argument completion doesn't work for shell commands.
32229Solution: Check for cmdidx not being CMD_bang. (Yegappan Lakshmanan,
32230 closes #10769)
32231
32232Patch 9.0.0090
32233Problem: No error when assigning bool to a string option with setwinvar().
32234Solution: Give an error (closes #10766)
32235
32236Patch 9.0.0091
32237Problem: Duplicate error number.
32238Solution: Use unique error number.
32239
32240Patch 9.0.0092
32241Problem: Plugins cannot change v:completed_item.
32242Solution: Make v:completed_item writeable. (Shougo Matsushita,
32243 closes #10801)
32244
32245Patch 9.0.0093
32246Problem: Sway config files are recognized as i3config.
32247Solution: Recognize swayconfig separately. (James Eapen, closes #10672)
32248
32249Patch 9.0.0094
32250Problem: Cursor restored unexpected with nested autocommand.
32251Solution: Do not restore the cursor when it was moved intentionally.
32252 (closes #10780)
32253
32254Patch 9.0.0095
32255Problem: Conditions are always true.
32256Solution: Remove useless conditions. (closes #10802)
32257
32258Patch 9.0.0096
32259Problem: Flag "new_value_alloced" is always true.
32260Solution: Remove "new_value_alloced". (closes #10792)
32261
32262Patch 9.0.0097
32263Problem: Long quickfix line is truncated for :clist.
32264Solution: Allocate a buffer if needed.
32265
32266Patch 9.0.0098
32267Problem: missing include file in timer_create configure check.
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010032268Solution: Include stdlib.h.
Christian Brabandt5872bcb2023-12-19 20:10:43 +010032269
32270Patch 9.0.0099
32271Problem: Scrollback can be wrong after redrawing the command line.
32272Solution: Clear unfinished scrollback when redrawing. (closes #10807)
32273
32274Patch 9.0.0100
32275Problem: Get hit-enter prompt for system() when '!' is in 'guioptions'.
32276Solution: Do not call wait_return() when not redrawing. (closes #3327)
32277
32278Patch 9.0.0101
32279Problem: Invalid memory access in diff mode with "dp" and undo.
32280Solution: Make sure the line number does not go below one.
32281
32282Patch 9.0.0102
32283Problem: Reading past end of line with insert mode completion.
32284Solution: Check text length.
32285
32286Patch 9.0.0103
32287Problem: If running configure with cached results -lrt may be missing.
32288Solution: Use two cache variables, one without and one with -lrt.
32289 (closes #10799) Swap checks to avoid adding -lrt unnecessarily.
32290
32291Patch 9.0.0104
32292Problem: Going beyond allocated memory when evaluating string constant.
32293Solution: Properly skip over <Key> form.
32294
32295Patch 9.0.0105
32296Problem: Illegal memory access when pattern starts with illegal byte.
32297Solution: Do not match a character with an illegal byte.
32298
32299Patch 9.0.0106
32300Problem: Illegal byte regexp test doesn't fail when fix is reversed.
32301Solution: Make sure illegal bytes end up in sourced script file.
32302
32303Patch 9.0.0107
32304Problem: Condition always has the same value.
32305Solution: Remove the condition.
32306
32307Patch 9.0.0108
32308Problem: Configure check for timer_create may give wrong error.
32309Solution: Give a warning instead of an error.
32310
32311Patch 9.0.0109
32312Problem: Writing over the end of a buffer on stack when making list of
32313 spell suggestions.
32314Solution: Make sure suggested word is not too long. (closes #10812)
32315
32316Patch 9.0.0110
32317Problem: Help tag generation picks up words in code examples.
32318Solution: Skip over examples. (Carlo Teubner, closes #10813)
32319
32320Patch 9.0.0111
32321Problem: "nocombine" is missing from synIDattr().
32322Solution: Add "nocombine". (Muni Tanjim, closes #10816)
32323
32324Patch 9.0.0112
32325Problem: MS-Windows: test fails because file already exists.
32326Solution: Wait a little while until the file is gone.
32327
32328Patch 9.0.0113
32329Problem: has() is not strict about parsing the patch version.
32330Solution: Check the version more strictly. (Ken Takata, closes #10752)
32331
32332Patch 9.0.0114
32333Problem: The command line takes up space even when not used.
32334Solution: Allow for 'cmdheight' to be set to zero. (Shougo Matsushita,
32335 closes #10675, closes #940)
32336
32337Patch 9.0.0115
32338Problem: When 'cmdheight' is zero pressing ':' may scroll a window.
32339Solution: Add the made_cmdheight_nonzero flag and set 'scrolloff' to zero.
32340
32341Patch 9.0.0116
32342Problem: Virtual text not displayed if 'signcolumn' is "yes".
32343Solution: Set c_extra and c_final to NUL.
32344
32345Patch 9.0.0117
32346Problem: Text of removed textprop with text is not freed.
32347Solution: Free the text when the property is removed. Reduce the array size
32348 to ignore NULLs at the end.
32349
32350Patch 9.0.0118
32351Problem: No test for what patch 9.0.0155 fixes.
32352Solution: Add a test. Fix typos. (closes #10822)
32353
32354Patch 9.0.0119
32355Problem: Tiny chance that creating a backup file fails.
32356Solution: Check for EEXIST error. (Ken Takata, closes #10821)
32357
32358Patch 9.0.0120
32359Problem: MS-Windows GUI: cannot use AltGr + Space.
32360Solution: Check for VK_MENU instead of VK_LMENU. (Anton Sharonov,
32361 closes #10820, closes #10753)
32362
32363Patch 9.0.0121
32364Problem: Cannot put virtual text after or below a line.
32365Solution: Add "text_align" and "text_wrap" arguments.
32366
32367Patch 9.0.0122
32368Problem: Breakindent test fails.
32369Solution: Fix condition.
32370
32371Patch 9.0.0123
32372Problem: Cannot build with small features.
32373Solution: Add #ifdef.
32374
32375Patch 9.0.0124
32376Problem: Code has more indent than needed.
32377Solution: Use continue and return statements. (closes #10824)
32378
32379Patch 9.0.0125
32380Problem: Cursor positioned wrong with virtual text after the line.
32381Solution: Clear cts_with_trailing.
32382
32383Patch 9.0.0126
32384Problem: Expanding file names fails in directory with more than 255
32385 entries.
32386Solution: Use an int instead of char_u to count. (John Drouhard,
32387 closes #10818)
32388
32389Patch 9.0.0127
32390Problem: Unused variable.
32391Solution: Remove the variable. (closes #10829)
32392
32393Patch 9.0.0128
32394Problem: Coverity complains about possible double free.
32395Solution: Clear the pointer to avoid warnings.
32396
32397Patch 9.0.0129
32398Problem: Compiler warning for int/size_t usage.
32399Solution: Add a type cast. (Mike Williams, closes #10830)
32400
32401Patch 9.0.0130
32402Problem: Cursor position wrong when inserting around virtual text.
32403Solution: Update the cursor position properly.
32404
32405Patch 9.0.0131
32406Problem: Virtual text with Tab is not displayed correctly.
32407Solution: Change any Tab to a space.
32408
32409Patch 9.0.0132
32410Problem: Multi-byte characters in virtual text not handled correctly.
32411Solution: Count screen cells instead of bytes.
32412
32413Patch 9.0.0133
32414Problem: Virtual text after line moves to joined line. (Yegappan
32415 Lakshmanan)
32416Solution: When joining lines only keep virtual text after the last line.
32417
32418Patch 9.0.0134
32419Problem: No test for text property with column zero.
32420Solution: Add a test. Add message to assert for no open popups.
32421
32422Patch 9.0.0135
32423Problem: Comment about tabpage line above the wrong code.
32424Solution: Move the comment. (closes #10836)
32425
32426Patch 9.0.0136
32427Problem: After CTRL-Left-mouse click a mouse scroll also has CTRL.
32428Solution: Reset orig_mouse_code also for wheel events. (closes #10840)
32429
32430Patch 9.0.0137
32431Problem: Debugger test may fail when $CWD is very long.
32432Solution: Skip the test if the directory name is too long. (James McCoy,
32433 closes #10837)
32434
32435Patch 9.0.0138
32436Problem: Not enough characters accepted for 'spellfile'.
32437Solution: Add vim_is_fname_char() and use it for 'spellfile'.
32438
32439Patch 9.0.0139
32440Problem: Truncating virtual text after a line not implemented.
32441 Cursor positioning wrong with Newline in the text.
32442Solution: Implement truncating. Disallow control characters in the text.
32443 (closes #10842)
32444
32445Patch 9.0.0140
32446Problem: execute() does not use the "legacy" command modifier.
32447Solution: pass the command modifier in sticky_cmdmod_flags. (Kota Kato,
32448 closes #10845)
32449
32450Patch 9.0.0141
32451Problem: "delmenu" does not remove autocmmands. Running menu test function
32452 alone fails.
32453Solution: Delete autocommands Make sure there is at least one menu.
32454 (closes #10848)
32455
32456Patch 9.0.0142
32457Problem: Crash when adding and removing virtual text. (Ben Jackson)
32458Solution: Check that the text of the text property still exists.
32459
32460Patch 9.0.0143
32461Problem: Cursor positioned after virtual text in empty line.
32462Solution: Keep cursor in the first column. (closes #10786)
32463
32464Patch 9.0.0144
32465Problem: Text property cannot override 'cursorline' highlight.
32466Solution: Add the "override" flag to prop_type_add(). (closes #5533,
32467 closes #8225).
32468
32469Patch 9.0.0145
32470Problem: Substitute that joins lines drops text properties.
32471Solution: Move text properties of the last line to the new line.
32472
32473Patch 9.0.0146
32474Problem: Missing part of change for "override" flag.
32475Solution: Add the missing change.
32476
32477Patch 9.0.0147
32478Problem: Cursor positioned wrong after two text properties with virtual
32479 text and "below" alignment. (Tim Pope)
32480Solution: Do not stop after a text property using MAXCOL. (closes #10849)
32481
32482Patch 9.0.0148
32483Problem: A "below" aligned text property gets 'showbreak' displayed.
32484Solution: Do not use 'showbreak' before or in virtual text. (issue #10851)
32485
32486Patch 9.0.0149
32487Problem: Test for fuzzy completion fails sometimes.
32488Solution: Use a more specific file name to minimize the chance of matching a
32489 random directory name. (closes #10854)
32490
32491Patch 9.0.0150
32492Problem: Error for using #{ in an expression is a bit confusing.
32493Solution: Mention that this error is only given for an expression.
32494 Avoid giving the error more than once. (closes #10855)
32495
32496Patch 9.0.0151
32497Problem: A "below" aligned text property does not work with 'nowrap'.
32498Solution: Start a new screen line to display the virtual text.
32499 (closes #10851)
32500
32501Patch 9.0.0152
32502Problem: Warning for unused argument in small build.
32503Solution: Add "UNUSED".
32504
32505Patch 9.0.0153
32506Problem: No fold and sign column for virtual text with "below" align and
32507 'nowrap'.
32508Solution: Go back to draw state WL_START when moving to the next line.
32509 (closes #10851)
32510
32511Patch 9.0.0154
32512Problem: Text properties wrong after splitting a line.
32513Solution: Check for text properties after the line. (closes #10857)
32514
32515Patch 9.0.0155
32516
32517Patch 9.0.0156
32518Problem: Giving E1170 only in an expression is confusing.
32519Solution: Give E1170 for any "#{ comment". (closes #10855)
32520
32521Patch 9.0.0157
32522Problem: 'showbreak' displayed below truncated "after" text prop.
32523Solution: Suppress 'showbreak' when "after" prop doesn't wrap.
32524
32525Patch 9.0.0158
32526Problem: With 'nowrap' "below" property not displayed correctly.
32527Solution: Adjust virtual text with 'nowrap', do not truncate.
32528
32529Patch 9.0.0159
32530Problem: Cannot build with small features.
32531Solution: Check for E1170 only with FEAT_EVAL.
32532
32533Patch 9.0.0160
32534Problem: Some diff mode tests fail.
32535Solution: Only advance "ptr" when a text property follows.
32536
32537Patch 9.0.0161
32538Problem: Warning for uninitialized variable. (Tony Mechelynck)
32539Solution: Initialize line_attr_save.
32540
32541Patch 9.0.0162
32542Problem: Text property "below" gets indent if 'breakindent' is set. (Tim
32543 Pope)
32544Solution: Do not put indent before text property. (closes #10859)
32545
32546Patch 9.0.0163
32547Problem: Text property not adjusted for text inserted with "p".
32548Solution: Adjust column and length of text properties.
32549
32550Patch 9.0.0164
32551Problem: Using freed memory with put command.
32552Solution: Get byte offset before replacing the line.
32553
32554Patch 9.0.0165
32555Problem: Looking up a text property type by ID is slow.
32556Solution: Keep an array of property types sorted on ID.
32557
32558Patch 9.0.0166
32559Problem: When using text properties the line text length is computed twice.
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010032560Solution: If the text length was already computed don't do it again.
Christian Brabandt5872bcb2023-12-19 20:10:43 +010032561
32562Patch 9.0.0167
32563Problem: Checking for text properties could be a bit more efficient.
32564Solution: Return early when there are no text properties. Update TODO
32565 items.
32566
32567Patch 9.0.0168
32568Problem: Cursor positioned wrong with two virtual text properties close
32569 together. (Ben Jackson)
32570Solution: Add the original size, not the computed one. (closes #10864)
32571
32572Patch 9.0.0169
32573Problem: Insufficient testing for line2byte() with text properties.
32574Solution: Add tests with a lot of text.
32575
32576Patch 9.0.0170
32577Problem: Various minor code formatting issues.
32578Solution: Improve code formatting.
32579
32580Patch 9.0.0171
32581Problem: Quickfix line highlight is overruled by 'cursorline'.
32582Solution: Reverse the combination of attributes. (closes #10654)
32583
32584Patch 9.0.0172
32585Problem: Trying to allocate zero bytes.
32586Solution: Do not allocate the proptype array when there are none.
32587 (closes #10867)
32588
32589Patch 9.0.0173
32590Problem: Assert fails only on MS-Windows.
32591Solution: Disable the assert for now.
32592
32593Patch 9.0.0174
32594Problem: No error for using "#{ comment" in a compiled function.
32595Solution: Make error checking for "#{" consistent. (closes #10855)
32596
32597Patch 9.0.0175
32598Problem: Spell checking for capital not working with trailing space.
32599Solution: Do not calculate cap_col at the end of the line. (Christian
32600 Brabandt, closes #10870, issue #10838)
32601
32602Patch 9.0.0176
32603Problem: Checking character options is duplicated and incomplete.
32604Solution: Move checking to check_chars_options(). (closes #10863)
32605
32606Patch 9.0.0177
32607Problem: Cursor position wrong with 'virtualedit' and mouse click after end
32608 of the line. (Hermann Mayer)
32609Solution: Do not use ScreenCols[] when 'virtualedit' is active.
32610 (closes #10868)
32611
32612Patch 9.0.0178
32613Problem: Cursor position wrong with virtual text before Tab.
32614Solution: Use the byte length, not the cell with, to compare the column.
32615 Correct tab size after text prop. (closes #10866)
32616
32617Patch 9.0.0179
32618Problem: Cursor position wrong with wrapping virtual text in empty line.
32619Solution: Adjust handling of an empty line. (closes #10875)
32620
32621Patch 9.0.0180
32622Problem: Stray logfile appears when running tests.
32623Solution: Remove ch_logfile() calls.
32624
32625Patch 9.0.0181
32626Problem: Textprop test with line2byte() fails on MS-Windows.
32627Solution: Fix updating chuncks in ml_delete_int().
32628
32629Patch 9.0.0182
32630Problem: Quarto files are not recognized.
32631Solution: Recognize quarto files by the extension. (Jonas Strittmatter,
32632 closes #10880)
32633
32634Patch 9.0.0183
32635Problem: Extra space after virtual text when 'linebreak' is set.
32636Solution: Do not count virtual text when getting linebreak value.
32637 (closes #10884)
32638
32639Patch 9.0.0184
32640Problem: Virtual text prop highlight continues after truncation.
32641Solution: Recompute the length of attributes.
32642
32643Patch 9.0.0185
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010032644Problem: Virtual text does not show if there is a text prop at same
Christian Brabandt5872bcb2023-12-19 20:10:43 +010032645 position. (Ben Jackson)
32646Solution: Fix the sorting of properties. (closes #10879)
32647
32648Patch 9.0.0186
32649Problem: Virtual text without highlighting does not show. (Ben Jackson)
32650Solution: Use a text property when it has highlighting or when it has text.
32651 (closes #10878)
32652
32653Patch 9.0.0187
32654Problem: Command line height changes when maximizing window height.
32655Solution: Do not change the command line height. (closes #10885)
32656
32657Patch 9.0.0188
32658Problem: Strange effects when using virtual text with "text_align" and
32659 non-zero column. (Martin Tournoij)
32660Solution: Give an error. (closes #10888)
32661
32662Patch 9.0.0189
32663Problem: Invalid memory access for text prop without highlight.
32664Solution: Check for a valid highlight ID.
32665
32666Patch 9.0.0190
32667Problem: The way 'cmdheight' can be made zero is inconsistent.
32668Solution: Only make 'cmdheight' zero when setting it explicitly, not when
32669 resizing windows. (closes #10890)
32670
32671Patch 9.0.0191
32672Problem: Messages test fails; window size incorrect when 'cmdheight' is
32673 made smaller.
32674Solution: Properly cleanup after test with cmdheight zero. Resize windows
32675 correctly when 'cmdheight' gets smaller.
32676
32677Patch 9.0.0192
32678Problem: Possible invalid memory access when 'cmdheight' is zero. (Martin
32679 Tournoij)
32680Solution: Avoid going over the end of w_lines[] when w_height is Rows.
32681 (closes #10882)
32682
32683Patch 9.0.0193
32684Problem: Search and match highlight interfere with virtual text highlight.
32685 (Ben Jackson)
32686Solution: Check for match highlight after text properties. Reset and
32687 restore search highlight when showing virtual text.
32688 (closes #10892)
32689
32690Patch 9.0.0194
32691Problem: Cursor displayed in wrong position after removing text prop. (Ben
32692 Jackson)
32693Solution: Invalidate the cursor position. (closes #10898)
32694
32695Patch 9.0.0195
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010032696Problem: Metafun files are not recognized.
Christian Brabandt5872bcb2023-12-19 20:10:43 +010032697Solution: Add filetype detection patterns.
32698
32699Patch 9.0.0196
32700Problem: Finding value in list may require a for loop.
32701Solution: Add indexof(). (Yegappan Lakshmanan, closes #10903)
32702
32703Patch 9.0.0197
32704Problem: Astro files are not detected.
32705Solution: Add a pattern to match Astro files. (Emilia Zapata, closes #10904)
32706
32707Patch 9.0.0198
32708Problem: ml_get error when switching buffer in Visual mode.
32709Solution: End Visual mode when switching buffer. (closes #10902)
32710
32711Patch 9.0.0199
32712Problem: Cursor position wrong with two right-aligned virtual texts.
32713Solution: Add the padding for right-alignment. (issue #10906)
32714
32715Patch 9.0.0200
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010032716Problem: cursor in a wrong position if 'wrap' is off and using two right
Christian Brabandt5872bcb2023-12-19 20:10:43 +010032717 aligned text props in one line.
32718Solution: Count an extra line for a right aligned text property after a
32719 below or right aligned text property. (issue #10909)
32720
32721Patch 9.0.0201
32722Problem: CursorLine highlight overrules virtual text highlight.
32723Solution: Let extra attribute overrule line attribute. (closes #10909)
32724
32725Patch 9.0.0202
32726Problem: Code and help for indexof() is not ideal.
32727Solution: Refactor the code, improve the help. (Yegappan Lakshmanan,
32728 closes #10908)
32729
32730Patch 9.0.0203
32731Problem: Confusing variable name.
32732Solution: Use "prim_aep" instead of "spell_aep".
32733
32734Patch 9.0.0204
32735Problem: indexof() may leak memory.
32736Solution: Free allocated values. (Yegappan Lakshmanan, closes #10916)
32737
32738Patch 9.0.0205
32739Problem: Cursor in wrong position when inserting after virtual text. (Ben
32740 Jackson)
32741Solution: Put the cursor after the virtual text, where the text will be
32742 inserted. (closes #10914)
32743
32744Patch 9.0.0206
32745Problem: Redraw flags are not named specifically.
32746Solution: Prefix "UPD_" to the flags, for UPDate_screen().
32747
32748Patch 9.0.0207
32749Problem: Stacktrace not shown when debugging.
32750Solution: Set msg_scroll in msg_source(). (closes #10917)
32751
32752Patch 9.0.0208
32753Problem: The override flag has no effect for virtual text. (Ben Jackson)
32754Solution: Make the override flag work. (closes #10915)
32755
32756Patch 9.0.0209
32757Problem: Build error with small features.
32758Solution: Add #ifdef.
32759
32760Patch 9.0.0210
32761Problem: 'list' mode does not work properly with virtual text.
32762Solution: Show the "$" at the right position. (closes #10913)
32763
32764Patch 9.0.0211
32765Problem: Invalid memory access when compiling :lockvar.
32766Solution: Don't read past the end of the line.
32767
32768Patch 9.0.0212
32769Problem: Invalid memory access when compiling :unlet.
32770Solution: Don't read past the end of the line.
32771
32772Patch 9.0.0213
32773Problem: Using freed memory with error in assert argument.
32774Solution: Make a copy of the error.
32775
32776Patch 9.0.0214
32777Problem: Splitting a line may duplicate virtual text. (Ben Jackson)
32778Solution: Don't duplicate a text property with virtual text. Make
32779 auto-indenting work better. (closes #10919)
32780
32781Patch 9.0.0215
32782Problem: Not passing APC_INDENT flag.
32783Solution: Pass the flag where it's needed.
32784
32785Patch 9.0.0216
32786Problem: Undo earlier test sometimes fails on MS-Windows.
32787Solution: Use another file name.
32788
32789Patch 9.0.0217
32790Problem: 'shellslash' works differently when sourcing a script again.
32791Solution: Use the name from the script item. (closes #10920)
32792
32793Patch 9.0.0218
32794Problem: Reading before the start of the line.
32795Solution: When displaying "$" check the column is not negative.
32796
32797Patch 9.0.0219
32798Problem: Cannot make a funcref with "s:func" in a def function in legacy
32799 script.
32800Solution: Allow for using a lower case function name after "s:". (Kota Kato,
32801 closes #10926)
32802
32803Patch 9.0.0220
32804Problem: Invalid memory access with for loop over NULL string.
32805Solution: Make sure mb_ptr2len() consistently returns zero for NUL.
32806
32807Patch 9.0.0221
32808Problem: Accessing freed memory if compiling nested function fails.
32809Solution: Mess up the variable name so that it won't be found.
32810
32811Patch 9.0.0222
32812Problem: No good reason why text objects are only in larger builds.
32813Solution: Graduate +textobjects.
32814
32815Patch 9.0.0223
32816Problem: Typo in diffmode test.
32817Solution: Fix the typo. (closes #10932)
32818
32819Patch 9.0.0224
32820Problem: Using NULL pointer when skipping compiled code.
32821Solution: Check for skipping.
32822
32823Patch 9.0.0225
32824Problem: Using freed memory with multiple line breaks in expression.
32825Solution: Free eval_tofree later.
32826
32827Patch 9.0.0226
32828Problem: job_start() test may fail under valgrind.
32829Solution: Wait until the job is running.
32830
32831Patch 9.0.0227
32832Problem: Cannot read error message when abort() is called.
32833Solution: Output a newline before calling abort().
32834
32835Patch 9.0.0228
32836Problem: Crash when pattern looks below the last line.
32837Solution: Consider invalid lines to be empty. (closes #10938)
32838
32839Patch 9.0.0229
32840Problem: Vim9: error message for missing type is not clear.
32841Solution: Mention the context. (issue #10944)
32842
32843Patch 9.0.0230
32844Problem: No error for comma missing in list in :def function.
32845Solution: Check for missing comma. (closes #10943)
32846
32847Patch 9.0.0231
32848Problem: Expanding "**" may loop forever with directory links.
32849Solution: Check for being interrupted. (closes #10946)
32850
32851Patch 9.0.0232
32852Problem: Test with BufNewFile autocmd is flaky.
32853Solution: Use another file name.
32854
32855Patch 9.0.0233
32856Problem: Removing multiple text properties takes many calls.
32857Solution: Pass a list to prop_remove(). (Ben Jackson, closes #10945)
32858
32859Patch 9.0.0234
32860Problem: Cannot make difference between the end of :normal and a character
32861 in its argument.
32862Solution: Add the "typebuf_was_empty" flag. (closes #10950)
32863
32864Patch 9.0.0235
32865Problem: 'autoshelldir' does not work with chunked respose.
32866Solution: Collect chunks before parsing OSC 7. (closes #10949)
32867
32868Patch 9.0.0236
32869Problem: Popup menu not removed when 'wildmenu' reset while it is visible.
32870Solution: Do not check p_wmnu, only pum_visible(). (closes #10953)
32871
32872Patch 9.0.0237
32873Problem: Mac: cannot build if dispatch.h is not available.
32874Solution: Add #ifdef. (Evan Miller, closes #10954)
32875
32876Patch 9.0.0238
32877Problem: Shift-Tab shows matches on cmdline when 'wildmenu' is off.
32878Solution: Only show matches when 'wildmode' contains "list". (closes #10951)
32879
32880Patch 9.0.0239
32881Problem: Build failure without the +wildmenu feature.
32882Solution: Move parenthesis.
32883
32884Patch 9.0.0240
32885Problem: Crash when using ":mkspell" with an empty .dic file.
32886Solution: Check for an empty word tree.
32887
32888Patch 9.0.0241
32889Problem: "make install" does not install shared syntax file. (James McCoy)
32890Solution: Install and uninstall the shared syntax files. (closes #10956)
32891
32892Patch 9.0.0242
32893Problem: "make install" still fails. (Wilhelm Payne)
32894Solution: Also add the directory to installrtbase. (Dominique Pellé)
32895
32896Patch 9.0.0243
32897Problem: Text properties "below" sort differently on MS-Windows.
32898Solution: Use the ID as a tie breaker. (closes #10958)
32899
32900Patch 9.0.0244
32901Problem: Cannot easily get the list of sourced scripts.
32902Solution: Add the getscriptinfo() function. (Yegappan Lakshmanan,
32903 closes #10957)
32904
32905Patch 9.0.0245
32906Problem: Mechanism to prevent recursive screen updating is incomplete.
32907Solution: Add "redraw_not_allowed" and set it in build_stl_str_hl().
32908 (issue #10952)
32909
32910Patch 9.0.0246
32911Problem: Using freed memory when 'tagfunc' deletes the buffer.
32912Solution: Make a copy of the tag name.
32913
32914Patch 9.0.0247
32915Problem: Cannot add padding to virtual text without highlight.
32916Solution: Add the "text_padding_left" argument. (issue #10906)
32917
32918Patch 9.0.0248
32919Problem: Duplicate code in finding a script in the execution stack.
32920Solution: Reduce duplicate code. (closes #10961)
32921
32922Patch 9.0.0249
32923Problem: No test for what 9.0.0234 fixes.
32924Solution: Add a test. (issue #10950)
32925
32926Patch 9.0.0250
32927Problem: Slightly inconsistent error messages.
32928Solution: Make it "Using a Float". (closes #10959)
32929
32930Patch 9.0.0251
32931Problem: Test output shows up in git.
32932Solution: Ignore the "failed" directory. (Yao-Ching Huang, closes #10969)
32933
32934Patch 9.0.0252
32935Problem: Cursor in wrong place after virtual text.
32936Solution: Do not change the length of a virtual text property.
32937 (closes #10964)
32938
32939Patch 9.0.0253
32940Problem: A symlink to an autoload script results in two entries in the list
32941 of scripts, items expected in one are actually in the other.
32942Solution: Have one script item refer to the actually sourced one.
32943 (closes #10960)
32944
32945Patch 9.0.0254
32946Problem: Typo in function name.
32947Solution: Rename the function. (closes #10971)
32948
32949Patch 9.0.0255
32950Problem: Build failure without the eval feature.
32951Solution: Add #ifdef.
32952
32953Patch 9.0.0256
32954Problem: Compiler warning for uninitialized variables.
32955Solution: Initilize the variables.
32956
32957Patch 9.0.0257
32958Problem: "->" in ":scriptnames" output not tested yet.
32959Solution: Add a check.
32960
32961Patch 9.0.0258
32962Problem: MS-Windows installer skips syntax/shared.
32963Solution: Use "File /r" in the installer script. (Ken Takata, closes #10972)
32964
32965Patch 9.0.0259
32966Problem: Crash with mouse click when not initialized.
32967Solution: Check TabPageIdxs[] is not NULL.
32968
32969Patch 9.0.0260
32970Problem: Using freed memory when using 'quickfixtextfunc' recursively.
32971Solution: Do not allow for recursion.
32972
32973Patch 9.0.0261
32974Problem: bufload() reads a file even if the name is not a file name. (Cyker
32975 Way)
32976Solution: Do not read the file when the buffer name is not a file name.
32977 (closes #10975)
32978
32979Patch 9.0.0262
32980Problem: Build failure without the +quickfix feature.
32981Solution: Add #ifdef.
32982
32983Patch 9.0.0263
32984Problem: Too many #ifdefs.
32985Solution: Make some functions always available.
32986
32987Patch 9.0.0264
32988Problem: CI still runs on Ubuntu 18.04.
32989Solution: Run CI on Ubuntu 20.04. (closes #10582)
32990
32991Patch 9.0.0265
32992Problem: No good reason why the "gf" command is not in the tiny version.
32993Solution: Graduate the file_in_path feature.
32994
32995Patch 9.0.0266
32996Problem: Compiler warning for unused argument.
32997Solution: Add UNUSED.
32998
32999Patch 9.0.0267
33000Problem: Coverity workflow still uses Ubuntu 18.04.
33001Solution: Use Ubuntu 20.04
33002
33003Patch 9.0.0268
33004Problem: Build error without the +eval feature.
33005Solution: Remove #ifdef.
33006
33007Patch 9.0.0269
33008Problem: getscriptinfo() does not include the version. Cannot select
33009 entries by script name.
33010Solution: Add the "version" item and the "name" argument. (Yegappan
33011 Lakshmanan, closes #10962)
33012
33013Patch 9.0.0270
33014Problem: Some values of 'path' and 'tags' do not work in the tiny version.
33015Solution: Graduate the +path_extra feature.
33016
33017Patch 9.0.0271
33018Problem: Using INIT() in non-header files.
33019Solution: Remove INIT(). (closes #10981)
33020
33021Patch 9.0.0272
33022Problem: BufReadCmd not triggered when loading a "nofile" buffer. (Maxim
33023 Kim)
33024Solution: Call readfile() but bail out before reading a file.
33025 (closes #10983)
33026
33027Patch 9.0.0273
33028Problem: Konsole termresponse not recognized.
33029Solution: Handle Konsole like libvterm, set 'ttymouse' to "sgr".
33030 (closes #10990)
33031
33032Patch 9.0.0274
33033Problem: Netrw plugin does not show remote files.
33034Solution: Do read a file when 'buftype' is "acwrite". (closes #10983)
33035
33036Patch 9.0.0275
33037Problem: BufEnter not triggered when using ":edit" in "nofile" buffer.
33038Solution: Let readfile() return NOTDONE. (closes #10986)
33039
33040Patch 9.0.0276
33041Problem: 'buftype' values not sufficiently tested.
33042Solution: Add and extend tests with 'buftype' values. (closes #10988)
33043
33044Patch 9.0.0277
33045Problem: Coverity CI: update-alternatives not needed with Ubuntu 20.04.
33046Solution: Remove update-alternatives for Lua. (closes #10987)
33047
33048Patch 9.0.0278
33049Problem: The +wildignore feature is nearly always available.
33050Solution: Graduate +wildignore for consistency.
33051
33052Patch 9.0.0279
33053Problem: The tiny version has the popup menu but not 'wildmenu'.
33054Solution: Graduate the wildmenu feature.
33055
33056Patch 9.0.0280
33057Problem: The builtin termcap list depends on the version.
33058Solution: Always include all termcap entries. Remove duplicate lines.
33059
33060Patch 9.0.0281
33061Problem: Build failure without the +eval feature.
33062Solution: Add #ifdef.
33063
33064Patch 9.0.0282
33065Problem: A nested timout stops the previous timeout.
33066Solution: Ignore any nested timeout.
33067
33068Patch 9.0.0283
33069Problem: Cannot complete "syn list @cluster".
33070Solution: Recognize and handle "list @". (Björn Linse, closes #10990)
33071
33072Patch 9.0.0284
33073Problem: Using static buffer for multiple completion functions.
33074Solution: Use one buffer in expand_T.
33075
33076Patch 9.0.0285
33077Problem: It is not easy to change the command line from a plugin.
33078Solution: Add setcmdline(). (Shougo Matsushita, closes #10869)
33079
33080Patch 9.0.0286
33081Problem: Using freed memory when location list changed in autocmd.
33082Solution: Return QF_ABORT and handle it. (Yegappan Lakshmanan,
33083 closes #10993)
33084
33085Patch 9.0.0287
33086Problem: Irix systems no longer exist.
33087Solution: Remove references to Irix. (Yegappan Lakshmanan, closes #10994)
33088
33089Patch 9.0.0288
33090Problem: When 'cmdheight' is zero some messages are not displayed.
33091Solution: Use a popup notification window.
33092
33093Patch 9.0.0289
33094Problem: Invalid memory write.
33095Solution: Do not put NUL in a static string.
33096
33097Patch 9.0.0290
33098Problem: Compiler warning for variable set but not used.
33099Solution: Add #ifdef.
33100
33101Patch 9.0.0291
33102Problem: Test failing.
33103Solution: Run test with cmdheight=0 last.
33104
33105Patch 9.0.0292
33106Problem: Test causes another test to fail.
33107Solution: Redraw to remove the popup window
33108
33109Patch 9.0.0293
33110Problem: Messages window not hidden when starting a command line.
33111Solution: Hide the messages window. (closes #10996)
33112
33113Patch 9.0.0294
33114Problem: Crash when 'cmdheight' is 0 and popup_clear() used.
33115Solution: Reset "message_win" when the message popup is cleared. Close the
33116 popup when 'cmdheight' is non-zero. Add a screendump test.
33117
33118Patch 9.0.0295
33119Problem: GUI drop files test sometimes fails.
33120Solution: Mark the test as flaky.
33121
33122Patch 9.0.0296
33123Problem: Message in popup is shortened unnecessary.
33124Solution: Do not use 'showcmd' and 'ruler' for a message in the popup.
33125 Set the timer when unhiding the message popup.
33126
33127Patch 9.0.0297
33128Problem: Cursor position wrong after right aligned virtual text. (Iizuka
33129 Masashi)
33130Solution: Take the width of the column offset into account. (closes #10997)
33131 Also fix virtual text positioning.
33132
33133Patch 9.0.0298
33134Problem: Compiler warning for size_t to int conversion.
33135Solution: Add a type cast. (Wilhelm Payne, closes #11000)
33136
33137Patch 9.0.0299
33138Problem: Error messages for setcmdline() could be better.
33139Solution: Use more specific error messages. (Yegappan Lakshmanan,
33140 closes #10995)
33141
33142Patch 9.0.0300
33143Problem: 'cpoptions' tests are flaky.
33144Solution: Use a different file name for each test.
33145
33146Patch 9.0.0301
33147Problem: The message window popup is delayed after an error message.
33148Solution: Do not set emsg_on_display when using the message window.
33149
33150Patch 9.0.0302
33151Problem: CI for Coverity is bothered by deprecation warnings.
33152Solution: Ignore deprecation warnings. (closes #11002)
33153
33154Patch 9.0.0303
33155Problem: It is not easy to get information about a script.
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010033156Solution: Make getscriptinfo() return the version. When selecting a specific
Christian Brabandt5872bcb2023-12-19 20:10:43 +010033157 script return functions and variables. (Yegappan Lakshmanan,
33158 closes #10991)
33159
33160Patch 9.0.0304
33161Problem: WinScrolled is not triggered when only skipcol changes.
33162Solution: Add w_last_skipcol and use it. (closes #10998)
33163
33164Patch 9.0.0305
33165Problem: CI lists useless deprecation warnings.
33166Solution: Ignore deprecation warnings. (closes #11003)
33167
33168Patch 9.0.0306
33169Problem: Buffer write message is two lines in message popup window.
33170Solution: Overwrite message if "msg_scroll" is off.
33171
33172Patch 9.0.0307
33173Problem: :echomsg doesn't work properly with cmdheight=0.
33174Solution: Improve scrolling and displaying.
33175
33176Patch 9.0.0308
33177Problem: When cmdheight is zero the attention prompt doesn't show.
33178Solution: Do not use the message window for a prompt.
33179
33180Patch 9.0.0309
33181Problem: Invalid memory access when cmdheight is zero.
33182Solution: Check index in w_lines is smaller than Rows.
33183
33184Patch 9.0.0310
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010033185Problem: Output of :messages disappears when cmdheight is zero.
Christian Brabandt5872bcb2023-12-19 20:10:43 +010033186Solution: Do not use the messages window for :messages. Make Esc close the
33187 messages window.
33188
33189Patch 9.0.0311
33190Problem: Test for hit-Enter prompt fails.
33191Solution: Only reset cmdline_row when 'cmdheight' is zero.
33192
33193Patch 9.0.0312
33194Problem: Test for cmdheight zero fails.
33195Solution: Do not close the messages window for CTRL-C.
33196
33197Patch 9.0.0313
33198Problem: Using common name in tests leads to flaky tests.
33199Solution: Rename files and directories to be more specific.
33200
33201Patch 9.0.0314
33202Problem: VDM files are not recognized.
33203Solution: Add patterns for VDM files. (Alessandro Pezzoni, closes #11004)
33204
33205Patch 9.0.0315
33206Problem: Shell command is displayed in message window.
33207Solution: Do not echo the shell command in the message window.
33208
33209Patch 9.0.0316
33210Problem: Screen flickers when 'cmdheight' is zero.
33211Solution: Redraw over existing text instead of clearing.
33212
33213Patch 9.0.0317
33214Problem: When updating the whole screen a popup may not be redrawn.
33215Solution: Mark the screen and windows for redraw also when not clearing.
33216 Also mark popup windows for redraw.
33217
33218Patch 9.0.0318
33219Problem: Clearing screen causes flicker.
33220Solution: Do not clear but redraw in more cases. Add () to "wait_return".
33221
33222Patch 9.0.0319
33223Problem: Godot shader files are not recognized.
33224Solution: Add patterns for "gdshader". (Maxim Kim, closes #11006)
33225
33226Patch 9.0.0320
33227Problem: Command line type of CmdlineChange differs from getcmdtype().
33228Solution: Use the same type. (closes #11005)
33229
33230Patch 9.0.0321
33231Problem: Cannot use the message popup window directly.
33232Solution: Add ":echowindow".
33233
33234Patch 9.0.0322
33235Problem: Crash when no errors and 'quickfixtextfunc' is set.
33236Solution: Do not handle errors if there aren't any.
33237
33238Patch 9.0.0323
33239Problem: Using common name in tests leads to flaky tests.
33240Solution: Rename files and directories to be more specific.
33241
33242Patch 9.0.0324
33243Problem: MS-Windows: resolve() test fails.
33244Solution: Revert renaming the directory.
33245
33246Patch 9.0.0325
33247Problem: MS-Windows: completion test fails.
33248Solution: Adjust directory prefix.
33249
33250Patch 9.0.0326
33251Problem: Some changes for cmdheight=0 are not needed.
33252Solution: Revert resize behavior if height is greater than the available
33253 space. (Shougo Matsushita, closes #11008)
33254
33255Patch 9.0.0327
33256Problem: items() does not work on a list. (Sergey Vlasov)
33257Solution: Make items() work on a list. (closes #11013)
33258
33259Patch 9.0.0328
33260Problem: OLD_DIGRAPHS is unused.
33261Solution: Remove OLD_DIGRAPHS. Also drop HPUX_DIGRAPHS.
33262
33263Patch 9.0.0329
33264Problem: ":highlight" hangs when 'cmdheight' is zero.
33265Solution: Add to msg_col when using the message window. (closes #11014)
33266
33267Patch 9.0.0330
33268Problem: Method tests fail.
33269Solution: Adjust for change of items().
33270
33271Patch 9.0.0331
33272Problem: Cannot use items() on a string.
33273Solution: Make items() work on a string. (closes #11016)
33274
33275Patch 9.0.0332
33276Problem: Overwrite check may block BufWriteCmd.
33277Solution: Do not use overwrite check when 'buftype' is "acwrite".
33278 (closes #11011)
33279
33280Patch 9.0.0333
33281Problem: Method test fails.
33282Solution: Adjust test for items() now working on string.
33283
33284Patch 9.0.0334
33285Problem: Test does not properly clean up.
33286Solution: Fix typo in argument of delete(). (Dominique Pellé, closes #11010)
33287
33288Patch 9.0.0335
33289Problem: Checks for Dictionary argument often give a vague error message.
33290Solution: Give a useful error message. (Yegappan Lakshmanan, closes #11009)
33291
33292Patch 9.0.0336
33293Problem: Tests are flaky because of using a common file name.
33294Solution: Rename files and directories to be more unique.
33295
33296Patch 9.0.0337
33297Problem: Flicker when resetting cmdline_row after updating the screen.
33298Solution: Do not update cmdline_row. (issue #11017)
33299
33300Patch 9.0.0338
33301Problem: Return value of list_append_list() not always checked.
33302Solution: Check return value and handle failure.
33303
33304Patch 9.0.0339
33305Problem: No check if the return value of XChangeGC() is NULL.
33306Solution: Only use the return value when it is not NULL. (closes #11020)
33307
33308Patch 9.0.0340
33309Problem: The 'cmdheight' zero support causes too much trouble.
33310Solution: Revert support for 'cmdheight' being zero.
33311
33312Patch 9.0.0341
33313Problem: mapset() does not restore <Nop> mapping properly.
33314Solution: Use an empty string for <Nop>. (closes #11022)
33315
33316Patch 9.0.0342
33317Problem: ":wincmd =" equalizes in two directions.
33318Solution: Make ":vertical wincmd =" equalize vertically only and
33319 ":horizontal wincmd =" equalize horizontally only.
33320
33321Patch 9.0.0343
33322Problem: ColorScheme autocommand triggered when colorscheme is not found.
33323 (Romain Lafourcade)
33324Solution: Only trigger ColorScheme when loading the colorscheme succeeds.
33325 (closes #11024)
33326
33327Patch 9.0.0344
33328Problem: MS-Windows: background color wrong in Console.
33329Solution: Figure out the default console background color. (Yasuhiro
33330 Matsumoto, issue #10310)
33331
33332Patch 9.0.0345
33333Problem: Error message for list argument could be clearer.
33334Solution: Include the argument number. (Yegappan Lakshmanan, closes #11027)
33335
33336Patch 9.0.0346
33337Problem: :horizontal modifier not fully supported.
33338Solution: Also use :horizontal for completion and user commands.
33339 (closes #11025)
33340
33341Patch 9.0.0347
33342Problem: MS-Windows: cannot set cursor shape in Windows Terminal.
33343Solution: Make cursor shape work with Windows Terminal. (Ken Takata,
33344 closes #11028, closes #6576)
33345
33346Patch 9.0.0348
33347Problem: MS-Windows: GUI mouse move event test is flaky.
33348Solution: Wait for a little while for the first move event.
33349
33350Patch 9.0.0349
33351Problem: Filetype of *.sil files not well detected.
33352Solution: Inspect the file contents to guess the filetype.
33353
33354Patch 9.0.0350
33355Problem: :echowindow does not work in a compiled function.
33356Solution: Handle the expression at compile time.
33357
33358Patch 9.0.0351
33359Problem: Message window may obscure the command line.
33360Solution: Reduce the maximum height of the message window.
33361
33362Patch 9.0.0352
33363Problem: using :echowindow in a timer clears part of message
33364Solution: Do not use msg_clr_eos().
33365
33366Patch 9.0.0353
33367Problem: Missing entry in switch.
33368Solution: Add ISN_ECHOWINDOW.
33369
33370Patch 9.0.0354
33371Problem: MS-Windows: starting a python server for test sometimes fails.
33372Solution: Increase the waiting time for the port.
33373
33374Patch 9.0.0355
33375Problem: Check for uppercase char in autoload name is wrong, it checks the
33376 name of the script.
33377Solution: Remove the check. (closes #11031)
33378
33379Patch 9.0.0356
33380Problem: :echowindow sets the in_echowindow flag too early.
33381Solution: Set in_echowindow only when outputting the text. (Yasuhiro
33382 Matsumoto, closes #11033)
33383
33384Patch 9.0.0357
33385Problem: 'linebreak' interferes with text property highlight if there is
33386 syntax highlighting.
33387Solution: Check the text prop attributes after combining with syntax
33388 attributes. (closes #11035)
33389
33390Patch 9.0.0358
33391Problem: 'breakindent' does not indent non-lists with
33392 "breakindentopt=list:-1".
33393Solution: Adjust indent computation. (Maxim Kim, closes #11038)
33394
33395Patch 9.0.0359
33396Problem: Error message for wrong argument type is not specific.
33397Solution: Include more information in the error. (Yegappan Lakshmanan,
33398 closes #11037)
33399
33400Patch 9.0.0360
33401Problem: Crash when invalid line number on :for is ignored.
33402Solution: Do not check breakpoint for non-existing line.
33403
33404Patch 9.0.0361
33405Problem: Removing a listener may result in a memory leak and remove
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010033406 subsequent listeners.
Christian Brabandt5872bcb2023-12-19 20:10:43 +010033407Solution: Init the "prev" pointer only once. (Yegappan Lakshmanan,
33408 closes #11039)
33409
33410Patch 9.0.0362
33411Problem: Expanding ":e %" does not work for remote files.
33412Solution: If the "%" or "#" file does not exist add the expansion anyway.
33413
33414Patch 9.0.0363
33415Problem: Common names in test files causes tests to be flaky.
33416Solution: Use more specific names.
33417
33418Patch 9.0.0364
33419Problem: Clang static analyzer gives warnings.
33420Solution: Avoid the warnings. (Yegappan Lakshmanan, closes #11043)
33421
33422Patch 9.0.0365
33423Problem: File name used in test is unusual.
33424Solution: Rename it. (Dominique Pellé, closes #11044)
33425
33426Patch 9.0.0366
33427Problem: Cannot use import->Func() in lambda. (Israel Chauca Fuentes)
33428Solution: Adjust how an expression in a lambda is parsed. (closes #11042)
33429
33430Patch 9.0.0367
33431Problem: Coverity complains about dropping sign of character.
33432Solution: Add explicit type cast.
33433
33434Patch 9.0.0368
33435Problem: Old Coverity warning for using NULL pointer.
33436Solution: Bail out if dictionary allocation fails.
33437
33438Patch 9.0.0369
33439Problem: A failing flaky test doesn't mention the time.
33440Solution: Add the time for debugging. Improve error message.
33441
33442Patch 9.0.0370
33443Problem: Cleaning up afterwards can make a function messy.
33444Solution: Add the :defer command.
33445
33446Patch 9.0.0371
33447Problem: Compiler warning for uninitialized variable.
33448Solution: Initialize the variable. (John Marriott)
33449
33450Patch 9.0.0372
33451Problem: MS-Windows: "%T" time format does not appear to work.
33452Solution: Use "%H:%M:%S" instead.
33453
33454Patch 9.0.0373
33455Problem: Coverity warns for NULL check and unused return value.
33456Solution: Remove the NULL check, it was already checked earlier. Add (void)
33457 to ignore the return value.
33458
33459Patch 9.0.0374
33460Problem: Coverity still complains about dropping sign of character.
33461Solution: Add intermediate variable.
33462
33463Patch 9.0.0375
33464Problem: The footer feature is unused.
33465Solution: Remove FEAT_FOOTER and code.
33466
33467Patch 9.0.0376
33468Problem: Clang warns for dead assignments.
33469Solution: Adjust the code. (Yegappan Lakshmanan, closes #11048)
33470
33471Patch 9.0.0377
33472Problem: Argument assignment does not work.
33473Solution: Skip over "=".
33474
33475Patch 9.0.0378
33476Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
33477Solution: Initialize it.
33478
33479Patch 9.0.0379
33480Problem: Cleaning up after writefile() is a hassle.
33481Solution: Add the 'D' flag to defer deleting the written file. Very useful
33482 in tests.
33483
33484Patch 9.0.0380
33485Problem: Deleting files in tests is a hassle.
33486Solution: Use the new 'D' flag of writefile().
33487
33488
33489Problem: Deleting files in tests is a hassle.
33490Solution: Use the new 'D' flag of writefile().
33491
33492Patch 9.0.0381
33493Problem: Writefile test leaves files behind.
33494Solution: Fix the file names of files to be deleted. (Dominique Pellé,
33495 closes #11056)
33496
33497Patch 9.0.0382
33498Problem: Freeing the wrong string on failure.
33499Solution: Adjust the argument. Reorder the code.
33500
33501Patch 9.0.0383
33502Problem: Coverity complains about unused value.
33503Solution: Use the value.
33504
33505Patch 9.0.0384
33506Problem: Covertity still complains about using return value of getc().
33507Solution: Check for EOF.
33508
33509Patch 9.0.0385
33510Problem: GUI: when CTRL-D is mapped in Insert mode it gets inserted.
33511 (Yasuhiro Matsumoto)
33512Solution: Also recognize modifier starting with CSI. (closes #11057)
33513
33514Patch 9.0.0386
33515Problem: Some code blocks are nested too deep.
33516Solution: Bail out earlier. (Yegappan Lakshmanan, closes #11058)
33517
33518Patch 9.0.0387
33519Problem: repeating a <ScriptCmd> mapping does not use the right script
33520 context.
33521Solution: When using a mapping put <SID>{sid}; in the redo buffer.
33522 (closes #11049)
33523
33524Patch 9.0.0388
33525Problem: The do_arg_all() function is too long.
33526Solution: Split the function in smaller parts. (Yegappan Lakshmanan,
33527 closes #11062)
33528
33529Patch 9.0.0389
33530Problem: Crash when 'tagfunc' closes the window.
33531Solution: Bail out when the window was closed.
33532
33533Patch 9.0.0390
33534Problem: Cannot use a partial with :defer.
33535Solution: Add the partial arguments before the other arguments. Disallow
33536 using a dictionary.
33537
33538Patch 9.0.0391
33539Problem: Using separate delete() call instead of writefile() 'D' flag.
33540Solution: Use the writefile 'D' flag.
33541
33542Patch 9.0.0392
33543Problem: Inverted condition is a bit confusing.
33544Solution: Remove the "!" and swap the blocks. (Ken Takata)
33545
33546Patch 9.0.0393
33547Problem: Signals test often fails on FreeBSD.
33548Solution: Use separate files for Suspend and Resume. (Ken Takata,
33549 closes #11065)
33550
33551Patch 9.0.0394
33552Problem: Cygwin: multibyte characters may be broken in terminal window.
33553Solution: Adjust how to read and write on the channel. (Ken Takata,
33554 closes #11063)
33555
33556Patch 9.0.0395
33557Problem: Clang warnings for function prototypes.
33558Solution: Remove incomplete function prototypes. (closes #11068)
33559
33560Patch 9.0.0396
33561Problem: :findrepl does not escape '&' and '~' properly.
33562Solution: Escape depending on the value of 'magic'. (closes #11067)
33563
33564Patch 9.0.0397
33565Problem: :defer not tested with exceptions and ":qa!".
33566Solution: Test :defer works when exceptions are thrown and when ":qa!" is
33567 used. Invoke the deferred calls on exit.
33568
33569Patch 9.0.0398
33570Problem: Members of funccall_T are inconsistently named.
33571Solution: Use the "fc_" prefix for all members.
33572
33573Patch 9.0.0399
33574Problem: Using :defer in expression funcref not tested.
33575Solution: Add a test. Fix uncovered problems.
33576
33577Patch 9.0.0400
33578Problem: GUI test sometimes hangs on CI.
33579Solution: Delete a test file explicitly. (Ken Takata, closes #11072)
33580
33581Patch 9.0.0401
33582Problem: CI uses older clang version.
33583Solution: Switch from clang 14 to 15. (closes #11066)
33584
33585Patch 9.0.0402
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010033586Problem: Javascript module files are not recognized.
Christian Brabandt5872bcb2023-12-19 20:10:43 +010033587Solution: Recognize "*.jsm" files as Javascript. (Brett Holman,
33588 closes #11069)
33589
33590Patch 9.0.0403
33591Problem: 'equalalways' may be off when 'laststatus' is zero.
33592Solution: call last_status() before win_equal(). (Luuk van Baal,
33593 closes #11070)
33594
33595Patch 9.0.0404
33596Problem: Crash when passing invalid arguments to assert_fails().
33597Solution: Check for NULL string.
33598
33599Patch 9.0.0405
33600Problem: Arguments in a partial not used by a :def function.
33601Solution: Put the partial arguments on the stack.
33602
33603Patch 9.0.0406
33604Problem: Deferred functions not invoked when partial func exits.
33605Solution: Create a funccall_T when calling a :def function.
33606
33607Patch 9.0.0407
33608Problem: matchstr() does match column offset. (Yasuhiro Matsumoto)
33609Solution: Accept line number zero. (closes #10938)
33610
33611Patch 9.0.0408
33612Problem: GUI test sometimes fails on MS-Windows.
33613Solution: Make sure Vim is the foreground window. (Ken Takata, closes #11077)
33614
33615Patch 9.0.0409
33616Problem: #{g:x} was seen as a curly-braces expression.
33617Solution: Do never see #{} as a curly-braces expression. (closes #11075)
33618
33619Patch 9.0.0410
33620Problem: Struct member cts_lnum is unused.
33621Solution: Delete it.
33622
33623Patch 9.0.0411
33624Problem: Only created files can be cleaned up with one call.
33625Solution: Add flags to mkdir() to delete with a deferred function.
33626 Expand the writefile() name to a full path to handle changing
33627 directory.
33628
33629Patch 9.0.0412
33630Problem: Compiler warning for unused argument.
33631Solution: Add UNUSED.
33632
33633Patch 9.0.0413
33634Problem: ASAN reports a memory leak.
33635Solution: Free the string received from the server. (Ken Takata,
33636 closes #11080)
33637
33638Patch 9.0.0414
33639Problem: matchstr() still does not match column offset when done after a
33640 text search.
33641Solution: Only use the line number for a multi-line search. Fix the test.
33642 (closes #10938)
33643
33644Patch 9.0.0415
33645Problem: On MS-Windows some tests are flaky.
33646Solution: Add sleeps, disable swapfile, mark test as flaky. (Ken Takata,
33647 closes #11082)
33648
33649Patch 9.0.0416
33650Problem: ml_get error when appending lines in popup window.
33651Solution: Only update w_topline when w_buffer matches curbuf.
33652 (closes #11074)
33653
33654Patch 9.0.0417
33655Problem: Jsonnet files are not recognized.
33656Solution: Add a pattern for Jsonnet files. (Cezary Drożak, closes #11073,
33657 closes #11081)
33658
33659Patch 9.0.0418
33660Problem: Manually deleting temp test files.
33661Solution: Use the 'D' flag of writefile() and mkdir().
33662
33663Patch 9.0.0419
33664Problem: The :defer command does not check the function argument count and
33665 types.
33666Solution: Check the function arguments when adding a deferred function.
33667
33668Patch 9.0.0420
33669Problem: Function went missing.
33670Solution: Add the function back.
33671
33672Patch 9.0.0421
33673Problem: MS-Windows makefiles are inconsistently named.
33674Solution: Use consistent names. (Ken Takata, closes #11088)
33675
33676Patch 9.0.0422
33677Problem: Not enough testing of the :all command.
33678Solution: Add more testing. (Yegappan Lakshmanan, closes #11091)
33679
33680Patch 9.0.0423
33681Problem: "for" and "while" not recognized after :vim9cmd and :legacy.
33682 (Emanuele Torre)
33683Solution: Recognize all the command modifiers. (closes #11087)
33684 Add a test to check the list of modifiers.
33685
33686Patch 9.0.0424
33687Problem: gitattributes files are not recognized.
33688Solution: Add patterns to match gitattributes files. (closes #11085)
33689
33690Patch 9.0.0425
33691Problem: Autocmd test is a bit flaky on MS-Windows.
33692Solution: Add a bit more sleeping. (Ken Takata, closes #11095)
33693
33694Patch 9.0.0426
33695Problem: Failed flaky tests reports only start time.
33696Solution: Also report the end time.
33697
33698Patch 9.0.0427
33699Problem: Drupal theme files are not recognized.
33700Solution: Use php filetype for Drupl theme files. Remove trailing spaces.
33701 (Rodrigo Aguilera, closes #11096)
33702
33703Patch 9.0.0428
33704Problem: Autocmd test uses common file name.
33705Solution: Use unique name to reduce flakiness.
33706
33707Patch 9.0.0429
33708Problem: Not all keys are tested for the MS-Windows GUI.
33709Solution: Add more key codes to the list. (Yegappan Lakshmanan,
33710 closes #11097)
33711
33712Patch 9.0.0430
33713Problem: Cannot use repeat() with a blob.
33714Solution: Implement blob repeat. (closes #11090)
33715
33716Patch 9.0.0431
33717Problem: Current mode shows in message window.
33718Solution: Reset in_echowindow before redrawing. (issue #11094)
33719
33720Patch 9.0.0432
33721Problem: Crash when using for loop variable in closure.
33722Solution: Check that the variable wasn't deleted. (issue #11094)
33723
33724Patch 9.0.0433
33725Problem: Coverity warns for not checking allocation failure.
33726Solution: Check that allocating a list or blob succeeded.
33727
33728Patch 9.0.0434
33729Problem: gitignore files are not recognized.
33730Solution: Add patterns for the gitignore filetype. (closes #11102)
33731
33732Patch 9.0.0435
33733Problem: Compiler warning for uninitialized variable.
33734Solution: Initialize it.
33735
33736Patch 9.0.0436
33737Problem: CI: running tests in parallel causes flakiness.
33738Solution: Reorganize the MS-Windows runs. (Ken Takata, closes #11101)
33739
33740Patch 9.0.0437
33741Problem: No error when a custom completion function returns something else
33742 than the expected list.
33743Solution: Give an error. (closes #11100)
33744
33745Patch 9.0.0438
33746Problem: Cannot put virtual text above a line.
33747Solution: Add the "above" value for "text_align".
33748
33749Patch 9.0.0439
33750Problem: Cursor wrong if inserting before line with virtual text above.
33751Solution: Add the width of the "above" virtual text to the cursor position.
33752 (issue #11084)
33753
33754Patch 9.0.0440
33755Problem: Crash when using mkdir() with "R" flag in compiled function.
33756Solution: Reserve a variable for deferred function calls. Handle more than
33757 one argument.
33758
33759Patch 9.0.0441
33760Problem: Closure in for loop test fails on some systems.
33761Solution: Do not wait for the ruler to show up. (issue #11106)
33762
33763Patch 9.0.0442
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010033764Problem: Virtual text "above" doesn't handle line numbers.
Christian Brabandt5872bcb2023-12-19 20:10:43 +010033765Solution: Take the left column offset into account. (issue #11084)
33766 Also make padding work.
33767
33768Patch 9.0.0443
33769Problem: Blueprint files are not recognized.
33770Solution: Add a pattern for blueprint files. (Gabriele Musco, closes #11107)
33771
33772Patch 9.0.0444
33773Problem: Trying to declare g:variable gives confusing error.
33774Solution: Give a better error message. (closes #11108)
33775
33776Patch 9.0.0445
33777Problem: When opening/closing window text moves up/down.
33778Solution: Add the 'splitscroll' option. When off text will keep its
33779 position as much as possible.
33780
33781Patch 9.0.0446
33782Problem: Message window may be positioned too low.
33783Solution: Compute cmdline_row before computing the position.
33784
33785Patch 9.0.0447
33786Problem: Using :echowin while at the hit-enter prompt causes problems.
33787Solution: Do not prompt for :echowin. Postpone showing the message window.
33788 Start the timer when the window is displayed.
33789
33790Patch 9.0.0448
33791Problem: SubRip files are not recognized.
33792Solution: Add a pattern for SubRip. (closes #11113)
33793
33794Patch 9.0.0449
33795Problem: There is no easy way to translate a string with a key code into a
33796 readable string.
33797Solution: Add the keytrans() function. (closes #11114)
33798
33799Patch 9.0.0450
33800Problem: Return value of argument check functions is inconsistent.
33801Solution: Return OK/FAIL instead of TRUE/FALSE. (closes #11112)
33802
33803Patch 9.0.0451
33804Problem: Virtual text "above" does not work with 'nowrap'.
33805Solution: Do wrap the line after. (closes #11084)
33806
33807Patch 9.0.0452
33808Problem: Visual highlighting extends into virtual text prop.
33809Solution: Do not highlight what isn't actually selected. Fix ordering of
33810 stored text props.
33811
33812Patch 9.0.0453
33813Problem: On an AZERTY keyboard digit keys get the shift modifier.
33814Solution: Remove the shift modifier from digit keys. (closes #11109)
33815
33816Patch 9.0.0454
33817Problem: Incorrect color for modeless selection with GTK.
33818Solution: Use simple inversion instead of XOR. (closes #11111)
33819
33820Patch 9.0.0455
33821Problem: A few problems with 'splitscroll'.
33822Solution: Fix 'splitscroll' problems. (Luuk van Baal, closes #11117)
33823
33824Patch 9.0.0456
33825Problem: Function called at debug prompt is also debugged.
33826Solution: Reset the debug level while entering the debug command.
33827 (closes #11118)
33828
33829Patch 9.0.0457
33830Problem: Substitute prompt does not highlight an empty match.
33831Solution: Highlight at least one character.
33832
33833Patch 9.0.0458
33834Problem: Splitting a line with a text prop "above" moves it to a new line
33835 below.
33836Solution: Keep an "above" text prop above the first line.
33837
33838Patch 9.0.0459
33839Problem: Vim9: block in for loop doesn't behave like a code block.
33840Solution: Use a new block ID for each loop at the script level.
33841
33842Patch 9.0.0460
33843Problem: Loop variable can't be found.
33844Solution: Adjust block_id of the loop variable each round.
33845
33846Patch 9.0.0461
33847Problem: 'scroll' is not always updated.
33848Solution: Call win_init_size() at the right place.
33849
33850Patch 9.0.0462
33851Problem: ASAN warning for integer overflow.
33852Solution: Check for tp_col to be MAXCOL.
33853
33854Patch 9.0.0463
33855Problem: Command line test leaves directory behind.
33856Solution: Use the "R" flag on the first mkdir(). (Dominique Pellé,
33857 closes #11127)
33858
33859Patch 9.0.0464
33860Problem: With virtual text "above" indenting doesn't work well.
33861Solution: Ignore text properties while adjusting indent. (issue #11084)
33862
33863Patch 9.0.0465
33864Problem: Cursor moves when cmdwin is closed when 'splitscroll' is off.
33865Solution: Temporarily set 'splitscroll' when jumping back to the original
33866 window. (closes #11128)
33867
33868Patch 9.0.0466
33869Problem: Virtual text wrong after adding line break after line.
33870Solution: Pass an "eol" flag to where text properties are adjusted.
33871 (closes #11131)
33872
33873Patch 9.0.0467
33874Problem: Build failure.
33875Solution: Add missing change.
33876
33877Patch 9.0.0468
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010033878Problem: Execution stack underflow without the +eval feature. (Dominique
Christian Brabandt5872bcb2023-12-19 20:10:43 +010033879 Pellé)
33880Solution: Add to execution stack without FEAT_EVAL. (closes #11135)
33881
33882Patch 9.0.0469
33883Problem: Cursor moves if cmdwin is closed when 'splitscroll' is off.
33884Solution: Skip win_fix_cursor if called when cmdwin is open or closing.
33885 (Luuk van Baal, closes #11134)
33886
33887Patch 9.0.0470
33888Problem: In a :def function all closures in a loop get the same variables.
33889Solution: When in a loop and a closure refers to a variable declared in the
33890 loop, prepare for making a copy of variables for each closure.
33891
33892Patch 9.0.0471
33893Problem: No test for what patch 9.0.0469 fixes.
33894Solution: Add a test. (closes #11140)
33895
33896Patch 9.0.0472
33897Problem: Virtual text "below" doesn't show in list mode.
33898Solution: Reset lcs_eol_one when displaying text property.
33899
33900Patch 9.0.0473
33901Problem: fullcommand() only works for the current script version.
33902Solution: Add an optional argument for the script version.
33903
33904Patch 9.0.0474
33905Problem: fullcommand() test failure.
33906Solution: Update function table.
33907
33908Patch 9.0.0475
33909Problem: Not using deferred delete in tests.
33910Solution: Use deferred delete more often.
33911
33912Patch 9.0.0476
33913Problem: Varargs does not work for replacement function of substitute().
33914Solution: Check the varargs flag of the function. (closes #11142)
33915
33916Patch 9.0.0477
33917Problem: Missing dependency may cause crashes on incomplete build.
33918Solution: Add dependency.
33919
33920Patch 9.0.0478
33921Problem: Test for 'splitscroll' takes too much time.
33922Solution: Only test some of the combinations. (Luuk van Baal, closes #11139)
33923
33924Patch 9.0.0479
33925Problem: In a :def function all closures in a loop get the same variables.
33926Solution: Use a separate list of variables for LOADOUTER and SAVEOUTER.
33927
33928Patch 9.0.0480
33929Problem: Cannot use a :def varargs function with substitute().
33930Solution: Use has_varargs(). (closes #11146)
33931
33932Patch 9.0.0481
33933Problem: In a :def function all closures in a loop get the same variables.
33934Solution: Use a separate list of variables for LOADOUTER and STOREOUTER.
33935 Not copied at end of loop yet.
33936
33937Patch 9.0.0482
33938Problem: "g0" moves to wrong location with virtual text "above".
33939Solution: Compensate for the extra columns. (closes #11141) Also fix "g$"
33940
33941Patch 9.0.0483
33942Problem: Illegal memory access when replacing in virtualedit mode.
33943Solution: Check for replacing NUL after Tab.
33944
33945Patch 9.0.0484
33946Problem: In a :def function all closures in a loop get the same variables.
33947Solution: Add ENDLOOP at break, continue and return if needed.
33948
33949Patch 9.0.0485
33950Problem: In a :def function all closures in a loop get the same variables.
33951Solution: Make a copy of loop variables used in a closure.
33952
33953Patch 9.0.0486
33954Problem: Text scrolled with 'nosplitscroll', autocmd win opened and help
33955 window closed.
33956Solution: Skip win_fix_scroll() in more situations. (Luuk van Baal,
33957 closes #11150)
33958
33959Patch 9.0.0487
33960Problem: Using freed memory with combination of closures.
33961Solution: Do not use a partial after it has been freed through the
33962 funcstack.
33963
33964Patch 9.0.0488
33965Problem: Cursor in wrong position with virtual text "above" and
33966 'showbreak'.
33967Solution: Take the first character column into account. (closes #11149)
33968
33969Patch 9.0.0489
33970Problem: Using "end_lnum" with virtual text causes problems.
33971Solution: Disallow using "end_lnum" with virtual text. (closes #11151)
33972 Also disallow "end_col" and "length".
33973
33974Patch 9.0.0490
33975Problem: Using freed memory with cmdwin and BufEnter autocmd.
33976Solution: Make sure pointer to b_p_iminsert is still valid.
33977
33978Patch 9.0.0491
33979Problem: No good reason to build without the float feature.
33980Solution: Remove configure check for float and "#ifdef FEAT_FLOAT".
33981
33982Patch 9.0.0492
33983Problem: Cmdwin test fails on MS-Windows.
33984Solution: Skip test on MS-Windows.
33985
33986Patch 9.0.0493
33987Problem: Perl test fails.
33988Solution: Remove remaining FEAT_EVAL.
33989
33990Patch 9.0.0494
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010033991Problem: Small build misses float function declarations.
Christian Brabandt5872bcb2023-12-19 20:10:43 +010033992Solution: Adjust #ifdefs.
33993
33994Patch 9.0.0495
33995Problem: Closure doesn't work properly in nested loop.
33996Solution: Save variables up to the outer loop.
33997
33998Patch 9.0.0496
33999Problem: No good reason to keep supporting Windows-XP.
34000Solution: Drop Windows-XP support. (Ken Takata, closes #11089)
34001
34002Patch 9.0.0497
34003Problem: LyRiCs files are not recognized.
34004Solution: Add a pattern to detect LyRiCs files. (closes #11155)
34005
34006Patch 9.0.0498
34007Problem: Various small issues.
34008Solution: Various small fixes.
34009
34010Patch 9.0.0499
34011Problem: In :def function list created after const is locked.
34012Solution: Reset v_lock. (closes #11154)
34013
34014Patch 9.0.0500
34015Problem: When quitting the cmdline window with CTRL-C it remains visible.
34016Solution: Redraw to avoid confusion. Adjust the error message.
34017 (closes #11152) Adjust the cursor position after CTRL-C.
34018
34019Patch 9.0.0501
34020Problem: Warning for using uninitialized value in mouse test.
34021Solution: Clear ScreenCols when allocating it. (Dominique Pellé)
34022
34023Patch 9.0.0502
34024Problem: A closure in a nested loop in a :def function does not work.
34025Solution: Use an array of loopvars, one per loop level.
34026
34027Patch 9.0.0503
34028Problem: Build failure.
34029Solution: Add missing changes.
34030
34031Patch 9.0.0504
34032Problem: still a Build failure.
34033Solution: Add another missing changes. Avoid compiler warning.
34034
34035Patch 9.0.0505
34036Problem: Various problems with 'nosplitscroll'.
34037Solution: Fix 'nosplitscroll' problems. (Luuk van Baal, closes #11166)
34038
34039Patch 9.0.0506
34040Problem: Line number argument for :badd does not work.
34041Solution: Set the last cursor position in the new buffer. (closes #11161)
34042
34043Patch 9.0.0507
34044Problem: Command line cleared when using :redrawstatus in CmdlineChanged
34045 autocommand event.
34046Solution: Postpone the redraw. (closes #11162)
34047
34048Patch 9.0.0508
34049Problem: When the channel test fails there is no clue why.
34050Solution: Add info about the job status. (Ken Takata, closes #11175)
34051
34052Patch 9.0.0509
34053Problem: Confusing error for "saveas" command with "nofile" buffer.
34054Solution: Give a clearer error message. (closes #11171)
34055
34056Patch 9.0.0510
34057Problem: Chatito files are not recognized.
34058Solution: Add a pattern for Chatito files. (closes #11174)
34059
34060Patch 9.0.0511
34061Problem: Unnecessary scrolling for message of only one line.
34062Solution: Only set msg_scroll when needed. (closes #11178)
34063
34064Patch 9.0.0512
34065Problem: Cannot redraw the status lines when editing a command.
34066Solution: Only postpone the redraw when messages have scrolled.
34067 (closes #11170)
34068
34069Patch 9.0.0513
34070Problem: May not be able to use a pattern ad the debug prompt.
34071Solution: Temporarily disable the timeout. (closes #11164)
34072
34073Patch 9.0.0514
34074Problem: Terminal test sometimes hangs.
34075Solution: Add a bit more information to the test output. (issue #11179)
34076
34077Patch 9.0.0515
34078Problem: Virtual text highlight starts too early when 'number' is set.
34079Solution: Set column offset when wrapping. (issue #11138)
34080
34081Patch 9.0.0516
34082Problem: Virtual text "above" highlights gap after it.
34083Solution: Do not highlight the gap. (closes #11138)
34084
34085Patch 9.0.0517
34086Problem: When at the command line :redrawstatus does not work well.
34087Solution: Only update the statuslines instead of the screen. (closes #11180)
34088
34089Patch 9.0.0518
34090Problem: Virtual text highlight starts too early with 'nowrap' and 'number'
34091 set.
34092Solution: Add the offset to the attribute skip count. (issue #11138)
34093
34094Patch 9.0.0519
34095Problem: The win_line() function is much too long.
34096Solution: Move the code to draw the line number to a separate function.
34097
34098Patch 9.0.0520
34099Problem: Declaring a loop variable at the start of a block is clumsy.
34100Solution: Declare the variable inside the loop in a few places to see if
34101 this works.
34102
34103Patch 9.0.0521
34104Problem: Compiler warns for unused argument in small version.
34105Solution: Add UNUSED.
34106
34107Patch 9.0.0522
34108Problem: Build fails on Appveyor.
34109Solution: Select Visual Studio 2015 for the build tools.
34110
34111Patch 9.0.0523
34112Problem: more compiler warnings for arguments in small version
34113Solution: Adjust #ifdefs.
34114
34115Patch 9.0.0524
34116Problem: Build instructions for MS-Windows are outdated.
34117Solution: Remove instructions for old MSVC versions.
34118
34119Patch 9.0.0525
34120Problem: Manually deleting temp test files.
34121Solution: Add the 'D' flag to writefile().
34122
34123Patch 9.0.0526
34124Problem: MS-Windows: still some support for XP and old compilers.
34125Solution: Remove XP support and mention of old compilers. (Ken Takata,
34126 closes #11183)
34127
34128Patch 9.0.0527
34129Problem: Long sign text may overflow buffer.
34130Solution: Use a larger buffer. Prevent for overflow.
34131
34132Patch 9.0.0528
34133Problem: MS-Windows: no batch files for more recent MSVC versions.
34134Solution: Add batch files for 2017, 2019 and 2022. (Ken Takata,
34135 closes #11184)
34136
34137Patch 9.0.0529
34138Problem: Appveyor setup contains outdated lines.
34139Solution: Remove outdated lines. (Ken Takata, closes #11182)
34140
34141Patch 9.0.0530
34142Problem: Using freed memory when autocmd changes mark.
34143Solution: Copy the mark before editing another buffer.
34144
34145Patch 9.0.0531
34146Problem: The win_line() function is much too long.
34147Solution: Move code to separate functions.
34148
34149Patch 9.0.0532
34150Problem: Edit test is flaky when run under valgrind.
34151Solution: Send some text to the terminal to trigger a redraw.
34152
34153Patch 9.0.0533
34154Problem: The win_line() function is much too long.
34155Solution: Move code to separate functions.
34156
34157Patch 9.0.0534
34158Problem: Line number is displayed at virtual text "above".
34159Solution: Show the line number at the text line.
34160
34161Patch 9.0.0535
34162Problem: Closure gets wrong value in for loop with two loop variables.
34163Solution: Correctly compute the number of loop variables to clear.
34164
34165Patch 9.0.0536
34166Problem: CI: codecov action update available.
34167Solution: Update Codecov 3.1.0 to 3.3.1. (closes #11188)
34168
34169Patch 9.0.0537
34170Problem: The do_set() function is much too long.
34171Solution: Move setting of a string option to a separate function.
34172
34173Patch 9.0.0538
34174Problem: Manually deleting test temp files.
34175Solution: Add the 'D' flag to writefile().
34176
34177Patch 9.0.0539
34178Problem: Long message test can be flaky.
34179Solution: Wait for more prompt instead of ruler.
34180
34181Patch 9.0.0540
34182Problem: Assigning stack variable to argument confuses Coverity.
34183Solution: Use a local pointer, also makes the code simpler.
34184
34185Patch 9.0.0541
34186Problem: Terminal pwd test fails with a very long path name.
34187Solution: Join two lines.
34188
34189Patch 9.0.0542
34190Problem: MSVC build still has support for 2012 edition.
34191Solution: Drop MSVC 2012 support. (Ken Takata, closes #11191)
34192
34193Patch 9.0.0543
34194Problem: Insufficient testing for assert and test functions.
34195Solution: Add a few more tests. (Yegappan Lakshmanan, closes #11190)
34196
34197Patch 9.0.0544
34198Problem: Minor issues with setting a string option.
34199Solution: Adjust the code, add a test. (closes #11192)
34200
34201Patch 9.0.0545
34202Problem: When a test is slow and CI times out there is no time info.
34203Solution: Add the elapsed time to the "Executing" message.
34204
34205Patch 9.0.0546
34206Problem: Supporting Ruby 1.8 makes code complicated.
34207Solution: Drop Ruby 1.8 support, it is ancient. (Ken Takata, closes #11195)
34208
34209Patch 9.0.0547
34210Problem: Looping over empty out_loop[] entries.
34211Solution: Store the array size.
34212
34213Patch 9.0.0548
34214Problem: reduce() with a compiled lambda could be faster.
34215Solution: Call eval_expr_typval() instead of call_func() directly.
34216
34217Patch 9.0.0549
34218Problem: Duplicated code in calling a :def function.
34219Solution: Simplify the code.
34220
34221Patch 9.0.0550
34222Problem: Crash when closing a tabpage and buffer is NULL.
34223Solution: Adjust how autocommands are triggered when closing a window.
34224 (closes #11198, closes #11197)
34225
34226Patch 9.0.0551
34227Problem: Mode message is delayed when :echowin was used. (Maxim Kim)
34228Solution: Save and restore msg_didout in :echowin. (closes #11193)
34229
34230Patch 9.0.0552
34231Problem: Crash when using NUL in buffer that uses :source.
34232Solution: Don't get a next line when skipping over NL.
34233
34234Patch 9.0.0553
34235Problem: No error for "|" after "{" in lamda.
34236Solution: Check for invalid "|". (closes #11199)
34237
34238Patch 9.0.0554
34239Problem: Using freed memory when command follows lambda.
34240Solution: Don't free what is still in use. (closes #11201)
34241
34242Patch 9.0.0555
34243Problem: Scrolling with 'nosplitscroll' in callback changing curwin.
34244Solution: Invalidate w_cline_row in the right place. (Luuk van Baal,
34245 closes #11185)
34246
34247Patch 9.0.0556
34248Problem: Leaking memory with nested functions.
34249Solution: Free saved pointer.
34250
34251Patch 9.0.0557
34252Problem: Valgrind reports possibly leaked memory.
34253Solution: Move the problematic test function to the "fails" test file to
34254 avoid obscuring real memory leaks.
34255
34256Patch 9.0.0558
34257Problem: Coverity warns for possibly using NULL pointer.
34258Solution: Only use "evalarg" when not NULL.
34259
34260Patch 9.0.0559
34261Problem: Timer test may get stuck at hit-enter prompt.
34262Solution: Feed some more characters.
34263
34264Patch 9.0.0560
34265Problem: Elapsed time since testing started is not visible.
34266Solution: Show the elapsed time while running tests.
34267
34268Patch 9.0.0561
34269Problem: When a test gets stuck it just hangs forever.
34270Solution: Set a timeout of 30 seconds.
34271
34272Patch 9.0.0562
34273Problem: HSL playlist files are not recognized.
34274Solution: Add a pattern to recognize HSL palylist files. (Benoît Ryder,
34275 closes #11204)
34276
34277Patch 9.0.0563
34278Problem: Timer_info() test fails.
34279Solution: Ignore test timeout timer. Don't use test_null_job() when not
34280 available.
34281
34282Patch 9.0.0564
34283Problem: A few tests keep failing on MacOS M1.
34284Solution: Add a test check CheckNotMacM1. Fix timer tests.
34285
34286Patch 9.0.0565
34287Problem: Cscope test causes problems when code for test timeout timer is
34288 included (even when commented out).
34289Solution: Disable part of the cscope test for now.
34290
34291Patch 9.0.0566
34292Problem: Nim files are not recognized.
34293Solution: Add patterns for Nim files. (Nbiba Bedis, closes #11205)
34294
34295Patch 9.0.0567
34296Problem: 'completeopt' "longest" is not used for complete().
34297Solution: Also use "longest" for complete(). (Bjorn Linse, closes #11206)
34298
34299Patch 9.0.0568
34300Problem: Autocmd code is indented more than needed.
34301Solution: Break out sooner. (Yegappan Lakshmanan, closes #11208)
34302 Also in user function code.
34303
34304Patch 9.0.0569
34305Problem: Cannot easily get out when using "vim file | grep word".
34306Solution: Without changes let CTRL-C exit Vim. Otherwise give a message on
34307 stderr. (closes #11209)
34308
34309Patch 9.0.0570
34310Problem: CI for Windows is still using codecov action 3.1.0.
34311Solution: Use action 3.1.1. (closes #11212)
34312
34313Patch 9.0.0571
34314Problem: MS-Windows: CTRL-C can make Vim exit.
34315Solution: Check the not-a-term argument.
34316
34317Patch 9.0.0572
34318Problem: Insert complete tests leave a mapping behind.
34319Solution: Use a buffer-local mapping. (closes #11211)
34320
34321Patch 9.0.0573
34322Problem: Outdated dependencies go unnoticed.
34323Solution: Use github Dependabot. (closes #11213)
34324
34325Patch 9.0.0574
34326Problem: Timer garbage collect test hangs on Mac M1.
34327Solution: Properly check for Mac M1 and skip the test.
34328
34329Patch 9.0.0575
34330Problem: The getchar() function behaves strangely with bracketed paste.
34331Solution: Do not handle paste-start in getchar(). (issue #11172)
34332
34333Patch 9.0.0576
34334Problem: Unused loop variables.
34335Solution: Use a while loop instead. (closes #11214)
34336
34337Patch 9.0.0577
34338Problem: Buffer underflow with unexpected :finally.
34339Solution: Check CSF_TRY can be found.
34340
34341Patch 9.0.0578
34342Problem: One timer test fails on Mac M1.
34343Solution: Skip the test on Mac M1.
34344
34345Patch 9.0.0579
34346Problem: Using freed memory when 'tagfunc' wipes out buffer that holds
34347 'complete'.
34348Solution: Make a copy of the option. Make sure cursor position is valid.
34349
34350Patch 9.0.0580
34351Problem: No CI running for MacOS on M1.
34352Solution: Add a cirrus CI task. (closes #11203)
34353
34354Patch 9.0.0581
34355Problem: Adding a character for incsearch fails at end of line.
34356Solution: Only check cursor line number.
34357
34358Patch 9.0.0582
34359Problem: Channel cwd test fails on Cirrus CI.
34360Solution: Also remove /private from the expected directory.
34361
34362Patch 9.0.0583
34363Problem: Only recognizing .m3u8 files is inconsistent.
34364Solution: Also matc .m3u files. (issue #11204)
34365
34366Patch 9.0.0584
34367Problem: Cscope test with wrong executable name fails.
34368Solution: Use /bin/sh to execute the command. (Yegappan Lakshmanan)
34369
34370Patch 9.0.0585
34371Problem: When long message test fails the error message is not visible.
34372Solution: Dump more lines.
34373
34374Patch 9.0.0586
34375Problem: Missing change in test.
34376Solution: Add the test change.
34377
34378Patch 9.0.0587
34379Problem: Unicode tables are outdated.
34380Solution: Update to Unicode release 15. (Christian Brabandt, closes #11220)
34381
34382Patch 9.0.0588
34383Problem: MorphOS build is broken.
34384Solution: Add "-lm" to LDFLAGS and "-noixemul" to CFLAGS. (Ola Söder,
34385 closes #11222)
34386
34387Patch 9.0.0589
34388Problem: On AmigaOS4 the pid is available but the task address is used.
34389Solution: Use getpid(). (Ola Söder, closes #11224)
34390
34391Patch 9.0.0590
34392Problem: After exiting Insert mode spelling is not checked in the next
34393 line.
34394Solution: When spelling is enabled redraw the next line after exiting Insert
34395 mode in case the spell highlight needs updating.
34396
34397Patch 9.0.0591
34398Problem: Message window popup shows on only one tab page. (Naruhiko
34399 Nishino)
34400Solution: Show the message window popup on all tab pages. (closes #11231)
34401
34402Patch 9.0.0592
34403Problem: Display not cleared when scrolling back in messages, a background
34404 color is set and t_ut is empty.
34405Solution: Clear to the end of the display if needed. (closes #8973)
34406
34407Patch 9.0.0593
34408Problem: CI actions have too many permissions.
34409Solution: Restrict permissions to what is required. (closes #11223)
34410
34411Patch 9.0.0594
34412Problem: Makefile error message causes a shell error.
34413Solution: Put the message in single quotes. (closes #11232)
34414
34415Patch 9.0.0595
34416Problem: Extra newline in messages after a verbose shell message.
34417Solution: Output the newline with msg_putchar_attr(). (closes #11233)
34418 Make it possible to filter a screendump before comparing it.
34419
34420Patch 9.0.0596
34421Problem: CI on Mac M1 has the channel feature disabled.
34422Solution: Include the channel feature.
34423
34424Patch 9.0.0597
34425Problem: Cannot close a tab page with the middle mouse button.
34426Solution: Support closing a tab page with the middle mouse button, like many
34427 other programs. (closes #10746)
34428
34429Patch 9.0.0598
34430Problem: Using negative array index with negative width window.
34431Solution: Make sure the window width does not become negative.
34432
34433Patch 9.0.0599
34434Problem: Latexmkrc files are not recognized.
34435Solution: Use Perl filetype for latexmkrc files. (closes #11241)
34436
34437Patch 9.0.0600
34438Problem: GYP files are not recognized.
34439Solution: Recognize GYP files. (closes #11242)
34440
34441Patch 9.0.0601
34442Problem: Too much indent.
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010034443Solution: Return out early from a function. (Yegappan Lakshmanan,
Christian Brabandt5872bcb2023-12-19 20:10:43 +010034444 close #11238)
34445
34446Patch 9.0.0602
34447Problem: New TypeScript extensions are not recognized.
34448Solution: Recognize .mts and .cts files. (closes #11237)
34449
34450Patch 9.0.0603
34451Problem: With 'nosplitscroll' folds are not handled correctly.
34452Solution: Take care of closed folds when moving the cursor. (Luuk van Baal,
34453 closes #11234)
34454
34455Patch 9.0.0604
34456Problem: Luacheckrc file is not recognized.
34457Solution: Use lua filetype for luacheckrc. (closes #11236)
34458
34459Patch 9.0.0605
34460Problem: Dump file missing.
34461Solution: Add the missing dump file. (issue #11234)
34462
34463Patch 9.0.0606
34464Problem: system() opens a terminal window when using the GUI and "!" is in
34465 'guioptions'.
34466Solution: Do not use a terminal window when the SHELL_SILENT flag is used.
34467 (closes #11202)
34468
34469Patch 9.0.0607
34470Problem: Verbose echo message test fails on Mac OS.
34471Solution: Skip the test on Mac OS.
34472
34473Patch 9.0.0608
34474Problem: With spell checking, deleting a full stop at the end of a line
34475 does not update SpellCap at the start of the next line.
34476Solution: Update the next line when characters have been deleted. Also when
34477 using undo.
34478
34479Patch 9.0.0609
34480Problem: Blockedit test fails because of wrong indent.
34481Solution: Adjust the expected text temporarily
34482
34483Patch 9.0.0610
34484Problem: Global interrupt test fails when run under valgrind.
34485Solution: Use TermWait().
34486
34487Patch 9.0.0611
34488Problem: Tests delete files with a separate delete() call.
34489Solution: Use deferred delete.
34490
34491Patch 9.0.0612
34492Problem: Blockedit test passes with wrong result.
34493Solution: Add a "vim9script" line to make indenting work.
34494
34495Patch 9.0.0613
34496Problem: Running source tests leaves file behind.
34497Solution: Add the "D" flag to writefile(). (Dominique Pellé, closes #11243)
34498 Also do this for other writefile() calls and drop delete().
34499
34500Patch 9.0.0614
34501Problem: SpellFileMissing autocmd may delete buffer.
34502Solution: Disallow deleting the current buffer to avoid using freed memory.
34503
34504Patch 9.0.0615
34505Problem: Using reduce() on a list from range() is a bit slow.
34506Solution: Avoid materializing the list.
34507
34508Patch 9.0.0616
34509Problem: Spell test fails because error message changed.
34510Solution: Adjust expected error message.
34511
34512Patch 9.0.0617
34513Problem: Calling function for reduce() has too much overhead.
34514Solution: Only call clear_tv() when needed.
34515
34516Patch 9.0.0618
34517Problem: Calling function for reduce() has too much overhead.
34518Solution: Do not create a funccall_T every time.
34519
34520Patch 9.0.0619
34521Problem: Too many delete() calls in tests.
34522Solution: Use deferred delete where possible.
34523
34524Patch 9.0.0620
34525Problem: matchaddpos() can only add up to 8 matches.
34526Solution: Allocate the array of positions. (closes #11248)
34527
34528Patch 9.0.0621
34529Problem: Filetype test leaves file behind.
34530Solution: Add deferred delete flag to writefile(). (Dominique Pellé,
34531 closes #11249)
34532
34533Patch 9.0.0622
34534Problem: matchaddpos() can get slow when adding many matches.
34535Solution: Update the next available match ID when manually picking an ID and
34536 remove check if the available ID can be used. (idea by Rick Howe)
34537
34538Patch 9.0.0623
34539Problem: Error for modifying a const is not detected at compile time.
34540Solution: Add TTFLAG_CONST and check for it in add() and extend().
34541
34542Patch 9.0.0624
34543Problem: Leaking argument type array.
34544Solution: Add allocated memory to type_gap.
34545
34546Patch 9.0.0625
34547Problem: Too many delete() calls in tests.
34548Solution: Use deferred delete where possible.
34549
34550Patch 9.0.0626
34551Problem: Too many delete() calls in tests.
34552Solution: Use deferred delete where possible.
34553
34554Patch 9.0.0627
34555Problem: "const" and "final" both make the type a constant. (Daniel
34556 Steinberg)
34557Solution: Only have "const" make the type a constant.
34558
34559Patch 9.0.0628
34560Problem: Coverity warns for not checking return value.
34561Solution: Check the return value and simplify the code.
34562
34563Patch 9.0.0629
34564Problem: Get an error for using const only when executing.
34565Solution: Check for const at compile time for filter(), map(), remove(),
34566 reverse(), sort() and uniq().
34567
34568Patch 9.0.0630
34569Problem: In Vim9 script a numbered function cannot be called.
34570Solution: Do not require "g:" before a numbered function name.
34571 (closes #11254)
34572
34573Patch 9.0.0631
34574Problem: Too many delete() calls in tests.
34575Solution: Use deferred delete where possible.
34576
34577Patch 9.0.0632
34578Problem: Calling a function from an "expr" option has too much overhead.
34579Solution: Add call_simple_func() and use it for 'foldexpr'
34580
34581Patch 9.0.0633
34582Problem: FEAT_TITLE was removed but is still used.
34583Solution: Remove FEAT_TITLE. (Naruhiko Nishino, closes #11256)
34584
34585Patch 9.0.0634
34586Problem: Evaluating "expr" options has more overhead than needed.
34587Solution: Use call_simple_func() for 'foldtext', 'includeexpr', 'printexpr',
34588 "expr" of 'spellsuggest', 'diffexpr', 'patchexpr', 'balloonexpr',
34589 'formatexpr', 'indentexpr' and 'charconvert'.
34590
34591Patch 9.0.0635
34592Problem: Build error and compiler warnings.
34593Solution: Add missing change. Add type casts.
34594
34595Patch 9.0.0636
34596Problem: Underline color does not work in terminals that don't send a
34597 termresponse.
34598Solution: Do output t_8u if it was set explicitly. (closes #11253)
34599
34600Patch 9.0.0637
34601Problem: Syntax of commands in Vim9 script depends on +eval feature.
34602Solution: Use same syntax with and without the +eval feature.
34603
34604Patch 9.0.0638
34605Problem: Popup menu highlight wrong on top of preview popup. (Yegappan
34606 Lakshmanan)
34607Solution: Also check for the popup menu in screen_line().
34608
34609Patch 9.0.0639
34610Problem: Checking for popup in screen_char() is too late, the attribute has
34611 already been changed.
34612Solution: Move check for popup to where screen_char() is called.
34613
34614Patch 9.0.0640
34615Problem: Cannot scroll by screen line if a line wraps.
34616Solution: Add the 'smoothscroll' option. Only works for CTRL-E and CTRL-Y
34617 so far.
34618
34619Patch 9.0.0641
34620Problem: Missing part of the new option code.
34621Solution: Add missing WV_SMS.
34622
34623Patch 9.0.0642
34624Problem: Breakindent test fails.
34625Solution: Correct logic for resetting need_showbreak.
34626
34627Patch 9.0.0643
34628Problem: Smoothscroll test fails.
34629Solution: Check if skipcol changed.
34630
34631Patch 9.0.0644
34632Problem: 'smoothscroll' is not copied to a new window on :split.
34633Solution: Copy the option value. Add a test.
34634
34635Patch 9.0.0645
34636Problem: CTRL-Y does not stop at line 1. (John Marriott)
34637Solution: Stop at line 1 when 'smoothscroll' is not set. (closes #11261)
34638
34639Patch 9.0.0646
34640Problem: with 'smoothscroll' set CTRL-E does not work properly when
34641 'foldmethod' is set to "indent". (Yee Cheng Chin)
34642Solution: Merge the code for scroling with folds and 'smoothscroll'.
34643 (closes #11262)
34644
34645Patch 9.0.0647
34646Problem: The 'splitscroll' option is not a good name.
34647Solution: Rename 'splitscroll' to 'splitkeep' and make it a string option,
34648 also supporting "topline". (Luuk van Baal, closes #11258)
34649
34650Patch 9.0.0648
34651Problem: When using powershell input redirection does not work.
34652Solution: Use a different shell command for powershell. (Yegappan
34653 Lakshmanan, closes #11257)
34654
34655Patch 9.0.0649
34656Problem: No indication when the first line is broken for 'smoothscroll'.
34657Solution: Show "<<<" in the first line.
34658
34659Patch 9.0.0650
34660Problem: Some tests are failing.
34661Solution: Adjust for "<<<" showing up.
34662
34663Patch 9.0.0651
34664Problem: Build fails without the +conceal feature.
34665Solution: Rename called function.
34666
34667Patch 9.0.0652
34668Problem: 'smoothscroll' not tested with 'number' and "n" in 'cpo'.
34669Solution: Add tests, fix uncovered problem.
34670
34671Patch 9.0.0653
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010034672Problem: BS and DEL do not work properly in an interactive shell. (Gary
Christian Brabandt5872bcb2023-12-19 20:10:43 +010034673 Johnson)
34674Solution: Adjust the length for replaced codes.
34675
34676Patch 9.0.0654
34677Problem: Breakindent test fails.
34678Solution: Temporarily accept wrong result.
34679
34680Patch 9.0.0655
34681Problem: passing modifier codes to a shell running in the GUI. (Gary
34682 Johnson)
34683Solution: Include modifier codes into the key and drop the modifiers.
34684
34685Patch 9.0.0656
34686Problem: Cannot specify another character to use instead of '@' at the end
34687 of the window.
34688Solution: Add "lastline" to 'fillchars'. (Martin Tournoij, closes #11264,
34689 closes #10963)
34690
34691Patch 9.0.0657
34692Problem: Too many #ifdefs.
34693Solution: Graduate the +cmdwin feature. Now the tiny and small builds are
34694 equal, drop the small build. (Martin Tournoij, closes #11268)
34695
34696Patch 9.0.0658
34697Problem: Tiny build fails on Mac OS.
34698Solution: Define FEAT_CLIPBOARD only for normal build.
34699
34700Patch 9.0.0659
34701Problem: Wrong type of comment in SetSyn() function.
34702Solution: Use Vim9 comment. (closes #11278)
34703
34704Patch 9.0.0660
34705Problem: Mapping with CTRL keys does not work in the GUI.
34706Solution: Recognize CSI next to K_SPECIAL. (closes #11275, closes #11270)
34707
34708Patch 9.0.0661
34709Problem: Multi-byte "lastline" item in 'fillchars' does not work properly
34710 when the window is two columns wide.
34711Solution: Compute the text length correctly. (closes #11280)
34712
34713Patch 9.0.0662
34714Problem: Concealed characters do not work correctly.
34715Solution: Subtract boguscols instead of adding them. (closes #11273)
34716
34717Patch 9.0.0663
34718Problem: Tests check for +cmdwin feature which is always present.
34719Solution: Remove the checks. (closes #11287)
34720
34721Patch 9.0.0664
34722Problem: Bad redrawing with spell checking, using "C" and "$" in 'cpo'.
34723Solution: Do not redraw the next line when "$" is in 'cpo'. (closes #11285)
34724
34725Patch 9.0.0665
34726Problem: Setting 'cmdheight' has no effect if last window was resized.
34727Solution: Do apply 'cmdheight' when told to. Use the frame height instead
34728 of the cmdline_row. (closes #11286)
34729
34730Patch 9.0.0666
34731Problem: Spacing-combining characters handled as composing, causing text to
34732 take more space than expected.
34733Solution: Handle characters marked with "Mc" not as composing.
34734 (closes #11282
34735
34736Patch 9.0.0667
34737Problem: ml_get error when 'splitkeep' is "screen". (Marius Gedminas)
34738Solution: Check the botline is not too large. (Luuk van Baal,
34739 closes #11293, closes #11292)
34740
34741Patch 9.0.0668
34742Problem: CI on Mac M1 only uses clang
34743Solution: Also run with gcc. (closes #11263)
34744
34745Patch 9.0.0669
34746Problem: Too many delete() calls in tests.
34747Solution: Use deferred delete where possible.
34748
34749Patch 9.0.0670
34750Problem: No space for command line when there is a tabline.
34751Solution: Correct computation of where the command line should be.
34752 (closes #11295)
34753
34754Patch 9.0.0671
34755Problem: Negative topline using CTRL-Y with 'smoothscroll' and 'diff'.
34756 (Ernie Rael)
34757Solution: Only use 'smoothscroll' when 'wrap' is set.
34758
34759Patch 9.0.0672
34760Problem: Cursor line only partly shows with 'smoothscroll' and 'scrolloff'
34761 zero.
34762Solution: Do not use 'smoothscroll' when adjusting the bottom of the window.
34763 (closes #11269)
34764
34765Patch 9.0.0673
34766Problem: First line not scrolled properly with 'smoothscroll' and
34767 'scrolloff' zero and using "k".
34768Solution: Make sure the cursor position is visible.
34769
34770Patch 9.0.0674
34771Problem: Build error with tiny version.
34772Solution: Use PLINES_NOFILL macro.
34773
34774Patch 9.0.0675
34775Problem: Search test screendump is outdated.
34776Solution: Update the screendump for improved display.
34777
34778Patch 9.0.0676
34779Problem: CI on Mac M1 with gcc actually uses clang.
34780Solution: Remove the gcc task. (Ozaki Kiichi, closes #11297)
34781
34782Patch 9.0.0677
34783Problem: Breakindent test accepts wrong result.
34784Solution: Fix the number column and adjust the expected text.
34785
34786Patch 9.0.0678
34787Problem: Using exclamation marks on :function.
34788Solution: Use :func and :endfunc as usual.
34789
34790Patch 9.0.0679
34791Problem: Tests failing with 'smoothscroll', 'number' and "n" in 'cpo'.
34792Solution: Do not count number column in topline if columns are skipped.
34793
34794Patch 9.0.0680
34795Problem: Tests failing with 'breakindent', 'number' and "n" in 'cpo'.
34796Solution: Do count the number column in topline if 'breakindent' is set.
34797
34798Patch 9.0.0681
34799Problem: "<<<" shows for 'smoothscroll' even when 'showbreak is set.
34800Solution: When 'showbreak' is set do not display "<<<".
34801
34802Patch 9.0.0682
34803Problem: Crash when popup with deleted timer is closed. (Igbanam
34804 Ogbuluijah)
34805Solution: Check the timer still exists. (closes #11301)
34806
34807Patch 9.0.0683
34808Problem: Cannot specify a time for :echowindow.
34809Solution: A count can be used to specify the display time. Add
34810 popup_findecho().
34811
34812Patch 9.0.0684
34813Problem: Skipped :exe command fails compilation on MS-Windows.
34814Solution: Adjust return value when skipping.
34815
34816Patch 9.0.0685
34817Problem: FORTIFY_SOURCE causes a crash in Vim9 script.
34818Solution: Use a pointer to the first char. (Yee Cheng Chin, closes #11302)
34819
34820Patch 9.0.0686
34821Problem: The right ALT key does not work on some MS-Windows keyboards.
34822Solution: Adjust the modifiers based on GetKeyState(). (Anoton Sharonov,
34823 closes #11300)
34824
34825Patch 9.0.0687
34826Problem: "export def" does not work in a nested block.
34827Solution: Do not handle "export" with a separate function but in the same
34828 command stack. (closes #11304)
34829
34830Patch 9.0.0688
34831Problem: Debugger does not display the whole command.
34832Solution: Set ea.cmd before checking for a breakpoint.
34833
34834Patch 9.0.0689
34835Problem: Compiler warning for unused function.
34836Solution: Add #ifdef. (John Marriott)
34837
34838Patch 9.0.0690
34839Problem: Buffer size for expanding tab not correctly computed.
34840Solution: Correctly use size of end character.
34841
34842Patch 9.0.0691
34843Problem: lalloc(0) error in listchars test.
34844Solution: Skip generating text for tab if tab_len is zero.
34845
34846Patch 9.0.0692
34847Problem: PoE filter files are not recognized.
34848Solution: Add a pattern to detect PoE filter files. (closes #11305)
34849
34850Patch 9.0.0693
34851Problem: browse() first argument cannot be a bool.
34852Solution: Use tv_get_bool_chk() instead of tv_get_number_chk().
34853 (closes #11308)
34854
34855Patch 9.0.0694
34856Problem: No native sound support on Mac OS.
34857Solution: Add sound support for Mac OS. (Yee Cheng Chin, closes #11274)
34858
34859Patch 9.0.0695
34860Problem: Failing check for dictionary type for const any.
34861Solution: Check for any type properly. (closes #11310)
34862
34863Patch 9.0.0696
34864Problem: It is unclear if the +rightleft and +arabic features are actively
34865 being used.
34866Solution: Disable the features, await feedback.
34867
34868Patch 9.0.0697
34869Problem: Cursor in wrong position with Visual substitute.
34870Solution: When restoring 'linebreak' mark the virtual column as invalid.
34871 (closes #11309, closes #11311)
34872
34873Patch 9.0.0698
34874Problem: VisVim is outdated, does not work with current Visual Studio.
34875Solution: Remove VisVim. (Martin Tournoij)
34876
34877Patch 9.0.0699
34878Problem: Tiny build fails.
34879Solution: Add #ifdef.
34880
34881Patch 9.0.0700
34882Problem: There is no real need for a "big" build.
34883Solution: Move common features to "normal" build, less often used features
34884 to the "huge" build. (Martin Tournoij, closes #11283)
34885
34886Patch 9.0.0701
34887Problem: With 'smoothscroll' the cursor position s not adjusted in a long
34888 line.
34889Solution: Move the cursor further up or down in the line.
34890
34891Patch 9.0.0702
34892Problem: Incomplete testing cursor position after change with 'linebreak'
34893 set.
34894Solution: Add a test and move test cases together. (closes #11313)
34895
34896Patch 9.0.0703
34897Problem: Failing check for argument type for const any.
34898Solution: Check for any type properly. (closes #11316)
34899
34900Patch 9.0.0704
34901Problem: CI runs "tiny" and "small" builds, which are the same.
34902Solution: Remove the "small" build. (Naruhiko Nishino, closes #11315)
34903
34904Patch 9.0.0705
34905Problem: Virtual text truncation does not take padding into account.
34906Solution: Subtract the padding from the available space. (closes #11318)
34907
34908Patch 9.0.0706
34909Problem: :help in a narrow window always opens at the top.
34910Solution: Respect 'splitbelow'. (closes #11319)
34911
34912Patch 9.0.0707
34913Problem: With 'smoothscroll' and 'scrolloff' non-zero the cursor position
34914 is not properly adjusted in a long line.
34915Solution: Move the cursor further up or down in the line.
34916
34917Patch 9.0.0708
34918Problem: :confirm does not work properly for a terminal buffer.
34919Solution: Handle :confirm for a terminal buffer differently. (Yee Cheng
34920 Chin, closes #11312)
34921
34922Patch 9.0.0709
34923Problem: Virtual text "after" not correct with 'nowrap'.
34924Solution: Do not display "after" text prop on the next line when 'wrap' is
34925 off.
34926
34927Patch 9.0.0710
34928Problem: Quitting/unloading/hiding a terminal buffer does not always work
34929 properly.
34930Solution: Avoid that ":q!" leaves an empty buffer behind. ":bunload!" also
34931 kills the job and unloads the buffer. ":hide" does not unload the
34932 buffer. (Yee Cheng Chin, closes #11323)
34933
34934Patch 9.0.0711
34935Problem: SubStation Alpha files are not recognized.
34936Solution: Add patterns for SubStation Alpha files. (closes #11332)
34937
34938Patch 9.0.0712
34939Problem: Wrong column when calling setcursorcharpos() with zero lnum.
34940Solution: Set the line number before calling buf_charidx_to_byteidx().
34941 (closes #11329)
34942
34943Patch 9.0.0713
34944Problem: <amatch> of MenuPopup event is expanded like a file name.
34945Solution: Do not expand <amatch> for MenuPopup. (closes #11328)
34946
34947Patch 9.0.0714
34948Problem: With 'nowrap' two virtual text below not displayed correctly.
34949Solution: Set text_prop_follows before continuing. Correct for number
34950 column. (closes #11333)
34951
34952Patch 9.0.0715
34953Problem: Wrong argument for append() gives two error messages.
34954Solution: When getting an error for a number argument don't try using it as
34955 a string. (closes #11335)
34956
34957Patch 9.0.0716
34958Problem: With 'nowrap' virtual text "after" does not scroll left.
34959Solution: Skip part of the virtual text that is left of the window.
34960 (closes #11320) Fix going beyond the last column of the window.
34961
34962Patch 9.0.0717
34963Problem: Compiler warning for unused variable in tiny build.
34964Solution: Add #ifdefs.
34965
34966Patch 9.0.0718
34967Problem: Extra empty line between two virtual text "below" when 'wrap' and
34968 'number' are set.
34969Solution: Reset "before" when there is no text in the screen line.
34970 (closes #11334)
34971
34972Patch 9.0.0719
34973Problem: Too many delete() calls in tests.
34974Solution: Use deferred delete where possible.
34975
34976Patch 9.0.0720
34977Problem: MS-Windows GUI may have pixel dust from antialiasing.
34978Solution: When a character changes also redraw the next one. (issue #8532)
34979
34980Patch 9.0.0721
34981Problem: Virtual text "above" with padding not displayed correctly.
34982Solution: Take padding into account when truncating. (closes #11340)
34983
34984Patch 9.0.0722
34985Problem: Virtual text "after" does not show with 'list' set.
34986Solution: Do not break out of the loop when another text prop follows.
34987 (closes #11337)
34988
34989Patch 9.0.0723
34990Problem: Extra empty line below virtual text when 'list' is set.
34991Solution: Do not reset lcs_eol_one but set text_prop_follows. (closes #11339)
34992
34993Patch 9.0.0724
34994Problem: Closure in compiled function gets same variable in block.
34995Solution: At the end of a block to not always reset the variable count.
34996 (issue #11094)
34997
34998Patch 9.0.0725
34999Problem: Virtual text "after" wraps to next line even when 'wrap' is off
35000 and 'list' is set.
35001Solution: Do not use the minimum width when 'wrap' is off. (issue #11336)
35002
35003Patch 9.0.0726
35004Problem: Looping over list of lists and changing the list contents works in
35005 Vim9 script, not in a compiled function.
35006Solution: Mark the loop variable final instead of const. (closes #11347)
35007
35008Patch 9.0.0727
35009Problem: Help in the repository differs from patched version too much.
35010Solution: Make a patch for a few help files.
35011
35012Patch 9.0.0728
35013Problem: extend() test fails.
35014Solution: Item is final, not const.
35015
35016Patch 9.0.0729
35017Problem: The rightleft and arabic features are disabled.
35018Solution: Re-enable the features, some users want to use the functionality.
35019
35020Patch 9.0.0730
35021Problem: Startup test fails with right-left feature.
35022Solution: Do not delete test file too early.
35023
35024Patch 9.0.0731
35025Problem: clang-tidy configuration files are not recognized.
35026Solution: Recognize clang-tidy files as yaml. (closes #11350)
35027
35028Patch 9.0.0732
35029Problem: No check for white space before and after "=<<". (Doug Kearns)
35030Solution: Check for white space in Vim9 script. (closes #11351)
35031
35032Patch 9.0.0733
35033Problem: Use of strftime() is not safe.
35034Solution: Check the return value of strftime(). Use a larger buffer and
35035 correctly pass the available space. (Dominique Pellé, closes
35036 #11348)
35037
35038Patch 9.0.0734
35039Problem: Cursor position invalid when scrolling with 'smoothscroll' set.
35040 (Ernie Rael)
35041Solution: Add w_valid_skipcol and clear flags when it changes. Adjust
35042 w_skipcol after moving the cursor.
35043
35044Patch 9.0.0735
35045Problem: Breakindent and scrolloff tests fail.
35046Solution: Temporarily skip the assertions.
35047
35048Patch 9.0.0736
35049Problem: Quickfix listing does not handle very long messages.
35050Solution: Use a growarray instead of a fixed size buffer. (Yegappan
35051 Lakshmanan, closes #11357)
35052
35053Patch 9.0.0737
35054Problem: Lisp word only recognized when a space follows.
35055Solution: Also match a word at the end of a line. Rename the test. Use a
35056 compiled function to avoid backslashes.
35057
35058Patch 9.0.0738
35059Problem: Cannot suppress completion "scanning" messages.
35060Solution: Add the "C" flag in 'shortmess'. (Bjorn Linse, closes #11354)
35061
35062Patch 9.0.0739
35063Problem: Mouse column not correctly used for popup_setpos.
35064Solution: Adjust off-by-one error and handle Visual line selection properly.
35065 (Yee Cheng Chin, closes #11356)
35066
35067Patch 9.0.0740
35068Problem: prop_add_list() gives multiple errors for invalid argument.
35069Solution: Only give one error message.
35070
35071Patch 9.0.0741
35072Problem: Cannot specify an ID for each item with prop_add_list(). (Sergey
35073 Vlasov)
35074Solution: Add an optional fifth number to the item. (closes #11360)
35075
35076Patch 9.0.0742
35077Problem: Reading past end of the line when compiling a function with
35078 errors.
35079Solution: Do not return an invalid pointer. Fix skipping redirection.
35080
35081Patch 9.0.0743
35082Problem: Starting cscope on Unix does not quote the arguments correctly.
35083 (Gary Johnson)
35084Solution: Move the final quote after the arguments.
35085
35086Patch 9.0.0744
35087Problem: In script in autoload dir exported variable is not found. (Doug
35088 Kearns)
35089Solution: Find the variable with the "script#" prefix. (closes #11361)
35090
35091Patch 9.0.0745
35092Problem: Wrong cursor position when using "gj" and "gk" in a long line.
35093Solution: Adjust computations for the cursor position and skipcol. Re-enable
35094 tests that pass now, disable failing breakindent test.
35095
35096Patch 9.0.0746
35097Problem: Breakindent test cases are commented out.
35098Solution: Adjust expected result to slightly different behavior. Correct
35099 computations for cursor position.
35100
35101Patch 9.0.0747
35102Problem: Too many #ifdefs.
35103Solution: Gradudate the +cmdline_info feature. (Martin Tournoij,
35104 closes #11330)
35105
35106Patch 9.0.0748
35107Problem: Kitty may send key without modifiers with CSI u code.
35108Solution: Handle CSI u code without modifiers. (Trygve Aaberge,
35109 closes #11364)
35110
35111Patch 9.0.0749
35112Problem: Alloc/free of buffer for each quickfix entry is inefficient.
35113Solution: Use a shared grow array. (Yegappan Lakshmanan, closes #11365)
35114
35115Patch 9.0.0750
35116Problem: Crash when popup closed in callback. (Maxim Kim)
35117Solution: In syntax_end_parsing() check that syn_block is valid.
35118
35119Patch 9.0.0751
35120Problem: 'scrolloff' does not work well with 'smoothscroll'.
35121Solution: Make positioning the cursor a bit better. Rename functions.
35122
35123Patch 9.0.0752
35124Problem: Rprofile files are not recognized.
35125Solution: Recognize Rprofile files as "r". (closes #11369)
35126
35127Patch 9.0.0753
35128Problem: Some Ex commands are not in the help index.
35129Solution: Add the missing commands. Add a script to check all Ex commands
35130 are in the help index. (Yee Cheng Chin, closes #11371)
35131
35132Patch 9.0.0754
35133Problem: 'indentexpr' overrules lisp indenting in one situation.
35134Solution: Add "else" to keep the lisp indent. (issue #11327)
35135
35136Patch 9.0.0755
35137Problem: Huge build on macos always fails on CI.
35138Solution: Temporarily disable the perl interface.
35139
35140Patch 9.0.0756
35141Problem: No autocmd event for changing text in a terminal window.
35142Solution: Add TextChangedT. (Shougo Matsushita, closes #11366)
35143
35144Patch 9.0.0757
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010035145Problem: Line number not visible with 'smoothscroll', 'nu' and 'rnu'.
Christian Brabandt5872bcb2023-12-19 20:10:43 +010035146Solution: Put the ">>>" after the line number instead of on top.
35147
35148Patch 9.0.0758
35149Problem: "precedes" from 'listchars' overwritten by <<< for 'smoothscroll'.
35150Solution: Keep the "precedes" character.
35151
35152Patch 9.0.0759
35153Problem: Huge build on macos does not use Perl.
35154Solution: Re-enable the Perl interface using "dynamic". (closes #11375)
35155
35156Patch 9.0.0760
35157Problem: Display test for 'listchars' "precedes" fails.
35158Solution: Correct the expected result.
35159
35160Patch 9.0.0761
35161Problem: Cannot use 'indentexpr' for Lisp indenting.
35162Solution: Add the 'lispoptions' option.
35163
35164Patch 9.0.0762
35165Problem: Build failure.
35166Solution: Add missing change.
35167
35168Patch 9.0.0763
35169Problem: MS-Windows: warning for using int for size_t.
35170Solution: Declare variable as size_t.
35171
35172Patch 9.0.0764
35173Problem: Indent and option tests fail.
35174Solution: Change OP_INDENT. Add entry to options test table.
35175
35176Patch 9.0.0765
35177Problem: With a Visual block a put command column may go negative.
35178Solution: Check that the column does not become negative.
35179
35180Patch 9.0.0766
35181Problem: Too many delete() calls in tests.
35182Solution: Use deferred delete where possible.
35183
35184Patch 9.0.0767
35185Problem: Too many delete() calls in tests.
35186Solution: Use deferred delete where possible.
35187
35188Patch 9.0.0768
35189Problem: Too many delete() calls in tests.
35190Solution: Use deferred delete where possible.
35191
35192Patch 9.0.0769
35193Problem: Too many delete() calls in tests.
35194Solution: Use deferred delete where possible.
35195
35196Patch 9.0.0770
35197Problem: Quickfix commands may keep memory allocated.
35198Solution: Free memory when it's a bit much. (Yegappan Lakshmanan,
35199 closes #11379)
35200
35201Patch 9.0.0771
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010035202Problem: Cannot always tell the difference between tex and rexx files.
Christian Brabandt5872bcb2023-12-19 20:10:43 +010035203Solution: Recognize tex by a leading backslash. (Martin Tournoij,
35204 closes #11380)
35205
35206Patch 9.0.0772
35207Problem: The libvterm code is outdated.
35208Solution: Include libvterm changes from revision 790 to 801.
35209
35210Patch 9.0.0773
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010035211Problem: Huge build on MacOS uses dynamic Perl.
Christian Brabandt5872bcb2023-12-19 20:10:43 +010035212Solution: Use built-in Perl, uninstall the brew one. (closes #11382)
35213
35214Patch 9.0.0774
35215Problem: The libvterm code is outdated.
35216Solution: Include libvterm changes from revision 802 to 817. Revert some
35217 changes made for C89.
35218
35219Patch 9.0.0775
35220Problem: MS-Windows: mouse scrolling not supported in the console.
35221Solution: Add event handling for mouse scroll events. (Christopher
35222 Plewright, closes #11374)
35223
35224Patch 9.0.0776
35225Problem: MSVC can't have field name "small".
35226Solution: Rename small to smallfont.
35227
35228Patch 9.0.0777
35229Problem: Code is indented too much.
35230Solution: Use an early return. (Yegappan Lakshmanan, closes #11386)
35231
35232Patch 9.0.0778
35233Problem: Indexing of unknown const type fails during compilation.
35234Solution: Check for "any" properly. (closes #11389)
35235
35236Patch 9.0.0779
35237Problem: lsl and lm3 file extensions are not recognized.
35238Solution: Add *.lsl and *.lm3 patterns. (Doug Kearns, closes #11384)
35239
35240Patch 9.0.0780
35241Problem: 'scroll' value computed in unexpected location.
35242Solution: Compute 'scroll' when the window height is changed. (Luuk van
35243 Baal, closes #11387)
35244
35245Patch 9.0.0781
35246Problem: Workaround to rename "small" to "smallfont" is clumsy.
35247Solution: Undefine "small" after including windows.h. (Ken Takata)
35248
35249Patch 9.0.0782
35250Problem: OpenVPN files are not recognized.
35251Solution: Add patterns for OpenVPN files. (closes #11391)
35252
35253Patch 9.0.0783
35254Problem: ":!" doesn't do anything but does update the previous command.
35255Solution: Do not have ":!" change the previous command. (Martin Tournoij,
35256 closes #11372)
35257
35258Patch 9.0.0784
35259Problem: Text prop "above" not displayed correctly with 'number' and "n" in
35260 'cpo'.
35261Solution: Draw the line number column until the line text is reached.
35262
35263Patch 9.0.0785
35264Problem: Memory leak with empty shell command.
35265Solution: Free the allocated memory when bailing out.
35266
35267Patch 9.0.0786
35268Problem: User command does not get number from :tab modifier.
35269Solution: Include the number. (closes #11393, closes #6801)
35270
35271Patch 9.0.0787
35272Problem: MS-Windows: mouse scrolling in terminal misbehaves without dll.
35273Solution: Add #ifdef as a temporary solution. (Christopher Plewright,
35274 closes #11392)
35275
35276Patch 9.0.0788
35277Problem: ModeChanged autocmd not executed when Visual mode is ended with
35278 CTRL-C.
35279Solution: Do not trigger the autocmd when got_int is set. (closes #11394)
35280
35281Patch 9.0.0789
35282Problem: Dummy buffer ends up in a window.
35283Solution: Disallow navigating to a dummy buffer.
35284
35285Patch 9.0.0790
35286Problem: Test for dummy buffer does not always produce the E86 error.
35287Solution: Do not check if the error is produced.
35288
35289Patch 9.0.0791
35290Problem: At the hit-Enter prompt the End and Home keys may not work.
35291Solution: Use the special "@" code for End and Home, like it was done for
35292 the cursor keys in patch 8.2.2246. (Trygve Aaberge, closes #11396)
35293
35294Patch 9.0.0792
35295Problem: MS-Windows: compiler complains about unused function.
35296Solution: Add #ifdef. (John Marriott)
35297
35298Patch 9.0.0793
35299Problem: MS-Windows: mouse scroll events only work with the dll.
35300Solution: Accept CSI codes for MS-Windows without the GUI. (Christopher
35301 Plewright, closes #11401)
35302
35303Patch 9.0.0794
35304Problem: There is no way to find out if an escape sequence with
35305 modifyOtherKeys has been seen.
35306Solution: Add a notice with ":verbose map".
35307
35308Patch 9.0.0795
35309Problem: readblob() always reads the whole file.
35310Solution: Add arguments to read part of the file. (Ken Takata,
35311 closes #11402)
35312
35313Patch 9.0.0796
35314Problem: Mapping test fails in some situations.
35315Solution: Find the line with the verbose information.
35316
35317Patch 9.0.0797
35318Problem: Order of assert function arguments is reverted.
35319Solution: Swap the arguments. (closes #11399)
35320
35321Patch 9.0.0798
35322Problem: Clang format configuration files are not recognized.
35323Solution: Use yaml for Clang format configuration files. (Marwin Glaser,
35324 closes #11398)
35325
35326Patch 9.0.0799
35327Problem: In compiled function ->() on next line not recognized.
35328Solution: Also check for "(". (closes #11405)
35329
35330Patch 9.0.0800
35331Problem: Compiler complains about repeated typedef.
35332Solution: Remove one typedef.
35333
35334Patch 9.0.0801
35335Problem: The modifyOtherKeys flag is set when it should not.
35336Solution: Do not handle special key codes with a modifer value above 16 as a
35337 modifyOtherKeys value. (issue #11403)
35338
35339Patch 9.0.0802
35340Problem: MS-Windows: cannot map console mouse scroll events.
35341Solution: Change CSI to K_SPECIAL when checking for a mapping. (Christopher
35342 Plewright, closes #11410)
35343
35344Patch 9.0.0803
35345Problem: readblob() cannot read from character device.
35346Solution: Use S_ISCHR() to not check the size. (Ken Takata, closes #11407)
35347
35348Patch 9.0.0804
35349Problem: Crash when trying to divice the largest negative number by -1.
35350Solution: Handle this case specifically.
35351
35352Patch 9.0.0805
35353Problem: Filetype autocmd may cause freed memory access.
35354Solution: Set the quickfix-busy flag while filling the buffer.
35355
35356Patch 9.0.0806
35357Problem: 'langmap' works differently when there are modifiers.
35358Solution: Only apply 'langmap' to a character where modifiers have no
35359 effect. (closes #11395, closes #11404)
35360
35361Patch 9.0.0807
35362Problem: With 'smoothscroll' typing "0" may not go to the first column.
35363Solution: Recompute w_cline_height when needed. Do not scroll up when it
35364 would move the cursor.
35365
35366Patch 9.0.0808
35367Problem: jsonnet filetype detection has a typo.
35368Solution: Change "libjsonnet" to "libsonnet". (Maxime Brunet, closes #11412)
35369
35370Patch 9.0.0809
35371Problem: Test for job writing to buffer fails.
35372Solution: Correct w_topline when deleting a buffer line.
35373
35374Patch 9.0.0810
35375Problem: readblob() returns empty when trying to read too much.
35376Solution: Return what is available.
35377
35378Patch 9.0.0811
35379Problem: Error if :echowin is preceded by a command modifier.
35380Solution: Do not give an error for range when there is a modifier.
35381 (closes #11414)
35382
35383Patch 9.0.0812
35384Problem: GUI mouse scrollwheel mappings don't work.
35385Solution: Add check for "gui.in_use". (Christopher Plewright, closes #11418)
35386
35387Patch 9.0.0813
35388Problem: Kitty terminal is not recognized.
35389Solution: Recognize Kitty by the termresponse and then do not set
35390 seenModifyOtherKeys, since Kitty doesn't support that.
35391 (issue #11413)
35392
35393Patch 9.0.0814
35394Problem: Aws config files are not recognized.
35395Solution: Use "confini" for aws config files. (Justin M. Keyes,
35396 closes #11416)
35397
35398Patch 9.0.0815
35399Problem: ":!" does not switch to the alternate screen.
35400Solution: For ":!" don't clear the previous command. (closes #11420,
35401 closes #11409)
35402
35403Patch 9.0.0816
35404Problem: CTRL-Z at end of file is always dropped.
35405Solution: Add the 'endoffile' option, like the 'endofline' option.
35406 (closes #11408, closes #11397)
35407
35408Patch 9.0.0817
35409Problem: Build error.
35410Solution: correct variable name.
35411
35412Patch 9.0.0818
35413Problem: "!ls" does not work.
35414Solution: Do not free memory that is in use.
35415
35416Patch 9.0.0819
35417Problem: Still a build error, tests are failing.
35418Solution: Correct recent changes. Add missing init for 'eof'.
35419
35420Patch 9.0.0820
35421Problem: Memory leak with empty shell command.
35422Solution: Free the empty string.
35423
35424Patch 9.0.0821
35425Problem: Memory leak with empty shell command.
35426Solution: Free the empty string.
35427
35428Patch 9.0.0822
35429Problem: Crash when dragging the statusline with a mapping.
35430Solution: Check for valid window pointer. (issue #11427)
35431
35432Patch 9.0.0823
35433Problem: Mouse drag test fails.
35434Solution: Only reset the mouse click flag when actually switching to another
35435 tab page. Disable test that keeps failing.
35436
35437Patch 9.0.0824
35438Problem: Crash when using win_move_separator() in other tab page.
35439Solution: Check for valid window in current tab page.
35440 (closes #11479, closes #11427)
35441
35442Patch 9.0.0825
35443Problem: Cannot drag an entry in the tabpage line.
35444Solution: Clear dragwin instead of got_click. (closes #11483,
35445 closes #11482)
35446
35447Patch 9.0.0826
35448Problem: If 'endofline' is set the CTRL-Z may be written in the wrong
35449 place.
35450Solution: Write CTRL-Z at the end of the file. Update the help to explain
35451 the possibilities better. (Ken Takata, closes #11486)
35452
35453Patch 9.0.0827
35454Problem: The <Home> key in tmux doesn't work when 'term' is set to "xterm".
35455 (Dominique Pellé)
35456Solution: Only use '@' in a termcap key entry for "1" when ";" follows.
35457 (closes #11429)
35458
35459Patch 9.0.0828
35460Problem: Various typos.
35461Solution: Correct typos. (closes #11432)
35462
35463Patch 9.0.0829
35464Problem: Wrong counts in macro comment.
35465Solution: Update the value counts. (closes #11480)
35466
35467Patch 9.0.0830
35468Problem: Compiling with Perl on Mac 12 fails.
35469Solution: Suppress infinite warnings. (closes #11499)
35470
35471Patch 9.0.0831
35472Problem: Compiler warning for redefining HAVE_DUP.
35473Solution: Undefine HAVE_DUP if needed. (Ozaki Kiichi, closes #11484)
35474
35475Patch 9.0.0832
35476Problem: Deprecation warning causes build failure.
35477Solution: Suppress deprecation warning. (closes #11503)
35478
35479Patch 9.0.0833
35480Problem: Mac: no +sound feature in huge build.
35481Solution: Enable +sound in Mac huge build. (closes #11497)
35482
35483Patch 9.0.0834
35484Problem: Warning for missing return type.
35485Solution: Add "int". (San James, closes #11496)
35486
35487Patch 9.0.0835
35488Problem: The window title is not redrawn when 'endoffile' changes.
35489Solution: redraw the window title when 'endoffile' is changed. (Ken Takata,
35490 closes #11488)
35491
35492Patch 9.0.0836
35493Problem: Wrong error when using extend() with funcref.
35494Solution: Better check the variable type. (closes #11468, closes #11455)
35495
35496Patch 9.0.0837
35497Problem: append() reports failure when not appending anything.
35498Solution: Only report failure when appending something. (closes #11498)
35499
35500Patch 9.0.0838
35501Problem: Compiler warnings for unused variables.
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010035502Solution: Adjust #ifdef and remove unused variables. (John Marriott)
Christian Brabandt5872bcb2023-12-19 20:10:43 +010035503
35504Patch 9.0.0839
35505Problem: Test may fail depending on sequence of events.
35506Solution: Accept error codes in either order. (Yee Cheng Chin,
35507 closes #11510)
35508
35509Patch 9.0.0840
35510Problem: Cannot change a slice of a const list. (Takumi KAGIYAMA)
35511Solution: Remove the const flag from the slice type. (closes #11490)
35512
35513Patch 9.0.0841
35514Problem: deletebufline() does not always return 1 on failure.
35515Solution: Refactor the code to make it work more predictable. (closes #11511)
35516
35517Patch 9.0.0842
35518Problem: Unicode range for Apple SF symbols is outdated.
35519Solution: Update to SF Symbols 4. (Yee Cheng Chin, closes #11474)
35520
35521Patch 9.0.0843
35522Problem: VHS tape files are not recognized.
35523Solution: Add a filetype pattern. (Carlos Alexandro Becker, closes #11452)
35524
35525Patch 9.0.0844
35526Problem: Handling 'statusline' errors is spread out.
35527Solution: Pass the option name to the lower levels so the option can be
35528 reset there when an error is encountered. (Luuk van Baal,
35529 closes #11467)
35530
35531Patch 9.0.0845
35532Problem: Shell command with just space gives strange error.
35533Solution: Skip white space at start of the argument. (Christian Brabandt,
35534 Shane-XB-Qian, closes #11515, closes #11495)
35535
35536Patch 9.0.0846
35537Problem: Using assert_fails() may cause hit-enter prompt.
35538Solution: Set no_wait_return. (closes #11522)
35539
35540Patch 9.0.0847
35541Problem: CI: not totally clear what MS-Windows version is used.
35542Solution: Show the Windows version. (Ken Takata, closes #11524)
35543
35544Patch 9.0.0848
35545Problem: Help item for --log argument is not aligned nicely.
35546Solution: Add a Tab. (Ken Takata, closes #11521)
35547
35548Patch 9.0.0849
35549Problem: Terminal mouse test is a bit flaky.
35550Solution: Add WaitFor() calls. (James McCoy closes #11519) Tune wait times
35551 to reduce flakiness.
35552
35553Patch 9.0.0850
35554Problem: MS-Windows Terminal has unstable color control.
35555Solution: Do not try to read the old command prompt colortable, use modern
35556 VT sequences. (Christopher Plewright, closes #11450,
35557 closes #11373)
35558
35559Patch 9.0.0851
35560Problem: Terminal mouse test is still flaky.
35561Solution: Also use WaitForAssert().
35562
35563Patch 9.0.0852
35564Problem: Crypt test is skipped if xxd is not found.
35565Solution: Find xxd where it was supposed to be build.
35566
35567Patch 9.0.0853
35568Problem: Terminal mouse test is still flaky on MacOS M1.
35569Solution: Also wait for the file to have some contents.
35570
35571Patch 9.0.0854
35572Problem: No proper test for what 9.0.0846 fixes.
35573Solution: Run test in a terminal so that the hit-enter prompt can show up.
35574 (closes #11523)
35575
35576Patch 9.0.0855
35577Problem: Comment not located above the code it refers to.
35578Solution: Move the comment. (closes #11527)
35579
35580Patch 9.0.0856
35581Problem: MS-Windows: executable not found when running individual test.
35582Solution: Also look for vimd.exe. (Christopher Plewright, closes #11525)
35583
35584Patch 9.0.0857
35585Problem: Selecting MSVC 2017 does not set $PLATFORM.
35586Solution: Use $VSCMD_ARG_TGT_ARCH. (Ken Takata, closes #11485)
35587
35588Patch 9.0.0858
35589Problem: "!!sort" in a closed fold sorts too many lines.
35590Solution: Round to end of fold after adding the line count. (closes #11487)
35591
35592Patch 9.0.0859
35593Problem: Compiler warning for unused variable.
35594Solution: Add #ifdef.
35595
35596Patch 9.0.0860
35597Problem: MS-Windows: windres fails with clang 15.0.4.
35598Solution: Use llvm-windres. (John Marriott)
35599
35600Patch 9.0.0861
35601Problem: Solution for "!!sort" in closed fold is not optimal.
35602Solution: Use a different range instead of the subtle difference in handling
35603 a range with an offset. (issue #11487)
35604
35605Patch 9.0.0862
35606Problem: Default value of 'endoffile' is wrong.
35607Solution: The default must be 'noendoffile'.
35608
35609Patch 9.0.0863
35610Problem: col() and charcol() only work for the current window.
35611Solution: Add an optional winid argument. (Yegappan Lakshmanan,
35612 closes #11466, closes #11461)
35613
35614Patch 9.0.0864
35615Problem: Crash when using "!!" without a previous shell command.
35616Solution: Check "prevcmd" is not NULL. (closes #11487)
35617
35618Patch 9.0.0865
35619Problem: Duplicate arguments are not always detected.
35620Solution: Expand to full path before comparing arguments. (Nir Lichtman,
35621 closes #11505, closes #9402)
35622
35623Patch 9.0.0866
35624Problem: No test for what patch 8.2.2207 fixes.
35625Solution: Add a test case. (closes #11531)
35626
35627Patch 9.0.0867
35628Problem: Wildmenu redrawing code is spread out.
35629Solution: Refactor to move code together. (closes #11528)
35630
35631Patch 9.0.0868
35632Problem: MS-Windows: after Vim exits console resizing does not work
35633 properly.
35634Solution: Restore screen behavior checks for various WT and VTP
35635 combinations. (Christopher Plewright, closes #11526,
35636 closes #11507)
35637
35638Patch 9.0.0869
35639Problem: Bogus error when string used after :elseif.
35640Solution: Do not consider a double quote the start of a comment.
35641 (closes #11534)
35642
35643Patch 9.0.0870
35644Problem: Get E967 when using text property in quickfix window. (Sergey
35645 Vlasov)
35646Solution: Do not add an extra NUL and compute the text length correctly.
35647 (closes #11513)
35648
35649Patch 9.0.0871
35650Problem: Using freed memory when clearing augroup at more prompt.
35651Solution: Delay clearing augroup until it's safe. (closes #11441)
35652
35653Patch 9.0.0872
35654Problem: Code is indented more than needed.
35655Solution: Return early. (Yegappan Lakshmanan, closes #11538)
35656
35657Patch 9.0.0873
35658Problem: Using freed memory when executing mapclear at the more prompt.
35659Solution: Do not clear mappings while listing them. (closes #11438)
35660
35661Patch 9.0.0874
35662Problem: Using freed memory when executing unmenu at the more prompt.
35663Solution: Do not clear menus while listing them. (closes #11439)
35664
35665Patch 9.0.0875
35666Problem: Using freed memory when executing delfunc at the more prompt.
35667Solution: Check function list not changed in another place. (closes #11437)
35668
35669Patch 9.0.0876
35670Problem: Code is indented more than needed.
35671Solution: Split ExpandEscape() in two. (Yegappan Lakshmanan, closes #11539)
35672
35673Patch 9.0.0877
35674Problem: Using freed memory with :comclear while listing commands.
35675Solution: Bail out when the command list has changed. (closes #11440)
35676
35677Patch 9.0.0878
35678Problem: Coverity warns for dead code.
35679Solution: Remove the dead code.
35680
35681Patch 9.0.0879
35682Problem: Unnecessary nesting in makefile.
35683Solution: Join "else" and "ifeq". (Ken Takata, closes #11547)
35684
35685Patch 9.0.0880
35686Problem: Preprocessor indenting is off.
35687Solution: Adjust preprocessor indentation. (Ken Takata, closes #11546)
35688
35689Patch 9.0.0881
35690Problem: Cannot get the currently showing mouse shape.
35691Solution: Add getmouseshape().
35692
35693Patch 9.0.0882
35694Problem: Using freed memory after SpellFileMissing autocmd uses bwipe.
35695Solution: Bail out if the window no longer exists.
35696
35697Patch 9.0.0883
35698Problem: A silent mapping may cause dots on the command line.
35699Solution: Don't show dots for completion if they are not going to be removed
35700 again. (closes #11501)
35701
35702Patch 9.0.0884
35703Problem: Mouse shape remains in op-pending mode after failed change.
35704Solution: Reset finish_op and restore it. (closes #11545)
35705
35706Patch 9.0.0885
35707Problem: Informational message has an error message number.
35708Solution: Use a message without an error number. (closes #11530)
35709
35710Patch 9.0.0886
35711Problem: Horizontal mouse scroll only works in the GUI.
35712Solution: Make horizontal mouse scroll also work in a terminal.
35713 (Christopher Plewright, closes #11448)
35714
35715Patch 9.0.0887
35716Problem: Cannot easily try out what codes various keys produce.
35717Solution: Add a script to gather key code information, with an initial list
35718 of codes to compare with.
35719
35720Patch 9.0.0888
35721Problem: MS-Windows GUI: CTRL-] does not work on Swiss keyboard.
35722Solution: Check the key code and don't consider it as a dead key. (Aedin
35723 Louis Xavier, closes #11556)
35724
35725Patch 9.0.0889
35726Problem: Keycode check script has a few flaws.
35727Solution: Sort on terminal name. Ignore XTGETTCAP responses. Check for
35728 version and status response. Update entries.
35729
35730Patch 9.0.0890
35731Problem: No test for what patch 9.0.0827 fixes.
35732Solution: Add a test (still doesn't fail when fix is reverted).
35733
35734Patch 9.0.0891
35735Problem: Virtual text below after match has wrong highlight.
35736Solution: Restore search_attr only after the virtual text.
35737 (closes #11446)
35738
35739Patch 9.0.0892
35740Problem: May redraw when not needed, causing slow scrolling.
35741Solution: Do not redraw when w_skipcol doesn't change. When w_skipcol
35742 changes only redraw from the top. (issue #11559)
35743
35744Patch 9.0.0893
35745Problem: 'smoothscroll' cursor calculations wrong when 'number' is set.
35746Solution: Correct the code that computes the width. (closes #11492)
35747
35748Patch 9.0.0894
35749Problem: Virtual text property highlight ignores window background.
35750Solution: Combine text prop attribute with win_attr into extra_attr.
35751 (closes #11462)
35752
35753Patch 9.0.0895
35754Problem: File renamed twice in test; missing feature check.
35755Solution: Remove a rename() call. Add check for cryptv feature.
35756 (closes #11564)
35757
35758Patch 9.0.0896
35759Problem: Test for home key fails when 'term' is "tmux".
35760Solution: Only save termcap entries that exist. Adjust code for xHome to
35761 what xterm uses. (closes #11566)
35762
35763Patch 9.0.0897
35764Problem: Clinical Quality Language files are not recognized.
35765Solution: Add the "*.cql" pattern. (Matthew Gramigna, closes #11452)
35766
35767Patch 9.0.0898
35768Problem: With 'smoothscroll' cursor is one screen line too far down. (Ernie
35769 Rael)
35770Solution: Add a test that currently has the wrong result so that a fix can
35771 be made. (issue #11436)
35772
35773Patch 9.0.0899
35774Problem: The builtin terminals are in one long list.
35775Solution: Refactor into multiple lists and an index of the lists.
35776
35777Patch 9.0.0900
35778Problem: Cursor moves too far with 'smoothscroll'.
35779Solution: Only move as far as really needed. (Yee Cheng Chin, closes #11504)
35780
35781Patch 9.0.0901
35782Problem: Setting w_leftcol and handling side effects is confusing.
35783Solution: Use a function to set w_leftcol() and handle side effects.
35784
35785Patch 9.0.0902
35786Problem: Some mouse scroll code is not in a good place.
35787Solution: Refactor the code. (Christopher Plewright, closes #11561)
35788
35789Patch 9.0.0903
35790Problem: Key code checker doesn't check modifyOtherKeys resource.
35791Solution: Request the modifyOtherKeys resource value. Drop resource DCS
35792 responses.
35793
35794Patch 9.0.0904
35795Problem: Various comment and indent flaws.
35796Solution: Improve comments and indenting.
35797
35798Patch 9.0.0905
35799Problem: Virtual text after the line wraps when 'wrap' is off.
35800Solution: Only set text_prop_follows when wrapping. (closes #11463)
35801
35802Patch 9.0.0906
35803Problem: Mouse scroll code is not optimal.
35804Solution: Properly organise Normal mode, Insert mode and common code.
35805 (Christopher Plewright, closes #11572)
35806
35807Patch 9.0.0907
35808Problem: Restoring window after WinScrolled may fail.
35809Solution: Lock the window layout when triggering WinScrolled.
35810
35811Patch 9.0.0908
35812Problem: With 'smoothscroll' cursor may end up in wrong position.
35813Solution: Correct the computation of screen lines. (Yee Cheng Chin,
35814 closes #11502)
35815
35816Patch 9.0.0909
35817Problem: Error message for layout change does not match action.
35818Solution: Pass the command to where the error is given. (closes #11573)
35819
35820Patch 9.0.0910
35821Problem: Setting lines in another buffer may not work well.
35822Solution: Make sure the buffer being changed has a window. (issue #11558)
35823
35824Patch 9.0.0911
35825Problem: With 'smoothscroll' set mouse click position may be wrong.
35826Solution: Adjust computations for w_skipcol. (Yee Cheng Chin, closes #11514)
35827
35828Patch 9.0.0912
35829Problem: libvterm with modifyOtherKeys level 2 does not match xterm.
35830Solution: Adjust key code escape sequences to be the same as what xterm
35831 sends in modifyOtherKeys level 2 mode. Check the value of
35832 no_reduce_keys before using it.
35833
35834Patch 9.0.0913
35835Problem: Only a change in the current window triggers the WinScrolled
35836 event.
35837Solution: Trigger WinScrolled if any window scrolled or changed size.
35838 (issue #11576)
35839
35840Patch 9.0.0914
35841Problem: deletebufline() may move marks in the wrong window.
35842Solution: Find a window for the buffer being changed. (closes #11583)
35843
35844Patch 9.0.0915
35845Problem: WinScrolled may trigger immediately when defined.
35846Solution: Initialize the fields in all windows. (closes #11582)
35847
35848Patch 9.0.0916
35849Problem: getbufline() is inefficient for getting a single line.
35850Solution: Add getbufoneline().
35851
35852Patch 9.0.0917
35853Problem: The WinScrolled autocommand event is not enough.
35854Solution: Add WinResized and provide information about what changed.
35855 (closes #11576)
35856
35857Patch 9.0.0918
35858Problem: MS-Windows: modifier keys do not work with mouse scroll events.
35859Solution: Use K_SPECIAL instead of CSI for the modifier keys. (Christopher
35860 Plewright, closes #11587)
35861
35862Patch 9.0.0919
35863Problem: Build failure with tiny features.
35864Solution: Adjust #ifdef's.
35865
35866Patch 9.0.0920
35867Problem: Cannot find an import prefixed with "s:". (Doug Kearns)
35868Solution: Skip over the "s:". (closes #11585)
35869
35870Patch 9.0.0921
35871Problem: Missing defined(PROTO) in #ifdef.
35872Solution: Adjust #ifdef so that proto works with different features.
35873 Clean up some preprocessor indenting.
35874
35875Patch 9.0.0922
35876Problem: Mermaid files are not recognized.
35877Solution: Add patterns for Mermaid. (Crag MacEachern)
35878
35879Patch 9.0.0923
35880Problem: Second SIGWINCH signal may be ignored.
35881Solution: When set_shellsize() is busy when called then run the inner code
35882 again when it's done. (issue #424)
35883
35884Patch 9.0.0924
35885Problem: The first termcap entry of a builtin termcap is not used.
35886Solution: Remove increment that was previously skipping the KS_NAME entry.
35887
35888Patch 9.0.0925
35889Problem: Two conditions are always false.
35890Solution: Remove the conditions. Update return value types to make clear
35891 what could be returned. (closes #11593)
35892
35893Patch 9.0.0926
35894Problem: Coverity warns for not using return value of dict_add().
35895Solution: When dict_add() fails then don't call hash_remove().
35896
35897Patch 9.0.0927
35898Problem: Coverity warns for using a NULL pointer.
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010035899Solution: Check for memory allocation failure.
Christian Brabandt5872bcb2023-12-19 20:10:43 +010035900
35901Patch 9.0.0928
35902Problem: Using Ruby LDFLAGS may cause build problems.
35903Solution: Do not add Ruby LDFLAGS to Vim's LDFLAGS. (Zdenek Dohnal,
35904 closes #11592)
35905
35906Patch 9.0.0929
35907Problem: Build failure with tiny version. (Tony Mechelynck)
35908Solution: Add #ifdef.
35909
35910Patch 9.0.0930
35911Problem: Cannot debug the Kitty keyboard protocol with TermDebug.
35912Solution: Add Kitty keyboard protocol support to the libvterm fork.
35913 Recognize the escape sequences that the protocol generates. Add
35914 the 'keyprotocol' option to allow the user to specify for which
35915 terminal what protocol is to be used, instead of hard-coding this.
35916 Add recognizing the kitty keyboard protocol status.
35917
35918Patch 9.0.0931
35919Problem: MS-Windows: mouse column limited to 223.
35920Solution: Use two bytes for each mouse coordinate. Add the mouse position
35921 to scroll events. (Christopher Plewright, closes #11597)
35922
35923Patch 9.0.0932
35924Problem: Oblivion files are not recognized.
35925Solution: Recognize Oblivion files and alike as "obse". (closes #11540)
35926
35927Patch 9.0.0933
35928Problem: Kitty shows "already at oldest change" on startup.
35929Solution: When receiving the keyboard protocol state return the ignore key.
35930 (closes #11601)
35931
35932Patch 9.0.0934
35933Problem: Various code formatting issues.
35934Solution: Improve code formatting.
35935
35936Patch 9.0.0935
35937Problem: When using dash it may not be recognize as filetype "sh".
35938Solution: Add checks for "dash". (Eisuke Kawashima,closes #11600)
35939
35940Patch 9.0.0936
35941Problem: Wrong type for "isunnamed" returned by getreginfo().
35942Solution: Use VAR_BOOL instead of VAR_SPECIAL. (closes #11598)
35943
35944Patch 9.0.0937
35945Problem: Forked repositories send out useless email.
35946Solution: When Coverity fails to run just ignore it. (Shane-XB-Qian,
35947 closes #11604)
35948
35949Patch 9.0.0938
35950Problem: MS-Windows: debug executable not found when running test.
35951Solution: Look for vimd.exe. (Christopher Plewright, closes #11602)
35952
35953Patch 9.0.0939
35954Problem: Still using simplified mappings when using the kitty keyboard
35955 protocol.
35956Solution: Use the kitty_protocol_state value to decide whether to use
35957 simplified mappings. Improve how seenModifyOtherKeys is set and
35958 reset.
35959
35960Patch 9.0.0940
35961Problem: Crash when typing a letter in a terminal window. (Shane-XB-Qian)
35962Solution: Use the "vterm" variable instead of getting the terminal pointer
35963 from the current buffer. (closes #11608)
35964
35965Patch 9.0.0941
35966Problem: CI failures in sound dummy.
35967Solution: Temporarily disable building sound dummy. (closes #11610)
35968
35969Patch 9.0.0942
35970Problem: Workflow Description Language files are not recognized.
35971Solution: Add a pattern for the "wdl" filetype. (Matt Dunford,
35972 closes #11611)
35973
35974Patch 9.0.0943
35975Problem: Pretending to go out of Insert mode when Esc is received has side
35976 effects.
35977Solution: When the kitty keyboard protocol is enabled expect Esc to always
35978 be the start of an escape sequence.
35979
35980Patch 9.0.0944
35981Problem: 'cursorline' causes virtual text highlight to continue.
35982Solution: Save and restore line_attr. (closes #11588)
35983
35984Patch 9.0.0945
35985Problem: Failures in the cursorline test.
35986Solution: Reset extra_attr only after a text property.
35987
35988Patch 9.0.0946
35989Problem: CI: Error in Coverity flow is not reported.
35990Solution: Use another way to avoid errors in a forked repository. (Ken
35991 Takata, closes #11609)
35992
35993Patch 9.0.0947
35994Problem: Invalid memory access in substitute with function that goes to
35995 another file.
35996Solution: Check for text locked in CTRL-W gf.
35997
35998Patch 9.0.0948
35999Problem: 'ttyfast' is set for arbitrary terminals.
36000Solution: Always set 'ttyfast'. (closes #11549)
36001
36002Patch 9.0.0949
36003Problem: Crash when unletting a variable while listing variables.
36004Solution: Disallow changing a hashtable while going over the entries.
36005 (closes #11435)
36006
36007Patch 9.0.0950
36008Problem: The pattern "\_s\zs" matches at EOL.
36009Solution: Make the pattern "\_s\zs" match at the start of the next line.
36010 (closes #11617)
36011
36012Patch 9.0.0951
36013Problem: Trying every character position for a match is inefficient.
36014Solution: Use the start position of the match ignoring "\zs".
36015
36016Patch 9.0.0952
36017Problem: Eclipse preference files are not recognized.
36018Solution: Add a pattern to use "jproperties" for Eclipse preference files.
36019 (closes #11618)
36020
36021Patch 9.0.0953
36022Problem: Part of making search more efficient is missing.
36023Solution: Add the change in searchit().
36024
36025Patch 9.0.0954
36026Problem: Cannot detect whether modifyOtherKeys is enabled.
36027Solution: Use XTQMODKEYS introduced by xterm version 377 to request the
36028 modifyOtherKeys level. Update the keycode check results.
36029
36030Patch 9.0.0955
36031Problem: Libvterm does not support the XTQMODKEYS request.
36032Solution: Implement the XTQMODKEYS request and response. Update the keycode
36033 check results.
36034
36035Patch 9.0.0956
36036Problem: Terminal tests fail when using key with modifier.
36037Solution: Use the modifyOtherKeys encoding when using RunVimInTerminal().
36038
36039Patch 9.0.0957
36040Problem: Tests fail without the terminal feature.
36041Solution: Move functions to another utility script.
36042
36043Patch 9.0.0958
36044Problem: Messages test is flaky.
36045Solution: Add a short delay.
36046
36047Patch 9.0.0959
36048Problem: Error when using the "File Settings / Text Width" menu.
36049Solution: Use str2nr(). (closes #11624)
36050
36051Patch 9.0.0960
36052Problem: Error when using the "Tools / Spelling / Find More Languages"
36053 menu.
36054Solution: Remove "<SID>". Reset "g:menutrans_set_lang_to" when 'encoding'
36055 changes. (closes #11625)
36056
36057Patch 9.0.0961
36058Problem: Using deletebufline() may jump to another window.
36059Solution: Do not use a window where the buffer was only in the past.
36060 (closes #11594)
36061
36062Patch 9.0.0962
36063Problem: Virtual text below cannot be placed below empty lines.
36064Solution: Add one character. (James Alvarado, closes #11606, closes #11520)
36065
36066Patch 9.0.0963
36067Problem: Function name does not match autocmd event name.
36068Solution: Rename "optionsset" to "optionset". (closes #11630)
36069
36070Patch 9.0.0964
36071Problem: Status line of other window not redrawn when dragging it when
36072 'splitkeep' is set to "screen".
36073Solution: Set w_redr_status earlier. (Luuk van Baal, closes #11635,
36074 closes #11632)
36075
36076Patch 9.0.0965
36077Problem: Using one window for executing autocommands is insufficient.
36078Solution: Use up to five windows for executing autocommands.
36079
36080Patch 9.0.0966
36081Problem: Some compilers don't allow a declaration after a label.
36082Solution: Move the declaration to the start of the block. (John Marriott)
36083
36084Patch 9.0.0967
36085Problem: Leaking memory from autocmd windows.
36086Solution: Free window when auc_win is not NULL.
36087
36088Patch 9.0.0968
36089Problem: GUI mouse event test is a bit flaky.
36090Solution: Mark the test case as flaky. Move test function failure checks to
36091 a separate test function.
36092
36093Patch 9.0.0969
36094Problem: Matchparen highlight is not updated when switching buffers.
36095Solution: Listen to the BufLeave and the BufWinEnter autocmd events.
36096 (closes #11626)
36097
36098Patch 9.0.0970
36099Problem: Coverity warns for uninitialized variable.
36100Solution: Initialize "ren_ret".
36101
36102Patch 9.0.0971
36103Problem: Escape sequences not recognized without the termresponse feature.
36104Solution: Recognize escape sequences to avoid display mess up.
36105
36106Patch 9.0.0972
36107Problem: Build failure on some systems.
36108Solution: Adjust #ifdefs related to the termresponse feature.
36109
36110Patch 9.0.0973
36111Problem: Kitty keyboard protocol key not decoded when it has an unsupported
36112 modifier, such as NumLock.
36113Solution: Accept a key with any modifier. (closes #11638)
36114
36115Patch 9.0.0974
36116Problem: Even when Esc is encoded a timeout is used.
36117Solution: Use K_ESC when an encoded Esc is found.
36118
36119Patch 9.0.0975
36120Problem: Virtual text below an empty line is misplaced when 'number' is
36121 set.
36122Solution: Adjust the computations. (closes #11629)
36123
36124Patch 9.0.0976
36125Problem: Enabling the kitty keyboard protocol uses push/pop.
36126Solution: Use the start/stop codes to avoid unpredictable behavior.
36127
36128Patch 9.0.0977
36129Problem: It is not easy to see what client-server commands are doing.
36130Solution: Add channel log messages if ch_log() is available. Move the
36131 channel logging and make it available with the +eval feature.
36132
36133Patch 9.0.0978
36134Problem: Build errors without the +channel feature. (John Marriott)
36135Solution: Adjust #ifdefs.
36136
36137Patch 9.0.0979
36138Problem: ch_log() text can be hard to find in the log file.
36139Solution: Prepend "ch_log()" to the text.
36140
36141Patch 9.0.0980
36142Problem: The keyboard state response may end up in a shell command.
36143Solution: Only request the keyboard protocol state when the typeahead is
36144 empty, no more commands are following and not exiting. Add the
36145 t_RK termcap entry for this.
36146
36147Patch 9.0.0981
36148Problem: Build error in tiny version.
36149Solution: Add #ifdef.
36150
36151Patch 9.0.0982
36152Problem: 'cursorline' not drawn before virtual text below.
36153Solution: Add the 'cursorline' attribute to the empty space. (closes #11647)
36154
36155Patch 9.0.0983
36156Problem: Stray characters displayed when starting the GUI.
36157Solution: Add t_RK to the list of terminal options.
36158
36159Patch 9.0.0984
36160Problem: GUI: remote_foreground() does not always work. (Ron Aaron)
36161Solution: For GTK use gtk_window_set_keep_above(). (issue #11641)
36162
36163Patch 9.0.0985
36164Problem: When using kitty keyboard protocol function keys may not work.
36165 (Kovid Goyal)
36166Solution: Recognize CSI ending in [ABCDEFHPQRS] also when the termcap
36167 entries are not specified. (closes #11648)
36168
36169Patch 9.0.0986
36170Problem: Build failure with tiny version.
36171Solution: Add #ifdef.
36172
36173Patch 9.0.0987
36174Problem: File missing from list of distributed files.
36175Solution: Add logfile.pro to list of distributed files.
36176
36177Patch 9.0.0988
36178Problem: Using feedkeys() does not show up in a channel log.
36179Solution: Add ch_log() calls and clean up the code.
36180
36181Patch 9.0.0989
36182Problem: Popupwin test is more flaky on MacOS.
36183Solution: Use a longer wait time.
36184
36185Patch 9.0.0990
36186Problem: Callback name argument is changed by setqflist().
36187Solution: Use the expanded function name for the callback, do not store it
36188 in the argument. (closes #11653)
36189
36190Patch 9.0.0991
36191Problem: Crash when reading help index with various options set. (Marius
36192 Gedminas)
36193Solution: Do not set wlv.c_extra to NUL when wlv.p_extra is NULL.
36194 (closes #11651)
36195
36196Patch 9.0.0992
36197Problem: Vim9 script: get E1096 when comment follows return.
36198Solution: Adjust condition for return without expression. (closes #11654)
36199
36200Patch 9.0.0993
36201Problem: Display errors when adding or removing text property type.
36202Solution: Perform a full redraw. Only use text properties for which the
36203 type is defined. (closes #11655)
36204
36205Patch 9.0.0994
36206Problem: Tests for empty prop type name fail.
36207Solution: Correct the error number.
36208
36209Patch 9.0.0995
36210Problem: Padding before virtual text below is highlighted when 'number' and
36211 'nowrap' are set.
36212Solution: Save and restore n_attr_skip. (closes #11643)
36213
36214Patch 9.0.0996
36215Problem: If 'keyprotocol' is empty "xterm" still uses modifyOtherKeys.
36216Solution: Remove t_TI, t_RK and t_TE from the "xterm" builtin termcap and
36217 let the default value of 'keyprotocol' add those.
36218
36219Patch 9.0.0997
36220Problem: Coverity warns for dead code.
36221Solution: Don't use ASCII_ISUPPER() for a negative value.
36222
36223Patch 9.0.0998
36224Problem: "gk" may reset skipcol when not needed.
36225Solution: Only reset skipcol if the cursor column is less.
36226
36227Patch 9.0.0999
36228Problem: Memory may leak.
36229Solution: Free the sound callback function name if it was allocated.
36230
36231Patch 9.0.1000
36232Problem: With 'smoothscroll' skipcol may be reset unnecessarily.
36233Solution: Check the line does actually fit in the window.
36234
36235Patch 9.0.1001
36236Problem: Classes are not documented or implemented yet.
36237Solution: Make the first steps at documenting Vim9 objects, classes and
36238 interfaces. Make initial choices for the syntax. Add a skeleton
36239 implementation. Add "public" and "this" in the command table.
36240
36241Patch 9.0.1002
36242Problem: Command list test fails.
36243Solution: Add commands added to the list.
36244
36245Patch 9.0.1003
36246Problem: Tiny build fails.
36247Solution: Remove #ifdef from error message.
36248
36249Patch 9.0.1004
36250Problem: Suspend test sometimes fails on MacOS.
36251Solution: Wait a short while for terminal responses.
36252
36253Patch 9.0.1005
36254Problem: A failed test may leave a swap file behind.
36255Solution: Delete the swap file to avoid another test to fail. Use another
36256 file name.
36257
36258Patch 9.0.1006
36259Problem: Suspend test still sometimes fails on MacOS.
36260Solution: Wait a little while for terminal responses.
36261
36262Patch 9.0.1007
36263Problem: There is no way to get a list of swap file names.
36264Solution: Add the swapfilelist() function. Use it in the test script to
36265 clean up. Remove deleting individual swap files.
36266
36267Patch 9.0.1008
36268Problem: Test for swapfilelist() fails on MS-Windows.
36269Solution: Only check the tail of the path. Mark a test as flaky.
36270
36271Patch 9.0.1009
36272Problem: Test for catch after interrupt is flaky on MS-Windows.
36273Solution: Mark the test as flaky.
36274
36275Patch 9.0.1010
36276Problem: Stray warnings for existing swap files.
36277Solution: Wipe out the buffer until it has no name and no swap file.
36278
36279Patch 9.0.1011
36280Problem: ml_get error when using screenpos().
36281Solution: Give an error for the line number. (closes #11661)
36282
36283Patch 9.0.1012
36284Problem: Tests may get stuck in buffer with swap file.
36285Solution: Bail out when bwipe! doesn't get another buffer.
36286
36287Patch 9.0.1013
36288Problem: Suspend test often fails on Mac OS.
36289Solution: Make t_RP empty.
36290
36291Patch 9.0.1014
36292Problem: Zir files are not recognized.
36293Solution: Add a pattern for Zir files. (closes #11664)
36294
36295Patch 9.0.1015
36296Problem: Without /dev/urandom srand() seed is too predictable.
36297Solution: Use micro seconds and XOR with process ID. (Yasuhiro Matsumoto,
36298 closes #11656)
36299
36300Patch 9.0.1016
36301Problem: screenpos() does not count filler lines for diff mode.
36302Solution: Add filler lines. (closes 11658)
36303
36304Patch 9.0.1017
36305Problem: Test for srand() fails on MS-Windows.
36306Solution: Do not expect the same result a second time.
36307
36308Patch 9.0.1018
36309Problem: Suspend test still fails on Mac OS.
36310Solution: Make 'keyprotocol' empty.
36311
36312Patch 9.0.1019
36313Problem: 'smoothscroll' and virtual text above don't work together.
36314 (Yee Cheng Chin)
36315Solution: Skip virtual text above when w_skipcol is non-zero.
36316 (closes #11665)
36317
36318Patch 9.0.1020
36319Problem: Tests call GetSwapFileList() before it is defined.
36320Solution: Move the call to after defining the function. (Christopher
36321 Plewright)
36322
36323Patch 9.0.1021
36324Problem: Test trips over g:name.
36325Solution: Delete g:name after using it.
36326
36327Patch 9.0.1022
36328Problem: Suspend test fails on Mac OS when suspending Vim.
36329Solution: Make 'keyprotocol' empty.
36330
36331Patch 9.0.1023
36332Problem: MS-Windows: dynamic loading of libsodium doesn't work.
36333Solution: Add "randombytes_random". (Ken Takata, closes #11667)
36334
36335Patch 9.0.1024
36336Problem: CI doesn't use the latest FreeBSD version.
36337Solution: Go from 12.3 to 12.4. (closes #11423)
36338
36339Patch 9.0.1025
36340Problem: WinScrolled is not triggered when filler lines change.
36341Solution: Add "topfill" to the values that WinScrolled triggers on.
36342 (closes #11668)
36343
36344Patch 9.0.1026
36345Problem: type of w_last_topfill is wrong.
36346Solution: Use "int" instead of "linenr_T". (closes #11670)
36347
36348Patch 9.0.1027
36349Problem: LGTM is soon shutting down.
36350Solution: Remove LGTM from CI. (closes #11671)
36351
36352Patch 9.0.1028
36353Problem: Mouse shape test is flaky, especially on Mac OS.
36354Solution: Instead of starting all timers at the same time, start the next
36355 one in the callback of the previous one. (Yee Cheng Chin,
36356 closes #11673) Also use "bwipe!" instead of "close!" to avoid
36357 swap files remaining.
36358
36359Patch 9.0.1029
36360Problem: Autoload directory missing from distribution.
36361Solution: Add the autoload/zig directory to the list of distributed files.
36362
36363Patch 9.0.1030
36364Problem: Using freed memory with the cmdline popup menu.
36365Solution: Clear the popup menu when clearing the matches. (closes #11677)
36366
36367Patch 9.0.1031
36368Problem: Vim9 class is not implemented yet.
36369Solution: Add very basic class support.
36370
36371Patch 9.0.1032
36372Problem: Test fails when terminal feature is missing.
36373Solution: Use CheckRunVimInTerminal.
36374
36375Patch 9.0.1033
36376Problem: Tiny build fails because of conflicting typedef.
36377Solution: Remove one typedef.
36378
36379Patch 9.0.1034
36380Problem: Reporting swap file when windows are split.
36381Solution: Close extra windows after running a test.
36382
36383Patch 9.0.1035
36384Problem: Object members are not being marked as used, garbage collection
36385 may free them.
36386Solution: Mark object members as used. Fix reference counting.
36387
36388Patch 9.0.1036
36389Problem: Undo misbehaves when writing from an insert mode mapping.
36390Solution: Sync undo when writing. (closes #11674)
36391
36392Patch 9.0.1037
36393Problem: lalloc(0) error for a class without members.
36394Solution: Don't allocate room for members if there aren't any.
36395 Don't create the class if there was an error.
36396
36397Patch 9.0.1038
36398Problem: Function name does not match what it is used for.
36399Solution: Include the modifier in the name. (closes #11679)
36400
36401Patch 9.0.1039
36402Problem: Using a <Cmd> mapping CmdlineChanged may be triggered twice.
36403Solution: Count the number of times CmdlineChanged is triggered and avoid
36404 doing it twice. (closes #116820
36405
36406Patch 9.0.1040
36407Problem: Test for <Cmd> mapping with CmdlineChanged fails.
36408Solution: Put back the check for the cmdline length not changing.
36409
36410Patch 9.0.1041
36411Problem: Cannot define a method in a class.
36412Solution: Implement defining an object method. Make calling an object
36413 method work.
36414
36415Patch 9.0.1042
36416Problem: ASAN gives false alarm about array access.
36417Solution: Use an intermediate pointer.
36418
36419Patch 9.0.1043
36420Problem: Macro has confusing name and is duplicated.
36421Solution: Use one macro with an understandable name. (closes #11686)
36422
36423Patch 9.0.1044
36424Problem: Setting window height using Python may cause errors.
36425Solution: When setting "curwin" also set "curbuf". (closes #11687)
36426
36427Patch 9.0.1045
36428Problem: In a class object members cannot be initialized.
36429Solution: Support initializing object members. Make "dissassemble" work on
36430 an object method.
36431
36432Patch 9.0.1046
36433Problem: Class method disassemble test fails on MS-Windows.
36434Solution: Do not match with a specific size.
36435
36436Patch 9.0.1047
36437Problem: Matchparen is slow.
36438Solution: Actually use the position where the match started, not the
36439 position where the search started. (closes #11644)
36440
36441Patch 9.0.1048
36442Problem: With "screenline" in 'culopt' cursorline highlight is wrong.
36443Solution: Apply the priority logic also when "screenline is in 'culopt'.
36444 (closes #11696)
36445
36446Patch 9.0.1049
36447Problem: Crash when opening a very small terminal window.
36448Solution: Instead of crashing fix the cursor position. (closes #11697)
36449
36450Patch 9.0.1050
36451Problem: Using freed memory when assigning to variable twice.
36452Solution: Make copy of the list type. (closes #11691)
36453
36454Patch 9.0.1051
36455Problem: After a failed CTRL-W ] next command splits window.
36456Solution: Reset postponed_split. (Rob Pilling, closes #11698)
36457
36458Patch 9.0.1052
36459Problem: Using freed memory on exit when EXITFREE is defined.
36460Solution: Make a deep copy of the type. Make sure TTFLAG_STATIC is not set
36461 in the copy.
36462
36463Patch 9.0.1053
36464Problem: Default constructor arguments are not optional.
36465Solution: Use "= v:none" to make constructor arguments optional.
36466
36467Patch 9.0.1054
36468Problem: Object member can't get type from initializer.
36469Solution: If there is no type specified try to use the type of the
36470 initializer. Check for a valid type.
36471
36472Patch 9.0.1055
36473Problem: Coverity warns for using uninitialized memory.
36474Solution: Clear the "lhs" field earlier.
36475
36476Patch 9.0.1056
36477Problem: Leaking memory when disassembling an object method.
36478Solution: Free the typval of the class.
36479
36480Patch 9.0.1057
36481Problem: Conflict between supercollider and scala filetype detection.
36482Solution: Do not check for "Class : Method", it can appear in both
36483 filetypes. (Chris Kipp, closes #11699)
36484
36485Patch 9.0.1058
36486Problem: String value of class and object do not have useful information.
36487Solution: Add the class name and for the object the member values.
36488
36489Patch 9.0.1059
36490Problem: Build failure with some compilers that can't handle a
36491 declaration directly after a "case" statement.
36492Solution: Add a block to put the declarations in.
36493
36494Patch 9.0.1060
36495problem: Private and public object members are not implemented yet.
36496Solution: Implement private and public object members.
36497
36498Patch 9.0.1061
36499Problem: Cannot display 'showcmd' somewhere else.
36500Solution: Add the 'showcmdloc' option. (Luuk van Baal, closes #11684)
36501
36502Patch 9.0.1062
36503Problem: Some test function names do not match what they are doing.
36504Solution: Leave out user data for the test that is called "NoUserData".
36505 (closes #11703)
36506
36507Patch 9.0.1063
36508Problem: When using Kitty a shell command may mess up the key protocol
36509 state.
36510Solution: Output t_te before t_TE. If t_te switches between the main and
36511 the alternate screen then deactivating the key protocol by t_TE
36512 should happen after switching screen. (issue #11705)
36513
36514Patch 9.0.1064
36515Problem: Code for making 'shortmess' temporarily empty is repeated.
36516Solution: Add functions for making 'shortmess' empty and restoring it.
36517 (Christian Brabandt, closes #11709)
36518
36519Patch 9.0.1065
36520Problem: A shell command switching screens may still have a problem with
36521 the kitty keyboard protocol.
36522Solution: Disable the kitty keyboard protocol both in the current and the
36523 alternate screen, if there are indications it might be needed.
36524 (issue #11705) Also fix naming.
36525
36526Patch 9.0.1066
36527Problem: Test function name is wrong.
36528Solution: Rename to what is actually being tested. (closes #11712)
36529
36530Patch 9.0.1067
36531Problem: In diff mode virtual text is highlighted incorrectly. (Rick Howe)
36532Solution: Do not use diff attributes for virtual text. (closes #11714)
36533
36534Patch 9.0.1068
36535Problem: No information about whether requesting term codes has an effect.
36536Solution: Add ch_log() calls to report the effect of term code responses.
36537 Avoid deleting an entry and then adding back the same one.
36538
36539Patch 9.0.1069
36540Problem: Diff mode highlight fails for special characters.
36541Solution: Adjust condition for setting "diff_hlf".
36542
36543Patch 9.0.1070
36544Problem: Reading beyond array size.
36545Solution: Only use name[0] and name[1], do not use "name" as a string.
36546
36547Patch 9.0.1071
36548Problem: Codecov action version is too specific.
36549Solution: Only use "v3" to automatically use the latest stable version.
36550 (closes #11720)
36551
36552Patch 9.0.1072
36553Problem: screenpos() column result in fold may be too small.
36554Solution: Add space of 'number', sign column, etc. (closes #11715)
36555
36556Patch 9.0.1073
36557Problem: Using "xterm-kitty" for 'term' causes problems.
36558Solution: Remove the "xterm-" part when 'term' is set from $TERM. Detect a
36559 few kitty-specific properties based on the version response
36560 instead of the terminal name.
36561
36562Patch 9.0.1074
36563Problem: Class members are not supported yet.
36564Solution: Add initial support for class members.
36565
36566Patch 9.0.1075
36567Problem: build fails if the compiler doesn't allow for a declaration right
36568 after "case".
36569Solution: Add a block.
36570
36571Patch 9.0.1076
36572Problem: ASAN complains about NULL argument.
36573Solution: Skip memmove() when there is nothing to move.
36574
36575Patch 9.0.1077
36576Problem: Can add text property with negative ID before virtual text
36577 property.
36578Solution: Remember that a text property with a negative ID was used and give
36579 an appropriate error message. (closes #11725)
36580 Fix index computation.
36581
36582Patch 9.0.1078
36583Problem: With the +vartabs feature indent folding may use wrong 'tabstop'.
36584Solution: Use the "buf" argument instead of "curbuf".
36585
36586Patch 9.0.1079
36587Problem: Leaking memory when defining a user command fails.
36588Solution: Free "compl_arg" when needed. (closes #11726)
36589
36590Patch 9.0.1080
36591Problem: The "kitty" terminfo entry is not widespread, resulting in the
36592 kitty terminal not working properly.
36593Solution: Go back to using "xterm-kitty" and avoid the problems it causes in
36594 another way.
36595
36596Patch 9.0.1081
36597Problem: Using "->" with split lines does not always work.
36598Solution: Avoid trying to get another line. (closes #11723)
36599
36600Patch 9.0.1082
36601Problem: Some jsonc files are not recognized.
36602Solution: Add patterns for jsonc and move some from json to jsonc.
36603 (closes #11711)
36604
36605Patch 9.0.1083
36606Problem: Empty and comment lines in a class cause an error.
36607Solution: Skip empty and comment lines. (closes #11734)
36608
36609Patch 9.0.1084
36610Problem: Code handling low level MS-Windows events cannot be tested.
36611Solution: Add test_mswin_event() and tests using it. (Christopher Plewright,
36612 closes #11622)
36613
36614Patch 9.0.1085
36615Problem: Compiler warns for uninitialized variable.
36616Solution: Initialize the variable. Remove unused function. (John Marriott)
36617
36618Patch 9.0.1086
36619Problem: Display wrong in Windows terminal after exiting Vim.
36620Solution: Apply screen restore fix for Windows 11 also to Windows 10 builds.
36621 (Christopher Plewright, closes #11713, closes #11706)
36622
36623Patch 9.0.1087
36624Problem: Autocommand test sometimes fails.
36625Solution: Add a short delay. (James McCoy, closes #11737)
36626
36627Patch 9.0.1088
36628Problem: Clang warns for unused variable.
36629Solution: Adjust #ifdef. (John Marriott)
36630
36631Patch 9.0.1089
36632Problem: unnessary assignment
36633Solution: Remove the assignment. (Luuk van Baal, closes #1136)
36634
36635Patch 9.0.1090
36636Problem: FHIR Shorthand files are not recognized.
36637Solution: Add a pattern to detect FSH files. (Matthew Gramigna,
36638 closes #11738)
36639
36640Patch 9.0.1091
36641Problem: Assignment to non-existing member causes a crash. (Yegappan
36642 Lakshmanan)
36643Solution: Give an error message and bail out when a member cannot be found.
36644
36645Patch 9.0.1092
36646Problem: Search error message doesn't show used pattern.
36647Solution: Pass the actually used pattern to where the error message is
36648 given. (Rob Pilling, closes #11742)
36649
36650Patch 9.0.1093
36651Problem: Using freed memory of object member. (Yegappan Lakshmanan)
36652Solution: Make a copy of the object member when getting it.
36653
36654Patch 9.0.1094
36655Problem: Compiler warning when HAS_MESSAGE_WINDOW is not defined.
36656Solution: Add UNUSED.
36657
36658Patch 9.0.1095
36659Problem: Using freed memory when declaration fails. (Yegappan Lakshmanan)
36660Solution: After unreferencing an object set the reference to NULL.
36661
36662Patch 9.0.1096
36663Problem: Reallocating hashtab when the size didn't change.
36664Solution: Bail out when the hashtab is already the desired size.
36665
36666Patch 9.0.1097
36667Problem: Tests are failing.
36668Solution: Do clean up a hashtab when at the initial size.
36669
36670Patch 9.0.1098
36671Problem: Code uses too much indent.
36672Solution: Use an early return. (Yegappan Lakshmanan, closes #11747)
36673
36674Patch 9.0.1099
36675Problem: Trying to resize a hashtab may cause a problem.
36676Solution: Do not try to resize a hashtab before adding an item.
36677
36678Patch 9.0.1100
36679Problem: A hashtab with many removed items is not cleaned up.
36680Solution: Re-hash a hashtab even when the size didn't change if too many
36681 items were removed.
36682
36683Patch 9.0.1101
36684Problem: Unused global variable.
36685Solution: Remove the variable. (closes #11752)
36686
36687Patch 9.0.1102
36688Problem: Complicated use of #ifdef.
36689Solution: Simplify #ifdef use. (Ken Takata, closes #11745)
36690
36691Patch 9.0.1103
36692Problem: jq files are not recognized.
36693Solution: Add detection of Jq files. (David McDonald, closes #11743)
36694
36695Patch 9.0.1104
36696Problem: Invalid memory access when checking function argument types.
36697Solution: Do not check beyond the number of arguments. (closes #11755)
36698
36699Patch 9.0.1105
36700Problem: Code is indented too much.
36701Solution: Use an early return. (Yegappan Lakshmanan, closes #11756)
36702
36703Patch 9.0.1106
36704Problem: Not all postfix files are recognized.
36705Solution: Recognize main.cf.proto files. (closes #11732)
36706
36707Patch 9.0.1107
36708Problem: Float constant not recognized as float.
36709Solution: Check the vartype instead of comparing with t_float.
36710 (closes #11754)
36711
36712Patch 9.0.1108
36713Problem: Type error when using "any" type and adding a number to a float.
36714Solution: Accept both a number and a float. (closes #11753)
36715
36716Patch 9.0.1109
36717Problem: Leaking allocated type.
36718Solution: Reset the "static" flag in the allocated type copy.
36719
36720Patch 9.0.1110
36721Problem: Build fails on Mac OS X 10.4/10.5 .
36722Solution: Check if the dispatch/dispatch.h header exists. (Evan Miller,
36723 closes #11746)
36724
36725Patch 9.0.1111
36726Problem: Termcap entries for RGB colors are not set automatically.
36727Solution: Always set the termcap entries when +termguicolors is enabled.
36728
36729Patch 9.0.1112
36730Problem: test_mswin_event() can hang.
36731Solution: Add the "execute" argument to process events right away.
36732 (Christopher Plewright, closes #11760)
36733
36734Patch 9.0.1113
36735Problem: Users cannot easily try out a PR.
36736Solution: Add an "artifacts" section to the AppVeyor CI config. (Christian
36737 Brabandt, closes #11762)
36738
36739Patch 9.0.1114
36740Problem: CI does not use the latest Python version.
36741Solution: Switch from Python 3.10 to 3.11. (closes #11761)
36742
36743Patch 9.0.1115
36744Problem: Code is indented more than needed.
36745Solution: Use an early return to reduce indenting. (Yegappan Lakshmanan,
36746 closes #11758)
36747
36748Patch 9.0.1116
36749Problem: Compiler may complain about an unused function.
36750Solution: Add #ifdef. (John Marriott)
36751
36752Patch 9.0.1117
36753Problem: Terminfo entries for bracketed paste are not used.
36754Solution: Use the newly added terminfo entries for bracketed paste.
36755 Correct mixup of output strings and key codes.
36756
36757Patch 9.0.1118
36758Problem: Sporadic test failures when using a terminal window.
36759Solution: Adjust waiting times. (James McCoy, closes #11763)
36760
36761Patch 9.0.1119
36762Problem: Type of arguments not checked when calling a partial.
36763Solution: Give an error for a wrong argument type. (closes #11753)
36764
36765Patch 9.0.1120
36766Problem: Tex filetype detection not sufficiently tested.
36767Solution: Add more test cases for "tex" detection. (Jonas Strittmatter,
36768 closes #11765)
36769
36770Patch 9.0.1121
36771Problem: Cursor positioning and display problems with 'smoothscroll' and
36772 using "zt", "zb" or "zz".
36773Solution: Adjust computations and conditions. (Yee Cheng Chin,
36774 closes #11764)
36775
36776Patch 9.0.1122
36777Problem: Class member access is not fully tested yet.
36778Solution: Add more tests.
36779
36780Patch 9.0.1123
36781Problem: Class function not implemented yet.
36782Solution: Implement defining and calling a class function.
36783
36784Patch 9.0.1124
36785Problem: Virtual text at a column position is truncated at the window edge.
36786 (Yegappan Lakshmanan)
36787Solution: Do not truncated virtual text that is placed at a column.
36788
36789Patch 9.0.1125
36790Problem: Memory leak when using class functions.
36791Solution: Clear and free the array with class functions.
36792
36793Patch 9.0.1126
36794Problem: Bracketed paste can be enabled when pasted text is not recognized.
36795Solution: Output t_BE only when t_PS and t_PE are set.
36796
36797Patch 9.0.1127
36798Problem: No error if function argument shadows class member.
36799Solution: Give an error for shadowing a class member.
36800
36801Patch 9.0.1128
36802Problem: Build failure.
36803Solution: Add type cast. Add missing error messages.
36804
36805Patch 9.0.1129
36806Problem: Sporadic Test_range() failure.
36807Solution: Clear typeahead. Move to a separate function. (issue #22771)
36808
36809Patch 9.0.1130
36810Problem: Unexpected output when autoloading a script for an interactive
36811 operation.
36812Solution: Reset "KeyTyped" while loading a script and when handling a nested
36813 function. (closes #11773)
36814
36815Patch 9.0.1131
36816Problem: Build failure without the +eval feature.
36817Solution: Move code inside #ifdef.
36818
36819Patch 9.0.1132
36820Problem: Code is indented more than needed.
36821Solution: Use an early return to reduce indentation. (Yegappan Lakshmanan,
36822 closes #11769)
36823
36824Patch 9.0.1133
36825Problem: Error message names do not match the items.
36826Solution: Add "_str" when the text contains "%s".
36827
36828Patch 9.0.1134
36829Problem: Comparing objects uses identity instead of equality.
36830Solution: Compare the object values.
36831
36832Patch 9.0.1135
36833Problem: Missing function argument.
36834Solution: Add ignore case flag.
36835
36836Patch 9.0.1136
36837Problem: Memory leak when getting class member type from expr.
36838Solution: Clear the expression result.
36839
36840Patch 9.0.1137
36841Problem: Some conditions are always false.
36842Solution: Remove the useless conditions. (closes #11776)
36843
36844Patch 9.0.1138
36845Problem: Crash when expecting varargs but it is something else.
36846Solution: Only use the member when the type is a list. (closes #11774)
36847
36848Patch 9.0.1139
36849Problem: Cannot create a new object in a compiled function.
36850Solution: Compile the instructins to create a new object.
36851
36852Patch 9.0.1140
36853Problem: Cannot call an object method in a compiled function.
36854Solution: Compile the instructins to invoke an object method.
36855
36856Patch 9.0.1141
36857Problem: 'cursorcolumn' and 'colorcolumn' wrong after concealing and
36858 wrapping line.
36859Solution: Reset "wlv.vcol_off" after each screen line. (Alexey Radkov,
36860 closes #11777)
36861
36862Patch 9.0.1142
36863Problem: Crash and/or memory leak when redefining function after error.
36864Solution: Clear pointer after making a copy. Clear arrays on failure.
36865 (closes #11774)
36866
36867Patch 9.0.1143
36868Problem: Invalid memory access with bad 'statusline' value.
36869Solution: Avoid going over the NUL at the end.
36870
36871Patch 9.0.1144
36872Problem: Reading beyond text.
36873Solution: Add strlen_maxlen() and use it.
36874
36875Patch 9.0.1145
36876Problem: Invalid memory access with recursive substitute expression.
36877Solution: Check the return value of vim_regsub().
36878
36879Patch 9.0.1146
36880Problem: MS-Windows: various special keys and modifiers are not mappable.
36881Solution: Adjust the handling of keys with modifiers. (Christian Plewright,
36882 closes #11768)
36883
36884Patch 9.0.1147
36885Problem: Cannot access a class member in a compiled function.
36886Solution: Implement looking up a class member.
36887
36888Patch 9.0.1148
36889Problem: Cmdline test fails in the GUI.
36890Solution: Skip the test when running in the GUI.
36891
36892Patch 9.0.1149
36893Problem: Class members may be garbage collected.
36894Solution: Mark class members as being in use.
36895
36896Patch 9.0.1150
36897Problem: :interface is not implemented yet.
36898Solution: Implement the basics of :interface.
36899
36900Patch 9.0.1151
36901Problem: Build failure.
36902Solution: Add missing part of :interface change.
36903
36904Patch 9.0.1152
36905Problem: Class "implements" argument not implemented.
36906Solution: Implement "implements" argument. Add basic checks for when a
36907 class implements an interface.
36908
36909Patch 9.0.1153
36910Problem: Build error with some compilers.
36911Solution: Clear pointer the right way.
36912
36913Patch 9.0.1154
36914Problem: Coverity warns for dead code.
36915Solution: Remove condition that is always true.
36916
36917Patch 9.0.1155
36918Problem: Cannot use a class as a type.
36919Solution: Accept a class and interface name as a type.
36920
36921Patch 9.0.1156
36922Problem: Tests fail because of a different error message.
36923Solution: Don't give an error if a type name can't be found.
36924
36925Patch 9.0.1157
36926Problem: "implements" only handles one interface name.
36927Solution: Handle a comma separated list of names. Check for duplicate
36928 names.
36929
36930Patch 9.0.1158
36931Problem: Code is indented more than necessary.
36932Solution: Use an early return where it makes sense. (Yegappan Lakshmanan,
36933 closes #11787)
36934
36935Patch 9.0.1159
36936Problem: Extends argument for class not implemented yet.
36937Solution: Basic implementation of "extends".
36938
36939Patch 9.0.1160
36940Problem: ASAN error for ufunc_T allocated with wrong size.
36941Solution: Make sure the size can always fit the struct.
36942
36943Patch 9.0.1161
36944Problem: Coverity warns for using strcpy().
36945Solution: Call a function to set the function name.
36946
36947Patch 9.0.1162
36948Problem: Configure does not handle all FORTIFY_SOURCE variants.
36949Solution: Also handle Fedora's default FORTIFY_SOURCE flags. (Zdenek Dohnal,
36950 closes #11794)
36951
36952Patch 9.0.1163
36953Problem: Compiler warning for implicit size_t/int conversion.
36954Solution: Add a type cast. (Mike Williams, closes #11795)
36955
36956Patch 9.0.1164
36957Problem: Evaluating string expression advances function line.
36958Solution: Disable function lines while parsing a string expression.
36959 (Hirohito Higashi, closes #11796)
36960
36961Patch 9.0.1165
36962Problem: Tests using IPv6 sometimes fail.
36963Solution: Use getaddrinfo() and use try/catch. (James McCoy,
36964 closes #11783)
36965
36966Patch 9.0.1166
36967Problem: Code is indented more than necessary.
36968Solution: Use an early return where it makes sense. (Yegappan Lakshmanan,
36969 closes #11792)
36970
36971Patch 9.0.1167
36972Problem: EditorConfig files do not have their own filetype.
36973Solution: Add the "editorconfig" filetype. (Gregory Anders, closes #11779)
36974
36975Patch 9.0.1168
36976Problem: Code to enable/disable mouse is not from terminfo/termcap.
36977Solution: Request the "XM" entry and use it to set 'ttymouse' if possible.
36978
36979Patch 9.0.1169
36980Problem: Some key+modifier tests fail on some AppVeyor images.
36981Solution: Adjust the tests for key movements and fix the revealed bugs.
36982 (Christopher Plewright, closes #11798)
36983
36984Patch 9.0.1170
36985Problem: LGTM badge no longer works.
36986Solution: Remove the LGTM badge. (closes #11799)
36987
36988Patch 9.0.1171
36989Problem: Screen is not redrawn after using setcellwidths().
36990Solution: Redraw the screen when the cell widths have changed. (Yasuhiro
36991 Matsumoto, closes #11800)
36992
36993Patch 9.0.1172
36994Problem: When 'selection' is "exclusive" then "1v" is one char short.
36995Solution: Add one character when 'selection' is "exclusive. (closes #11791)
36996
36997Patch 9.0.1173
36998Problem: Compiler warning for unused variable on non-Unix systems.
36999Solution: Move #ifdef. (John Marriott)
37000
37001Patch 9.0.1174
37002Problem: Smali files are not recognized.
37003Solution: Add a pattern for Smali files. (Amaan Qureshi, closes #11801)
37004
37005Patch 9.0.1175
37006Problem: The set_ref_in_item() function is too long.
37007Solution: Use a separate function for more complicated types. (Yegappan
37008 Lakshmanan, closes #11802)
37009
37010Patch 9.0.1176
37011Problem: smithy files are not recognized.
37012Solution: Add a pattern for Smithy files. (Chris Kipp, closes #11804)
37013
37014Patch 9.0.1177
37015Problem: AppVeyor uses some older tools.
37016Solution: Switch to Visual Studio 2022 and Python 3.11. (Christopher
37017 Plewright, closes #11793)
37018
37019Patch 9.0.1178
37020Problem: A child class cannot override functions from a base class.
37021Solution: Allow overriding and implement "super".
37022
37023Patch 9.0.1179
37024Problem: Not all errors around inheritance are tested.
37025Solution: Add more tests. Fix uncovered problems.
37026
37027Patch 9.0.1180
37028Problem: Compiler warnings without the +job feature.
37029Solution: Adjust #ifdefs. (John Marriott)
37030
37031Patch 9.0.1181
37032Problem: Class inheritance and typing insufficiently tested.
37033Solution: Add more tests. Implement missing behavior.
37034
37035Patch 9.0.1182
37036Problem: go checksum files are not recognized.
37037Solution: Add the name of go checksum files. (Amaan Qureshi, closes #11803)
37038
37039Patch 9.0.1183
37040Problem: Code is indented more than necessary.
37041Solution: Use an early return where it makes sense. (Yegappan Lakshmanan,
37042 closes #11805)
37043
37044Patch 9.0.1184
37045Problem: Interface of an object is not recognized when checking type.
37046Solution: Use the interface implemented by an object.
37047
37048Patch 9.0.1185
37049Problem: Using class from imported script not tested.
37050Solution: Add tests. Implement what is missing.
37051
37052Patch 9.0.1186
37053Problem: Imported class does not work when used twice in a line.
37054Solution: Fix the type parsing.
37055
37056Patch 9.0.1187
37057Problem: Test for using imported class fails.
37058Solution: Skip over rest of type.
37059
37060Patch 9.0.1188
37061Problem: Return value of type() for class and object unclear.
37062Solution: Add v:t_object and v:t_class.
37063
37064Patch 9.0.1189
37065Problem: Invalid memory access with folding and using "L".
37066Solution: Prevent the cursor from moving to line zero.
37067
37068Patch 9.0.1190
37069Problem: AppVeyor runs much slower with MSVC 2022.
37070Solution: Go back to MSVC 2015. (Christopher Plewright, closes #11810)
37071
37072Patch 9.0.1191
37073Problem: Some Bazel files are not recognized.
37074Solution: Add an extra Bazel pattern. (Keith Smily, closes #11807)
37075
37076Patch 9.0.1192
37077Problem: No error when class function argument shadows a member.
37078Solution: Check for shadowing.
37079
37080Patch 9.0.1193
37081Problem: Cannot map <Esc> when using the Kitty key protocol.
37082Solution: Add a non-simplified mapping for K_ESC. (closes #11811)
37083
37084Patch 9.0.1194
37085Problem: Compiler warning for comparing pointer with int.
37086Solution: Change NULL to zero.
37087
37088Patch 9.0.1195
37089Problem: Restoring KeyTyped when building statusline not tested.
37090Solution: Add a test. Clean up and fix other tests. (closes #11815)
37091
37092Patch 9.0.1196
37093Problem: Code is indented more than necessary.
37094Solution: Use an early return where it makes sense. (Yegappan Lakshmanan,
37095 closes #11813)
37096
37097Patch 9.0.1197
37098Problem: Dump file missing from patch.
37099Solution: Add missing dump file.
37100
37101Patch 9.0.1198
37102Problem: Abstract class not supported yet.
37103Solution: Implement abstract class and add tests.
37104
37105Patch 9.0.1199
37106Problem: Crash when using kitty and using a mapping with <Esc>.
37107Solution: Do not try setting did_simplify when it is NULL. (closes #11817)
37108
37109Patch 9.0.1200
37110Problem: AppVeyor builds with an old Python version.
37111Solution: Switch from Python 3.8 to 3.11. (Christopher Plewright,
37112 closes #11814)
37113
37114Patch 9.0.1201
37115Problem: Assignment with operator doesn't work in object method.
37116Solution: Handle loading the object member. (closes #11820) Add a few more
37117 tests.
37118
37119Patch 9.0.1202
37120Problem: Crash when iterating over list of objects.
37121Solution: Do not make a copy of tt_member for object or class.
37122 (closes #11823)
37123
37124Patch 9.0.1203
37125Problem: Return type of values() is always list<any>.
37126Solution: Use the member type if possible. (issue #11822)
37127
37128Patch 9.0.1204
37129Problem: Expression compiled the wrong way after using an object.
37130Solution: Generate constants before getting the type.
37131
37132Patch 9.0.1205
37133Problem: Crash when handling class that extends another class with more
37134 than one object members.
37135Solution: Correct pointer computations. (closes #11824)
37136
37137Patch 9.0.1206
37138Problem: Testing with Python on AppVeyor does not work properly.
37139Solution: Fix typo. Move most lines to the .bat file. (Christopher
37140 Plewright, closes #11828)
37141
37142Patch 9.0.1207
37143Problem: Error when object type is expected but getting "any".
37144Solution: When actual type is "any" use a runtime type check.
37145 (closes #11826)
37146
37147Patch 9.0.1208
37148Problem: Code is indented more than necessary.
37149Solution: Use an early return where it makes sense. (Yegappan Lakshmanan,
37150 closes #11819)
37151
37152Patch 9.0.1209
37153Problem: Getting interface member does not always work.
37154Solution: Convert the index on the interface to the index on the object.
37155 (closes #11825)
37156
37157Patch 9.0.1210
37158Problem: Compiler complains about declaration after label.
37159Solution: Move declaration to beginning of block (John Marriott)
37160
37161Patch 9.0.1211
37162Problem: Storing value in interface member does not always work.
37163Solution: Convert the index on the interface to the index on the object.
37164
37165Patch 9.0.1212
37166Problem: Cannot read back what setcellwidths() has done.
37167Solution: Add getcellwidths(). (Kota Kato, closes #11837)
37168
37169Patch 9.0.1213
37170Problem: Adding a line below the last one does not expand fold.
37171Solution: Do not skip mark_adjust() when adding lines below the last one.
37172 (Brandon Simmons, closes #11832, closes #10698)
37173
37174Patch 9.0.1214
37175Problem: File left behind after running tests.
37176Solution: Delete the file. (Dominique Pellé, closes #11839)
37177
37178Patch 9.0.1215
37179Problem: Using isalpha() adds dependency on current locale.
37180Solution: Do not use isalpha() for recognizing a URL or the end of an Ex
37181 command. (closes #11835)
37182
37183Patch 9.0.1216
37184Problem: Coverity warns for ignoring return value.
37185Solution: Break out of loop if function fails.
37186
37187Patch 9.0.1217
37188Problem: Using an object member in a closure doesn't work.
37189Solution: Initialize lv_loop_depth. (closes #11840)
37190
37191Patch 9.0.1218
37192Problem: Completion includes functions that don't work.
37193Solution: Skip functions that are not implemented. (Kota Kato,
37194 closes #11845)
37195
37196Patch 9.0.1219
37197Problem: Handling of FORTIFY_SOURCE flags doesn't match Fedora usage.
37198Solution: Adjust the "sed" patterns. (Zdenek Dohnal, closes #11847)
37199
37200Patch 9.0.1220
37201Problem: Termcap/terminfo entries do not indicate where modifiers might
37202 appear.
37203Solution: Add ";*" for function keys where modifiers are likely to be used.
37204
37205Patch 9.0.1221
37206Problem: Code is indented more than necessary.
37207Solution: Use an early return where it makes sense. (Yegappan Lakshmanan,
37208 closes #11833)
37209
37210Patch 9.0.1222
37211Problem: Terminal tests are flaky on MacOS.
37212Solution: Add TermWait() calls. (Yegappan Lakshmanan, closes #11852)
37213
37214Patch 9.0.1223
37215Problem: Cannot use setcellwidths() below 0x100.
37216Solution: Also accept characters between 0x80 and 0x100. (Ken Takata,
37217 closes #11834)
37218
37219Patch 9.0.1224
37220Problem: Cannot call a :def function with a number for a float argument.
37221Solution: Accept a number as well, convert it to a float.
37222
37223Patch 9.0.1225
37224Problem: Reading past the end of a line when formatting text.
37225Solution: Check for not going over the end of the line.
37226
37227Patch 9.0.1226
37228Problem: Spurious empty line when using text propertie and virtual text.
37229Solution: Do not set "text_prop_follows" when the other text property is not
37230 virtual text. (closes #11846)
37231
37232Patch 9.0.1227
37233Problem: No cmdline completion for :runtime.
37234Solution: Add completion for :runtime. (closes #11853, closes #11447)
37235 Improve the resulting matches.
37236
37237Patch 9.0.1228
37238Problem: Fuzzy menu completion is only tested in the GUI.
37239Solution: Make fuzzy menu completion test work without GUI.
37240 (closes #11861)
37241
37242Patch 9.0.1229
37243Problem: Cap'n Proto files are not recognized.
37244Solution: Add a pattern and the "capnp" filetype. (Amaan Qureshi,
37245 closes #11862)
37246
37247Patch 9.0.1230
37248Problem: Apache thrift files are not recognized.
37249Solution: Add a pattern for thrift files. (Amaan Qureshi, closes #11859)
37250
37251Patch 9.0.1231
37252Problem: Completion of :runtime does not handle {where} argument.
37253Solution: Parse the {where} argument. (closes #11863)
37254
37255Patch 9.0.1232
37256Problem: ColorTable saving and restoring does not work properly.
37257Solution: Restore ColorTable[16] usage. (Christopher Plewright,
37258 closes #11836)
37259
37260Patch 9.0.1233
37261Problem: search() loops forever if "skip" is TRUE for all matches.
37262Solution: Keep the position of the first match.
37263
37264Patch 9.0.1234
37265Problem: The code style has to be checked manually.
37266Solution: Add basic code style checks in a test. Fix or avoid uncovered
37267 problems.
37268
37269Patch 9.0.1235
37270Problem: MS-Windows console: not flushing termguicolors.
37271Solution: Flush termguicolors. (Christopher Plewright, closes #11871)
37272
37273Patch 9.0.1236
37274Problem: Code in same_leader() can be simplified.
37275Solution: Simplify code that is executed only once. (closes #11867)
37276
37277Patch 9.0.1237
37278Problem: Code is indented more than necessary.
37279Solution: Use an early return where it makes sense. (Yegappan Lakshmanan,
37280 closes #11858)
37281
37282Patch 9.0.1238
37283Problem: :runtime completion can be further improved.
37284Solution: Also complete the {where} argument values and adjust the
37285 completion for that. (closes #11874)
37286
37287Patch 9.0.1239
37288Problem: Cannot have a line break before an object member access.
37289Solution: Check for "." in next line. (closes #11864)
37290
37291Patch 9.0.1240
37292Problem: Cannot access a private object member in a lambda defined inside
37293 the class.
37294Solution: Go up the context stack to find the class. (closes #11866)
37295
37296Patch 9.0.1241
37297Problem: Coverity warns for not checking function return value.
37298Solution: Explicitly ignore the return value.
37299
37300Patch 9.0.1242
37301Problem: Code for :runtime completion is not consistent.
37302Solution: Make code for cmdline expansion more consistent. (closes #11875)
37303
37304Patch 9.0.1243
37305Problem: :setglobal cannot use script-local function for "expr" option.
37306Solution: Use the pointer to the option value properly. (closes #11883)
37307
37308Patch 9.0.1244
37309Problem: Cursor briefly displayed in a wrong position when pressing Esc in
37310 Insert mode after autoindent was used.
37311Solution: Do not adjust the cursor position for assumed deleted white space
37312 if text is following. (closes #11877)
37313
37314Patch 9.0.1245
37315Problem: Code is indented more than necessary.
37316Solution: Use an early return where it makes sense. (Yegappan Lakshmanan,
37317 closes #11879)
37318
37319Patch 9.0.1246
37320Problem: Code is indented more than necessary.
37321Solution: Use an early return where it makes sense. (Yegappan Lakshmanan,
37322 closes #11887)
37323
37324Patch 9.0.1247
37325Problem: Divide by zero with 'smoothscroll' set and a narrow window.
37326Solution: Bail out when the window is too narrow.
37327
37328Patch 9.0.1248
37329Problem: Cannot export an interface. (Ernie Rael)
37330Solution: Add the EX_EXPORT flag to :interface. (closes #11884)
37331
37332Patch 9.0.1249
37333Problem: Cannot export an abstract class. (Ernie Rael)
37334Solution: Add the EX_EXPORT flag to :abstract. (closes #11884)
37335
37336Patch 9.0.1250
37337Problem: Cannot use an object method with :defer. (Ernie Rael)
37338Solution: Find the object method and generate code to call it.
37339 (closes #11886)
37340
37341Patch 9.0.1251
37342Problem: Checking returned value of ga_grow() is inconsistent.
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010037343Solution: Check for FAIL instead of "not OK". (Yegappan Lakshmanan,
Christian Brabandt5872bcb2023-12-19 20:10:43 +010037344 closes #11897)
37345
37346Patch 9.0.1252
37347Problem: MS-Windows: scrollback cropped off on Vim exit.
37348Solution: Don't call SetConsoleScreenBufferInfoEx when using the alternate
37349 screen buffer. (Christopher Plewright, closes #11882)
37350
37351Patch 9.0.1253
37352Problem: CI adds repository unnecessarily.
37353Solution: Remove the line from the workflow. (closes #11900)
37354
37355Patch 9.0.1254
37356Problem: Calling a method on an interface does not work.
37357Solution: At runtime figure out what method to call. (closes #11901)
37358
37359Patch 9.0.1255
37360Problem: Changing 'virtualedit' does not have immediate effect.
37361Solution: Correct how is checked for a changed value. (closes #11878)
37362
37363Patch 9.0.1256
37364Problem: NetworkManager connection files are not recognized.
37365Solution: Add a pattern for NetworkManager connection files. (closes #11893)
37366
37367Patch 9.0.1257
37368Problem: Code style is not check in test scripts.
37369Solution: Add basic code style check for test files.
37370
37371Patch 9.0.1258
37372Problem: Code style test fails.
37373Solution: Adjust test files.
37374
37375Patch 9.0.1259
37376Problem: Diffmode test fails.
37377Solution: Adjust expected result for adjusted indenting.
37378
37379Patch 9.0.1260
37380Problem: Coverity warns for possible NULL pointer usage.
37381Solution: Change the condition.
37382
37383Patch 9.0.1261
37384Problem: Elsa files are not recognized.
37385Solution: Add a pattern for Elsa files. (Amaan Qureshi, closes #11908)
37386
37387Patch 9.0.1262
37388Problem: The did_set_string_option function is too long.
37389Solution: Split off functionality to individual functions. (Yegappan
37390 Lakshmanan, Lewis Russell, closes #11904)
37391
37392Patch 9.0.1263
37393Problem: KDL files are not recognized.
37394Solution: Add a pattern for KDL files. (Amaan Qureshi, closes #11898)
37395
37396Patch 9.0.1264
37397Problem: Motif: compiler warning for unused argument.
37398Solution: Add "UNUSED".
37399
37400Patch 9.0.1265
37401Problem: Using an interface method may give a compilation error.
37402Solution: Do not try to compile the body of a method of an interface.
37403 (closes #11885)
37404
37405Patch 9.0.1266
37406Problem: Error for space before ": type" is inconsistent.
37407Solution: Give E1059 in more places. (closes #11868)
37408
37409Patch 9.0.1267
37410Problem: The did_set_string_option function is too long.
37411Solution: Further cleanup of handling string options. (Yegappan Lakshmanan,
37412 Lewis Russell, closes #11920)
37413
37414Patch 9.0.1268
37415Problem: .clangd and .stylelintrc files don't get a filetype.
37416Solution: Use yaml for .clangd and json for .stylelintrc files. (Mark
37417 Skelton, closes #11916)
37418
37419Patch 9.0.1269
37420Problem: Channel test often fails on Mac OS.
37421Solution: Increase the wait time from one to 15 milliseconds. (D. Ben
37422 Knoble, closes #11894)
37423
37424Patch 9.0.1270
37425Problem: Crash when using search stat in narrow screen.
37426Solution: Check length of message. (closes #11921)
37427
37428Patch 9.0.1271
37429Problem: Using sizeof() and subtract array size is tricky.
37430Solution: Use offsetof() instead. (closes #11926)
37431
37432Patch 9.0.1272
37433Problem: Typo in pattern for filetype detection.
37434Solution: Fix the typo. (closes #11924)
37435
37436Patch 9.0.1273
37437Problem: "1v" may select block with wrong size. (Evgeni Chasnovski)
37438Solution: Compute "curswant" in the right line. (closes #11925)
37439
37440Patch 9.0.1274
37441Problem: FIRRTL files are not recognized.
37442Solution: Add a pattern for FIRRTL files. (Amaan Qureshi, closes #11931)
37443
37444Patch 9.0.1275
37445Problem: The code for setting options is too complicated.
37446Solution: Refactor the do_set() function. (Yegappan Lakshmanan, Lewis
37447 Russell, closes #11932)
37448
37449Patch 9.0.1276
37450Problem: Some mappings with Meta and Shift do not work.
37451Solution: Apply the Shift modifier to the key. (issue #11913)
37452
37453Patch 9.0.1277
37454Problem: Cursor may move with autocmd in Visual mode.
37455Solution: Restore "VIsual_active" before calling check_cursor().
37456 (closes #11939)
37457
37458Patch 9.0.1278
37459Problem: go.work.sum files are not recognized.
37460Solution: Recognize go.work.sum files as the gosum filetype. (Amaan Qureshi,
37461 closes #11940)
37462
37463Patch 9.0.1279
37464Problem: Display shows lines scrolled down erroneously. (Yishai Lerner)
37465Solution: Do not change "wl_lnum" at index zero. (closes #11938)
37466
37467Patch 9.0.1280
37468Problem: Inssufficient testing for what 9.0.1265 fixes.
37469Solution: Add a couple of test cases. (issue #11885)
37470
37471Patch 9.0.1281
37472Problem: Cadence files are not recognized.
37473Solution: Recognize Cadence files. (Janez Podhostnik, closes #11951)
37474
37475Patch 9.0.1282
37476Problem: Ron files are not recognized.
37477Solution: Recognize Ron files. (Amaan Qureshi, closes #11948)
37478
37479Patch 9.0.1283
37480Problem: The code for setting options is too complicated.
37481Solution: Refactor the do_set() function. (Yegappan Lakshmanan, Lewis
37482 Russell, closes #11945)
37483
37484Patch 9.0.1284
37485Problem: Compiler warnings for uninitialized variables. (Tony Mechelynck)
37486Solution: Add variable initializations.
37487
37488Patch 9.0.1285
37489Problem: Various small problems.
37490Solution: Adjust white space and comments.
37491
37492Patch 9.0.1286
37493Problem: Coverity warns for using a NULL pointer.
37494Solution: Bail out whan "varp" is NULL.
37495
37496Patch 9.0.1287
37497Problem: With the Kitty key protocl Esc with NumLock cannot be mapped.
37498Solution: Also use K_ESC when there is a modifier. (closes #11811)
37499
37500Patch 9.0.1288
37501Problem: FunC files are not recognized.
37502Solution: Recognize FunC files. (Amaan Qureshi, closes #11949)
37503
37504Patch 9.0.1289
37505Problem: A newer version of clang can be used for CI.
37506Solution: Switch from clang-15 to clang-16. (closes #11577)
37507
37508Patch 9.0.1290
37509Problem: CTRL-N and -P on cmdline don't trigger CmdlineChanged.
37510Solution: Jump to cmdline_changed instead of cmdline_not_changed.
37511 (closes #11956)
37512
37513Patch 9.0.1291
37514Problem: Move language files are not recognized.
37515Solution: Recognize Move language files. (Amaan Qureshi, closes #11947)
37516
37517Patch 9.0.1292
37518Problem: :defer may call the wrong method for an object. (Ernie Rael)
37519Solution: When en object is from a class that extends or implements, figure
37520 out the method to call at runtime. (closes #11910)
37521
37522Patch 9.0.1293
37523Problem: The set_num_option() is too long.
37524Solution: Move code to separate functions. (Yegappan Lakshmanan,
37525 closes #11954)
37526
37527Patch 9.0.1294
37528Problem: The set_bool_option() function is too long.
37529Solution: Move code to separate functions. (Yegappan Lakshmanan,
37530 closes #11964)
37531
37532Patch 9.0.1295
37533Problem: The option initialization function is too long.
37534Solution: Move code to separate functions. (Yegappan Lakshmanan,
37535 closes #11966)
37536
37537Patch 9.0.1296
37538Problem: Calling an object method with arguments does not work. (Ernie
37539 Rael)
37540Solution: Take the argument count into account when looking up the object.
37541 (closes #11911)
37542
37543Patch 9.0.1297
37544Problem: Wrong value for $LC_CTYPE makes the environ test fail.
37545Solution: Unset $LC_CTYPE when running tests. (closes #11963)
37546
37547Patch 9.0.1298
37548Problem: Inserting a register on the command line does not trigger
37549 incsearch or update hlsearch.
37550Solution: Have cmdline_insert_reg() return CMDLINE_CHANGED when appropriate
37551 and handle it correctly. (Ken Takata, closes #11960)
37552
37553Patch 9.0.1299
37554Problem: Change for triggering incsearch not sufficiently tested.
37555Solution: Add a test case. Simplify the code. (closes #11971)
37556
37557Patch 9.0.1300
37558Problem: 'statusline' only supports one "%=" item.
37559Solution: Add support for multiple "%=" items. (TJ DeVries, Yegappan
37560 Lakshmanan, closes #11970, closes #11965)
37561
37562Patch 9.0.1301
37563Problem: Virtual text below empty line not displayed.
37564Solution: Adjust flags and computations. (closes #11959)
37565
37566Patch 9.0.1302
37567Problem: On a Belgian keyboard CTRL-] does not work.
37568Solution: Translate CTRL-$ into CTRL-]. (closes #11831)
37569
37570Patch 9.0.1303
37571Problem: Motif: scrollbar width/height wrong when maximized.
37572Solution: Set the width/height when creating the scrollbar. (closes #11946)
37573
37574Patch 9.0.1304
37575Problem: "$" for 'list' option displayed in wrong position when there are
37576 text properties.
37577Solution: Adjust logic for order of displayed items. (closes #11959)
37578
37579Patch 9.0.1305
37580Problem: Cursor in wrong line with virtual text above.
37581Solution: Count extra line for text property above/below. (closes #11959)
37582
37583Patch 9.0.1306
37584Problem: No regression test for solved problem of #11959.
37585Solution: Add a test, also with 'list' set. (closes #11959)
37586
37587Patch 9.0.1307
37588Problem: Setting 'formatoptions' with :let doesn't check for errors.
37589Solution: Pass "errbuf" to set_string_option(). (Yegappan Lakshmanan,
37590 closes #11974, closes #11972)
37591
37592Patch 9.0.1308
37593Problem: The code for setting options is too complicated.
37594Solution: Refactor the code for setting options. (Yegappan Lakshmanan,
37595 closes #11989)
37596
37597Patch 9.0.1309
37598Problem: Scrolling two lines with even line count and 'scrolloff' set.
37599Solution: Adjust how the topline is computed. (closes #10545)
37600
37601Patch 9.0.1310
37602Problem: 'splitkeep' test has failures.
37603Solution: Adjust expected cursor line position.
37604
37605Patch 9.0.1311
37606Problem: Coverity warns for using a NULL pointer.
37607Solution: Use "empty_option" instead of NULL.
37608
37609Patch 9.0.1312
37610Problem: Cursor position wrong when splitting window in insert mode.
37611Solution: Pass the actual mode to win_fix_cursor(). (Luuk van Baal,
37612 closes #11999,
37613
37614Patch 9.0.1313
37615Problem: Some settings use the current codepage instead of 'encoding'.
37616Solution: Adjust how options are initialized. (Ken Takata, closes #11992)
37617
37618Patch 9.0.1314
37619Problem: :messages behavior depends on 'fileformat' of current buffer.
37620Solution: Pass the buffer pointer to where it is used. (Mirko Ceroni,
37621 closes #11995)
37622
37623Patch 9.0.1315
37624Problem: Escaping for completion of map command not properly tested.
37625Solution: Add a few test cases. (closes #12009)
37626
37627Patch 9.0.1316
37628Problem: MS-Windows: vimfiles dir created with admin group.
37629Solution: Use ShellExecAsUser to create the vimfiles directory. (Christopher
37630 Plewright, Ken Takata, closes #12000, closes #11888)
37631
37632Patch 9.0.1317
37633Problem: Crash when using an unset object variable.
37634Solution: Give an error instead. (closes #12005)
37635
37636Patch 9.0.1318
37637Problem: Code style test fails.
37638Solution: Remove trailing white space.
37639
37640Patch 9.0.1319
37641Problem: PRQL files are not recognized.
37642Solution: Add a filetype pattern for PRQL files. (Matthias Queitsch,
37643 closes #12018)
37644
37645Patch 9.0.1320
37646Problem: Checking the type of a null object causes a crash.
37647Solution: Don't try to get the class of a null object. (closes #12005)
37648 Handle error from calling a user function better.
37649
37650Patch 9.0.1321
37651Problem: vimscript test fails where using {expr} syntax.
37652Solution: Only return FCERR_FAILED in call_user_func() for Vim9 script.
37653
37654Patch 9.0.1322
37655Problem: Crash when indexing "any" which is an object.
37656Solution: Check the index is a number. Do not check the member type of an
37657 object. (closes #12019)
37658
37659Patch 9.0.1323
37660Problem: Build failure with +eval feature.
37661Solution: Add missing part for using funcerror_T.
37662
37663Patch 9.0.1324
37664Problem: "gj" and "gk" do not move correctly over a closed fold.
37665Solution: Use the same code as used for "j"/"k" to go to the next/previous
37666 line. (Luuk van Baal, closes #12007)
37667
37668Patch 9.0.1325
37669Problem: 'colorcolumn' highlight wrong with virtual text above.
37670Solution: Adjust column of 'colorcolumn' for text propertly. (closes #12004)
37671
37672Patch 9.0.1326
37673Problem: Relative line number not updated with virtual text above.
37674Solution: Adjust the row for the line number for virtual text above.
37675 (closes #12004)
37676
37677Patch 9.0.1327
37678Problem: Cursor in wrong position below line with virtual text below ending
37679 in multi-byte character.
37680Solution: When checking for last character take care of multi-byte
37681 character.
37682
37683Patch 9.0.1328
37684Problem: Error when using "none" for GUI color is confusing.
37685Solution: Mention that the name should perhaps be "NONE". (closes #1400)
37686
37687Patch 9.0.1329
37688Problem: Completion of map includes simplified ones.
37689Solution: Do not complete simplified mappings. (closes #12013)
37690
37691Patch 9.0.1330
37692Problem: Handling new value of an option has a long "else if" chain.
37693Solution: Use a function pointer. (Yegappan Lakshmanan, closes #12015)
37694
37695Patch 9.0.1331
37696Problem: Illegal memory access when using :ball in Visual mode.
37697Solution: Stop Visual mode when using :ball. (Pavel Mayorov, closes #11923)
37698
37699Patch 9.0.1332
37700Problem: Crash when using buffer-local user command in cmdline window.
37701 (Karl Yngve Lervåg)
37702Solution: Use the right buffer to find the user command. (closes #12030,
37703 closes #12029)
37704
37705Patch 9.0.1333
37706Problem: When redo'ing twice <ScriptCmd> may not get the script ID.
37707Solution: When "last_used_map" map is not set use "last_used_sid".
37708 (closes #11930)
37709
37710Patch 9.0.1334
37711Problem: Using tt_member for the class leads to mistakes.
37712Solution: Add a separate tt_class field.
37713
37714Patch 9.0.1335
37715Problem: No test for bad use of spaces in help files.
37716Solution: Add checks for use of spaces in help files. Ignore intentional
37717 spaces. (Hirohito Higashi, closes #11952)
37718
37719Patch 9.0.1336
37720Problem: Functions without arguments are not always declared properly.
37721Solution: Use "(void)" instead of "()". (Yegappan Lakshmanan, closes #12031)
37722
37723Patch 9.0.1337
37724Problem: Yuck files are not recognized.
37725Solution: Add a filetype pattern for yuck files. (Amaan Qureshi,
37726 closes #12033)
37727
37728Patch 9.0.1338
37729Problem: :defcompile and :disassemble can't find class method. (Ernie Rael)
37730Solution: Make a class name and class.method name work. (closes #11984)
37731
37732Patch 9.0.1339
37733Problem: No test for :disassemble with class function.
37734Solution: Add a test.
37735
37736Patch 9.0.1340
37737Problem: Coverity warns for using NULL pointer.
37738Solution: Check that lhs_type is not NULL.
37739
37740Patch 9.0.1341
37741Problem: Build error with mzscheme but without GUI.
37742Solution: Adjust #ifdefs. (Ken Takata, closes #12042) Also fix function
37743 argument.
37744
37745Patch 9.0.1342
37746Problem: MS-Windows: linking may fail with space in directory name.
37747Solution: Add quotes. (closes #12050)
37748
37749Patch 9.0.1343
37750Problem: Check for OSC escape sequence doesn't work.
37751Solution: Move square bracket to the right place. (Johan Mattsson,
37752 closes #12048)
37753
37754Patch 9.0.1344
37755Problem: Check for OSC escape sequence doesn't work.
37756Solution: Fix typo in index.
37757
37758Patch 9.0.1345
37759Problem: Too many "else if" statements for handling options.
37760Solution: Add more functions to handle options. (Yegappan Lakshmanan,
37761 closes #12051)
37762
37763Patch 9.0.1346
37764Problem: Starlark files are not recognized.
37765Solution: Add patterns for Starlark files. (Amaan Qureshi, closes #12049)
37766
37767Patch 9.0.1347
37768Problem: "gr CTRL-O" stays in Insert mode. (Pierre Ganty)
37769Solution: Do not set restart_edit when "cmdchar" is 'v'. (closes #12045)
37770
37771Patch 9.0.1348
37772Problem: Un-grammar files are not recognized.
37773Solution: Add patterns for Un-grammar files. (Amaan Qureshi, closes #12034)
37774
37775Patch 9.0.1349
37776Problem: "gr" with a count fails.
37777Solution: Break out of the loop only after using the count.
37778
37779Patch 9.0.1350
37780Problem: CPON files are not recognized.
37781Solution: Add patterns for CPON files. (Amaan Qureshi, closes #12053)
37782
37783Patch 9.0.1351
37784Problem: Dhall files are not recognized.
37785Solution: Add patterns for Dhall files. (Amaan Qureshi, closes #12052)
37786
37787Patch 9.0.1352
37788Problem: "ignore" files are outdated.
37789Solution: Update "ignore" files. (Ken Takata, closes #12056)
37790
37791Patch 9.0.1353
37792Problem: Too many "else if" statements to handle option values.
37793Solution: Add more functions to handle option value changes. (Yegappan
37794 Lakshmanan, closes #12058)
37795
37796Patch 9.0.1354
37797Problem: "gr CTRL-G" stays in virtual replace mode. (Pierre Ganty)
37798Solution: Prepend CTRL-V before control characters. (closes #12045)
37799
37800Patch 9.0.1355
37801Problem: No error when declaring a class twice. (Ernie Rael)
37802Solution: Pass different flags when declaring the class. (closes #12057)
37803
37804Patch 9.0.1356
37805Problem: Cannot cancel "gr" with Esc.
37806Solution: Make "gr<Esc>" do nothing. (closes #12064)
37807
37808Patch 9.0.1357
37809Problem: Using null_object results in an internal error. (Ernie Rael)
37810Solution: Add instructions for pushing an object and class. (closes #12044)
37811
37812Patch 9.0.1358
37813Problem: Compilation error with some compilers.
37814Solution: Avoid using "class" as member name.
37815
37816Patch 9.0.1359
37817Problem: Too many "else if" statements in handling options.
37818Solution: Add more functions for handling option changes. (Yegappan
37819 Lakshmanan, closes #12060)
37820
37821Patch 9.0.1360
37822Problem: Cue files are not recognized.
37823Solution: Add patterns for Cue files. (Amaan Qureshi, closes #12067)
37824
37825Patch 9.0.1361
37826Problem: extendnew() not sufficiently tested.
37827Solution: Add a few more test cases for extendnew(). (closes #12075)
37828
37829Patch 9.0.1362
37830Problem: ml_get error when going to another tab. (Daniel J. Perry)
37831Solution: Do not call update_topline() if "curwin" is invalid.
37832 (closes #11907)
37833
37834Patch 9.0.1363
37835Problem: Crash when :def function has :break in skipped block. (Ernie Rael)
37836Solution: Don't generate a jump for a skipped :break. (closes #12077)
37837
37838Patch 9.0.1364
37839Problem: Build error with older Mac OS.
37840Solution: Adjust #ifdef. (Yee Cheng Chin, closes #12074)
37841
37842Patch 9.0.1365
37843Problem: Dead test code.
37844Solution: Remove code that depends on Farsi, which has been removed.
37845 (closes #12084)
37846
37847Patch 9.0.1366
37848Problem: Functions for setting options are in random order.
37849Solution: Sort functions alphabetically. (Yegappan Lakshmanan,
37850 closes #12082)
37851
37852Patch 9.0.1367
37853Problem: Divide by zero in zero-width window.
37854Solution: Check the width is positive.
37855
37856Patch 9.0.1368
37857Problem: Bass files are not recognized.
37858Solution: Add patterns for Bass files. (Amaan Qureshi, closes #12088)
37859
37860Patch 9.0.1369
37861Problem: Still some "else if" constructs for setting options.
37862Solution: Add a few more functions for handling options. (Yegappan
37863 Lakshmanan, closes #12090)
37864
37865Patch 9.0.1370
37866Problem: Crash when using a NULL object. (Ernie Rael)
37867Solution: Check for NULL and give an error message. (closes #12083)
37868
37869Patch 9.0.1371
37870Problem: Ballooneval interferes with Insert completion.
37871Solution: Ignore mouse-move events when completing. (closes #12094,
37872 closes #12092)
37873
37874Patch 9.0.1372
37875Problem: Test for 'toolbariconsize' may fail.
37876Solution: Only test 'toolbariconsize' when it is supported. (James McCoy,
37877 closes #12095)
37878
37879Patch 9.0.1373
37880Problem: Wrong text displayed when using both 'linebreak' and 'list'.
37881Solution: Only set "c_extra" to NUL when "p_extra" is not empty. (Hirohito
37882 Higashi, closes #12065)
37883
37884Patch 9.0.1374
37885Problem: Function for setting options not used consistently.
37886Solution: Use a function for 'encoding' and terminal options. (Yegappan
37887 Lakshmanan, closes #12099)
37888
37889Patch 9.0.1375
37890Problem: Crash when getting member of obj of unknown class.
37891Solution: Check for NULL class and give an error message. (Ernie Rael,
37892 closes #12096)
37893
37894Patch 9.0.1376
37895Problem: Accessing invalid memory with put in Visual block mode.
37896Solution: Adjust the cursor column if needed.
37897
37898Patch 9.0.1377
37899Problem: job_status() may return "dead" if the process parent changed.
37900Solution: Call mch_process_running() to check if the job is still alive.
37901
37902Patch 9.0.1378
37903Problem: Illegal memory access when using virtual editing.
37904Solution: Make sure "startspaces" is not negative.
37905
37906Patch 9.0.1379
37907Problem: Functions for handling options are not ordered.
37908Solution: Put functions in alphabetical order. (Yegappan Lakshmanan,
37909 closes #12101)
37910
37911Patch 9.0.1380
37912Problem: CTRL-X on 2**64 subtracts two. (James McCoy)
37913Solution: Correct computation for large number. (closes #12103)
37914
37915Patch 9.0.1381
37916Problem: ACCESS_ names have a conflict with on some systems.
37917Solution: Rename by prepending VIM_. (Ola Söder, closes #12105)
37918
37919Patch 9.0.1382
37920Problem: Failing test for strptime() doesn't show returned value.
37921Solution: Use assert_equal() instead of assert_true().
37922
37923Patch 9.0.1383
37924Problem: xxd: combination of little endian and cols fails. (Aapo
37925 Rantalainen)
37926Solution: Round up the space taken by the hex output. (closes #12097)
37927
37928Patch 9.0.1384
37929Problem: Setting HOMEBREW_NO_AUTO_UPDATE is not needed with Homebew version
37930 4.
37931Solution: Remove setting HOMEBREW_NO_AUTO_UPDATE. (closes #12008)
37932
37933Patch 9.0.1385
37934Problem: g'Esc is considered an error.
37935Solution: Make g'Esc silently abandon the command. (closes #12110)
37936
37937Patch 9.0.1386
37938Problem: Options test fails with some window width.
37939Solution: Adjust what text the test checks with. (closes #12111)
37940
37941Patch 9.0.1387
37942Problem: Scrollbar test sporadically fails.
37943Solution: Mark the scrollbar test as flaky. (Christian Brabandt,
37944 closes #12113)
37945
37946Patch 9.0.1388
37947Problem: Amiga: not all builds use gethostname().
37948Solution: Use gethostname() for all builds except AROS. (Ola Söder,
37949 closes #12107)
37950
37951Patch 9.0.1389
37952Problem: Amiga: a couple of include files are included twice.
37953Solution: Remove duplicate includes. (Ola Söder, closes #12106)
37954
37955Patch 9.0.1390
37956Problem: FOR_ALL_ macros are defined in an unexpected file.
37957Solution: Move FOR_ALL_ macros to macros.h. Add FOR_ALL_HASHTAB_ITEMS.
37958 (Yegappan Lakshmanan, closes #12109)
37959
37960Patch 9.0.1391
37961Problem: "clear" macros are not always used.
37962Solution: Use ALLOC_ONE, VIM_CLEAR, CLEAR_POINTER and CLEAR_FIELD in more
37963 places. (Yegappan Lakshmanan, closes #12104)
37964
37965Patch 9.0.1392
37966Problem: Using NULL pointer with nested :open command.
37967Solution: Check that ccline.cmdbuff is not NULL.
37968
37969Patch 9.0.1393
37970Problem: Cairo files are not recognized.
37971Solution: Add a pattern for Cairo files. (Amaan Qureshi, closes #12118)
37972
37973Patch 9.0.1394
37974Problem: Unx Tal files are not recognized.
37975Solution: Add a pattern for Unx Tal files. (Amaan Qureshi, closes #12117)
37976
37977Patch 9.0.1395
37978Problem: Odin files are not recognized.
37979Solution: Add a pattern for Odin files. (Amaan Qureshi, closes #12122)
37980
37981Patch 9.0.1396
37982Problem: sort(list, 'N') does not work in Vim9 script context.
37983Solution: Convert string to number without giving an error. (closes #12061)
37984
37985Patch 9.0.1397
37986Problem: Highlight for popupmenu kind and extra cannot be set.
37987Solution: Add PmenuKind, PmenuKindSel, PmenuExtra and PmenuExtraSel
37988 highlight groups and use them. (Gianmaria Bajo, closes #12114)
37989
37990Patch 9.0.1398
37991Problem: Profile test repeats the headers many times.
37992Solution: Put the headers in script variables.
37993
37994Patch 9.0.1399
37995Problem: Highlight test script has a few problems.
37996Solution: Rewrite the script in Vim9 syntax. (closes #10379)
37997
37998Patch 9.0.1400
37999Problem: find_file_in_path() is not reentrant.
38000Solution: Instead of global variables pass pointers to the functions.
38001 (closes #12093)
38002
38003Patch 9.0.1401
38004Problem: Condition is always true.
38005Solution: Remove the condition. (closes #12139)
38006
38007Patch 9.0.1402
38008Problem: Crash when using null_class.
38009Solution: Give an error when trying to use a null class.
38010
38011Patch 9.0.1403
38012Problem: Unused variables and functions.
38013Solution: Delete items and adjust #ifdefs. (Dominique Pellé, closes #12145)
38014
38015Patch 9.0.1404
38016Problem: Compilation error with some compilers.
38017Solution: Adjust array initialization. (John Marriott)
38018
38019Patch 9.0.1405
38020Problem: Missing check for out-of-memory.
38021Solution: Check for alloc() returning NULL pointer. (closes #12149)
38022
38023Patch 9.0.1406
38024Problem: ILE RPG files are not recognized.
38025Solution: Add patterns for ILE RPG files. (Andreas Louv, issue #12152)
38026
38027Patch 9.0.1407
38028Problem: TableGen files are not recognized.
38029Solution: Add a pattern for TableGen files. (Amaan Qureshi, closes #12156)
38030
38031Patch 9.0.1408
38032Problem: QMLdir files are not recognized.
38033Solution: Add a pattern for QMLdir files. (Amaan Qureshi, closes #12161)
38034
38035Patch 9.0.1409
38036Problem: Racket files are recognized as scheme.
38037Solution: Recognize rackets files separately. (Gabriel Kakizaki,
38038 closes #12164, closes #12162)
38039
38040Patch 9.0.1410
38041Problem: MacOS: sed fails on .po files.
38042Solution: Set $LANG to "C". (Yee Cheng Chin, closes #12153)
38043
38044Patch 9.0.1411
38045Problem: Accuracy of profiling is not optimal.
38046Solution: Use CLOCK_MONOTONIC if possible. (Ernie Rael, closes #12129)
38047
38048Patch 9.0.1412
38049Problem: Pony files are not recognized.
38050Solution: Add a pattern for Pony files. (Amaan Qureshi, closes #12155)
38051
38052Patch 9.0.1413
38053Problem: Compiler warning for unused variable.
38054Solution: Move variable declaration. (John Marriott)
38055
38056Patch 9.0.1414
38057Problem: <M-S-x> in Kitty does not use the Shift modifier.
38058Solution: Apply the Shift modifier to ASCII letters. (closes #11913)
38059
38060Patch 9.0.1415
38061Problem: Crystal files are not recognized.
38062Solution: Add a pattern for Crystal files. (Amaan Qureshi, closes #12175)
38063
38064Patch 9.0.1416
38065Problem: Crash when collection is modified when using filter().
38066Solution: Lock the list/dict/blob. (Ernie Rael, closes #12183)
38067
38068Patch 9.0.1417
38069Problem: ESDL files are not recognized.
38070Solution: Add a pattern for ESDL files. (Amaan Qureshi, closes #12174)
38071
38072Patch 9.0.1418
38073Problem: The included xdiff code is a bit outdated.
38074Solution: Sync with the latest git xdiff code. (Yee Cheng Chin,
38075 closes #12181)
38076
38077Patch 9.0.1419
38078Problem: Lean files are not recognized.
38079Solution: Add a pattern for Lean files. (Amaan Qureshi, closes #12177)
38080
38081Patch 9.0.1420
38082Problem: Build failure because SIZE_MAX is not defined.
38083Solution: Define SIZE_MAX when missing. (John Marriott)
38084
38085Patch 9.0.1421
38086Problem: Nu files are not recognized.
38087Solution: Add a pattern for Nu files. (Amaan Qureshi, closes #12172)
38088
38089Patch 9.0.1422
38090Problem: Sage files are not recognized.
38091Solution: Add a pattern for Sage files. (Amaan Qureshi, closes #12176)
38092
38093Patch 9.0.1423
38094Problem: WebAssembly Interface Type files are not recognized.
38095Solution: Add a pattern for WIT files. (Amaan Qureshi, closes #12173)
38096
38097Patch 9.0.1424
38098Problem: Unused macros are defined.
38099Solution: Remove the unused macros.
38100
38101Patch 9.0.1425
38102Problem: "wat" and "wast" files are one filetype.
38103Solution: Add a separate filetype for "wat" files. (Amaan Qureshi,
38104 closes #12165)
38105
38106Patch 9.0.1426
38107Problem: Indent wrong after "export namespace" in C++.
38108Solution: Skip over "inline" and "export" in any order. (Virginia Senioria,
38109 closes #12134, closes #12133)
38110
38111Patch 9.0.1427
38112Problem: Warning for uninitialized variable. (Tony Mechelynck)
38113Solution: Add #ifdef.
38114
38115Patch 9.0.1428
38116Problem: Cursor in wrong position when leaving insert mode.
38117Solution: Update the w_valid flags. Position the cursor also when not
38118 redrawing. (closes #12137)
38119
38120Patch 9.0.1429
38121Problem: Invalid memory access when ending insert mode.
38122Solution: Check if the insert_skip value is valid.
38123
38124Patch 9.0.1430
38125Problem: Livebook files are not recognized.
38126Solution: Add a pattern for Livebook files. (Mathias Jean Johansen,
38127 closes #12203)
38128
38129Patch 9.0.1431
38130Problem: getscriptinfo() loops even when specific SID is given.
38131Solution: Only loop when needed. Give a clearer error message.
38132 (closes #12207)
38133
38134Patch 9.0.1432
38135Problem: Completion popup in wrong position with virtual text "above".
38136Solution: Adjust the column. (closes #12210)
38137
38138Patch 9.0.1433
38139Problem: On some systems the Lua library is not found.
38140Solution: Check if a subdirectory for Lua exists. (closes #4475)
38141
38142Patch 9.0.1434
38143Problem: Crash when adding package already in 'runtimepath'.
38144Solution: Change order for using 'runtimepath' entries. (closes #12215)
38145
38146Patch 9.0.1435
38147Problem: Scrolling too many lines when 'wrap' and 'diff' are set.
38148Solution: Only scroll by screenlines for 'diff' when 'wrap' is not set.
38149 (closes #12211)
38150
38151Patch 9.0.1436
38152Problem: Cannot compare a typed variable with v:none.
38153Solution: Allow for "x is v:none" and "x isnot v:none". (issue #12194)
38154
38155Patch 9.0.1437
38156Problem: Test fails with different error number.
38157Solution: Adjust the expected error.
38158
38159Patch 9.0.1438
38160Problem: .fs files are falsely recognized as forth files.
38161Solution: Check 100 lines for something that looks like forth. (Johan
38162 Kotlinski, closes #12219, closes #11988)
38163
38164Patch 9.0.1439
38165Problem: Start Insert mode when accessing a hidden prompt buffer.
38166Solution: Call leaving_window() in aucmd_restbuf(). (Thorben Tröbst,
38167 closes #12148, closes #12147)
38168
38169Patch 9.0.1440
38170Problem: "rvim" can execute a shell through :diffpatch.
38171Solution: Disallow the shell "patch" command.
38172
38173Patch 9.0.1441
38174Problem: MacOS: Python 3 using framework do not set dll name properly.
38175Solution: Use the framework prefix. (Yee Cheng Chin, closes #12189)
38176
38177Patch 9.0.1442
38178Problem: mapset() does not restore non-script context.
38179Solution: Also accept negative sid. (closes #12132)
38180
38181Patch 9.0.1443
38182Problem: Ending Insert mode when accessing a hidden prompt buffer.
38183Solution: Don't stop Insert mode when it was active before. (closes #12237)
38184
38185Patch 9.0.1444
38186Problem: Crash when passing NULL to setcmdline(). (Andreas Louv)
38187Solution: Use tv_get_string() instead of using v_string directly.
38188 (closes #12231, closes #12227)
38189
38190Patch 9.0.1445
38191Problem: openSUSE: configure doesn't find the Motif library. (Tony
38192 Mechelynck)
38193Solution: Also search in /usr/lib64.
38194
38195Patch 9.0.1446
38196Problem: Unnecessary checks for the "skip" flag when skipping.
38197Solution: Remove the unnecessary checks. (closes #12254)
38198
38199Patch 9.0.1447
38200Problem: Condition is always true.
38201Solution: Remove the useless condition. (closes #12253)
38202
38203Patch 9.0.1448
38204Problem: Diff test fails on MacOS 13.
38205Solution: Install GNU diffutils. (Ozaki Kiichi, closes #12258)
38206
38207Patch 9.0.1449
38208Problem: Test for prompt buffer is flaky.
38209Solution: Use WaitForAssert() instead of TermWait(). (Ozaki Kiichi,
38210 closes #12247)
38211
38212Patch 9.0.1450
38213Problem: MacOS: building fails if clock_gettime() is not available.
38214Solution: Add a configure check for clock_gettime(). (closes #12242)
38215
38216Patch 9.0.1451
38217Problem: Unnecessary redrawing when 'showcmdloc' is not "last".
38218Solution: Redraw later when "showcmd_is_clear" is set. (Luuk van Baal,
38219 closes #12260)
38220
38221Patch 9.0.1452
38222Problem: Code using EVAL_CONSTANT is dead, it is never set.
38223Solution: Remove EVAL_CONSTANT. (closes #12252)
38224
38225Patch 9.0.1453
38226Problem: Typos in source code and tests.
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010038227Solution: Fix the typos. (Dominique Pellé, closes #12217)
Christian Brabandt5872bcb2023-12-19 20:10:43 +010038228
38229Patch 9.0.1454
38230Problem: Code indenting is confused by macros.
38231Solution: Put semicolon after the macros instead of inside. (Ozaki Kiichi,
38232 closes #12257)
38233
38234Patch 9.0.1455
38235Problem: C++ 20 modules are not recognized.
38236Solution: Add patterns to recognize C++ 20 modules as "cpp". (Ben Jackson,
38237 closes #12261)
38238
38239Patch 9.0.1456
38240Problem: Shortmess test depends on order of test execution.
38241Solution: Clear messages. (closes #12264)
38242
38243Patch 9.0.1457
38244Problem: No regression test for what patch 9.0.1333 fixes.
38245Solution: Extend existing test to cover the fixed problem. (issue #11930)
38246
38247Patch 9.0.1458
38248Problem: Buffer overflow when expanding long file name.
38249Solution: Use a larger buffer and avoid overflowing it. (Yee Cheng Chin,
38250 closes #12201)
38251
38252Patch 9.0.1459
38253Problem: Typo in name of type.
38254Solution: Change funccal_T to funccall_T. (closes #12265)
38255
38256Patch 9.0.1460
38257Problem: Insufficient testing for getcmdcompltype().
38258Solution: Add a few more test cases. (closes #12268)
38259
38260Patch 9.0.1461
38261Problem: Ruler not drawn correctly when using 'rulerformat'.
38262Solution: Adjust formatting depending on whether the ruler is drawn in the
38263 statusline or the command line. (Sean Dewar, closes #12246)
38264
38265Patch 9.0.1462
38266Problem: Recursively calling :defer function if it does :qa.
38267Solution: Clear the defer entry before calling the function. (closes #12266)
38268
38269Patch 9.0.1463
38270Problem: Virtual text truncation only works with Unicode 'encoding'.
38271Solution: Convert the ellipsis character to 'encoding' if needed. (Hirohito
38272 Higashi, closes #12233)
38273
38274Patch 9.0.1464
38275Problem: Strace filetype detection is expensive.
38276Solution: Match with a cheap pattern first. (Federico Mengozzi,
38277 closes #12220)
38278
38279Patch 9.0.1465
38280Problem: Haiku build fails.
38281Solution: Do not include globals.h and proto.h twice. (Ozaki Kiichi,
38282 closes #12273)
38283
38284Patch 9.0.1466
38285Problem: Cannot use an object member name as a method argument.
38286Solution: Do not give an error for using an object member name for a method
38287 argument. (Hirohito Higashi, closes #12241, closes #12225)
38288 Fix line number for other argument error.
38289
38290Patch 9.0.1467
38291Problem: Jenkinsfiles are not recognized as groovy.
38292Solution: Add a pattern for Jenkinsfiles. (closes #12236)
38293
38294Patch 9.0.1468
38295Problem: Recursively calling :defer function if it does :qa in a compiled
38296 function.
38297Solution: Clear the defer entry before calling the function. (closes #12271)
38298
38299Patch 9.0.1469
38300Problem: Deferred functions not called from autocommands.
38301Solution: Also go through the funccal_stack. (closes #12267)
38302
38303Patch 9.0.1470
38304Problem: Deferred functions invoked in unexpected order when using :qa and
38305 autocommands.
38306Solution: Call deferred functions for the current funccal before using the
38307 stack. (closes #12278)
38308
38309Patch 9.0.1471
38310Problem: Warnings for function declarations.
38311Solution: Add argument types. (Michael Jarvis, closes #12277)
38312
38313Patch 9.0.1472
38314Problem: ":drop fname" may change the last used tab page.
38315Solution: Restore the last used tab page when :drop has changed it.
38316 (closes #12087)
38317
38318Patch 9.0.1473
38319Problem: CI does not run sound tests.
38320Solution: Re-enable sound tests. Use "apt-get" instead of "apt". (Ozaki
38321 Kiichi, closes #12280)
38322
38323Patch 9.0.1474
38324Problem: CI runs with old version of Ubuntu and tools.
38325Solution: Update CI to more recent versions. (closes #11092)
38326
38327Patch 9.0.1475
38328Problem: Busted configuration files are not recognized.
38329Solution: Recognize busted configuration files as Lua. (Craig MacEachern,
38330 closes #12209)
38331
38332Patch 9.0.1476
38333Problem: Lines put in non-current window are not displayed. (Marius
38334 Gedminas)
38335Solution: Don't increment the topline when inserting just above it.
38336 (closes #12212)
38337
38338Patch 9.0.1477
38339Problem: Crash when recovering from corrupted swap file.
38340Solution: Check for a valid page count. (closes #12275)
38341
38342Patch 9.0.1478
38343Problem: Filetypes for *.v files not detected properly.
38344Solution: Use the file contents to detect the filetype. (Turiiya,
38345 closes #12281)
38346
38347Patch 9.0.1479
38348Problem: Small source file problems; outdated list of distributed files.
38349Solution: Small updates to source files and list of distributed files.
38350
38351Patch 9.0.1480
38352Problem: Using popup menu may leave text in the command line.
38353Solution: Clear the command line if the popup menu covered it. (Luuk van
38354 Baal, closes #12286)
38355
38356Patch 9.0.1481
38357Problem: Decrypting with libsodium may fail if the library changes.
38358Solution: Add parameters used to the encrypted file header. (Christian
38359 Brabandt, closes #12279)
38360
38361Patch 9.0.1482
38362Problem: Crash when textprop has a very large "padding" value. (Yegappan
38363 Lakshmanan)
38364Solution: Avoid the "after" count to go negative.
38365
38366Patch 9.0.1483
38367Problem: += operator does not work on class member.
38368Solution: Do not skip as if "this." was used. (Christian Brabandt,
38369 closes #12263)
38370
38371Patch 9.0.1484
38372Problem: Coverity warns for using invalid array index.
38373Solution: Add entry for Xchacha, even though it is not used.
38374
38375Patch 9.0.1485
38376Problem: no functions for converting from/to UTF-16 index.
38377Solution: Add UTF-16 flag to existing funtions and add strutf16len() and
38378 utf16idx(). (Yegappan Lakshmanan, closes #12216)
38379
38380Patch 9.0.1486
38381Problem: Parallel make might not work.
38382Solution: Add missing dependencies. (Samuel Dionne-Riel, closes #12288)
38383
38384Patch 9.0.1487
38385Problem: Content-type header for LSP channel not according to spec.
38386Solution: Use "vscode-jsonrpc" instead of "vim-jsonrpc". (Yegappan
38387 Lakshmanan, closes #12295)
38388
38389Patch 9.0.1488
38390Problem: xchacha20v2 crypt header is platform dependent.
38391Solution: Avoid using "size_t". (Ozaki Kiichi, closses #12296)
38392
38393Patch 9.0.1489
38394Problem: Crypt with libsodium is not tested on CI.
38395Solution: Configure testing with libsodium. (Ozaki Kiichi, closes #12297)
38396
38397Patch 9.0.1490
38398Problem: The ModeChanged event may be triggered too often.
38399Solution: Only trigger ModeChanged when no operator is pending.
38400 (closes #12298)
38401
38402Patch 9.0.1491
38403Problem: Wrong scrolling with ls=0 and :botright split.
38404Solution: Add statusline before calling frame_new_height(). (closes #12299)
38405
38406Patch 9.0.1492
38407Problem: Using uninitialized memory when argument is missing.
38408Solution: Check there are sufficient arguments before the base.
38409 (closes #12302)
38410
38411Patch 9.0.1493
38412Problem: Popup menu position wrong in window with toolbar.
38413Solution: Take the window toolbar into account when positioning the popup
38414 menu. (closes #12308)
38415
38416Patch 9.0.1494
38417Problem: Crash when recovering from corrupted swap file.
38418Solution: Bail out when the line index looks wrong. (closes #12276)
38419
38420Patch 9.0.1495
38421Problem: GTK3: hiding the mouse pointer does not work. (Rory O’Kane)
38422Solution: Set alpha level to zero. (Kenny Stauffer, closes #12293,
38423 closes #3256)
38424
38425Patch 9.0.1496
38426Problem: Test restoring register with wrong value.
38427Solution: Correct name of variable. (closes #12310)
38428
38429Patch 9.0.1497
38430Problem: The ruler percentage can't be localized.
38431Solution: Use a string that can be translated. (Emir Sari, closes #12311)
38432
38433Patch 9.0.1498
38434Problem: In a terminal window the cursor may jump around. (Kenny Stauffer)
38435Solution: Do not move the cursor to the position for terminal-normal mode.
38436 (closes #12312)
38437
38438Patch 9.0.1499
38439Problem: Using uninitialized memory with fuzzy matching.
38440Solution: Initialize the arrays used to store match positions.
38441
38442Patch 9.0.1500
38443Problem: The falsy operator is not tested properly.
38444Solution: Add a few more test cases. (closes #12319)
38445
38446Patch 9.0.1501
38447Problem: Crash with nested :try and :throw in catch block.
38448Solution: Jump to :endtry before returning from function. (closes #12245)
38449
38450Patch 9.0.1502
38451Problem: No test for deleting the end of a long wrapped line.
38452Solution: Add a test to check the right text is displayed. (Luuk van Baal,
38453 closes #12318)
38454
38455Patch 9.0.1503
38456Problem: Luau files are not recognized.
38457Solution: Add a patter for Luau files. (Amaan Qureshi, closes #12317)
38458
38459Patch 9.0.1504
38460Problem: No error when calling remote_startserver() with an empty string.
38461Solution: Give an error for an empty string. (Hirohito Higashi,
38462 closes #12327)
38463
38464Patch 9.0.1505
38465Problem: Error when heredoc content looks like heredoc.
38466Solution: Handle curly expressions. (closes #12325)
38467
38468Patch 9.0.1506
38469Problem: Line number not displayed when using 'smoothscroll'.
38470Solution: Adjust condition for showing the line number. (closes #12333)
38471
38472Patch 9.0.1507
38473Problem: Assert message is confusing with boolean result. assert_inrange()
38474 replaces message instead of adding it.
38475Solution: Don't put quotes around expected boolean value. Append message
38476 for assert_inrange(). (closes #12342, closes #12341)
38477
38478Patch 9.0.1508
38479Problem: Catch does not work when lines are joined with a newline.
38480Solution: Set "nextcmd" appropriately. (closes #12348)
38481
38482Patch 9.0.1509
38483Problem: Error message lacks mentioning the erroneous argument.
38484Solution: Specify the argument that the error is for.
38485
38486Patch 9.0.1510
38487Problem: Misleading variable name for error message.
38488Solution: Change "name" to "number". (closes #12345)
38489
38490Patch 9.0.1511
38491Problem: Crash when using wrong arg types to assert_match().
38492Solution: Check for NULL pointer. (closes #12349)
38493
38494Patch 9.0.1512
38495Problem: Inserting lines when scrolling with 'smoothscroll' set.
38496Solution: Adjust line height computation for w_skipcol. (Luuk van Baal,
38497 closes #12350)
38498
38499Patch 9.0.1513
38500Problem: Text scrolls unnecessarily when splitting and 'splitkeep' is not
38501 "cursor".
38502Solution: Avoid resetting w_skipcol. (Luuk van Baal, closes #12334)
38503
38504Patch 9.0.1514
38505Problem: Test waits unnecessarily long before checking screendump.
38506Solution: Remove TermWait() call.
38507
38508Patch 9.0.1515
38509Problem: reverse() does not work for a String.
38510Solution: Implement reverse() for a String. (Yegappan Lakshmanan,
38511 closes #12179)
38512
38513Patch 9.0.1516
38514Problem: Cannot use special keys in <Cmd> mapping.
38515Solution: Do allow for special keys in <Cmd> and <ScriptCmd> mappings.
38516 (closes #12326)
38517
38518Patch 9.0.1517
38519Problem: MacOS: configure removes -O2 from $CFLAGS.
38520Solution: Only adjust $CFLAGS for gcc. (closes #12351)
38521
38522Patch 9.0.1518
38523Problem: Search stats not always visible when searching backwards.
38524Solution: Do not display the top/bot message on top of the search stats.
38525 (Christian Brabandt, closes #12322, closes #12222)
38526
38527Patch 9.0.1519
38528Problem: Global 'filetype' is set when it is detected from the file content.
38529Solution: Set the local 'filetype' option value.
38530
38531Patch 9.0.1520
38532Problem: Completion for option name includes all bool options.
38533Solution: Do not recognize the "noinv" prefix. Prefix "no" or "inv" when
38534 appropriate.
38535
38536Patch 9.0.1521
38537Problem: Failing redo of command with control characters.
38538Solution: Use AppendToRedobuffLit() for colon commands. (closes #12354)
38539
38540Patch 9.0.1522
38541Problem: Some functions give two error messages.
38542Solution: Do not give a second error message. (closes #12352)
38543
38544Patch 9.0.1523
38545Problem: Some error messages are not marked for translation.
38546Solution: Surround the messages in _(). (closes #12356)
38547
38548Patch 9.0.1524
38549Problem: Passing -1 for bool is not always rejected.
38550Solution: Check for error in a better way. (closes #12358)
38551
38552Patch 9.0.1525
38553Problem: 'smoothscroll' does not always work properly.
38554Solution: Do not reset w_skipcol after it was intentionally set. (Luuk van
38555 Baal, closes #12360, closes #12199, closes #12323)
38556
38557Patch 9.0.1526
38558Problem: Condition is always true.
38559Solution: Remove unnecessary condition. (closes #12359)
38560
38561Patch 9.0.1527
38562Problem: Crash when using negative value for term_cols.
38563Solution: Check for invalid term_cols value. (Kenta Sato, closes #12362)
38564
38565Patch 9.0.1528
38566Problem: Libsodium encryption is only used with "huge" features, even when
38567 manually enabled through configure. (Tony Mechelynck)
38568Solution: Remove the condition on FEAT_HUGE.
38569
38570Patch 9.0.1529
38571Problem: Code style test doesn't check for space after "if".
38572Solution: Add a test for space.
38573
38574Patch 9.0.1530
38575Problem: Cursor moves to wrong line when 'foldmethod' is "diff". (Rick
38576 Howe)
38577Solution: Adjust logic for scrolling. (Luuk van Baal, closes #12364,
38578 closes #12218)
38579
38580Patch 9.0.1531
38581Problem: Crash when register contents ends up being invalid.
38582Solution: Check "y_array" is not NULL.
38583
38584Patch 9.0.1532
38585Problem: Crash when expanding "~" in substitute causes very long text.
38586Solution: Limit the text length to MAXCOL.
38587
38588Patch 9.0.1533
38589Problem: Test for 'smoothscroll' is ineffective.
38590Solution: Change the order of testing "zb" and "zt". (Luuk van Baal,
38591 closes #12366)
38592
38593Patch 9.0.1534
38594Problem: Test for expanding "~" in substitute takes too long.
38595Solution: Disable the test for now.
38596
38597Patch 9.0.1535
38598Problem: Test commented out in a wrong way.
38599Solution: Use legacy script comment character.
38600
38601Patch 9.0.1536
38602Problem: CI: sound dummy stopped working.
38603Solution: Temporarily stop using sound dummy.
38604
38605Patch 9.0.1537
38606Problem: Message for opening the cmdline window is not translated.
38607Solution: Add gettext() and scan the defaults script for text to be
38608 translated. (closes #12371)
38609
38610Patch 9.0.1538
38611Problem: :wqall does not trigger ExitPre. (Bart Libert)
38612Solution: Move preparations for :qall to a common function. (closes #12374)
38613
38614Patch 9.0.1539
38615Problem: Typst filetype is not recognized.
38616Solution: Distinguish between sql and typst. (Gaetan Lepage, closes #12363)
38617
38618Patch 9.0.1540
38619Problem: reverse() on string doesn't work in compiled function.
38620Solution: Accept string in argument type check. (Yegappan Lakshmanan,
38621 closes #12377)
38622
38623Patch 9.0.1541
38624Problem: CI: sound dummy is disabled.
38625Solution: Make sound dummy work again. (closes #12380)
38626
38627Patch 9.0.1542
38628Problem: Line not fully displayed if it doesn't fit in the screen.
38629Solution: Do not reset s_skipcol if not needed. (Luuk van Baal,
38630 closes #12376)
38631
38632Patch 9.0.1543
38633Problem: Display errors when making topline shorter and 'smoothscroll' is
38634 set.
38635Solution: Reset w_skipcol when the topline becomes shorter than its current
38636 value. (Luuk van Baal, closes #12367)
38637
38638Patch 9.0.1544
38639Problem: Recent glibc marks sigset() as a deprecated.
38640Solution: Use sigaction() in mch_signal() if possible. (Ozaki Kiichi,
38641 closes #12373)
38642
38643Patch 9.0.1545
38644Problem: Text not scrolled when cursor moved with "g0" and "h".
38645Solution: Adjust w_skipcol when needed. (Luuk van Baal, closes #12387)
38646
38647Patch 9.0.1546
38648Problem: Some commands for opening a file don't use 'switchbuf'.
38649Solution: Use 'switchbuf' for more commands. (Yegappan Lakshmanan,
38650 closes #12383, closes #12381)
38651
38652Patch 9.0.1547
38653Problem: Coveralls workflow on CI is commented out.
38654Solution: Remove the Coveralls workflow. (closes #12389)
38655
38656Patch 9.0.1548
38657Problem: CI: check in sound-dummy module may throw an error.
38658Solution: Check whether apt-cache can show the package description.
38659 (Christian Brabandt, closes #12390)
38660
38661Patch 9.0.1549
38662Problem: USD filetype is not recognized.
38663Solution: Add patterns for USD filetype. (Colin Kennedy, closes #12370)
38664
38665Patch 9.0.1550
38666Problem: In cmdline window S-Tab does not select previous completion.
38667 (Maxim Kim)
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010038668Solution: Add a mapping for S-Tab. (closes #12116)
Christian Brabandt5872bcb2023-12-19 20:10:43 +010038669
38670Patch 9.0.1551
38671Problem: Position of marker for 'smoothscroll' not computed correctly.
38672Solution: Take 'list' and other options into account. (Luuk van Baal,
38673 closes #12393)
38674
38675Patch 9.0.1552
38676Problem: CI: sound-dummy module is not installed.
38677Solution: Invert using the result of the condition. (closes #12394)
38678
38679Patch 9.0.1553
38680Problem: CI: using slightly outdated gcc version.
38681Solution: Use "brew" to get a more recent gcc version. (closes #12391)
38682
38683Patch 9.0.1554
38684Problem: Code for handling 'switchbuf' is repeated.
38685Solution: Add a function to handle 'switchbuf'. (Yegappan Lakshmanan,
38686 closes #12397)
38687
38688Patch 9.0.1555
38689Problem: setcharsearch() does not clear last searched char properly.
38690Solution: Do not accept lastc_bytelen smaller than one. (closes #12398)
38691
38692Patch 9.0.1556
38693Problem: Vim9: error for missing "return" after "throw".
38694Solution: Set had_return flag for "throw". (closes #12262)
38695
38696Patch 9.0.1557
38697Problem: Test failures for unreachable code.
38698Solution: Add a test override to ignore unreachable code.
38699
38700Patch 9.0.1558
38701Problem: Wrong error for unreachable code after :throw.
38702Solution: Adjust the error message.
38703
38704Patch 9.0.1559
38705Problem: Function argument types not always checked and using v:none may
38706 cause an error.
38707Solution: Check argument types once the function type is known. Do not give
38708 an error for using v:none as an argument. (closes #12200)
38709
38710Patch 9.0.1560
38711Problem: Win32: When 'encoding' is set $PATH has duplicate entries.
38712Solution: Only append the directory if it is not there yet. (Ken Takata,
38713 closes #12400, closes #12372)
38714
38715Patch 9.0.1561
38716Problem: Display wrong when moving cursor to above the top line and
38717 'smoothscroll' is set.
38718Solution: Call adjust_skipcol() in more places and make it work better.
38719 (Luuk van Baal, closes #12395)
38720
38721Patch 9.0.1562
38722Problem: Mixing package managers is not a good idea.
38723Solution: Install gcc 13 with apt-get. (closes #12405)
38724
38725Patch 9.0.1563
38726Problem: GTK3: window manager resize hints are incomplete.
38727Solution: Use NULL for second argument of gtk_window_set_geometry_hints().
38728 (Kenny Stauffer closes #11055)
38729
38730Patch 9.0.1564
38731Problem: Display moves up and down with 'incsearch' and 'smoothscroll'.
38732Solution: Do not check if w_skipcol changed. (Luuk van Baal, closes #12410,
38733 closes #12409)
38734
38735Patch 9.0.1565
38736Problem: Json lines files are not recognized.
38737Solution: Add a pattern to detect "jsonl" files. (issue #7520)
38738
38739Patch 9.0.1566
38740Problem: Motif: GUI scrollbar test fails in 24 lines terminal.
38741Solution: Skip the part of the test that fails for now.
38742
38743Patch 9.0.1567
38744Problem: Profiler calculation may be wrong on 32 bit builds.
38745Solution: Use 64 bit variable if possible. (Isao Sato, closes #12412)
38746
38747Patch 9.0.1568
38748Problem: With 'smoothscroll' cursor may move below botline.
38749Solution: Call redraw_later() if needed, Compute cursor row with adjusted
38750 condition. (Luuk van Baal, closes #12415)
38751
38752Patch 9.0.1569
38753Problem: Cannot use "this.member" in lambda in class method.
38754Solution: Adjust check for reserved keyword. (Hirohito Higashi,
38755 closes #12416, closes #12076, closes #12336)
38756
38757Patch 9.0.1570
38758Problem: Some tests are slow.
38759Solution: Make a few test cases faster.
38760
38761Patch 9.0.1571
38762Problem: RedrawingDisabled not used consistently.
38763Solution: Avoid RedrawingDisabled going negative. Set RedrawingDisabled in
38764 win_split_ins(). (closes #11961)
38765
38766Patch 9.0.1572
38767Problem: Error messages are not translated.
38768Solution: Add _().
38769
38770Patch 9.0.1573
38771Problem: Error for function name has wrong line number.
38772Solution: Set the line number before giving the error.
38773
38774Patch 9.0.1574
38775Problem: MS-Windows: list of translation input files incomplete.
38776Solution: Move the list of files to a common file. (closes #12426)
38777
38778Patch 9.0.1575
38779Problem: "file N of M" message is not translated.
38780Solution: Make argument count message translatable. (close #12429)
38781
38782Patch 9.0.1576
38783Problem: Users may not know what to do with an internal error.
38784Solution: Add a translated message with instructions.
38785
38786Patch 9.0.1577
38787Problem: MS-Windows: context menu translations may be wrong.
38788Solution: Set the encoding before using gettext(). (Ken Takata,
38789 closes #12441, closes #12431)
38790
38791Patch 9.0.1578
38792Problem: SpellCap highlight not always updated when needed.
38793Solution: Handle updating line below closed fold and other situations where
38794 only part of the window is redrawn. (Luuk van Baal, closes #12428,
38795 closes #12420)
38796
38797Patch 9.0.1579
38798Problem: Some error messages are not translated.
38799Solution: Add the N_() marker on messages. (closes #12427)
38800
38801Patch 9.0.1580
38802Problem: CI: indent test hangs on FreeBSD.
38803Solution: Set 'nomore' when running the indent tests. (Ozaki Kiichi,
38804 closes #12446)
38805
38806Patch 9.0.1581
38807Problem: Translation does not work for plural argument.
38808Solution: Use PLURAL_MSG() for errors and with xgettext. (closes #12443)
38809
38810Patch 9.0.1582
38811Problem: :stopinsert may not work in a popup close handler. (Ben Jackson)
38812Solution: Restore stop_insert_mode when appropriate. (closes #12452,
38813 closes #12434)
38814
38815Patch 9.0.1583
38816Problem: Get E304 when using 'cryptmethod' "xchacha20v2". (Steve Mynott)
38817Solution: Add 4th crypt method to block zero ID check. Avoid syncing a swap
38818 file before reading the file. (closes #12433)
38819
38820Patch 9.0.1584
38821Problem: Not all meson files are recognized.
38822Solution: Add "meson.options". (Liam Beguin, closes #12444)
38823
38824Patch 9.0.1585
38825Problem: Weird use of static variables for spell checking.
38826Solution: Move the variables to a structure and pass them from win_update()
38827 to win_line(). (Luuk van Baal, closes #12448)
38828
38829Patch 9.0.1586
38830Problem: Checking translations gives an error for using two messages with
38831 ngettext() that differ in "%" items.
38832Solution: Adjust the check script to tolerate omitting one "%" item.
38833
38834Patch 9.0.1587
38835Problem: Corn config files are not recognized.
38836Solution: Add a pattern for Corn config files. (Jake Stanger, closes #12449)
38837
38838Patch 9.0.1588
38839Problem: Incsearch not triggered when pasting clipboard register on the
38840 command line.
38841Solution: Also set "literally" when using a clipboard register. (Ken Takata,
38842 closes #12460)
38843
38844Patch 9.0.1589
38845Problem: Filetype test contains too many special characters.
38846Solution: Use Vim9 syntax for a few things.
38847
38848Patch 9.0.1590
38849Problem: Filetype test has trailing white space.
38850Solution: Remove trailing white space.
38851
38852Patch 9.0.1591
38853Problem: Some "gomod" files are not recognized.
38854Solution: Check for "go.mod" file name before checking out the contents.
38855 (Omar El Halabi, closes #12462)
38856
38857Patch 9.0.1592
38858Problem: Not all timer tests are marked as flaky.
38859Solution: Set the flaky flag for all timer tests. (closes #12355)
38860
38861Patch 9.0.1593
38862Problem: MS-Windows: assert error when compiled with debug mode.
38863Solution: Adjust arguments to setvbuf(). (Ken Takata, closes #12467)
38864
38865Patch 9.0.1594
38866Problem: Some internal error messages are translated.
38867Solution: Consistently do not translate internal error messages.
38868 (closes #12459)
38869
38870Patch 9.0.1595
38871Problem: Line pointer becomes invalid when using spell checking.
38872Solution: Call ml_get() at the right places. (Luuk van Baal, closes #12456)
38873
38874Patch 9.0.1596
38875Problem: :registers command does not work in sandbox.
38876Solution: Add flag to the command. (closes #12473)
38877
38878Patch 9.0.1597
38879Problem: Cursor ends up below the window after a put.
38880Solution: Mark w_crow and w_botline invalid when changing the cursor line.
38881 (closes #12465)
38882
38883Patch 9.0.1598
38884Problem: screenchar(), screenchars() and screenstring() do not work
38885 properly when 'encoding' is set to a double-byte encoding.
38886Solution: Fix the way the bytes of the characters are obtained.
38887 (issue #12469)
38888
38889Patch 9.0.1599
38890Problem: Cursor not adjusted when near top or bottom of window and
38891 'splitkeep' is not "cursor".
38892Solution: Move boundary checks to outer cursor move functions, inner
38893 functions should only return valid cursor positions. (Luuk van
38894 Baal, closes #12480)
38895
38896Patch 9.0.1600
38897Problem: screenpos() does not take w_skipcol into account.
38898Solution: Subtract w_skipcol from column. (closes #12486, closes #12476)
38899
38900Patch 9.0.1601
38901Problem: Filetype detection fails for *.conf file without comments.
38902 (Dmitrii Tcyganok)
38903Solution: Use "conf" filetype as a fallback for an empty .conf file.
38904 (closes #12487, closes #12483)
38905
38906Patch 9.0.1602
38907Problem: Stray character is visible if 'smoothscroll' marker is displayed
38908 on top of a double-wide character.
38909Solution: When overwriting a double-width character with the 'smoothscroll'
38910 marker clear the second half. (closes #12469)
38911
38912Patch 9.0.1603
38913Problem: Display wrong when scrolling multiple lines with 'smoothscroll'
38914 set.
38915Solution: Redraw when w_skipcol changed. (closes #12477, closes #12468)
38916
38917Patch 9.0.1604
38918Problem: Errors from the codestyle test are a bit confusing.
38919Solution: Use assert_report() with a clearer message. Avoid a warning for
38920 an existing swap file.
38921
38922Patch 9.0.1605
38923Problem: Crash when calling method on super in child constructor. (Israel
38924 Chauca Fuentes)
38925Solution: Clear the type list. (Ernie Rael, closes #12489, closes #12471)
38926
38927Patch 9.0.1606
38928Problem: Using freed memory when 'foldcolumn' is set.
38929Solution: Save extra pointer to free it later. (closes #12492)
38930
38931Patch 9.0.1607
38932Problem: screenpos() returns wrong row with diff filler lines.
38933Solution: Only add filler lines when appropriate. Also don't add the
38934 'smoothscroll' marker when w_skipcol is zero. (closes #12485,
38935 closes #12484)
38936
38937Patch 9.0.1608
38938Problem: update_topline() is called twice.
38939Solution: Do not call update_topline() before curs_columns(). (Luuk van
38940 Baal, closes #12495)
38941
38942Patch 9.0.1609
38943Problem: Crash when an object indirectly references itself.
38944Solution: Avoid clearing an object while it is already being cleared.
38945 (closes #12494)
38946
38947Patch 9.0.1610
38948Problem: Display is wrong when 'smoothscroll' is set and scrolling multiple
38949 lines.
38950Solution: Redraw with UPD_NOT_VALID when "skipcol" is or was set.
38951 (closes #12490, closes #12468)
38952
38953Patch 9.0.1611
38954Problem: v:maxcol can be changed in a :for loop.
38955Solution: Check for read-only loop variable. (closes #12470)
38956
38957Patch 9.0.1612
38958Problem: "skipcol" not reset when using multi-byte characters.
38959Solution: Compare with w_virtcol instead of w_cursor.col. (closes #12457)
38960
38961Patch 9.0.1613
38962Problem: Some make output gets picked up by 'errorformat'.
38963Solution: Ignore make output by default. (Gregory Anders, closes #12481)
38964
38965Patch 9.0.1614
38966Problem: strlen() called too often for :spellrepall.
38967Solution: Store the result in a variable. (closes #12497)
38968
38969Patch 9.0.1615
38970Problem: URL shortcut files are not recognized.
38971Solution: Add a pattern for URL shortcut files. (closes #12474)
38972
38973Patch 9.0.1616
38974Problem: Quickfix text field is truncated.
38975Solution: Fix output of text field after pattern field in quickfix buffer.
38976 (Shane Harper, closes #12498)
38977
38978Patch 9.0.1617
38979Problem: charidx() and utf16idx() result is not consistent with byteidx().
38980Solution: When the index is equal to the length of the text return the
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010038981 length of the text instead of -1. (Yegappan Lakshmanan,
Christian Brabandt5872bcb2023-12-19 20:10:43 +010038982 closes #12503)
38983
38984Patch 9.0.1618
38985Problem: Trace32 files are not recognized.
38986Solution: Add patterns for the t32 filetype. (Christoph Sax, closes #12505)
38987
38988Patch 9.0.1619
38989Problem: The focus gained/lost escape sequences cause trouble for a
38990 terminal where Vim does not expect them.
38991Solution: Always recognize the codes for focus gained/lost. (closes #12499)
38992
38993Patch 9.0.1620
38994Problem: Nix files are not recognized from the hashbang line.
38995Solution: Add a hashbang check. (issue #12507)
38996
38997Patch 9.0.1621
38998Problem: FILETYPE_FILE is defined to the same value multiple times. Same
38999 for a few similar macros.
39000Solution: Define FILETYPE_FILE and others in feature.h only
39001
39002Patch 9.0.1622
39003Problem: Filetype name t32 is a bit obscure.
39004Solution: Rename t32 to trace32. (Christoph Sax, closes #12512)
39005
39006Patch 9.0.1623
39007Problem: The program to filetype translation is not exported.
39008Solution: Export Exe2filetype().
39009
39010Patch 9.0.1624
39011Problem: Crash when calling object constructor from legacy script. (Israel
39012 Chauca Fuentes)
39013Solution: Pass a pointer for "ufunc". (closes #12502)
39014
39015Patch 9.0.1625
39016Problem: "super" is not considered a reserved name.
39017Solution: Add "super" to the list of reserved names. (closes #12515)
39018
39019Patch 9.0.1626
39020Problem: Visual area not shown when using 'showbreak' and start of line is
39021 not visible. (Jaehwang Jung)
39022Solution: Adjust "fromcol" for the space taken by 'showbreak'.
39023 (closes #12514)
39024
39025Patch 9.0.1627
39026Problem: No generic mechanism to test syntax plugins.
39027Solution: Add a syntax plugin test mechanism, using screendumps. Add a
39028 simple test for "c".
39029
39030Patch 9.0.1628
39031Problem: Syntax tests fail on FreeBSD.
39032Solution: Pass the Vim executable path with VIMPROG. (Ken Takata,
39033 closes #12535) Adjust the paths.
39034
39035Patch 9.0.1629
39036Problem: Having utf16idx() rounding up is inconvenient.
39037Solution: Make utf16idx() round down. (Yegappan Lakshmanan, closes #12523)
39038
39039Patch 9.0.1630
39040Problem: "make clean" at the toplevel fails.
39041Solution: Clean the indent and syntax directories in a sub-shell. (Ben
39042 Jackson, closes #12536, closes #12526)
39043
39044Patch 9.0.1631
39045Problem: Passing a wrong variable type to an option gives multiple errors.
39046Solution: Bail out early on failure. (closes #12504)
39047
39048Patch 9.0.1632
39049Problem: Not all cabal config files are recognized.
39050Solution: Add a couple of patterns. (Marcin Szamotulski, closes #12463)
39051
39052Patch 9.0.1633
39053Problem: Duplicate code for converting float to string.
39054Solution: Use tv_get_string(). (closes #12521)
39055
39056Patch 9.0.1634
39057Problem: Message is cleared when removing mode message (Gary Johnson).
39058Solution: Do not clear the command line after displaying a message.
39059
39060Patch 9.0.1635
39061Problem: Error message is cleared when removing mode message.
39062Solution: Also reset flags when the message is further down.
39063
39064Patch 9.0.1636
39065Problem: Expanding a pattern interferes with command line completion.
39066Solution: Set the file index only when appropriate. (closes #12519)
39067
39068Patch 9.0.1637
39069Problem: Compiler warning for uninitialized variable.
39070Solution: Move the variable to an inner block and initialize it. (Christian
39071 Brabandt, closes #12549)
39072
39073Patch 9.0.1638
39074Problem: crypt tests hang and cause memory errors
39075Solution: Move variable to start of function.
39076
39077Patch 9.0.1639
39078Problem: Build failure without the crypt feature.
39079Solution: Adjust #ifdefs
39080
39081Patch 9.0.1640
39082Problem: Compiler warning for unused variables without the crypt feature.
39083Solution: Adjust #ifdefs
39084
39085Patch 9.0.1641
39086Problem: The log file does not give information about window sizes.
39087Solution: Add a few log messages about obtaining the window size.
39088
39089Patch 9.0.1642
39090Problem: Build failure with tiny features.
39091Solution: Add #ifdef's.
39092
39093Patch 9.0.1643
39094Problem: Filetype detection fails if file name ends in many '~'.
39095Solution: Strip multiple '~' at the same time. (closes #12553)
39096
39097Patch 9.0.1644
39098Problem: Not all filetype file name matches are tested.
39099Solution: Add more file names to test with. (Jonas Strittmatter,
39100 closes #12569)
39101
39102Patch 9.0.1645
39103Problem: zserio files are not recognized.
39104Solution: Add a pattern for zserio files. (Dominique Pellé,
39105 closes #12544)
39106
39107Patch 9.0.1646
39108Problem: CI: codecov may take a very long time to run.
39109Solution: Add a timeout. (Philip Heiduck, closes #12559)
39110
39111Patch 9.0.1647
39112Problem: Insufficient testing for syntax plugins.
39113Solution: Add shell file examples. (Charles Campbell) Create a messages
39114 file for easier debugging and reporting the test results.
39115
39116Patch 9.0.1648
39117Problem: Result of syntax tests is hard to see.
39118Solution: List the failed tests.
39119
39120Patch 9.0.1649
39121Problem: Syntax test failure causes script to abort.
39122Solution: Fix appending string to list.
39123
39124Patch 9.0.1650
39125Problem: MS-Windows: default 'viewdir' may include read-only directory.
39126Solution: Use $HOME instead of $VIM for 'viewdir' default. (closes #12119)
39127
39128Patch 9.0.1651
39129Problem: Unclear why syntax test fails on Mac.
39130Solution: Temporarily show the whole "messages" file.
39131
39132Patch 9.0.1652
39133Problem: Unclear why syntax test fails on Mac.
39134Solution: Echo v:errors when it's not empty.
39135
39136Patch 9.0.1653
39137Problem: Amiga: default 'viewdir' may not work.
39138Solution: Use "home:" instead of "$VIM". Add a test. (Christian Brabandt,
39139 closes #12576)
39140
39141Patch 9.0.1654
39142Problem: MS-Windows: test for default 'viewdir' fails.
39143Solution: Escape the pattern.
39144
39145Patch 9.0.1655
39146Problem: Syntax test fails when Vim window is not tall enough.
39147Solution: Make sure each terminal window is closed.
39148
39149Patch 9.0.1656
39150Problem: Syntax test fails when detected shell type differs.
39151Solution: Avoid using "/bin/sh", it depends on the system. Add a check that
39152 the shell type detection is correct.
39153
39154Patch 9.0.1657
39155Problem: One more syntax test depends on the system.
39156Solution: Use "dash" instead of "sh".
39157
39158Patch 9.0.1658
39159Problem: Autoload files for "zig" are not installed.
39160Solution: Add install and uninstall rules in the makefile. (Christian
39161 Brabandt, closes #12577, closes #12567)
39162
39163Patch 9.0.1659
39164Problem: Termdebug: default highlight cleared when changing colorscheme.
39165Solution: Use a ColorScheme autocommand. (Christian Brabandt, closes #12566,
39166 closes #12555)
39167
39168Patch 9.0.1660
39169Problem: Error for using matchfuzzy() in Vim9 script returning a list of
39170 dicts.
39171Solution: Make return type of matchfuzzy() list<any>. (Yegappan Lakshmanan,
39172 closes #12574)
39173
39174Patch 9.0.1661
39175Problem: BUCK files are not recognized.
39176Solution: Recognize BUCK files as "bzl". (Son Luong Ngoc, closes #12564)
39177
39178Patch 9.0.1662
39179Problem: Crash when using a class member twice. (Christian J. Robinson)
39180Solution: Make a copy of the value.
39181
39182Patch 9.0.1663
39183Problem: Termdebug on MS-Windows: some file names are not recognized.
39184Solution: Do not always change \t and \n. (Christian Brabandt,
39185 closes #12565, closes #12560, closes #12550)
39186
39187Patch 9.0.1664
39188Problem: Divide by zero when scrolling with 'smoothscroll' set.
39189Solution: Avoid using a negative width. (closes #12540, closes #12528)
39190
39191Patch 9.0.1665
39192Problem: Empty CmdlineEnter autocommand causes errors in Ex mode.
39193Solution: Save and restore ex_pressedreturn. (Christian Brabandt,
39194 closes # 12581, closes #12578)
39195
39196Patch 9.0.1666
39197Problem: Compiler may warn for uninitialized variable.
39198Solution: Initialize this_props_len. (Christian Brabandt, closes #12599)
39199
39200Patch 9.0.1667
39201Problem: Regression test doesn't fail when fix is reverted.
39202Solution: Add "n" to 'cpoptions' instead of using :winsize. (closes #12587,
39203 issue #12528)
39204
39205Patch 9.0.1668
39206Problem: PEM files are not recognized.
39207Solution: Add patterns to match PEM files. (closes #12582)
39208
39209Patch 9.0.1669
39210Problem: Crash syncing swapfile in new buffer when using sodium crypt.
39211 (James McCoy)
39212Solution: Add checks for sodium encryption. (Christian Brabandt,
39213 closes #12591, closes #12585)
39214
39215Patch 9.0.1670
39216Problem: Resetting local option to global value is inconsistent.
39217Solution: Handle "<" specifically for 'scrolloff' and 'sidescrolloff'.
39218 (closes #12594)
39219
39220Patch 9.0.1671
39221Problem: Termdebug: error with more than 99 breakpoints.
39222Solution: Use a different sign for breakpoint 100 and over. (closes #12589,
39223 closes #12588)
39224
39225Patch 9.0.1672
39226Problem: Tabline highlight wrong after truncated double width label.
39227Solution: Fill up half a double width character later. (closes #12614)
39228
39229Patch 9.0.1673
39230Problem: Cannot produce a status 418 or 503 message.
39231Solution: Add err_teapot().
39232
39233Patch 9.0.1674
39234Problem: Help for builtin functions is not sorted properly.
39235Solution: Put err_teapot() help in the right position.
39236
39237Patch 9.0.1675
39238Problem: Test may run into timeout when using valgrind.
39239Solution: Use a longer timeout when using valgrind.
39240
39241Patch 9.0.1676
39242Problem: Warning for buffer in use when exiting early.
39243Solution: Change file names to be able to see what buffer is in use when
39244 exiting.
39245
39246Patch 9.0.1677
39247Problem: Typo in syntax test input file.
39248Solution: Fix the typo and the expected dump files. (THARAK HEGDE,
39249 closes #12635)
39250
39251Patch 9.0.1678
39252Problem: Blade files are not recognized.
39253Solution: Add a pattern for Blade files. (closes #12650)
39254
39255Patch 9.0.1679
39256Problem: Tests may leave leftover files around
39257Solution: Clean up tests and remove files
39258
39259Patch 9.0.1680
39260Problem: sodium test fails in Github CI
39261Solution: Catch sodium_mlock() errors and do not error out
39262
39263Patch 9.0.1681
39264Problem: Build Failure with Perl 5.38
39265Solution: Fix Build Failure
39266
39267Patch 9.0.1682
39268Problem: crypt: sodium encryption is not portable
39269Solution: use little-endian byte order for sodium encrypted files
39270
39271Patch 9.0.1683
39272Problem: need runtime files updated
39273Solution: merge various github PRs
39274
39275Patch 9.0.1684
39276Problem: libvterm slightly outdated
39277Solution: Update libvterm from rev 818 to rev 839
39278
39279Patch 9.0.1685
39280Problem: Python 3.11 interface throws deprecation warnings
39281Solution: ignore those warnings for gcc and clang
39282
39283Patch 9.0.1686
39284Problem: undotree() only works for the current buffer
39285Solution: Add an optional "buffer number" parameter to undotree(). If
39286 omitted, use the current buffer for backwards compatibility.
39287
39288Patch 9.0.1687
39289Problem: mapset() not properly handling script ID
39290Solution: replace_termcodes() may accept a script ID
39291
39292Patch 9.0.1688
39293Problem: cannot store custom data in quickfix list
39294Solution: add `user_data` field for the quickfix list
39295
39296Patch 9.0.1689
39297Problem: python 3.12 produces warnings and fails test
39298Solution: Make use of raw strings in python3 tests
39299
39300Patch 9.0.1690
39301Problem: popup_create() not aborting on errors
39302Solution: check for errors in arguments given and abort if an error
39303 occurred
39304
39305Patch 9.0.1691
39306Problem: wrong viewport restored for incsearch and smoothscroll
39307Solution: Save and restore skipcol as well
39308
39309Patch 9.0.1692
39310Problem: Android not handling AI_V4MAPPED ai_flag
39311Solution: don't set AI_V4MAPPED flag when on Android, since
39312 Android's getaddrinfo returns EAI_BADFLAGS if ai_flags
39313 contains it
39314
39315Patch 9.0.1693
39316Problem: Ctrl-Q not handled like Ctrl-V in replace mode
39317Solution: Handle Ctrl-Q like Ctrl-V
39318
39319Patch 9.0.1694
39320Problem: wrong mapping applied when replaying a char search
39321Solution: Store a NOP after the ESC
39322
39323Patch 9.0.1695
39324Problem: Crash with overlong textprop above
39325Solution: Consider only positive padding
39326
39327Patch 9.0.1696
39328Problem: sodium_mlock may still fail in CI
39329Solution: Catch E1230 in testscript and skip test
39330
39331Patch 9.0.1697
39332Problem: incsearch test not sufficient (after 9.0.1691)
39333Solution: add an additional test
39334
39335Patch 9.0.1698
39336Problem: Test_map_restore_sid fails in GUI
39337Solution: Feed an unsimplified Ctrl-B
39338
39339Patch 9.0.1699
39340Problem: compile warning for xdiff/xutils on MS-Windows
39341Solution: add explicit type cast from size_t to long
39342
39343Patch 9.0.1700
39344Problem: Cannot compile with dynamic perl < 5.38 (after 9.0.1681)
39345Solution: Fix if_perl/dyn from perl 5.32 to 5.38
39346
39347Patch 9.0.1701
39348Problem: vim9 crash when class member overridden
39349Solution: Use method_count field instead
39350
39351Patch 9.0.1702
39352Problem: Undo test is flaky.
39353Solution: Apply filter and change time to "1 second ago" in both dumps.
39354
39355Patch 9.0.1703
39356Problem: Vim9 Calling a method in an extended class fails
39357Solution: use method index directly
39358
39359Patch 9.0.1704
39360Problem: Cannot use positional arguments for printf()
39361Solution: Support positional arguments in string formatting
39362
39363Patch 9.0.1705
39364Problem: cursor position wrong when clicking on an unprintable char
39365Solution: Don't update prev_ptr when wlv.n_extra is not zero.
39366
39367Patch 9.0.1706
39368Problem: typos in the xxd manpage
39369Solution: Fix typos and formatting
39370
39371Patch 9.0.1707
39372Problem: Cannot wrap around in popup_filter_menu()
39373Solution: Allow to wrap around by default
39374
39375Patch 9.0.1708
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010039376Problem: getcompletion() fails for user-defined commands
Christian Brabandt5872bcb2023-12-19 20:10:43 +010039377Solution: set context for completion function
39378
39379Patch 9.0.1709
39380Problem: dynamic build with python 3.12 breaks
39381Solution: if_python3.c: Fix building dynamic Python3 interpreter
39382
39383Patch 9.0.1710
39384Problem: sidescrolloff and scrolloff options work slightly
39385 different than other global-local options
39386Solution: Make it behave consistent for all global-local options
39387
39388Patch 9.0.1711
39389Problem: dead code in charset.c
39390Solution: remove it
39391
39392Patch 9.0.1712
39393Problem: missing null check in object_clear()
39394Solution: Add null check of cl
39395
39396Patch 9.0.1713
39397Problem: Github CI fails to load snd-dummy kernel module
39398Solution: Make installation of linux-modules-extra optional
39399
39400Patch 9.0.1714
39401Problem: getcompletion() "cmdline" fails after :autocmd
39402Solution: Use set_cmd_context() instead of set_one_cmd_context().
39403
39404Patch 9.0.1715
39405Problem: duplicate test in message_test.c
39406Solution: Remove duplicate test and make functions static
39407
39408Patch 9.0.1716
39409Problem: Windows build with python 3.12 and clang fails
39410Solution: Remove the PyBool_Type function pointer for python 3.12
39411
39412Patch 9.0.1717
39413Problem: virtcol2col returns last byte of a multi-byte char
39414Solution: Make it return the first byte for a multi-byte char
39415
39416Patch 9.0.1718
39417Problem: dict-completion does not respect region
39418Solution: respect selected region in dict completion
39419
39420Patch 9.0.1719
39421Problem: if_lua: crash for Lua functions invoked via Vim callbacks
39422Solution: Use Lua registry rather than upvalues for udata cache
39423
39424Patch 9.0.1720
39425Problem: Vim9 class using wrong index for overridden method
39426Solution: Use correct index for overridden method
39427
39428Patch 9.0.1721
39429Problem: Build failure on Windows with dynamic lua (after 9.0.1719)
39430Solution: move definition further down in if_lua
39431
39432Patch 9.0.1722
39433Problem: wrong error messages when passing wrong types to count()
39434Solution: fix it
39435
39436Patch 9.0.1723
39437Problem: Fix regression in {func} argument of reduce()
39438Solution: pass function name as string again
39439
39440Patch 9.0.1724
39441Problem: vim9class constructor argument type checking bug
39442Solution: fix it
39443
39444Patch 9.0.1725
39445Problem: Wrong cursor position when clicking after concealed text
39446 with 'virtualedit'.
39447Solution: Store virtual columns in ScreenCols[] instead of text
39448 columns, and always use coladvance() when clicking.
39449
39450Patch 9.0.1726
39451Problem: incorrect heights in win_size_restore()
39452Solution: avoid restoring incorrect heights in win_size_restore()
39453
39454Patch 9.0.1727
39455Problem: minor problems with the teapot()
39456Solution: remove the null check, update documentation
39457
39458Patch 9.0.1728
39459Problem: missing winid argument for virtcol()
39460Solution: Add a {winid} argument to virtcol()
39461
39462Patch 9.0.1729
39463Problem: screenpos() wrong result with w_skipcol and cpoptions+=n
39464Solution: Use adjust_plines_for_skipcol() instead of subtracting
39465 w_skipcol.
39466
39467Patch 9.0.1730
39468Problem: passing multiple patterns to runtime not working
39469Solution: prepend prefix to each argument separately
39470
39471Patch 9.0.1731
39472Problem: blockwise Visual highlight not working with virtual text
39473Solution: Reset the correct variable at the end of virtual selection and
39474 Check for double-width char inside virtual text.
39475
39476Patch 9.0.1732
39477Problem: vimexpr: shadowing variable
39478Solution: Rename local variable
39479
39480Patch 9.0.1733
39481Problem: CI: cannot cache linux-modules-extra
39482Solution: Enable caching and reduce failed downloads
39483
39484Patch 9.0.1734
39485Problem: runtime completion fails for multiple args
39486Solution: Make it work
39487
39488Patch 9.0.1735
39489Problem: Rename completion specific findex var
39490Solution: Move "findex" static variable to xp_selected in expand_T
39491
39492Patch 9.0.1736
39493Problem: Github Actions times out after 20 minutes
39494Solution: Increase the timeout to 25 minutes
39495
39496Patch 9.0.1737
39497Problem: Calling a base class method through an extended class fails
39498Solution: Create lookup table for member index in the interface to
39499 to the member class implementing the interface
39500
39501Patch 9.0.1738
39502Problem: Duplicate code to reverse a string
39503Solution: Move reverse_text() to strings.c and remove string_reverse().
39504
39505Patch 9.0.1739
39506Problem: leftover files in libvterm
39507Solution: Fix cleaning of libvterm directory
39508
39509Patch 9.0.1740
39510Problem: segfault when reading invalid viminfo file
39511Solution: Check the expected type in the viminfo file
39512
39513Patch 9.0.1741
39514Problem: No type checking in interfaces
39515Solution: Implement member type check in vim9 interfaces
39516
39517Patch 9.0.1742
39518Problem: Wrong curswant when clicking and the second cell of a
39519 double-width char.
39520Solution: Don't copy virtcol of the first char to the second one.
39521
39522Patch 9.0.1743
39523Problem: Parameter of gui_gtk:gui_mch_browse incorrectly marked as
39524 UNUSED.
39525Solution: Remove UNUSED flag.
39526
39527Patch 9.0.1744
39528Problem: Dead code in open_cmdwin()
39529Solution: Remove it
39530
39531Patch 9.0.1745
39532Problem: Missing test coverage for blockwise Visual highlight with
39533 virtual that starts with a double-width char.
39534Solution: Add a new virtual text to the test. Some other small fixes.
39535
39536Patch 9.0.1746
39537Problem: vim9class compile error for char/char_u conversion
39538Solution: Correctly cast to (char *)
39539
39540Patch 9.0.1747
39541Problem: screenpos() may cause unnecessary redraw.
39542Solution: Don't unnecessarily reset VALID_WROW flag.
39543
39544Patch 9.0.1748
39545Problem: CI: cannot label issues automatically
39546Solution: Create CI labeler
39547
39548Patch 9.0.1749
39549Problem: Text property highlight doesn't override a sign highlight over
39550 a tab character
39551Solution: Let text_property override tab highlighting
39552
39553Patch 9.0.1750
39554Problem: CI: fails because of changed error messages
39555 (after: 9.0.1741)
39556Solution: Adjust expected error messages
39557
39558Patch 9.0.1751
39559Problem: CI: labeler configuration not found
39560 (after 9.0.1748)
39561Solution: set configuration path
39562
39563Patch 9.0.1752
39564Problem: CI: Coveralls is no longer used
39565Solution: Remove .coveralls.yml
39566
39567Patch 9.0.1753
39568Problem: can't move to last non-blank char
39569Solution: Make g<end> behave like that
39570
39571Patch 9.0.1754
39572Problem: still ci breakage (after 9.0.1741)
39573Solution: fix remaining issue
39574
39575Patch 9.0.1755
39576Problem: CI still fails with sodium mlock error
39577Solution: catch mlock failure
39578
39579Patch 9.0.1756
39580Problem: failing cursorline sign test
39581Solution: only reset char attr, if cursorline
39582 option is not set
39583
39584Patch 9.0.1757
39585Problem: ex_class() function is too long
39586Solution: refactor it
39587
39588Patch 9.0.1758
39589Problem: vim9 no class identifiers in stack dumps
39590Solution: Prefix class members in stack traces with the class name
39591 followed by a dot.
39592
39593Patch 9.0.1759
39594Problem: Visual highlight not working with cursor at end of screen line
39595 and 'showbreak'.
39596Solution: Only update "vcol_prev" when drawing buffer text.
39597
39598Patch 9.0.1760
39599Problem: vim9 class problem with new() constructor
39600Solution: Don't allow a return type for the new() class constructor.
39601
39602Patch 9.0.1761
39603Problem: g<kEnd> behaves different from g<end>
39604Solution: Make g<kEnd> behave like g<End>
39605
39606Patch 9.0.1762
39607Problem: Not able to get the virtual text property
39608Solution: Make prop_list() return virtual text and alignment
39609
39610Patch 9.0.1763
39611Problem: crash when passing invalid buffer to undotree()
39612Solution: Use get_buf_arg() instead of tv_get_buf_from_arg().
39613
39614Patch 9.0.1764
39615Problem: CI: label should not be set on all yml files
39616Solution: only set it for specific yml files in .github
39617
39618Patch 9.0.1765
39619Problem: Error when cross-compiling Vim
39620Solution: use AC_CHECK_SIZEOF to find sizeof(wchar_t)
39621
39622Patch 9.0.1766
39623Problem: Runtime: Missing QML support
39624Solution: Add QML support to Vim
39625
39626Patch 9.0.1767
39627Problem: '.-' no allowed in highlight group names
39628Solution: Allow dot and hyphen characters in highlight group names
39629
39630Patch 9.0.1768
39631Problem: Runtime: no support for bicep files
39632Solution: Add filetype support for bicepparam
39633
39634Patch 9.0.1769
39635Problem: executable() ignoring symlinks on Windows
39636Solution: resolve reparse points
39637
39638Patch 9.0.1770
39639Problem: lines disappear when modifying chars before virt text
39640Solution: take virtual text property length into account
39641
39642Patch 9.0.1771
39643Problem: regex: combining chars in collections not handled
39644Solution: Check for following combining characters for NFA and BT engine
39645
39646Patch 9.0.1772
39647Problem: Cursor is adjusted in window that did not change in size by
39648 'splitkeep'.
39649Solution: Only check that cursor position is valid in a window that
39650 has changed in size.
39651
39652Patch 9.0.1773
39653Problem: cannot distinguish Forth and Fortran *.f files
39654Solution: Add Filetype detection Code
39655
39656Patch 9.0.1774
39657Problem: no support for custom cmdline completion
39658Solution: Add new vimscript functions
39659
39660Patch 9.0.1775
39661Problem: Wrong comparison in vim9type.c
39662Solution: Change condition to false
39663
39664Patch 9.0.1776
39665Problem: No support for stable Python 3 ABI
39666Solution: Support Python 3 stable ABI
39667
39668Patch 9.0.1777
39669Problem: patch 9.0.1771 causes problems
39670Solution: revert it
39671
39672Patch 9.0.1778
39673Problem: if_py_both: code-style issue
39674Solution: add space
39675
39676Patch 9.0.1779
39677Problem: Need more state() tests
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010039678Solution: Add a few more tests for operator pending mode and register
Christian Brabandt5872bcb2023-12-19 20:10:43 +010039679 yank command
39680
39681Patch 9.0.1780
39682Problem: Vim9 type not defined during object creation
39683Solution: Define type during object creation and not during class
39684 definition, parse mulit-line member initializers, fix lock
39685 initialization
39686
39687Patch 9.0.1781
39688Problem: Problems when setting bin/paste option
39689Solution: When setting binary/paste, remember that this also affects
39690 depending options, so that :verbose set returns the right
39691 location.
39692
39693Patch 9.0.1782
39694Problem: prop_list() does not return text_padding_left
39695Solution: Store and return the text_padding_left value for text
39696 properties
39697
39698Patch 9.0.1783
39699Problem: Wrong display with wrapping virtual text or unprintable chars,
39700 'showbreak' and 'smoothscroll'.
39701Solution: Don't skip cells taken by 'showbreak' in screen lines before
39702 "w_skipcol". Combined "n_skip" and "skip_cells".
39703
39704Patch 9.0.1784
39705Problem: redundant else in pum_set_selected()
39706Solution: Remove it
39707
39708Patch 9.0.1785
39709Problem: wrong cursor position with 'showbreak' and lcs-eol
39710Solution: Add size of 'showbreak' before when 'listchars' "eol" is used.
39711 Also fix wrong cursor position with wrapping virtual text on
39712 empty line and 'showbreak'.
39713
39714Patch 9.0.1786
39715Problem: Vim9: need instanceof() function
39716Solution: Implement instanceof() builtin
39717
39718Patch 9.0.1787
39719Problem: Cannot build with latest luajit
39720Solution: adjust sed regexp and don't expect '-' in version output
39721
39722Patch 9.0.1788
39723Problem: C4090 warnings in strings.c
39724Solution: Add type casts
39725
39726Patch 9.0.1789
39727Problem: too early declaration of variable in pum_set_selected()
39728Solution: Move declaration to where it is actually used
39729
39730Patch 9.0.1790
39731Problem: The Content-Type header is an optional header that some LSP
39732 servers struggle with and may crash when encountering it.
39733Solution: Drop the Content-Type header from all messages, because we use
39734 the default value anyway.
39735
39736Patch 9.0.1791
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010039737Problem: No tests for the Termdebug plugin
39738Solution: Add some simple tests for the Termdebug plugin
Christian Brabandt5872bcb2023-12-19 20:10:43 +010039739
39740Patch 9.0.1792
39741Problem: Normal mode "gM", "gj", "gk" commands behave incorrectly with
39742 virtual text.
39743Solution: Use linetabsize() instead of linetabsize_str().
39744
39745Patch 9.0.1793
39746Problem: obsolete macros in configure script
39747Solution: Remove those and start moving to autoconf 2.71
39748
39749Patch 9.0.1794
39750Problem: autoconf: not correctly detecing include dirs
39751Solution: make use of python3 to generate includedirs
39752
39753Patch 9.0.1795
39754Problem: Indentation issues
39755Solution: Fix code indentation issues.
39756
39757Patch 9.0.1796
39758Problem: Vim9 problems with null_objects
39759Solution: Vim9 improve null_object usage
39760
39761Patch 9.0.1797
39762Problem: Vimball/Visual Basic filetype detection conflict
39763Solution: runtime(vb): Improve Vimball and Visual Basic detection logic
39764
39765Patch 9.0.1798
39766Problem: The 'syntax' option has no completion.
39767Solution: Add syntax option completion.
39768
39769Patch 9.0.1799
39770Problem: Russian menu translation can be improved
39771Solution: update the Russian menu files
39772
39773Patch 9.0.1800
39774Problem: Cursor position still wrong with 'showbreak' and virtual text
39775 after last character or 'listchars' "eol".
39776Solution: Remove unnecessary w_wcol adjustment in curs_columns(). Also
39777 fix first char of virtual text not shown at the start of a screen
39778 line.
39779
39780Patch 9.0.1801
39781Problem: Vim9 instanceof() fails in a def func
39782Solution: allow Objects in compile time check
39783
39784Patch 9.0.1802
39785Problem: Multiline regex with Visual selection fails when Visual
39786 selection contains virtual text after last char.
39787Solution: Only include virtual text after last char when getting full
39788 line length.
39789
39790Patch 9.0.1803
39791Problem: Cannot detect norg markup files
39792Solution: Add norg markup language detection
39793
39794Patch 9.0.1804
39795Problem: Vim9: no support for private object methods
39796Solution: Add support for private object/class methods
39797
39798Patch 9.0.1805
39799Problem: Vim9: problem compiling object method as function call arg
39800Solution: After a object/class method call, remove the object/class from
39801 the stack.
39802
39803Patch 9.0.1806
39804Problem: Vim9: bogus error on export
39805Solution: Don't error out when the export command is not executed
39806
39807Patch 9.0.1807
39808Problem: runtime: crystal scripts not recognised
39809Solution: Filetype detect Crystal scripts by shebang line
39810
39811Patch 9.0.1808
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010039812Problem: Termdebug: Typo in Termdebug test
Christian Brabandt5872bcb2023-12-19 20:10:43 +010039813Solution: fix the typos
39814
39815Patch 9.0.1809
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010039816Problem: Termdebug test flaky
Christian Brabandt5872bcb2023-12-19 20:10:43 +010039817Solution: wait slightly longer
39818
39819Patch 9.0.1810
39820Problem: camel-case spelling has issues with digits
39821Solution: Improve the camCase spell checking by taking digits
39822 and caps into account
39823
39824Patch 9.0.1811
39825Problem: still some issues with term_debug test
39826Solution: Use WaitForAssert()
39827
39828Patch 9.0.1812
39829Problem: CI still fails with sodium_mlock error()
39830Solution: Catch and ignore E1230 error in test_crypt
39831
39832Patch 9.0.1813
39833Problem: 'linebreak' is incorrectly drawn after 'breakindent'.
39834Solution: Don't include 'breakindent' size when already after it.
39835
39836Patch 9.0.1814
39837Problem: Vim9 no error on duplicate object member var
39838Solution: detect duplicate members and error out
39839
39840Patch 9.0.1815
39841Problem: pango_coverage_unref() deprecated in pango > 1.51
39842Solution: use g_object_unref() instead
39843
39844Patch 9.0.1816
39845Problem: configure: sed uses non-portable regex
39846Solution: use '*' modifier instead of '\?' in regex
39847 for luajit version detection
39848
39849Patch 9.0.1817
39850Problem: configure: using obsolete AC_HEADER_STDC
39851Solution: Remove it and re-create configure
39852
39853Patch 9.0.1818
39854Problem: dynamically linking perl is broken
39855Solution: Fix all issues
39856
39857Patch 9.0.1819
39858Problem: Github CI too complex
39859Solution: CI: Tidy up matrix
39860
39861Patch 9.0.1820
39862Problem: Rexx files may not be recognised
39863Solution: Add shebang detection and improve disambiguation of *.cls
39864 files
39865
39866Patch 9.0.1821
39867Problem: Vim9 constructors are always static
39868Solution: make the "static" keyword an error
39869
39870Patch 9.0.1822
39871Problem: Vim9: no check for duplicate members in extended classes
39872Solution: Check for duplicate members in extended classes.
39873 Fix memory leak.
39874
39875Patch 9.0.1823
39876Problem: Autoconf 2.69 too old
39877Solution: Migrate to Autoconf 2.71
39878
39879Patch 9.0.1824
39880Problem: Vim9: private members may be modifiable
39881Solution: prevent modification for def function
39882
39883Patch 9.0.1825
39884Problem: Wrong cursor position with virtual text before a whitespace
39885 character and 'linebreak'.
39886Solution: Always set "col_adj" to "size - 1" and apply 'linebreak' after
39887 adding the size of 'breakindent' and 'showbreak'.
39888
39889Patch 9.0.1826
39890Problem: keytrans() doesn't translate recorded key typed in a GUI
39891Solution: Handle CSI like K_SPECIAL, like in mb_unescape()
39892
39893Patch 9.0.1827
39894Problem: xxd: no color support
39895Solution: Add color support using xxd -R
39896
39897Patch 9.0.1828
39898Problem: Wrong cursor position with virtual text before double-width
39899 char at window edge.
39900Solution: Check for double-width char before adding virtual text size.
39901
39902Patch 9.0.1829
39903Problem: Vim9 missing access-checks for private vars
39904Solution: Use the proper check for private/readonly variable. Access
39905 level for a member cannot be changed in a class implementing an
39906 interface. Update the code indentation
39907
39908Patch 9.0.1830
39909Problem: Vim9: crash when accessing a null object
39910Solution: Check accessing a NULL object in def function
39911
39912Patch 9.0.1831
39913Problem: Vim9: failing null test
39914Solution: Use required public keyword
39915
39916Patch 9.0.1832
39917Problem: xxd: reporting wrong version (after 9.0.1827)
39918Solution: Update version string
39919
39920Patch 9.0.1833
39921Problem: runtime files may execute code in current dir
39922Solution: only execute, if not run from current directory
39923
39924Patch 9.0.1834
39925Problem: Some problems with xxd coloring
39926Solution: Fix the following problems:
39927
39928Patch 9.0.1835
39929Problem: Perl interface has problems with load PL_current_context
39930Solution: Fix Perl interface to load PL_current_context from library
39931
39932Patch 9.0.1836
39933Problem: Wrong display with "above" virtual text and 'linebreak' or
39934 'breakindent' and 'showbreak'.
39935Solution: Exclude size of "above" virtual text when calculating them.
39936
39937Patch 9.0.1837
39938Problem: Vim9: class_member_type() can be optimized
39939Solution: class_member_type() provides more information;
39940 safe an additional alloc()/free()
39941
39942Patch 9.0.1838
39943Problem: Vim9: Cannot modify class member vars from def function
39944Solution: Add support for modifying class member variables from a def
39945 function
39946
39947Patch 9.0.1839
39948Problem: No Makefile rule to build cscope database
39949Solution: Add rule
39950
39951Patch 9.0.1840
39952Problem: use-after-free in do_ecmd
39953Solution: Verify oldwin pointer after reset_VIsual()
39954
39955Patch 9.0.1841
39956Problem: style: trailing whitespace in ex_cmds.c
39957Solution: remove it
39958
39959Patch 9.0.1842
39960Problem: Need more accurate profiling
39961Solution: Improve profiling results
39962
39963Patch 9.0.1843
39964Problem: xxd color test flaky
39965Solution: Filter unneeded lines
39966
39967Patch 9.0.1844
39968Problem: doc helptags may not be up to date
39969Solution: Add CI jobs to verify helptags are updated
39970
39971Patch 9.0.1845
39972Problem: xxd: Test_xxd_color start failing
39973Solution: Revert changes to dump file
39974
39975Patch 9.0.1846
39976Problem: crash in fullcommand
39977Solution: Check for typeval correctly
39978
39979Patch 9.0.1847
39980Problem: potential oob write in do_addsub()
39981Solution: don't overflow buf2, check size in for loop()
39982
39983Patch 9.0.1848
39984Problem: buffer-overflow in vim_regsub_both()
39985Solution: Check remaining space
39986
39987Patch 9.0.1849
39988Problem: CI error on different signedness
39989Solution: cast unsigned to int
39990
39991Patch 9.0.1850
39992Problem: Vim9: wrong line number where options set
39993Solution: Set source line number earlier
39994
39995Patch 9.0.1851
39996Problem: Virtual text at a column causes 'breakindent' and 'showbreak'
39997 to be missing (after patch 9.0.1124).
39998Solution: Add check for "tp_col" in another place where TP_FLAG_WRAP is
39999 checked.
40000
40001Patch 9.0.1852
40002Problem: i_CTRL-O does not reset Select Mode
40003Solution: Reset select mode on CTRL-O in insert mode
40004
40005Patch 9.0.1853
40006Problem: CI error on different signedness in regexp.c
40007 (after patch 9.0.1848)
40008Solution: Cast strlen() call to int
40009
40010Patch 9.0.1854
40011Problem: test_crash1() fails on CI
40012Solution: don't run Screendump test, verify that it doesn't crash
40013 by running it through a shell command line, testing
40014 the exit value and concatenating success cmd using '&&'
40015
40016Patch 9.0.1855
40017Problem: mode() doesn't indicate command line for terminal
40018Solution: make it return 'ct' for command-line from Terminal mode
40019
40020Patch 9.0.1856
40021Problem: issues with formatting positional arguments
40022Solution: fix them, add tests and documentation
40023
40024Patch 9.0.1857
40025Problem: heap-use-after-free in is_qf_win()
40026Solution: Check buffer is valid before accessing it
40027
40028Patch 9.0.1858
40029Problem: heap use after free in ins_compl_get_exp()
40030Solution: validate buffer before accessing it
40031
40032Patch 9.0.1859
40033Problem: heap-use-after-free in bt_normal()
40034Solution: check that buffer is still valid
40035
40036Patch 9.0.1860
40037Problem: CI: test_crash1() is flaky
40038Solution: Wait a bit longer
40039
40040Patch 9.0.1861
40041Problem: xxd: issue when -R is specified several times
40042Solution: Fix command line parsing
40043
40044Patch 9.0.1862
40045Problem: Vim9 Garbage Collection issues
40046Solution: Class members are garbage collected early leading to
40047 use-after-free problems. Handle the garbage
40048 collection of classes properly.
40049
40050Patch 9.0.1863
40051Problem: wrong format specifiers in e_aptypes_is_null_str_nr
40052Solution: Fix the wrong format specifier
40053
40054Patch 9.0.1864
40055Problem: crash with bt_quickfix1_poc when cleaning up
40056 and EXITFREE is defined
40057Solution: Test if buffer is valid in a window, else close
40058 window directly, don't try to access buffer properties
40059
40060Patch 9.0.1865
40061Problem: Vim9: garbage collection may cause crash
40062Solution: validate that class members typeval is not null
40063
40064Patch 9.0.1866
40065Problem: Undo is synced after character find.
40066Solution: Set no_u_sync when calling gotchars_nop().
40067
40068Patch 9.0.1867
40069Problem: Vim9: access to interface statics possible
40070Solution: Prevent direct access to interface statics
40071
40072Patch 9.0.1868
40073Problem: test_crash still fails for circle ci
40074Solution: give even more time to complete
40075
40076Patch 9.0.1869
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010040077Problem: Coverity warns about uninitialized var
Christian Brabandt5872bcb2023-12-19 20:10:43 +010040078Solution: initialize it
40079
40080Patch 9.0.1870
40081Problem: Vim9: disassamble does not show static
40082Solution: Show static flag
40083
40084Patch 9.0.1871
40085Problem: Github CI does not run i386 job
40086Solution: Add a i386 architecture
40087
40088Patch 9.0.1872
40089Problem: CI: test_crash() fails on CI
40090Solution: Skip test on BSD
40091
40092Patch 9.0.1873
40093Problem: heap-buffer-overflow in vim_regsub_both
40094Solution: Disallow exchanging windows when textlock is active
40095
40096Patch 9.0.1874
40097Problem: CI may fail in test_recover_empty_swap
40098Solution: Set directory option
40099
40100Patch 9.0.1875
40101Problem: Vim9: improve test for disassemble + static
40102Solution: Add a Vim9 script disassemble test for an interface with
40103 static members
40104
40105Patch 9.0.1876
40106Problem: Vim9: parsing commands with newlines wrong
40107Solution: Accept a '\n' for parsing lists and command arguments
40108
40109Patch 9.0.1877
40110Problem: missing test for patch 9.0.1873
40111Solution: add a test trying to exchange windows
40112
40113Patch 9.0.1878
40114Problem: tests running sh have problems
40115Solution: Check that dash is installed
40116
40117Patch 9.0.1879
40118Problem: Vim9: incorrect duplicate class member detection
40119Solution: Incorrect duplicate class member detection when variable names
40120 have the same prefix. Not able to access class member variables
40121 using an object. Fix coding style issues
40122
40123Patch 9.0.1880
40124Problem: Vim9: Need more tests for inheritance
40125Solution: Add access tests and fixes.
40126
40127Patch 9.0.1881
40128Problem: Test_crash fails on Mac
40129Solution: Skip test on Mac
40130
40131Patch 9.0.1882
40132Problem: Trailing white space in tests
40133Solution: Delete it
40134
40135Patch 9.0.1883
40136Problem: Vim9: Calling an interface method using a child object fails
40137Solution: Search methods of parent class
40138
40139Patch 9.0.1884
40140Problem: Wrong order of arguments for error messages
40141Solution: Reverse order or arguments for e_aptypes_is_null_nr_str
40142
40143Patch 9.0.1885
40144Problem: Vim9: no support for abstract methods
40145Solution: Add support for defining abstract methods in an abstract class
40146
40147Patch 9.0.1886
40148Problem: Various Typos
40149Solution: Fix Typos
40150
40151Patch 9.0.1887
40152Problem: Vim9: class members are accessible via object
40153Solution: Disable class member variable access using an object
40154
40155Patch 9.0.1888
40156Problem: Vim9: Problem trying to invoke class method
40157Solution: Lookup the class method insider other classes
40158
40159Patch 9.0.1889
40160Problem: Vim9 static tests fail
40161Solution: Fix tests, make CI happy ;)
40162
40163Patch 9.0.1890
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010040164Problem: Vim9: lookup code for class/object repeated
Christian Brabandt5872bcb2023-12-19 20:10:43 +010040165Solution: Refactor and make use of lookup functions
40166
40167Patch 9.0.1891
40168Problem: No runtime support for Mojo
40169Solution: Add basic filetype and syntax plugins
40170
40171Patch 9.0.1892
40172Problem: CI: no FreeBSD 14 support
40173Solution: Drop support for FreeBSD 12, add FreeBSD 14
40174
40175Patch 9.0.1893
40176Problem: CI: strptime test fails on BSD14
40177Solution: Skip the test
40178
40179Patch 9.0.1894
40180Problem: CI: trailing white space in tests
40181Solution: clean up the trailing white space
40182
40183Patch 9.0.1895
40184Problem: Vim9: finding method/member is inefficient
40185Solution: Use lookups
40186
40187Patch 9.0.1896
40188Problem: "below" virtual text doesn't work with 'rightleft'.
40189Solution: Use column from right border with 'rightleft'.
40190
40191Patch 9.0.1897
40192Problem: Vim9: confusing error with .= in compiled functions
40193Solution: Check in error condition, if .= was attempted and in that case
40194 give a different error message.
40195
40196Patch 9.0.1898
40197Problem: Vim9: restrict access to static vars and methods
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010040198Solution: Class members are accessible only from the class where they are
Christian Brabandt5872bcb2023-12-19 20:10:43 +010040199 defined.
40200
40201Patch 9.0.1899
40202Problem: potential buffer overflow in PBYTE macro
40203Solution: Check returned memline length
40204
40205Patch 9.0.1900
40206Problem: Configure script uses non-portable == comparison
40207Solution: Use the standard and portable "=" instead
40208
40209Patch 9.0.1901
40210Problem: win32: not correctly freeing environment
40211Solution: After we call GetEnvironmentStringsW, we should call
40212 FreeEnvironmentStringsW
40213
40214Patch 9.0.1902
40215Problem: Vim9: Coverity complains about dead code
40216Solution: Copy only object methods from the super class
40217 to a subclass when extending a class. Fix
40218 Coverity warning.
40219
40220Patch 9.0.1903
40221Problem: Github Actions fails because snd-dummy modules missing
40222 in current runner images
40223Solution: ignore modprobe error
40224
40225Patch 9.0.1904
40226Problem: Cirrus-CI fails because we have used all credits
40227Solution: Remove FreeBSD 13.1 and MacOS M1
40228
40229Patch 9.0.1905
40230Problem: FEAT_FLOAT no longer defined
40231Solution: Remove last existing FEAT_FLOAT ifdefs in
40232 message_test
40233
40234Patch 9.0.1906
40235Problem: Vim9: Interfaces should not support class methods and
40236 variables
40237Solution: Make sure interface follow the interface specification
40238
40239Patch 9.0.1907
40240Problem: No support for liquidsoap filetypes
40241Solution: Add liquidsoap filetype detection code
40242
40243Patch 9.0.1908
40244Problem: undefined behaviour upper/lower function ptrs
40245Solution: Fix UBSAN error in regexp and simplify upper/lowercase
40246 modifier code
40247
40248Patch 9.0.1909
40249Problem: Vim9: problem calling class method from other class
40250Solution: Fix this problem, fix readonly object access, update error
40251 messages.
40252
40253Patch 9.0.1910
40254Problem: Mac OS X: missing sound support on older versions
40255Solution: Check Macro MAC_OS_X_VERSION_MIN_REQUIRED
40256
40257Patch 9.0.1911
40258Problem: Vim9: segfault with null object and instanceof()
40259Solution: return early
40260
40261Patch 9.0.1912
40262Problem: Cirrus-CI running out of credits
40263Solution: disable Cirrus-CI for now
40264
40265Patch 9.0.1913
40266Problem: if_python: undefined behaviour for function pointers
40267Solution: Fix if_python undefined behavior for function pointer casts
40268
40269Patch 9.0.1914
40270Problem: Vim9: few issues when accessing object members
40271Solution: When calling an object method, check for null object.
40272 Accessing a Dict object member doesn't work.
40273
40274Patch 9.0.1915
40275Problem: r_CTRL-C works differently in visual mode
40276Solution: Make r_CTRL-C behave consistent in visual mode
40277 in terminal and Windows GUI
40278
40279Patch 9.0.1916
40280Problem: Crash when allocating large terminal screen
40281Solution: Don't allow values > 1000 for terminal
40282 screen columns and rows
40283
40284Patch 9.0.1917
40285Problem: undefined behaviour with python function pointer
40286Solution: correctly cast function pointers from void
40287
40288Patch 9.0.1918
40289Problem: No filetype detection for Authzed filetypes
40290Solution: Detect the *.zed file extension as authzed filetype
40291
40292Patch 9.0.1919
40293Problem: Wrong curswant when clicking on empty line or with vsplits.
40294Solution: Don't check for ScreenCols[] before the start of the window
40295 and handle empty line properly.
40296
40297Patch 9.0.1920
40298Problem: Vim9: cannot write public var in nested object
40299Solution: Write variable in nested read-only object reference.
40300 Also test write fails.
40301
40302Patch 9.0.1921
40303Problem: not possible to use the jumplist like a stack
40304Solution: Add the 'jumpoptions' setting to make the jumplist
40305 a stack.
40306
40307Patch 9.0.1922
40308Problem: LSP server request message is misinterpreted as a response message
40309Solution: Check that the message does not have the "message" field
40310
40311Patch 9.0.1923
40312Problem: curswant wrong on click with 've' and 'wrap' set
40313Solution: Add w_leftcol to mouse click column.
40314
40315Patch 9.0.1924
40316Problem: LSP server message still wrongly handled (after 9.0.1922)
40317Solution: Handle 'method' messages properly, don't discard them, add
40318 tests.
40319
40320Patch 9.0.1925
40321Problem: if_python: still undefined behaviour with function pointer
40322Solution: fix remaining problems
40323
40324Patch 9.0.1926
40325Problem: Vim9: not enough info in error message
40326Solution: Add class name, change member to variable, quote names
40327
40328Patch 9.0.1927
40329Problem: patch 1916 (fixed terminal size) not optimal
40330Solution: Add defines to make it easier changeable later
40331
40332Patch 9.0.1928
40333Problem: Vim9: constructor type checking bug
40334Solution: Fix class constructor regression
40335
40336Patch 9.0.1929
40337Problem: runtime tests fail with tiny vim
40338Solution: check for tiny vim, run runtime tests in CI
40339 even for tiny version
40340
40341Patch 9.0.1930
40342Problem: compiler warnings with clang-17
40343Solution: Fix function prototypes and function pointer
40344
40345Patch 9.0.1931
40346Problem: make test_compilers fails on ubuntu
40347Solution: set LC_ALL=C
40348
40349Patch 9.0.1932
40350Problem: Vim9: error when using null object constructor
40351Solution: Check for a null object only when calling an object method
40352
40353Patch 9.0.1933
40354Problem: Can change the type of a v: variable using if_lua.
40355Solution: Add additional handling of v: variables like :let.
40356
40357Patch 9.0.1934
40358Problem: bwipe fails after switching window from aucmd_win.
40359Solution: Decrement b_nwindows after switching back to aucmd_win.
40360
40361Patch 9.0.1935
40362Problem: Vim9: not consistent error messages
40363Solution: Make error messages more consistent. Use "variable" for
40364 (object/class) member
40365
40366Patch 9.0.1936
40367Problem: test: using wrong expected message in test_crypt
40368Solution: make use of single quotes
40369
40370Patch 9.0.1937
40371Problem: missing test for mouse click + 'virtedit'
40372Solution: Add test for clicking after eol with 'virtualedit' and wrapped
40373 line
40374
40375Patch 9.0.1938
40376Problem: multispace wrong when scrolling horizontally
40377Solution: Update position in "multispace" or "leadmultispace" also in
40378 skipped chars. Reorder conditions to be more consistent.
40379
40380Patch 9.0.1939
40381Problem: still a problem when processing LSP RPC requests
40382Solution: When processing async LSP RPC requests, compare sequence
40383 numbers only in response messages
40384
40385Patch 9.0.1940
40386Problem: wrong upstream version in libvterm README
40387Solution: correct version to 839
40388
40389Patch 9.0.1941
40390Problem: Memory leak detected (after 9.0.1928)
40391Solution: Free arg_objm in get_lambda_tv()
40392
40393Patch 9.0.1942
40394Problem: Vim9: execution stack invalidated with null object
40395Solution: Check for a null object before adjusting the execution stack
40396
40397Patch 9.0.1943
40398Problem: CI not run with clang-17
40399Solution: Update CI to use clang-17
40400
40401Patch 9.0.1944
40402Problem: Vim9: function instruction pointer invalidated
40403Solution: Use the funcref index instead of the instruction pointer
40404
40405Patch 9.0.1945
40406Problem: Vim9: missing support for ro-vars in interface
40407Solution: Support only read-only object variables in an interface,
40408 add additional checks when parsing class definitions.
40409
40410Patch 9.0.1946
40411Problem: filename expansion using ** in bash may fail
40412Solution: Try to enable the globstar setting
40413
40414Patch 9.0.1947
40415Problem: Bash Expansion test fails on Windows/MacOS
40416Solution: Disable Test_glob_extended_bash for now
40417
40418Patch 9.0.1948
40419Problem: Vim9: object variable "this." should only be used in
40420 constructor
40421Solution: Disallow to this in normal object methods (other than
40422 constructors)
40423
40424Patch 9.0.1949
40425Problem: Vim9: allows reserved keywords as members
40426Solution: Disallow reserved keywords, disallow
40427 duplicate object and class variables
40428
40429Patch 9.0.1950
40430Problem: Vim9: error codes spread out
40431Solution: group them together and reserve 100
40432 more for future use
40433
40434Patch 9.0.1951
40435Problem: Vim9: hard to debug vim9_class errors from CI
40436Solution: Include the line number in assert_xxx() calls. Include the
40437 entire error message in the tests. Fix the indentation in the
40438 test file. Add tags for new error codes.
40439
40440Patch 9.0.1952
40441Problem: Vim9: unused static field
40442Solution: remove it and simplify code
40443
40444Patch 9.0.1953
40445Problem: Misplaced comment in errors.h
40446Solution: Move it up
40447
40448Patch 9.0.1954
40449Problem: CI: change netrw label in labeller bot
40450Solution: Rename it to 'plugin-netrw'
40451
40452Patch 9.0.1955
40453Problem: Vim9: lockvar issues with objects/classes
40454Solution: fix `get_lhs()` object/class access and avoid `SEGV`,
40455 make error messages more accurate.
40456
40457Patch 9.0.1956
40458Problem: Custom cmdline completion skips original cmdline when pressing
40459 Ctrl-P at first match if completion function invokes glob().
40460Solution: Move orig_save into struct expand_T.
40461
40462Patch 9.0.1957
40463Problem: termcap options should change on keyprotocol setting
40464Solution: Apply termcap entries when 'keyprotocol' changes
40465
40466Patch 9.0.1958
40467Problem: cannot complete option values
40468Solution: Add completion functions for several options
40469
40470Patch 9.0.1959
40471Problem: Vim9: methods parameters and types are covariant
40472Solution: Support contra-variant type check for object method arguments
40473 (similar to Dart).
40474
40475Patch 9.0.1960
40476Problem: Make CI checks more strict
40477Solution: Add -Wstrict-prototypes -Wmissing-prototypes to CI,
40478 fix uncovered problems
40479
40480Patch 9.0.1961
40481Problem: Cmdline completion for 'listchars' fields doesn't include
40482 "multispace" and "leadmultispace" (after 9.0.1958).
40483Solution: Include "multispace" and "leadmultispace" in lcstab.
40484
40485Patch 9.0.1962
40486Problem: No support for writing extended attributes
40487Solution: Add extended attribute support for linux
40488
40489Patch 9.0.1963
40490Problem: Configure script may not detect xattr correctly
40491Solution: include sys/xattr instead of attr/xattr,
40492 make Test_write_with_xattr_support() test
40493 xattr feature correctly
40494
40495Patch 9.0.1964
40496Problem: xattr support fails to build on MacOS X
40497Solution: Disable xattr support for MacOS X
40498
40499Patch 9.0.1965
40500Problem: wrong auto/configure script
40501Solution: regenerate with autoconf 2.71
40502
40503Patch 9.0.1966
40504Problem: configure prints stray 6 when checking libruby
40505Solution: redirect stdout to dev/null
40506
40507Patch 9.0.1967
40508Problem: xattr errors not translated
40509Solution: mark for translation, consistently capitalize
40510 first letter.
40511
40512Patch 9.0.1968
40513Problem: cmdline completion should consider key option
40514Solution: Disable cmdline completion for key option, slightly
40515 refactor how P_NO_CMD_EXPAND is handled
40516
40517Patch 9.0.1969
40518Problem: buffer-overflow in trunc_string()
40519Solution: Add NULL at end of buffer
40520
40521Patch 9.0.1970
40522Problem: win32: high-dpi support can be improved
40523Solution: implement WM_GETDPISCALEDSIZE
40524
40525Patch 9.0.1971
40526Problem: macOS: FEAT_SOUND guard too restrictive
40527Solution: check for older macOS support properly
40528
40529Patch 9.0.1972
40530Problem: win32: missing '**' expansion test (after v9.0.1947)
40531Solution: Add test for MS-Windows
40532
40533Patch 9.0.1973
40534Problem: Clean up cmdline option completion code
40535Solution: Fix various minor problems
40536
40537Patch 9.0.1974
40538Problem: vim9: using contra-variant type-checks (after v9.0.1959)
40539Solution: Use invariant type checking instead
40540
40541Patch 9.0.1975
40542Problem: xattr: permission-denied errors on write
40543Solution: ignore those errors
40544
40545Patch 9.0.1976
40546Problem: style: space before tab in optionstr.c
40547Solution: remove the space
40548
40549Patch 9.0.1977
40550Problem: Vim9: object members can change type
40551Solution: Check type during assignment to object/class var
40552
40553Patch 9.0.1978
40554Problem: No filetype detection for just files
40555Solution: Detect just files (*.just, justfile, etc)
40556
40557Patch 9.0.1979
40558Problem: Cirrus CI disabled
40559Solution: re-enable Cirrus CI
40560
40561Patch 9.0.1980
40562Problem: win32: issues with stable python ABI
40563Solution: if_python3,win32: Fix Python3 stable ABI
40564
40565Patch 9.0.1981
40566Problem: Cannot scroll up in diff mode with many filler lines and zero
40567 'scrolloff'.
40568Solution: Invalidate w_cline_row before calling comp_botline().
40569
40570Patch 9.0.1982
40571Problem: vim9: clean up from v9.0.1955
40572Solution: Fix a few remaining issues, improve error message
40573
40574Patch 9.0.1983
40575Problem: Scrolling non-current window using mouse is inconsistent
40576 depending on 'scrollbind'/'scrolloff' and different from GUI
40577 vertical scrollbar when 'cursorbind' is set.
40578Solution: Don't move cursor in non-current windows for 'cursorbind' if
40579 cursor in the current window didn't move.
40580
40581Patch 9.0.1984
40582Problem: CI: Test_open_delay*() fails on FreeBSD 14
40583Solution: Skip it on BSD
40584
40585Patch 9.0.1985
40586Problem: CI: codecov is intrusive
40587Solution: disable codecov comments
40588
40589Patch 9.0.1986
40590Problem: Vim9: accepting type-annotations
40591Solution: Reject type annotations outside of declarations.
40592
40593Patch 9.0.1987
40594Problem: win32: font-size calculation can be improved
40595Solution: calculate font size before the window size
40596
40597Patch 9.0.1988
40598Problem: Vim9: potential use-after-free for class members
40599Solution: Use the class-related grow array for storing the
40600 member type instead of using a temporary type
40601 list grow array
40602
40603Patch 9.0.1989
40604Problem: Vim9: double error message given
40605Solution: Only give second error message, if ther
40606 wasn't one given before
40607
40608Patch 9.0.1990
40609Problem: strange error number
40610Solution: change error number,
40611 add doc tag for E1507
40612
40613Patch 9.0.1991
40614Problem: no cmdline completion for setting the font
40615Solution: enable it on Win32 and GTK builds
40616
40617Patch 9.0.1992
40618Problem: segfault in exmode when redrawing
40619Solution: skip gui_scroll when exmode_active
40620
40621Patch 9.0.1993
40622Problem: warning about unused function definition
40623Solution: add ifdefs
40624
40625Patch 9.0.1994
40626Problem: inconsistent feature description
40627Solution: delete old mentioned feature sets small and big
40628
40629Patch 9.0.1995
40630Problem: Invalid memory access when 'foldexpr' returns empty string.
40631Solution: Check for NUL.
40632
40633Patch 9.0.1996
40634Problem: Cannot build with python312
40635Solution: Define wrapper types and functions for python 3.12
40636
40637Patch 9.0.1997
40638Problem: Some unused code in move.c and string.c
40639Solution: Remove it
40640
40641Patch 9.0.1998
40642Problem: xxd: cannot reverse a bit dump
40643Solution: implement reversing the bit dump using -b -r
40644
40645Patch 9.0.1999
40646Problem: Vim9: some error messages can be improved
40647Solution: Mention the defining class for variable access error message
40648
40649Patch 9.0.2000
40650Problem: Vim9: use-after-free in deep call stack
40651Solution: Get the objct pointer from execution stack
40652
40653Patch 9.0.2001
40654Problem: Vim9: segfault with islocked()
40655Solution: Check that the lval pointer is not null for objects and
40656 class variables
40657
40658Patch 9.0.2002
40659Problem: Vim9: need cleanup of class related interface code
40660Solution: Remove the unused class variable and class method related code
40661 for interfaces.
40662
40663Patch 9.0.2003
40664Problem: xxd: compilation warning
40665Solution: initialize variables
40666
40667Patch 9.0.2004
40668Problem: Missing test file
40669Solution: git-add the file to the repo
40670
40671Patch 9.0.2005
40672Problem: partially revert patch v9.0.1997
40673Solution: add a comment, to make clear it's not used
40674
40675Patch 9.0.2006
40676Problem: Vim9: need more tests
40677Solution: add additional disassembly tests
40678
40679Patch 9.0.2007
40680Problem: Vim9: covariant parameter types allowed when assigning
40681 functions
40682Solution: Enforce invariant type check for arguments and return value
40683 when assigning a funcref
40684
40685Patch 9.0.2008
40686Problem: test: undofile left behind
40687Solution: cleanup undofile
40688
40689Patch 9.0.2009
40690Problem: cmdline-completion for comma-separated options wrong
40691Solution: Fix command-line expansions for options with filenames with
40692 commas
40693
40694Patch 9.0.2010
40695Problem: [security] use-after-free from buf_contents_changed()
40696Solution: block autocommands
40697
40698Patch 9.0.2011
40699Problem: INI files not detected
40700Solution: detect uppercase .INI as dosini files
40701
40702Patch 9.0.2012
40703Problem: Vim9: error message can be more accurate
40704Solution: Fix the error messages
40705
40706Patch 9.0.2013
40707Problem: Unicode tables outdated
40708Solution: Update Unicode tables to v15.1 (released 23.09.2023)
40709
40710Patch 9.0.2014
40711Problem: confusing ifdefs in if_<lang>.c
40712Solution: refactor ifndefs to #ifdefs
40713
40714Patch 9.0.2015
40715Problem: Vim9: does not handle islocked() from a method correctly
40716Solution: Handle islocked() builtin from a method.
40717
40718Patch 9.0.2016
40719Problem: Vim9: assignment operators don't work for class vars
40720Solution: implement it
40721
40722Patch 9.0.2017
40723Problem: linebreak applies for leading whitespace
40724Solution: only apply linebreak, once we have found non-breakat chars in
40725 the line
40726
40727Patch 9.0.2018
40728Problem: complete_info() returns wrong index
40729Solution: Make order of 'info' in completion_info consistent
40730
40731Patch 9.0.2019
40732Problem: Vim9: no support for funcrefs
40733Solution: Add support for object/class funcref members
40734
40735Patch 9.0.2020
40736Problem: Vim9: islocked() needs more work
40737Solution: rework islocked() and remove sync_root
40738 from get_lval()
40739
40740Patch 9.0.2021
40741Problem: Coverity complains about change in charset (after v9.0.2017)
40742Solution: check pointer t at index 0
40743
40744Patch 9.0.2022
40745Problem: When clicking in the middle of a TAB, getmousepos() returns
40746 the column of the next char instead of the TAB.
40747Solution: Break out of the loop when the vcol to find is inside current
40748 char. Fix invalid memory access when calling virtcol2col() on
40749 an empty line.
40750
40751Patch 9.0.2023
40752Problem: need more tests for :cq
40753Solution: Add more tests, including wraparound on linux
40754
40755Patch 9.0.2024
40756Problem: no filetype detection for Debian sources
40757Solution: Add new deb822sources filetype
40758
40759Patch 9.0.2025
40760Problem: no cmdline completion for ++opt args
40761Solution: Add cmdline completion for :e ++opt=arg and :terminal
40762 [++options]
40763
40764Patch 9.0.2026
40765Problem: win32: python3 dll loading can be improved
40766Solution: Load DLL from registry path
40767
40768Patch 9.0.2027
40769Problem: Vim9: no support for bitwise operators in lambda funcs
40770Solution: move "evaluate" assignment a bit up in order to decide
40771 to perform bitwise operations
40772
40773Patch 9.0.2028
40774Problem: confusing build dependencies
40775Solution: clean them up, make them parallelizable
40776
40777Patch 9.0.2029
40778Problem: Vim9: no support for partials using call()
40779Solution: Add support
40780
40781Patch 9.0.2030
40782Problem: no max callback recursion limit
40783Solution: bail out, if max call recursion for callback functions
40784 has been reached.
40785
40786Patch 9.0.2031
40787Problem: `TextChangedI` can trigger on entering Insert mode if there
40788 was previously a change not in Insert mode.
40789Solution: Make it trigger only when text is actually changed in Insert
40790 mode.
40791
40792Patch 9.0.2032
40793Problem: Cannot accurately get mouse clicking position when clicking on
40794 a TAB or with virtual text.
40795Solution: Add a "coladd" field to getmousepos() result.
40796
40797Patch 9.0.2033
40798Problem: gcc overflow-warning for f_resolve
40799Solution: use pointer p instead of pointer q[-1]
40800
40801Patch 9.0.2034
40802Problem: don't try to copy SMACK attribute, when none exist
40803Solution: return early if SMACK extended attributes do not exist or
40804 if they are not supported
40805
40806Patch 9.0.2035
40807Problem: [security] use-after-free with wildmenu
40808Solution: properly clean up the wildmenu when exiting
40809
40810Patch 9.0.2036
40811Problem: if_python: rework python3.12 build dependency
40812 (after 9.0.1996)
40813Solution: use PyTuple_Size instead of inlining the Py_SIZE
40814 into the Vim code base
40815
40816Patch 9.0.2037
40817Problem: A few remaining cmdline completion issues with C-E/Y
40818Solution: Fix cmdline completion fuzzy/Ctrl-E/Ctrl-Y/options when not
40819 used at the end
40820
40821Patch 9.0.2038
40822Problem: Vim9: object method funcref not cleaned up after use
40823Solution: Clean up type stack after using object method funcref,
40824 remove now longer used ISN_DEFEROBJ instrunction
40825
40826Patch 9.0.2039
40827Problem: completion shows current word after completion restart
40828Solution: remove the word being completed after completion restart
40829
40830Patch 9.0.2040
40831Problem: trim(): hard to use default mask
40832Solution: Use default 'mask' when it is v:none
40833
40834Patch 9.0.2041
40835Problem: trim(): hard to use default mask (partly revert v9.0.2040)
40836Solution: use default mask when it is empty
40837
40838Patch 9.0.2042
40839Problem: Test_cq_zero_exmode fails without channel feature
40840Solution: Make the test check the channel feature
40841
40842Patch 9.0.2043
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010040843Problem: Vim9: issue with funcref assignment and varargs
Christian Brabandt5872bcb2023-12-19 20:10:43 +010040844Solution: Fix funcref type checking
40845
40846Patch 9.0.2044
40847Problem: Vim9: exceptions confuse defered functions
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010040848Solution: save and restore exception state when calling deferred
Christian Brabandt5872bcb2023-12-19 20:10:43 +010040849 functions
40850
40851Patch 9.0.2045
40852Problem: tests: checking for swap files takes time
40853Solution: don't check for swap files when test has been skipped
40854
40855Patch 9.0.2046
40856Problem: win32,python: warning that MS_WIN64 got re-defined
40857Solution: Do not define MS_WIN64, as it is no longer used
40858
40859Patch 9.0.2047
40860Problem: perl: warning about inconsistent dll linkage
40861Solution: suppress warning
40862
40863Patch 9.0.2048
40864Problem: python: uninitialized warning
40865Solution: initialize 'minor' always
40866
40867Patch 9.0.2049
40868Problem: Vim9: not recognizing qualified class vars for infix ops
40869Solution: Drop the class type from the stack before generating the
40870 CLASSMEMBER instruction
40871
40872Patch 9.0.2050
40873Problem: Vim9: crash with deferred function call and exception
40874Solution: Save and restore exception state
40875
40876Patch 9.0.2051
40877Problem: Vim9: wrong error for non-existing object var
40878Solution: mention object or class depending on whether
40879 the var is an object or class variable.
40880
40881Patch 9.0.2052
40882Problem: win32: using deprecated wsock32 api
40883Solution: Use winsock2 (ws2_32) consistently
40884
40885Patch 9.0.2053
40886Problem: zig filetype detection test wrong
40887Solution: Remove .zir pattern, add new test for .zon pattern
40888
40889Patch 9.0.2054
40890Problem: win32: iscygpty needs update
40891Solution: Update iscygpty to the latest version, make use iswascii()
40892 API function
40893
40894Patch 9.0.2055
40895Problem: Vim9: non-consistent error messages
40896Solution: make error messages more consistent with common structure
40897
40898Patch 9.0.2056
40899Problem: no digraph for quadruple prime
40900Solution: add quadruple prime digraph using 4'
40901
40902Patch 9.0.2057
40903Problem: Vim9: no strict type checks for funcrefs varargs
40904Solution: Perform strict type checking when declaring funcrefs
40905 with vararg declaration, add tests
40906
40907Patch 9.0.2058
40908Problem: tests: avoid error when no swap files exist
40909Solution: use unlet! so that no error message is reported
40910 in case the variable does not exists
40911
40912Patch 9.0.2059
40913Problem: outstanding exceptions may be skipped
40914Solution: When restoring exception state, process remaining outstanding
40915 exceptions
40916
40917Patch 9.0.2060
40918Problem: *.{gn,gni} files are not recognized
40919Solution: Detect some as gn filetype (without adding an extra filetype)
40920
40921Patch 9.0.2061
40922Problem: not able to detect xkb filetypes
40923Solution: Detect files below /u/s/X11/xkb as xkb files (without adding
40924 an extra filetype)
40925
40926Patch 9.0.2062
40927Problem: Janet files are not recognised
40928Solution: Add filename and shebang detection (without
40929 adding an extra filetype plugin)
40930
40931Patch 9.0.2063
40932Problem: pacman hooks are detected as conf filetype
40933Solution: make it consistent to pacman.conf and detect those
40934 hooks as confini
40935
40936Patch 9.0.2064
40937Problem: cannot use buffer-number for errorformat
40938Solution: add support for parsing a buffer number using '%b' in
40939 'errorformat'
40940
40941Patch 9.0.2065
40942Problem: EXPAND flag set for filetype option
40943Solution: Remove P_EXPAND flag from the 'filetype' option
40944
40945Patch 9.0.2066
40946Problem: xxd: corrupting files when reversing bit dumps
40947Solution: handle reversing bit dump slightly differently
40948
40949Patch 9.0.2067
40950Problem: xxd: coloring was disabled on Cygwin
40951Solution: don't include WIN32
40952
40953Patch 9.0.2068
40954Problem: [security] overflow in :history
40955Solution: Check that value fits into int
40956
40957Patch 9.0.2069
40958Problem: possible to escape bracketed paste mode with Ctrl-C
40959Solution: Do not handle Ctrl-C specially when key_protocol
40960 is in use, makes bracketed paste mode more robust
40961
40962Patch 9.0.2070
40963Problem: [security] disallow setting env in restricted mode
40964Solution: Setting environment variables in restricted mode could
40965 potentially be used to execute shell commands. Disallow this.
40966
40967Patch 9.0.2071
40968Problem: objdump files not recognized
40969Solution: detect *.objdump files, add a filetype plugin
40970
40971Patch 9.0.2072
40972Problem: Vim9: no nr2str conversion in list-unpack
40973Solution: Generate 2STRING instruction to convert dict index to string
40974
40975Patch 9.0.2073
40976Problem: typo in quickfix.c comments
40977Solution: fix them
40978
40979Patch 9.0.2074
40980Problem: Completion menu may be wrong
40981Solution: Check for the original direction of the completion menu,
40982 add more tests, make it work with 'noselect'
40983
40984Patch 9.0.2075
40985Problem: TextChangedI may not always trigger
40986Solution: trigger it in more cases: for insert/
40987 append/change operations, and when
40988 opening a new line,
40989
40990Patch 9.0.2076
40991Problem: Vim9: No support for type aliases
40992Solution: Implement :type command
40993
40994Patch 9.0.2077
40995Problem: CI fails because of trailing whitespace in test
40996Solution: Remove it
40997
40998Patch 9.0.2078
40999Problem: several problems with type aliases
41000Solution: Check for more error conditions, add tests,
41001 fix issues
41002
41003Patch 9.0.2079
41004Problem: Not all Dart files detected
41005Solution: Add shebang filetype detection for Dart
41006
41007Patch 9.0.2080
41008Problem: vim9_script test too large
41009Solution: split vim9 type alias test into
41010 separate test file
41011
41012Patch 9.0.2081
41013Problem: With 'smoothscroll' set, "w_skipcol" is not reset when unsetting
41014 'wrap'. Resulting in incorrect calculation of the cursor position.
41015Solution: Reset "w_skipcol" when unsetting 'wrap'.
41016
41017Patch 9.0.2082
41018Problem: test_channel may fail because of IPv6 config issues
41019Solution: Catch and skip the test, if getaddrinfo() fails with
41020 'Address family not supported'
41021
41022Patch 9.0.2083
41023Problem: Perl: xsubpp may be in non-standard location
41024Solution: Add --with-subpp configure option
41025
41026Patch 9.0.2084
41027Problem: Vim9: abstract static methods are possible
41028Solution: Disallow abstract static methods
41029
41030Patch 9.0.2085
41031Problem: Vim9: abstract can be used in interface
41032Solution: Disallow the use of abstract in an interface
41033
41034Patch 9.0.2086
41035Problem: code cleanup for option callbacks needed
41036Solution: remove flag os_doskip, it's not necessary, as we can check,
41037 whether an error message was returned
41038
41039Patch 9.0.2087
41040Problem: build-failure in vim9class
41041Solution: reference correct error message,
41042 disable non-failing test
41043
41044Patch 9.0.2088
41045Problem: Vim9: still allows abstract static methods
41046 (after v9.0.2084, v9.0.2085 and v9.0.2087)
41047Solution: Disallow abstract static methods
41048
41049Patch 9.0.2089
41050Problem: sound_playfile() fails when using powershell
41051Solution: quote filename using doublequotes, don't escape filename,
41052 because it doesn't use the shell
41053
41054Patch 9.0.2090
41055Problem: complete_info() skips entries with 'noselect'
41056Solution: Check, if first entry is at original text state
41057
41058Patch 9.0.2091
41059Problem: Vim9: cannot convert list to string using +=
41060 (after 9.0.2072)
41061Solution: convert dict index to string later in compile_member()
41062
41063Patch 9.0.2092
41064Problem: tests: failure in test_arabic
41065Solution: adjust the test for the changed arabic keymap
41066
41067Patch 9.0.2093
41068Problem: Unsupported option causes rest of modeline test to be skipped.
41069Solution: Revert the change from patch 8.2.1432.
41070
41071Patch 9.0.2094
41072Problem: Vim9: need more assignment tests
41073Solution: Add test for using different types in assignment, function
41074 arguments and return values
41075
41076Patch 9.0.2095
41077Problem: statusline may look different than expected
41078Solution: do not check for highlighting of stl and stlnc characters
41079
41080Patch 9.0.2096
41081Problem: Vim9: confusing usage of private
41082Solution: clarify and use protected keyword instead
41083
41084Patch 9.0.2097
41085Problem: No support for cypher files
41086Solution: Add cypher filetype detection
41087
41088Patch 9.0.2098
41089Problem: No filetype support for xcompose files
41090Solution: Add filetype detection
41091
41092Patch 9.0.2099
41093Problem: Terminal control codes¹ are sent even when silent
41094 mode is on, causing the terminal to clear up
41095Solution: Block any terminal codes when silent mode is on
41096
41097Patch 9.0.2100
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010041098Problem: CI: test_Termdebug fails
Christian Brabandt5872bcb2023-12-19 20:10:43 +010041099Solution: only test for a changed winlayout, if the window
41100 width actually changed
41101
41102Patch 9.0.2101
41103Problem: CI: test_termdebug may still fail
41104Solution: use term_wait() to make it more robust
41105
41106Patch 9.0.2102
41107Problem: matchparen highlight not cleared in completion mode
41108Solution: Clear matchparen highlighting in completion mode
41109
41110Patch 9.0.2103
41111Problem: recursive callback may cause issues on some archs
41112Solution: Decrease the limit drastically to 20
41113
41114Patch 9.0.2104
41115Problem: wast filetype should be replaced by wat filetype
41116Solution: start using the official wat filetype name
41117
41118Patch 9.0.2105
41119Problem: Skipcol is not reset when topline changed scrolling cursor to top
41120Solution: reset skipcol
41121
41122Patch 9.0.2106
41123Problem: [security]: Use-after-free in win_close()
41124Solution: Check window is valid, before accessing it
41125
41126Patch 9.0.2107
41127Problem: [security]: FPE in adjust_plines_for_skipcol
41128Solution: don't divide by zero, return zero
41129
41130Patch 9.0.2108
41131Problem: [security]: overflow with count for :s command
41132Solution: Abort the :s command if the count is too large
41133
41134Patch 9.0.2109
41135Problem: [security]: overflow in nv_z_get_count
41136Solution: break out, if count is too large
41137
41138Patch 9.0.2110
41139Problem: [security]: overflow in ex address parsing
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010041140Solution: Verify that lnum is positive, before subtracting from
Christian Brabandt5872bcb2023-12-19 20:10:43 +010041141 LONG_MAX
41142
41143Patch 9.0.2111
41144Problem: [security]: overflow in get_number
41145Solution: Return 0 when the count gets too large
41146
41147Patch 9.0.2112
41148Problem: [security]: overflow in shift_line
41149Solution: allow a max indent of INT_MAX
41150
41151Patch 9.0.2113
41152Problem: Coverity warns for another overflow in shift_line()
41153Solution: Test for INT_MAX after the if condition, cast integer values
41154 to (long long) before multiplying.
41155
41156Patch 9.0.2114
41157Problem: overflow detection not accurate when adding digits
41158Solution: Use a helper function
41159
41160Patch 9.0.2115
41161Problem: crash when callback function aborts because of recursiveness
41162Solution: correctly initialize rettv
41163
41164Patch 9.0.2116
41165Problem: No test for defining sign without attribute
41166Solution: Add test for defining sign without attributes
41167
41168Patch 9.0.2117
41169Problem: [security] use-after-free in qf_free_items
41170Solution: only access qfpnext, if it hasn't been freed
41171
41172Patch 9.0.2118
41173Problem: [security]: avoid double-free
41174Solution: Only fee plain_font, when it is not the same as bold_font
41175
41176Patch 9.0.2119
41177Problem: remove dead-condition in ex_class()
41178Solution: remove the extra condition
41179
41180Patch 9.0.2120
41181Problem: un-used assignment in do_source_buffer_init
41182Solution: Remove it
41183
41184Patch 9.0.2121
41185Problem: [security]: use-after-free in ex_substitute
41186Solution: always allocate memory
41187
41188Patch 9.0.2122
41189Problem: [security]: prevent overflow in indenting
41190Solution: use long long and remove cast to (int)
41191
41192Patch 9.0.2123
41193Problem: Problem with initializing the length of range() lists
41194Solution: Set length explicitly when it shouldn't contain any items
41195
41196Patch 9.0.2124
41197Problem: INT overflow logic can be simplified
41198Solution: introduce trim_to_int() function
41199
41200Patch 9.0.2125
41201Problem: File info disappears immediately when 'cmdheight' has just
41202 decreased due to switching tabpage and 'shortmess' doesn't
41203 contain 'o' or 'O'.
41204Solution: Make sure msg_row isn't smaller than cmdline_row.
41205
41206Patch 9.0.2126
41207Problem: Unused assignments when checking the value of 'listchars'.
41208Solution: Loop only once when just checking the value. Add a test to
41209 check that this change doesn't cause double-free.
41210
41211Patch 9.0.2127
41212Problem: translation Makefiles can be improved
41213Solution: Modified and extended po-related Makefiles and
41214 related files
41215
41216Patch 9.0.2128
41217Problem: No runtime files for SWIG filetypes
41218Solution: Add syntax and filetype plugins for SWIG (Simplified Wrapper
41219 Interface Generator) description files.
41220
41221Patch 9.0.2129
41222Problem: [security]: use-after-free in call_dfunc()
41223Solution: Refresh dfunc pointer
41224
41225Patch 9.0.2130
41226Problem: some errors with translation Makefiles
41227Solution: fix issues
41228
41229Patch 9.0.2131
41230Problem: not all nushell files detected
41231Solution: use *.nu to detect nushell files
41232
41233Patch 9.0.2132
41234Problem: Duplicate Netbeans Error Message
41235Solution: Remove duplicate message
41236
41237Patch 9.0.2133
41238Problem: Cannot detect overstrike mode in Cmdline mode
41239Solution: Make mode() return "cr" for overstrike
41240
41241Patch 9.0.2134
41242Problem: ml_get error when scrolling after delete
41243Solution: mark topline to be validated in main_loop
41244 if it is larger than current buffers line
41245 count
41246
41247Patch 9.0.2135
41248Problem: No test for mode() when executing Ex commands
41249Solution: Add some test cases and simplify several other test cases.
41250 Also add a few more test cases for ModeChanged.
41251
41252Patch 9.0.2136
41253Problem: MSVC errorformat can be improved
41254Solution: parse error type and column number in MSVC errorformat
41255
41256Patch 9.0.2137
41257Problem: Can't detect angular & mustache filetypes
41258Solution: Detect *.mustache as Mustache filetype;
41259 detect *.component.html as html.angular filetype
41260
41261Patch 9.0.2138
41262Problem: Overflow logic requires long long
41263Solution: Define vimlong_T data type to make life easier
41264 for porters
41265
41266Patch 9.0.2139
41267Problem: html.angular ft is problematic
41268Solution: partly revert v9.0.2137
41269
41270Patch 9.0.2140
41271Problem: [security]: use-after-free in win-enter
41272Solution: validate window pointer before calling win_enter()
41273
41274Patch 9.0.2141
41275Problem: [security]: buffer-overflow in suggest_trie_walk
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010041276Solution: Check n before using it as index into bytes array
Christian Brabandt5872bcb2023-12-19 20:10:43 +010041277
41278Patch 9.0.2142
41279Problem: [security]: stack-buffer-overflow in option callback functions
41280Solution: pass size of errbuf down the call stack, use snprintf()
41281 instead of sprintf()
41282
41283Patch 9.0.2143
41284Problem: [security]: buffer-overflow in ex_substitute
41285Solution: clear memory after allocating
41286
41287Patch 9.0.2144
41288Problem: Text properties causes wrong line wrapping to be drawn.
41289Solution: Find the index of the last text property that inserts text.
41290
41291Patch 9.0.2145
41292Problem: Wrong scrolling in Insert mode with 'smoothscroll' at the
41293 bottom of the window.
41294Solution: Don't use set_topline() when 'smoothscroll' is set.
41295
41296Patch 9.0.2146
41297Problem: text-property without type errors when joining
41298Solution: count all text-properties, with or without type
41299 before joining lines
41300
41301Patch 9.0.2147
41302Problem: Type check tests fail without the channel feature
41303Solution: only run tests, when Vim was build with +channel
41304
41305Patch 9.0.2148
41306Problem: Vim does not detect pacman.log file
41307Solution: Detect pacmanlogs and add syntax highlighting
41308
41309Patch 9.0.2149
41310Problem: [security]: use-after-free in exec_instructions()
41311Solution: get tv pointer again
41312
41313Patch 9.0.2150
41314Problem: Using int for errbuflen in option funcs
41315Solution: Use size_t for errbuflen in string option functions
41316
41317Patch 9.0.2151
41318Problem: 'breakindent' is not drawn after diff filler lines.
41319Solution: Correct check for whether 'breakindent' should be drawn.
41320
41321Patch 9.0.2152
41322Problem: Using type unknown for List/Dict containers
41323Solution: Use 'any' instead
41324
41325Patch 9.0.2153
41326Problem: no support to build on OpenVMS
41327Solution: Add OpenVMS X86_64 platform port
41328
41329Patch 9.0.2154
41330Problem: The options[] array is not sorted alphabetically.
41331Solution: Sort it alphabetically. Add a test. Avoid unnecessary loop
41332 iterations in findoption().
41333
41334Patch 9.0.2155
41335Problem: Vim9: type not kept when assigning vars
41336Solution: When assigning a List or a Dict value to a variable of type
41337 'any', keep the type
41338
41339Patch 9.0.2156
41340Problem: Vim9: can use typealias in an assignment
41341Solution: Generate errors when class/typealias involved in the rhs of an
41342 assignment
41343
41344Patch 9.0.2157
41345Problem: Vim9: incorrectly parses :def func definitions
41346Solution: check for more context when parsing function args
41347
41348Patch 9.0.2158
41349Problem: [security]: use-after-free in check_argument_type
41350Solution: Reset function type pointer when freeing the function type
41351 list
41352
41353Patch 9.0.2159
41354Problem: screenpos() may crash with neg. column
41355Solution: validate and correct column
41356
41357Patch 9.0.2160
41358Problem: instanceof() should use varargs as second arg
41359Solution: Modify `instanceof()` to use varargs instead of list
41360
41361Patch 9.0.2161
41362Problem: Vim9: not able to use imported interfaces and classes
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010041363Solution: Detect imported class/interfaces names correctly
Christian Brabandt5872bcb2023-12-19 20:10:43 +010041364
41365Patch 9.0.2162
41366Problem: Vim9: type documentation out-dated
41367Solution: Update documentation, fix typo in type alias
41368 definition
41369
41370Patch 9.0.2163
41371Problem: Vim9: type can be assigned to list/dict
41372Solution: Prevent assigning a `type` to a `list` or `dict`
41373
41374Patch 9.0.2164
41375Problem: Vim9: can use type a func arg/return value
41376Solution: Check if using type as function argument or return value
41377
41378Patch 9.0.2165
41379Problem: Vim9: can simplify arg type checking code
41380Solution: In `f_argcheck` array use `arg_any`, instead of NULL
41381
41382Patch 9.0.2166
41383Problem: Memory leak in Configure Script when checking GTK
41384Solution: Free the allocated memory
41385
41386Patch 9.0.2167
41387Problem: Vim9-script object/class variable declarations use syntax
41388 that is inconsistent with the rest of the language.
41389Solution: Use :var to declare object and class variables.
41390
41391Patch 9.0.2168
41392Problem: Moving tabpages on :drop may cause an endless loop
41393Solution: Disallow moving tabpages on :drop when cleaning up the arglist
41394 first
41395
41396Patch 9.0.2169
41397Problem: Vim9: builtin funcs may accept a non-value
41398Solution: Restrict builtin functions that accept `type`
41399
41400Patch 9.0.2170
41401Problem: Vim9: no support for const/final class/objects vars
41402Solution: Support final and const object and class variables
41403
41404Patch 9.0.2171
41405Problem: The options[] array is still not sorted alphabetically
41406 (after: v9.0.2154), causing test failures
41407Solution: Sort the remaining items
41408
41409Patch 9.0.2172
41410Problem: Vim9: compiling :defer may fail
41411Solution: compile defer, when ctx_skip is not SKIP_YES
41412
41413Patch 9.0.2173
41414Problem: Vim9: Vim crashes when compiling a for statement with a
41415 non-existing type
41416Solution: Error out when lhs_type is not null
41417
41418Patch 9.0.2174
41419Problem: Vim9: segfault when assigning to type
41420Solution: do not clear typeval, add missing patch number
41421
41422Patch 9.0.2175
41423Problem: Compiler warning for uninitialized var
41424Solution: initialize variable to NULL
Yegappan Lakshmanan7c948642023-09-24 14:07:03 -070041425
Bram Moolenaarc51cf032022-02-26 12:25:45 +000041426 vim:tw=78:ts=8:noet:ft=help:norl: