blob: 3566e452e33604f9b2678a82e4b5ab6637112cde [file] [log] [blame]
Girish Palya93c2d5b2025-07-08 21:29:02 +02001*version9.txt* For Vim version 9.1. Last change: 2025 Jul 08
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
Christian Brabandt0ede5e32024-01-01 18:56:52 +010032VERSION 9.1 |version-9.1|
33Changed |changed-9.1|
34Added |added-9.1|
35Patches |patches-9.1|
36
Bram Moolenaarc51cf032022-02-26 12:25:45 +000037
38See |vi_diff.txt| for an overview of differences between Vi and Vim 9.0.
39See |version4.txt|, |version5.txt|, |version6.txt|, |version7.txt| and
40|version8.txt| for differences between Vim versions.
41
42You can find an overview of the most important changes (according to Martin
43Tournoij) on this site: https://www.arp242.net/vimlog/
44
Bram Moolenaard799daa2022-06-20 11:17:32 +010045 *Sven-Guckes*
Bram Moolenaarc51cf032022-02-26 12:25:45 +000046Vim version 9.0 is dedicated to Sven Guckes, who passed away in February 2022
47when the release was being prepared. Sven was a long time supporter of Vim.
48He registered the vim.org domain and created the first Vim website. We will
49remember him!
50
Christian Brabandte978b452023-08-13 10:33:05 +020051 *Bram* *Moolenaar* *Bram-Moolenaar*
Christian Brabandt596ad662023-08-16 00:11:09 +020052Vim version 9.1 is dedicated to Bram Moolenaar, who passed away on August 3rd
532023 while still working full-time on Vim. The Vim project would not exist
54without his ongoing passion to lead and develop Vim and the community for more
55than 30 years. Bram was also passionate about his |ICCF| foundation to help
56children in Uganda. If you enjoy using Vim, please consider donating! We will
57miss his guidance, passion and leadership.
Christian Brabandte978b452023-08-13 10:33:05 +020058
59Obituary Articles: https://github.com/vim/vim/discussions/12742
60Say Farewell: https://github.com/vim/vim/discussions/12737
61
Bram Moolenaarc51cf032022-02-26 12:25:45 +000062==============================================================================
63NEW FEATURES *new-9*
64
65First an overview of the more interesting new features. A comprehensive list
66is below.
67
68
69Vim9 script ~
70 *new-vim-script-9*
71The Vim script language has been changed step by step over many years,
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010072preserving backwards compatibility. Several choices made in the early days
73got in the way of making it work better. At the same time, Vim script is
74being used much more often, since there are so many plugins being used.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000075
76Vim9 script provides a syntax that is much more similar to other languages.
77In other words: "less weird". Compiled functions are introduced which allow
78for a large speed improvement. You can expect around ten times faster
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010079execution, or even more. The price to pay is that Vim9 script is not
80backwards compatible. But don't worry, you can still use your old scripts,
81the new script language is added, it does not replace the legacy script.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000082
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010083Information about Vim9 script can be found in the |Vim9| help file.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000084
85
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010086Command line completion in a popup menu ~
87 *new-popup-compl*
88Before there was the 'wildmenu' option, which uses the space of one line above
89the statusline to show matches. Only a few matches fit there.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000090
Bram Moolenaar71b6d332022-09-10 13:13:14 +010091Now a popup menu can be used by setting 'wildoptions' to "pum". This allows
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010092for showing many more matches. This requires redrawing more of the display,
93but since computers are fast enough that is not a problem.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000094
95
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010096Updated colorschemes ~
97 *new-colorschemes-9*
98Colorschemes from https://github.com/vim/colorschemes have been included.
99They were made to work consistently across many types of terminals. Although
100generally an improvement, a lot of personal preference is involved. You can
101always get the old version if you prefer it, look here:
102https://github.com/vim/colorschemes/blob/master/legacy_colors/
103
104
105Various new items ~
106 *new-items-9*
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000107Options: ~
108
109'autoshelldir' change directory to the shell's current directory
110'cdhome' change directory to the home directory by ":cd"
Bram Moolenaard799daa2022-06-20 11:17:32 +0100111'cinscopedecls' words that are recognized by 'cino-g'
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000112'guiligatures' GTK GUI: ASCII characters that can form shapes
Bram Moolenaard799daa2022-06-20 11:17:32 +0100113'mousemoveevent' report mouse moves with <MouseMove>
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000114'quickfixtextfunc' function for the text in the quickfix window
115'spelloptions' options for spell checking
116'thesaurusfunc' function to be used for thesaurus completion
117'xtermcodes' request terminal codes from an xterm
118
119
120Ex commands: ~
121
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100122|:abstract| (reserved for future use)
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000123|:argdedupe| remove duplicates from the argument list
124|:balt| like ":badd" but also set the alternate file
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100125|:class| (reserved for future use)
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000126|:def| define a Vim9 user function
127|:defcompile| compile Vim9 user functions in current script
128|:disassemble| disassemble Vim9 user function
129|:echoconsole| like :echomsg but write to stdout
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100130|:endinterface| (reserved for future use)
131|:endclass| (reserved for future use)
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000132|:enddef| end of a user function started with :def
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100133|:endenum| (reserved for future use)
134|:enum| (reserved for future use)
135|:eval| evaluate an expression and discard the result
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000136|:export| Vim9: export an item from a script
137|:final| declare an immutable variable in Vim9
138|:import| Vim9: import an item from another script
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100139|:interface| (reserved for future use)
140|:static| (reserved for future use)
141|:type| (reserved for future use)
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000142|:var| variable declaration in Vim9
143|:vim9script| indicates Vim9 script file
144
145
146Ex command modifiers: ~
147
148|:legacy| make following command use legacy script syntax
149|:vim9cmd| make following command use Vim9 script syntax
150
151
152New and extended functions: ~
153
154|assert_nobeep()| assert that a command does not cause a beep
Bram Moolenaard799daa2022-06-20 11:17:32 +0100155|autocmd_add()| add a list of autocmds and groups
156|autocmd_delete()| delete a list of autocmds and groups
157|autocmd_get()| return a list of autocmds
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000158|blob2list()| get a list of numbers from a blob
159|charclass()| class of a character
160|charcol()| character number of the cursor or a mark
161|charidx()| character index of a byte in a string
162|digraph_get()| get digraph
163|digraph_getlist()| get all digraphs
164|digraph_set()| register digraph
165|digraph_setlist()| register multiple digraphs
166|echoraw()| output characters as-is
167|exists_compiled()| like exists() but check at compile time
168|extendnew()| make a new Dictionary and append items
169|flatten()| flatten a List
170|flattennew()| flatten a copy of a List
171|fullcommand()| get full command name
172|getcharpos()| get character position of cursor, mark, etc.
173|getcharstr()| get a character from the user as a string
Bram Moolenaard799daa2022-06-20 11:17:32 +0100174|getcmdcompltype()| return current cmdline completion type
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100175|getcmdscreenpos()| return the current cursor position in the cmdline
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000176|getcursorcharpos()| get character position of the cursor
177|getmarklist()| list of global/local marks
178|getreginfo()| get information about a register
179|gettext()| lookup message translation
180|hlget()| get highlight group attributes
181|hlset()| set highlight group attributes
Bram Moolenaard799daa2022-06-20 11:17:32 +0100182|isabsolutepath()| check if a path is absolute
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000183|list2blob()| get a blob from a list of numbers
Bram Moolenaard799daa2022-06-20 11:17:32 +0100184|maplist()| list of all mappings, a dict for each
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000185|mapnew()| make a new List with changed items
186|mapset()| restore a mapping
187|matchfuzzy()| fuzzy matches a string in a list of strings
188|matchfuzzypos()| fuzzy matches a string in a list of strings
189|menu_info()| get information about a menu item
190|popup_list()| get list of all popup window IDs
191|prompt_getprompt()| get the effective prompt text for a buffer
192|prop_add_list()| attach a property at multiple positions
193|prop_find()| search for a property
194|readblob()| read a file into a Blob
195|readdirex()| get a List of file information in a directory
196|reduce()| reduce a List to a value
197|searchcount()| get number of matches before/after the cursor
198|setcellwidths()| set character cell width overrides
199|setcharpos()| set character position of cursor, mark, etc.
200|setcursorcharpos()| set character position of the cursor
201|slice()| take a slice of a List
202|strcharlen()| length of a string in characters
203|terminalprops()| properties of the terminal
204|test_gui_event()| generate a GUI event for testing
205|test_null_function()| return a null Funcref
206|test_srand_seed()| set the seed value for srand()
207|test_unknown()| return a value with unknown type
208|test_void()| return a value with void type
209|typename()| type of a variable as text
Bram Moolenaard799daa2022-06-20 11:17:32 +0100210|virtcol2col()| byte index of a character on screen
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000211|win_gettype()| get type of window
212|win_move_separator()| move window vertical separator
213|win_move_statusline()| move window status line
214|windowsversion()| get MS-Windows version
215
216
217New Vim variables: ~
218
219|v:numbermax| maximum value of a number
220|v:numbermin| minimum value of a number (negative)
221|v:numbersize| number of bits in a Number
222|v:collate| current locale setting for collation order
223|v:exiting| vim exit code
224|v:colornames| dictionary that maps color names to hex color strings
225|v:sizeofint| number of bytes in an int
226|v:sizeoflong| number of bytes in a long
227|v:sizeofpointer| number of bytes in a pointer
228|v:maxcol| maximum line length
229
230
231New autocommand events: ~
232
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100233|CompleteDonePre| after Insert mode completion done, before clearing info
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000234|DirChangedPre| before the working directory will change
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100235|InsertLeavePre| just before leaving Insert mode
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000236|ModeChanged| after changing the mode
237|SigUSR1| after the SIGUSR1 signal has been detected
238|WinClosed| after closing a window
Bram Moolenaard799daa2022-06-20 11:17:32 +0100239|WinScrolled| after scrolling or resizing a window
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000240|VimSuspend| when suspending Vim
241|VimResume| when Vim is resumed after being suspended
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000242
243
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100244New operators: ~
Bram Moolenaard799daa2022-06-20 11:17:32 +0100245
246|>>| bitwise right shift
247|<<| bitwise left shift
248|??| falsy operator
249
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000250New runtime files: ~
251
252Too many to list here.
253
254==============================================================================
255INCOMPATIBLE CHANGES *incompatible-9*
256
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100257There is only one change that is incompatible with previous releases:
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000258
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100259- Lua arrays are now one-based, they used to be zero-based.
260
261Note that when using |Vim9| script several things work differently, see
262|vim9-differences|.
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000263
264==============================================================================
265IMPROVEMENTS *improvements-9*
266
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100267Various small and useful improvements have been made since Vim 8.2, here is a
268summary.
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000269
Bram Moolenaard799daa2022-06-20 11:17:32 +0100270Many memory leaks, invalid memory accesses and crashes have been fixed.
271See the list of patches below: |bug-fixes-9|.
272
Bram Moolenaarb59ae592022-11-23 23:46:31 +0000273Support for Vim expression evaluation in a string. |interpolated-string|
Bram Moolenaard799daa2022-06-20 11:17:32 +0100274Support for evaluating Vim expressions in a heredoc. |:let-heredoc|
275
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100276Support for fuzzy matching:
277- a string in a List of strings. |fuzzy-matching|
Bram Moolenaar76db9e02022-11-09 21:21:04 +0000278- completion support for command line completion using 'wildoptions'.
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100279- for |:vimgrep|.
Bram Moolenaard799daa2022-06-20 11:17:32 +0100280
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100281Added support for the |Haiku| OS.
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100282
Bram Moolenaard799daa2022-06-20 11:17:32 +0100283Support for "lsp" channel mode to simplify LSP server RPC communication
Bram Moolenaara57b5532022-06-24 11:48:03 +0100284|language-server-protocol|. Support for using a Unix domain socket with a
285|channel|. IPv6 support in channels |channel-address|.
Bram Moolenaard799daa2022-06-20 11:17:32 +0100286
287Support for sourcing lines from the current buffer. |:source-range|
288
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100289Terminal window improvements:
290- Support for opening a terminal in a popup window. |popup-terminal|
291- Allow setting underline color in terminal.
292- Detect focus events in terminal (|FocusGained| and |FocusLost|).
293- Add bell support for the terminal window. ('belloff')
294- Support mouse left-right scrolling in a terminal window.
Bram Moolenaara57b5532022-06-24 11:48:03 +0100295
Bram Moolenaard799daa2022-06-20 11:17:32 +0100296Support for stopping profiling a Vim script: `:profile stop` and dumping the
297report to a file: `:profile dump` . |:profile|
298
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100299Completion improvements:
300- Argument completion support for the |:breakadd|, |:breakdel|, |:diffget|,
301 |:diffput|, |:profile|, |:profdel| and |:scriptnames| commands.
302- Support using any Vim type for user_data with the completion functions
303 (|complete-items|).
304- Stop insert mode completion without changing text (|i_CTRL-X_CTRL-Z|).
305- Add the "cmdline" option to |getcompletion()| to return the command line
306 arguments.
Bram Moolenaard799daa2022-06-20 11:17:32 +0100307
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100308Support for setting the 'foldtext', 'completefunc', 'omnifunc',
309'operatorfunc', 'thesaurusfunc', 'quickfixtextfunc', 'tagfunc',
310'imactivatefunc' and 'imstatusfunc' options to a function reference or a
311lambda function or a script-local function.
Bram Moolenaard799daa2022-06-20 11:17:32 +0100312
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100313Support directly setting the 'balloonexpr', 'charconvert' 'foldexpr',
314'formatexpr', 'includeexpr', 'printexpr', 'patchexpr', 'indentexpr',
315'modelineexpr', 'diffexpr' and 'printexpr' options to a script-local function.
Bram Moolenaard799daa2022-06-20 11:17:32 +0100316
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100317Improvements in 'fillchars':
318- Support for configuring the character used to mark the beginning of a fold,
319 show a closed fold and show a fold separator using "foldopen", "foldclose"
320 and "foldsep" respectively in 'fillchars'.
321- Support for configuring the character displayed in non existing lines using
322 "eob" in 'fillchars'.
323- Support for using multibyte items with the "stl", "stlnc", "foldopen",
324 "foldclose" and "foldsep" items in the 'fillchars' option.
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100325
326Support for the XChaCha20 encryption method. 'cryptmethod'
Bram Moolenaard799daa2022-06-20 11:17:32 +0100327
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100328Spell checking:
329- Spell check current word with |z=| even when 'spell' is off.
330- Add "timeout" to 'spellsuggest' to limit the searching time for spell
331 suggestions.
332- Add support for spell checking CamelCased words by adding "camel" to
333 'spelloptions'.
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100334
Bram Moolenaard799daa2022-06-20 11:17:32 +0100335Support for executing Ex commands in a map without changing the current mode
336|<Cmd>| and |<ScriptCmd>|.
337
Bram Moolenaard799daa2022-06-20 11:17:32 +0100338Add optional error code to |:cquit|.
339
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100340Recognize numbers as unsigned when "unsigned" is set in 'nrformats'.
Bram Moolenaard799daa2022-06-20 11:17:32 +0100341
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100342Expand script ID using expand('<SID>') and script name using
343expand('<script>'). |expand()|
Bram Moolenaard799daa2022-06-20 11:17:32 +0100344
Bram Moolenaara57b5532022-06-24 11:48:03 +0100345Jump to the last accessed tab page using |g<Tab>| and support using the
346last accessed tab page in |:tabnext| et al.
Bram Moolenaard799daa2022-06-20 11:17:32 +0100347
348Locale aware sorting using |:sort| and |sort()|.
349
350Hide cursor when sleeping using |:sleep!|.
351
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100352Add "multispace" to 'listchars' to show two or more spaces no matter where
353they appear. Add "leadmultispace" to 'listchars' to show two or more leading
354spaces. Add "lead" to 'listchars' to set the character used to show leading
Bram Moolenaar71b6d332022-09-10 13:13:14 +0100355spaces. Support specifying a character using the hexadecimal notation in
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100356'listchars' (\x, \u and \U).
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100357
358Make 'listchars', 'virtualedit' and 'thesaurusfunc' global-local options.
Bram Moolenaard799daa2022-06-20 11:17:32 +0100359
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100360Support for looping over a string using `:for`.
Bram Moolenaard799daa2022-06-20 11:17:32 +0100361
362Don't reset 'wrap' for diff windows when "followwrap" is set in 'diffopt'.
363
364Support for re-evaluating the 'statusline' expression as a statusline format
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100365string (%{% expr %})
Bram Moolenaard799daa2022-06-20 11:17:32 +0100366
367Add |zp| and |zP| to paste in block mode without adding trailing white space.
368Add |zy| to yank without trailing white space in block mode.
369
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100370Add the 'P' command in visual mode to paste text in Visual mode without
371yanking the deleted text to the unnamed register. |put-Visual-mode|
372
Bram Moolenaard799daa2022-06-20 11:17:32 +0100373Add \%.l, \%<.l and \%>.l atoms to match the line the cursor is currently on.
374See |/\%l| for more information.
375
376Add "list" to 'breakindentopt' to add additional indent for lines that match
377a numbered or bulleted list. Add "column" to 'breakindentopt' to indent
378soft-wrapped lines at a specific column.
379
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100380Add the |hl-CursorLineSign| and |hl-CursorLineFold| default highlight groups to
Bram Moolenaard799daa2022-06-20 11:17:32 +0100381adjust sign highlighting for 'cursorline'.
382
383Add the |hl-CurSearch| default highlight group for the current search match.
384
Bram Moolenaard799daa2022-06-20 11:17:32 +0100385Add support for logging on Vim startup (|--log|).
386
Bram Moolenaara57b5532022-06-24 11:48:03 +0100387Add support for customizing the quickfix buffer contents using
388'quickfixtextfunc'. Support for the "note" error type (%t) in |errorformat|.
389Add support for parsing the end line number (%e) and end column number (%k)
390using 'errorformat'.
391
392Support truncating the tag stack using |settagstack()|.
393
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100394Display every option in a separate line when "!" is used with |:set|.
395
396Add "nostop" to 'backspace' to allow backspacing over the start of insert for
397|CTRL-W| and |CTRL-U| also.
398
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100399Sync the undo file if 'fsync' is set.
400
401Support excluding the 'runtimepath' and 'packpath' options from a session file
402using "skiprtp" in 'sessionoptions'.
403
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100404Support for getting the number of lines (line count) in a buffer using
Bram Moolenaara57b5532022-06-24 11:48:03 +0100405|getbufinfo()|.
406
407Support |filter()| and |map()| for blob and string types.
408
409Support for using a multi-byte character for the tag kind. |tags-file-format|
410
411Add support for checking whether a function name is valid using |exists()|.
412
413Update xdiff to version 2.33. Update libvterm to revision 789.
414
Bram Moolenaara57b5532022-06-24 11:48:03 +0100415Support 'trim' for Python/Lua/Perl/Tcl/Ruby/MzScheme interface heredoc.
416
Bram Moolenaar76db9e02022-11-09 21:21:04 +0000417Add the |t_AU| and |t_8u| termcap codes for underline and undercurl. Add the
Bram Moolenaara57b5532022-06-24 11:48:03 +0100418t_fd and t_fe termcap codes for detecting focus events.
419
420Support for indenting C pragmas like normal code. (|cino-P|)
421
Bram Moolenaar76db9e02022-11-09 21:21:04 +0000422Add support for defining the syntax fold level. (|:syn-foldlevel|)
Bram Moolenaara57b5532022-06-24 11:48:03 +0100423
424Add support for using \<*xxx> in a string to prepend a modifier to a
Bram Moolenaar76db9e02022-11-09 21:21:04 +0000425character. (|expr-quote|)
Bram Moolenaara57b5532022-06-24 11:48:03 +0100426
427Add support trimming characters at the beginning or end of a string using
428|trim()|.
429
430Make ":verbose pwd" show the scope of the directory. |:pwd-verbose|
431
Bram Moolenaar76db9e02022-11-09 21:21:04 +0000432Add the "0o" notation for specifying octal numbers. |scriptversion-4|
Bram Moolenaara57b5532022-06-24 11:48:03 +0100433
434Support for changing to the previous tab-local and window-local directories
435using the "tcd -" and "lcd -" commands. (|:tcd-| and |:lcd-|)
436
437Add support for skipping an expression using |search()|.
438
Bram Moolenaara57b5532022-06-24 11:48:03 +0100439Add support for sorting the directory contents returned by the |readdir()|
440and |readdirex()| functions by case.
441
442Add support for executing (|:@|) a register containing line continuation.
443
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100444Lua support:
445- Call Vim functions from Lua (vim.call() and vim.fn()).
446- Convert a Lua function and a closure to a Vim funcref so that it can be
Bram Moolenaar76db9e02022-11-09 21:21:04 +0000447 accessed in a Vim script (|lua-funcref|).
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100448- Not backwards compatible: Make Lua arrays one based.
449- Add support for using table.insert() and table.remove() functions with Vim
450 lists.
451- Support for running multiple Ex-mode commands using vim.command().
452- Add vim.lua_version to get the Lua version.
453- Add support for accessing Vim namespace dictionaries from Lua
454 (|lua-vim-variables|).
Bram Moolenaara57b5532022-06-24 11:48:03 +0100455
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100456Support for new UTF-8 characters from Unicode release 13.
Bram Moolenaara57b5532022-06-24 11:48:03 +0100457
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100458Support for using a command block (|:command-repl|) when defining a |:command|
459or an |:autocmd|.
460
461Support for using |:z!| to use the Vim display height instead of the current
462window height.
463
464Support for deleting a buffer-local command using ":delcommand -buffer {cmd}".
465
466When formatting a // comment after a statement, find the start of the line
467comment, insert the comment leader and indent the comment properly (|fo-/|).
468
469Add the "numhl" argument to `:sign define` to use a separate highlight group
470for the line number on a line where a sign is placed. |:sign-define|
471
472When $SHELL ends in "nologin" or "false", start Vim in restricted mode.
Bram Moolenaara57b5532022-06-24 11:48:03 +0100473
474TermDebug enhancements:
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100475- Support for showing the disassembled code in a separate window.
476- Support for the GDB until command.
477- Use a separate group for the signs.
478
479xxd: Support for showing offset as a decimal number (-d).
Bram Moolenaara57b5532022-06-24 11:48:03 +0100480
Bram Moolenaar8a3b8052022-06-26 12:21:15 +0100481The C omni-complete plugin (|ft-c-omni|), the file type detection script
482(ft.vim) and the syntax menu generation script (makemenu.vim) have been
483rewritten using the Vim9 script syntax.
484
Bram Moolenaara57b5532022-06-24 11:48:03 +0100485A large number of tests have been added to verify the Vim functionality. Most
486of the old style tests have been converted to new style tests using the new
487style assert_* functions.
488
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100489Many Coverity static analysis warnings have been fixed.
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000490
491==============================================================================
492COMPILE TIME CHANGES *compile-changes-9*
493
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100494The following features are now enabled in all the builds:
495 |+cindent|
496 |+jumplist|
497 |+lispindent|
498 |+num64|
499 |+smartindent|
500 |+tag_binary|
501 |+title|
502
503The following features have been removed. They are either obsolete or didn't
504work properly:
Bram Moolenaara57b5532022-06-24 11:48:03 +0100505 - Athena and neXTaw GUI support (use Motif instead)
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100506 - EBCDIC support
Bram Moolenaara57b5532022-06-24 11:48:03 +0100507 - Atari MiNT and BeOS
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100508 - Mac Carbon GUI (use MacVim instead)
509
510The rgb.txt file is no longer included, use colors/lists/default.vim instead.
511
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100512Several large source files were split, mainly to make it easier to inspect
513code coverage information. Source files have also been refactored for
514maintainability.
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000515
Bram Moolenaara57b5532022-06-24 11:48:03 +0100516Support for building Vim with Mingw64 clang compiler on MS-Windows.
517
Bram Moolenaare1dc76f2022-06-25 18:01:32 +0100518Support for building Vim with Python 3.10, Lua 5.4.4, Perl 5.34 and
519Ruby 3.1.0.
520
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000521==============================================================================
522PATCHES *patches-9* *bug-fixes-9*
523 *patches-after-8.2*
524
525The list of patches that got included since 8.2.0. This includes all the new
526features, but does not include runtime file changes (syntax, indent, help,
527etc.)
528
529Patch 8.2.0001
530Problem: #endif comments do not reflect corresponding #ifdef.
531Solution: Update the comments. (Rene Nyffenegger, closes #5351)
532Files: src/ui.c
533
534Patch 8.2.0002
535Problem: "dj" only deletes first line of closed fold.
536Solution: Adjust last line of operator for linewise motion. (closes #5354)
537Files: src/ops.c, src/testdir/test_fold.vim
538
539Patch 8.2.0003
540Problem: Build file dependencies are incomplete.
541Solution: Fix the dependencies. (Ken Takata, closes #5356)
542Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms,
543 src/Makefile
544
545Patch 8.2.0004
546Problem: Get E685 and E931 if buffer reload is interrupted.
547Solution: Do not abort deleting a dummy buffer. (closes #5361)
548Files: src/buffer.c, src/proto/buffer.pro, src/testdir/test_trycatch.vim,
549 src/ex_cmds.c, src/ex_getln.c, src/misc2.c, src/quickfix.c,
550 src/window.c, src/vim.h
551
552Patch 8.2.0005
553Problem: Duplication in version info.
554Solution: Use preprocessor string concatenation. (Ken Takata, closes #5357)
555Files: src/version.h
556
557Patch 8.2.0006
558Problem: Test using long file name may fail. (Vladimir Lomov)
559Solution: Limit the name length. (Christian Brabandt, closes #5358)
560Files: src/testdir/test_display.vim
561
562Patch 8.2.0007
563Problem: Popup menu positioned wrong with folding in two tabs.
564Solution: Update the cursor line height. (closes #5353)
565Files: src/move.c, src/proto/move.pro, src/popupmenu.c,
566 src/testdir/test_ins_complete.vim,
567 src/testdir/dumps/Test_pum_with_folds_two_tabs.dump
568
569Patch 8.2.0008
570Problem: Test72 is old style.
571Solution: Convert to new style test. (Yegappan Lakshmanan, closes #5362)
572Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
573 src/testdir/test72.in, src/testdir/test72.ok,
574 src/testdir/test_undo.vim
575
576Patch 8.2.0009
577Problem: VMS: terminal version doesn't build.
578Solution: Move MIN definition. Adjust #ifdefs. (Zoltan Arpadffy)
579Files: src/bufwrite.c, src/fileio.c, src/ui.c, src/xxd/Make_vms.mms
580
581Patch 8.2.0010
582Problem: Test64 is old style.
583Solution: Convert to new style test. (Yegappan Lakshmanan, closes #5363)
584Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
585 src/testdir/test64.in, src/testdir/test64.ok,
586 src/testdir/test95.in, src/testdir/test_regexp_latin.vim
587
588Patch 8.2.0011
589Problem: Screen updating wrong when opening preview window.
590Solution: Redraw the window when the preview window opens.
591Files: src/popupmenu.c, src/testdir/test_ins_complete.vim,
592 src/testdir/dumps/Test_pum_with_preview_win.dump
593
594Patch 8.2.0012
595Problem: Some undo functionality is not tested.
596Solution: Add a few more test cases. (Dominique Pellé, closes #5364)
597Files: src/testdir/test_undo.vim
598
599Patch 8.2.0013
600Problem: Not using a typedef for condstack.
601Solution: Add a typedef.
602Files: src/structs.h, src/ex_docmd.c, src/ex_eval.c, src/userfunc.c,
603 src/ex_cmds.h, src/proto/ex_eval.pro
604
605Patch 8.2.0014
606Problem: Test69 and test95 are old style.
607Solution: Convert to new style tests. (Yegappan Lakshmanan, closes #5365)
608Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
609 src/testdir/test69.in, src/testdir/test69.ok,
610 src/testdir/test95.in, src/testdir/test95.ok,
611 src/testdir/test_regexp_utf8.vim, src/testdir/test_textformat.vim
612
613Patch 8.2.0015
614Problem: Not all modeline variants are tested.
615Solution: Add modeline tests. (Dominique Pellé, closes #5369)
616Files: src/testdir/test_modeline.vim
617
618Patch 8.2.0016
619Problem: Test name used twice, option not restored properly.
620Solution: Rename function, restore option with "&".
621Files: src/testdir/test_textformat.vim
622
623Patch 8.2.0017
624Problem: OS/2 and MS-DOS are still mentioned, even though support was
625 removed long ago.
626Solution: Update documentation. (Yegappan Lakshmanan, closes #5368)
627Files: runtime/doc/autocmd.txt, runtime/doc/change.txt,
628 runtime/doc/cmdline.txt, runtime/doc/editing.txt,
629 runtime/doc/eval.txt, runtime/doc/gui.txt, runtime/doc/insert.txt,
630 runtime/doc/options.txt, runtime/doc/print.txt,
631 runtime/doc/quickfix.txt, runtime/doc/repeat.txt,
632 runtime/doc/starting.txt, runtime/doc/usr_01.txt,
633 runtime/doc/usr_05.txt, runtime/doc/usr_41.txt,
634 runtime/doc/vi_diff.txt, runtime/gvimrc_example.vim,
635 runtime/tools/README.txt, runtime/vimrc_example.vim, src/feature.h
636
637Patch 8.2.0018
638Problem: :join does not add white space where it should. (Zdenek Dohnal)
639Solution: Handle joining multiple lines properly.
640Files: src/ops.c, src/testdir/test_join.vim
641
642Patch 8.2.0019
643Problem: Cannot get number of lines of another buffer.
644Solution: Add "linecount" to getbufinfo(). (Yasuhiro Matsumoto,
645 closes #5370)
646Files: src/evalbuffer.c, src/testdir/test_bufwintabinfo.vim,
647 runtime/doc/eval.txt
648
649Patch 8.2.0020
650Problem: Mouse clicks in the command line not tested.
651Solution: Add tests. (Dominique Pellé, closes #5366)
652Files: src/testdir/test_termcodes.vim
653
654Patch 8.2.0021
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000655Problem: Timer test fails too often on Travis with macOS.
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000656Solution: Be less strict with the time.
657Files: src/testdir/test_timers.vim
658
659Patch 8.2.0022
660Problem: Click in popup window doesn't close it in the GUI. (Sergey Vlasov)
661Solution: When processing the selection also send a button release event.
662 (closes #5367)
663Files: src/gui.c
664
665Patch 8.2.0023
666Problem: Command line editing not sufficiently tested.
667Solution: Add more tests. (Dominique Pellé, closes #5374)
668Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim,
669 src/testdir/test_cmdline.vim, src/testdir/test_ex_mode.vim
670
671Patch 8.2.0024
672Problem: Filetype Rego not recognized.
673Solution: Add *.rego. (Matt Dunford, closes #5376)
674Files: runtime/filetype.vim, src/testdir/test_filetype.vim
675
676Patch 8.2.0025
677Problem: Repeated word in comment.
678Solution: Remove one. (Rene Nyffenegger, closes #5384)
679Files: src/structs.h
680
681Patch 8.2.0026
682Problem: Still some /* */ comments.
683Solution: Convert to // comments.
684Files: src/message.c, src/message_test.c, src/misc1.c, src/misc2.c,
685 src/move.c
686
687Patch 8.2.0027
688Problem: Still some /* */ comments.
689Solution: Convert to // comments.
690Files: src/iid_ole.c, src/indent.c, src/insexpand.c, src/iscygpty.c,
691 src/version.c
692
693Patch 8.2.0028
694Problem: Searchpairpos() is not tested.
695Solution: Add tests. Also improve searchpair() testing. (Dominique Pellé,
696 closes #5388)
697Files: src/testdir/test_search.vim
698
699Patch 8.2.0029
700Problem: MS-Windows: crash with empty job command.
701Solution: Check for NULL result. (Yasuhiro Matsumoto, closes #5390)
702Files: src/channel.c, src/testdir/test_channel.vim
703
704Patch 8.2.0030
705Problem: "gF" does not work on output of "verbose command".
706Solution: Recognize " line " and translations. (closes #5391)
707Files: src/globals.h, src/eval.c, src/findfile.c, src/testdir/test_gf.vim
708
709Patch 8.2.0031 (after 8.2.0029)
710Problem: MS-Windows: test for empty job fails
711Solution: Check for error message, make it also fail on Unix.
712Files: src/channel.c, src/testdir/test_channel.vim
713
714Patch 8.2.0032 (after 8.2.0031)
715Problem: MS-Windows: test for blank job fails
716Solution: Check before escaping.
717Files: src/channel.c, src/testdir/test_channel.vim
718
719Patch 8.2.0033
720Problem: Crash when make_extmatch() runs out of memory.
721Solution: Check for NULL. (Dominique Pellé, closes #5392)
722Files: src/regexp_bt.c, src/regexp_nfa.c
723
724Patch 8.2.0034
725Problem: Missing check for out of memory.
726Solution: Check for NULL after vim_strsave(). (Dominique Pellé,
727 closes #5393)
728Files: src/filepath.c
729
730Patch 8.2.0035
731Problem: Saving and restoring called_emsg is clumsy.
732Solution: Count the number of error messages.
733Files: src/message.c, src/buffer.c, src/channel.c, src/drawscreen.c,
734 src/ex_cmds2.c, src/gui.c, src/highlight.c, src/main.c,
735 src/regexp.c, src/search.c, src/testing.c, src/globals.h
736
737Patch 8.2.0036
738Problem: Not enough test coverage for match functions.
739Solution: Add a few more test cases. (Dominique Pellé, closes #5394)
740 Add error number.
741Files: src/testdir/test_match.vim
742
743Patch 8.2.0037
744Problem: Missing renamed message.
745Solution: Now really add the error number.
746Files: src/highlight.c
747
748Patch 8.2.0038
749Problem: Spell suggestions insufficiently tested.
750Solution: Add spell suggestion tests. (Dominique Pellé, closes #5398)
751Files: src/testdir/test_spell.vim
752
753Patch 8.2.0039
754Problem: Memory access error when "z=" has no suggestions.
755Solution: Check for negative index.
756Files: src/testdir/test_spell.vim, src/spellsuggest.c
757
758Patch 8.2.0040
759Problem: Timers test is still flaky on Travis for Mac.
760Solution: Run separately instead of as part of test_alot.
761Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim
762
763Patch 8.2.0041
764Problem: Leaking memory when selecting spell suggestion.
765Solution: Free previous value at the right time.
766Files: src/spellsuggest.c
767
768Patch 8.2.0042
769Problem: Clearing funccal values twice.
770Solution: Remove clearing individual fields.
771Files: src/userfunc.c
772
773Patch 8.2.0043
774Problem: Timers test is still flaky on Travis for Mac.
775Solution: Increase maximum expected time.
776Files: src/testdir/test_timers.vim
777
778Patch 8.2.0044
779Problem: Expression type is used inconsistently.
780Solution: Add "ETYPE_IS" and "ETYPE_ISNOT" as separate enum values. Rename
781 "TYPE_" to "ETYPE_" to avoid confusion.
782Files: src/structs.h, src/eval.c, src/proto/eval.pro, src/debugger.c
783
784Patch 8.2.0045 (after 8.2.0044)
785Problem: Script test fails.
786Solution: For numbers "is" and "isnot" work like "==" and "!=".
787Files: src/eval.c
788
789Patch 8.2.0046
790Problem: Tests for spell suggestions are slow.
791Solution: Use shorter words. Test with latin1 and utf-8 to cover more code.
792 (Dominique Pellé, closes #5399)
793Files: src/testdir/test_spell.vim
794
795Patch 8.2.0047
796Problem: Cannot skip tests for specific MS-Windows platform.
797Solution: Add windowsversion().
798Files: src/os_win32.c, src/globals.h, src/evalfunc.c,
799 runtime/doc/eval.txt, src/testdir/gen_opt_test.vim,
800 src/testdir/test_options.vim
801
802Patch 8.2.0048
803Problem: Another timers test is flaky on Travis for Mac.
804Solution: Increase maximum expected time.
805Files: src/testdir/test_timers.vim
806
807Patch 8.2.0049
808Problem: Command line completion not fully tested.
809Solution: Add more test cases. Make help sorting stable. (Dominique Pellé,
810 closes #5402)
811Files: src/ex_cmds.c, src/testdir/test_cd.vim,
812 src/testdir/test_cmdline.vim, src/testdir/test_help.vim,
813 src/testdir/test_menu.vim, src/testdir/test_options.vim,
814 src/testdir/test_syntax.vim
815
816Patch 8.2.0050
817Problem: After deleting a file mark it is still in viminfo.
818Solution: When a file mark was deleted more recently than the mark in the
819 merged viminfo file was updated, do not store the mark. (Pavol
820 Juhas, closes #5401, closes #1339)
821Files: src/mark.c, src/testdir/test_marks.vim,
822 src/testdir/test_viminfo.vim, src/viminfo.c
823
824Patch 8.2.0051 (after 8.2.0049)
825Problem: Command line completion test skipped. (Christian Brabandt)
826Solution: Invert condition.
827Files: src/testdir/test_cmdline.vim
828
829Patch 8.2.0052
830Problem: More-prompt not properly tested.
831Solution: Add a test case. (Dominique Pellé, closes #5404)
832Files: src/testdir/test_messages.vim
833
834Patch 8.2.0053
835Problem: windowsversion() does not always return the right value.
836Solution: Add a compatibility section in the manifest. (Ken Takata,
837 closes #5407)
838Files: src/gvim.exe.mnf
839
840Patch 8.2.0054
841Problem: :diffget and :diffput don't have good completion.
842Solution: Add proper completion. (Dominique Pellé, closes #5409)
843Files: runtime/doc/eval.txt, src/buffer.c, src/cmdexpand.c,
844 src/testdir/test_diffmode.vim, src/usercmd.c, src/vim.h
845
846Patch 8.2.0055
847Problem: Cannot use ":gui" in vimrc with VIMDLL enabled.
848Solution: Change the logic, check "gui.starting". (Ken Takata, closes #5408)
849Files: src/gui.c
850
851Patch 8.2.0056
852Problem: Execution stack is incomplete and inefficient.
853Solution: Introduce a proper execution stack and use it instead of
854 sourcing_name/sourcing_lnum. Create a string only when used.
855Files: src/structs.h, src/globals.h, src/autocmd.c, src/buffer.c
856 src/debugger.c, src/ex_docmd.c, src/ex_eval.c, src/highlight.c,
857 src/main.c, src/map.c, src/message.c, src/proto/scriptfile.pro,
858 src/scriptfile.c, src/option.c, src/profiler.c, src/spellfile.c,
859 src/term.c, src/testing.c, src/usercmd.c, src/userfunc.c,
860 src/kword_test.c, src/testdir/test_debugger.vim
861
862Patch 8.2.0057 (after 8.2.0056)
863Problem: Cannot build with small features.
864Solution: Add #ifdefs.
865Files: src/scriptfile.c
866
867Patch 8.2.0058
868Problem: Running tests changes ~/.viminfo.
869Solution: Make 'viminfo' empty when summarizing tests results. (closes #5414)
870Files: src/testdir/summarize.vim
871
872Patch 8.2.0059
873Problem: Compiler warnings for unused variables in small build. (Tony
874 Mechelynck)
875Solution: Add #ifdef.
876Files: src/scriptfile.c
877
878Patch 8.2.0060
879Problem: Message test only runs with one encoding. (Dominique Pellé)
880Solution: Run the test with "utf-8" and "latin1". Fix underflow. (related
881 to #5410)
882Files: src/message_test.c, src/message.c
883
884Patch 8.2.0061
885Problem: The execute stack can grow big and never shrinks.
886Solution: Reduce the size in garbage collect.
887Files: src/eval.c
888
889Patch 8.2.0062
890Problem: Memory test is flaky on FreeBSD.
891Solution: Add a short sleep before getting the first size.
892Files: src/testdir/test_memory_usage.vim
893
894Patch 8.2.0063
895Problem: Wrong size argument to vim_snprintf(). (Dominique Pellé)
896Solution: Reduce the size by the length. (related to #5410)
897Files: src/ops.c
898
899Patch 8.2.0064
900Problem: Diffmode completion doesn't use per-window setting.
901Solution: Check if a window is in diff mode. (Dominique Pellé, closes #5419)
902Files: src/buffer.c, src/testdir/test_diffmode.vim
903
904Patch 8.2.0065
905Problem: Amiga and alikes: autoopen only used on Amiga OS4.
906Solution: Adjust #ifdefs. (Ola Söder, closes #5413)
907Files: src/os_amiga.c
908
909Patch 8.2.0066
910Problem: Some corners of vim_snprintf() are not tested.
911Solution: Add a test in C. (Dominique Pellé, closes #5422)
912Files: src/message_test.c
913
914Patch 8.2.0067
915Problem: ERROR_UNKNOWN clashes on some systems.
916Solution: Rename ERROR_ to FCERR_. (Ola Söder, closes #5415)
917Files: src/evalfunc.c, src/userfunc.c, src/vim.h
918
919Patch 8.2.0068
920Problem: Crash when using Python 3 with "utf32" encoding. (Dominique Pellé)
921Solution: Use "utf-8" whenever enc_utf8 is set. (closes #5423)
922Files: src/testdir/test_python3.vim, src/if_py_both.h
923
924Patch 8.2.0069
925Problem: ETYPE_ is used for two different enums.
926Solution: Rename one to use EXPR_.
927Files: src/structs.h, src/eval.c, src/debugger.c
928
929Patch 8.2.0070
930Problem: Crash when using Python 3 with "debug" encoding. (Dominique Pellé)
931Solution: Use "euc-jp" whenever enc_dbcs is set.
932Files: src/testdir/test_python3.vim, src/if_py_both.h
933
934Patch 8.2.0071
935Problem: Memory test often fails on Cirrus CI.
936Solution: Allow for more tolerance in the upper limit. Remove sleep.
937Files: src/testdir/test_memory_usage.vim
938
939Patch 8.2.0072 (after 8.2.0071)
940Problem: Memory test still fails on Cirrus CI.
941Solution: Allow for a tiny bit more tolerance in the upper limit.
942Files: src/testdir/test_memory_usage.vim
943
944Patch 8.2.0073
945Problem: Initializing globals with COMMA is clumsy.
946Solution: Use INIT2(), INIT3(), etc.
947Files: src/vim.h, src/globals.h
948
949Patch 8.2.0074
950Problem: Python 3 unicode test sometimes fails.
951Solution: Make 'termencoding' empty. Correct number of error message.
952Files: src/change.c, runtime/doc/options.txt, runtime/doc/message.txt,
953 src/testdir/test_python3.vim
954
955Patch 8.2.0075
956Problem: Python 3 unicode test still sometimes fails.
957Solution: Skip the test when 'termencoding' is not empty.
958Files: src/testdir/test_python3.vim
959
960Patch 8.2.0076
961Problem: Python 3 unicode test fails on MS-Windows.
962Solution: Do not set 'encoding' to "debug" on MS-Windows.
963Files: src/testdir/test_python3.vim
964
965Patch 8.2.0077
966Problem: settagstack() cannot truncate at current index.
967Solution: Add the "t" action. (Yegappan Lakshmanan, closes #5417)
968Files: runtime/doc/eval.txt, src/evalfunc.c, src/tag.c,
969 src/testdir/test_tagjump.vim
970
971Patch 8.2.0078
972Problem: Expanding <sfile> works differently the second time.
973Solution: Keep the expanded name when redefining a function. (closes #5425)
974Files: src/testdir/test_vimscript.vim, src/userfunc.c
975
976Patch 8.2.0079
977Problem: Python 3 unicode test still fails on MS-Windows.
978Solution: Do not set 'encoding' to "euc-tw" on MS-Windows.
979Files: src/testdir/test_python3.vim
980
981Patch 8.2.0080
982Problem: Globals using INIT4() are not in the tags file.
983Solution: Adjust the tags command.
984Files: src/configure.ac, src/auto/configure
985
986Patch 8.2.0081
987Problem: MS-Windows also need the change to support INIT4().
988Solution: Add the ctags arguments. (Ken Takata)
989Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
990
991Patch 8.2.0082
992Problem: When reusing a buffer listeners are not cleared. (Axel Forsman)
993Solution: Clear listeners when reusing a buffer. (closes #5431)
994Files: src/testdir/test_listener.vim, src/buffer.c
995
996Patch 8.2.0083
997Problem: Text properties wrong when tabs and spaces are exchanged.
998Solution: Take text properties into account. (Nobuhiro Takasaki,
999 closes #5427)
1000Files: src/edit.c, src/testdir/test_textprop.vim
1001
1002Patch 8.2.0084
1003Problem: Complete item "user_data" can only be a string.
1004Solution: Accept any type of variable. (closes #5412)
1005Files: src/testdir/test_ins_complete.vim, src/insexpand.c, src/dict.c,
1006 src/proto/dict.pro, src/eval.c, runtime/doc/insert.txt
1007
1008Patch 8.2.0085
1009Problem: Dead code in builtin functions.
1010Solution: Clean up the code.
1011Files: src/evalvars.c, src/sound.c, src/textprop.c
1012
1013Patch 8.2.0086 (after 8.2.0084)
1014Problem: Build error for small version. (Tony Mechelynck)
1015Solution: Only use "user_data" with the +eval feature. Remove unused
1016 variable.
1017Files: src/insexpand.c, src/dict.c
1018
1019Patch 8.2.0087
1020Problem: Crash in command line expansion when out of memory.
1021Solution: Check for NULL pointer. Also make ExpandGeneric() static.
1022 (Dominique Pellé, closes #5437)
1023Files: src/cmdexpand.c, src/proto/cmdexpand.pro
1024
1025Patch 8.2.0088
1026Problem: Insufficient tests for tags; bug in using extra tag field when
1027 using an ex command to position the cursor.
1028Solution: Fix the bug, add more tests. (Yegappan Lakshmanan, closes #5439)
1029Files: runtime/doc/tagsrch.txt, src/tag.c,
1030 src/testdir/test_ins_complete.vim, src/testdir/test_tagfunc.vim,
1031 src/testdir/test_tagjump.vim, src/testdir/test_taglist.vim
1032
1033Patch 8.2.0089
1034Problem: Crash when running out of memory in :setfiletype completion.
1035Solution: Do not allocate memory. (Dominique Pellé, closes #5438)
1036Files: src/cmdexpand.c
1037
1038Patch 8.2.0090
1039Problem: Generated files show up in git status.
1040Solution: Ignore a few more files.
1041Files: .gitignore
1042
1043Patch 8.2.0091
1044Problem: Compiler warnings for size_t / int types.
1045Solution: Change type to size_t. (Mike Williams)
1046Files: src/scriptfile.c
1047
1048Patch 8.2.0092
1049Problem: Tags functionality insufficiently tested.
1050Solution: Add more tags tests. (Yegappan Lakshmanan, closes #5446)
1051Files: src/testdir/test_tagjump.vim
1052
1053Patch 8.2.0093
1054Problem: win_splitmove() can make Vim hang.
1055Solution: Check windows exists in the current tab page. (closes #5444)
1056Files: src/testdir/test_window_cmd.vim, src/evalwindow.c
1057
1058Patch 8.2.0094
1059Problem: MS-Windows: cannot build with Strawberry Perl 5.30.
1060Solution: Define __builtin_expect() as a workaround. (Ken Takata,
1061 closes #5267)
1062Files: src/if_perl.xs
1063
1064Patch 8.2.0095
1065Problem: Cannot specify exit code for :cquit.
1066Solution: Add optional argument. (Thinca, Yegappan Lakshmanan, closes #5442)
1067Files: runtime/doc/quickfix.txt, src/ex_cmds.h, src/ex_docmd.c,
1068 src/testdir/test_quickfix.vim
1069
1070Patch 8.2.0096
1071Problem: Cannot create tiny popup window in last column. (Daniel Steinberg)
1072Solution: Remove position limit. (closes #5447)
1073Files: src/popupwin.c, src/testdir/test_popupwin.vim,
1074 src/testdir/dumps/Test_popupwin_20.dump,
1075 src/testdir/dumps/Test_popupwin_21.dump
1076
1077Patch 8.2.0097
1078Problem: Crash with autocommand and spellfile. (Tim Pope)
1079Solution: Do not pop exestack when not pushed. (closes #5450)
1080Files: src/testdir/test_autocmd.vim, src/spellfile.c
1081
1082Patch 8.2.0098
1083Problem: Exe stack length can be wrong without being detected.
1084Solution: Add a check when ABORT_ON_INTERNAL_ERROR is defined.
1085Files: src/macros.h, src/autocmd.c, src/buffer.c, src/ex_docmd.c,
1086 src/main.c, src/map.c, src/scriptfile.c, src/spellfile.c,
1087 src/userfunc.c
1088
1089Patch 8.2.0099
1090Problem: Use of NULL pointer when out of memory.
1091Solution: Check for NULL pointer. (Dominique Pellé, closes #5449)
1092Files: src/cmdexpand.c
1093
1094Patch 8.2.0100
1095Problem: Macros for Ruby are too complicated.
1096Solution: Do not use DYNAMIC_RUBY_VER, use RUBY_VERSION. (Ken Takata,
1097 closes #5452)
1098Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/auto/configure,
1099 src/configure.ac, src/if_ruby.c
1100
1101Patch 8.2.0101
1102Problem: Crash when passing null object to ":echomsg".
1103Solution: Check for NULL pointer. (Yasuhiro Matsumoto, closes #5460)
1104Files: src/eval.c, src/testdir/test_messages.vim
1105
1106Patch 8.2.0102
1107Problem: Messages test fails in small version.
1108Solution: Only use test_null_job() when available.
1109Files: src/testdir/test_messages.vim
1110
1111Patch 8.2.0103
1112Problem: Using null object with execute() has strange effects.
1113Solution: Give an error message for Job and Channel.
1114Files: src/testdir/test_execute_func.vim, src/globals.h, src/eval.c,
1115 src/evalfunc.c
1116
1117Patch 8.2.0104
1118Problem: Using channel or job with ":execute" has strange effects.
1119Solution: Give an error message for Job and Channel.
1120Files: src/testdir/test_eval_stuff.vim, src/eval.c
1121
1122Patch 8.2.0105
1123Problem: Vim license not easy to find on github.
1124Solution: Add a separate LICENCE file. (closes #5458)
1125Files: LICENSE, Filelist
1126
1127Patch 8.2.0106
1128Problem: Printf formats are not exactly right.
1129Solution: Adjust signed/unsigned conversions. (Frazer Clews, closes #5456)
1130Files: runtime/tools/ccfilter.c, src/libvterm/src/parser.c,
1131 src/libvterm/src/pen.c, src/ui.c
1132
1133Patch 8.2.0107
1134Problem: Hgignore is out of sync from gitignore.
1135Solution: Add lines to hgignore. (Ken Takata)
Bram Moolenaar47c532e2022-03-19 15:18:53 +00001136Files: .hgignore
Bram Moolenaarc51cf032022-02-26 12:25:45 +00001137
1138Patch 8.2.0108
1139Problem: When sign text is changed a manual redraw is needed. (Pontus
1140 Lietzler)
1141Solution: Redraw automatically. (closes #5455)
1142Files: src/testdir/test_signs.vim, src/sign.c,
1143 src/testdir/dumps/Test_sign_cursor_1.dump,
1144 src/testdir/dumps/Test_sign_cursor_2.dump,
1145 src/testdir/dumps/Test_sign_cursor_3.dump,
1146 src/testdir/dumps/Test_sign_cursor_01.dump,
1147 src/testdir/dumps/Test_sign_cursor_02.dump
1148
1149Patch 8.2.0109
1150Problem: Corrupted text properties when expanding spaces.
1151Solution: Reallocate the line. (Nobuhiro Takasaki, closes #5457)
1152Files: src/edit.c, src/testdir/test_textprop.vim
1153
1154Patch 8.2.0110
1155Problem: prop_find() is not implemented.
1156Solution: Implement prop_find(). (Ryan Hackett, closes #5421, closes #4970)
1157Files: src/evalfunc.c, src/proto/textprop.pro,
1158 src/testdir/test_textprop.vim, src/textprop.c,
1159 runtime/doc/textprop.txt
1160
1161Patch 8.2.0111
1162Problem: VAR_SPECIAL is also used for booleans.
1163Solution: Add VAR_BOOL for better type checking.
1164Files: src/structs.h, src/dict.c, src/eval.c, src/evalfunc.c,
1165 src/evalvars.c, src/if_lua.c, src/if_mzsch.c, src/if_py_both.h,
1166 src/if_ruby.c, src/json.c, src/popupmenu.c, src/proto/dict.pro,
1167 src/testing.c, src/vim.h, src/viminfo.c
1168
1169Patch 8.2.0112
1170Problem: Illegal memory access when using 'cindent'.
1171Solution: Check for NUL byte. (Dominique Pellé, closes #5470)
1172Files: src/cindent.c, src/testdir/test_cindent.vim
1173
1174Patch 8.2.0113 (after 8.2.0095)
1175Problem: "make cmdidxs" fails.
1176Solution: Allow address for ":cquit". Add --not-a-term to avoid a delay.
1177Files: src/ex_cmds.h, src/Makefile, src/Make_cyg_ming.mak,
1178 src/Make_mvc.mak
1179
1180Patch 8.2.0114
1181Problem: Info about sourced scripts is scattered.
1182Solution: Use scriptitem_T for info about a script, including s: variables.
1183 Drop ga_scripts.
1184Files: src/structs.h, src/evalvars.c, src/scriptfile.c, src/eval.c
1185
1186Patch 8.2.0115
1187Problem: Byte2line() does not work correctly with text properties. (Billie
1188 Cleek)
1189Solution: Take the bytes of the text properties into account.
1190 (closes #5334)
1191Files: src/testdir/test_textprop.vim, src/memline.c
1192
1193Patch 8.2.0116
1194Problem: BufEnter autocmd not triggered on ":tab drop". (Andy Stewart)
1195Solution: Decrement autocmd_no_enter for the last file. (closes #1660,
1196 closes #5473)
1197Files: src/arglist.c, src/testdir/test_tabpage.vim
1198
1199Patch 8.2.0117
1200Problem: Crash when using gettabwinvar() with invalid arguments. (Yilin
1201 Yang)
1202Solution: Use "curtab" if "tp" is NULL. (closes #5475)
1203Files: src/evalwindow.c, src/testdir/test_getvar.vim
1204
1205Patch 8.2.0118
Dominique Pellé960822a2023-09-24 23:07:39 +02001206Problem: Crash when cycling to buffers involving popup window.
Bram Moolenaarc51cf032022-02-26 12:25:45 +00001207Solution: Do not decrement buffer reference count.
1208Files: src/popupwin.c, src/testdir/test_popupwin.vim,
1209 src/testdir/dumps/Test_popupwin_infopopup_7.dump
1210
1211Patch 8.2.0119
1212Problem: Message test fails on some platforms. (Elimar Riesebieter)
1213Solution: Add type cast to vim_snprintf() argument. (Dominique Pellé)
1214Files: src/message_test.c
1215
1216Patch 8.2.0120
1217Problem: virtcol() does not check arguments to be valid, which may lead to
1218 a crash.
1219Solution: Check the column to be valid. Do not decrement MAXCOL.
1220 (closes #5480)
1221Files: src/evalfunc.c, src/testdir/test_marks.vim
1222
1223Patch 8.2.0121
1224Problem: filter() and map() on blob don't work.
1225Solution: Correct the code. (closes #5483)
1226Files: src/list.c, src/testdir/test_blob.vim
1227
1228Patch 8.2.0122
1229Problem: Readme files still mention MS-DOS.
1230Solution: Update readme files. (Ken Takata, closes #5486)
1231Files: README.md, README.txt, READMEdir/README_dos.txt,
1232 READMEdir/README_srcdos.txt, READMEdir/README_w32s.txt,
1233 runtime/doc/os_win32.txt
1234
1235Patch 8.2.0123
1236Problem: complete_info() does not work when CompleteDone is triggered.
1237Solution: Trigger CompleteDone before clearing the info.
1238Files: src/insexpand.c, runtime/doc/autocmd.txt,
1239 src/testdir/test_ins_complete.vim
1240
1241Patch 8.2.0124
1242Problem: Compiler warnings for variable types.
1243Solution: Change type, add type cast. (Mike Williams)
1244Files: src/memline.c
1245
1246Patch 8.2.0125
1247Problem: :mode no longer works for any system.
1248Solution: Always give an error message.
1249Files: src/ex_docmd.c, runtime/doc/quickref.txt, src/os_amiga.c,
1250 src/proto/os_amiga.pro, src/os_mswin.c, src/proto/os_mswin.pro,
1251 src/os_unix.c, src/proto/os_unix.pro
1252
1253Patch 8.2.0126 (after 8.2.0124)
1254Problem: Textprop test fails.
1255Solution: Fix sign in computation.
1256Files: src/memline.c
1257
1258Patch 8.2.0127
1259Problem: Some buffer commands work in a popup window.
1260Solution: Disallow :bnext, :bprev, etc. (Naruhiko Nishino, closes #5494)
1261Files: src/ex_docmd.c, src/testdir/test_popupwin.vim
1262
1263Patch 8.2.0128
1264Problem: Cannot list options one per line.
1265Solution: Use ":set!" to list one option per line.
1266Files: src/ex_docmd.c, src/option.c, src/proto/option.pro, src/vim.h,
1267 src/ex_cmds.h, src/optiondefs.h, src/testdir/test_options.vim,
1268 runtime/doc/options.txt
1269
1270Patch 8.2.0129
1271Problem: MS-Windows installer doesn't use Turkish translations.
1272Solution: Enable the Turkish translations and fix a few. (Emir Sarı,
1273 closes #5493)
1274Files: nsis/gvim.nsi, nsis/lang/turkish.nsi
1275
1276Patch 8.2.0130
1277Problem: Python3 ranges are not tested.
1278Solution: Add test. (Dominique Pellé, closes #5498)
1279Files: src/testdir/test_python3.vim
1280
1281Patch 8.2.0131
1282Problem: Command line is not cleared when switching tabs and the command
1283 line height differs.
1284Solution: Set the "clear_cmdline" flag when needed. (Naruhiko Nishino,
1285 closes #5495)
1286Files: src/testdir/dumps/Test_cmdlineclear_tabenter.dump,
1287 src/testdir/test_cmdline.vim, src/window.c
1288
1289Patch 8.2.0132
1290Problem: Script may be re-used when deleting and creating a new one.
1291Solution: When the inode matches, also check the file name.
1292Files: src/scriptfile.c, src/testdir/test_source.vim
1293
1294Patch 8.2.0133
1295Problem: Invalid memory access with search command.
1296Solution: When :normal runs out of characters in bracketed paste mode break
1297 out of the loop.(closes #5511)
1298Files: src/testdir/test_search.vim, src/edit.c
1299
1300Patch 8.2.0134
1301Problem: Some map functionality not covered by tests.
1302Solution: Add tests. (Yegappan Lakshmanan, closes #5504)
1303Files: src/testdir/test_maparg.vim, src/testdir/test_mapping.vim
1304
1305Patch 8.2.0135 (after 8.2.0133)
1306Problem: Bracketed paste can still cause invalid memory access. (Dominique
1307 Pellé)
1308Solution: Check for NULL pointer.
1309Files: src/edit.c, src/testdir/test_search.vim
1310
1311Patch 8.2.0136
1312Problem: Stray ch_logfile() call.
1313Solution: Remove it. (closes #5503)
1314Files: src/testdir/test_source.vim
1315
1316Patch 8.2.0137
1317Problem: Crash when using win_execute() from a new tab.
1318Solution: Set the tp_*win pointers. (Ozaki Kiichi, closes #5512)
1319Files: src/testdir/test_winbuf_close.vim, src/window.c
1320
1321Patch 8.2.0138
1322Problem: Memory leak when starting a job fails.
1323Solution: Free the list of arguments. (Ozaki Kiichi, closes #5510)
1324Files: src/channel.c, src/testdir/test_channel.vim
1325
1326Patch 8.2.0139
1327Problem: MS-Windows: default for IME is inconsistent.
1328Solution: Also make IME default enabled with MVC. (Ken Takata, closes #5508)
1329Files: src/Make_mvc.mak
1330
1331Patch 8.2.0140
1332Problem: CI does not test building doc tags.
1333Solution: Add the vimtags/gcc build. Cleanup showing version. (Ozaki Kiichi,
1334 closes #5513)
1335Files: .travis.yml, Filelist, ci/if_ver-1.vim, ci/if_ver-2.vim,
1336 ci/if_ver-cmd.vim, runtime/doc/Makefile, runtime/doc/doctags.vim,
1337 src/testdir/if_ver-1.vim, src/testdir/if_ver-2.vim
1338
1339Patch 8.2.0141
1340Problem: No swift filetype detection.
1341Solution: Add swift, swiftgyb and sil. (Emir Sarı, closes #5517)
1342Files: runtime/filetype.vim, src/testdir/test_filetype.vim
1343
1344Patch 8.2.0142
1345Problem: Possible to enter popup window with CTRL-W p. (John Devin)
1346Solution: Check entered window is not a popup window. (closes #5515)
1347Files: src/window.c, src/popupwin.c, src/testdir/test_popupwin.vim,
1348 src/testdir/dumps/Test_popupwin_previewpopup_9.dump,
1349 src/testdir/dumps/Test_popupwin_previewpopup_10.dump
1350
1351Patch 8.2.0143
1352Problem: Coverity warning for possible use of NULL pointer.
1353Solution: Check argv is not NULL.
1354Files: src/channel.c
1355
1356Patch 8.2.0144
1357Problem: Some mapping code is not fully tested.
1358Solution: Add more test cases. (Yegappan Lakshmanan, closes #5519)
1359Files: src/testdir/test_langmap.vim, src/testdir/test_maparg.vim,
1360 src/testdir/test_mapping.vim
1361
1362Patch 8.2.0145
1363Problem: Using #error for compilation errors should be OK now.
1364Solution: Use #error. (Ken Takata, closes #5299)
1365Files: src/blowfish.c, src/vim.h
1366
1367Patch 8.2.0146
1368Problem: Wrong indent when 'showbreak' and 'breakindent' are set and
1369 'briopt' includes "sbr".
1370Solution: Reset "need_showbreak" where needed. (Ken Takata, closes #5523)
1371Files: src/drawline.c, src/testdir/test_breakindent.vim
1372
1373Patch 8.2.0147
1374Problem: Block Visual mode operators not correct when 'linebreak' set.
1375Solution: Set w_p_lbr to lbr_saved more often. (Ken Takata, closes #5524)
1376Files: src/ops.c, src/testdir/test_listlbr.vim
1377
1378Patch 8.2.0148
1379Problem: Mapping related function in wrong source file.
1380Solution: Move the function. Add a few more test cases. (Yegappan
1381 Lakshmanan, closes #5528)
1382Files: src/map.c, src/proto/term.pro, src/term.c,
1383 src/testdir/test_mapping.vim
1384
1385Patch 8.2.0149
1386Problem: Maintaining a Vim9 branch separately is more work.
1387Solution: Merge the Vim9 script changes.
1388Files: README.md, README_VIM9.md, runtime/doc/Makefile,
1389 runtime/doc/eval.txt, runtime/doc/options.txt, runtime/doc/tags,
1390 runtime/doc/vim9.txt, runtime/ftplugin/vim.vim,
1391 runtime/indent/vim.vim, runtime/syntax/vim.vim,
1392 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Makefile, src/blob.c,
1393 src/channel.c, src/dict.c, src/eval.c, src/evalbuffer.c,
1394 src/evalfunc.c, src/evalvars.c, src/ex_cmdidxs.h, src/ex_cmds.h,
1395 src/ex_docmd.c, src/ex_eval.c, src/filepath.c, src/globals.h,
1396 src/gui.c, src/if_lua.c, src/if_py_both.h, src/insexpand.c,
1397 src/json.c, src/list.c, src/macros.h, src/main.c, src/message.c,
1398 src/misc1.c, src/proto.h, src/proto/blob.pro, src/proto/eval.pro,
1399 src/proto/evalfunc.pro, src/proto/evalvars.pro,
1400 src/proto/ex_docmd.pro, src/proto/ex_eval.pro, src/proto/list.pro,
1401 src/proto/message.pro, src/proto/scriptfile.pro,
1402 src/proto/userfunc.pro, src/proto/vim9compile.pro,
1403 src/proto/vim9execute.pro, src/proto/vim9script.pro,
1404 src/scriptfile.c, src/session.c, src/structs.h, src/syntax.c,
1405 src/testdir/Make_all.mak, src/testdir/test_vim9_expr.vim,
1406 src/testdir/test_vim9_script.vim, src/testing.c, src/userfunc.c,
1407 src/vim.h, src/vim9.h, src/vim9compile.c, src/vim9execute.c,
1408 src/vim9script.c, src/viminfo.c
1409
1410Patch 8.2.0150
1411Problem: Cannot define python function when using :execute. (Yasuhiro
1412 Matsumoto)
1413Solution: Do not recognize "def" inside "function.
1414Files: src/testdir/test_vim9_script.vim, src/userfunc.c
1415
1416Patch 8.2.0151
1417Problem: Detecting a script was already sourced is unreliable.
1418Solution: Do not use the inode number.
1419Files: src/scriptfile.c, src/structs.h, src/testdir/test_vim9_script.vim
1420
1421Patch 8.2.0152
1422Problem: Restoring ctrl_x_mode is not needed.
1423Solution: Remove restoring the old value, it's changed again soon.
1424Files: src/insexpand.c
1425
1426Patch 8.2.0153
1427Problem: Warning shows when listing version info.
1428Solution: Use "-u NONE". (Ozaki Kiichi, closes #5534)
1429Files: .travis.yml
1430
1431Patch 8.2.0154
1432Problem: Reallocating the list of scripts is inefficient.
1433Solution: Instead of using a growarray of scriptitem_T, store pointers and
1434 allocate each scriptitem_T separately. Also avoids that the
1435 growarray pointers change when sourcing a new script.
1436Files: src/globals.h, src/eval.c, src/evalvars.c, src/ex_docmd.c,
1437 src/profiler.c, src/scriptfile.c, src/vim9compile.c,
1438 src/vim9execute.c, src/vim9script.c
1439
1440Patch 8.2.0155
1441Problem: Warnings from MinGW compiler. (John Marriott) Json test fails when
1442 building without +float feature.
1443Solution: Init variables. Fix Json parsing. Skip a few tests that require
1444 the +float feature.
1445Files: src/vim9script.c, src/vim9compile.c, src/vim9execute.c,
1446 src/if_py_both.h, src/json.c, src/testdir/test_method.vim
1447
1448Patch 8.2.0156
1449Problem: Various typos in source files and tests.
1450Solution: Fix the typos. (Emir Sarı, closes #5532)
1451Files: Makefile, src/INSTALLvms.txt, src/Make_vms.mms, src/beval.h,
1452 src/buffer.c, src/charset.c, src/evalvars.c, src/ex_cmds.c,
1453 src/ex_docmd.c, src/getchar.c, src/gui.c, src/gui_mac.c,
1454 src/gui_photon.c, src/if_perl.xs,
1455 src/libvterm/t/11state_movecursor.test,
1456 src/libvterm/t/41screen_unicode.test, src/mbyte.c, src/memline.c,
1457 src/normal.c, src/ops.c, src/option.c, src/option.h,
1458 src/os_unix.c, src/os_win32.c, src/quickfix.c, src/register.c,
1459 src/spell.c, src/tag.c, src/term.c,
1460 src/testdir/test_breakindent.vim, src/testdir/test_channel.vim,
1461 src/testdir/test_cindent.vim, src/testdir/test_digraph.vim,
1462 src/testdir/test_edit.vim, src/testdir/test_netbeans.vim,
1463 src/testdir/test_quickfix.vim, src/testdir/test_registers.vim,
1464 src/testdir/test_stat.vim, src/ui.c, src/xxd/xxd.c
1465
1466Patch 8.2.0157
1467Problem: Vim9 script files not in list of distributed files.
1468Solution: Add the entries.
1469Files: Filelist
1470
1471Patch 8.2.0158 (after 8.2.0123)
1472Problem: Triggering CompleteDone earlier is not backwards compatible.
1473 (Daniel Hahler)
1474Solution: Add CompleteDonePre instead.
1475Files: src/insexpand.c, runtime/doc/autocmd.txt, src/autocmd.c,
1476 src/vim.h, src/testdir/test_ins_complete.vim
1477
1478Patch 8.2.0159
1479Problem: Non-materialized range() list causes problems. (Fujiwara Takuya)
1480Solution: Materialize the list where needed.
1481Files: src/testdir/test_functions.vim, src/testdir/test_python3.vim,
1482 src/userfunc.c, src/evalfunc.c, src/highlight.c, src/evalvars.c,
1483 src/popupmenu.c, src/insexpand.c, src/json.c, src/channel.c,
1484 src/eval.c
1485
1486Patch 8.2.0160 (after 8.2.0159)
1487Problem: Range test fails.
1488Solution: Include change in list code. (#5541)
1489Files: src/list.c
1490
1491Patch 8.2.0161
1492Problem: Not recognizing .gv file as dot filetype.
1493Solution: Add *.gv to dot pattern. (closes #5544)
1494Files: runtime/filetype.vim, src/testdir/test_filetype.vim
1495
1496Patch 8.2.0162
1497Problem: Balloon test fails in the GUI.
1498Solution: Skip test in the GUI.
1499Files: src/testdir/test_functions.vim
1500
1501Patch 8.2.0163
1502Problem: Test hangs on MS-Windows console.
1503Solution: use feedkeys() instead of test_feedinput(). (Ken Takata)
1504Files: src/testdir/test_functions.vim, src/testing.c
1505
1506Patch 8.2.0164
1507Problem: Test_alot takes too long.
1508Solution: Run several tests individually.
1509Files: src/testdir/test_alot.vim, src/testdir/Make_all.mak
1510
1511Patch 8.2.0165
1512Problem: Coverity warning for using NULL pointer.
1513Solution: Add missing "else".
1514Files: src/vim9compile.c
1515
1516Patch 8.2.0166
1517Problem: Coverity warning for using uninitialized variable.
1518Solution: Check for failure.
1519Files: src/vim9execute.c
1520
1521Patch 8.2.0167
1522Problem: Coverity warning for ignoring return value.
1523Solution: Check the return value and jump if failed.
1524Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
1525
1526Patch 8.2.0168
1527Problem: Coverity warning for assigning NULL to an option.
1528Solution: Use empty string instead of NULL.
1529Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
1530
1531Patch 8.2.0169
1532Problem: Coverity warning for dead code.
1533Solution: Check if inside try-finally.
1534Files: src/vim9execute.c
1535
1536Patch 8.2.0170
1537Problem: Coverity warning for ignoring return value.
1538Solution: Check the return value and return if failed.
1539Files: src/vim9compile.c
1540
1541Patch 8.2.0171
1542Problem: Coverity warning for using uninitialized buffer.
1543Solution: Check the skip flag.
1544Files: src/userfunc.c
1545
1546Patch 8.2.0172
1547Problem: Coverity warning for not restoring character.
1548Solution: Restore the character also in case of failure.
1549Files: src/vim9script.c
1550
1551Patch 8.2.0173
1552Problem: Build fails with old compiler.
1553Solution: Do not use anonymous unions. (John Marriott)
1554Files: src/vim9compile.c, src/evalvars.c, src/list.c, src/structs.h,
1555 src/evalfunc.c, src/channel.c, src/if_mzsch.c, src/if_py_both.h
1556
1557Patch 8.2.0174
1558Problem: Various commands not completely tested.
1559Solution: Add more test cases. (Yegappan Lakshmanan, closes #5551)
1560Files: src/testdir/test_excmd.vim, src/testdir/test_fnameescape.vim,
1561 src/testdir/test_ga.vim, src/testdir/test_global.vim,
1562 src/testdir/test_move.vim, src/testdir/test_options.vim,
1563 src/testdir/test_packadd.vim, src/testdir/test_sort.vim,
1564 src/testdir/test_substitute.vim, src/testdir/test_textformat.vim,
1565 src/testdir/test_writefile.vim
1566
1567Patch 8.2.0175
1568Problem: Crash when removing list element in map().
1569Solution: Lock the list. (closes #2652)
1570Files: src/testdir/test_filter_map.vim, src/list.c
1571
1572Patch 8.2.0176
1573Problem: Generating os headers does not work for Swedish.
1574Solution: Set the locale to C. (Christian Brabandt, closes #5258)
1575Files: src/osdef.sh
1576
1577Patch 8.2.0177
1578Problem: Memory leak in get_tags().
1579Solution: Free matches when finding a pseudo-tag line. (Dominique Pellé,
1580 closes #5553)
1581Files: src/tag.c
1582
1583Patch 8.2.0178
1584Problem: With VTP the screen may not be restored properly.
1585Solution: Add another set of saved RGB values. (Nobuhiro Takasaki,
1586 closes #5548)
1587Files: src/os_win32.c
1588
1589Patch 8.2.0179
1590Problem: Still a few places where range() does not work.
1591Solution: Fix using range() causing problems.
1592Files: src/terminal.c, src/testdir/test_functions.vim,
1593 src/testdir/test_popupwin.vim, src/popupwin.c, src/tag.c,
1594 src/testdir/dumps/Test_popupwin_20.dump,
1595 src/testdir/dumps/Test_popupwin_21.dump,
1596 src/testdir/dumps/Test_popup_settext_07.dump, src/globals.h
1597
1598Patch 8.2.0180
1599Problem: Test for wrapmargin fails if terminal is not 80 columns.
1600Solution: Vertical split the window. (Ken Takata, closes #5554)
1601Files: src/testdir/test_textformat.vim
1602
1603Patch 8.2.0181
1604Problem: Problems parsing :term arguments.
1605Solution: Improve parsing, fix memory leak, add tests. (Ozaki Kiichi,
1606 closes #5536)
1607Files: src/channel.c, src/proto/channel.pro, src/structs.h,
1608 src/terminal.c, src/testdir/test_terminal.vim
1609
1610Patch 8.2.0182
1611Problem: Min() and max() materialize a range() list.
1612Solution: Compute the result without materializing the list. (#5541)
1613Files: src/evalfunc.c
1614
1615Patch 8.2.0183
1616Problem: Tests fail when the float feature is disabled.
1617Solution: Skip tests that don't work without float support.
1618Files: src/testdir/shared.vim, src/testdir/test_blob.vim,
1619 src/testdir/test_channel.vim, src/testdir/test_cscope.vim,
1620 src/testdir/test_execute_func.vim, src/testdir/test_expr.vim,
1621 src/testdir/test_functions.vim, src/testdir/test_lambda.vim,
1622 src/testdir/test_listdict.vim, src/testdir/test_lua.vim,
1623 src/testdir/test_options.vim, src/testdir/test_partial.vim,
1624 src/testdir/test_ruby.vim, src/testdir/test_sort.vim,
1625 src/testdir/test_timers.vim, src/testdir/test_true_false.vim,
1626 src/testdir/test_user_func.vim, src/testdir/test_vim9_expr.vim,
1627 src/testdir/test_vimscript.vim, src/testdir/test_regexp_latin.vim,
1628 src/testdir/test_glob2regpat.vim
1629
1630Patch 8.2.0184
1631Problem: Blob test fails.
1632Solution: Check for different error when float feature is missing.
1633Files: src/testdir/test_blob.vim
1634
1635Patch 8.2.0185
1636Problem: Vim9 script: cannot use "if has()" to skip lines.
1637Solution: Evaluate constant expression at runtime.
1638Files: src/vim9compile.c, src/evalfunc.c, src/proto/evalfunc.pro,
1639 src/userfunc.c, src/testdir/test_vim9_script.vim
1640
1641Patch 8.2.0186
1642Problem: A couple of tests may fail when features are missing.
1643Solution: Check for features. (Dominique Pellé, closes #5561)
1644Files: src/testdir/test_functions.vim, src/testdir/test_highlight.vim
1645
1646Patch 8.2.0187
1647Problem: Redundant code.
1648Solution: Remove unused assignments. (Dominique Pellé, closes #5557)
1649Files: src/vim9compile.c
1650
1651Patch 8.2.0188
1652Problem: Check commands don't work well with Vim9 script.
1653Solution: Improve constant expression handling.
1654Files: src/vim9compile.c, src/testdir/check.vim,
1655 src/testdir/test_vim9_expr.vim
1656
1657Patch 8.2.0189
1658Problem: cd() with NULL argument crashes.
1659Solution: Check for NULL. (Ken Takata, closes #5558)
1660Files: src/testdir/test_cd.vim, src/ex_docmd.c
1661
1662Patch 8.2.0190
1663Problem: Kotlin files are not recognized.
1664Solution: Detect Kotlin files. (Alkeryn, closes #5560)
1665Files: runtime/filetype.vim, src/testdir/test_filetype.vim
1666
1667Patch 8.2.0191
1668Problem: Cannot put a terminal in a popup window.
1669Solution: Allow opening a terminal in a popup window. It will always have
1670 keyboard focus until closed.
1671Files: src/popupwin.c, src/proto/popupwin.pro, src/terminal.c,
1672 src/proto/terminal.pro, src/macros.h, src/mouse.c,
1673 src/highlight.c, src/drawline.c, src/optionstr.c, src/window.c,
1674 src/testdir/test_terminal.vim,
1675 src/testdir/dumps/Test_terminal_popup_1.dump,
1676 src/testdir/dumps/Test_terminal_popup_2.dump,
1677 src/testdir/dumps/Test_terminal_popup_3.dump
1678
1679Patch 8.2.0192 (after 8.2.0191)
1680Problem: Build failure without +terminal feature.
1681Solution: Add #ifdefs.
1682Files: src/popupwin.c
1683
1684Patch 8.2.0193 (after 8.2.0191)
1685Problem: Still build failure without +terminal feature.
1686Solution: Add more #ifdefs.
1687Files: src/macros.h
1688
1689Patch 8.2.0194 (after 8.2.0193)
1690Problem: Some commands can cause problems in terminal popup.
1691Solution: Disallow more commands.
1692Files: src/macros.h, src/popupwin.c, src/proto/popupwin.pro,
1693 src/arglist.c, src/ex_docmd.c, src/window.c,
1694 src/testdir/test_terminal.vim
1695
1696Patch 8.2.0195
1697Problem: Some tests fail when run in the GUI.
1698Solution: Make sure the window width is enough. In the GUI run terminal Vim
1699 in the terminal, if possible.
1700Files: src/testdir/test_highlight.vim, src/testdir/check.vim,
1701 src/testdir/test_terminal.vim
1702
1703Patch 8.2.0196
1704Problem: Blocking commands for a finished job in a popup window.
1705Solution: Do not block commands if the job has finished. Adjust test.
1706Files: src/popupwin.c, src/testdir/test_popupwin.vim, src/window.c,
1707 src/terminal.c, src/proto/terminal.pro
1708
1709Patch 8.2.0197
1710Problem: Some Ex commands not sufficiently tested.
1711Solution: Add more tests. (Yegappan Lakshmanan, closes #5565)
1712Files: src/testdir/test_global.vim, src/testdir/test_help.vim,
1713 src/testdir/test_help_tagjump.vim, src/testdir/test_options.vim,
1714 src/testdir/test_substitute.vim, src/testdir/test_textformat.vim,
1715 src/testdir/test_writefile.vim
1716
1717Patch 8.2.0198
1718Problem: No tests for y/n prompt.
1719Solution: Add tests. (Dominique Pellé, closes #5564)
1720Files: src/testdir/test_messages.vim
1721
1722Patch 8.2.0199
1723Problem: Vim9 script commands not sufficiently tested.
1724Solution: Add more tests. Fix script-local function use.
1725Files: src/vim9execute.c, src/testdir/test_vim9_script.vim,
1726 src/userfunc.c
1727
1728Patch 8.2.0200
1729Problem: Vim9 script commands not sufficiently tested.
1730Solution: Add more tests. Fix storing global variable. Make script
1731 variables work.
1732Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/evalvars.c,
1733 src/proto/evalvars.pro, src/testdir/test_vim9_script.vim,
1734 src/misc1.c, src/proto/misc1.pro
1735
1736Patch 8.2.0201
1737Problem: Cannot assign to an imported variable.
1738Solution: Make it work.
1739Files: src/evalvars.c, src/vim9compile.c, src/proto/vim9compile.pro,
1740 src/userfunc.c, src/testdir/test_vim9_script.vim
1741
1742Patch 8.2.0202
1743Problem: When 'lazyredraw' is set the window title may not be updated.
1744Solution: Set "do_redraw" before entering the main loop. (Jason Franklin)
1745Files: src/main.c
1746
1747Patch 8.2.0203
1748Problem: :helptags and some other functionality not tested.
1749Solution: Add more tests. (Yegappan Lakshmanan, closes #5567)
1750Files: src/testdir/test_compiler.vim, src/testdir/test_ex_mode.vim,
1751 src/testdir/test_excmd.vim, src/testdir/test_filechanged.vim,
1752 src/testdir/test_help.vim, src/testdir/test_help_tagjump.vim,
1753 src/testdir/test_timers.vim, src/testdir/test_window_cmd.vim
1754
1755Patch 8.2.0204
1756Problem: Crash when using winnr('j') in a popup window.
1757Solution: Do not search for neighbors in a popup window. (closes #5568)
1758Files: src/window.c, src/testdir/test_popupwin.vim, src/evalwindow.c
1759
1760Patch 8.2.0205
1761Problem: Error code E899 used twice.
1762Solution: Use E863 for the terminal in popup error.
1763Files: src/popupwin.c
1764
1765Patch 8.2.0206
1766Problem: Calling Vim9 function using default argument fails.
1767Solution: Give an appropriate error. (closes #5572)
1768Files: src/testdir/test_vim9_script.vim, src/vim9compile.c,
1769 src/vim9execute.c
1770
1771Patch 8.2.0207
1772Problem: Crash when missing member type on list argument.
1773Solution: Check for invalid type. (closes #5572)
1774Files: src/userfunc.c, src/testdir/test_vim9_script.vim
1775
1776Patch 8.2.0208
1777Problem: Fnamemodify() does not apply ":~" when followed by ":.".
1778Solution: Don't let a failing ":." cause the ":~" to be skipped. (Yasuhiro
1779 Matsumoto, closes #5577)
1780Files: runtime/doc/cmdline.txt, src/filepath.c,
1781 src/testdir/test_fnamemodify.vim
1782
1783Patch 8.2.0209
1784Problem: Function a bit far away from where it's used.
1785Solution: Move function close to where it's used. (Ken Takata, closes #5569)
1786Files: src/fileio.c, src/filepath.c
1787
1788Patch 8.2.0210
1789Problem: Coverity complains about uninitialized field.
1790Solution: Initialize the field.
1791Files: src/vim9compile.c
1792
1793Patch 8.2.0211
1794Problem: Test for ANSI colors fails without an "ls" command.
1795Solution: Use "dir". (Ken Takata, closes #5582)
1796Files: src/testdir/test_functions.vim
1797
1798Patch 8.2.0212
1799Problem: Missing search/substitute pattern hardly tested.
1800Solution: Add test_clear_search_pat() and tests. (Yegappan Lakshmanan,
1801 closes #5579)
1802Files: runtime/doc/eval.txt, runtime/doc/testing.txt,
1803 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/regexp.pro,
1804 src/proto/search.pro, src/proto/testing.pro, src/regexp.c,
1805 src/search.c, src/testdir/test_quickfix.vim,
1806 src/testdir/test_search.vim, src/testdir/test_sort.vim,
1807 src/testdir/test_substitute.vim, src/testing.c
1808
1809Patch 8.2.0213
1810Problem: Configure does not recognize gcc 10.0 and later.
1811Solution: Adjust the pattern matching the version number. (Sergei
1812 Trofimovich, closes #5580)
1813Files: src/configure.ac, src/auto/configure
1814
1815Patch 8.2.0214
1816Problem: A popup window with a terminal can be made hidden.
1817Solution: Disallow hiding a terminal popup.
1818Files: src/testdir/test_terminal.vim, src/popupwin.c,
1819 src/testdir/dumps/Test_terminal_popup_4.dump
1820
1821Patch 8.2.0215 (after 8.2.0208)
1822Problem: Wrong file name shortening. (Ingo Karkat)
1823Solution: Better check for path separator. (Yasuhiro Matsumoto,
1824 closes #5583, closes #5584)
1825Files: src/filepath.c, src/testdir/test_fnamemodify.vim
1826
1827Patch 8.2.0216
1828Problem: Several Vim9 instructions are not tested.
1829Solution: Add more tests. Fix :disassemble output. Make catch with pattern
1830 work.
1831Files: src/testdir/test_vim9_script.vim, src/vim9execute.c,
1832 src/vim9compile.c
1833
1834Patch 8.2.0217 (after 8.2.0214)
1835Problem: Terminal test fails on Mac.
1836Solution: Add a short wait.
1837Files: src/testdir/test_terminal.vim
1838
1839Patch 8.2.0218
1840Problem: Several Vim9 instructions are not tested.
1841Solution: Add more tests.
1842Files: src/testdir/test_vim9_script.vim
1843
1844Patch 8.2.0219 (after 8.2.0217)
1845Problem: Terminal test still fails on Mac.
1846Solution: Skip part of the test on Mac.
1847Files: src/testdir/test_terminal.vim
1848
1849Patch 8.2.0220
1850Problem: Terminal test did pass on Mac.
1851Solution: Remove the skip again.
1852Files: src/testdir/test_terminal.vim
1853
1854Patch 8.2.0221
1855Problem: No test for Vim9 += and ..=.
1856Solution: Add tests.
1857Files: src/testdir/test_vim9_script.vim
1858
1859Patch 8.2.0222
1860Problem: Vim9: optional function arguments don't work yet.
1861Solution: Implement optional function arguments.
1862Files: src/userfunc.c, src/vim9compile.c, src/vim9execute.c,
1863 src/structs.h, src/testdir/test_vim9_script.vim
1864
1865Patch 8.2.0223
1866Problem: Some instructions not yet tested.
1867Solution: Disassemble more instructions. Move tests to a new file. Compile
1868 call to s:function().
1869Files: src/testdir/test_vim9_script.vim, src/testdir/Make_all.mak,
1870 src/testdir/test_vim9_disassemble.vim, src/vim9compile.c,
1871 src/userfunc.c, src/proto/userfunc.pro, src/vim.h
1872
1873Patch 8.2.0224
1874Problem: compiling :elseif not tested yet.
1875Solution: Add test for :elseif. Fix generating jumps.
1876Files: src/testdir/test_vim9_script.vim, src/vim9compile.c,
1877 src/testdir/test_vim9_disassemble.vim
1878
1879Patch 8.2.0225
1880Problem: compiling lambda not tested yet.
1881Solution: Add test for lambda and funcref. Drop unused instruction arg.
1882Files: src/testdir/test_vim9_disassemble.vim, src/vim9.h,
1883 src/vim9execute.c
1884
1885Patch 8.2.0226
1886Problem: Compiling for loop not tested.
1887Solution: Add a test. Make variable initialization work for more types.
1888Files: src/testdir/test_vim9_disassemble.vim, src/vim9compile.c
1889
1890Patch 8.2.0227
1891Problem: Compiling a few instructions not tested.
1892Solution: Add more test cases.
1893Files: src/testdir/test_vim9_disassemble.vim
1894
1895Patch 8.2.0228
1896Problem: Configure does not recognize gcc version on BSD.
1897Solution: Do not use "\+" in the pattern matching the version number. (Ozaki
1898 Kiichi, closes #5590)
1899Files: src/configure.ac, src/auto/configure
1900
1901Patch 8.2.0229
1902Problem: Compare instructions not tested.
1903Solution: Add test cases. Fix disassemble with line continuation.
1904Files: src/testdir/test_vim9_disassemble.vim, src/vim9execute.c,
1905 src/vim9compile.c
1906
1907Patch 8.2.0230
1908Problem: Terminal popup test is flaky.
1909Solution: Increase wait time a bit.
1910Files: src/testdir/test_terminal.vim
1911
1912Patch 8.2.0231
1913Problem: Silent system command may clear the screen.
1914Solution: Do not clear the screen in t_te.
1915Files: src/term.c
1916
1917Patch 8.2.0232
1918Problem: The :compiler command causes a crash. (Daniel Steinberg)
1919Solution: Do not use the script index if it isn't set.
1920Files: src/ex_docmd.c, src/testdir/test_compiler.vim
1921
1922Patch 8.2.0233
1923Problem: Crash when using garbagecollect() in between rand().
1924Solution: Redesign the rand() and srand() implementation. (Yasuhiro
1925 Matsumoto, closes #5587, closes #5588)
1926Files: src/evalfunc.c, src/testdir/test_random.vim,
1927 runtime/doc/testing.txt, runtime/doc/eval.txt
1928
1929Patch 8.2.0234
1930Problem: Message test fails on SunOS.
1931Solution: Adjust expectation for printf "%p". (Ozaki Kiichi, closes #5595)
1932Files: src/message_test.c
1933
1934Patch 8.2.0235
1935Problem: Draw error when an empty group is removed from 'statusline'.
1936Solution: Do not use highlighting from a removed group.
1937Files: src/buffer.c, src/testdir/test_statusline.vim,
1938 src/testdir/dumps/Test_statusline_1.dump
1939
1940Patch 8.2.0236
1941Problem: MS-Windows uninstall doesn't delete vimtutor.bat.
1942Solution: Change directory before deletion. (Ken Takata, closes #5603)
1943Files: src/uninstall.c
1944
1945Patch 8.2.0237
1946Problem: Crash when setting 'wincolor' on finished terminal window.
1947 (Bakudankun)
1948Solution: Check that the vterm is not NULL. (Yasuhiro Matsumoto, closes
1949 #5607, closes #5610)
1950Files: src/terminal.c, src/testdir/test_terminal.vim
1951
1952Patch 8.2.0238
1953Problem: MS-Windows: job_stop() results in exit value zero.
1954Solution: Call TerminateJobObject() with -1 instead of 0. (Yasuhiro
1955 Matsumoto, closes #5150, closes #5614)
1956Files: src/os_win32.c, src/testdir/test_channel.vim
1957
1958Patch 8.2.0239
1959Problem: MS-Windows: 'env' job option does not override existing
1960 environment variables. (Tim Pope)
1961Solution: Set the environment variables later. (Yasuhiro Matsumoto,
1962 closes #5485, closes #5608)
1963Files: src/os_win32.c, src/testdir/test_channel.vim
1964
1965Patch 8.2.0240
1966Problem: Using memory after it was freed. (Dominique Pellé)
1967Solution: Do not mix conversion buffer with other buffer.
1968Files: src/viminfo.c, src/vim.h
1969
1970Patch 8.2.0241
1971Problem: Crash when setting 'buftype' to "quickfix".
1972Solution: Check that error list is not NULL. (closes #5613)
1973Files: src/quickfix.c, src/testdir/test_quickfix.vim
1974
1975Patch 8.2.0242
1976Problem: Preview popup window test fails with long directory name. (Jakub
1977 Kądziołka)
1978Solution: Use "silent cd". (closes #5615)
1979Files: src/testdir/test_popupwin.vim
1980
1981Patch 8.2.0243
1982Problem: Insufficient code coverage for ex_docmd.c functions.
1983Solution: Add more tests. (Yegappan Lakshmanan, closes #5618)
1984Files: src/testdir/Make_all.mak, src/testdir/test_arglist.vim,
1985 src/testdir/test_buffer.vim, src/testdir/test_cd.vim,
1986 src/testdir/test_cmdline.vim, src/testdir/test_ex_mode.vim,
1987 src/testdir/test_excmd.vim, src/testdir/test_mapping.vim,
1988 src/testdir/test_quickfix.vim, src/testdir/test_search.vim,
1989 src/testdir/test_sort.vim, src/testdir/test_source.vim,
1990 src/testdir/test_substitute.vim, src/testdir/test_undo.vim,
1991 src/testdir/test_vimscript.vim, src/testdir/test_window_cmd.vim,
1992 src/testdir/test_writefile.vim
1993
1994Patch 8.2.0244
1995Problem: Compiler warning in Lua interface.
1996Solution: Add type cast. (Ken Takata, closes #5621)
1997Files: src/if_lua.c
1998
1999Patch 8.2.0245
2000Problem: MSVC: error message if the auto directory already exists.
2001Solution: Add "if not exists". (Ken Takata, closes #5620)
2002Files: src/Make_mvc.mak
2003
2004Patch 8.2.0246
2005Problem: MSVC: deprecation warnings with Ruby.
2006Solution: Move _CRT_SECURE_NO_DEPRECATE to build file. (Ken Takata,
2007 closes #5622)
2008Files: src/Make_mvc.mak, src/if_ruby.c, src/os_win32.h, src/vim.h,
2009 src/vimio.h
2010
2011Patch 8.2.0247
2012Problem: Misleading comment in NSIS installer script.
2013Solution: Negate the meaning of the comment. (Ken Takata, closes #5627)
2014Files: nsis/gvim.nsi
2015
2016Patch 8.2.0248
2017Problem: MS-Windows: dealing with deprecation is too complicated.
2018Solution: Use io.h directly. Move _CRT_SECURE_NO_DEPRECATE to the build
2019 file. Suppress C4091 warning by setting "_WIN32_WINNT". (Ken
2020 Takata, closes #5626)
2021Files: src/Make_mvc.mak, src/dosinst.h, src/vim.h, src/vimio.h,
2022 src/winclip.c, Filelist
2023
2024Patch 8.2.0249
2025Problem: MS-Windows: various warnings.
2026Solution: Set the charset to utf-8. Add _WIN32_WINNT and _USING_V110_SDK71_.
2027 (Ken Takata, closes #5625)
2028Files: src/GvimExt/Makefile, src/Make_mvc.mak
2029
2030Patch 8.2.0250
2031Problem: test_clear_search_pat() is unused.
2032Solution: Remove the function. (Yegappan Lakshmanan, closes #5624)
2033Files: runtime/doc/eval.txt, runtime/doc/testing.txt,
2034 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/regexp.pro,
2035 src/proto/search.pro, src/proto/testing.pro, src/regexp.c,
2036 src/search.c, src/testdir/test_writefile.vim, src/testing.c
2037
2038Patch 8.2.0251
2039Problem: A couple of function return types can be more specific.
2040Solution: Use a better return type. (Ken Takata, closes #5629)
2041Files: src/evalfunc.c, src/globals.h
2042
2043Patch 8.2.0252
2044Problem: Windows compiler warns for using size_t.
2045Solution: Change to int. (Mike Williams)
2046Files: src/vim9compile.c
2047
2048Patch 8.2.0253
2049Problem: Crash when using :disassemble without argument. (Dhiraj Mishra)
2050Solution: Check for missing argument. (Dominique Pellé, closes #5635,
2051 closes #5637)
2052Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim,
2053 src/ex_cmds.h
2054
2055Patch 8.2.0254
2056Problem: Compiler warning for checking size_t to be negative.
2057Solution: Only check for zero. (Zoltan Arpadffy)
2058Files: src/vim9compile.c
2059
2060Patch 8.2.0255
2061Problem: VMS: missing files in build.
2062Solution: Add the files. (Zoltan Arpadffy)
2063Files: src/Make_vms.mms
2064
2065Patch 8.2.0256
2066Problem: Time and timer related code is spread out.
2067Solution: Move time and timer related code to a new file. (Yegappan
2068 Lakshmanan, closes #5604)
2069Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
2070 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
2071 src/evalfunc.c, src/ex_cmds.c, src/ex_cmds2.c, src/main.c,
2072 src/memline.c, src/misc1.c, src/misc2.c, src/proto.h,
2073 src/proto/ex_cmds.pro, src/proto/ex_cmds2.pro, src/proto/main.pro,
2074 src/proto/memline.pro, src/proto/misc1.pro, src/proto/misc2.pro,
2075 src/proto/time.pro, src/time.c
2076
2077Patch 8.2.0257
2078Problem: Cannot recognize a terminal in a popup window.
2079Solution: Add the win_gettype() function.
2080Files: runtime/doc/eval.txt, src/evalfunc.c, src/evalwindow.c,
2081 src/proto/evalwindow.pro, src/testdir/test_cmdline.vim,
2082 src/testdir/test_terminal.vim,
2083 src/testdir/dumps/Test_terminal_popup_1.dump
2084
2085Patch 8.2.0258
2086Problem: ModifyOtherKeys cannot be temporarily disabled.
2087Solution: Add echoraw() with an example for modifyOtherKeys.
2088Files: runtime/doc/eval.txt, src/evalfunc.c,
2089 src/testdir/test_functions.vim,
2090 src/testdir/dumps/Test_functions_echoraw.dump
2091
2092Patch 8.2.0259
2093Problem: Terminal in popup test sometimes fails.
2094Solution: Clear the command line.
2095Files: src/testdir/test_terminal.vim,
2096 src/testdir/dumps/Test_terminal_popup_1.dump
2097
2098Patch 8.2.0260
2099Problem: Several lines of code are duplicated.
2100Solution: Move duplicated code to a function. (Yegappan Lakshmanan,
2101 closes #5330)
2102Files: src/option.c, src/os_unix.c, src/os_win32.c, src/proto/term.pro,
2103 src/quickfix.c, src/regexp.c, src/regexp_bt.c, src/regexp_nfa.c,
2104 src/term.c
2105
2106Patch 8.2.0261
2107Problem: Some code not covered by tests.
2108Solution: Add test cases. (Yegappan Lakshmanan, closes #5645)
2109Files: src/testdir/test_buffer.vim, src/testdir/test_cmdline.vim,
2110 src/testdir/test_exists.vim, src/testdir/test_filechanged.vim,
2111 src/testdir/test_fileformat.vim, src/testdir/test_mapping.vim,
2112 src/testdir/test_marks.vim, src/testdir/test_normal.vim,
2113 src/testdir/test_plus_arg_edit.vim, src/testdir/test_quickfix.vim,
2114 src/testdir/test_tabpage.vim, src/testdir/test_visual.vim,
2115 src/testdir/test_window_cmd.vim, src/testdir/test_writefile.vim
2116
2117Patch 8.2.0262 (after 8.2.0261)
2118Problem: Fileformat test fails on MS-Windows.
2119Solution: Set fileformat of buffer.
2120Files: src/testdir/test_fileformat.vim
2121
2122Patch 8.2.0263
2123Problem: A few new Vim9 messages are not localized.
2124Solution: Add the gettext wrapper. (Dominique Pellé, closes #5647)
2125Files: src/vim9compile.c, src/vim9execute.c
2126
2127Patch 8.2.0264 (after 8.2.0262)
2128Problem: Fileformat test still fails on MS-Windows.
2129Solution: Set fileformat of buffer in the right place.
2130Files: src/testdir/test_fileformat.vim
2131
2132Patch 8.2.0265
2133Problem: "eval" after "if 0" doesn't check for following command.
2134Solution: Add "eval" to list of commands that check for a following command.
2135 (closes #5640)
2136Files: src/ex_docmd.c, src/testdir/test_expr.vim
2137
2138Patch 8.2.0266
2139Problem: Terminal in popup test sometimes fails on Mac.
2140Solution: Add a short delay.
2141Files: src/testdir/test_terminal.vim
2142
2143Patch 8.2.0267
2144Problem: No check for a following command when calling a function fails.
2145Solution: Also check for a following command when inside a try block.
2146 (closes #5642)
2147Files: src/userfunc.c, src/testdir/test_user_func.vim
2148
2149Patch 8.2.0268 (after 8.2.0267)
2150Problem: Trycatch test fails.
2151Solution: When calling function fails only check for following command, do
2152 not give another error.
2153Files: src/userfunc.c
2154
2155Patch 8.2.0269
2156Problem: Vim9: operator after list index does not work. (Yasuhiro
2157 Matsumoto)
2158Solution: After indexing a list change the type to the list member type.
2159 (closes #5651)
2160Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
2161
2162Patch 8.2.0270
2163Problem: Some code not covered by tests.
2164Solution: Add test cases. (Yegappan Lakshmanan, closes #5649)
2165Files: src/testdir/test_autocmd.vim, src/testdir/test_buffer.vim,
2166 src/testdir/test_edit.vim, src/testdir/test_ex_mode.vim,
2167 src/testdir/test_excmd.vim, src/testdir/test_expand.vim,
2168 src/testdir/test_filetype.vim, src/testdir/test_findfile.vim,
2169 src/testdir/test_join.vim, src/testdir/test_move.vim,
2170 src/testdir/test_normal.vim, src/testdir/test_registers.vim,
2171 src/testdir/test_source.vim, src/testdir/test_tabpage.vim,
2172 src/testdir/test_tagjump.vim, src/testdir/test_vimscript.vim,
2173 src/testdir/test_visual.vim, src/testdir/test_window_cmd.vim,
2174 src/testdir/test_writefile.vim
2175
2176Patch 8.2.0271
2177Problem: The "num64" feature is available everywhere and building without
2178 it causes problems.
2179Solution: Graduate the "num64" feature. (James McCoy, closes #5650)
2180Files: src/evalfunc.c, src/feature.h, src/message.c, src/structs.h,
2181 src/testdir/test_expr.vim, src/testdir/test_largefile.vim,
2182 src/testdir/test_sort.vim, src/testdir/test_vimscript.vim,
2183 src/version.c
2184
2185Patch 8.2.0272
2186Problem: ":helptags ALL" gives error for directories without write
2187 permission. (Matěj Cepl)
2188Solution: Ignore errors for ":helptags ALL". (Ken Takata, closes #5026,
2189 closes #5652)
2190Files: src/ex_cmds.c, src/testdir/test_help.vim
2191
2192Patch 8.2.0273
2193Problem: MS-Windows uninstall may delete wrong batch file.
2194Solution: Add specific marker in the generated batch file. (Ken Takata,
2195 closes #5654)
2196Files: src/Make_mvc.mak, src/dosinst.c, src/dosinst.h, src/uninstall.c
2197
2198Patch 8.2.0274
2199Problem: Hang with combination of feedkeys(), Ex mode and :global.
2200 (Yegappan Lakshmanan)
2201Solution: Add the pending_exmode_active flag.
2202Files: src/ex_docmd.c, src/globals.h, src/getchar.c,
2203 src/testdir/test_ex_mode.vim
2204
2205Patch 8.2.0275
2206Problem: Some Ex code not covered by tests.
2207Solution: Add test cases. (Yegappan Lakshmanan, closes #5659)
2208Files: src/testdir/test_arglist.vim, src/testdir/test_autocmd.vim,
2209 src/testdir/test_excmd.vim, src/testdir/test_quickfix.vim,
2210 src/testdir/test_search.vim, src/testdir/test_swap.vim,
2211 src/testdir/test_window_cmd.vim
2212
2213Patch 8.2.0276
2214Problem: Vim9: not allowing space before ")" in function call is too
2215 restrictive. (Ben Jackson)
2216Solution: Skip space before the ")". Adjust other space checks.
2217Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
2218
2219Patch 8.2.0277
2220Problem: Vim9: not all instructions covered by tests.
2221Solution: Add more test cases.
2222Files: src/testdir/test_vim9_disassemble.vim
2223
2224Patch 8.2.0278
2225Problem: Channel test is flaky on Mac.
2226Solution: Reset variable before sending message.
2227Files: src/testdir/test_channel.vim
2228
2229Patch 8.2.0279
2230Problem: Vim9: no test for deleted :def function.
2231Solution: Add a test. Clear uf_cleared flag when redefining a function.
2232Files: src/userfunc.c, src/testdir/test_vim9_script.vim
2233
2234Patch 8.2.0280
2235Problem: Vim9: throw in :def function not caught higher up.
2236Solution: Set "need_rethrow".
2237Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
2238
2239Patch 8.2.0281
2240Problem: Two placed signs in the same line are not combined. E.g. in the
2241 terminal debugger a breakpoint and the PC cannot be both be
2242 displayed.
2243Solution: Combine the sign column and line highlight attributes.
2244Files: src/sign.c, src/testdir/test_signs.vim,
2245 src/testdir/dumps/Test_sign_cursor_3.dump,
2246 src/testdir/dumps/Test_sign_cursor_4.dump
2247
2248Patch 8.2.0282
2249Problem: Vim9: setting number option not tested.
2250Solution: Add more tests. Fix assigning to global variable.
2251Files: src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim,
2252 src/vim9execute.c
2253
2254Patch 8.2.0283
2255Problem: Vim9: failing to load script var not tested.
2256Solution: Add more tests. Fix using s: in old script.
2257Files: src/testdir/test_vim9_expr.vim, src/vim9compile.c,
2258 src/testdir/test_vim9_script.vim
2259
2260Patch 8.2.0284
2261Problem: Vim9: assignment test fails.
2262Solution: Avoid duplicating "s:".
2263Files: src/vim9compile.c
2264
2265Patch 8.2.0285
2266Problem: Unused error message. Cannot create s:var.
2267Solution: Remove the error message. Make assignment to s:var work.
2268Files: src/vim9compile.c, src/vim9execute.c,
2269 src/testdir/test_vim9_script.vim
2270
2271Patch 8.2.0286
2272Problem: Cannot use popup_close() for a terminal popup.
2273Solution: Allow using popup_close(). (closes #5666)
2274Files: src/popupwin.c, runtime/doc/popup.txt,
2275 src/testdir/test_terminal.vim,
2276 src/testdir/dumps/Test_terminal_popup_5.dump,
2277 src/testdir/dumps/Test_terminal_popup_6.dump
2278
2279Patch 8.2.0287
2280Problem: Vim9: return in try block not tested; catch with pattern not
2281 tested.
2282Solution: Add tests. Make it work.
2283Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
2284
2285Patch 8.2.0288
2286Problem: Vim9: some float and blob operators not tested.
2287Solution: Add float and blob tests. Fix addition.
2288Files: src/testdir/test_vim9_expr.vim, src/vim9compile.c
2289
2290Patch 8.2.0289
2291Problem: Vim9: :echo did not clear the rest of the line.
2292Solution: Call msg_clr_eos(). (Ken Takata, closes #5668)
2293Files: src/vim9execute.c
2294
2295Patch 8.2.0290
2296Problem: Running individual test differs from all tests.
2297Solution: Pass on environment variables. (Yee Cheng Chin, closes #5672)
2298Files: src/testdir/Makefile, src/testdir/README.txt
2299
2300Patch 8.2.0291
2301Problem: Vim9: assigning [] to list<string> doesn't work.
2302Solution: Use void for empty list and dict. (Ken Takata, closes #5669)
2303Files: src/vim9compile.c, src/globals.h, src/testdir/test_vim9_script.vim
2304
2305Patch 8.2.0292
2306Problem: Vim9: CHECKNR and CHECKTYPE instructions not tested.
2307Solution: Add tests.
2308Files: src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim
2309
2310Patch 8.2.0293
2311Problem: Various Ex commands not sufficiently tested.
2312Solution: Add more test cases. (Yegappan Lakshmanan, closes #5673)
2313Files: src/testdir/test_arglist.vim, src/testdir/test_cmdline.vim,
2314 src/testdir/test_ex_mode.vim, src/testdir/test_excmd.vim,
2315 src/testdir/test_expand.vim, src/testdir/test_filetype.vim,
2316 src/testdir/test_filter_cmd.vim, src/testdir/test_global.vim,
2317 src/testdir/test_normal.vim, src/testdir/test_plus_arg_edit.vim,
2318 src/testdir/test_quickfix.vim, src/testdir/test_trycatch.vim,
2319 src/testdir/test_vimscript.vim
2320
2321Patch 8.2.0294
2322Problem: Cannot use Ex command that is also a function name.
2323Solution: Recognize an Ex command by a colon prefix.
2324Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
2325 runtime/doc/vim9.txt
2326
2327Patch 8.2.0295
2328Problem: Highlighting for :s wrong when using different separator.
2329Solution: Use separate argument for search direction and separator. (Rob
2330 Pilling, closes #5665)
2331Files: src/ex_docmd.c, src/ex_getln.c, src/gui.c, src/normal.c,
2332 src/proto/search.pro, src/quickfix.c, src/search.c, src/spell.c,
2333 src/tag.c, src/testdir/dumps/Test_incsearch_substitute_15.dump,
2334 src/testdir/test_search.vim
2335
2336Patch 8.2.0296
2337Problem: Mixing up "long long" and __int64 may cause problems. (John
2338 Marriott)
2339Solution: Pass varnumber_T to vim_snprintf(). Add v:numbersize.
2340Files: src/message.c, src/eval.c, src/fileio.c, src/json.c, src/ops.c,
2341 src/vim.h, src/structs.h, src/evalvars.c, runtime/doc/eval.txt,
2342 runtime/doc/various.txt, src/testdir/test_eval_stuff.vim
2343
2344Patch 8.2.0297
2345Problem: Compiler warnings for the Ruby interface.
2346Solution: Undefine a few macros, fix initialization. (Ozaki Kiichi,
2347 closes #5677)
2348Files: src/if_ruby.c
2349
2350Patch 8.2.0298
2351Problem: Vim9 script: cannot start command with a string constant.
2352Solution: Recognize expression starting with '('.
2353Files: src/ex_docmd.c, src/vim9compile.c,
2354 src/testdir/test_vim9_script.vim, runtime/doc/vim9.txt
2355
2356Patch 8.2.0299
2357Problem: Vim9: ISN_STORE with argument not tested. Some cases in tv2bool()
2358 not tested.
2359Solution: Add tests. Add test_unknown() and test_void().
2360Files: src/testing.c, src/proto/testing.pro, src/evalfunc.c,
2361 src/testdir/test_vim9_disassemble.vim,
2362 src/testdir/test_vim9_expr.vim, runtime/doc/eval.txt,
2363 runtime/doc/testing.txt
2364
2365Patch 8.2.0300
2366Problem: Vim9: expression test fails without channel support.
2367Solution: Add has('channel') check.
2368Files: src/testdir/test_vim9_expr.vim
2369
2370Patch 8.2.0301
2371Problem: Insufficient testing for exception handling and the "attention"
2372 prompt.
2373Solution: Add test cases. (Yegappan Lakshmanan, closes #5681)
2374Files: src/testdir/test_swap.vim, src/testdir/test_trycatch.vim
2375
2376Patch 8.2.0302
2377Problem: Setting 'term' may cause error in TermChanged autocommand.
2378Solution: Use aucmd_prepbuf() to switch to the buffer where the autocommand
2379 is to be executed. (closes #5682)
2380Files: src/term.c, src/testdir/test_autocmd.vim
2381
2382Patch 8.2.0303
2383Problem: TermChanged test fails in the GUI.
2384Solution: Skip the test when running the GUI.
2385Files: src/testdir/test_autocmd.vim
2386
2387Patch 8.2.0304
2388Problem: Terminal test if failing on some systems.
2389Solution: Wait for the job to finish. (James McCoy)
2390Files: src/testdir/test_terminal.vim
2391
2392Patch 8.2.0305
2393Problem: Relativenumber test fails on some systems. (James McCoy)
2394Solution: Clear the command line.
2395Files: src/testdir/test_number.vim,
2396 src/testdir/dumps/Test_relnr_colors_2.dump,
2397 src/testdir/dumps/Test_relnr_colors_3.dump
2398
2399Patch 8.2.0306
2400Problem: Vim9: :substitute(pat(repl does not work in Vim9 script.
2401Solution: Remember starting with a colon. (closes #5676)
2402Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
2403
2404Patch 8.2.0307
2405Problem: Python 3 vim.eval not well tested.
2406Solution: Add a test. (Dominique Pellé, closes #5680)
2407Files: src/testdir/test_python3.vim
2408
2409Patch 8.2.0308
2410Problem: 'showbreak' does not work for a very long line. (John Little)
2411Solution: Check whether 'briopt' contains "sbr". (Ken Takata, closes #5523,
2412 closes #5684)
2413Files: src/drawline.c, src/testdir/test_breakindent.vim
2414
2415Patch 8.2.0309
2416Problem: Window-local values have confusing name.
2417Solution: Rename w_p_bri* to w_briopt_*.
2418Files: src/structs.h, src/indent.c, src/drawline.c
2419
2420Patch 8.2.0310
2421Problem: Autocmd test fails on a slow system.
2422Solution: Adjust the expectations. (James McCoy, closes #5685)
2423Files: src/testdir/test_autocmd.vim
2424
2425Patch 8.2.0311
2426Problem: Vim9: insufficient script tests.
2427Solution: Add tests. Free imports when re-using a script.
2428Files: src/testdir/test_vim9_script.vim, src/scriptfile.c
2429
2430Patch 8.2.0312
2431Problem: Vim9: insufficient script tests.
2432Solution: Add more tests. Make "import * as Name" work.
2433Files: src/testdir/test_vim9_script.vim, src/vim9script.c,
2434 src/proto/vim9script.pro, src/vim9compile.c
2435
2436Patch 8.2.0313
2437Problem: Vim9: insufficient script tests.
2438Solution: Add tests. Make import of alphanumeric name work.
2439Files: src/testdir/test_vim9_script.vim, src/vim9script.c
2440
2441Patch 8.2.0314
2442Problem: Short name not set for terminal buffer.
2443Solution: Set the short name. (closes #5687)
2444Files: src/terminal.c, src/testdir/test_terminal.vim
2445
2446Patch 8.2.0315
2447Problem: Build failure on HP-UX system.
2448Solution: Use LONG_LONG_MIN instead of LLONG_MIN. Add type casts for switch
2449 statement. (John Marriott)
2450Files: src/structs.h, src/json.c
2451
2452Patch 8.2.0316
2453Problem: ex_getln.c code has insufficient test coverage.
2454Solution: Add more tests. Fix a problem. (Yegappan Lakshmanan, closes #5693)
2455Files: src/cmdhist.c, src/testdir/test_cmdline.vim,
2456 src/testdir/test_functions.vim, src/testdir/test_history.vim,
2457 src/testdir/test_menu.vim
2458
2459Patch 8.2.0317
2460Problem: MSVC: _CRT_SECURE_NO_DEPRECATE not defined on DEBUG build.
2461Solution: Move where CFLAGS is updated. (Ken Takata, closes #5692)
2462Files: src/Make_mvc.mak
2463
2464Patch 8.2.0318
2465Problem: Vim9: types not sufficiently tested.
2466Solution: Add tests with more types.
2467Files: src/globals.h, src/vim9compile.c,
2468 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_expr.vim
2469
2470Patch 8.2.0319
2471Problem: File missing in distribution, comments outdated.
2472Solution: Correct path of README file. Update comments.
2473Files: Filelist, src/evalvars.c, src/register.c, src/if_python3.c
2474
2475Patch 8.2.0320
2476Problem: No Haiku support.
2477Solution: Add support for Haiku. (Emir Sarı, closes #5605)
2478Files: Filelist, runtime/doc/Makefile, runtime/doc/eval.txt,
2479 runtime/doc/gui.txt, runtime/doc/help.txt,
2480 runtime/doc/options.txt, runtime/doc/os_haiku.txt,
2481 runtime/doc/starting.txt, runtime/doc/tags,
2482 runtime/gvimrc_example.vim, runtime/vimrc_example.vim,
2483 src/INSTALL, src/Makefile, src/auto/configure, src/configure.ac,
2484 src/evalfunc.c, src/feature.h, src/fileio.c, src/globals.h,
2485 src/gui.c, src/gui.h, src/gui_haiku.cc, src/gui_haiku.h,
2486 src/mbyte.c, src/menu.c, src/misc1.c, src/mouse.c, src/option.h,
2487 src/os_haiku.h, src/os_haiku.rdef, src/os_unix.c, src/os_unix.h,
2488 src/osdef1.h.in, src/proto.h, src/proto/gui_haiku.pro, src/pty.c,
2489 src/screen.c, src/structs.h, src/term.c, src/version.c, src/vim.h
2490
2491Patch 8.2.0321
2492Problem: Vim9: ":execute" does not work yet.
2493Solution: Add ISN_EXECUTE. (closes #5699) Also make :echo work with more
2494 than one argument.
2495Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
2496 src/testdir/test_vim9_disassemble.vim,
2497 src/testdir/test_vim9_script.vim
2498
2499Patch 8.2.0322
2500Problem: Vim9: error checks not tested.
2501Solution: Add more test cases. Avoid error for function loaded later.
2502Files: src/vim9compile.c, src/evalvars.c, src/testdir/test_vim9_script.vim
2503
2504Patch 8.2.0323
2505Problem: Vim9: calling a function that is defined later is slow.
2506Solution: Once the function is found update the instruction so it can be
2507 called directly.
2508Files: src/vim9execute.c, src/testdir/test_vim9_script.vim,
2509 src/testdir/test_vim9_disassemble.vim
2510
2511Patch 8.2.0324
2512Problem: Text property not updated correctly when inserting/deleting.
2513Solution: Use the right column when deleting. Make zero-width text
2514 properties respect start_incl and end_incl. (Axel Forsman,
2515 closes #5696, closes #5679)
2516Files: src/change.c, src/textprop.c, src/testdir/test_listener.vim,
2517 src/testdir/test_textprop.vim
2518
2519Patch 8.2.0325
2520Problem: Ex_getln.c code not covered by tests.
2521Solution: Add a few more tests. (Yegappan Lakshmanan, closes #5702)
2522Files: src/testdir/test_cmdline.vim, src/testdir/test_ex_mode.vim,
2523 src/testdir/test_functions.vim, src/testdir/test_history.vim,
2524 src/testdir/test_options.vim
2525
2526Patch 8.2.0326
2527Problem: Compiler warning for using uninitialized variable. (Yegappan
2528 Lakshmanan)
2529Solution: Do not jump to failed but return.
2530Files: src/vim9execute.c
2531
2532Patch 8.2.0327
2533Problem: Crash when opening and closing two popup terminal windows.
2534Solution: Check that prevwin is valid. (closes #5707)
2535Files: src/popupwin.c, src/testdir/test_terminal.vim
2536
2537Patch 8.2.0328
2538Problem: No redraw when leaving terminal-normal mode in a terminal popup
2539 window.
2540Solution: Redraw the popup window. (closes #5708)
2541Files: src/macros.h, src/vim.h, src/terminal.c, src/drawscreen.c,
2542 src/move.c, src/popupwin.c, src/testdir/test_terminal.vim,
2543 src/testdir/dumps/Test_terminal_popup_7.dump,
2544 src/testdir/dumps/Test_terminal_popup_8.dump
2545
2546Patch 8.2.0329
2547Problem: Popup filter converts 0x80 bytes.
2548Solution: Keep 0x80 bytes as-is. (Ozaki Kiichi, closes #5706)
2549Files: src/popupwin.c, src/testdir/test_popupwin.vim
2550
2551Patch 8.2.0330
2552Problem: Build error with popup window but without terminal.
2553Solution: Add #ifdef.
2554Files: src/popupwin.c
2555
2556Patch 8.2.0331
2557Problem: Internal error when using test_void() and test_unknown().
2558 (Dominique Pellé)
2559Solution: Give a normal error.
2560Files: src/evalfunc.c, src/testdir/test_functions.vim,
2561 src/testdir/test_vimscript.vim
2562
2563Patch 8.2.0332
2564Problem: Some code in ex_getln.c not covered by tests.
2565Solution: Add a few more tests. (Yegappan Lakshmanan, closes #5710)
2566Files: src/testdir/test_arabic.vim, src/testdir/test_cmdline.vim
2567
2568Patch 8.2.0333
2569Problem: Terminal in popup test is flaky.
2570Solution: Make sure redraw is done before opening the popup.
2571Files: src/testdir/test_terminal.vim,
2572 src/testdir/dumps/Test_terminal_popup_1.dump
2573
2574Patch 8.2.0334
2575Problem: Abort called when using test_void(). (Dominique Pellé)
2576Solution: Only give an error, don't abort.
2577Files: src/message.c, src/proto/message.pro, src/evalfunc.c,
2578 src/eval.c, src/json.c, src/testdir/test_functions.vim
2579
2580Patch 8.2.0335
2581Problem: No completion for :disassemble.
2582Solution: Make completion work. Also complete script-local functions if the
2583 name starts with "s:".
2584Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
2585 runtime/doc/vim9.txt
2586
2587Patch 8.2.0336
2588Problem: Vim9: insufficient test coverage for compiling.
2589Solution: Add more tests.
2590Files: src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim,
2591 src/vim9.h, src/vim9compile.c, src/vim9execute.c
2592
2593Patch 8.2.0337
2594Problem: Build fails on a few systems.
2595Solution: Use vim_snprintf() instead of snprintf().
2596Files: src/cmdexpand.c
2597
2598Patch 8.2.0338
2599Problem: Build failure without the channel feature.
2600Solution: Add #ifdef
2601Files: src/vim9compile.c
2602
2603Patch 8.2.0339
2604Problem: Vim9: function return type may depend on arguments.
2605Solution: Instead of a fixed return type use a function to figure out the
2606 return type.
2607Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9compile.c,
2608 src/evalbuffer.c, src/proto/evalbuffer.pro,
2609 src/testdir/test_vim9_script.vim
2610
2611Patch 8.2.0340
2612Problem: Vim9: function and partial types not tested.
2613Solution: Support more for partial, add tests.
2614Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
2615 src/testdir/test_vim9_script.vim
2616
2617Patch 8.2.0341
2618Problem: Using ":for" in Vim9 script gives an error.
2619Solution: Pass the LET_NO_COMMAND flag. (closes #5715)
2620Files: src/eval.c, src/testdir/test_vim9_script.vim
2621
2622Patch 8.2.0342
2623Problem: Some code in ex_getln.c not covered by tests.
2624Solution: Add more tests. (Yegappan Lakshmanan, closes #5717)
2625Files: src/testdir/test_cmdline.vim, src/testdir/test_ex_mode.vim,
2626 src/testdir/test_history.vim, src/testdir/test_iminsert.vim
2627
2628Patch 8.2.0343
2629Problem: Vim9: using wrong instruction, limited test coverage.
2630Solution: Use ISN_PUSHJOB. Add a few more tests.
2631Files: src/vim9compile.c, src/vim9execute.c,
2632 src/testdir/test_vim9_script.vim,
2633 src/testdir/test_vim9_disassemble.vim
2634
2635Patch 8.2.0344
2636Problem: ":def" not skipped properly.
2637Solution: Add CMD_def to list of commands the require evaluation even when
2638 not being executed.
2639Files: src/ex_docmd.c
2640
2641Patch 8.2.0345
2642Problem: Compiler warning when building without the float feature.
2643Solution: Add #ifdef. (John Marriott)
2644Files: src/evalfunc.c
2645
2646Patch 8.2.0346
2647Problem: Vim9: finding common list type not tested.
2648Solution: Add more tests. Fix listing function. Fix overwriting type.
2649Files: src/vim9compile.c, src/userfunc.c,
2650 src/testdir/test_vim9_script.vim, src/testdir/runtest.vim,
2651 src/testdir/test_vim9_disassemble.vim
2652
2653Patch 8.2.0347
2654Problem: Various code not covered by tests.
2655Solution: Add more test coverage. (Yegappan Lakshmanan, closes #5720)
2656Files: src/testdir/gen_opt_test.vim, src/testdir/test86.in,
2657 src/testdir/test_cmdline.vim, src/testdir/test_digraph.vim,
2658 src/testdir/test_ex_mode.vim, src/testdir/test_history.vim
2659
2660Patch 8.2.0348
2661Problem: Vim9: not all code tested.
2662Solution: Add a few more tests. fix using "b:" in literal dictionary.
2663Files: src/testdir/test_vim9_expr.vim, src/vim9compile.c,
2664 src/proto/vim9compile.pro, src/testdir/test_vim9_script.vim
2665
2666Patch 8.2.0349
2667Problem: Vim9: constant expression not well tested.
2668Solution: Add tests for "if" with constant expression.
2669Files: src/testdir/test_vim9_script.vim
2670
2671Patch 8.2.0350
2672Problem: Vim9: expression tests don't use recognized constants.
2673Solution: Recognize "true" and "false" as constants. Make skipping work for
2674 assignment and expression evaluation.
2675Files: src/vim9compile.c
2676
2677Patch 8.2.0351
2678Problem: Terminal in popup test is still a bit flaky.
2679Solution: Clear and redraw before opening the popup.
2680Files: src/testdir/test_terminal.vim
2681
2682Patch 8.2.0352
2683Problem: FreeBSD: test for sourcing utf-8 is skipped.
2684Solution: Run the matchadd_conceal test separately to avoid that setting
2685 'term' to "ansi" causes problems for other tests. (Ozaki Kiichi,
2686 closes #5721)
2687Files: src/testdir/Make_all.mak, src/testdir/test_alot_utf8.vim,
2688 src/testdir/test_source_utf8.vim
2689
2690Patch 8.2.0353
2691Problem: Vim9: while loop not tested.
2692Solution: Add test with "while", "break" and "continue"
2693Files: src/testdir/test_vim9_script.vim
2694
2695Patch 8.2.0354
2696Problem: Python 3.9 does not define _Py_DEC_REFTOTAL. (Zdenek Dohnal)
2697Solution: Remove it, it was only for debugging.
2698Files: src/if_python3.c
2699
2700Patch 8.2.0355
2701Problem: Vim9: str_val is confusing, it's a number
2702Solution: Rename to stnr_val.
2703Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c
2704
2705Patch 8.2.0356
2706Problem: MS-Windows: feedkeys() with VIMDLL cannot handle CSI correctly.
2707Solution: Modify mch_inchar() to encode CSI bytes. (Ozaki Kiichi, Ken
2708 Takata, closes #5726)
2709Files: src/getchar.c, src/os_win32.c, src/testdir/test_popupwin.vim
2710
2711Patch 8.2.0357
2712Problem: Cannot delete a text property matching both id and type. (Axel
2713 Forsman)
2714Solution: Add the "both" argument.
2715Files: src/textprop.c, runtime/doc/textprop.txt,
2716 src/testdir/test_textprop.vim
2717
2718Patch 8.2.0358
2719Problem: Insufficient testing for indent.c.
2720Solution: Add indent tests. (Yegappan Lakshmanan, closes #5736)
2721Files: src/testdir/Make_all.mak, src/testdir/test_ex_mode.vim,
2722 src/testdir/test_expand_func.vim, src/testdir/test_indent.vim,
2723 src/testdir/test_lispwords.vim, src/testdir/test_smartindent.vim,
2724 src/testdir/test_vartabs.vim
2725
2726Patch 8.2.0359
2727Problem: popup_atcursor() may hang. (Yasuhiro Matsumoto)
2728Solution: Take the decoration into account. (closes #5728)
2729Files: src/popupwin.c, src/testdir/test_popupwin.vim
2730
2731Patch 8.2.0360
2732Problem: Yaml files are only recognized by the file extension.
2733Solution: Check for a line starting with "%YAML". (Jason Franklin)
2734Files: runtime/scripts.vim, src/testdir/test_filetype.vim
2735
2736Patch 8.2.0361
2737Problem: Internal error when using "0" for a callback.
2738Solution: Give a normal error. (closes #5743)
2739Files: src/evalvars.c, src/testdir/test_timers.vim
2740
2741Patch 8.2.0362
2742Problem: MS-Windows: channel test fails if grep is not available.
2743Solution: Use another command. (Ken Takata, closes #5739)
2744Files: src/testdir/test_channel.vim
2745
2746Patch 8.2.0363
2747Problem: Some Normal mode commands not tested.
2748Solution: Add more tests. (Yegappan Lakshmanan, closes #5746)
2749Files: src/testdir/test_cindent.vim, src/testdir/test_cmdline.vim,
2750 src/testdir/test_edit.vim, src/testdir/test_indent.vim,
2751 src/testdir/test_normal.vim, src/testdir/test_prompt_buffer.vim,
2752 src/testdir/test_virtualedit.vim, src/testdir/test_visual.vim
2753
2754Patch 8.2.0364
2755Problem: Printf test failing on Haiku.
2756Solution: Make a difference between int and short. (Dominique Pellé,
2757 closes #5749)
2758Files: src/message.c
2759
2760Patch 8.2.0365
2761Problem: Tag kind can't be a multibyte character. (Marcin Szamotulski)
2762Solution: Recognize multibyte character. (closes #5724)
2763Files: src/tag.c, src/testdir/test_taglist.vim
2764
2765Patch 8.2.0366
2766Problem: Hardcopy command not tested enough.
2767Solution: Add tests for printing. (Dominique Pellé, closes #5748)
2768Files: src/testdir/test_hardcopy.vim
2769
2770Patch 8.2.0367
2771Problem: Can use :pedit in a popup window.
2772Solution: Disallow it.
Bram Moolenaar47c532e2022-03-19 15:18:53 +00002773Files: src/ex_docmd.c, src/testdir/test_popupwin.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +00002774
2775Patch 8.2.0368
2776Problem: Vim9: import that redefines local variable does not fail.
2777Solution: Check for already defined symbols.
2778Files: src/vim9script.c, src/proto/vim9script.pro, src/vim9compile.c,
2779 src/proto/vim9compile.pro, src/testdir/test_vim9_script.vim
2780
2781Patch 8.2.0369
2782Problem: Various Normal mode commands not fully tested.
2783Solution: Add more tests. (Yegappan Lakshmanan, closes #5751)
2784Files: src/testdir/test_arglist.vim, src/testdir/test_changelist.vim,
2785 src/testdir/test_charsearch.vim, src/testdir/test_cmdline.vim,
2786 src/testdir/test_edit.vim, src/testdir/test_ex_mode.vim,
2787 src/testdir/test_excmd.vim, src/testdir/test_gf.vim,
2788 src/testdir/test_iminsert.vim, src/testdir/test_increment.vim,
2789 src/testdir/test_marks.vim, src/testdir/test_normal.vim,
2790 src/testdir/test_prompt_buffer.vim, src/testdir/test_put.vim,
2791 src/testdir/test_registers.vim, src/testdir/test_tagjump.vim,
2792 src/testdir/test_visual.vim
2793
2794Patch 8.2.0370
2795Problem: The typebuf_was_filled flag is sometimes not reset, which may
2796 cause a hang.
2797Solution: Make sure typebuf_was_filled is reset when the typeahead buffer is
2798 empty.
2799Files: src/edit.c, src/getchar.c,
2800
2801Patch 8.2.0371
2802Problem: Crash with combination of terminal popup and autocmd.
2803Solution: Disallow closing a popup that is the current window. Add a check
2804 that the current buffer is valid. (closes #5754)
2805Files: src/macros.h, src/buffer.c, src/popupwin.c, src/terminal.c,
2806 src/testdir/test_terminal.vim
2807
2808Patch 8.2.0372
2809Problem: Prop_find() may not find text property at start of the line.
2810Solution: Adjust the loop to find properties. (Axel Forsman, closes #5761,
2811 closes #5663)
Bram Moolenaar47c532e2022-03-19 15:18:53 +00002812Files: src/textprop.c, src/testdir/test_textprop.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +00002813
2814Patch 8.2.0373
2815Problem: Type of term_sendkeys() is unknown.
2816Solution: Just return zero. (closes #5762)
2817Files: src/terminal.c, src/testdir/test_terminal.vim
2818
2819Patch 8.2.0374
2820Problem: Using wrong printf directive for jump location.
2821Solution: Change "%lld" to "%d". (James McCoy, closes #5773)
2822Files: src/vim9execute.c
2823
2824Patch 8.2.0375
2825Problem: Coverity warning for not using return value.
2826Solution: Move error message to separate function.
2827Files: src/popupwin.c
2828
2829Patch 8.2.0376
2830Problem: Nasty callback test fails on some systems.
2831Solution: Increase the sleep time.
2832Files: src/testdir/test_terminal.vim
2833
2834Patch 8.2.0377
2835Problem: No CI test for a big-endian system.
2836Solution: Test with s390x. (James McCoy, closes #5772)
2837Files: .travis.yml
2838
2839Patch 8.2.0378
2840Problem: prop_find() does not find all props.
2841Solution: Check being in the start line. (Axel Forsman, closes #5776)
2842Files: src/textprop.c, src/testdir/test_textprop.vim
2843
2844Patch 8.2.0379
2845Problem: Gcc warns for ambiguous else.
2846Solution: Add braces. (Dominique Pellé, closes #5778)
2847Files: src/textprop.c
2848
2849Patch 8.2.0380
2850Problem: Tiny popup when creating a terminal popup without minwidth.
2851Solution: Use a default minimum size of 5 lines of 20 characters.
2852Files: src/popupwin.c, src/testdir/test_terminal.vim,
2853 src/testdir/dumps/Test_terminal_popup_m1.dump
2854
2855Patch 8.2.0381
2856Problem: Using freed memory with :lvimgrep and autocommand. (extracted from
2857 POC by Dominique Pellé)
2858Solution: Avoid deleting a dummy buffer used in a window. (closes #5777)
2859Files: src/quickfix.c, src/testdir/test_quickfix.vim
2860
2861Patch 8.2.0382
2862Problem: Some tests fail when run under valgrind.
2863Solution: Increase timeouts.
2864Files: src/testdir/test_autocmd.vim, src/testdir/test_debugger.vim,
2865 src/testdir/test_channel.vim, src/testdir/test_ins_complete.vim,
2866 src/testdir/test_terminal.vim,
2867 src/testdir/dumps/Test_terminal_popup_1.dump,
2868 src/testdir/dumps/Test_terminal_popup_2.dump,
2869 src/testdir/dumps/Test_terminal_popup_3.dump,
2870 src/testdir/dumps/Test_terminal_popup_5.dump,
2871 src/testdir/dumps/Test_terminal_popup_6.dump,
2872 src/testdir/dumps/Test_terminal_popup_7.dump,
2873 src/testdir/dumps/Test_terminal_popup_8.dump,
2874 src/testdir/dumps/Test_terminal_popup_m1.dump
2875
2876Patch 8.2.0383
2877Problem: Wrong feature check causes test not to be run.
2878Solution: Use CheckFunction instead of CheckFeature. (Ozaki Kiichi,
2879 closes #5781)
2880Files: src/testdir/test_channel.vim
2881
2882Patch 8.2.0384
2883Problem: Travis CI has warnings.
2884Solution: Avoid warnings, clean up the config. (Ozaki Kiichi, closes #5779)
2885Files: .travis.yml
2886
2887Patch 8.2.0385
2888Problem: Menu functionality insufficiently tested.
2889Solution: Add tests. Add menu_info(). (Yegappan Lakshmanan, closes #5760)
2890Files: runtime/doc/eval.txt, runtime/doc/gui.txt, runtime/doc/usr_41.txt,
2891 src/evalfunc.c, src/menu.c, src/proto/menu.pro,
2892 src/testdir/test_menu.vim, src/testdir/test_popup.vim,
2893 src/testdir/test_termcodes.vim
2894
2895Patch 8.2.0386 (after 8.2.0385)
2896Problem: Part from unfinished patch got included.
2897Solution: Undo that part.
2898Files: src/evalfunc.c
2899
2900Patch 8.2.0387
2901Problem: Error for possible NULL argument to qsort().
2902Solution: Don't call qsort() when there is nothing to sort. (Dominique
2903 Pellé, closes #5780)
2904Files: src/spellsuggest.c
2905
2906Patch 8.2.0388
2907Problem: Printmbcharset option not tested.
2908Solution: Add a test. Enable PostScript for AppVeyor build. (Dominique
2909 Pellé, closes #5783)
2910Files: appveyor.yml, src/testdir/test_hardcopy.vim
2911
2912Patch 8.2.0389
2913Problem: Delayed redraw when shifting text from Insert mode.
2914Solution: Use msg_attr_keep() instead of msg(). (closes #5782)
2915Files: src/ops.c
2916
2917Patch 8.2.0390
2918Problem: Terminal postponed scrollback test is flaky.
2919Solution: Add delay in between sending keys. Rename dump files.
2920Files: src/testdir/test_terminal.vim,
2921 src/testdir/dumps/Test_terminal_01.dump,
2922 src/testdir/dumps/Test_terminal_02.dump,
2923 src/testdir/dumps/Test_terminal_03.dump,
2924 src/testdir/dumps/Test_terminal_scrollback_1.dump,
2925 src/testdir/dumps/Test_terminal_scrollback_2.dump,
2926 src/testdir/dumps/Test_terminal_scrollback_3.dump
2927
2928Patch 8.2.0391 (after 8.2.0377)
2929Problem: CI test coverage dropped.
2930Solution: Set $DISPLAY also for non-GUI builds. (James McCoy, closes #5788)
2931Files: .travis.yml
2932
2933Patch 8.2.0392
2934Problem: Coverity warns for using array index out of range.
2935Solution: Add extra "if" to avoid warning.
2936Files: src/menu.c
2937
2938Patch 8.2.0393
2939Problem: Coverity warns for not using return value.
2940Solution: Add (void).
2941Files: src/popupmenu.c
2942
2943Patch 8.2.0394
2944Problem: Coverity complains about using NULL pointer.
2945Solution: Use empty string when option value is NULL.
2946Files: src/optionstr.c
2947
2948Patch 8.2.0395
2949Problem: Build fails with FEAT_EVAL but without FEAT_MENU.
2950Solution: Add #ifdef. (John Marriott)
2951Files: src/evalfunc.c
2952
2953Patch 8.2.0396
2954Problem: Cmdexpand.c insufficiently tested.
2955Solution: Add more tests. (Yegappan Lakshmanan, closes #5789)
2956Files: src/testdir/test_cmdline.vim, src/testdir/test_taglist.vim,
2957 src/testdir/test_terminal.vim, src/testdir/test_usercommands.vim
2958
2959Patch 8.2.0397
2960Problem: Delayed screen update when using undo from Insert mode.
2961Solution: Update w_topline and cursor shape before sleeping. (closes #5790)
2962Files: src/normal.c
2963
2964Patch 8.2.0398
2965Problem: Profile test fails when two functions take same time.
2966Solution: Add a short sleep in once function. (closes #5797)
2967Files: src/testdir/test_profile.vim
2968
2969Patch 8.2.0399
2970Problem: Various memory leaks.
2971Solution: Avoid the leaks. (Ozaki Kiichi, closes #5803)
2972Files: src/ex_docmd.c, src/ex_getln.c, src/menu.c, src/message.c,
2973 src/scriptfile.c, src/userfunc.c
2974
2975Patch 8.2.0400
2976Problem: Not all tests using a terminal are in the list of flaky tests.
2977Solution: Introduce the test_is_flaky flag.
2978Files: src/testdir/runtest.vim, src/testdir/term_util.vim,
2979 src/testdir/screendump.vim, src/testdir/test_autocmd.vim
2980
2981Patch 8.2.0401
2982Problem: Not enough test coverage for evalvars.c.
2983Solution: Add more tests. (Yegappan Lakshmanan, closes #5804)
2984Files: src/testdir/test_cmdline.vim, src/testdir/test_const.vim,
2985 src/testdir/test_diffmode.vim, src/testdir/test_excmd.vim,
2986 src/testdir/test_functions.vim, src/testdir/test_let.vim,
2987 src/testdir/test_listdict.vim, src/testdir/test_spell.vim,
2988 src/testdir/test_unlet.vim, src/testdir/test_user_func.vim,
2989 src/testdir/test_vimscript.vim
2990
2991Patch 8.2.0402 (after 8.2.0401)
2992Problem: Setting local instead of global flag.
2993Solution: Prepend "g:" to "test_is_flaky".
2994Files: src/testdir/term_util.vim, src/testdir/screendump.vim,
2995 src/testdir/test_autocmd.vim
2996
2997Patch 8.2.0403
2998Problem: When 'buftype' is "nofile" there is no overwrite check.
2999Solution: Also check for existing file when 'buftype' is set.
3000 (closes #5807)
3001Files: src/ex_cmds.c, src/testdir/test_options.vim
3002
3003Patch 8.2.0404
3004Problem: Writefile() error does not give a hint.
3005Solution: Add remark about first argument.
3006Files: src/filepath.c, src/testdir/test_writefile.vim
3007
3008Patch 8.2.0405
3009Problem: MSVC: build fails with some combination of features.
3010Solution: Enable CHANNEL if TERMINAL is enabled. (Mike Williams)
3011Files: src/Make_mvc.mak
3012
3013Patch 8.2.0406
3014Problem: FileReadCmd event not well tested.
3015Solution: Add a test.
3016Files: src/testdir/test_autocmd.vim
3017
3018Patch 8.2.0407
3019Problem: No early check if :find and :sfind have an argument.
3020Solution: Add EX_NEEDARG.
3021Files: src/ex_cmds.h, src/testdir/test_findfile.vim,
3022 src/testdir/test_find_complete.vim
3023
3024Patch 8.2.0408
3025Problem: Delete() commented out for testing.
3026Solution: Undo commenting-out.
3027Files: src/testdir/test_vim9_disassemble.vim
3028
3029Patch 8.2.0409
3030Problem: Search test leaves file behind.
3031Solution: Delete the file. Also use Check commands.
3032Files: src/testdir/test_search.vim
3033
3034Patch 8.2.0410
3035Problem: Channel test fails too often on slow Mac.
3036Solution: Increase waiting time to 10 seconds.
3037Files: src/testdir/test_channel.vim
3038
3039Patch 8.2.0411
3040Problem: Mac: breakcheck is using a value from the stone ages.
3041Solution: Delete BREAKCHECK_SKIP from the Mac header file. (Ben Jackson)
3042Files: src/os_mac.h
3043
3044Patch 8.2.0412
3045Problem: MS-Windows: cannot use vimtutor from the start menu.
3046Solution: Better check for writable directory. Use the right path for the
3047 executable. (Wu Yongwei, closes #5774, closes #5756)
3048Files: vimtutor.bat
3049
3050Patch 8.2.0413
3051Problem: Buffer menu does not handle special buffers properly.
3052Solution: Keep a dictionary with buffer names to reliably keep track of
3053 entries.
3054 Also trigger BufFilePre and BufFilePost for command-line and
3055 terminal buffers when the name changes.
3056Files: src/testdir/test_alot.vim, src/testdir/Make_all.mak,
3057 runtime/menu.vim, src/ex_getln.c, src/terminal.c,
3058 src/testdir/test_menu.vim
3059
3060Patch 8.2.0414
3061Problem: Channel connect_waittime() test is flaky.
3062Solution: Set the test_is_flaky flag. Use test_is_flaky for more tests.
3063Files: src/testdir/test_channel.vim, src/testdir/test_terminal.vim,
3064 src/testdir/runtest.vim
3065
3066Patch 8.2.0415
3067Problem: Bsdl filetype is not detected.
3068Solution: Add an entry in the filetype list. (Daniel Kho, closes #5810)
3069Files: runtime/filetype.vim, src/testdir/test_filetype.vim
3070
3071Patch 8.2.0416
3072Problem: Test leaves file behind.
3073Solution: Delete the file.
3074Files: src/testdir/test_indent.vim
3075
3076Patch 8.2.0417
3077Problem: Travis CI config can be improved.
3078Solution: Remove COVERAGE variable. Add load-snd-dummy script. add "-i NONE"
3079 to avoid messages about viminfo. (Ozaki Kiichi, closes #5813)
3080Files: .travis.yml, ci/load-snd-dummy.sh
3081
3082Patch 8.2.0418
3083Problem: Code in eval.c not sufficiently covered by tests.
3084Solution: Add more tests. (Yegappan Lakshmanan, closes #5815)
3085Files: src/testdir/test_blob.vim, src/testdir/test_channel.vim,
3086 src/testdir/test_cmdline.vim, src/testdir/test_eval_stuff.vim,
3087 src/testdir/test_expr.vim, src/testdir/test_functions.vim,
3088 src/testdir/test_job_fails.vim, src/testdir/test_lambda.vim,
3089 src/testdir/test_let.vim, src/testdir/test_listdict.vim,
3090 src/testdir/test_marks.vim, src/testdir/test_method.vim,
3091 src/testdir/test_normal.vim, src/testdir/test_unlet.vim,
3092 src/testdir/test_usercommands.vim, src/testdir/test_vimscript.vim,
3093 src/testdir/test_window_cmd.vim
3094
3095Patch 8.2.0419
3096Problem: Various memory leaks in Vim9 script code.
3097Solution: Fix the leaks. (Ozaki Kiichi, closes #5814)
3098Files: src/proto/vim9compile.pro, src/scriptfile.c, src/structs.h,
3099 src/testdir/test_vim9_script.vim, src/vim9.h, src/vim9compile.c,
3100 src/vim9execute.c, src/vim9script.c
3101
3102Patch 8.2.0420
3103Problem: Vim9: cannot interrupt a loop with CTRL-C.
3104Solution: Check for CTRL-C once in a while. Doesn't fully work yet.
3105Files: src/misc1.c, src/proto/misc1.pro,
3106 src/testdir/test_vim9_script.vim
3107
3108Patch 8.2.0421
3109Problem: Interrupting with CTRL-C does not always work.
3110Solution: Recognize CTRL-C while modifyOtherKeys is set.
3111Files: src/ui.c, src/testdir/test_vim9_script.vim, src/evalfunc.c
3112
3113Patch 8.2.0422
3114Problem: Crash when passing popup window to win_splitmove(). (john Devin)
3115Solution: Disallow moving a popup window. (closes #5816)
3116Files: src/testdir/test_popupwin.vim, src/evalwindow.c
3117
3118Patch 8.2.0423
3119Problem: In some environments a few tests are expected to fail.
3120Solution: Add $TEST_MAY_FAIL to list tests that should not cause make to
3121 fail.
3122Files: src/testdir/runtest.vim
3123
3124Patch 8.2.0424
3125Problem: Checking for wrong return value. (Tom)
3126Solution: Invert the check and fix the test.
3127Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
3128
3129Patch 8.2.0425
3130Problem: Code for modeless selection not sufficiently tested.
3131Solution: Add tests. Move mouse code functionality to a common script file.
3132 (Yegappan Lakshmanan, closes #5821)
3133Files: src/testdir/Make_all.mak, src/testdir/gen_opt_test.vim,
3134 src/testdir/mouse.vim, src/testdir/test_edit.vim,
3135 src/testdir/test_global.vim, src/testdir/test_modeless.vim,
3136 src/testdir/test_normal.vim, src/testdir/test_selectmode.vim,
3137 src/testdir/test_termcodes.vim, src/testdir/test_visual.vim,
3138 src/ui.c
3139
3140Patch 8.2.0426
3141Problem: Some errors were not tested for.
3142Solution: Add tests. (Dominique Pellé, closes #5824)
3143Files: src/testdir/test_buffer.vim, src/testdir/test_options.vim,
3144 src/testdir/test_tcl.vim, src/testdir/test_terminal.vim,
3145 src/testdir/test_window_cmd.vim
3146
3147Patch 8.2.0427
3148Problem: It is not possible to check for a typo in a feature name.
3149Solution: Add an extra argument to has().
3150Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/check.vim,
3151 src/testdir/test_functions.vim
3152
3153Patch 8.2.0428
3154Problem: Buffer name may leak.
3155Solution: Free the buffer name before overwriting it.
3156Files: src/terminal.c
3157
3158Patch 8.2.0429
3159Problem: No warning when test checks for option that never exists.
3160Solution: In tests check that the option can exist.
3161Files: src/testdir/check.vim
3162
3163Patch 8.2.0430
3164Problem: Window creation failure not properly tested.
3165Solution: Improve the test. (Yegappan Lakshmanan, closes #5826)
3166Files: src/testdir/test_cmdline.vim, src/testdir/test_window_cmd.vim
3167
3168Patch 8.2.0431
3169Problem: Some compilers don't support using \e for Esc. (Yegappan
3170 Lakshmanan)
3171Solution: use \033 instead.
3172Files: src/ui.c
3173
3174Patch 8.2.0432
3175Problem: A few tests fail in a huge terminal.
3176Solution: Make the tests pass. (Dominique Pellé, closes #5829)
3177Files: src/testdir/test_autocmd.vim, src/testdir/test_options.vim,
3178 src/testdir/test_termcodes.vim, src/testdir/test_terminal.vim,
3179 src/testdir/test_window_cmd.vim
3180
3181Patch 8.2.0433
3182Problem: INT signal not properly tested.
3183Solution: Add a test. Also clean up some unnecessary lines. (Dominique
3184 Pellé, closes #5828)
3185Files: src/testdir/test_display.vim, src/testdir/test_ex_mode.vim,
3186 src/testdir/test_excmd.vim, src/testdir/test_messages.vim,
3187 src/testdir/test_signals.vim
3188
3189Patch 8.2.0434
3190Problem: MS-Windows with VTP: Normal color not working.
3191Solution: After changing the Normal color update the VTP console color.
3192 (Nobuhiro Takasaki, closes #5836)
3193Files: src/highlight.c
3194
3195Patch 8.2.0435
3196Problem: Channel contents might be freed twice.
3197Solution: Call either channel_free_channel() or channel_free(), not both.
3198 (Nobuhiro Takasaki, closes #5835)
3199Files: src/channel.c
3200
3201Patch 8.2.0436
3202Problem: No warnings for incorrect printf arguments.
3203Solution: Fix attribute in declaration. Fix uncovered mistakes. (Dominique
3204 Pellé, closes #5834)
3205Files: src/proto.h, src/eval.c, src/ops.c, src/spellfile.c,
3206 src/vim9compile.c, src/vim9execute.c, src/viminfo.c, src/gui.c
3207
3208Patch 8.2.0437
3209Problem: MS-Windows installer contains old stuff.
3210Solution: Rely on Windows NT. (Ken Takata, closes #5832)
3211Files: src/dosinst.c
3212
3213Patch 8.2.0438
3214Problem: Terminal noblock test is very flaky on BSD.
3215Solution: Change WaitFor() to WaitForAssert() to be able to see why it
3216 failed. Add a short wait in between sending keys.
3217Files: src/testdir/test_terminal.vim
3218
3219Patch 8.2.0439
3220Problem: :disassemble has minor flaws.
3221Solution: Format the code. Use (int) instead of (char) for %c.
3222 (also by James McCoy, closes #5831)
3223Files: src/vim9execute.c
3224
3225Patch 8.2.0440
3226Problem: Terminal noblock test is still very flaky on BSD.
3227Solution: Increase the waiting time.
3228Files: src/testdir/test_terminal.vim
3229
3230Patch 8.2.0441
3231Problem: Terminal noblock test is still failing on BSD.
3232Solution: Reduce the amount of text.
3233Files: src/testdir/test_terminal.vim
3234
3235Patch 8.2.0442
3236Problem: Channel contents might be used after being freed.
3237Solution: Reset the job channel before freeing the channel.
3238Files: src/channel.c
3239
3240Patch 8.2.0443
3241Problem: Clipboard code is spread out.
3242Solution: Move clipboard code to its own file. (Yegappan Lakshmanan,
3243 closes #5827)
3244Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
3245 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
3246 src/clipboard.c, src/ops.c, src/proto.h, src/proto/clipboard.pro,
3247 src/proto/ops.pro, src/proto/register.pro, src/proto/ui.pro,
3248 src/register.c, src/ui.c
3249
3250Patch 8.2.0444
3251Problem: Swap file test fails on some systems.
3252Solution: Preserve the swap file. Send NL terminated keys.
3253Files: src/testdir/test_swap.vim
3254
3255Patch 8.2.0445
3256Problem: Png and xpm files not in MS-Windows zip file.
3257Solution: Move files to shared between Unix and Windows target.
3258Files: Filelist
3259
3260Patch 8.2.0446
3261Problem: Listener with undo of deleting all lines not tested.
3262Solution: Add a test.
3263Files: src/testdir/test_listener.vim
3264
3265Patch 8.2.0447
3266Problem: Terminal scroll tests fails on some systems.
3267Solution: Remove the fixed 100msec wait for Win32. Add a loop to wait until
3268 scrolling has finished. (James McCoy, closes #5842)
3269Files: src/testdir/test_terminal.vim
3270
3271Patch 8.2.0448
3272Problem: Various functions not properly tested.
3273Solution: Add more tests, especially for failures. (Yegappan Lakshmanan,
3274 closes #5843)
3275Files: runtime/doc/eval.txt, src/testdir/test_blob.vim,
3276 src/testdir/test_breakindent.vim, src/testdir/test_charsearch.vim,
3277 src/testdir/test_clientserver.vim, src/testdir/test_cmdline.vim,
3278 src/testdir/test_exists.vim, src/testdir/test_expand_func.vim,
3279 src/testdir/test_expr.vim, src/testdir/test_file_perm.vim,
3280 src/testdir/test_functions.vim, src/testdir/test_gui.vim,
3281 src/testdir/test_listdict.vim, src/testdir/test_marks.vim,
3282 src/testdir/test_partial.vim, src/testdir/test_registers.vim,
3283 src/testdir/test_search.vim, src/testdir/test_spell.vim,
3284 src/testdir/test_substitute.vim, src/testdir/test_syn_attr.vim,
3285 src/testdir/test_syntax.vim, src/testdir/test_taglist.vim,
3286 src/testdir/test_utf8.vim, src/testdir/test_vartabs.vim,
3287 src/testdir/test_window_cmd.vim
3288
3289Patch 8.2.0449
3290Problem: Vim9: crash if return type is invalid. (Yegappan Lakshmanan)
3291Solution: Always return some type, not NULL.
3292Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
3293
3294Patch 8.2.0450
3295Problem: Not enough testing for restricted mode and function calls.
3296Solution: Add more tests. (Yegappan Lakshmanan, closes #5847)
3297Files: src/testdir/test_method.vim, src/testdir/test_restricted.vim,
3298 src/testdir/test_vim9_script.vim
3299
3300Patch 8.2.0451
3301Problem: Win32: double-width character displayed incorrectly.
3302Solution: First move the cursor to the first column. (Nobuhiro Takasaki,
3303 closes #5848)
3304Files: src/os_win32.c
3305
3306Patch 8.2.0452
3307Problem: channel_parse_messages() fails when called recursively.
3308Solution: Return for a recursive call. (closes #5835)
3309Files: src/channel.c
3310
3311Patch 8.2.0453
3312Problem: Trailing space in job_start() command causes empty argument.
3313Solution: Ignore trailing space. (closes #5851)
3314Files: src/misc2.c, src/testdir/test_channel.vim
3315
3316Patch 8.2.0454
3317Problem: Some tests fail when the system is slow.
3318Solution: Make the run number global, use in the test to increase the
3319 waiting time. (closes #5841)
3320Files: src/testdir/runtest.vim, src/testdir/test_functions.vim
3321
3322Patch 8.2.0455
3323Problem: Cannot set the highlight group for a specific terminal.
3324Solution: Add the "highlight" option to term_start(). (closes #5818)
3325Files: src/terminal.c, src/structs.h, src/channel.c,
3326 src/testdir/test_terminal.vim, runtime/doc/terminal.txt,
3327 src/testdir/dumps/Test_terminal_popup_Terminal.dump,
3328 src/testdir/dumps/Test_terminal_popup_MyTermCol.dump
3329
3330Patch 8.2.0456
3331Problem: Test_confirm_cmd is flaky.
3332Solution: Add a term_wait() call. (closes #5854)
3333Files: src/testdir/test_excmd.vim
3334
3335Patch 8.2.0457
3336Problem: Test_quotestar() often fails when run under valgrind.
3337Solution: Wait longer for the GUI to start.
3338Files: src/testdir/test_quotestar.vim
3339
3340Patch 8.2.0458
3341Problem: Missing feature check in test function.
3342Solution: Add check commands.
3343Files: src/testdir/test_excmd.vim
3344
3345Patch 8.2.0459
3346Problem: Cannot check if a function name is correct.
3347Solution: Add "?funcname" to exists().
3348Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_exists.vim,
3349 src/testdir/check.vim
3350
3351Patch 8.2.0460 (after 8.2.0459)
3352Problem: Build failure because of wrong feature name.
3353Solution: Correct feature name.
3354Files: src/evalfunc.c
3355
3356Patch 8.2.0461
3357Problem: Confirm test fails on amd64 system. (Alimar Riesebieter)
3358Solution: Add an extra WaitForAssert(). (Dominique Pellé)
3359Files: src/testdir/test_excmd.vim
3360
3361Patch 8.2.0462
3362Problem: Previewwindow test fails on some systems. (James McCoy)
3363Solution: Wait a bit after sending the "o". (closes #5849)
3364Files: src/testdir/test_popup.vim,
3365 src/testdir/dumps/Test_popup_and_previewwindow_01.dump
3366
3367Patch 8.2.0463
3368Problem: Build error without float and channel feature. (John Marriott)
3369Solution: Define return types always.
3370Files: src/globals.h, src/evalfunc.c
3371
3372Patch 8.2.0464
3373Problem: Typos and other small problems.
3374Solution: Fix the typos. Add missing files to the distribution.
3375Files: Filelist, src/buffer.c, src/drawline.c, src/gui_gtk_x11.c,
3376 src/os_unixx.h, src/proto/popupwin.pro
3377
3378Patch 8.2.0465
3379Problem: Vim9: dead code and wrong return type.
3380Solution: Remove dead code. Fix return type. Add more tests.
3381Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
3382
3383Patch 8.2.0466 (after 8.2.0452)
3384Problem: Not parsing messages recursively breaks the govim plugin.
3385Solution: When called recursively do handle messages but do not close
3386 channels.
3387Files: src/channel.c
3388
3389Patch 8.2.0467
3390Problem: Vim9: some errors are not tested
3391Solution: Add more tests. Fix that Vim9 script flag is not reset.
3392Files: src/vim9compile.c, src/scriptfile.c, src/dict.c,
3393 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim
3394
3395Patch 8.2.0468
3396Problem: GUI: pixel dust with some fonts and characters.
3397Solution: Always redraw the character before the cursor. (Nir Lichtman,
3398 closes #5549, closes #5856)
3399Files: src/gui.c, src/proto/gui.pro, src/screen.c
3400
3401Patch 8.2.0469
3402Problem: Vim9: no error for missing ] after list.
3403Solution: Add error message. Add more tests.
3404Files: src/globals.h, src/list.c, src/userfunc.c,
3405 src/testdir/test_vim9_expr.vim, src/testdir/test_lambda.vim
3406
3407Patch 8.2.0470
3408Problem: Test_confirm_cmd_cancel() can fail on a slow system.
3409Solution: Use WaitForAssert(). (Ozaki Kiichi, closes #5861)
3410Files: src/testdir/test_excmd.vim
3411
3412Patch 8.2.0471
3413Problem: Missing change to compile_list().
3414Solution: Add error message.
3415Files: src/vim9compile.c
3416
3417Patch 8.2.0472
3418Problem: Terminal highlight name is set twice, leaking memory.
3419Solution: Delete one.
3420Files: src/terminal.c
3421
3422Patch 8.2.0473
3423Problem: Variables declared in an outer scope.
3424Solution: Declare variables only in the scope where they are used.
3425Files: src/evalvars.c
3426
3427Patch 8.2.0474 (after 8.2.0403)
3428Problem: Cannot use :write when using a plugin with BufWriteCmd.
3429Solution: Reset BF_NOTEDITED after BufWriteCmd. (closes #5807)
3430Files: src/fileio.c, src/testdir/test_autocmd.vim
3431
3432Patch 8.2.0475
3433Problem: Channel out_cb test still fails sometimes on Mac.
3434Solution: Use an even longer timeout.
3435Files: src/testdir/test_channel.vim
3436
3437Patch 8.2.0476
3438Problem: Terminal nasty callback test fails sometimes.
3439Solution: use term_wait() instead of a sleep. (Yee Cheng Chin, closes #5865)
3440Files: src/testdir/test_terminal.vim
3441
3442Patch 8.2.0477
3443Problem: Vim9: error messages not tested.
3444Solution: Add more tests.
3445Files: src/testdir/test_vim9_expr.vim, src/vim9execute.c
3446
3447Patch 8.2.0478
3448Problem: New buffers are not added to the Buffers menu.
3449Solution: Turn number into string. (Yee Cheng Chin, closes #5864)
3450Files: runtime/menu.vim, src/testdir/test_menu.vim
3451
3452Patch 8.2.0479
3453Problem: Unloading shared libraries on exit has no purpose.
3454Solution: Do not unload shared libraries on exit.
3455Files: src/if_lua.c, src/if_perl.xs, src/if_python.c, src/if_python3.c,
3456 src/if_ruby.c, src/if_tcl.c
3457
3458Patch 8.2.0480
3459Problem: Vim9: some code is not tested.
3460Solution: Add more tests.
3461Files: src/testdir/test_vim9_expr.vim, src/vim9compile.c
3462
3463Patch 8.2.0481
3464Problem: Travis is still using trusty.
3465Solution: Adjust config to use bionic. (Ozaki Kiichi, closes #5868)
3466Files: .travis.yml, src/testdir/lsan-suppress.txt
3467
3468Patch 8.2.0482
3469Problem: Channel and sandbox code not sufficiently tested.
3470Solution: Add more tests. (Yegappan Lakshmanan, closes #5855)
3471Files: src/option.h, src/testdir/test_channel.vim,
3472 src/testdir/test_clientserver.vim, src/testdir/test_cmdline.vim,
3473 src/testdir/test_edit.vim, src/testdir/test_excmd.vim,
3474 src/testdir/test_normal.vim, src/testdir/test_prompt_buffer.vim,
3475 src/testdir/test_restricted.vim, src/testdir/test_smartindent.vim,
3476 src/testdir/test_substitute.vim, src/testdir/test_terminal.vim,
3477 src/testdir/test_textformat.vim, src/testdir/test_visual.vim
3478
3479Patch 8.2.0483
3480Problem: Vim9: "let x = x + 1" does not give an error.
3481Solution: Hide the variable when compiling the expression.
3482Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
3483
3484Patch 8.2.0484
3485Problem: Vim9: some error messages not tested.
3486Solution: Add more tests.
3487Files: src/testdir/test_vim9_expr.vim
3488
3489Patch 8.2.0485 (after 8.2.0483)
3490Problem: Vim9 script test fails.
3491Solution: Stricter condition for adding new local variable.
3492Files: Stricter condition for adding new local variable.
3493
3494Patch 8.2.0486
3495Problem: Vim9: some code and error messages not tested.
3496Solution: Add more tests.
3497Files: src/vim9compile.c, src/evalvars.c, src/testdir/test_vim9_expr.vim,
3498 src/testdir/test_vim9_script.vim
3499
3500Patch 8.2.0487
3501Problem: Vim9: compiling not sufficiently tested.
3502Solution: Add more tests. Fix bug with PCALL.
3503Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
3504 src/testdir/test_vim9_script.vim,
3505 src/testdir/test_vim9_disassemble.vim
3506
3507Patch 8.2.0488
3508Problem: Vim9: Compiling can break when using a lambda inside :def.
3509Solution: Do not keep a pointer to the dfunc_T for longer time.
3510Files: src/vim9compile.c, src/vim9.h
3511
3512Patch 8.2.0489
3513Problem: Vim9: memory leaks.
3514Solution: Free memory in the right place. Add hints for using asan.
3515Files: src/vim9compile.c, src/testdir/lsan-suppress.txt, src/Makefile
3516
3517Patch 8.2.0490
3518Problem: Win32: VTP doesn't respect 'restorescreen'.
3519Solution: Use escape codes to switch to alternate screen. (Nobuhiro
3520 Takasaki, closes #5872)
3521Files: src/os_win32.c
3522
3523Patch 8.2.0491
3524Problem: Cannot recognize a <script> mapping using maparg().
3525Solution: Add the "script" key. (closes #5873)
3526Files: src/map.c, runtime/doc/eval.txt, src/testdir/test_maparg.vim
3527
3528Patch 8.2.0492
3529Problem: Vim9: some error messages not tested.
3530Solution: Add more tests. Remove dead code. Fix uncovered bugs.
3531Files: src/vim9compile.c, src/vim9execute.c,
3532 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim
3533
3534Patch 8.2.0493
3535Problem: Vim9: some error messages not tested.
3536Solution: Add more tests. Fix uncovered bugs.
3537Files: src/vim9compile.c, src/vim9execute.c, src/testing.c, src/eval.c,
3538 src/proto/testing.pro, src/evalfunc.c, runtime/doc/eval.txt,
3539 runtime/doc/testing.txt, src/testdir/test_vim9_script.vim
3540
3541Patch 8.2.0494
3542Problem: Vim9: asan error.
3543Solution: Only get the type when there is one.
3544Files: src/vim9compile.c
3545
3546Patch 8.2.0495
3547Problem: Vim9: some code not tested.
3548Solution: Add more tests. Support more const expressions.
3549Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
3550
3551Patch 8.2.0496
3552Problem: Vim9: disassemble test fails.
3553Solution: Separate test cases with recognized constant expressions.
3554Files: src/testdir/test_vim9_disassemble.vim
3555
3556Patch 8.2.0497
3557Problem: Too verbose output from the asan build in Travis.
3558Solution: Filter out suppression messages. (Ozaki Kiichi, closes #5874)
3559Files: .travis.yml
3560
3561Patch 8.2.0498
3562Problem: Coverity complains about uninitialized field.
3563Solution: Initialize the whole typval_T.
3564Files: src/vim9compile.c
3565
3566Patch 8.2.0499
3567Problem: Calling a lambda is slower than evaluating a string.
3568Solution: Make calling a lambda faster. (Ken Takata, closes #5727)
3569Files: src/userfunc.c
3570
3571Patch 8.2.0500
3572Problem: Using the same loop in many places.
3573Solution: Define more FOR_ALL macros. (Yegappan Lakshmanan, closes #5339)
3574Files: src/arglist.c, src/autocmd.c, src/buffer.c, src/change.c,
3575 src/channel.c, src/cmdexpand.c, src/diff.c, src/eval.c,
3576 src/evalbuffer.c, src/evalfunc.c, src/evalvars.c,
3577 src/evalwindow.c, src/ex_cmds2.c, src/filepath.c, src/globals.h,
3578 src/gui.c, src/if_py_both.h, src/if_ruby.c, src/insexpand.c,
3579 src/list.c, src/misc2.c, src/netbeans.c, src/popupwin.c,
3580 src/quickfix.c, src/screen.c, src/sign.c, src/spell.c,
3581 src/spellfile.c, src/spellsuggest.c, src/tag.c, src/terminal.c,
3582 src/userfunc.c, src/window.c
3583
3584Patch 8.2.0501
3585Problem: Vim9: script test fails when channel feature is missing.
3586Solution: Add a has() condition.
3587Files: src/testdir/test_vim9_script.vim
3588
3589Patch 8.2.0502
3590Problem: Vim9: some code is not tested.
3591Solution: Add more tests. Fix uncovered problems.
3592Files: src/vim9compile.c, src/regexp.c, src/proto/regexp.pro,
3593 src/cmdexpand.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_eval.c,
3594 src/ex_getln.c, src/highlight.c, src/search.c, src/syntax.c,
3595 src/tag.c, src/userfunc.c, src/testdir/test_vim9_script.vim,
3596 src/testdir/test_vim9_disassemble.vim
3597
3598Patch 8.2.0503
3599Problem: Vim9: some code is not tested.
3600Solution: Add tests. Fix uncovered problems.
3601Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
3602
3603Patch 8.2.0504
3604Problem: Vim9: leaking scope memory when compilation fails.
3605Solution: Cleanup the scope list.
3606Files: src/vim9compile.c
3607
3608Patch 8.2.0505
3609Problem: term_gettty() not sufficiently tested.
3610Solution: Add more asserts. (Dominique Pellé, closes #5877)
3611Files: src/testdir/test_terminal.vim
3612
3613Patch 8.2.0506
3614Problem: Coverity complains about ignoring return value.
3615Solution: Add (void).
3616Files: src/userfunc.c
3617
3618Patch 8.2.0507 (after 8.2.0472)
3619Problem: Getbufvar() may get the wrong dictionary. (David le Blanc)
3620Solution: Check for empty name. (closes #5878)
3621Files: src/evalvars.c, src/testdir/test_functions.vim
3622
3623Patch 8.2.0508
3624Problem: Vim9: func and partial types not done yet
3625Solution: Fill in details about func declaration, drop a separate partial
3626 declaration.
3627Files: runtime/doc/vim9.txt, src/vim9compile.c, src/globals.h,
3628 src/structs.h, src/evalfunc.c, src/testdir/test_vim9_expr.vim,
3629 src/testdir/test_vim9_script.vim,
3630 src/testdir/test_vim9_disassemble.vim
3631
3632Patch 8.2.0509
3633Problem: various code is not properly tested.
3634Solution: Add more tests. (Yegappan Lakshmanan, closes #5871)
3635Files: src/main.c, src/testdir/check.vim, src/testdir/shared.vim,
3636 src/testdir/term_util.vim, src/testdir/test_clientserver.vim,
3637 src/testdir/test_ex_mode.vim, src/testdir/test_expand.vim,
3638 src/testdir/test_functions.vim, src/testdir/test_options.vim,
3639 src/testdir/test_startup.vim, src/testdir/test_textformat.vim,
3640 src/testdir/test_trycatch.vim, src/testdir/test_viminfo.vim
3641
3642Patch 8.2.0510
3643Problem: Coverity complains about using uninitialized variable.
3644Solution: Assign a value to "scol". Move code inside NULL check.
3645Files: src/beval.c, src/popupwin.c
3646
3647Patch 8.2.0511
3648Problem: Cscope code not fully tested.
3649Solution: Add more test cases. (Dominique Pellé, closes #5886)
3650Files: src/testdir/test_cscope.vim
3651
3652Patch 8.2.0512
3653Problem: Vim9: no optional arguments in func type.
3654Solution: Check for question mark after type. Find function reference
3655 without function().
3656Files: src/vim9compile.c, src/vim9execute.c, src/structs.h,
3657 src/globals.h, src/vim.h, src/vim9.h, src/userfunc.c,
3658 src/testdir/Make_all.mak, src/testdir/test_vim9_script.vim,
3659 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
3660 src/testdir/test_vim9_disassemble.vim
3661
3662Patch 8.2.0513
3663Problem: Reading past allocated memory when using varargs.
3664Solution: Fix copying function argument types.
3665Files: src/vim9compile.c
3666
3667Patch 8.2.0514
3668Problem: Several global functions are used in only one file.
3669Solution: Make the functions static. (Yegappan Lakshmanan, closes #5884)
3670Files: src/drawscreen.c, src/evalvars.c, src/getchar.c, src/list.c,
3671 src/proto/drawscreen.pro, src/proto/evalvars.pro,
3672 src/proto/getchar.pro, src/proto/list.pro, src/proto/version.pro,
3673 src/version.c
3674
3675Patch 8.2.0515
3676Problem: Some compilers cannot add to "void *".
3677Solution: Cast to "char *".
3678Files: src/vim9compile.c
3679
3680Patch 8.2.0516
3681Problem: Client-server code is spread out.
3682Solution: Move client-server code to a new file. (Yegappan Lakshmanan,
3683 closes #5885)
3684Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
3685 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
3686 src/clientserver.c, src/evalfunc.c, src/main.c, src/proto.h,
3687 src/proto/clientserver.pro, src/proto/main.pro
3688
3689Patch 8.2.0517
3690Problem: Vim9: cannot separate "func" and "func(): void".
3691Solution: Use VAR_ANY for "any" and VAR_UNKNOWN for "no type".
3692Files: src/structs.h, src/globals.h, src/eval.c, src/evalfunc.c,
3693 src/evalvars.c, src/testing.c, src/vim9compile.c,
3694 src/vim9execute.c, src/viminfo.c, src/if_py_both.h, src/json.c,
3695 src/testdir/test_vim9_func.vim
3696
3697Patch 8.2.0518
3698Problem: A terminal falls back to setting $TERM to "xterm".
3699Solution: Use "xterm-color" if more than 16 colors are supported and
3700 "xterm-256color" if at least 256 colors are supported.
3701 (closes #5887)
3702Files: src/os_unix.c
3703
3704Patch 8.2.0519
3705Problem: Vim9: return type not properly checked.
3706Solution: Check type properly, also at runtime.
3707Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
3708
3709Patch 8.2.0520
3710Problem: Tests are not listed in sorted order.
3711Solution: Move test_ex_mode. (Doug Richardson, closes #5889)
3712Files: src/testdir/Make_all.mak
3713
3714Patch 8.2.0521
3715Problem: Crash when reading a blob fails.
3716Solution: Avoid keeping a pointer to a freed blob object. (Dominique Pellé,
3717 closes #5890) Adjust error messages.
3718Files: src/filepath.c, src/testdir/test_blob.vim
3719
3720Patch 8.2.0522
3721Problem: Several errors are not tested for.
3722Solution: Add tests. (Yegappan Lakshmanan, closes #5892)
3723Files: src/testdir/test_autocmd.vim, src/testdir/test_clientserver.vim,
3724 src/testdir/test_digraph.vim, src/testdir/test_expand.vim,
3725 src/testdir/test_expr.vim, src/testdir/test_functions.vim,
3726 src/testdir/test_gui.vim, src/testdir/test_highlight.vim,
3727 src/testdir/test_ins_complete.vim, src/testdir/test_lambda.vim,
3728 src/testdir/test_listdict.vim, src/testdir/test_normal.vim,
3729 src/testdir/test_options.vim, src/testdir/test_preview.vim,
3730 src/testdir/test_user_func.vim, src/testdir/test_vim9_func.vim,
3731 src/testdir/test_vim9_script.vim, src/testdir/test_viminfo.vim,
3732 src/testdir/test_vimscript.vim, src/testdir/test_window_cmd.vim
3733
3734Patch 8.2.0523
3735Problem: Loops are repeated.
3736Solution: Use FOR_ALL_ macros. (Yegappan Lakshmanan, closes #5882)
3737Files: src/buffer.c, src/drawscreen.c, src/evalfunc.c, src/evalwindow.c,
3738 src/globals.h, src/gui_athena.c, src/gui_gtk.c, src/gui_motif.c,
3739 src/gui_w32.c, src/list.c, src/menu.c, src/popupmenu.c,
3740 src/popupwin.c, src/quickfix.c, src/syntax.c, src/time.c,
3741 src/userfunc.c, src/vim9compile.c
3742
3743Patch 8.2.0524
3744Problem: Win32: searching for file matches is slow.
3745Solution: Instead of making another round to find any short filename, check
3746 for the short name right away. Avoid using an ordinary file like a
3747 directory. (Nir Lichtman, closes #5883)
3748Files: src/filepath.c
3749
3750Patch 8.2.0525 (after 8.2.0524)
3751Problem: Win32: typo in assignment and misplaced paren.
3752Solution: Fix the syntax.
3753Files: src/filepath.c
3754
3755Patch 8.2.0526
3756Problem: Gcc 9 complains about empty statement.
3757Solution: Add {}. (Dominique Pellé, closes #5894)
3758Files: src/evalfunc.c
3759
3760Patch 8.2.0527
3761Problem: Vim9: function types insufficiently tested.
3762Solution: Add more tests. Fix white space check. Add "test_vim9" target.
3763Files: src/vim9compile.c, src/testdir/test_vim9_func.vim, src/Makefile,
3764 src/testdir/Makefile, src/testdir/Make_all.mak
3765
3766Patch 8.2.0528
3767Problem: Vim9: function arguments insufficiently tested.
3768Solution: Check types. Add more tests. Fix function with varargs only.
3769Files: src/vim9compile.c, src/userfunc.c, src/testdir/test_vim9_func.vim
3770
3771Patch 8.2.0529
3772Problem: Vim9: function argument with default not checked.
3773Solution: Check type of argument with default value.
3774Files: src/vim9compile.c, src/userfunc.c, src/testdir/test_vim9_func.vim
3775
3776Patch 8.2.0530
3777Problem: Test crashes on s390. (James McCoy)
3778Solution: Explicitly define an 8 big signed type. (closes #5897)
3779Files: src/structs.h
3780
3781Patch 8.2.0531
3782Problem: Various errors not tested.
3783Solution: Add tests. (Yegappan Lakshmanan, closes #5895)
3784Files: src/testdir/test_search.vim, src/testdir/test_source.vim,
3785 src/testdir/test_syntax.vim, src/testdir/test_user_func.vim,
3786 src/testdir/test_vimscript.vim
3787
3788Patch 8.2.0532
3789Problem: Cannot use simplify() as a method.
3790Solution: Add FEARG_1. (closes #5896)
3791Files: runtime/doc/eval.txt, src/evalfunc.c,
3792 src/testdir/test_functions.vim
3793
3794Patch 8.2.0533
3795Problem: Tests using term_wait() can still be flaky.
3796Solution: Increase the wait time when rerunning a test. (James McCoy,
3797 closes #5899) Halve the initial times to make tests run faster
3798 when there is no rerun.
3799Files: src/testdir/term_util.vim, src/testdir/test_arglist.vim,
3800 src/testdir/test_autocmd.vim, src/testdir/test_balloon.vim,
3801 src/testdir/test_bufline.vim, src/testdir/test_channel.vim,
3802 src/testdir/test_cmdline.vim, src/testdir/test_conceal.vim,
3803 src/testdir/test_cursorline.vim, src/testdir/test_debugger.vim,
3804 src/testdir/test_diffmode.vim, src/testdir/test_display.vim,
3805 src/testdir/test_functions.vim, src/testdir/test_highlight.vim,
3806 src/testdir/test_ins_complete.vim, src/testdir/test_mapping.vim,
3807 src/testdir/test_match.vim, src/testdir/test_matchadd_conceal.vim,
3808 src/testdir/test_messages.vim, src/testdir/test_number.vim,
3809 src/testdir/test_popup.vim, src/testdir/test_popupwin.vim,
3810 src/testdir/test_profile.vim, src/testdir/test_search.vim,
3811 src/testdir/test_search_stat.vim, src/testdir/test_startup.vim,
3812 src/testdir/test_startup_utf8.vim,
3813 src/testdir/test_statusline.vim, src/testdir/test_suspend.vim,
3814 src/testdir/test_swap.vim, src/testdir/test_tagjump.vim,
3815 src/testdir/test_terminal.vim, src/testdir/test_terminal_fail.vim,
3816 src/testdir/test_timers.vim, src/testdir/test_vimscript.vim
3817
3818Patch 8.2.0534
3819Problem: Client-server test fails under valgrind.
3820Solution: Use WaitForAssert().
3821Files: src/testdir/test_clientserver.vim
3822
3823Patch 8.2.0535
3824Problem: Regexp patterns not fully tested.
3825Solution: Add more regexp tests and others. (Yegappan Lakshmanan,
3826 closes #5901)
3827Files: src/testdir/test_marks.vim, src/testdir/test_options.vim,
3828 src/testdir/test_regexp_latin.vim, src/testdir/test_search.vim
3829
3830Patch 8.2.0536
3831Problem: Vim9: some compilation code not tested.
3832Solution: Add more test cases.
3833Files: src/evalvars.c, src/proto/evalvars.pro, src/vim9compile.c,
3834 src/testdir/test_vim9_expr.vim
3835
3836Patch 8.2.0537
3837Problem: Vim9: no check for sandbox when setting v:var.
3838Solution: Check for sandbox.
3839Files: src/evalvars.c, src/testdir/test_vim9_script.vim
3840
3841Patch 8.2.0538
3842Problem: Vim9: VAR_PARTIAL is not used during compilation.
3843Solution: Remove VAR_PARTIAL.
3844Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c
3845
3846Patch 8.2.0539
3847Problem: Comparing two NULL list fails.
3848Solution: Change the order of comparing two lists.
3849Files: src/list.c, src/testdir/test_assert.vim
3850
3851Patch 8.2.0540
3852Problem: Regexp and other code not tested.
3853Solution: Add more tests. (Yegappan Lakshmanan, closes #5904)
3854Files: src/testdir/test_backspace_opt.vim, src/testdir/test_expr.vim,
3855 src/testdir/test_increment.vim, src/testdir/test_normal.vim,
3856 src/testdir/test_options.vim, src/testdir/test_regexp_latin.vim,
3857 src/testdir/test_search.vim, src/testdir/test_substitute.vim,
3858 src/testdir/test_terminal.vim, src/testdir/test_virtualedit.vim
3859
3860Patch 8.2.0541
3861Problem: Travis CI does not give compiler warnings.
3862Solution: Add flags for warnings. Fix uncovered problems. (Ozaki Kiichi,
3863 closes #5898)
3864Files: .travis.yml, ci/config.mk.clang.sed, ci/config.mk.gcc.sed,
3865 ci/config.mk.sed, src/if_perl.xs, src/if_ruby.c,
3866 src/libvterm/t/harness.c
3867
3868Patch 8.2.0542
3869Problem: No test for E386.
3870Solution: Add a test. (Dominique Pellé, closes #5911)
3871Files: src/testdir/test_search.vim
3872
3873Patch 8.2.0543
3874Problem: Vim9: function with varargs does not work properly.
3875Solution: Improve function type spec and add tests. Fix bugs.
3876Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9execute.c,
3877 src/structs.h, src/testdir/test_vim9_func.vim
3878
3879Patch 8.2.0544
3880Problem: Memory leak in search test.
3881Solution: Free msgbuf. (Dominique Pellé, closes #5912)
3882Files: src/search.c
3883
3884Patch 8.2.0545
3885Problem: Unused arguments ignored in non-standard way.
3886Solution: Add UNUSED instead of (void).
3887Files: src/libvterm/t/harness.c
3888
3889Patch 8.2.0546
3890Problem: Vim9: varargs implementation is inefficient.
3891Solution: Create list without moving the arguments.
3892Files: src/vim9compile.c, src/vim9execute.c
3893
3894Patch 8.2.0547
3895Problem: Win32: restoring screen not always done right.
3896Solution: Use a more appropriate method. (Nobuhiro Takasaki, closes #5909)
3897Files: src/os_win32.c
3898
3899Patch 8.2.0548
3900Problem: Vim9: not all possible func type errors tested.
3901Solution: Add more tests.
3902Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
3903
3904Patch 8.2.0549
3905Problem: User systemd files not recognized.
3906Solution: Add filetype patterns. (Kevin Locke, closes #5914)
3907Files: runtime/filetype.vim, src/testdir/test_filetype.vim
3908
3909Patch 8.2.0550
3910Problem: Some changes in the libvterm upstream code.
3911Solution: Include some changes.
3912Files: src/libvterm/t/harness.c
3913
3914Patch 8.2.0551
3915Problem: Not all code for options is tested.
3916Solution: Add more tests. (Yegappan Lakshmanan, closes #5913)
3917Files: src/testdir/test_options.vim, src/testdir/test_python3.vim,
3918 src/testdir/test_undo.vim, src/testdir/test_vimscript.vim
3919
3920Patch 8.2.0552
3921Problem: Vim9: some errors not covered by tests.
3922Solution: Add more tests. Check Funcref argument types.
3923Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
3924
3925Patch 8.2.0553 (after 8.2.0550)
3926Problem: Error for unused argument.
3927Solution: Add UNUSED.
3928Files: src/libvterm/t/harness.c
3929
3930Patch 8.2.0554
3931Problem: The GUI doesn't set t_Co.
3932Solution: In the GUI set t_Co to 256 * 256 * 256. (closes #5903)
3933Files: src/term.c, src/proto/term.pro, src/gui.c,
3934 src/testdir/test_gui.vim
3935
3936Patch 8.2.0555
3937Problem: Vim9: line continuation is not always needed.
3938Solution: Recognize continuation lines automatically in list and dict.
3939Files: runtime/doc/vim9.txt, src/vim9compile.c,
3940 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim
3941
3942Patch 8.2.0556
3943Problem: Vim9: memory leak when finding common type.
3944Solution: Store allocated memory in type growarray.
3945Files: src/vim9compile.c
3946
3947Patch 8.2.0557
3948Problem: No IPv6 support for channels.
3949Solution: Add IPv6 support. (Ozaki Kiichi, closes #5893)
3950Files: .travis.yml, runtime/doc/channel.txt, runtime/doc/various.txt,
3951 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/auto/configure,
3952 src/channel.c, src/config.h.in, src/configure.ac, src/evalfunc.c,
3953 src/proto/channel.pro, src/testdir/check.vim,
3954 src/testdir/runtest.vim, src/testdir/test_cdo.vim,
3955 src/testdir/test_channel.py, src/testdir/test_channel.vim,
3956 src/testdir/test_channel_6.py, src/testdir/test_escaped_glob.vim,
3957 src/testdir/test_getcwd.vim, src/testdir/test_hide.vim
3958
3959Patch 8.2.0558
3960Problem: Vim9: dict code not covered by tests.
3961Solution: Remove dead code, adjust test case.
3962Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
3963
3964Patch 8.2.0559
3965Problem: Clearing a struct is verbose.
3966Solution: Define and use CLEAR_FIELD() and CLEAR_POINTER().
3967Files: src/vim.h, src/blowfish.c, src/channel.c, src/charset.c,
3968 src/clipboard.c, src/diff.c, src/eval.c, src/evalfunc.c,
3969 src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c, src/findfile.c,
3970 src/gui_gtk_f.c, src/gui_mac.c, src/gui_motif.c, src/gui_w32.c,
3971 src/gui_x11.c, src/hardcopy.c, src/hashtab.c, src/highlight.c,
3972 src/if_mzsch.c, src/insexpand.c, src/kword_test.c, src/list.c,
3973 src/main.c, src/map.c, src/memfile.c, src/message_test.c,
3974 src/misc1.c, src/netbeans.c, src/normal.c, src/ops.c,
3975 src/option.c, src/os_mswin.c, src/os_win32.c, src/popupmenu.c,
3976 src/quickfix.c, src/regexp.c, src/regexp_bt.c, src/regexp_nfa.c,
3977 src/search.c, src/sign.c, src/spell.c, src/spellfile.c,
3978 src/spellsuggest.c, src/syntax.c, src/tag.c, src/terminal.c,
3979 src/time.c, src/undo.c, src/userfunc.c, src/vim9compile.c,
3980 src/vim9execute.c, src/if_py_both.h
3981
3982Patch 8.2.0560
3983Problem: Compiler warning in tiny build.
3984Solution: Move declaration inside #ifdef. (Dominique Pellé, closes #5915)
3985Files: src/ex_docmd.c
3986
3987Patch 8.2.0561
3988Problem: Vim9: cannot split function call in multiple lines.
3989Solution: Find more arguments in following lines.
3990Files: runtime/doc/vim9.txt, src/vim9compile.c,
3991 src/testdir/test_vim9_script.vim
3992
3993Patch 8.2.0562
3994Problem: Vim9: cannot split an expression into multiple lines.
3995Solution: Continue in next line after an operator.
3996Files: runtime/doc/vim9.txt, src/macros.h, src/vim9compile.c,
3997 src/testdir/test_vim9_expr.vim
3998
3999Patch 8.2.0563
4000Problem: Vim9: cannot split a function line.
4001Solution: Continue in next line so long as the function isn't done.
4002Files: runtime/doc/vim9.txt, src/userfunc.c, src/proto/userfunc.pro,
4003 src/vim9compile.c, src/testdir/test_vim9_func.vim
4004
4005Patch 8.2.0564
4006Problem: Vim9: calling a def function from non-vim9 may fail.
4007Solution: Convert varargs to a list.
4008Files: src/testdir/test_vim9_func.vim, src/vim9execute.c
4009
4010Patch 8.2.0565
4011Problem: Vim9: tests contain superfluous line continuation.
4012Solution: Remove line continuation no longer needed. Skip empty lines.
4013Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
4014 src/testdir/test_vim9_disassemble.vim
4015
4016Patch 8.2.0566
4017Problem: Vim9: variable can be used uninitialized.
4018Solution: Jump to after where variable is used.
4019Files: src/vim9execute.c
4020
4021Patch 8.2.0567
4022Problem: Vim9: cannot put comments halfway expressions.
4023Solution: Support # comments in many places.
4024Files: runtime/doc/vim9.txt, src/vim9compile.c, src/userfunc.c,
4025 src/ex_docmd.c, src/testdir/test_vim9_func.vim,
4026 src/testdir/test_vim9_script.vim
4027
4028Patch 8.2.0568
4029Problem: The man filetype plugin overwrites the unnamed register.
4030Solution: Use the black hole register. (Jason Franklin)
4031Files: runtime/ftplugin/man.vim, src/testdir/test_man.vim
4032
4033Patch 8.2.0569
4034Problem: Build failure with tiny version.
4035Solution: Add #ifdef.
4036Files: src/ex_docmd.c
4037
4038Patch 8.2.0570
4039Problem: Vim9: no error when omitting type from argument.
4040Solution: Enforce specifying argument types.
4041Files: src/userfunc.c, src/ex_eval.c, src/testdir/test_vim9_script.vim,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00004042 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_expr.vim,
Bram Moolenaarc51cf032022-02-26 12:25:45 +00004043 src/testdir/test_vim9_disassemble.vim
4044
4045Patch 8.2.0571
4046Problem: Double free when passing invalid argument to job_start().
4047Solution: Clear the argument when freed. (Masato Nishihata, closes #5926)
4048Files: src/misc2.c, src/testdir/test_channel.vim
4049
4050Patch 8.2.0572 (after 8.2.0571)
4051Problem: Using two lines for free and reset.
4052Solution: Use VIM_CLEAR() instead. (Yegappan Lakshmanan)
4053Files: src/misc2.c
4054
4055Patch 8.2.0573
4056Problem: using :version twice leaks memory
4057Solution: Only initialize variables once. (Dominique Pellé, closes #5917)
4058Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim,
4059 src/testdir/test_version.vim, src/version.c, src/globals.h
4060
4061Patch 8.2.0574
4062Problem: Ipv6 feature not shown in :version output.
4063Solution: Add ipv6 in :version output. (Ozaki Kiichi, closes #5924)
4064Files: runtime/doc/eval.txt, src/version.c
4065
4066Patch 8.2.0575
4067Problem: :digraph! not tested.
4068Solution: Add a test. (Dominique Pellé, closes #5925)
4069Files: src/testdir/test_digraph.vim
4070
4071Patch 8.2.0576
4072Problem: Some errors are not covered by tests.
4073Solution: Add a few more tests. (Dominique Pellé, closes #5920)
4074Files: src/testdir/test_buffer.vim, src/testdir/test_digraph.vim,
4075 src/testdir/test_expr.vim, src/testdir/test_messages.vim
4076
4077Patch 8.2.0577
4078Problem: Not all modifiers supported for :options.
4079Solution: Use all cmdmod.split flags. (closes #4401)
4080Files: src/usercmd.c, src/proto/usercmd.pro, src/scriptfile.c,
4081 src/testdir/test_options.vim, src/testdir/test_usercommands.vim
4082
4083Patch 8.2.0578
4084Problem: Heredoc for interfaces does not support "trim".
4085Solution: Update the script heredoc support to be same as the :let command.
4086 (Yegappan Lakshmanan, closes #5916)
4087Files: runtime/doc/if_lua.txt, runtime/doc/if_mzsch.txt,
4088 runtime/doc/if_perl.txt, runtime/doc/if_pyth.txt,
4089 runtime/doc/if_ruby.txt, runtime/doc/if_tcl.txt, src/evalvars.c,
4090 src/ex_getln.c, src/proto/evalvars.pro, src/testdir/test86.in,
4091 src/testdir/test87.in, src/testdir/test_lua.vim,
4092 src/testdir/test_perl.vim, src/testdir/test_python2.vim,
4093 src/testdir/test_python3.vim, src/testdir/test_pyx2.vim,
4094 src/testdir/test_pyx3.vim, src/testdir/test_ruby.vim,
4095 src/testdir/test_tcl.vim, src/userfunc.c, src/vim9compile.c
4096
4097Patch 8.2.0579
4098Problem: Coverity warns for unused value.
4099Solution: Change order and use "else if".
4100Files: src/os_unix.c
4101
4102Patch 8.2.0580
4103Problem: Window size wrong if 'ea' is off and 'splitright' is on and
4104 splitting then closing a window.
4105Solution: Put abandoned window space in the right place. (Mark Waggoner)
4106Files: src/testdir/test_winbuf_close.vim, src/window.c
4107
4108Patch 8.2.0581 (after 8.2.0547)
4109Problem: Win32 console: the cursor position is always top-left.
4110Solution: Revert the patch for restoring screen.
4111Files: src/os_win32.c
4112
4113Patch 8.2.0582
4114Problem: Color ramp test does not show text colors.
4115Solution: Add a row of 16 text colors and 16 bold text colors.
4116Files: src/testdir/color_ramp.vim
4117
4118Patch 8.2.0583
4119Problem: Vim9: # comment not recognized in :def function.
4120Solution: Recognize and skip # comment.
4121Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
4122
4123Patch 8.2.0584
4124Problem: Viminfo file uses obsolete function file_readable().
4125Solution: Use filereadable(). (closes #5934)
4126Files: src/session.c
4127
4128Patch 8.2.0585
4129Problem: Vim9: # comment not recognized after :vim9script.
4130Solution: Check script type. Make comment after ":echo" work. And in
4131 several other places.
4132Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/eval.c,
4133 src/vim9compile.c, src/testdir/test_vim9_script.vim
4134
4135Patch 8.2.0586
4136Problem: Vim9: # comment not sufficiently tested
4137Solution: Check for preceding white space.
4138Files: src/eval.c, src/testdir/test_vim9_script.vim
4139
4140Patch 8.2.0587
4141Problem: Compiler warning for unused variable.
4142Solution: Add UNUSED.
4143Files: src/ex_docmd.c
4144
4145Patch 8.2.0588
4146Problem: Putty does not use "sgr" 'ttymouse' by default.
4147Solution: Make "sgr" the default for Putty. (Christian Brabandt,
4148 closes #5942)
4149Files: src/term.c
4150
4151Patch 8.2.0589
4152Problem: .bsd file type not recognized.
4153Solution: Recognize .bsd as BSDL. (Daniel Kho, closes #5945)
4154Files: runtime/filetype.vim, src/testdir/test_filetype.vim
4155
4156Patch 8.2.0590
4157Problem: No 'backspace' value allows ignoring the insertion point.
4158Solution: Add the "nostop" and 3 values. (Christian Brabandt, closes #5940)
4159Files: runtime/doc/options.txt, src/edit.c, src/option.c, src/option.h,
4160 src/optionstr.c, src/testdir/gen_opt_test.vim,
4161 src/testdir/test_backspace_opt.vim
4162
4163Patch 8.2.0591
4164Problem: MS-Windows: should always support IPv6
4165Solution: Add build flag. (Ozaki Kiichi, closes #5944)
4166Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
4167
4168Patch 8.2.0592
4169Problem: MS-Windows with VTP: cursor is not made invisible.
4170Solution: Output the code to make the cursor visible or invisible. (Nobuhiro
4171 Takasaki, closes #5941)
4172Files: src/os_win32.c
4173
4174Patch 8.2.0593
4175Problem: Finding a user command is not optimal.
4176Solution: Start further down in the list of commands.
4177Files: src/ex_cmds.h, src/ex_docmd.c
4178
4179Patch 8.2.0594
4180Problem: MS-Windows: cannot build with WINVER set to 0x0501.
4181Solution: Only use inet_ntop() when available. (Ozaki Kiichi, closes #5946)
4182Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/auto/configure,
4183 src/channel.c, src/config.h.in, src/configure.ac
4184
4185Patch 8.2.0595
4186Problem: Vim9: not all commands using ends_excmd() tested.
4187Solution: Find # comment after regular commands. Add more tests. Report
4188 error for where it was caused.
4189Files: src/ex_docmd.c, src/vim9compile.c, src/vim9execute.c, src/usercmd.c,
4190 src/evalfunc.c, src/userfunc.c, src/proto/userfunc.pro,
4191 src/testdir/test_vim9_script.vim,
4192 src/testdir/test_vim9_disassemble.vim
4193
4194Patch 8.2.0596
4195Problem: Crash in test49.
4196Solution: Check the right pointer.
4197Files: src/userfunc.c, src/testdir/test_eval.ok
4198
4199Patch 8.2.0597
4200Problem: Test_eval is old style.
4201Solution: Change some tests to a new style test.
4202Files: src/testdir/test_eval.in, src/testdir/test_eval.ok,
4203 src/testdir/test_eval_stuff.vim
4204
4205Patch 8.2.0598
4206Problem: Test_eval_stuff fails in normal terminal.
4207Solution: Close the new window.
4208Files: src/testdir/test_eval_stuff.vim
4209
4210Patch 8.2.0599
4211Problem: Netbeans interface insufficiently tested.
4212Solution: Add more tests. (Yegappan Lakshmanan, closes #5921)
4213Files: runtime/doc/netbeans.txt, src/netbeans.c, src/os_win32.c,
4214 src/testdir/runtest.vim, src/testdir/test_netbeans.py,
4215 src/testdir/test_netbeans.vim
4216
4217Patch 8.2.0600
4218Problem: Vim9: cannot read or write w:, t: and b: variables.
4219Solution: Implement load and store for w:, t: and b: variables.
Bram Moolenaar47c532e2022-03-19 15:18:53 +00004220 (closes #5950)
Bram Moolenaarc51cf032022-02-26 12:25:45 +00004221Files: src/testdir/test_vim9_disassemble.vim,
4222 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim,
4223 src/vim9.h, src/vim9compile.c, src/vim9execute.c
4224
4225Patch 8.2.0601
4226Problem: Vim9: :unlet is not compiled.
4227Solution: Implement :unlet instruction and check for errors.
4228Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9.h,
4229 src/vim9execute.c, src/evalvars.c, src/proto/evalvars.pro,
4230 src/eval.c, src/testdir/test_vim9_script.vim,
4231 src/testdir/test_vim9_disassemble.vim
4232
4233Patch 8.2.0602
4234Problem: :unlet $VAR does not work properly.
4235Solution: Make ":lockvar $VAR" fail. Check the "skip" flag.
4236Files: src/evalvars.c, src/globals.h, src/testdir/test_vimscript.vim
4237
4238Patch 8.2.0603
4239Problem: Configure does not detect moonjit.
4240Solution: Add check for moonjit. (Shlomi Fish, closes #5947)
4241Files: src/configure.ac, src/auto/configure
4242
4243Patch 8.2.0604
4244Problem: :startinsert in a terminal window used later.
4245Solution: Ignore :startinsert in a terminal window. (closes #5952)
4246Files: src/ex_docmd.c, src/testdir/test_terminal.vim
4247
4248Patch 8.2.0605
4249Problem: Vim9: cannot unlet an environment variable.
4250Solution: Implement unlet for $VAR.
4251Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
4252 src/testdir/test_vim9_script.vim,
4253 src/testdir/test_vim9_disassemble.vim
4254
4255Patch 8.2.0606
4256Problem: Several syntax HL errors not checked.
4257Solution: Add tests. (Yegappan Lakshmanan, closes #5954)
4258Files: src/testdir/test_syntax.vim
4259
4260Patch 8.2.0607
4261Problem: Gcc warns for using uninitialized variable. (John Marriott)
4262Solution: Set name_end also for environment variables.
4263Files: src/evalvars.c
4264
4265Patch 8.2.0608
4266Problem: Warning from clang when building message test.
4267Solution: Use a void pointer. (Dominique Pellé, closes #5958)
4268Files: src/message_test.c
4269
4270Patch 8.2.0609
4271Problem: Configure does not detect moonjit correctly.
4272Solution: Double the brackets. (Ozaki Kiichi)
4273Files: src/configure.ac, src/auto/configure
4274
4275Patch 8.2.0610
4276Problem: Some tests are still old style.
4277Solution: Convert to new style tests. (Yegappan Lakshmanan, closes #5957)
4278Files: src/testdir/test_blob.vim, src/testdir/test_cursor_func.vim,
4279 src/testdir/test_eval.in, src/testdir/test_eval.ok,
4280 src/testdir/test_eval_func.vim, src/testdir/test_eval_stuff.vim,
4281 src/testdir/test_expr.vim, src/testdir/test_filter_map.vim,
4282 src/testdir/test_functions.vim, src/testdir/test_listdict.vim,
4283 src/testdir/test_sort.vim, src/testdir/test_syntax.vim,
4284 src/testdir/test_utf8.vim, src/testdir/test_vimscript.vim
4285
4286Patch 8.2.0611
4287Problem: Vim9: no check for space before #comment.
4288Solution: Add space checks.
4289Files: src/eval.c, src/evalvars.c, src/ex_docmd.c,
4290 src/testdir/test_vim9_script.vim
4291
4292Patch 8.2.0612
4293Problem: Vim9: no check for space before #comment.
4294Solution: Add space checks.
4295Files: src/ex_eval.c, src/ex_cmds.c, src/regexp.c, src/proto/regexp.pro,
4296 src/gui.c, src/highlight.c, src/testdir/test_vim9_script.vim,
4297 src/testdir/test_sort.vim
4298
4299Patch 8.2.0613
4300Problem: Vim9: no check for space before #comment.
4301Solution: Add space checks.
4302Files: src/highlight.c, src/menu.c, src/syntax.c,
4303 src/testdir/test_vim9_script.vim,
4304 runtime/lang/menu_de_de.latin1.vim
4305
4306Patch 8.2.0614
4307Problem: Get ml_get error when deleting a line in 'completefunc'. (Yegappan
4308 Lakshmanan)
4309Solution: Lock the text while evaluating 'completefunc'.
4310Files: src/insexpand.c, src/globals.h, src/edit.c, src/ex_getln.c,
4311 src/undo.c, src/testdir/test_edit.vim, src/testdir/test_excmd.vim,
4312 src/testdir/test_gf.vim, src/testdir/test_popup.vim,
4313 src/testdir/test_ex_mode.vim, runtime/doc/insert.txt
4314
4315Patch 8.2.0615
4316Problem: Regexp benchmark test is old style.
4317Solution: Make it a new style test. Fix using a NULL list. Add more tests.
4318 (Yegappan Lakshmanan, closes #5963)
4319Files: src/evalbuffer.c, src/testdir/Make_dos.mak,
4320 src/testdir/Make_ming.mak, src/testdir/Makefile,
4321 src/testdir/bench_re_freeze.in, src/testdir/bench_re_freeze.vim,
4322 src/testdir/test_autocmd.vim, src/testdir/test_bench_regexp.vim,
4323 src/testdir/test_blob.vim, src/testdir/test_bufline.vim,
4324 src/testdir/test_channel.vim, src/testdir/test_cmdline.vim,
4325 src/testdir/test_functions.vim, src/testdir/test_ins_complete.vim,
4326 src/testdir/test_popupwin.vim, src/testdir/test_prompt_buffer.vim,
4327 src/testdir/test_tagjump.vim, src/testdir/test_window_cmd.vim
4328
4329Patch 8.2.0616
4330Problem: Build error when disabling the diff feature.
4331Solution: Move parenthesis outside of #ifdef. (Tom Ryder)
4332Files: src/drawline.c
4333
4334Patch 8.2.0617
4335Problem: New error check triggers in Swedish menu.
4336Solution: Insert backslash. (Mats Tegner, closes #5966)
4337Files: runtime/lang/menu_sv_se.latin1.vim
4338
4339Patch 8.2.0618
4340Problem: Echoing a null list results in no output. (Yegappan Lakshmanan)
Bram Moolenaar47c532e2022-03-19 15:18:53 +00004341Solution: Return "[]" instead of NULL in echo_string_core().
Bram Moolenaarc51cf032022-02-26 12:25:45 +00004342Files: src/eval.c, src/testdir/test_messages.vim
4343
4344Patch 8.2.0619
4345Problem: Null dict is not handled like an empty dict.
4346Solution: Fix the code and add tests. (Yegappan Lakshmanan, closes #5968)
4347Files: src/dict.c, src/eval.c, src/testdir/test_blob.vim,
4348 src/testdir/test_expr.vim, src/testdir/test_filter_map.vim,
4349 src/testdir/test_let.vim, src/testdir/test_listdict.vim,
4350 src/testdir/test_search.vim, src/testdir/test_unlet.vim,
4351 src/testdir/test_usercommands.vim, src/testdir/test_vimscript.vim
4352
4353Patch 8.2.0620
4354Problem: Error in menu translations.
4355Solution: Insert a backslash before a space.
4356Files: runtime/lang/menu_it_it.latin1.vim,
4357 runtime/lang/menu_chinese_gb.936.vim
4358
4359Patch 8.2.0621
4360Problem: After running tests asan files may remain.
4361Solution: Clean up asan files with "make testclean".
4362Files: src/testdir/Makefile, src/Makefile
4363
4364Patch 8.2.0622
4365Problem: Haiku: GUI does not compile.
4366Solution: Various fixes. (Emir Sarı, closes #5961)
4367Files: Filelist, README.md, READMEdir/README_haiku.txt,
4368 runtime/doc/os_haiku.txt, src/Makefile, src/beval.h,
4369 src/gui_haiku.cc, src/proto/gui_haiku.pro
4370
4371Patch 8.2.0623
4372Problem: Typo in test comment. (Christ van Willegen)
4373Solution: Avoid mixing up a data structure with a body part.
4374Files: src/testdir/test_listdict.vim
4375
4376Patch 8.2.0624
4377Problem: Vim9: no check for space before #comment.
4378Solution: Add space checks. Fix :throw with double quoted string.
4379Files: src/usercmd.c, src/userfunc.c, src/vim9compile.c,
4380 src/testdir/test_vim9_script.vim
4381
4382Patch 8.2.0625
4383Problem: Vim9: confusing error when calling unknown function.
4384Solution: Give error while compiling.
4385Files: src/vim9compile.c, src/vim9execute.c,
4386 src/testdir/test_vim9_func.vim
4387
4388Patch 8.2.0626
4389Problem: Vim9: wrong syntax of function in Vim9 script.
4390Solution: Give error for missing space. Implement :echomsg and :echoerr.
4391 (closes #5670)
4392Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/userfunc.c,
4393 src/eval.c, src/globals.h, src/testdir/test_vim9_func.vim,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00004394 src/testdir/test_vim9_disassemble.vim,
Bram Moolenaarc51cf032022-02-26 12:25:45 +00004395 src/testdir/test_vim9_script.vim
4396
4397Patch 8.2.0627
4398Problem: Vim9: error message does not work. (Yegappan Lakshmanan)
4399Solution: Swap lines.
4400Files: src/userfunc.c
4401
4402Patch 8.2.0628
4403Problem: Error in menu translations.
4404Solution: Insert a backslash before a space in one more file. (Shun Bai,
4405 Emir Sarı)
4406Files: runtime/lang/menu_zh_cn.utf-8.vim,
4407 runtime/lang/menu_ca_es.latin1.vim,
4408 runtime/lang/menu_cs_cz.iso_8859-2.vim,
4409 runtime/lang/menu_cs_cz.utf-8.vim,
4410 runtime/lang/menu_czech_czech_republic.1250.vim,
4411 runtime/lang/menu_czech_czech_republic.ascii.vim,
4412 runtime/lang/menu_da.utf-8.vim,
4413 runtime/lang/menu_fi_fi.latin1.vim,
4414 runtime/lang/menu_hu_hu.iso_8859-2.vim,
4415 runtime/lang/menu_hu_hu.utf-8.vim,
4416 runtime/lang/menu_is_is.latin1.vim,
4417 runtime/lang/menu_no_no.latin1.vim, runtime/lang/menu_pt_br.vim,
4418 runtime/lang/menu_pt_pt.vim,
4419 runtime/lang/menu_sk_sk.iso_8859-2.vim,
4420 runtime/lang/menu_sl_si.latin2.vim,
4421 runtime/lang/menu_slovak_slovak_republic.1250.vim,
4422 runtime/lang/menu_tr_tr.cp1254.vim,
4423 runtime/lang/menu_tr_tr.iso_8859-9.vim,
4424 runtime/lang/menu_tr_tr.utf-8.vim, runtime/lang/menu_vi_vn.vim
4425
4426Patch 8.2.0629
4427Problem: Setting a boolean option to v:false does not work.
4428Solution: Do not use the string representation of the value. (Christian
4429 Brabandt, closes #5974)
4430Files: src/evalvars.c, src/testdir/test_options.vim
4431
4432Patch 8.2.0630
4433Problem: "make tags" does not cover Haiku GUI file.
4434Solution: Add *.cc files.
4435Files: src/Make_all.mak
4436
4437Patch 8.2.0631
4438Problem: Haiku file formatted with wrong tabstop.
4439Solution: Use normal tabstop. Fix white space.
4440Files: src/gui_haiku.cc
4441
4442Patch 8.2.0632
4443Problem: Crash when using Haiku.
4444Solution: Lock the screen. (closes #5975, closes #5973)
4445Files: src/screen.c
4446
4447Patch 8.2.0633
4448Problem: Crash when using null partial in filter().
4449Solution: Fix crash. Add more tests. (Yegappan Lakshmanan, closes #5976)
4450Files: src/eval.c, src/testdir/test_blob.vim,
4451 src/testdir/test_channel.vim, src/testdir/test_eval_stuff.vim,
4452 src/testdir/test_execute_func.vim, src/testdir/test_expr.vim,
4453 src/testdir/test_filter_map.vim, src/testdir/test_fold.vim,
4454 src/testdir/test_functions.vim, src/testdir/test_let.vim,
4455 src/testdir/test_listdict.vim, src/testdir/test_partial.vim,
4456 src/testdir/test_usercommands.vim
4457
4458Patch 8.2.0634
4459Problem: Crash with null partial and blob.
4460Solution: Check for NULL pointer. Add more tests. (Yegappan Lakshmanan,
4461 closes #5984)
4462Files: src/eval.c, src/list.c, src/testdir/test_blob.vim,
4463 src/testdir/test_bufwintabinfo.vim, src/testdir/test_cd.vim,
4464 src/testdir/test_channel.vim, src/testdir/test_cursor_func.vim,
4465 src/testdir/test_eval_stuff.vim, src/testdir/test_expr.vim,
4466 src/testdir/test_filter_map.vim, src/testdir/test_fnamemodify.vim,
4467 src/testdir/test_functions.vim, src/testdir/test_getvar.vim,
4468 src/testdir/test_listdict.vim, src/testdir/test_messages.vim,
4469 src/testdir/test_partial.vim, src/testdir/test_quickfix.vim,
4470 src/testdir/test_tabpage.vim, src/testdir/test_vimscript.vim,
4471 src/testdir/test_window_cmd.vim, src/testdir/test_window_id.vim,
4472 src/testdir/test_writefile.vim
4473
4474Patch 8.2.0635
4475Problem: When using 256 colors DarkYellow does not show expected color.
4476Solution: Use color 3 instead of 130. (Romain Lafourcade, closes #5985)
4477Files: src/highlight.c
4478
4479Patch 8.2.0636
4480Problem: :messages does not show the maintainer when $LANG is unset.
4481Solution: Call get_mess_lang() if available. (closes #5978)
4482Files: src/message.c
4483
4484Patch 8.2.0637
4485Problem: Incsearch highlighting does not work for ":sort!".
4486Solution: Skip over the exclamation point. (closes #5983)
4487Files: src/ex_getln.c, src/testdir/test_search.vim,
4488 src/testdir/dumps/Test_incsearch_sort_02.dump
4489
4490Patch 8.2.0638
4491Problem: MS-Windows: messages test fails.
4492Solution: Clear environment variables.
4493Files: src/testdir/test_messages.vim
4494
4495Patch 8.2.0639
4496Problem: MS-Windows: messages test still fails.
4497Solution: Filter out the maintainer message.
4498Files: src/testdir/test_messages.vim
4499
4500Patch 8.2.0640
4501Problem: Vim9: expanding `=expr` does not work.
4502Solution: Find wildcards in not compiled commands. Reorganize test files.
4503Files: Filelist, src/vim9.h, src/vim9compile.c, src/vim9execute.c,
4504 src/testdir/vim9.vim, src/testdir/test_vim9_cmd.vim,
4505 src/testdir/test_vim9_disassemble.vim,
4506 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim,
4507 src/testdir/Make_all.mak
4508
4509Patch 8.2.0641
4510Problem: Vim9: `=expr` not expanded in :hardcopy and "syntax include".
4511Solution: Add the EX_EXPAND flag. Expend "syntax include".
4512Files: src/ex_cmds.h, src/vim9compile.c, src/vim9execute.c,
4513 src/testdir/test_vim9_cmd.vim
4514
4515Patch 8.2.0642
4516Problem: Vim9: using invalid index.
4517Solution: Check index for being valid. Fix memory leak.
4518Files: src/vim9compile.c, src/clientserver.c
4519
4520Patch 8.2.0643 (after 8.2.0635)
4521Problem: Terminal uses brown instead of dark yellow. (Romain Lafourcade)
4522Solution: Use color index 3 instead of 130. (closes #5993)
4523Files: src/terminal.c
4524
4525Patch 8.2.0644
4526Problem: Insufficient testing for invalid function arguments.
4527Solution: Add more tests. (Yegappan Lakshmanan, closes #5988)
4528Files: runtime/doc/eval.txt, src/testdir/test_bufline.vim,
4529 src/testdir/test_channel.vim, src/testdir/test_clientserver.vim,
4530 src/testdir/test_expr.vim, src/testdir/test_functions.vim,
4531 src/testdir/test_listener.vim, src/testdir/test_match.vim,
4532 src/testdir/test_menu.vim, src/testdir/test_quickfix.vim,
4533 src/testdir/test_registers.vim, src/testdir/test_reltime.vim,
4534 src/testdir/test_terminal.vim, src/testdir/test_textprop.vim,
4535 src/testdir/test_window_cmd.vim, src/testdir/test_window_id.vim,
4536 src/testdir/test_writefile.vim
4537
4538Patch 8.2.0645
4539Problem: MS-Windows terminal: CTRL-C does not get to child job.
4540Solution: Remove CREATE_NEW_PROCESS_GROUP from CreateProcessW(). (Nobuhiro
4541 Takasaki, closes #5987)
4542Files: src/terminal.c
4543
4544Patch 8.2.0646
4545Problem: t_Co uses the value of $COLORS in the GUI. (Masato Nishihata)
4546Solution: Ignore $COLORS for the GUI. (closes #5992)
4547Files: src/os_unix.c, src/term.c
4548
4549Patch 8.2.0647
4550Problem: MS-Windows: repeat count for events was not used.
4551Solution: Check the repeat count. (Nobuhiro Takasaki, closes #5989)
4552Files: src/os_win32.c
4553
4554Patch 8.2.0648
4555Problem: Semicolon search does not work in first line.
4556Solution: Allow the cursor to be in line zero. (Christian Brabandt,
4557 closes #5996)
4558Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
4559
4560Patch 8.2.0649
4561Problem: Undo problem when an InsertLeave autocommand resets undo. (Kutsan
4562 Kaplan)
4563Solution: Do not create a new undo block when leaving Insert mode.
4564Files: src/edit.c, src/testdir/test_edit.vim
4565
4566Patch 8.2.0650
4567Problem: Vim9: script function can be deleted.
4568Solution: Disallow deleting script function. Delete functions when sourcing
4569 a script again.
4570Files: src/userfunc.c, src/proto/userfunc.pro, src/evalfunc.c,
4571 src/vim9compile.c, src/vim9execute.c, src/vim9script.c,
4572 src/scriptfile.c, src/testing.c, src/testdir/test_vim9_expr.vim,
4573 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
4574
4575Patch 8.2.0651
4576Problem: Old style benchmark test still in list of distributed files.
4577Solution: Remove the files from the list.
4578Files: Filelist
4579
4580Patch 8.2.0652 (after 8.2.0650)
4581Problem: Compiler warning for char conversion.
4582Solution: Use unsigned char buffer.
4583Files: src/userfunc.c
4584
4585Patch 8.2.0653 (after 8.2.0650)
4586Problem: using uninitialized pointer.
4587Solution: Move assignment up. (John Marriott)
4588Files: src/userfunc.c, src/testdir/test_vim9_script.vim
4589
4590Patch 8.2.0654
4591Problem: Building with Python fails.
4592Solution: Add missing argument.
4593Files: src/if_py_both.h
4594
4595Patch 8.2.0655
4596Problem: Search code not sufficiently tested.
4597Solution: Add more tests. (Yegappan Lakshmanan, closes #5999)
4598Files: src/testdir/test_charsearch.vim, src/testdir/test_gn.vim,
4599 src/testdir/test_goto.vim, src/testdir/test_ins_complete.vim,
4600 src/testdir/test_normal.vim, src/testdir/test_search.vim,
4601 src/testdir/test_textformat.vim, src/testdir/test_textobjects.vim,
4602 src/testdir/test_visual.vim
4603
4604Patch 8.2.0656
4605Problem: MS-Windows: redrawing right screen edge may not be needed.
4606Solution: Check the build version. (Nobuhiro Takasaki, closes #6002)
4607Files: src/drawscreen.c, src/os_win32.c, src/proto/os_win32.pro
4608
4609Patch 8.2.0657
4610Problem: Vim9: no check if called variable is a FuncRef.
4611Solution: Add a type check.
4612Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
4613 src/testdir/test_vim9_expr.vim
4614
4615Patch 8.2.0658 (after 8.2.0646)
4616Problem: HP-UX build fails when setenv() is not defined.
4617Solution: Change "colors" to "t_colors". (John Marriott)
4618Files: src/os_unix.c
4619
4620Patch 8.2.0659
4621Problem: Vim9: no test for equal func type.
4622Solution: Add a test. Improve type check.
4623Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
4624
4625Patch 8.2.0660
4626Problem: The search.c file is a bit big.
4627Solution: Split off the text object code to a separate file. (Yegappan
4628 Lakshmanan, closes #6007)
4629Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
4630 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
4631 src/proto.h, src/proto/search.pro, src/proto/textobject.pro,
4632 src/search.c, src/textobject.c
4633
4634Patch 8.2.0661
4635Problem: Eval test is still old style.
4636Solution: Change into new style tests. (Yegappan Lakshmanan, closes #6009)
4637Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
4638 src/testdir/test_eval.in, src/testdir/test_eval.ok,
4639 src/testdir/test_eval_stuff.vim
4640
4641Patch 8.2.0662
4642Problem: Cannot use input() in a channel callback.
4643Solution: Reset vgetc_busy. (closes #6010)
4644Files: src/globals.h, src/ex_getln.c, src/evalfunc.c,
4645 src/testdir/test_channel.vim
4646
4647Patch 8.2.0663
4648Problem: Not all systemd temp files are recognized.
4649Solution: Add two more patterns. (Jamie Macdonald, closes #6003)
4650Files: runtime/filetype.vim, src/testdir/test_filetype.vim
4651
4652Patch 8.2.0664
4653Problem: Included undesired changes in Makefile.
4654Solution: Revert the changes.
4655Files: src/Makefile
4656
4657Patch 8.2.0665
4658Problem: Wrongly assuming Python executable is called "python".
4659Solution: Use detected python command. (Ken Takata, closes #6016)
4660 Also use CheckFunction if possible.
4661Files: src/testdir/test_terminal.vim, src/testdir/check.vim
4662
4663Patch 8.2.0666
4664Problem: Ruby test fails on MS-Windows.
4665Solution: Remove the "maintainer" line. (Ken Takata, closes #6015)
4666Files: src/testdir/shared.vim, src/testdir/test_messages.vim,
4667 src/testdir/test_ruby.vim
4668
4669Patch 8.2.0667
4670Problem: Cannot install Haiku version from source.
4671Solution: Update Makefile and rdef file. (Emir Sarı, closes #6013)
4672Files: Filelist, READMEdir/README_haiku.txt, runtime/doc/os_haiku.txt,
4673 src/Makefile, src/os_haiku.rdef.in, src/os_haiku.rdef
4674
4675Patch 8.2.0668
4676Problem: Compiler warning for int/size_t usage.
4677Solution: Change "int" to "size_t". (Mike Williams)
4678Files: src/vim9execute.c
4679
4680Patch 8.2.0669
4681Problem: MS-Windows: display in VTP is a bit slow.
4682Solution: Optimize the code. (Nobuhiro Takasaki, closes #6014)
4683Files: src/os_win32.c, src/screen.c
4684
4685Patch 8.2.0670
4686Problem: Cannot change window when evaluating 'completefunc'.
4687Solution: Make a difference between not changing text or buffers and also
4688 not changing window.
4689Files: src/ex_getln.c, src/beval.c, src/change.c, src/edit.c, src/eval.c,
4690 src/ex_docmd.c, src/insexpand.c, src/globals.h, src/indent.c,
4691 src/map.c, src/window.c, src/proto/ex_getln.pro, src/register.c,
4692 src/undo.c, src/testdir/test_edit.vim,
4693 src/testdir/test_ins_complete.vim, src/testdir/test_popup.vim
4694
4695Patch 8.2.0671
4696Problem: Haiku: compiler warnings.
4697Solution: Avoid the warnings. Drop display_errors() copy. (Emir Sarı,
4698 closes #6018)
4699Files: .gitignore, src/gui.c, src/gui_haiku.cc
4700
4701Patch 8.2.0672
4702Problem: Heredoc in scripts does not accept lower case marker.
4703Solution: Allow lower case only in non-Vim scripts. (Ken Takata,
4704 closes #6019)
4705Files: src/evalvars.c, src/testdir/test_lua.vim,
4706 src/testdir/test_perl.vim, src/testdir/test_python2.vim,
4707 src/testdir/test_python3.vim, src/testdir/test_pyx2.vim,
4708 src/testdir/test_pyx3.vim, src/testdir/test_ruby.vim
4709
4710Patch 8.2.0673
4711Problem: Cannot build Haiku in shadow directory.
4712Solution: Add symlink. (Ozaki Kiichi, closes #6023)
4713Files: src/Makefile
4714
4715Patch 8.2.0674
4716Problem: Some source files are too big.
4717Solution: Move text formatting functions to a new file. (Yegappan
4718 Lakshmanan, closes #6021)
4719Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
4720 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
4721 src/edit.c, src/getchar.c, src/ops.c, src/option.c, src/proto.h,
4722 src/proto/edit.pro, src/proto/getchar.pro, src/proto/ops.pro,
4723 src/proto/option.pro, src/proto/textformat.pro, src/textformat.c
4724
4725Patch 8.2.0675
4726Problem: Vim9: no support for closures.
4727Solution: Do not re-use stack entries.
4728Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
4729 src/evalvars.c, src/proto/evalvars.pro
4730
4731Patch 8.2.0676
4732Problem: Pattern in list of distributed files does not match.
4733Solution: Drop "testdir/test_[a-z]*.ok". Add CI sed files.
4734Files: Filelist
4735
4736Patch 8.2.0677
4737Problem: Vim9: no support for closures.
4738Solution: Find variables in the outer function scope, so long as the scope
4739 exists.
4740Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
4741 src/vim9execute.c, src/structs.h, src/vim9.h,
4742 src/testdir/test_vim9_func.vim
4743
4744Patch 8.2.0678
4745Problem: Rare crash for popup menu.
4746Solution: Check for NULL pointer. (Nobuhiro Takasaki, closes #6027)
4747Files: src/popupmenu.c
4748
4749Patch 8.2.0679
4750Problem: Vim9: incomplete support for closures.
4751Solution: At the end of a function copy arguments and local variables if
4752 they are still used by a referenced closure.
4753Files: src/structs.h, src/vim9.h, src/vim9compile.c, src/vim9execute.c,
4754 src/testdir/test_vim9_func.vim
4755
4756Patch 8.2.0680
4757Problem: PTYGROUP and PTYMODE are unused.
4758Solution: Remove from autoconf. (closes #6024)
4759Files: src/configure.ac, src/auto/configure, src/config.h.in
4760
4761Patch 8.2.0681
4762Problem: Pattern for 'hlsearch' highlighting may leak. (Dominique Pellé)
4763Solution: Call end_search_hl() to make sure the previous pattern is freed.
4764 (closes #6028)
4765Files: src/screen.c
4766
4767Patch 8.2.0682
4768Problem: Vim9: parsing function argument type can get stuck.
4769Solution: Bail out when not making progress.
4770Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
4771
4772Patch 8.2.0683
4773Problem: Vim9: parsing type does not always work.
4774Solution: Handle func type without return value. Test more closures.
4775 Fix type check offset. Fix garbage collection.
4776Files: src/vim9compile.c, src/vim9execute.c, src/proto/vim9execute.pro,
4777 src/userfunc.c, src/testdir/test_vim9_func.vim
4778
4779Patch 8.2.0684
4780Problem: Vim9: memory leak when using lambda.
4781Solution: Move the funccal context to the partial. Free the function when
4782 exiting.
4783Files: src/vim9.h, src/structs.h, src/vim9execute.c, src/userfunc.c,
4784 src/eval.c, src/testdir/test_vim9_func.vim
4785
4786Patch 8.2.0685 (after 8.2.0684)
4787Problem: Build failure.
4788Solution: Include missing changes.
4789Files: src/vim9compile.c
4790
4791Patch 8.2.0686
4792Problem: Formatoptions not sufficiently tested.
4793Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6031)
4794Files: src/testdir/test_normal.vim, src/testdir/test_textformat.vim
4795
4796Patch 8.2.0687
4797Problem: Some tests do not work on FreeBSD.
4798Solution: Enable modeline. Use WaitFor() in more cases. (Ozaki Kiichi,
4799 closes #6036)
4800Files: src/testdir/test_quickfix.vim, src/testdir/test_terminal.vim
4801
4802Patch 8.2.0688
4803Problem: Output clobbered if setting 'verbose' to see shell commands.
4804Solution: Only output "Searching for" when 'verbose' is 11 or higher.
4805Files: src/scriptfile.c, runtime/doc/options.txt
4806
4807Patch 8.2.0689
4808Problem: When using getaddrinfo() the error message is unclear.
4809Solution: Use gai_strerror() to get the message. (Ozaki Kiichi,
4810 closes #6034)
4811Files: src/channel.c
4812
4813Patch 8.2.0690
4814Problem: Line number of option set by modeline is wrong.
4815Solution: Do not double the line number. (Ozaki Kiichi, closes #6035)
4816Files: src/option.c, src/testdir/test_modeline.vim
4817
4818Patch 8.2.0691
4819Problem: Startup test fails.
4820Solution: Adjust expected output from -V2 argument.
4821Files: src/testdir/test_startup.vim
4822
4823Patch 8.2.0692
4824Problem: Startup test fails on MS-Windows.
4825Solution: Allow for any path.
4826Files: src/testdir/test_startup.vim
4827
4828Patch 8.2.0693
4829Problem: Closure using argument not tested.
4830Solution: Add a test, make it work.
4831Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
4832
4833Patch 8.2.0694
4834Problem: Haiku: channel and terminal do not work.
4835Solution: Close files when the job has finished. (Ozaki Kiichi,
4836 closes #6039)
4837Files: src/channel.c, src/getchar.c, src/gui_haiku.cc, src/misc1.c
4838
4839Patch 8.2.0695
4840Problem: Vim9: cannot define a function inside a function.
4841Solution: Initial support for :def inside :def.
4842Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9compile.c,
4843 src/vim9execute.c, src/testdir/test_vim9_func.vim
4844
4845Patch 8.2.0696
4846Problem: Vim9: nested function does not work properly
4847Solution: Create a function reference. Check argument count.
4848Files: src/vim9compile.c, src/vim9execute.c,
4849 src/testdir/test_vim9_func.vim
4850
4851Patch 8.2.0697
4852Problem: Vim9: memory leak when using nested function.
4853Solution: Unreference function when deleting instructions. Adjust reference
4854 count for local variables.
4855Files: src/vim9compile.c, src/vim9execute.c
4856
4857Patch 8.2.0698
4858Problem: Insert mode completion not fully tested.
4859Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6041)
4860Files: src/testdir/test_edit.vim, src/testdir/test_ins_complete.vim,
4861 src/testdir/test_textformat.vim
4862
4863Patch 8.2.0699
4864Problem: Vim9: not all errors tested.
4865Solution: Add test for deleted function. Bail out on first error.
4866Files: src/vim9execute.c, src/testdir/test_vim9_func.vim,
4867 src/testdir/test_vim9_expr.vim, src/testdir/vim9.vim
4868
4869Patch 8.2.0700
4870Problem: Vim9: converting error message to exception not tested.
4871Solution: Test exception from error. Do not continue after :echoerr.
4872Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
4873
4874Patch 8.2.0701
4875Problem: Vim9 test fails without job feature.
4876Solution: Add feature check.
4877Files: src/testdir/test_vim9_script.vim
4878
4879Patch 8.2.0702
4880Problem: Running channel tests may leave running process behind.
4881Solution: Make Python client exit when running into EOF. (Kurtis Rader,
4882 part of #6046)
4883Files: src/testdir/test_channel_pipe.py
4884
4885Patch 8.2.0703
4886Problem: Vim9: closure cannot store value in outer context.
4887Solution: Make storing value in outer context work. Make :disassemble
4888 accept a function reference.
4889Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/eval.c,
4890 src/structs.h, src/testdir/test_vim9_disassemble.vim,
4891 src/testdir/test_vim9_func.vim
4892
4893Patch 8.2.0704
4894Problem: Vim9: memory leak in disassemble test.
4895Solution: Decrement refcount when creating funccal.
4896Files: src/vim9execute.c
4897
4898Patch 8.2.0705
4899Problem: Indent tests don't run on CI for FreeBSD.
4900Solution: Set modeline. (Ozaki Kiichi, closes #6048)
4901Files: .cirrus.yml, runtime/indent/testdir/runtest.vim
4902
4903Patch 8.2.0706
4904Problem: Vim9: using assert_fails() causes function to finish.
4905Solution: Check did_emsg instead of called_emsg.
4906Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim,
4907 src/testdir/test_vim9_script.vim
4908
4909Patch 8.2.0707
4910Problem: Vim9 function test fails.
4911Solution: Adjust expected error code.
4912Files: src/testdir/test_vim9_func.vim
4913
4914Patch 8.2.0708
4915Problem: Vim9: constant expressions are not simplified.
4916Solution: Simplify string concatenation.
4917Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim,
4918 src/testdir/test_vim9_expr.vim
4919
4920Patch 8.2.0709
4921Problem: MS-Windows: compiler warning for int vs size_t.
4922Solution: Add type cast. (Mike Williams)
4923Files: src/channel.c
4924
4925Patch 8.2.0710
4926Problem: Netbeans test sometimes fails.
4927Solution: Mark any test using an external command as flaky.
4928Files: src/testdir/shared.vim
4929
4930Patch 8.2.0711
4931Problem: With a long running Vim the temp directory might be cleared on
4932 some systems.
4933Solution: Lock the temp directory. (closes #6044)
4934Files: src/config.h.in, src/configure.ac, src/auto/configure,
4935 src/fileio.c, src/globals.h, src/os_unix.h
4936
4937Patch 8.2.0712
4938Problem: Various code not fully tested.
4939Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6049)
4940Files: src/testdir/test_functions.vim, src/testdir/test_options.vim,
4941 src/testdir/test_system.vim, src/testdir/test_termcodes.vim
4942
4943Patch 8.2.0713
4944Problem: The pam_environment file is not recognized.
4945Solution: Add a filetype pattern for pamenv. (closes #6051)
4946Files: runtime/filetype.vim, src/testdir/test_filetype.vim
4947
4948Patch 8.2.0714
4949Problem: Vim9: handling constant expression does not scale.
4950Solution: Use another solution, passing typval_T.
4951Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
4952
4953Patch 8.2.0715
4954Problem: Vim9: leaking memory.
4955Solution: Free strings after concatenating them.
4956Files: src/vim9compile.c
4957
4958Patch 8.2.0716
4959Problem: Vim9: another memory leak.
4960Solution: Clear typval when failing.
4961Files: src/vim9compile.c
4962
4963Patch 8.2.0717
4964Problem: Vim9: postponed constant expressions does not scale.
4965Solution: Add a structure to pass around postponed constants.
4966Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
4967
4968Patch 8.2.0718
4969Problem: Gcc warning for returning pointer to local variable. (John
4970 Marriott)
4971Solution: Return another pointer.
4972Files: src/evalvars.c
4973
4974Patch 8.2.0719
4975Problem: Vim9: more expressions can be evaluated at compile time
4976Solution: Recognize has('name').
4977Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim,
4978 src/testdir/test_vim9_expr.vim
4979
4980Patch 8.2.0720
4981Problem: Occasional exit when encountering an X error. (Manfred Lotz)
4982Solution: On an X error do not exit, do preserve files.
4983Files: src/os_unix.c
4984
4985Patch 8.2.0721
4986Problem: Vim9: leaking memory when skipping.
4987Solution: Disable skipping in generate_ppconst().
4988Files: src/vim9compile.c
4989
4990Patch 8.2.0722
4991Problem: Vim9: not handling constant expression for elseif.
4992Solution: Use postponed constants. Delete the code for evaluating a
4993 constant expression.
4994Files: src/vim9compile.c
4995
4996Patch 8.2.0723
4997Problem: Vim9: nested constant expression not evaluated compile time.
4998Solution: Use compile_expr1() for parenthesis.
4999Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
5000
5001Patch 8.2.0724
5002Problem: Vim9: appending to buffer/window/tab variable not tested
5003Solution: Add a test.
5004Files: src/testdir/test_vim9_script.vim
5005
5006Patch 8.2.0725
5007Problem: Vim9: cannot call a function declared later in Vim9 script.
5008Solution: Make two passes through the script file.
5009Files: src/scriptfile.c, src/proto/scriptfile.pro, src/vim9script.c,
5010 src/vim9compile.c, src/vim9execute.c, src/proto/vim9compile.pro,
5011 src/userfunc.c, src/proto/userfunc.pro, src/evalvars.c,
5012 src/proto/evalvars.pro, src/vim.h,
5013 src/testdir/test_vim9_disassemble.vim
5014
5015Patch 8.2.0726
5016Problem: Vim9: leaking memory when calling not compiled :def function.
5017Solution: Check if function is compiled earlier.
5018Files: src/vim9execute.c
5019
5020Patch 8.2.0727
5021Problem: MS-Windows: new gcc compiler does not support scanf format.
5022Solution: Use "%ll" instead of "%I". (Ken Takata)
5023Files: src/vim.h
5024
5025Patch 8.2.0728
5026Problem: Messages about a deadly signal are not left aligned.
5027Solution: Output a CR before the NL. (Dominique Pellé, #6055)
5028Files: src/misc1.c, src/os_unix.c
5029
5030Patch 8.2.0729
5031Problem: Vim9: When reloading a script variables are not cleared.
5032Solution: When sourcing a script again clear all script-local variables.
5033Files: src/dict.c, src/proto/dict.pro, src/scriptfile.c,
5034 src/testdir/test_vim9_script.vim
5035
5036Patch 8.2.0730
5037Problem: Vim9: Assignment to dict member does not work.
5038Solution: Parse dict assignment. Implement getting dict member.
5039Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/globals.h,
5040 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_cmd.vim,
5041 src/testdir/test_vim9_script.vim
5042
5043Patch 8.2.0731
5044Problem: Vim9: parsing declarations continues after :finish.
5045Solution: Bail out when encountering :finish.
5046Files: src/vim9script.c, src/testdir/test_vim9_script.vim
5047
5048Patch 8.2.0732
5049Problem: Vim9: storing value in dict messes up stack.
5050Solution: Correct item count of stack.
5051Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
5052
5053Patch 8.2.0733
5054Problem: Vim9: assigning to dict or list argument does not work.
5055Solution: Recognize an argument as assignment target.
5056Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
5057
5058Patch 8.2.0734
5059Problem: Vim9: leaking memory when using :finish.
5060Solution: Do not check for next line in third pass.
5061Files: src/scriptfile.c
5062
5063Patch 8.2.0735
5064Problem: Vim9: using uninitialized memory.
5065Solution: Clear the arg_lvar field.
5066Files: src/vim9compile.c
5067
5068Patch 8.2.0736
5069Problem: Some files not recognized as pamenv.
5070Solution: Add pam_inv.conf. (closes #6065)
5071Files: runtime/filetype.vim, src/testdir/test_filetype.vim
5072
5073Patch 8.2.0737
5074Problem: When shell doesn't support CTRL-Z Vim still handles it.
5075Solution: Ignore the STOP signal if it was ignored on startup.
5076 (Kurtis Rader, closes #5990, closes #6058)
5077Files: src/os_unix.c
5078
5079Patch 8.2.0738
5080Problem: Mouse handling in a terminal window not well tested.
5081Solution: Add tests. (Yegappan Lakshmanan, closes #6052)
5082Files: src/testdir/term_util.vim, src/testdir/test_gui.vim,
5083 src/testdir/test_modeless.vim, src/testdir/test_terminal.vim
5084
5085Patch 8.2.0739
5086Problem: Incomplete profiling when exiting because of a deadly signal.
5087Solution: Call __gcov_flush() if available.
5088Files: src/os_unix.c, src/Makefile, .travis.yml
5089
5090Patch 8.2.0740
5091Problem: Minor message mistakes.
5092Solution: Change vim to Vim and other fixes.
5093Files: src/if_py_both.h, src/if_tcl.c, src/main.c
5094
5095Patch 8.2.0741
5096Problem: Python tests fail because of changed message.
5097Solution: Adjust the expected messages (Dominique Pellé, closes #6066)
5098Files: src/testdir/test86.ok, src/testdir/test87.ok
5099
5100Patch 8.2.0742
5101Problem: Handling of a TERM signal not tested.
5102Solution: Add a test for SIGTERM. (Dominique Pellé, closes #6055)
5103Files: src/testdir/test_signals.vim
5104
5105Patch 8.2.0743
5106Problem: Can move to another buffer from a terminal in popup window.
5107Solution: Do not allow "gf" or editing a file. (closes #6072)
5108Files: src/normal.c, src/ex_cmds.c, src/testdir/test_popupwin.vim
5109
5110Patch 8.2.0744
5111Problem: The name vim is not capitalized in a message.
5112Solution: Use "Vim" instead of "vim".
5113Files: src/main.c
5114
5115Patch 8.2.0745
5116Problem: Crash on exit when not all popups are closed.
5117Solution: Close popups when freeing all memory. Disable checking for popup
5118 when editing a file for now.
5119Files: src/misc2.c, src/ex_cmds.c
5120
5121Patch 8.2.0746
5122Problem: popup_clear() hangs when a popup can't be closed.
5123Solution: Bail out when a popup can't be closed.
5124Files: src/popupwin.c, src/proto/popupwin.pro
5125
5126Patch 8.2.0747
5127Problem: Cannot forcefully close all popups.
5128Solution: Add the "force" argument to popup_clear(). Use it after running a
5129 test. Put back the check for a popup when editing a file.
5130Files: runtime/doc/popup.txt, src/evalfunc.c, src/popupwin.c,
5131 src/proto/popupwin.pro, src/tag.c, src/window.c, src/misc2.c,
5132 src/ex_cmds.c, src/channel.c, src/testdir/runtest.vim,
5133 src/testdir/test_terminal.vim
5134
5135Patch 8.2.0748
5136Problem: Cannot get a list of all popups.
5137Solution: Add popup_list(). Use it in the test runner.
5138Files: runtime/doc/eval.txt, runtime/doc/popup.txt, src/popupwin.c,
5139 src/proto/popupwin.pro, src/evalfunc.c,
5140 src/testdir/test_popupwin.vim, src/testdir/runtest.vim
5141
5142Patch 8.2.0749
5143Problem: TERM signal test fails on FreeBSD.
5144Solution: Do not check the messages, the may appear anywhere. (Dominique
5145 Pellé, closes #6075)
5146Files: src/testdir/test_signals.vim
5147
5148Patch 8.2.0750
5149Problem: Netbeans test is a bit flaky.
5150Solution: Allow for standard sign to be defined. Use WaitForAssert().
5151Files: src/testdir/test_netbeans.vim
5152
5153Patch 8.2.0751
5154Problem: Vim9: performance can be improved.
5155Solution: Don't call break. Inline check for list materialize. Make an
5156 inline version of ga_grow().
5157Files: src/macros.h, src/evalfunc.c, src/misc2.c,
5158 src/proto/misc2.pro, src/channel.c, src/eval.c, src/evalbuffer.c,
5159 src/evalvars.c, src/filepath.c, src/highlight.c, src/insexpand.c,
5160 src/json.c, src/list.c, src/popupmenu.c, src/popupwin.c,
5161 src/userfunc.c, src/if_py_both.h
5162
5163Patch 8.2.0752
5164Problem: Terminal in popup window test is a bit flaky.
5165Solution: Wait for shell job status to be "run". Mark as flaky test.
5166Files: src/testdir/test_popupwin.vim
5167
5168Patch 8.2.0753
5169Problem: Vim9: expressions are evaluated in the discovery phase.
5170Solution: Bail out if an expression is not a constant. Require a type for
5171 declared constants.
5172Files: src/vim.h, src/evalvars.c, src/eval.c, src/ex_eval.c,
5173 src/evalfunc.c, src/userfunc.c, src/dict.c, src/list.c,
5174 src/vim9compile.c, src/testdir/test_vim9_script.vim,
5175 src/testdir/test_vim9_disassemble.vim
5176
5177Patch 8.2.0754
5178Problem: Vim9: No test for forward declaration.
5179Solution: Add a test.
5180Files: src/testdir/test_vim9_script.vim
5181
5182Patch 8.2.0755
5183Problem: Vim9: No error when variable initializer is not a constant.
5184Solution: Return FAIL when trying to get a variable value. Do not execute a
5185 script when an error is detected in the first or second phase.
5186Files: src/eval.c, src/vim9script.c, src/testdir/test_vim9_script.vim
5187
5188Patch 8.2.0756 (after 8.2.0249)
5189Problem: MS-Windows: still a compiler warning.
5190Solution: Move flag to another place in the Makefile. (Ken Takata,
5191 closes #6083)
5192Files: src/Make_mvc.mak
5193
5194Patch 8.2.0757
5195Problem: Vim9: no test for MEMBER instruction.
5196Solution: Add a test. Make matches stricter.
5197Files: src/testdir/test_vim9_disassemble.vim
5198
5199Patch 8.2.0758
5200Problem: Vim9: no test for STORELIST and STOREDICT.
5201Solution: Add a test. Make matches stricter.
5202Files: src/testdir/test_vim9_disassemble.vim
5203
5204Patch 8.2.0759 (after 8.2.0751)
5205Problem: Vim9: missing changes for performance improvements
5206Solution: Use GA_GROW(). Don't call breakcheck so often.
5207Files: src/vim9execute.c
5208
5209Patch 8.2.0760
5210Problem: Vim9: dict member errors not tested.
5211Solution: Delete unreachable error. Add tests.
5212Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
5213
5214Patch 8.2.0761
5215Problem: Vim9: instructions not tested
5216Solution: Use a variable instead of a constant.
5217Files: src/testdir/test_vim9_expr.vim
5218
5219Patch 8.2.0762
5220Problem: Buffer is not considered modified after setting crypt key.
5221Solution: Set the modified flag. (Christian Brabandt, closes #6082)
5222Files: src/optionstr.c, src/testdir/test_crypt.vim
5223
5224Patch 8.2.0763
5225Problem: GUI test fails without the terminal feature.
5226Solution: Check the terminal feature is supported. (Ken Takata,
5227 closes #6084)
5228Files: src/testdir/test_gui.vim
5229
5230Patch 8.2.0764
5231Problem: Vim9: assigning to option not fully tested.
5232Solution: Add more test cases. Allow using any type for assignment.
5233Files: src/vim9compile.c, src/vim9execute.c,
5234 src/testdir/test_vim9_script.vim
5235
5236Patch 8.2.0765
5237Problem: In the GUI can't use all the modifiers. (Andri Möll)
5238Solution: Do not apply Alt/Meta early, do it later like with the terminal.
5239 Avoid the Motif test from crashing.
5240Files: src/gui_gtk_x11.c, src/gui_x11.c, src/gui_mac.c, src/gui_w32.c,
5241 src/gui_motif.c
5242
5243Patch 8.2.0766
5244Problem: Display error when using 'number' and 'breakindent'.
5245Solution: Adjust extra spaces in the first row. (Ken Takata, closes #6089,
5246 closes #5986)
5247Files: src/drawline.c, src/testdir/test_breakindent.vim
5248
5249Patch 8.2.0767
5250Problem: ModifyOtherKeys active when using a shell command in autocmd.
5251Solution: Output T_CTE when going to cooked mode. (closes 5617)
5252Files: src/term.c
5253
5254Patch 8.2.0768
5255Problem: Vim9: memory leak in script test.
5256Solution: Clear typval before giving an error message.
5257Files: src/vim9execute.c
5258
5259Patch 8.2.0769
5260Problem: VimLeavePre not triggered when Vim is terminated.
5261Solution: Unblock autocommands.
5262Files: src/main.c, src/testdir/test_signals.vim
5263
5264Patch 8.2.0770
5265Problem: Cannot map CTRL-B when using the GUI.
5266Solution: Reset the CTRL modifier when used. (closes #6092)
5267Files: src/gui_gtk_x11.c
5268
5269Patch 8.2.0771
5270Problem: Vim9: cannot call a compiled closure from not compiled code.
5271Solution: Pass funcexe to call_user_func().
5272Files: src/userfunc.c, src/vim9execute.c, src/proto/vim9execute.pro,
5273 src/eval.c, src/testdir/test_vim9_func.vim
5274
5275Patch 8.2.0772
5276Problem: Vim9: some variable initializations not tested.
5277Solution: Add a few more tests
5278Files: src/testdir/test_vim9_script.vim
5279
5280Patch 8.2.0773
5281Problem: Switching to raw mode every time ":" is used.
5282Solution: When executing a shell set cur_tmode to TMODE_UNKNOWN, so that the
5283 next time TMODE_RAW is used it is set, but not every time.
5284Files: src/term.h, src/os_unix.c, src/term.c, src/os_amiga.c,
5285 src/os_win32.c
5286
5287Patch 8.2.0774
5288Problem: t_TI and t_TE are output when using 'visualbell'. (Dominique
5289 Pellé)
5290Solution: Do not change the terminal mode for a short sleep. Do not output
5291 t_TI and t_TE when switching to/from TMODE_SLEEP. Make tmode an
5292 enum.
5293Files: src/os_unix.c, src/proto/os_unix.pro, src/os_amiga.c,
5294 src/proto/os_amiga.pro, src/os_mswin.c, src/proto/os_mswin.pro,
5295 src/os_vms.c, src/proto/os_vms.pro, src/os_win32.c,
5296 src/proto/os_win32.pro, src/term.c, src/term.h, src/globals.h
5297
5298Patch 8.2.0775
5299Problem: Not easy to call a Vim function from Lua.
5300Solution: Add vim.call() and vim.fn(). (Prabir Shrestha, closes #6063)
5301Files: runtime/doc/if_lua.txt, src/if_lua.c, src/testdir/test_lua.vim
5302
5303Patch 8.2.0776
5304Problem: Libvterm code lags behind the upstream version.
5305Solution: Include revision 719.
5306Files: Filelist, src/libvterm/README, src/libvterm/Makefile,
5307 src/libvterm/find-wide-chars.pl, src/libvterm/src/fullwidth.inc,
5308 src/libvterm/src/unicode.c
5309
5310Patch 8.2.0777 (after 8.2.0776)
5311Problem: Terminal test fails.
5312Solution: Adjust character position for double-wide characters.
5313Files: src/testdir/test_terminal.vim
5314
5315Patch 8.2.0778
5316Problem: Libvterm code lags behind the upstream version.
5317Solution: Include revisions 720 - 723.
5318Files: src/libvterm/t/10state_putglyph.test, src/libvterm/Makefile,
5319 src/libvterm/t/run-test.pl, src/libvterm/src/state.c,
5320 src/libvterm/t/92lp1805050.test
5321
5322Patch 8.2.0779
5323Problem: Tmode_T not used everywhere.
5324Solution: Also use tmode_T for settmode().
5325Files: src/term.c, src/proto/term.pro
5326
5327Patch 8.2.0780
5328Problem: Libvterm code lags behind the upstream version.
5329Solution: Include revisions 724 - 726.
5330Files: Filelist, src/libvterm/t/40screen_ascii.test,
5331 src/libvterm/t/60screen_ascii.test,
5332 src/libvterm/t/41screen_unicode.test,
5333 src/libvterm/t/61screen_unicode.test,
5334 src/libvterm/t/42screen_damage.test,
5335 src/libvterm/t/62screen_damage.test,
5336 src/libvterm/t/43screen_resize.test,
5337 src/libvterm/t/63screen_resize.test,
5338 src/libvterm/t/44screen_pen.test,
5339 src/libvterm/t/64screen_pen.test,
5340 src/libvterm/t/45screen_protect.test,
5341 src/libvterm/t/65screen_protect.test,
5342 src/libvterm/t/46screen_extent.test,
5343 src/libvterm/t/66screen_extent.test,
5344 src/libvterm/t/47screen_dbl_wh.test,
5345 src/libvterm/t/67screen_dbl_wh.test,
5346 src/libvterm/t/48screen_termprops.test,
5347 src/libvterm/t/68screen_termprops.test, src/libvterm/t/30pen.test,
5348 src/libvterm/t/30state_pen.test, src/libvterm/t/92lp1805050.test,
5349 src/libvterm/t/31state_rep.test, src/libvterm/doc/seqs.txt
5350
5351Patch 8.2.0781 (after 8.2.0775)
5352Problem: Compiler warning for not using value in Lua.
5353Solution: Add "(void)".
5354Files: src/if_lua.c
5355
5356Patch 8.2.0782
5357Problem: Cannot build with Lua on MS-Windows.
5358Solution: Add DLL symbol for luaL_Loadstring. (Ken Takata)
5359Files: src/if_lua.c
5360
5361Patch 8.2.0783
5362Problem: Libvterm code lags behind the upstream version.
5363Solution: Include revisions 728 - 729.
5364Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Makefile,
5365 src/libvterm/src/keyboard.c, src/libvterm/t/25state_input.test,
5366 src/libvterm/t/harness.c, src/libvterm/src/vterm.c,
5367 src/libvterm/src/vterm_internal.h,
5368 src/libvterm/t/26state_query.test
5369
5370Patch 8.2.0784
5371Problem: Libvterm code lags behind the upstream version.
5372Solution: Include revisions 730 - 733.
5373Files: src/libvterm/src/vterm.c, src/libvterm/src/state.c,
5374 src/libvterm/include/vterm.h, src/libvterm/src/vterm_internal.h,
5375 src/libvterm/t/harness.c
5376
5377Patch 8.2.0785
5378Problem: Libvterm code lags behind the upstream version.
5379Solution: Include revisions 734 - 740.
5380Files: src/libvterm/include/vterm.h, src/libvterm/src/pen.c,
5381 src/libvterm/src/vterm.c, src/libvterm/doc/seqs.txt,
5382 src/libvterm/t/30state_pen.test, src/libvterm/t/run-test.pl,
5383 src/libvterm/Makefile, src/libvterm/CONTRIBUTING
5384
5385Patch 8.2.0786
5386Problem: Channel test is flaky on FreeBSD.
5387Solution: Set the socket TCP_NODELAY option. Adjust expected line count in
5388 netbeans test. (Ozaki Kiichi, closes #6097)
5389Files: src/testdir/test_channel.py, src/testdir/test_netbeans.vim
5390
5391Patch 8.2.0787
5392Problem: Libvterm code lags behind the upstream version.
5393Solution: Include revisions 741 - 742.
5394Files: Filelist, src/libvterm/src/screen.c
5395
5396Patch 8.2.0788
5397Problem: Memory leak in libvterm.
5398Solution: free tmpbuffer.
5399Files: src/libvterm/src/vterm.c
5400
5401Patch 8.2.0789
5402Problem: Vim9: expression testing lost coverage using constants.
5403Solution: Use a few variables instead of constants.
5404Files: src/testdir/test_vim9_expr.vim
5405
5406Patch 8.2.0790
5407Problem: Vim9: list index not well tested.
5408Solution: Add a few more tests.
5409Files: src/testdir/test_vim9_script.vim
5410
5411Patch 8.2.0791
5412Problem: A second popup window with terminal causes trouble.
5413Solution: Disallow opening a second terminal-popup window. (closes #6101,
5414 closes #6103) Avoid defaulting to an invalid line number.
5415Files: runtime/doc/popup.txt, src/popupwin.c, src/ex_docmd.c,
5416 src/testdir/test_popupwin.vim, src/testdir/test_terminal.vim
5417
5418Patch 8.2.0792
5419Problem: Build failure with small features.
5420Solution: Add #ifdef.
5421Files: src/popupwin.c
5422
5423Patch 8.2.0793
5424Problem: MS-Windows: cannot build GUI with small features. (Michael Soyka)
5425Solution: Add #ifdef around use of windowsVersion. (Ken Takata)
5426Files: src/os_win32.c
5427
5428Patch 8.2.0794
5429Problem: Libvterm code lags behind the upstream version.
5430Solution: Include revisions 743 - 747.
5431Files: src/libvterm/src/state.c, src/libvterm/src/screen.c,
5432 src/libvterm/src/vterm_internal.h, src/libvterm/include/vterm.h,
5433 src/libvterm/t/67screen_dbl_wh.test, src/libvterm/t/run-test.pl
5434
5435Patch 8.2.0795
5436Problem: Libvterm code lags behind the upstream version.
5437Solution: Include revisions 748 - 754.
5438Files: src/libvterm/include/vterm.h, src/libvterm/src/screen.c,
5439 src/libvterm/src/state.c, src/libvterm/t/32state_flow.test,
5440 src/libvterm/t/60screen_ascii.test,
5441 src/libvterm/t/62screen_damage.test,
5442 src/libvterm/t/63screen_resize.test, src/libvterm/t/harness.c,
5443 src/libvterm/t/run-test.pl
5444
5445Patch 8.2.0796
5446Problem: MS-Windows: compiler can't handle C99 construct in libvterm.
5447Solution: Change to C90 construct.
5448Files: src/libvterm/src/state.c
5449
5450Patch 8.2.0797
5451Problem: MS-Windows: compiler still can't handle C99 construct.
5452Solution: Change to C90 construct. (Dominique Pellé, closes #6106)
5453Files: src/libvterm/src/state.c
5454
5455Patch 8.2.0798
5456Problem: Libvterm code lags behind the upstream version.
5457Solution: Include revisions 755 - 758.
5458Files: src/libvterm/t/run-test.pl, src/libvterm/src/screen.c,
5459 src/libvterm/t/harness.c, src/libvterm/include/vterm.h,
5460 src/libvterm/src/parser.c, src/libvterm/src/state.c,
5461 src/libvterm/src/vterm.c, src/libvterm/src/vterm_internal.h,
5462 src/libvterm/t/02parser.test,
5463 src/libvterm/t/18state_termprops.test,
5464 src/libvterm/t/29state_fallback.test,
5465 src/libvterm/t/68screen_termprops.test, src/terminal.c
5466
5467Patch 8.2.0799
5468Problem: Build fails if snprintf is not available.
5469Solution: Use vim_snprintf().
5470Files: src/libvterm/src/state.c
5471
5472Patch 8.2.0800
5473Problem: Errors from failing test are unclear.
5474Solution: Include text where parsing failed.
5475Files: src/json.c, src/testdir/test_json.vim
5476
5477Patch 8.2.0801
5478Problem: Terminal test fails on Mac.
5479Solution: Concatenate OSC pieces.
5480Files: src/terminal.c
5481
5482Patch 8.2.0802
5483Problem: Libvterm code lags behind the upstream version.
5484Solution: Include revisions 759 - 762.
5485Files: src/terminal.c, src/libvterm/doc/seqs.txt,
5486 src/libvterm/include/vterm.h, src/libvterm/src/pen.c,
5487 src/libvterm/src/screen.c, src/libvterm/src/state.c,
5488 src/libvterm/src/vterm.c, src/libvterm/src/vterm_internal.h,
5489 src/libvterm/t/harness.c, src/libvterm/t/12state_scroll.test
5490
5491Patch 8.2.0803
5492Problem: Libvterm code lags behind the upstream version.
5493Solution: Include revisions 764 - 767
5494Files: src/Makefile, src/libvterm/src/parser.c,
5495 src/libvterm/src/vterm_internal.h, src/libvterm/t/02parser.test,
5496 src/libvterm/t/run-test.pl, src/libvterm/find-wide-chars.pl,
5497 src/libvterm/src/fullwidth.inc
5498
5499Patch 8.2.0804
5500Problem: Libvterm code lags behind the upstream version.
5501Solution: Include revision 727, but add the index instead of switching
5502 between RGB and indexed.
5503Files: src/terminal.c, src/term.c, src/libvterm/include/vterm.h,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00005504 src/libvterm/src/pen.c, src/libvterm/src/screen.c,
5505 src/libvterm/src/vterm_internal.h,
5506 src/libvterm/t/30state_pen.test,
Bram Moolenaarc51cf032022-02-26 12:25:45 +00005507 src/libvterm/t/harness.c, src/libvterm/src/state.c,
5508 src/libvterm/t/26state_query.test,
5509 src/libvterm/t/64screen_pen.test
5510
5511Patch 8.2.0805
5512Problem: Terminal key codes test fails on some systems.
5513Solution: Skip keypad 3 and 9. (Yegappan Lakshmanan, closes #6070)
5514Files: src/testdir/test_terminal.vim
5515
5516Patch 8.2.0806
5517Problem: using "func!" after vim9script gives confusing error.
5518Solution: Give E477. (closes #6107)
5519Files: src/vim9script.c, src/testdir/test_vim9_script.vim
5520
5521Patch 8.2.0807
5522Problem: Cannot easily restore a mapping.
5523Solution: Add mapset().
5524Files: runtime/doc/eval.txt, src/map.c, src/proto/map.pro, src/evalfunc.c
5525 src/testdir/test_maparg.vim
5526
5527Patch 8.2.0808
5528Problem: Not enough testing for the terminal window.
5529Solution: Add more tests. (Yegappan Lakshmanan, closes #6069) Fix memory
5530 leak.
5531Files: src/testdir/test_gui.vim, src/testdir/test_terminal.vim,
5532 src/terminal.c
5533
5534Patch 8.2.0809
5535Problem: Build failure with small features. (Tony Mechelynck)
5536Solution: Move "expr" inside #ifdef.
5537Files: src/map.c
5538
5539Patch 8.2.0810
5540Problem: Error when appending "tagfile" to 'wildoptions'.
5541Solution: use flags P_ONECOMMA and P_NODUP. (Dmitri Vereshchagin,
5542 closes #6105)
5543Files: src/optiondefs.h, src/testdir/test_options.vim
5544
5545Patch 8.2.0811
5546Problem: Terminal keycode test is flaky.
5547Solution: Use WaitForAssert()
5548Files: src/testdir/test_terminal.vim
5549
5550Patch 8.2.0812
5551Problem: mapset() does not properly handle <> notation.
5552Solution: Convert <> codes. (closes #6116)
5553Files: src/map.c, src/testdir/test_maparg.vim
5554
5555Patch 8.2.0813
5556Problem: libvterm code is slightly different from upstream.
5557Solution: Use upstream text to avoid future merge problems. Mainly comment
5558 style changes.
5559Files: src/libvterm/include/vterm.h, src/libvterm/src/rect.h,
5560 src/libvterm/src/utf8.h, src/libvterm/src/vterm_internal.h,
5561 src/libvterm/src/encoding.c, src/libvterm/src/keyboard.c,
5562 src/libvterm/src/mouse.c, src/libvterm/src/parser.c,
5563 src/libvterm/src/pen.c, src/libvterm/src/screen.c,
5564 src/libvterm/src/state.c, src/libvterm/src/unicode.c,
5565 src/libvterm/src/vterm.c
5566
5567Patch 8.2.0814
5568Problem: Clang warning for implicit conversion.
5569Solution: Add type cast. (Dominique Pellé, closes #6124)
5570Files: src/evalfunc.c
5571
5572Patch 8.2.0815
5573Problem: maparg() does not provide enough information for mapset().
5574Solution: Add "lhsraw" and "lhsrawalt" items. Drop "simplified"
5575Files: src/map.c, runtime/doc/eval.txt, src/testdir/test_maparg.vim
5576
5577Patch 8.2.0816
5578Problem: Terminal test fails when compiled with Athena.
5579Solution: Do give an error when the GUI is not running. (hint by Dominique
5580 Pellé, closes #5928, closes #6132)
5581Files: src/globals.h, src/gui.c, src/term.c, src/channel.c,
5582 src/testdir/test_terminal.vim
5583
5584Patch 8.2.0817
5585Problem: Not enough memory allocated when converting string with special
5586 character.
5587Solution: Reserve space for modifier code. (closes #6130)
5588Files: src/eval.c, src/testdir/test_functions.vim
5589
5590Patch 8.2.0818
5591Problem: Vim9: using a discovery phase doesn't work well.
5592Solution: Remove the discovery phase, instead compile a function only when
5593 it is used. Add :defcompile to compile def functions earlier.
5594Files: runtime/doc/vim9.txt, src/vim9script.c, src/structs.h,
5595 src/userfunc.c, src/proto/userfunc.pro, src/eval.c,
5596 src/evalvars.c, src/proto/evalvars.pro, src/vim9compile.c,
5597 src/proto/vim9compile.pro, src/vim9execute.c, src/ex_cmds.h,
5598 src/ex_docmd.c, src/ex_cmdidxs.h, src/vim.h, src/testdir/vim9.vim,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00005599 src/testdir/test_vim9_disassemble.vim,
Bram Moolenaarc51cf032022-02-26 12:25:45 +00005600 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
5601
5602Patch 8.2.0819
5603Problem: Compiler warning for unused variable.
5604Solution: Remove the variable.
5605Files: src/evalvars.c
5606
5607Patch 8.2.0820
5608Problem: Vim9: function type isn't set until compiled.
5609Solution: Set function type early.
5610Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
5611 src/testdir/test_vim9_func.vim
5612
5613Patch 8.2.0821
5614Problem: Vim9: memory leak in expr test.
5615Solution: Do not decrement the length of the list of functions if the
5616 current function is not at the end.
5617Files: src/vim9compile.c
5618
5619Patch 8.2.0822
5620Problem: Vim9: code left over from discovery phase.
5621Solution: Remove the dead code.
5622Files: src/scriptfile.c, src/proto/scriptfile.pro, src/ex_cmds.h,
5623 src/evalvars.c, src/proto/evalvars.pro, src/ex_docmd.c
5624
5625Patch 8.2.0823
5626Problem: Vim9: script reload test is disabled.
5627Solution: Compile a function in the context of the script where it was
5628 defined. Set execution stack for compiled function. Add a test
5629 that an error is reported for the right file/function.
5630Files: src/vim9compile.c, src/vim9execute.c, src/scriptfile.c,
5631 src/proto/scriptfile.pro, src/userfunc.c, src/globals.h,
5632 src/structs.h, src/ex_docmd.c, src/ex_eval.c,
5633 src/testdir/test_vim9_script.vim
5634
5635Patch 8.2.0824 (after 8.2.0817)
5636Problem: Still not enough memory allocated when converting string with
5637 special character.
5638Solution: Reserve space for expanding K_SPECIAL. (closes #6130)
5639Files: src/eval.c, src/testdir/test_functions.vim
5640
5641Patch 8.2.0825
5642Problem: def_function() may return pointer that was freed.
5643Solution: Set "fp" to NULL after freeing it.
5644Files: src/userfunc.c
5645
5646Patch 8.2.0826
5647Problem: Vim9: crash in :defcompile.
5648Solution: Restart the loop after a call to compile_def_function() caused the
5649 hash table to resize.
5650Files: src/userfunc.c
5651
5652Patch 8.2.0827
5653Problem: Vim9: crash in :defcompile.
5654Solution: Fix off-by-one error.
5655Files: src/userfunc.c
5656
5657Patch 8.2.0828
5658Problem: Travis: regexp pattern doesn't work everywhere.
5659Solution: Use [:blank:] instead of \b. (Ozaki Kiichi, closes #6146)
5660Files: .travis.yml, ci/config.mk.clang.sed, ci/config.mk.gcc.sed,
5661 ci/config.mk.sed, src/if_ruby.c
5662
5663Patch 8.2.0829
5664Problem: filter() may give misleading error message.
5665Solution: Also mention Blob as an allowed argument.
5666Files: src/list.c, src/testdir/test_filter_map.vim
5667
5668Patch 8.2.0830
5669Problem: Motif: can't map "!". (Ben Jackson)
5670Solution: Remove the shift modifier if it's already included in the key.
5671 (closes #6147)
5672Files: src/gui_x11.c
5673
5674Patch 8.2.0831
5675Problem: Compiler warnings for integer sizes.
5676Solution: Add type casts. (Mike Williams)
5677Files: src/libvterm/src/pen.c, src/terminal.c
5678
5679Patch 8.2.0832
5680Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
5681Solution: Add initial value.
5682Files: src/map.c
5683
5684Patch 8.2.0833
5685Problem: Mapping <C-bslash> doesn't work in the GUI.
5686Solution: Reset seenModifyOtherKeys when starting the GUI. (closes #6150)
5687Files: src/gui.c
5688
5689Patch 8.2.0834
5690Problem: :drop command in terminal popup causes problems.
5691Solution: Check for using a popup window. (closes #6151)
5692Files: src/ex_cmds.c, src/testdir/test_popupwin.vim
5693
5694Patch 8.2.0835
5695Problem: Motif: mapping <C-bslash> still doesn't work.
5696Solution: Accept CSI for K_SPECIAL. Do not apply CTRL to the character
5697 early. (closes #6150)
5698Files: src/getchar.c, src/gui_x11.c
5699
5700Patch 8.2.0836
5701Problem: Not all :cdo output is visible.
5702Solution: Reset 'shortmess' temporarily. (Yegappan Lakshmanan, closes #6155)
5703Files: src/ex_cmds2.c, src/testdir/test_cdo.vim
5704
5705Patch 8.2.0837
5706Problem: Compiler warning for value set but not used.
5707Solution: Move variable inside #ifdef.
5708Files: src/channel.c
5709
5710Patch 8.2.0838
5711Problem: MS-Windows: compiler warning for uninitialized variables.
5712Solution: Initialize variables.
5713Files: src/screen.c
5714
5715Patch 8.2.0839
5716Problem: Dropping modifier when putting a character back in typeahead.
5717Solution: Add modifier to ins_char_typebuf(). (closes #6158)
5718Files: src/getchar.c, src/proto/getchar.pro, src/message.c, src/normal.c,
5719 src/terminal.c, src/globals.h, src/testdir/test_messages.vim
5720
5721Patch 8.2.0840
5722Problem: Search match count wrong when only match is in fold.
5723Solution: Update search stats when in a closed fold. (Christian Brabandt,
5724 closes #6160, closes #6152)
5725Files: src/search.c, src/testdir/dumps/Test_searchstat_3.dump,
5726 src/testdir/test_search_stat.vim
5727
5728Patch 8.2.0841
5729Problem: 'verbose' value 16 causes duplicate output.
5730Solution: Combine levels 15 and 16 into one message. (Christian Brabandt,
5731 closes #6153)
5732Files: runtime/doc/options.txt, src/ex_docmd.c
5733
5734Patch 8.2.0842 (after 8.2.0837)
5735Problem: MS-Windows: channel tests fail.
5736Solution: Adjust #ifdefs. (closes #6162)
5737Files: src/channel.c
5738
5739Patch 8.2.0843
5740Problem: Filetype elm not detected.
5741Solution: Recognize *.elm files. (closes #6157)
5742Files: runtime/filetype.vim, src/testdir/test_filetype.vim
5743
5744Patch 8.2.0844
5745Problem: Text properties crossing lines not handled correctly.
5746Solution: When saving for undo include an extra line when needed and do not
5747 adjust properties when undoing. (Axel Forsman, closes #5875)
5748Files: src/memline.c, src/proto/memline.pro, src/undo.c, src/structs.h
5749
5750Patch 8.2.0845
5751Problem: Text properties crossing lines not handled correctly.
5752Solution: When joining lines merge text properties if possible.
5753 (Axel Forsman, closes #5839, closes #5683)
5754Files: src/testdir/test_textprop.vim, src/memline.c, src/ops.c,
5755 src/proto/textprop.pro, src/textprop.c,
5756 src/testdir/dumps/Test_textprop_01.dump
5757
5758Patch 8.2.0846
5759Problem: Build failure with small features.
5760Solution: Add #ifdef.
5761Files: src/undo.c
5762
5763Patch 8.2.0847
5764Problem: Typval related code is spread out.
5765Solution: Move code to new typval.c file. (Yegappan Lakshmanan, closes #6093)
5766Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
5767 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
5768 src/eval.c, src/evalfunc.c, src/globals.h, src/proto.h,
5769 src/proto/eval.pro, src/proto/evalfunc.pro, src/proto/typval.pro,
5770 src/typval.c
5771
5772Patch 8.2.0848
5773Problem: MS-Windows: the Windows terminal code has some flaws.
5774Solution: Do not redraw the right edge of the screen. Remove the background
5775 color trick. Flush the screen output buffer often. (Nobuhiro
5776 Takasaki, #5546)
5777Files: src/os_win32.c, src/proto/os_win32.pro, src/term.c
5778
5779Patch 8.2.0849
5780Problem: BeOS code is not maintained and probably unused.
5781Solution: Remove the BeOS code. (Emir Sarı, closes #5817)
5782Files: Filelist, src/Makefile, src/configure.ac, src/auto/configure,
5783 src/evalfunc.c, src/normal.c, src/os_beos.c, src/os_beos.h,
5784 src/os_beos.rsrc, src/os_unix.c, src/proto.h,
5785 src/proto/os_beos.pro, src/pty.c, src/screen.c, src/term.c,
5786 src/testdir/test_functions.vim, src/ui.c, src/vim.h
5787
5788Patch 8.2.0850
5789Problem: MS-Windows: exepath() works differently from cmd.exe.
5790Solution: Make exepath() work better on MS-Windows. (closes #6115)
5791Files: runtime/doc/eval.txt, src/os_win32.c,
5792 src/testdir/test_functions.vim
5793
5794Patch 8.2.0851 (after 8.2.0833)
5795Problem: Can't distinguish <M-a> from accented "a" in the GUI.
5796Solution: Use another way to make mapping <C-bslash> work. (closes #6163)
5797Files: src/gui.c, src/gui_gtk_x11.c, src/getchar.c
5798
5799Patch 8.2.0852
5800Problem: Cannot map CTRL-S on some systems.
5801Solution: Do not use CTRL-S for flow control.
5802Files: src/os_unix.c
5803
5804Patch 8.2.0853
5805Problem: ml_delete() often called with FALSE argument.
5806Solution: Use ml_delete_flags(x, ML_DEL_MESSAGE) when argument is TRUE.
5807Files: src/buffer.c, src/change.c, src/diff.c, src/evalbuffer.c,
5808 src/ex_cmds.c, src/ex_docmd.c, src/fileio.c, src/if_lua.c,
5809 src/if_mzsch.c, src/if_ruby.c, src/if_tcl.c, src/normal.c,
5810 src/popupmenu.c, src/popupwin.c, src/quickfix.c, src/spell.c,
5811 src/terminal.c, src/if_perl.xs, src/if_py_both.h, src/memline.c,
5812 src/proto/memline.pro
5813
5814Patch 8.2.0854
5815Problem: Xxd cannot show offset as a decimal number.
5816Solution: Add the "-d" flag. (Aapo Rantalainen, closes #5616)
5817Files: src/testdir/test_xxd.vim, src/xxd/xxd.c
5818
5819Patch 8.2.0855
5820Problem: GUI tests fail because the test doesn't use a modifier.
5821Solution: Add "\{xxx}" to be able to encode a modifier.
5822Files: runtime/doc/eval.txt, src/typval.c, src/misc2.c, src/vim.h,
5823 src/proto/misc2.pro, src/gui_mac.c, src/option.c, src/highlight.c,
5824 src/term.c, src/testdir/test_backspace_opt.vim,
5825 src/testdir/test_mapping.vim, src/testdir/test_messages.vim
5826
5827Patch 8.2.0856 (after 8.2.0852)
5828Problem: CTRL-S stops output.
5829Solution: Invert the IXON flag. (closes #6166)
5830Files: src/os_unix.c
5831
5832Patch 8.2.0857
5833Problem: GTK cell height can be a pixel too much.
5834Solution: Subtract 3 instead of 1 when rounding. (closes #6168)
5835Files: src/gui_gtk_x11.c
5836
5837Patch 8.2.0858
5838Problem: Not easy to require Lua modules.
5839Solution: Improve use of Lua path. (Prabir Shrestha, closes #6098)
5840Files: Filelist, src/if_lua.c, src/optionstr.c, src/proto/if_lua.pro,
5841 src/testdir/test_lua.vim,
5842 src/testdir/testluaplugin/lua/testluaplugin/hello.lua,
5843 src/testdir/testluaplugin/lua/testluaplugin/init.lua
5844
5845Patch 8.2.0859
5846Problem: No Turkish translation of the manual.
5847Solution: Add Turkish translations. (Emir Sarı, closes #5641)
5848Files: Filelist, runtime/doc/Makefile, runtime/doc/evim-tr.1,
5849 runtime/doc/evim-tr.UTF-8.1, runtime/doc/vim-tr.1,
5850 runtime/doc/vim-tr.UTF-8.1, runtime/doc/vimdiff-tr.1,
5851 runtime/doc/vimdiff-tr.UTF-8.1, runtime/doc/vimtutor-tr.1,
5852 runtime/doc/vimtutor-tr.UTF-8.1, src/Makefile
5853
5854Patch 8.2.0860
5855Problem: Cannot use CTRL-A and CTRL-X on unsigned numbers.
5856Solution: Add "unsigned" to 'nrformats'. (Naruhiko Nishino, closes #6144)
5857Files: runtime/doc/options.txt, src/ops.c, src/optionstr.c,
5858 src/testdir/test_increment.vim
5859
5860Patch 8.2.0861
5861Problem: Cannot easily get all the current marks.
5862Solution: Add getmarklist(). (Yegappan Lakshmanan, closes #6032)
5863Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
5864 src/mark.c, src/proto/mark.pro, src/testdir/test_marks.vim
5865
5866Patch 8.2.0862
5867Problem: ":term ++curwin" makes the current buffer hidden. (Harm te
5868 Hennepe)
5869Solution: Do not hide the current buffer. (closes #6170)
5870Files: src/terminal.c, src/testdir/test_terminal.vim
5871
5872Patch 8.2.0863
5873Problem: Cannot set a separate color for underline/undercurl.
5874Solution: Add the t_AU and t_8u termcap codes. (Timur Celik, closes #6011)
5875Files: runtime/doc/syntax.txt, runtime/doc/term.txt, src/globals.h,
5876 src/highlight.c, src/optiondefs.h, src/proto/term.pro,
5877 src/screen.c, src/structs.h, src/term.c, src/term.h,
5878 src/testdir/test_options.vim
5879
5880Patch 8.2.0864
5881Problem: Pragmas are indented all the way to the left.
5882Solution: Add an option to indent pragmas like normal code. (Max Rumpf,
5883 closes #5468)
5884Files: runtime/doc/indent.txt, src/cindent.c, src/structs.h,
5885 src/testdir/test_cindent.vim
5886
5887Patch 8.2.0865
5888Problem: Syntax foldlevel is taken from the start of the line.
5889Solution: Add ":syn foldlevel" to be able to use the minimal foldlevel in
5890 the line. (Brad King, closes #6087)
5891Files: runtime/doc/syntax.txt, src/structs.h, src/syntax.c,
5892 src/testdir/test_syntax.vim
5893
5894Patch 8.2.0866
5895Problem: Not enough tests for buffer writing.
5896Solution: Add more tests. Use CheckRunVimInTerminal in more places.
5897 (Yegappan Lakshmanan, closes #6167)
5898Files: src/testdir/test_arglist.vim, src/testdir/test_match.vim,
5899 src/testdir/test_messages.vim, src/testdir/test_netbeans.py,
5900 src/testdir/test_netbeans.vim, src/testdir/test_search.vim,
5901 src/testdir/test_signals.vim, src/testdir/test_signs.vim,
5902 src/testdir/test_startup.vim, src/testdir/test_startup_utf8.vim,
5903 src/testdir/test_syntax.vim, src/testdir/test_tabpage.vim,
5904 src/testdir/test_timers.vim, src/testdir/test_vimscript.vim,
5905 src/testdir/test_writefile.vim
5906
5907Patch 8.2.0867
5908Problem: Using \{xxx} for encoding a modifier is not nice.
5909Solution: Use \<*xxx> instead, since it's the same as \<xxx> but producing a
5910 different code.
5911Files: runtime/doc/eval.txt, src/typval.c, src/misc2.c, src/vim.h,
5912 src/testdir/test_backspace_opt.vim, src/testdir/test_mapping.vim,
5913 src/testdir/test_messages.vim
5914
5915Patch 8.2.0868
5916Problem: trim() always trims both ends.
5917Solution: Add an argument to only trim the beginning or end. (Yegappan
5918 Lakshmanan, closes #6126)
5919Files: runtime/doc/eval.txt, src/evalfunc.c,
5920 src/testdir/test_functions.vim
5921
5922Patch 8.2.0869
5923Problem: It is not possible to customize the quickfix window contents.
5924Solution: Add 'quickfixtextfunc'. (Yegappan Lakshmanan, closes #5465)
5925Files: runtime/doc/eval.txt, runtime/doc/options.txt,
5926 runtime/doc/quickfix.txt, src/option.h, src/optiondefs.h,
5927 src/quickfix.c, src/testdir/test_quickfix.vim
5928
5929Patch 8.2.0870
5930Problem: MS-Windows: Control keys don't work in the GUI.
5931Solution: Don't set seenModifyOtherKeys for now. (Yasuhiro Matsumoto,
5932 closes #6175)
5933Files: src/gui.c
5934
5935Patch 8.2.0871
5936Problem: Cannot use getmarklist() as a method.
5937Solution: Make getmarklist() work as a method. Add one to the column
5938 number to match getpos(). (Yegappan Lakshmanan, closes #6176)
5939Files: runtime/doc/eval.txt, src/evalfunc.c, src/mark.c,
5940 src/testdir/test_marks.vim
5941
5942Patch 8.2.0872
5943Problem: XIM code is mixed with multibyte code.
5944Solution: Move the XIM code to a separate file. (Yegappan Lakshmanan,
5945 closes #6177)
5946Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
5947 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/gui_xim.c,
5948 src/mbyte.c, src/proto.h, src/proto/gui_xim.pro,
5949 src/proto/mbyte.pro
5950
5951Patch 8.2.0873
5952Problem: A .jl file can be sawfish (lisp) or Julia.
5953Solution: Do not recognize *.jl as lisp, since it might be Julia.
5954 (closes #6178)
5955Files: runtime/filetype.vim, src/testdir/test_filetype.vim
5956
5957Patch 8.2.0874
5958Problem: Signals test is a bit flaky.
5959Solution: Flush the XautoOut file. Delete files that may be left behind
5960 from a failure. (Dominique Pellé, closes #6179)
5961Files: src/testdir/test_signals.vim
5962
5963Patch 8.2.0875
5964Problem: Getting attributes for directory entries is slow.
5965Solution: Add readdirex(). (Ken Takata, closes #5619)
5966Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00005967 src/fileio.c, src/filepath.c, src/proto/fileio.pro,
Bram Moolenaarc51cf032022-02-26 12:25:45 +00005968 src/proto/filepath.pro, src/testdir/test_functions.vim
5969
5970Patch 8.2.0876
5971Problem: :pwd does not give a hint about the scope of the directory
5972Solution: Make ":verbose pwd" show the scope. (Takuya Fujiwara, closes #5469)
5973Files: runtime/doc/editing.txt, src/ex_docmd.c, src/testdir/test_cd.vim
5974
5975Patch 8.2.0877
5976Problem: Cannot get the search statistics.
5977Solution: Add the searchcount() function. (Fujiwara Takuya, closes #4446)
5978Files: runtime/doc/eval.txt, src/evalfunc.c, src/macros.h,
5979 src/proto/search.pro, src/search.c,
5980 src/testdir/test_search_stat.vim
5981
5982Patch 8.2.0878
5983Problem: No reduce() function.
5984Solution: Add a reduce() function. (closes #5481)
5985Files: runtime/doc/eval.txt, src/evalfunc.c, src/globals.h, src/list.c,
5986 src/proto/list.pro, src/testdir/test_listdict.vim
5987
5988Patch 8.2.0879
5989Problem: Compiler warning for unused function argument.
5990Solution: Add UNUSED.
5991Files: src/search.c
5992
5993Patch 8.2.0880 (after 8.2.0877)
5994Problem: Leaking memory when using searchcount().
5995Solution: Free the last used search pattern.
5996Files: src/search.c
5997
5998Patch 8.2.0881
5999Problem: Compiler warning for argument type.
6000Solution: Add type cast. (Mike Williams)
6001Files: src/ops.c
6002
6003Patch 8.2.0882
6004Problem: Leaking memory when using reduce().
6005Solution: Free the intermediate value.
6006Files: src/list.c
6007
6008Patch 8.2.0883
6009Problem: Memory leak in test 49.
6010Solution: Free "sfile" from the exception.
6011Files: src/ex_docmd.c
6012
6013Patch 8.2.0884
6014Problem: Searchcount() test fails on slower systems.
6015Solution: Set a longer timeout.
6016Files: src/search.c, src/testdir/test_search_stat.vim
6017
6018Patch 8.2.0885
6019Problem: "make shadow" does not link new lua test dir.
6020Solution: Also link testdir/testluaplugin. (Elimar Riesebieter)
6021Files: src/Makefile
6022
6023Patch 8.2.0886
6024Problem: Cannot use octal numbers in scriptversion 4.
6025Solution: Add the "0o" notation. (Ken Takata, closes #5304)
6026Files: runtime/doc/eval.txt, src/charset.c, src/evalfunc.c,
6027 src/testdir/test_eval_stuff.vim, src/testdir/test_functions.vim,
6028 src/vim.h
6029
6030Patch 8.2.0887
6031Problem: Searchcount().exact_match is 1 right after a match.
6032Solution: Use LT_POS() instead of LTOREQ_POS(). (closes #6189)
6033Files: src/search.c, src/testdir/test_search_stat.vim
6034
6035Patch 8.2.0888
6036Problem: Readdirex() returns size -2 for a directory.
6037Solution: Add missing "else". (Ken Takata, closes #6185)
6038Files: src/fileio.c, src/testdir/test_functions.vim
6039
6040Patch 8.2.0889
6041Problem: Using old style comments.
6042Solution: Use // comments. (Yegappan Lakshmanan, closes #6190)
6043Files: src/gui_xim.c
6044
6045Patch 8.2.0890
6046Problem: No color in terminal window when 'termguicolors' is set.
6047Solution: Clear the underline color. (closes #6186)
6048Files: src/highlight.c
6049
6050Patch 8.2.0891
6051Problem: Clang warns for invalid conversion.
6052Solution: Use zero instead of INVALCOLOR.
6053Files: src/highlight.c
6054
6055Patch 8.2.0892
6056Problem: Ubsan warns for undefined behavior.
6057Solution: Use unsigned instead of signed variable. (Dominique Pellé,
6058 closes #6193)
6059Files: src/regexp_nfa.c
6060
6061Patch 8.2.0893
6062Problem: Assert_equalfile() does not take a third argument.
6063Solution: Implement the third argument. (Gary Johnson)
6064Files: runtime/doc/eval.txt, runtime/doc/testing.txt, src/evalfunc.c,
6065 src/testdir/test_assert.vim, src/testing.c
6066
6067Patch 8.2.0894
6068Problem: :mkspell can take very long if the word count is high.
6069Solution: Use long to avoid negative numbers. Increase the limits by 20% if
6070 the compression did not have effect.
6071Files: src/spellfile.c
6072
6073Patch 8.2.0895
6074Problem: :mkspell output does not mention the tree type.
6075Solution: Back out increasing the limits, it has no effect. Mention the
6076 tree being compressed. Only give a message once per second.
6077Files: src/spellfile.c
6078
6079Patch 8.2.0896
6080Problem: Crash when calling searchcount() with a string.
6081Solution: Check the argument is a dict. (closes #6192)
6082Files: src/search.c, src/testdir/test_search_stat.vim
6083
6084Patch 8.2.0897
6085Problem: List of functions in patched version is outdated.
6086Solution: Update the function lists only.
6087Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt
6088
6089Patch 8.2.0898
6090Problem: Missing help for a function goes unnoticed.
6091Solution: Add a test. (Gary Johnson)
6092Files: src/testdir/test_function_lists.vim, src/testdir/Make_all.mak
6093
6094Patch 8.2.0899
6095Problem: Assert_equalfile() does not give a hint about the difference.
6096Solution: Display the last seen text.
6097Files: src/testing.c, src/testdir/test_assert.vim
6098
6099Patch 8.2.0900
6100Problem: Function list test fails on MS-Windows.
6101Solution: Make sure the fileformat is "unix"
6102Files: src/testdir/test_function_lists.vim
6103
6104Patch 8.2.0901
6105Problem: Formatting CJK text isn't optimal.
6106Solution: Properly break CJK lines. (closes #3875)
6107Files: runtime/doc/change.txt, src/mbyte.c, src/ops.c, src/option.h,
6108 src/proto/mbyte.pro, src/testdir/Make_all.mak, src/textformat.c,
6109 src/testdir/test_cjk_linebreak.vim
6110
6111Patch 8.2.0902
6112Problem: Using searchcount() in 'statusline' causes an error.
6113Solution: Avoid saving/restoring the search pattern recursively.
6114 (closes #6194)
6115Files: src/search.c, src/testdir/test_search_stat.vim,
6116 src/testdir/dumps/Test_searchstat_4.dump
6117
6118Patch 8.2.0903
6119Problem: comparing WINVER does not work correctly.
6120Solution: Use arithmetic expansion. (Ozaki Kiichi, closes #6197)
6121Files: src/Make_cyg_ming.mak
6122
6123Patch 8.2.0904
6124Problem: Assuming modifyOtherKeys for rhs of mapping.
6125Solution: Ignore seenModifyOtherKeys for mapped characters. (closes #6200)
6126Files: src/getchar.c, src/testdir/test_gui.vim
6127
6128Patch 8.2.0905
6129Problem: Test coverage could be better.
6130Solution: Add a couple of tests. (Dominique Pellé, closes #6202)
6131Files: src/testdir/test_cmdline.vim, src/testdir/test_ga.vim
6132
6133Patch 8.2.0906
6134Problem: When setting 'termguicolors' SpellBad is no longer red.
6135Solution: Only use the RGB guisp color for cterm when using the "underline"
6136 or "undercurl" attributes to avoid the background color to be
6137 cleared. Also make t_8u empty when the termresponse indicates a
6138 real xterm. (closes #6207)
6139Files: src/highlight.c, src/term.c
6140
6141Patch 8.2.0907
6142Problem: When using :global clipboard isn't set correctly.
6143Solution: Set "clip_unnamed_saved" instead of "clip_unnamed". (Christian
6144 Brabandt, closes #6203, closes #6198)
6145Files: src/clipboard.c, src/testdir/test_global.vim
6146
6147Patch 8.2.0908
6148Problem: Crash when changing the function table while listing it.
6149Solution: Bail out when the function table changes. (closes #6209)
6150Files: src/userfunc.c, src/testdir/test_timers.vim
6151
6152Patch 8.2.0909
6153Problem: Cannot go back to the previous local directory.
6154Solution: Add "tcd -" and "lcd -". (Yegappan Lakshmanan, closes #4362)
6155Files: runtime/doc/editing.txt, src/filepath.c, src/ex_docmd.c,
6156 src/structs.h, src/testdir/test_cd.vim, src/window.c
6157
6158Patch 8.2.0910
6159Problem: Vim is not reproducibly buildable.
6160Solution: Use the $SOURCE_DATE_EPOCH environment variable in configure.
6161 (James McCoy, closes #513) Give a warning about using it.
6162Files: src/config.h.in, src/config.mk.in, src/configure.ac,
6163 src/auto/configure, src/version.c, src/Makefile
6164
6165Patch 8.2.0911
6166Problem: Crash when opening a buffer for the cmdline window fails. (Chris
6167 Barber)
6168Solution: Check do_ecmd() succeeds. Reset got_int if "q" was used at the
6169 more prompt. (closes #6211)
6170Files: src/ex_getln.c, src/testdir/test_cmdline.vim,
6171 src/testdir/dumps/Test_cmdwin_interrupted.dump
6172
6173Patch 8.2.0912
6174Problem: A few test cases for CJK formatting are disabled.
6175Solution: Fix the tests and enable them. (closes #6212)
6176Files: src/testdir/test_cjk_linebreak.vim
6177
6178Patch 8.2.0913
6179Problem: Code for resetting v:register is duplicated.
6180Solution: Add reset_reg_var().
6181Files: src/evalvars.c, src/proto/evalvars.pro, src/main.c, src/normal.c
6182
6183Patch 8.2.0914
6184Problem: MS-Windows: cannot specify a "modified by" text.
6185Solution: Add MODIFIED_BY in the MSVC build file. (Chen Lei, closes #1275)
6186Files: src/Make_mvc.mak
6187
6188Patch 8.2.0915
6189Problem: Search() cannot skip over matches like searchpair() can.
6190Solution: Add an optional "skip" argument. (Christian Brabandt, closes #861)
6191Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_syntax.vim,
6192 src/structs.h, src/evalvars.c, src/proto/evalvars.pro
6193
6194Patch 8.2.0916
6195Problem: Mapping with partly modifyOtherKeys code does not work.
6196Solution: If there is no mapping with a separate modifier include the
6197 modifier in the key and then try mapping again. (closes #6200)
6198Files: src/getchar.c, src/proto/getchar.pro, src/edit.c, src/term.c,
6199 src/proto/term.pro, src/testdir/test_termcodes.vim
6200
6201Patch 8.2.0917
6202Problem: Quickfix entries do not support a "note" type.
6203Solution: Add support for "note". (partly by Yegappan Lakshmanan,
6204 closes #5527, closes #6216)
6205Files: runtime/doc/quickfix.txt, src/quickfix.c,
6206 src/testdir/test_quickfix.vim
6207
6208Patch 8.2.0918
6209Problem: Duplicate code for evaluating expression argument.
6210Solution: Merge the code and make the use more flexible.
6211Files: src/evalfunc.c, src/eval.c, src/proto/eval.pro, src/evalvars.c,
6212 src/proto/evalvars.pro, src/structs.h
6213
6214Patch 8.2.0919
6215Problem: Merging modifier for modifyOtherKeys is done twice.
6216Solution: Remove the merging done in vgetc().
6217Files: src/getchar.c, src/ex_getln.c
6218
6219Patch 8.2.0920
6220Problem: Writing viminfo fails with a circular reference.
6221Solution: Use copyID to detect the cycle. (closes #6217)
6222Files: src/testdir/test_viminfo.vim, src/viminfo.c
6223
6224Patch 8.2.0921
6225Problem: CTRL-W T in cmdline window causes trouble.
6226Solution: Disallow CTRL-W T in the cmdline window. Add more tests.
6227 (Naruhiko Nishino, closes #6219)
6228Files: src/testdir/test_cmdline.vim, src/window.c
6229
6230Patch 8.2.0922
6231Problem: Search test fails.
6232Solution: Remove failure tests for calls that no longer fail.
6233Files: src/testdir/test_search.vim
6234
6235Patch 8.2.0923
6236Problem: Cmdline test is slow.
6237Solution: Use WaitForAssert().
6238Files: src/testdir/test_cmdline.vim
6239
6240Patch 8.2.0924
6241Problem: Cannot save and restore a register properly.
6242Solution: Add getreginfo() and make setreg() accept a dictionary. (Andy
6243 Massimino, closes #3370)
6244Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
6245 src/proto/register.pro, src/register.c,
6246 src/testdir/test_eval_stuff.vim, src/testdir/test_registers.vim
6247
6248Patch 8.2.0925
6249Problem: Getcompletion() does not return command line arguments.
6250Solution: Add the "cmdline" option. (Shougo, closes #1140)
6251Files: runtime/doc/eval.txt, src/cmdexpand.c,
6252 src/testdir/test_cmdline.vim
6253
6254Patch 8.2.0926
6255Problem: Cmdline test fails on Appveyor.
6256Solution: Add CR to the commands. (Naruhiko Nishino, closes #6220)
6257Files: src/testdir/test_cmdline.vim
6258
6259Patch 8.2.0927
6260Problem: Some sshconfig and ssdhconfig files are not recognized.
6261Solution: Add filetype patterns.
6262Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6263
6264Patch 8.2.0928
6265Problem: Many type casts are used for vim_strnsave().
6266Solution: Make the length argument size_t instead of int. (Ken Takata,
6267 closes #5633) Remove some type casts.
6268Files: src/misc2.c, src/proto/misc2.pro, src/autocmd.c, src/channel.c,
6269 src/cmdexpand.c, src/dict.c, src/diff.c, src/digraph.c,
6270 src/eval.c, src/evalfunc.c, src/highlight.c, src/syntax.c
6271
6272Patch 8.2.0929
6273Problem: v:register is not cleared after an operator was executed.
6274Solution: Clear v:register after finishing an operator (Andy Massimino,
6275 closes #5305)
6276Files: src/normal.c, src/testdir/test_registers.vim
6277
6278Patch 8.2.0930
6279Problem: Script filetype detection trips over env -S argument.
6280Solution: Remove "-S" and "--ignore-environment". (closes #5013)
6281 Add tests.
6282Files: runtime/scripts.vim, src/testdir/test_filetype.vim
6283
6284Patch 8.2.0931
6285Problem: Some remarks about BeOS remain.
6286Solution: Remove BeOS remarks from the help and other files. (Emir Sarı,
6287 closes #6221)
6288Files: READMEdir/README_extra.txt, runtime/doc/options.txt,
6289 runtime/doc/os_beos.txt, runtime/doc/os_vms.txt,
6290 runtime/doc/vi_diff.txt, src/INSTALL
6291
6292Patch 8.2.0932
6293Problem: Misspelling spelllang.
6294Solution: Add an "l". (Dominique Pellé)
6295Files: src/optionstr.c, src/proto/spell.pro, src/spell.c
6296
6297Patch 8.2.0933
6298Problem: 'quickfixtextfunc' does not get window ID of location list.
6299Solution: Add "winid" to the dict argument. (Yegappan Lakshmanan,
6300 closes #6222)
6301Files: runtime/doc/quickfix.txt, src/quickfix.c,
6302 src/testdir/test_quickfix.vim
6303
6304Patch 8.2.0934
6305Problem: Running lhelpgrep twice in a help window doesn't jump to the help
6306 topic.
6307Solution: Check whether any window with the location list is present.
6308 (Yegappan Lakshmanan, closes #6215)
6309Files: src/quickfix.c, src/testdir/test_quickfix.vim
6310
6311Patch 8.2.0935
6312Problem: Flattening a list with existing code is slow.
6313Solution: Add flatten(). (Mopp, closes #3676)
6314Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
6315 src/list.c, src/proto/list.pro, src/testdir/Make_all.mak,
6316 src/testdir/test_flatten.vim
6317
6318Patch 8.2.0936
6319Problem: Some terminals misinterpret the code for getting cursor style.
6320Solution: Send a sequence to the terminal and check the result. (IWAMOTO
6321 Kouichi, closes #2126) Merged with current code.
6322Files: src/main.c, src/term.c, src/proto/term.pro,
6323 src/testdir/term_util.vim, src/testdir/test_quickfix.vim,
6324 src/testdir/test_terminal.vim, src/testdir/test_startup_utf8.vim,
6325 src/testdir/dumps/Test_balloon_eval_term_01.dump,
6326 src/testdir/dumps/Test_balloon_eval_term_01a.dump,
6327 src/testdir/dumps/Test_balloon_eval_term_02.dump,
6328 src/testdir/dumps/Test_terminal_all_ansi_colors.dump
6329
6330Patch 8.2.0937
6331Problem: Asan failure in the flatten() test.
6332Solution: Free the flattened list.
6333Files: src/list.c
6334
6335Patch 8.2.0938
6336Problem: NFA regexp uses tolower() to compare ignore-case. (Thayne McCombs)
6337Solution: Use utf_fold() when possible. (ref. neovim #12456)
6338Files: src/macros.h, src/diff.c, src/regexp_nfa.c,
6339 src/testdir/test_regexp_utf8.vim
6340
6341Patch 8.2.0939
6342Problem: checking for term escape sequences is long and confusing
6343Solution: Refactor code into separate functions.
6344Files: src/term.c
6345
6346Patch 8.2.0940 (after 8.2.0939)
6347Problem: Build failure with tiny features.
6348Solution: Add #ifdef. Add UNUSED. A bit more cleaning up.
6349Files: src/term.c
6350
6351Patch 8.2.0941
6352Problem: Detecting terminal properties is unstructured.
6353Solution: Add a table with terminal properties. Set properties when a
6354 terminal is detected.
6355Files: src/term.c
6356
6357Patch 8.2.0942
6358Problem: Expanding to local dir after homedir keeps "~/".
6359Solution: Adjust modify_fname(). (Christian Brabandt, closes #6205,
6360 closes #5979)
6361Files: src/filepath.c, src/testdir/test_fnamemodify.vim
6362
6363Patch 8.2.0943
6364Problem: Displaying ^M or ^J depends on current buffer.
6365Solution: Pass the displayed buffer to transchar(). (closes #6225)
6366Files: src/drawline.c, src/charset.c, src/proto/charset.pro,
6367 src/ex_cmds.c, src/gui_beval.c, src/message.c,
6368 src/testdir/test_display.vim,
6369 src/testdir/dumps/Test_display_unprintable_01.dump,
6370 src/testdir/dumps/Test_display_unprintable_02.dump
6371
6372Patch 8.2.0944
6373Problem: Xxd test leaves file behind.
6374Solution: Delete the file "XXDfile". (Christian Brabandt, closes #6228)
6375Files: src/testdir/test_xxd.vim
6376
6377Patch 8.2.0945
6378Problem: Cannot use "z=" when 'spell' is off.
6379Solution: Make "z=" work even when 'spell' is off. (Christian Brabandt,
6380 Gary Johnson, closes #6227)
6381Files: runtime/doc/eval.txt, src/evalfunc.c, src/spell.c,
6382 src/spellsuggest.c, src/testdir/test_spell.vim, src/globals.h
6383
6384Patch 8.2.0946
6385Problem: Cannot use "q" to cancel a number prompt.
6386Solution: Recognize "q" instead of ignoring it.
6387Files: src/misc1.c, src/testdir/test_functions.vim
6388
6389Patch 8.2.0947
6390Problem: Readdirex() doesn't handle broken link properly.
6391Solution: Small fixes to readdirex(). (Christian Brabandt, closes #6226,
6392 closes #6213)
6393Files: src/fileio.c, src/testdir/test_functions.vim
6394
6395Patch 8.2.0948
6396Problem: Spell test fails.
6397Solution: Adjust expected text of the prompt.
6398Files: src/testdir/test_spell.vim
6399
6400Patch 8.2.0949
6401Problem: Strptime() does not use DST.
6402Solution: Set the tm_isdst field to -1. (Tomáš Janoušek, closes #6230)
6403Files: src/time.c, src/testdir/test_functions.vim
6404
6405Patch 8.2.0950
6406Problem: Tagjump test fails.
6407Solution: Adjust expected text of the prompt.
6408Files: src/testdir/test_tagjump.vim
6409
6410Patch 8.2.0951
6411Problem: Search stat test has leftover from debugging.
6412Solution: Remove line that writes a file. (Christian Brabandt, closes #6224)
6413Files: src/testdir/test_search_stat.vim
6414
6415Patch 8.2.0952
6416Problem: No simple way to interrupt Vim.
6417Solution: Add the SigUSR1 autocommand, triggered by SIGUSR1. (Jacob Hayes,
6418 closes #1718)
6419Files: runtime/doc/autocmd.txt, src/vim.h, src/autocmd.c, src/getchar.c,
6420 src/globals.h, src/os_unix.c, src/testdir/test_autocmd.vim
6421
6422Patch 8.2.0953
6423Problem: Spell checking doesn't work for CamelCased words.
6424Solution: Add the "camel" value in the new option 'spelloptions'.
6425 (closes #1235)
6426Files: runtime/doc/options.txt, runtime/doc/spell.txt, src/optiondefs.h,
6427 src/option.h, src/option.c, src/buffer.c, src/optionstr.c,
6428 src/testdir/gen_opt_test.vim, src/testdir/test_spell.vim
6429
6430Patch 8.2.0954
6431Problem: Not all desktop files are recognized.
6432Solution: Add the *.directory pattern. (Eisuke Kawashima, closes #3317)
6433Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6434
6435Patch 8.2.0955 (after 8.2.0953)
6436Problem: Build fails.
6437Solution: Add missing struct change.
6438Files: src/structs.h
6439
6440Patch 8.2.0956 (after 8.2.0953)
6441Problem: Spell test fails.
6442Solution: Add missing change the spell checking.
6443Files: src/spell.c
6444
6445Patch 8.2.0957
6446Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
6447Solution: Initialize one variable.
6448Files: src/spell.c
6449
6450Patch 8.2.0958
6451Problem: Not sufficient testing for buffer writing.
6452Solution: Add a few tests. (Yegappan Lakshmanan, closes #6238)
6453Files: src/testdir/test_backup.vim, src/testdir/test_writefile.vim
6454
6455Patch 8.2.0959
6456Problem: Using 'quickfixtextfunc' is a bit slow.
6457Solution: Process a list of entries. (Yegappan Lakshmanan, closes #6234)
6458Files: runtime/doc/quickfix.txt, src/quickfix.c,
6459 src/testdir/test_quickfix.vim
6460
6461Patch 8.2.0960
6462Problem: Cannot use :import in legacy Vim script.
6463Solution: Support :import in any Vim script.
6464Files: src/vim9script.c, src/evalvars.c, src/userfunc.c,
6465 src/testdir/test_vim9_script.vim
6466
6467Patch 8.2.0961
6468Problem: MS-Windows: no completion for locales.
6469Solution: Use the directories in $VIMRUNTIME/lang to complete locales.
6470 (Christian Brabandt, closes 36248)
6471Files: src/cmdexpand.c, src/ex_cmds2.c, src/testdir/test_cmdline.vim
6472
6473Patch 8.2.0962
6474Problem: Terminal test sometimes hangs on Travis.
6475Solution: Do show output for this test temporarily.
6476Files: src/testdir/Makefile
6477
6478Patch 8.2.0963
6479Problem: Number increment/decrement does not work with 'virtualedit'.
6480Solution: Handle coladd changing. (Christian Brabandt, closes #6240,
6481 closes #923)
6482Files: runtime/doc/options.txt, runtime/doc/various.txt, src/ops.c,
6483 src/testdir/test_increment.vim
6484
6485Patch 8.2.0964
6486Problem: TextYankPost does not provide info about Visual selection.
6487Solution: Add the 'visual' key in v:event. (closes #6249)
6488Files: runtime/doc/autocmd.txt, src/register.c,
6489 src/testdir/test_autocmd.vim
6490
6491Patch 8.2.0965
6492Problem: Has_funcundefined() is not used.
6493Solution: Delete the function. (Dominique Pellé, closes #6242)
6494Files: src/autocmd.c, src/proto/autocmd.pro
6495
6496Patch 8.2.0966
6497Problem: 'shortmess' flag "n" not used in two places.
6498Solution: Make use of the "n" flag consistent. (Nick Jensen, closes #6245,
6499 closes #6244)
6500Files: src/bufwrite.c, src/proto/bufwrite.pro, src/buffer.c,
6501 src/fileio.c, src/testdir/dumps/Test_popup_textprop_corn_5.dump,
6502 src/testdir/dumps/Test_start_with_tabs.dump
6503
6504Patch 8.2.0967
6505Problem: Unnecessary type casts for vim_strnsave().
6506Solution: Remove the type casts.
6507Files: src/evalvars.c, src/ex_cmds.c, src/ex_eval.c, src/fileio.c,
6508 src/filepath.c, src/findfile.c, src/highlight.c, src/if_ruby.c,
6509 src/insexpand.c, src/json.c, src/mark.c, src/memline.c,
6510 src/menu.c, src/misc1.c, src/ops.c, src/os_win32.c, src/regexp.c,
6511 src/regexp_bt.c, src/regexp_nfa.c, src/register.c, src/search.c,
6512 src/sign.c, src/syntax.c, src/term.c, src/terminal.c, src/undo.c,
6513 src/usercmd.c, src/userfunc.c, src/vim9compile.c, src/if_perl.xs
6514
6515Patch 8.2.0968
6516Problem: No proper testing of the 'cpoptions' flags.
6517Solution: Add tests. (Yegappan Lakshmanan, closes #6251)
6518Files: src/testdir/Make_all.mak, src/testdir/test_cpoptions.vim,
6519 src/testdir/test_edit.vim, src/testdir/test_normal.vim
6520
6521Patch 8.2.0969
6522Problem: Assert_equal() output for dicts is hard to figure out.
6523Solution: Only show the different items.
6524Files: src/testing.c, src/testdir/test_assert.vim
6525
6526Patch 8.2.0970
6527Problem: Terminal properties are not available in Vim script.
6528Solution: Add the terminalprops() function.
6529Files: src/term.c, src/proto/term.pro, src/evalfunc.c, src/main.c,
6530 src/testing.c, src/globals.h, src/testdir/test_termcodes.vim,
6531 runtime/doc/usr_41.txt, runtime/doc/eval.txt,
6532 runtime/doc/testing.txt
6533
6534Patch 8.2.0971
6535Problem: Build with tiny features fails.
6536Solution: Add #ifdef.
6537Files: src/term.c
6538
6539Patch 8.2.0972
6540Problem: Vim9 script variable declarations need a type.
6541Solution: Make "let var: type" declare a script-local variable.
6542Files: src/evalvars.c, src/vim9script.c, src/proto/vim9script.pro,
6543 src/globals.h, src/vim9compile.c, src/testdir/test_vim9_script.vim
6544
6545Patch 8.2.0973
6546Problem: Vim9: type is not checked when assigning to a script variable.
6547Solution: Check the type.
6548Files: src/evalvars.c, src/vim9script.c, src/proto/vim9script.pro,
6549 src/vim9compile.c, src/proto/vim9compile.pro,
6550 src/testdir/test_vim9_script.vim
6551
6552Patch 8.2.0974
6553Problem: Vim9: memory leak when script var has wrong type.
6554Solution: Free the variable name.
6555Files: src/vim9script.vim
6556
6557Patch 8.2.0975
6558Problem: Vim9: script variable does not accept optional s: prefix.
6559Solution: Adjust the accepted syntax.
6560Files: src/vim9script.c, src/testdir/test_vim9_script.vim
6561
6562Patch 8.2.0976
6563Problem: Some 'cpoptions' not tested.
6564Solution: Add more tests. (Yegappan Lakshmanan, closes #6253)
6565Files: src/testdir/test_cd.vim, src/testdir/test_charsearch.vim,
6566 src/testdir/test_cpoptions.vim, src/testdir/test_normal.vim
6567
6568Patch 8.2.0977
6569Problem: t_8u is made empty for the wrong terminals. (Dominique Pelle)
6570Solution: Invert the check for TPR_YES. (closes #6254)
6571Files: src/term.c, src/testdir/test_termcodes.vim
6572
6573Patch 8.2.0978
6574Problem: Leaking memory in termcodes test.
6575Solution: Set t_8u with set_option_value().
6576Files: src/term.c
6577
6578Patch 8.2.0979
6579Problem: A couple of screendump tests fail.
6580Solution: Do not redraw when clearing t_8u.
6581Files: src/term.c
6582
6583Patch 8.2.0980
6584Problem: Raku file extension not recognized. (Steven Penny)
6585Solution: Recognize .raku and .rakumod. (closes #6255)
6586Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6587
6588Patch 8.2.0981
6589Problem: Vim9: cannot compile "[var, var] = list".
6590Solution: Implement list assignment.
6591Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/evalvars.c,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00006592 src/proto/evalvars.pro, src/eval.c, src/testdir/test_vim9_script.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +00006593
6594Patch 8.2.0982
6595Problem: Insufficient testing for reading/writing files.
6596Solution: Add more tests. (Yegappan Lakshmanan, closes #6257)
6597 Add "ui_delay" to test_override() and use it for the CTRL-O test.
6598Files: src/testing.c, src/globals.h, src/ui.c, runtime/doc/testing.txt,
6599 src/testdir/test_autocmd.vim, src/testdir/test_edit.vim,
6600 src/testdir/test_filechanged.vim, src/testdir/test_writefile.vim
6601
6602Patch 8.2.0983
6603Problem: SConstruct file type not recognized.
6604Solution: Use python for SConstruct files. (Roland Hieber)
6605Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6606
6607Patch 8.2.0984
6608Problem: Not using previous window when closing a shell popup window.
6609Solution: Use "prevwin" if it was set. (closes #6267)
6610Files: src/popupwin.c, src/testdir/test_popupwin.vim
6611
6612Patch 8.2.0985
6613Problem: Simplify() does not remove slashes from "///path".
6614Solution: Reduce > 2 slashes to one. (closes #6263)
6615Files: src/findfile.c, src/testdir/test_functions.vim
6616
6617Patch 8.2.0986 (after 8.2.0985)
6618Problem: MS-Windows: functions test fails.
6619Solution: Only simplify ///path on Unix.
6620Files: src/testdir/test_functions.vim
6621
6622Patch 8.2.0987
6623Problem: Vim9: cannot assign to [var; var].
6624Solution: Assign rest of items to a list.
6625Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/list.c,
6626 src/proto/list.pro, src/eval.c, src/testdir/test_vim9_script.vim
6627
6628Patch 8.2.0988
6629Problem: Getting directory contents is always case sorted.
6630Solution: Add sort options and v:collate. (Christian Brabandt, closes #6229)
6631Files: runtime/doc/eval.txt, runtime/doc/mlang.txt, src/auto/configure,
6632 src/cmdexpand.c, src/config.h.in, src/configure.ac,
6633 src/evalfunc.c, src/evalvars.c, src/ex_cmds2.c, src/fileio.c,
6634 src/filepath.c, src/globals.h, src/proto/fileio.pro,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00006635 src/testdir/test_cmdline.vim, src/testdir/test_functions.vim,
Bram Moolenaarc51cf032022-02-26 12:25:45 +00006636 src/vim.h
6637
6638Patch 8.2.0989
6639Problem: Crash after resizing a terminal window. (August Masquelier)
6640Solution: Add check for valid row in libvterm. (closes #6273)
6641Files: src/libvterm/src/state.c, src/libvterm/src/screen.c
6642
6643Patch 8.2.0990 (after 8.2.0988)
6644Problem: Using duplicate error number.
6645Solution: Use an unused error number. Add a test for it.
6646Files: src/globals.h, src/testdir/test_functions.vim
6647
6648Patch 8.2.0991
6649Problem: Cannot get window type for autocmd and preview window.
6650Solution: Add types to win_gettype(). (Yegappan Lakshmanan, closes #6277)
6651Files: runtime/doc/eval.txt, src/evalwindow.c,
6652 src/testdir/test_autocmd.vim, src/testdir/test_preview.vim
6653
6654Patch 8.2.0992
6655Problem: Vim9: crash when using :import in the Vim command.
6656Solution: Give an error when using :import outside of a script.
6657 (closes #6271)
6658Files: src/vim9script.c, src/testdir/test_vim9_script.vim,
6659 src/testdir/term_util.vim
6660
6661Patch 8.2.0993
6662Problem: Vim9 script test fails with normal features.
6663Solution: Use :func instead of :def for now.
6664Files: src/testdir/test_vim9_script.vim
6665
6666Patch 8.2.0994
6667Problem: Vim9: missing function causes compilation error.
6668Solution: Call test function indirectly.
6669Files: src/testdir/test_vim9_script.vim
6670
6671Patch 8.2.0995
6672Problem: Insufficient testing for the readdir() sort option.
6673Solution: Add a few more tests. (Christian Brabandt, closes #6278)
6674Files: src/testdir/test_functions.vim
6675
6676Patch 8.2.0996
6677Problem: Using "aucmdwin" in win_gettype() is not ideal.
6678Solution: Rename to "autocmd".
6679Files: runtime/doc/eval.txt, src/evalwindow.c,
6680 src/testdir/test_autocmd.vim
6681
6682Patch 8.2.0997
6683Problem: Cannot execute a register containing line continuation.
6684Solution: Concatenate lines where needed. (Yegappan Lakshmanan,
6685 closes #6272)
6686Files: runtime/doc/repeat.txt, src/register.c,
6687 src/testdir/test_registers.vim
6688
6689Patch 8.2.0998
6690Problem: Not all tag code is tested.
6691Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #6284)
6692Files: src/testdir/test_tagjump.vim
6693
6694Patch 8.2.0999
6695Problem: Moving to next sentence gets stuck on quote.
6696Solution: When moving to the next sentence doesn't result in moving, advance
6697 a character and try again. (closes #6291)
6698Files: src/textobject.c, src/testdir/test_textobjects.vim
6699
6700Patch 8.2.1000
6701Problem: Get error when leaving Ex mode with :visual and a CmdLineEnter
6702 autocommand was used.
6703Solution: Reset ex_pressedreturn. (closes #6293)
6704Files: src/ex_docmd.c, src/testdir/test_ex_mode.vim
6705
6706Patch 8.2.1001
6707Problem: Vim9: crash with nested "if" and assignment.
6708Solution: Skip more of the assignment. Do not set ctx_skip when code is
6709 reachable.
6710Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
6711
6712Patch 8.2.1002
6713Problem: Test may fail when run directly.
6714Solution: Check if g:run_nr exists. (Christian Brabandt, closes #6285)
6715Files: src/testdir/term_util.vim
6716
6717Patch 8.2.1003
6718Problem: Vim9: return type of sort() is too generic.
6719Solution: Get type from the first argument. (closes #6292)
6720Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
6721
6722Patch 8.2.1004
6723Problem: Line numbers below filler lines not always updated.
6724Solution: Don't break out of the win_line() loop too early. (Christian
6725 Brabandt, closes #6294, closes #6138)
6726Files: src/drawline.c, src/testdir/dumps/Test_diff_rnu_01.dump,
6727 src/testdir/dumps/Test_diff_rnu_02.dump,
6728 src/testdir/dumps/Test_diff_rnu_03.dump,
6729 src/testdir/test_diffmode.vim
6730
6731Patch 8.2.1005
6732Problem: Vim9: using TRUE/FALSE/MAYBE for ctx_skip is confusing.
6733Solution: Use an enum value.
6734Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
6735
6736Patch 8.2.1006
6737Problem: Vim9: require unnecessary return statement.
6738Solution: Improve the use of the had_return flag. (closes #6270)
6739Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim,
6740 src/testdir/test_vim9_func.vim
6741
6742Patch 8.2.1007
6743Problem: Completion doesn't work after ":r ++arg !".
6744Solution: Skip over "++arg". (Christian Brabandt, closes #6275,
6745 closes #6258)
6746Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
6747
6748Patch 8.2.1008
6749Problem: Vim9: no test for disassembling newly added instructions.
6750Solution: Add a function and check disassembly.
6751Files: src/testdir/test_vim9_disassemble.vim
6752
6753Patch 8.2.1009
6754Problem: Vim9: some failures not checked for.
6755Solution: Add test cases. Remove unused code.
6756Files: src/testdir/test_vim9_script.vim, src/vim9execute.c
6757
6758Patch 8.2.1010
6759Problem: Build failure in libvterm with debug enabled. (John Little)
6760Solution: Use "->" instead of ".".
6761Files: src/libvterm/src/state.c
6762
6763Patch 8.2.1011
6764Problem: Vim9: some code not tested.
6765Solution: Add a few more test cases. Reorder checks for clearer error.
6766 Remove unreachable code.
6767Files: src/evalvars.c, src/vim9script.c, src/vim9execute.c,
6768 src/proto/vim9script.pro, src/testdir/test_vim9_script.vim,
6769 src/testdir/test_vim9_expr.vim
6770
6771Patch 8.2.1012
6772Problem: Vim9: cannot declare single character script variables.
6773Solution: Don't see "b:", "s:", etc. as namespace. Fix item size of
6774 sn_var_vals.
6775Files: src/vim9script.c, src/scriptfile.c,
6776 src/testdir/test_vim9_script.vim
6777
6778Patch 8.2.1013
6779Problem: Channel tests can be a bit flaky.
6780Solution: Set the g:test_is_flaky flag in SetUp().
6781Files: src/testdir/test_channel.vim
6782
6783Patch 8.2.1014
6784Problem: Using "name" for a string result is confusing.
6785Solution: Rename to "end".
6786Files: src/typval.c
6787
6788Patch 8.2.1015
6789Problem: Popup filter gets key with modifier prepended when using
6790 modifyOtherKeys.
6791Solution: Remove the shift modifier when it is included in the key, also
6792 when the Alt or Meta modifier is used.
6793Files: src/term.c, src/misc2.c, src/testdir/test_popupwin.vim
6794
6795Patch 8.2.1016
6796Problem: Vim9: test fails when channel feature is missing.
6797Solution: Process an :if command when skipping
6798Files: src/vim9compile.c
6799
6800Patch 8.2.1017
6801Problem: Appveyor output doesn't show MinGW console features.
6802Solution: List the features of the console build.
6803Files: ci/appveyor.bat
6804
6805Patch 8.2.1018
6806Problem: Typo in enum value. (James McCoy)
6807Solution: Fix the typo.
6808Files: src/vim9compile.c
6809
6810Patch 8.2.1019
6811Problem: Mapping <M-S-a> does not work in the GUI.
6812Solution: Move the logic to remove the shift modifier to
6813 may_remove_shift_modifier() and also use it in the GUI.
6814Files: src/gui_gtk_x11.c, src/misc2.c, src/proto/misc2.pro, src/term.c
6815
6816Patch 8.2.1020
6817Problem: Popupwin test fails in the GUI.
6818Solution: Send GUI byte sequence for <C-S-a>.
6819Files: src/testdir/test_popupwin.vim
6820
6821Patch 8.2.1021
6822Problem: Ruby interface not tested enough.
6823Solution: Add a couple more tests. (Dominique Pellé, closes #6301)
6824Files: src/testdir/test_ruby.vim
6825
6826Patch 8.2.1022
6827Problem: Various parts of code not covered by tests.
6828Solution: Add more tests. (Yegappan Lakshmanan, closes #6300)
6829Files: src/testdir/test_blob.vim, src/testdir/test_cpoptions.vim,
6830 src/testdir/test_digraph.vim, src/testdir/test_edit.vim,
6831 src/testdir/test_iminsert.vim, src/testdir/test_paste.vim,
6832 src/testdir/test_prompt_buffer.vim,
6833 src/testdir/test_selectmode.vim, src/testdir/test_tabpage.vim,
6834 src/testdir/test_tagjump.vim, src/testdir/test_textformat.vim,
6835 src/testdir/test_viminfo.vim, src/testdir/test_virtualedit.vim,
6836 src/testdir/test_visual.vim
6837
6838Patch 8.2.1023
6839Problem: Vim9: redefining a function uses a new index every time.
6840Solution: When redefining a function clear the contents and re-use the
6841 index.
6842Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
6843 src/structs.h, src/eval.c, src/evalvars.c, src/vim9execute.c
6844
6845Patch 8.2.1024
6846Problem: Vim9: no error for using "let g:var = val".
6847Solution: Add an error.
6848Files: src/evalvars.c, src/globals.h, src/structs.h, src/vim9compile.c,
6849 src/scriptfile.c, src/userfunc.c, src/testdir/test_vim9_script.vim,
6850 src/testdir/test_vim9_disassemble.vim,
6851 src/testdir/test_vim9_func.vim
6852
6853Patch 8.2.1025
6854Problem: Tabpage menu and tabline not sufficiently tested.
6855Solution: Add tests. (Yegappan Lakshmanan, closes #6307)
6856Files: src/testdir/test_digraph.vim, src/testdir/test_tabpage.vim
6857
6858Patch 8.2.1026
6859Problem: Vim9: cannot break the line after "->".
6860Solution: Check for a continuation line after "->", "[" and ".". Ignore
6861 trailing white space.
6862Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
6863
6864Patch 8.2.1027
6865Problem: GUI: multibyte characters do not work in a terminal.
6866Solution: Do not assume a key is one byte. (closes #6304)
6867Files: src/gui_gtk_x11.c, src/gui_x11.c
6868
6869Patch 8.2.1028
6870Problem: Vim9: no error for declaring buffer, window, etc. variable.
6871Solution: Give an error. Unify the error messages.
6872Files: src/evalvars.c, src/globals.h, src/vim9compile.c,
6873 src/proto/vim9compile.pro, src/testdir/test_vim9_expr.vim,
6874 src/testdir/test_vim9_script.vim
6875
6876Patch 8.2.1029
6877Problem: Vim9: cannot chain function calls with -> at line start.
6878Solution: Peek ahead for a following line starting with "->". (closes #6306)
6879Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
6880
6881Patch 8.2.1030
6882Problem: Reducing size of a terminal window may cause a crash.
6883Solution: Make sure the row and column don't become negative. (closes #6273)
6884Files: src/libvterm/src/state.c, src/libvterm/src/screen.c
6885
6886Patch 8.2.1031
6887Problem: Build failure with Perl5.32.
6888Solution: Define a few more functions. (Felix Yan, closes #6310)
6889Files: src/if_perl.xs
6890
6891Patch 8.2.1032
6892Problem: Error message for declaring a variable cannot be translated.
6893Solution: Enclose in _(). Make environment variable a separate message.
6894Files: src/globals.h, src/vim9compile.c
6895
6896Patch 8.2.1033
6897Problem: Not easy to read the test time in the test output.
6898Solution: Align the times. Make slow tests bold.
6899Files: src/testdir/runtest.vim
6900
6901Patch 8.2.1034
6902Problem: Compiler warning for uninitialized variables.
6903Solution: Add initializations. (John Marriott)
6904Files: src/vim9compile.c
6905
6906Patch 8.2.1035
6907Problem: setreg() does not always clear the register.
6908Solution: Clear the register if the dict argument is empty. (Andy Massimino,
6909 closes #3370)
6910Files: src/evalfunc.c, src/testdir/test_registers.vim
6911
6912Patch 8.2.1036
6913Problem: Popupwin test fails sometimes.
6914Solution: Use WaitForAssert() instead of a sleep.
6915Files: src/testdir/test_popupwin.vim
6916
6917Patch 8.2.1037
6918Problem: Vim9: crash when using line continuation inside :def.
6919Solution: Check for no more lines available.
6920Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
6921
6922Patch 8.2.1038
6923Problem: Popupwin test fails.
6924Solution: Fix WaitForAssert() argument.
6925Files: src/testdir/test_popupwin.vim
6926
6927Patch 8.2.1039
6928Problem: Cannot put NUL byte on clipboard.
6929Solution: Use the text length. (Christian Brabandt, closes #6312,
6930 closes #6149)
6931Files: src/winclip.c, src/testdir/test_registers.vim
6932
6933Patch 8.2.1040
6934Problem: Not enough testing for movement commands.
6935Solution: Add more tests. (Yegappan Lakshmanan, closes #6313)
6936Files: src/testdir/test_cursor_func.vim, src/testdir/test_functions.vim,
6937 src/testdir/test_gf.vim, src/testdir/test_normal.vim,
6938 src/testdir/test_options.vim, src/testdir/test_quickfix.vim
6939
6940Patch 8.2.1041
6941Problem: Test summary is missing executed count.
6942Solution: Adjust pattern used for counting.
6943Files: src/testdir/summarize.vim
6944
6945Patch 8.2.1042
6946Problem: Vim9: cannot put an operator on the next line.
6947Solution: Require a colon before a range to see if that causes problems.
6948Files: runtime/doc/vim9.txt, src/vim9compile.c, src/ex_docmd.c,
6949 src/globals.h, src/testdir/test_vim9_script.vim,
6950 src/testdir/test_vim9_expr.vim
6951
6952Patch 8.2.1043
6953Problem: %a item in 'statusline' not tested.
6954Solution: Add a test. (Dominique Pellé, closes #6318)
6955Files: src/testdir/test_statusline.vim
6956
6957Patch 8.2.1044
6958Problem: Not all systemd file types are recognized.
6959Solution: Match several more files. (Guido Cella, closes #6319)
6960Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6961
6962Patch 8.2.1045
6963Problem: Vim9: line break before operator does not work.
6964Solution: Peek the next line for an operator.
6965Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
6966
6967Patch 8.2.1046
6968Problem: Insufficient tests for src/buffer.c.
6969Solution: Add more tests. Move comments related tests to a separate file.
6970 (Yegappan Lakshmanan, closes #6325)
6971Files: src/testdir/Make_all.mak, src/testdir/test_buffer.vim,
6972 src/testdir/test_cmdline.vim, src/testdir/test_comments.vim,
6973 src/testdir/test_normal.vim, src/testdir/test_textformat.vim
6974
6975Patch 8.2.1047
6976Problem: Vim9: script cannot use line continuation like in a :def function.
6977Solution: Pass the getline function pointer to the eval() functions. Use it
6978 for addition and multiplication operators.
6979Files: src/vim.h, src/structs.h, src/globals.h, src/ex_eval.c,
6980 src/eval.c, src/proto/eval.pro, src/dict.c, src/evalfunc.c,
6981 src/evalvars.c, src/list.c, src/userfunc.c, src/scriptfile.c,
6982 src/proto/scriptfile.pro, src/testdir/test_vim9_expr.vim
6983
6984Patch 8.2.1048 (after 8.2.1047)
6985Problem: Build failure without the eval feature.
6986Solution: Add dummy typedef.
6987Files: src/structs.h
6988
6989Patch 8.2.1049 (after 8.2.1047)
6990Problem: Vim9: leaking memory when using continuation line.
6991Solution: Keep a pointer to the continuation line in evalarg_T. Centralize
6992 checking for a next command.
6993Files: src/structs.h, src/eval.c, src/proto/eval.pro, src/beval.c,
6994 src/buffer.c, src/clientserver.c, src/evalvars.c, src/ex_docmd.c,
6995 src/ex_eval.c, src/filepath.c, src/findfile.c, src/fold.c,
6996 src/globals.h, src/if_ole.cpp, src/if_perl.xs, src/if_tcl.c,
6997 src/map.c, src/quickfix.c, src/regexp.c, src/register.c,
6998 src/screen.c, src/userfunc.c
6999
7000Patch 8.2.1050 (after 8.2.1049)
7001Problem: Missing change in struct.
7002Solution: Add missing change.
7003Files: src/ex_cmds.h
7004
7005Patch 8.2.1051
7006Problem: Crash when changing a list while using reduce() on it.
7007Solution: Lock the list. (closes #6330)
7008Files: src/list.c, src/testdir/test_listdict.vim
7009
7010Patch 8.2.1052
7011Problem: Build failure with older compilers.
7012Solution: Move declaration to start of block.
7013Files: src/eval.c
7014
7015Patch 8.2.1053
7016Problem: Insufficient testing for 'statusline' and 'tabline'.
7017Solution: Add more tests. (Yegappan Lakshmanan, closes #6333)
7018Files: src/testdir/test_autocmd.vim, src/testdir/test_statusline.vim,
7019 src/testdir/test_tabline.vim
7020
7021Patch 8.2.1054
7022Problem: Not so easy to pass a lua function to Vim.
7023Solution: Convert a Lua function and closure to a Vim funcref. (Prabir
7024 Shrestha, closes #6246)
7025Files: runtime/doc/if_lua.txt, src/if_lua.c, src/proto/userfunc.pro,
7026 src/structs.h, src/testdir/test_lua.vim, src/userfunc.c
7027
7028Patch 8.2.1055
7029Problem: No filetype set for pacman config files.
7030Solution: Recognize pacman.conf and *.hook. (Guido Cella, closes #6335)
7031Files: runtime/filetype.vim, src/testdir/test_filetype.vim
7032
7033Patch 8.2.1056
7034Problem: Wrong display when mixing match conceal and syntax conceal.
7035Solution: Adjust how conceal flags are used. (closes #6327, closes #6303)
7036Files: src/drawline.c, src/highlight.c,
7037 src/testdir/test_matchadd_conceal.vim
7038
7039Patch 8.2.1057 (after 8.2.1054)
7040Problem: Cannot build with dynamic Lua.
7041Solution: Add dll variables.
7042Files: src/if_lua.c
7043
7044Patch 8.2.1058
7045Problem: Multiline conceal causes display errors.
7046Solution: Do not allow conceal cross over EOL. (closes #6326, closes #4854,
7047 closes #6302)
7048Files: src/drawline.c, src/testdir/test_conceal.vim,
7049 src/testdir/test_diffmode.vim
7050
7051Patch 8.2.1059
7052Problem: Crash when using :tabonly in an autocommand. (Yegappan Lakshmanan)
7053Solution: Do not allow the autocommand window to be closed.
7054Files: src/ex_docmd.c, src/window.c, src/globals.h,
7055 src/testdir/test_autocmd.vim
7056
7057Patch 8.2.1060
7058Problem: Not all elinks files are recognized.
7059Solution: Just check for "elinks.conf". (Guido Cella, closes #6337)
7060Files: runtime/filetype.vim, src/testdir/test_filetype.vim
7061
7062Patch 8.2.1061
7063Problem: Insufficient testing for src/window.c.
7064Solution: Add more tests. (Yegappan Lakshmanan, closes #6345)
7065Files: src/testdir/test_excmd.vim, src/testdir/test_gf.vim,
7066 src/testdir/test_options.vim, src/testdir/test_popupwin.vim,
7067 src/testdir/test_quickfix.vim, src/testdir/test_tabpage.vim,
7068 src/testdir/test_tagjump.vim, src/testdir/test_window_cmd.vim,
7069 src/window.c
7070
7071Patch 8.2.1062
7072Problem: Vim9: no line break allowed inside "cond ? val1 : val2".
7073Solution: Check for operator after line break.
7074Files: src/eval.c, src/testdir/test_vim9_expr.vim
7075
7076Patch 8.2.1063
7077Problem: Vim9: no line break allowed before || or &&.
7078Solution: Check for operator after line break.
7079Files: src/eval.c, src/testdir/test_vim9_expr.vim
7080
7081Patch 8.2.1064
7082Problem: Vim9: no line break allowed before comparators.
7083Solution: Check for comparator after line break.
7084Files: src/eval.c, src/testdir/test_vim9_expr.vim
7085
7086Patch 8.2.1065
7087Problem: Vim9: no line break allowed inside a list.
7088Solution: Handle line break inside a list in Vim9 script.
7089Files: src/eval.c, src/proto/eval.pro, src/list.c, src/proto/list.pro,
7090 src/vim9compile.c, src/testdir/test_vim9_expr.vim,
7091 src/testdir/test_arglist.vim
7092
7093Patch 8.2.1066
7094Problem: Lua arrays are zero based.
7095Solution: Make Lua arrays one based. (Prabir Shrestha, closes #6347)
7096 Note: this is not backwards compatible.
7097Files: runtime/doc/if_lua.txt, src/if_lua.c, src/testdir/test_lua.vim
7098
7099Patch 8.2.1067
7100Problem: Expression "!expr->func()" does not work.
7101Solution: Apply plus and minus earlier. (closes #6348)
7102Files: src/eval.c, src/proto/eval.pro, src/evalvars.c, src/userfunc.c,
7103 src/testdir/test_expr.vim, src/testdir/test_vim9_expr.vim
7104
7105Patch 8.2.1068
7106Problem: Vim9: no line break allowed inside a dict.
7107Solution: Handle line break inside a dict in Vim9 script.
7108Files: src/eval.c, src/dict.c, src/proto/dict.pro,
7109 src/vim9compile.c, src/testdir/test_vim9_expr.vim
7110
7111Patch 8.2.1069
7112Problem: Vim9: fail to check for white space in list.
7113Solution: Add check for white space.
7114Files: src/list.c
7115
7116Patch 8.2.1070
7117Problem: Vim9: leaking memory when lacking white space in dict.
7118Solution: Clear the typval.
7119Files: src/dict.c
7120
7121Patch 8.2.1071
7122Problem: Vim9: no line break allowed inside a lambda.
7123Solution: Handle line break inside a lambda in Vim9 script.
7124Files: src/eval.c, src/proto/eval.pro, src/evalvars.c, src/userfunc.c,
7125 src/proto/userfunc.pro, src/popupwin.c, src/vim9compile.c,
7126 src/ex_eval.c, src/globals.h, src/structs.h,
7127 src/testdir/test_vim9_expr.vim
7128
7129Patch 8.2.1072
7130Problem: Missing libvterm test.
7131Solution: Sync with libvterm revision 768.
7132Files: src/libvterm/src/state.c, src/libvterm/t/63screen_resize.test
7133
7134Patch 8.2.1073
7135Problem: Vim9: no line break allowed in () expression.
7136Solution: Skip a line break.
7137Files: src/eval.c, src/testdir/test_vim9_expr.vim
7138
7139Patch 8.2.1074
7140Problem: Vim9: no line break allowed after some operators.
7141Solution: Skip a line break after the operator. Add
7142 eval_may_get_next_line() to simplify checking for a line break.
7143Files: src/eval.c, src/proto/eval.pro, src/dict.c, src/list.c,
7144 src/userfunc.c, src/testdir/test_vim9_expr.vim
7145
7146Patch 8.2.1075
7147Problem: Vim9: no line break allowed in :echo expression.
7148Solution: Skip linebreak.
7149Files: src/eval.c, src/testdir/test_vim9_cmd.vim
7150
7151Patch 8.2.1076
7152Problem: Vim9: no line break allowed in :if expression.
7153Solution: Skip linebreak.
7154Files: src/eval.c, src/proto/eval.pro, src/evalvars.c,
7155 src/testdir/test_vim9_cmd.vim
7156
7157Patch 8.2.1077
7158Problem: No enough test coverage for highlighting.
7159Solution: Add more tests. (Yegappan Lakshmanan, closes #6351)
7160Files: runtime/doc/syntax.txt, src/testdir/test_cmdline.vim,
7161 src/testdir/test_highlight.vim, src/testdir/test_match.vim
7162
7163Patch 8.2.1078
7164Problem: Highlight and match functionality together in one file.
7165Solution: Move match functionality to a separate file. (Yegappan Lakshmanan,
7166 closes #6352)
7167Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
7168 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
7169 src/highlight.c, src/match.c, src/proto.h,
7170 src/proto/highlight.pro, src/proto/match.pro
7171
7172Patch 8.2.1079
7173Problem: Vim9: no line break allowed in a while loop.
7174Solution: Update stored loop lines when finding line breaks.
7175Files: src/structs.h, src/globals.h, src/eval.c, src/evalvars.c,
7176 src/ex_docmd.c, src/proto/ex_docmd.pro,
7177 src/testdir/test_vim9_cmd.vim
7178
7179Patch 8.2.1080
7180Problem: Vim9: no line break allowed in a for loop.
7181Solution: Skip line breaks in for command.
7182Files: src/eval.c, src/ex_eval.c, src/proto/eval.pro, src/userfunc.c,
7183 src/structs.h, src/globals.h, src/testdir/test_vim9_cmd.vim
7184
7185Patch 8.2.1081
7186Problem: Lua: cannot use table.insert() and table.remove().
7187Solution: Add the list functions. (Prabir Shrestha, closes #6353)
7188Files: runtime/doc/if_lua.txt, src/if_lua.c, src/testdir/test_lua.vim
7189
7190Patch 8.2.1082
7191Problem: Coverity complains about ignoring dict_add() return value.
7192Solution: Add (void).
7193Files: src/evalfunc.c
7194
7195Patch 8.2.1083
7196Problem: Crash when using reduce() on a NULL list.
7197Solution: Only access the list when not NULL.
7198Files: src/list.c, src/testdir/test_listdict.vim
7199
7200Patch 8.2.1084
7201Problem: Lua: registering function has useless code.
7202Solution: Remove clearing grow arrays.
7203Files: src/userfunc.c
7204
7205Patch 8.2.1085
7206Problem: Coverity complains about ignoring dict_add() return value.
7207Solution: Add (void).
7208Files: src/register.c
7209
7210Patch 8.2.1086
7211Problem: Possibly using freed memory when text properties used when
7212 changing indent of a line.
7213Solution: Compute the offset before calling ml_replace().
7214Files: src/indent.c
7215
7216Patch 8.2.1087
7217Problem: Possible memory leak when file expansion fails.
7218Solution: Clear the grow array when returning FAIL. Use an error message
7219 instead of an empty string.
7220Files: src/filepath.c
7221
7222Patch 8.2.1088
7223Problem: A very long translation might cause a buffer overflow.
7224Solution: Truncate the message if needed.
7225Files: src/fileio.c
7226
7227Patch 8.2.1089
7228Problem: Coverity warns for pointer computation.
7229Solution: Avoid computing a pointer to invalid memory.
7230Files: src/spellfile.c
7231
7232Patch 8.2.1090
7233Problem: May use NULL pointer when skipping over name.
7234Solution: Always set ll_name_end.
7235Files: src/eval.c
7236
7237Patch 8.2.1091
7238Problem: No check if opening a pty works.
7239Solution: Check for invalid file descriptor.
7240Files: src/os_unix.c
7241
7242Patch 8.2.1092
7243Problem: Not checking if saving for undo succeeds.
7244Solution: Bail out if u_savesub() returns FAIL.
7245Files: src/textprop.c
7246
7247Patch 8.2.1093
7248Problem: Python: double free when adding item to dict fails.
7249Solution: Remove vim_free() call.
7250Files: src/if_py_both.h
7251
7252Patch 8.2.1094
7253Problem: Dead code in libvterm.
7254Solution: Remove condition that is always true.
7255Files: src/libvterm/src/pen.c
7256
7257Patch 8.2.1095
7258Problem: May use pointer after freeing it when text properties are used.
7259Solution: Update redo buffer before calling ml_replace().
7260Files: src/spellsuggest.c
7261
7262Patch 8.2.1096
7263Problem: Vim9: return type of getqflist() is wrong.
7264Solution: Let the return type depend on the arguments. Also for
7265 getloclist(). (closes #6357)
7266Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7267
7268Patch 8.2.1097
7269Problem: Highlight code not sufficiently tested.
7270Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6359)
7271Files: src/testdir/test_filter_cmd.vim, src/testdir/test_highlight.vim
7272
7273Patch 8.2.1098
7274Problem: Vim9: cannot use line break in :throw argument.
7275Solution: Check for line break.
7276Files: src/eval.c, src/testdir/test_vim9_script.vim
7277
7278Patch 8.2.1099
7279Problem: Vim9: cannot use line break in :cexpr argument.
7280Solution: Check for line break.
7281Files: src/eval.c, src/testdir/test_vim9_script.vim
7282
7283Patch 8.2.1100
7284Problem: Vim9: cannot use line break in :execute, :echomsg and :echoerr
7285 argument.
7286Solution: Check for line break.
7287Files: src/eval.c, src/testdir/test_vim9_script.vim
7288
7289Patch 8.2.1101
7290Problem: No error when using wrong arguments for setqflist() or
7291 setloclist().
7292Solution: Check for the error.
7293Files: src/quickfix.c, src/testdir/test_quickfix.vim
7294
7295Patch 8.2.1102
7296Problem: Coverity gets confused by an unnecessary NULL check.
7297Solution: Remove the check for NULL.
7298Files: src/quickfix.c
7299
7300Patch 8.2.1103
7301Problem: Coverity reports an unnecessary NULL check.
7302Solution: Remove the check for NULL.
7303Files: src/eval.c
7304
7305Patch 8.2.1104
7306Problem: Coverity warns for possible NULL pointer use.
7307Solution: Check "pbyts" is not NULL.
7308Files: src/spellsuggest.c
7309
7310Patch 8.2.1105
7311Problem: Insufficient test coverage for Lua.
7312Solution: Add tests. (Yegappan Lakshmanan, closes #6368) Fix uncovered
7313 memory leak. Avoid unnecessary copy/free.
7314Files: src/if_lua.c, src/testdir/test_lua.vim
7315
7316Patch 8.2.1106
7317Problem: Crash when trying to use s: variable in typed command.
7318Solution: Don't use the script index when not set. (Ken Takata,
7319 closes #6366)
7320Files: src/vim9compile.c, src/testdir/test_vimscript.vim
7321
7322Patch 8.2.1107
7323Problem: 'imactivatefunc' and 'imstatusfunc' are not used in the GUI.
7324Solution: Adjust the #ifdefs. (closes #6367)
7325Files: runtime/doc/options.txt, src/gui_xim.c,
7326 src/testdir/test_iminsert.vim
7327
7328Patch 8.2.1108
7329Problem: Mouse left-right scroll is not supported in terminal window.
7330Solution: Implement mouse codes 6 and 7. (Trygve Aaberge, closes #6363)
7331Files: src/libvterm/src/mouse.c, src/mouse.c, src/terminal.c,
7332 src/testdir/mouse.vim, src/testdir/test_termcodes.vim
7333
7334Patch 8.2.1109 (after 8.2.1106)
7335Problem: Still crashing when using s:variable.
7336Solution: Remove assignment. (Ken Takata)
7337Files: src/vim9compile.c
7338
7339Patch 8.2.1110
7340Problem: Vim9: line continuation does not work in function arguments.
7341Solution: Pass "evalarg" to get_func_tv(). Fix seeing double quoted string
7342 as comment.
7343Files: src/userfunc.c, src/proto/userfunc.pro, src/eval.c, src/ex_eval.c,
7344 src/list.c, src/dict.c, src/proto/eval.pro,
7345 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim
7346
7347Patch 8.2.1111
7348Problem: Inconsistent naming of get_list_tv() and eval_dict().
7349Solution: Rename get_list_tv() to eval_list(). Similarly for eval_number(),
7350 eval_string(), eval_lit_string() and a few others.
7351Files: src/eval.c, src/list.c, src/proto/list.pro, src/vim9compile.c,
7352 src/typval.c, src/proto/typval.pro, src/vim9script.c,
7353 src/evalfunc.c, src/evalvars.c, src/proto/evalvars.pro,
7354 src/vim9execute.c
7355
7356Patch 8.2.1112
7357Problem: Vim9: no line continuation allowed in method call.
7358Solution: Handle line continuation in expression before method call.
7359Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim,
7360 src/testdir/test_vim9_script.vim,
7361 src/testdir/test_vim9_expr.vim
7362
7363Patch 8.2.1113
7364Problem: No test for verbose output of :call.
7365Solution: Add a test.
7366Files: src/testdir/test_user_func.vim
7367
7368Patch 8.2.1114
7369Problem: Terminal test sometimes times out.
7370Solution: Split the test in two parts.
7371Files: src/testdir/Makefile, src/testdir/Make_all.mak,
7372 src/testdir/term_util.vim, src/testdir/test_terminal.vim,
7373 src/testdir/test_terminal2.vim
7374
7375Patch 8.2.1115
7376Problem: Iminsert test fails when compiled with VIMDLL.
7377Solution: Change condition. (Ken Takata, closes #6376)
7378Files: src/testdir/test_iminsert.vim
7379
7380Patch 8.2.1116
7381Problem: Vim9: parsing command checks for list twice.
7382Solution: Adjust how a command is parsed.
7383Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
7384
7385Patch 8.2.1117
7386Problem: Coverity warns for using uninitialized field.
7387Solution: Initialize v_lock.
7388Files: src/if_lua.c
7389
7390Patch 8.2.1118
7391Problem: Condition can never be true, dead code.
7392Solution: Remove the dead code.
7393Files: src/move.c
7394
7395Patch 8.2.1119
7396Problem: Configure fails with Xcode 12 beta.
7397Solution: use "return" instead of "exit()". (Nico Weber, closes #6381)
7398Files: src/configure.ac, src/auto/configure
7399
7400Patch 8.2.1120
7401Problem: Python code not tested properly.
7402Solution: Add more tests and convert old-style test into new-style test.
7403 (Yegappan Lakshmanan, closes #6370)
7404Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
7405 src/testdir/test86.in, src/testdir/test86.ok,
7406 src/testdir/test_python2.vim
7407
7408Patch 8.2.1121
7409Problem: Command completion not working after ++arg.
7410Solution: Move skipping up. (Christian Brabandt, closes #6382)
7411Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
7412
7413Patch 8.2.1122
7414Problem: Vim9: line continuation in dict member not recognized.
7415Solution: Check for line continuation.
7416Files: src/eval.c, src/testdir/test_vim9_expr.vim
7417
7418Patch 8.2.1123
7419Problem: Python 3 test is old style.
7420Solution: Turn into new style test. (Yegappan Lakshmanan, closes #6385)
7421Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
7422 src/testdir/test87.in, src/testdir/test87.ok,
7423 src/testdir/test_python2.vim, src/testdir/test_python3.vim
7424
7425Patch 8.2.1124
7426Problem: Vim9: no line break allowed in :import command.
7427Solution: Skip over line breaks.
7428Files: src/vim9script.c, src/proto/vim9script.pro, src/vim9compile.c,
7429 src/testdir/test_vim9_script.vim
7430
7431Patch 8.2.1125
7432Problem: Vim9: double quote can be a string or a comment.
7433Solution: Only support comments starting with # to avoid confusion.
7434Files: src/eval.c, src/proto/eval.pro, src/dict.c, src/list.c,
7435 src/vim9script.c
7436
7437Patch 8.2.1126
7438Problem: Vim9: using :copen causes an error.
7439Solution: Add flag LET_NO_COMMAND in set_var().
7440Files: src/evalvars.c, src/testdir/test_vim9_script.vim
7441
7442Patch 8.2.1127
7443Problem: Vim9: getting a dict member may not work.
7444Solution: Clear the dict only after copying the item. (closes #6390)
7445Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
7446
7447Patch 8.2.1128
7448Problem: The write message mentions characters, but it's actually bytes.
7449Solution: Change "C" to "B" and "characters" to "bytes".
7450Files: runtime/doc/options.txt, src/fileio.c,
7451 src/testdir/test_cscope.vim, src/testdir/test_netbeans.vim,
7452 src/testdir/dumps/Test_diff_syntax_1.dump,
7453 src/testdir/dumps/Test_long_file_name_1.dump,
7454 src/testdir/dumps/Test_display_unprintable_01.dump,
7455 src/testdir/dumps/Test_tselect_1.dump
7456
7457Patch 8.2.1129
7458Problem: Vim9: bar not recognized after not compiled command.
7459Solution: Check for bar for commands where this is possible. (closes #6391)
7460Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
7461
7462Patch 8.2.1130
7463Problem: Vim9: bar not recognized after function call
7464Solution: Skip whitespace. (closes #6391)
7465Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
7466
7467Patch 8.2.1131
7468Problem: Vim9: error message for returning a value in a function that does
7469 not return anything is not clear.
7470Solution: Add a specific message.
7471Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
7472
7473Patch 8.2.1132
7474Problem: Vim9: return type of repeat() 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.1133
7479Problem: Vim9: return type of add() is not specific enough.
7480Solution: Return the type of the first argument. (closes #6395)
7481Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7482
7483Patch 8.2.1134
7484Problem: Vim9: getting a list member may not work.
7485Solution: Clear the list only after copying the item. (closes #6393)
7486Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
7487
7488Patch 8.2.1135
7489Problem: Vim9: getting a dict member may not work.
7490Solution: Clear the dict only after copying the item.
7491Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
7492
7493Patch 8.2.1136
7494Problem: Vim9: return type of argv() is always any.
7495Solution: Use list<string> if there is no argument.
7496Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7497
7498Patch 8.2.1137
7499Problem: Vim9: modifiers not cleared after compiling function.
7500Solution: Clear command modifiers. (closes #6396)
7501Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
7502 src/testdir/test_vim9_func.vim,
7503 src/testdir/dumps/Test_vim9_silent_echo.dump
7504
7505Patch 8.2.1138
7506Problem: Vim9: return type of copy() and deepcopy() is any.
7507Solution: Use type of the argument.
7508Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7509
7510Patch 8.2.1139 (after 8.2.1137)
7511Problem: Vim9: test for silent echo fails in some environments.
7512Solution: Use :function instead of :def.
7513Files: src/testdir/test_vim9_func.vim
7514
7515Patch 8.2.1140
7516Problem: Vim9: return type of extend() is any.
7517Solution: Use type of the argument.
7518Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7519
7520Patch 8.2.1141
7521Problem: Vim9: return type of filter() is any.
7522Solution: Use type of the argument.
7523Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7524
7525Patch 8.2.1142
7526Problem: Vim9: return type of insert() is any.
7527Solution: Use type of the first argument.
7528Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7529
7530Patch 8.2.1143
7531Problem: Vim9: return type of remove() is any.
7532Solution: Use the member type of the first argument, if known.
7533Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7534
7535Patch 8.2.1144
7536Problem: Vim9: return type of reverse() is any.
7537Solution: Use the type of the first argument.
7538Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7539
7540Patch 8.2.1145
7541Problem: Vim9: "for" only accepts a list at compile time.
7542Solution: Also accept a list at runtime.
7543Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
7544 src/testdir/test_vim9_disassemble.vim
7545
7546Patch 8.2.1146
7547Problem: Not enough testing for Python.
7548Solution: Add more tests. Fix uncovered problems. (Yegappan Lakshmanan,
7549 closes #6392)
7550Files: src/if_py_both.h, src/if_python3.c, src/testdir/shared.vim,
7551 src/testdir/test_python2.vim, src/testdir/test_python3.vim
7552
7553Patch 8.2.1147
7554Problem: :confirm may happen in cooked mode. (Jason Franklin)
7555Solution: Switch to raw mode before prompting. (Brandon Pfeifer)
7556Files: src/message.c, src/testdir/test_excmd.vim
7557
7558Patch 8.2.1148
7559Problem: Warning for using int instead of size_t.
7560Solution: Change "len" argument to size_t. (Mike Williams)
7561Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9script.c
7562
7563Patch 8.2.1149
7564Problem: Vim9: :eval command not handled properly.
7565Solution: Compile the :eval command. (closes #6408)
7566Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
7567
7568Patch 8.2.1150
7569Problem: ml_get error when using Python. (Yegappan Lakshmanan)
7570Solution: Check the line number is not out of range. Call "Check" with
7571 "fromObj" instead of "from".
7572Files: src/if_py_both.h, src/testdir/test_python2.vim,
7573 src/testdir/test_python3.vim
7574
7575Patch 8.2.1151
7576Problem: Insufficient test coverage for Python.
7577Solution: Add more test cases. (Yegappan Lakshmanan, closes #6415)
7578Files: src/testdir/test_python2.vim, src/testdir/test_python3.vim
7579
7580Patch 8.2.1152
7581Problem: Vim9: function reference is missing script prefix.
7582Solution: Use the actual function name instead of the name searched for in
7583 the script context. (closes #6412)
7584Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
7585
7586Patch 8.2.1153
7587Problem: Vim9: script test fails on some systems.
7588Solution: Return proper value from Compare().
7589Files: src/testdir/test_vim9_script.vim
7590
7591Patch 8.2.1154
7592Problem: Vim9: crash when using imported function.
7593Solution: Check for a function type. Set the script context when calling a
7594 function. (closes #6412)
7595Files: src/evalvars.c, src/scriptfile.c, src/proto/scriptfile.pro,
7596 src/vim9execute.c, src/structs.h, src/testdir/test_vim9_script.vim
7597
7598Patch 8.2.1155
7599Problem: Vim9: cannot handle line break inside lambda.
7600Solution: Pass the compilation context through. (closes #6407, closes #6409)
7601Files: src/structs.h, src/vim9compile.c, src/proto/vim9compile.pro,
7602 src/eval.c, src/testdir/test_vim9_func.vim
7603
7604Patch 8.2.1156
7605Problem: Vim9: No error for invalid command in compiled function.
7606Solution: Handle CMD_SIZE.
7607Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
7608
7609Patch 8.2.1157
7610Problem: Vim9: dict.name is not recognized as an expression.
7611Solution: Recognize ".name". (closes #6418)
7612Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
7613
7614Patch 8.2.1158 (after 8.2.1155)
7615Problem: Build error.
7616Solution: Add missing change to globals.
7617Files: src/globals.h
7618
7619Patch 8.2.1159
7620Problem: Vim9: no error for missing space after a comma.
7621Solution: Check for white space.
7622Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
7623 src/testdir/test_vim9_script.vim
7624
7625Patch 8.2.1160
7626Problem: Vim9: memory leak in allocated types.
7627Solution: Free the type pointers.
7628Files: src/vim9script.c, src/userfunc.c, src/vim9compile.c,
7629 src/proto/vim9compile.pro
7630
7631Patch 8.2.1161
7632Problem: Vim9: using freed memory.
7633Solution: Put pointer back in evalarg instead of freeing it.
7634Files: src/userfunc.c, src/vim9compile.c, src/eval.c, src/proto/eval.pro,
7635 src/structs.h
7636
7637Patch 8.2.1162
7638Problem: Crash when using a lambda.
7639Solution: Check for evalarg to be NULL.
7640Files: src/userfunc.c
7641
7642Patch 8.2.1163 (after 8.2.1161)
7643Problem: Build error.
7644Solution: Add missing change to globals.
7645Files: src/globals.h
7646
7647Patch 8.2.1164
7648Problem: Text cleared by checking terminal properties not redrawn. (Alexey
7649 Radkov)
7650Solution: Mark the screen characters as invalid. (closes #6422)
7651Files: src/screen.c, src/proto/screen.pro, src/term.c
7652
7653Patch 8.2.1165
7654Problem: Insufficient testing for the Tcl interface.
7655Solution: Add more tests. (Yegappan Lakshmanan, closes #6423)
7656Files: src/testdir/test_tcl.vim
7657
7658Patch 8.2.1166
7659Problem: Once mouse move events are enabled getchar() returns them.
7660Solution: Ignore K_MOUSEMOVE in getchar(). (closes #6424)
7661Files: runtime/doc/eval.txt, src/getchar.c
7662
7663Patch 8.2.1167
7664Problem: Vim9: builtin function method call only supports first argument.
7665Solution: Shift arguments when needed. (closes #6305, closes #6419)
7666Files: src/evalfunc.c, src/vim9compile.c, src/vim9execute.c,
7667 src/vim9.h, src/testdir/test_vim9_expr.vim,
7668 src/testdir/test_vim9_disassemble.vim
7669
7670Patch 8.2.1168
7671Problem: Wrong method argument for appendbufline().
7672Solution: Use FEARG_3.
7673Files: src/evalfunc.c
7674
7675Patch 8.2.1169
7676Problem: Write NUL past allocated space using corrupted spell file.
7677 (Markus Vervier)
7678Solution: Init "c" every time.
7679Files: src/spellfile.c
7680
7681Patch 8.2.1170
7682Problem: Cursor off by one with block paste while 'virtualedit' is "all".
7683Solution: Adjust condition. (Hugo Gualandi, closes #6430)
7684Files: src/register.c, src/testdir/test_registers.vim
7685
7686Patch 8.2.1171
7687Problem: Possible crash when out of memory.
7688Solution: Check for NULL pointer. (Dominique Pellé, closes #6432)
7689Files: src/syntax.c
7690
7691Patch 8.2.1172
7692Problem: Error messages when doing "make clean" in the runtime/doc or
7693 src/tee directories.
7694Solution: Use "rm -f".
7695Files: runtime/doc/Makefile, src/tee/Makefile
7696
7697Patch 8.2.1173
7698Problem: Tee doesn't build on some systems.
7699Solution: Include header files. (Dominique Pelle, closes #6431)
7700Files: src/tee/tee.c
7701
7702Patch 8.2.1174
7703Problem: No test for the "recording @x" message.
7704Solution: Add a test. (Dominique Pellé, closes #6427)
7705Files: src/testdir/test_registers.vim
7706
7707Patch 8.2.1175
7708Problem: Vim9: Cannot split a line before ".member".
7709Solution: Check for ".member" after line break.
7710Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
7711
7712Patch 8.2.1176
7713Problem: Vim9: not enough type checking in Vim9 script.
7714Solution: Use same type checking as in a :def function.
7715Files: src/vim9compile.c, src/proto/vim9compile.pro,
7716 src/eval.c, src/testdir/test_vim9_expr.vim
7717
7718Patch 8.2.1177
7719Problem: Terminal2 test sometimes hangs in the GUI.
7720Solution: Move some tests to other files to further locate the problem.
7721 Set the GUI to a fixed screen size.
7722Files: src/testdir/test_terminal.vim, src/testdir/test_terminal2.vim,
7723 src/testdir/test_terminal3.vim, src/testdir/Make_all.mak,
7724 src/testdir/runtest.vim
7725
7726Patch 8.2.1178
7727Problem: Vim9: filter function recognized as command modifier, leading to a
7728 crash.
7729Solution: Clear cmdmod after freeing items. Do not recognize a command
7730 modifier followed by non-white space. (closes #6434)
7731Files: src/ex_docmd.c, src/vim9compile.c, src/testdir/test_vim9_cmd.vim
7732
7733Patch 8.2.1179
7734Problem: Test_termwinscroll() sometimes hangs in the GUI.
7735Solution: Skip the test in the GUI.
7736Files: src/testdir/test_terminal2.vim
7737
7738Patch 8.2.1180
7739Problem: Build failure in small version.
7740Solution: Add #ifdef.
7741Files: src/ex_docmd.c
7742
7743Patch 8.2.1181
7744Problem: Json code not fully tested.
7745Solution: Add more test coverage. (Dominique Pellé, closes #6433)
7746Files: src/testdir/test_json.vim
7747
7748Patch 8.2.1182
7749Problem: Vim9: no check for whitespace after comma in lambda.
7750Solution: Give error if white space is missing.
7751Files: src/userfunc.c, src/testdir/test_vim9_expr.vim,
7752 src/testdir/test_vim9_func.vim
7753
7754Patch 8.2.1183
7755Problem: assert_fails() checks the last error message.
7756Solution: Check the first error, it is more relevant. Fix all the tests
7757 that rely on the old behavior.
7758Files: runtime/doc/testing.txt, src/message.c, src/globals.h,
7759 src/testing.c, src/testdir/test_autocmd.vim,
7760 src/testdir/test_buffer.vim, src/testdir/test_cd.vim,
7761 src/testdir/test_channel.vim, src/testdir/test_clientserver.vim,
7762 src/testdir/test_cmdline.vim, src/testdir/test_cpoptions.vim,
7763 src/testdir/test_cscope.vim, src/if_cscope.c,
7764 src/testdir/test_excmd.vim, src/evalvars.c,
7765 src/testdir/test_expr.vim, src/testdir/test_functions.vim,
7766 src/testdir/test_json.vim, src/testdir/test_let.vim,
7767 src/testdir/test_listdict.vim, src/testdir/test_listener.vim,
7768 src/testdir/test_match.vim, src/testdir/test_menu.vim,
7769 src/testdir/test_method.vim, src/testdir/test_normal.vim,
7770 src/testdir/test_popup.vim, src/testdir/test_python2.vim,
7771 src/testdir/test_python3.vim, src/testdir/test_quickfix.vim,
7772 src/testdir/test_random.vim, src/testdir/test_search.vim,
7773 src/testdir/test_signs.vim, src/testdir/test_spell.vim,
7774 src/testdir/test_substitute.vim, src/testdir/test_syntax.vim,
7775 src/testdir/test_tagjump.vim, src/testdir/test_taglist.vim,
7776 src/testdir/test_terminal.vim, src/testdir/test_textprop.vim,
7777 src/testdir/test_trycatch.vim,
7778 src/testdir/test_vim9_disassemble.vim,
7779 src/testdir/test_vim9_func.vim, src/vim9compile.c,
7780 src/testdir/test_vim9_script.vim, src/testdir/test_viminfo.vim,
7781 src/testdir/test_winbuf_close.vim,
7782 src/testdir/test_window_cmd.vim, src/testdir/test_writefile.vim,
7783 src/testdir/test_regexp_latin.vim, src/testdir/test_utf8.vim,
7784 src/testdir/test_global.vim, src/testdir/test_tagfunc.vim
7785
7786Patch 8.2.1184 (after 8.2.1183)
7787Problem: Some tests fail.
7788Solution: Adjust tests for different assert_fails() behavior. Remove unused
7789 variable.
7790Files: src/testdir/test_assert.vim, src/testdir/test_eval_stuff.vim,
7791 src/evalvars.c
7792
7793Patch 8.2.1185 (after 8.2.1183)
7794Problem: Some other tests fail.
7795Solution: Adjust tests for different assert_fails() behavior.
7796Files: src/testdir/test_lua.vim, src/testdir/test_tcl.vim
7797
7798Patch 8.2.1186
7799Problem: With SGR mouse codes balloon doesn't show up after click.
7800Solution: Add the MOUSE_RELEASE bits to mouse_code.
7801Files: src/mouse.c
7802
7803Patch 8.2.1187
7804Problem: Terminal2 test sometimes hangs in the GUI on Travis.
7805Solution: Disable Test_zz2_terminal_guioptions_bang() for now.
7806Files: src/testdir/test_terminal2.vim
7807
7808Patch 8.2.1188
7809Problem: Memory leak with invalid json input.
7810Solution: Free all keys at the end. (Dominique Pellé, closes #6443,
7811 closes #6442)
7812Files: src/json.c, src/testdir/test_json.vim
7813
7814Patch 8.2.1189
7815Problem: Vim9: line continuation in lambda doesn't always work.
7816Solution: Do not use a local evalarg unless there isn't one. (closes #6439)
7817Files: src/eval.c, src/testdir/test_vim9_expr.vim
7818
7819Patch 8.2.1190
7820Problem: Vim9: checking for Vim9 syntax is spread out.
7821Solution: Use in_vim9script().
7822Files: src/vim9script.c, src/dict.c, src/eval.c, src/evalvars.c,
7823 src/ex_docmd.c, src/list.c, src/scriptfile.c, src/userfunc.c
7824
7825Patch 8.2.1191
7826Problem: Vim9: crash when function calls itself.
7827Solution: Add status UF_COMPILING. (closes #6441)
7828Files: src/structs.h, src/vim9compile.c, src/testdir/test_vim9_func.vim
7829
7830Patch 8.2.1192
7831Problem: Lua test fails with older Lua version.
7832Solution: Adjust expected error messages. (closes #6444)
7833Files: src/testdir/test_lua.vim
7834
7835Patch 8.2.1193
7836Problem: Terminal window not redrawn when dragging a popup window over it.
7837Solution: Redraw terminal window. (fixes #6438)
7838Files: src/popupwin.c, src/testdir/test_popupwin.vim,
7839 src/testdir/dumps/Test_popupwin_term_01.dump,
7840 src/testdir/dumps/Test_popupwin_term_02.dump
7841
7842Patch 8.2.1194
7843Problem: Test failure because shell prompt differs.
7844Solution: Set the shell prompt.
7845Files: src/testdir/test_popupwin.vim,
7846 src/testdir/dumps/Test_popupwin_term_01.dump,
7847 src/testdir/dumps/Test_popupwin_term_02.dump
7848
7849Patch 8.2.1195
7850Problem: Clientserver test fails on MS-Windows.
7851Solution: Expect a different error message.
7852Files: src/testdir/test_clientserver.vim
7853
7854Patch 8.2.1196
7855Problem: Build failure with normal features.
7856Solution: Add #ifdef.
7857Files: src/popupwin.c
7858
7859Patch 8.2.1197
7860Problem: Clientserver test still fails on MS-Windows.
7861Solution: Expect a different error message.
7862Files: src/testdir/test_clientserver.vim
7863
7864Patch 8.2.1198
7865Problem: Terminal2 test sometimes hangs in the GUI on Travis.
7866Solution: Move test function to terminal3 to see if the problem moves too.
7867Files: src/testdir/test_terminal2.vim, src/testdir/test_terminal3.vim
7868
7869Patch 8.2.1199
7870Problem: Not all assert functions are fully tested.
7871Solution: Test more assert functions.
7872Files: src/testing.c, src/testdir/test_assert.vim
7873
7874Patch 8.2.1200
7875Problem: Vim9: cannot disassemble a lambda function.
7876Solution: Recognize "<lambda>123" as a function name.
7877Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim
7878
7879Patch 8.2.1201
7880Problem: Vim9: crash when passing number as dict key.
7881Solution: Check key type to be string. (closes #6449)
7882Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
7883
7884Patch 8.2.1202
7885Problem: Vim9: crash when calling a closure from a builtin function.
7886Solution: Use the current execution context. (closes #6441)
7887Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
7888
7889Patch 8.2.1203
7890Problem: Unused assignments in expression evaluation.
7891Solution: Move declarations and assignments to inner blocks where possible.
7892Files: src/eval.c
7893
7894Patch 8.2.1204
7895Problem: Vim9: true and false not recognized in Vim9 script.
7896Solution: Recognize true and false.
7897Files: src/eval.c, src/testdir/test_vim9_expr.vim
7898
7899Patch 8.2.1205
7900Problem: Vim9: && and || work differently when not compiled.
7901Solution: Keep the value.
7902Files: src/eval.c, src/testdir/test_vim9_expr.vim
7903
7904Patch 8.2.1206
7905Problem: Vim9: crash in expr test when run in the GUI.
7906Solution: Temporarily comment out two test lines.
7907Files: src/testdir/test_vim9_expr.vim
7908
7909Patch 8.2.1207
7910Problem: Vim9: crash in expr test when run in the GUI.
7911Solution: Break out of loop over hashtab also when function got removed and
7912 added.
7913Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
7914
7915Patch 8.2.1208
7916Problem: Build failure.
7917Solution: Add missing change.
7918Files: src/structs.h
7919
7920Patch 8.2.1209
7921Problem: Vim9: test failure.
7922Solution: Add missing changes to hashtab.
7923Files: src/hashtab.c
7924
7925Patch 8.2.1210
7926Problem: Using ht_used when looping through a hashtab is less reliable.
7927Solution: Use ht_changed in a few more places.
7928Files: src/userfunc.c, src/if_py_both.h
7929
7930Patch 8.2.1211 (after 8.2.1118)
7931Problem: Removed more than dead code.
7932Solution: Put back the decrement.
7933Files: src/move.c, src/testdir/test_diffmode.vim
7934
7935Patch 8.2.1212
7936Problem: Cannot build with Lua 5.4.
7937Solution: Use luaL_typeerror instead defining it. (closes #6454)
7938Files: src/if_lua.c
7939
7940Patch 8.2.1213
7941Problem: Mouse codes not tested sufficiently.
7942Solution: Add more tests for mouse codes. (closes #6436)
7943Files: src/testdir/test_termcodes.vim
7944
7945Patch 8.2.1214
7946Problem: MS-Windows: default _vimrc not correct in silent install mode.
7947Solution: Add the LoadDefaultVimrc macro. (Ken Takata, closes #6451)
7948Files: nsis/gvim.nsi
7949
7950Patch 8.2.1215
7951Problem: Atari MiNT support is outdated.
7952Solution: Nobody responded this code is still useful, so let's delete it.
7953Files: Filelist, src/os_mint.h, src/vim.h, src/Make_mint.mak,
7954 src/digraph.c, src/fileio.c, src/memfile.c, src/os_unix.c,
7955 src/term.c, READMEdir/README_extra.txt, runtime/doc/os_mint.txt,
7956 src/INSTALL
7957
7958Patch 8.2.1216
7959Problem: Startup test fails.
7960Solution: Adjust expected values for deleted lines.
7961Files: src/testdir/test_startup.vim
7962
7963Patch 8.2.1217
7964Problem: Startup test depends on random source file.
7965Solution: Write a test file to find quickfix errors in.
7966Files: src/testdir/test_startup.vim
7967
7968Patch 8.2.1218
7969Problem: Vim9: cannot use 'text'->func().
7970Solution: Recognize string at start of command.
7971Files: src/vim9compile.c, src/ex_docmd.c, src/testdir/test_vim9_func.vim
7972
7973Patch 8.2.1219
7974Problem: Symlink not followed if dirname ends in //.
7975Solution: Resolve symlink earlier. (Tomáš Janoušek, closes #6454)
7976Files: src/memline.c, src/testdir/test_swap.vim
7977
7978Patch 8.2.1220
7979Problem: memory access error when dragging a popup window over a buffer
7980 with folding.
7981Solution: Avoid going over the end of the cache. (closes #6438)
7982Files: src/mouse.c, src/testdir/test_popupwin.vim,
7983 src/testdir/dumps/Test_popupwin_term_01.dump,
7984 src/testdir/dumps/Test_popupwin_term_02.dump,
7985 src/testdir/dumps/Test_popupwin_term_03.dump,
7986 src/testdir/dumps/Test_popupwin_term_04.dump
7987
7988Patch 8.2.1221
7989Problem: Memory leak when updating popup window.
7990Solution: Clear search highlighting.
7991Files: src/popupwin.c
7992
7993Patch 8.2.1222
7994Problem: When using valgrind a Vim command started by a test uses the same
7995 log file name which gets overwritten.
7996Solution: Fix regexp to rename the log file.
7997Files: src/testdir/shared.vim
7998
7999Patch 8.2.1223
8000Problem: Vim9: invalid type error for function default value.
8001Solution: Use right argument index. (closes #6458)
8002Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8003
8004Patch 8.2.1224
8005Problem: Vim9: arguments from partial are not used.
8006Solution: Put the partial arguments on the stack. (closes #6460)
8007Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
8008
8009Patch 8.2.1225
8010Problem: Linker errors when building with dynamic Python 3.9.
8011Solution: Add #defined items. (closes #6461)
8012Files: src/if_python3.c
8013
8014Patch 8.2.1226
8015Problem: MS-Windows: windows positioning wrong when the taskbar is placed
8016 at the top or left of the screen.
8017Solution: Use GetWindowRect and MoveWindow APIs. (Yukihiro Nakadaira,
8018 Ken Takata, closes #6455)
8019Files: src/gui_w32.c
8020
8021Patch 8.2.1227
8022Problem: Vim9: allowing both quoted and # comments is confusing.
8023Solution: Only support # comments in Vim9 script.
8024Files: runtime/doc/vim9.txt, src/ex_docmd.c, src/proto/ex_docmd.pro,
8025 src/vim9compile.c, src/testdir/test_vim9_disassemble.vim,
8026 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
8027 src/testdir/test_vim9_script.vim
8028
8029Patch 8.2.1228
8030Problem: Scrollbars not flush against the window edges when maximised.
8031Solution: Add padding. (Ken Takata, closes #5602, closes #6466)
8032Files: src/gui.c, src/gui_athena.c, src/gui_gtk.c, src/gui_haiku.cc,
8033 src/gui_mac.c, src/gui_motif.c, src/gui_photon.c, src/gui_w32.c,
8034 src/proto/gui_athena.pro, src/proto/gui_gtk.pro,
8035 src/proto/gui_haiku.pro, src/proto/gui_mac.pro,
8036 src/proto/gui_motif.pro, src/proto/gui_photon.pro,
8037 src/proto/gui_w32.pro
8038
8039Patch 8.2.1229
8040Problem: Build error without the eval feature.
8041Solution: Declare starts_with_colon. Make function local.
8042Files: src/ex_docmd.c, src/proto/ex_docmd.pro
8043
8044Patch 8.2.1230
8045Problem: Vim9: list index error not caught by try/catch.
8046Solution: Do not bail out if an error is inside try/catch. (closes #6462)
8047Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
8048
8049Patch 8.2.1231
8050Problem: MS-Windows: GUI code can be cleaned up.
8051Solution: Do a bit of cleaning up. (Ken Takata, closes #6465)
8052Files: src/gui_w32.c, src/proto/gui_w32.pro
8053
8054Patch 8.2.1232
8055Problem: MS-Windows GUI: Snap cancelled by split command.
8056Solution: Do not cancel Snap when splitting a window. (Ken Takata,
8057 closes #6467)
8058Files: src/gui_w32.c
8059
8060Patch 8.2.1233
8061Problem: Vim9: various errors not caught by try/catch.
8062Solution: Do not bail out if an error is inside try/catch.
8063Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
8064
8065Patch 8.2.1234
8066Problem: Lua build problem with old compiler.
8067Solution: Move declarations to start of the block. (Taro Muraoka,
8068 closes #6477)
8069Files: src/if_lua.c
8070
8071Patch 8.2.1235
8072Problem: Not all mouse codes covered by tests.
8073Solution: Add more tests for the mouse. (Yegappan Lakshmanan, closes #6472)
8074Files: src/testdir/mouse.vim, src/testdir/test_termcodes.vim
8075
8076Patch 8.2.1236
8077Problem: Vim9: a few errors not caught by try/catch.
8078Solution: Do not bail out if an error is inside try/catch. Fix that a not
8079 matching catch doesn't jump to :endtry.
8080Files: src/vim9compile.c, src/vim9execute.c,
8081 src/testdir/test_vim9_script.vim
8082
8083Patch 8.2.1237
8084Problem: Changing 'completepopup' after opening a popup has no effect. (Jay
8085 Sitter)
8086Solution: Close the popup when the options are changed. (closes #6471)
8087Files: runtime/doc/options.txt, src/popupwin.c, src/proto/popupwin.pro,
8088 src/optionstr.c, src/testdir/test_popupwin.vim,
8089 src/testdir/dumps/Test_popupwin_infopopup_8.dump
8090
8091Patch 8.2.1238
8092Problem: Vim9: a few remaining errors not caught by try/catch.
8093Solution: Do not bail out if an error is inside try/catch.
8094Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
8095
8096Patch 8.2.1239
8097Problem: "maxwidth" in 'completepopup' not obeyed. (Jay Sitter)
8098Solution: Add separate field for value from option. (closes #6470)
8099Files: src/structs.h, src/popupwin.c, src/popupmenu.c,
8100 src/testdir/dumps/Test_popupwin_infopopup_9.dump
8101
8102Patch 8.2.1240
8103Problem: GUI tests sometimes fail because of translations.
8104Solution: Reload the menus without translation. (Taro Muraoka, closes #6486)
8105Files: src/testdir/runtest.vim
8106
8107Patch 8.2.1241
8108Problem: Cannot use getbufinfo() as a method.
8109Solution: Support using getbufinfo() as a method. (closes #6458)
8110Files: runtime/doc/eval.txt, src/evalfunc.c,
8111 src/testdir/test_bufwintabinfo.vim
8112
8113Patch 8.2.1242
8114Problem: Vim9: no error if calling a function with wrong argument type.
8115Solution: Check types of arguments. (closes #6469)
8116Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9execute.c,
8117 src/testdir/test_vim9_func.vim
8118
8119Patch 8.2.1243
8120Problem: Vim9: cannot have a comment or empty line halfway a list at script
8121 level.
8122Solution: Skip more than one line if needed.
8123Files: src/vim9compile.c, src/proto/vim9compile.pro, src/eval.c,
8124 src/scriptfile.c
8125
8126Patch 8.2.1244
8127Problem: Vim9: in lambda index assumes a list.
8128Solution: Use the value type to decide about list or dict. (closes #6479)
8129Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8130
8131Patch 8.2.1245
8132Problem: Build failure in tiny version.
8133Solution: Add #ifdef.
8134Files: src/scriptfile.c
8135
8136Patch 8.2.1246
8137Problem: Vim9: comment after assignment doesn't work.
8138Solution: Skip over white space. (closes #6481)
8139Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8140
8141Patch 8.2.1247
8142Problem: Vim9: cannot index a character in a string.
8143Solution: Add ISN_STRINDEX instruction. (closes #6478)
8144Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
8145 src/testdir/test_vim9_expr.vim
8146
8147Patch 8.2.1248
8148Problem: Netbeans test is flaky in the GUI.
8149Solution: Filter out geometry messages. (Taro Muraoka, closes #6487)
8150Files: src/testdir/test_netbeans.vim
8151
8152Patch 8.2.1249
8153Problem: Vim9: disassemble test fails.
8154Solution: Change INDEX to LISTINDEX. Add test for STRINDEX.
8155Files: src/testdir/test_vim9_disassemble.vim
8156
8157Patch 8.2.1250
8158Problem: Vim9: cannot use the g:, b:, t: and w: namespaces.
8159Solution: Add instructions to push a dict for the namespaces. (closes #6480)
8160Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
8161 src/testdir/test_vim9_disassemble.vim,
8162 src/testdir/test_vim9_expr.vim
8163
8164Patch 8.2.1251
8165Problem: Vim9: warning for pointer usage, test failure undetected.
8166Solution: Fix pointer indirection. Give error when executing function
8167 failed for any reason. Fix instruction names.
8168Files: src/vim9execute.c, src/userfunc.c, src/proto/userfunc.pro
8169
8170Patch 8.2.1252
8171Problem: ":marks" may show '< and '> mixed up.
8172Solution: Show the mark position as where '< and '> would jump.
8173Files: src/mark.c, src/testdir/test_marks.vim
8174
8175Patch 8.2.1253
8176Problem: CTRL-K in Insert mode gets <CursorHold> inserted. (Roland
8177 Puntaier)
8178Solution: Do not reset did_cursorhold, restore it. (closes #6447)
8179Files: src/normal.c
8180
8181Patch 8.2.1254
8182Problem: MS-Windows: regexp test may fail if 'iskeyword' set wrongly.
8183Solution: Override the 'iskeyword' value. (Taro Muraoka, closes #6502)
8184Files: src/testdir/test_regexp_utf8.vim
8185
8186Patch 8.2.1255
8187Problem: Cannot use a lambda with quickfix functions.
8188Solution: Add support for lambda. (Yegappan Lakshmanan, closes #6499)
8189Files: runtime/doc/eval.txt, runtime/doc/options.txt,
8190 runtime/doc/quickfix.txt, src/channel.c, src/evalvars.c,
8191 src/optionstr.c, src/proto/evalvars.pro, src/proto/quickfix.pro,
8192 src/quickfix.c, src/testdir/test_quickfix.vim
8193
8194Patch 8.2.1256
8195Problem: Vim9: type wrong after getting dict item in lambda.
8196Solution: Set the type to "any" after enforcing dict type. (closes #6491)
8197Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8198
8199Patch 8.2.1257
8200Problem: Vim9: list unpack doesn't work at the script level.
8201Solution: Detect unpack assignment better. (closes #6494)
8202Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
8203
8204Patch 8.2.1258 (after 8.2.1253)
8205Problem: CursorHold does not work well.a (Shane-XB-Qian)
8206Solution: Only restore did_cursorhold when using :normal.
8207Files: src/normal.c
8208
8209Patch 8.2.1259
8210Problem: Empty group in 'tabline' may cause using an invalid pointer.
8211Solution: Set the group start position. (closes #6505)
8212Files: src/buffer.c, src/testdir/test_tabline.vim
8213
8214Patch 8.2.1260
8215Problem: There is no good test for CursorHold.
8216Solution: Add a test. Remove duplicated test. (Yegappan Lakshmanan,
8217 closes #6503)
8218Files: src/testdir/test_autocmd.vim, src/testdir/test_buffer.vim,
8219 src/testdir/test_normal.vim
8220
8221Patch 8.2.1261
8222Problem: Vim9: common type of function not tested.
8223Solution: Add a test. Fix uncovered problems.
8224Files: src/vim9compile.c, src/vim9execute.c,
8225 src/testdir/test_vim9_expr.vim
8226
8227Patch 8.2.1262
8228Problem: src/ex_cmds.c file is too big.
8229Solution: Move help related code to src/help.c. (Yegappan Lakshmanan,
8230 closes #6506)
8231Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
8232 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
8233 src/cmdexpand.c, src/ex_cmds.c, src/help.c, src/proto.h,
8234 src/proto/ex_cmds.pro, src/proto/help.pro
8235
8236Patch 8.2.1263
8237Problem: Vim9: comparators use 'ignorecase' in Vim9 script.
8238Solution: Ignore 'ignorecase'. Use true and false instead of 1 and 0.
8239 (closes #6497)
8240Files: src/eval.c, src/typval.c, src/vim9execute.c,
8241 src/testdir/test_vim9_expr.vim
8242
8243Patch 8.2.1264
8244Problem: Terminal getwinpos() test is a bit flaky.
8245Solution: Call getwinpos() a bit later.
8246Files: src/testdir/test_terminal3.vim
8247
8248Patch 8.2.1265
8249Problem: Crash with EXITFREE when split() fails.
8250Solution: Restore 'cpoptions'.
8251Files: src/evalfunc.c
8252
8253Patch 8.2.1266 (after 8.2.1262)
8254Problem: Makefile preference were accidentally included.
8255Solution: Revert the Makefile changes.
8256Files: src/Makefile
8257
8258Patch 8.2.1267
8259Problem: MS-Windows: tests may fail due to $PROMPT value.
8260Solution: Set $PROMPT for testing. (Taro Muraoka, closes #6510)
8261Files: src/testdir/runtest/vim
8262
8263Patch 8.2.1268
8264Problem: Vim9: no error for using double quote comment after :func or :def.
8265Solution: Only accept double quote when not in Vim9 script and not after
8266 :def. (closes #6483)
8267Files: src/userfunc.c, src/testdir/test_vim9_script.vim
8268
8269Patch 8.2.1269
8270Problem: Language and locale code spread out.
8271Solution: Move relevant code to src/locale.c. (Yegappan Lakshmanan,
8272 closes #6509)
8273Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
8274 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
8275 src/ex_cmds2.c, src/locale.c, src/main.c, src/proto.h,
8276 src/proto/ex_cmds2.pro, src/proto/locale.pro
8277
8278Patch 8.2.1270
8279Problem: Vim9: not skipping over function type declaration with only a
8280 return type.
8281Solution: Skip over the return type. (issue #6507)
8282Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8283
8284Patch 8.2.1271
8285Problem: Vim9: Error for Funcref function argument type.
8286Solution: Find the actual function type if possible. (issue #6507)
8287Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8288
8289Patch 8.2.1272
8290Problem: Vim9: type not checked if declaration also assigns value.
8291Solution: Check the type. (issue #6507)
8292Files: src/eval.c, src/vim9compile.c, src/proto/vim9compile.pro,
8293 src/vim9script.c, src/vim9execute.c,
8294 src/testdir/test_vim9_script.vim
8295
8296Patch 8.2.1273
8297Problem: MS-Windows: terminal test may leave file behind.
8298Solution: Wait a moment for process to end before deleting the file.
8299 (Taro Muraoka, closes #6513)
8300Files: src/testdir/test_terminal.vim
8301
8302Patch 8.2.1274
8303Problem: Vim9: no error for missing white space in assignment at script
8304 level.
8305Solution: Check for white space. (closes #6495)
8306Files: src/eval.c, src/evalvars.c, src/testdir/test_vim9_script.vim,
8307 src/testdir/test_let.vim
8308
8309Patch 8.2.1275
8310Problem: Vim9: compiler warning for buffer size.
8311Solution: Change the offset from 10 to 15. (Dominique Pellé, closes #6518)
8312Files: src/vim9script.c
8313
8314Patch 8.2.1276
8315Problem: MS-Windows: system test may fail if more.exe is installed.
8316Solution: Explicitly use more.com. (Taro Muraoka, Ken Takata, closes #6517)
8317Files: src/testdir/test_system.vim
8318
8319Patch 8.2.1277
8320Problem: Tests on Travis do not run with EXITFREE.
8321Solution: Add EXITFREE to all builds to uncover any mistakes.
8322Files: .travis.yml
8323
8324Patch 8.2.1278
8325Problem: Vim9: line break after "->" only allowed in :def function.
8326Solution: Only allow line break after "->". (closes #6492)
8327Files: src/vim9compile.c, src/globals.h, src/testdir/test_vim9_expr.vim
8328
8329Patch 8.2.1279
8330Problem: Some tests on Travis have EXITFREE duplicated.
8331Solution: Remove EXITFREE from shadowopt. Add "shadow" to job name.
8332Files: .travis.yml
8333
8334Patch 8.2.1280
8335Problem: Ex command error cannot contain an argument.
8336Solution: Add ex_errmsg() and translate earlier. Use e_trailing_arg where
8337 possible.
8338Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/buffer.c,
8339 src/ex_eval.c, src/match.c, src/testdir/test_tabpage.vim
8340
8341Patch 8.2.1281
8342Problem: The "trailing characters" error can be hard to understand.
8343Solution: Add the trailing characters to the message.
8344Files: src/cmdhist.c, src/eval.c, src/evalfunc.c, src/evalvars.c,
8345 src/ex_cmds.c, src/ex_docmd.c, src/ex_eval.c, src/json.c,
8346 src/menu.c, src/quickfix.c, src/sign.c, src/userfunc.c
8347
8348Patch 8.2.1282
8349Problem: Vim9: crash when using CheckScriptFailure() in
8350 Test_vim9script_call_fail_decl().
8351Solution: Do not decrement the def_functions len unless the function was
8352 newly added.
8353Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8354
8355Patch 8.2.1283
8356Problem: Vim9: error for misplaced -> lacks argument.
8357Solution: Use the pointer before it was advanced.
8358Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8359
8360Patch 8.2.1284
8361Problem: Vim9: skipping over type includes following white space, leading
8362 to an error for missing white space.
8363Solution: Do not skip over white space after the type.
8364Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8365
8366Patch 8.2.1285
8367Problem: Vim9: argument types are not checked on assignment.
8368Solution: Check function argument types. (issue #6507)
8369Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8370
8371Patch 8.2.1286
8372Problem: Vim9: No error when using a type on a window variable
8373Solution: Recognize the syntax and give an error. (closes #6521)
8374Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
8375
8376Patch 8.2.1287
8377Problem: Vim9: crash when using an imported function.
8378Solution: Add the function type to the imported entry. (closes #6522)
8379Files: src/vim9script.c, src/vim9compile.c,
8380 src/testdir/test_vim9_script.vim
8381
8382Patch 8.2.1288
8383Problem: Vim9: cannot use mark in range.
8384Solution: Use the flag that a colon was seen. (closes #6528)
8385Files: src/ex_docmd.c, src/testdir/test_vim9_func.vim
8386
8387Patch 8.2.1289
8388Problem: Crash when using a custom completion function.
8389Solution: Initialize all of the expand_T. (closes #6532)
8390Files: src/cmdexpand.c
8391
8392Patch 8.2.1290
8393Problem: Vim9: cannot replace a global function.
8394Solution: Allow for "!" on a global function. (closes #6524) Also fix that
8395 :delfunc on a :def function only made it empty.
8396Files: src/userfunc.c, src/testdir/test_vim9_script.vim
8397
8398Patch 8.2.1291
8399Problem: Vim9: type of varargs items is not checked.
8400Solution: Check the list item types. (closes #6523)
8401Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
8402
8403Patch 8.2.1292
8404Problem: AIDL filetype not recognized.
8405Solution: Add filetype detection. (Dominique Pellé, closes #6533)
8406Files: runtime/filetype.vim, src/testdir/test_filetype.vim
8407
8408Patch 8.2.1293
8409Problem: Vim9: :execute mixes up () expression and function call.
8410Solution: Do not skip white space when looking for the "(". (closes #6531)
8411Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8412
8413Patch 8.2.1294
8414Problem: Vim9: error when using vim9script in TextYankPost.
8415Solution: Use EX_LOCKOK instead of the EX_CMDWIN flag for command that can
8416 be used when text is locked. (closes #6529)
8417Files: src/ex_cmds.h, src/ex_docmd.c
8418
8419Patch 8.2.1295
8420Problem: Tests 44 and 99 are old style.
8421Solution: Convert to new style tests. (Yegappan Lakshmanan, closes #6536)
8422Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
8423 src/testdir/test44.in, src/testdir/test44.ok,
8424 src/testdir/test99.in, src/testdir/test99.ok,
8425 src/testdir/test_regexp_utf8.vim
8426
8427Patch 8.2.1296
8428Problem: Some part of using 'smartcase' was not tested.
8429Solution: Add more tests. (Dominique Pellé, closes #6538)
8430Files: src/testdir/test_search.vim
8431
8432Patch 8.2.1297
8433Problem: When a test fails it's often not easy to see what the call stack
8434 is.
8435Solution: Add more entries from the call stack in the exception message.
8436Files: runtime/doc/cmdline.txt, src/scriptfile.c,
8437 src/proto/scriptfile.pro, src/debugger.c, src/ex_docmd.c,
8438 src/ex_eval.c, src/message.c, src/testing.c,
8439 src/testdir/test_expand_func.vim
8440
8441Patch 8.2.1298
8442Problem: Compiler warning for unused argument in small version.
8443Solution: Add UNUSED.
8444Files: src/scriptfile.c
8445
8446Patch 8.2.1299
8447Problem: Compiler warning for using size_t for int and void pointer.
8448Solution: Add type casts.
8449Files: src/scriptfile.c
8450
8451Patch 8.2.1300
8452Problem: Vim9: optional argument type not parsed properly.
8453Solution: Skip over the "?". (issue #6507)
8454Files: src/vim9compile.c, src/proto/vim9compile.pro, src/evalvars.c,
8455 src/userfunc.c, src/testdir/test_vim9_func.vim
8456
8457Patch 8.2.1301
8458Problem: Vim9: varargs argument type not parsed properly.
8459Solution: Skip over the "...". (issue #6507)
8460Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8461
8462Patch 8.2.1302
8463Problem: Vim9: varargs arg after optional arg does not work
8464Solution: Check for the "..." first. (issue #6507)
8465Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8466
8467Patch 8.2.1303
8468Problem: Calling popup_setoptions() resets 'signcolumn'.
8469Solution: Only set 'signcolumn' when creating the popup. (closes #6542)
8470Files: src/popupwin.c, src/testdir/test_popupwin.vim
8471
8472Patch 8.2.1304
8473Problem: Debug backtrace isn't tested much.
8474Solution: Add more specific tests. (Ben Jackson, closes #6540)
8475Files: src/testdir/runtest.vim, src/testdir/test_debugger.vim
8476
8477Patch 8.2.1305
8478Problem: Some tests are still old style.
8479Solution: Convert tests 52 and 70 to new style. (Yegappan Lakshmanan,
8480 closes #6544) Fix error in FinishTesting().
8481Files: src/testdir/runtest.vim, src/Makefile, src/testdir/Make_all.mak,
8482 src/testdir/Make_amiga.mak, src/testdir/Make_vms.mms,
8483 src/testdir/test52.in, src/testdir/test52.ok,
8484 src/testdir/test70.in, src/testdir/test70.ok,
8485 src/testdir/test_mzscheme.vim, src/testdir/test_writefile.vim
8486
8487Patch 8.2.1306
8488Problem: Checking for first character of dict key is inconsistent.
8489Solution: Add eval_isdictc(). (closes #6546)
8490Files: src/eval.c, src/proto/eval.pro, src/vim9compile.c,
8491 src/testdir/test_listdict.vim, src/testdir/test_vim9_expr.vim,
8492 src/testdir/test_let.vim
8493
8494Patch 8.2.1307
8495Problem: popup window width does not include number, fold of sign column
8496 width.
8497Solution: Take number, fold and sign column with into account.
8498Files: src/popupwin.c, src/testdir/test_popupwin.vim,
8499 src/testdir/dumps/Test_popupwin_sign_2.dump
8500
8501Patch 8.2.1308
8502Problem: Vim9: accidentally using "x" causes Vim to exit.
8503Solution: Disallow using ":x" or "xit" in Vim9 script. (closes #6399)
8504Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9script.c,
8505 src/proto/vim9script.pro, src/ex_docmd.c, src/ex_cmds.c,
8506 src/testdir/test_vim9_script.vim
8507
8508Patch 8.2.1309
8509Problem: Build failure with tiny version.
8510Solution: Add #ifdef.
8511Files: src/ex_cmds.c, src/ex_docmd.c
8512
8513Patch 8.2.1310
8514Problem: Configure with Xcode 12 fails to check for tgetent.
8515Solution: Declare tgetent(). (Ozaki Kiichi, closes #6558)
8516Files: src/configure.ac, src/auto/configure
8517
8518Patch 8.2.1311
8519Problem: Test failures with legacy Vim script.
8520Solution: Actually check for Vim9 script.
8521Files: src/vim9script.c
8522
8523Patch 8.2.1312
8524Problem: MS-Windows: terminal test may fail if dir.exe exists.
8525Solution: Use dir.com. (Ken Takata, closes #6557)
8526Files: src/testdir/test_terminal3.vim
8527
8528Patch 8.2.1313
8529Problem: Vim9 script: cannot assign to environment variable.
8530Solution: Recognize environment variable assignment. (closes #6548)
8531 Also options and registers.
8532Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
8533
8534Patch 8.2.1314
8535Problem: Vim9: rule for comment after :function is confusing.
8536Solution: Allow double quoted comment after :function in vim9script.
8537 (closes #6556)
8538Files: src/userfunc.c, src/testdir/test_vim9_script.vim
8539
8540Patch 8.2.1315
8541Problem: MS-Windows: test log contains escape sequences.
8542Solution: Do not use t_md and t_me but ANSI escape sequences. (Ken Takata,
8543 closes #6559)
8544Files: src/testdir/runtest.vim
8545
8546Patch 8.2.1316
8547Problem: Test 42 is still old style.
8548Solution: Turn it into a new style test. (Yegappan Lakshmanan, closes #6561)
8549Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_dos.mak,
8550 src/testdir/Make_ming.mak, src/testdir/Make_vms.mms,
8551 src/testdir/test42.in, src/testdir/test42.ok,
8552 src/testdir/test_writefile.vim
8553
8554Patch 8.2.1317
8555Problem: MS-Windows tests on AppVeyor are slow.
8556Solution: Use GitHub Actions. (Ken Takata, closes #6569)
8557Files: Filelist, .github/workflows/ci-windows.yaml, appveyor.yml,
8558 ci/appveyor.bat
8559
8560Patch 8.2.1318
8561Problem: No status badge for Github CI.
8562Solution: Add a badge.
8563Files: README.md
8564
8565Patch 8.2.1319
8566Problem: Status badge for Github CI has wrong link.
8567Solution: Rename and use the right link
8568Files: README.md, .github/workflows/ci-windows.yaml
8569
8570Patch 8.2.1320
8571Problem: Vim9: cannot declare some single letter variables.
8572Solution: Do not recognize a colon for a namespace for single letter
8573 variables. (closes #6547)
8574Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8575
8576Patch 8.2.1321
8577Problem: GitHub CI also runs on tag push.
8578Solution: Skip CI on push. (Ken Takata, closes #6571)
8579Files: .github/workflows/ci-windows.yaml
8580
8581Patch 8.2.1322
8582Problem: Vim9: method on double quoted string doesn't work.
8583Solution: Recognize double quoted string. (closes #6562)
8584Files: src/ex_docmd.c, src/testdir/test_vim9_func.vim,
8585 src/testdir/test_vim9_expr.vim
8586
8587Patch 8.2.1323
8588Problem: Vim9: invalid operators only rejected in :def function.
8589Solution: Also reject them at script level. (closes #6564)
8590Files: src/eval.c, src/vim9compile.c, src/proto/vim9compile.pro,
8591 src/testdir/test_vim9_expr.vim
8592
8593Patch 8.2.1324
8594Problem: Vim9: line break after "=" does not work.
8595Solution: Also allow for NUL after "=". (closes #6549)
8596Files: src/evalvars.c, src/testdir/test_vim9_script.vim
8597
8598Patch 8.2.1325
8599Problem: Vim9: using Vim9 script for autoload not tested.
8600Solution: Add a test. Update help.
8601Files: runtime/doc/vim9.txt, src/testdir/test_autoload.vim,
8602 src/testdir/sautest/autoload/auto9.vim
8603
8604Patch 8.2.1326
8605Problem: Vim9: skipping over white space after list.
8606Solution: Do not skip white space, a following [] would be misinterpreted.
8607 (closes #6552) Fix a few side effects.
8608Files: src/list.c, src/dict.c, src/eval.c, src/userfunc.c,
8609 src/testdir/test_functions.vim, src/testdir/test_gn.vim,
8610 src/testdir/test_popupwin.vim, src/testdir/test_tabpage.vim,
8611 src/testdir/test_textprop.vim, src/testdir/test_textobjects.vim
8612
8613Patch 8.2.1327
8614Problem: Mac: configure can't find Tcl libraries.
8615Solution: Adjust configure check. (closes #6575)
8616Files: src/configure.ac, src/auto/configure
8617
8618Patch 8.2.1328
8619Problem: No space allowed before comma in list.
8620Solution: Legacy Vim script allows it. (closes #6577)
8621Files: src/dict.c, src/list.c, src/testdir/test_listdict.vim
8622
8623Patch 8.2.1329
8624Problem: Vim9: cannot define global function inside :def function.
8625Solution: Assign to global variable instead of local. (closes #6584)
8626Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro,
8627 src/vim9.h, src/vim9execute.c, src/structs.h,
8628 src/misc2.c, src/proto/misc2.pro, src/testdir/test_vim9_func.vim,
8629 src/testdir/test_vim9_disassemble.vim
8630
8631Patch 8.2.1330
8632Problem: Github workflow takes longer than needed.
8633Solution: Do two test runs in parallel instead of sequentially. (Ken Takata,
8634 closes #6579)
8635Files: .github/workflows/ci-windows.yaml
8636
8637Patch 8.2.1331
8638Problem: Vim9: :echo with two lists doesn't work.
8639Solution: Do not skip white space before []. (closes #6552)
8640Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8641
8642Patch 8.2.1332
8643Problem: Vim9: memory leak when using nested global function.
8644Solution: Delete the function when deleting the instruction. Disable test
8645 that still causes a leak.
8646Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro,
8647 src/testdir/test_vim9_func.vim
8648
8649Patch 8.2.1333
8650Problem: Vim9: memory leak when using nested global function.
8651Solution: Swap from and to when copying the lines.
8652Files: src/userfunc.c, src/testdir/test_vim9_func.vim
8653
8654Patch 8.2.1334
8655Problem: Github workflow timeout needs tuning
8656Solution: Use a 10 minute timeout. Fail when timing out. (Ken Takata,
8657 closes #6590)
8658Files: .github/workflows/ci-windows.yaml
8659
8660Patch 8.2.1335
8661Problem: CTRL-C in the GUI doesn't interrupt. (Sergey Vlasov)
8662Solution: Recognize "C" with CTRL modifier as CTRL-C. (issue #6565)
8663Files: src/gui.c, src/proto/gui.pro, src/gui_gtk_x11.c, src/gui_x11.c,
8664 src/gui_photon.c
8665
8666Patch 8.2.1336 (after 8.2.1335)
8667Problem: Build failure on non-Unix systems.
8668Solution: Add #ifdef.
8669Files: src/gui.c
8670
8671Patch 8.2.1337
8672Problem: Vim9: cannot use empty key in dict assignment.
8673Solution: Allow empty key. (closes #6591)
8674Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
8675
8676Patch 8.2.1338
8677Problem: Vim9: assigning to script-local variable doesn't check type.
8678Solution: Use the type. (issue #6591)
8679Files: src/vim9compile.c, src/vim9execute.c,
8680 src/testdir/test_vim9_script.vim
8681
8682Patch 8.2.1339
8683Problem: Vim9: assigning to global dict variable doesn't work.
8684Solution: Guess variable type based in index type. (issue #6591)
8685Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8686
8687Patch 8.2.1340
8688Problem: Some tests fail on Cirrus CI and/or with FreeBSD.
8689Solution: Make 'backupskip' empty. Do not run tests as root. Check for
8690 directory when using viminfo. (Ozaki Kiichi, closes #6596)
8691Files: .cirrus.yml, src/testdir/test_backup.vim,
8692 src/testdir/test_edit.vim, src/testdir/test_viminfo.vim,
8693 src/testdir/test_writefile.vim, src/viminfo.c
8694
8695Patch 8.2.1341
8696Problem: Build failures.
8697Solution: Add missing error message.
8698Files: src/globals.h
8699
8700Patch 8.2.1342
8701Problem: Vim9: accidentally using "x" gives a confusing error.
8702Solution: Disallow using ":t" in Vim9 script. (issue #6399)
8703Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9script.c,
8704 src/ex_docmd.c, src/testdir/test_vim9_script.vim
8705
8706Patch 8.2.1343
8707Problem: Vim9: cannot find global function when using g: when local
8708 function with the same name exists.
8709Solution: Find global function when using g:.
8710Files: src/userfunc.c, src/testdir/test_vim9_func.vim
8711
8712Patch 8.2.1344
8713Problem: Vim9: No test for trying to redefine global function.
8714Solution: Add a test.
8715Files: src/testdir/test_vim9_func.vim
8716
8717Patch 8.2.1345
8718Problem: Redraw error when using visual block and scroll.
8719Solution: Add check for w_topline. (closes #6597)
8720Files: src/drawscreen.c, src/testdir/test_display.vim,
8721 src/testdir/dumps/Test_display_visual_block_scroll.dump
8722
8723Patch 8.2.1346
8724Problem: Small build fails.
8725Solution: Add #ifdef.
8726Files: src/ex_docmd.c
8727
8728Patch 8.2.1347
8729Problem: Cannot easily get the script ID.
8730Solution: Support expand('<SID>').
8731Files: runtime/doc/map.txt, src/ex_docmd.c,
8732 src/testdir/test_expand_func.vim
8733
8734Patch 8.2.1348
8735Problem: Build failure without the eval feature.
8736Solution: Add #ifdef.
8737Files: src/ex_docmd.c
8738
8739Patch 8.2.1349
8740Problem: Vim9: can define a function with the name of an import.
8741Solution: Disallow using an existing name. (closes #6585)
8742Files: src/userfunc.c, src/vim9compile.c, src/globals.h,
8743 src/testdir/test_vim9_script.vim
8744
8745Patch 8.2.1350
8746Problem: Vim9: no test for error message when redefining function.
8747Solution: Add a test.
8748Files: src/testdir/test_vim9_script.vim
8749
8750Patch 8.2.1351
8751Problem: Vim9: no proper error if using namespace for nested function.
8752Solution: Specifically check for a namespace. (closes #6582)
8753Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8754
8755Patch 8.2.1352
8756Problem: Vim9: no error for shadowing a script-local function by a nested
8757 function.
8758Solution: Check for script-local function. (closes #6586)
8759Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8760
8761Patch 8.2.1353
8762Problem: Crash when drawing double-wide character in terminal window.
8763 (Masato Nishihata)
8764Solution: Check getcell() returning NULL. (issue #6141)
8765Files: src/libvterm/src/screen.c, src/testdir/test_terminal.vim
8766
8767Patch 8.2.1354
8768Problem: Test 59 is old style.
8769Solution: Convert into a new style test. (Yegappan Lakshmanan, closes #6604)
8770Files: runtime/doc/eval.txt, src/Makefile, src/testdir/Make_all.mak,
8771 src/testdir/Make_vms.mms, src/testdir/test59.in,
8772 src/testdir/test59.ok, src/testdir/test_spell_utf8.vim
8773
8774Patch 8.2.1355
8775Problem: Vim9: no error using :let for options and registers.
8776Solution: Give an error. (closes #6568)
8777Files: src/evalvars.c, src/vim9compile.c,
8778 src/testdir/test_vim9_script.vim
8779
8780Patch 8.2.1356
8781Problem: Vim9: cannot get the percent register.
8782Solution: Check for readable registers instead of writable. (closes #6566)
8783Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8784
8785Patch 8.2.1357
8786Problem: Vim9: cannot assign to / register.
8787Solution: Adjust check for assignment. (issue #6566)
8788Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
8789 src/testdir/test_vim9_script.vim
8790
8791Patch 8.2.1358
8792Problem: Vim9: test fails with +dnd is not available.
8793Solution: Add condition.
8794Files: src/testdir/test_vim9_script.vim
8795
8796Patch 8.2.1359
8797Problem: Vim9: cannot assign to / register in Vim9 script.
8798Solution: Adjust check for assignment in Vim9 script. (closes #6567)
8799Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
8800
8801Patch 8.2.1360
8802Problem: Stray error for white space after expression.
8803Solution: Ignore trailing white space. (closes #6608)
8804Files: src/eval.c, src/testdir/test_filter_map.vim
8805
8806Patch 8.2.1361
8807Problem: Error for white space after expression in assignment.
8808Solution: Skip over white space. (closes #6617)
8809Files: src/eval.c, src/testdir/test_expr.vim
8810
8811Patch 8.2.1362
8812Problem: Last entry of ":set term=xxx" overwritten by error message when
8813 'cmdheight' is two or more. (Tony Mechelynck)
8814Solution: Output extra line breaks.
8815Files: src/term.c, src/testdir/test_termcodes.vim
8816
8817Patch 8.2.1363
8818Problem: Test trying to run terminal when it is not supported.
8819Solution: Check if Vim can be run in a terminal.
8820Files: src/testdir/test_termcodes.vim
8821
8822Patch 8.2.1364
8823Problem: Invalid memory access when searching for raw string.
8824Solution: Check for delimiter match before following quote. (closes #6578)
8825Files: src/search.c
8826
8827Patch 8.2.1365
8828Problem: Vim9: no error for missing white space around operator.
8829Solution: Check for white space. (closes #6618)
8830Files: src/eval.c, src/vim9compile.c, src/proto/vim9compile.pro,
8831 src/evalvars.c, src/testdir/test_vim9_expr.vim,
8832 src/testdir/test_vim9_func.vim
8833
8834Patch 8.2.1366
8835Problem: Test 49 is old style.
8836Solution: Convert several tests to new style. (Yegappan Lakshmanan,
8837 closes #6629)
8838Files: src/testdir/script_util.vim, src/testdir/test49.ok,
8839 src/testdir/test49.vim, src/testdir/test_vimscript.vim
8840
8841Patch 8.2.1367
8842Problem: Vim9: no error for missing white space around operator.
8843Solution: Check for white space around *, / and %.
8844Files: src/eval.c, src/testdir/test_vim9_expr.vim
8845
8846Patch 8.2.1368
8847Problem: Vim9: no error for missing white space around operator.
8848Solution: Check for white space around <, !=, etc.
8849Files: src/eval.c, src/testdir/test_vim9_expr.vim
8850
8851Patch 8.2.1369
8852Problem: MS-Windows: autocommand test sometimes fails.
8853Solution: Do not rely on the cat command.
8854Files: src/testdir/test_autocmd.vim
8855
8856Patch 8.2.1370
8857Problem: MS-Windows: warning for using fstat() with stat_T.
8858Solution: use _fstat64() if available. (Naruhiko Nishino, closes #6625)
8859Files: src/macros.h
8860
8861Patch 8.2.1371
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.1372
8867Problem: Vim9: no error for missing white space around operator.
8868Solution: Check for white space around ? and :.
8869Files: src/eval.c, src/testdir/test_vim9_expr.vim
8870
8871Patch 8.2.1373
8872Problem: Vim9: no error for assigning to non-existing script var.
8873Solution: Check that in Vim9 script the variable was defined. (closes #6630)
8874Files: src/vim9compile.c, src/userfunc.c, src/structs.h,
8875 src/testdir/test_vim9_script.vim
8876
8877Patch 8.2.1374
8878Problem: Vim9: error for assigning empty list to script variable.
8879Solution: Use t_unknown for empty list member. (closes #6595)
8880Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8881
8882Patch 8.2.1375
8883Problem: Vim9: method name with digit not accepted.
8884Solution: Use eval_isnamec() instead of eval_isnamec1(). (closes #6613)
8885Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8886
8887Patch 8.2.1376
8888Problem: Vim9: expression mapping causes error for using :import.
8889Solution: Add EX_LOCK_OK to :import and :export. (closes #6606)
8890Files: src/ex_cmds.h, src/testdir/test_vim9_script.vim
8891
8892Patch 8.2.1377
8893Problem: Triggering the ATTENTION prompt causes typeahead to be messed up.
8894Solution: Increment tb_change_cnt. (closes #6541)
8895Files: src/getchar.c
8896
8897Patch 8.2.1378
8898Problem: Cannot put space between function name and paren.
8899Solution: Allow this for backwards compatibility.
8900Files: src/eval.c, src/testdir/test_expr.vim,
8901 src/testdir/test_vim9_expr.vim
8902
8903Patch 8.2.1379
8904Problem: Curly braces expression ending in " }" does not work.
8905Solution: Skip over white space when checking for "}". (closes #6634)
8906Files: src/dict.c, src/testdir/test_eval_stuff.vim
8907
8908Patch 8.2.1380
8909Problem: Vim9: return type of getreg() is always a string.
8910Solution: Use list of strings when there are three arguments. (closes #6633)
8911Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
8912
8913Patch 8.2.1381
8914Problem: MS-Windows: crash with Python 3.5 when stdin is redirected.
8915Solution: Reconnect stdin. (Yasuhiro Matsumoto, Ken Takata, closes #6641)
8916Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/if_python3.c
8917
8918Patch 8.2.1382
8919Problem: Vim9: using :import in filetype plugin gives an error.
8920Solution: Allow commands with the EX_LOCK_OK flag. (closes #6636)
8921Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
8922
8923Patch 8.2.1383
8924Problem: Test 49 is old style.
8925Solution: Convert test cases to new style. (Yegappan Lakshmanan,
8926 closes #6638)
8927Files: src/testdir/test49.ok, src/testdir/test49.vim,
8928 src/testdir/test_vimscript.vim
8929
8930Patch 8.2.1384
8931Problem: No ATTENTION prompt for :vimgrep first match file.
8932Solution: When there is an existing swap file do not keep the dummy buffer.
8933 (closes #6649)
8934Files: src/quickfix.c, src/testdir/runtest.vim,
8935 src/testdir/test_quickfix.vim
8936
8937Patch 8.2.1385
8938Problem: No testing on ARM.
8939Solution: Add a test on Travis for ARM. (Ozaki Kiichi, closes #6615)
8940Files: .travis.yml
8941
8942Patch 8.2.1386
8943Problem: Backslash not removed after space in option with space in
8944 'isfname'.
8945Solution: Do remove backslash before space, also when it is in 'isfname'.
8946 (Yasuhiro Matsumoto, closes #6651)
8947Files: src/option.c, src/testdir/test_options.vim
8948
8949Patch 8.2.1387
8950Problem: Vim9: cannot assign to single letter variable with type.
8951Solution: Exclude the colon from the variable name. (closes #6647)
8952Files: src/eval.c, src/testdir/test_vim9_script.vim
8953
8954Patch 8.2.1388
8955Problem: Vim9: += only works for numbers.
8956Solution: Use += as concatenate for a list. (closes #6646)
8957Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8958
8959Patch 8.2.1389
8960Problem: File missing from the distribution.
8961Solution: Add script_util.vim to the list of distributes files.
8962Files: Filelist
8963
8964Patch 8.2.1390
8965Problem: Vim9: type error after storing an option value.
8966Solution: Drop the type after a STOREOPT instruction. (closes #6632)
8967Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8968
8969Patch 8.2.1391
8970Problem: Vim9: no error for shadowing a script function.
8971Solution: Check for already defined items. (closes #6652)
8972Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8973
8974Patch 8.2.1392
8975Problem: Vim9: error line number incorrect after skipping over comment
8976 lines.
8977Solution: Insert empty lines for skipped lines.
8978Files: src/userfunc.c, src/testdir/test_vim9_func.vim
8979
8980Patch 8.2.1393
8981Problem: Insufficient testing for script debugging.
8982Solution: Add more tests. (Ben Jackson)
8983Files: src/testdir/test_debugger.vim
8984
8985Patch 8.2.1394
8986Problem: Vim9: compiling a function interferes with command modifiers.
8987Solution: Save and restore command modifiers. (closes #6658)
8988Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
8989 src/testdir/test_vim9_script.vim
8990
8991Patch 8.2.1395
8992Problem: Vim9: no error if declaring a funcref with a lower case letter.
8993Solution: Check the name after the type is inferred. Fix confusing name.
8994Files: src/vim9compile.c, src/dict.c, src/eval.c, src/evalvars.c,
8995 src/proto/evalvars.pro, src/testdir/test_vim9_script.vim,
8996 src/testdir/test_vim9_expr.vim
8997
8998Patch 8.2.1396
8999Problem: Vim9: no error for unexpectedly returning a value.
9000Solution: Only set the return type for lambda's. Make using function type
9001 in a function reference work.
9002Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
9003
9004Patch 8.2.1397
9005Problem: Vim9: return type of maparg() not adjusted for fourth argument.
9006Solution: Check if fourth argument is present. (closes #6645)
9007Files: src/evalfunc.c, src/testdir/test_maparg.vim
9008
9009Patch 8.2.1398
9010Problem: Autoload script sourced twice if sourced directly.
9011Solution: Do not source an autoload script again. (issue #6644)
9012Files: src/scriptfile.c, src/testdir/sautest/autoload/sourced.vim
9013
9014Patch 8.2.1399
9015Problem: Vim9: may find imported item in wrong script.
9016Solution: When looking up script-local function use the embedded script ID.
9017 (issue #6644)
9018Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
9019 src/testdir/test_vim9_script.vim
9020
9021Patch 8.2.1400
9022Problem: Vim9: test does not delete written files.
9023Solution: Correct file names.
9024Files: src/testdir/test_vim9_script.vim
9025
9026Patch 8.2.1401
9027Problem: Cannot jump to the last used tabpage.
9028Solution: Add g<Tab> and tabpagnr('#'). (Yegappan Lakshmanan, closes #6661,
9029 neovim #11626)
9030Files: runtime/doc/eval.txt, runtime/doc/index.txt,
9031 runtime/doc/tabpage.txt, src/evalwindow.c, src/globals.h,
9032 src/normal.c, src/proto/window.pro, src/testdir/test_tabpage.vim,
9033 src/window.c
9034
9035Patch 8.2.1402
9036Problem: s390x tests always fail.
9037Solution: Temporarily disable s390x tests.
9038Files: .travis.yml
9039
9040Patch 8.2.1403
9041Problem: Vim9: Vim highlighting fails in cmdline window if it uses Vim9
9042 commands.
9043Solution: Allow using :vim9script, :import and :export while in the cmdline
9044 window. (closes #6656)
9045Files: src/ex_cmds.h, src/testdir/test_vim9_script.vim
9046
9047Patch 8.2.1404
9048Problem: Vim9: script test fails in the GUI.
9049Solution: Use another key to map. Improve cleanup.
9050Files: src/testdir/test_vim9_script.vim
9051
9052Patch 8.2.1405
9053Problem: Vim9: vim9compile.c is getting too big.
9054Solution: Split off type code to vim9type.c.
9055Files: Filelist, src/vim9compile.c, src/proto/vim9compile.pro,
9056 src/vim9type.c, src/proto/vim9type.pro, src/proto.h,
9057 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Makefile
9058
9059Patch 8.2.1406
9060Problem: Popupwindow lacks scrollbar if no "maxheight" is used.
9061Solution: Compute the max height depending on the position. (closes #6664)
9062Files: src/popupwin.c, src/testdir/test_popupwin.vim,
9063 src/testdir/dumps/Test_popupwin_toohigh_1.dump,
9064 src/testdir/dumps/Test_popupwin_toohigh_2.dump
9065
9066Patch 8.2.1407
9067Problem: Vim9: type of list and dict only depends on first item.
9068Solution: Use all items to decide about the type.
9069Files: src/vim9compile.c, src/vim9type.c, src/proto/vim9type.pro,
9070 src/testdir/test_vim9_expr.vim, runtime/doc/vim9.txt
9071
9072Patch 8.2.1408
9073Problem: Vim9: type casting not supported.
9074Solution: Introduce type casting.
9075Files: runtime/doc/vim9.txt, src/vim9compile.c,
9076 src/testdir/test_vim9_expr.vim,
9077 src/testdir/test_vim9_disassemble.vim
9078
9079Patch 8.2.1409
Bram Moolenaar1588bc82022-03-08 21:35:07 +00009080Problem: Npmrc and php.ini filetypes not recognized.
Bram Moolenaarc51cf032022-02-26 12:25:45 +00009081Solution: Add filetype detection. (Doug Kearns)
9082Files: runtime/filetype.vim, src/testdir/test_filetype.vim
9083
9084Patch 8.2.1410
9085Problem: Adding compiler plugin requires test change.
9086Solution: Include compiler plugin and adjust test.
9087Files: src/testdir/test_compiler.vim, runtime/compiler/xo.vim
9088
9089Patch 8.2.1411
9090Problem: when splitting a window localdir is copied but prevdir is not.
9091Solution: Also copy prevdir. (closes #6667)
9092Files: src/window.c, src/testdir/test_cd.vim
9093
9094Patch 8.2.1412
9095Problem: Vim: not operator does not result in boolean.
9096Solution: Make type depend on operator. (issue 6678) Fix using "false" and
9097 "true" in Vim9 script.
9098Files: src/eval.c, src/testdir/test_vim9_expr.vim
9099
9100Patch 8.2.1413 (after 8.2.1401)
9101Problem: Previous tab page not usable from an Ex command.
9102Solution: Add the "#" argument for :tabnext et al. (Yegappan Lakshmanan,
9103 closes #6677)
9104Files: runtime/doc/tabpage.txt, src/ex_docmd.c, src/window.c,
9105 src/testdir/test_tabpage.vim
9106
9107Patch 8.2.1414
9108Problem: Popupwindow missing last couple of lines when cursor is in the
9109 first line.
9110Solution: Compute the max height also when top aligned. (closes #6664)
9111Files: src/popupwin.c, src/testdir/test_popupwin.vim,
9112 src/testdir/dumps/Test_popupwin_toohigh_3.dump,
9113 src/testdir/dumps/Test_popupwin_nospace.dump
9114
9115Patch 8.2.1415
9116Problem: Closing a popup window with CTRL-C interrupts 'statusline' if it
9117 calls a function.
9118Solution: Reset got_int while redrawing. (closes #6675)
9119Files: src/popupwin.c, src/testdir/test_popupwin.vim,
9120 src/testdir/dumps/Test_popupwin_ctrl_c.dump
9121
9122Patch 8.2.1416
9123Problem: Vim9: boolean evaluation does not work as intended.
9124Solution: Use tv2bool() in Vim9 script. (closes #6681)
9125Files: src/eval.c, src/testdir/test_vim9_expr.vim, src/testdir/vim9.vim
9126
9127Patch 8.2.1417
9128Problem: Test 49 is old style.
9129Solution: Convert more parts to new style test. (Yegappan Lakshmanan,
9130 closes #6682)
9131Files: src/testdir/test49.ok, src/testdir/test49.vim,
9132 src/testdir/test_vimscript.vim
9133
9134Patch 8.2.1418
9135Problem: Vim9: invalid error for missing white space after function.
9136Solution: Do not skip over white space. (closes #6679)
9137Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
9138
9139Patch 8.2.1419
9140Problem: Vim9: not operator applied too early.
9141Solution: Implement the "numeric_only" argument. (closes #6680)
9142Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9143
9144Patch 8.2.1420
9145Problem: Test 49 is old style.
9146Solution: Convert remaining parts to new style. Remove obsolete items.
9147 (Yegappan Lakshmanan, closes #6683)
9148Files: Filelist, runtime/doc/testing.txt, src/Make_mvc.mak, src/Makefile,
9149 src/testdir/Make_all.mak, src/testdir/Make_amiga.mak,
9150 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
9151 src/testdir/Make_vms.mms, src/testdir/Makefile,
9152 src/testdir/README.txt, src/testdir/test49.in,
9153 src/testdir/test49.ok, src/testdir/test49.vim,
9154 src/testdir/test_quickfix.vim, src/testdir/test_vimscript.vim
9155
9156Patch 8.2.1421
9157Problem: Vim9: handling "+" and "-" before number differs from Vim script.
9158Solution: Use the same sequence of commands.
9159Files: src/vim9compile.c
9160
9161Patch 8.2.1422
9162Problem: The Mac GUI implementation is outdated and probably doesn't even
9163 work.
9164Solution: Remove the Mac GUI code. The MacVim project provides the
9165 supported Vim GUI version.
9166Files: Filelist, src/gui_mac.c, src/proto/gui_mac.pro, src/proto.h,
9167 src/Makefile, src/configure.ac, src/auto/configure,
9168 src/evalfunc.c, src/fileio.c, src/gui.c, src/if_mzsch.c,
9169 src/main.c, src/misc2.c, src/mouse.c, src/os_mac_conv.c,
9170 src/os_unix.c, src/feature.h, src/globals.h, src/gui.h,
9171 src/option.h, src/optiondefs.h, src/os_mac.h, src/structs.h,
9172 src/vim.h, src/INSTALLmac.txt
9173
9174Patch 8.2.1423
9175Problem: Vim9: find global function when looking for script-local.
9176Solution: Don't strip prefix if name starts with "s:". (closes #6688)
9177Files: src/userfunc.c, src/testdir/test_vim9_func.vim
9178
9179Patch 8.2.1424 (after 8.2.1422)
9180Problem: Mac build fails.
9181Solution: Adjust configure to not fall back to Athena. Adjust some other
9182 files.
9183Files: src/configure.ac, src/auto/configure, src/os_macosx.m,
9184 src/version.c
9185
9186Patch 8.2.1425
9187Problem: Vim9: cannot use call() without :call.
9188Solution: Do not skip over "call(". (closes #6689)
9189Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
9190
9191Patch 8.2.1426
9192Problem: Vim9: cannot call autoload function in :def function.
9193Solution: Load the autoload script. (closes #6690)
9194Files: src/vim9execute.c, src/vim9compile.c, src/scriptfile.c,
9195 src/testdir/test_vim9_expr.vim
9196
9197Patch 8.2.1427
9198Problem: Vim9: cannot use a range with marks in :def function.
9199Solution: Parse range after colon. (closes #6686)
9200Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
9201
9202Patch 8.2.1428
9203Problem: Vim9: :def function does not abort on nested function error.
9204Solution: Check whether an error message was given. (closes #6691)
9205Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
9206
9207Patch 8.2.1429
9208Problem: Vim9: no error for missing white after : in dict.
9209Solution: Check for white space. (closes #6671) Also check that there is no
9210 white before the :.
9211Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
9212 src/testdir/test_vim9_func.vim
9213
9214Patch 8.2.1430
9215Problem: Vim9: error for missing comma instead of extra white space.
9216Solution: Check if comma can be found after white space. (closes #6668)
9217 Also check for extra white space in literal dict. (closes #6670)
9218Files: src/list.c, src/dict.c, src/vim9compile.c,
9219 src/testdir/test_vim9_expr.vim
9220
9221Patch 8.2.1431
9222Problem: Vim9: no error for white space before comma in dict.
9223Solution: Check for extra white space. (closes #6674)
9224Files: src/vim9compile.c, src/dict.c, src/testdir/test_vim9_expr.vim
9225
9226Patch 8.2.1432
9227Problem: Various inconsistencies in test files.
9228Solution: Add modelines where they were missing. Use Check commands instead
9229 of silently skipping over tests. Adjust indents and comments.
9230 (Ken Takata, closes #6695)
9231Files: src/testdir/test_arglist.vim, src/testdir/test_assert.vim,
9232 src/testdir/test_autochdir.vim, src/testdir/test_autocmd.vim,
9233 src/testdir/test_autoload.vim, src/testdir/test_balloon.vim,
9234 src/testdir/test_balloon_gui.vim, src/testdir/test_behave.vim,
9235 src/testdir/test_blockedit.vim, src/testdir/test_breakindent.vim,
9236 src/testdir/test_bufline.vim, src/testdir/test_bufwintabinfo.vim,
9237 src/testdir/test_cd.vim, src/testdir/test_changedtick.vim,
9238 src/testdir/test_changelist.vim, src/testdir/test_channel.vim,
9239 src/testdir/test_checkpath.vim, src/testdir/test_cindent.vim,
9240 src/testdir/test_cjk_linebreak.vim,
9241 src/testdir/test_clientserver.vim,
9242 src/testdir/test_close_count.vim, src/testdir/test_cmdline.vim,
9243 src/testdir/test_command_count.vim,
9244 src/testdir/test_comparators.vim, src/testdir/test_compiler.vim,
9245 src/testdir/test_crypt.vim, src/testdir/test_cursorline.vim,
9246 src/testdir/test_curswant.vim, src/testdir/test_debugger.vim,
9247 src/testdir/test_delete.vim, src/testdir/test_diffmode.vim,
9248 src/testdir/test_digraph.vim, src/testdir/test_display.vim,
9249 src/testdir/test_edit.vim, src/testdir/test_environ.vim,
9250 src/testdir/test_erasebackword.vim,
9251 src/testdir/test_escaped_glob.vim, src/testdir/test_ex_equal.vim,
9252 src/testdir/test_ex_undo.vim, src/testdir/test_ex_z.vim,
9253 src/testdir/test_exec_while_if.vim, src/testdir/test_exists.vim,
9254 src/testdir/test_exists_autocmd.vim, src/testdir/test_exit.vim,
9255 src/testdir/test_expand_dllpath.vim,
9256 src/testdir/test_expr_utf8.vim, src/testdir/test_feedkeys.vim,
9257 src/testdir/test_file_size.vim, src/testdir/test_fileformat.vim,
9258 src/testdir/test_filter_cmd.vim,
9259 src/testdir/test_find_complete.vim, src/testdir/test_findfile.vim,
9260 src/testdir/test_fixeol.vim, src/testdir/test_flatten.vim,
9261 src/testdir/test_fnameescape.vim, src/testdir/test_fold.vim,
9262 src/testdir/test_functions.vim, src/testdir/test_ga.vim,
9263 src/testdir/test_getcwd.vim, src/testdir/test_getvar.vim,
9264 src/testdir/test_glob2regpat.vim, src/testdir/test_global.vim,
9265 src/testdir/test_gui.vim, src/testdir/test_gui_init.vim,
9266 src/testdir/test_highlight.vim, src/testdir/test_hlsearch.vim,
9267 src/testdir/test_iminsert.vim,
9268 src/testdir/test_increment_dbcs.vim,
9269 src/testdir/test_ins_complete.vim, src/testdir/test_interrupt.vim,
9270 src/testdir/test_job_fails.vim, src/testdir/test_join.vim,
9271 src/testdir/test_json.vim, src/testdir/test_jumplist.vim,
9272 src/testdir/test_jumps.vim, src/testdir/test_lambda.vim,
9273 src/testdir/test_langmap.vim, src/testdir/test_largefile.vim,
9274 src/testdir/test_lineending.vim, src/testdir/test_listchars.vim,
9275 src/testdir/test_listener.vim, src/testdir/test_listlbr.vim,
9276 src/testdir/test_listlbr_utf8.vim,
9277 src/testdir/test_makeencoding.vim, src/testdir/test_man.vim,
9278 src/testdir/test_mapping.vim, src/testdir/test_marks.vim,
9279 src/testdir/test_matchadd_conceal.vim,
9280 src/testdir/test_matchadd_conceal_utf8.vim,
9281 src/testdir/test_memory_usage.vim, src/testdir/test_menu.vim,
9282 src/testdir/test_messages.vim, src/testdir/test_mksession.vim,
9283 src/testdir/test_modeline.vim,
9284 src/testdir/test_nested_function.vim, src/testdir/test_number.vim,
9285 src/testdir/test_options.vim, src/testdir/test_packadd.vim,
9286 src/testdir/test_partial.vim, src/testdir/test_paste.vim,
9287 src/testdir/test_plus_arg_edit.vim, src/testdir/test_preview.vim,
9288 src/testdir/test_profile.vim, src/testdir/test_prompt_buffer.vim,
9289 src/testdir/test_quickfix.vim, src/testdir/test_quotestar.vim,
9290 src/testdir/test_random.vim, src/testdir/test_recover.vim,
9291 src/testdir/test_regex_char_classes.vim,
9292 src/testdir/test_regexp_latin.vim, src/testdir/test_registers.vim,
9293 src/testdir/test_rename.vim, src/testdir/test_retab.vim,
9294 src/testdir/test_scriptnames.vim, src/testdir/test_scroll_opt.vim,
9295 src/testdir/test_scrollbind.vim, src/testdir/test_search_stat.vim,
9296 src/testdir/test_searchpos.vim, src/testdir/test_set.vim,
9297 src/testdir/test_sha256.vim, src/testdir/test_shift.vim,
9298 src/testdir/test_shortpathname.vim, src/testdir/test_signs.vim,
9299 src/testdir/test_sort.vim, src/testdir/test_sound.vim,
9300 src/testdir/test_source_utf8.vim, src/testdir/test_spellfile.vim,
9301 src/testdir/test_startup.vim, src/testdir/test_startup_utf8.vim,
9302 src/testdir/test_stat.vim, src/testdir/test_suspend.vim,
9303 src/testdir/test_swap.vim, src/testdir/test_syntax.vim,
9304 src/testdir/test_tab.vim, src/testdir/test_tabline.vim,
9305 src/testdir/test_tagcase.vim, src/testdir/test_tagjump.vim,
9306 src/testdir/test_taglist.vim, src/testdir/test_termcodes.vim,
9307 src/testdir/test_termencoding.vim, src/testdir/test_terminal.vim,
9308 src/testdir/test_terminal2.vim, src/testdir/test_terminal3.vim,
9309 src/testdir/test_terminal_fail.vim,
9310 src/testdir/test_true_false.vim,
9311 src/testdir/test_utf8_comparisons.vim,
9312 src/testdir/test_vartabs.vim, src/testdir/test_version.vim,
9313 src/testdir/test_vim9_expr.vim, src/testdir/test_winbar.vim,
9314 src/testdir/test_winbuf_close.vim,
9315 src/testdir/test_window_cmd.vim, src/testdir/test_window_id.vim,
9316 src/testdir/test_windows_home.vim, src/testdir/test_wnext.vim,
9317 src/testdir/test_wordcount.vim, src/testdir/test_writefile.vim,
9318 src/testdir/test_xxd.vim
9319
9320Patch 8.2.1433
9321Problem: Vim9: cannot mingle comments in multi-line lambda.
9322Solution: Skip over NULL lines. (closes #6694)
9323Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9324
9325Patch 8.2.1434
9326Problem: Vim9: crash when lambda uses outer function argument.
9327Solution: Set the flag that the outer context is used.
9328Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9329
9330Patch 8.2.1435
9331Problem: Vim9: always converting to string for ".." leads to mistakes.
9332Solution: Only automatically convert simple types.
9333Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9.h,
9334 src/vim9execute.c, src/proto/vim9execute.pro, src/eval.c,
9335 src/evalfunc.c, src/testdir/test_vim9_expr.vim,
9336 src/testdir/test_vim9_disassemble.vim
9337
9338Patch 8.2.1436
9339Problem: Function implementing :substitute has unexpected name.
9340Solution: Rename from do_sub() to ex_substitute().
9341Files: src/ex_cmds.c, src/proto/ex_cmds.pro, src/ex_docmd.c,
9342 src/ex_cmds.h
9343
9344Patch 8.2.1437
9345Problem: Vim9: 'statusline' is evaluated using Vim9 script syntax.
9346Solution: Always use legacy script syntax.
9347Files: src/eval.c, src/testdir/test_vim9_script.vim
9348
9349Patch 8.2.1438
9350Problem: Missing tests for interrupting script execution from debugger.
9351Solution: Add tests. (Yegappan Lakshmanan, closes #6697)
9352Files: src/testdir/test_debugger.vim
9353
9354Patch 8.2.1439
9355Problem: Tiny and small builds have no test coverage.
9356Solution: Restore tests that do not depend on the +eval feature.
9357 (Ken Takata, closes #6696)
9358Files: .travis.yml, Filelist, Makefile, runtime/doc/testing.txt,
9359 src/Make_mvc.mak, src/Makefile, src/testdir/Make_all.mak,
9360 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
9361 src/testdir/Make_ming.mak, src/testdir/Make_vms.mms,
9362 src/testdir/Makefile, src/testdir/runtest.vim,
9363 src/testdir/test1.in, src/testdir/test1.ok, src/testdir/test20.in,
9364 src/testdir/test20.ok, src/testdir/test21.in,
9365 src/testdir/test21.ok, src/testdir/test22.in,
9366 src/testdir/test22.ok, src/testdir/test23.in,
9367 src/testdir/test23.ok, src/testdir/test24.in,
9368 src/testdir/test24.ok, src/testdir/test25.in,
9369 src/testdir/test25.ok, src/testdir/test26.in,
9370 src/testdir/test26.ok, src/testdir/test27.in,
9371 src/testdir/test27.ok, src/testdir/test_options.vim
9372
9373Patch 8.2.1440
9374Problem: Debugger code insufficiently tested.
9375Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6700)
9376Files: src/testdir/test_debugger.vim, src/testdir/test_vimscript.vim
9377
9378Patch 8.2.1441
9379Problem: Running tests in tiny version gives error for summarize.vim.
9380Solution: Set 'cpoptions' to allow for line continuation. Restore
9381 redirecting test output to /dev/null.
9382Files: src/testdir/summarize.vim, src/testdir/Makefile
9383
9384Patch 8.2.1442
9385Problem: Outdated references to the Mac Carbon GUI.
9386Solution: Remove or update references. (Yee Cheng Chin, closes #6703)
9387Files: READMEdir/README_extra.txt, src/Makefile, src/configure.ac,
9388 src/auto/configure, src/gui_haiku.cc, src/os_macosx.m,
9389 src/testdir/test_iminsert.vim, src/vim.h
9390
9391Patch 8.2.1443
9392Problem: Vim9: crash when interrupting a nested :def function.
9393Solution: Push a dummy return value onto the stack. (closes #6701)
9394Files: src/vim9execute.c
9395
9396Patch 8.2.1444
9397Problem: Error messages are spread out and names can be confusing.
9398Solution: Start moving error messages to a separate file and use clear
9399 names.
9400Files: Filelist, src/vim.h, src/globals.h, src/errors.h, src/Makefile,
9401 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms,
9402 src/dict.c, src/evalvars.c, src/ex_docmd.c, src/list.c,
9403 src/userfunc.c, src/vim9compile.c, src/vim9execute.c,
9404 src/vim9script.c, src/vim9type.c
9405
9406Patch 8.2.1445
9407Problem: Vim9: function expanded name is cleared when sourcing a script
9408 again.
9409Solution: Only clear the expanded name when deleting the function.
9410 (closes #6707)
9411Files: src/userfunc.c, src/testdir/test_vim9_script.vim
9412
9413Patch 8.2.1446
9414Problem: Vim9: line number in error message is not correct.
9415Solution: Set SOURCING_LNUM before calling emsg(). (closes #6708)
9416Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
9417
9418Patch 8.2.1447
9419Problem: Vim9: return type of keys() is list<any>.
9420Solution: Should be list<string>. (closes #6711)
9421Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
9422
9423Patch 8.2.1448
9424Problem: Test 77a for VMS depends on small.vim which does not exist.
9425Solution: Use the 'silent while 0" trick. (issue #6696)
9426Files: src/testdir/test77a.in
9427
9428Patch 8.2.1449
9429Problem: Some test makefiles delete files that are not generated.
9430Solution: Remove the deletion commands.
9431Files: src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
9432 src/testdir/Make_amiga.mak, src/testdir/Make_vms.mms
9433
9434Patch 8.2.1450
9435Problem: Vim9: no check that script-local items don't become global.
9436Solution: Add a test.
9437Files: src/testdir/test_vim9_script.vim
9438
9439Patch 8.2.1451
9440Problem: Vim9: list type at script level only uses first item.
9441Solution: Use all members, like in a compiled function. (closes #6712)
9442 Also for dictionary.
9443Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
9444
9445Patch 8.2.1452
9446Problem: Vim9: dead code in to_name_end().
9447Solution: Remove check for lambda and dict, it won't be used.
9448Files: src/vim9compile.c
9449
9450Patch 8.2.1453
9451Problem: Vim9: failure to compile lambda not tested.
9452Solution: Add a test case.
9453Files: src/testdir/test_vim9_expr.vim
9454
9455Patch 8.2.1454
9456Problem: Vim9: failure invoking lambda with wrong arguments.
9457Solution: Handle invalid arguments. Add a test.
9458Files: src/vim9compile.c, src/vim9execute.c,
9459 src/testdir/test_vim9_expr.vim
9460
9461Patch 8.2.1455
9462Problem: Vim9: crash when using typecast before constant.
9463Solution: Generate constant before checking type. Add tets.
9464Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9465
9466Patch 8.2.1456
9467Problem: MS-Windows: test files are not deleted.
9468Solution: use "del" instead of $(DEL).
9469Files: src/testdir/Make_dos.mak
9470
9471Patch 8.2.1457
9472Problem: Vim9: the output of :disassemble cannot be interrupted.
9473Solution: Check got_int. (closes #6715)
9474Files: src/vim9execute.c
9475
9476Patch 8.2.1458
9477Problem: .gawk files not recognized.
9478Solution: Recognize .gawk files. (Doug Kearns)
9479Files: runtime/filetype.vim, src/testdir/test_filetype.vim
9480
9481Patch 8.2.1459
Bram Moolenaar1588bc82022-03-08 21:35:07 +00009482Problem: Vim9: declaring a script variable at the script level does not
Bram Moolenaarc51cf032022-02-26 12:25:45 +00009483 infer the type.
9484Solution: Get the type from the value. (closes #6716)
9485Files: src/evalvars.c, src/testdir/test_vim9_script.vim
9486
9487Patch 8.2.1460
9488Problem: Error messages are spread out.
9489Solution: Move more messages into errors.h.
9490Files: src/errors.h, src/globals.h, src/vim9compile.c, src/vim9execute.c,
9491 src/vim9script.c, src/vim9type.c, src/scriptfile.c, src/ex_cmds.c,
9492 src/ex_docmd.c, src/match.c, src/eval.c, src/evalvars.c,
9493 src/userfunc.c, src/testdir/test_vim9_expr.vim,
9494 src/testdir/test_vim9_disassemble.vim,
9495 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
9496
9497Patch 8.2.1461
9498Problem: Vim9: string indexes are counted in bytes.
9499Solution: Use character indexes. (closes #6574)
9500Files: runtime/doc/eval.txt, src/eval.c, src/proto/eval.pro,
9501 src/vim9execute.c, src/eval.c, src/testdir/test_vim9_expr.vim
9502
9503Patch 8.2.1462
9504Problem: Vim9: string slice not supported yet.
9505Solution: Add support for string slicing.
9506Files: src/errors.h, src/vim9compile.c, src/vim9.h, src/vim9execute.c,
9507 src/eval.c, src/proto/eval.pro, src/testdir/test_vim9_expr.vim,
9508 src/testdir/test_vim9_disassemble.vim
9509
9510Patch 8.2.1463
9511Problem: Vim9: list slice not supported yet.
9512Solution: Add support for list slicing.
9513Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/eval.c,
9514 src/list.c, src/proto/list.pro, src/testdir/test_vim9_expr.vim,
9515 src/testdir/test_vim9_disassemble.vim
9516
9517Patch 8.2.1464
9518Problem: Vim9: build warning for unused variable.
9519Solution: Delete the variable declaration.
9520Files: src/vim9execute.c
9521
9522Patch 8.2.1465
9523Problem: Vim9: subscript not handled properly.
9524Solution: Adjust error message. Remove dead code. Disallow string to
9525 number conversion in scripts.
9526Files: src/errors.h, src/vim9compile.c, src/vim9execute.c, src/eval.c,
9527 src/typval.c, src/list.c, src/testdir/test_vim9_expr.vim,
9528 src/testdir/test_vim9_script.vim
9529
9530Patch 8.2.1466
9531Problem: Vim9: cannot index or slice a variable with type "any".
9532Solution: Add runtime index and slice.
9533Files: src/eval.c, src/proto/eval.pro, src/vim9compile.c,
9534 src/vim9execute.c, src/vim9.h, src/errors.h, src/list.c,
9535 src/testdir/test_vim9_expr.vim,
9536 src/testdir/test_vim9_disassemble.vim,
9537 src/testdir/test_vim9_script.vim
9538
9539Patch 8.2.1467
9540Problem: Vim9: :echomsg doesn't like a dict argument.
9541Solution: Convert arguments like in legacy script. (closes #6717)
9542Files: src/vim9compile.c, src/vim9execute.c,
9543 src/testdir/test_vim9_script.vim
9544
9545Patch 8.2.1468
9546Problem: Vim9: invalid error for missing white space.
9547Solution: Don't skip over white space after index. (closes #6718)
9548Files: src/eval.c, src/testdir/test_vim9_expr.vim
9549
9550Patch 8.2.1469
9551Problem: Vim9: cannot assign string to string option.
9552Solution: Change checks for option value. (closes #6720)
9553Files: src/evalvars.c, src/testdir/test_vim9_script.vim
9554
9555Patch 8.2.1470
9556Problem: Errors in spell file not tested.
9557Solution: Add test for spell file errors. (Yegappan Lakshmanan,
9558 closes #6721)
9559Files: src/testdir/test_spellfile.vim
9560
9561Patch 8.2.1471
9562Problem: :const only locks the variable, not the value.
9563Solution: Lock the value as ":lockvar 1 var" would do. (closes #6719)
9564Files: src/evalvars.c, src/testdir/test_const.vim
9565
9566Patch 8.2.1472
9567Problem: ":argdel" does not work like ":.argdel" as documented. (Alexey
9568 Demin)
9569Solution: Make ":argdel" work like ":.argdel". (closes #6727)
9570 Also fix giving the error "0 more files to edit".
9571Files: src/arglist.c, src/ex_docmd.c, src/testdir/test_arglist.vim
9572
9573Patch 8.2.1473
9574Problem: Items in a list given to :const can still be modified.
9575Solution: Work like ":lockvar! name" but don't lock referenced items.
9576 Make locking a blob work.
9577Files: runtime/doc/eval.txt, src/evalvars.c, src/eval.c,
9578 src/testdir/test_const.vim
9579
9580Patch 8.2.1474
9581Problem: /usr/lib/udef/rules.d not recognized as udevrules.
9582Solution: Adjust match pattern. (Haochen Tong, closes 36722)
9583Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim
9584
9585Patch 8.2.1475
9586Problem: Vim9: can't use v:true for option flags.
9587Solution: Add tv_get_bool_chk(). (closes #6725)
9588Files: src/typval.c, src/proto/typval.pro, src/channel.c
9589
9590Patch 8.2.1476 (after 8.2.1474)
9591Problem: Filetype test fails on MS-Windows.
9592Solution: Remove "^" from pattern.
9593Files: runtime/autoload/dist/ft.vim
9594
9595Patch 8.2.1477
9596Problem: Vim9: error when using bufnr('%').
9597Solution: Don't give an error for using a string argument. (closes #6723)
9598Files: src/evalbuffer.c, src/testdir/test_vim9_func.vim
9599
9600Patch 8.2.1478
9601Problem: Vim9: cannot use "true" for some popup options.
9602Solution: Add dict_get_bool(). (closes #6725)
9603Files: src/dict.c, src/proto/dict.pro, src/popupwin.c
9604
9605Patch 8.2.1479
9606Problem: Vim9: error for list index uses wrong line number.
9607Solution: Set source line number. (closes #6724) Add a way to assert the
9608 line number of the error with assert_fails().
9609Files: runtime/doc/testing.txt, src/vim9execute.c, src/testing.c,
9610 src/evalfunc.c, src/message.c, src/globals.h, src/testdir/vim9.vim,
9611 src/testdir/test_vim9_expr.vim
9612
9613Patch 8.2.1480
9614Problem: Vim9: skip expression in search() gives error.
9615Solution: use tv_get_bool() eval_expr_to_bool(). (closes #6729)
9616Files: src/eval.c, src/typval.c, src/proto/typval.pro,
9617 src/testdir/test_vim9_func.vim
9618
9619Patch 8.2.1481
9620Problem: Vim9: line number reported with error may be wrong.
9621Solution: Check line number in tests.
9622Files: src/testdir/test_vim9_expr.vim, src/testdir/vim9.vim,
9623 src/vim9execute.c
9624
9625Patch 8.2.1482
9626Problem: Vim9: crash when using a nested lambda.
9627Solution: Do not clear the growarray when not evaluating. Correct pointer
9628 when getting the next line. (closes #6731)
9629Files: src/eval.c, src/scriptfile.c, src/testdir/test_vim9_expr.vim
9630
9631Patch 8.2.1483
9632Problem: Vim9: error for using special as number when returning "false"
9633 from a popup filter.
9634Solution: Use tv_get_bool(). (closes #6733)
9635Files: src/popupwin.c
9636
9637Patch 8.2.1484
9638Problem: Flaky failure in assert_fails().
9639Solution: Only used fourth argument if there is a third argument.
9640Files: src/testing.c
9641
9642Patch 8.2.1485
9643Problem: Vim9: readdirex() expression doesn't accept bool.
9644Solution: Accept both -1 and bool. (closes #6737)
9645Files: src/filepath.c, src/testdir/test_vim9_func.vim
9646
9647Patch 8.2.1486
9648Problem: Vim9: readdir() expression doesn't accept bool.
9649Solution: Merge with code for readdirex(). (closes #6737)
9650Files: src/filepath.c, src/testdir/test_vim9_func.vim
9651
9652Patch 8.2.1487
9653Problem: Travis: installing snd-dummy is not always useful.
9654Solution: Only install snd-dummy on amd64. (Ozaki Kiichi, closes #6738)
9655Files: .travis.yml, ci/load-snd-dummy.sh
9656
9657Patch 8.2.1488
9658Problem: Text does not scroll when inserting above first line.
9659Solution: Adjust off-by-one error. (Ken Takata, closes #6739)
9660Files: src/drawscreen.c, src/testdir/test_display.vim,
9661 src/testdir/dumps/Test_display_scroll_at_topline.dump
9662
9663Patch 8.2.1489
9664Problem: Vim9: error when setting an option with setbufvar().
9665Solution: Do not get a number from a string value. (closes #6740)
9666Files: src/evalvars.c, src/testdir/test_vim9_func.vim
9667
9668Patch 8.2.1490
9669Problem: Vim9: using /= with float and number doesn't work.
9670Solution: Better support assignment with operator. (closes #6742)
9671Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
9672
9673Patch 8.2.1491
9674Problem: Vim9: crash when compiling heredoc lines start with comment.
9675Solution: Skip over NULL pointers. Do not remove comment and empty lines
9676 when fetching function lines. (closes #6743)
9677Files: src/vim9compile.c, src/scriptfile.c, src/proto/scriptfile.pro,
9678 src/structs.h, src/ex_docmd.c, src/proto/ex_docmd.pro,
9679 src/ex_cmds.h, src/autocmd.c, src/proto/autocmd.pro,
9680 src/ex_getln.c, src/proto/ex_getln.pro, src/userfunc.c,
9681 src/proto/userfunc.pro, src/evalfunc.c,
9682 src/testdir/test_vim9_script.vim
9683
9684Patch 8.2.1492
9685Problem: Build failures.
9686Solution: Move typedef out of #ifdef. Adjust argument types. Discover
9687 America.
9688Files: src/structs.h, src/ex_docmd.c
9689
9690Patch 8.2.1493
9691Problem: Not enough test coverage for the spell file handling.
9692Solution: Add spell file tests. (Yegappan Lakshmanan, closes #6728)
9693Files: src/spellfile.c, src/testdir/test_spellfile.vim
9694
9695Patch 8.2.1494
9696Problem: Missing change to calling eval_getline().
9697Solution: Change last argument.
9698Files: src/eval.c
9699
9700Patch 8.2.1495
9701Problem: "make clean" may delete too many files.
9702Solution: Do not delete $APPDIR. (closes #6751)
9703Files: src/Makefile
9704
9705Patch 8.2.1496
9706Problem: Vim9: cannot use " #" in a mapping.
9707Solution: Do not remove a comment with the EX_NOTRLCOM flag. (closes #6746)
9708Files: src/ex_docmd.c, src/vim9compile.c, src/testdir/test_vim9_cmd.vim
9709
9710Patch 8.2.1497
9711Problem: CursorHold test is flaky. (Jakub Kądziołka)
9712Solution: Use WaitForAssert() (closes #6754)
9713Files: src/testdir/test_autocmd.vim
9714
9715Patch 8.2.1498
9716Problem: On slow systems tests can be flaky.
9717Solution: Use TermWait() instead of term-wait(). (Yegappan Lakshmanan,
9718 closes #6756)
9719Files: src/testdir/test_digraph.vim, src/testdir/test_display.vim,
9720 src/testdir/test_popupwin.vim, src/testdir/test_termcodes.vim,
9721 src/testdir/test_terminal.vim, src/testdir/test_terminal3.vim,
9722 src/testdir/test_writefile.vim
9723
9724Patch 8.2.1499
9725Problem: Vim9: error when using "$" with col().
9726Solution: Reorder getting the column value. (closes #6744)
9727Files: src/eval.c, src/testdir/test_vim9_func.vim
9728
9729Patch 8.2.1500
9730Problem: Vim9: error when using address without a command.
9731Solution: Execute the range itself. (closes #6747)
9732Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
9733
9734Patch 8.2.1501
9735Problem: Vim9: concatenating to constant reverses order.
9736Solution: Generate constant before option, register and environment
9737 variable. (closes #6757)
9738Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9739
9740Patch 8.2.1502
9741Problem: Vim9: can use += with a :let command at script level.
9742Solution: Give an error.
9743Files: src/evalvars.c, src/testdir/test_vim9_script.vim,
9744 src/testdir/test_vim9_expr.vim
9745
9746Patch 8.2.1503
9747Problem: Vim9: error for an autocmd defined in a :def function in legacy
9748 Vim script.
9749Solution: Don't check the variable type. (closes #6758)
9750Files: src/vim9script.c, src/testdir/test_vim9_script.vim
9751
9752Patch 8.2.1504
9753Problem: Vim9: white space checks are only done for a :def function.
9754Solution: Also do checks at the script level. Adjust the name of a few
9755 error messages.
9756Files: src/userfunc.c, src/errors.h, src/dict.c, src/list.c,
9757 src/vim9compile.c, src/vim9script.c, src/vim9type.c,
9758 src/evalvars.c, src/testdir/test_vim9_expr.vim,
9759 src/testdir/vim9.vim
9760
9761Patch 8.2.1505
9762Problem: Not all file read and writecode is tested.
9763Solution: Add a few tests. (Dominique Pellé, closes #6764)
9764Files: src/testdir/test_eval_stuff.vim, src/testdir/test_fnamemodify.vim,
9765 src/testdir/test_functions.vim
9766
9767Patch 8.2.1506
9768Problem: Vim9: no error when using a number other than 0 or 1 as bool.
9769Solution: Check the number is 0 or 1.
9770Files: src/errors.h, src/typval.c, src/testdir/test_vim9_func.vim
9771
9772Patch 8.2.1507
9773Problem: Using malloc() directly.
9774Solution: Use ALLOC_ONE(). Remove superfluous typecast. (Hussam al-Homsi,
9775 closes #6768)
9776Files: src/eval.c, src/memline.c, src/vimrun.c
9777
9778Patch 8.2.1508
9779Problem: Not all debugger commands covered by tests.
9780Solution: Add tests for going up/down in the stack. (Ben Jackson,
9781 closes #6765)
9782Files: src/testdir/test_debugger.vim
9783
9784Patch 8.2.1509
9785Problem: Vertical separator is cleared when dragging a popup window using a
9786 multi-byte character for the border.
9787Solution: Only clear the character before the window if it is using a
9788 multi-byte character. (closes #6766)
9789Files: src/screen.c
9790
9791Patch 8.2.1510
9792Problem: Using "var" in a :def function may refer to a legacy Vim script
9793 variable.
9794Solution: Require using "s:" to refer to a legacy Vim script variable.
9795 (closes #6771)
9796Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
9797
9798Patch 8.2.1511
9799Problem: Putting a string in Visual block mode ignores multi-byte
9800 characters.
9801Solution: Adjust the column for Visual block mode. (closes #6767)
9802Files: src/register.c, src/testdir/test_visual.vim
9803
9804Patch 8.2.1512
9805Problem: Failure after ternary expression fails.
9806Solution: Restore eval_flags. (Yasuhiro Matsumoto, closes #6776)
9807Files: src/eval.c, src/testdir/test_vimscript.vim,
9808 src/testdir/test_vim9_expr.vim
9809
9810Patch 8.2.1513
9811Problem: Cannot interrupt shell used for filename expansion. (Dominique
9812 Pellé)
9813Solution: Do set tmode in mch_delay(). (closes #6770)
9814Files: src/vim.h, src/os_unix.c, src/proto/os_unix.pro, src/term.c,
9815 src/channel.c, src/if_cscope.c, src/os_amiga.c, src/ui.c,
9816 src/proto/os_amiga.pro, src/os_win32.c, src/proto/os_win32.pro
9817
9818Patch 8.2.1514
9819Problem: Multibyte vertical separator is cleared when dragging a popup
9820 window using a multi-byte character for the border.
9821Solution: Only clear the character before the window if it is double width.
9822 (closes #6766)
9823Files: src/screen.c
9824
9825Patch 8.2.1515
9826Problem: Vim9: can create s:var in legacy script but cannot unlet.
9827Solution: Allow :unlet for legacy script var.
9828Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
9829
9830Patch 8.2.1516
9831Problem: Vim9: error for :exe has wrong line number.
9832Solution: Set line number before calling do_cmdline_cmd(). (closes #6774)
9833Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
9834
9835Patch 8.2.1517
9836Problem: Cannot easily get the character under the cursor.
9837Solution: Add the {chars} argument to strpart().
9838Files: runtime/doc/eval.txt, src/evalfunc.c,
9839 src/testdir/test_functions.vim
9840
9841Patch 8.2.1518
9842Problem: Vim9: cannot assign to local option.
9843Solution: Skip over "&l:" and "&g:". (closes #6749)
9844Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/testdir/vim9.vim,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00009845 src/vim9compile.c, src/testdir/test_vim9_script.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +00009846
9847Patch 8.2.1519
9848Problem: Vim9: Ex command default range is not set.
9849Solution: When range is not given use default. (closes #6779)
9850Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
9851
9852Patch 8.2.1520
9853Problem: Vim9: CTRL-] used in :def function does not work.
9854Solution: Omit count or prepend colon. (closes #6769)
9855Files: src/normal.c, src/testdir/test_vim9_cmd.vim
9856
9857Patch 8.2.1521
9858Problem: Reading past end of buffer when reading spellfile. (Yegappan
9859 Lakshmanan)
9860Solution: Store the byte length and check for it.
9861Files: src/spellfile.c, src/spell.h
9862
9863Patch 8.2.1522
9864Problem: Not enough test coverage for the spell file handling.
9865Solution: Add spell file tests. (Yegappan Lakshmanan, closes #6763)
9866Files: src/testdir/test_spellfile.vim
9867
9868Patch 8.2.1523
9869Problem: Still not enough test coverage for the spell file handling.
9870Solution: Add spell file tests. (Yegappan Lakshmanan, closes #6790)
9871Files: src/testdir/test_spellfile.vim
9872
9873Patch 8.2.1524
9874Problem: No longer get an error for string concatenation with float.
9875 (Tsuyoshi Cho)
9876Solution: Only convert float for Vim9 script. (closes #6787)
9877Files: src/eval.c, src/testdir/test_eval_stuff.vim
9878
9879Patch 8.2.1525
9880Problem: Messages from tests were not always displayed.
9881Solution: Always show messages, the timing is always useful. (Ken Takata,
9882 closes #6792)
9883Files: src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
9884 src/testdir/Makefile
9885
9886Patch 8.2.1526
9887Problem: Line in testdir Makefile got commented out. (Christian Brabandt)
9888Solution: Revert.
9889Files: src/testdir/Makefile
9890
9891Patch 8.2.1527
9892Problem: Vim9: cannot use a function name as a function reference at script
9893 level.
9894Solution: Check if a name is a function name. (closes #6789)
9895Files: src/evalvars.c, src/testdir/test_vim9_expr.vim,
9896 src/testdir/test_vim9_script.vim
9897
9898Patch 8.2.1528
9899Problem: Vim9: :endif not found after "if false".
9900Solution: When skipping still check for a following command. (closes #6797)
9901Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
9902
9903Patch 8.2.1529
9904Problem: Vim9: :elseif may be compiled when not needed.
9905Solution: Do evaluate the :elseif expression.
9906Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9907
9908Patch 8.2.1530
9909Problem: Vim9: test fails on MS-Windows.
9910Solution: Skip Ex command inside "if false".
9911Files: src/vim9compile.c
9912
9913Patch 8.2.1531
9914Problem: Vim9: test still fails on MS-Windows.
9915Solution: When skipping expect function to be NULL.
9916Files: src/vim9compile.c
9917
9918Patch 8.2.1532
9919Problem: Compiler warning for conversion of size_t to long.
9920Solution: Add type cast.
9921Files: src/eval.c
9922
9923Patch 8.2.1533
9924Problem: Vim9: error when passing getreginfo() result to setreg().
9925Solution: Use dict_get_bool() for "isunnamed". (closes #6784)
9926Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
9927
9928Patch 8.2.1534
9929Problem: Vim9: type error for argument type is not at call position.
9930Solution: Set the context and stack after checking the arguments.
9931 (issue #6785)
9932Files: src/userfunc.c, src/vim9execute.c, src/testdir/test_vim9_func.vim
9933
9934Patch 8.2.1535
9935Problem: It is not possible to specify cell widths of characters.
9936Solution: Add setcellwidths().
9937Files: runtime/doc/eval.txt, runtime/doc/options.txt,
9938 runtime/doc/usr_41.txt, src/evalfunc.c, src/mbyte.c,
9939 src/proto/mbyte.pro, src/errors.h, src/testdir/test_utf8.vim
9940
9941Patch 8.2.1536
9942Problem: Cannot get the class of a character; emoji widths are wrong in
9943 some environments.
9944Solution: Add charclass(). Update some emoji widths. Add script to check
9945 emoji widths.
9946Files: Filelist, runtime/doc/eval.txt, runtime/doc/usr_41.txt,
9947 src/evalfunc.c, src/mbyte.c, src/proto/mbyte.pro,
9948 src/testdir/emoji_list.vim, src/testdir/test_functions.vim
9949
9950Patch 8.2.1537
Bram Moolenaar1588bc82022-03-08 21:35:07 +00009951Problem: Memory access error when using setcellwidths().
Bram Moolenaarc51cf032022-02-26 12:25:45 +00009952Solution: Use array and pointers correctly.
9953Files: src/mbyte.c, src/errors.h, src/testdir/test_utf8.vim
9954
9955Patch 8.2.1538
9956Problem: Python: iteration over vim objects fails to keep reference.
9957Solution: Keep a reference for the object. (Paul Ollis, closes #6803,
9958 closes #6806)
9959Files: src/if_py_both.h, src/testdir/test_python3.vim
9960
9961Patch 8.2.1539
9962Problem: Using invalid script ID causes a crash.
9963Solution: Check the script ID to be valid. (closes #6804)
9964Files: src/globals.h, src/evalvars.c, src/profiler.c, src/scriptfile.c,
9965 src/vim9compile.c, src/testdir/test_vim9_script.vim
9966
9967Patch 8.2.1540
9968Problem: The user cannot try out emoji character widths.
9969Solution: Move the emoji script to the runtime/tools directory.
9970Files: Filelist, src/testdir/emoji_list.vim, runtime/tools/emoji_list.vim
9971
9972Patch 8.2.1541
9973Problem: Vim9: cannot find function reference for s:Func.
9974Solution: Recognize <SNR> prefix. (closes #6805)
9975Files: src/userfunc.c, src/vim9execute.c,
9976 src/testdir/test_vim9_script.vim
9977
9978Patch 8.2.1542
9979Problem: Vim9: test with invalid SID does not work in the GUI.
9980Solution: Skip the test in the GUI.
9981Files: src/testdir/test_vim9_script.vim
9982
9983Patch 8.2.1543
9984Problem: Vim9: test with invalid SID is skipped in the GUI.
9985Solution: Read the CTRL-C that feedkeys() put in typeahead.
9986Files: src/testdir/test_vim9_script.vim
9987
9988Patch 8.2.1544
9989Problem: Cannot translate messages in a Vim script.
9990Solution: Add gettext(). Try it out for a few messages in the options
9991 window.
9992Files: Filelist, src/po/Makefile, src/po/README.txt, runtime/optwin.vim,
9993 src/evalfunc.c, src/po/tojavascript.vim, src/po/fixfilenames.vim,
9994 runtime/doc/eval.txt, runtime/doc/usr_41.txt
9995
9996Patch 8.2.1545
9997Problem: ch_logfile() is unclear about closing when forking.
9998Solution: Adjust the log messages.
9999Files: src/channel.c, src/os_unix.c
10000
10001Patch 8.2.1546
10002Problem: Build rule for Vim.app is unused.
10003Solution: Delete the related build rules.
10004Files: src/Makefile
10005
10006Patch 8.2.1547
10007Problem: Various comment problems.
10008Solution: Update comments.
10009Files: src/arglist.c, src/map.c, src/mbyte.c, src/tag.c, src/undo.c,
10010 src/testdir/README.txt, src/testdir/test_put.vim,
10011 src/libvterm/README
10012
10013Patch 8.2.1548
10014Problem: Cannot move position of "%%" in message translations. (Emir Sarı)
10015Solution: Improve the check script.
10016Files: src/po/check.vim
10017
10018Patch 8.2.1549
10019Problem: The "r" command fails for keys with modifiers if 'esckeys' is off
10020 and modifyOtherKeys is used. (Lauri Tirkkonen)
10021Solution: Temporarily disable bracketed paste and modifyOtherKeys if
10022 'esckeys' is off. (closes #6809)
10023Files: src/normal.c
10024
10025Patch 8.2.1550
10026Problem: Vim9: bufname('%') gives an error.
10027Solution: Only give an error for wrong argument type. (closes #6807)
10028Files: src/evalbuffer.c, src/testdir/test_vim9_func.vim
10029
10030Patch 8.2.1551
10031Problem: Vim9: error for argument type does not mention the number.
10032Solution: Pass the argument number to where the error is given.
10033Files: src/vim9type.c, src/proto/vim9type.pro, src/vim9compile.c,
10034 src/vim9execute.c, src/vim9script.c, src/eval.c,
10035 src/testdir/test_vim9_func.vim
10036
10037Patch 8.2.1552
10038Problem: Warnings from asan with clang-11. (James McCoy)
10039Solution: Avoid using a NULL pointer. (issue #6811)
10040Files: src/fold.c
10041
10042Patch 8.2.1553 (after 8.2.1552)
10043Problem: Crash in edit test.
10044Solution: Avoid using invalid pointer.
10045Files: src/fold.c
10046
10047Patch 8.2.1554
10048Problem: Crash in normal test.
10049Solution: Skip adjusting marks if there are no folds.
10050Files: src/fold.c
10051
10052Patch 8.2.1555
10053Problem: Not all tests are executed on Github Actions.
10054Solution: Copy "src" to "src2" earlier. Recognize "src2" in a couple more
10055 places. Add two tests to the list of flaky tests. (Ken Takata,
10056 closes #6798)
10057Files: .github/workflows/ci-windows.yaml, src/testdir/runtest.vim,
10058 src/testdir/test_python2.vim, src/testdir/test_python3.vim
10059
10060Patch 8.2.1556
10061Problem: Cursorline highlighting always overrules sign highlighting.
10062Solution: Combine the highlighting, use the priority to decide how.
10063 (closes #6812)
10064Files: runtime/doc/sign.txt, src/structs.h, src/drawline.c,
10065 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim,
10066 src/testdir/test_signs.vim,
10067 src/testdir/dumps/Test_sign_cursor_5.dump,
10068 src/testdir/dumps/Test_sign_cursor_6.dump
10069
10070Patch 8.2.1557
10071Problem: Crash in :vimgrep when started as "vim -n". (Raul Segura)
10072Solution: Check mfp pointer. (Yegappan Lakshmanan, closes #6827)
10073Files: src/quickfix.c, src/testdir/test_quickfix.vim
10074
10075Patch 8.2.1558
10076Problem: Signs test fails.
10077Solution: Add missing change to sign.c.
10078Files: src/sign.c
10079
10080Patch 8.2.1559
10081Problem: s390x tests work again.
10082Solution: re-enable s390x tests. (James McCoy, closes #6829)
10083Files: .travis.yml
10084
10085Patch 8.2.1560
10086Problem: Using NULL pointers in some code. (James McCoy)
10087Solution: Avoid adding to a NULL pointer. Use byte as unsigned.
10088Files: src/fold.c, src/eval.c, src/spellsuggest.c, src/spellfile.c,
10089 src/vim9compile.c
10090
10091Patch 8.2.1561
10092Problem: Using NULL pointers in fold code.
10093Solution: Avoid using a NULL pointer. (Dominique Pellé, closes #6831,
10094 closes #6831)
10095Files: src/fold.c
10096
10097Patch 8.2.1562
10098Problem: Vim9: error when using "%" where a buffer is expected.
10099Solution: Add tv_get_buf_from_arg(). (closes #6814)
10100Files: src/typval.c, src/proto/typval.pro, src/evalbuffer.c,
10101 src/testdir/test_vim9_func.vim
10102
10103Patch 8.2.1563
10104Problem: Vim9: error when using '%" with setbufvar() or getbufvar().
10105Solution: Use tv_get_buf_from_arg(). (closes #6816)
10106Files: src/evalvars.c, src/testdir/test_vim9_func.vim
10107
10108Patch 8.2.1564
10109Problem: A few remaining errors from ubsan.
10110Solution: Avoid the warnings. (Dominique Pellé, closes #6837)
10111Files: src/spellfile.c, src/spellsuggest.c, src/viminfo.c
10112
10113Patch 8.2.1565
10114Problem: Spellfile test sometimes fails.
10115Solution: Check running into the end of the file.
10116Files: src/spellfile.c
10117
10118Patch 8.2.1566
10119Problem: Not all Bazel files are recognized.
10120Solution: Add *.bazel and *.BUILD. (closes #6836)
10121Files: runtime/filetype.vim, src/testdir/test_filetype.vim
10122
10123Patch 8.2.1567
10124Problem: No example to use ubsan with clang.
10125Solution: Add example commands. (Dominique Pellé, issue #6811)
10126Files: src/Makefile
10127
10128Patch 8.2.1568
10129Problem: prop_find() skips properties in the same line if "skipstart" is
10130 used.
10131Solution: Use "continue" instead of "break". (closes #6840)
10132Files: src/textprop.c, src/testdir/test_textprop.vim
10133
10134Patch 8.2.1569
10135Problem: Vim9: fixes for functions not tested; failure in getchangelist().
10136Solution: Add tests. (closes #6813, closes #6815, closes #6817)
10137Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10138
10139Patch 8.2.1570
10140Problem: Configure check for dirfd() does not work on HPUX. (Michael Osipov)
10141Solution: Use AC_TRY_LINK instead of AC_TRY_COMPILE. (closes #6838)
10142Files: src/configure.ac, src/auto/configure, src/fileio.c, src/globals.h
10143
10144Patch 8.2.1571
10145Problem: Vim9: count() third argument cannot be "true".
10146Solution: Use tv_get_bool_chk(). (closes #6818)
10147Files: src/typval.c, src/list.c, src/testdir/test_vim9_func.vim
10148
10149Patch 8.2.1572
10150Problem: Vim9: expand() does not take "true" as argument.
10151Solution: Use tv_get_bool_chk(). (closes #6819)
10152Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10153
10154Patch 8.2.1573
10155Problem: Vim9: getreg() does not take "true" as argument.
10156Solution: Use tv_get_bool_chk(). (closes #6820)
10157Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10158
10159Patch 8.2.1574
10160Problem: Vim9: glob() 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.1575
10165Problem: Vim9: globpath() does not take "true" as argument.
10166Solution: Use tv_get_bool_chk(). (closes #6821)
10167Files: src/filepath.c, src/testdir/test_vim9_func.vim
10168
10169Patch 8.2.1576
10170Problem: Vim9: index() does not take "true" as argument.
10171Solution: Use tv_get_bool_chk(). (closes #6823)
10172Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10173
10174Patch 8.2.1577
10175Problem: Vim9: hasmapto(), mapcheck() and maparg() do not take "true" as
10176 argument.
10177Solution: Use tv_get_bool(). (closes #6822, closes #6824)
10178Files: src/evalfunc.c, src/map.c, src/testdir/test_vim9_func.vim
10179
10180Patch 8.2.1578
10181Problem: Vim9: popup_clear() does not take "true" as argument.
10182Solution: Use tv_get_bool(). (closes #6826)
10183Files: src/popupwin.c, src/testdir/test_popupwin.vim
10184
10185Patch 8.2.1579
10186Problem: Reports from asan are not optimal.
10187Solution: Use clang with ubsan. (James McCoy, closes #6811)
10188Files: .travis.yml
10189
10190Patch 8.2.1580
10191Problem: Wildmenu does not work properly.
10192Solution: Do not call may_do_incsearch_highlighting() if completion is in
10193 progress.
10194Files: src/ex_getln.c, src/testdir/test_cmdline.vim,
10195 src/testdir/dumps/Test_wildmenu_1.dump,
10196 src/testdir/dumps/Test_wildmenu_2.dump,
10197 src/testdir/dumps/Test_wildmenu_3.dump,
10198 src/testdir/dumps/Test_wildmenu_4.dump
10199
10200Patch 8.2.1581
10201Problem: Using line() for global popup window doesn't work.
10202Solution: Set tabpage to "curtab". (closes #6847)
10203Files: src/evalwindow.c, src/testdir/test_popupwin.vim
10204
10205Patch 8.2.1582
10206Problem: The channel log does not show typed text.
10207Solution: Add raw typed text to the log file.
10208Files: src/ui.c, src/os_win32.c
10209
10210Patch 8.2.1583
10211Problem: MS-Windows: cannot easily measure code coverage.
10212Solution: Add the COVERAGE option. (Ken Takata, closes #6842)
10213Files: src/Make_cyg_ming.mak
10214
10215Patch 8.2.1584
10216Problem: Vim9: cannot use "true" for "skipstart" in prop_find().
10217Solution: Use dict_get_bool() instead of tv_get_number(). (closes #6852)
10218Files: src/textprop.c, src/testdir/test_textprop.vim
10219
10220Patch 8.2.1585
10221Problem: Messages in errors.h not translated, xgettext on MS-Windows not
10222 fully supported.
10223Solution: Add errors.h to list of input files. Update MS-Windows makefiles
10224 to improve message translations. (Ken Takata, closes #6858)
10225Files: src/po/Make_cyg.mak, src/po/Make_ming.mak, src/po/Make_mvc.mak,
10226 src/po/Makefile, src/po/README.txt, src/po/fixfilenames.vim
10227
10228Patch 8.2.1586
10229Problem: :resize command not fully tested.
10230Solution: Add a couple of tests. (Dominique Pellé, closes #6857)
10231Files: src/testdir/test_window_cmd.vim
10232
10233Patch 8.2.1587
10234Problem: Loop for handling keys for the command line is too long.
10235Solution: Move wild menu handling to separate functions. (Yegappan
10236 Lakshmanan, closes #6856)
10237Files: src/cmdexpand.c, src/proto/cmdexpand.pro, src/ex_getln.c
10238
10239Patch 8.2.1588
10240Problem: Cannot read back the prompt of a prompt buffer.
10241Solution: Add prompt_getprompt(). (Ben Jackson, closes #6851)
10242Files: runtime/doc/channel.txt, runtime/doc/eval.txt,
10243 runtime/doc/usr_41.txt, src/channel.c, src/edit.c, src/evalfunc.c,
10244 src/proto/channel.pro, src/proto/edit.pro,
10245 src/testdir/test_prompt_buffer.vim
10246
10247Patch 8.2.1589
10248Problem: Term_start() options for size are overruled by 'termwinsize'.
10249 (Sergey Vlasov)
10250Solution: Set 'termwinsize' to the specified size.
10251Files: src/terminal.c, src/testdir/test_terminal2.vim,
10252 src/testdir/term_util.vim
10253
10254Patch 8.2.1590
10255Problem: Vim9: bufnr() doesn't take "true" argument.
10256Solution: use tv_get_bool_chk(). (closes #6863)
10257Files: src/evalbuffer.c, src/testdir/test_vim9_func.vim
10258
10259Patch 8.2.1591
10260Problem: Using winheight('.') in tests works but is wrong.
10261Solution: Use winheight(0). (issue #6863)
10262Files: src/testdir/test_functions.vim, src/testdir/test_quickfix.vim
10263
10264Patch 8.2.1592
10265Problem: Vim9: passing "true" to char2nr() fails.
10266Solution: Use tv_get_bool_chk(). (closes #6865)
10267Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10268
10269Patch 8.2.1593
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010270Problem: Tests do not check the error number properly.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010271Solution: Add a colon after the error number. (closes #6869)
10272Files: src/testdir/test_assert.vim, src/testdir/test_autocmd.vim,
10273 src/testdir/test_backspace_opt.vim, src/testdir/test_channel.vim,
10274 src/testdir/test_clientserver.vim, src/testdir/test_cmdline.vim,
10275 src/testdir/test_const.vim, src/testdir/test_cscope.vim,
10276 src/testdir/test_eval_stuff.vim, src/testdir/test_functions.vim,
10277 src/testdir/test_global.vim, src/testdir/test_gui.vim,
10278 src/testdir/test_hlsearch.vim, src/testdir/test_lambda.vim,
10279 src/testdir/test_let.vim, src/testdir/test_listdict.vim,
10280 src/testdir/test_move.vim, src/testdir/test_normal.vim,
10281 src/testdir/test_popupwin.vim, src/testdir/test_put.vim,
10282 src/testdir/test_quickfix.vim, src/testdir/test_rename.vim,
10283 src/testdir/test_search.vim, src/testdir/test_signs.vim,
10284 src/testdir/test_substitute.vim, src/testdir/test_syntax.vim,
10285 src/testdir/test_tagfunc.vim, src/testdir/test_tagjump.vim,
10286 src/testdir/test_taglist.vim, src/testdir/test_terminal.vim,
10287 src/testdir/test_terminal2.vim, src/testdir/test_textprop.vim,
10288 src/testdir/test_timers.vim, src/testdir/test_true_false.vim,
10289 src/testdir/test_user_func.vim, src/testdir/test_vim9_func.vim,
10290 src/testdir/test_vim9_script.vim, src/testdir/test_vimscript.vim,
10291 src/testdir/test_winbar.vim, src/testdir/test_winbuf_close.vim,
10292 src/testdir/test_window_cmd.vim, src/testdir/test_writefile.vim
10293
10294Patch 8.2.1594
10295Problem: Pull requests on github do not notify a maintainer.
10296Solution: Add a CODEOWNERS file with a few initial entries.
10297Files: Filelist, .github/CODEOWNERS
10298
10299Patch 8.2.1595
10300Problem: Cannot easily see what Vim sends to the terminal.
10301Solution: Write output to the channel log if it contains terminal control
10302 sequences. Avoid warnings for tputs() argument.
10303Files: src/term.c, src/globals.h, src/edit.c, src/normal.c,
10304 src/optionstr.c
10305
10306Patch 8.2.1596
10307Problem: Using win_screenpos('.') in tests works but is wrong.
10308Solution: Use win_screenpos(0).
10309Files: src/testdir/test_terminal3.vim
10310
10311Patch 8.2.1597
10312Problem: The channel source file is too big.
10313Solution: Move job related code to a new source file.
10314Files: Filelist, src/Makefile, src/Make_mvc.mak, src/Make_cyg_ming.mak,
10315 src/channel.c, src/proto/channel.pro, src/job.c,
10316 src/proto/job.pro, src/proto.h, src/edit.c, src/proto/edit.pro,
10317 src/globals.h, src/configure.ac, src/auto/configure
10318
10319Patch 8.2.1598
10320Problem: Starting a hidden terminal resizes the current window.
10321Solution: Do not resize the current window for a hidden terminal.
10322 (closes #6872)
10323Files: src/terminal.c, src/testdir/test_terminal2.vim
10324
10325Patch 8.2.1599
10326Problem: Missing line end when skipping a long line with :cgetfile.
10327Solution: Fix off-by-one error. (closes #6870)
10328Files: src/quickfix.c, src/testdir/test_quickfix.vim
10329
10330Patch 8.2.1600
10331Problem: Vim9: cannot use "true" with deepcopy().
10332Solution: Use tv_get_bool_chk(). (closes #6867)
10333Files: src/evalfunc.c, src/testdir/test_vim9_func.vim,
10334 src/testdir/test_listdict.vim
10335
10336Patch 8.2.1601
10337Problem: Vim9: cannot use "true" with garbagecollect().
10338Solution: Use tv_get_bool(). (closes #6871)
10339Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10340
10341Patch 8.2.1602
10342Problem: Vim9: cannot use "true" with getbufinfo().
10343Solution: Use dict_get_bool(). (closes #6873)
10344Files: src/evalbuffer.c, src/testdir/test_vim9_func.vim
10345
10346Patch 8.2.1603
10347Problem: Vim9: cannot use "true" with getchar().
10348Solution: use tv_get_bool_chk(). (closes #6874)
10349Files: src/getchar.c, src/testdir/test_vim9_func.vim
10350
10351Patch 8.2.1604
10352Problem: Vim9: cannot use "true" with getcompletion().
10353Solution: use tv_get_bool_chk(). (closes #6875)
10354Files: src/cmdexpand.c, src/testdir/test_vim9_func.vim
10355
10356Patch 8.2.1605
10357Problem: Default maintainer on github is wrong.
10358Solution: Use Bram's account.
10359Files: .github/CODEOWNERS
10360
10361Patch 8.2.1606
10362Problem: Vim9: cannot use "true" with has().
10363Solution: Use tv_get_bool(). (closes #6876)
10364Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10365
10366Patch 8.2.1607
10367Problem: Vim9: getchar() test fails on MS-Windows.
10368Solution: First consume any available input.
10369Files: src/testdir/test_vim9_func.vim
10370
10371Patch 8.2.1608
10372Problem: Vim9: getchar() test fails with GUI.
10373Solution: Avoid that getchar(0) gets stuck on K_IGNORE.
10374Files: src/getchar.c
10375
10376Patch 8.2.1609
10377Problem: Vim9: test fails when build without +channel.
10378Solution: Add check for +channel. (closes #6879)
10379Files: src/testdir/test_vim9_expr.vim
10380
10381Patch 8.2.1610
10382Problem: Vim9: cannot pass "true" to list2str() and str2list().
10383Solution: Use tv_get_bool_chk(). (closes #6877)
10384Files: src/evalfunc.c, src/list.c, src/testdir/test_vim9_func.vim
10385
10386Patch 8.2.1611
10387Problem: Vim9: cannot pass "true" to nr2char().
10388Solution: use tv_get_bool_chk(). (closes #6878)
10389Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10390
10391Patch 8.2.1612
10392Problem: Vim9: cannot pass "true" to prop_remove().
10393Solution: Use dict_get_bool(). (closes #6853)
10394Files: src/textprop.c, src/testdir/test_textprop.vim
10395
10396Patch 8.2.1613
10397Problem: Vim9: cannot pass "true" to prop_type_add().
10398Solution: Use tv_get_bool(). (closes #6850)
10399Files: src/textprop.c, src/testdir/test_textprop.vim
10400
10401Patch 8.2.1614
10402Problem: Vim9: cannot pass "true" to searchcount().
10403Solution: Use tv_get_bool_chk(). (closes #6854)
10404Files: src/search.c, src/testdir/test_vim9_func.vim
10405
10406Patch 8.2.1615
10407Problem: Vim9: cannot pass "true" to searchdecl().
10408Solution: use tv_get_bool_chk(). (closes #6881)
10409Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10410
10411Patch 8.2.1616
10412Problem: Vim9: cannot pass "true" to synID().
10413Solution: Use tv_get_bool_chk(). (closes #6860)
10414Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10415
10416Patch 8.2.1617
10417Problem: Vim9: cannot pass "true" to win_splitmove().
10418Solution: Use dict_get_bool(). (closes #6862) Alphabetize test functions.
10419Files: src/evalwindow.c, src/testdir/test_vim9_func.vim
10420
10421Patch 8.2.1618
10422Problem: Vim9: cannot pass "true" to setloclist().
10423Solution: Use dict_get_bool(). (closes #6882)
10424Files: src/quickfix.c, src/testdir/test_vim9_func.vim
10425
10426Patch 8.2.1619
10427Problem: Vim9: cannot pass "true" to spellsuggest().
10428Solution: Use tv_get_bool_chk(). (closes #6883)
10429Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10430
10431Patch 8.2.1620
10432Problem: searchcount() test fails.
10433Solution: Restore default flag value.
10434Files: src/search.c
10435
10436Patch 8.2.1621
10437Problem: Crash when using submatch(0, 1) in substitute().
10438Solution: Increment reference count. (closes #6887)
10439Files: src/regexp.c, src/testdir/test_substitute.vim
10440
10441Patch 8.2.1622
10442Problem: Loop to handle keys for the command line is too long.
10443Solution: Move code to functions. (Yegappan Lakshmanan, closes #6880)
10444Files: src/ex_getln.c
10445
10446Patch 8.2.1623
10447Problem: Vim9: using :call where it is not needed.
10448Solution: Remove :call. (closes #6892)
10449Files: src/testdir/test_maparg.vim, src/testdir/test_textprop.vim,
10450 src/testdir/test_vim9_disassemble.vim,
10451 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
10452 src/testdir/test_vim9_script.vim
10453
10454Patch 8.2.1624
10455Problem: Vim9: cannot pass "true" to split(), str2nr() and strchars().
10456Solution: Use tv_get_bool_chk(). (closes #6884, closes #6885, closes #6886)
10457Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10458
10459Patch 8.2.1625
10460Problem: Compiler warning for use of fptr_T.
10461Solution: Make the type less strict.
10462Files: src/regexp.c
10463
10464Patch 8.2.1626
10465Problem: Test for strchars() fails with different error number.
10466Solution: Adjust the error number.
10467Files: src/testdir/test_utf8.vim
10468
10469Patch 8.2.1627
10470Problem: Vim9: cannot pass "true" to submatch(), term_gettty() and
10471 term_start()
10472Solution: Use tv_get_bool_chk(). (closes #6888, closes #6890, closes #6889)
10473Files: src/evalfunc.c, src/terminal.c, src/job.c,
10474 src/testdir/test_vim9_func.vim
10475
10476Patch 8.2.1628
10477Problem: Vim9: cannot pass "true" to timer_paused().
10478Solution: Use tv_get_bool(). (closes #6891)
10479Files: src/time.c, src/testdir/test_vim9_func.vim
10480
10481Patch 8.2.1629
10482Problem: Test fails without terminal feature.
10483Solution: Check for terminal feature.
10484Files: src/testdir/test_vim9_func.vim
10485
10486Patch 8.2.1630
10487Problem: Terminal test fails.
10488Solution: Correct argument to term_start(). Correct error number.
10489Files: src/testdir/test_terminal.vim, src/testdir/test_terminal2.vim
10490
10491Patch 8.2.1631
10492Problem: test_fails() does not check the context of the line number.
10493Solution: Use another argument to specify the context of the line number.
10494Files: runtime/doc/testing.txt, runtime/doc/eval.txt,
10495 src/testdir/test_vim9_func.vim, src/testing.c, src/globals.h,
10496 src/evalfunc.c, src/message.c
10497
10498Patch 8.2.1632
10499Problem: Not checking the context of test_fails().
10500Solution: Add the line number and context arguments. Give error if
10501 assert_fails() argument types are wrong.
10502Files: src/testing.c, src/errors.h, src/testdir/test_assert.vim,
10503 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
10504
10505Patch 8.2.1633
10506Problem: Some error messages are internal but do not use iemsg().
10507Solution: Use iemsg(). (Dominique Pellé, closes #6894)
10508Files: src/regexp.c, src/regexp_bt.c, src/regexp_nfa.c
10509
10510Patch 8.2.1634
10511Problem: Loop to handle keys for the command line is too long.
10512Solution: Move a few more parts to separate functions. (Yegappan Lakshmanan,
10513 closes #6895)
10514Files: src/ex_getln.c, src/testdir/test_cmdline.vim
10515
10516Patch 8.2.1635
10517Problem: No digraph for 0x2022 BULLET.
10518Solution: Use "oo". (Hans Ginzel, closes #6904)
10519Files: src/digraph.c, runtime/doc/digraph.txt
10520
10521Patch 8.2.1636
10522Problem: Get stuck if a popup filter causes an error.
10523Solution: Check whether the function can be called and does not cause an
10524 error. (closes #6902)
10525Files: src/structs.h, src/popupwin.c, src/testdir/test_popupwin.vim
10526 src/testdir/dumps/Test_popupwin_wrong_name.dump,
10527 src/testdir/dumps/Test_popupwin_three_errors_1.dump,
10528 src/testdir/dumps/Test_popupwin_three_errors_2.dump
10529
10530Patch 8.2.1637
10531Problem: Vim9: :put ={expr} does not work inside :def function.
10532Solution: Add ISN_PUT. (closes #6397)
10533Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/register.c,
10534 src/proto/register.pro, src/edit.c, src/ex_docmd.c, src/mouse.c,
10535 src/normal.c, src/testdir/test_vim9_cmd.vim,
10536 src/testdir/test_vim9_disassemble.vim
10537
10538Patch 8.2.1638
10539Problem: Leaking memory when popup filter function can't be called.
10540Solution: Don't return too soon.
10541Files: src/popupwin.c
10542
10543Patch 8.2.1639
10544Problem: Options window cannot be translated.
10545Solution: Get the translation for "local to" texts once and use them in many
10546 places. Fix that 'whichwrap' is not a local option. (issue #6800)
10547Files: runtime/optwin.vim
10548
10549Patch 8.2.1640
10550Problem: Amiga: missing header for getgrgid().
10551Solution: Add the grp.h header. (Ola Söder, closes #6906)
10552Files: src/os_amiga.h
10553
10554Patch 8.2.1641
10555Problem: Vim9: cannot use 0 or 1 where a bool is expected.
10556Solution: Allow using 0 and 1 for a bool type. (closes #6903)
10557Files: src/vim9compile.c, src/vim9type.c, src/proto/vim9type.pro,
10558 src/structs.h, src/testdir/test_vim9_script.vim
10559
10560Patch 8.2.1642
10561Problem: Options test fails.
10562Solution: Correct call to OptionG().
10563Files: runtime/optwin.vim
10564
10565Patch 8.2.1643
10566Problem: Vim9: :defcompile compiles dead functions.
10567Solution: Skip over dead functions.
10568Files: src/userfunc.c
10569
10570Patch 8.2.1644
10571Problem: Vim9: cannot assign 1 and 0 to bool at script level.
10572Solution: Add the TTFLAG_BOOL_OK flag to the type. Fix name of test
10573 function.
10574Files: src/vim9type.c, src/testdir/test_vim9_script.vim,
10575 src/testdir/vim9.vim, src/testdir/test_vim9_expr.vim
10576
10577Patch 8.2.1645
10578Problem: GTK3: icons become broken images when resized.
10579Solution: Use gtk_image_new_from_icon_name(). (closes #6916)
10580 Fix compiler warnings.
10581Files: src/gui_gtk_x11.c
10582
10583Patch 8.2.1646
10584Problem: Amiga: Unnecessary #include.
10585Solution: Remove the #include. (Ola Söder, closes #6908)
10586Files: src/version.c
10587
10588Patch 8.2.1647
10589Problem: Vim9: result of expression with && and || cannot be assigned to a
10590 bool variable.
10591Solution: Add the TTFLAG_BOOL_OK flag and convert the value if needed.
10592Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
10593 src/testdir/test_vim9_disassemble.vim
10594
10595Patch 8.2.1648
10596Problem: Amiga: no common build file for Amiga (-like) systems.
10597Solution: Turn Make_morph.mak into Make_ami.mak. (Ola Söder, closes #6805)
10598Files: Filelist, src/Make_ami.mak, src/Make_morph.mak, src/INSTALLami.txt
10599
10600Patch 8.2.1649
10601Problem: GTK3: using old file chooser.
10602Solution: Use native file chooser on GTK 3.20 and above. (Yogeshwar
10603 Velingker, closes #6909)
10604Files: src/gui_gtk.c
10605
10606Patch 8.2.1650
10607Problem: Vim9: result of && and || expression cannot be assigned to a bool
10608 at the script level.
10609Solution: Add the VAR_BOOL_OK flag. Convert to bool when needed.
10610Files: src/structs.h, src/vim9type.c, src/proto/vim9type.pro,
10611 src/vim9script.c, src/evalvars.c, src/eval.c,
10612 src/testdir/test_vim9_script.vim
10613
10614Patch 8.2.1651
10615Problem: Spellfile code not completely tested.
10616Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #6918)
10617Files: src/testdir/test_spellfile.vim
10618
10619Patch 8.2.1652
10620Problem: Cannot translate lines in the options window.
10621Solution: Use the AddOption() function to split descriptions where indicated
10622 by a line break. (issue #6800)
10623Files: runtime/optwin.vim
10624
10625Patch 8.2.1653
10626Problem: Expand('<stack>') does not include the final line number.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010627Solution: Add the line number. (closes #6927)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010628Files: src/vim.h, src/scriptfile.c, src/proto/scriptfile.pro,
10629 src/debugger.c, src/ex_docmd.c, src/ex_eval.c, src/message.c,
10630 src/testing.c, src/testdir/test_expand_func.vim
10631
10632Patch 8.2.1654
10633Problem: When job writes to hidden buffer current window has display
10634 errors. (Johnny McArthur)
10635Solution: Use aucmd_prepbuf() instead of switch_to_win_for_buf().
10636 (closes #6925)
10637Files: src/channel.c
10638
10639Patch 8.2.1655
10640Problem: Cannot build with Strawberry Perl 5.32.0.
10641Solution: Use Perl_sv_2pvbyte_flags. (closes #6921)
10642Files: src/if_perl.xs
10643
10644Patch 8.2.1656
10645Problem: Vim9: callstack wrong if :def function calls :def function.
10646Solution: Set the line number before calling. (closes #6914)
10647Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
10648
10649Patch 8.2.1657
10650Problem: Vim9: no proper error for nested ":def!".
10651Solution: Check for "!". (closes #6920)
10652Files: src/errors.h, src/vim9compile.c, src/testdir/test_vim9_func.vim
10653
10654Patch 8.2.1658
10655Problem: Expand('<stack>') has trailing "..".
10656Solution: Remove the "..". (closes #6927)
10657Files: src/scriptfile.c, src/testdir/test_expand_func.vim
10658
10659Patch 8.2.1659
10660Problem: Spellfile code not completely tested.
10661Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #6929)
10662Files: src/testdir/test_spell.vim, src/testdir/test_spellfile.vim
10663
10664Patch 8.2.1660
10665Problem: Assert functions require passing expected result as the first
10666 argument, which isn't obvious.
10667Solution: Use a method, as in "runtest()->assert_equal(expected)".
10668Files: src/testdir/test_vim9_func.vim
10669
10670Patch 8.2.1661
10671Problem: Cannot connect to 127.0.0.1 for host with only IPv6 addresses.
10672Solution: pass AI_V4MAPPED flag to getaddrinfo. (Filipe Brandenburger,
10673 closes #6931)
10674Files: src/channel.c
10675
10676Patch 8.2.1662
10677Problem: :mksession does not restore shared terminal buffer properly.
10678Solution: Keep a hashtab with terminal buffers. (Rob Pilling, closes #6930)
10679Files: src/hashtab.c, src/proto/terminal.pro, src/session.c,
10680 src/terminal.c, src/testdir/test_mksession.vim
10681
10682Patch 8.2.1663
10683Problem: Options window entries cannot be translated.
10684Solution: Use AddOption() for all explanations. (closes #6800)
10685Files: runtime/optwin.vim
10686
10687Patch 8.2.1664
10688Problem: Memory leak when using :mkview with a terminal buffer.
10689Solution: Don't use a hastab for :mkview. (Rob Pilling, closes #6935)
10690Files: src/session.c, src/terminal.c, src/testdir/test_mksession.vim
10691
10692Patch 8.2.1665
10693Problem: Cannot do fuzzy string matching.
10694Solution: Add matchfuzzy(). (Yegappan Lakshmanan, closes #6932)
10695Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
10696 src/proto/search.pro, src/search.c, src/testdir/test_functions.vim
10697
10698Patch 8.2.1666
10699Problem: The initial value of 'backupskip' can have duplicate items.
10700Solution: Remove duplicates, like when it is set later. (Tom Ryder,
10701 closes #6940)
10702Files: src/option.c, src/testdir/test_options.vim
10703
10704Patch 8.2.1667
10705Problem: Local function name cannot shadow a global function name.
10706Solution: Ignore global functions when checking a script-local or scoped
10707 function name. (closes #6926)
10708Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro,
10709 src/testdir/test_vim9_func.vim
10710
10711Patch 8.2.1668
10712Problem: Vim9: not accepting 0 or 1 as bool when type is any.
10713Solution: Convert the type with the CHECKTYPE instruction. (closes #6913)
10714Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
10715
10716Patch 8.2.1669
10717Problem: Vim9: memory leak when storing a value fails.
10718Solution: Free the value when not storing it.
10719Files: src/evalvars.c
10720
10721Patch 8.2.1670
10722Problem: A couple of gcc compiler warnings.
10723Solution: Initialize local variables. (Dominique Pellé, closes #6944)
10724Files: src/memline.c, src/option.c
10725
10726Patch 8.2.1671
10727Problem: Vim9: stray error for missing white space.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010728Solution: Do not skip over white space after member. (closes #6917)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010729Files: src/eval.c, src/testdir/test_vim9_expr.vim
10730
10731Patch 8.2.1672
10732Problem: v_lock is used when it is not initialized. (Yegappan Lakshmanan)
10733Solution: Initialize the typval in eval1().
10734Files: src/eval.c
10735
10736Patch 8.2.1673
10737Problem: complete_info() selected index has an invalid value. (Ben Jackson)
10738Solution: Set the index when there is only one match. (closes #6945)
10739 Add test for complete_info().
10740Files: src/insexpand.c, src/testdir/test_ins_complete.vim
10741
10742Patch 8.2.1674
10743Problem: Vim9: internal error when using variable that was not set.
10744Solution: Give a meaningful error. (closes #6937)
10745Files: src/vim9script.c, src/testdir/test_vim9_script.vim
10746
10747Patch 8.2.1675
10748Problem: MinGW: testdir makefile deletes non-existing file.
10749Solution: Use another way to delete the output file if it already exists.
10750 (Michael Soyka)
10751Files: src/testdir/Make_ming.mak
10752
10753Patch 8.2.1676
10754Problem: Compiler warnings for function typecast.
10755Solution: Add an intermediate cast to "void *".
10756Files: src/os_unix.c
10757
10758Patch 8.2.1677
10759Problem: Memory access errors when calling setloclist() in an autocommand.
10760Solution: Give an error if the list was changed unexpectedly. (closes #6946)
10761Files: src/quickfix.c, src/testdir/test_quickfix.vim
10762
10763Patch 8.2.1678
10764Problem: Crash when using ":set" after ":ownsyntax". (Dhiraj Mishra)
10765Solution: Make sure 'spelloptions' is not NULL. (closes #6950)
10766Files: src/syntax.c, src/testdir/test_syntax.vim
10767
10768Patch 8.2.1679
10769Problem: Vim9: ":*" is not recognized as a range.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010770Solution: Move recognizing "*" into skip_range(). (closes #6938)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010771Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/cmdexpand.c,
10772 src/ex_getln.c, src/userfunc.c, src/vim9compile.c,
10773 src/testdir/test_vim9_cmd.vim
10774
10775Patch 8.2.1680
10776Problem: Vim9: line number for compare error is wrong.
10777Solution: Set SOURCING_LNUM. (closes #6936)
10778Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
10779
10780Patch 8.2.1681
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010781Problem: Vim9: unnecessary :call commands in tests.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010782Solution: Remove the commands. (issue #6936)
10783Files: src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
10784
10785Patch 8.2.1682
10786Problem: Vim9: const works in an unexpected way.
10787Solution: ":const" only disallows changing the variable, not the value.
10788 Make "list[0] = 9" work at the script level.
10789Files: src/vim9compile.c, src/evalvars.c, src/testdir/test_vim9_script.vim
10790
10791Patch 8.2.1683
10792Problem: Vim9: assignment test fails.
10793Solution: Include changes to find Ex command.
10794Files: src/ex_docmd.c
10795
10796Patch 8.2.1684
10797Problem: "gF" does not use line number after file in Visual mode.
10798Solution: Look for ":123" after the Visual area. (closes #6952)
10799Files: src/findfile.c, src/testdir/test_gf.vim
10800
10801Patch 8.2.1685
10802Problem: Vim9: cannot declare a constant value.
10803Solution: Introduce ":const!".
10804Files: runtime/doc/vim9.txt, src/ex_cmds.h, src/vim9compile.c,
10805 src/vim9.h, src/vim9execute.c, src/evalvars.c,
10806 src/proto/evalvars.pro, src/errors.h, src/vim.h, src/eval.c,
10807 src/testdir/test_vim9_script.vim
10808
10809Patch 8.2.1686
10810Problem: Vim9: "const!" not sufficiently tested.
10811Solution: Add a few more test cases. Fix type checking.
10812Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
10813
10814Patch 8.2.1687
10815Problem: Vim9: out of bounds error.
10816Solution: Check that cmdidx is not negative.
10817Files: src/vim9compile.c
10818
10819Patch 8.2.1688
10820Problem: Increment/decrement removes text property.
10821Solution: Insert the new number before deleting the old one. (closes #6962)
10822Files: src/ops.c, src/testdir/test_textprop.vim
10823
10824Patch 8.2.1689
10825Problem: 'colorcolumn' doesn't show in indent.
10826Solution: Also draw the column when draw_state is WL_BRI or WL_SBR.
10827 (Alexey Demin, closes #6948, closes #6619)
10828Files: src/drawline.c, src/testdir/dumps/Test_colorcolumn_2.dump,
10829 src/testdir/dumps/Test_colorcolumn_3.dump,
10830 src/testdir/test_highlight.vim
10831
10832Patch 8.2.1690
10833Problem: Text properties not adjusted for "I" in Visual block mode.
10834Solution: Call inserted_bytes(). (closes #6961)
10835Files: src/ops.c, src/change.c, src/proto/change.pro,
10836 src/testdir/test_textprop.vim
10837
10838Patch 8.2.1691
10839Problem: Vim9: list<any> is not accepted where list<number> is expected.
10840Solution: Add functions to allocate and free a type_T, use it in
10841 ISN_CHECKTYPE. (closes #6959)
10842Files: src/vim9.h, src/globals.h, src/vim9compile.c, src/vim9execute.c,
10843 src/vim9type.c, src/proto/vim9type.pro, src/errors.h,
10844 src/evalfunc.c, src/testdir/test_vim9_disassemble.vim,
10845 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
10846 src/testdir/test_vim9_script.vim
10847
10848Patch 8.2.1692
10849Problem: Build fails because TTFLAG_STATIC is missing.
10850Solution: Include missing change.
10851Files: src/structs.h
10852
10853Patch 8.2.1693
10854Problem: "hi def" does not work for cleared highlight.
10855Solution: Check the "sg_cleared" flag. (Maxim Kim, closes #6956,
10856 closes #4405)
10857Files: src/highlight.c, src/testdir/test_highlight.vim
10858
10859Patch 8.2.1694
10860Problem: Compiler warning for loss if data.
10861Solution: Add typecast.
10862Files: src/ops.c
10863
10864Patch 8.2.1695
10865Problem: Vim9: crash when using varargs type "any".
10866Solution: Check if uf_va_type is &t_any. (closes #6957)
10867Files: src/vim9compile.c, src/vim9execute.c,
10868 src/testdir/test_vim9_func.vim
10869
10870Patch 8.2.1696
10871Problem: Unused (duplicate) macros.
10872Solution: Remove the macros.
10873Files: src/spell.c
10874
10875Patch 8.2.1697
10876Problem: Inconsistent capitalization of error messages.
10877Solution: Always start with a capital.
10878Files: src/errors.h, src/testdir/test_vim9_expr.vim,
10879 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim,
10880 src/testdir/test_assert.vim
10881
10882Patch 8.2.1698
10883Problem: Cannot lock a variable in legacy Vim script like in Vim9.
10884Solution: Make ":lockvar 0" work.
10885Files: runtime/doc/eval.txt, src/evalvars.c, src/proto/evalvars.pro,
10886 src/dict.c, src/eval.c, src/list.c, src/typval.c, src/userfunc.c,
10887 src/testdir/test_const.vim, src/testdir/test_listdict.vim
10888
10889Patch 8.2.1699
10890Problem: Build failure due to missing error message.
10891Solution: Add error message.
10892Files: src/errors.h
10893
10894Patch 8.2.1700
10895Problem: Vim9: try/catch causes wrong value to be returned.
10896Solution: Reset tcd_return. (closes #6964)
10897Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
10898
10899Patch 8.2.1701
10900Problem: Vim9: sort("i") does not work.
10901Solution: Don't try getting a number for a string argument. (closes #6958)
10902Files: src/list.c, src/testdir/test_vim9_func.vim
10903
10904Patch 8.2.1702
10905Problem: Crash when using undo after deleting folded lines.
10906Solution: Check for NULL pointer. (closes #6968)
10907Files: src/fold.c, src/testdir/test_fold.vim
10908
10909Patch 8.2.1703
10910Problem: ":highlight clear" does not restore default link.
10911Solution: Remember the default link and restore it. (Antony Scriven,
10912 closes #6970, closes #4405)
10913Files: runtime/doc/syntax.txt, src/highlight.c,
10914 src/testdir/test_highlight.vim
10915
10916Patch 8.2.1704
10917Problem: Vim9: crash in for loop when autoload script has an error.
10918Solution: Reset suppress_errthrow. Check for NULL list. (closes #6967)
10919Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
10920
10921Patch 8.2.1705
10922Problem: "verbose hi Name" reports incorrect info after ":hi clear".
10923Solution: Store the script context. (Antony Scriven, closes #6975)
10924Files: src/highlight.c, src/testdir/test_highlight.vim
10925
10926Patch 8.2.1706
10927Problem: Vim9: crash after running into the "Multiple closures" error.
10928Solution: When a function fails still update any closures. (closes #6973)
10929Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
10930
10931Patch 8.2.1707
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010932Problem: Small inconsistency in highlight test.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010933Solution: Use one argument for :execute. (Antony Scriven, #6975)
10934Files: src/testdir/test_highlight.vim
10935
10936Patch 8.2.1708
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010937Problem: Vim9: error message for function has unprintable characters.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010938Solution: use printable_func_name(). (closes #6965)
10939Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
10940
10941Patch 8.2.1709
10942Problem: Vim9: memory leak when using multiple closures.
10943Solution: Free the partial.
10944Files: src/vim9execute.c
10945
10946Patch 8.2.1710
10947Problem: Vim9: list of list type can be wrong.
10948Solution: Use VAR_UNKNOWN for empty list. Recognize VAR_UNKNOWN when
10949 looking for a common type. (closes #6979)
10950Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
10951
10952Patch 8.2.1711
10953Problem: Vim9: leaking memory when using partial.
10954Solution: Do delete the function even when it was compiled.
10955Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
10956 src/vim9execute.c
10957
10958Patch 8.2.1712
10959Problem: Vim9: leaking memory when calling a lambda.
10960Solution: Decrement function reference from ISN_DCALL.
10961Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro
10962
10963Patch 8.2.1713
10964Problem: Motif GUI: crash when setting menu colors. (Andrzej Bylicki)
10965Solution: Add {} to make "n" incremented correctly. (closes #6989,
10966 closes #5948)
10967Files: src/gui_motif.c
10968
10969Patch 8.2.1714
10970Problem: Text properties corrupted with substitute command. (Filipe
10971 Brandenburger)
10972Solution: Get the changed line again after using u_savesub(). (closes #6984)
10973Files: src/textprop.c, src/testdir/test_textprop.vim
10974
10975Patch 8.2.1715
10976Problem: Motif GUI: commented out code missed {}.
10977Solution: Add {} and reenable the code. (similar to #6989)
10978Files: src/gui_motif.c
10979
10980Patch 8.2.1716
10981Problem: Options window has duplicate translations.
10982Solution: Make one entry for "global or local to buffer". Fix wrong text.
10983 (closes #6983)
10984Files: runtime/optwin.vim
10985
10986Patch 8.2.1717
10987Problem: MS-Windows installer doesn't have Russian translations.
10988Solution: Add Russian translations. (closes #6985)
10989Files: nsis/gvim.nsi, nsis/lang/russian.nsi
10990
10991Patch 8.2.1718
10992Problem: Vim9: :def function disallows "firstline" and "lastline" argument
10993 names for no good reason.
10994Solution: Don't check the arguments for a :def function. (closes #6986)
10995Files: src/userfunc.c, src/testdir/test_vim9_func.vim
10996
10997Patch 8.2.1719
10998Problem: Vim9: no error if comma is missing in between arguments.
10999Solution: Give an error message.
11000Files: src/errors.h, src/vim9compile.c, src/testdir/test_vim9_expr.vim
11001
11002Patch 8.2.1720
11003Problem: Vim9: memory leak with heredoc that isn't executed. (Dominique
11004 Pellé)
11005Solution: Don't clear the list items. (closes #6991)
11006Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
11007
11008Patch 8.2.1721
11009Problem: MS-Windows installer doesn't work.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011010Solution: Write "Russian" in ASCII. (closes #6995, see #6985).
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011011Files: nsis/lang/russian.nsi
11012
11013Patch 8.2.1722
11014Problem: Vim9: cannot assign a lambda to a variable of type function.
11015Solution: Allow for assigning a partial to a variable of type function.
11016 (Naruhiko Nishino, closes #6996)
11017Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
11018
11019Patch 8.2.1723
11020Problem: Vim9: Variable argument name cannot start with underscore.
11021Solution: Use eval_isnamec1(). (closes #6988)
11022Files: src/userfunc.c, src/testdir/test_vim9_func.vim
11023
11024Patch 8.2.1724
11025Problem: Vim9: assignment tests spread out.
11026Solution: Create new test file for assignment tests.
11027Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_cmd.vim,
11028 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_expr.vim,
11029 src/testdir/Make_all.mak
11030
11031Patch 8.2.1725
11032Problem: Not all Pascal files are recognized.
11033Solution: Add filetype patterns. (Doug Kearns)
11034Files: runtime/filetype.vim, src/testdir/test_filetype.vim
11035
11036Patch 8.2.1726
11037Problem: Fuzzy matching only works on strings.
11038Solution: Support passing a dict. Add matchfuzzypos() to also get the match
11039 positions. (Yegappan Lakshmanan, closes #6947)
11040Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
11041 src/proto/search.pro, src/search.c, src/testdir/Make_all.mak,
11042 src/testdir/test_functions.vim, src/testdir/test_matchfuzzy.vim
11043
11044Patch 8.2.1727
11045Problem: A popup created with "cursorline" will ignore "firstline".
11046Solution: When both "cursorline" and "firstline" are present put the cursor
11047 on "firstline". (closes #7000) Add the "winid" argument to
11048 getcurpos().
11049Files: runtime/doc/eval.txt, src/evalfunc.c, src/popupwin.c,
11050 src/evalwindow.c, src/testdir/test_popupwin.vim,
11051 src/testdir/test_functions.vim
11052
11053Patch 8.2.1728
11054Problem: Compiler warning for using uninitialized variable. (John Marriott)
11055Solution: Initialize "neighbor".
11056Files: src/search.c
11057
11058Patch 8.2.1729
11059Problem: Endless loop when ":normal" feeds popup window filter.
11060Solution: Add the ex_normal_busy_done flag.
11061Files: src/globals.h, src/getchar.c, src/evalfunc.c, src/ex_docmd.c,
11062 src/menu.c, src/testdir/test_popupwin.vim,
11063 src/testdir/dumps/Test_popupwin_normal_cmd.dump
11064
11065Patch 8.2.1730
11066Problem: Vim9: cannot use member of unknown type.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011067Solution: When type is unknown use "any". (closes #6997)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011068Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
11069
11070Patch 8.2.1731
11071Problem: Vim9: cannot use += to append to empty NULL list.
11072Solution: Copy the list instead of extending it. (closes #6998)
11073Files: src/eval.c, src/testdir/test_vim9_assign.vim
11074
11075Patch 8.2.1732
11076Problem: Stuck when win_execute() for a popup causes an error.
11077Solution: Disable the filter callback on error. (issue #6999)
11078Files: src/popupwin.c, src/testdir/term_util.vim,
11079 src/testdir/test_popupwin.vim,
11080 src/testdir/dumps/Test_popupwin_win_execute.dump
11081
11082Patch 8.2.1733
11083Problem: Vim9: memory leaks when using nested function.
11084Solution: Free function when compilation fails.
11085Files: src/vim9compile.c
11086
11087Patch 8.2.1734
11088Problem: Vim9: cannot use a funcref for a closure twice.
11089Solution: Instead of putting the funcref on the stack use a growarray on the
11090 execution context.
11091Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
11092 src/testdir/test_vim9_func.vim,
11093 src/testdir/test_vim9_disassemble.vim
11094
11095Patch 8.2.1735
11096Problem: Github actions appear to timeout too soon.
11097Solution: use "timeout" instead of "ping".
11098Files: .github/workflows/ci-windows.yaml
11099
11100Patch 8.2.1736
11101Problem: Failure to compile a pattern not tested much.
11102Solution: Add tests where a pattern fails to compile. (Yegappan Lakshmanan,
11103 closes #7004)
11104Files: src/testdir/gen_opt_test.vim, src/testdir/test_arglist.vim,
11105 src/testdir/test_autocmd.vim, src/testdir/test_buffer.vim,
11106 src/testdir/test_checkpath.vim, src/testdir/test_cmdline.vim,
11107 src/testdir/test_debugger.vim, src/testdir/test_functions.vim,
11108 src/testdir/test_history.vim, src/testdir/test_listdict.vim,
11109 src/testdir/test_options.vim, src/testdir/test_search_stat.vim,
11110 src/testdir/test_sort.vim, src/testdir/test_substitute.vim,
11111 src/testdir/test_syntax.vim, src/testdir/test_tagjump.vim,
11112 src/testdir/test_user_func.vim
11113
11114Patch 8.2.1737
11115Problem: Cursor line highlight in popup window is not always updated.
11116Solution: Check if the cursor has moved. (closes #7010)
11117Files: src/popupwin.c, src/testdir/test_popupwin.vim
11118 src/testdir/dumps/Test_popupwin_win_execute_cursorline.dump
11119
11120Patch 8.2.1738
11121Problem: Mac: str2float() recognizes comma instead of decimal point.
11122Solution: Set LC_NUMERIC to "C". (closes #7003)
11123Files: src/os_mac_conv.c
11124
11125Patch 8.2.1739
11126Problem: Vim9: crash when compiling a manually defined function. (Antony
11127 Scriven)
11128Solution: Check that the script ID is positive. (closes #7012)
11129Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
11130
11131Patch 8.2.1740
11132Problem: Test fails without the terminal feature.
11133Solution: Skip test if the terminal feature is not available.
11134Files: src/testdir/test_vim9_script.vim
11135
11136Patch 8.2.1741
11137Problem: pathshorten() only supports using one character.
11138Solution: Add an argument to control the length. (closes #7006)
11139Files: runtime/doc/eval.txt, src/evalfunc.c, src/filepath.c,
11140 src/proto/filepath.pro, src/testdir/test_functions.vim
11141
11142Patch 8.2.1742
11143Problem: Test still fails without the terminal feature.
11144Solution: Put check for terminal feature in separate function.
11145Files: src/testdir/test_vim9_script.vim
11146
11147Patch 8.2.1743
11148Problem: Cannot build without the eval feature.
11149Solution: Move shorten_dir outside of #ifdef.
11150Files: src/filepath.c
11151
11152Patch 8.2.1744
11153Problem: Vim9: using ":const!" is weird.
11154Solution: Use "var" - "final" - "const" like Dart. "let" still works for
11155 now.
11156Files: runtime/doc/vim9.txt, src/ex_cmds.h, src/errors.h, src/evalvars.c,
11157 src/proto/evalvars.pro, src/cmdexpand.c, src/eval.c,
11158 src/ex_docmd.c, src/vim9compile.c, src/vim9execute.c,
11159 src/vim9script.c, src/vim.h, src/ex_cmdidxs.h,
11160 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_script.vim
11161
11162Patch 8.2.1745
11163Problem: Tiny version doesn't build.
11164Solution: Add dummy ex_var() function.
11165Files: src/ex_docmd.c
11166
11167Patch 8.2.1746
11168Problem: Vim9: Cannot use "fina" for "finally". (Naruhiko Nishino)
11169Solution: Specifically check for "fina". (closes #7020)
11170Files: src/ex_docmd.c, src/testdir/test_trycatch.vim,
11171 src/testdir/test_vim9_script.vim
11172
11173Patch 8.2.1747
11174Problem: Result of expand() unexpectedly depends on 'completeslash'.
11175Solution: Temporarily reset 'completeslash'. (Yasuhiro Matsumoto,
11176 closes #7021)
11177Files: src/evalfunc.c, src/testdir/test_ins_complete.vim
11178
11179Patch 8.2.1748
11180Problem: Closing split window in other tab may cause a crash.
11181Solution: Set tp_curwin properly. (Rob Pilling, closes #7018)
11182Files: src/window.c, src/testdir/test_winbuf_close.vim
11183
11184Patch 8.2.1749
11185Problem: Vim9: crash when closure fails in nested function.
11186Solution: Handle function returns before dereferencing remaining closures.
11187 (closes #7008)
11188Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
11189
11190Patch 8.2.1750
11191Problem: Setting firstline with popup_setoptions() fails if cursorline is
11192 set.
11193Solution: Use apply_options(). Update the popup before applying "zz".
11194 (closes #7010)
11195Files: src/popupwin.c, src/proto/popupwin.pro, src/move.c,
11196 src/testdir/test_popupwin.vim,
11197 src/testdir/dumps/Test_popupwin_win_execute_cursorline.dump,
11198 src/testdir/dumps/Test_popupwin_set_firstline_1.dump,
11199 src/testdir/dumps/Test_popupwin_set_firstline_2.dump
11200
11201Patch 8.2.1751
11202Problem: Using 2 where bool is expected may throw an error.
11203Solution: Make this backwards compatible.
11204Files: src/typval.c, src/evalfunc.c, src/testdir/test_search.vim,
11205 src/testdir/test_terminal2.vim
11206
11207Patch 8.2.1752
11208Problem: GTK GUI: cannot map alt-? with <A-?>. (Ingo Karkat)
11209Solution: Adjust the characters for which the shift modifier is removed.
11210 (closes #7016) Make Motif and Win32 use the same function as GTK.
11211Files: src/misc2.c, src/gui_x11.c, src/gui_w32.c,
11212 src/testdir/test_termcodes.vim
11213
11214Patch 8.2.1753
11215Problem: Vim9: crash when using import at script level.
11216Solution: Give a "not implemented yet" error. (closes #7026)
11217Files: src/evalvars.c
11218
11219Patch 8.2.1754
11220Problem: Completion with spell checking not tested.
11221Solution: Add a test case. (Dominique Pellé, closes #7024)
11222Files: src/testdir/test_spell.vim
11223
11224Patch 8.2.1755
11225Problem: Vim9: crash when using invalid heredoc marker. (Dhiraj Mishra)
11226Solution: Check for NULL list. (closes #7027) Fix comment character.
11227Files: src/vim9compile.c, src/evalvars.c,
11228 src/testdir/test_vim9_assign.vim
11229
11230Patch 8.2.1756
11231Problem: Vim9: :let will soon be disallowed.
11232Solution: Add v:disallow_let temporarily. Fix tests.
11233Files: src/vim.h, src/errors.h, src/evalvars.c, src/vim9compile.c,
11234 src/userfunc.c, src/testdir/test_vim9_script.vim
11235
11236Patch 8.2.1757
11237Problem: Mac: default locale is lacking the encoding.
11238Solution: Add ".UTF-8 to the locale. (Yee Cheng Chin, closes #7022)
11239Files: src/os_mac_conv.c, src/testdir/test_environ.vim
11240
11241Patch 8.2.1758
11242Problem: Vim9: type of unmaterialized list is wrong.
11243Solution: Use list<number>.
11244Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
11245
11246Patch 8.2.1759
11247Problem: Vim9: Some tests are still using :let.
11248Solution: Change more declarations to use :var.
11249Files: src/testdir/test_vim9_expr.vim
11250
11251Patch 8.2.1760
11252Problem: Vim9: crash when end marker is missing. (Dhiraj Mishra)
11253Solution: Check for end of function lines. (closes #7031)
11254Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
11255
11256Patch 8.2.1761
11257Problem: Vim9: Some tests are still using :let.
11258Solution: Change more declarations to use :var.
11259Files: src/testdir/test_vim9_assign.vim,
11260 src/testdir/test_vim9_cmd.vim,
11261 src/testdir/test_vim9_disassemble.vim
11262
11263Patch 8.2.1762
11264Problem: When a timer uses :stopinsert Insert mode completion isn't
11265 stopped. (Stanley Chan)
11266Solution: Call ins_compl_prep(ESC).
11267Files: src/edit.c, src/testdir/test_ins_complete.vim,
11268 src/testdir/dumps/Test_pum_stopped_by_timer.dump
11269
11270Patch 8.2.1763
11271Problem: Vim9: cannot use "true" for popup window scrollbar option.
11272Solution: use dict_get_bool(). (closes #7029)
11273Files: src/popupwin.c, src/testdir/test_popupwin.vim
11274
11275Patch 8.2.1764
11276Problem: Vim9: no error when assigning to script var with wrong type.
11277Solution: Fix off-by-one error. (closes #7028)
11278Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
11279
11280Patch 8.2.1765
11281Problem: Vim9: some tests use "var var".
11282Solution: Use "var name". (closes #7032)
11283Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_expr.vim
11284
11285Patch 8.2.1766
11286Problem: Vim9: Some tests are still using :let.
11287Solution: Change the last few declarations to use :var.
11288Files: src/testdir/runtest.vim, src/testdir/test_vim9_assign.vim,
11289 src/testdir/test_vim9_cmd.vim,
11290 src/testdir/test_vim9_disassemble.vim,
11291 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
11292 src/testdir/test_vim9_script.vim, src/testdir/test_maparg.vim,
11293 src/testdir/test_popupwin.vim, src/testdir/test_textprop.vim
11294
11295Patch 8.2.1767
11296Problem: Vim9: test fails with python support.
11297Solution: Use "let" in legacy function.
11298Files: src/testdir/test_vim9_func.vim
11299
11300Patch 8.2.1768
11301Problem: Cannot use the help menu from a terminal window.
11302Solution: Add ":tlnoremenu" commands. (Yee Cheng Chin, closes #7023)
11303Files: runtime/menu.vim, src/testdir/test_gui.vim
11304
11305Patch 8.2.1769
11306Problem: A popup filter interferes with using :normal to move the cursor in
11307 a popup.
11308Solution: Do not invoke the filter when ex_normal_busy is set.
11309Files: runtime/doc/popup.txt, src/getchar.c, src/evalfunc.c,
11310 src/ex_docmd.c, src/menu.c, src/globals.h,
11311 src/testdir/test_popupwin.vim,
11312 src/testdir/dumps/Test_popupwin_normal_cmd.dump
11313
11314Patch 8.2.1770
11315Problem: Invalid memory use when using SpellFileMissing autocmd.
11316Solution: Add test case. (Dominique Pellé, closes #7036) Fix using a window
11317 that was closed.
11318Files: src/spell.c, src/testdir/test_spell.vim
11319
11320Patch 8.2.1771
11321Problem: synIDattr() cannot get the value of ctermul.
11322Solution: Add the "ul" value for "what". (closes #7037)
11323Files: runtime/doc/eval.txt, src/highlight.c, src/evalfunc.c,
11324 src/testdir/test_highlight.vim
11325
11326Patch 8.2.1772
11327Problem: Cannot use CTRL-W <Down> to move out of a terminal window.
11328Solution: Use special_to_buf() instead of mb_char2bytes(). (closes #7045)
11329Files: src/terminal.c, src/testdir/test_terminal.vim
11330
11331Patch 8.2.1773
11332Problem: Crash when calling mapset() with a list as first argument.
11333Solution: Check for NULL. (closes #7040)
11334Files: src/map.c, src/testdir/test_maparg.vim
11335
11336Patch 8.2.1774
11337Problem: GTK: hang when forced to exit.
11338Solution: Do not clean up "mainwin" when really_exiting is set.
11339 (Zdenek Dohnal, closes #7042)
11340Files: src/gui_gtk_x11.c
11341
11342Patch 8.2.1775
11343Problem: MS-Windows: adding a long quickfix list is slow.
11344Solution: Shorten the buffer name only for the first entry. (Yegappan
11345 Lakshmanan, closes #7039, closes #7033)
11346Files: src/quickfix.c, src/testdir/test_quickfix.vim
11347
11348Patch 8.2.1776
11349Problem: Filetype.vim may be loaded twice.
11350Solution: Do "syntax on" after "filetype on". (Adam Stankiewicz,
11351 closes #7049)
11352Files: runtime/defaults.vim
11353
11354Patch 8.2.1777
11355Problem: Vim9: some assignment tests in the wrong file.
11356Solution: Move assignment tests to test_vim9_assign.
11357Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_script.vim
11358
11359Patch 8.2.1778
11360Problem: Vim9: returning from a partial call clears outer context, causing
11361 a crash.
11362Solution: Put the outer context in the stack frame. (closes #7044)
11363Files: src/vim9execute.c, src/vim9.h, src/testdir/test_vim9_func.vim
11364
11365Patch 8.2.1779
11366Problem: Some debian changelog files are not recognized.
11367Solution: Add */debian/changelog. (Jason Franklin)
11368Files: runtime/filetype.vim, src/testdir/test_filetype.vim
11369
11370Patch 8.2.1780
11371Problem: Statusline not updated when splitting windows.
11372Solution: Call status_redraw_all(). (Jason Franklin, closes #5496)
11373Files: src/window.c, src/testdir/test_statusline.vim
11374
11375Patch 8.2.1781
11376Problem: Writing to prompt buffer interferes with insert mode.
11377Solution: Use win_enter() instead of just setting "curwin". (Ben Jackson,
11378 closes #7035)
11379Files: src/autocmd.c, src/testdir/test_prompt_buffer.vim
11380
11381Patch 8.2.1782
11382Problem: Vim9: cannot pass boolean to mapset().
11383Solution: Use get_tv_bool(). (closes #7041)
11384Files: src/map.c, src/testdir/test_vim9_func.vim
11385
11386Patch 8.2.1783 (after 8.2.1781)
11387Problem: Try-catch test fails.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011388Solution: Don't call win_enter(), only call entering_window().
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011389Files: src/autocmd.c, src/window.c, src/proto/window.pro,
11390 src/testdir/runtest.vim
11391
11392Patch 8.2.1784
11393Problem: commits are not scanned for security problems
11394Solution: Enable Github code scanning. (Christian Brabandt, closes #7057)
11395Files: .github/workflows/codeql-analysis.yml
11396
11397Patch 8.2.1785
11398Problem: Compiler warning for strcpy() out of bounds. (Christian Brabandt)
11399Solution: use memmove() instead.
11400Files: src/dict.c
11401
11402Patch 8.2.1786
11403Problem: Various Normal mode commands not fully tested.
11404Solution: Add more tests. (Yegappan Lakshmanan, closes #7059)
11405Files: src/testdir/test_normal.vim, src/testdir/test_regexp_utf8.vim,
11406 src/testdir/test_registers.vim, src/testdir/test_spellfile.vim,
11407 src/testdir/test_tagjump.vim, src/testdir/test_visual.vim
11408
11409Patch 8.2.1787
11410Problem: Crash with 'incsearch' and very long line.
11411Solution: Check whether regprog becomes NULL. (closes #7063)
11412Files: src/search.c, src/testdir/test_search.vim
11413
11414Patch 8.2.1788
11415Problem: Vim9: still allows :let for declarations.
11416Solution: Make the default for v:disallow_let one. It can still be set to
11417 zero to allow for using :let.
11418Files: src/evalvars.c, src/testdir/runtest.vim
11419
11420Patch 8.2.1789
11421Problem: Vim9: crash with invalid list constant. (Dhiraj Mishra)
11422Solution: Return FAIL when compiling the list fails. (closes #7066)
11423Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_expr.vim
11424
11425Patch 8.2.1790
11426Problem: MS-Windows with Python: crash when executed from Vifm.
11427Solution: Use NUL instead of CONIN. (Ken Takata, closes #7061, closes #7053)
11428Files: src/if_python3.c
11429
11430Patch 8.2.1791
11431Problem: Vim9: debugger test fails.
11432Solution: Use "var" instead of "let".
11433Files: src/testdir/test_debugger.vim
11434
11435Patch 8.2.1792
11436Problem: Configure does not recognize Racket 6.1+.
11437Solution: Add a check for "rktio". (closes #7062)
11438Files: src/configure.ac, src/auto/configure
11439
11440Patch 8.2.1793
11441Problem: Not consistently giving the "is a directory" warning.
11442Solution: Adjust check for illegal file name and directory. (Yasuhiro
11443 Matsumoto, closes #7067)
11444Files: src/fileio.c, src/testdir/test_edit.vim
11445
11446Patch 8.2.1794
11447Problem: No falsy Coalescing operator.
11448Solution: Add the "??" operator. Fix mistake with function argument count.
11449Files: runtime/doc/eval.txt, src/eval.c, src/vim9compile.c,
11450 src/vim9type.c, src/testdir/test_expr.vim,
11451 src/testdir/test_vim9_expr.vim,
11452 src/testdir/test_vim9_disassemble.vim
11453
11454Patch 8.2.1795
11455Problem: Vim9: operators && and || have a confusing result.
11456Solution: Make the result a boolean.
11457Files: runtime/doc/vim9.txt, src/eval.c, src/vim9compile.c,
11458 src/vim9execute.c, src/vim9type.c, src/structs.h, src/vim9.h,
11459 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_assign.vim,
11460 src/testdir/test_vim9_cmd.vim,
11461 src/testdir/test_vim9_disassemble.vim
11462
11463Patch 8.2.1796
11464Problem: Vim9: invalid memory access with weird function name. (Dhiraj
11465 Mishra)
11466Solution: Check the name is valid. Add a test.
11467Files: src/userfunc.c, src/testdir/test_vim9_func.vim
11468
11469Patch 8.2.1797
11470Problem: Vim9: some parts of the code not tested.
11471Solution: Add a few tests.
11472Files: src/testdir/test_vim9_func.vim
11473
11474Patch 8.2.1798
11475Problem: Vim9: ternary operator condition is too permissive.
11476Solution: Use tv_get_bool_chk().
11477Files: runtime/doc/vim9.txt, src/eval.c, src/vim9compile.c,
11478 src/vim9execute.c, src/testdir/vim9.vim,
11479 src/testdir/test_expr.vim, src/testdir/test_vim9_expr.vim,
11480 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_script.vim
11481
11482Patch 8.2.1799
11483Problem: Some Normal mode commands not fully tested.
11484Solution: Add a few more tests. (Yegappan Lakshmanan, closes #7073)
11485Files: src/testdir/test_gf.vim, src/testdir/test_goto.vim,
11486 src/testdir/test_normal.vim, src/testdir/test_registers.vim,
11487 src/testdir/test_startup.vim, src/testdir/test_tabpage.vim,
11488 src/testdir/test_visual.vim
11489
11490Patch 8.2.1800
11491Problem: Vim9: memory leak if "if" condition is invalid.
11492Solution: Free ppconst earlier.
11493Files: src/vim9compile.c
11494
11495Patch 8.2.1801
11496Problem: Undo file not found when using ":args" or ":next".
11497Solution: Handle like editing another file. (closes #7072)
11498Files: src/ex_cmds.c, src/testdir/test_undo.vim
11499
11500Patch 8.2.1802
11501Problem: Vim9: crash with unterminated dict. (Dhiraj Mishra)
11502Solution: Return empty string instead of NULL. (closes #7084)
11503Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
11504
11505Patch 8.2.1803
11506Problem: A few failures are not tested.
11507Solution: Test a few failures. (Dominique Pellé, closes #7075)
11508Files: src/testdir/test_arglist.vim, src/testdir/test_cmdline.vim,
11509 src/testdir/test_json.vim, src/testdir/test_listdict.vim
11510
11511Patch 8.2.1804
11512Problem: resolve('/') returns an empty string.
11513Solution: Don't remove single slash. (closes #7074)
11514Files: src/filepath.c, src/testdir/test_functions.vim
11515
11516Patch 8.2.1805
11517Problem: Unix: terminal mode changed when using ":shell".
11518Solution: Avoid calling settmode() when not needed. (issue #7079)
11519Files: src/os_unix.c
11520
11521Patch 8.2.1806
11522Problem: MS-Windows with Python: Vim freezes after import command.
11523Solution: Use either "NUL" or "CONIN$" when reopening stdin. (Yasuhiro
11524 Matsumoto, closes #7083)
11525Files: src/if_python3.c
11526
11527Patch 8.2.1807
11528Problem: Can use :help in a terminal popup window.
11529Solution: Give an error. (closes #7088)
11530Files: src/help.c, src/testdir/test_popupwin.vim
11531
11532Patch 8.2.1808
11533Problem: No test coverage for ":spelldump!".
11534Solution: Add a test. (Dominique Pellé, closes #7089)
11535Files: src/testdir/test_spell.vim
11536
11537Patch 8.2.1809
11538Problem: Mapping some keys with Ctrl does not work properly.
11539Solution: For terminal, GTK and Motif handle "@", "^" and "_" codes.
11540Files: src/misc2.c, src/proto/misc2.pro, src/term.c, src/gui_gtk_x11.c,
11541 src/gui_x11.c, src/testdir/test_termcodes.vim
11542
11543Patch 8.2.1810
11544Problem: Some code in normal.c not covered by tests.
11545Solution: Add normal mode tests. (Yegappan Lakshmanan, closes #7086)
11546Files: src/testdir/test_charsearch.vim, src/testdir/test_normal.vim
11547
11548Patch 8.2.1811
11549Problem: Mapping Ctrl-key does not work for '{', '}' and '|'.
11550Solution: Remove the shift modifier. (closes #6457)
11551Files: runtime/doc/map.txt, src/misc2.c, src/testdir/test_termcodes.vim
11552
11553Patch 8.2.1812
11554Problem: Vim9: nested closure throws an internal error.
11555Solution: Do not skip a local variable with a partial. (closes #7065)
11556Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
11557
11558Patch 8.2.1813
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011559Problem: Vim9: can assign wrong type to script dict. (Christian J. Robinson)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011560Solution: Check the type if known.
11561Files: src/structs.h, src/eval.c, src/vim9script.c,
11562 src/proto/vim9script.pro, src/proto/evalvars.pro,
11563 src/testdir/test_vim9_script.vim
11564
11565Patch 8.2.1814 (after 8.2.1813)
11566Problem: Missing change to remove "static".
11567Solution: Add the change.
11568Files: src/evalvars.c
11569
11570Patch 8.2.1815
11571Problem: Vim9: memory leak when using function reference.
11572Solution: Temporarily disable the test.
11573Files: src/testdir/test_vim9_disassemble.vim
11574
11575Patch 8.2.1816
11576Problem: Vim9: another memory leak when using function reference.
11577Solution: Temporarily disable the tests.
11578Files: src/testdir/test_vim9_func.vim
11579
11580Patch 8.2.1817
11581Problem: Vim9: wrong instruction when reusing a local variable spot.
11582Solution: Clear a newly allocated local variable. (closes #7080)
11583Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
11584
11585Patch 8.2.1818
11586Problem: SE Linux: deprecation warning for security_context_t.
11587Solution: Use "char *" instead. (James McCoy, closes #7093)
11588Files: src/os_unix.c
11589
11590Patch 8.2.1819
11591Problem: Vim9: Memory leak when using a closure.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011592Solution: Compute the minimal refcount in the funcstack. Reenable disabled
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011593 tests.
11594Files: src/vim9execute.c, src/proto/vim9execute.pro, src/structs.h,
11595 src/eval.c, src/testdir/test_vim9_disassemble.vim,
11596 src/testdir/test_vim9_func.vim
11597
11598Patch 8.2.1820
11599Problem: Vim9: crash when error happens in timer callback.
11600Solution: Check that current_exception is not NULL. (closes #7100)
11601Files: src/ex_docmd.c
11602
11603Patch 8.2.1821
11604Problem: Vim9: concatenating to a NULL list doesn't work.
11605Solution: Handle a NULL list like an empty list. (closes #7064)
11606Files: src/list.c, src/testdir/test_vim9_assign.vim
11607
11608Patch 8.2.1822 (after 8.2.1821)
11609Problem: List test doesn't fail.
11610Solution: Adjust the test for NULL list handling.
11611Files: src/testdir/test_listdict.vim
11612
11613Patch 8.2.1823
11614Problem: "gN" does not select the matched string.
11615Solution: Move the cursor to the start of the match.
11616Files: src/search.c, src/testdir/test_gn.vim
11617
11618Patch 8.2.1824
11619Problem: Vim9: variables at the script level escape their scope.
11620Solution: When leaving a scope remove variables declared in it.
11621Files: src/structs.h, src/ex_eval.c, src/evalvars.c,
11622 src/proto/evalvars.pro, src/testdir/test_vim9_script.vim
11623
11624Patch 8.2.1825
11625Problem: Vim9: accessing freed memory.
11626Solution: Clear sv_name when the variable is deleted.
11627Files: src/ex_eval.c
11628
11629Patch 8.2.1826
11630Problem: Vim9: cannot use a {} block at script level.
11631Solution: Recognize a {} block.
11632Files: src/ex_docmd.c, src/ex_cmds.h, src/ex_cmdidxs.h, src/ex_eval.c,
11633 src/structs.h, src/proto/ex_eval.pro, src/errors.h,
11634 src/testdir/test_vim9_script.vim
11635
11636Patch 8.2.1827
11637Problem: Filetype detection does not test enough file names.
11638Solution: Test more file names. (Adam Stankiewicz, closes #7099)
11639Files: runtime/filetype.vim, src/testdir/test_filetype.vim
11640
11641Patch 8.2.1828
11642Problem: Build failure without the +eval feature.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011643Solution: Add dummies for ex_block and ex_endblock.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011644Files: src/ex_docmd.c
11645
11646Patch 8.2.1829
11647Problem: Warnings when executing Github actions.
11648Solution: Use another method to set environment variables. (Ken Takata,
11649 closes #7107)
11650Files: .github/workflows/ci-windows.yaml
11651
11652Patch 8.2.1830
11653Problem: MS-Windows: Python3 issue with stdin.
11654Solution: Check if stdin is readable. (Ken Takata, closes #7106)
11655Files: src/if_python3.c
11656
11657Patch 8.2.1831
11658Problem: File missing from distribution.
11659Solution: Add the github code analyses file.
11660Files: Filelist
11661
11662Patch 8.2.1832
11663Problem: readdirex() error is displayed as a message. (Yegappan Lakshmanan)
11664Solution: Use semsg() instead of smsg().
11665Files: src/fileio.c, src/testdir/test_functions.vim
11666
11667Patch 8.2.1833
11668Problem: When reading from stdin dup() is called twice.
11669Solution: Remove the dup() in main.c. (Ken Takata, closes #7110)
11670Files: src/main.c
11671
11672Patch 8.2.1834
11673Problem: PyEval_InitThreads() is deprecated in Python 3.9.
11674Solution: Do not call PyEval_InitThreads in Python 3.9 and later. (Ken
11675 Takata, closes #7113) Avoid warnings for functions.
11676Files: src/if_python3.c, src/if_py_both.h
11677
11678Patch 8.2.1835
11679Problem: ":help ??" finds the "!!" tag.
11680Solution: Do not translate "?" into ".". (Naruhiko Nishino, closes #7114,
11681 closes #7115)
11682Files: src/help.c, src/testdir/test_help_tagjump.vim
11683
11684Patch 8.2.1836
11685Problem: Autocmd test fails on pacifist systems.
11686Solution: Check that /bin/kill exists. (James McCoy, closes #7117)
11687 Tune the timing, make the autocmd test run faster.
11688Files: src/testdir/test_autocmd.vim
11689
11690Patch 8.2.1837
11691Problem: Using "gn" after "gN" does not work.
11692Solution: Extend the other end of the Visual area. (closes #7109)
11693Files: src/search.c, src/testdir/test_gn.vim
11694
11695Patch 8.2.1838
11696Problem: Vim9: cannot insert a comment line in an expression.
11697Solution: Skip comment lines at the script level. (closes #7111)
11698Files: src/eval.c, src/testdir/test_vim9_expr.vim
11699
11700Patch 8.2.1839
11701Problem: Vim9: memory leaks reported in assign test.
11702Solution: Move the failing job_start() call to separate test files, it
11703 causes false leak reports.
11704Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_fails.vim,
11705 src/testdir/Make_all.mak
11706
11707Patch 8.2.1840
11708Problem: Vim9: error message is not clear about compilation error.
11709Solution: Say "compiling" instead of "processing".
11710Files: src/vim9compile.c, src/message.c, src/globals.h,
11711 src/testdir/test_vim9_func.vim
11712
11713Patch 8.2.1841
11714Problem: Vim9: test for compilation error fails in normal build.
11715Solution: Invoke CheckRunVimInTerminal in a separate function.
11716Files: src/testdir/test_vim9_func.vim
11717
11718Patch 8.2.1842
11719Problem: Crash when USE_FNAME_CASE is defined and using :browse.
11720Solution: Don't use read-only memory for ".". (Yegappan Lakshmanan,
11721 closes #7123)
11722Files: src/ex_cmds.c, src/ex_docmd.c, src/testdir/test_edit.vim
11723
11724Patch 8.2.1843
11725Problem: Netbeans: with huge buffer number memory allocation may fail.
11726Solution: Check for size overflow.
11727Files: src/netbeans.c
11728
11729Patch 8.2.1844
11730Problem: Using "q" at the more prompt doesn't stop a long message.
11731Solution: Check for "got_int". (closes #7122)
11732Files: src/message.c, src/testdir/test_messages.vim,
11733 src/testdir/dumps/Test_quit_long_message.dump
11734
11735Patch 8.2.1845
11736Problem: Vim9: function defined in a block can't use variables defined in
11737 that block.
11738Solution: First step: Make a second hashtab that holds all script variables,
11739 also block-local ones, with more information.
11740Files: src/structs.h, src/evalvars.c, src/ex_eval.c, src/vim9script.c,
11741 src/proto/vim9script.pro, src/scriptfile.c
11742
11743Patch 8.2.1846
11744Problem: Vim9: variables declared in a local block are not found in
11745 when a function is compiled.
11746Solution: Look for script variables in sn_all_vars.
11747Files: src/structs.h, src/vim9compile.c, src/proto/vim9compile.pro,
11748 src/userfunc.c, src/proto/userfunc.pro, src/ex_eval.c,
11749 src/vim9script.c, src/proto/vim9script.pro, src/vim9execute.c,
11750 src/testdir/test_vim9_script.vim
11751
11752Patch 8.2.1847
11753Problem: Vim9: using negative value for unsigned type.
11754Solution: Use zero instead of -1.
11755Files: src/vim9compile.c
11756
11757Patch 8.2.1848
11758Problem: Crash when passing a NULL string or list to popup_settext().
11759Solution: Check for NULL pointers. (closes #7132)
11760Files: src/popupwin.c, src/testdir/test_popupwin.vim
11761
11762Patch 8.2.1849
11763Problem: Vim9: garbage collection frees block-local variables.
11764Solution: Mark all script variables as used.
11765Files: src/evalvars.c, src/testdir/test_vim9_script.vim
11766
11767Patch 8.2.1850
11768Problem: "vat" does not select tags correctly over line break.
11769Solution: Adjust the search pattern. (Aufar Gilbran, closes #7136)
11770Files: src/textobject.c, src/testdir/test_textobjects.vim
11771
11772Patch 8.2.1851
11773Problem: Vim9: "!" followed by space incorrectly used.
11774Solution: Skip over trailing spaces. (closes #7131)
11775Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_expr.vim
11776
11777Patch 8.2.1852
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011778Problem: map() returning zero for NULL list is unexpected.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011779Solution: Return the empty list. (closes #7133)
11780Files: src/list.c, src/testdir/test_filter_map.vim,
11781 src/testdir/test_blob.vim
11782
11783Patch 8.2.1853
11784Problem: "to_f" is recognized at "topleft" modifier.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011785Solution: Do not recognize modifier when "_" follows. (closes #7019)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011786Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim
11787
11788Patch 8.2.1854
11789Problem: Vim9: crash when throwing exception for NULL string. (Dhiraj
11790 Mishra)
11791Solution: Handle NULL string like empty string. (closes #7139)
11792Files: src/vim9execute.c, src/errors.h, src/testdir/test_vim9_script.vim
11793
11794Patch 8.2.1855
11795Problem: Vim9: get error message when nothing is wrong.
11796Solution: Check called_emsg instead of did_emsg. (closes #7143)
11797Files: src/vim9compile.c, src/vim9execute.c, src/errors.h
11798
11799Patch 8.2.1856
11800Problem: "2resize" uses size of current window. (Daniel Steinberg)
11801Solution: Use size of resized window. (Yasuhiro Matsumoto, closes #7152)
11802Files: src/ex_docmd.c, src/testdir/test_window_cmd.vim
11803
11804Patch 8.2.1857
11805Problem: Vim9: using job_status() on an unused var gives an error.
11806Solution: Return "fail". (closes #7158)
11807Files: src/job.c, src/testdir/test_vim9_assign.vim
11808
11809Patch 8.2.1858
11810Problem: Vim9: filter functions return number instead of bool.
11811Solution: Return v:true instead of one. (closes #7144)
11812Files: src/popupwin.c, src/evalfunc.c, src/testdir/test_vim9_func.vim
11813
11814Patch 8.2.1859
11815Problem: Vim9: crash in unpack assignment.
11816Solution: Make sure an error message is turned into an exception.
11817 (closes #7159)
11818Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim,
11819 src/testdir/test_vim9_script.vim
11820
11821Patch 8.2.1860
11822Problem: Vim9: memory leak when throwing empty string.
11823Solution: Free the empty string.
11824Files: src/vim9execute.c
11825
11826Patch 8.2.1861
11827Problem: Vim9: no specific error when parsing lambda fails.
11828Solution: Also give syntax errors when not evaluating. (closes #7154)
11829Files: src/dict.c, src/testdir/test_vim9_expr.vim
11830
11831Patch 8.2.1862
11832Problem: vim9: memory leak when compiling lambda fails.
11833Solution: Call clear_evalarg().
11834Files: src/vim9compile.c
11835
11836Patch 8.2.1863
11837Problem: Json code not sufficiently tested.
11838Solution: Add more test cases. (Dominique Pellé, closes #7166)
11839Files: src/testdir/test_json.vim
11840
11841Patch 8.2.1864
11842Problem: Vim9: no error for wrong list type.
11843Solution: Add flag to indicate a constant. (closes #7160)
11844Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
11845
11846Patch 8.2.1865
11847Problem: Vim9: add() does not check type of argument.
11848Solution: Inline the add() call. (closes #7160)
11849Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/errors.h,
11850 src/testdir/test_vim9_func.vim,
11851 src/testdir/test_vim9_disassemble.vim
11852
11853Patch 8.2.1866
11854Problem: Vim9: appending to pushed blob gives wrong result.
11855Solution: Set ga_maxlen when copying a blob.
11856Files: src/blob.c, src/testdir/test_vim9_func.vim
11857
11858Patch 8.2.1867
11859Problem: Vim9: argument to add() not checked for blob.
11860Solution: Add the BLOBAPPEND instruction.
11861Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/errors.h,
11862 src/testdir/test_vim9_func.vim,
11863 src/testdir/test_vim9_disassemble.vim
11864
11865Patch 8.2.1868
11866Problem: Vim9: no error for missing space after comma in dict.
11867Solution: Check for white space. (closes #6672)
11868Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
11869
11870Patch 8.2.1869
11871Problem: Vim9: memory leak when using add().
11872Solution: Free the added item.
11873Files: src/vim9execute.c
11874
11875Patch 8.2.1870
11876Problem: Vim9: no need to keep all script variables.
11877Solution: Only keep script variables when a function was defined that could
11878 use them. Fix freeing static string on exit.
11879Files: src/vim9script.c, src/proto/vim9script.pro, src/structs.h,
11880 src/ex_eval.c, src/userfunc.c, src/testdir/test_vim9_script.vim
11881
11882Patch 8.2.1871
11883Problem: Using %v in 'errorformat' may fail before %Z.
11884Solution: Set qf_viscol only when qf_col is set. (closes #7169)
11885Files: src/quickfix.c, src/testdir/test_quickfix.vim
11886
11887Patch 8.2.1872
11888Problem: Matchfuzzy() does not prefer sequential matches.
11889Solution: Give sequential matches a higher bonus. (Christian Brabandt,
11890 closes #7140)
11891Files: src/search.c, src/testdir/test_matchfuzzy.vim
11892
11893Patch 8.2.1873
11894Problem: Vim9: missing white space when using <f-args>.
11895Solution: Add spaces. (Christian J. Robinson)
11896Files: src/usercmd.c, src/testdir/test_vim9_cmd.vim
11897
11898Patch 8.2.1874
11899Problem: Can't do something just before leaving Insert mode.
11900Solution: Add the InsertLeavePre autocommand event. (closes #7177)
11901Files: runtime/doc/autocmd.txt, src/edit.c, src/vim.h,
11902 src/autocmd.c, src/testdir/test_edit.vim
11903
11904Patch 8.2.1875
11905Problem: Warning when building GTK gui.
11906Solution: Add missing function parameter.
11907Files: src/gui_gtk_f.c
11908
11909Patch 8.2.1876
11910Problem: Vim9: argument types for builtin functions are not checked at
11911 compile time.
11912Solution: Add an argument type checking mechanism. Implement type checks for
11913 one function.
11914Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9compile.c,
11915 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_builtin.vim,
11916 src/testdir/Make_all.mak
11917
11918Patch 8.2.1877 (after 8.2.1876)
11919Problem: Test for function list fails.
11920Solution: Move "obsolete" comments one line up.
11921Files: src/evalfunc.c
11922
11923Patch 8.2.1878
11924Problem: GTK: error for redefining function. (Tony Mechelynck)
11925Solution: Remove "gtk_" prefix from local functions and prepend "gui_" to
11926 global functions.
11927Files: src/gui_gtk_f.c, src/gui_gtk_f.h, src/gui_gtk.c, src/gui_gtk_x11.c
11928
11929Patch 8.2.1879
11930Problem: Vim9: argument types of insert() not checked when compiling.
11931Solution: Add argument type checks for insert().
11932Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9compile.c,
11933 src/testdir/test_vim9_builtin.vim
11934
11935Patch 8.2.1880
11936Problem: Vim9: Asan complains about adding zero to NULL.
11937Solution: Check for argument count first.
11938Files: src/vim9compile.c
11939
11940Patch 8.2.1881
11941Problem: Cannot build with GTK3.
11942Solution: Adjust form functions.
11943Files: src/gui_gtk_f.c
11944
11945Patch 8.2.1882
11946Problem: Vim9: v:disallow_let is no longer needed.
11947Solution: Remove v:disallow_let.
11948Files: src/evalvars.c, src/vim.h, src/vim9compile.c
11949
11950Patch 8.2.1883
11951Problem: Compiler warnings when using Python.
11952Solution: Adjust PyCFunction to also have the second argument. Use "int"
11953 return type for some functions. Insert "(void *)" to get rid of
11954 the remaining warnings.
11955Files: src/if_py_both.h, src/if_python.c, src/if_python3.c
11956
11957Patch 8.2.1884
11958Problem: Compiler warning for uninitialized variable. (John Marriott)
11959Solution: Initialize with NULL.
11960Files: src/vim9compile.c, src/evalfunc.c
11961
11962Patch 8.2.1885
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011963Problem: Filetype tests unnecessarily creates swap files.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011964Solution: Disable 'swapfile'. (Ken Takata, closes #7183)
11965Files: src/testdir/test_filetype.vim
11966
11967Patch 8.2.1886
11968Problem: Using ":silent!" in a popup filter has unexpected effect.
11969Solution: Use did_emsg instead of called_emsg. (closes #7178)
11970Files: src/popupwin.c, src/testdir/test_popupwin.vim
11971
11972Patch 8.2.1887
11973Problem: Github actions not optimally configured.
11974Solution: Run CI on any pushed branches. Set fail-fast. (Ozaki Kiichi,
11975 closes #7184)
11976Files: .github/workflows/ci-windows.yaml
11977
11978Patch 8.2.1888
11979Problem: Vim9: Getbufline(-1, 1, '$') gives an error.
11980Solution: Return an empty list. (closes #7180)
11981Files: src/evalbuffer.c, src/testdir/test_vim9_builtin.vim
11982
11983Patch 8.2.1889
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011984Problem: Vim9: erroneous error for missing white space after {}.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011985Solution: Don't skip over white space after {}. (issue #7167)
11986Files: src/dict.c, src/testdir/test_vim9_expr.vim
11987
11988Patch 8.2.1890
11989Problem: Vim9: strange error for subtracting from a list.
11990Solution: Check getting a number, not a string. (closes #7167)
11991Files: src/eval.c, src/testdir/test_vim9_expr.vim
11992
11993Patch 8.2.1891
11994Problem: Vim9: skipping over expression doesn't handle line breaks.
11995Solution: Pass evalarg to skip_expr(). (closes #7157)
11996Files: src/vim9compile.c, src/eval.c, src/proto/eval.pro, src/ex_docmd.c,
11997 src/misc1.c, src/testdir/test_vim9_cmd.vim
11998
11999Patch 8.2.1892
12000Problem: Valgrind warns for using uninitialized access in tests.
12001Solution: Fix condition for breaking out of loop. (Dominique Pellé,
12002 closes #7187)
12003Files: src/terminal.c
12004
12005Patch 8.2.1893
12006Problem: Fuzzy matching does not support multiple words.
12007Solution: Add support for matching white space separated words. (Yegappan
12008 Lakshmanan, closes #7163)
12009Files: runtime/doc/eval.txt, src/search.c,
12010 src/testdir/test_matchfuzzy.vim
12011
12012Patch 8.2.1894
12013Problem: Vim9: command modifiers are not supported.
12014Solution: Support "silent" and "silent!".
12015Files: src/structs.h, src/vim9compile.c, src/vim9.h, src/vim9execute.c,
12016 src/evalvars.c, src/testdir/test_vim9_disassemble.vim,
12017 src/testdir/test_vim9_cmd.vim
12018
12019Patch 8.2.1895 (after 8.2.1894)
12020Problem: Vim9: silent command modifier test fails.
12021Solution: Add missing changes.
12022Files: src/ex_docmd.c
12023
12024Patch 8.2.1896
12025Problem: Valgrind warns for using uninitialized memory.
12026Solution: NUL terminate the SmcOpenConnection() error message. (Dominique
12027 Pellé, closes #7194)
12028Files: src/os_unix.c
12029
12030Patch 8.2.1897
12031Problem: Command modifiers are saved and set inconsistently.
12032Solution: Separate parsing and applying command modifiers. Save values in
12033 cmdmod_T.
12034Files: src/structs.h, src/ex_docmd.c, src/proto/ex_docmd.pro,
12035 src/ex_cmds.h, src/vim9compile.c
12036
12037Patch 8.2.1898
12038Problem: Command modifier parsing always uses global cmdmod.
12039Solution: Pass in cmdmod_T to use. Rename struct fields consistently.
Bram Moolenaar47c532e2022-03-19 15:18:53 +000012040Files: src/structs.h, src/arglist.c, src/buffer.c, src/bufwrite.c,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012041 src/diff.c, src/change.c, src/cmdhist.c, src/edit.c,
12042 src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c,
12043 src/fileio.c, src/filepath.c, src/gui.c, src/gui_gtk_x11.c,
12044 src/help.c, src/if_cscope.c, src/indent.c, src/mark.c,
12045 src/memline.c, src/message.c, src/option.c, src/ops.c,
12046 src/os_unix.c, src/quickfix.c, src/register.c, src/scriptfile.c,
12047 src/search.c, src/session.c, src/tag.c, src/terminal.c,
12048 src/textformat.c, src/usercmd.c, src/vim9compile.c, src/window.c,
12049 src/proto/ex_docmd.pro
12050
12051Patch 8.2.1899
12052Problem: Crash in out-of-memory situation.
12053Solution: Bail out if shell_name is NULL. (Dominique Pellé, closes #7196)
12054Files: src/ex_cmds.c
12055
12056Patch 8.2.1900
12057Problem: Vim9: command modifiers do not work.
12058Solution: Make most command modifiers work.
12059Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
12060 src/usercmd.c, src/proto/usercmd.pro, src/scriptfile.c,
12061 src/testdir/test_vim9_disassemble.vim
12062
12063Patch 8.2.1901
12064Problem: Variable completion does not work in command line window.
12065Solution: Use the "prevwin". (closes #7198)
12066Files: src/evalvars.c, src/testdir/test_ins_complete.vim
12067
12068Patch 8.2.1902
12069Problem: Default option values are changed when using :badd for an existing
12070 buffer.
12071Solution: When calling buflist_new() pass a zero line number. (closes #7195)
12072Files: src/ex_cmds.c, src/testdir/test_buffer.vim
12073
12074Patch 8.2.1903 (after 8.2.1902)
12075Problem: Buffer test fails with normal features.
12076Solution: Use 'numberwidth' instead of 'conceallevel' in the test.
12077Files: src/testdir/test_buffer.vim
12078
12079Patch 8.2.1904
12080Problem: Still using default option values after using ":badd +1".
12081Solution: Find a window where options were set. Don't set the window when
12082 using ":badd".
12083Files: src/buffer.c, src/ex_cmds.c, src/vim.h,
12084 src/testdir/test_buffer.vim
12085
12086Patch 8.2.1905
12087Problem: The wininfo list may contain stale entries.
12088Solution: When closing a window remove any other entry where the window
12089 pointer is NULL.
12090Files: src/buffer.c, src/proto/buffer.pro, src/window.c
12091
12092Patch 8.2.1906
12093Problem: Warning for signed/unsigned.
12094Solution: Use size_t instead of int. (Mike Williams)
12095Files: src/proto/usercmd.pro, src/usercmd.c, src/vim9execute.c
12096
12097Patch 8.2.1907
12098Problem: Complete_info().selected may be wrong.
12099Solution: Update cp_number if it was never set. (issue #6945)
12100Files: src/insexpand.c, src/testdir/test_ins_complete.vim
12101
12102Patch 8.2.1908
12103Problem: Lua is initialized even when not used.
12104Solution: Put lua_init() after check for "eap->skip". (Christian Brabandt,
12105 closes #7191). Avoid compiler warnings.
12106Files: src/if_lua.c, src/testdir/test_lua.vim
12107
12108Patch 8.2.1909
12109Problem: Number of status line items is limited to 80.
12110Solution: Dynamically allocate the arrays. (Rom Grk, closes #7181)
12111Files: runtime/doc/options.txt, src/buffer.c, src/optionstr.c,
12112 src/proto/buffer.pro, src/screen.c, src/structs.h,
12113 src/testdir/test_options.vim, src/testdir/test_statusline.vim,
12114 src/vim.h
12115
12116Patch 8.2.1910
12117Problem: Reading past the end of the command line.
12118Solution: Check for NUL. (closes #7204)
12119Files: src/ex_docmd.c, src/testdir/test_edit.vim
12120
12121Patch 8.2.1911
12122Problem: Tiny build fails.
12123Solution: Add #ifdef.
12124Files: src/insexpand.c
12125
12126Patch 8.2.1912
12127Problem: With Python 3.9 some tests fail.
12128Solution: Take into account the different error message. (James McCoy,
12129 closes #7210)
12130Files: src/testdir/test_python3.vim
12131
12132Patch 8.2.1913
12133Problem: GTK GUI: rounding for the cell height is too strict.
12134Solution: Round up above 15/16 of a pixel. (closes #7203)
12135Files: src/gui_gtk_x11.c
12136
12137Patch 8.2.1914
12138Problem: Vim9: cannot put line break in expression for '=' register.
12139Solution: Pass fgetline to set_expr_line(). (closes #7209)
12140Files: src/register.c, src/proto/register.pro, src/ex_docmd.c,
12141 src/eval.c, src/proto/eval.pro, src/misc2.c,
12142 src/testdir/test_vim9_script.vim
12143
12144Patch 8.2.1915
12145Problem: Vim9: error for wrong number of arguments is not useful.
12146Solution: Mention whatever we have for the name. (closes #7208)
12147Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
12148
12149Patch 8.2.1916
12150Problem: Vim9: function call is aborted even when "silent!" is used.
12151Solution: Use did_emsg instead of called_emsg. (closes #7213)
12152Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
12153
12154Patch 8.2.1917
12155Problem: No test for improved Man command.
12156Solution: Test that shell arguments are properly escaped.
12157Files: src/testdir/test_man.vim
12158
12159Patch 8.2.1918
12160Problem: Vim9: E1100 mentions :let.
12161Solution: Mention "var". (closes #7207)
12162Files: src/vim9script.c, src/errors.h
12163
12164Patch 8.2.1919
12165Problem: Assert_fails() setting emsg_silent changes normal execution.
12166Solution: Use a separate flag in_assert_fails.
12167Files: src/testing.c, src/globals.h, src/buffer.c, src/change.c,
12168 src/fileio.c, src/insexpand.c, src/message.c, src/misc1.c,
12169 src/normal.c, src/screen.c, src/term.c, src/vim9execute.c,
12170 src/testdir/test_vim9_func.vim, src/testdir/gen_opt_test.vim,
12171 src/testdir/test_autocmd.vim, src/testdir/test_mapping.vim,
12172 src/testdir/test_popup.vim, src/testdir/test_terminal.vim
12173
12174Patch 8.2.1920
12175Problem: Listlbr test fails when run after another test.
12176Solution: Add test separately to list of test targets.
12177Files: src/testdir/Make_all.mak, src/testdir/test_alot_utf8.vim
12178
12179Patch 8.2.1921
12180Problem: Fuzzy matching does not recognize path separators.
12181Solution: Add a bonus for slash and backslash. (Yegappan Lakshmanan,
12182 closes #7225)
12183Files: src/search.c, src/testdir/test_matchfuzzy.vim
12184
12185Patch 8.2.1922
12186Problem: Win32: scrolling doesn't work properly when part of window is
12187 off-screen.
12188Solution: Fall back to GDI scrolling if part of the window is off-screen.
12189 Handle multi-monitor setup better. (Ken Takata, closes #7219)
12190Files: src/gui_w32.c
12191
12192Patch 8.2.1923
12193Problem: Vim9: "filter" command modifier doesn't work.
12194Solution: Check for space on char before argument. (closes #7216,
12195 closes #7222)
12196Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
12197
12198Patch 8.2.1924
12199Problem: Vim9: crash when indexing dict with NULL key.
12200Solution: Use empty string instead of NULL. (closes #7229) Make error
12201 message more useful for empty string.
12202Files: src/vim9execute.c, src/globals.h, src/testdir/test_vim9_expr.vim
12203
12204Patch 8.2.1925 (after 8.2.1924)
12205Problem: List/dict test fails.
12206Solution: Correct expected exception.
12207File: src/testdir/test_listdict.vim
12208
12209Patch 8.2.1926
12210Problem: Cannot use a space in 'spellfile'. (Filipe Brandenburger)
12211Solution: Permit using a space. (closes #7230)
12212Files: src/spell.c, src/testdir/gen_opt_test.vim
12213
12214Patch 8.2.1927
12215Problem: Vim9: get unknown error with an error in a timer function.
12216Solution: Use did_emsg instead of called_emsg. (closes #7231)
12217Files: src/vim9compile.c, src/vim9execute.c
12218
12219Patch 8.2.1928
12220Problem: Vim9: "silent!" not effective when list index is wrong.
12221Solution: Ignore list index failure when emsg_silent is set. (closes #7232)
12222Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
12223
12224Patch 8.2.1929
12225Problem: MS-Windows: problem loading Perl 5.32.
12226Solution: Define NO_THREAD_SAFE_LOCALE. (Ken Takata, closes #7234)
12227Files: src/if_perl.xs
12228
12229Patch 8.2.1930
12230Problem: Wrong input if removing shift results in special key code.
12231Solution: Handle special key codes. (closes #7189)
12232Files: src/term.c, src/testdir/test_termcodes.vim
12233
12234Patch 8.2.1931
12235Problem: Vim9: arguments of extend() not checked at compile time.
12236Solution: Add argument type checking for extend().
12237Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
12238
12239Patch 8.2.1932
12240Problem: Compiler warnings when building with Athena GUI.
12241Solution: Fix function signatures.
12242Files: src/gui_at_fs.c
12243
12244Patch 8.2.1933
12245Problem: Cannot sort using locale ordering.
12246Solution: Add a flag for :sort and sort() to use the locale. (Dominique
12247 Pellé, closes #7237)
12248Files: runtime/doc/change.txt, runtime/doc/eval.txt, src/ex_cmds.c,
12249 src/list.c, src/testdir/test_sort.vim
12250
12251Patch 8.2.1934
12252Problem: Vim9: command modifiers in :def function not tested.
12253Solution: Add tests. Fix using modifier before filter command.
12254Files: src/ex_docmd.c, src/vim9compile.c, src/testdir/test_vim9_cmd.vim
12255
12256Patch 8.2.1935 (after 8.2.1933)
12257Problem: Sort test fails on Mac.
12258Solution: Disable the sort test with locale on Mac.
12259Files: src/testdir/test_sort.vim
12260
12261Patch 8.2.1936
12262Problem: Session sets the local 'scrolloff' value to the global value.
12263Solution: Do not let restoring the global option value change the local
12264 value.
12265Files: src/session.c, src/testdir/test_mksession.vim
12266
12267Patch 8.2.1937
12268Problem: Vim9: test for confirm modifier fails in some situations.
12269Solution: Add a short wait. Handle failure better.
12270Files: src/testdir/term_util.vim, src/testdir/test_vim9_cmd.vim
12271
12272Patch 8.2.1938
12273Problem: Wiping out a terminal buffer makes some tests fail.
12274Solution: Do not wipe out the terminal buffer unless wanted.
12275Files: src/testdir/term_util.vim, src/testdir/test_terminal.vim,
12276 src/testdir/test_terminal3.vim
12277
12278Patch 8.2.1939
12279Problem: Invalid memory access in Ex mode with global command.
12280Solution: Make sure the cursor is on a valid line. (closes #7238)
12281Files: src/move.c, src/testdir/test_ex_mode.vim
12282
12283Patch 8.2.1940
12284Problem: Vim9: browse modifier test fails on Mac.
12285Solution: Only test when the +browse feature is available.
12286Files: src/testdir/test_vim9_cmd.vim
12287
12288Patch 8.2.1941
12289Problem: Ex mode test fails on MS-Windows with GUI.
12290Solution: Skip the test when using gvim.
12291Files: src/testdir/test_ex_mode.vim
12292
12293Patch 8.2.1942
12294Problem: Insufficient test coverage for the Netbeans interface.
12295Solution: Add more tests. Fix an uncovered bug. (Yegappan Lakshmanan,
12296 closes #7240)
12297Files: runtime/doc/netbeans.txt, src/mouse.c,
12298 src/testdir/test_netbeans.py, src/testdir/test_netbeans.vim,
12299 src/testdir/test_quickfix.vim
12300
12301Patch 8.2.1943
12302Problem: Vim9: wrong error message when colon is missing.
12303Solution: Check for a missing colon. (issue #7239)
12304Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
12305
12306Patch 8.2.1944
12307Problem: Netbeans test is flaky.
12308Solution: Add a short delay. (Yegappan Lakshmanan, closes #7246)
12309Files: src/testdir/test_netbeans.vim
12310
12311Patch 8.2.1945
12312Problem: Crash when passing NULL function to reduce().
12313Solution: Check for NULL pointer and give an error. (Dominique Pellé,
12314 closes #7243)
12315Files: src/list.c, src/errors.h, src/testdir/test_listdict.vim
12316
12317Patch 8.2.1946
12318Problem: sort() with NULL string not tested.
12319Solution: Add a test. use v:collate. (Dominique Pellé, closes #7247)
12320Files: src/testdir/test_sort.vim
12321
12322Patch 8.2.1947
12323Problem: Crash when using "zj" without folds. (Sean Dewar)
12324Solution: Check for at least one fold. (closes #7245)
12325Files: src/fold.c, src/testdir/test_fold.vim
12326
12327Patch 8.2.1948
12328Problem: GUI: crash when handling message while closing a window. (Srinath
12329 Avadhanula)
12330Solution: Don't handle message while closing a window. (closes #7250)
12331Files: src/window.c, src/globals.h, src/getchar.c
12332
12333Patch 8.2.1949
12334Problem: Vim9: using extend() on null dict is silently ignored.
12335Solution: Give an error message. Initialize a dict variable with an empty
12336 dictionary. (closes #7251)
12337Files: src/errors.h, src/list.c, src/evalvars.c,
12338 src/testdir/test_vim9_assign.vim
12339
12340Patch 8.2.1950
12341Problem: Vim9: crash when compiling function fails when getting type.
12342Solution: Handle NULL type. (closes #7253)
12343Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
12344
12345Patch 8.2.1951 (after 8.2.1949)
12346Problem: Test for list and dict fails.
12347Solution: Adjust for using an empty list/dict for a null one.
12348Files: src/testdir/test_listdict.vim, src/testdir/test_python2.vim,
12349 src/testdir/test_python3.vim
12350
12351Patch 8.2.1952
12352Problem: Vim9: crash when using a NULL dict key.
12353Solution: Use a NULL dict key like an empty string. (closes #7249)
12354Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
12355
12356Patch 8.2.1953
12357Problem: Vim9: extra "unknown" error after other error.
12358Solution: Restore did_emsg count after EXEC instruction. (closes #7254)
12359 Improve error message from assert_fails()
12360Files: src/vim9execute.c, src/testing.c,
12361 src/testdir/test_vim9_script.vim, src/testdir/test_assert.vim
12362
12363Patch 8.2.1954
12364Problem: Vim9: not all command modifiers are tested.
12365Solution: Add tests for "keep" modifiers. Fix that marks are lost even
12366 though ":lockmarks" is used.
12367Files: src/ex_cmds.c, src/testdir/test_vim9_cmd.vim
12368
12369Patch 8.2.1955
12370Problem: Vim9: not all command modifiers are tested.
12371Solution: Add tests for remaining modifiers.
12372Files: src/testdir/test_vim9_cmd.vim
12373
12374Patch 8.2.1956
12375Problem: Vim9: cannot specify argument types for lambda.
12376Solution: Allow adding argument types. Check arguments when calling a
12377 function reference.
12378Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9compile.c,
12379 src/eval.c, src/testdir/test_vim9_disassemble.vim,
12380 src/testdir/test_vim9_func.vim
12381
12382Patch 8.2.1957
12383Problem: Diff and cursorcolumn highlighting don't mix.
12384Solution: Fix condition for what attribute to use. (Christian Brabandt,
12385 closes #7258, closes #7260)
12386Files: src/drawline.c, src/testdir/dumps/Test_diff_cuc_01.dump,
12387 src/testdir/dumps/Test_diff_cuc_02.dump,
12388 src/testdir/dumps/Test_diff_cuc_03.dump,
12389 src/testdir/dumps/Test_diff_cuc_04.dump,
12390 src/testdir/test_diffmode.vim
12391
12392Patch 8.2.1958 (after 8.2.1956)
12393Problem: Build failure with timers.
12394Solution: Add missing change.
12395Files: src/popupwin.c
12396
12397Patch 8.2.1959
12398Problem: Crash when terminal buffer name is made empty. (Dhiraj Mishra)
12399Solution: Fall back to "[No Name]". (closes #7262)
12400Files: src/buffer.c, src/proto/buffer.pro, src/terminal.c,
12401 src/testdir/test_terminal.vim
12402
12403Patch 8.2.1960
12404Problem: Warning for uninitialized variable.
12405Solution: Initialize the variable.
12406Files: src/evalfunc.c
12407
12408Patch 8.2.1961
12409Problem: Various comments can be improved.
12410Solution: Various comment adjustments.
12411Files: src/dict.c, src/structs.h, src/time.c, src/testdir/shared.vim,
12412 src/testdir/test_netbeans.vim, src/gui_motif.c
12413
12414Patch 8.2.1962
12415Problem: Netbeans may access freed memory.
12416Solution: Check the buffer pointer is still valid. Add a test. (Yegappan
12417 Lakshmanan, closes #7248)
12418Files: src/netbeans.c, src/testdir/test_netbeans.vim
12419
12420Patch 8.2.1963
12421Problem: Crash when using a popup window with "latin1" encoding.
12422Solution: Don't use ScreenLinesUC when enc_utf8 is false. (closes #7241)
12423Files: src/screen.c, src/terminal.c, src/testdir/test_popupwin.vim
12424
12425Patch 8.2.1964
12426Problem: Not all ConTeXt files are recognized.
12427Solution: Add two patterns. (closes #7263)
12428Files: runtime/filetype.vim, src/testdir/test_filetype.vim
12429
12430Patch 8.2.1965
12431Problem: Vim9: tests fail without the channel feature.
12432Solution: Check if the channel feature is present. (Dominique Pellé,
Bram Moolenaar1588bc82022-03-08 21:35:07 +000012433 closes #7270)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012434Files: src/testdir/test_vim9_expr.vim
12435
12436Patch 8.2.1966
12437Problem: Popup becomes current window after closing a terminal window.
12438Solution: When restoring the window after executing autocommands, check that
12439 the window ID is still the same. (Naruhiko Nishino,
12440 closes #7272)
12441Files: src/autocmd.c, src/window.c, src/proto/window.pro, src/structs.h,
12442 src/testdir/test_popupwin.vim
12443
12444Patch 8.2.1967
12445Problem: The session file does not restore the alternate file.
12446Solution: Add ":balt". Works like ":badd" and also sets the buffer as the
12447 alternate file. Use it in the session file. (closes #7269,
12448 closes #6714)
12449Files: runtime/doc/windows.txt, src/ex_cmds.h, src/ex_cmdidxs.h,
12450 src/ex_docmd.c, src/vim.h, src/ex_cmds.c, src/session.c,
12451 src/testdir/test_buffer.vim
12452
12453Patch 8.2.1968
12454Problem: Vim9: has() assumes a feature does not change dynamically.
12455Solution: Check whether a feature may change dynamically. (closes #7265)
12456Files: src/vim9compile.c, src/evalfunc.c, src/proto/evalfunc.pro,
12457 src/testdir/test_vim9_disassemble.vim
12458
12459Patch 8.2.1969
12460Problem: Vim9: map() may change the list or dict item type.
12461Solution: Add mapnew().
12462Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
12463 src/list.c, src/proto/list.pro, src/testdir/test_filter_map.vim
12464
12465Patch 8.2.1970
12466Problem: It is easy to make mistakes when cleaning up swap files after the
12467 system crashed.
12468Solution: Warn for the process still running after recovery. Do not
12469 automatically delete a swap file created on another system.
12470 (David Fries, closes #7273)
12471Files: src/memline.c, src/testdir/test_swap.vim
12472
12473Patch 8.2.1971
12474Problem: Memory leak when map() fails.
12475Solution: Clear the typval.
12476Files: src/list.c
12477
12478Patch 8.2.1972
12479Problem: Crash when recreating nested fold.
12480Solution: Check for empty growarray. (closes #7278)
12481Files: src/fold.c, src/testdir/test_fold.vim
12482
12483Patch 8.2.1973
12484Problem: Finding a patch number can be a bit slow.
12485Solution: Use binary search. (closes #7279)
12486Files: src/version.c
12487
12488Patch 8.2.1974
12489Problem: Vim9: test for has('gui_running') fails with VIMDLL.
12490Solution: Adjust the #ifdef. (Ken Takata, closes #7276)
12491Files: src/evalfunc.c
12492
12493Patch 8.2.1975
12494Problem: Win32: memory leak when encoding conversion fails.
12495Solution: Free the allocated memory. (Ken Takata, closes #7277)
12496Files: src/os_win32.c
12497
12498Patch 8.2.1976
12499Problem: Cannot backspace in prompt buffer after using cursor-left. (Maxim
12500 Kim)
12501Solution: Ignore "arrow_used" in a prompt buffer. (closes #7281)
12502Files: src/edit.c, src/testdir/test_prompt_buffer.vim
12503
12504Patch 8.2.1977
12505Problem: Vim9: error for using a string in a condition is confusing.
12506Solution: Give a more specific error. Also adjust the compile time type
12507 checking for || and &&.
12508Files: src/vim9compile.c, src/vim9execute.c, src/proto/vim9execute.pro,
12509 src/typval.c, src/errors.h, src/testdir/test_vim9_cmd.vim,
12510 src/testdir/test_vim9_disassemble.vim,
12511 src/testdir/test_vim9_expr.vim
12512
12513Patch 8.2.1978
12514Problem: Making a mapping work in all modes is complicated.
12515Solution: Add the <Cmd> special key. (Yegappan Lakshmanan, closes #7282,
12516 closes 4784, based on patch by Bjorn Linse)
12517Files: runtime/doc/autocmd.txt, runtime/doc/eval.txt,
12518 runtime/doc/map.txt, src/edit.c, src/errors.h, src/ex_docmd.c,
12519 src/ex_getln.c, src/getchar.c, src/insexpand.c, src/keymap.h,
12520 src/map.c, src/misc2.c, src/normal.c, src/ops.c,
12521 src/proto/getchar.pro, src/screen.c, src/terminal.c,
12522 src/testdir/test_mapping.vim
12523
12524Patch 8.2.1979
12525Problem: "term_opencmd" option of term_start() is truncated. (Sergey
12526 Vlasov)
12527Solution: Allocate the buffer to hold the command. (closes #7284)
12528Files: src/terminal.c, src/testdir/test_terminal.vim
12529
12530Patch 8.2.1980
12531Problem: Vim9: some tests are not done at the script level.
12532Solution: Use CheckDefAndScriptSuccess() in more places. Fix uncovered
12533 problems.
12534Files: src/eval.c, src/list.c, src/scriptfile.c,
12535 src/testdir/test_vim9_expr.vim
12536
12537Patch 8.2.1981
12538Problem: MinGW: parallel compilation might fail.
12539Solution: Add dependencies on $(OUTDIR). (Masamichi Abe, closes #7287)
12540Files: src/Make_cyg_ming.mak
12541
12542Patch 8.2.1982
12543Problem: Quickfix window not updated when adding invalid entries.
12544Solution: Update the quickfix buffer properly. (Yegappan Lakshmanan, closes
12545 #7291, closes #7271)
12546Files: src/quickfix.c, src/testdir/test_quickfix.vim
12547
12548Patch 8.2.1983
12549Problem: ml_get error when using <Cmd> to open a terminal.
12550Solution: If the window changed reset the incsearch state. (closes #7289)
12551Files: src/ex_getln.c, src/testdir/test_terminal.vim,
12552 src/testdir/dumps/Test_terminal_from_cmd.dump
12553
12554Patch 8.2.1984
12555Problem: Cannot use :vimgrep in omni completion, causing C completion to
12556 fail.
12557Solution: Add the EX_LOCK_OK flag to :vimgrep. (closes #7292)
12558Files: src/ex_cmds.h, src/testdir/test_quickfix.vim
12559
12560Patch 8.2.1985
12561Problem: Crash when closing terminal popup with <Cmd> mapping.
12562Solution: Check b_term is not NULL. (closes #7294)
12563Files: src/terminal.c, src/testdir/test_terminal.vim
12564
12565Patch 8.2.1986
12566Problem: Expression test is flaky on Appveyor.
12567Solution: Temporarily disable the test in MS-Windows.
12568Files: src/testdir/test_vim9_expr.vim
12569
12570Patch 8.2.1987
12571Problem: MS-Windows: Win32.mak is no longer needed.
12572Solution: Do not include Win32.mak. (Jason McHugh, closes #7290)
12573Files: src/Make_mvc.mak, src/INSTALLpc.txt
12574
12575Patch 8.2.1988
12576Problem: Still in Insert mode when opening terminal popup with a <Cmd>
12577 mapping in Insert mode.
12578Solution: Exit Insert mode. (closes #7295)
12579Files: src/edit.c, src/testdir/test_terminal.vim
12580
12581Patch 8.2.1989
12582Problem: Info popup triggers WinEnter and WinLeave autocommands.
12583Solution: Suppress autocommands for the info popup. (closes #7296)
12584Files: src/popupmenu.c, src/testdir/test_popupwin.vim
12585
12586Patch 8.2.1990
12587Problem: Cursor position wrong in terminal popup with finished job.
12588Solution: Only add the top and left offset when not done already.
12589 (closes #7298)
12590Files: src/popupwin.c, src/structs.h, src/drawline.c, src/move.c,
12591 src/terminal.c, src/testdir/dumps/Test_terminal_popup_m1.dump
12592
12593Patch 8.2.1991
12594Problem: Coverity warns for not using the ga_grow() return value.
12595Solution: Bail out if ga_grow() fails. (Yegappan Lakshmanan, closes #7303)
12596Files: src/getchar.c
12597
12598Patch 8.2.1992
12599Problem: Build fails with small features.
12600Solution: Add #ifdef.
12601Files: src/move.c
12602
12603Patch 8.2.1993
12604Problem: Occasional failure of the netbeans test.
12605Solution: Add "silent!". (Yegappan Lakshmanan, closes #7304)
12606Files: src/testdir/test_netbeans.vim
12607
12608Patch 8.2.1994 (after 8.2.1981)
12609Problem: MS-Windows: MinGW always does a full build.
12610Solution: Only check if $OUTDIR exists. (Masamichi Abe, closes #7311)
12611Files: src/Make_cyg_ming.mak
12612
12613Patch 8.2.1995
12614Problem: The popup menu can cause too much redrawing.
12615Solution: Reduce the length of the displayed text. (Yasuhiro Matsumoto,
12616 closes #7306)
12617Files: src/popupmenu.c
12618
12619Patch 8.2.1996
12620Problem: Vim9: invalid error for argument of extend().
12621Solution: Check if the type could match. (closes #7299)
12622Files: src/evalfunc.c, src/vim9compile.c, src/proto/vim9compile.pro,
12623 src/vim9type.c, src/proto/vim9type.pro,
12624 src/testdir/test_vim9_builtin.vim
12625
12626Patch 8.2.1997
12627Problem: Window changes when using bufload() while in a terminal popup.
12628Solution: When searching for a window by ID also find a popup window.
12629 (closes #7307)
12630Files: src/window.c, src/testdir/test_terminal.vim
12631
12632Patch 8.2.1998
12633Problem: Terminal Cmd test sometimes fails to close popup.
12634Solution: Add "term_finish" option.
12635Files: src/testdir/test_terminal.vim
12636
12637Patch 8.2.1999
12638Problem: Terminal popup test sometimes fails.
12639Solution: Wait for the popup to close.
12640Files: src/testdir/test_terminal.vim
12641
12642Patch 8.2.2000
12643Problem: Vim9: dict.key assignment not implemented yet.
12644Solution: Implement dict.key assignment. (closes #7312)
12645Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
12646
12647Patch 8.2.2001
12648Problem: Vim9: :def function does not apply 'maxfuncdepth'.
12649Solution: Use 'maxfuncdepth'. (issue #7313)
12650Files: src/vim9execute.c, src/userfunc.c, src/proto/userfunc.pro,
12651 src/testdir/test_vim9_func.vim
12652
12653Patch 8.2.2002
12654Problem: Vim9: lambda argument shadowed by function name.
12655Solution: Let function name be shadowed by lambda argument. (closes #7313)
12656Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
12657
12658Patch 8.2.2003
12659Problem: Build error with +conceal but without +popupwin.
12660Solution: Add #ifdef. (Tom Ryder, closes #7316)
12661Files: src/drawline.c
12662
12663Patch 8.2.2004 (after 8.2.2002)
12664Problem: Compiler warning for uninitialized variable.
12665Solution: Initialize "ufunc". (John Marriott)
12666Files: src/vim9compile.c
12667
12668Patch 8.2.2005
12669Problem: Redoing a mapping with <Cmd> doesn't work properly.
12670Solution: Fill the redo buffer. Use "<SNR>" instead of a key code.
12671 (closes #7282)
12672Files: src/ops.c, src/getchar.c, src/testdir/test_mapping.vim
12673
12674Patch 8.2.2006
12675Problem: .pbtxt files are not recognized.
12676Solution: Recognize .pbtxt as protobuf text buffers. (closes #7326)
12677Files: runtime/filetype.vim, src/testdir/test_filetype.vim
12678
12679Patch 8.2.2007
12680Problem: Test for insert mode in popup is not reliable.
12681Solution: Wait for the popup to disappear. (Ozaki Kiichi, closes #7321)
12682Files: src/testdir/test_terminal.vim
12683
12684Patch 8.2.2008
12685Problem: MS-Windows GUI: handling channel messages lags.
12686Solution: Reduce the wait time from 100 to 10 msec. (closes #7097)
12687Files: src/gui_w32.c
12688
12689Patch 8.2.2009
12690Problem: MS-Windows: setting $LANG in gvimext only causes problems.
12691Solution: Do not set $LANG. (Ken Takata, closes #7325)
12692Files: src/GvimExt/gvimext.cpp
12693
12694Patch 8.2.2010
12695Problem: Vim9: compiling fails for unreachable return statement.
12696Solution: Fix it. (closes #7319)
12697Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
12698
12699Patch 8.2.2011
12700Problem: "syn sync" reports a very large number.
12701Solution: Use "at the first line".
12702Files: src/syntax.c, src/testdir/test_syntax.vim
12703
12704Patch 8.2.2012
12705Problem: Vim9: confusing error message when using bool wrongly.
12706Solution: Mention "Bool" instead of "Special". (closes #7323)
12707Files: src/typval.c, src/errors.h, src/testdir/test_vim9_expr.vim
12708
12709Patch 8.2.2013
12710Problem: Vim9: not skipping white space after unary minus.
12711Solution: Skip whitespace. (closes #7324)
12712Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
12713
12714Patch 8.2.2014
12715Problem: Using CTRL-O in a prompt buffer moves cursor to start of the line.
12716Solution: Do not move the cursor when restarting edit. (closes #7330)
12717Files: src/job.c, src/testdir/test_prompt_buffer.vim
12718
12719Patch 8.2.2015
12720Problem: Vim9: literal dict #{} is not like any other language.
12721Solution: Support the JavaScript syntax.
12722Files: runtime/doc/vim9.txt, src/vim9compile.c,
12723 src/proto/vim9compile.pro, src/errors.h,
12724 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_builtin.vim,
12725 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
12726
12727Patch 8.2.2016
12728Problem: Swap file test is a little flaky.
12729Solution: Don't set a byte to a fixed value, increment it.
12730Files: src/testdir/test_swap.vim
12731
12732Patch 8.2.2017 (after 8.2.2015)
12733Problem: Missing part of the dict change.
12734Solution: Also change the script level dict.
12735Files: src/dict.c
12736
12737Patch 8.2.2018
12738Problem: Vim9: script variable not found from lambda.
12739Solution: In a lambda also check the script hashtab for a variable without a
12740 scope. (closes #7329)
12741Files: src/evalvars.c, src/testdir/test_vim9_func.vim
12742
12743Patch 8.2.2019 (after 8.2.2016)
12744Problem: Swap file test fails on MS-Windows.
12745Solution: Add four to the process ID. (Ken Takata, closes #7333)
12746Files: src/testdir/test_swap.vim
12747
12748Patch 8.2.2020
12749Problem: Some compilers do not like the "namespace" argument.
12750Solution: Rename to "use_namespace". (closes #7332)
12751Files: src/vim9compile.c, src/proto/vim9compile.pro
12752
12753Patch 8.2.2021
12754Problem: Vim9: get E1099 when autocommand resets did_emsg.
12755Solution: Add did_emsg_cumul. (closes #7336)
12756Files: src/globals.h, src/ex_docmd.c, src/vim9execute.c,
12757 src/testdir/test_vim9_func.vim
12758
12759Patch 8.2.2022
Bram Moolenaar1588bc82022-03-08 21:35:07 +000012760Problem: Vim9: star command recognized erroneously.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012761Solution: Give an error for missing colon. (issue #7335)
12762Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
12763
12764Patch 8.2.2023
12765Problem: Vim: memory leak when :execute fails.
12766Solution: Clear the growarray.
12767Files: src/vim9execute.c
12768
12769Patch 8.2.2024
12770Problem: Flicker when redrawing a popup with a title and border.
12771Solution: Do not redraw the border where the title is displayed. (Naruhiko
12772 Nishino, closes #7334)
12773Files: src/popupwin.c
12774
12775Patch 8.2.2025
12776Problem: Amiga: Not all colors are used on OS4.
12777Solution: Adjust the #ifdef to include __amigaos4__. (Ola Söder,
12778 closes #7328)
12779Files: src/term.c
12780
12781Patch 8.2.2026
12782Problem: Coverity warns for possibly using not NUL terminated string.
12783Solution: Put a NUL in b0_hname just in case.
12784Files: src/memline.c
12785
12786Patch 8.2.2027
12787Problem: Coverity warns for uninitialized field.
12788Solution: Set "v_lock".
12789Files: src/list.c
12790
12791Patch 8.2.2028
12792Problem: Coverity warns for using an uninitialized variable.
12793Solution: Initialize to NULL.
12794Files: src/eval.c
12795
12796Patch 8.2.2029
12797Problem: Coverity warns for not checking return value.
12798Solution: Check that u_save_cursor() returns OK.
12799Files: src/ops.c
12800
12801Patch 8.2.2030
12802Problem: Some tests fail on Mac.
12803Solution: Avoid Mac test failures. Add additional test for wildmenu.
12804 (Yegappan Lakshmanan, closes #7341)
12805Files: src/testdir/runtest.vim, src/testdir/test_cmdline.vim,
12806 src/testdir/test_options.vim, src/testdir/test_popupwin.vim
12807
12808Patch 8.2.2031
12809Problem: Some tests fail when run under valgrind.
12810Solution: Avoid timing problems.
12811Files: src/testdir/test_vim9_func.vim, src/testdir/test_channel.vim,
12812 src/testdir/test_clientserver.vim, src/testdir/test_debugger.vim,
12813 src/testdir/test_quotestar.vim
12814
12815Patch 8.2.2032
12816Problem: Cabalconfig and cabalproject filetypes not recognized.
12817Solution: Detect more cabal files. (Marcin Szamotulski, closes #7339)
12818Files: runtime/filetype.vim, src/testdir/test_filetype.vim
12819
12820Patch 8.2.2033
12821Problem: Vim9: :def without argument gives compilation error.
12822Solution: Add the DEF instruction. (closes #7344)
12823Files: src/ex_docmd.c, src/vim9.h, src/vim9compile.c, src/vim9execute.c,
12824 src/userfunc.c, src/proto/userfunc.pro,
12825 src/testdir/test_vim9_disassemble.vim,
12826 src/testdir/test_vim9_func.vim
12827
12828Patch 8.2.2034
12829Problem: Vim9: list unpack in for statement not compiled yet.
12830Solution: Compile list unpack. (closes #7345)
12831Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/errors.h,
12832 src/eval.c, src/testdir/test_vim9_disassemble.vim,
12833 src/testdir/test_vim9_script.vim
12834
12835Patch 8.2.2035
12836Problem: MS-Windows: some tests may fail.
12837Solution: Avoid test failures. (Yegappan Lakshmanan, closes #7346)
12838Files: src/testdir/test_channel.vim, src/testdir/test_ex_mode.vim,
12839 src/testdir/test_functions.vim
12840
12841Patch 8.2.2036
12842Problem: Current buffer is messed up if creating a new buffer for the
12843 quickfix window fails.
12844Solution: Check that creating the buffer succeeds. (closes #7352)
12845Files: src/quickfix.c, src/testdir/test_quickfix.vim,
12846 src/testdir/dumps/Test_quickfix_window_fails.dump
12847
12848Patch 8.2.2037
12849Problem: Compiler test depends on list of compiler plugins.
12850Solution: Compare with the actual list of compiler plugins.
12851Files: src/testdir/test_compiler.vim
12852
12853Patch 8.2.2038
12854Problem: Compiler test fails on MS-Windows.
12855Solution: Sort the found compiler plugin names.
12856Files: src/testdir/test_compiler.vim
12857
12858Patch 8.2.2039
12859Problem: Viminfo is not written when creating a new file.
12860Solution: Set "b_marks_read" in the new buffer. (Christian Brabandt,
12861 closes #7350)
12862Files: src/bufwrite.c, src/testdir/test_viminfo.vim
12863
12864Patch 8.2.2040
12865Problem: Terminal buffer disappears even when 'bufhidden' is "hide".
12866 (Sergey Vlasov)
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010012867Solution: Check 'bufhidden' when a terminal buffer becomes hidden.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012868 (closes #7358)
12869Files: src/buffer.c, src/testdir/test_terminal.vim
12870
12871Patch 8.2.2041
12872Problem: Haskell filetype not optimally recognized.
12873Solution: Recognize all *.hsc files as Haskell. (Marcin Szamotulski,
12874 closes #7354)
12875Files: runtime/filetype.vim, src/testdir/test_filetype.vim
12876
12877Patch 8.2.2042
12878Problem: Build failure with +profile but without +reltime.
12879Solution: Adjust #ifdef. (Christian Brabandt, closes #7361)
12880Files: src/syntax.c
12881
12882Patch 8.2.2043
12883Problem: GTK3: white border around text stands out.
12884Solution: Use current theme color. (closes #7357, issue #349)
12885Files: src/gui_gtk_x11.c
12886
12887Patch 8.2.2044
12888Problem: MS-Windows: swap file test sometimes fails.
12889Solution: Use a more reliable way to change the process ID. When "timeout"
12890 fails use "ping" to wait up to ten minutes. (Ken Takata,
12891 closes #7365)
12892Files: .github/workflows/ci-windows.yaml, src/testdir/test_swap.vim
12893
12894Patch 8.2.2045
12895Problem: Highlighting a character too much with incsearch.
12896Solution: Check "search_match_endcol". (Christian Brabandt, closes #7360)
12897Files: src/drawline.c, src/testdir/test_search.vim,
12898 src/testdir/dumps/Test_incsearch_newline1.dump,
12899 src/testdir/dumps/Test_incsearch_newline2.dump,
12900 src/testdir/dumps/Test_incsearch_newline3.dump,
12901 src/testdir/dumps/Test_incsearch_newline4.dump,
12902 src/testdir/dumps/Test_incsearch_newline5.dump
12903
12904Patch 8.2.2046
12905Problem: Some test failures don't give a clear error.
12906Solution: Use assert_match() and assert_fails() instead of assert_true().
12907 (Ken Takata, closes #7368)
12908Files: src/testdir/test_autocmd.vim, src/testdir/test_backspace_opt.vim
12909
12910Patch 8.2.2047
12911Problem: Amiga: FEAT_ARP defined when it should not.
12912Solution: Adjust #ifdef. (Ola Söder, closes #7370)
12913Files: src/feature.h
12914
12915Patch 8.2.2048
12916Problem: Amiga: obsolete code.
12917Solution: Remove the unused lines. (Ola Söder, closes #7373)
12918Files: src/gui.c
12919
12920Patch 8.2.2049
12921Problem: Amiga: obsolete function.
12922Solution: Remove the function. (Ola Söder, closes #7374)
12923Files: src/memfile.c
12924
12925Patch 8.2.2050
12926Problem: Search test contains unneeded sleeps.
12927Solution: Rename the function, remove sleeps. (Christian Brabandt,
12928 closes #7369)
12929Files: src/testdir/test_search.vim
12930
12931Patch 8.2.2051
12932Problem: Vim9: crash when aborting a user function call.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000012933Solution: Do not use the return value when aborting. (closes #7372)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012934Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
12935
12936Patch 8.2.2052
12937Problem: Vim9: "edit +4 fname" gives an error. (Naruhiko Nishino)
12938Solution: Allow using a range in the +cmd argument. (closes #7364)
12939Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/vim.h, src/ex_cmds.c,
12940 src/testdir/test_vim9_cmd.vim
12941
12942Patch 8.2.2053
Bram Moolenaar1588bc82022-03-08 21:35:07 +000012943Problem: Vim9: lambda doesn't accept argument types.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012944Solution: Optionally accept argument types at the script level.
12945Files: src/eval.c, src/testdir/test_vim9_expr.vim
12946
12947Patch 8.2.2054
12948Problem: Amiga: FEAT_ARP defined when it should not.
12949Solution: Adjust "||" to "&&" in #ifdef. (Ola Söder, closes #7375)
12950Files: src/feature.h
12951
12952Patch 8.2.2055
12953Problem: MS-Windows: two Vim instances may use the same temp file.
12954Solution: Use the process ID for the temp name. (Ken Takata, closes #7378)
12955Files: src/fileio.c
12956
12957Patch 8.2.2056
12958Problem: Configure fails when building with the
12959 "implicit-function-declaration" error enabled, specifically on Mac.
K.Takata7b7672d2024-01-06 01:47:01 +090012960Solution: Declare the functions like in the source code. (suggestion by
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012961 Clemens Lang, closes #7380)
12962Files: src/configure.ac, src/auto/configure
12963
12964Patch 8.2.2057
12965Problem: Getting the selection may trigger TextYankPost autocmd.
12966Solution: Only trigger the autocommand when yanking in Vim, not for getting
12967 the selection. (closes #7367)
12968Files: src/clipboard.c, src/normal.c, src/register.c,
12969 src/testdir/test_autocmd.vim
12970
12971Patch 8.2.2058
12972Problem: Using mkview/loadview changes the jumplist.
12973Solution: Use ":keepjumps". Don't let ":badd" or ":balt" change the
12974 jumplist. (closes #7371)
12975Files: src/session.c, src/ex_docmd.c, src/testdir/test_mksession.vim
12976
12977Patch 8.2.2059
12978Problem: Amiga: can't find plugins.
12979Solution: Do not use "**" in the pattern. (Ola Söder, closes #7384)
12980Files: src/main.c
12981
12982Patch 8.2.2060
12983Problem: Check for features implemented with "if".
12984Solution: Use the Check commands. (Ken Takata, closes #7383)
12985Files: src/testdir/test_autocmd.vim, src/testdir/test_compiler.vim,
12986 src/testdir/test_delete.vim, src/testdir/test_diffmode.vim,
12987 src/testdir/test_expr.vim, src/testdir/test_fold.vim
12988
12989Patch 8.2.2061
12990Problem: Vim9: E1030 error when using empty string for term_sendkeys().
12991Solution: Don't check for an invalid type unless the terminal can't be
12992 found. (closes #7382)
12993Files: src/terminal.c, src/testdir/test_termcodes.vim
12994
12995Patch 8.2.2062
12996Problem: <Cmd> does not handle CTRL-V.
12997Solution: Call get_literal() after encountering CTRL-V. (closes #7387)
12998Files: src/getchar.c, src/testdir/test_mapping.vim
12999
13000Patch 8.2.2063
13001Problem: Vim9: only one level of indexing supported.
13002Solution: Handle more than one index in an assignment.
13003Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_assign.vim
13004
13005Patch 8.2.2064
13006Problem: terminal: cursor is on while redrawing, causing flicker.
13007Solution: Switch the cursor off while redrawing. Always add the top and
13008 left offset to the cursor position when not done already.
13009 (closes #5943)
13010Files: src/terminal.c, src/popupwin.c
13011
13012Patch 8.2.2065
13013Problem: Using map() and filter() on a range() is inefficient.
13014Solution: Do not materialize the range. (closes #7388)
13015Files: src/list.c, src/testdir/test_functions.vim
13016
13017Patch 8.2.2066
13018Problem: Vim9: assignment with += doesn't work.
13019Solution: Do not see the "+" as an addition operator.
13020Files: src/eval.c, src/ex_docmd.c, src/testdir/test_vim9_assign.vim
13021
13022Patch 8.2.2067 (after 8.2.2064)
13023Problem: Cursor position in popup terminal is wrong.
13024Solution: Don't check the flags.
13025Files: src/terminal.c, src/testdir/test_popupwin.vim
13026
13027Patch 8.2.2068
13028Problem: Transparent syntax item uses start/end of containing region.
13029Solution: Do not change the startpos and endpos of a transparent region to
13030 that of its containing region. (Adrian Ghizaru, closes #7349,
13031 closes #7391)
13032Files: src/syntax.c, src/testdir/test_syntax.vim
13033
13034Patch 8.2.2069
13035Problem: The quickfix window is not updated after setqflist().
13036Solution: Update the quickfix buffer. (Yegappan Lakshmanan, closes #7390,
13037 closes #7385)
13038Files: src/quickfix.c, src/testdir/test_quickfix.vim
13039
13040Patch 8.2.2070
13041Problem: Can't get the exit value in VimLeave or VimLeavePre autocommands.
13042Solution: Add v:exiting like in Neovim. (Yegappan Lakshmanan, closes #7395)
13043Files: runtime/doc/autocmd.txt, runtime/doc/eval.txt, src/evalvars.c,
13044 src/main.c, src/testdir/test_exit.vim, src/vim.h
13045
13046Patch 8.2.2071
13047Problem: Vim9: list assign doesn't accept an empty remainder list.
13048Solution: Recognize list assignment with ";".
13049Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim
13050
13051Patch 8.2.2072
13052Problem: Vim9: list assign not well tested.
13053Solution: Test with different destinations. Fix white space error.
13054Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
13055
13056Patch 8.2.2073
13057Problem: Vim9: for with unpack only works for local variables.
13058Solution: Recognize different destinations.
13059Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
13060
13061Patch 8.2.2074
13062Problem: Vim9: using :normal from Vim9 script can't handle range.
13063Solution: Execute a :normal command in legacy script context. (closes #7401)
13064Files: src/structs.h, src/ex_docmd.c, src/testdir/test_vim9_script.vim
13065
13066Patch 8.2.2075
13067Problem: Error for const argument to mapnew().
13068Solution: Don't give an error. (closes #7400)
13069Files: src/list.c, src/testdir/test_filter_map.vim
13070
13071Patch 8.2.2076
13072Problem: MS-Windows console: sometimes drops typed characters.
13073Solution: Do not wait longer than 10 msec for input. (issue #7164)
13074Files: src/os_win32.c
13075
13076Patch 8.2.2077
13077Problem: Build failure with small features.
13078Solution: Add #ifdef.
13079Files: src/structs.h, src/ex_docmd.c
13080
13081Patch 8.2.2078
13082Problem: Illegal memory access when using :print on invalid text. (Dhiraj
13083 Mishra)
13084Solution: Check for more composing characters than supported. (closes #7399)
13085Files: src/message.c, src/testdir/test_utf8.vim
13086
13087Patch 8.2.2079
13088Problem: Vim9: cannot put a linebreak before or after "in" of ":for".
13089Solution: Skip over linebreak.
13090Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
13091
13092Patch 8.2.2080
13093Problem: Vim9: no proper error message for using s:var in for loop.
13094Solution: Give a specific error.
13095Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
13096
13097Patch 8.2.2081
13098Problem: Vim9: cannot handle a linebreak after "=" in assignment.
13099Solution: Skip over linebreak. (closes #7407)
13100Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
13101 src/testdir/test_vim9_expr.vim
13102
13103Patch 8.2.2082
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013104Problem: Vim9: can still use the deprecated #{} dict syntax.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013105Solution: Remove support for #{} in Vim9 script. (closes #7406, closes #7405)
13106Files: src/dict.c, src/proto/dict.pro, src/eval.c, src/vim9compile.c,
13107 src/testdir/test_vim9_assign.vim,
13108 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
13109 src/testdir/test_vim9_disassemble.vim,
13110 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
13111 src/testdir/test_vim9_script.vim, src/testdir/test_popupwin.vim,
13112 src/testdir/test_textprop.vim
13113
13114Patch 8.2.2083
13115Problem: Vim9: crash when using ":silent!" and getting member fails.
13116Solution: Jump to on_fatal_error. (closes #7412)
13117Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
13118
13119Patch 8.2.2084
13120Problem: CTRL-V U doesn't work to enter a Unicode character when
13121 modifyOtherKeys is effective. (Ken Takata)
13122Solution: Add a flag to get_literal() for the shift key. (closes #7413)
13123Files: src/edit.c, src/proto/edit.pro, src/ex_getln.c, src/getchar.c,
13124 src/normal.c, src/testdir/test_termcodes.vim
13125
13126Patch 8.2.2085
13127Problem: Qt translation file is recognized as typescript.
13128Solution: Check the first line for "<?xml". (closes #7418)
13129Files: runtime/filetype.vim, src/testdir/test_filetype.vim
13130
13131Patch 8.2.2086
13132Problem: Libvterm tests are only run on Linux.
13133Solution: Use static libraries. (Ozaki Kiichi, closes #7419)
13134Files: .travis.yml, src/Makefile, src/libvterm/Makefile,
13135 src/libvterm/t/run-test.pl
13136
13137Patch 8.2.2087
13138Problem: Vim9: memory leak when statement is truncated.
13139Solution: Increment the number of local variables.
13140Files: src/vim9compile.c
13141
13142Patch 8.2.2088
13143Problem: Vim9: script test sometimes fails.
13144Solution: Unlet variables.
13145Files: src/testdir/test_vim9_script.vim
13146
13147Patch 8.2.2089
13148Problem: Libvterm test fails to build on Mac.
13149Solution: Adjust configure to remove a space between -L and the path that
13150 follows.
13151Files: src/configure.ac, src/auto/configure
13152
13153Patch 8.2.2090
13154Problem: Vim9: dict does not accept a key in quotes.
13155Solution: Recognize a key in single or double quotes.
13156Files: runtime/doc/vim9.txt, src/dict.c, src/proto/dict.pro,
13157 src/vim9compile.c, src/testdir/test_vim9_expr.vim
13158
13159Patch 8.2.2091
13160Problem: MS-Windows: build warnings.
13161Solution: Add a #pragma to suppress the deprecation warning. (Ken Takata)
13162 Avoid using a non-ASCII character. (closes #7421)
13163Files: src/message.c, src/os_win32.c
13164
13165Patch 8.2.2092
13166Problem: Vim9: unpredictable errors for script tests.
13167Solution: Use a different script file name for each run.
13168Files: src/testdir/vim9.vim, src/testdir/test_vim9_script.vim,
13169 src/testdir/test_vim9_func.vim, src/testdir/test_quickfix.vim,
13170 src/testdir/test_vim9_assign.vim
13171
13172Patch 8.2.2093
13173Problem: Vim9: script test sometimes fails.
13174Solution: Do not find a script variable by its typval if the name was
13175 cleared.
13176Files: src/vim9script.c
13177
13178Patch 8.2.2094
13179Problem: When an expression fails getting the next command may be wrong.
13180Solution: Do not check for a next command after :eval fails. (closes #7415)
13181Files: src/eval.c, src/testdir/test_vim9_cmd.vim
13182
13183Patch 8.2.2095
13184Problem: Vim9: crash when failed dict member is followed by concatenation.
13185Solution: Remove the dict from the stack. (closes #7416)
13186Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
13187
13188Patch 8.2.2096
13189Problem: Vim9: command modifiers not restored after assignment.
13190Solution: Jump to nextline instead of using continue.
13191Files: src/vim9compile.c, src/vim9execute.c,
13192 src/testdir/test_vim9_func.vim
13193
13194Patch 8.2.2097
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013195Problem: Vim9: using :silent! when calling a function prevents aborting
13196 that function.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013197Solution: Add emsg_silent_def and did_emsg_def.
13198Files: src/globals.h, src/message.c, src/vim9execute.c,
13199 src/testdir/test_vim9_func.vim
13200
13201Patch 8.2.2098
13202Problem: Vim9: function argument of sort() and map() not tested.
13203Solution: Add a couple of tests.
13204Files: src/testdir/test_vim9_builtin.vim
13205
13206Patch 8.2.2099
13207Problem: Vim9: some checks are not tested.
13208Solution: Add a few more tests. Give better error messages.
13209Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
13210 src/testdir/test_vim9_expr.vim
13211
13212Patch 8.2.2100
13213Problem: Insufficient testing for function range and dict.
13214Solution: Add a few tests. (Dominique Pellé, closes #7428)
13215Files: src/testdir/test_functions.vim, src/testdir/test_lambda.vim,
13216 src/testdir/test_signals.vim, src/testdir/test_user_func.vim
13217
13218Patch 8.2.2101
13219Problem: Vim9: memory leak when literal dict has an error and when an
13220 expression is not complete.
13221Solution: Clear the typval and the growarray.
13222Files: src/dict.c, src/vim9compile.c
13223
13224Patch 8.2.2102
13225Problem: Vim9: not all error messages tested.
13226Solution: Add a few test cases.
13227Files: src/testdir/test_vim9_func.vim
13228
13229Patch 8.2.2103
13230Problem: Vim9: unreachable code.
13231Solution: Remove the code to prepend s: to the variable name
13232Files: src/vim9compile.c
13233
13234Patch 8.2.2104
13235Problem: Build problem with Ruby 2.7.
13236Solution: Adjust function declarations. (Ozaki Kiichi, closes #7430)
13237Files: src/configure.ac, src/auto/configure, src/if_ruby.c
13238
13239Patch 8.2.2105
13240Problem: Sound test is a bit flaky.
13241Solution: Use WaitForAssert(). (Dominique Pellé, closes #7429)
13242Files: src/testdir/test_sound.vim
13243
13244Patch 8.2.2106
13245Problem: TOML files are not recognized.
13246Solution: Match *.toml. (issue #7432)
13247Files: runtime/filetype.vim, src/testdir/test_filetype.vim
13248
13249Patch 8.2.2107
13250Problem: Vim9: some errors not tested.
13251Solution: Add tests. Fix getting the right error.
13252Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
13253 src/testdir/test_vim9_expr.vim
13254
13255Patch 8.2.2108
13256Problem: Vim9: no test to check for :let error.
13257Solution: Add a test. Rename tests from _let_ to _var_.
13258Files: src/testdir/test_vim9_assign.vim
13259
13260Patch 8.2.2109
13261Problem: "vim -" does not work well when modifyOtherKeys is enabled and a
13262 shell command is executed on startup.
13263Solution: Only change modifyOtherKeys when executing a shell command in raw
13264 mode.
13265Files: src/os_unix.c
13266
13267Patch 8.2.2110
13268Problem: Cannot use ":shell" when reading from stdin. (Gary Johnson)
13269Solution: Revert patch 8.2.1833.
13270Files: src/main.c
13271
13272Patch 8.2.2111
13273Problem: GTK: Menu background is the same color as the main window.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013274Solution: Fix white space around the text in another way. (closes #7437,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013275 closes #7427)
13276Files: src/gui_gtk_x11.c
13277
13278Patch 8.2.2112
13279Problem: Running tests may leave some files behind.
13280Solution: Delete the right files. Fix a few typos. (Dominique Pellé,
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013281 closes #7436)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013282Files: src/testdir/test_filetype.vim, src/testdir/test_messages.vim,
13283 src/testdir/test_mksession.vim
13284
13285Patch 8.2.2113
13286Problem: MS-Windows GUI: crash after using ":set guifont=" four times.
13287Solution: Check for NULL pointer. (Ken Takata, closes #7434)
13288Files: src/gui_dwrite.cpp, src/testdir/test_gui.vim
13289
13290Patch 8.2.2114
13291Problem: Vim9: unreachable code in assignment.
13292Solution: Remove impossible condition and code.
13293Files: src/vim9compile.c
13294
13295Patch 8.2.2115
13296Problem: Vim9: some errors not tested for; dead code.
13297Solution: Add a test. Remove dead code.
13298Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
13299
13300Patch 8.2.2116
13301Problem: MS-Windows GUI: test for 'guifont' is incomplete.
13302Solution: Set 'renderoptions'. (Christian Brabandt)
13303Files: src/testdir/test_gui.vim
13304
13305Patch 8.2.2117
13306Problem: Some functions use any value as a string.
13307Solution: Check that the value is a non-empty string.
13308Files: src/typval.c, src/proto/typval.pro, src/mbyte.c, src/filepath.c,
13309 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim
13310
13311Patch 8.2.2118
13312Problem: Dead code in the job support. (Dominique Pellé)
13313Solution: Define USE_ARGV before checking for it.
13314Files: src/job.c
13315
13316Patch 8.2.2119
13317Problem: GTK3: status line background color is wrong.
13318Solution: Don't change the code for earlier GTK3 versions. (closes #7444)
13319Files: src/gui_gtk_x11.c
13320
13321Patch 8.2.2120
13322Problem: Not all Perl functionality is tested.
13323Solution: Add a few more test cases. (Dominique Pellé, closes #7440)
13324Files: src/testdir/test_perl.vim
13325
13326Patch 8.2.2121
13327Problem: Internal error when using \ze before \zs in a pattern.
13328Solution: Check the end is never before the start. (closes #7442)
13329Files: src/regexp_bt.c, src/regexp_nfa.c,
13330 src/testdir/test_regexp_latin.vim
13331
13332Patch 8.2.2122
13333Problem: Vim9: crash when sourcing vim9script early.
13334Solution: Use set_option_value() instead of setting p_cpo directly.
13335 (closes #7441)
13336Files: src/scriptfile.c, src/testdir/test_vim9_script.vim
13337
13338Patch 8.2.2123
13339Problem: After using a complete popup the buffer is listed. (Boris
13340 Staletic)
13341Solution: Make the buffer unlisted.
13342Files: src/popupmenu.c, src/testdir/test_popupwin.vim
13343
13344Patch 8.2.2124
13345Problem: Vim9: a range cannot be computed at runtime.
13346Solution: Add the ISN_RANGE instruction.
13347Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
13348 src/testdir/test_vim9_script.vim,
13349 src/testdir/test_vim9_disassemble.vim
13350
13351Patch 8.2.2125 (after 8.2.2122)
13352Problem: Vim9: leaking memory.
13353Solution: Free the saved 'cpo' value.
13354Files: src/scriptfile.c
13355
13356Patch 8.2.2126
13357Problem: Ruby: missing function prototype.
13358Solution: Add the prototype.
13359Files: src/if_ruby.c
13360
13361Patch 8.2.2127
13362Problem: Vim9: executing user command defined in Vim9 script not tested.
13363Solution: Add a test.
13364Files: src/testdir/test_vim9_script.vim
13365
13366Patch 8.2.2128
13367Problem: There is no way to do something on CTRL-Z.
13368Solution: Add VimSuspend and VimResume autocommand events. (closes #7450)
13369Files: runtime/doc/autocmd.txt, src/autocmd.c, src/ex_docmd.c,
13370 src/normal.c, src/testdir/test_suspend.vim, src/vim.h
13371
13372Patch 8.2.2129
13373Problem: MS-Windows: Checking if a file name is absolute is slow.
13374Solution: Do not use mch_FullName(). (closes #7033)
13375Files: src/os_mswin.c
13376
13377Patch 8.2.2130
13378Problem: Insert mode completion messages end up in message history.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013379Solution: Set msg_hist_off. (closes #7452)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013380Files: src/insexpand.c, src/testdir/test_ins_complete.vim
13381
13382Patch 8.2.2131
13383Problem: Vim9: crash when lambda uses same var as assignment.
13384Solution: Do not let lookup_local change lv_from_outer, make a copy.
13385 (closes #7461)
13386Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
13387 src/evalvars.c, src/proto/evalvars.pro,
13388 src/testdir/test_vim9_func.vim
13389
13390Patch 8.2.2132
13391Problem: Padding not drawn properly for popup window with title.
13392Solution: Draw the padding below the title. (closes #7460)
13393Files: src/popupwin.c, src/testdir/test_popupwin.vim,
13394 src/testdir/dumps/Test_popupwin_longtitle_3.dump,
13395 src/testdir/dumps/Test_popupwin_longtitle_4.dump
13396
13397Patch 8.2.2133
13398Problem: Vim9: checking for a non-empty string is too strict.
13399Solution: Check for any string. (closes #7447)
13400Files: src/typval.c, src/proto/typval.pro, src/errors.h, src/filepath.c,
13401 src/testdir/test_vim9_builtin.vim
13402
13403Patch 8.2.2134
13404Problem: Vim9: get E1099 when autocmd triggered in builtin function.
13405Solution: Check that did_emsg increased instead of checking that it changed.
13406 (closes #7448)
13407Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
13408
13409Patch 8.2.2135
13410Problem: Vim9: #{ still seen as start of dict in some places.
13411Solution: Remove check for { after #. (closes #7456)
13412Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
13413
13414Patch 8.2.2136
13415Problem: Vim9: Using uninitialized variable.
13416Solution: Initialize "len" to zero. Clean up fnamemodify().
13417Files: src/filepath.c
13418
13419Patch 8.2.2137
13420Problem: Vim9: :echo and :execute give error for empty argument.
13421Solution: Ignore an empty argument. (closes #7468)
13422Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_script.vim,
13423 src/testdir/test_vim9_disassemble.vim
13424
13425Patch 8.2.2138
13426Problem: Vim9: "exit_cb" causes Vim to exit.
13427Solution: Require white space after a command in Vim9 script. (closes #7467)
13428 Also fix that Vim9 style heredoc was not always recognized.
13429Files: src/ex_cmds.h, src/ex_docmd.c, src/errors.h, src/userfunc.c,
13430 src/testdir/test_vim9_assign.vim,
13431 src/testdir/test_vim9_script.vim, src/testdir/test_let.vim
13432
13433Patch 8.2.2139
13434Problem: Vim9: unreachable code in assignment.
13435Solution: Don't check "new_local" when "has_index" is set. Add test for
13436 wrong type of list index.
13437Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
13438
13439Patch 8.2.2140
13440Problem: Build failure with tiny features.
13441Solution: Add #ifdef.
13442Files: src/ex_docmd.c
13443
13444Patch 8.2.2141
13445Problem: A user command with try/catch may not catch an expression error.
13446Solution: When an expression fails check for following "|". (closes #7469)
13447Files: src/eval.c, src/testdir/test_trycatch.vim,
13448 src/testdir/test_vimscript.vim
13449
13450Patch 8.2.2142
13451Problem: Memory leak when heredoc is not terminated.
13452Solution: Free heredoc_trimmed.
13453Files: src/userfunc.c
13454
13455Patch 8.2.2143
13456Problem: Vim9: dead code in compiling :unlet.
13457Solution: Don't check for "!" a second time.
13458Files: src/vim9compile.c
13459
13460Patch 8.2.2144
13461Problem: Vim9: some corner cases not tested.
13462Solution: Add a few tests.
13463Files: src/testdir/test_vim9_script.vim, src/testdir/test_vim9_cmd.vim
13464
13465Patch 8.2.2145
13466Problem: Vim9: concatenating lists does not adjust type of result.
13467Solution: When list member types differ use "any" member type.
13468 (closes #7473)
13469Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
13470
13471Patch 8.2.2146
13472Problem: Vim9: automatic conversion of number to string for dict key.
13473Solution: Do not convert number to string. (closes #7474)
13474Files: src/dict.c, src/testdir/test_vim9_expr.vim
13475
13476Patch 8.2.2147
13477Problem: Quickfix window title not updated in all tab pages.
13478Solution: Update the quickfix window title in all tab pages. (Yegappan
13479 Lakshmanan, closes #7481, closes #7466)
13480Files: src/quickfix.c, src/testdir/test_quickfix.vim
13481
13482Patch 8.2.2148
13483Problem: Vim9: crash when user command doesn't match.
13484Solution: Adjust command index. (closes #7479)
13485Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
13486
13487Patch 8.2.2149
13488Problem: Popupwin test for latin1 sometimes fails.
13489Solution: Wait for the script to finish.
13490Files: src/testdir/test_popupwin.vim
13491
13492Patch 8.2.2150
13493Problem: Github actions CI isn't used for all available platforms.
13494Solution: Update the github workflows. (Ozaki Kiichi, closes #7433)
13495Files: .coveralls.yml, .github/workflows/ci-windows.yaml,
13496 .github/workflows/ci.yml, .travis.yml, README.md,
13497 ci/build-snd-dummy.sh, ci/setup-xvfb.sh
13498
13499Patch 8.2.2151
13500Problem: $dir not expanded when configure checks for moonjit.
13501Solution: Use double quotes instead of single quotes. (closes #7478)
13502Files: src/configure.ac, src/auto/configure
13503
13504Patch 8.2.2152
13505Problem: screenpos() does not include the WinBar offset.
13506Solution: Use W_WINROW() instead of directly using w_window. (closes #7487)
13507Files: src/move.c, src/testdir/test_cursor_func.vim
13508
13509Patch 8.2.2153
13510Problem: Popupwin test for latin1 still fails sometimes.
13511Solution: Wait for the "cat" command to finish.
13512Files: src/testdir/test_popupwin.vim
13513
13514Patch 8.2.2154
13515Problem: Popupwin test for terminal buffer fails sometimes.
13516Solution: Wait for the prompt to appear.
13517Files: src/testdir/test_popupwin.vim
13518
13519Patch 8.2.2155
13520Problem: Warning from Github actions for code analysis.
13521Solution: Remove the "git checkout HEAD^2" block.
13522Files: .github/workflows/codeql-analysis.yml
13523
13524Patch 8.2.2156
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013525Problem: Github actions run on pushing a tag.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013526Solution: Don't run CI on tag push. Omit coveralls on pull-request.
13527 (Ozaki Kiichi, closes #7489)
13528Files: .github/workflows/ci.yml, .github/workflows/codeql-analysis.yml
13529
13530Patch 8.2.2157
13531Problem: Vim9: can delete a Vim9 script variable from a function.
13532Solution: Check the variable is defined in Vim9 script. (closes #7483)
13533Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
13534
13535Patch 8.2.2158
13536Problem: CI on cirrus times out, coveralls doesn't always run.
13537Solution: Set timeout to 20 minutes. Adjust condition. (closes #7493)
13538Files: .cirrus.yml, .github/workflows/ci.yml
13539
13540Patch 8.2.2159
13541Problem: Vim9: when declaring a list it is not allocated yet, causing a
13542 following extend() to fail.
13543Solution: When fetching a variable value for a list or dict that is null
13544 allocate the list or dict, so it can be used. (closes #7491)
13545Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
13546
13547Patch 8.2.2160
13548Problem: Various typos.
13549Solution: Fix spelling mistakes. (closes #7494)
13550Files: src/bufwrite.c, src/cindent.c, src/cmdexpand.c, src/eval.c,
13551 src/ex_cmds.c, src/feature.h, src/getchar.c, src/gui_haiku.cc,
13552 src/gui_xmdlg.c, src/help.c, src/if_ole.cpp, src/insexpand.c,
13553 src/list.c, src/map.c, src/memline.c, src/normal.c,
13554 src/os_win32.c, src/search.c, src/term.c,
13555 src/testdir/test_arglist.vim, src/testdir/test_autocmd.vim,
13556 src/testdir/test_debugger.vim, src/testdir/test_increment.vim,
13557 src/testdir/test_menu.vim, src/testdir/test_netbeans.vim,
13558 src/testdir/test_popupwin.vim, src/testdir/test_python2.vim,
13559 src/testdir/test_python3.vim, src/testdir/test_sort.vim,
13560 src/testdir/test_terminal2.vim, src/testdir/test_terminal3.vim,
13561 src/testdir/test_vartabs.vim, src/testdir/test_vimscript.vim,
13562 src/textprop.c, src/userfunc.c, src/vim9.h, src/vim9compile.c,
13563 src/vim9execute.c
13564
13565Patch 8.2.2161
13566Problem: Arguments -T and -x not tested yet.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013567Solution: Add a test. (Dominique Pellé, closes #7490)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013568Files: src/testdir/test_startup.vim
13569
13570Patch 8.2.2162
13571Problem: Vim9: Cannot load or store autoload variables.
13572Solution: Add ISN_LOADAUTO and ISN_STOREAUTO. (closes #7485)
13573Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/dict.c,
13574 src/eval.c, src/evalvars.c, src/proto/evalvars.pro,
13575 src/testdir/test_vim9_disassemble.vim,
13576 src/testdir/test_vim9_script.vim
13577
13578Patch 8.2.2163
13579Problem: Crash when discarded exception is the current exception.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013580Solution: Compare the exception with current_exception. (closes #7499)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013581Files: src/ex_eval.c
13582
13583Patch 8.2.2164
13584Problem: Vim9: autoload function doesn't work in script that starts with
13585 an upper case letter.
13586Solution: Check for the autoload character. (closes #7502)
13587Files: src/userfunc.c, src/testdir/test_vim9_script.vim
13588
13589Patch 8.2.2165
13590Problem: Vim9: assignment to dict member does not work.
13591Solution: Fix recognizing dict member. (closes #7484)
13592Files: src/ex_docmd.c, src/eval.c, src/evalvars.c, src/vim.h
13593
13594Patch 8.2.2166
13595Problem: Auto format doesn't work when deleting text.
13596Solution: Make "x" trigger auto format. (closes #7504)
13597Files: src/ops.c, src/testdir/test_textformat.vim
13598
13599Patch 8.2.2167
13600Problem: Vim9: assign test fails. (Elimar Riesebieter)
13601Solution: Adjust the test for dict assignment.
13602Files: src/testdir/test_vim9_assign.vim
13603
13604Patch 8.2.2168
13605Problem: Vim9: error for assigning to dict of dict.
13606Solution: Remember the destination type. (closes #7506)
13607Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
13608
13609Patch 8.2.2169
13610Problem: Vim9: test leaves file behind.
13611Solution: Rename script files. (Dominique Pellé, closes #7511)
13612 Use try/finally.
13613Files: src/testdir/test_vim9_script.vim, src/testdir/vim9.vim
13614
13615Patch 8.2.2170
13616Problem: Vim9: a global function defined in a :def function fails if it
13617 uses the context.
13618Solution: Create a partial to store the closure context. (see #7410)
13619Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9execute.c,
13620 src/structs.h, src/testdir/test_vim9_func.vim
13621
13622Patch 8.2.2171
13623Problem: Valgrind warning for using uninitialized value.
13624Solution: Do not use "startp" or "endp" unless there is a match.
13625Files: src/regexp_nfa.c
13626
13627Patch 8.2.2172
13628Problem: Vim9: number of arguments is not always checked. (Yegappan
13629 Lakshmanan)
13630Solution: Check number of arguments when calling function by name.
13631Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9execute.c,
13632 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
13633
13634Patch 8.2.2173
13635Problem: Vim9: get internal error when assigning to undefined variable.
13636Solution: Add error message. (closes #7475)
13637Files: src/vim9compile.c, src/vim9execute.c, src/errors.h,
13638 src/testdir/test_vim9_cmd.vim
13639
13640Patch 8.2.2174
13641Problem: Mac version doesn't specify the CPU architecture.
13642Solution: Add "arm64" or "x86_64". (Yee Cheng Chin, closes #7519)
13643Files: src/version.c
13644
13645Patch 8.2.2175
13646Problem: Github actions: clang-11 handling suboptimal.
13647Solution: Separate step of installing clang-11. Get ubuntu release name
13648 dynamically. (Ozaki Kiichi, closes #7514)
13649Files: .github/workflows/ci.yml
13650
13651Patch 8.2.2176
13652Problem: Crash with a sequence of fold commands.
13653Solution: Bail out when there are no folds at all. Add a test (Dominique
13654 Pellé) (closes #7515)
13655Files: src/fold.c, src/testdir/test_fold.vim
13656
13657Patch 8.2.2177
13658Problem: Pattern "^" does not match if the first character in the line is
13659 combining. (Rene Kita)
13660Solution: Do accept a match at the start of the line. (closes #6963)
13661Files: src/regexp_nfa.c, src/testdir/test_regexp_utf8.vim
13662
13663Patch 8.2.2178
13664Problem: Python 3: non-utf8 character cannot be handled.
13665Solution: Change the string decode. (Björn Linse, closes #1053)
13666Files: src/if_py_both.h, src/if_python.c, src/if_python3.c,
13667 src/testdir/test_python3.vim, src/testdir/test_python2.vim
13668
13669Patch 8.2.2179
13670Problem: Vim9: crash when indexing a dict with a number.
13671Solution: Add ISN_STOREINDEX. (closes #7513)
13672Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
13673 src/errors.h, src/testdir/test_vim9_assign.vim,
13674 src/testdir/test_vim9_disassemble.vim
13675
13676Patch 8.2.2180
13677Problem: Vim9: test for error after error is flaky.
13678Solution: Wait for job to finish instead of a fixed delay.
13679Files: src/testdir/test_vim9_script.vim
13680
13681Patch 8.2.2181
13682Problem: Valgrind warnings for using uninitialized value.
13683Solution: Do not use "start" or "end" unless there is a match.
13684Files: src/regexp_nfa.c, src/regexp_bt.c
13685
13686Patch 8.2.2182
13687Problem: Vim9: value of 'magic' is still relevant.
13688Solution: Always behave like 'magic' is on in Vim9 script (closes #7509)
13689Files: src/option.c, src/proto/option.pro, src/arglist.c, src/buffer.c,
13690 src/cmdexpand.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c,
13691 src/insexpand.c, src/normal.c, src/search.c, src/tag.c,
13692 src/structs.h, src/globals.h, src/ex_cmds.h,
13693 src/testdir/test_vim9_cmd.vim
13694
13695Patch 8.2.2183
13696Problem: Vim9: value of 'edcompatible' and 'gdefault' are used.
13697Solution: Ignore these deprecated options in Vim9 script. (closes #7508)
13698Files: src/ex_cmds.c, src/testdir/test_vim9_cmd.vim
13699
13700Patch 8.2.2184
13701Problem: Vim9: no error when using "2" for a line number.
13702Solution: Give an error message if the line number is invalid. (closes #7492)
13703Files: src/typval.c, src/evalfunc.c, src/testdir/test_vim9_builtin.vim,
13704 src/testdir/test_cursor_func.vim
13705
13706Patch 8.2.2185
13707Problem: BufUnload is not triggered for the quickfix dummy buffer.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013708Solution: Do trigger BufUnload. (Pontus Leitzler, closes #7518, closes #7517)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013709 Fix white space around "=".
13710Files: src/quickfix.c, src/testdir/test_autocmd.vim
13711
13712Patch 8.2.2186
13713Problem: Vim9: error when using 'opfunc'.
13714Solution: Do not expect a return value from 'opfunc'. (closes #7510)
13715Files: src/eval.c, src/proto/eval.pro, src/ops.c,
13716 src/testdir/test_vim9_func.vim
13717
13718Patch 8.2.2187
13719Problem: Python 3 test fails sometimes. (Christian Brabandt)
13720Solution: Accept two SystemError messages.
13721Files: src/testdir/test_python3.vim
13722
13723Patch 8.2.2188
13724Problem: Vim9: crash when calling global function from :def function.
13725Solution: Set the outer context. Define the partial for the context on the
13726 original function. Use a refcount to keep track of which ufunc is
13727 using a dfunc. (closes #7525)
13728Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9execute.c,
13729 src/proto/vim9execute.pro, src/userfunc.c, src/proto/userfunc.pro,
13730 src/structs.h, src/vim9.h, src/testdir/test_vim9_func.vim
13731
13732Patch 8.2.2189
13733Problem: Cannot repeat a command that uses the small delete register.
13734Solution: Store the register name instead of the contents. (Christian
13735 Brabandt, closes #7527)
13736Files: src/ops.c, src/register.c, src/testdir/test_registers.vim
13737
13738Patch 8.2.2190
13739Problem: Vim9: crash when compiled with EXITFREE.
13740Solution: Check that df_ufunc is not NULL.
13741Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
13742
13743Patch 8.2.2191
13744Problem: Vim9: using wrong name with lambda in nested function.
13745Solution: Copy the lambda name earlier. (closes #7525)
13746Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
13747
13748Patch 8.2.2192
13749Problem: Codecov on github actions fails.
13750Solution: Revert to codecov script. (Ozaki Kiichi, closes #7529)
13751Files: Filelist, .github/workflows/ci.yml
13752
13753Patch 8.2.2193
13754Problem: Vim9: can change constant in :def function.
13755Solution: Check if a variable is locked. (issue #7526)
13756Files: src/evalvars.c, src/proto/evalvars.pro, src/vim9execute.c,
13757 src/testdir/test_vim9_func.vim
13758
13759Patch 8.2.2194
13760Problem: Vim9: cannot use :const or :final at the script level.
13761Solution: Support using :const and :final. (closes #7526)
13762Files: src/vim.h, src/evalvars.c, src/testdir/test_vim9_assign.vim,
13763 src/testdir/test_vim9_func.vim
13764
13765Patch 8.2.2195
13766Problem: Failing tests for :const.
13767Solution: Add missing check for ASSIGN_FINAL.
13768Files: src/eval.c, src/evalvars.c, src/testdir/test_vim9_func.vim
13769
13770Patch 8.2.2196
13771Problem: :version output has extra spaces in compile and link command.
13772Solution: Adjust QUOTESED. (closes #7505)
13773Files: src/configure.ac, src/auto/configure
13774
13775Patch 8.2.2197
13776Problem: Assert arguments order reversed.
13777Solution: Swap the arguments. (Christian Brabandt, closes #7531)
13778Files: src/testdir/test_registers.vim
13779
13780Patch 8.2.2198
13781Problem: ml_get error when resizing window and using text property.
13782Solution: Validate botline of the right window. (closes #7528)
13783Files: src/move.c, src/proto/move.pro, src/textprop.c,
13784 src/testdir/test_textprop.vim
13785
13786Patch 8.2.2199
13787Problem: First write after setting 'eol' does not have NL added. (Tomáš
13788 Janoušek)
13789Solution: Only use b_no_eol_lnum when doing a binary write. (closes #7535)
13790Files: src/bufwrite.c, src/testdir/test_writefile.vim
13791
13792Patch 8.2.2200
13793Problem: Vim9: lambda without white space around -> is confusing.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013794Solution: Require white space in a :def function. (issue #7503)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013795Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
13796 src/testdir/test_vim9_disassemble.vim
13797
13798Patch 8.2.2201
13799Problem: Write file test fails on MS-Windows.
13800Solution: Force edit after setting 'fileformat'.
13801Files: src/testdir/test_writefile.vim
13802
13803Patch 8.2.2202
13804Problem: Write file test still fails on MS-Windows.
13805Solution: Set fileformat with the :edit command
13806Files: src/testdir/test_writefile.vim
13807
13808Patch 8.2.2203
13809Problem: Moodle gift files are not recognized.
13810Solution: Add a filetype pattern. (Delim Temizer)
13811Files: runtime/filetype.vim, src/testdir/test_filetype.vim
13812
13813Patch 8.2.2204
13814Problem: Vim9: using -> both for method and lambda is confusing.
13815Solution: Use => for lambda in :def function.
13816Files: runtime/doc/vim9.txt, src/vim9compile.c, src/userfunc.c,
13817 src/testdir/test_vim9_expr.vim
13818
13819Patch 8.2.2205
13820Problem: Vim9: memory leak when parsing lambda fails.
13821Solution: Clear growarrays.
13822Files: src/userfunc.c
13823
13824Patch 8.2.2206
13825Problem: :exe command line completion only works for first argument.
13826Solution: Skip over text if more is following. (closes #7546)
13827Files: src/eval.c, src/testdir/test_cmdline.vim
13828
13829Patch 8.2.2207
13830Problem: Illegal memory access if popup menu items are changed while the
13831 menu is visible. (Tomáš Janoušek)
13832Solution: Make a copy of the text. (closes #7537)
13833Files: src/popupmenu.c, src/testdir/test_popup.vim,
13834 src/testdir/dumps/Test_popup_command_04.dump,
13835 src/testdir/dumps/Test_popup_command_05.dump
13836
13837Patch 8.2.2208
13838Problem: Vim9: after reloading a script variable index may be invalid.
13839Solution: When the sequence number doesn't match give an error for using a
13840 script-local variable from a compiled function. (closes #7547)
13841Files: src/vim9.h, src/structs.h, src/errors.h, src/vim9compile.c,
13842 src/vim9execute.c, src/scriptfile.c,
13843 src/testdir/test_vim9_script.vim
13844
13845Patch 8.2.2209
13846Problem: Vim9: return type of => lambda not parsed.
13847Solution: Parse and use the return type.
13848Files: src/vim9compile.c, src/userfunc.c, src/vim9type.c,
Bram Moolenaar47c532e2022-03-19 15:18:53 +000013849 src/proto/vim9type.pro, src/vim9script.c, src/eval.c,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013850 src/testdir/test_vim9_expr.vim
13851
13852Patch 8.2.2210
13853Problem: Vim9: allocating a type to set TTFLAG_BOOL_OK.
13854Solution: Add t_number_bool.
13855Files: src/globals.h, src/vim9type.c, src/vim9compile.c
13856
13857Patch 8.2.2211
13858Problem: MS-Windows: can't load Python dll if not in the path.
13859Solution: Use the InstallPath registry entry. (Kelvin Lee, closes #7540)
13860Files: src/if_python3.c
13861
13862Patch 8.2.2212
13863Problem: Vim9: lambda with => does not work at the script level.
13864Solution: Make it work.
13865Files: src/eval.c, src/vim9type.c, src/userfunc.c,
13866 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_expr.vim
13867
13868Patch 8.2.2213
13869Problem: Checking white space around -> is not backwards compatible.
13870Solution: Only check white space around =>.
13871Files: src/userfunc.c
13872
13873Patch 8.2.2214
13874Problem: ":e#" does not give a warning for missing white space.
13875Solution: Adjust the check for white space. (closes #7545)
13876Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
13877
13878Patch 8.2.2215
13879Problem: Vim9: `=expr` not recognized in global command.
13880Solution: Skip over pattern. (issue #7541)
13881Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
13882
13883Patch 8.2.2216
13884Problem: Vim9: range with missing colon can be hard to spot.
13885Solution: Include the start of the range in the error. (closes #7543)
13886Files: src/errors.h, src/ex_docmd.c, src/vim9compile.c,
13887 src/testdir/test_vim9_cmd.vim
13888
13889Patch 8.2.2217
13890Problem: Vim9: command modifiers not restored in catch block.
13891Solution: Restore command modifiers. (closes #7542)
13892Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
13893
13894Patch 8.2.2218
13895Problem: Vim9: failure if passing more arguments to a lambda than expected.
13896Solution: Only put expected arguments on the stack. (closes #7548)
13897Files: src/vim9execute.c, src/testdir/test_vim9_builtin.vim
13898
13899Patch 8.2.2219
13900Problem: Vim9: method call with expression not supported.
13901Solution: Implement expr->(expr)().
13902Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
13903
13904Patch 8.2.2220
13905Problem: Vim9: memory leak when parsing nested parenthesis.
13906Solution: Clear newargs.
13907Files: src/userfunc.c
13908
13909Patch 8.2.2221
13910Problem: If <Down> is mapped on the command line 'wildchar' is inserted.
13911Solution: Set KeyTyped when using 'wildchar'. (closes #7552)
13912Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
13913
13914Patch 8.2.2222
13915Problem: Vim9: cannot keep script variables when reloading.
13916Solution: Add the "noclear" argument to :vim9script.
13917Files: runtime/doc/vim9.txt, src/structs.h, src/scriptfile.c,
13918 src/vim9script.c, src/ex_cmds.h, src/ex_docmd.c,
13919 src/testdir/test_vim9_script.vim
13920
13921Patch 8.2.2223
13922Problem: Vim9: Reloading marks a :def function as deleted.
13923Solution: Clear the function contents but keep the index.
13924Files: runtime/doc/vim9.txt, src/vim9compile.c, src/userfunc.c,
13925 src/testdir/test_vim9_script.vim
13926
13927Patch 8.2.2224
13928Problem: Vim9: crash if script reloaded with different variable type.
13929Solution: Check the type when accessing the variable.
13930Files: src/vim9execute.c, src/vim9compile.c, src/vim9.h, src/vim9type.c,
13931 src/proto/vim9type.pro, src/errors.h, src/evalvars.c,
13932 src/vim9script.c, src/proto/vim9script.pro,
13933 src/testdir/test_vim9_script.vim
13934
13935Patch 8.2.2225
13936Problem: Vim9: error when using :import in legacy script twice.
13937Solution: Make it possible to redefine an import when reloading.
13938Files: src/vim9script.c, src/proto/vim9script.pro, src/structs.h,
13939 src/evalvars.c, src/vim9compile.c,
13940 src/testdir/test_vim9_script.vim
13941
13942Patch 8.2.2226
13943Problem: Vim9: script test fails.
13944Solution: Add missing change.
13945Files: src/scriptfile.c
13946
13947Patch 8.2.2227
13948Problem: Vim9: recognizing lambda is too complicated.
13949Solution: Call compile_lambda() and check for NOTDONE.
13950Files: src/vim9compile.c, src/userfunc.c, src/testdir/test_vim9_expr.vim
13951
13952Patch 8.2.2228
13953Problem: Vim9: cannot use ":e #" because # starts a comment.
13954Solution: Support using %% instead of #.
13955Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
13956
13957Patch 8.2.2229
13958Problem: build failure without the +eval feature.
13959Solution: Add #ifdef.
13960Files: src/ex_docmd.c
13961
13962Patch 8.2.2230
13963Problem: Vim9: insert completion runs into error.
13964Solution: Insert colon before range. (closes #7556)
13965Files: src/insexpand.c, src/testdir/test_vim9_cmd.vim
13966
13967Patch 8.2.2231
13968Problem: When "--remote file" is used "file" is not reloaded.
13969Solution: When a :drop command is used for a file that is already displayed
13970 in a window and it has not been changed, check if it needs to be
13971 reloaded. (closes #7560)
13972Files: src/ex_cmds.c, src/testdir/test_clientserver.vim
13973
13974Patch 8.2.2232
13975Problem: Compiler error for falling through into next case.
13976Solution: Move FALLTHROUGH below the #endif
13977Files: src/ex_docmd.c
13978
13979Patch 8.2.2233
13980Problem: Cannot convert a byte index into a character index.
13981Solution: Add charidx(). (Yegappan Lakshmanan, closes #7561)
13982Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
13983 src/testdir/test_functions.vim
13984
13985Patch 8.2.2234
13986Problem: Command line wildmenu test often fails with Unix GUI.
13987Solution: Skip the test where it is expected to fail.
13988Files: src/testdir/test_cmdline.vim
13989
13990Patch 8.2.2235
13991Problem: Build failure with some Ruby versions.
13992Solution: Adjust the code for Ruby 3.0. (Ozaki Kiichi, closes #7564)
13993Files: ci/config.mk.clang.sed, src/if_ruby.c
13994
13995Patch 8.2.2236
13996Problem: 'scroll' option can change when setting the statusline or tabline
13997 but the option context is not updated.
13998Solution: Update the script context when the scroll option is changed as a
13999 side effect. (Christian Brabandt, closes #7533)
14000Files: runtime/doc/options.txt, src/scriptfile.c,
14001 src/testdir/test_options.vim, src/vim.h, src/window.c
14002
14003Patch 8.2.2237
14004Problem: CI on Mac fails in sed command.
14005Solution: Set LC_ALL to "C". (Ozaki Kiichi, closes #7565)
14006Files: .github/workflows/ci.yml
14007
14008Patch 8.2.2238
14009Problem: Vim9: cannot load a Vim9 script without the +eval feature.
14010Solution: Support Vim9 script syntax without the +eval feature.
14011Files: src/ex_docmd.c, src/vim9script.c, src/globals.h, src/main.c,
14012 src/autocmd.c, src/buffer.c, src/structs.h, src/menu.c,
14013 src/scriptfile.c, src/usercmd.c, src/proto.h, src/errors.h
14014
14015Patch 8.2.2239
14016Problem: Vim9: concatenating lines with backslash is inconvenient.
14017Solution: Support concatenating lines starting with '|', useful for
14018 :autocmd, :command, etc. (closes #6702)
14019Files: runtime/doc/vim9.txt, src/scriptfile.c, src/vim9script.c,
14020 src/proto/vim9script.pro, src/vim9compile.c,
14021 src/proto/vim9compile.pro, src/userfunc.c, src/structs.h,
14022 src/testdir/test_vim9_cmd.vim
14023
14024Patch 8.2.2240
14025Problem: Clientserver test fails if full path is used.
14026Solution: Ignore the path preceding the file name.
14027Files: src/testdir/test_clientserver.vim
14028
14029Patch 8.2.2241
14030Problem: Build with Ruby and clang may fail.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014031Solution: Adjust configure and sed script. (Ozaki Kiichi, closes #7566)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014032Files: ci/config.mk.clang.sed, src/auto/configure, src/configure.ac
14033
14034Patch 8.2.2242
14035Problem: Vim9: line continuation with bar does not work at script level.
14036Solution: Check for Vim9 script.
14037Files: src/structs.h, src/ex_docmd.c, src/userfunc.c, src/scriptfile.c,
14038 src/testdir/test_vim9_cmd.vim
14039
14040Patch 8.2.2243
14041Problem: Crash when popup mask contains zeroes.
14042Solution: Check boundaries properly. (closes #7569)
14043Files: src/popupwin.c, src/testdir/test_popupwin.vim
14044
14045Patch 8.2.2244
14046Problem: Crash when making the window width of the not-current window
14047 negative.
14048Solution: Make sure the window width is not negative. (closes #7568)
14049Files: src/window.c, src/testdir/test_window_cmd.vim
14050
14051Patch 8.2.2245
14052Problem: Vim9: return value of winrestcmd() cannot be executed.
14053Solution: Put colons before each range. (closes #7571)
14054Files: src/evalwindow.c, src/testdir/test_vim9_builtin.vim
14055
14056Patch 8.2.2246
14057Problem: Cursor keys not recognized at the hit-Enter prompt after executing
14058 an external command.
14059Solution: Change the codes for the extra cursor keys. (closes #7562)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014060 Tune the delays to avoid test flakiness.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014061Files: runtime/doc/term.txt, src/term.c, src/testdir/test_terminal3.vim
14062
14063Patch 8.2.2247
14064Problem: VMS: various smaller problems.
14065Solution: Fix VMS building and other problems. (Zoltan Arpadffy)
14066Files: src/term.c, src/gui_gtk_vms.h, src/os_vms_conf.h, src/gui_x11.c,
14067 src/Make_vms.mms, src/macros.h, src/gui.h, src/os_unix.h
14068
14069Patch 8.2.2248
14070Problem: ASAN error on exit with GUI.
14071Solution: Check the window still has lines. (Christian Brabandt,
14072 closes #7573)
14073Files: src/term.c
14074
14075Patch 8.2.2249
Bram Moolenaar47c532e2022-03-19 15:18:53 +000014076Problem: Termcodes test is flaky when used over ssh with X forwarding.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014077Solution: Set 'mousetime' to a larger value. (Dominique Pellé, closes #7576,
14078 closes #7563)
14079Files: src/testdir/test_termcodes.vim
14080
14081Patch 8.2.2250
14082Problem: Vim9: sublist is ambiguous.
14083Solution: Require white space around the colon. (closes #7409)
14084Files: src/vim9compile.c, src/eval.c, src/testdir/test_vim9_expr.vim,
14085 src/testdir/test_vim9_disassemble.vim
14086
14087Patch 8.2.2251
14088Problem: Test failures in legacy script.
14089Solution: Check for Vim9 script.
14090Files: src/eval.c
14091
14092Patch 8.2.2252
14093Problem: Vim9: crash when using lambda without return type in dict.
14094Solution: Without a return type use t_unknown. (closes #7587)
14095Files: src/vim9type.c, src/vim9compile.c, src/testdir/test_vim9_expr.vim
14096
14097Patch 8.2.2253
14098Problem: Vim9: expr test fails.
14099Solution: Add missing assignment.
14100Files: src/userfunc.c
14101
14102Patch 8.2.2254
14103Problem: Vim9: bool option type is number.
14104Solution: Have get_option_value() return a different value for bool and
14105 number options. (closes #7583)
14106Files: src/option.h, src/option.c, src/proto/option.pro, src/evalvars.c,
14107 src/if_mzsch.c, src/if_ruby.c, src/spell.c, src/typval.c,
14108 src/vim9compile.c, src/testdir/test_vim9_assign.vim,
14109 src/testdir/test_vim9_cmd.vim
14110
14111Patch 8.2.2255 (after 8.2.2254)
14112Problem: Tcl test fails.
14113Solution: Change option handling.
14114Files: src/if_tcl.c
14115
14116Patch 8.2.2256
14117Problem: Vim9: cannot use function( after line break in :def function.
14118Solution: Check for "(" after "function". (closes #7581)
14119Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14120
14121Patch 8.2.2257
14122Problem: Vim9: using -> for lambda is ambiguous.
14123Solution: Stop supporting ->, must use =>.
14124Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_assign.vim,
14125 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
14126 src/testdir/test_vim9_disassemble.vim,
14127 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
14128 src/testdir/test_vim9_script.vim
14129
14130Patch 8.2.2258
14131Problem: Not all OCaml related files are detected.
14132Solution: Update OCaml file type detection. (Markus Mottl, closes #7590)
14133Files: runtime/filetype.vim, src/testdir/test_filetype.vim
14134
14135Patch 8.2.2259
14136Problem: Test_Executable() fails when using chroot.
14137Solution: Ignore the difference between "sbin" and "bin".
14138Files: src/testdir/test_functions.vim
14139
14140Patch 8.2.2260
14141Problem: Window resize test fails in very wide terminal.
14142Solution: Resize using the 'columns' option. (Vladimir Lomov, closes #7592)
14143Files: src/testdir/test_window_cmd.vim
14144
14145Patch 8.2.2261
14146Problem: Vim9: boolean option gets string type.
14147Solution: Check for VAR_BOOL. (closes #7588)
14148Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14149
14150Patch 8.2.2262
14151Problem: Vim9: converting bool to string prefixes v:.
14152Solution: Do not use the v: prefix.
14153Files: src/evalvars.c, src/testdir/test_vim9_expr.vim,
14154 src/testdir/test_vim9_disassemble.vim
14155
14156Patch 8.2.2263
14157Problem: Vim9: compilation error with try-catch in skipped block.
14158Solution: Do not bail out when generate_instr() returns NULL. (closes #7584)
14159Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
14160
14161Patch 8.2.2264
14162Problem: Vim9: no error for mismatched :endfunc or :enddef.
14163Solution: Check for the mismatch. (issue #7582)
14164Files: src/errors.h, src/userfunc.c, src/testdir/test_vim9_func.vim
14165
14166Patch 8.2.2265
14167Problem: Error message for missing endfunc/enddef is last line.
14168Solution: Report the line where the function starts. (closes #7582)
14169Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14170
14171Patch 8.2.2266
14172Problem: Vim9: it can be hard to see where white space is missing.
14173Solution: Mention the text where the error was seen. (closes #7580)
14174Files: src/errors.h, src/eval.c, src/evalvars.c, src/userfunc.c,
14175 src/vim9compile.c, src/testdir/test_vim9_expr.vim
14176
14177Patch 8.2.2267
14178Problem: Vim9: cannot use unlet for a dict member.
14179Solution: Pass GLV_NO_DECL to get_lval(). (closes #7585)
14180Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
14181
14182Patch 8.2.2268
14183Problem: Vim9: list unpack seen as declaration.
14184Solution: Check for "var". (closes #7594)
14185Files: src/vim9compile.c, src/evalvars.c, src/eval.c, src/vim.h,
14186 src/vim9execute.c, src/testdir/test_vim9_assign.vim
14187
14188Patch 8.2.2269
14189Problem: Not all :hardcopy code covered by tests.
14190Solution: Test more combinations. (Dominique Pellé, closes #7595)
14191Files: src/testdir/test_hardcopy.vim
14192
14193Patch 8.2.2270
14194Problem: Warning for size_t to int conversion. (Randall W. Morris)
14195Solution: Add a type cast.
14196Files: src/vim9execute.c
14197
14198Patch 8.2.2271
14199Problem: ml_get error when changing hidden buffer in Python.
14200Solution: Block updating folds. (closes #7598)
14201Files: src/evalbuffer.c, src/testdir/test_python3.vim
14202
14203Patch 8.2.2272
14204Problem: Vim9: extend() can violate the type of a variable.
14205Solution: Add the type to the dictionary or list and check items against it.
14206 (closes #7593)
14207Files: src/structs.h, src/evalvars.c, src/dict.c, src/list.c,
14208 src/vim9script.c, src/proto/vim9script.pro, src/vim9compile.c,
14209 src/vim9execute.c, src/testdir/test_vim9_builtin.vim,
14210 src/testdir/test_vim9_disassemble.vim
14211
14212Patch 8.2.2273
14213Problem: Build failure.
14214Solution: Add missing changes to header file.
14215Files: src/vim9.h
14216
14217Patch 8.2.2274
14218Problem: badge for Travis is outdated.
14219Solution: Update badge for move from travis-ci.org to travis-ci.com.
14220Files: README.md
14221
14222Patch 8.2.2275
14223Problem: CTRL-C not recognized in Mintty.
14224Solution: Recognize the modifyOtherKeys code ending in "u". (Christian
14225 Brabandt, closes #7575)
14226Files: src/ui.c
14227
14228Patch 8.2.2276
14229Problem: List of distributed files is outdated.
14230Solution: Update the file list. Minor comment updates.
14231Files: Filelist, src/clipboard.c, src/fileio.c, src/option.c,
14232 src/screen.c, src/testdir/test_signals.vim,
14233 src/testdir/Make_vms.mms
14234
14235Patch 8.2.2277
14236Problem: Missing backslash.
14237Solution: Add backslash.
14238Files: Filelist
14239
14240Patch 8.2.2278
14241Problem: Falling back to old regexp engine can some patterns.
14242Solution: Do not fall back once [[:lower:]] or [[:upper:]] is used.
14243 (Christian Brabandt, closes #7572)
14244Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test_regexp_utf8.vim
14245
14246Patch 8.2.2279
14247Problem: Vim9: memory leak with catch in skipped block.
14248Solution: Free the pattern if not used.
14249Files: src/vim9compile.c
14250
14251Patch 8.2.2280
14252Problem: Fuzzy matching doesn't give access to the scores.
14253Solution: Return the scores with a third list. (Yegappan Lakshmanan,
14254 closes #7596)
14255Files: runtime/doc/eval.txt, src/search.c,
14256 src/testdir/test_matchfuzzy.vim
14257
14258Patch 8.2.2281
14259Problem: Vim9: compiled "wincmd" cannot be followed by bar.
14260Solution: Check for bar after "wincmd". (closes #7599)
14261Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
14262
14263Patch 8.2.2282
14264Problem: Length check mismatch with argument of strncmp(). (Christian
14265 Brabandt)
14266Solution: Adjust length check.
14267Files: src/ui.c
14268
14269Patch 8.2.2283
14270Problem: Vim9: crash when lambda has fewer arguments than expected.
14271Solution: Don't check arguments when already failed. (closes #7606)
14272Files: src/vim9type.c, src/testdir/test_vim9_func.vim
14273
14274Patch 8.2.2284
14275Problem: Vim9: cannot set an option to a boolean value.
14276Solution: Check for VAR_BOOL. (closes #7603)
14277Files: src/evalvars.c, src/testdir/test_vim9_builtin.vim
14278
14279Patch 8.2.2285
14280Problem: Vim9: cannot set an option to a false.
14281Solution: For VAR_BOOL use string "0". (closes #7603)
14282Files: src/evalvars.c, src/testdir/test_vim9_builtin.vim
14283
14284Patch 8.2.2286
14285Problem: Sort test fails when locale is Canadian English. (Neil H Watson)
14286Solution: Expect a different sort order. (closes #7609)
14287Files: src/testdir/test_sort.vim
14288
14289Patch 8.2.2287
14290Problem: Sort test fails when locale is French Canadian.
14291Solution: Expect a different sort order. (Dominique Pellé, closes #7609)
14292Files: src/testdir/test_sort.vim
14293
14294Patch 8.2.2288
14295Problem: Vim9: line break and comment not always skipped.
14296Solution: Skip over white space and then line break more consistently.
14297 (closes #7610)
14298Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14299
14300Patch 8.2.2289
14301Problem: Vim9: 'cpo' can become empty.
14302Solution: Use empty_option instead of an empty string. Update quickfix
14303 buffer after restoring 'cpo'. (closes #7608)
14304Files: src/evalfunc.c, src/syntax.c, src/eval.c, src/quickfix.c,
14305 src/evalbuffer.c, src/ex_eval.c, src/gui_motif.c, src/map.c,
14306 src/testdir/test_quickfix.vim
14307
14308Patch 8.2.2290
14309Problem: Vim9: unlet of global variable cannot be compiled.
14310Solution: Skip over variables that might be defined later. Give an error if
14311 a subscript is found. (closes #7585)
14312Files: src/eval.c, src/vim9compile.c, src/vim.h,
14313 src/testdir/test_vim9_assign.vim
14314
14315Patch 8.2.2291
14316Problem: Vim9: cannot use "null" for v:null.
14317Solution: Support "null" like "true" and "false". (closes #7495)
14318Files: runtime/doc/vim9.txt, src/vim9compile.c, src/evalvars.c,
14319 src/testdir/test_vim9_expr.vim
14320
14321Patch 8.2.2292
14322Problem: Vim: expr test fails.
14323Solution: Add missing part of "null" support.
14324Files: src/eval.c
14325
14326Patch 8.2.2293
14327Problem: Build failure with Motif. (Tony Mechelynck)
14328Solution: Use empty_option instead of empty_options.
14329Files: src/gui_motif.c
14330
14331Patch 8.2.2294
14332Problem: VMS: a few remaining problems.
14333Solution: Add VMS specific changes. Add Lua support. (Zoltan Arpadffy)
14334Files: src/fileio.c, src/os_vms_conf.h, src/Make_vms.mms, src/macros.h,
14335 src/os_vms.c, src/vim9execute.c, src/gui_xmebw.c, src/os_unix.h
14336
14337Patch 8.2.2295
14338Problem: Incsearch does not detect empty pattern properly.
14339Solution: Return magic state when skipping over a pattern. (Christian
14340 Brabandt, closes #7612, closes #6420)
14341Files: src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c, src/globals.h,
14342 src/option.c, src/tag.c, src/proto/regexp.pro, src/regexp.c,
14343 src/search.c, src/structs.h, src/vim9compile.c,
14344 src/testdir/dumps/Test_incsearch_sub_01.dump,
14345 src/testdir/dumps/Test_incsearch_sub_02.dump,
14346 src/testdir/test_search.vim
14347
14348Patch 8.2.2296
14349Problem: Cannot use CTRL-N and CTRL-P in a popup menu.
14350Solution: Use CTRL-N like <Down> and CTRL-P like <Up>. (closes #7614)
14351Files: runtime/doc/popup.txt, src/popupwin.c,
14352 src/testdir/test_popupwin.vim
14353
14354Patch 8.2.2297
14355Problem: Vim9: cannot set 'number' to a boolean value.
14356Solution: Use tv_get_bool(). (closes #7615)
14357Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
14358
14359Patch 8.2.2298
14360Problem: Vim9: comment right after "(" of function not recognized.
14361Solution: Do not skip over white space before calling get_function_args().
14362 (closes #7613)
14363Files: src/userfunc.c, src/proto/userfunc.pro,
14364 src/testdir/test_vim9_func.vim
14365
14366Patch 8.2.2299
14367Problem: Vim9: invalid memory access making error message flaky.
14368Solution: Do not check cmd_argt for CMD_USER. (issue #7467)
14369Files: src/ex_docmd.c, src/vim9execute.c, src/errors.h,
14370 src/vim9compile.c, src/testdir/test_vim9_cmd.vim
14371
14372Patch 8.2.2300
14373Problem: Vim9: wrong order on type stack when using dict.
14374Solution: Generate constants before a dict. (closes #7619)
14375Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14376
14377Patch 8.2.2301
14378Problem: Vim9: cannot unlet a dict or list item.
14379Solution: Add ISN_UNLETINDEX. Refactor assignment code to use for unlet.
14380Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c,
14381 src/testdir/test_vim9_assign.vim
14382
14383Patch 8.2.2302
14384Problem: Vim9: using an option value may use uninitialized memory.
14385Solution: Clear v_lock. (closes #7620)
14386Files: src/typval.c, src/testdir/test_vim9_expr.vim
14387
14388Patch 8.2.2303
14389Problem: Vim9: backtick expansion doesn't work for :foldopen.
14390Solution: Do recognize backtick expansion. (closes #7621)
14391Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
14392
14393Patch 8.2.2304
14394Problem: Vim9: no test for unletting an imported variable.
14395Solution: Add a test. Fix line number in error.
14396Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
14397
14398Patch 8.2.2305
14399Problem: Vim9: "++var" and "--var" are silently accepted.
14400Solution: Give an error message.
14401Files: src/vim9compile.c, src/eval.c, src/proto/eval.pro,
14402 src/testdir/test_vim9_expr.vim
14403
14404Patch 8.2.2306
14405Problem: Vim9: when using function reference type is not checked.
14406Solution: When using a function reference lookup the type and check the
14407 argument types. (issue #7629)
14408Files: src/userfunc.c, src/proto/userfunc.pro, src/eval.c, src/structs.h,
14409 src/vim9type.c, src/proto/vim9type.pro, src/vim9compile.c,
14410 src/vim9execute.c, src/evalvars.c, src/evalfunc.c,
14411 src/testdir/test_vim9_func.vim
14412
14413Patch 8.2.2307
14414Problem: A shell command in the vimrc causes terminal output.
14415Solution: Do not call starttermcap() after a shell command if the termcap
14416 wasn't active before.
14417Files: src/ex_cmds.c
14418
14419Patch 8.2.2308
14420Problem: Vim9: no error when assigning lambda to funcref without return
14421 value.
14422Solution: Default return value to "any". (closes #7629)
14423Files: src/userfunc.c, src/vim9compile.c,
14424 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_func.vim
14425
14426Patch 8.2.2309
14427Problem: 0o777 not recognized as octal.
14428Solution: Use vim_isodigit(). (Ken Takata, closes #7633, closes #7631)
14429Files: src/charset.c, src/testdir/test_eval_stuff.vim
14430
14431Patch 8.2.2310
14432Problem: Vim9: winsaveview() return type is too generic.
14433Solution: use dict<number> instead of dict<any>. (closes #7626)
14434Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
14435
14436Patch 8.2.2311
14437Problem: Vim9: cannot assign to a variable that shadows a command modifier.
14438Solution: Check for assignment after possible command modifier.
14439 (closes #7632)
14440Files: src/vim9compile.c, src/ex_docmd.c,
14441 src/testdir/test_vim9_assign.vim
14442
14443Patch 8.2.2312
14444Problem: Build failure with Ruby 3.0 and 32 bits.
14445Solution: Add #ifdef. (closes #7638)
14446Files: src/if_ruby.c
14447
14448Patch 8.2.2313
14449Problem: Vim9: using uninitialized field when parsing range. ":silent!" not
14450 respected when parsing range fails.
14451Solution: Initialize ea.skip. On pattern failure handle it like an error.
14452 (closes #7636)
14453Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
14454
14455Patch 8.2.2314
14456Problem: Vim9: returning zero takes two instructions.
14457Solution: Add ISN_RETURN_ZERO.
14458Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
14459 src/testdir/test_vim9_disassemble.vim
14460
14461Patch 8.2.2315
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014462Problem: Vim9: "enddef" as dict key misinterpreted as function end.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014463Solution: Check for following colon. (closes #7640)
14464Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14465
14466Patch 8.2.2316
14467Problem: Vim9: cannot list a lambda function.
14468Solution: Support the <lambda>9 notation, like :disassemble. (closes #7634)
14469Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14470
14471Patch 8.2.2317
14472Problem: Vim9: command modifier before list unpack doesn't work.
14473Solution: Only recognize "[" directly after the name. (closes #7641)
14474Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim
14475
14476Patch 8.2.2318
14477Problem: Vim9: string and list index work differently.
14478Solution: Make string index work like list index. (closes #7643)
14479Files: src/eval.c, src/proto/eval.pro, src/vim9execute.c, src/list.c,
14480 src/proto/vim9execute.pro, src/testdir/test_vim9_expr.vim
14481
14482Patch 8.2.2319
14483Problem: "exptype_T" can be read as "expected type".
14484Solution: Rename to "exprtype_T", expression type.
14485Files: src/eval.c, src/typval.c, src/proto/typval.pro, src/vim9compile.c,
14486 src/proto/vim9compile.pro, src/vim9execute.c, src/structs.h,
14487 src/vim9.h
14488
14489Patch 8.2.2320
14490Problem: Vim9: no error for comparing bool with string.
14491Solution: Check for wrong types when comparing. (closes #7639)
14492Files: src/typval.c, src/errors.h, src/testdir/test_vim9_expr.vim
14493
14494Patch 8.2.2321
14495Problem: Vim9: cannot nest closures.
14496Solution: Add the nesting level to ISN_LOADOUTER and ISN_STOREOUTER.
14497 (closes #7150, closes #7635)
14498Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/structs.h,
14499 src/testdir/test_vim9_disassemble.vim,
14500 src/testdir/test_vim9_func.vim
14501
14502Patch 8.2.2322
14503Problem: Vim9: closure nested limiting to one level.
14504Solution: Add outer_T. Also make STOREOUTER work.
14505Files: src/vim9execute.c, src/vim9.h, src/structs.h,
14506 src/testdir/test_vim9_func.vim
14507
14508Patch 8.2.2323
14509Problem: Vim9: error when inferring type from empty dict/list.
14510Solution: When the member is t_unknown use t_any. (closes #7009)
14511Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14512
14513Patch 8.2.2324
14514Problem: Not easy to get mark en cursor position by character count.
14515Solution: Add functions that use character index. (Yegappan Lakshmanan,
14516 closes #7648)
14517Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/eval.c,
14518 src/evalfunc.c, src/proto/eval.pro, src/tag.c,
14519 src/testdir/test_cursor_func.vim, src/typval.c
14520
14521Patch 8.2.2325
14522Problem: Vim9: crash if map() changes the item type.
14523Solution: Check that the item type is still OK. (closes #7652)
14524 Fix problem with mapnew() on range list.
14525Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9compile.c,
14526 src/list.c, src/testdir/test_vim9_builtin.vim,
14527 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim
14528
14529Patch 8.2.2326
14530Problem: Build error with +eval feature but without +spell.
14531Solution: Adjust #ifdef. (John Marriott)
14532Files: src/mbyte.c
14533
14534Patch 8.2.2327
14535Problem: Debugging code included.
14536Solution: Remove the debugging code.
14537Files: src/vim9execute.c
14538
14539Patch 8.2.2328
14540Problem: Some test files may not be deleted.
14541Solution: Add a delete() call, correct name. (Dominique Pellé, closes #7654)
14542Files: src/testdir/test_clientserver.vim,
14543 src/testdir/test_vim9_script.vim
14544
14545Patch 8.2.2329
14546Problem: Not all ways Vim can be started are tested.
14547Solution: Add a test for different program names. (Dominique Pellé,
14548 closes #7651)
14549Files: src/testdir/test_startup.vim
14550
14551Patch 8.2.2330
14552Problem: Vim9: crash when using :trow in a not executed block.
14553Solution: Don't generate the instruction when skipping. (closes #7659)
14554Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
14555
14556Patch 8.2.2331
14557Problem: Vim9: wrong error when modifying dict declared with :final.
14558Solution: Do not check for writable variable when an index follows.
14559 (closes #7657)
14560Files: src/vim9compile.c, src/structs.h, src/vim9script.c,
14561 src/proto/vim9script.pro, src/evalvars.c,
14562 src/testdir/test_vim9_assign.vim
14563
14564Patch 8.2.2332
14565Problem: Vim9: missing :endif not reported when using :windo.
14566Solution: Pass a getline function to do_cmdline(). (closes #7650)
14567Files: src/vim9execute.c, src/structs.h, src/scriptfile.c,
14568 src/testdir/test_vim9_cmd.vim
14569
14570Patch 8.2.2333
14571Problem: Vim9: warning for uninitialized variable. (Tony Mechelynck)
14572Solution: Initialize "res".
14573Files: src/vim9execute.c
14574
14575Patch 8.2.2334
14576Problem: Pascal-like filetypes not always detected.
14577Solution: Improved Puppet, InstantFPC and Pascal detection. (Doug Kearns,
14578 closes #7662)
14579Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
14580 runtime/scripts.vim, src/testdir/test_filetype.vim
14581
14582Patch 8.2.2335
14583Problem: Vim9: "silent return" does not restore command modifiers.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014584Solution: Restore command modifiers before returning. (closes #7649)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014585Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
14586
14587Patch 8.2.2336
14588Problem: Vim9: it is not possible to extend a dictionary with different
14589 item types.
14590Solution: Add extendnew(). (closes #7666)
14591Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
14592 src/list.c, src/proto/list.pro, src/testdir/test_listdict.vim,
14593 src/testdir/test_vim9_builtin.vim
14594
14595Patch 8.2.2337
14596Problem: Configure test for GTK only says "no". (Harm te Hennepe)
14597Solution: Hint that a -def package is needed. (closes #5229)
14598Files: src/configure.ac, src/auto/configure
14599
14600Patch 8.2.2338
14601Problem: Vim9: no error if using job_info() result wrongly.
14602Solution: Adjust return type on number of arguments. (closes #7667)
14603Files: src/evalfunc.c, src/globals.h, src/testdir/test_vim9_builtin.vim
14604
14605Patch 8.2.2339
14606Problem: Cannot get the type of a value as a string.
14607Solution: Add typename().
14608Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
14609 src/vim9type.c, src/proto/vim9type.pro,
14610 src/testdir/test_vimscript.vim, src/testdir/test_vim9_builtin.vim
14611
14612Patch 8.2.2340
14613Problem: win_execute() unexpectedly returns number zero when failing.
14614Solution: Return an empty string. (closes #7665)
14615Files: src/evalwindow.c, src/testdir/test_vim9_builtin.vim,
14616 src/testdir/test_execute_func.vim
14617
14618Patch 8.2.2341
14619Problem: Expression command line completion shows variables but not
14620 functions after "g:". (Gary Johnson)
14621Solution: Prefix "g:" when needed to a global function.
14622Files: src/evalfunc.c, src/evalvars.c, src/proto/evalvars.pro,
14623 src/testdir/test_cmdline.vim
14624
14625Patch 8.2.2342
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014626Problem: "char" functions return the wrong column in Insert mode when the
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014627 cursor is beyond the end of the line.
14628Solution: Compute the column correctly. (Yegappan Lakshmanan, closes #7669)
14629Files: src/eval.c, src/evalfunc.c, src/testdir/test_cursor_func.vim
14630
14631Patch 8.2.2343
14632Problem: Vim9: return type of readfile() is any.
14633Solution: Add readblob() so that readfile() can be expected to always
14634 return a list of strings. (closes #7671)
14635Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
14636 src/filepath.c, src/proto/filepath.pro,
14637 src/testdir/test_vim9_builtin.vim
14638
14639Patch 8.2.2344
14640Problem: Using inclusive index for slice is not always desired.
14641Solution: Add the slice() method, which has an exclusive index. (closes
14642 #7408)
14643Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
14644 src/eval.c, src/proto/eval.pro, src/vim9execute.c,
14645 src/proto/vim9execute.pro, src/list.c, src/proto/list.pro,
14646 src/testdir/test_vim9_builtin.vim
14647
14648Patch 8.2.2345
14649Problem: No focus events in a terminal.
14650Solution: Add the t_fd and t_fe termcap entries and implement detecting
14651 focus events. (Hayaki Saito, Magnus Groß, closes #7673,
14652 closes #609, closes #5526)
14653Files: runtime/doc/term.txt, src/optiondefs.h, src/term.c, src/term.h
14654
14655Patch 8.2.2346
14656Problem: Codecov reports every little coverage drop.
14657Solution: Tolerate a 0.05% drop. Hide the appveyor config file. (Ozaki
14658 Kiichi, closes #7678)
14659Files: .appveyor.yml, appveyor.yml, .codecov.yml
14660
14661Patch 8.2.2347
14662Problem: Build failure without GUI.
14663Solution: Add #ifdef.
14664Files: src/term.c
14665
14666Patch 8.2.2348 (after 8.2.2345)
14667Problem: No check for modified files after focus gained. (Mathias Stearn)
14668Solution: Call ui_focus_change().
14669Files: src/term.c, src/ui.c
14670
14671Patch 8.2.2349
14672Problem: Vim9: cannot handle line break after parenthesis at line end.
14673Solution: Skip over line break. (closes #7677)
14674Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14675
14676Patch 8.2.2350
14677Problem: Using "void" for no reason.
14678Solution: Use "char *".
14679Files: src/ex_docmd.c
14680
14681Patch 8.2.2351
14682Problem: Vim9: error message for "throw" in function that was called with
14683 "silent!".
14684Solution: Do not throw the exception when not caught or displayed.
14685 (closes #7672)
14686Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
14687
14688Patch 8.2.2352
14689Problem: If the focus lost/gained escape sequence is received twice it is
Bram Moolenaareb490412022-06-28 13:44:46 +010014690 not ignored. (Christ van Willegen)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014691Solution: Adjust the logic to ignore the escape code.
14692Files: src/term.c
14693
14694Patch 8.2.2353
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014695Problem: Sparql files are not detected.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014696Solution: Add the sparql filetype. (closes #7679)
14697Files: runtime/filetype.vim, src/testdir/test_filetype.vim
14698
14699Patch 8.2.2354
14700Problem: Crash with a weird combination of autocommands.
14701Solution: Increment b_nwindows when needed. (closes #7674)
14702Files: src/ex_cmds.c, src/buffer.c, src/proto/buffer.pro,
14703 src/testdir/test_autocmd.vim
14704
14705Patch 8.2.2355
14706Problem: Stray test failure on Appveyor.
14707Solution: Finish insert command.
14708Files: src/testdir/test_autocmd.vim
14709
14710Patch 8.2.2356
14711Problem: Vim9: ":put =expr" does not handle a list properly.
14712Solution: Use the same logic as eval_to_string_eap(). (closes #7684)
14713Files: src/vim9execute.c, src/eval.c, src/proto/eval.pro,
14714 src/testdir/test_vim9_cmd.vim
14715
14716Patch 8.2.2357
14717Problem: Vim9: crash when parsing function return type fails.
14718Solution: Bail out and set return type to "unknown". (closes #7685)
14719Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14720
14721Patch 8.2.2358
14722Problem: Wrong #ifdef for use_xterm_like_mouse().
14723Solution: Use FEAT_MOUSE_XTERM.
14724Files: src/term.c
14725
14726Patch 8.2.2359
14727Problem: Strange test failure with MS-Windows.
14728Solution: Skip the system() call for now.
14729Files: src/testdir/test_autocmd.vim
14730
14731Patch 8.2.2360
14732Problem: Test leaves file behind.
14733Solution: Delete the right file. (Dominique Pellé, closes #7689)
14734Files: src/testdir/test_filetype.vim
14735
14736Patch 8.2.2361
14737Problem: Vim9: no highlight for "s///gc" when using 'opfunc'.
14738Solution: Reset 'lazyredraw' temporarily. (closes #7687)
14739Files: src/ex_cmds.c
14740
14741Patch 8.2.2362
14742Problem: Vim9: check of builtin function argument type is incomplete.
14743Solution: Use need_type() instead of check_arg_type().
14744Files: src/vim9compile.c, src/proto/vim9compile.pro, src/evalfunc.c,
14745 src/proto/evalfunc.pro, src/vim9type.c, src/proto/vim9type.pro,
14746 src/testdir/test_vim9_builtin.vim
14747
14748Patch 8.2.2363
14749Problem: curpos() does not accept a string argument as before.
14750solution: Make a string argument work again. (Yegappan Lakshmanan,
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014751 closes #7690)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014752Files: src/evalfunc.c, src/testdir/test_cursor_func.vim
14753
14754Patch 8.2.2364
14755Problem: Vim9: line break in lambda accesses freed memory.
14756Solution: Make a copy of the return type. (closes #7664)
14757Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14758
14759Patch 8.2.2365
14760Problem: Vim9: no check for map() changing item type at script level.
14761Solution: Check the new value type.
14762Files: src/list.c, src/testdir/test_vim9_builtin.vim,
14763 src/testdir/test_vim9_assign.vim
14764
14765Patch 8.2.2366
14766Problem: When using ":sleep" the cursor is always displayed.
14767Solution: Do not display the cursor when using ":sleep!". (Jeremy Lerner,
14768 closes #7688)
14769Files: runtime/doc/index.txt, runtime/doc/various.txt, src/ex_cmds.h,
14770 src/ex_docmd.c, src/normal.c, src/proto/ex_docmd.pro, src/term.c,
14771 src/testdir/Make_all.mak, src/testdir/test_sleep.vim
14772
14773Patch 8.2.2367
14774Problem: Test failures on some less often used systems.
14775Solution: Adjust printf formats and types. (James McCoy, closes #7691)
14776Files: src/errors.h, src/evalfunc.c, src/list.c, src/vim9execute.c
14777
14778Patch 8.2.2368
14779Problem: Insufficient tests for setting options.
14780Solution: Add a few tests. (Dominique Pellé, closes #7695)
14781Files: src/testdir/test_options.vim
14782
14783Patch 8.2.2369
14784Problem: Vim9: functions return true/false but can't be used as bool.
14785Solution: Add ret_number_bool(). (closes #7693)
14786Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim,
14787 src/testdir/test_vim9_disassemble.vim
14788
14789Patch 8.2.2370
14790Problem: Vim9: command fails in catch block.
14791Solution: Reset force_abort and need_rethrow. (closes #7692)
14792Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
14793
14794Patch 8.2.2371
14795Problem: Vim9: crash when using types in :for with unpack.
14796Solution: Check for skip_var_list() failing. Pass include_type to
14797 skip_var_one(). Skip type when compiling. (closes #7694)
14798Files: src/vim9compile.c, src/evalvars.c,
14799 src/testdir/test_vim9_script.vim
14800
14801Patch 8.2.2372 (after 8.2.2371)
14802Problem: Confusing error message for wrong :let command.
14803Solution: Only check for type in Vim9 script.
14804Files: src/evalvars.c
14805
14806Patch 8.2.2373
14807Problem: Vim9: list assignment only accepts a number index.
14808Solution: Accept "any" and do a runtime type check. (closes #7694)
14809Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
14810
14811Patch 8.2.2374
14812Problem: Accessing uninitialized memory in test_undo.
14813Solution: Do not look in typebuf.tb_buf if it is empty. (Dominique Pellé,
14814 closes #7697)
14815Files: src/edit.c
14816
14817Patch 8.2.2375
14818Problem: Test for RGB color skipped in the terminal.
14819Solution: Run the GUI if possible.
14820Files: src/testdir/test_highlight.vim
14821
14822Patch 8.2.2376
14823Problem: Vim9: crash when dividing by zero in compiled code using
14824 constants.
14825Solution: Call num_divide() and num_modulus(). (closes #7704)
14826Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14827
14828Patch 8.2.2377
14829Problem: Vim9: crash when using a range after another expression.
14830Solution: Set the variable type to number. Fix using :put with a range and
14831 the "=" register. (closes #7706)
14832Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
14833
14834Patch 8.2.2378
14835Problem: Vim9: no error message for dividing by zero.
14836Solution: Give an error message. (issue #7704)
14837Files: src/errors.h, src/eval.c, src/vim9execute.c,
14838 src/testdir/test_vim9_expr.vim
14839
14840Patch 8.2.2379
14841Problem: Finding spell suggestions twice if 'spellsuggest' contains number.
14842Solution: Only do internal suggestions once. (closes #7713)
14843Files: src/spellsuggest.c
14844
14845Patch 8.2.2380
14846Problem: Vim9: occasional crash when using try/catch and a timer.
14847Solution: Save and restore "need_rethrow" when invoking a timer callback.
14848 (closes #7708)
14849Files: src/time.c
14850
14851Patch 8.2.2381
14852Problem: Vim9: divide by zero does not abort expression execution.
14853Solution: Use a "failed" flag. (issue #7704)
14854Files: src/eval.c, src/proto/eval.pro, src/evalvars.c, src/vim9compile.c,
14855 src/testdir/vim9.vim, src/testdir/test_vim9_assign.vim
14856
14857Patch 8.2.2382 (after 8.2.2381)
14858Problem: Build failure.
14859Solution: Add missing changes.
14860Files: src/vim9execute.c
14861
14862Patch 8.2.2383
14863Problem: Focus escape sequences are not named in ":set termcap" output.
14864Solution: Add the names to the list. (closes #7718)
14865Files: src/misc2.c
14866
14867Patch 8.2.2384
14868Problem: Turtle filetype not recognized.
14869Solution: Add a rule to detect turtle files. (closes #7722)
14870Files: runtime/filetype.vim, src/testdir/test_filetype.vim
14871
14872Patch 8.2.2385
14873Problem: "gj" and "gk" do not work correctly when inside a fold.
14874Solution: Move check for folding. (closes #7724, closes #4095)
14875Files: src/normal.c, src/testdir/test_fold.vim
14876
14877Patch 8.2.2386
14878Problem: Vim9: crash when using ":silent! put".
14879Solution: When ignoring an error for ":silent!" rewind the stack and skip
14880 ahead to restoring the cmdmod. (closes #7717)
14881Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
14882
14883Patch 8.2.2387
14884Problem: Runtime type check does not mention argument index.
14885Solution: Add ct_arg_idx. (closes #7720)
14886Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
14887 src/testdir/test_vim9_builtin.vim,
14888 src/testdir/test_vim9_disassemble.vim,
14889 src/testdir/test_vim9_func.vim
14890
14891Patch 8.2.2388
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014892Problem: No easy way to get the maximum or minimum number value.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014893Solution: Add v:numbermax and v:numbermin.
14894Files: src/evalvars.c, src/vim.h, src/testdir/test_eval_stuff.vim,
14895 runtime/doc/eval.txt
14896
14897Patch 8.2.2389
14898Problem: Test failure on a few systems.
14899Solution: Avoid that "char" value is negative.
14900Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h
14901
14902Patch 8.2.2390
14903Problem: Vim9: using positive offset is unexpected.
14904Solution: Use int8_T instead of char. (James McCoy)
14905Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c
14906
14907Patch 8.2.2391
14908Problem: Memory leak when creating a global function with closure.
14909Solution: Create a separate partial for every instantiated function.
14910Files: src/userfunc.c, src/vim9execute.c
14911
14912Patch 8.2.2392
14913Problem: Fennel filetype not recognized.
14914Solution: Detect with pattern and hashbang. (Chinmay Dalal, closes #7729)
14915Files: runtime/filetype.vim, runtime/scripts.vim,
14916 src/testdir/test_filetype.vim
14917
14918Patch 8.2.2393
14919Problem: Vim9: error message when script line starts with "[{".
14920Solution: Do not give an error for checking for end of list.
14921Files: src/dict.c, src/testdir/test_vim9_script.vim
14922
14923Patch 8.2.2394
14924Problem: Vim9: min() and max() return type is "any".
14925Solution: Use return type "number". (closes #7728)
14926Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
14927
14928Patch 8.2.2395
14929Problem: Vim9: error for wrong type may report wrong line number.
14930Solution: Save and restore the line number when evaluating the expression.
14931 (closes #7727)
14932Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
14933
14934Patch 8.2.2396
14935Problem: Vim9: no white space allowed before "->".
14936Solution: Allow for white space. (closes #7725)
14937Files: src/ex_docmd.c, src/eval.c, src/testdir/test_vim9_cmd.vim
14938
14939Patch 8.2.2397
14940Problem: Vim9: "%%" not seen as alternate file name for commands with a
14941 buffer name argument.
14942Solution: Recognize "%%" like "#". (closes #7732)
14943Files: src/buffer.c, src/testdir/test_vim9_cmd.vim
14944
14945Patch 8.2.2398 (after 8.2.2396)
14946Problem: Method test fails.
14947Solution: Adjust test for allowed white space.
14948Files: src/testdir/test_method.vim
14949
14950Patch 8.2.2399 (after 8.2.2385)
14951Problem: Fold test fails in wide terminal.
14952Solution: Adjust the test. (Dominique Pelle, closes #7731, closes #7739)
14953Files: src/testdir/test_fold.vim
14954
14955Patch 8.2.2400
14956Problem: Vim9: compiled functions are not profiled.
14957Solution: Add initial changes to profile compiled functions. Fix that a
14958 script-local function was hard to debug.
14959Files: runtime/doc/repeat.txt, src/vim9.h, src/vim9compile.c,
14960 src/vim9execute.c, src/userfunc.c, src/proto/vim9compile.pro,
14961 src/structs.h, src/vim9type.c, src/debugger.c, src/ex_cmds.h,
14962 src/ex_docmd.c, src/profiler.c, src/proto/profiler.pro,
14963 src/testdir/test_vim9_disassemble.vim,
14964 src/testdir/test_profile.vim
14965
14966Patch 8.2.2401
14967Problem: Build fails without +profiling feature.
14968Solution: Add #ifdefs.
14969Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/structs.h,
14970 src/testdir/test_vim9_disassemble.vim
14971
14972Patch 8.2.2402
14973Problem: Some filetypes not detected.
14974Solution: Detect Ruby Signature and Puppet related files. (Doug Kearns)
14975Files: runtime/filetype.vim, src/testdir/test_filetype.vim
14976
14977Patch 8.2.2403
14978Problem: Vim9: profiling if/elseif/endif not correct.
14979Solution: Add profile instructions. Fix that "elseif" was wrong.
14980Files: src/vim9compile.c, src/testdir/test_profile.vim,
14981 src/testdir/test_vim9_script.vim,
14982 src/testdir/test_vim9_disassemble.vim
14983
14984Patch 8.2.2404
14985Problem: Vim9: profiling try/catch not correct.
14986Solution: Add profile instructions. Fix that "entry" did not rethrow an
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014987 exception.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014988Files: src/vim9compile.c, src/vim9execute.c, src/testdir/test_profile.vim
14989
14990Patch 8.2.2405
14991Problem: Vim9: no need to allow white space before "(" for :def.
14992Solution: Give an error for stray white space. (issue #7734)
14993Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14994
14995Patch 8.2.2406
14996Problem: Vim9: profiled :def function leaks memory.
14997Solution: Delete the profiled instructions.
14998Files: src/vim9compile.c
14999
15000Patch 8.2.2407
15001Problem: Old jumplist code is never used.
15002Solution: Delete the dead code. (Yegappan Lakshmanan, closes #7740)
15003Files: src/mark.c
15004
15005Patch 8.2.2408
15006Problem: MinGW: "--preprocessor" flag no longer supported.
15007Solution: Remove the flag, use the defaults. (Christopher Wellons,
15008 closes #7741)
15009Files: src/GvimExt/Make_ming.mak, src/Make_cyg_ming.mak
15010
15011Patch 8.2.2409
15012Problem: Vim9: profiling only works for one function.
15013Solution: Select the right instructions when calling and returning.
15014 (closes #7743)
15015Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
15016 src/testdir/test_profile.vim
15017
15018Patch 8.2.2410
15019Problem: Build failure without the +profiling feature.
15020Solution: Add dummy argument to macro.
15021Files: src/vim9.h
15022
15023Patch 8.2.2411
15024Problem: Profile test fails on MS-Windows.
15025Solution: Do the profiling in a separate Vim command.
15026Files: src/testdir/test_profile.vim
15027
15028Patch 8.2.2412
15029Problem: Not all fields in "cstack" are initialized which might cause a
15030 crash.
15031Solution: Use CLEAR_FIELD().
15032Files: src/ex_docmd.c
15033
15034Patch 8.2.2413
15035Problem: Crash when using :all while using a cmdline window. (Zdenek Dohnal)
15036Solution: Disallow :all from the cmdline window.
15037Files: src/arglist.c, src/ex_getln.c, src/testdir/test_arglist.vim
15038
15039Patch 8.2.2414
15040Problem: Using freed memory when closing the cmdline window.
15041Solution: Check the window is still valid.
15042Files: src/ex_getln.c
15043
15044Patch 8.2.2415
15045Problem: No way to check for the cmdwin feature, cmdline_hist is now always
15046 enabled.
15047Solution: Add has('cmdwin') support. Skip arglist test on Windows
15048 temporarily.
15049Files: runtime/doc/cmdline.txt, src/evalfunc.c,
15050 src/testdir/test_autocmd.vim, src/testdir/test_arglist.vim,
15051 src/testdir/test_cmdline.vim, src/testdir/test_ins_complete.vim,
15052 src/testdir/test_normal.vim, src/testdir/test_tabpage.vim,
15053 src/testdir/test_termcodes.vim, src/testdir/test_window_cmd.vim
15054
15055Patch 8.2.2416
15056Problem: May get stuck in command line window state.
15057Solution: Reset "cmdwin_type" when editing buffer fails. Make arglist test
15058 pass on MS-Windows.
15059Files: src/ex_getln.c, src/testdir/test_arglist.vim
15060
15061Patch 8.2.2417
15062Problem: Condition stack values may be used when not set.
15063Solution: Clear cs_script_var_len and cs_block_id just in case they get used
15064 later. (issue #7733)
15065Files: src/ex_eval.c
15066
15067Patch 8.2.2418
15068Problem: Color not changed if ModeMsg highlight is set in InsertEnter
15069 autocmd event. (Paul Swanson)
15070Solution: Call highlight_changed() after triggering InsertEnter.
15071 (closes #7751)
15072Files: src/edit.c
15073
15074Patch 8.2.2419
15075Problem: Autocmd test was failing on MS-Windows with GUI.
15076Solution: Remove stray feedkeys().
15077Files: src/testdir/test_autocmd.vim
15078
15079Patch 8.2.2420
15080Problem: Too many problems with using all autocommand events.
15081Solution: Disallow defining an autocommand for all events.
15082Files: src/autocmd.c, src/errors.h, src/testdir/test_autocmd.vim,
15083 src/testdir/test_quickfix.vim, src/testdir/test_window_cmd.vim
15084
15085Patch 8.2.2421
15086Problem: Double free when using autocommand with "argdel". (Houyunsong)
15087Solution: Add the arglist_locked flag.
15088Files: src/arglist.c, src/testdir/test_autocmd.vim
15089
15090Patch 8.2.2422
15091Problem: Crash when deleting with line number out of range. (Houyunsong)
15092Solution: Avoid using a negative line number.
15093Files: src/normal.c, src/testdir/test_ex_mode.vim
15094
15095Patch 8.2.2423 (after 8.2.2422)
15096Problem: Missing error message.
15097Solution: Add the error message.
15098Files: src/errors.h
15099
15100Patch 8.2.2424
15101Problem: Some tests are known to cause an error with ASAN.
15102Solution: Add CheckNotAsan.
15103Files: src/testdir/check.vim, src/testdir/test_ins_complete.vim,
15104 src/testdir/test_memory_usage.vim, src/testdir/test_ex_mode.vim
15105
15106Patch 8.2.2425
15107Problem: Cursor on invalid line with range and :substitute.
15108Solution: Do not move the cursor when skipping commands. (closes #3434)
15109Files: src/ex_cmds.c, src/testdir/test_eval_stuff.vim
15110
15111Patch 8.2.2426
15112Problem: Allowing 'completefunc' to switch windows causes trouble.
15113Solution: use "textwinlock" instead of "textlock".
15114Files: src/insexpand.c, src/testdir/test_ins_complete.vim,
15115 src/testdir/test_popup.vim
15116
15117Patch 8.2.2427
15118Problem: Can still switch windows for 'completefunc'.
15119Solution: Also disallow switching windows for other completions.
15120Files: src/insexpand.c, src/testdir/test_ins_complete.vim,
15121 src/testdir/test_popup.vim
15122
15123Patch 8.2.2428
15124Problem: FocusGained does not work when 'ttymouse' is empty.
15125Solution: Don't use the short mouse code if there is a longer matching code.
15126 (closes #7755) Add a test.
15127Files: src/term.c, src/testdir/test_termcodes.vim
15128
15129Patch 8.2.2429
15130Problem: :goto does not work correctly with text properties. (Sam McCall)
15131Solution: Add a test. (Andrew Radev) Also use the text property size when
15132 computing the remaining offset. (closes #5930)
15133Files: src/memline.c, src/testdir/test_textprop.vim
15134
15135Patch 8.2.2430
15136Problem: :vimgrep expands wildcards twice.
15137Solution: Do not expand wildcards a second time.
15138Files: src/quickfix.c, src/arglist.c, src/testdir/test_quickfix.vim
15139
15140Patch 8.2.2431
15141Problem: Warning for -fno-strength-reduce with Clang 11.
15142Solution: Adjust check for clang version number.
15143Files: src/configure.ac, src/auto/configure
15144
15145Patch 8.2.2432
15146Problem: Libvterm tests are executed even when libtool doesn't work.
15147Solution: Only run libvterm tests if /usr/bin/gcc exists.
15148Files: src/Makefile
15149
15150Patch 8.2.2433
15151Problem: Opening cmdline window gives error in BufLeave autocommand.
15152Solution: Reset cmdwin_type when triggering the autocommand.
15153Files: src/ex_cmds.c, src/testdir/test_cmdline.vim
15154
15155Patch 8.2.2434
15156Problem: Vim9: no error when compiling str2nr() with a number.
15157Solution: Add argument type checks. (closes #7759)
15158Files: src/evalfunc.c, src/typval.c, src/proto/typval.pro,
15159 src/testdir/test_vim9_builtin.vim
15160
15161Patch 8.2.2435
15162Problem: setline() gives an error for some types.
15163Solution: Allow any type, convert each item to a string.
15164Files: runtime/doc/eval.txt, src/evalbuffer.c, src/typval.c,
15165 src/proto/typval.pro, src/debugger.c, src/vim9execute.c,
15166 src/testdir/test_bufline.vim, src/testdir/test_vim9_builtin.vim
15167
15168Patch 8.2.2436
15169Problem: Vim9 script test is a bit flaky.
15170Solution: Wait longer for exit callback.
15171Files: src/testdir/test_vim9_script.vim
15172
15173Patch 8.2.2437
15174Problem: Deprecation warnings with default configuration.
15175Solution: Add -Wno-deprecated-declarations.
15176Files: src/configure.ac, src/auto/configure
15177
15178Patch 8.2.2438
15179Problem: Out of bounds compiler warning.
15180Solution: Increase the size of uf_name.
15181Files: src/structs.h
15182
15183Patch 8.2.2439
15184Problem: Not easy to figure out what packages to get when installing Vim on
15185 a new Ubuntu system.
15186Solution: Mention explicit commands that are easy to follow.
15187Files: src/INSTALL
15188
15189Patch 8.2.2440
15190Problem: Documentation based on patches is outdated.
15191Solution: Add changes to documentation in a patch.
15192Files: runtime/doc/arabic.txt, runtime/doc/autocmd.txt,
15193 runtime/doc/change.txt, runtime/doc/channel.txt,
15194 runtime/doc/cmdline.txt, runtime/doc/debugger.txt,
15195 runtime/doc/develop.txt, runtime/doc/digraph.txt,
15196 runtime/doc/editing.txt, runtime/doc/eval.txt,
15197 runtime/doc/filetype.txt, runtime/doc/ft_sql.txt,
15198 runtime/doc/gui.txt, runtime/doc/gui_w32.txt,
15199 runtime/doc/gui_x11.txt, runtime/doc/hangulin.txt,
15200 runtime/doc/helphelp.txt, runtime/doc/help.txt,
15201 runtime/doc/if_lua.txt, runtime/doc/if_mzsch.txt,
15202 runtime/doc/if_tcl.txt, runtime/doc/indent.txt,
15203 runtime/doc/index.txt, runtime/doc/insert.txt,
15204 runtime/doc/intro.txt, runtime/doc/map.txt, runtime/doc/mbyte.txt,
15205 runtime/doc/message.txt, runtime/doc/mlang.txt,
15206 runtime/doc/motion.txt, runtime/doc/netbeans.txt,
15207 runtime/doc/options.txt, runtime/doc/os_dos.txt,
15208 runtime/doc/os_haiku.txt, runtime/doc/os_unix.txt,
15209 runtime/doc/os_vms.txt, runtime/doc/os_win32.txt,
15210 runtime/doc/pattern.txt, runtime/doc/pi_getscript.txt,
15211 runtime/doc/pi_logipat.txt, runtime/doc/pi_netrw.txt,
15212 runtime/doc/pi_tar.txt, runtime/doc/pi_vimball.txt,
15213 runtime/doc/pi_zip.txt, runtime/doc/popup.txt,
15214 runtime/doc/print.txt, runtime/doc/quickfix.txt,
15215 runtime/doc/quickref.txt, runtime/doc/recover.txt,
15216 runtime/doc/remote.txt, runtime/doc/repeat.txt,
15217 runtime/doc/rileft.txt, runtime/doc/sign.txt,
15218 runtime/doc/spell.txt, runtime/doc/starting.txt,
15219 runtime/doc/syntax.txt, runtime/doc/tabpage.txt,
15220 runtime/doc/tagsrch.txt, runtime/doc/terminal.txt,
15221 runtime/doc/term.txt, runtime/doc/testing.txt,
15222 runtime/doc/textprop.txt, runtime/doc/tips.txt,
15223 runtime/doc/todo.txt, runtime/doc/uganda.txt,
15224 runtime/doc/undo.txt, runtime/doc/usr_02.txt,
15225 runtime/doc/usr_03.txt, runtime/doc/usr_04.txt,
15226 runtime/doc/usr_05.txt, runtime/doc/usr_07.txt,
15227 runtime/doc/usr_08.txt, runtime/doc/usr_10.txt,
15228 runtime/doc/usr_11.txt, runtime/doc/usr_20.txt,
15229 runtime/doc/usr_22.txt, runtime/doc/usr_23.txt,
15230 runtime/doc/usr_24.txt, runtime/doc/usr_27.txt,
15231 runtime/doc/usr_30.txt, runtime/doc/usr_31.txt,
15232 runtime/doc/usr_40.txt, runtime/doc/usr_41.txt,
15233 runtime/doc/usr_42.txt, runtime/doc/usr_44.txt,
15234 runtime/doc/usr_45.txt, runtime/doc/usr_46.txt,
15235 runtime/doc/usr_90.txt, runtime/doc/usr_toc.txt,
15236 runtime/doc/various.txt, runtime/doc/version5.txt,
15237 runtime/doc/version6.txt, runtime/doc/version7.txt,
15238 runtime/doc/version8.txt, runtime/doc/vi_diff.txt,
15239 runtime/doc/vim9.txt, runtime/doc/visual.txt,
15240 runtime/doc/windows.txt
15241
15242Patch 8.2.2441
15243Problem: Vim9: extend() does not give an error for a type mismatch.
15244Solution: Check the type of the second argument. (closes #7760)
15245Files: src/list.c, src/testdir/test_vim9_builtin.vim
15246
15247Patch 8.2.2442
15248Problem: Automatic GUI selection does not check for GTK 3.
15249Solution: Make SKIP_GTK3 empty for automatic GUI support. Set SKIP_GTK3 to
15250 YES when checking for GTK2.
15251Files: src/configure.ac, src/auto/configure
15252
15253Patch 8.2.2443
15254Problem: Vim9: no compile time error for wrong str2float argument.
15255Solution: Check argument type. (closes #7759)
15256Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
15257
15258Patch 8.2.2444
15259Problem: Vim9: compile error with combination of operator and list.
15260Solution: Generate constants before parsing a list or dict. (closes #7757)
15261Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
15262
15263Patch 8.2.2445
15264Problem: Vim9: no proper error for lambda missing return type.
15265Solution: Check for this error. (closes #7758)
15266Files: src/errors.h, src/userfunc.c, src/testdir/test_vim9_func.vim
15267
15268Patch 8.2.2446
15269Problem: Setting 'term' empty has different error if compiled with GUI.
15270Solution: Insert "else". (closes #7766)
15271Files: src/optionstr.c, src/testdir/test_options.vim
15272
15273Patch 8.2.2447
15274Problem: 'foldlevel' not applied to folds restored from session.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000015275Solution: Set 'foldlevel' after creating the folds. (closes #7767)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000015276Files: src/fold.c, src/testdir/test_mksession.vim
15277
15278Patch 8.2.2448
15279Problem: Compilation error with Ruby 3.0.
15280Solution: Adjust #ifdefs and declaration. (Ken Takata, closes #7761)
15281Files: src/if_ruby.c
15282
15283Patch 8.2.2449
15284Problem: Vim9: flatten() always changes the list type.
15285Solution: Disallow using flatten() and add flattennew().
15286Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
15287 src/list.c, src/proto/list.pro, src/errors.h, src/vim9compile.c,
15288 src/testdir/test_flatten.vim, src/testdir/test_vim9_builtin.vim
15289
15290Patch 8.2.2450
15291Problem: MS-Windows: ADS was not preserved if 'backupcopy' is "yes".
15292Solution: Copy ADS before truncating the file. (Ken Takata, closes #7762)
15293Files: src/bufwrite.c
15294
15295Patch 8.2.2451
15296Problem: MS-Windows: Extended Attributes not preserved.
15297Solution: Preserve Extended Attributes when writing a file. (Ken Takata,
15298 closes #7765)
15299Files: src/os_win32.c
15300
15301Patch 8.2.2452
15302Problem: No completion for the 'filetype' option.
15303Solution: Add filetype completion. (Martin Tournoij, closes #7747)
15304Files: src/option.c, src/optiondefs.h, src/testdir/test_options.vim
15305
15306Patch 8.2.2453
15307Problem: Vim9: a variable name with "->" in the next line doesn't work.
15308Solution: Recognize a variable name by itself. (closes #7770)
15309Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
15310
15311Patch 8.2.2454
15312Problem: Leading space can not be made visible.
15313Solution: Add "lead:" to 'listchars'. (closes #7772)
15314Files: runtime/doc/options.txt, src/drawline.c, src/globals.h,
15315 src/message.c, src/screen.c, src/testdir/test_listchars.vim
15316
15317Patch 8.2.2455
15318Problem: Vim9: key type that can be used for literal dict and indexing is
15319 inconsistent.
15320Solution: Allow using number and bool as key for a literal dict. (#7771)
15321Files: runtime/doc/vim9.txt, src/dict.c, src/eval.c, src/vim9compile.c,
15322 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_builtin.vim,
15323 src/testdir/test_vim9_script.vim
15324
15325Patch 8.2.2456
15326Problem: Coverity warning for strcpy() into fixed size array.
15327Solution: Add a type cast to hopefully silence the bogus warning.
15328Files: src/userfunc.c
15329
15330Patch 8.2.2457
15331Problem: Coverity warns for memory leak.
15332Solution: Free memory when out of memory.
15333Files: src/if_cscope.c
15334
15335Patch 8.2.2458
15336Problem: Coverity warns for :retab using freed memory.
15337Solution: Use the updated line pointer when moving text properties.
15338Files: src/indent.c
15339
15340Patch 8.2.2459
15341Problem: Coverity reports dead code.
15342Solution: Remove the dead code.
15343Files: src/eval.c
15344
15345Patch 8.2.2460
15346Problem: Coverity warns for unused value.
15347Solution: Do not reset the return value to OK.
15348Files: src/vim9compile.c
15349
15350Patch 8.2.2461
15351Problem: Coverity warns for unchecked return value.
15352Solution: Add "(void)" to avoid the warning.
15353Files: src/vim9execute.c
15354
15355Patch 8.2.2462
15356Problem: Coverity warns for not checking for fseek() error.
15357Solution: Give an error message if fseek() fails.
15358Files: src/spellfile.c
15359
15360Patch 8.2.2463
15361Problem: Using :arglocal in an autocommand may use freed memory.
15362 (houyunsong)
15363Solution: Check if the arglist is locked.
15364Files: src/arglist.c, src/testdir/test_autocmd.vim
15365
15366Patch 8.2.2464
15367Problem: Using freed memory if window closed in autocommand. (houyunsong)
15368Solution: Check the window still exists.
15369Files: src/ex_cmds.c, src/testdir/test_autocmd.vim
15370
15371Patch 8.2.2465
15372Problem: Using freed memory in :psearch. (houyunsong)
15373Solution: Check the current window is still valid. Fix flaky test.
15374Files: src/search.c, src/testdir/test_autocmd.vim
15375
15376Patch 8.2.2466
15377Problem: Max() and min() can give many error messages.
15378Solution: Bail out at the first error. (closes #1039, closes #7778)
15379Files: src/evalfunc.c, src/testdir/test_functions.vim
15380
15381Patch 8.2.2467
15382Problem: Script generated by :mkview changes alternate file.
15383Solution: Only write :balt in the session file. (Harish Rajagopal,
15384 closes #7779)
15385Files: src/session.c, src/testdir/test_mksession.vim
15386
15387Patch 8.2.2468
15388Problem: Not easy to get the full command name from a shortened one.
15389Solution: Add fullcommand(). (Martin Tournoij, closes #7777)
15390Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
15391 src/ex_docmd.c, src/proto/evalfunc.pro,
15392 src/testdir/test_cmdline.vim
15393
15394Patch 8.2.2469
15395Problem: Confusing error if :winsize has a wrong argument.
15396Solution: Quote the argument in the error. (closes #2523)
15397Files: src/ex_docmd.c, src/testdir/test_excmd.vim
15398
15399Patch 8.2.2470
15400Problem: Popup_getoptions() does not get textprop from other tab.
15401Solution: use win_valid_any_tab(). (closes #7786)
15402Files: src/popupwin.c, src/testdir/test_popupwin.vim
15403
15404Patch 8.2.2471
15405Problem: Popup_setoptions() does not set textprop in other tab.
15406Solution: use win_valid_any_tab(). (closes #7788)
15407Files: src/popupwin.c, src/testdir/test_popupwin.vim
15408
15409Patch 8.2.2472
15410Problem: Crash when using command line window in an autocommand.
15411 (houyunsong)
15412Solution: Save and restore au_new_curbuf.
15413Files: src/ex_cmds.c, src/testdir/test_autocmd.vim
15414
15415Patch 8.2.2473
15416Problem: Crash when leaving command line window triggers autocommand.
15417 (houyunsong)
15418Solution: Make sure not to close the current window or buffer.
15419Files: src/ex_getln.c, src/testdir/test_autocmd.vim
15420
15421Patch 8.2.2474
15422Problem: Using freed memory when window is closed by autocommand.
15423 (houyunsong)
15424Solution: Check the window pointer is still valid.
15425Files: src/quickfix.c, src/testdir/test_autocmd.vim
15426
15427Patch 8.2.2475
15428Problem: Autocommand tests hangs on MS-Windows.
15429Solution: Skip one test.
15430Files: src/testdir/test_autocmd.vim
15431
15432Patch 8.2.2476
15433Problem: Using freed memory when using an autocommand to split a window
15434 while a buffer is being closed.
15435Solution: Disallow splitting when the buffer has b_locked_split set.
15436Files: src/buffer.c, src/window.c, src/errors.h, src/structs.h,
15437 src/popupwin.c, src/testdir/test_autocmd.vim
15438
15439Patch 8.2.2477
15440Problem: Autocommand tests hang on MS-Windows.
15441Solution: Skip a couple of tests. Fix file name.
15442Files: src/testdir/test_autocmd.vim
15443
15444Patch 8.2.2478
15445Problem: MS-Windows: backup files for plugins are loaded.
15446Solution: Do not use the alternate file name for files ending in "~".
15447Files: src/filepath.c
15448
15449Patch 8.2.2479
15450Problem: set/getbufline test fails without the job feature.
15451Solution: Check whether the job feature is supported. (Dominique Pellé,
15452 closes #7790)
15453Files: src/testdir/test_bufline.vim, src/testdir/test_vim9_builtin.vim
15454
15455Patch 8.2.2480
15456Problem: Vim9: some errors for white space do not show context.
15457Solution: Include the text at the error.
15458Files: src/errors.h, src/dict.c, src/list.c, src/userfunc.c,
15459 src/vim9compile.c, src/vim9script.c, src/vim9type.c
15460
15461Patch 8.2.2481
15462Problem: Vim9: confusing error when variable arguments have a default
15463 value.
15464Solution: Give a specific error message. (closes #7793)
15465Files: src/userfunc.c, src/testdir/test_vim9_func.vim
15466
15467Patch 8.2.2482
15468Problem: Build error.
15469Solution: Add new error message.
15470Files: src/errors.h
15471
15472Patch 8.2.2483
Bram Moolenaar1588bc82022-03-08 21:35:07 +000015473Problem: Vim9: type error for malformed expression.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000015474Solution: Check for end of command before checking type. (closes #7795)
15475Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
15476
15477Patch 8.2.2484
15478Problem: Vim9: Cannot use a comment starting with #{ after an expression.
15479Solution: Remove the check for "{" since #{ dictionaries are not supported.
15480Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
15481
15482Patch 8.2.2485
15483Problem: When sourcing a script again the script version isn't reset.
15484Solution: Set sn_version to one when sourcing a script again. Clear
15485 sn_save_cpo properly. (closes #7608)
15486Files: src/scriptfile.c, src/testdir/test_vim9_script.vim
15487
15488Patch 8.2.2486
15489Problem: Vim9: some errors for white space do not show context.
15490Solution: Include the text at the error.
15491Files: src/errors.h, src/dict.c, src/list.c, src/userfunc.c,
15492 src/vim9compile.c, src/vim9type.c
15493
15494Patch 8.2.2487
15495Problem: Terminal shows garbage after double-wide character with a
15496 combining character. (Kyoichiro Yamada)
15497Solution: Libvterm: do not add the width of the combining character to the
15498 glyph width. (closes #7801)
15499Files: src/libvterm/src/state.c, src/testdir/test_terminal.vim,
15500 src/testdir/dumps/Test_terminal_combining.dump
15501
15502Patch 8.2.2488
15503Problem: json_encode() gives generic argument error.
15504Solution: Mention the type that can't be encoded. (issue #7802)
15505Files: src/json.c, src/errors.h, src/testdir/test_json.vim
15506
15507Patch 8.2.2489
15508Problem: current buffer is wrong after deletebufline() fails to delete a
15509 line in another buffer.
15510Solution: Restore the current buffer.
15511Files: src/evalbuffer.c, src/testdir/test_bufline.vim
15512
15513Patch 8.2.2490
15514Problem: 'wrap' option is always reset when starting diff mode.
15515Solution: Add the "followwrap" item in 'diffopt'. (Rick Howe, closes #7797)
15516Files: runtime/doc/diff.txt, runtime/doc/options.txt, src/diff.c,
15517 src/testdir/test_diffmode.vim
15518
15519Patch 8.2.2491
15520Problem: Popup window for text property may show in first screen line.
15521Solution: If the text position is invisible do not show the popup window.
15522 (closes #7807)
15523Files: src/popupwin.c, src/testdir/test_popupwin.vim,
15524 src/testdir/dumps/Test_popup_prop_not_visible_01.dump,
15525 src/testdir/dumps/Test_popup_prop_not_visible_02.dump,
15526 src/testdir/dumps/Test_popup_prop_not_visible_03.dump
15527
15528Patch 8.2.2492
15529Problem: Command line buffer name cannot be translated.
15530Solution: Add _(). (Gabriel Dupras, closes #7812)
15531Files: src/ex_getln.c
15532
15533Patch 8.2.2493
15534Problem: Text property for text left of window shows up.
15535Solution: Check if the text property ends before the current column.
15536 (closes #7806)
15537Files: src/drawline.c, src/testdir/test_textprop.vim,
15538 src/testdir/dumps/Test_textprop_nowrap_01.dump,
15539 src/testdir/dumps/Test_textprop_nowrap_02.dump
15540
15541Patch 8.2.2494
15542Problem: ":rviminfo!" clears most of oldfiles.
15543Solution: Add VIF_ONLY_CURBUF to read_viminfo(). (closes #1781)
15544Files: src/viminfo.c, src/vim.h
15545
15546Patch 8.2.2495
15547Problem: Text jumps up and down when moving the cursor in a small window
15548 with wrapping text and 'scrolloff' set.
15549Solution: Adjust the computation of w_skipcol. (partly by Ghjuvan Lacambre,
15550 closes #7813)
15551Files: src/move.c, src/testdir/test_breakindent.vim
15552
15553Patch 8.2.2496 (after 8.2.2495)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000015554Problem: Insufficient testing for text jumping fix.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000015555Solution: Add another test case.
15556Files: src/testdir/test_breakindent.vim
15557
15558Patch 8.2.2497
15559Problem: No error when using more than one character for a register name.
15560Solution: In Vim9 script check for a single character string. (closes #7814)
15561 Fix that VAR_BOOL and VAR_SPECIAL are not considered equal.
15562Files: src/errors.h, src/evalfunc.c, src/typval.c,
15563 src/testdir/test_vim9_builtin.vim
15564
15565Patch 8.2.2498
15566Problem: No test for what 8.2.2494 fixes.
15567Solution: Add a simple change to test the fix. (closes #7818)
15568Files: src/testdir/test_viminfo.vim
15569
15570Patch 8.2.2499
15571Problem: "vim -g --version" does not redirect output.
15572Solution: Reset gui.starting when showing version info. (closes #7815)
15573Files: src/main.c, src/testdir/test_version.vim
15574
15575Patch 8.2.2500 (after 8.2.2499)
15576Problem: Build fails without the GUI feature.
15577Solution: Add #ifdef.
15578Files: src/main.c
15579
15580Patch 8.2.2501
15581Problem: Not always clear where an error is reported.
15582Solution: Add the where_T structure and pass it around. (closes #7796)
15583Files: src/structs.h, src/vim9type.c, src/proto/vim9type.pro,
15584 src/errors.h, src/evalvars.c, src/proto/evalvars.pro, src/eval.c,
15585 src/proto/eval.pro, src/vim9execute.c, src/vim9script.c,
15586 src/proto/vim9script.pro, src/dict.c, src/list.c,
15587 src/vim9compile.c, src/testdir/test_vim9_assign.vim
15588
15589Patch 8.2.2502
15590Problem: A few github actions are failing.
15591Solution: Install setuptools-rust. (closes #7823)
15592Files: .github/workflows/ci.yml
15593
15594Patch 8.2.2503
15595Problem: Vim9: a caught error may leave something on the stack.
15596Solution: Drop items from the stack if needed. (closes #7826)
15597Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
15598
15599Patch 8.2.2504
15600Problem: Vim9: crash when using an argument from a closure.
15601Solution: Check if gen_load_outer is NULL. (closes #7821)
15602Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
15603
15604Patch 8.2.2505
15605Problem: Vim9: crash after defining function with invalid return type.
15606Solution: Clear function growarrays. Fix memory leak.
15607Files: src/userfunc.c, src/testdir/test_vim9_func.vim
15608
15609Patch 8.2.2506
15610Problem: Vim9: :continue does not work correctly in a :try block
15611Solution: Add the TRYCLEANUP instruction. (closes #7827)
15612Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
15613 src/testdir/test_vim9_script.vim,
15614 src/testdir/test_vim9_disassemble.vim
15615
15616Patch 8.2.2507
15617Problem: Github build may fail if Ubuntu 20.04 is used. Installing rust is
15618 not needed.
15619Solution: Specify ubuntu-18.04 instead of latest. Update "pip" instead of
15620 installing rust. (Ozaki Kiichi, closes #7820)
15621Files: .github/workflows/ci.yml
15622
15623Patch 8.2.2508
15624Problem: Cannot change the character displayed in non existing lines.
15625Solution: Add the "eob" item to 'fillchars'. (closes #7832, closes #3820)
15626Files: runtime/doc/options.txt, runtime/doc/todo.txt,
15627 runtime/doc/windows.txt, src/drawscreen.c, src/globals.h,
15628 src/optiondefs.h, src/screen.c, src/testdir/test_display.vim
15629
15630Patch 8.2.2509
15631Problem: Tests fail on s390 build.
15632Solution: Initialize trycmd_T.
15633Files: src/vim9execute.c
15634
15635Patch 8.2.2510
15636Problem: Internal error when popup with mask is zero height or width.
15637Solution: Bail out if width or height is zero. (closes #7831)
15638Files: src/popupwin.c, src/testdir/test_popupwin.vim
15639
15640Patch 8.2.2511
15641Problem: Vim9: cannot use Vim9 script syntax in some places.
15642Solution: Add the :vim9cmd command modifier. Incompatible: Makes ":vim9"
15643 mean ":vim9cmd" instead of ":vim9script".
15644Files: runtime/doc/vim9.txt, runtime/doc/repeat.txt, src/ex_docmd.c,
15645 src/ex_cmds.h, src/structs.h, src/ex_cmdidxs.h, src/errors.h,
15646 src/testdir/test_vim9_cmd.vim, src/testdir/test_cmdline.vim,
15647 src/testdir/dumps/Test_wildmenu_1.dump,
15648 src/testdir/dumps/Test_wildmenu_2.dump,
15649 src/testdir/dumps/Test_wildmenu_3.dump,
15650 src/testdir/dumps/Test_wildmenu_4.dump,
15651 src/testdir/test_quickfix.vim
15652
15653Patch 8.2.2512
15654Problem: Vim9: compiling error test sometimes fails.
15655Solution: use WaitForAssert() instead of sleeping for a bit. (Dominique
15656 Pellé, closes #7837)
15657Files: src/testdir/term_util.vim, src/testdir/test_vim9_func.vim,
15658 src/testdir/test_vim9_script.vim
15659
15660Patch 8.2.2513 (after 8.2.2511)
15661Problem: Vim9: missing part of :vim9cmd change.
15662Solution: Use command modifier in in_vim9script().
15663Files: src/vim9script.c
15664
15665Patch 8.2.2514 (after 8.2.2511)
15666Problem: Vim9: build error in tiny version.
15667Solution: Add #ifdef.
15668Files: src/ex_docmd.c
15669
15670Patch 8.2.2515
15671Problem: Memory access error when truncating an empty message.
15672Solution: Check for an empty string. (Dominique Pellé, closes #7841)
15673Files: src/message.c, src/message_test.c
15674
15675Patch 8.2.2516
15676Problem: Test failure on s390. (analyses by James McCoy)
15677Solution: Only set the try_finally label when not skipping.
15678Files: src/vim9compile.c
15679
15680Patch 8.2.2517
15681Problem: Vim9: fix for s390 not tested on other systems.
15682Solution: Add a test.
15683Files: src/testdir/test_vim9_script.vim
15684
15685Patch 8.2.2518
15686Problem: 'listchars' should be window-local.
15687Solution: Make 'listchars' global-local. (Yegappan Lakshmanan, Marco Hinz,
15688 closes #5206, closes #7850)
15689Files: runtime/doc/options.txt, src/buffer.c, src/charset.c,
15690 src/drawline.c, src/drawscreen.c, src/evalfunc.c, src/globals.h,
15691 src/indent.c, src/message.c, src/misc1.c, src/option.c,
15692 src/option.h, src/optiondefs.h, src/optionstr.c,
15693 src/proto/screen.pro, src/screen.c, src/structs.h,
15694 src/testdir/test_listchars.vim, src/testdir/test_listlbr.vim
15695
15696Patch 8.2.2519
15697Problem: Vim9: no reason to keep strange Vi behavior.
15698Solution: ":3" and ":3|" both go to line 3. ":|" does not print the line.
15699 (closes #7840)
15700Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
15701
15702Patch 8.2.2520
15703Problem: Missing tests for 'listchars'.
15704Solution: Add a few more checks. (Yegappan Lakshmanan, closes #7854)
15705Files: src/testdir/test_listchars.vim
15706
15707Patch 8.2.2521
15708Problem: Some compilers can't handle pointer initialization. (John
15709 Marriott)
15710Solution: Use a local struct and assign it afterwards.
15711Files: src/screen.c
15712
15713Patch 8.2.2522
15714Problem: Beancount filetype not recognized.
15715Solution: Add a detection rule. (Brian Ryall, closes #7859)
15716Files: runtime/filetype.vim, src/testdir/test_filetype.vim
15717
15718Patch 8.2.2523
15719Problem: Svelte filetype not recognized.
15720Solution: Add a detection rule. (Brian Ryall, closes #7858)
15721Files: runtime/filetype.vim, src/testdir/test_filetype.vim
15722
15723Patch 8.2.2524
15724Problem: Cannot change the characters displayed in the foldcolumn.
15725Solution: Add fields to 'fillchars'. (Yegappan Lakshmanan, Matthieu Coudron,
15726 closes #7860)
15727Files: runtime/doc/options.txt, src/globals.h, src/mouse.c, src/screen.c,
15728 src/testdir/test_display.vim
15729
15730Patch 8.2.2525
15731Problem: Vim9: only local variables checked for a name.
15732Solution: Also check arguments and script variables. (closes #7838)
15733Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
15734 src/testdir/test_vim9_cmd.vim
15735
15736Patch 8.2.2526 (after 8.2.2525)
15737Problem: Build failure.
15738Solution: Change lookup_scriptvar() arguments.
15739Files: src/evalvars.c, src/proto/evalvars.pro
15740
15741Patch 8.2.2527
15742Problem: Vim9: lambda return type is not determined at script level.
15743Solution: Compile the lambda to get the return type. (closes #7843)
15744Files: src/eval.c, src/vim.h, src/vim9.h,
15745 src/testdir/test_vim9_assign.vim
15746
15747Patch 8.2.2528
15748Problem: Vim9: crash when compiling lambda fails.
15749Solution: Bail out after compilation fails. (closes #7862)
15750Files: src/eval.c, src/testdir/test_vim9_assign.vim
15751
15752Patch 8.2.2529
15753Problem: Vim9: Not possible to use legacy and Vim9 script in one file.
15754Solution: Vim9: allow for "if false" before :vim9script. (closes #7851)
15755Files: runtime/doc/vim9.txt, src/ex_docmd.c,
15756 src/testdir/test_vim9_script.vim
15757
15758Patch 8.2.2530
15759Problem: Vim9: not enough testing for profiling.
15760Solution: Add a test with nested functions and a lambda. Fix profiling
15761 for calling a compiled function.
15762Files: src/profiler.c, src/proto/profiler.pro, src/userfunc.c,
15763 src/vim9execute.c, src/testdir/test_profile.vim
15764
15765Patch 8.2.2531
15766Problem: Vim9: the :k command is obscure.
15767Solution: Disallow using :k, can use :mark instead. (closes #7874)
15768Files: runtime/doc/vim9.txt, src/ex_docmd.c, src/vim9script.c,
15769 src/vim9compile.c, src/ex_cmds.h, src/testdir/test_vim9_script.vim
15770
15771Patch 8.2.2532
15772Problem: Vim9: confusing error if :k is used with a range.
15773Solution: Give an error about the range. (issue #7874)
15774Files: src/vim9script.c, src/vim9compile.c,
15775 src/testdir/test_vim9_script.vim
15776
15777Patch 8.2.2533
15778Problem: Vim9: cannot use a range with :unlet.
15779Solution: Implement ISN_UNLETRANGE.
15780Files: src/errors.h, src/eval.c, src/evalvars.c, src/list.c,
15781 src/proto/evalvars.pro, src/proto/list.pro, src/vim9.h,
Bram Moolenaar47c532e2022-03-19 15:18:53 +000015782 src/vim9compile.c, src/vim9execute.c,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000015783 src/testdir/test_vim9_assign.vim
15784
15785Patch 8.2.2534
15786Problem: Missing test coverage.
15787Solution: Improve test coverage for completion with different encodings,
15788 mapset(), and term function failures. (Dominique Pellé,
15789 closes #7877)
15790Files: src/testdir/test_edit.vim, src/testdir/test_maparg.vim,
15791 src/testdir/test_terminal3.vim
15792
15793Patch 8.2.2535
15794Problem: MS-Windows: cannot run all vim9 tests.
15795Solution: Make test_vim9 target work.
15796Files: src/Make_mvc.mak
15797
15798Patch 8.2.2536
15799Problem: Coverity complains about unchecked return value.
15800Solution: Add (void).
15801Files: src/userfunc.c
15802
15803Patch 8.2.2537
15804Problem: Vim9: crash when map() fails.
15805Solution: Clear typval before using it. (closes #7884)
15806Files: src/list.c, src/testdir/test_vim9_builtin.vim
15807
15808Patch 8.2.2538
15809Problem: Crash when using Python list iterator.
15810Solution: Increment the list reference count. (closes #7886)
15811Files: src/if_py_both.h, src/testdir/test_python3.vim
15812
15813Patch 8.2.2539
15814Problem: Vim9: return from finally block causes a hang.
15815Solution: Store both the finally and endtry indexes. (closes #7885)
15816Files: src/vim9execute.c, src/vim9compile.c, src/vim9.h,
15817 src/testdir/test_vim9_script.vim,
Bram Moolenaar47c532e2022-03-19 15:18:53 +000015818
Bram Moolenaarc51cf032022-02-26 12:25:45 +000015819Patch 8.2.2540
15820Problem: Vim9: no error for using script var name for argument.
15821Solution: Check for this error. (closes #7868)
15822Files: src/userfunc.c, src/vim9compile.c, src/proto/vim9compile.pro,
15823 src/testdir/test_vim9_func.vim
15824
15825Patch 8.2.2541
15826Problem: Popup_create() does not allow boolean for "cursorline".
15827Solution: Use dict_get_bool(). (issue #7869)
15828Files: src/popupwin.c, src/testdir/test_popupwin.vim
15829
15830Patch 8.2.2542
15831Problem: Highlight of char beyond line end is not correct. (Chuan Wei Foo)
15832Solution: Fix counting NUL as one cell. Draw one more character if the EOL
15833 is part of the match. (closes #7883)
15834Files: src/match.c, src/testdir/test_search.vim,
15835 src/testdir/dumps/Test_hlsearch_1.dump,
15836 src/testdir/dumps/Test_hlsearch_2.dump
15837
15838Patch 8.2.2543
15839Problem: Vim9: a return inside try/catch does not restore exception state
15840 properly.
15841Solution: When there is no ":finally" jump to ":endtry". (closes #7882)
15842Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
15843
15844Patch 8.2.2544
15845Problem: Vim9: error for argument when checking for lambda.
15846Solution: Respect the skip flag. (closes #7887)
15847Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
15848
15849Patch 8.2.2545
15850Problem: Errors and crash when terminal window is zero height. (Leonid V.
15851 Fedorenchik)
15852Solution: Do not resize when width or height is zero. (closes #7890)
15853Files: src/terminal.c, src/testdir/test_terminal.vim
15854
15855Patch 8.2.2546
15856Problem: Typo in mouse key name.
15857Solution: Fix the typo. (issue #4725)
15858Files: src/misc2.c
15859
15860Patch 8.2.2547
15861Problem: "%" command not accurate for big files.
15862Solution: Make it more accurate for files up to 21M lines. (Dominique Pellé,
15863 closes #7889)
15864Files: src/normal.c
15865
15866Patch 8.2.2548
15867Problem: May get stuck in the cmdline window using :normal.
15868Solution: Have nv_esc() return K_IGNORE.
15869Files: src/normal.c
15870
15871Patch 8.2.2549
15872Problem: Crash after using "g:" in a for loop.
15873Solution: Increment the reference count. (closes #7892)
15874Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
15875
15876Patch 8.2.2550
15877Problem: Signal stack size is wrong with latest glibc 2.34.
15878Solution: Use sysconf(_SC_SIGSTKSZ) if available. (Zdenek Dohnal, closes
15879 #7895)
15880Files: src/config.h.in, src/configure.ac, src/os_unix.c,
15881 src/auto/configure
15882
15883Patch 8.2.2551
15884Problem: MS-Windows: colors test file is not installed.
15885Solution: Also copy runtime/colors/tools. (Ken Takata, closes #7902)
15886Files: nsis/gvim.nsi
15887
15888Patch 8.2.2552
15889Problem: Vim9: no reason to consider "{{{{{{{{" a command.
15890Solution: Just use "{". (issue #7904)
15891Files: src/ex_cmds.h
15892
15893Patch 8.2.2553
15894Problem: Vim9: Cannot put "|" after "{".
15895Solution: Add the EX_TRLBAR flag. (issue #7904)
15896Files: src/ex_cmds.h, src/ex_eval.c
15897
15898Patch 8.2.2554
15899Problem: Vim9: exporting a final is not tested.
15900Solution: Add a test.
15901Files: src/testdir/test_vim9_script.vim
15902
15903Patch 8.2.2555
15904Problem: Vim9: missing test for 8.2.2553.
15905Solution: Add a simple test.
15906Files: src/testdir/test_vim9_script.vim
15907
15908Patch 8.2.2556
15909Problem: Vim9: :import with "as" not fully supported.
15910Solution: Implement "as" for more cases.
15911Files: src/vim9script.c, src/testdir/test_vim9_script.vim
15912
15913Patch 8.2.2557
15914Problem: Compiler warning for shadowed variable.
15915Solution: Declare "p" only once.
15916Files: src/vim9script.c
15917
15918Patch 8.2.2558
15919Problem: No error if a lambda argument shadows a variable.
15920Solution: Check that the argument name shadows a local, argument or script
15921 variable. (closes #7898)
15922Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
15923 src/vim9script.c, src/errors.h, src/testdir/test_vim9_func.vim,
15924 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim
15925
15926Patch 8.2.2559
15927Problem: MS-Windows: guifont test fails on Windows XP.
15928Solution: Check windowsversion().
15929Files: src/testdir/test_gui.vim
15930
15931Patch 8.2.2560
15932Problem: Setting 'winminheigt' does not take tabline into account.
15933Solution: Subtract the tabline from the available height. (closes #7899)
15934Files: src/window.c, src/testdir/test_options.vim
15935
15936Patch 8.2.2561
15937Problem: Not all textprop code is covered by tests.
15938Solution: Add a few more test cases. (Dominique Pellé, closes #7908)
15939Files: src/testdir/test_textprop.vim
15940
15941Patch 8.2.2562
Bram Moolenaar1588bc82022-03-08 21:35:07 +000015942Problem: GUI: star register changed when 'clipboard' is "unnamedplus". (Ingo
Bram Moolenaarc51cf032022-02-26 12:25:45 +000015943 Karkat)
15944Solution: Do not change the star register when 'clipboard' contains
15945 "unnamedplus" and not "unnamed". (closes #1516)
15946Files: src/register.c
15947
15948Patch 8.2.2563
15949Problem: Cannot use multibyte characters for folding in 'fillchars'.
15950Solution: Port pull request 11568 to Vim. (Yegappan Lakshmanan,
15951 closes #7924)
15952Files: src/drawline.c, src/drawscreen.c, src/macros.h,
15953 src/proto/screen.pro, src/screen.c, src/testdir/test_fold.vim,
15954 src/testdir/test_profile.vim
15955
15956Patch 8.2.2564
15957Problem: Focus events end Insert mode if 'esckeys' is not set.
15958Solution: Do not enable focus events when 'esckeys' is off. (closes #7926)
15959Files: src/term.c
15960
15961Patch 8.2.2565
15962Problem: Vim9: "..=" not always recognized.
15963Solution: Do not consider "..=" to be string concatenation. (closes #7905)
15964Files: src/eval.c, src/testdir/test_vim9_assign.vim
15965
15966Patch 8.2.2566
15967Problem: Vim9: Function name is not recognized.
15968Solution: Change lookup_scriptvar() to also find function names.
15969 (closes #7770)
15970Files: src/vim9script.c, src/evalvars.c, src/proto/evalvars.pro,
15971 src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
15972
15973Patch 8.2.2567
15974Problem: Vim9: no error if variable is defined for existing function.
15975Solution: Check if name isn't already in use. (closes #7897)
15976Files: src/evalvars.c, src/testdir/test_vim9_script.vim
15977
15978Patch 8.2.2568
15979Problem: Second time a preview popup is opened highlight is not set.
15980 (Gabriel Dupras)
15981Solution: Apply 'previewpopup' after getting the file. (closes #7928)
15982Files: src/tag.c, src/testdir/test_popupwin.vim,
15983 src/testdir/dumps/Test_popupwin_previewpopup_2.dump,
15984 src/testdir/dumps/Test_popupwin_previewpopup_3.dump,
15985 src/testdir/dumps/Test_popupwin_previewpopup_4.dump,
15986 src/testdir/dumps/Test_popupwin_previewpopup_5.dump
15987
15988Patch 8.2.2569
15989Problem: 'fillchars' "stl" and "stlnc" items must be single byte.
15990Solution: Accept multi-byte characters. (Christian Wellenbrock, Yegappan
15991 Lakshmanan, closes #7927)
15992Files: runtime/doc/options.txt, src/buffer.c, src/macros.h, src/screen.c,
15993 src/testdir/test_fold.vim, src/testdir/test_statusline.vim
15994
15995Patch 8.2.2570
15996Problem: Tests fail when run as root.
15997Solution: Add a comment mentioning the expected failure. (issue #7919)
15998Files: src/testdir/test_edit.vim, src/testdir/test_excmd.vim,
15999 src/testdir/test_help.vim, src/testdir/test_writefile.vim
16000
16001Patch 8.2.2571
16002Problem: Test may leave file behind.
16003Solution: Delete the temporary file. Don't profile in the running Vim
16004 instance.
16005Files: src/testdir/test_quickfix.vim, src/testdir/test_profile.vim
16006
16007Patch 8.2.2572
16008Problem: Vim9: crash when getting the types for a legacy function.
16009Solution: Initialize the type list growarray. (closes #7929)
16010Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
16011
16012Patch 8.2.2573
16013Problem: Vim9: using invalid pointer for error message.
16014Solution: Use the right pointer. (closes #7921)
16015Files: src/eval.c, src/testdir/test_vim9_expr.vim
16016
16017Patch 8.2.2574
16018Problem: Vim9: crash when calling partial with wrong function.
16019Solution: Check argument types of called function. (closes #7912)
16020Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
16021
16022Patch 8.2.2575
16023Problem: Vim9: a function name with "->" in the next line doesn't work.
16024Solution: Recognize a function name by itself. (closes #7770)
16025Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
16026
16027Patch 8.2.2576
16028Problem: Vim9: defining a :func function checks for white space after a
16029 comma in the arguments.
16030Solution: Only check for white space in a :def function. (closes #7930)
16031Files: src/userfunc.c, src/testdir/test_vim9_func.vim
16032
16033Patch 8.2.2577
16034Problem: Compiler warning for type conversion.
16035Solution: Add a typecast. (Mike Williams)
16036Files: src/drawline.c
16037
16038Patch 8.2.2578
16039Problem: Lua cannot handle a passed in lambda.
16040Solution: Handle VAR_PARTIAL. (Prabir Shrestha, closes #7937, closes #7936)
16041Files: src/if_lua.c, src/testdir/test_lua.vim
16042
16043Patch 8.2.2579
16044Problem: Vim9: crash in garbagecollect after for loop.
16045Solution: Do not set a reference in script item when the name was cleared.
16046 (closes #7935)
16047Files: src/evalvars.c
16048
16049Patch 8.2.2580
16050Problem: Vim9: checking vararg type is wrong when function is auto-loaded.
16051Solution: Use the member type. (closes #7933)
16052Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
16053
16054Patch 8.2.2581
16055Problem: Vim9: sourcing Vim9 script triggers a redraw.
16056Solution: Do not let setting/restoring 'cpoptions' cause a redraw.
16057 (closes #7920)
16058Files: src/vim.h, src/option.c, src/optionstr.c, src/scriptfile.c,
16059 src/vim9script.c, src/testdir/test_vim9_script.vim,
16060 src/testdir/dumps/Test_vim9_no_redraw.dump
16061
16062Patch 8.2.2582 (after 8.2.2581)
16063Problem: Vim9: screendump test fails on MS-Windows.
16064Solution: Use :function instead of :def.
16065Files: src/testdir/test_vim9_script.vim
16066
16067Patch 8.2.2583
16068Problem: Vim9: cannot compare result of getenv() with null.
16069Solution: Make the return type of getenv() "any". (closes #7943)
16070Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
16071
16072Patch 8.2.2584
16073Problem: Vim9: type error for assigning the result of list concatenation to
16074 a list.
16075Solution: Do not consider concatenation result in a constant. (closes #7942)
16076Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
16077
16078Patch 8.2.2585
16079Problem: Vim9: illegal memory access.
16080Solution: Check byte right after "null", not one more.
16081Files: src/vim9compile.c
16082
16083Patch 8.2.2586
16084Problem: Process id may be invalid.
16085Solution: Use sysinfo.uptime to check for recent reboot. (suggested by Hugo
16086 van der Sanden, closes #7947)
16087Files: src/configure.ac, src/auto/configure, src/config.h.in,
16088 src/memline.c, src/testing.c, src/globals.h,
16089 src/testdir/test_recover.vim
16090
16091Patch 8.2.2587 (after 8.2.2586)
16092Problem: Recover test fails on FreeBSD.
16093Solution: Check for Linux.
16094Files: src/testdir/check.vim, src/testdir/test_recover.vim
16095
16096Patch 8.2.2588 (after 8.2.2586)
16097Problem: Build failure with tiny features.
16098Solution: Add #ifdef. Run recover test separately.
16099Files: src/memline.c, src/testdir/Make_all.mak, src/testdir/test_alot.vim
16100
16101Patch 8.2.2589 (after 8.2.2586)
16102Problem: Recover test hangs in the GUI.
16103Solution: Add g:skipped_reason to skip a _nocatch_ test.
16104Files: src/testdir/runtest.vim, src/testdir/test_recover.vim
16105
16106Patch 8.2.2590
16107Problem: Vim9: default argument value may cause internal error.
16108Solution: Hide later function arguments when compiling the expression.
16109 (closes #7948)
16110Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
16111
16112Patch 8.2.2591
16113Problem: Poke files are not recognized.
16114Solution: Add a filetype entry. (Matt Ihlenfield)
16115Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16116
16117Patch 8.2.2592
16118Problem: Code coverage could be improved.
16119Solution: Add a few more tests. (Dominique Pellé, closes #7957)
16120Files: src/testdir/test_fileformat.vim, src/testdir/test_normal.vim,
16121 src/testdir/test_sleep.vim, src/testdir/test_textformat.vim,
16122 src/testdir/test_viminfo.vim
16123
16124Patch 8.2.2593
16125Problem: List of distributed files is incomplete.
16126Solution: Add a file and rename another.
16127Files: Filelist
16128
16129Patch 8.2.2594
16130Problem: Alternate buffer added to session file even when it's hidden.
16131Solution: Check the 'buflisted' option. (closes #7951)
16132Files: src/session.c, src/testdir/test_mksession.vim
16133
16134Patch 8.2.2595
16135Problem: Setting 'winminheight' may cause 'lines' to change.
16136Solution: Also take minimal height of other tabpages into account. (#7899)
16137Files: src/window.c, src/testdir/test_options.vim
16138
16139Patch 8.2.2596
16140Problem: :doautocmd may confuse scripts listening to WinEnter.
16141Solution: Do the current buffer last. (closes #7958)
16142Files: src/autocmd.c, src/testdir/test_autocmd.vim
16143
16144Patch 8.2.2597
16145Problem: Vim9: "import * as" does not work at script level.
16146Solution: Implement using an imported namespace.
16147Files: src/vim.h, src/eval.c, src/evalvars.c, src/proto/evalvars.pro,
16148 src/vim9execute.c, src/errors.h, src/vim9script.c,
16149 src/proto/vim9script.pro, src/testdir/test_vim9_script.vim
16150
16151Patch 8.2.2598
16152Problem: Vim9: :open does not need to be supported.
16153Solution: Do not support :open in Vim9 script.
16154Files: src/ex_docmd.c, src/vim9script.c, src/testdir/test_vim9_script.vim
16155
16156Patch 8.2.2599 (after 8.2.2597)
16157Problem: Build failure.
16158Solution: Add missing change.
16159Files: src/vim9compile.c
16160
16161Patch 8.2.2600
16162Problem: Vim9: crash when putting an unknown type in a dictionary.
16163 (Yegappan Lakshmanan)
16164Solution: Handle a NULL type pointer.
16165Files: src/vim9type.c, src/testdir/test_vim9_builtin.vim
16166
16167Patch 8.2.2601
16168Problem: Memory usage test often fails on FreeBSD.
16169Solution: Increase multiplier for upper limit.
16170Files: src/testdir/test_memory_usage.vim
16171
16172Patch 8.2.2602
16173Problem: Vim9: continue doesn't work if :while is very first command.
16174 (Yegappan Lakshmanan)
16175Solution: Add one to the continue instruction index.
16176Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
16177
16178Patch 8.2.2603
16179Problem: Vim9: no effect if user command is also a function.
16180Solution: Check for paren following. (closes #7960)
16181Files: src/evalvars.c, src/proto/evalvars.pro, src/ex_docmd.c,
16182 src/proto/ex_docmd.pro, src/vim9compile.c,
16183 src/testdir/test_vim9_cmd.vim
16184
16185Patch 8.2.2604
16186Problem: GUI-specific command line arguments not tested.
16187Solution: Add tests for several arguments. (Dominique Pellé, closes #7962)
16188Files: src/testdir/test_startup.vim
16189
16190Patch 8.2.2605
16191Problem: Vim9: string index and slice does not include composing chars.
16192Solution: Include composing characters. (issue #6563)
16193Files: runtime/doc/vim9.txt, src/vim9execute.c,
16194 src/testdir/test_vim9_expr.vim
16195
16196Patch 8.2.2606
16197Problem: strchars() defaults to counting composing characters.
16198Solution: Add strcharlen() which ignores composing characters.
16199Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
16200 src/testdir/test_utf8.vim
16201
16202Patch 8.2.2607
16203Problem: strcharpart() cannot include composing characters.
16204Solution: Add the {skipcc} argument.
16205Files: runtime/doc/eval.txt, src/evalfunc.c,
16206 src/testdir/test_expr_utf8.vim
16207
16208Patch 8.2.2608
16209Problem: Character input not fully tested.
16210Solution: Add more tests. (Yegappan Lakshmanan, closes #7963)
16211Files: src/testdir/test_functions.vim, src/testdir/test_messages.vim,
16212 src/testdir/test_paste.vim, src/testdir/test_registers.vim,
16213 src/testdir/test_undo.vim
16214
16215Patch 8.2.2609
16216Problem: Test disabled on MS-Windows even though it should work.
16217Solution: Restore the condition for skipping the test. (Ken Takata,
16218 closes #7970)
16219Files: src/testdir/test_startup.vim
16220
16221Patch 8.2.2610
16222Problem: Mouse click test fails when using remote connection.
16223Solution: Use a larger 'mousetime'. (Dominique Pellé, closes #7968)
16224Files: src/testdir/test_selectmode.vim
16225
16226Patch 8.2.2611
16227Problem: Conditions for startup tests are not exactly right.
16228Solution: Check for type of GUI instead of MS-Windows. (Ozaki Kiichi,
16229 closes #7976)
16230Files: src/main.c, src/testdir/check.vim, src/testdir/test_startup.vim
16231
16232Patch 8.2.2612
16233Problem: col('.') may get outdated column value.
16234Solution: Add a note to the help how to make this work and add a test for
16235 it. (closes #7971)
16236Files: runtime/doc/map.txt, src/testdir/test_mapping.vim
16237
16238Patch 8.2.2613 (after 8.2.2612)
16239Problem: New test throws exception.
16240Solution: Adjust the function cleanup.
16241Files: src/testdir/test_mapping.vim
16242
16243Patch 8.2.2614
16244Problem: Vim9: function is deleted while executing.
16245Solution: increment the call count, when more than zero do not delete the
16246 function but mark it as dead. (closes #7977)
16247Files: src/vim9execute.c, src/userfunc.c,
16248 src/testdir/test_vim9_script.vim
16249
16250Patch 8.2.2615 (after 8.2.2614)
16251Problem: Test is sourcing the wrong file.
16252Solution: Correct the file name.
16253Files: src/testdir/test_vim9_script.vim
16254
16255Patch 8.2.2616
16256Problem: Vim9: if 'cpo' is changed in Vim9 script it may be restored.
16257Solution: Apply the changes to 'cpo' to the restored value.
16258Files: runtime/doc/vim9.txt, src/scriptfile.c,
16259 src/testdir/test_vim9_script.vim
16260
16261Patch 8.2.2617
16262Problem: Vim9: script variable in a block scope not found by a nested
16263 function.
16264Solution: Copy the block scope IDs before compiling the function.
16265Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
16266 src/testdir/test_vim9_disassemble.vim
16267
16268Patch 8.2.2618
16269Problem: Vim9: cannot use a normal list name to store function refs.
16270Solution: Allow a lower case name if it is indexed.
16271Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
16272
16273Patch 8.2.2619
16274Problem: Vim9: no test for return type of lambda.
16275Solution: Add a test.
16276Files: src/testdir/test_vim9_func.vim
16277
16278Patch 8.2.2620
16279Problem: Vim9: Using #{ for a dictionary gives strange errors.
16280Solution: Give an error when using #{ for a comment after a command.
16281Files: src/vim9compile.c, src/vim9script.c, src/proto/vim9script.pro,
16282 src/errors.h, src/testdir/test_vim9_expr.vim,
16283 src/testdir/test_vim9_script.vim
16284
16285Patch 8.2.2621
16286Problem: typval2type() cannot handle recursive structures.
16287Solution: Use copyID. (closes #7979)
16288Files: src/list.c, src/vim9script.c, src/vim9type.c,
16289 src/proto/vim9type.pro, src/testdir/test_vimscript.vim
16290
16291Patch 8.2.2622
16292Problem: GTK: error when starting up and -geometry is given. (Dominique
16293 Pellé)
16294Solution: Use another function to get the monitor if the window has not been
16295 created yet. (closes #7978)
16296Files: src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro, src/gui_beval.c,
16297 src/gui_xim.c
16298
16299Patch 8.2.2623
16300Problem: Some tests fail when run as root.
16301Solution: Use CheckNotRoot.
16302Files: src/testdir/test_edit.vim, src/testdir/test_excmd.vim,
16303 src/testdir/test_help.vim, src/testdir/test_writefile.vim
16304
16305Patch 8.2.2624
16306Problem: Atom files not recognized.
16307Solution: Recognize .atom as XML. (Kivin Locke, closes #7986)
16308Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16309
16310Patch 8.2.2625
16311Problem: Rss files not recognized.
16312Solution: Recognize .rss as XML. (Kivin Locke, closes #7987)
16313Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16314
16315Patch 8.2.2626
16316Problem: GTK3: error when starting up and -geometry is given. (Dominique
16317 Pellé)
16318Solution: Use another function to get the monitor if the window has not been
16319 created yet. (closes #7978)
16320Files: src/gui_gtk_x11.c
16321
16322Patch 8.2.2627
16323Problem: No need to check for BSD after checking for not root.
16324Solution: Remove CheckNotBSD. (Ozaki Kiichi, closes #7989)
16325Files: src/testdir/test_excmd.vim, src/testdir/test_help.vim,
16326 src/testdir/check.vim
16327
16328Patch 8.2.2628
16329Problem: Vim9: #{ can still be used at the script level.
16330Solution: Give an error for #{ like in a :def function.
16331Files: src/eval.c, src/ex_docmd.c, src/testdir/test_vim9_expr.vim
16332
16333Patch 8.2.2629
16334Problem: Vim9: error for #{{ is not desired.
16335Solution: Adjust the checks. (closes #7990)
16336Files: src/errors.h, src/vim9script.c, src/ex_docmd.c,
16337 src/testdir/test_vim9_expr.vim
16338
16339Patch 8.2.2630
16340Problem: Hard to see where a test gets stuck.
16341Solution: Print the executed test function. (Dominique Pellé, closes #7975)
16342Files: src/testdir/Makefile
16343
16344Patch 8.2.2631
16345Problem: Commands from winrestcmd() do not always work properly. (Leonid V.
16346 Fedorenchik)
16347Solution: Repeat the size commands twice. (closes #7988)
16348Files: src/evalwindow.c, src/testdir/test_window_cmd.vim
16349
16350Patch 8.2.2632
16351Problem: Not all command line arguments are tested.
16352Solution: Add tests for -D and -serverlist. (Dominique Pellé, closes #7992)
16353Files: src/testdir/test_clientserver.vim, src/testdir/test_startup.vim
16354
16355Patch 8.2.2633
16356Problem: Multi-byte 'fillchars' for folding do not show properly.
16357Solution: Handle multi-byte characters correctly. (Yegappan Lakshmanan,
16358 closes #7983, closes #7955)
16359Files: src/screen.c, src/testdir/test_fold.vim
16360
16361Patch 8.2.2634
16362Problem: 'tagfunc' does not indicate using a pattern.
16363Solution: Add the "r" flag. (Andy Massimino, closes #7982)
16364Files: runtime/doc/tagsrch.txt, src/tag.c, src/testdir/test_tagfunc.vim
16365
16366Patch 8.2.2635
16367Problem: Vim9: cannot define an inline function.
16368Solution: Make an inline function mostly work.
16369Files: src/userfunc.c, src/errors.h, src/vim9compile.c, src/misc2.c,
16370 src/proto/vim9compile.pro, src/testdir/test_vim9_expr.vim
16371
16372Patch 8.2.2636 (after 8.2.2635)
16373Problem: Memory leak when compiling inline function.
16374Solution: Free the prefetched line.
16375Files: src/userfunc.c, src/vim9compile.c, src/structs.h, src/globals.h,
16376 src/eval.c
16377
16378Patch 8.2.2637
16379Problem: prop_remove() causes a redraw even when nothing changed.
16380Solution: Only redraw if a property was removed. (Dominique Pellé)
16381Files: src/textprop.c
16382
16383Patch 8.2.2638
16384Problem: Cannot write a message to the terminal from the GUI.
16385Solution: Add :echoconsole and use it in the test runner. (issue #7975)
16386Files: runtime/doc/eval.txt, runtime/doc/index.txt, src/ex_cmds.h,
16387 src/ex_cmdidxs.h, src/eval.c, src/ui.c, src/proto/ui.pro,
16388 src/term.c, src/testdir/runtest.vim
16389
16390Patch 8.2.2639 (after 8.2.2638)
16391Problem: Build failure when fsync() is not available.
16392Solution: Add #ifdef.
16393Files: src/ui.c
16394
16395Patch 8.2.2640
16396Problem: screenstring() returns non-existing composing characters.
16397Solution: Only use composing characters if there is a base character.
16398Files: src/evalfunc.c, src/testdir/test_listchars.vim
16399
16400Patch 8.2.2641
16401Problem: Display test fails because of lacking redraw.
16402Solution: Add a redraw command.
16403Files: src/testdir/test_display.vim
16404
16405Patch 8.2.2642
16406Problem: Vim9: no clear error for wrong inline function.
16407Solution: Check for something following the "{".
16408Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
16409
16410Patch 8.2.2643
16411Problem: Various code not covered by tests.
16412Solution: Add a few more test. (Yegappan Lakshmanan, closes #7995)
16413Files: src/testdir/test_edit.vim, src/testdir/test_functions.vim,
16414 src/testdir/test_mapping.vim, src/testdir/test_termcodes.vim,
16415 src/testdir/test_undo.vim
16416
16417Patch 8.2.2644
16418Problem: prop_clear() causes a screen update even when nothing changed.
16419Solution: Only redraw when a property was cleared. (Dominique Pellé)
16420Files: src/textprop.c
16421
16422Patch 8.2.2645
16423Problem: Using inline function is not properly tested.
16424Solution: Add test cases, esp. for errors. Minor code improvements.
16425Files: src/userfunc.c, src/errors.h, src/testdir/test_vim9_expr.vim,
16426 src/testdir/test_vim9_func.vim
16427
16428Patch 8.2.2646
16429Problem: Vim9: error for not using string doesn't mention argument.
16430Solution: Add argument number.
16431Files: src/filepath.c, src/typval.c, src/proto/typval.pro, src/errors.h,
16432 src/mbyte.c, src/testdir/test_vim9_builtin.vim
16433
16434Patch 8.2.2647
16435Problem: Terminal test sometimes hangs.
16436Solution: Wait for the shell to display a prompt.
16437Files: src/testdir/test_terminal.vim
16438
16439Patch 8.2.2648
16440Problem: Terminal resize test sometimes hangs.
16441Solution: Wait for the shell to display a prompt and other output.
16442Files: src/testdir/test_terminal2.vim
16443
16444Patch 8.2.2649
16445Problem: Vim9: some wincmd arguments cause a white space error.
16446Solution: Insert a space before the count. (closes #8001)
16447Files: src/window.c, src/testdir/test_vim9_cmd.vim
16448
16449Patch 8.2.2650
16450Problem: Vim9: command modifiers not handled in nested function.
16451Solution: Keep function-local info in a structure and save it on the stack.
16452Files: src/vim9execute.c, src/vim9.h, src/testdir/test_vim9_func.vim
16453
16454Patch 8.2.2651
16455Problem: Vim9: restoring command modifiers happens after jump.
16456Solution: Move the restore instruction to before the jump. (closes #8006)
16457 Also handle for and while.
16458Files: src/vim9compile.c, src/vim9execute.c,
16459 src/testdir/test_vim9_disassemble.vim
16460
16461Patch 8.2.2652
16462Problem: Vim9: can use command modifier without an effect.
16463Solution: Give an error for a misplaced command modifier. Fix error message
16464 number.
16465Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
16466 src/ex_eval.c, src/testdir/test_vim9_cmd.vim,
16467 src/testdir/test_vim9_builtin.vim,
16468 src/testdir/test_vim9_disassemble.vim
16469
16470Patch 8.2.2653
16471Problem: Build failure.
16472Solution: Add missing changes.
16473Files: src/errors.h
16474
16475Patch 8.2.2654
16476Problem: Vim9: getting a character from a string can be slow.
16477Solution: Avoid a function call to get the character byte size. (#8000)
16478Files: src/vim9execute.vim
16479
16480Patch 8.2.2655
16481Problem: The -w command line argument doesn't work.
16482Solution: Don't set 'window' when set with the -w argument. (closes #8011)
16483Files: src/term.c, src/testdir/test_startup.vim
16484
16485Patch 8.2.2656
16486Problem: Some command line arguments and regexp errors not tested.
16487Solution: Add a few test cases. (Dominique Pellé, closes #8013)
16488Files: src/testdir/test_regexp_latin.vim, src/testdir/test_startup.vim
16489
16490Patch 8.2.2657
16491Problem: Vim9: error message for declaring variable in for loop.
16492Solution: Clear variables when entering block again. (closes #8012)
16493Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
16494
16495Patch 8.2.2658
16496Problem: :for cannot loop over a string.
16497Solution: Accept a string argument and iterate over its characters.
16498Files: runtime/doc/eval.txt, src/eval.c, src/vim9compile.c,
16499 src/vim9execute.c, src/errors.h, src/testdir/test_vimscript.vim,
16500 src/testdir/test_vim9_disassemble.vim,
16501 src/testdir/test_vim9_script.vim
16502
16503Patch 8.2.2659 (after 8.2.2658)
16504Problem: Eval test fails because for loop on string works.
16505Solution: Check looping over function reference fails.
16506Files: src/testdir/test_eval_stuff.vim
16507
16508Patch 8.2.2660
16509Problem: Vim9: no error for declaration with trailing text.
16510Solution: Give an error. (closes #8014)
16511Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
16512
16513Patch 8.2.2661
16514Problem: Leaking memory when looping over a string.
16515Solution: Free the memory.
16516Files: src/eval.c
16517
16518Patch 8.2.2662
16519Problem: There is no way to avoid some escape sequences.
16520Solution: Suppress escape sequences when the --not-a-term argument is used.
16521 (Gary Johnson)
16522Files: src/main.c, src/os_unix.c, src/testdir/test_startup.vim
16523
16524Patch 8.2.2663
16525Problem: Vim9: leaking memory when inline function has an error.
16526Solution: Free the partially allocated function.
16527Files: src/userfunc.c
16528
16529Patch 8.2.2664
16530Problem: Vim9: not enough function arguments checked for string.
16531Solution: Check in balloon functions. Refactor function arguments.
16532Files: src/typval.c, src/proto/typval.pro, src/filepath.c,
16533 src/evalfunc.c, src/mbyte.c, src/testdir/test_vim9_builtin.vim
16534
16535Patch 8.2.2665 (after 8.2.2664)
16536Problem: Test failures.
16537Solution: Check more specific feature. Add missing change.
16538Files: src/testdir/test_vim9_builtin.vim, src/evalbuffer.c
16539
16540Patch 8.2.2666
16541Problem: Vim9: not enough function arguments checked for string.
16542Solution: Check in ch_logfile(), char2nr() and others.
16543Files: src/channel.c, src/evalfunc.c, src/filepath.c, src/eval.c,
16544 src/testdir/test_vim9_builtin.vim
16545
16546Patch 8.2.2667
16547Problem: prop_find() cannot find item matching both id and type.
16548Solution: Add the "both" argument. (Naohiro Ono, closes #8019)
16549Files: runtime/doc/textprop.txt, src/testdir/test_textprop.vim,
16550 src/textprop.c
16551
16552Patch 8.2.2668
16553Problem: Vim9: omitting "call" for "confirm()" does not give an error.
16554Solution: Do not recognize a modifier followed by "(".
16555Files: src/ex_docmd.c, src/testdir/test_vim9_builtin.vim
16556
16557Patch 8.2.2669
16558Problem: Command line completion does not work after "vim9".
16559Solution: Include the "9". (Naohiro Ono, closes #8025)
16560Files: src/cmdexpand.c, src/ex_docmd.c, src/testdir/test_cmdline.vim
16561
16562Patch 8.2.2670
16563Problem: Vim9: error for append(0, text).
16564Solution: Check for negative number. (closes #8022)
16565Files: src/typval.c, src/testdir/test_vim9_builtin.vim
16566
16567Patch 8.2.2671 (after 8.2.2670)
16568Problem: Error for line number in legacy script.
16569Solution: Check for number type.
16570Files: src/typval.c
16571
16572Patch 8.2.2672
16573Problem: Vim9: cannot use :lockvar and :unlockvar in compiled script.
16574Solution: Implement locking support.
16575Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_cmd.vim
16576
16577Patch 8.2.2673
16578Problem: Vim9: script-local funcref can have lower case name.
16579Solution: Require an upper case name.
16580Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
16581
16582Patch 8.2.2674
16583Problem: Motif: cancelling the font dialog resets the font.
16584Solution: When no font is selected to not change the font. (closes #7825,
16585 closes #8035) Fix compiler warnings.
16586Files: src/gui_x11.c, src/gui_motif.c
16587
16588Patch 8.2.2675
16589Problem: Directory change in a terminal window shell is not followed.
16590Solution: Add the 'autoshelldir' option. (closes #6290)
16591Files: runtime/doc/options.txt, runtime/doc/quickref.txt,
16592 runtime/optwin.vim, src/charset.c, src/feature.h, src/option.h,
16593 src/optiondefs.h, src/terminal.c, src/testdir/check.vim,
16594 src/testdir/test_terminal3.vim
16595
16596Patch 8.2.2676
16597Problem: Missing error message.
16598Solution: Add new error message.
16599Files: src/errors.h
16600
16601Patch 8.2.2677
16602Problem: Vim9: cannot use only some of the default arguments.
16603Solution: Use v:none to use default argument value. Remove
16604 uf_def_arg_idx[], use JUMP_IF_ARG_SET. (closes #6504)
16605Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9execute.c,
16606 src/userfunc.c, src/structs.h, src/vim9.h,
16607 src/testdir/test_vim9_disassemble.vim,
16608 src/testdir/test_vim9_func.vim
16609
16610Patch 8.2.2678
16611Problem: Test for 'autoshelldir' does not reset the option.
16612Solution: Reset the option after testing.
16613Files: src/testdir/test_terminal3.vim
16614
16615Patch 8.2.2679
16616Problem: Winbar drawn over status line for non-current window with winbar
16617 if frame is zero height. (Leonid V. Fedorenchik)
16618Solution: Do not draw the window if the frame height is zero. (closes #8037)
16619Files: src/drawscreen.c, src/testdir/test_winbar.vim,
16620 src/testdir/dumps/Test_winbar_not_visible.dump
16621
16622Patch 8.2.2680
16623Problem: Vim9: problem defining a script variable from legacy function.
16624Solution: Check if the script is Vim9, not the current syntax.
16625 (closes #8032)
16626Files: src/vim9script.c, src/proto/vim9script.pro, src/evalvars.c,
16627 src/testdir/test_vim9_script.vim
16628
16629Patch 8.2.2681
16630Problem: Vim9: test fails for redeclaring script variable.
16631Solution: It's OK to assign to an existing script variable in legacy.
16632Files: src/evalvars.c
16633
16634Patch 8.2.2682
16635Problem: Vim9: cannot find Name.Func from "import * as Name". (Alexander
16636 Goussas)
16637Solution: When no variable found try finding a function. (closes #8045)
16638 Check that the function was exported.
16639Files: src/vim9compile.c, src/vim9script.c,
16640 src/testdir/test_vim9_script.vim
16641
16642Patch 8.2.2683
16643Problem: Build failure without the +eval feature.
16644Solution: Add #ifdef.
16645Files: src/vim9script.c
16646
16647Patch 8.2.2684
16648Problem: Not enough folding code is tested.
16649Solution: Add more test cases. (Yegappan Lakshmanan, closes #8046)
16650Files: src/testdir/test_fold.vim, src/testdir/test_mksession.vim,
16651 src/testdir/test_source.vim
16652
16653Patch 8.2.2685 (after 8.2.2152)
16654Problem: Custom statusline not drawn correctly with WinBar.
16655Solution: Also adjust the column for the custom status line. (Yee Cheng
16656 Chin, closes #8047)
16657Files: src/drawscreen.c, src/proto/drawscreen.pro, src/screen.c,
16658 src/testdir/dumps/Test_winbar_not_visible_custom_statusline.dump,
16659 src/testdir/test_winbar.vim
16660
16661Patch 8.2.2686
16662Problem: Status line is not updated when going to cmdline mode.
16663Solution: Redraw status lines if 'statusline' is set and going to status
16664 line mode. (based on patch from Justin M. Keyes et al.,
16665 closes #8044)
16666Files: src/ex_getln.c, src/testdir/test_statusline.vim,
16667 src/testdir/dumps/Test_statusline_mode_1.dump,
16668 src/testdir/dumps/Test_statusline_mode_2.dump
16669
16670Patch 8.2.2687
16671Problem: Vim9: cannot use "const" for global variable in :def function.
16672Solution: Do allow using :const for a global variable. (closes #8030)
16673Files: src/vim9compile.c, src/vim9execute.c,
16674 src/testdir/test_vim9_assign.vim
16675
16676Patch 8.2.2688
16677Problem: Vim9: crash when using s: for script variable.
16678Solution: Pass the end pointer. (closes #8045)
16679Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
16680
16681Patch 8.2.2689
16682Problem: Tiny build fails.
16683Solution: Add #ifdef around use of p_stl.
16684Files: src/ex_getln.c
16685
16686Patch 8.2.2690
16687Problem: PowerShell files are not recognized.
16688Solution: Recognize several PowerShell extension. (Heath Stewart,
16689 closes #8051)
16690Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16691
16692Patch 8.2.2691
16693Problem: Autoconf may mess up compiler flags.
16694Solution: Handle removing FORTIFY_SOURCE a bit better. (Vladimir Lomov,
16695 closes #8049)
16696Files: src/configure.ac, src/auto/configure
16697
16698Patch 8.2.2692
16699Problem: Vim9: locked script variable can be changed.
16700Solution: Check for locked value. (closes #8031)
16701Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
16702
16703Patch 8.2.2693
16704Problem: Vim9: locked script variable can be changed.
16705Solution: Check legacy script variable for being locked. (issue #8031)
16706Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
16707
16708Patch 8.2.2694
16709Problem: When 'matchpairs' is empty every character beeps. (Marco Hinz)
16710Solution: Bail out when no character in 'matchpairs' was found.
16711 (closes #8053) Add assert_nobeep().
16712Files: runtime/doc/testing.txt, runtime/doc/eval.txt, src/search.c,
16713 src/testing.c, src/proto/testing.pro, src/evalfunc.c,
16714 src/testdir/test_textformat.vim
16715
16716Patch 8.2.2695
16717Problem: Cursor position reset with nested autocommands.
16718Solution: Only check and reset line numbers for not nested autocommands.
16719 (closes #5820)
16720Files: src/autocmd.c, src/testdir/test_terminal.vim
16721
16722Patch 8.2.2696
16723Problem: Lua test fails with Lua 5.4.3 and later.
16724Solution: Check for different error messages. (Yegappan Lakshmanan,
16725 closes #8050)
16726Files: src/testdir/test_lua.vim
16727
16728Patch 8.2.2697
16729Problem: Function list test fails.
16730Solution: Add missing function. (Yegappan Lakshmanan)
16731Files: runtime/doc/usr_41.txt
16732
16733Patch 8.2.2698 (after 8.2.2696)
16734Problem: Lua test fails on MS-Windows.
16735Solution: Fall back to old method if "lua -v" doesn't work.
16736Files: src/testdir/test_lua.vim
16737
16738Patch 8.2.2699
16739Problem: Lua test fails.
16740Solution: Fix condition. (Yegappan Lakshmanan, closes #8060)
16741Files: src/testdir/test_lua.vim
16742
16743Patch 8.2.2700
16744Problem: Nested autocmd test fails sometimes.
16745Solution: Wait for the job to finish.
16746Files: src/testdir/test_terminal.vim
16747
16748Patch 8.2.2701
16749Problem: Order of removing FORTIFY_SOURCE is wrong.
16750Solution: Use the more specific pattern first.
16751Files: src/configure.ac, src/auto/configure
16752
16753Patch 8.2.2702
16754Problem: Compiler completion test fails when more scripts are added.
16755Solution: Add a more generic pattern.
16756Files: src/testdir/test_compiler.vim
16757
16758Patch 8.2.2703
16759Problem: Vim9: memory leak when failing on locked variable.
16760Solution: Free the memory.
16761Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
16762
16763Patch 8.2.2704
16764Problem: Adding a lot of completions can be a bit slow.
16765Solution: Use fast_breakcheck() instead of ui_breakcheck() when adding a
16766 list of completions. (Ben Jackson, closes #8061)
16767Files: src/insexpand.c
16768
16769Patch 8.2.2705
16770Problem: Vim9: misleading reported line number for wrong type.
16771Solution: Remember and use the line number at the start. (closes #8059)
16772Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
16773
16774Patch 8.2.2706
16775Problem: Vim9: wrong line number reported for boolean operator.
16776Solution: Use the line number before skipping over line break.
16777 (closes #8058)
16778Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
16779
16780Patch 8.2.2707 (after 8.2.2704)
16781Problem: Adding a lot of completions can still be a bit slow.
16782Solution: Add the check for CP_FAST. (Ben Jackson)
16783Files: src/insexpand.c
16784
16785Patch 8.2.2708
16786Problem: Test sometimes fails waiting for shell in terminal.
16787Solution: Use WaitForAssert() so we can see the actual job status. Use
16788 Run_shell_in_terminal().
16789Files: src/testdir/term_util.vim, src/testdir/test_mksession.vim
16790
16791Patch 8.2.2709
16792Problem: The GTK GUI has a gap next to the scrollbar.
16793Solution: Calculate the scrollbar padding for GTK. (closes #8027)
16794Files: src/gui_gtk.c
16795
16796Patch 8.2.2710
16797Problem: Vim9: not all tests cover script and :def function.
16798Solution: Run tests in both if possible. Fix differences.
16799Files: src/eval.c, src/vim9compile.c, src/vim9execute.c,
16800 src/testdir/vim9.vim, src/testdir/test_vim9_expr.vim
16801
16802Patch 8.2.2711
16803Problem: "gj" in a closed fold does not move out of the fold. (Marco Hinz)
16804Solution: Add a check for being in a closed fold. (closes #8062)
16805Files: src/normal.c, src/testdir/test_fold.vim
16806
16807Patch 8.2.2712
16808Problem: Memory leak when adding to a blob fails.
16809Solution: Clear the second typval before returning.
16810Files: src/eval.c
16811
16812Patch 8.2.2713
16813Problem: Folding code not sufficiently tested.
16814Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #8064)
16815Files: src/testdir/test_fold.vim
16816
16817Patch 8.2.2714
16818Problem: Filetype pattern ending in star is too far up.
16819Solution: Move down to where patterns ending in star belong. (closes #8065)
16820Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16821
16822Patch 8.2.2715
16823Problem: Vim9: tests fail without the channel feature. (Dominique Pellé)
16824Solution: Check for the channel feature. (closes #8063)
16825Files: src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim
16826
16827Patch 8.2.2716
16828Problem: The equivalent class regexp is missing some characters.
16829Solution: Update the list of equivalent characters. (Dominique Pellé,
16830 closes #8029)
16831Files: src/regexp_bt.c, src/regexp_nfa.c,
16832 src/testdir/test_regexp_utf8.vim
16833
16834Patch 8.2.2717
16835Problem: GTK menu items don't show a tooltip.
16836Solution: Add a callback to show the tooltip. (Leonid V. Fedorenchik,
16837 closes #8067, closes #7810)
16838Files: src/gui_gtk.c
16839
16840Patch 8.2.2718
16841Problem: Vim9: no explicit test for using a global function without the g:
16842 prefix.
16843Solution: Add a test case.
16844Files: src/testdir/test_vim9_func.vim
16845
16846Patch 8.2.2719
16847Problem: Vim9: appending to dict item doesn't work in a :def function.
16848Solution: Implement assignment with operator on indexed item.
16849Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
16850
16851Patch 8.2.2720
16852Problem: GTK menu tooltip moves the cursor.
16853Solution: Position the cursor after displaying the tooltip. Do not show the
16854 tooltip when editing the command line.
16855Files: src/gui_gtk.c
16856
16857Patch 8.2.2721
16858Problem: Vim9: cannot have a linebreak inside a lambda.
16859Solution: Compile the expression before the arguments.
16860Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
16861
16862Patch 8.2.2722
16863Problem: Vim9: crash when using LHS with double index.
16864Solution: Handle lhs_dest which is "dest_expr". (closes #8068)
16865 Fix confusing error message for missing dict item.
16866Files: src/vim9compile.c, src/eval.c, src/testdir/test_vim9_assign.vim
16867
16868Patch 8.2.2723 (after 8.2.2722)
16869Problem: Assignment test fails.
16870Solution: Adjust error number.
16871Files: src/testdir/test_let.vim
16872
16873Patch 8.2.2724 (after 8.2.2722)
16874Problem: Vim9: concatenating to list in dict not tested.
16875Solution: Add a test. (issue #8068)
16876Files: src/testdir/test_vim9_assign.vim
16877
16878Patch 8.2.2725
16879Problem: Vim9: message about compiling is wrong when using try/catch.
16880Solution: Store the compiling flag with the message. (closes #8071)
16881Files: src/ex_docmd.c, src/ex_eval.c, src/structs.h,
16882 src/testdir/test_vim9_func.vim
16883
16884Patch 8.2.2726
16885Problem: Confusing error message with white space before comma in the
16886 arguments of a function declaration.
16887Solution: Give a specific error message. (closes #2235)
16888Files: src/userfunc.c, src/testdir/test_vim9_func.vim
16889
16890Patch 8.2.2727 (after 8.2.2726)
16891Problem: Function test fails.
16892Solution: Adjust expected error number.
16893Files: src/testdir/test_user_func.vim
16894
16895Patch 8.2.2728
16896Problem: Special key names don't work if 'isident' is cleared.
16897Solution: Add vim_isNormalIDc() and use it for special key names.
16898 (closes #2389)
16899Files: src/charset.c, src/proto/charset.pro, src/misc2.c,
16900 src/testdir/test_mapping.vim
16901
16902Patch 8.2.2729
16903Problem: Vim9: wrong error message for referring to legacy script variable.
16904Solution: Do allow referring to a variable in legacy script without "s:" if
16905 it exists at compile time. (closes #8076)
16906Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
16907
16908Patch 8.2.2730
16909Problem: Coverity complains about not restoring character.
16910Solution: Also restore the character in case of an error.
16911Files: src/vim9compile.c
16912
16913Patch 8.2.2731
16914Problem: Mac: SF symbols are not displayed properly.
16915Solution: Add custom range to list of double-width characters. (Yee Cheng
16916 Chin, closes #8077)
16917Files: src/mbyte.c
16918
16919Patch 8.2.2732
16920Problem: Prompt for s///c in Ex mode can be wrong.
16921Solution: Position the cursor before showing the prompt. (closes #8073)
16922Files: src/ex_cmds.c, src/testdir/test_ex_mode.vim
16923
16924Patch 8.2.2733
16925Problem: Detecting Lua version is not reliable.
16926Solution: Add "vim.lua_version". (Ozaki Kiichi, closes #8080)
16927Files: runtime/doc/if_lua.txt, ci/if_ver-1.vim, src/if_lua.c,
16928 src/testdir/test_lua.vim
16929
16930Patch 8.2.2734
16931Problem: Vim9: cannot use legacy script-local var from :def function.
16932Solution: Do not insist on using "s:" prefix. (closes #8076)
16933Files: src/vim9compile.c, src/proto/vim9compile.pro,
16934 src/testdir/test_vim9_expr.vim
16935
16936Patch 8.2.2735
16937Problem: Vim9: function reference found with prefix, not without.
16938Solution: Also find function reference without prefix.
16939Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
16940
16941Patch 8.2.2736
16942Problem: Vim9: for loop over string is a bit slow.
16943Solution: Avoid using strlen().
16944Files: src/vim9execute.c
16945
16946Patch 8.2.2737
16947Problem: Status line not updated when local 'statusline' option set.
16948Solution: Check the 'statusline' option of each window.
16949Files: src/ex_getln.c, src/testdir/test_statusline.vim,
16950 src/testdir/dumps/Test_statusline_mode_1.dump,
16951 src/testdir/dumps/Test_statusline_mode_2.dump
16952
16953Patch 8.2.2738
16954Problem: Extending a list with itself can give wrong result.
16955Solution: Remember the item before where the insertion happens and skip to
16956 after the already inserted items. (closes #1112)
16957Files: src/list.c, src/testdir/test_listdict.vim
16958
16959Patch 8.2.2739
16960Problem: Vim9: a lambda accepts too many arguments at the script level.
16961Solution: Do not set uf_varargs in Vim9 script.
16962Files: src/userfunc.c, src/testdir/test_vim9_func.vim,
16963 src/testdir/test_vim9_script.vim
16964
16965Patch 8.2.2740
16966Problem: Vim9: lambda with varargs doesn't work.
16967Solution: Make "...name" work. Require type to be a list.
16968Files: src/userfunc.c, src/vim9compile.c, src/vim9execute.c,
16969 src/errors.h, src/testdir/test_vim9_func.vim,
16970 src/testdir/test_vim9_script.vim
16971
16972Patch 8.2.2741
16973Problem: Vim9: Partial call does not check right arguments.
16974Solution: Adjust the offset for whether the partial is before or after the
16975 arguments. (closes #8091)
16976Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
16977
16978Patch 8.2.2742
16979Problem: Vim9: when compiling a function fails it is cleared.
16980Solution: Keep the function lines, prevent execution with a different
16981 status. (closes #8093)
16982Files: src/vim9compile.c, src/structs.h, src/vim9execute.c,
16983 src/testdir/test_vim9_func.vim
16984
16985Patch 8.2.2743
16986Problem: Vim9: function state stuck when compiling with ":silent!".
16987Solution: Check for uf_def_status to be UF_COMPILING.
16988Files: src/vim9compile.c, src/message.c, src/globals.h,
16989 src/testdir/test_vim9_func.vim
16990
16991Patch 8.2.2744
16992Problem: Vim9: no way to explicitly ignore an argument.
16993Solution: Use the underscore as the name for an ignored argument.
16994Files: runtime/doc/vim9.txt, src/vim9compile.c, src/eval.c,
16995 src/evalvars.c, src/errors.h, src/testdir/test_vim9_func.vim
16996
16997Patch 8.2.2745 (after 8.2.2744)
16998Problem: Vim9: missing part of the argument change.
16999Solution: Add missing changes.
17000Files: src/userfunc.c
17001
17002Patch 8.2.2746 (after 8.2.2745)
17003Problem: Check for duplicate arguments does not work.
17004Solution: Correct condition.
17005Files: src/userfunc.c
17006
17007Patch 8.2.2747
17008Problem: Vim9: not always an error for too many function arguments.
17009Solution: Check for getting too many arguments.
17010Files: src/vim9execute.c, src/testdir/test_vim9_func.vim,
17011 src/testdir/test_vim9_builtin.vim
17012
17013Patch 8.2.2748
17014Problem: Vim9: memory leak when calling :def function fails.
17015Solution: Jump to failed_early instead of returning.
17016Files: src/vim9execute.c
17017
17018Patch 8.2.2749
17019Problem: Vim9: test for error can be a bit flaky.
17020Solution: Increase the wait time a bit.
17021Files: src/testdir/test_vim9_script.vim
17022
17023Patch 8.2.2750
17024Problem: Vim9: error for using underscore in nested function.
17025Solution: Do not consider "_" already defined. (closes #8096)
17026Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
17027
17028Patch 8.2.2751
17029Problem: Coverity warns for using NULL pointer.
17030Solution: Check for NULL in calling function.
17031Files: src/userfunc.c
17032
17033Patch 8.2.2752
17034problem: coverity reports unreachable code.
17035Solution: Remove check for positive index.
17036Files: src/typval.c
17037
17038Patch 8.2.2753
17039Problem: Vim9: cannot ignore an item in assignment unpack.
17040Solution: Allow using an underscore.
17041Files: runtime/doc/vim9.txt, src/vim.h, src/evalvars.c, src/eval.c,
17042 src/vim9compile.c, src/testdir/test_vim9_assign.vim
17043
17044Patch 8.2.2754
17045Problem: :sleep! does not always hide the cursor.
17046Solution: Add the cursor_is_asleep flag. (Jeremy Lerner, closes #8097,
17047 closes #7998)
17048Files: src/drawscreen.c, src/ex_docmd.c, src/gui.c, src/proto/term.pro,
17049 src/term.c
17050
17051Patch 8.2.2755
17052Problem: Vim9: no error for using a number in a condition.
17053Solution: Also use ISN_COND2BOOL if the type is t_number_bool.
17054 (closes #7644)
17055Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
17056 src/testdir/test_vim9_disassemble.vim
17057
17058Patch 8.2.2756
17059Problem: Vim9: blob index and slice not implemented yet.
17060Solution: Implement blob index and slice.
17061Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/eval.c,
17062 src/blob.c, src/proto/blob.pro, src/testdir/test_vim9_expr.vim
17063
17064Patch 8.2.2757
17065Problem: Vim9: blob tests for legacy and Vim9 script are separate.
17066Solution: Add CheckLegacyAndVim9Success(). Make blob index assign work.
17067Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/errors.h,
17068 src/blob.c, src/proto/blob.pro, src/eval.c, src/ex_docmd.c,
17069 src/testdir/vim9.vim, src/testdir/test_blob.vim
17070
17071Patch 8.2.2758
17072Problem: Vim9: wrong line number for autoload function with wrong name.
17073Solution: Set and restore SOURCING_LNUM. (closes #8100)
17074Files: src/userfunc.c, src/testdir/test_vim9_func.vim
17075
17076Patch 8.2.2759
17077Problem: Vim9: for loop infers type of loop variable.
17078Solution: Do not get the member type. (closes #8102)
17079Files: src/vim9type.c, src/proto/vim9type.pro, src/list.c,
17080 src/vim9script.c, src/proto/vim9script.pro, src/vim.h,
17081 src/testdir/test_vim9_script.vim
17082
17083Patch 8.2.2760
17084Problem: Vim9: no error for changing a for loop variable.
17085Solution: Make the loop variable read-only. (issue #8102)
17086Files: src/eval.c, src/evalvars.c, src/vim9compile.c, src/vim.h,
17087 src/testdir/test_vim9_script.vim
17088
17089Patch 8.2.2761
17090Problem: Using "syn include" does not work properly.
17091Solution: Don't add current_syn_inc_tag to topgrp. (Jaehwang Jerry Jung,
17092 closes #8104)
17093Files: src/syntax.c, src/testdir/test_syntax.vim
17094
17095Patch 8.2.2762
17096Problem: Vim9: function line truncated when compiling.
17097Solution: Copy the line before processing it. (closes #8101)
17098Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
17099
17100Patch 8.2.2763
17101Problem: Vim9: cannot use type in for loop unpack at script level.
17102Solution: Advance over the type name.
17103Files: src/evalvars.c, src/testdir/test_vim9_script.vim
17104
17105Patch 8.2.2764
17106Problem: Memory leak when default function argument is allocated.
17107Solution: Free the expression result.
17108Files: src/userfunc.c, src/testdir/test_functions.vim
17109
17110Patch 8.2.2765
17111Problem: Vim9: not all blob operations work.
17112Solution: Run more tests also with Vim9 script and :def functions. Fix what
17113 doesn't work.
17114Files: src/eval.c, src/blob.c, src/proto/blob.pro, src/vim9execute.c,
17115 src/errors.h, src/testdir/vim9.vim, src/testdir/test_blob.vim
17116
17117Patch 8.2.2766 (after 8.2.2765)
17118Problem: Test failure.
17119Solution: Add change to Vim9 compilation error message.
17120Files: src/vim9compile.c
17121
17122Patch 8.2.2767 (after 8.2.2765)
17123Problem: Compiler warning for unused argument.
17124Solution: Remove the argument.
17125Files: src/blob.c, src/proto/blob.pro, src/vim9execute.c, src/eval.c
17126
17127Patch 8.2.2768
17128Problem: Vim9: memory leak with blob range error.
17129Solution: Jump to end instead of returning.
17130Files: src/vim9compile.c
17131
17132Patch 8.2.2769
17133Problem: Modula-3 config files are not recognized.
17134Solution: Add filetype patterns. (Doug Kearns)
17135Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17136
17137Patch 8.2.2770
17138Problem: Vim9: type of loop variable is not used.
17139Solution: Parse and check the variable type. (closes #8107)
17140Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
17141
17142Patch 8.2.2771
17143Problem: Vim9: assignment not recognized if declaration was skipped.
17144Solution: Also recognized an assignment if the variable does not exist.
17145 (closes #8108)
17146Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim
17147
17148Patch 8.2.2772
17149Problem: Problems when restoring 'runtimepath' from a session file.
17150Solution: Add the "skiprtp" item in 'sessionoptions'.
17151Files: runtime/doc/options.txt, src/session.c, src/optionstr.c,
17152 src/option.h, src/vim.h, src/option.c,
17153 src/testdir/test_mksession.vim
17154
17155Patch 8.2.2773
17156Problem: PSL filetype not recognized.
17157Solution: Add a filetype pattern. (Daniel Kho, closes #8117)
17158Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17159
17160Patch 8.2.2774
17161Problem: Vim9: cannot import an existing name even when using "as".
17162Solution: Do not check for an existing name when using "as". (closes #8113)
17163Files: src/vim9script.c, src/testdir/test_vim9_script.vim
17164
17165Patch 8.2.2775
17166Problem: Vim9: wrong line number used for some commands.
17167Solution: For :exe, :echo and the like use the line number of the start of
17168 the command. When calling a function set the line number in the
17169 script context.
17170Files: src/vim9compile.c, src/vim9execute.c, src/structs.h,
17171 src/testdir/test_vim9_script.vim
17172
17173Patch 8.2.2776
17174Problem: :mksession uses current value of 'splitbelow' and 'splitright'
17175 even though "options" is not in 'sessionoptions'. (Maxim Kim)
17176Solution: Save and restore the values, instead of setting to the current
17177 value. (closes #8119)
17178Files: src/session.c, src/testdir/test_mksession.vim
17179
17180Patch 8.2.2777
17181Problem: Vim9: blob operations not tested in all ways.
17182Solution: Run tests with CheckLegacyAndVim9Success(). Make blob assign with
17183 index work.
17184Files: src/vim9compile.c, src/vim9execute.c, src/errors.h, src/blob.c,
17185 src/proto/blob.pro, src/testdir/test_blob.vim,
17186 src/testdir/test_vim9_disassemble.vim
17187
17188Patch 8.2.2778
17189Problem: Problem restoring 'packpath' in session.
17190Solution: Let "skiprtp" also apply to 'packpath'.
17191Files: runtime/doc/options.txt, src/option.c,
17192 src/testdir/test_mksession.vim
17193
17194Patch 8.2.2779
17195Problem: Memory access error in remove() for blob.
17196Solution: Adjust length for memmove().
17197Files: src/blob.c
17198
17199Patch 8.2.2780
17200Problem: Vim9: for loop over blob doesn't work.
17201Solution: Make it work.
17202Files: src/vim9compile.c, src/vim9execute.c, src/testdir/test_blob.vim
17203
17204Patch 8.2.2781
17205Problem: Add() silently skips when adding to null list or blob.
17206Solution: Give an error in Vim9 script. Allocate blob when it is NULL like
17207 with list and dict.
17208Files: src/list.c, src/evalvars.c, src/vim9execute.c,
17209 src/testdir/test_blob.vim, src/testdir/test_vim9_builtin.vim
17210
17211Patch 8.2.2782
17212Problem: Vim9: blob operations not fully tested.
17213Solution: Make more blob tests run in Vim9 script. Fix filter(). Make
17214 insert() give an error for a null blob, like add().
17215Files: src/list.c, src/testdir/test_blob.vim,
17216 src/testdir/test_vim9_builtin.vim
17217
17218Patch 8.2.2783
17219Problem: Duplicate code for setting byte in blob, blob test may fail.
17220Solution: Call blob_set_append(). Test sort failure with "N".
17221Files: src/eval.c, src/testdir/test_blob.vim
17222
17223Patch 8.2.2784
17224Problem: Vim9: cannot use \=expr in :substitute.
17225Solution: Compile the expression into instructions and execute them when
17226 invoked.
17227Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
17228 src/proto/vim9execute.pro, src/regexp.c, src/ex_cmds.c,
17229 src/proto/ex_cmds.pro, src/globals.h,
17230 src/testdir/test_vim9_cmd.vim,
17231 src/testdir/test_vim9_disassemble.vim
17232
17233Patch 8.2.2785
17234Problem: Vim9: cannot redirect to local variable.
17235Solution: Compile :redir when redirecting to a variable.
17236Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/errors.h,
17237 src/evalvars.c, src/proto/evalvars.pro,
17238 src/testdir/test_vim9_cmd.vim,
17239 src/testdir/test_vim9_disassemble.vim
17240
17241Patch 8.2.2786
17242Problem: Vim9: memory leak when using :s with expression.
17243Solution: Clean up the instruction list.
17244Files: src/vim9compile.c
17245
17246Patch 8.2.2787
17247Problem: MS-Windows: crash when using :echoconsole.
17248Solution: Do not write a NUL when it's already there.
17249Files: src/os_win32.c
17250
17251Patch 8.2.2788
17252Problem: Raku is now the only name what once was called perl6.
17253Solution: Adjust the filetype detection. (closes #8120)
17254Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17255
17256Patch 8.2.2789
17257Problem: Vim9: using \=expr in :substitute does not handle jumps.
17258Solution: Start with instruction count zero. (closes #8128)
17259Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
17260
17261Patch 8.2.2790 (after 8.2.2788)
17262Problem: filetype test fails
17263Solution: Also update the scripts detection
17264Files: runtime/scripts.vim
17265
17266Patch 8.2.2791
17267Problem: Vim9: memory leak when using \=expr in :substitute.
17268Solution: Do not allocate a new instruction list.
17269Files: src/vim9compile.c
17270
17271Patch 8.2.2792
17272Problem: Vim9: :disas shows instructions for default args but no text.
17273Solution: Show the expression test above the default argument instructions.
17274 (closes #8129)
17275Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim
17276
17277Patch 8.2.2793
17278Problem: MS-Windows: string literals are writable with MSVC.
17279Solution: Add the /GF compiler flag. Make mch_write() safer. (Ken Takata,
17280 closes #8133)
17281Files: src/Make_mvc.mak, src/os_win32.c
17282
17283Patch 8.2.2794
17284Problem: Linux users don't know how to get ncurses.
17285Solution: Add the name of the package. (closes #8132)
17286Files: src/configure.ac, src/auto/configure
17287
17288Patch 8.2.2795
17289Problem: Coverity warns for not using return value.
17290Solution: Check the return value of compiling the substitute expression.
17291Files: src/vim9compile.c
17292
17293Patch 8.2.2796
17294Problem: Vim9: redir to variable does not accept an index.
17295Solution: Make the index work.
17296Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
17297
17298Patch 8.2.2797
17299Problem: Search highlight disappears in the Visual area.
17300Solution: Combine the search attributes. (closes #8134)
17301Files: src/drawline.c, src/testdir/test_search.vim,
17302 src/testdir/dumps/Test_hlsearch_visual_1.dump
17303
17304Patch 8.2.2798
17305Problem: Vim9: redir to variable with append does not accept an index.
17306Solution: Make the appending work.
17307Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
17308
17309Patch 8.2.2799
17310Problem: Vim9: type casts don't fully work at the script level.
17311Solution: Implement the missing piece.
17312Files: src/eval.c, src/testdir/test_vim9_expr.vim
17313
17314Patch 8.2.2800
17315Problem: After a timer displays text a hit-enter prompt is given.
17316Solution: Reset msg_didany and need_wait_return. (closes #8136)
17317Files: src/drawscreen.c, src/testdir/test_timers.vim
17318
17319Patch 8.2.2801
17320Problem: Free Pascal makefile not recognized.
17321Solution: Add the fpcmake filetype. (Doug Kearns)
17322Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17323
17324Patch 8.2.2802
17325Problem: Vim9: illegal memory access.
17326Solution: Check for comment before checking for white space. (closes #8142)
17327Files: src/eval.c, src/testdir/test_vim9_func.vim
17328
17329Patch 8.2.2803
17330Problem: Flicker when the popup menu has an info popup.
17331Solution: Avoid drawing over the popup when it's going to be redrawn in the
17332 same position. (closes #8131) Also avoid redrawing the scrollbar.
17333Files: src/popupmenu.c, src/proto/popupmenu.pro, src/drawscreen.c,
17334 src/globals.h
17335
17336Patch 8.2.2804
17337Problem: Setting buffer local mapping with mapset() changes global mapping.
17338Solution: Only set the local mapping. (closes #8143)
17339Files: src/map.c, src/testdir/test_maparg.vim
17340
17341Patch 8.2.2805
17342Problem: Vim9: cannot use legacy syntax in Vim9 script.
17343Solution: Add the :legacy command.
17344Files: src/ex_cmds.h, runtime/doc/vim9.txt, runtime/doc/index.txt
17345 src/ex_cmdidxs.h, src/ex_docmd.c, src/structs.h, src/vim9script.c,
17346 src/vim9compile.c, src/testdir/test_vim9_func.vim,
17347 src/testdir/test_vim9_assign.vim
17348
17349Patch 8.2.2806
17350Problem: Vim9: using "++nr" as a command might not work.
17351Solution: Do not recognize "++" and "--" in a following line as addition or
17352 subtraction.
17353Files: src/vim9compile.c, src/ex_docmd.c, src/ex_cmds.h, src/ex_cmdidxs.h,
17354 src/vim9script.c, src/proto/vim9script.pro, src/eval.c,
17355 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_expr.vim
17356
17357Patch 8.2.2807
17358Problem: Build fails with tiny features.
17359Solution: Use a dummy function for ex_incdec().
17360Files: src/ex_docmd.c
17361
17362Patch 8.2.2808
17363Problem: Vim9: increment and decrement not sufficiently tested.
17364Solution: Add assertions.
17365Files: src/testdir/test_vim9_assign.vim
17366
17367Patch 8.2.2809
17368Problem: Vim9: :def function compilation fails when using :legacy.
17369Solution: Reset CMOD_LEGACY when compiling a function. (closes #8137)
17370Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
17371
17372Patch 8.2.2810
17373Problem: Vim9: crash when calling a function in a substitute expression.
17374Solution: Set the instructions back to the substitute expression
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017375 instructions. (closes #8148)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017376Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
17377
17378Patch 8.2.2811
17379Problem: Vim9: error for missing white space doesn't say where it is
17380 missing
17381Solution: Mention the command. (closes #8149)
17382Files: src/ex_docmd.c, src/errors.h, src/testdir/test_vim9_cmd.vim
17383
17384Patch 8.2.2812
17385Problem: Vim9: still crash when using substitute expression.
17386Solution: Put the instruction list in the stack frame. (closes #8154)
17387Files: src/vim9execute.c, src/vim9.h, src/testdir/test_vim9_cmd.vim
17388
17389Patch 8.2.2813
17390Problem: Cannot grep using fuzzy matching.
17391Solution: Add the "f" flag to :vimgrep. (Yegappan Lakshmanan, closes #8152)
17392Files: runtime/doc/quickfix.txt, src/ex_cmds.c, src/proto/search.pro,
17393 src/quickfix.c, src/search.c, src/vim.h,
17394 src/testdir/test_quickfix.vim
17395
17396Patch 8.2.2814 (after 8.2.2812)
17397Problem: Vim9: unused variable. (John Marriott)
17398Solution: Adjust #ifdef.
17399Files: src/vim9execute.c
17400
17401Patch 8.2.2815
17402Problem: Status line flickers when redrawing popup menu info.
17403Solution: Do not redraw the status line when the focus is in the popup
17404 window. (issue #8144)
17405Files: src/popupmenu.c
17406
17407Patch 8.2.2816
17408Problem: Vim9: comment below expression in lambda causes problems.
17409Solution: Use a single space for empty and comment lines. (closes #8156)
17410Files: src/eval.c, src/testdir/test_vim9_expr.vim
17411
17412Patch 8.2.2817
17413Problem: Vim9: script sourcing continues after an error.
17414Solution: Make an error in any command in "vim9script" abort sourcing.
17415Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim,
17416 src/testdir/test_vim9_assign.vim,
17417 src/testdir/test_vim9_func.vim
17418
17419Patch 8.2.2818
17420Problem: No jump added to jumplist when opening terminal in current window.
17421Solution: Call setpcmark(). (closes #8158)
17422Files: src/terminal.c, src/testdir/test_terminal.vim
17423
17424Patch 8.2.2819
17425Problem: Finishing an abbreviation with a multi-byte char may not work.
17426Solution: Escape K_SPECIAL in the typed character. (closes #8160)
17427Files: src/map.c, src/testdir/test_mapping.vim
17428
17429Patch 8.2.2820
17430Problem: Session file may divide by zero.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017431Solution: Avoid writing divide by zero. (closes #8162)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017432Files: src/session.c, src/testdir/test_mksession.vim
17433
17434Patch 8.2.2821
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017435Problem: MS-Windows: unnecessarily loading libraries when registering OLE.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017436Solution: Skip loading libraries when invoked with "-register".
17437Files: src/main.c, src/globals.h, src/os_win32.c
17438
17439Patch 8.2.2822 (after 8.2.2821)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017440Problem: MS-Windows: unnecessarily loading libraries when unregistering OLE.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017441Solution: Also skip loading libraries when invoked with "-unregister". Run
17442 Vim for README.txt with user privileges.
17443Files: src/main.c, nsis/gvim.nsi, nsis/README.txt
17444
17445Patch 8.2.2823
17446Problem: MS-Windows: launching Vim from installer doesn't open README.
17447Solution: Adjust the quotes.
17448Files: nsis/gvim.nsi
17449
17450Patch 8.2.2824
17451Problem: MS-Windows: build failure with MSVC.
17452Solution: Adjust the list of distributed files. Add hint about python.
17453 Adjust path for reading runtime files.
17454Files: Filelist, src/testdir/shared.vim,
17455 src/testdir/test_function_lists.vim
17456
17457Patch 8.2.2825
17458Problem: Code in checkreadonly() not fully tested.
17459Solution: Add more tests. (Dominique Pellé, closes #8169)
17460Files: src/testdir/test_excmd.vim
17461
17462Patch 8.2.2826
17463Problem: Compiler warnings for int to size_t conversion. (Randall W.
17464 Morris)
17465Solution: Add type casts.
17466Files: src/map.c, src/quickfix.c
17467
17468Patch 8.2.2827
17469Problem: Test file was not deleted.
17470Solution: Uncomment the delete() call. (Dominique Pellé, closes #8172)
17471Files: src/testdir/test_mksession.vim
17472
17473Patch 8.2.2828
17474Problem: Coverity complains about not checking the rename() return value.
17475Solution: Add "(void)", can't do anything in case of a failure.
17476Files: src/fileio.c
17477
17478Patch 8.2.2829
17479Problem: Some comments are not correct or clear.
17480Solution: Adjust the comments. Add test for cursor position.
17481Files: src/regexp_bt.c, src/regexp_nfa.c,
17482 src/testdir/test_exec_while_if.vim,
17483 src/testdir/test_substitute.vim
17484
17485Patch 8.2.2830
17486Problem: Terminal colors are not updated when 'background' is set.
17487Solution: Call term_update_colors() for all terminals. (Marcin Szamotulski,
17488 closes #8171, closes #8150)
17489Files: src/terminal.c, src/proto/terminal.pro, src/optionstr.c
17490
17491Patch 8.2.2831
17492Problem: Vim9: expandcmd() not tested.
17493Solution: Add a test.
17494Files: src/testdir/test_vim9_builtin.vim
17495
17496Patch 8.2.2832
17497Problem: Operator cancelled by moving mouse when using popup. (Sergey
17498 Vlasov)
17499Solution: Do not trigger an operator for a mouse move events. (closes #8176)
17500Files: src/normal.c
17501
17502Patch 8.2.2833
17503Problem: Two key command cancelled by moving mouse when using popup.
17504 (Sergey Vlasov)
17505Solution: Ignore K_MOUSEMOVE in plain_vgetc().
17506Files: src/getchar.c
17507
17508Patch 8.2.2834
17509Problem: Vim9: :cexpr does not work with local variables.
17510Solution: Compile :cexpr.
17511Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/quickfix.c,
17512 src/proto/quickfix.pro, src/testdir/test_quickfix.vim,
17513 src/testdir/test_vim9_disassemble.vim
17514
17515Patch 8.2.2835 (after 8.2.2834)
17516Problem: Vim9: leaking memory in :cexpr.
17517Solution: Also free the command line copy.
17518Files: src/vim9compile.c
17519
17520Patch 8.2.2836 (after 8.2.2834)
17521Problem: Build failure without the +quickfix feature. (John Marriott)
17522Solution: Add #ifdef.
17523Files: src/vim9compile.c, src/vim9execute.c, src/tag.c
17524
17525Patch 8.2.2837
17526Problem: Various code lines not covered by tests.
17527Solution: Add test cases. (Dominique Pellé, closes #8178)
17528Files: src/testdir/test_excmd.vim, src/testdir/test_functions.vim,
17529 src/testdir/test_options.vim, src/testdir/test_startup.vim,
17530 src/testdir/test_syntax.vim, src/testdir/test_vim9_cmd.vim
17531
17532Patch 8.2.2838
17533Problem: File extension .wrap not recognized.
17534Solution: Use dosini filetype for .wrap files. (Liam Beguin, closes #8177)
17535Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17536
17537Patch 8.2.2839
17538Problem: Default redirection missing "ash" and "dash".
17539Solution: Recognize "ash" and "dash". (Natanael Copa, closes #8180)
17540Files: runtime/doc/options.txt, src/option.c
17541
17542Patch 8.2.2840
17543Problem: Vim9: member operation not fully tested.
17544Solution: Add a few tests.
17545Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
17546
17547Patch 8.2.2841
17548Problem: MS-Windows: cursor in wrong position when 'lazyredraw' and
Bram Moolenaar47c532e2022-03-19 15:18:53 +000017549 'statusline' are set.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017550Solution: Call compute_cmdrow(). (closes #8170, closes #8184)
17551Files: src/os_win32.c
17552
17553Patch 8.2.2842
17554Problem: Vim9: skip argument to searchpair() is not compiled.
17555Solution: Add VAR_INSTR.
17556Files: src/structs.h, src/vim9.h, src/vim9compile.c, src/vim9execute.c,
17557 src/proto/vim9execute.pro, src/eval.c, src/evalfunc.c, src/vim.h,
17558 src/evalvars.c, src/typval.c, src/vim9type.c, src/testing.c,
17559 src/viminfo.c, src/if_py_both.h, src/json.c,
17560 src/testdir/test_vim9_disassemble.vim,
17561 src/testdir/test_vim9_builtin.vim
17562
17563Patch 8.2.2843 (after 8.2.2842)
17564Problem: Vim9: skip argument to searchpairpos() is not compiled.
17565Solution: Handle like searchpair(). Also for search() and searchpos().
17566Files: src/vim9compile.c, src/testdir/test_vim9_builtin.vim
17567
17568Patch 8.2.2844
17569Problem: Vim9: memory leak when using searchpair().
17570Solution: Free the v_instr field.
17571Files: src/typval.c
17572
17573Patch 8.2.2845
17574Problem: MS-Windows: warning for signed/unsigned comparison.
17575Solution: Add type cast.
17576Files: src/terminal.c
17577
17578Patch 8.2.2846
17579Problem: Vim9: "echo Func()" does not give an error for a function without
17580 a return value.
17581Solution: Give an error. Be more specific about why a value is invalid.
17582Files: src/globals.h, src/errors.h, src/eval.c, src/evalfunc.c,
17583 src/typval.c, src/vim9compile.c, src/vim9execute.c,
17584 src/testdir/test_vim9_cmd.vim
17585
17586Patch 8.2.2847
17587Problem: Perl not tested sufficiently.
17588Solution: Add test. Also test W17. (Dominique Pellé, closes #8193)
17589Files: src/testdir/test_arabic.vim, src/testdir/test_perl.vim
17590
17591Patch 8.2.2848
17592Problem: Crash when calling partial.
17593Solution: Check for NULL pointer. (Dominique Pellé, closes #8202)
17594Files: src/eval.c, src/evalfunc.c, src/testdir/test_functions.vim,
17595 src/testdir/test_listdict.vim
17596
17597Patch 8.2.2849
17598Problem: Bufwrite not sufficiently tested.
17599Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8192)
17600Files: src/testdir/test_startup.vim, src/testdir/test_writefile.vim
17601
17602Patch 8.2.2850
17603Problem: Recalling commands from history is not tested.
17604Solution: Add tests. (closes #8194)
17605Files: src/testdir/test_cmdline.vim
17606
17607Patch 8.2.2851
17608Problem: Using <Cmd> mapping on the command line triggers CmdlineChanged.
17609 (Naohiro Ono)
17610Solution: Jump to cmdline_not_changed if the command line didn't change.
17611 (closes #8208)
17612Files: src/ex_getln.c, src/testdir/test_cmdline.vim
17613
17614Patch 8.2.2852
17615Problem: Configure can add --as-needed a second time.
17616Solution: Only add --as-needed if not already there. (Natanael Copa,
17617 closes #8189, closes #8181)
17618Files: src/configure.ac, src/auto/configure
17619
17620Patch 8.2.2853 (after 8.2.2851)
17621Problem: Window is not updated after using <Cmd> mapping.
17622Solution: So jump to cmdline_changed but skip autocommand.
17623Files: src/ex_getln.c
17624
17625Patch 8.2.2854
17626Problem: Custom statusline cannot contain % items.
17627Solution: Add "%{% expr %}". (closes #8190)
17628Files: runtime/doc/options.txt, src/buffer.c, src/optionstr.c,
17629 src/testdir/test_statusline.vim
17630
17631Patch 8.2.2855
17632Problem: White space after "->" does not give E274.
17633Solution: Do not skip white space in legacy script. (closes #8212)
17634Files: src/eval.c, src/testdir/test_method.vim
17635
17636Patch 8.2.2856
17637Problem: Get readonly error for device that can't be written to.
17638Solution: Check for being able to write first. (closes #8205)
17639Files: src/ex_cmds.c, src/testdir/test_writefile.vim
17640
17641Patch 8.2.2857
17642Problem: Vim9: exception in ISN_INSTR caught at wrong level.
17643Solution: Set the starting trylevel in exec_instructions(). (closes #8214)
17644Files: src/vim9compile.c, src/vim9execute.c, src/globals.h,
17645 src/testdir/test_vim9_builtin.vim
17646
17647Patch 8.2.2858 (after 8.2.2857)
17648Problem: Test fails because of changed error message.
17649Solution: Adjust the expected error message.
17650Files: src/testdir/test_ex_mode.vim
17651
17652Patch 8.2.2859 (after 8.2.2857)
17653Problem: Tcl test fails because of changed error message.
17654Solution: Adjust the expected error message.
17655Files: src/testdir/test_tcl.vim
17656
17657Patch 8.2.2860
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017658Problem: Adding a text property causes the whole window to be redrawn.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017659Solution: Use changed_lines_buf() to only redraw the affected lines.
17660Files: src/change.c, src/proto/change.pro, src/textprop.c
17661
17662Patch 8.2.2861
17663Problem: Vim9: "legacy return" is not recognized as a return statement.
17664Solution: Specifically check for a return command. (closes #8213)
17665Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
17666 src/testdir/test_vim9_expr.vim
17667
17668Patch 8.2.2862
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017669Problem: Removing a text property causes the whole window to be redrawn.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017670Solution: Use changed_lines_buf() to only redraw the affected lines.
17671Files: src/textprop.c
17672
17673Patch 8.2.2863 (after 8.2.2862)
17674Problem: Removing a text property does not redraw optimally.
17675Solution: Only redraw the lines that mithg actually have been changed.
17676Files: src/textprop.c
17677
17678Patch 8.2.2864
17679Problem: Vim9: crash when using inline function.
17680Solution: Check for NULL pointer. Make using inline function work inside
17681 lambda. (closes #8217)
17682Files: src/userfunc.c, src/testdir/test_vim9_func.vim
17683
17684Patch 8.2.2865 (after 8.2.2864)
17685Problem: Skipping over function body fails.
17686Solution: Do not define the function when skipping.
17687Files: src/userfunc.c
17688
17689Patch 8.2.2866
17690Problem: Vim9: memory leak when using inline function.
17691Solution: Remember what strings to free.
17692Files: src/userfunc.c, src/structs.h, src/eval.c
17693
17694Patch 8.2.2867 (after 8.2.2866)
17695Problem: Build failure.
17696Solution: Add missing part of the change.
17697Files: src/globals.h
17698
17699Patch 8.2.2868
17700Problem: Vim9: When executing a compiled expression the trylevel at start
17701 is changed but not restored. (closes #8214)
17702Solution: Restore the trylevel at start.
17703Files: src/vim9execute.c, src/testdir/test_vim9_builtin.vim
17704
17705Patch 8.2.2869
17706Problem: Using unified diff is not tested.
17707Solution: Test all cases also with unified diff. (issue #8197)
17708Files: src/testdir/test_diffmode.vim
17709
17710Patch 8.2.2870
17711Problem: CmdlineChange event triggered twice for CTRL-R.
17712Solution: Return CMDLINE_NOT_CHANGED from cmdline_insert_reg().
17713 (closes #8219)
17714Files: src/ex_getln.c, src/testdir/test_cmdline.vim
17715
17716Patch 8.2.2871
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017717Problem: Unnecessary VIM_ISDIGIT() calls, badly indented code.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017718Solution: Call skipdigits() on the next character. Improve indenting.
17719 (Dominique Pellé, closes #8227)
17720Files: src/charset.c, src/evalfunc.c, src/ex_docmd.c, src/json.c,
17721 src/ops.c, src/tag.c, src/vim9compile.c
17722
17723Patch 8.2.2872
17724Problem: Python tests fail without the channel feature.
17725Solution: Add a feature check. (Dominique Pellé, closes #8226)
17726Files: src/testdir/test_python2.vim, src/testdir/test_python3.vim
17727
17728Patch 8.2.2873
17729Problem: Not enough tests for writing buffers.
17730Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8229)
17731Files: src/testdir/test_buffer.vim, src/testdir/test_cmdline.vim,
17732 src/testdir/test_functions.vim, src/testdir/test_writefile.vim
17733
17734Patch 8.2.2874
17735Problem: MS-Windows: screen redraws too often.
17736Solution: Do not redraw when peeking for a character. (closes #8230,
17737 closes #8211)
17738Files: src/os_win32.c
17739
17740Patch 8.2.2875
17741Problem: Cancelling inputlist() after a digit does not return zero.
17742Solution: Always return zero when cancelling. (closes #8231)
17743Files: src/misc1.c, src/testdir/test_functions.vim
17744
17745Patch 8.2.2876
17746Problem: Configure cannot detect Python 3.10.
17747Solution: Use sys.version_info. (closes #8233)
17748Files: src/configure.ac, src/auto/configure
17749
17750Patch 8.2.2877
17751Problem: Insufficient tests for popup menu rightleft.
17752Solution: Add tests. (Yegappan Lakshmanan, closes #8235)
17753Files: src/testdir/test_popup.vim,
17754 src/testdir/dumps/Test_pum_rightleft_01.dump,
17755 src/testdir/dumps/Test_pum_rightleft_02.dump,
17756 src/testdir/dumps/Test_pum_scrollbar_01.dump,
17757 src/testdir/dumps/Test_pum_scrollbar_02.dump
17758
17759Patch 8.2.2878
17760Problem: Vim9: for loop list unpack only allows for one "_".
17761Solution: Drop the value when the variable is "_". (closes #8232)
17762Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
17763
17764Patch 8.2.2879
17765Problem: File extension .hsig not recognized.
17766Solution: Use Haskell filetype for .hsig files. (Marcin Szamotulski,
17767 closes #8236)
17768Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17769
17770Patch 8.2.2880
17771Problem: Unified diff fails if actually used.
17772Solution: Invoke :diffupdate in the test. Fix the check for working external
17773 diff. (Ghjuvan Lacambre, Christian Brabandt, closes #8197)
17774Files: src/diff.c, src/testdir/test_diffmode.vim
17775
17776Patch 8.2.2881
17777Problem: Various pieces of code not covered by tests.
17778Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8245)
17779Files: src/testdir/test_const.vim, src/testdir/test_functions.vim,
17780 src/testdir/test_python2.vim, src/testdir/test_python3.vim,
17781 src/testdir/test_user_func.vim, src/testdir/test_vim9_expr.vim,
17782 src/testdir/test_vim9_func.vim
17783
17784Patch 8.2.2882
17785Problem: Vim9: memory leak when lambda has an error.
17786Solution: Free the list of argument types on failure.
17787Files: src/userfunc.c
17788
17789Patch 8.2.2883
17790Problem: MS-Windows manifest file name is misleading.
17791Solution: Rename the file. (closes #8241)
17792Files: .gitignore, .hgignore, Filelist, Makefile, src/Make_cyg_ming.mak,
17793 src/Make_mvc.mak, src/gvim.exe.mnf, src/vim.manifest, src/vim.rc
17794
17795Patch 8.2.2884
17796Problem: Not enough cscope code is covered by tests.
17797Solution: Add a few test cases. (Dominique Pellé, closes #8246)
17798Files: src/testdir/test_cscope.vim
17799
17800Patch 8.2.2885
17801Problem: searching for \%'> does not match linewise end of line. (Tim Chase)
17802Solution: Match end of line if column is MAXCOL. (closes #8238)
17803Files: src/regexp_nfa.c, src/regexp_bt.c, src/testdir/test_search.vim
17804
17805Patch 8.2.2886
17806Problem: Various pieces of code not covered by tests.
17807Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8255)
17808Files: src/testdir/test_expr.vim, src/testdir/test_functions.vim,
17809 src/testdir/test_listdict.vim, src/testdir/test_registers.vim,
17810 src/testdir/test_user_func.vim, src/testdir/test_vim9_builtin.vim,
17811 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim
17812
17813Patch 8.2.2887
17814Problem: Crash when passing null string to fullcommand().
17815Solution: Check for NULL pointer. (closes #8256)
17816Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
17817
17818Patch 8.2.2888
17819Problem: Vim9: "k" command recognized in Vim9 script.
17820Solution: Do not recognize "k" or "s" and "d" with flags.
17821Files: src/ex_docmd.c, src/testdir/test_vim9_builtin.vim,
17822 src/testdir/test_vim9_script.vim
17823
17824Patch 8.2.2889
17825Problem: Typo and verbose comment in Makefiles.
17826Solution: Fix typo. Use @#. (Ken Takata, closes #8252)
17827Files: Makefile, src/testdir/Makefile
17828
17829Patch 8.2.2890
17830Problem: Text property duplicated when data block splits.
17831Solution: Do not continue text prop from previous line. (closes #8261)
17832Files: src/memline.c, src/structs.h, src/testdir/test_textprop.vim
17833
17834Patch 8.2.2891
17835Problem: Cannot build with Perl 5.34.
17836Solution: Add Perl_SvTRUE_common(). (Ozaki Kiichi, closes #8266,
17837 closes #8250)
17838Files: src/if_perl.xs
17839
17840Patch 8.2.2892
17841Problem: Error message contains random characters.
17842Solution: Pass the right pointer to error_white_both(). (closes #8272,
17843 closes #8263)
17844Files: src/eval.c, src/testdir/test_vim9_expr.vim
17845
17846Patch 8.2.2893
17847Problem: Multi-byte text in popup title shows up wrong.
17848Solution: Use the character width instead of the byte length. (Ralf Schandl,
17849 closes #8267, closes #8264)
17850Files: src/popupwin.c, src/message_test.c, src/testdir/test_popupwin.vim,
17851 src/testdir/dumps/Test_popupwin_multibytetitle.dump
17852
17853Patch 8.2.2894
17854Problem: MS-Windows: using enc_locale() for strftime() might not work.
17855Solution: Use wcsftime(). (Ken Takata, closes #8271)
17856Files: src/time.c
17857
17858Patch 8.2.2895
17859Problem: Vim9: random characters appear in some error messages.
17860Solution: Pass the correct pointer. (closes #8277)
17861Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_expr.vim
17862
17863Patch 8.2.2896
17864Problem: Spellfile functionality not fully tested.
17865Solution: Add tests for CHECKCOMPOUNDPATTERN and COMMON. (Dominique Pellé,
17866 closes #8270)
17867Files: src/testdir/test_spellfile.vim
17868
17869Patch 8.2.2897
17870Problem: Vim9: can use reserved words at the script level.
17871Solution: Check variable names for reserved words. (closes #8253)
17872Files: src/vim9compile.c, src/vim9script.c, src/proto/vim9script.pro,
17873 src/eval.c, src/testdir/test_vim9_assign.vim
17874
17875Patch 8.2.2898
17876Problem: QuitPre and ExitPre not triggered when GUI window is closed.
17877Solution: Call before_quit_autocmds(). (closes #8242)
17878Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/gui.c
17879
17880Patch 8.2.2899
17881Problem: Appveyor script does not detect nmake failure.
17882Solution: Explicitly check for executable. (Ken Takata, closes #8281)
17883Files: ci/appveyor.bat
17884
17885Patch 8.2.2900
17886Problem: QuitPre is triggered before :wq writes the file, which is
17887 different from other commands.
17888Solution: Trigger QuitPre after writing the file. (closes #8279)
17889Files: src/ex_docmd.c, src/testdir/test_writefile.vim
17890
17891Patch 8.2.2901
17892Problem: Some operators not fully tested.
17893Solution: Add a few test cases. (Yegappan Lakshmanan, closes #8282)
17894Files: src/testdir/test_cpoptions.vim, src/testdir/test_increment.vim,
17895 src/testdir/test_normal.vim, src/testdir/test_virtualedit.vim,
17896 src/testdir/test_visual.vim
17897
17898Patch 8.2.2902
17899Problem: Spellfile functionality not fully tested.
17900Solution: Add tests for CIRCUMFIX, NOBREAK and others. (Dominique Pellé,
17901 closes #8283)
17902Files: src/testdir/test_spellfile.vim
17903
17904Patch 8.2.2903
17905Problem: Cursor position wrong on wrapped line with 'signcolumn'.
17906Solution: Don't add space for showbreak twice. (Christian Brabandt,
17907 closes #8262)
17908Files: src/drawline.c, src/testdir/test_display.vim
17909
17910Patch 8.2.2904
17911Problem: "g$" causes scroll if half a double width char is visible.
17912Solution: Advance to the last fully visible character. (closes #8254)
17913Files: src/normal.c, src/testdir/test_normal.vim
17914
17915Patch 8.2.2905
17916Problem: No error when defaults.vim cannot be loaded.
17917Solution: Add an error message. (Christian Brabandt, closes #8248)
17918Files: runtime/doc/starting.txt, src/errors.h, src/main.c,
17919 src/testdir/test_startup.vim
17920
17921Patch 8.2.2906 (after 8.2.2905)
17922Problem: ASAN reports errors for test_startup for unknown reasons.
17923Solution: Temporarily disable the new test.
17924Files: src/testdir/test_startup.vim
17925
17926Patch 8.2.2907
17927Problem: Memory leak when running out of memory.
17928Solution: Free the allocated memory. (Dominique Pellé, closes #8284)
17929Files: src/term.c
17930
17931Patch 8.2.2908
17932Problem: Crash when using a terminal popup window from the cmdline window.
17933Solution: Instead of checking cmdwin_type call cmdwin_is_active().
17934 (closes #8286)
17935Files: src/terminal.c, src/errors.h, src/testdir/test_cmdline.vim,
17936 src/testdir/dumps/Test_cmdwin_no_terminal.dump
17937
17938Patch 8.2.2909
17939Problem: Build error with non-Unix system.
17940Solution: Always include limits.h.
17941Files: src/vim.h
17942
17943Patch 8.2.2910
17944Problem: Test for cmdline window and terminal fails on MS-Windows.
17945Solution: Skip the test on MS-Windows.
17946Files: src/testdir/test_cmdline.vim
17947
17948Patch 8.2.2911
17949Problem: Pattern "\%V" does not match all of block selection. (Rick Howe)
17950Solution: Use the value of vi_curswant. (closes #8285)
17951Files: src/regexp.c, src/testdir/test_search.vim,
17952 src/testdir/dumps/Test_hlsearch_block_visual_match.dump
17953
17954Patch 8.2.2912
17955Problem: MS-Windows: most users expect using Unicode.
17956Solution: Default 'encoding' to utf-8 on MS-Windows. (Ken Takata,
17957 closes #3907)
17958Files: runtime/doc/options.txt, src/mbyte.c, src/option.c, src/option.h,
17959 src/testdir/test_writefile.vim
17960
17961Patch 8.2.2913
17962Problem: MS-Windows conpty supports using mouse events.
17963Solution: When enabling the mouse enable mouse input and disable quick edit
17964 mode. (Wez Furlong, closes #8280)
17965Files: src/os_win32.c
17966
17967Patch 8.2.2914
17968Problem: Cannot paste a block without adding padding.
17969Solution: Add "zp" and "zP" which paste without adding padding. (Christian
17970 Brabandt, closes #8289)
17971Files: runtime/doc/change.txt, runtime/doc/index.txt, src/normal.c,
17972 src/register.c, src/vim.h, src/testdir/test_normal.vim,
17973 src/testdir/test_visual.vim
17974
17975Patch 8.2.2915
17976Problem: MS-Windows: when using "default" for encoding utf-8 is used.
17977Solution: Use the system encoding. (Ken Takata, closes #8300)
17978Files: src/mbyte.c, runtime/doc/options.txt
17979
17980Patch 8.2.2916
17981Problem: Operators are not fully tested.
17982Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8290)
17983Files: src/ops.c, src/testdir/test_netbeans.vim,
17984 src/testdir/test_normal.vim, src/testdir/test_visual.vim
17985
17986Patch 8.2.2917
17987Problem: Spellfile functionality not fully tested.
17988Solution: Add tests for SFX with removal of characters, spelling
17989 suggestions with NOBREAK and others. (Dominique Pellé,
17990 closes #8293)
17991Files: src/testdir/test_spellfile.vim
17992
17993Patch 8.2.2918
17994Problem: Builtin function can be shadowed by global variable.
17995Solution: Check for builtin function before variable. (Yasuhiro Matsumoto,
17996 closes #8302)
17997Files: src/eval.c, src/testdir/test_functions.vim
17998
17999Patch 8.2.2919
18000Problem: Using ":!command" does not work if the command uses posix_spawn().
18001Solution: Do not call ioctl() with TIOCSCTTY. (Felipe Contreras)
18002Files: src/os_unix.c
18003
18004Patch 8.2.2920
18005Problem: Still a way to shadow a builtin function. (Yasuhiro Matsumoto)
18006Solution: Check the key when using extend(). (issue #8302)
18007Files: src/eval.c, src/dict.c, src/proto/dict.pro,
18008 src/testdir/test_functions.vim
18009
18010Patch 8.2.2921
18011Problem: E704 for script local variable is not backwards compatible.
18012 (Yasuhiro Matsumoto)
18013Solution: Only give the error in Vim9 script. Also check for function-local
18014 variable.
18015Files: src/dict.c, src/testdir/test_functions.vim
18016
18017Patch 8.2.2922
18018Problem: Computing array length is done in various ways.
18019Solution: Use ARRAY_LENGTH everywhere. (Ken Takata, closes #8305)
18020Files: src/arabic.c, src/blowfish.c, src/cindent.c, src/cmdexpand.c,
18021 src/cmdhist.c, src/dosinst.c, src/eval.c, src/evalfunc.c,
18022 src/ex_docmd.c, src/fileio.c, src/gui_athena.c, src/gui_gtk_x11.c,
18023 src/gui_haiku.cc, src/gui_photon.c, src/gui_w32.c,
18024 src/gui_xmebw.c, src/hardcopy.c, src/help.c, src/highlight.c,
18025 src/if_mzsch.c, src/macros.h, src/main.c, src/map.c, src/mbyte.c,
18026 src/memline.c, src/menu.c, src/misc2.c, src/normal.c, src/ops.c,
18027 src/option.c, src/optiondefs.h, src/os_win32.c, src/popupwin.c,
18028 src/quickfix.c, src/regexp.c, src/screen.c, src/search.c,
18029 src/syntax.c, src/term.c, src/terminal.c, src/time.c,
18030 src/usercmd.c, src/version.c
18031
18032Patch 8.2.2923
18033Problem: EBCDIC build is broken.
18034Solution: Move sortFunctions() to evalfunc.c. (Ken Takata, closes #8306)
18035Files: src/eval.c, src/evalfunc.c, src/proto/evalfunc.pro
18036
18037Patch 8.2.2924
18038Problem: Superfluous extern declaration.
18039Solution: Delete the declaration. (Ken Takata, closes #8307)
18040Files: src/main.c
18041
18042Patch 8.2.2925
18043Problem: Vim9: line continuation comment uses legacy syntax.
18044Solution: Check for #\ instead of "\. (closes #8295)
18045Files: src/scriptfile.c, src/testdir/test_vim9_script.vim
18046
18047Patch 8.2.2926
18048Problem: Vim9: no good error for using :legacy in a :def function.
18049Solution: Give an explicit error where :legacy is not working.
18050 (closes #8309)
18051Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_func.vim
18052
18053Patch 8.2.2927
18054Problem: Test commented out because it fails with ASAN.
18055Solution: Only skip the test when running with ASAN.
18056Files: src/testdir/test_startup.vim
18057
18058Patch 8.2.2928
18059Problem: The evalfunc.c file is too big.
18060Solution: Move float related functionality to a separate file. (Yegappan
18061 Lakshmanan, closes #8287)
18062Files: Filelist, src/Make_ami.mak, src/Make_cyg_ming.mak,
18063 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
18064 src/eval.c, src/evalfunc.c, src/float.c, src/proto.h,
18065 src/proto/eval.pro, src/proto/float.pro
18066
18067Patch 8.2.2929
18068Problem: Accidentally enable tcl by default.
18069Solution: Revert change to Makefile
18070Files: src/Makefile
18071
18072Patch 8.2.2930
18073Problem: When a popup is visible a mouse move my restart Visual mode.
18074Solution: Reset held_button when ending Visual mode. (closes #8318)
18075Files: src/mouse.c, src/proto/mouse.pro, src/normal.c
18076
18077Patch 8.2.2931
18078Problem: Vim9: line continuation comment still uses legacy syntax in one
18079 place.
18080Solution: Check for #\ instead of "\ earlier. (closes #8316)
18081Files: src/scriptfile.c, src/testdir/test_vim9_script.vim
18082
18083Patch 8.2.2932 (after 8.2.2930)
18084Problem: Select mode test fails.
18085Solution: Do not always reset the held mouse button.
18086Files: src/mouse.c, src/normal.c, src/proto/normal.pro
18087
18088Patch 8.2.2933
18089Problem: When 'clipboard' is "unnamed" zp and zP do not work correctly.
18090Solution: Pass -1 to str_to_reg() and fix computing the character width
18091 instead of using the byte length. (Christian Brabandt,
18092 closes #8301, closes #8317)
18093Files: src/clipboard.c, src/mbyte.c, src/register.c
18094
18095Patch 8.2.2934 (after 8.2.2933)
18096Problem: ASAN error when using text from the clipboard.
18097Solution: Get width of each character.
18098Files: src/register.c
18099
18100Patch 8.2.2935 (after 8.2.2934)
18101Problem: Calculating register width is not always needed. (Christian
18102 Brabandt)
18103Solution: Only calculate the width when the type is MBLOCK.
18104Files: src/register.c
18105
18106Patch 8.2.2936
18107Problem: Vim9: converting number to bool uses wrong stack offset. (Salman
18108 Halim)
18109Solution: Include the offset in the 2BOOL command.
18110Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c,
18111 src/testdir/test_vim9_expr.vim,
18112 src/testdir/test_vim9_disassemble.vim
18113
18114Patch 8.2.2937
18115Problem: Popup test fails if rightleft feature not enabled.
18116Solution: Check that the rightleft feature is available. (Dominique Pellé,
18117 closes #8321)
18118Files: src/testdir/test_popup.vim
18119
18120Patch 8.2.2938
18121Problem: After using motion force from feedkeys() it may not be reset.
18122Solution: Clear motion_force in clearop(). (closes #8323)
18123Files: src/normal.c, src/testdir/test_visual.vim
18124
18125Patch 8.2.2939
18126Problem: GTK: righthand scrollbar does not show with split window.
18127Solution: Adjust padding when two scrollbars are used. (Matt Wozniski,
18128 closes #8324)
18129Files: src/gui_gtk.c
18130
18131Patch 8.2.2940
18132Problem: MS-Windows: cannot see the size of the text area when resizing the
18133 gvim window.
18134Solution: Show a tooltip with the text size. (Ken Takata, closes #8326)
18135Files: src/gui_w32.c
18136
18137Patch 8.2.2941
18138Problem: Vim9: using `=expr` does not handle a list of strings.
18139Solution: Convert a list to a string and escape each item. (closes #8310)
18140Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
18141
18142Patch 8.2.2942
18143Problem: Vim9: internal error when calling function with too few arguments
18144Solution: Check for argument count to be too few. (closes #8325)
18145Files: src/errors.h, src/vim9execute.c, src/testdir/test_vim9_builtin.vim
18146
18147Patch 8.2.2943
18148Problem: Vim9: check for argument count ignores default values.
18149Solution: Take default argument values into account.
18150Files: src/vim9execute.c
18151
18152Patch 8.2.2944
18153Problem: Vim9: no error when using job or channel as a string.
18154Solution: Be more strict about conversion to string. (closes #8312)
18155Files: src/typval.c, src/job.c, src/proto/job.pro, src/channel.c,
18156 src/proto/channel.pro, src/eval.c, src/vim9execute.c,
18157 src/testdir/test_vim9_builtin.vim
18158
18159Patch 8.2.2945
18160Problem: Some buffer related code is not tested.
18161Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8320)
18162Files: src/termlib.c, src/testdir/test_excmd.vim,
18163 src/testdir/test_recover.vim, src/testdir/test_swap.vim,
18164 src/testdir/test_visual.vim
18165
18166Patch 8.2.2946
18167Problem: Vim9: substitute expression cannot be a List in a :def function.
18168Solution: Use typval2string(). (closes #8330)
18169Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
18170
18171Patch 8.2.2947
18172Problem: Build failure without the channel feature.
18173Solution: Add back #ifdef. (John Marriott)
18174Files: src/eval.c
18175
18176Patch 8.2.2948
18177Problem: Substitute() accepts a number but not a float expression.
18178Solution: Also accept a float. (closes #8331)
18179Files: src/typval.c, src/testdir/test_substitute.vim
18180
18181Patch 8.2.2949 (after 8.2.2948)
18182Problem: Tests failing because there is no error for float to string
18183 conversion.
18184Solution: Change the check for failure to check for correct result. Make
18185 some conversions strict in Vim9 script.
18186Files: src/evalfunc.c, src/float.c, src/findfile.c, src/json.c,
18187 src/filepath.c, src/testdir/test_eval_stuff.vim,
18188 src/testdir/test_execute_func.vim,
18189 src/testdir/test_float_func.vim, src/testdir/test_functions.vim,
18190 src/testdir/test_listdict.vim, src/testdir/test_glob2regpat.vim
18191
18192Patch 8.2.2950
18193Problem: Sound code not fully tested.
18194Solution: Add more sound tests. (Dominique Pellé, closes #8332)
18195Files: src/testdir/test_sound.vim
18196
18197Patch 8.2.2951
18198Problem: Vim9: cannot use heredoc in :def function for :python, :lua, etc.
18199Solution: Concatenate the heredoc lines and pass them in the ISN_EXEC_SPLIT
18200 instruction.
18201Files: src/userfunc.c, src/vim9compile.c, src/vim9.h, src/vim9execute.c,
18202 src/testdir/test_vim9_func.vim,
18203 src/testdir/test_vim9_disassemble.vim
18204
18205Patch 8.2.2952
18206Problem: Recover test fails on big endian systems.
18207Solution: Disable the failing test on big endian systems. (Yegappan
18208 Lakshmanan, closes #8335)
18209Files: src/testdir/test_recover.vim, src/testdir/test_swap.vim
18210
18211Patch 8.2.2953 (after 8.2.2951)
18212Problem: Vim9: leaking memory when using heredoc script.
18213Solution: Free the first line.
18214Files: src/vim9execute.c
18215
18216Patch 8.2.2954
18217Problem: Short file name extension for Scala not recognized.
18218Solution: Recognize *.sc. (closes #8337)
18219Files: runtime/filetype.vim, src/testdir/test_filetype.vim
18220
18221Patch 8.2.2955
18222Problem: Vim9: using filter in compiled command does not work.
18223Solution: Generate EXEC including the command modifier.
18224Files: src/vim9compile.c, src/ex_docmd.c, src/ex_cmds.c,
18225 src/proto/ex_cmds.pro, src/testdir/test_vim9_cmd.vim
18226
18227Patch 8.2.2956
18228Problem: Vim9: need to plan for future additions.
18229Solution: Reserve commands for future use: :type, :class, :enum.
18230Files: src/ex_cmds.h, src/ex_cmdidxs.h
18231
18232Patch 8.2.2957
18233Problem: Using getchar() in Vim9 script is problematic.
18234Solution: Add getcharstr(). (closes #8343)
18235Files: runtime/doc/eval.txt, src/evalfunc.c, src/getchar.c,
Bram Moolenaar47c532e2022-03-19 15:18:53 +000018236 src/proto/getchar.pro, src/testdir/test_functions.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018237
18238Patch 8.2.2958 (after 8.2.2957)
18239Problem: Function list test fails.
18240Solution: Add newly added function to the list. Fix typo.
18241Files: runtime/doc/usr_41.txt, src/testdir/test_function_lists.vim
18242
18243Patch 8.2.2959
18244Problem: sound_playfile() is not tested on MS-Windows.
18245Solution: Make it work and enable the test. (Dominique Pellé, closes #8338)
18246Files: src/sound.c, src/testdir/test_sound.vim
18247
18248Patch 8.2.2960
18249Problem: Swap file recovery not sufficiently tested.
18250Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8339)
18251Files: src/testdir/test_recover.vim
18252
18253Patch 8.2.2961
18254Problem: Keys typed during a :normal command are discarded.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018255Solution: Concatenate saved typeahead and typed keys. (closes #8340)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018256Files: src/getchar.c, src/proto/getchar.pro, src/ex_docmd.c,
18257 src/evalfunc.c, src/debugger.c, src/ui.c, src/proto/ui.pro
18258
18259Patch 8.2.2962
18260Problem: MS-Windows command line arguments have wrong encoding.
18261Solution: Always use utf-8 in get_cmd_argsW(). (Ken Takata, closes #8347)
18262Files: src/os_win32.c
18263
18264Patch 8.2.2963
18265Problem: GUI: mouse move may start Visual mode with a popup visible.
18266Solution: Add special code for mouse move. (closes #8318)
18267Files: src/vim.h, src/gui.c, src/keymap.h, src/term.c
18268
18269Patch 8.2.2964
18270Problem: Vim9: hang when using space after ->. (Naohiro Ono)
18271Solution: Skip over white space to find the function name. (closes #8341)
18272Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_expr.vim
18273
18274Patch 8.2.2965
18275Problem: Vim9: crash when calling function that failed to compile.
18276Solution: Fail when trying to call the function. (closes #8344)
18277Files: src/errors.h, src/vim9compile.c, src/testdir/test_vim9_func.vim
18278
18279Patch 8.2.2966
18280Problem: ml_get errors after recovering a file. (Yegappan Lakshmanan)
18281Solution: Fix the cursor position after deleting lines.
18282Files: src/memline.c
18283
18284Patch 8.2.2967
18285Problem: Vim9: crash when using two levels of partials.
18286Solution: Add outer_ref_T and use it in the execution context.
18287Files: src/structs.h, src/vim9execute.c, src/testdir/test_vim9_func.vim
18288
18289Patch 8.2.2968 (after 8.2.2967)
18290Problem: Vim9: memory leak
18291Solution: Unreference pt_outer of partial.
18292Files: src/eval.c
18293
18294Patch 8.2.2969
18295Problem: Subtracting from number option fails when result is zero. (Ingo
18296 Karkat)
18297Solution: Reset the string value when using the numeric value.
18298 (closes #8351)
18299Files: src/evalvars.c, src/testdir/test_vimscript.vim
18300
18301Patch 8.2.2970
18302Problem: Python configure check uses deprecated command.
18303Solution: Use sysconfig instead of distutils if possible. (Zdenek Dohnal,
18304 closes #8354)
18305Files: src/configure.ac, src/auto/configure
18306
18307Patch 8.2.2971
18308Problem: Cannot yank a block without trailing spaces.
18309Solution: Add the "zy" command. (Christian Brabandt, closes #8292)
18310Files: runtime/doc/change.txt, runtime/doc/index.txt, src/normal.c,
18311 src/ops.c, src/register.c, src/structs.h,
18312 src/testdir/test_visual.vim
18313
18314Patch 8.2.2972
18315Problem: "%bd" tries to delete popup window buffers, which fails. (Ralf
18316 Schandl)
18317Solution: Do not try to delete a popup window buffer. (closes #8349)
18318Files: src/buffer.c, src/vim.h, src/testdir/test_popupwin.vim
18319
18320Patch 8.2.2973
18321Problem: Fix for recovery and diff mode not tested.
18322Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8352)
18323Files: src/testdir/test_diffmode.vim, src/testdir/test_prompt_buffer.vim,
18324 src/testdir/test_recover.vim
18325
18326Patch 8.2.2974
18327Problem: Greek spell checking uses wrong case folding.
18328Solution: Fold capital sigma depending on whether it is at the end of a
18329 word or not. (closes #299)
18330Files: src/spell.c, src/proto/spell.pro, src/spellfile.c,
18331 src/spellsuggest.c
18332
18333Patch 8.2.2975
18334Problem: Vim9: can only use an autoload function name as a string.
18335Solution: Load the autoload script when encountered. (closes #8124)
18336Files: src/vim9compile.c, src/evalvars.c, src/scriptfile.c,
18337 src/testdir/test_vim9_func.vim
18338
18339Patch 8.2.2976 (after 8.2.2975)
18340Problem: Build failure without the +eval feature.
18341Solution: Add #ifdefs.
18342Files: src/scriptfile.c
18343
18344Patch 8.2.2977
18345Problem: Crash when using a null function reference. (Naohiro Ono)
18346Solution: Check for an invalid function name. (closes #8367)
18347Files: src/eval.c, src/errors.h, src/testdir/test_functions.vim
18348
18349Patch 8.2.2978 (after 8.2.2977)
18350Problem: Warning for uninitialized variable.
18351Solution: Set return value to FAIL.
18352Files: src/eval.c
18353
18354Patch 8.2.2979
18355Problem: Not all options code is covered by tests.
18356Solution: Add more tests for options. (Yegappan Lakshmanan, closes #8369)
18357Files: src/testdir/test_edit.vim, src/testdir/test_excmd.vim,
18358 src/testdir/test_help.vim, src/testdir/test_mksession.vim,
18359 src/testdir/test_options.vim, src/testdir/test_vartabs.vim,
18360 src/testdir/test_window_cmd.vim
18361
18362Patch 8.2.2980
18363Problem: Popup window test is a bit flaky.
18364Solution: Add a redraw command.
18365Files: src/testdir/test_popupwin.vim
18366
18367Patch 8.2.2981
18368Problem: Recovery test is not run on big-endian systems.
18369Solution: Make it work on big-endian systems. (James McCoy, closes #8368)
18370Files: src/testdir/test_recover.vim
18371
18372Patch 8.2.2982
18373Problem: Vim9: future commands are not reserved yet.
18374Solution: Add commands to be implemented later. Make "this" a reserved
18375 name.
18376Files: runtime/doc/vim9.txt, src/ex_cmds.h, src/ex_cmdidxs.h,
18377 src/vim9script.c, src/testdir/test_vim9_assign.vim
18378
18379Patch 8.2.2983
18380Problem: Vim9: an inline function requires specifying the return type.
18381Solution: Make the return type optional.
18382Files: src/eval.c, src/vim9compile.c, src/userfunc.c,
18383 src/testdir/test_vim9_func.vim
18384
18385Patch 8.2.2984 (after 8.2.2983)
18386Problem: Vim9: Test fails because of missing return statement.
18387Solution: When type is unknown set type to void.
18388Files: src/vim9compile.c
18389
18390Patch 8.2.2985
18391Problem: Vim9: a compiled function cannot be debugged.
18392Solution: Add initial debugging support.
18393Files: src/vim9.h, src/vim9compile.c, src/proto/vim9compile.pro,
18394 src/vim.h, src/eval.c, src/vim9execute.c, src/userfunc.c,
18395 src/vim9type.c, src/testdir/test_debugger.vim,
18396 src/testdir/test_vim9_disassemble.vim
18397
18398Patch 8.2.2986
18399Problem: Build failure without the profile feature.
18400Solution: Add #ifdef.
18401Files: src/vim9compile.c
18402
18403Patch 8.2.2987
18404Problem: Build failure with normal features.
18405Solution: Remove #define.
18406Files: src/vim9execute.c
18407
18408Patch 8.2.2988
18409Problem: Vim9: debugger test fails.
18410Solution: Get the debugger instructions when needed.
18411Files: src/vim.h, src/vim9.h
18412
18413Patch 8.2.2989
18414Problem: Vim9: memory leak when debugging a :def function.
18415Solution: Free the debug instructions.
18416Files: src/vim9compile.c
18417
18418Patch 8.2.2990
18419Problem: Jupyter Notebook files are not recognized.
18420Solution: Recognize *.ipynb. (closes #8375)
18421Files: runtime/filetype.vim, src/testdir/test_filetype.vim
18422
18423Patch 8.2.2991
18424Problem: Vim9: no completion for :vim9 and :legacy.
18425Solution: Expand argument as a command. (closes #8377)
18426Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
18427
18428Patch 8.2.2992
18429Problem: Vim9: completion for :disassemble is incomplete.
18430Solution: Recognize the "debug" and "profile" arguments.
18431Files: src/cmdexpand.c, src/vim9execute.c, src/proto/vim9execute.pro,
18432 src/vim.h, src/testdir/test_cmdline.vim
18433
18434Patch 8.2.2993
18435Problem: 'fileencodings' default value should depend on 'encoding'. (Gary
18436 Johnson)
18437Solution: When 'encoding' is "utf-8" use a different default value for
18438 'fileencodings'.
18439Files: src/mbyte.c, src/option.c, src/proto/option.pro,
18440 src/testdir/test_options.vim
18441
18442Patch 8.2.2994
18443Problem: Various code is not fully tested.
18444Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8378)
18445Files: src/testdir/test_excmd.vim, src/testdir/test_mapping.vim,
18446 src/testdir/test_modeline.vim, src/testdir/test_options.vim,
18447 src/testdir/test_paste.vim, src/vim9compile.c
18448
18449Patch 8.2.2995
18450Problem: Linker errors with dynamic Python 3.10.
18451Solution: Add a couple of library entries. (Zdenek Dohnal, closes #8381,
18452 closes #8356)
18453Files: src/if_python3.c
18454
18455Patch 8.2.2996
18456Problem: Vim9: when debugging cannot inspect local variables.
18457Solution: Make local variables available when debugging.
18458Files: src/vim9execute.c, src/proto/vim9execute.pro, src/vim9compile.c,
18459 src/vim9.h, src/debugger.c, src/testdir/test_debugger.vim
18460
18461Patch 8.2.2997 (after 8.2 2996)
18462Problem: Vim9: disassemble test fails.
18463Solution: Adjust expected output.
18464Files: src/testdir/test_vim9_disassemble.vim
18465
18466Patch 8.2.2998 (after 8.2 2996)
18467Problem: Vim9: disassemble test fails.
18468Solution: Add missing call to lookup_debug_var().
18469Files: src/evalvars.c
18470
18471Patch 8.2.2999
18472Problem: Balloon sometimes does not hide with GTK 3.
18473Solution: Also listen to GDK_LEAVE_NOTIFY. (Johannes Stezenbach)
18474Files: src/gui_beval.c
18475
18476Patch 8.2.3000
18477Problem: Vim9: warning for uninitialized variable.
18478Solution: Add initialization. (John Marriott)
18479Files: src/vim9compile.c
18480
18481Patch 8.2.3001
18482Problem: Vim9: memory leak when compilation fails.
18483Solution: Free the list of variable names.
18484Files: src/vim9compile.c
18485
18486Patch 8.2.3002
18487Problem: Vim doesn't abort on a fatal Tcl error.
18488Solution: Change emsg() to iemsg(). (Dominique Pellé, closes #8383)
18489Files: src/if_tcl.c
18490
18491Patch 8.2.3003
18492Problem: Vim9: closure compiled with wrong compile type.
18493Solution: Use COMPILE_TYPE() when calling a function. (closes #8384)
18494Files: src/vim9execute.c, src/testdir/test_debugger.vim
18495
18496Patch 8.2.3004
18497Problem: Vim9: error for missing colon given while skipping.
18498Solution: Do not give the error when skipping. (closes #8385)
18499Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
18500
18501Patch 8.2.3005
18502Problem: Vim9: using a void value does not give a proper error message.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018503Solution: Give a clear error message. (closes #8387)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018504Files: src/typval.c, src/vim9compile.c, src/vim9.h, src/vim9execute.c,
18505 src/testdir/test_vim9_expr.vim,
18506 src/testdir/test_vim9_disassemble.vim
18507
18508Patch 8.2.3006
18509Problem: Crash when echoing a value very early. (Naruhiko Nishino)
18510Solution: Do not use a NUL to truncate the message, make a copy.
18511 (closes #8388)
18512Files: src/message.c, src/testdir/test_startup.vim
18513
18514Patch 8.2.3007 (after 8.2.3005)
18515Problem: Vim9: test for void value fails.
18516Solution: Adjust expected error. Do not make a copy of void.
18517Files: src/typval.c, src/testdir/test_functions.vim
18518
18519Patch 8.2.3008 (after 8.2.3006)
18520Problem: Startup test may hang.
18521Solution: Add quit command in the script.
18522Files: src/testdir/test_startup.vim
18523
18524Patch 8.2.3009 (after 8.2.3006)
18525Problem: Startup test may hang.
18526Solution: Do not run the test in the GUI.
18527Files: src/testdir/test_startup.vim
18528
18529Patch 8.2.3010
18530Problem: Not enough testing for viminfo code.
18531Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8390)
18532Files: src/register.c, src/testdir/test_fileformat.vim,
18533 src/testdir/test_smartindent.vim, src/testdir/test_viminfo.vim
18534
18535Patch 8.2.3011
18536Problem: Vim9: cannot get argument values during debugging.
18537Solution: Lookup names in the list of arguments. Put debug instruction
18538 halfway for command.
18539Files: src/vim9compile.c, src/vim9execute.c,
18540 src/testdir/test_debugger.vim
18541
18542Patch 8.2.3012
18543Problem: When 'rightleft' is set the line number is sometimes drawn
18544 reversed.
18545Solution: Adjust how space is handled. (Christian Brabandt, closes #8389,
18546 closes #8391)
18547Files: src/drawline.c, src/testdir/test_number.vim
18548
18549Patch 8.2.3013
18550Problem: Vim: when debugging only the first line of a command using line
18551 continuation is displayed.
18552Solution: Find the next command and concatenate lines until that one.
18553 (closes #8392)
18554Files: src/vim9execute.c, src/testdir/test_debugger.vim
18555
18556Patch 8.2.3014
18557Problem: Coverity warns for freeing static string.
18558Solution: Do not assign static string to pointer. (Dominique Pellé,
18559 closes #8397)
18560Files: src/vim9execute.c
18561
18562Patch 8.2.3015
18563Problem: Vim9: Assigning to @# requires a string. (Naohiro Ono)
18564Solution: Accent a number or a string. (closes #8396)
18565Files: src/vim9compile.c, src/vim9execute.c, src/globals.h,
18566 src/testdir/test_vim9_assign.vim
18567
18568Patch 8.2.3016
18569Problem: Confusing error when expression is followed by comma.
18570Solution: Give a different error for trailing text. (closes #8395)
18571Files: src/eval.c, src/testdir/test_let.vim,
18572 src/testdir/test_eval_stuff.vim, src/testdir/test_vim9_expr.vim,
18573 src/testdir/test_vim9_script.vim, src/testdir/test_viminfo.vim,
18574 src/testdir/test_vimscript.vim
18575
18576Patch 8.2.3017
18577Problem: Vim9: debugger shows too many lines.
18578Solution: Truncate at a comment, "enddef", etc. (closes #8392)
18579Files: src/vim9execute.c, src/testdir/test_debugger.vim
18580
18581Patch 8.2.3018
18582Problem: Formatting using quickfixtextfunc is lost when updating location
18583 lists for different buffers. (Yorick Peterse)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018584Solution: Use the right window for the location list. (Yegappan Lakshmanan,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018585 closes #8400, closes #8403)
18586Files: src/quickfix.c, src/testdir/test_quickfix.vim
18587
18588Patch 8.2.3019
18589Problem: Location list only has the start position.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018590Solution: Make it possible to add an end position. (thinca, closes #8393)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018591Files: runtime/doc/eval.txt, src/quickfix.c,
18592 src/testdir/dumps/Test_quickfix_cwindow_1.dump,
18593 src/testdir/dumps/Test_quickfix_cwindow_2.dump,
18594 src/testdir/test_quickfix.vim, src/testdir/test_tagjump.vim,
18595 src/testdir/test_vim9_expr.vim
18596
18597Patch 8.2.3020
18598Problem: Unreachable code.
18599Solution: Remove the code. (closes #8406)
18600Files: src/ex_docmd.c
18601
18602Patch 8.2.3021
18603Problem: Spaces allowed between option name and "!", "?", etc.
18604Solution: Disallow spaces in Vim9 script, it was not documented.
18605 (closes #8408)
18606Files: src/option.c, src/testdir/test_vim9_script.vim
18607
18608Patch 8.2.3022
18609Problem: Available encryption methods are not strong enough.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018610Solution: Add initial support for xchacha20. (Christian Brabandt,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018611 closes #8394)
18612Files: .github/workflows/ci.yml, runtime/doc/eval.txt,
18613 runtime/doc/options.txt, runtime/doc/various.txt,
18614 src/INSTALLpc.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak,
18615 src/auto/configure, src/blowfish.c, src/bufwrite.c,
18616 src/config.h.in, src/configure.ac, src/crypt.c, src/crypt_zip.c,
18617 src/errors.h, src/evalfunc.c, src/feature.h, src/fileio.c,
18618 src/memline.c, src/option.c, src/optionstr.c,
18619 src/proto/blowfish.pro, src/proto/crypt.pro,
18620 src/proto/crypt_zip.pro, src/structs.h,
18621 src/testdir/samples/crypt_sodium_invalid.txt,
18622 src/testdir/test_crypt.vim, src/undo.c, src/version.c
18623
18624Patch 8.2.3023
18625Problem: Vim9: arguments for execute() not checked at compile time.
18626Solution: Add a function to check the argument types.
18627Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
18628
18629Patch 8.2.3024 (after 8.2.3023)
18630Problem: execute() function test fails.
18631Solution: Adjust test for different error.
18632Files: src/testdir/test_execute_func.vim
18633
18634Patch 8.2.3025
18635Problem: Not enough tests for quickfix end_col and end_lnum.
18636Solution: Add a few more test cases. (Shane-XB-Qian, closes #8409)
18637Files: src/testdir/test_quickfix.vim
18638
18639Patch 8.2.3026
18640Problem: Vim9: cannot set breakpoint in compiled function.
18641Solution: Check for breakpoint when calling a function.
18642Files: src/vim9execute.c, src/structs.h, src/vim.h, src/vim9.h,
18643 src/debugger.c, src/testdir/test_debugger.vim
18644
18645Patch 8.2.3027
18646Problem: Vim9: breakpoint in compiled function not always checked.
18647Solution: Check for breakpoint when calling compiled function from compiled
18648 function.
18649Files: src/vim9execute.c, src/testdir/test_debugger.vim
18650
18651Patch 8.2.3028
18652Problem: GUI mouse events not tested.
18653Solution: Add test_gui_mouse_event(). Add mouse tests. Also add a few
18654 viminfo tests. (Yegappan Lakshmanan, closes #8407)
18655Files: runtime/doc/eval.txt, runtime/doc/testing.txt,
18656 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/testing.pro,
18657 src/testdir/test_gui.vim, src/testdir/test_viminfo.vim,
18658 src/testing.c
18659
18660Patch 8.2.3029
18661Problem: Vim9: crash when using operator and list unpack assignment.
18662 (Naohiro Ono)
18663Solution: Get variable value before operation. (closes #8416)
18664Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/ex_docmd.c,
18665 src/testdir/test_vim9_assign.vim,
18666 src/testdir/test_vim9_disassemble.vim
18667
18668Patch 8.2.3030
18669Problem: Coverity reports a memory leak.
18670Solution: Fix the leak and a few typos. (Dominique Pellé, closes #8418)
18671Files: src/crypt.c, src/errors.h
18672
18673Patch 8.2.3031
18674Problem: No error if a function name starts with an underscore. (Naohiro
18675 Ono)
18676Solution: In Vim9 script disallow a function name starting with an
18677 underscore, as is mentioned in the help. (closes #8414)
18678Files: src/userfunc.c, src/testdir/test_vim9_func.vim
18679
18680Patch 8.2.3032
18681Problem: Build problems with MSVC, other crypt issues with libsodium.
18682Solution: Adjust MSVC makefile. Disable swap file only when 'key' is set.
18683 Adjust error message used when key is wrong. Fix Coverity issues.
18684 (Christian Brabandt, closes #8420, closes #8411)
18685Files: src/Make_mvc.mak, src/crypt.c, src/errors.h, src/fileio.c,
18686 src/memline.c, src/proto/crypt.pro
18687
18688Patch 8.2.3033
18689Problem: No error when using alpha delimiter with :global.
18690Solution: Check the delimiter like with :substitute. (closes #8415)
18691Files: src/ex_cmds.c, src/testdir/test_global.vim
18692
18693Patch 8.2.3034
18694Problem: Installing packages on github CI sometimes fails.
18695Solution: Update package information first. (Christian Brabandt,
18696 closes #8432)
18697Files: .github/workflows/ci.yml
18698
18699Patch 8.2.3035
18700Problem: Vim9: crash when calling :def function with partial and return
18701 type is not set.
18702Solution: When the return type is not set handle like the return type is
18703 unknown. (closes #8422)
18704Files: src/vim9type.c, src/testdir/test_vim9_func.vim
18705
18706Patch 8.2.3036
18707Problem: Vim9: builtin function arguments not checked at compile time.
18708Solution: Add more argument type specs. Check arguments to test_setmouse()
18709 and test_gui_mouse_event(). (Yegappan Lakshmanan, closes #8425)
18710Files: src/evalfunc.c, src/testdir/test_assert.vim,
18711 src/testdir/test_gui.vim, src/testdir/test_popupwin.vim,
18712 src/testdir/test_vim9_builtin.vim, src/testing.c
18713
18714Patch 8.2.3037
18715Problem: Configure reports libcanberra when checking for libsodium.
18716Solution: Adjust the message. (Ozaki Kiichi, closes #8435)
18717Files: src/configure.ac, src/auto/configure
18718
18719Patch 8.2.3038
18720Problem: Amiga built-in version string doesn't include build date.
18721Solution: Add the build date if available. (Ola Söder, closes #8437)
18722Files: src/os_amiga.c
18723
18724Patch 8.2.3039
18725Problem: Vim9: breakpoint at a comment line does not work.
18726Solution: Add the comment line number to the debug instruction.
18727 (closes #8429)
18728Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
18729 src/testdir/test_debugger.vim,
18730 src/testdir/test_vim9_disassemble.vim
18731
18732Patch 8.2.3040
18733Problem: GUI: dropping files not tested.
18734Solution: Add test_gui_drop_files() and tests. (Yegappan Lakshmanan,
18735 closes #8434)
18736Files: runtime/doc/eval.txt, runtime/doc/testing.txt,
18737 runtime/doc/usr_41.txt, src/evalfunc.c, src/gui.c,
18738 src/proto/testing.pro, src/testdir/test_gui.vim, src/testing.c
18739
18740Patch 8.2.3041
18741Problem: Detecting if the process of a swap file is running fails if the
18742 process is owned by another user.
18743Solution: Check for the ESRCH error. (closes #8436)
18744Files: src/os_unix.c
18745
18746Patch 8.2.3042 (after 8.2.3041)
18747Problem: Swap file test fails.
18748Solution: Check for a very high process ID instead of one, which should be
18749 running.
18750Files: src/testdir/test_swap.vim
18751
18752Patch 8.2.3043
18753Problem: Amiga: cannot get the shell size on MorphOS and AROS.
18754Solution: Use control sequences. (Ola Söder, closes #8438)
18755Files: src/os_amiga.c
18756
18757Patch 8.2.3044
18758Problem: Amiga MorphOS and AROS: process ID is not valid.
18759Solution: Use FindTask to return something which is unique to all processes.
18760 (Ola Söder, closes #8444)
18761Files: src/os_amiga.c
18762
18763Patch 8.2.3045
18764Problem: Minor typos.
18765Solution: Fix the typos. (Christian Brabandt, closes #8441)
18766Files: src/VisVim/README_VisVim.txt, src/evalfunc.c, src/testdir/vim9.vim
18767
18768Patch 8.2.3046
18769Problem: Amiga MorphOS: Term mode is set using DOS packets.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018770Solution: Use the same way of setting term mode on all next gen Amiga-like
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018771 systems. (Ola Söder, closes #8445)
18772Files: src/os_amiga.c
18773
18774Patch 8.2.3047
18775Problem: Increment and decrement don't allow for next command.
18776Solution: Allow for comment and next command. (closes #8442)
18777Files: src/ex_cmds.h, src/vim9script.c, src/testdir/test_vim9_assign.vim
18778
18779Patch 8.2.3048
18780Problem: Strange error for white space after ++ command.
18781Solution: Check for white space explicitly. (closes #8440)
18782Files: src/vim9script.c, src/errors.h, src/vim9compile.c,
18783 src/testdir/test_vim9_assign.vim
18784
18785Patch 8.2.3049
18786Problem: JSON patch file not recognized.
18787Solution: Recognize json-patch as json. (Kevin Locke, closes #8450)
18788Files: runtime/filetype.vim, src/testdir/test_filetype.vim
18789
18790Patch 8.2.3050
18791Problem: Cannot recognize elixir files.
18792Solution: Recognize Elixir-specific files. Check if an .ex file is Euphoria
18793 or Elixir. (Austin Gatlin, closes #8401, closes #8446)
18794Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
18795 src/testdir/test_filetype.vim
18796
18797Patch 8.2.3051
18798Problem: Vim9: for loop with one list variable does not work.
18799Solution: Use a separate flag for unpacking a list. (closes #8452)
18800Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
18801
18802Patch 8.2.3052
18803Problem: Vim9: "legacy call" does not work.
18804Solution: Do not skip "call" after "legacy". (closes #8454)
18805Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
18806
18807Patch 8.2.3053
18808Problem: Vim9: cannot assign to @@ in :def function
18809Solution: Handle '@' like '"'. (closes #8456)
18810Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
18811
18812Patch 8.2.3054
18813Problem: Vim9: unpack assignment using "_" after semicolon fails.
18814Solution: Drop the expression result. (closes #8453)
18815Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_assign.vim
18816
18817Patch 8.2.3055
18818Problem: Strange error for assigning to "x.key" on non-dictionary.
18819Solution: Add a specific error message. (closes #8451)
18820Files: src/eval.c, src/errors.h, src/testdir/test_vim9_assign.vim,
18821 src/testdir/test_listdict.vim, src/testdir/test_let.vim
18822
18823Patch 8.2.3056
18824Problem: Vim9: using default value in lambda gives confusing error.
18825Solution: Pass "default_args" on the first pass to get the arguments.
18826 (closes #8455)
18827Files: src/userfunc.c, src/testdir/test_vim9_func.vim
18828
18829Patch 8.2.3057
18830Problem: Vim9: debugger test fails with normal features and +terminal.
18831 (Dominique Pellé)
18832Solution: Adjust the INSTRUCTIONS macro. (closes #8460)
18833Files: src/vim9.h
18834
18835Patch 8.2.3058 (after 8.2.3056)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018836Problem: Vim9: cannot use ternary operator in parentheses.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018837Solution: Do not use "==" for a default argument value. (closes #8462)
18838Files: src/userfunc.c, src/testdir/test_vim9_func.vim
18839
18840Patch 8.2.3059 (after 8.2.3056)
18841Problem: Vim9: memory leak when using lambda.
18842Solution: Do not store the default value strings when skipping.
18843Files: src/userfunc.c
18844
18845Patch 8.2.3060 (after 8.2.3056)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018846Problem: Vim9: cannot use ternary operator in parentheses.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018847Solution: Do not use "=~" for a default argument value. (closes #8462)
18848Files: src/userfunc.c, src/testdir/test_vim9_func.vim
18849
18850Patch 8.2.3061
18851Problem: Testing the shell option is incomplete and spread out.
18852Solution: Move shell tests to one file and increase coverage. (Yegappan
18853 Lakshmanan, closes #8464)
18854Files: src/testdir/Make_all.mak, src/testdir/test_functions.vim,
18855 src/testdir/test_options.vim, src/testdir/test_shell.vim,
18856 src/testdir/test_system.vim
18857
18858Patch 8.2.3062
18859Problem: Internal error when adding several text properties.
18860Solution: Do not handle text properties when deleting a line for splitting a
18861 data block. (closes #8466)
18862Files: src/structs.h, src/memline.c, src/testdir/test_textprop.vim
18863
18864Patch 8.2.3063
K.Takata7b7672d2024-01-06 01:47:01 +090018865Problem: Crash when switching 'cryptmethod' to xchacha20 with an existing
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018866 undo file. (Martin Tournoij)
18867Solution: Disable reading undo file when decoding can't be done inplace.
18868 (issue #8467)
18869Files: src/fileio.c, src/bufwrite.c
18870
18871Patch 8.2.3064
18872Problem: Vim9: in script cannot set item in uninitialized list.
18873Solution: When a list is NULL allocate an empty one. (closes #8461)
18874Files: src/eval.c, src/testdir/test_vim9_assign.vim
18875
18876Patch 8.2.3065
18877Problem: Vim9: error when sourcing script twice and reusing a function
18878 name.
18879Solution: Check if the function is dead. (closes #8463)
18880Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
18881
18882Patch 8.2.3066
18883Problem: Vim9: debugging lambda does not work.
18884Solution: Use the compile type of the function when compiling a lambda.
18885 (closes #8412)
18886Files: src/vim9compile.c, src/testdir/test_debugger.vim
18887
18888Patch 8.2.3067
18889Problem: Building fails with Athena. (Elimar Riesebieter)
18890Solution: Adjust #ifdefs and add the 'drop_file' feature.
18891Files: src/evalfunc.c, src/testing.c, src/testdir/test_gui.vim
18892
18893Patch 8.2.3068
18894Problem: Unicode tables are slightly outdated.
18895Solution: Update the tables for Unicode release 13. (Christian Brabandt
18896 closes #8430)
18897Files: runtime/tools/unicode.vim, src/mbyte.c
18898
18899Patch 8.2.3069
18900Problem: Error messages are spread out.
18901Solution: Move some error messages to errors.h. Use clearer names.
18902Files: src/errors.h, src/globals.h, src/arglist.c, src/buffer.c,
18903 src/channel.c, src/eval.c, src/evalfunc.c, src/evalvars.c,
18904 src/evalwindow.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c,
18905 src/filepath.c, src/fold.c, src/getchar.c, src/indent.c,
18906 src/list.c, src/map.c, src/mark.c, src/normal.c, src/ops.c,
18907 src/optionstr.c, src/popupwin.c, src/quickfix.c, src/spellfile.c,
18908 src/textprop.c, src/typval.c, src/undo.c, src/userfunc.c,
18909 src/vim9compile.c, src/window.c
18910
18911Patch 8.2.3070
18912Problem: Not enough testing for shell use.
18913Solution: Add a bit more testing. (Yegappan Lakshmanan, closes #8469)
18914Files: src/testdir/test_shell.vim, src/testdir/test_startup.vim
18915
18916Patch 8.2.3071
18917Problem: Shell options are not set properly for PowerShell.
18918Solution: Use better option defaults. (Mike Williams, closes #8459)
18919Files: runtime/doc/eval.txt, runtime/doc/options.txt,
18920 runtime/doc/os_dos.txt, src/fileio.c, src/misc2.c, src/option.c,
18921 src/os_win32.c, src/testdir/test_shell.vim
18922
18923Patch 8.2.3072
18924Problem: The "zy" command does not work well when 'virtualedit' is set to
18925 "block". (Johann Höchtl)
18926Solution: Make endspaces zero. (Christian Brabandt, closes #8468,
18927 closes #8448)
18928Files: src/register.c, src/testdir/test_visual.vim
18929
18930Patch 8.2.3073
18931Problem: When cursor is moved for block append wrong text is inserted.
18932Solution: Calculate an offset. (Christian Brabandt, closes #8433,
18933 closes #8288)
18934Files: src/ops.c, src/testdir/test_blockedit.vim,
18935 src/testdir/test_visual.vim
18936
18937Patch 8.2.3074
18938Problem: popup_atcursor() uses wrong position with concealing.
18939Solution: Keep w_wcol in conceal_check_cursor_line(). (closes #8476)
18940Files: src/screen.c, src/proto/screen.pro, src/normal.c, src/edit.c,
18941 src/ui.c, src/testdir/test_popupwin.vim,
18942 src/testdir/dumps/Test_popupwin_atcursor_pos.dump
18943
18944Patch 8.2.3075
18945Problem: Xxd always reports an old version string. (Ã…smund Ervik)
18946Solution: Update the version string with the last known change date.
18947 (Jürgen Weigert, closes #8475)
18948Files: src/xxd/xxd.c, src/testdir/test_xxd.vim
18949
18950Patch 8.2.3076
18951Problem: Vim9: using try in catch block causes a hang.
18952Solution: Save and restore the ec_in_catch flag. (closes #8478)
18953Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
18954
18955Patch 8.2.3077
18956Problem: Vim9: an error in a catch block is not reported.
18957Solution: Put the "in catch" flag in the try stack. (closes #8478)
18958Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
18959
18960Patch 8.2.3078
18961Problem: Vim9: profile test fails.
18962Solution: Make throw in :catch jump to :finally.
18963Files: src/vim9compile.c, src/vim9execute.c,
18964 src/testdir/test_vim9_script.vim
18965
18966Patch 8.2.3079
18967Problem: Powershell core not supported by default.
18968Solution: Set option defaults for "pwsh". (Mike Williams, closes #8481)
18969Files: runtime/doc/eval.txt, runtime/doc/options.txt,
18970 runtime/doc/os_dos.txt, runtime/doc/os_win32.txt, src/fileio.c,
18971 src/misc2.c, src/option.c, src/os_win32.c,
18972 src/testdir/test_shell.vim
18973
18974Patch 8.2.3080
18975Problem: Recover test fails on 32bit systems. (Ondřej Súkup)
18976Solution: Detect 32/64 bit systems. (Yegappan Lakshmanan, closes #8485,
18977 closes #8479)
18978Files: src/testdir/test_recover.vim
18979
18980Patch 8.2.3081
18981Problem: Cannot catch errors in a channel command.
18982Solution: Instead of skipping the error make it silent. (closes #8477)
18983Files: src/channel.c
18984
18985Patch 8.2.3082
18986Problem: A channel command "echoerr" does not show anything.
18987Solution: Do not use silent errors when using an "echoerr" command.
18988 (closes #8494)
18989Files: src/channel.c, src/testdir/test_channel.py,
18990 src/testdir/test_channel.vim
18991
18992Patch 8.2.3083
18993Problem: Crash when passing null string to charclass().
18994Solution: Bail out when string pointer is NULL. (Christian Brabandt,
18995 closes #8498, closes #8260)
18996Files: src/mbyte.c, src/testdir/test_functions.vim
18997
18998Patch 8.2.3084
18999Problem: Vim9: builtin function argument types are not checked at compile
19000 time.
19001Solution: Add argument types. (Yegappan Lakshmanan, closes #8503)
19002Files: src/evalfunc.c, src/testdir/test_functions.vim,
19003 src/testdir/test_glob2regpat.vim,
19004 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim
19005
19006Patch 8.2.3085
19007Problem: JSONC files are not recognized.
19008Solution: Recognize .jsonc files. (Izhak Jakov, closes #8500)
19009Files: runtime/filetype.vim, src/testdir/test_filetype.vim
19010
19011Patch 8.2.3086
19012Problem: Vim9: breakpoint on "for" does not work.
19013Solution: Use the right line number in ISN_DEBUG. (closes #8486)
19014Files: src/vim9compile.c, src/testdir/test_debugger.vim
19015
19016Patch 8.2.3087
19017Problem: Gemtext files are not recognized.
19018Solution: Recognize .gmi and .gemini files. (closes #8427)
19019Files: runtime/filetype.vim, src/testdir/test_filetype.vim
19020
19021Patch 8.2.3088
19022Problem: With 'virtualedit' set to "block" Visual highlight is wrong after
19023 using "$". (Marco Trosi)
19024Solution: Do not set w_old_cursor_lcol to MAXCOL. (closes #8495)
19025Files: src/drawscreen.c, src/testdir/test_visual.vim,
19026 src/testdir/dumps/Test_visual_block_with_virtualedit.dump
19027
19028Patch 8.2.3089
19029Problem: Garbage collection has useless code.
19030Solution: Bail out when aborting. (closes #8504)
19031Files: src/userfunc.c
19032
19033Patch 8.2.3090
19034Problem: With concealing enabled and indirectly closing a fold the cursor
19035 may be somewhere in a folded line.
19036Solution: Recompute the cursor position when the cursor line can be
19037 concealed. (closes #8480)
19038Files: src/drawscreen.c
19039
19040Patch 8.2.3091
19041Problem: Vim9: default argument expression cannot use previous argument
19042Solution: Correct argument index. (closes #8496)
19043Files: src/vim9compile.c, src/structs.h, src/testdir/test_vim9_func.vim
19044
19045Patch 8.2.3092
19046Problem: Vim9: builtin function test fails without the +channel feature.
19047Solution: Check the +channel feature is supported. (Dominique Pellé,
19048 closes #8507)
19049Files: runtime/doc/eval.txt, src/testdir/test_vim9_builtin.vim
19050
19051Patch 8.2.3093
19052Problem: tablabel_tooltip test fails with Athena. (Dominique Pellé)
19053Solution: Skip the test when using Athena. (closes #8508)
19054Files: src/testdir/test_gui.vim, src/testdir/check.vim
19055
19056Patch 8.2.3094
19057Problem: Test_popup_atcursor_pos() fails without the conceal feature.
19058Solution: Add a check for the conceal feature. (Dominique Pellé,
19059 closes #8505)
19060Files: src/testdir/test_popupwin.vim
19061
19062Patch 8.2.3095 (after 8.2.3088)
19063Problem: With 'virtualedit' set to "block" block selection is wrong after
19064 using "$". (Marco Trosi)
19065Solution: Compute the longest selected line. (closes #8495)
19066Files: src/drawscreen.c, src/testdir/test_visual.vim,
19067 src/testdir/dumps/Test_visual_block_with_virtualedit2.dump
19068
19069Patch 8.2.3096
19070Problem: Temp files remain after running tests.
19071Solution: Delete the right files. (Dominique Pellé, closes #8509)
19072Files: src/testdir/test_debugger.vim, src/testdir/test_lambda.vim,
19073 src/testdir/test_visual.vim
19074
19075
19076Patch 8.2.3097
19077Problem: Crash when using "quit" at recovery prompt and autocommands are
19078 triggered.
19079Solution: Block autocommands when creating an empty buffer to use as the
19080 current buffer. (closes #8506)
19081Files: src/buffer.c, src/testdir/test_swap.vim
19082
19083Patch 8.2.3098
19084Problem: Popup window test is flaky on MS-Windows with GUI.
19085Solution: Skip the check in this situation.
19086Files: src/testdir/test_popupwin.vim
19087
19088Patch 8.2.3099
19089Problem: Vim9: missing catch/finally not reported at script level.
19090Solution: Give an error. (closes #8487)
19091Files: src/structs.h, src/ex_eval.c, src/testdir/test_vim9_script.vim
19092
19093Patch 8.2.3100
19094Problem: Vim9: no error when using type with unknown number of arguments.
19095Solution: Do not ignore argument count of -1. (closes #8492)
19096Files: src/vim9type.c, src/evalfunc.c, src/proto/evalfunc.pro,
19097 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_expr.vim,
19098 src/testdir/test_vim9_func.vim
19099
19100Patch 8.2.3101
19101Problem: Missing function prototype for vim_round().
19102Solution: Add the prototype.
19103Files: src/proto/float.pro
19104
19105Patch 8.2.3102 (after 8.2.3097)
19106Problem: Test for crash fix does not fail without the fix.
19107Solution: Adjust the test sequence. (closes #8506)
19108Files: src/testdir/test_swap.vim
19109
19110Patch 8.2.3103 (after 8.2.3102)
19111Problem: Swap test may fail on some systems when jobs take longer to exit.
19112Solution: Use different file names.
19113Files: src/testdir/test_swap.vim
19114
19115Patch 8.2.3104
19116Problem: Vim9: unspecified function type causes type error.
19117Solution: Don't check type when min_argcount is negative. (issue #8492)
19118Files: src/globals.h, src/vim9type.c, src/testdir/test_vim9_assign.vim
19119
19120Patch 8.2.3105
19121Problem: Vim9: type of partial is wrong when it has arguments.
19122Solution: Subtract arguments from the count. (issue #8492)
19123Files: src/vim9type.c, src/userfunc.c, src/testdir/test_vim9_assign.vim
19124
19125Patch 8.2.3106
19126Problem: Vim9: confusing line number reported for error.
19127Solution: Use the start line number for the store instruction.
19128 (closes #8488)
19129Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
19130
19131Patch 8.2.3107
19132Problem: Vim9: error for arguments while type didn't specify arguments.
19133Solution: Do not update that type to check when no argument count is
19134 specified. (closes #8492)
19135Files: src/userfunc.c, src/testdir/test_vim9_assign.vim
19136
19137Patch 8.2.3108
19138Problem: Test for remote_foreground() fails. (Elimar Riesebieter)
19139Solution: Check that $DISPLAY is set. (Christian Brabandt)
19140Files: src/testdir/check.vim, src/testdir/test_clientserver.vim,
19141 src/testdir/test_vim9_builtin.vim
19142
19143Patch 8.2.3109
19144Problem: Check for $DISPLAY never fails.
19145Solution: Use eval().
19146Files: src/testdir/check.vim
19147
19148Patch 8.2.3110
Bram Moolenaar47c532e2022-03-19 15:18:53 +000019149Problem: A pattern that matches the cursor position is a bit complicated.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019150Solution: Use a dot to indicate the cursor line and column. (Christian
19151 Brabandt, closes #8497, closes #8179)
19152Files: runtime/doc/pattern.txt, src/errors.h, src/regexp_bt.c,
19153 src/regexp_nfa.c, src/testdir/test_regexp_latin.vim
19154
19155Patch 8.2.3111
19156Problem: Vim9: confusing error with extra whitespace before colon.
19157Solution: Check for colon after white space. (closes #8513)
19158Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_script.vim
19159
19160Patch 8.2.3112 (after 8.2.3090)
19161Problem: With concealing enabled and indirectly closing a fold the cursor
19162 may be somewhere in a folded line when it is not on the first line
19163 of the fold.
Bram Moolenaar47c532e2022-03-19 15:18:53 +000019164Solution: Check if the cursor is somewhere in the folded text.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019165Files: src/drawscreen.c
19166
19167Patch 8.2.3113
19168Problem: No error when for loop variable shadows script variable.
19169Solution: Check for the error. (closes #8512)
19170Files: src/eval.c, src/testdir/test_vim9_script.vim
19171
19172Patch 8.2.3114
19173Problem: Amiga-like systems: build error checking for running process
19174Solution: Only build swapfile_process_running() on systems where it is
19175 actually used. (Ola Söder, closes #8519)
19176Files: src/memline.c
19177
19178Patch 8.2.3115
19179Problem: Coverity complains about free_wininfo() use.
19180Solution: Add a condition that "wip2" is not equal to "wip". (Neovim #14996)
19181Files: src/window.c
19182
19183Patch 8.2.3116
19184Problem: Vim9: crash when debugging a function with line continuation.
19185Solution: Check for a NULL pointer. (closes #8521)
19186Files: src/vim9execute.c, src/testdir/test_debugger.vim
19187
19188Patch 8.2.3117
19189Problem: Vim9: type not properly checked in for loop.
19190Solution: Have items() return a list of lists. Add runtime type checks.
19191 (closes #8515)
19192Files: src/evalfunc.c, src/globals.h, src/vim9compile.c,
19193 src/testdir/test_vim9_script.vim
19194
19195Patch 8.2.3118
19196Problem: Vim9: "any" type not handled correctly in for loop.
19197Solution: Change compile time check into runtime check. (closes #8516)
19198Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
19199
19200Patch 8.2.3119
19201Problem: Compiler warning for unused argument.
19202Solution: Add UNUSED.
19203Files: src/evalfunc.c
19204
19205Patch 8.2.3120
19206Problem: Crypt with sodium test fails on MS-Windows.
19207Solution: Make the tests pass. (closes #8428)
19208Files: src/testdir/test_crypt.vim
19209
19210Patch 8.2.3121
19211Problem: 'listchars' "exceeds" character appears in foldcolumn. Window
19212 separator is missing. (Leonid V. Fedorenchik)
19213Solution: Only draw the "exceeds" character in the text area. Break the
19214 loop when not drawing the text. (closes #8524)
19215Files: src/drawline.c, src/testdir/test_listchars.vim,
19216 src/testdir/dumps/Test_listchars_01.dump,
19217 src/testdir/dumps/Test_listchars_02.dump,
19218 src/testdir/dumps/Test_listchars_03.dump,
19219 src/testdir/dumps/Test_listchars_04.dump,
19220 src/testdir/dumps/Test_listchars_05.dump
19221
19222Patch 8.2.3122
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019223Problem: With 'nowrap' cursor position is unexpected in narrow window.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019224 (Leonid V. Fedorenchik)
19225Solution: Put cursor on the last non-empty line. (closes #8525)
19226Files: src/move.c, src/testdir/test_listchars.vim,
19227 src/testdir/dumps/Test_listchars_06.dump,
19228 src/testdir/dumps/Test_listchars_07.dump
19229
19230Patch 8.2.3123
19231Problem: Vim9: confusing error when using white space after option, before
19232 one of "!&<".
19233Solution: Give a specific error. (issue #8408)
19234Files: src/errors.h, src/option.c, src/testdir/test_vim9_script.vim
19235
19236Patch 8.2.3124
19237Problem: Vim9: no error for white space between option and "=9".
19238Solution: Check for extraneous white space. (issue #8408)
19239Files: src/option.c, src/testdir/test_vim9_script.vim
19240
19241Patch 8.2.3125
19242Problem: Variables are set but not used.
19243Solution: Move the declarations to the block where they are used.
19244 (closes #8527)
19245Files: src/regexp_nfa.c
19246
19247Patch 8.2.3126
19248Problem: Vim9: for loop error reports wrong line number.
19249Solution: Save and restore the line number when evaluating the expression.
19250 (closes #8514)
19251Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
19252
19253Patch 8.2.3127
19254Problem: Vim9: no error when adding number to list of string.
19255Solution: Check the value type. (closes #8529)
19256Files: src/list.c, src/testdir/test_vim9_builtin.vim
19257
19258Patch 8.2.3128
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019259Problem: Vim9: uninitialized list does not get type checked.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019260Solution: Set the type when initializing the variable. (closes #8529)
19261Files: src/eval.c, src/evalvars.c, src/vim9script.c,
19262 src/userfunc.c, src/proto/vim9script.pro,
19263 src/testdir/test_vim9_builtin.vim
19264
19265Patch 8.2.3129
19266Problem: Vim9: imported uninitialized list does not get type checked.
19267Solution: Get type from imported variable.
19268Files: src/eval.c, src/evalvars.c, src/vim9script.c,
19269 src/proto/vim9script.pro, src/userfunc.c,
19270 src/testdir/test_vim9_script.vim
19271
19272Patch 8.2.3130
19273Problem: Vim9: import test fails.
19274Solution: Rename directory back to "import", use "p" to avoid an error when
19275 the directory already exists.
19276Files: src/testdir/test_vim9_script.vim
19277
19278Patch 8.2.3131
19279Problem: MS-Windows: ipv6 channel test is very flaky in the GUI.
19280Solution: Skip the test.
19281Files: src/testdir/test_channel.vim
19282
19283Patch 8.2.3132
19284Problem: Compiler warns for size_t to colnr_T conversion. (Randall W.
19285 Morris)
19286Solution: Add a type cast.
19287Files: src/drawscreen.c
19288
19289Patch 8.2.3133
19290Problem: Vim9: memory leak when add() fails.
19291Solution: Allocate listitem_T after type check.
19292Files: src/list.c
19293
19294Patch 8.2.3134
19295Problem: Crash when using typename() on a function reference. (Naohiro Ono)
19296Solution: Initialize pointer to NULL. (closes #8531)
19297Files: src/vim9type.c, src/testdir/test_vim9_builtin.vim
19298
19299Patch 8.2.3135
19300Problem: Vim9: builtin function arguments not checked at compile time.
19301Solution: Add more type checks. (Yegappan Lakshmanan, closes #8539)
19302Files: src/channel.c, src/errors.h, src/evalfunc.c, src/proto/typval.pro,
19303 src/terminal.c, src/testdir/test_search.vim,
19304 src/testdir/test_textprop.vim, src/testdir/test_vim9_builtin.vim,
19305 src/testing.c, src/textprop.c, src/typval.c
19306
19307Patch 8.2.3136
19308Problem: No test for E187 and "No swap file".
19309Solution: Add a test. (Dominique Pellé, closes #8540)
19310Files: src/testdir/test_cd.vim, src/testdir/test_swap.vim
19311
19312Patch 8.2.3137
19313Problem: Vim9: no error when a line only has a variable name.
19314Solution: Give an error when an expression is evaluated without an effect.
19315 (closes #8538)
19316Files: src/ex_eval.c, src/errors.h, src/vim9compile.c,
19317 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_expr.vim,
19318 src/testdir/test_vim9_func.vim
19319
19320Patch 8.2.3138 (after 8.2.3137)
19321Problem: Debugger test fails.
19322Solution: Adjust eval command.
19323Files: src/testdir/test_debugger.vim
19324
19325Patch 8.2.3139
19326Problem: Functions for string manipulation are spread out.
19327Solution: Move string related functions to a new source file. (Yegappan
19328 Lakshmanan, closes #8470)
19329Files: Filelist, src/Make_ami.mak, src/Make_cyg_ming.mak,
19330 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
19331 src/eval.c, src/evalfunc.c, src/mbyte.c, src/misc1.c, src/misc2.c,
19332 src/proto.h, src/proto/eval.pro, src/proto/evalfunc.pro,
19333 src/proto/mbyte.pro, src/proto/misc1.pro, src/proto/misc2.pro,
19334 src/proto/strings.pro, src/strings.c
19335
19336Patch 8.2.3140 (after 8.2.3131)
19337Problem: MS-Windows: ipv6 channel test is very flaky also without the GUI.
19338Solution: Skip the test also without the GUI.
19339Files: src/testdir/test_channel.vim
19340
19341Patch 8.2.3141
19342Problem: No error when using :complete for :command without -nargs.
19343Solution: Give an error. (Martin Tournoij, closes #8544, closes #8541)
19344Files: src/usercmd.c, src/errors.h, src/testdir/test_usercommands.vim
19345
19346Patch 8.2.3142
19347Problem: Vim9: type check for has_key() argument is too strict.
19348Solution: Also allow for a number key argument. (closes #8542)
19349Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
19350
19351Patch 8.2.3143
19352Problem: Vim9: A lambda may be compiled with the wrong context if it is
19353 called from a profiled function.
19354Solution: Compile the lambda with and without profiling. (closes #8543)
19355Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
19356
19357Patch 8.2.3144
19358Problem: Vim9: no error when using an invalid value for a line number.
19359Solution: Give an error if the string value is not recognized.
19360 (closes #8536)
19361Files: src/errors.h, src/eval.c, src/testdir/test_vim9_builtin.vim
19362
19363Patch 8.2.3145
19364Problem: Vim9: profile test fails without profile feature.
19365Solution: Check the profile feature is present.
19366Files: src/testdir/test_vim9_script.vim
19367
19368Patch 8.2.3146
19369Problem: Vim9: line number wrong for :execute argument.
19370Solution: Use the line number of the :execute command itself. (closes #8537)
19371Files: src/eval.c, src/testdir/test_vim9_script.vim
19372
19373Patch 8.2.3147
19374Problem: Vim9: profiling does not work with a nested function.
19375Solution: Also compile a nested function without profiling. (closes #8543)
19376 Handle that compiling may cause the table of compiled functions to
19377 change.
19378Files: src/vim9compile.c, src/vim9execute.c,
19379 src/testdir/test_vim9_script.vim
19380
19381Patch 8.2.3148
19382Problem: Vim9: function arg type check does not handle base offset.
19383Solution: Take the base offset into account when checking builtin function
19384 argument types.
19385Files: src/evalfunc.c, src/vim9compile.c,
19386 src/testdir/test_vim9_builtin.vim
19387
19388Patch 8.2.3149 (after 8.2.3141)
19389Problem: Some plugins have a problem with the error check for using
19390 :command with -complete but without -nargs.
19391Solution: In legacy script only give a warning message.
19392Files: src/usercmd.c, src/message.c, src/proto/message.pro,
19393 src/testdir/test_usercommands.vim
19394
19395Patch 8.2.3150
19396Problem: Vim9: argument types are not checked at compile time.
19397Solution: Add more type checks. (Yegappan Lakshmanan, closes #8545)
19398Files: src/evalfunc.c, src/testing.c, src/testdir/test_vim9_builtin.vim
19399
19400Patch 8.2.3151
19401Problem: Vim9: profiling fails if nested function is also profiled.
19402Solution: Use the compile type from the outer function. (closes #8543)
19403Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
19404
19405Patch 8.2.3152
19406Problem: Vim9: accessing "s:" results in an error.
19407Solution: Do not try to lookup a script variable for "s:". (closes #8549)
19408Files: src/evalvars.c, src/testdir/test_vim9_expr.vim
19409
19410Patch 8.2.3153
19411Problem: URLs with a dash in the scheme are not recognized.
19412Solution: Allow for a scheme with a dash, but not at the start or end.
19413 (Tsuyoshi CHO, closes #8299)
19414Files: src/misc1.c, src/testdir/test_buffer.vim
19415
19416Patch 8.2.3154
19417Problem: Vim9: some type checks for builtin functions fail.
19418Solution: Correct the type checks. (Yegappan Lakshmanan, closes #8551,
19419 closes #8550)
19420Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
19421
19422Patch 8.2.3155
19423Problem: Some option related code not covered by tests.
19424Solution: Add a few test cases. (Dominique Pellé, closes #8552)
19425Files: src/testdir/test_options.vim, src/testdir/test_set.vim
19426
19427Patch 8.2.3156
19428Problem: Vim9: term_getansicolors() test fails without +termguicolors.
19429Solution: Add a check for the feature. (Dominique Pellé, closes #8555)
19430Files: src/testdir/test_vim9_builtin.vim
19431
19432Patch 8.2.3157
19433Problem: Crypt test may fail on MS-Windows.
19434Solution: Ignore "[unix]" in the file message. (Christian Brabandt,
19435 closes #8561)
19436Files: src/testdir/test_crypt.vim
19437
19438Patch 8.2.3158
19439Problem: Strange error message when using islocked() with a number.
19440 (Yegappan Lakshmanan)
19441Solution: Check that the name is empty.
19442Files: src/evalfunc.c, src/testdir/test_functions.vim
19443
19444Patch 8.2.3159
19445Problem: Cursor displayed in wrong position after deleting line.
19446Solution: When deleting lines do not approximate botline. (fixes #8559)
19447Files: src/change.c
19448
19449Patch 8.2.3160
19450Problem: 'breakindent' does not work well for bulleted and numbered lists.
19451Solution: Add the "list" entry to 'breakindentopt'. (Christian Brabandt,
19452 closes #8564, closes #1661)
19453Files: runtime/doc/options.txt, src/indent.c, src/structs.h,
19454 src/testdir/test_breakindent.vim
19455
19456Patch 8.2.3161
19457Problem: Vim9: no error when reltime() has invalid arguments.
19458Solution: Add an error. (closes #8562)
19459Files: src/time.c, src/testdir/test_vim9_builtin.vim
19460
19461Patch 8.2.3162
19462Problem: Vim9: argument types are not checked at compile time.
19463Solution: Add more type checks. (Yegappan Lakshmanan, closes #8560)
19464Files: runtime/doc/channel.txt, src/clientserver.c, src/cmdhist.c,
19465 src/errors.h, src/evalfunc.c, src/evalwindow.c, src/filepath.c,
19466 src/globals.h, src/popupwin.c, src/proto/typval.pro, src/sign.c,
19467 src/strings.c, src/terminal.c, src/testdir/test_normal.vim,
19468 src/testdir/test_reltime.vim, src/testdir/test_vim9_builtin.vim,
19469 src/testdir/test_vim9_expr.vim, src/testing.c, src/textprop.c,
19470 src/time.c, src/typval.c
19471
19472Patch 8.2.3163
19473Problem: Location list window may open a wrong file.
19474Solution: Also update the qf_ptr field. (Wei-Chung Wen, closes #8565,
19475 closes #8566)
19476Files: src/quickfix.c, src/testdir/test_quickfix.vim
19477
19478Patch 8.2.3164
19479Problem: MS-Windows: reported version lacks patchlevel, causing some update
19480 tools to update too often. (Klaus Frank)
19481Solution: Add the patchlevel to the version. (Christian Brabandt)
19482Files: src/dosinst.c
19483
19484Patch 8.2.3165
19485Problem: Vim9: in a || expression the error line number may be wrong.
19486Solution: Save and restore the line number when checking the type.
19487 (closes #8569)
19488Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
19489
19490Patch 8.2.3166
19491Problem: Vim9: nested autoload call error overruled by "Unknown error".
19492Solution: Check need_rethrow before giving an "Unknown error".
19493 (closes #8568)
19494Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
19495
19496Patch 8.2.3167
19497Problem: Get E12 in a job callback when searching for tags. (Andy Stewart)
19498Solution: Use the sandbox only for executing a command, not for searching.
19499 (closes #8511)
19500Files: src/tag.c
19501
19502Patch 8.2.3168
19503Problem: Vim9: type error for constant of type any.
19504Solution: Do add a runtime type check if a constant has type any.
19505 (closes #8570)
19506Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
19507
19508Patch 8.2.3169
19509Problem: Vim9: cannot handle nested inline function.
19510Solution: Check for nested inline function. (closes #8575)
19511Files: src/userfunc.c, src/testdir/test_vim9_func.vim,
19512 src/testdir/test_vim9_expr.vim
19513
19514Patch 8.2.3170
19515Problem: Illegal memory access in test.
19516Solution: Check pointer is not before the start of the line.
19517Files: src/userfunc.c
19518
19519Patch 8.2.3171
19520Problem: Another illegal memory access in test.
19521Solution: Check pointer is after the start of the line.
19522Files: src/userfunc.c
19523
19524Patch 8.2.3172
19525Problem: MzScheme test fails. (Christian Brabandt)
19526Solution: Correct function name.
19527Files: src/testdir/test_vim9_builtin.vim
19528
19529Patch 8.2.3173
19530Problem: Vim9: argument types are not checked at compile time.
19531Solution: Add more type checks. (Yegappan Lakshmanan, closes #8581)
19532Files: src/diff.c, src/errors.h, src/evalfunc.c, src/globals.h,
19533 src/job.c, src/proto/typval.pro, src/strings.c, src/terminal.c,
19534 src/testdir/test_vim9_builtin.vim, src/typval.c
19535
19536Patch 8.2.3174
19537Problem: Vim9: "legacy undo" finds "undo" variable.
19538Solution: Do not pass lookup function to find_ex_command(). (closes #8563)
19539Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
19540
19541Patch 8.2.3175
19542Problem: Vim9: using illegal pointer with inline function inside a lambda.
19543Solution: Clear eval_tofree_cmdline when advancing to the next line.
19544 (closes #8578)
19545Files: src/eval.c, src/testdir/test_vim9_func.vim
19546
19547Patch 8.2.3176
19548Problem: Vim9: no type error for comparing number with string.
19549Solution: Add a runtime type check. (closes #8571)
19550Files: src/typval.c, src/errors.h, src/testdir/test_vim9_expr.vim
19551
19552Patch 8.2.3177
19553Problem: Vim9: can not use "for _ in expr" at script level.
19554Solution: Skip assignment if the loop variable is "_".
19555Files: src/eval.c, src/testdir/test_vim9_script.vim
19556
19557Patch 8.2.3178
19558Problem: Vim9: the file name of an :import cannot be an expression.
19559Solution: Accept an expression that results in a string. Do not support
19560 :import in a function.
19561Files: runtime/doc/vim9.txt, src/vim9script.c, src/vim9compile.c,
19562 src/testdir/test_vim9_script.vim
19563
19564Patch 8.2.3179
19565Problem: Vim9: cannot assign to an imported variable at script level.
19566Solution: Lookup imported items when assigning.
19567Files: src/evalvars.c, src/errors.h, src/eval.c,
19568 src/testdir/test_vim9_script.vim
19569
19570Patch 8.2.3180
19571Problem: Vim9: memory leak when concatenating to an imported string.
19572Solution: Clear the destination.
19573Files: src/evalvars.c
19574
19575Patch 8.2.3181
19576Problem: Vim9: builtin function test fails without channel feature.
19577Solution: Add feature checks. (Dominique Pellé, closes #8586) Make feature
19578 checks more consistent.
19579Files: src/testdir/test_vim9_builtin.vim
19580
19581Patch 8.2.3182
19582Problem: Vim9: crash when using removing items from a constant list.
19583 (Yegappan Lakshmanan)
19584Solution: When a list was allocated with items copy them.
19585Files: src/list.c, src/testdir/test_vim9_builtin.vim
19586
19587Patch 8.2.3183
19588Problem: Duplicate error numbers.
19589Solution: Adjust the error numbers.
19590Files: src/errors.h, src/testdir/test_vim9_builtin.vim
19591
19592Patch 8.2.3184
19593Problem: Cannot add a digraph with a leading space. It is not easy to list
19594 existing digraphs.
19595Solution: Add setdigraph(), setdigraphlist(), getdigraph() and
19596 getdigraphlist(). (closes #8580)
19597Files: runtime/doc/digraph.txt, runtime/doc/eval.txt,
19598 runtime/doc/usr_41.txt, src/digraph.c, src/evalfunc.c,
19599 src/ex_docmd.c, src/globals.h, src/errors.h,
19600 src/proto/digraph.pro, src/testdir/test_digraph.vim
19601
19602Patch 8.2.3185
19603Problem: Vim9: start of inline function found in comment line.
19604Solution: Do not check for inline function in comment line. (closes #8589)
19605Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
19606
19607Patch 8.2.3186
19608Problem: Vim9: not all failures for import tested
19609Solution: Test more import failures
19610Files: src/errors.h, src/evalvars.c, src/testdir/test_vim9_script.vim
19611
19612Patch 8.2.3187
19613Problem: Vim9: popup timer callback is not compiled.
19614Solution: Compile the callback when creating the timer.
19615Files: src/vim9compile.c, src/proto/vim9compile.pro, src/popupwin.c
19616
19617Patch 8.2.3188
19618Problem: Vim9: argument types are not checked at compile time.
19619Solution: Add several more type checks, also at runtime. (Yegappan
19620 Lakshmanan, closes #8587)
19621Files: src/blob.c, src/channel.c, src/clientserver.c, src/cmdexpand.c,
19622 src/cmdhist.c, src/dict.c, src/diff.c, src/errors.h, src/eval.c,
19623 src/evalbuffer.c, src/evalfunc.c, src/evalvars.c,
19624 src/evalwindow.c, src/filepath.c, src/globals.h, src/insexpand.c,
19625 src/job.c, src/list.c, src/map.c, src/match.c,
19626 src/proto/typval.pro, src/quickfix.c, src/search.c, src/sign.c,
19627 src/strings.c, src/terminal.c, src/testdir/test_blob.vim,
19628 src/testdir/test_gui.vim, src/testdir/test_vim9_builtin.vim,
19629 src/testing.c, src/textprop.c, src/time.c, src/typval.c
19630
19631Patch 8.2.3189
19632Problem: Vim9: error when using "try|".
19633Solution: Allow for "|" right after a command.
19634Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
19635
19636Patch 8.2.3190
19637Problem: Error messages are spread out.
19638Solution: Move error messages to errors.h and give them a clear name.
19639Files: src/globals.h, src/errors.h, src/buffer.c, src/debugger.c,
19640 src/digraph.c, src/edit.c, src/ex_cmds.c, src/ex_cmds2.c,
19641 src/ex_docmd.c, src/ex_eval.c, src/gui.c, src/list.c, src/main.c,
19642 src/map.c, src/match.c, src/quickfix.c, src/regexp.c,
19643 src/regexp_bt.c, src/regexp_nfa.c, src/register.c, src/search.c,
19644 src/session.c, src/spell.c, src/syntax.c, src/time.c,
19645 src/userfunc.c, src/vim9execute.c, src/window.c
19646
19647Patch 8.2.3191
19648Problem: Vim9: not enough code is tested.
19649Solution: Use CheckLegacyAndVim9Success() in more places. Fix uncovered
19650 problems.
19651Files: src/vim9compile.c, src/vim9execute.c,
19652 src/testdir/test_listdict.vim
19653
19654Patch 8.2.3192 (after 8.2.3190)
19655Problem: Build failure with small version (Tony Mechelynck).
19656Solution: Remove stray #ifdef.
19657Files: src/errors.h
19658
19659Patch 8.2.3193
19660Problem: screenpos() is wrong when the last line is partially visible and
19661 'display' is "lastline".
19662Solution: Also compute the position for a partially visible line.
19663 (closes #8599)
19664Files: src/move.c, src/testdir/test_cursor_func.vim
19665
19666Patch 8.2.3194
19667Problem: Vim9: argument types are not checked at compile time.
19668Solution: Add several more type checks, simplify some. (Yegappan
19669 Lakshmanan, closes #8598)
19670Files: src/diff.c, src/evalbuffer.c, src/evalfunc.c, src/job.c,
19671 src/proto/typval.pro, src/sign.c, src/terminal.c,
19672 src/testdir/test_vim9_builtin.vim, src/typval.c
19673
19674Patch 8.2.3195
19675Problem: Vim9: unclear error when passing too many arguments to lambda.
19676Solution: Pass the expression itself instead of "[expression]".
19677 (closes #8604)
19678Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
19679
19680Patch 8.2.3196
19681Problem: Vim9: bool expression with numbers only fails at runtime.
19682Solution: Check constant to be bool at compile time. (closes #8603)
19683Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
19684
19685Patch 8.2.3197
19686Problem: Error messages are spread out.
19687Solution: Move a few more error messages to errors.h.
19688Files: src/globals.h, src/errors.h, src/edit.c, src/ex_cmds.c,
19689 src/ex_docmd.c, src/evalvars.c, src/option.c, src/quickfix.c,
19690 src/regexp_bt.c, src/regexp_nfa.c, src/regexp.c, src/undo.c,
19691 src/vim9compile.c, src/vim9script.c
19692
19693Patch 8.2.3198
19694Problem: Cannot use 'formatlistpat' for breakindent.
19695Solution: Use a negative list indent. (Maxim Kim, closes #8594)
19696Files: runtime/doc/options.txt, src/indent.c,
19697 src/testdir/test_breakindent.vim
19698
19699Patch 8.2.3199
19700Problem: Vim9: execution speed can be improved.
19701Solution: Make the break counter static.
19702Files: src/vim9execute.c
19703
19704Patch 8.2.3200
19705Problem: Vim9: hard to guess where a type error is given.
19706Solution: Add the function name where possible. (closes #8608)
19707Files: src/dict.c, src/proto/dict.pro, src/eval.c, src/list.c,
19708 src/vim9compile.c, src/vim9execute.c, src/structs.h,
19709 src/vim9type.c, src/proto/vim9type.pro, src/if_py_both.h,
19710 src/errors.h, src/testdir/test_vim9_builtin.vim
19711
19712Patch 8.2.3201 (after 8.2.3200)
19713Problem: Crash in test.
19714Solution: Initialize "where".
19715Files: src/eval.c, src/evalvars.c
19716
19717Patch 8.2.3202
19718Problem: Vim9: tests are only executed for legacy script.
19719Solution: Run more tests also for Vim9 script. Fix uncovered problems.
19720Files: src/vim9execute.c, src/ex_docmd.c, src/testdir/test_listdict.vim
19721
19722Patch 8.2.3203
19723Problem: Vim9: compiled string expression causes type error. (Yegappan
19724 Lakshmanan)
19725Solution: Remove the string type from the stack.
19726Files: src/vim9compile.c, src/evalfunc.c
19727
19728Patch 8.2.3204
19729Problem: Display garbled when 'cursorline' is set and lines wrap. (Gabriel
19730 Dupras)
19731Solution: Avoid inserting lines twice. (closes #7255)
19732Files: src/drawscreen.c, src/testdir/test_cursorline.vim,
19733 src/testdir/dumps/Test_cursorline_redraw_1.dump,
19734 src/testdir/dumps/Test_cursorline_redraw_2.dump
19735
19736Patch 8.2.3205
19737Problem: Coverity reports a null pointer dereference.
19738Solution: Change the logic to avoid Coverity gets confused.
19739Files: src/vim9compile.c
19740
19741Patch 8.2.3206
19742Problem: Vim9: argument types are not checked at compile time.
19743Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8611)
19744Files: runtime/doc/eval.txt, src/blob.c, src/cmdhist.c, src/dict.c,
19745 src/errors.h, src/evalfunc.c, src/filepath.c, src/globals.h,
19746 src/job.c, src/list.c, src/match.c, src/misc1.c, src/popupwin.c,
19747 src/proto/typval.pro, src/sign.c, src/terminal.c,
19748 src/testdir/test_blob.vim, src/testdir/test_vim9_builtin.vim,
19749 src/typval.c
19750
19751Patch 8.2.3207
19752Problem: Vim9: crash when compiling string fails. (Yegappan Lakshmanan)
19753Solution: Adjust the type stack length.
19754Files: src/vim9compile.c, src/testdir/test_vim9_builtin.vim
19755
19756Patch 8.2.3208
19757Problem: Dynamic library load error does not mention why it failed.
19758Solution: Add the error message. (Martin Tournoij, closes #8621)
19759Files: src/globals.h, src/if_cscope.c, src/if_lua.c, src/if_mzsch.c,
19760 src/if_perl.xs, src/if_python.c, src/if_python3.c, src/if_ruby.c,
19761 src/if_tcl.c, src/mbyte.c, src/os_win32.c, src/proto/os_win32.pro,
19762 src/terminal.c
19763
19764Patch 8.2.3209
19765Problem: Vim9: lambda doesn't find block-local variable.
19766Solution: Adjust how a script-local variable is found. (closes #8614)
19767Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
19768
19769Patch 8.2.3210
19770Problem: Vim9: searchpair() sixth argument is compiled. (Yegappan
19771 Lakshmanan)
19772Solution: Only compile the fifth argument.
19773Files: src/vim9compile.c, src/testdir/test_vim9_builtin.vim
19774
19775Patch 8.2.3211
19776Problem: Vim9: argument types are not checked at compile time.
19777Solution: Add several more type checks. Fix type check for matchaddpos().
19778 (Yegappan Lakshmanan, closes #8619)
19779Files: src/channel.c, src/evalfunc.c, src/evalvars.c, src/if_cscope.c,
19780 src/job.c, src/proto/typval.pro,
19781 src/testdir/test_vim9_builtin.vim, src/time.c, src/typval.c
19782
19783Patch 8.2.3212
19784Problem: Vim9: execution speed can be improved.
19785Solution: Use __builtin_expect() to have the compiler produce better code.
19786 (Dominique Pellé, closes #8613)
19787Files: src/vim9execute.c
19788
19789Patch 8.2.3213
19790Problem: NOCOMPOUNDSUGS entry in spell file not tested.
19791Solution: Add a test. (Dominique Pellé, closes #8624)
19792Files: src/testdir/test_spellfile.vim
19793
19794Patch 8.2.3214
19795Problem: MS-Windows: passing /D does not set the install location.
19796Solution: Adjust how the installer uses $VIM. Update the documentation.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019797 (Christian Brabandt, Ken Takata, closes #8605)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019798Files: nsis/gvim.nsi, runtime/doc/os_win32.txt
19799
19800Patch 8.2.3215
19801Problem: Vim9: argument types are not checked at compile time.
19802Solution: Add several more type checks. Sort the argument lists.
19803 (Yegappan Lakshmanan, closes #8626)
19804Files: src/change.c, src/evalfunc.c, src/filepath.c, src/sound.c,
19805 src/testdir/test_gui.vim, src/testdir/test_vim9_builtin.vim,
19806 src/testing.c
19807
19808Patch 8.2.3216
19809Problem: Vim9: crash when using variable in a loop at script level.
19810Solution: Do not clear the variable if a function was defined.
19811 Do not create a new entry in sn_var_vals every time.
19812 (closes #8628)
19813Files: src/eval.c, src/ex_eval.c, src/vim9script.c, src/userfunc.c,
19814 src/evalvars.c, src/structs.h
19815
19816Patch 8.2.3217 (after 8.2.3216)
19817Problem: Build failure.
19818Solution: Add missing changes.
19819Files: src/globals.h
19820
19821Patch 8.2.3218
K.Takata7b7672d2024-01-06 01:47:01 +090019822Problem: When using xchacha20 crypt undo file is not removed.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019823Solution: Reset 'undofile' and delete the file. (Christian Brabandt,
19824 closes #8630, closes #8467)
19825Files: src/bufwrite.c, src/crypt.c, src/proto/undo.pro,
19826 src/testdir/test_crypt.vim, src/undo.c
19827
19828Patch 8.2.3219
19829Problem: :find searches non-existing directories.
19830Solution: Check the path is not "..". Update help. (Christian Brabandt,
19831 closes #8612, closes #8533)
19832Files: runtime/doc/editing.txt, src/findfile.c,
19833 src/testdir/test_findfile.vim
19834
19835Patch 8.2.3220
19836Problem: Test_term_setansicolors() fails in some configurations.
19837Solution: Check available features. (Dominique Pellé, closes #8636)
19838Files: src/testdir/test_vim9_builtin.vim
19839
19840Patch 8.2.3221
19841Problem: Vim9: argument types are not checked at compile time.
19842Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8632)
19843Files: src/evalfunc.c, src/popupwin.c, src/proto/typval.pro,
19844 src/testdir/test_assert.vim, src/testdir/test_vim9_builtin.vim,
19845 src/testdir/test_vim9_script.vim, src/testing.c, src/typval.c
19846
19847Patch 8.2.3222
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019848Problem: Vim9: cannot use loop variable later as lambda argument.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019849Solution: When not in function context check the current block ID.
19850 (closes #8637)
19851Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
19852
19853Patch 8.2.3223
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019854Problem: Vim: using {} block in autoloaded omnifunc fails.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019855Solution: Allow using {} block when text is locked. (closes #8631)
19856Files: src/ex_cmds.h, src/testdir/test_ins_complete.vim
19857
19858Patch 8.2.3224
19859Problem: Cannot call script-local function after :vim9cmd. (Christian J.
19860 Robinson)
19861Solution: Skip over "<SNR>123".
19862Files: src/vim9compile.c, src/eval.c, src/testdir/test_vim9_cmd.vim
19863
19864Patch 8.2.3225
19865Problem: Incsearch highlighting is attempted halfway a mapping.
19866Solution: Only do incsearch highlighting if keys were typed or there is no
19867 more typeahead.
19868Files: src/ex_getln.c
19869
19870Patch 8.2.3226
19871Problem: New digraph functions use old naming scheme.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019872Solution: Use the digraph_ prefix. (Hirohito Higashi, closes #8642)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019873Files: runtime/doc/digraph.txt, runtime/doc/eval.txt,
19874 runtime/doc/usr_41.txt, src/digraph.c, src/edit.c, src/errors.h,
19875 src/evalfunc.c, src/proto/digraph.pro,
19876 src/testdir/test_digraph.vim
19877
19878Patch 8.2.3227
19879Problem: 'virtualedit' can only be set globally.
19880Solution: Make 'virtualedit' global-local. (Gary Johnson, closes #8638)
19881Files: runtime/doc/options.txt, src/buffer.c, src/change.c,
19882 src/drawscreen.c, src/edit.c, src/misc2.c, src/normal.c,
19883 src/ops.c, src/option.c, src/option.h, src/optiondefs.h,
19884 src/optionstr.c, src/proto/option.pro, src/register.c,
19885 src/structs.h, src/testdir/test_virtualedit.vim
19886
19887Patch 8.2.3228
19888Problem: Cannot use a simple block for the :command argument. (Maarten
19889 Tournoij)
19890Solution: Recognize a simple {} block. (issue #8623)
19891Files: runtime/doc/map.txt, src/misc2.c, src/proto/misc2.pro,
19892 src/usercmd.c, src/testdir/test_usercommands.vim
19893
19894Patch 8.2.3229
19895Problem: Vim9: runtime and compile time type checks are not the same.
19896Solution: Add more runtime type checks for builtin functions. (Yegappan
19897 Lakshmanan, closes #8646)
19898Files: src/arglist.c, src/change.c, src/channel.c, src/cindent.c,
19899 src/clientserver.c, src/cmdhist.c, src/dict.c, src/diff.c,
19900 src/digraph.c, src/errors.h, src/eval.c, src/evalbuffer.c,
19901 src/evalfunc.c, src/evalwindow.c, src/ex_docmd.c, src/ex_getln.c,
19902 src/filepath.c, src/findfile.c, src/float.c, src/fold.c,
19903 src/getchar.c, src/indent.c, src/insexpand.c, src/job.c,
19904 src/json.c, src/list.c, src/mark.c, src/match.c, src/mbyte.c,
19905 src/menu.c, src/misc1.c, src/move.c, src/popupwin.c,
19906 src/proto/typval.pro, src/quickfix.c, src/search.c, src/sign.c,
19907 src/sound.c, src/strings.c, src/terminal.c,
19908 src/testdir/test_assert.vim, src/testdir/test_blob.vim,
19909 src/testdir/test_execute_func.vim,
19910 src/testdir/test_float_func.vim, src/testdir/test_functions.vim,
19911 src/testdir/test_glob2regpat.vim, src/testdir/test_listdict.vim,
19912 src/testdir/test_vim9_builtin.vim,
19913 src/testdir/test_vim9_script.vim, src/testing.c, src/textprop.c,
19914 src/time.c, src/typval.c, src/undo.c
19915
19916Patch 8.2.3230
19917Problem: Vim9: type error when function return type is not known yet.
19918Solution: When return type is unknown, use "any". (closes #8644)
19919Files: src/vim9compile.c, src/testdir/test_vim9_builtin.vim
19920
19921Patch 8.2.3231
19922Problem: Build failure with small features.
19923Solution: Adjust #ifdef.
19924Files: src/errors.h
19925
19926Patch 8.2.3232 (after 8.2.3229)
19927Problem: system() does not work without a second argument.
19928Solution: Do not require a second argument. (Yegappan Lakshmanan,
19929 closes #8651, closes #8650)
19930Files: src/misc1.c, src/proto/typval.pro,
19931 src/testdir/test_vim9_builtin.vim, src/typval.c
19932
19933Patch 8.2.3233
19934Problem: prop_list() and prop_find() do not indicate the buffer for the
19935 used type.
19936Solution: Add "type_bufnr" to the results. (closes #8647)
19937Files: runtime/doc/textprop.txt, src/testdir/test_textprop.vim,
19938 src/textprop.c
19939
19940Patch 8.2.3234
19941Problem: Crash when printing long string with Lua.
19942Solution: Remove lua_pop(). (Martin Tournoij, closes #8648)
19943Files: src/if_lua.c, src/testdir/test_lua.vim
19944
19945Patch 8.2.3235
19946Problem: Cannot use lambda in {} block in user command. (Martin Tournoij)
19947Solution: Do not go over the end of the lambda.
19948Files: src/userfunc.c, src/testdir/test_usercommands.vim
19949
19950Patch 8.2.3236
19951Problem: mode() does not indicate using CTRL-O in Select mode.
19952Solution: Use "vs" and similar. (closes #8640)
19953Files: runtime/doc/eval.txt, src/globals.h, src/misc1.c, src/normal.c,
19954 src/testdir/test_functions.vim
19955
19956Patch 8.2.3237
19957Problem: When a builtin function gives an error processing continues.
19958Solution: In Vim9 script return FAIL in get_func_tv().
19959Files: src/userfunc.c, src/testdir/test_vim9_assign.vim
19960
19961Patch 8.2.3238
19962Problem: Vim9: error message does not indicate the location.
19963Solution: Add the relevant text. (issue #8634)
19964Files: src/errors.h, src/vim9compile.c, src/testdir/test_vim9_expr.vim
19965
19966Patch 8.2.3239
19967Problem: Vim9: no error using heredoc for a number variable.
19968Solution: Add a type check. (closes #8627)
19969Files: src/vim9compile.c, src/evalvars.c,
19970 src/testdir/test_vim9_assign.vim
19971
19972Patch 8.2.3240
19973Problem: Lua print() does not work properly.
19974Solution: Put back lua_pop().
19975Files: src/if_lua.c, src/testdir/test_lua.vim
19976
19977Patch 8.2.3241
19978Problem: Vim9: memory leak when function reports an error.
19979Solution: Clear the return value.
19980Files: src/userfunc.c
19981
19982Patch 8.2.3242
19983Problem: Vim9: valgrind reports leaks in builtin function test.
19984Solution: Do not start a job.
19985Files: src/testdir/test_vim9_builtin.vim
19986
19987Patch 8.2.3243
19988Problem: MS-Windows: the "edit with multiple Vim" choice is not that
19989 useful.
19990Solution: Change it to "Edit with multiple tabs". (Michael Soyka,
19991 closes #8645)
19992Files: src/GvimExt/gvimext.cpp, src/GvimExt/gvimext.h
19993
19994Patch 8.2.3244
19995Problem: Lua 5.3 print() with a long string crashes.
19996Solution: Use a growarray instead of a Lua buffer. (Yegappan Lakshmanan,
19997 closes #8655)
19998Files: src/if_lua.c, src/misc2.c, src/proto/misc2.pro
19999
20000Patch 8.2.3245
20001Problem: The crypt key may appear in a swap partition.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000020002Solution: When using xchacha20 use sodium_mlock(). (Christian Brabandt,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000020003 closes #8657)
20004Files: src/buffer.c, src/crypt.c, src/errors.h, src/fileio.c,
20005 src/memline.c, src/vim.h
20006
20007Patch 8.2.3246
20008Problem: Memory use after free.
20009Solution: When clearing a string option set the pointer to "empty_option".
20010Files: src/option.c
20011
20012Patch 8.2.3247
20013Problem: Using uninitialized memory when checking for crypt method.
20014Solution: Check the header length before using the salt and seed.
20015Files: src/fileio.c
20016
20017Patch 8.2.3248
20018Problem: Vim9: error message for wrong input uses wrong line number.
20019Solution: Use the line number of the start of the command. (issue #8653)
20020Files: src/vim9script.c, src/testdir/test_vim9_script.vim
20021
20022Patch 8.2.3249
20023Problem: Vim9: error for re-imported function with default argument.
20024Solution: Do not check argument type if it is still unknown. (closes #8653)
20025Files: src/vim9type.c, src/proto/vim9type.pro, src/vim9script.c,
20026 src/vim.h, src/eval.c, src/vim9execute.c,
20027 src/testdir/test_vim9_script.vim
20028
20029Patch 8.2.3250
20030Problem: MS-Windows: cannot build with libsodium.
20031Solution: Change FEAT_SODIUM into HAVE_SODIUM. (Christian Brabandt,
20032 closes #8668, closes #8663)
20033Files: src/Make_mvc.mak
20034
20035Patch 8.2.3251
20036Problem: Listing builtin_gui as an available terminal is confusing.
20037Solution: Do not list builtin_gui. (Christian Brabandt, closes #8669,
20038 closes #8661)
20039Files: src/term.c, src/testdir/test_termcodes.vim
20040
20041Patch 8.2.3252
20042Problem: Duplicated code for adding buffer lines.
20043Solution: Move code to a common function. Also move map functions to map.c.
20044 (Yegappan Lakshmanan, closes #8665)
20045Files: src/evalbuffer.c, src/evalfunc.c, src/map.c, src/proto/map.pro
20046
20047Patch 8.2.3253
20048Problem: Channel test fails randomly.
20049Solution: Add a sleep after sending the "echoerr" command. (Michael Soyka)
20050Files: src/testdir/test_channel.vim, src/testdir/test_channel.py
20051
20052Patch 8.2.3254
20053Problem: win_gettype() does not recognize a quickfix window.
20054Solution: Add "quickfix" and "loclist". (Yegappan Lakshmanan, closes #8676)
20055Files: runtime/doc/eval.txt, src/evalwindow.c, src/misc2.c,
20056 src/testdir/test_quickfix.vim
20057
20058Patch 8.2.3255
20059Problem: ci" finds following string but ci< and others don't.
20060Solution: When not inside an object find the start. (Connor Lane Smit,
20061 closes #8670)
20062Files: src/search.c, src/testdir/test_textobjects.vim, src/textobject.c
20063
20064Patch 8.2.3256
20065Problem: Executable test may fail on new Ubuntu system.
20066Solution: Consider /usr/bin/cat and /bin/cat the same.
20067Files: src/testdir/test_functions.vim
20068
20069Patch 8.2.3257
Bram Moolenaar1588bc82022-03-08 21:35:07 +000020070Problem: Calling prop_find() with -1 for ID gives erroneous error. (Naohiro
Bram Moolenaarc51cf032022-02-26 12:25:45 +000020071 Ono)
20072Solution: When passing -1 use -2. (closes #8674)
20073Files: src/textprop.c, src/testdir/test_textprop.vim
20074
20075Patch 8.2.3258
20076Problem: Error messages have the wrong text.
20077Solution: Adjust the error message.
20078Files: src/errors.h, src/typval.c, src/testdir/test_vim9_builtin.vim
20079
20080Patch 8.2.3259
20081Problem: When 'indentexpr' causes an error the did_throw flag may remain
20082 set.
20083Solution: Reset did_throw and show the error. (closes #8677)
20084Files: src/indent.c, src/ex_docmd.c, src/proto/ex_docmd.pro
20085
20086Patch 8.2.3260
20087Problem: Build failure with small features.
20088Solution: Add #ifdef.
20089Files: src/ex_docmd.c
20090
20091Patch 8.2.3261
20092Problem: Vim9: when compiling repeat(123, N) return type is number.
20093Solution: Make return type a string. (closes #8664)
20094Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
20095
20096Patch 8.2.3262
20097Problem: Build failure when ABORT_ON_INTERNAL_ERROR is defined.
20098Solution: Adjust how estack_len_before is used.
20099Files: src/ex_docmd.c
20100
20101Patch 8.2.3263
20102Problem: Vim9: "..=" does not accept same types as the ".." operator.
20103Solution: Convert value to string like ".." does. (issue #8664)
20104Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
20105 src/testdir/test_vim9_disassemble.vim
20106
20107Patch 8.2.3264 (after 8.2.3263)
20108Problem: Vim9: assign test fails.
20109Solution: Add missing change.
20110Files: src/eval.c
20111
20112Patch 8.2.3265
20113Problem: Smartcase does not work correctly in very magic pattern.
20114Solution: Take the magicness into account when skipping over regexp items.
20115 (Christian Brabandt, closes #8682, closes #7845)
20116Files: src/search.c, src/testdir/test_search.vim
20117
20118Patch 8.2.3266
20119Problem: Vim9: assignment with two indexes may check next line.
20120Solution: Limit the number of lines to avoid checking the next line when
Bram Moolenaar1588bc82022-03-08 21:35:07 +000020121 assigning to a LHS subscript. (closes #8660)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000020122Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
20123
20124Patch 8.2.3267
20125Problem: Vim9: crash when disassembling a function that uses a deleted
20126 script variable.
20127Solution: Check the variable still exists. (closes #8683)
20128Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim
20129
20130Patch 8.2.3268
20131Problem: Cannot use a block with :autocmd like with :command.
20132Solution: Add support for a {} block after :autocmd. (closes #8620)
20133Files: runtime/doc/autocmd.txt, runtime/doc/map.txt, src/autocmd.c,
20134 src/proto/autocmd.pro, src/usercmd.c, src/proto/usercmd.pro,
20135 src/ex_docmd.c, src/vim.h, src/testdir/test_autocmd.vim
20136
20137Patch 8.2.3269
20138Problem: Vim9: wrong argument check for partial. (Naohiro Ono)
20139Solution: Handle getting return type without arguments. Correct the minimal
20140 number of arguments for what is included in the partial.
20141 (closes #8667)
20142Files: src/evalfunc.c, src/vim9type.c, src/testdir/test_vim9_func.vim
20143
20144Patch 8.2.3270
20145Problem: prop_find() finds property with ID -2.
20146Solution: Use a separate flag to indicate an ID was specified. (issue #8674)
20147Files: src/textprop.c
20148
20149Patch 8.2.3271
20150Problem: Vim9: cannot use :command or :au with a block in a :def function.
20151Solution: Recognize the start of the block.
20152Files: src/userfunc.c, src/usercmd.c, src/ex_docmd.c,
20153 src/proto/ex_docmd.pro, src/vim9compile.c,
20154 src/testdir/test_vim9_script.vim
20155
20156Patch 8.2.3272
20157Problem: Cannot use id zero with prop_find(). (Naohiro Ono)
20158Solution: Also accept id zero.
20159Files: src/textprop.c, src/testdir/test_textprop.vim
20160
20161Patch 8.2.3273
20162Problem: Autocmd test fails.
20163Solution: Require white space before the "{" that starts a block.
20164Files: src/userfunc.c
20165
20166Patch 8.2.3274
20167Problem: Macro for printf format check can be simplified.
20168Solution: Add ATTRIBUTE_FORMAT_PRINTF(). (Dominique Pellé, issue #8635)
20169Files: src/channel.c, src/gui_xim.c, src/if_mzsch.c, src/nbdebug.c,
20170 src/nbdebug.h, src/netbeans.c, src/proto.h, src/term.c, src/vim.h,
20171 src/vim9execute.c
20172
20173Patch 8.2.3275
20174Problem: Optimizer can use hints about ga_grow() normally succeeding.
20175Solution: Use GA_GROW_FAILS() and GA_GROW_OK() in several places. (Dominique
20176 Pellé, issue #8635)
20177Files: src/arglist.c, src/macros.h, src/vim9execute.c, src/vim9compile.c
20178
20179Patch 8.2.3276
20180Problem: Vim9: exists() can only be evaluated at runtime.
20181Solution: Evaluate at compile time for option name literals. (closes #8437)
20182Files: src/vim9compile.c, src/evalfunc.c, src/proto/evalfunc.pro,
20183 src/testdir/test_vim9_builtin.vim
20184
20185Patch 8.2.3277 (after 8.2.3276)
20186Problem: Vim9: compiled has() does not work properly.
20187Solution: Fix check for has() vs exists().
20188Files: src/vim9compile.c
20189
20190Patch 8.2.3278
20191Problem: Vim9: error when adding 1 to float.
20192Solution: Accept t_number_bool. (closes #8687)
20193Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
20194
20195Patch 8.2.3279
20196Problem: Vim9: cannot use block in cmdline window.
20197Solution: Add EX_CMDWIN to the CMD_block flags. (closes #8689)
20198Files: src/ex_cmds.h, src/testdir/test_vim9_cmd.vim
20199
20200Patch 8.2.3280
20201Problem: 'virtualedit' local to buffer is not the best solution.
20202Solution: Make it window-local. (Gary Johnson, closes #8685)
20203Files: runtime/doc/options.txt, src/buffer.c, src/drawscreen.c,
20204 src/ops.c, src/option.c, src/option.h, src/optionstr.c,
20205 src/structs.h, src/testdir/test_virtualedit.vim
20206
20207Patch 8.2.3281
20208Problem: Vim9: TODO items in tests can be taken care of.
20209Solution: Update test for now working functionality. (closes #8694)
20210Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_func.vim,
20211 src/testdir/test_vim9_script.vim
20212
20213Patch 8.2.3282
20214Problem: Vim9: error about using -complete without -nargs is confusing.
20215Solution: Change the wording.
20216Files: src/usercmd.c, src/errors.h
20217
20218Patch 8.2.3283
20219Problem: Julia filetype is not recognized
20220Solution: Add filetype detection. (Christian Clason, closes #8700)
20221Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20222
20223Patch 8.2.3284
20224Problem: No error for insert() or remove() changing a locked blob.
20225Solution: Check a blob is not locked before changing it. (Sean Dewar,
20226 closes #8696)
20227Files: src/blob.c, src/errors.h, src/eval.c, src/list.c,
20228 src/proto/blob.pro, src/testdir/test_blob.vim,
20229 src/testdir/test_eval_stuff.vim
20230
20231Patch 8.2.3285
20232Problem: Scdoc filetype is not recognized.
20233Solution: Add filetype detection. (Gregory Anders, closes #8701)
20234Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20235
20236Patch 8.2.3286
20237Problem: win_enter_ext() has too many boolean arguments.
20238Solution: use one flags argument with defined values.
20239Files: src/window.c
20240
20241Patch 8.2.3287
20242Problem: Channel events not handled in BufEnter autocommand.
20243Solution: Decrement dont_parse_messages earlier. (Tim Pope, closes #8697)
20244Files: src/window.c, src/testdir/test_channel.vim
20245
20246Patch 8.2.3288
20247Problem: Cannot easily access namespace dictionaries from Lua.
20248Solution: Add vim.g, vim.b, etc. (Yegappan Lakshmanan, closes #8693,
20249 from NeoVim)
20250Files: runtime/doc/if_lua.txt, src/if_lua.c, src/testdir/test_lua.vim
20251
20252Patch 8.2.3289 (after 8.2.3287)
20253Problem: Compiler warning for unused variable with small features.
20254Solution: Rearrange #ifdefs.
20255Files: src/window.c
20256
20257Patch 8.2.3290
20258Problem: Vim9: compiling dict may use pointer after free and leak memory on
20259 failure.
20260Solution: Pass a pointer to generate_PUSHS(). (Zdenek Dohnal, closes #8699)
20261Files: src/vim9compile.c
20262
20263Patch 8.2.3291
20264Problem: Coverity warns for not checking return value.
20265Solution: If dict_add() fails give an error message.
20266Files: src/if_lua.c, src/testdir/test_lua.vim
20267
20268Patch 8.2.3292
20269Problem: Underscore in very magic pattern causes a hang. Pattern with \V
20270 are case sensitive. (Yutao Yuan)
20271Solution: Adjust condition for magicness and advance pointer. (Christian
20272 Brabandt, closes #8707, closes #8704, closes #8705)
20273Files: src/search.c, src/testdir/test_search.vim
20274
20275Patch 8.2.3293
20276Problem: Finding completions may cause an endless loop.
20277Solution: Use a better way to check coming back where the search started.
20278 (Andy Gozas, closes #8672, closes #8671)
20279Files: src/insexpand.c, src/testdir/Make_all.mak,
20280 src/testdir/test_ins_complete_no_halt.vim
20281
20282Patch 8.2.3294
20283Problem: Lua: memory leak when adding dict item fails.
20284Solution: Free the typval and the dict item.
20285Files: src/if_lua.c
20286
20287Patch 8.2.3295
20288Problem: 'cursorline' should not apply to 'breakindent'.
20289Solution: Make 'cursorline' apply to 'breakindent' and 'showbreak'
20290 consistently. (closes #8684)
20291Files: src/drawline.c, src/testdir/dumps/Test_Xcursorline_19.dump,
20292 src/testdir/dumps/Test_Xcursorline_20.dump,
20293 src/testdir/dumps/Test_Xcursorline_21.dump,
20294 src/testdir/dumps/Test_Xcursorline_22.dump,
20295 src/testdir/dumps/Test_Xcursorline_23.dump,
20296 src/testdir/dumps/Test_Xcursorline_24.dump,
20297 src/testdir/dumps/Test_diff_with_cul_bri_01.dump,
20298 src/testdir/dumps/Test_diff_with_cul_bri_02.dump,
20299 src/testdir/dumps/Test_diff_with_cul_bri_03.dump,
20300 src/testdir/dumps/Test_diff_with_cul_bri_04.dump,
20301 src/testdir/test_cursorline.vim, src/testdir/test_diffmode.vim
20302
20303Patch 8.2.3296
20304Problem: Vim9: cannot add a number to a float.
20305Solution: Accept a number if the destination is a float. (closes #8703)
20306Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
20307
20308Patch 8.2.3297
20309Problem: Cannot use all commands inside a {} block after :command and
20310 :autocmd.
20311Solution: Do consider \n to separate commands. (closes #8620)
20312Files: runtime/doc/map.txt, src/ex_docmd.c, src/proto/ex_docmd.pro,
20313 src/ex_eval.c, src/proto/ex_eval.pro, src/eval.c, src/evalvars.c,
20314 src/ex_cmds.c, src/syntax.c, src/userfunc.c, src/vim9compile.c,
20315 src/vim9script.c, src/errors.h, src/testdir/test_autocmd.vim,
20316 src/testdir/test_usercommands.vim
20317
20318Patch 8.2.3298
20319Problem: Build failure with small features.
20320Solution: Add #ifdef.
20321Files: src/ex_docmd.c
20322
20323Patch 8.2.3299
20324Problem: Vim9: exists() does not handle much at compile time.
20325Solution: Handle variable names. (closes #8688)
20326Files: src/vim9compile.c, src/evalfunc.c,
20327 src/testdir/test_vim9_builtin.vim
20328
20329Patch 8.2.3300
20330Problem: Lua: can only execute one Vim command at a time. Not easy to get
20331 the Vim version.
20332Solution: Make vim.command() accept multiple lines. Add vim.version().
20333 (Yegappan Lakshmanan, closes #8716)
20334Files: runtime/doc/if_lua.txt, src/evalfunc.c, src/if_lua.c,
20335 src/proto/evalfunc.pro, src/testdir/test_lua.vim,
20336 src/testdir/test_shell.vim
20337
20338Patch 8.2.3301
20339Problem: Memory allocation functions don't have their own place.
20340Solution: Move memory allocation functions to alloc.c. (Yegappan
20341 Lakshmanan, closes #8717)
20342Files: Filelist, src/Make_ami.mak, src/Make_cyg_ming.mak,
20343 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
20344 src/alloc.c, src/misc2.c, src/proto.h, src/proto/alloc.pro,
20345 src/proto/misc2.pro
20346
20347Patch 8.2.3302
20348Problem: Coverity is not run from github.
20349Solution: Add a coverity script. (James McCoy, closes #8714)
20350Files: .github/workflows/coverity.yml, Filelist
20351
20352Patch 8.2.3303
20353Problem: Some structures could be smaller.
20354Solution: Rearrange members to reduce size. (Dominique Pellé, closes #8725)
20355Files: src/structs.h, src/vim9.h, src/vim9execute.c
20356
20357Patch 8.2.3304
20358Problem: Popup window title with wide characters is truncated.
20359Solution: Use vim_strsize() instead of MB_CHARLEN(). (Naruhiko Nishino,
20360 closes #8721)
20361Files: src/popupwin.c, src/testdir/test_popupwin.vim,
20362 src/testdir/dumps/Test_popupwin_multibytetitle.dump
20363
20364Patch 8.2.3305
20365Problem: Vim9: :finally in skipped block not handled correctly.
20366Solution: Check whether :finally is in a skipped block. (Naruhiko Nishino,
20367 closes #8724)
20368Files: src/ex_eval.c, src/vim9compile.c, src/testdir/test_vim9_script.vim
20369
20370Patch 8.2.3306
20371Problem: Unexpected "No matching autocommands".
20372Solution: Do not give the message when aborting. Mention the arguments in
20373 the message. (closes #8690)
20374Files: src/autocmd.c,
20375
20376Patch 8.2.3307
20377Problem: Vim9: :echoconsole cannot access local variables.
20378Solution: Handle like other :echo commands. (closes #8708)
20379Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c,
20380 src/testdir/test_vim9_script.vim,
20381 src/testdir/test_vim9_disassemble.vim
20382
20383Patch 8.2.3308
20384Problem: Vim9: no runtime check for argument type if a function only has
20385 varargs.
20386Solution: Also check argument types if uf_va_type is set. (closes #8715)
20387Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
20388
20389Patch 8.2.3309
20390Problem: Vim9: divide by zero causes a crash.
20391Solution: Give an error message. (closes #8727)
20392Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
20393
20394Patch 8.2.3310
20395Problem: Vim9: unpack assignment does not mention source of type error.
20396Solution: Mention the argument number. (closes #8719)
20397Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
20398 src/testdir/test_vim9_disassemble.vim
20399
20400Patch 8.2.3311
20401Problem: Vim9: check for DO_NOT_FREE_CNT is very slow.
20402Solution: Move to a separate function so it can be skipped by setting
20403 $TEST_SKIP_PAT.
20404Files: src/testdir/test_vim9_expr.vim, src/testdir/runtest.vim
20405
20406Patch 8.2.3312
20407Problem: Vim9: after "if false" line breaks in expression not skipped.
20408Solution: Do parse the expression. (closes #8723)
20409Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
20410
20411Patch 8.2.3313
20412Problem: Unused code in win_exchange() and frame_remove().
20413Solution: Remove the code. (closes #8728)
20414Files: src/window.c
20415
20416Patch 8.2.3314
20417Problem: Behavior of exists() in a :def function is unpredictable.
20418Solution: Add exists_compiled().
20419Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
20420 src/errors.h, src/vim9compile.c, src/testdir/test_vim9_builtin.vim
20421
20422Patch 8.2.3315
20423Problem: Cannot use single quote in a float number for readability.
20424Solution: Support single quotes like in numbers. (closes #8713)
20425Files: src/typval.c, src/float.c, src/proto/float.pro, src/json.c,
20426 src/viminfo.c, src/testdir/test_float_func.vim
20427
20428Patch 8.2.3316 (after 8.2.3315)
20429Problem: Float test fails.
20430Solution: Add missing change.
20431Files: src/evalfunc.c
20432
20433Patch 8.2.3317
20434Problem: Vim9: No error for missing white space before return type.
20435Solution: Check for white space. (closes #8733)
20436Files: src/userfunc.c, src/testdir/test_vim9_func.vim
20437
20438Patch 8.2.3318
20439Problem: Vim9: cannot ignore quotes in number at the command line.
20440Solution: Use in_vim9script() so that after ":vim9" quotes are ignored.
20441Files: src/typval.c, src/testdir/test_float_func.vim
20442
20443Patch 8.2.3319
20444Problem: Coverity action on github does not work.
20445Solution: Remove undefined $SRCDIR. (James McCoy, closes #8739)
20446Files: .github/workflows/coverity.yml
20447
20448Patch 8.2.3320
20449Problem: Some local functions are not static.
20450Solution: Add "static". Move snprintf() related code to strings.c.
20451 (Yegappan Lakshmanan, closes #8734)
20452Files: src/alloc.c, src/channel.c, src/dict.c, src/digraph.c, src/edit.c,
20453 src/ex_docmd.c, src/getchar.c, src/job.c, src/list.c,
20454 src/message.c, src/profiler.c, src/proto/channel.pro,
20455 src/proto/dict.pro, src/proto/digraph.pro, src/proto/edit.pro,
20456 src/proto/ex_docmd.pro, src/proto/getchar.pro, src/proto/job.pro,
20457 src/proto/list.pro, src/proto/profiler.pro, src/proto/spell.pro,
20458 src/proto/vim9compile.pro, src/proto/vim9script.pro,
20459 src/proto/vim9type.pro, src/spell.c, src/strings.c,
20460 src/vim9compile.c, src/vim9script.c, src/vim9type.c, src/window.c
20461
20462Patch 8.2.3321
20463Problem: Some code is not tested.
20464Solution: Add some more tests. (Dominique Pellé, closes #8735)
20465Files: src/testdir/test_excmd.vim, src/testdir/test_writefile.vim
20466
20467Patch 8.2.3322
20468Problem: Vim9: checking type of dict does not check member type.
20469Solution: When getting the type of a typval use dv_type and lv_type.
20470 (closes #8732)
20471Files: src/vim9type.c, src/testdir/test_vim9_builtin.vim
20472
20473Patch 8.2.3323
20474Problem: Help tag for exists_compiled() is wrong. (Maxim Kim)
20475Solution: Adjust the help tag.
20476Files: runtime/doc/eval.txt
20477
20478Patch 8.2.3324
20479Problem: Vim9: Cannot use :silent with :endwhile.
20480Solution: Allow for using the :silent modifier. (closes #8737)
20481Files: src/ex_eval.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
20482 src/vim9compile.c, src/testdir/test_vim9_cmd.vim
20483
20484Patch 8.2.3325
20485Problem: Digraph test fails when LC_ALL is set to "C".
20486Solution: When restoring 'encoding' set it to "utf-8". (closes #8742)
20487Files: src/testdir/test_digraph.vim
20488
20489Patch 8.2.3326
20490Problem: Vim9: no error passing an empty list of the wrong type.
20491Solution: Use ISN_SETTYPE also for "list<any>". (closes #8732)
20492Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
20493 src/testdir/test_vim9_disassemble.vim
20494
20495Patch 8.2.3327
20496Problem: No check for sysconf() failing.
20497Solution: If sysconf() fails use SIGSTKSZ for the signal stack size.
20498 (Zdenek Dohnal, closes #8743)
20499Files: src/os_unix.c
20500
20501Patch 8.2.3328
20502Problem: Coverity error for not checking return value.
20503Solution: Check value is not negative.
20504Files: src/spellfile.c
20505
20506Patch 8.2.3329
20507Problem: v_lock not set when getting value of environment variable.
20508Solution: Set v_lock to zero.
20509Files: src/typval.c
20510
20511Patch 8.2.3330
20512Problem: Coverity reports using uninitialized field.
20513Solution: Initialize the field early.
20514Files: src/tag.c
20515
20516Patch 8.2.3331
20517Problem: Coverity warns for using value without boundary check.
20518Solution: Add a boundary check.
20519Files: src/viminfo.c
20520
20521Patch 8.2.3332
20522Problem: Vim9: cannot assign to range in list.
20523Solution: Implement overwriting a list range.
20524Files: src/vim9compile.c, src/vim9execute.c, src/list.c,
20525 src/proto/list.pro, src/eval.c, src/proto/eval.pro,
20526 src/testdir/test_listdict.vim, src/testdir/test_vim9_assign.vim
20527
20528Patch 8.2.3333
20529Problem: Vim9: not enough tests run with Vim9.
20530Solution: Run a few more tests in Vim9 script and :def function.
20531Files: src/testdir/test_listdict.vim, src/testdir/vim9.vim
20532
20533Patch 8.2.3334
20534Problem: Vim9: not enough tests run with Vim9.
20535Solution: Run a few more tests in Vim9 script and :def function. Fix
20536 islocked(). Fix error for locking local variable.
20537Files: src/evalfunc.c, src/vim9compile.c, src/testdir/test_listdict.vim
20538
20539Patch 8.2.3335
20540Problem: Vim9: not enough tests run with Vim9.
20541Solution: Run a few more tests in Vim9 script and :def function. Fix that
Bram Moolenaar1588bc82022-03-08 21:35:07 +000020542 items(), keys() and values() return zero for a NULL dict.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000020543 Make join() return an empty string for a NULL list. Make sort()
20544 return an empty list for a NULL list.
20545Files: src/dict.c, src/list.c, src/testdir/test_listdict.vim,
20546 src/testdir/vim9.vim
20547
20548Patch 8.2.3336
20549Problem: Behavior of negative index in list change changed. (Naruhiko
20550 Nishino)
20551Solution: Only change it for Vim9 script. (closes #8749)
20552Files: src/list.c, src/testdir/test_listdict.vim
20553
20554Patch 8.2.3337
20555Problem: Completing "call g:" returns entries with just "g:". (Naohiro Ono)
20556Solution: Skip empty strings returned by get_user_func_name(). (closes #8753)
20557Files: src/evalfunc.c, src/testdir/test_cmdline.vim
20558
20559Patch 8.2.3338
20560Problem: Vim9: no type check when assigning a list range. (Naohiro Ono)
20561Solution: Check the member type. (closes #8750)
20562Files: src/list.c, src/testdir/test_listdict.vim
20563
20564Patch 8.2.3339
20565Problem: Vim9: cannot lock a member in a local dict.
20566Solution: Get the local dict from the stack and pass it to get_lval().
20567Files: src/eval.c, src/vim9execute.c, src/vim9compile.c, src/vim9.h,
20568 src/globals.h, src/testdir/test_vim9_cmd.vim,
20569 src/testdir/test_vim9_disassemble.vim
20570
20571Patch 8.2.3340 (after 8.2.3339)
20572Problem: Accessing uninitialized pointer.
20573Solution: Set pointer to NULL.
20574Files: src/eval.c
20575
20576Patch 8.2.3341
20577Problem: Vim9: function call aborted despite try/catch. (Naohiro Ono)
20578Solution: Ignore error caught by try/catch. (closes #8755)
20579Files: src/evalvars.c, src/vim9execute.c, src/message.c, src/time.c,
20580 src/globals.h, src/testdir/vim9.vim, src/testdir/test_vim9_func.vim
20581
20582Patch 8.2.3342 (after 8.2.3341)
20583Problem: Test for :let errors fails.
20584Solution: Adjust the test and how to avoid a second error message.
20585Files: src/evalvars.c, src/testdir/test_let.vim
20586
20587Patch 8.2.3343 (after 8.2.3342)
20588Problem: Vim9: autoload test fails.
20589Solution: Adjust the way the second message is avoided
20590Files: src/evalvars.c
20591
20592Patch 8.2.3344 (after 8.2.3343)
20593Problem: Vimscript test fails.
20594Solution: Have test verify first error instead of second
20595Files: src/testdir/test_vimscript.vim
20596
20597Patch 8.2.3345
20598Problem: Some code not covered by tests.
20599Solution: Add a few more tests. (Dominique Pellé, closes #8757)
20600Files: src/testdir/test_arglist.vim, src/testdir/test_cmdline.vim,
20601 src/testdir/test_spellfile.vim, src/testdir/test_substitute.vim
20602
20603Patch 8.2.3346
20604Problem: Vim9: no error for using "." for concatenation after ":vim9cmd".
20605 (Naohiro Ono)
20606Solution: Check for Vim9 script syntax. (closes #8756)
20607Files: src/eval.c, src/testdir/test_vim9_cmd.vim
20608
20609Patch 8.2.3347
20610Problem: Check for legacy script is incomplete. (Naohiro Ono)
20611Solution: Also check the :legacy modifier. Use for string concatenation
20612 with "." and others (issue #8756)
20613Files: src/vim9script.c, src/proto/vim9script.pro, src/eval.c,
20614 src/typval.c, src/evalvars.c, src/errors.h, src/ex_docmd.c,
20615 src/testdir/test_vim9_cmd.vim
20616
20617Patch 8.2.3348
20618Problem: line2byte() returns wrong value after adding textprop. (Yuto
20619 Kimura)
20620Solution: Reduce the length by the size of the text property. (closes #8759)
20621Files: src/memline.c, src/testdir/test_textprop.vim
20622
20623Patch 8.2.3349 (after 8.2.3347)
20624Problem: Eval test for scriptversion fails.
20625Solution: Fix off-by-one error.
20626Files: src/vim9script.c
20627
20628Patch 8.2.3350 (after 8.2.3348)
20629Problem: Text properties test fails on MS-Windows.
20630Solution: Set fileformat to unix.
20631Files: src/testdir/test_textprop.vim
20632
20633Patch 8.2.3351
20634Problem: Vim9: using a function by name may delete it. (Naohiro Ono)
20635Solution: Increment the reference count when using a function by name.
20636 (closes #8760)
20637Files: src/evalvars.c, src/testdir/test_vim9_func.vim
20638
20639Patch 8.2.3352
20640Problem: Vim9: error for nested :enddef has wrong line number.
20641Solution: Compute the line number.
20642Files: src/userfunc.c, src/testdir/test_vim9_func.vim
20643
20644Patch 8.2.3353
20645Problem: Vim9: type of argument for negate not checked at compile time.
20646Solution: Add a compile time check.
20647Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
20648 src/testdir/test_vim9_script.vim,
20649 src/testdir/test_vim9_disassemble.vim
20650
20651Patch 8.2.3354
20652Problem: Build failure with +byte_offset but without +textprop. (John
20653 Marriott)
20654Solution: Adjust the #ifdef.
20655Files: src/memline.c
20656
20657Patch 8.2.3355
20658Problem: MS-Windows: compiler warning for 64-32 bit conversion.
20659Solution: Add type casts.
20660Files: src/memline.c
20661
20662Patch 8.2.3356
20663Problem: Adding many text properties requires a lot of function calls.
20664Solution: Add the prop_add_list() function. (Yegappan Lakshmanan,
20665 closes #8751)
20666Files: runtime/doc/eval.txt, runtime/doc/textprop.txt,
20667 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/textprop.pro,
20668 src/testdir/test_textprop.vim, src/testdir/test_vim9_builtin.vim,
20669 src/textprop.c
20670
20671Patch 8.2.3357
20672Problem: Crash when 'virtualedit' is set and window is narrow.
20673Solution: Check that width is not zero. (closes #8767)
20674Files: src/misc2.c, src/testdir/test_number.vim
20675
20676Patch 8.2.3358
20677Problem: Structurizr files are not recognized.
20678Solution: Recognize the file by contents. (Bastian Venthur, closes #8764)
20679Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20680
20681Patch 8.2.3359
20682Problem: Vim9: error for type when variable is not set.
20683Solution: Give a specific error for a NULL function. (closes #8773)
20684Files: src/vim9type.c, src/errors.h, src/testdir/test_vim9_func.vim
20685
20686Patch 8.2.3360
20687Problem: User function completion fails with dict function.
20688Solution: Do not stop sequencing through the list if user functions when
20689 encountering an empty name. (Naohiro Ono, closes #8765,
20690 closes #8774)
20691Files: src/evalfunc.c, src/testdir/test_cmdline.vim
20692
20693Patch 8.2.3361
20694Problem: Vim9: crash with nested :while.
20695Solution: Handle skipping better. (Naruhiko Nishino, closes #8778)
20696Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
20697
20698Patch 8.2.3362
20699Problem: Buffer overflow when completing long tag name.
20700Solution: Allocate the buffer dynamically. (Gregory Anders, closes #8769)
20701Files: src/tag.c, src/testdir/test_tagjump.vim
20702
20703Patch 8.2.3363
20704Problem: When :edit reuses the current buffer the alternate file is set to
20705 the same buffer.
20706Solution: Only set the alternate file when not reusing the buffer.
20707 (closes #8783)
20708Files: src/ex_cmds.c, src/testdir/test_undo.vim,
20709 src/testdir/test_cmdline.vim, src/testdir/test_vim9_builtin.vim,
20710 src/testdir/test_vim9_script.vim
20711
20712Patch 8.2.3364
20713Problem: Vim9: crash when :for is skipped.
20714Solution: Skip more code generation. (Naruhiko Nishino, closes #8777)
20715Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
20716
20717Patch 8.2.3365
20718Problem: Vim9: cannot use option for all operations.
20719Solution: Recognize more operations. (closes #8779)
20720Files: src/vim9compile.c, src/proto/vim9compile.pro, src/ex_docmd.c,
20721 src/testdir/test_vim9_cmd.vim
20722
20723Patch 8.2.3366
20724Problem: Vim9: debugging elseif does not stop before condition.
20725Solution: Move debug statement to after the jump. (closes #8781)
20726Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
20727
20728Patch 8.2.3367
20729Problem: Vim9: :@r executing a register is inconsistent.
20730Solution: Use "@r" as the start of an expression. (issue #8779)
20731Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
20732
20733Patch 8.2.3368
20734Problem: Not all Racket files are recognized.
20735Solution: Also recognize .rktl and .rktd files. (Doug Kearns)
20736Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20737
20738Patch 8.2.3369
20739Problem: Auto formatting after "cw" leaves cursor in wrong spot.
20740Solution: Do not auto-format after the delete. (closes #8789)
20741Files: src/ops.c, src/testdir/test_textformat.vim
20742
20743Patch 8.2.3370
20744Problem: Vim9: no check for white space before type in declaration.
20745 (Naohiro Ono)
20746Solution: Check for white space like in a compiled function. (closes #8785)
20747Files: src/eval.c, src/testdir/test_vim9_assign.vim
20748
20749Patch 8.2.3371
20750Problem: Vim9: :$ENV cannot be followed by ->func() in next line.
20751Solution: Use "$ENV" as the start of an expression. (closes #8790)
20752Files: src/ex_docmd.c, src/vim9compile.c, src/testdir/test_vim9_cmd.vim
20753
20754Patch 8.2.3372
20755Problem: line2byte() value wrong when adding a text property. (Yuto Kimura)
20756Solution: Adjust length for text property. (closes #8772) Also fix it for
20757 deleting a line.
20758Files: src/memline.c, src/testdir/test_textprop.vim
20759
20760Patch 8.2.3373 (after 8.2.3372)
20761Problem: text property test fails on MS-Windows.
20762Solution: Set fileformat to "unix"
20763Files: src/testdir/test_textprop.vim
20764
20765Patch 8.2.3374
20766Problem: Pyret files are not recognized.
20767Solution: Recognize .arr files as Pyret. (Doug Kearns)
20768Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20769
20770Patch 8.2.3375
20771Problem: Using uninitialized memory.
20772Solution: Initialize textprop_save_len.
20773Files: src/memline.c
20774
20775Patch 8.2.3376
20776Problem: Vim9: no warning that "@r" does not do anything.
20777Solution: Give a "no effect" error. (closes #8779)
20778Files: src/ex_eval.c, src/proto/ex_eval.pro, src/vim9compile.c,
20779 src/testdir/test_vim9_cmd.vim
20780
20781Patch 8.2.3377
20782Problem: Vim9: :disass completion does not understand "s:".
20783Solution: Expand "s:" to a pattern. (closes #8780)
20784Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
20785
20786Patch 8.2.3378
20787Problem: MS-Windows: completing environment variables with % is wrong.
20788Solution: Only complete environment variables with $. (Albert Liu,
20789 closes #8791)
20790Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
20791
20792Patch 8.2.3379
20793Problem: Crash when using NULL job.
20794Solution: Copy static string into buffer. (issue #8260)
20795Files: src/job.c, src/testdir/test_channel.vim
20796
20797Patch 8.2.3380
20798Problem: Crash when using NULL string for funcref().
20799Solution: Check for NULL argument. (issue #8260)
20800Files: src/evalfunc.c, src/testdir/test_expr.vim
20801
20802Patch 8.2.3381
20803Problem: Crash when using NULL list with sign functions.
20804Solution: Handle a NULL list like an empty list. (issue #8260)
20805Files: src/globals.h, src/testdir/test_signs.vim
20806
20807Patch 8.2.3382
20808Problem: Crash when getting the type of a NULL partial.
20809Solution: Check for NULL. (closes #8260)
20810Files: src/vim9type.c, src/testdir/test_vim9_builtin.vim
20811
20812Patch 8.2.3383
20813Problem: Vim9: completion for :disassemble adds parenthesis.
20814Solution: Don't add parenthesis. (Naohiro Ono, closes #8802)
20815Files: src/userfunc.c, src/testdir/test_cmdline.vim
20816
20817Patch 8.2.3384
20818Problem: Cannot disable modeline for an individual file.
20819Solution: Recognize "nomodeline" in a modeline. (Hu Jialun, closes #8798)
20820Files: runtime/doc/options.txt, src/buffer.c,
20821 src/testdir/test_modeline.vim
20822
20823Patch 8.2.3385
20824Problem: Escaping for fish shell does not work properly.
20825Solution: Insert a backslash before a backslash. (Jason Cox, closes #8810)
20826Files: runtime/doc/eval.txt, src/strings.c, src/testdir/test_shell.vim
20827
20828Patch 8.2.3386
20829Problem: Using uninitialized memory.
20830Solution: Initialize the rm_ic field. (Dominique Pellé, closes #8800)
20831Files: src/indent.c
20832
20833Patch 8.2.3387
20834Problem: Compiler warning for non-static function.
20835Solution: Make the function static. (Dominique Pellé, closes #8816)
20836Files: src/strings.c
20837
20838Patch 8.2.3388
20839Problem: fnamemodify('path/..', ':p') differs from using 'path/../'. (David
20840 Briscoe)
20841Solution: Include the "/.." in the directory name. (closes #8808)
20842Files: src/os_unix.c, src/testdir/test_fnamemodify.vim
20843
20844Patch 8.2.3389
20845Problem: Cannot stop insert mode completion without side effects.
20846Solution: Add CTRL-X CTRL-Z. (closes #8821)
20847Files: runtime/doc/index.txt, runtime/doc/insert.txt, src/insexpand.c,
20848 src/testdir/test_ins_complete.vim
20849
20850Patch 8.2.3390
20851Problem: Included xdiff code is outdated.
20852Solution: Sync with xdiff in git 2.33. (Christian Brabandt, closes #8431)
20853Files: src/diff.c, src/xdiff/README.txt, src/xdiff/xdiff.h,
20854 src/xdiff/xdiffi.c, src/xdiff/xdiffi.h, src/xdiff/xemit.c,
20855 src/xdiff/xemit.h, src/xdiff/xhistogram.c, src/xdiff/xinclude.h,
20856 src/xdiff/xmacros.h, src/xdiff/xpatience.c, src/xdiff/xprepare.h,
20857 src/xdiff/xtypes.h, src/xdiff/xutils.c, src/xdiff/xutils.h
20858
20859Patch 8.2.3391
20860Problem: Crash with combination of 'linebreak' and other options.
20861Solution: Avoid n_extra to become negative. (Christian Brabandt,
20862 closes #8817)
20863Files: src/drawline.c
20864
20865Patch 8.2.3392
20866Problem: augroup completion escapes regexp pattern characters.
20867Solution: Do not escape the augroup name. (closes #8826)
20868Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
20869
20870Patch 8.2.3393
20871Problem: Escaping for fish shell is skipping some characters.
20872Solution: Escape character after backslash if needed. (Jason Cox,
20873 closes #8827)
20874Files: src/strings.c, src/testdir/test_shell.vim
20875
20876Patch 8.2.3394
20877Problem: Filler lines are wrong when changing text in diff mode.
20878Solution: Don't change the filler lines on every change. Check
20879 scrollbinding when updating the filler lines. (closes #8809)
20880Files: src/move.c, src/diff.c, src/testdir/test_diffmode.vim,
20881 src/testdir/dumps/Test_diff_scroll_change_01.dump,
20882 src/testdir/dumps/Test_diff_scroll_change_02.dump
20883
20884Patch 8.2.3395
20885Problem: Vim9: expression breakpoint not checked in :def function.
20886Solution: Always compile a function for debugging if there is an expression
20887 breakpoint. (closes #8803)
20888Files: src/vim9execute.c, src/proto/vim9execute.pro, src/debugger.c,
20889 src/proto/debugger.pro, src/vim.h, src/vim9.h,
20890 src/testdir/test_debugger.vim
20891
20892Patch 8.2.3396
20893Problem: When libcall() fails invalid pointer may be used.
20894Solution: Initialize the string to NULL. (Yasuhiro Matsumoto, closes #8829)
20895Files: src/evalfunc.c
20896
20897Patch 8.2.3397
20898Problem: No test for what 8.2.3391 fixes.
20899Solution: Add a test. (Yegappan Lakshmanan, closes #8828)
20900Files: src/testdir/test_breakindent.vim
20901
20902Patch 8.2.3398
20903Problem: Html text objects are not fully tested.
20904Solution: Add tests for dbcs encoding and different number of backslashes.
20905 (Dominique Pellé, closes #8831)
20906Files: src/testdir/test_textobjects.vim
20907
20908Patch 8.2.3399
20909Problem: Octave files are not recognized.
20910Solution: Detect Octave files. (Doug Kearns)
20911Files: runtime/autoload/dist/ft.vim, runtime/doc/filetype.txt,
20912 runtime/filetype.vim, src/testdir/test_filetype.vim
20913
20914Patch 8.2.3400
20915Problem: ":z!" is not supported.
20916Solution: Make ":z!" work and add tests. (Dominique Pellé, closes #8836)
20917 Use display height instead of current window height.
20918Files: runtime/doc/various.txt, src/ex_cmds.h, src/ex_cmds.c,
20919 src/testdir/test_ex_z.vim
20920
20921Patch 8.2.3401
20922Problem: Vim9: cannot use a negative count with finddir() and findfile().
20923Solution: Adjust the return type. (closes #8776)
20924Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
20925
20926Patch 8.2.3402
20927Problem: Invalid memory access when using :retab with large value.
20928Solution: Check the number is positive.
20929Files: src/indent.c, src/option.c, src/optionstr.c,
20930 src/testdir/test_retab.vim
20931
20932Patch 8.2.3403 (after 8.2.3402)
20933Problem: Memory leak for :retab with invalid argument.
20934Solution: Free the memory. Make error messages consistent.
20935Files: src/indent.c
20936
20937Patch 8.2.3404
20938Problem: Vim9: no error for white space before "(".
20939Solution: Give an error, like in a compiled function.
20940Files: src/userfunc.c, src/testdir/test_vim9_func.vim
20941
20942Patch 8.2.3405
20943Problem: Cannot have a comment line in a {} block of a user command.
20944Solution: Continue after the line break. (closes #8837)
20945Files: src/ex_docmd.c, src/testdir/test_usercommands.vim
20946
20947Patch 8.2.3406
20948Problem: On some systems tests fail without _REENTRANT. (Elimar
20949 Riesebieter)
20950Solution: Add -D_REENTRANT in configure. (closes #7402)
20951Files: src/configure.ac, src/auto/configure
20952
20953Patch 8.2.3407
20954Problem: Using uninitialized memory with "let g:['bar'] = 2".
20955Solution: Initialize v_type of a new dict item.
20956Files: src/dict.c
20957
20958Patch 8.2.3408
20959Problem: Can delete a numbered function. (Naohiro Ono)
20960Solution: Disallow deleting a numbered function. (closes #8760)
20961Files: src/userfunc.c, src/testdir/test_user_func.vim
20962
20963Patch 8.2.3409
20964Problem: Reading beyond end of line with invalid utf-8 character.
20965Solution: Check for NUL when advancing.
20966Files: src/regexp_nfa.c, src/testdir/test_regexp_utf8.vim
20967
20968Patch 8.2.3410
20969Problem: Crash with linebreak, listchars and large tabstop.
20970Solution: Account for different size listchars for a tab. (closes #8841)
20971Files: src/drawline.c, src/testdir/test_listlbr_utf8.vim
20972
20973Patch 8.2.3411
20974Problem: Vim9: crash when using base name of import. (Naohiro Ono)
20975Solution: Check the import flags. (closes #8843)
20976Files: src/evalvars.c, src/errors.h, src/testdir/test_vim9_script.vim
20977
20978Patch 8.2.3412 (after 8.2.3411)
20979Problem: Vim9: importing the wrong file.
20980Solution: Correct the file name. Delete the file afterwards.
20981Files: src/testdir/test_vim9_script.vim
20982
20983Patch 8.2.3413
20984Problem: Vim9: too many characters are allowed in import name.
20985Solution: Disallow ':' and '#', check for white space. (closes #8845)
20986Files: src/vim9script.c, src/errors.h, src/testdir/test_vim9_script.vim
20987
20988Patch 8.2.3414
20989Problem: fullcommand() gives the wrong name if there is a buffer-local user
20990 command. (Naohiro Ono)
20991Solution: Use a separate function to get the user command name.
20992 (closes #8840)
20993Files: src/usercmd.c, src/proto/usercmd.pro, src/ex_docmd.c,
20994 src/testdir/test_cmdline.vim
20995
20996Patch 8.2.3415
20997Problem: Vim9: Not all function argument types are properly checked.
20998Solution: Add and improve argument type checks. (Yegappan Lakshmanan,
20999 closes #8839)
21000Files: src/channel.c, src/digraph.c, src/evalfunc.c, src/terminal.c,
21001 src/testdir/test_digraph.vim, src/testdir/test_vim9_builtin.vim
21002
21003Patch 8.2.3416
21004Problem: Second error is reported while exception is being thrown.
21005Solution: Do not check for trailing characters when already aborting.
21006 (closes #8842)
21007Files: src/userfunc.c, src/testdir/test_trycatch.vim
21008
21009Patch 8.2.3417
21010Problem: Vim9: a failing debug expression aborts script sourcing.
21011Solution: Do not let expression failure abort script sourcing. (closes #8848)
21012Files: src/debugger.c, src/testdir/test_debugger.vim
21013
21014Patch 8.2.3418
21015Problem: Garbage collection while evaluating may cause trouble.
21016Solution: Disable garbage collection while evaluating an expression.
21017 (Christian Brabandt, issue #8848)
21018Files: src/eval.c
21019
21020Patch 8.2.3419
21021Problem: A failing debug expression may make Vim unusable.
21022Solution: Suppress error messages. (closes #8848)
21023Files: src/debugger.c, src/testdir/test_debugger.vim
21024
21025Patch 8.2.3420
21026Problem: _REENTRANT defined more than once.
21027Solution: Fix configure script. (Christian Brabandt, closes #8852)
21028Files: src/configure.ac, src/auto/configure
21029
21030Patch 8.2.3421
21031Problem: A bit of code is not covered by tests.
21032Solution: Add a few more test cases. (Dominique Pellé, closes #8857)
21033Files: src/testdir/test_functions.vim, src/testdir/test_history.vim,
21034 src/testdir/test_startup.vim
21035
21036Patch 8.2.3422
21037Problem: Vim9: no failure if return type differs from returned variable.
21038Solution: Copy type when copying a list. (closes #8847)
21039Files: src/list.c, src/testdir/test_vim9_func.vim
21040
21041Patch 8.2.3423
21042Problem: Vim9: list += list creates a new list in :def function.
21043Solution: Append to the existing list.
21044Files: src/structs.h, src/vim9compile.c, src/vim9execute.c,
21045 src/testdir/test_vim9_assign.vim
21046
21047Patch 8.2.3424
21048Problem: A sequence of spaces is hard to see in list mode.
21049Solution: Add the "multispace" option to 'listchars'. (closes #8834)
21050Files: runtime/doc/options.txt, src/drawline.c, src/message.c,
21051 src/screen.c, src/structs.h, src/testdir/test_listchars.vim
21052
21053Patch 8.2.3425
21054Problem: Warning for using uninitialized variable.
21055Solution: Initialize it. (John Marriott)
21056Files: src/screen.c
21057
21058Patch 8.2.3426
21059Problem: Crash when deleting a listener in a listener callback. (Naohiro
21060 Ono)
21061Solution: Mark the listener and delete it later. (closes #8863)
21062Files: src/change.c, src/testdir/test_listener.vim
21063
21064Patch 8.2.3427
21065Problem: Double free when list is copied.
21066Solution: Allocate the type when making a copy. (closes #8862)
21067 Clear the type for flattennew(). Avoid a memory leak when
21068 flattennew() fails.
21069Files: src/list.c, src/testdir/test_vim9_builtin.vim
21070
21071Patch 8.2.3428
21072Problem: Using freed memory when replacing. (Dhiraj Mishra)
21073Solution: Get the line pointer after calling ins_copychar().
21074Files: src/normal.c, src/testdir/test_edit.vim
21075
21076Patch 8.2.3429
21077Problem: Leaking memory when assigning to list or dict.
21078Solution: Free the list or dict type before overwriting it.
21079Files: src/vim9type.c, src/evalvars.c
21080
21081Patch 8.2.3430
21082Problem: No generic way to trigger an autocommand on mode change.
21083Solution: Add the ModeChanged autocommand event. (Magnus Gross, closes #8856)
21084Files: runtime/doc/autocmd.txt, src/autocmd.c, src/edit.c,
21085 src/ex_docmd.c, src/ex_getln.c, src/globals.h, src/misc1.c,
21086 src/normal.c, src/proto/autocmd.pro, src/proto/misc1.pro,
21087 src/testdir/test_edit.vim, src/vim.h
21088
21089Patch 8.2.3431
21090Problem: Completion for :disas sorts local functions first.
21091Solution: Sort local functions last, like with :delfunc. (Naohiro Ono,
21092 closes #8860)
21093Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
21094
21095Patch 8.2.3432
21096Problem: Octave/Matlab filetype detection does not work properly.
21097Solution: Update the patterns used for matching. (Doug Kearns)
21098Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim
21099
21100Patch 8.2.3433
21101Problem: :delcommand does not take a -buffer option.
21102Solution: Add the -buffer option.
21103Files: runtime/doc/map.txt, src/usercmd.c, src/errors.h,
21104 src/testdir/test_usercommands.vim
21105
21106Patch 8.2.3434 (after 8.2.3430)
21107Problem: Function prototype for trigger_modechanged() is incomplete.
21108Solution: Add "void".
21109Files: src/proto/misc1.pro
21110
21111Patch 8.2.3435
21112Problem: Vim9: dict is not passed to dict function.
21113Solution: Keep the dict used until a function call.
21114Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
21115 src/testdir/test_vim9_func.vim,
21116 src/testdir/test_vim9_disassemble.vim
21117
21118Patch 8.2.3436
21119Problem: Check for optional bool type has confusing return type.
21120Solution: Explicitly return OK.
21121Files: src/typval.c
21122
21123Patch 8.2.3437
21124Problem: Compiler warnings for 32/64 bit usage.
21125Solution: Add type casts. (Mike Williams, closes #8870)
21126Files: src/screen.c, src/xdiff/xemit.c, src/xdiff/xutils.c
21127
21128Patch 8.2.3438
21129Problem: Cannot manipulate blobs.
21130Solution: Add blob2list() and list2blob(). (Yegappan Lakshmanan,
21131 closes #8868)
21132Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/blob.c,
21133 src/errors.h, src/evalfunc.c, src/proto/blob.pro,
21134 src/proto/typval.pro, src/testdir/test_blob.vim,
21135 src/testdir/test_vim9_builtin.vim, src/typval.c
21136
21137Patch 8.2.3439
21138Problem: Deleted lines go to wrong yank register.
21139Solution: Reset y_append when not calling get_yank_register(). (Christian
21140 Brabandt, closes #8872)
21141Files: src/ops.c, src/proto/register.pro, src/register.c,
21142 src/testdir/test_registers.vim
21143
21144Patch 8.2.3440
21145Problem: Recover test fails if there is an old swap file.
21146Solution: Delete old swap files.
21147Files: src/testdir/test_recover.vim
21148
21149Patch 8.2.3441
21150Problem: MS-Windows: vimtutor can't handle path with spaces.
21151Solution: Add double quotes. (Christian Brabandt, closes #8871)
21152Files: vimtutor.bat
21153
21154Patch 8.2.3442
21155Problem: Vim9: || and && are not handled at compile time when possible.
21156Solution: When using constants generate fewer instructions.
21157Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
21158 src/testdir/test_vim9_disassemble.vim
21159
21160Patch 8.2.3443
21161Problem: Vim9: memory leak when and/or fails.
21162Solution: Also clear the growarray when the length is zero.
21163Files: src/vim9compile.c
21164
21165Patch 8.2.3444
21166Problem: concealed text not revealed when leaving insert mode. (Michael
21167 Soyka)
21168Solution: Check if concealing changed when leaving insert mode.
21169 (closes #8880)
21170Files: src/edit.c, src/testdir/test_conceal.vim,
21171 src/testdir/dumps/Test_conceal_two_windows_07in.dump
21172
21173Patch 8.2.3445
21174Problem: On Solaris longVersion may be declared twice. (Vladimir Marek)
21175Solution: Always declare longVersion in version.c
21176Files: src/globals.h, src/version.c
21177
21178Patch 8.2.3446
21179Problem: Not enough tests for empty string arguments.
21180Solution: Add tests, fix type check. (Yegappan Lakshmanan, closes #8881)
21181Files: runtime/doc/sign.txt, runtime/doc/textprop.txt, src/sign.c,
21182 src/testdir/test_blob.vim, src/testdir/test_vim9_builtin.vim
21183
21184Patch 8.2.3447
21185Problem: A couple of declarations are not ANSI C.
21186Solution: Put argument type inside (). (Yegappan Lakshmanan, closes #8890)
21187Files: src/os_unix.h
21188
21189Patch 8.2.3448
21190Problem: :endtry after function call that throws not found.
21191Solution: Do check for following :endtry if an exception is being thrown.
21192 (closes #8889)
21193Files: src/userfunc.c, src/testdir/test_trycatch.vim
21194
21195Patch 8.2.3449
21196Problem: Sort fails if the sort compare function returns 999.
21197Solution: Adjust value to -1 / 0 / 1. (Yasuhiro Matsumoto, closes #8884)
21198Files: src/list.c, src/testdir/test_sort.vim
21199
21200Patch 8.2.3450
21201Problem: Coveralls action fails.
21202Solution: Disable it for now.
21203Files: .github/workflows/ci.yml
21204
21205Patch 8.2.3451
21206Problem: Not all apache files are recognized.
21207Solution: Adjust the filetype pattern. (Zdenek Dohnal, closes #8882)
21208Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21209
21210Patch 8.2.3452
21211Problem: MPD files are not recognized.
21212Solution: Recognize MPD files as XML. (Steven Penny, closes #8893)
21213Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21214
21215Patch 8.2.3453
21216Problem: Autocmd not executed when editing a directory ending in a path
21217 separator inside try block.
21218Solution: Return NOTDONE instead of FAIL. (closes #8885)
21219Files: src/fileio.c, src/testdir/test_autocmd.vim
21220
21221Patch 8.2.3454
21222Problem: Using a count with "gp" leaves cursor in wrong position. (Naohiro
21223 Ono)
21224Solution: Count the inserted lines. (closes #8899)
21225Files: src/register.c, src/testdir/test_put.vim
21226
21227Patch 8.2.3455 (after 8.2.3454)
21228Problem: Using a count with "gp" leaves '] in wrong position. (Naohiro Ono)
21229Solution: Correct the mark position. (closes #8899)
21230Files: src/register.c, src/testdir/test_put.vim
21231
21232Patch 8.2.3456
21233Problem: Vim9: Not all functions are tested with an empty string argument.
21234Solution: Add tests with empty strings. (Yegappan Lakshmanan, closes #8915)
21235Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
21236
21237Patch 8.2.3457
21238Problem: MS-Windows Vim9: test executed and fails.
21239Solution: Add extra check for not being on MS-Windows.
21240Files: src/testdir/test_vim9_script.vim
21241
21242Patch 8.2.3458
21243Problem: Not all dictdconf files are recognized.
21244Solution: Adjust the pattern. (Doug Kearns)
21245Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21246
21247Patch 8.2.3459
21248Problem: Vim9: need more tests for empty string arguments.
21249Solution: Add more tests. Also use empty argument with menu_info() to get
21250 the top-level menu names. (Yegappan Lakshmanan, closes #8925)
21251Files: runtime/doc/eval.txt, src/menu.c, src/testdir/test_menu.vim,
21252 src/testdir/test_vim9_builtin.vim
21253
21254Patch 8.2.3460
21255Problem: Some type casts are not needed.
21256Solution: Remove unnecessary type casts. (closes #8934)
21257Files: src/autocmd.c, src/buffer.c, src/debugger.c, src/getchar.c,
21258 src/hardcopy.c, src/if_cscope.c, src/move.c, src/tag.c,
21259 src/version.c
21260
21261Patch 8.2.3461
21262Problem: Cannot distinguish Normal and Terminal-Normal mode.
21263Solution: Make mode() return "nt" for Terminal-Normal mode. (issue #8856)
21264Files: runtime/doc/eval.txt, src/misc1.c, src/testdir/test_functions.vim
21265
21266Patch 8.2.3462
21267Problem: The ModeChanged event only uses one character for the new_mode and
21268 old_mode values.
21269Solution: Pass one as first argument to mode(). (issue #8856)
21270Files: src/misc1.c, src/testdir/test_edit.vim
21271
21272Patch 8.2.3463
21273Problem: Pattern matching with ModeChanged not tested.
21274Solution: Add a few more test lines. (issue #8856)
21275Files: src/testdir/test_edit.vim
21276
21277Patch 8.2.3464
21278Problem: nginx files are not recognized.
21279Solution: Add several file patterns. (Chris Aumann, closes #8922)
21280Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21281
21282Patch 8.2.3465
21283Problem: Cannot detect insert scroll mode.
21284Solution: Add "scroll" to complete_info(). (closes #8943)
21285Files: runtime/doc/eval.txt, src/insexpand.c, src/testdir/test_popup.vim
21286
21287Patch 8.2.3466
21288Problem: Completion submode not indicated for virtual replace.
21289Solution: Add submode to "Rv". (closes #8945)
21290Files: runtime/doc/eval.txt, src/misc1.c, src/testdir/test_functions.vim
21291
21292Patch 8.2.3467
21293Problem: CursorHoldI event interferes with "CTRL-G U". (Naohiro Ono)
21294Solution: Restore the flag for "CTRL-G U" after triggering CursorHoldI.
21295 (closes #8937)
21296Files: src/edit.c, src/testdir/test_autocmd.vim
21297
21298Patch 8.2.3468
21299Problem: Problem with :cd when editing file in non-existent directory. (Yee
21300 Cheng Chin)
21301Solution: Prepend the current directory to get the full path. (closes #8903)
21302Files: src/os_unix.c, src/testdir/test_cd.vim
21303
21304Patch 8.2.3469
21305Problem: Some files with json syntax are not recognized.
21306Solution: Add a few file patterns. (Emiliano Ruiz Carletti, closes #8947)
21307Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21308
21309Patch 8.2.3470
21310Problem: Crash with error in :catch and also in :finally.
21311Solution: Only discard an exception if there is one. (closes #8954)
21312Files: src/ex_eval.c, src/testdir/test_trycatch.vim
21313
21314Patch 8.2.3471
21315Problem: Crash when using CTRL-T after an empty search pattern.
21316Solution: Bail out when there is no previous search pattern. (closes #8953)
21317Files: src/ex_getln.c, src/testdir/test_search.vim
21318
21319Patch 8.2.3472
21320Problem: Other crashes with empty search pattern not tested.
21321Solution: Add a few more test lines. (Dominique Pellé)
21322Files: src/testdir/test_search.vim
21323
21324Patch 8.2.3473
21325Problem: Some files with tcl syntax are not recognized.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021326Solution: Add a few file patterns. (Doug Kearns)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021327Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21328
21329Patch 8.2.3474
21330Problem: Some places use "Vimscript" instead of "Vim script".
21331Solution: Consistently use "Vim script". (Hirohito Higashi, closes #8910)
21332Files: runtime/doc/if_lua.txt, src/getchar.c, src/if_lua.c
21333
21334Patch 8.2.3475
21335Problem: Expression register set by not executed put command.
21336Solution: Do not set the register if the command is skipped. (closes #8909)
21337Files: src/ex_docmd.c, src/testdir/test_excmd.vim
21338
21339Patch 8.2.3476
21340Problem: Renaming a buffer on startup may cause using freed memory.
21341Solution: Check if the buffer is used in a window. (closes #8955)
21342Files: src/buffer.c, src/testdir/test_startup.vim
21343
21344Patch 8.2.3477 (after 8.2.3476)
21345Problem: Startup test fails on MS-Windows.
21346Solution: Skip the test if not on Unix.
21347Files: src/testdir/test_startup.vim
21348
21349Patch 8.2.3478 (after 8.2.3470)
21350Problem: Still crash with error in :catch and also in :finally.
21351Solution: Only call finish_exception() once. (closes #8954)
21352Files: src/ex_eval.c, src/structs.h
21353
21354Patch 8.2.3479
21355Problem: Crash when calling job_start with an invalid argument. (Virginia
21356 Senioria)
21357Solution: Clear the first item in argv. (closes #8957)
21358Files: src/misc2.c, src/testdir/test_channel.vim
21359
21360Patch 8.2.3480 (after 8.2.3478)
21361Problem: Test does not fail without the fix for a crash.
21362Solution: Write the bad code in a file and source it. (Dominique Pellé,
21363 closes #8961)
21364Files: src/testdir/test_trycatch.vim
21365
21366Patch 8.2.3481
21367Problem: Failures when char is unsigned.
21368Solution: Use int8_T. Make a CI run with unsigned char. (James McCoy,
21369 closes #8936)
21370Files: src/structs.h, .github/workflows/ci.yml
21371
21372Patch 8.2.3482
21373Problem: Reading beyond end of line ending in quote and backslash.
21374Solution: Check for non-NUL after backslash. (closes #8964)
21375Files: src/cindent.c, src/testdir/test_cindent.vim
21376
21377Patch 8.2.3483
21378Problem: #ifdef for using sysinfo() is incomplete.
21379Solution: Also check for HAVE_SYSINFO. Make autoconf check use TRY_LINK.
21380 (closes #8952)
21381Files: src/memline.c, src/configure.ac, src/auto/configure
21382
21383Patch 8.2.3484
21384Problem: Crash when going through spell suggestions.
21385Solution: Limit the text length for finding suggestions to the original
21386 length. Do not update buffers when exiting. (closes #8965)
21387Files: src/spellsuggest.c, src/clipboard.c,
21388 src/testdir/test_spell_utf8.vim
21389
21390Patch 8.2.3485
21391Problem: Python 3 test fails with Python 3.10.
21392Solution: Adjust expected error message. (zdohnal Dohnal, closes #8969)
21393Files: src/testdir/test_python3.vim
21394
21395Patch 8.2.3486
21396Problem: Illegal memory access with invalid sequence of commands.
21397Solution: Do not call leave_block() when not in a try block. (closes #8966)
21398 Reset did_emsg so that exception is shown as an error.
21399Files: src/ex_eval.c, src/testdir/test_trycatch.vim
21400
21401Patch 8.2.3487
21402Problem: Illegal memory access if buffer name is very long.
21403Solution: Make sure not to go over the end of the buffer.
21404Files: src/drawscreen.c, src/testdir/test_statusline.vim
21405
21406Patch 8.2.3488
21407Problem: Issue template is not easy to use.
21408Solution: Use a yaml template. (closes #8928)
21409Files: .github/ISSUE_TEMPLATE/bug_report.md,
21410 .github/ISSUE_TEMPLATE/bug_report.yml
21411
21412Patch 8.2.3489
21413Problem: ml_get error after search with range.
21414Solution: Limit the line number to the buffer line count.
21415Files: src/ex_docmd.c, src/testdir/test_search.vim
21416
21417Patch 8.2.3490
21418Problem: Superfluous return statements.
21419Solution: Remove superfluous return statements from void functions.
21420 (closes #8977)
21421Files: src/buffer.c, src/getchar.c, src/memline.c, src/move.c,
21422 src/option.c
21423
21424Patch 8.2.3491
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021425Problem: xpm2 filetype detection is not so good.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021426Solution: Adjust the check for xpm2. (closes #8914)
21427Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21428
21429Patch 8.2.3492
21430Problem: Crash when pasting too many times.
21431Solution: Limit the size to what fits in an int. (closes #8962)
21432Files: src/register.c, src/errors.h, src/testdir/test_put.vim
21433
21434Patch 8.2.3493 (after 8.2.3492)
21435Problem: Large count test fails on MS-Windows.
21436Solution: Skip the test on MS-Windows.
21437Files: src/testdir/test_put.vim
21438
21439Patch 8.2.3494
21440Problem: Illegal memory access in utf_head_off.
21441Solution: Check cursor position when reselecting the Visual area.
21442 (closes #8963)
21443Files: src/normal.c, src/testdir/test_visual.vim
21444
21445Patch 8.2.3495
21446Problem: GUI geometry startup test fails on some systems. (Drew Vogel)
21447Solution: Add tolerance to the size check. (closes #8815)
21448Files: src/testdir/test_startup.vim
21449
21450Patch 8.2.3496
21451Problem: Crypt test fails on MS-Windows if xxd was not installed yet.
21452Solution: Use the just built xxd executable if it exists. (James McCoy,
21453 closes #8929)
21454Files: src/testdir/test_crypt.vim
21455
21456Patch 8.2.3497
21457Problem: Put test fails when run by itself.
21458Solution: Source check.vim. (Dominique Pellé, closes #8990)
21459Files: src/testdir/test_put.vim
21460
21461Patch 8.2.3498
21462Problem: Recover test may fail on some systems.
21463Solution: Adjust the little endian and 64 bit detection. (James McCoy,
21464 closes #8941)
21465Files: src/testdir/test_recover.vim
21466
21467Patch 8.2.3499
21468Problem: GUI geometry startup test fails.
21469Solution: Check string values instead of numbers
21470Files: src/testdir/test_startup.vim
21471
21472Patch 8.2.3500
21473Problem: Github CI fails to install clang.
21474Solution: Install llvm-11 explicitly. (Christian Brabandt, closes #8993)
21475Files: .github/workflows/ci.yml
21476
21477Patch 8.2.3501
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021478Problem: tmux filetype detection is incomplete
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021479Solution: Also use tmux for files having text after .conf. (Eric Pruitt,
21480 closes #8971)
21481Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21482
21483Patch 8.2.3502 (after 8.2.2919)
21484Problem: Cannot enter password in shell command.
21485Solution: Revert patch 8.2.2919.
21486Files: src/os_unix.c
21487
21488Patch 8.2.3503
21489Problem: Vim9: using g:pat:cmd is confusing.
21490Solution: Do not recognize g: as the :global command. Also for s:pat:repl.
21491 (closes #8982)
21492Files: runtime/doc/vim9.txt, src/ex_docmd.c, src/ex_cmds.c, src/errors.h,
21493 src/vim9compile.c, src/proto/vim9compile.pro,
21494 src/testdir/test_vim9_cmd.vim
21495
21496Patch 8.2.3504 (after 8.2.3503)
21497Problem: Vim9: warning for signed vs unsigned.
21498Solution: Add type cast.
21499Files: src/vim9compile.c
21500
21501Patch 8.2.3505 (after 8.2.3503)
21502Problem: Vim9: build failure without the +eval feature.
21503Solution: Add #ifdef.
21504Files: src/ex_cmds.c
21505
21506Patch 8.2.3506 (after 8.2.3503)
21507Problem: Vim9: special cases for "g" and "s" insufficiently tested.
21508Solution: Add a few more test cases.
21509Files: src/testdir/test_vim9_cmd.vim
21510
21511Patch 8.2.3507
21512Problem: Generating proto files may fail.
21513Solution: Define __attribute().
21514Files: src/Makefile
21515
21516Patch 8.2.3508 (after 8.2.3503)
21517Problem: Vim9: bad separators for "g" and "s" insufficiently tested.
21518Solution: Add a few more test cases.
21519Files: src/testdir/test_vim9_cmd.vim
21520
21521Patch 8.2.3509
21522Problem: Undo file is not synced. (Sami Farin)
21523Solution: Sync the undo file if 'fsync' is set. (Christian Brabandt,
21524 closes #8879, closes #8920)
21525Files: runtime/doc/options.txt, src/undo.c
21526
21527Patch 8.2.3510
21528Problem: Changes are only detected with one second accuracy.
21529Solution: Use the nanosecond time if possible. (Leah Neukirchen,
21530 closes #8873, closes #8875)
21531Files: runtime/doc/eval.txt, src/auto/configure, src/bufwrite.c,
21532 src/config.h.in, src/configure.ac, src/fileio.c,
21533 src/proto/fileio.pro, src/memline.c, src/netbeans.c,
21534 src/structs.h, src/evalfunc.c, src/testdir/test_stat.vim
21535
21536Patch 8.2.3511
21537Problem: Vim9: entry for loop variable is created every round.
21538Solution: Only create the entry once. (closes #8996)
21539Files: src/evalvars.c, src/vim9script.c
21540
21541Patch 8.2.3512
21542Problem: Timestamp test fails on some systems.
21543Solution: Sleep for a short while.
21544Files: src/testdir/test_stat.vim
21545
21546Patch 8.2.3513
21547Problem: Using freed memory when using a timer and searching. (Dominique
21548 Pellé)
21549Solution: Allocated mr_pattern.
21550Files: src/search.c
21551
21552Patch 8.2.3514
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021553Problem: Autoread test with nanosecond time sometimes fails.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021554Solution: Mark the test as being flaky.
21555Files: src/testdir/test_stat.vim
21556
21557Patch 8.2.3515
21558Problem: Nano time test fails on Mac and FreeBSD.
21559Solution: Also check nano time when not on Linux. (Ozaki Kiichi,
21560 closes #9000)
21561Files: src/fileio.c
21562
21563Patch 8.2.3516
21564Problem: Terminal window does not have transparent background when
21565 'termguicolors' is used.
21566Solution: Fix the background color. (closes #2361, closes #9002)
21567Files: runtime/doc/terminal.txt, src/highlight.c, src/proto/terminal.pro,
21568 src/terminal.c
21569
21570Patch 8.2.3517
21571Problem: TextChanged does not trigger after TextChangedI.
21572Solution: Store the tick separately for TextChangedI. (Christian Brabandt,
21573 closes #8968, closes #8932)
21574Files: src/buffer.c, src/bufwrite.c, src/edit.c, src/structs.h,
21575 src/testdir/test_autocmd.vim
21576
21577Patch 8.2.3518
21578Problem: Test_xrestore sometimes fails.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021579Solution: Mark the test as flaky. Move marking test as flaky to the test
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021580 instead of listing them in runtest.
21581Files: src/testdir/test_paste.vim, src/testdir/runtest.vim,
21582 src/testdir/test_autocmd.vim, src/testdir/test_channel.vim,
21583 src/testdir/test_clientserver.vim, src/testdir/test_diffmode.vim,
21584 src/testdir/test_functions.vim, src/testdir/test_gui.vim,
21585 src/testdir/test_mapping.vim, src/testdir/test_popup.vim,
21586 src/testdir/test_quotestar.vim, src/testdir/test_reltime.vim,
21587 src/testdir/test_terminal.vim, src/testdir/test_terminal2.vim,
21588 src/testdir/test_timers.vim
21589
21590Patch 8.2.3519
21591Problem: TOML files are not recognized.
21592Solution: Add filetype patterns for TOML. (Aman Verma, closes #8984)
21593Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21594
21595Patch 8.2.3520
21596Problem: Cannot define a function for thesaurus completion.
21597Solution: Add 'thesaurusfunc'. (Yegappan Lakshmanan, closes #8987,
21598 closes 8950)
21599Files: runtime/doc/insert.txt, runtime/doc/options.txt,
21600 runtime/doc/quickref.txt, src/buffer.c, src/insexpand.c,
21601 src/option.c, src/option.h, src/optiondefs.h, src/optionstr.c,
21602 src/structs.h, src/testdir/test_edit.vim
21603
21604Patch 8.2.3521 (after 8.2.3520)
21605Problem: Options completion test fails.
21606Solution: Add 'thesaurusfunc' to the results.
21607Files: src/testdir/test_options.vim
21608
21609Patch 8.2.3522
21610Problem: Cannot use \x and \u when setting 'listchars'.
21611Solution: Support hex and unicode in hex form. (closes #9006)
21612Files: runtime/doc/options.txt, src/screen.c, src/charset.c,
21613 src/testdir/test_listchars.vim
21614
21615Patch 8.2.3523
21616Problem: Duplicated code in xxd.
21617Solution: Remove duplicated lines. (closes #8972)
21618Files: src/xxd/xxd.c
21619
21620Patch 8.2.3524
21621Problem: GUI: ligatures are not used.
21622Solution: Add the 'guiligatures' option. (Dusan Popovic, closes #8933)
21623Files: runtime/doc/options.txt, src/gui.c, src/gui.h, src/gui_gtk_x11.c,
21624 src/option.h, src/optiondefs.h, src/optionstr.c, src/errors.h,
21625 src/proto/gui.pro, src/proto/gui_gtk_x11.pro,
21626 src/testdir/test_gui.vim
21627
21628Patch 8.2.3525
21629Problem: Option variable name does not match option name. (Christ van
Bram Moolenaareb490412022-06-28 13:44:46 +010021630 Willegen)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021631Solution: Rename the variable.
21632Files: src/buffer.c, src/insexpand.c, src/option.c, src/optionstr.c,
21633 src/structs.h
21634
21635Patch 8.2.3526
21636Problem: Tests have clumsy check for X11 based GUI.
21637Solution: Add CheckX11BasedGui.
21638Files: src/testdir/check.vim, src/testdir/test_gui.vim,
21639 src/testdir/test_gui_init.vim, src/testdir/setup_gui.vim
21640
21641Patch 8.2.3527
21642Problem: Gcc complains about uninitialized variable. (Tony Mechelynck)
21643Solution: Initialize it.
21644Files: src/gui_gtk_x11.c
21645
21646Patch 8.2.3528
21647Problem: 'thesaurus' and 'thesaurusfunc' do not have the same scope.
21648Solution: Make 'thesaurusfunc' global-local.
21649Files: runtime/doc/options.txt, runtime/doc/insert.txt,
21650 src/optiondefs.h, src/option.h, src/option.c, src/structs.h,
21651 src/insexpand.c, src/testdir/test_edit.vim
21652
21653Patch 8.2.3529
21654Problem: Xxd usage output is incomplete.
21655Solution: Add "bytes" to "-g" flag. (Atsushi Sugawara, closes #8944)
21656Files: src/xxd/xxd.c
21657
21658Patch 8.2.3530
21659Problem: ":buf \{a}" fails while ":edit \{a}" works.
21660Solution: Unescape "\{". (closes #8917)
21661Files: src/vim.h, src/cmdexpand.c, src/evalfunc.c, src/ex_getln.c,
21662 src/proto/ex_getln.pro, src/normal.c, src/session.c,
21663 src/terminal.c, src/vim9execute.c, src/testdir/test_cmdline.vim
21664
21665Patch 8.2.3531 (after 8.2.3530)
21666Problem: Command line completion test fails on MS-Windows.
21667Solution: Do not test with "\{" on MS-Windows.
21668Files: src/testdir/test_cmdline.vim
21669
21670Patch 8.2.3532
21671Problem: The previous '' mark is restored after moving the cursor to the
21672 original jump position. (Tony Chen)
21673Solution: Forget the previous position after checking. (closes #8985)
21674Files: src/mark.c, src/testdir/test_marks.vim
21675
21676Patch 8.2.3533
21677Problem: Inefficient code in xxd.
21678Solution: Don't use "p" when "hextype" is non-zero. (closes #9013)
21679Files: src/xxd/xxd.c
21680
21681Patch 8.2.3534
21682Problem: Autoread test is a bit flaky.
21683Solution: Wait a brief moment before overwriting the file.
21684Files: src/testdir/test_stat.vim
21685
21686Patch 8.2.3535
21687Problem: If-else indenting is confusing.
21688Solution: Add curly brackets and indent. (Dominique Pellé, closes #9010)
21689Files: src/drawscreen.c
21690
21691Patch 8.2.3536
21692Problem: The do_highlight() function is way too long.
21693Solution: Split it into several functions. (Yegappan Lakshmanan,
21694 closes #9011)
21695Files: src/highlight.c
21696
21697Patch 8.2.3537
21698Problem: mode() does not return the right value in 'operatorfunc'.
21699Solution: Reset finish_op while calling 'operatorfunc'.
21700Files: src/ops.c, src/testdir/test_functions.vim
21701
21702Patch 8.2.3538
21703Problem: Else-if indenting is confusing.
21704Solution: Add curly brackets. (Yegappan Lakshmanan, closes #9017)
21705Files: src/highlight.c
21706
21707Patch 8.2.3539
21708Problem: GTK3: with 'rightleft' set scrollbar may move unintentionally.
21709Solution: Ignore events while moving the scrollbar thumb. (closes #8958)
21710Files: src/gui_gtk.c
21711
21712Patch 8.2.3540
21713Problem: The mark '] is wrong after put with a count. (Naohiro Ono)
21714Solution: Use the right line number. (closes #8956)
21715Files: src/register.c, src/testdir/test_put.vim
21716
21717Patch 8.2.3541
21718Problem: Compiler warning for unused variable in tiny version.
21719Solution: Add #ifdef. (John Marriott)
21720Files: src/highlight.c
21721
21722Patch 8.2.3542
21723Problem: Too many comments are old style.
21724Solution: Change comments to // style. (closes #9021)
21725Files: src/buffer.c
21726
21727Patch 8.2.3543
21728Problem: Swapname has double slash when 'directory' ends in double slash.
21729 (Shane Smith)
21730Solution: Remove the superfluous slash. (closes #8876)
21731Files: src/memline.c, src/testdir/test_swap.vim
21732
21733Patch 8.2.3544
21734Problem: Unix: may leak file descriptor when using a non-existing
21735 directory.
21736Solution: Always close the file. (closes #9023)
21737Files: src/os_unix.c
21738
21739Patch 8.2.3545
21740Problem: setcellwidths() may make 'listchars' or 'fillchars' invalid.
21741Solution: Check the value and give an error. (closes #9024)
21742Files: runtime/doc/eval.txt, src/optionstr.c, src/errors.h, src/mbyte.c,
21743 src/testdir/test_utf8.vim
21744
21745Patch 8.2.3546 (after 8.2.3545)
21746Problem: Build failure without the +eval feature.
21747Solution: Add #ifdef. (closes #9025)
21748Files: src/errors.h
21749
21750Patch 8.2.3547
21751Problem: Opening the quickfix window triggers BufWinEnter twice. (Yorick
21752 Peterse)
21753Solution: Only trigger BufWinEnter with "quickfix". (closes #9022)
21754Files: src/ex_cmds.c, src/vim.h, src/quickfix.c, src/buffer.c,
21755 src/testdir/test_quickfix.vim
21756
21757Patch 8.2.3548
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021758Problem: GTK GUI crashes when reading from stdin.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021759Solution: Do not overwrite the NUL after the string. (closes #9028)
21760Files: src/gui_gtk_x11.c, src/testdir/test_gui.vim
21761
21762Patch 8.2.3549
21763Problem: Mistakes in test comments.
21764Solution: Fix the comments. (closes #9029)
21765Files: src/testdir/test_autocmd.vim
21766
21767Patch 8.2.3550
21768Problem: completion() does not work properly.
21769Solution: Set xp_line and add WILD_HOME_REPLACE. (Shougo Matsushita,
21770 closes #9016)
21771Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
21772
21773Patch 8.2.3551
21774Problem: Checking first character of url twice.
21775Solution: Only check once. (closes #9026)
21776Files: src/misc1.c
21777
21778Patch 8.2.3552
21779Problem: Xxd revert does not handle end of line correctly.
21780Solution: Check for newline first. (closes #9034)
21781Files: src/xxd/xxd.c, src/testdir/test_xxd.vim
21782
21783Patch 8.2.3553 (after 8.2.3552)
21784Problem: Xxd test fails on MS-Windows.
21785Solution: Split shell command in two.
21786Files: src/testdir/test_xxd.vim
21787
21788Patch 8.2.3554
21789Problem: Xxd has various way to exit.
21790Solution: Add function to print error and exit. (closes #9035)
21791Files: src/xxd/xxd.c
21792
21793Patch 8.2.3555
21794Problem: ModeChanged is not triggered on every mode change.
21795Solution: Also trigger on minor mode changes. (Maguns Gross, closes #8999)
21796Files: runtime/doc/autocmd.txt, src/autocmd.c, src/insexpand.c,
21797 src/misc1.c, src/normal.c, src/terminal.c,
21798 src/testdir/test_edit.vim
21799
21800Patch 8.2.3556
21801Problem: Filler lines are incorrect for other window in diff mode after
21802 making a change.
21803Solution: Copy filler lines from the current window. (closes #8809)
21804Files: src/diff.c, src/testdir/test_diffmode.vim,
21805 src/testdir/dumps/Test_diff_scroll_change_03.dump
21806
21807Patch 8.2.3557
21808Problem: Vim9: cannot call imported funcref at script level.
21809Solution: Check for an imported function. (closes #9007)
21810Files: src/userfunc.c, src/testdir/test_vim9_script.vim
21811
21812Patch 8.2.3558 (after 8.2.3557)
21813Problem: Vim9: asserting the wrong variable.
21814Solution: Don't use Foo, use Goo.
21815Files: src/testdir/test_vim9_script.vim
21816
21817Patch 8.2.3559
21818Problem: Loop variable recreated every time.
21819Solution: Keep the loop variable when looping.
21820Files: src/ex_eval.c
21821
21822Patch 8.2.3560
21823Problem: Using freed memory with lambda.
21824Solution: Do not free lines early, keep them until the expression is
21825 finished. (closes #9020)
21826Files: src/eval.c, src/proto/eval.pro, src/userfunc.c, src/vim9compile.c,
21827 src/structs.h, src/globals.h, src/testdir/test_vim9_func.vim
21828
21829Patch 8.2.3561
21830Problem: Cscope has a complicated way of giving an error message.
21831Solution: Use semsg(). (James McCoy, closes #9038)
21832Files: src/if_cscope.c
21833
21834Patch 8.2.3562
21835Problem: Cannot add color names.
21836Solution: Add the v:colornames dictionary. (Drew Vogel, closes #8761)
21837Files: Filelist, READMEdir/README_extra.txt, nsis/gvim.nsi,
21838 runtime/colors/README.txt, runtime/colors/lists/csscolors.vim,
21839 runtime/colors/lists/default.vim, runtime/doc/eval.txt,
21840 runtime/doc/gui_w32.txt, runtime/doc/message.txt,
21841 runtime/doc/os_haiku.txt, runtime/doc/syntax.txt,
21842 runtime/doc/usr_06.txt, src/Makefile, src/evalvars.c,
21843 src/gui_haiku.cc, src/highlight.c, src/gui.c, src/job.c,
21844 src/proto/highlight.pro, src/proto/term.pro, src/term.c,
21845 src/vim.h, src/globals.h, src/errors.h,
21846 src/testdir/test_highlight.vim
21847
21848Patch 8.2.3563 (after 8.2.3562)
21849Problem: Build failure with +eval but without GUI or +termguicolors
21850Solution: Adjust #ifdef. (John Marriott)
21851Files: src/highlight.c
21852
21853Patch 8.2.3564
21854Problem: Invalid memory access when scrolling without a valid screen.
21855Solution: Do not set VALID_BOTLINE in w_valid.
21856Files: src/move.c, src/testdir/test_normal.vim
21857
21858Patch 8.2.3565
21859Problem: Makefile dependencies are outdated. (Gary Johnson)
21860Solution: Run "make depend" and add missing dependencies.
21861Files: src/Makefile
21862
21863Patch 8.2.3566
21864Problem: Build failure on old systems when using nano timestamp.
21865Solution: Define _BSD_SOURCE, _SVID_SOURCE and _DEFAULT_SOURCE. (Gary
21866 Johnson, closes #9054)
21867Files: src/vim.h
21868
21869Patch 8.2.3567
21870Problem: CTRL-I in Insert mode is not tested
21871Solution: Add a test case. (Dominique Pellé, closes #8866)
21872Files: src/testdir/test_edit.vim
21873
21874Patch 8.2.3568
21875Problem: Ctrl-hat test fails with Athena and Motif. (Elimar Riesebieter)
21876Solution: Run the test only with GTK. (Dominique Pellé, closes #9069)
21877Files: src/testdir/test_edit.vim
21878
21879Patch 8.2.3569
21880Problem: Error for :let when vimrc is Vim 9 script.
21881Solution: Prepend :legacy in the code for converting arguments. (Christian
21882 Brabandt, closes #9068, closes #9077)
21883Files: src/os_win32.c
21884
21885Patch 8.2.3570
21886Problem: Test_very_large_count fails on 32bit systems.
21887Solution: Bail out when using 32 bit numbers. (closes #9072)
21888Files: src/testdir/test_put.vim
21889
21890Patch 8.2.3571
21891Problem: Some unicode control characters are considered printable.
21892Solution: Make 0x2060 - 0x2069 not printable.
21893Files: src/mbyte.c
21894
21895Patch 8.2.3572
21896Problem: Memory leak when closing window and using "multispace" in
21897 'listchars'.
21898Solution: Free the memory. (closes #9071)
21899Files: src/window.c, src/testdir/test_listchars.vim
21900
21901Patch 8.2.3573
21902Problem: Cannot decide whether to skip test that fails with 64 bit ints.
21903 (closes #9072)
21904Solution: Add v:sizeofint, v:sizeoflong and v:sizeofpointer. Improve the
21905 check for multiply overflow.
21906Files: runtime/doc/eval.txt, src/vim.h, src/evalvars.c, src/register.c,
21907 src/testdir/test_put.vim
21908
21909Patch 8.2.3574 (after 8.2.3573)
21910Problem: Divide by zero.
21911Solution: Don't check for overflow if multiplicand is zero.
21912Files: src/register.c
21913
21914Patch 8.2.3575 (after 8.2.3574)
21915Problem: Overflow check still fails when sizeof(int) == sizeof(long).
21916Solution: Use a float to check the result.
21917Files: src/register.c
21918
21919Patch 8.2.3576
21920Problem: Some functions are not documented for use with a method.
21921Solution: Add examples. Fix that sign_unplacelist() only takes one
21922 argument. (Sean Dewar, closes #9081)
21923Files: src/evalfunc.c, runtime/doc/eval.txt
21924
21925Patch 8.2.3577 (after 8.2.3574)
21926Problem: Overflow check fails with 32 bit ints.
21927Solution: Only test with 64 bit ints.
21928Files: src/testdir/test_put.vim
21929
21930Patch 8.2.3578
21931Problem: Manipulating highlighting is complicated.
21932Solution: Add the hlget() and hlset() functions. (Yegappan Lakshmanan,
21933 closes #9039)
21934Files: runtime/doc/eval.txt, runtime/doc/syntax.txt,
21935 runtime/doc/usr_41.txt, runtime/doc/windows.txt, src/evalfunc.c,
21936 src/highlight.c, src/proto/highlight.pro,
21937 src/testdir/test_highlight.vim, src/testdir/test_vim9_builtin.vim
21938
21939Patch 8.2.3579
21940Problem: CI sometimes fails for MinGW.
21941Solution: Use backslashes in HandleSwapExists(). (Christian Brabandt,
21942 closes #9078)
21943Files: src/testdir/runtest.vim
21944
21945Patch 8.2.3580
21946Problem: gj does not move properly with a wide character.
21947Solution: Move one to the right. (Christian Brabandt, closes #8702)
21948Files: src/normal.c, src/testdir/test_normal.vim
21949
21950Patch 8.2.3581
21951Problem: Reading character past end of line.
21952Solution: Correct the cursor column.
21953Files: src/ex_docmd.c, src/testdir/test_put.vim
21954
21955Patch 8.2.3582
21956Problem: Reading uninitialized memory when giving spell suggestions.
21957Solution: Check that preword is not empty.
21958Files: src/spellsuggest.c, src/testdir/test_spell.vim
21959
21960Patch 8.2.3583
21961Problem: The "gd" and "gD" commands do not update search stats. (Gary
21962 Johnson)
21963Solution: Clear search stats.
21964Files: src/normal.c, src/testdir/test_search_stat.vim,
21965 src/testdir/dumps/Test_searchstatgd_1.dump,
21966 src/testdir/dumps/Test_searchstatgd_2.dump
21967
21968Patch 8.2.3584
21969Problem: "verbose set efm" reports the location of the :compiler command.
21970 (Gary Johnson)
21971Solution: Add the "-keepscript" argument to :command and use it when
21972 defining CompilerSet.
21973Files: runtime/doc/map.txt, src/ex_cmds2.c, src/usercmd.c, src/ex_cmds.h,
21974 src/testdir/test_compiler.vim
21975
21976Patch 8.2.3585
21977Problem: Crash when passing float to "term_rows" in the options argument of
21978 term_start(). (Virginia Senioria)
21979Solution: Bail out if the argument is not a number. (closes #9116)
21980Files: src/job.c, src/terminal.c, src/testdir/test_terminal.vim
21981
21982Patch 8.2.3586 (after 8.2.3584)
21983Problem: Command completion test fails.
21984Solution: Add new argument to expected output
21985Files: src/testdir/test_usercommands.vim
21986
21987Patch 8.2.3587 (after 8.2.3584)
21988Problem: Compiler test fails with backslash file separator.
21989Solution: Accept slash and backslash.
21990Files: src/testdir/test_compiler.vim
21991
21992Patch 8.2.3588
21993Problem: Break statement is never reached.
21994Solution: Rely on return value of set_chars_option() not changing.
21995 (closes #9103)
21996Files: src/optionstr.c
21997
21998Patch 8.2.3589
21999Problem: Failure when the "term_rows" argument of term_start() is an
22000 unusual value.
22001Solution: Limit to range of zero to 1000. (closes #9116)
22002Files: runtime/doc/terminal.txt, src/job.c, src/testdir/test_terminal.vim
22003
22004Patch 8.2.3590
22005Problem: Test for v:colornames sometimes fails. (Dominique Pellé)
22006Solution: Check features. Clear v:colornames between tests. (Drew Vogel,
22007 closes #9105, closes #9073)
22008Files: runtime/doc/eval.txt, src/highlight.c, src/proto/highlight.pro,
22009 src/testdir/test_highlight.vim
22010
22011Patch 8.2.3591
22012Problem: No event is triggered when closing a window.
22013Solution: Add the WinClosed event. (Naohiro Ono, closes #9110)
22014Files: runtime/doc/autocmd.txt, src/autocmd.c,
22015 src/testdir/test_autocmd.vim, src/vim.h, src/window.c
22016
22017Patch 8.2.3592
22018Problem: Test_hlset fails when terminal has many columns.
22019Solution: Set the number of columns to 80. (Dominique Pellé, closes #9101,
22020 closes #9100)
22021Files: src/testdir/test_highlight.vim
22022
22023Patch 8.2.3593
22024Problem: Directory is wrong after executing "lcd" with win_execute().
22025Solution: Correct the directory when going back to the original window.
22026 (closes #9132)
22027Files: src/evalwindow.c, src/window.c, src/proto/window.pro,
22028 src/testdir/test_execute_func.vim
22029
22030Patch 8.2.3594
22031Problem: Xxd code is a bit difficult to understand.
22032Solution: Move some lines to a separate function. (closes #9037)
22033Files: src/xxd/xxd.c
22034
22035Patch 8.2.3595
22036Problem: Check for signed overflow might not work everywhere.
22037Solution: Limit to 32 bit int. (closes #9043, closes #9067)
22038Files: src/getchar.c
22039
22040Patch 8.2.3596
22041Problem: Crash when using :pedit in Vim9 script.
22042Solution: Move check for arguments to after checking there are arguments.
22043 (Yegappan Lakshmanan, closes #9134, closes #9135)
22044Files: src/popupwin.c, src/testdir/test_vim9_cmd.vim
22045
22046Patch 8.2.3597
22047Problem: Vim seems to hang when writing a very long text to a terminal
22048 window.
22049Solution: Limit the amount of text based on 'termwinscroll'. (issue #9080)
22050Files: runtime/doc/options.txt, src/terminal.c
22051
22052Patch 8.2.3598
22053Problem: RouterOS filetype is not recognized.
22054Solution: Add file and script patterns. (closes #9097)
22055Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22056
22057Patch 8.2.3599
22058Problem: Not all gdbinit files are recognized.
22059Solution: Add "gdbinit". (Doug Kearns)
22060Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22061
22062Patch 8.2.3600 (after 8.2.3598)
22063Problem: Filetype test fails.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000022064Solution: Add missing change.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000022065Files: runtime/scripts.vim
22066
22067Patch 8.2.3601
22068Problem: Check for overflow in put count does not work well.
22069Solution: Improve the overflow check. (Ozaki Kiichi, closes #9102)
22070Files: src/register.c, src/testdir/test_put.vim
22071
22072Patch 8.2.3602
22073Problem: Python3 test fails with Python 3.10 on MS-Windows.
22074Solution: Adjust the expected error. (Ken Takata, closes #9118)
22075Files: src/testdir/test_python3.vim
22076
22077Patch 8.2.3603
22078Problem: Fish filetype not recognized.
22079Solution: Add a file pattern and match script line. (Doug Kearns)
22080Files: runtime/filetype.vim, runtime/scripts.vim,
22081 src/testdir/test_filetype.vim
22082
22083Patch 8.2.3604
22084Problem: Not all sudoers files are recognized.
22085Solution: Add a file pattern. (Doug Kearns, closes #1192)
22086Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22087
22088Patch 8.2.3605
22089Problem: Cannot clear and unlink a highlight group with hlset() in a
22090 single call.
22091Solution: Add the "force" option. (Yegappan Lakshmanan, closes #9117)
22092Files: runtime/doc/eval.txt, src/highlight.c,
22093 src/testdir/test_highlight.vim, src/testdir/test_vim9_builtin.vim,
22094 src/testdir/test_vim9_cmd.vim
22095
22096Patch 8.2.3606
22097Problem: File missing from list of distributed files.
22098Solution: Add the file.
22099Files: Filelist
22100
22101Patch 8.2.3607
22102Problem: GTK3 screen updating is slow.
22103Solution: Remove some of the GTK3-specific code. (closes #9052)
22104Files: src/gui.h, src/gui_gtk_x11.c
22105
22106Patch 8.2.3608
22107Problem: Users who type "q:" instead of ":q" are confused.
22108Solution: Add an autocmd to give a message that explains this is the
22109 command-line window. (Egor Zvorykin, closes #9146)
22110Files: runtime/defaults.vim, src/testdir/test_autocmd.vim,
22111 src/testdir/test_cmdline.vim
22112
22113Patch 8.2.3609
22114Problem: Internal error when ModeChanged is triggered when v:event is
22115 already in use.
22116Solution: Save and restore v:event if needed.
22117Files: src/misc1.c, src/proto/misc1.pro, src/testdir/test_edit.vim,
22118 src/insexpand.c, src/structs.h, src/register.c
22119
22120Patch 8.2.3610
22121Problem: Crash when ModeChanged triggered too early.
22122Solution: Trigger ModeChanged after setting VIsual.
22123Files: src/normal.c, src/testdir/test_edit.vim
22124
22125Patch 8.2.3611
22126Problem: Crash when using CTRL-W f without finding a file name.
22127Solution: Bail out when the file name length is zero.
22128Files: src/findfile.c, src/normal.c, src/testdir/test_visual.vim
22129
22130Patch 8.2.3612
22131Problem: Using freed memory with regexp using a mark.
22132Solution: Get the line again after getting the mark position.
22133Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test_regexp_latin.vim
22134
22135Patch 8.2.3613
22136Problem: :find test fails.
22137Solution: Put length check inside if block.
22138Files: src/findfile.c
22139
22140Patch 8.2.3614
22141Problem: zindex of popup windows not used when redrawing popup menu.
22142Solution: Check the zindex when redrawing the popup menu. (closes #9129,
22143 closes #9089)
22144Files: src/popupmenu.c, src/popupwin.c, src/proto/popupmenu.pro,
22145 src/screen.c, src/testdir/test_popupwin.vim,
22146 src/testdir/dumps/Test_popupwin_popupmenu_masking_1.dump,
22147 src/testdir/dumps/Test_popupwin_popupmenu_masking_2.dump
22148
22149Patch 8.2.3615
22150Problem: When re-formatting with an indent expression the first line of a
22151 paragraph may get the wrong indent. (Martin F. Krafft)
22152Solution: Apply the correct indenting function for the first line.
22153 (Christian Brabandt, closes #9150, closes #9056)
22154Files: src/textformat.c, src/testdir/test_indent.vim
22155
22156Patch 8.2.3616
22157Problem: Arglist test does not clear the argument list consistently.
22158Solution: Call Reset_arglist(). (Shougo Matsushita, closes #9154)
22159Files: src/testdir/test_arglist.vim
22160
22161Patch 8.2.3617
22162Problem: ":verbose pwd" does not mention 'autochdir' was applied.
22163Solution: Remember the last chdir was done by 'autochdir'. (issue #9142)
22164Files: src/globals.h, src/buffer.c, src/ex_docmd.c, src/window.c,
22165 src/main.c, src/netbeans.c, src/os_win32.c,
22166 src/testdir/test_autochdir.vim
22167
22168Patch 8.2.3618
22169Problem: getcwd() is unclear about how 'autochdir' is used.
22170Solution: Update the help for getcwd(). Without any arguments always return
22171 the actual current directory. (closes #9142)
22172Files: runtime/doc/eval.txt, src/filepath.c, src/testdir/test_cd.vim
22173
22174Patch 8.2.3619
22175Problem: Cannot use a lambda for 'operatorfunc'.
22176Solution: Support using a lambda or partial. (Yegappan Lakshmanan,
22177 closes #8775)
22178Files: runtime/doc/map.txt, runtime/doc/options.txt, src/ops.c,
22179 src/option.c, src/optionstr.c, src/proto/ops.pro,
22180 src/proto/option.pro, src/quickfix.c, src/testdir/test_normal.vim
22181
22182Patch 8.2.3620
22183Problem: Memory leak reported in libtlib.
22184Solution: Call del_curterm() when cleaning up memory. Rename term.h to
22185 termdefs.h to avoid a name clash.
22186Files: src/term.c, src/proto/term.pro, src/alloc.c, src/configure.ac,
22187 src/auto/configure, src/config.h.in, src/Makefile,
22188 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms,
22189 src/term.h, src/termdefs.h
22190
22191Patch 8.2.3621 (after 8.2.3620)
22192Problem: Build failure.
22193Solution: Add missing change.
22194Files: src/vim.h
22195
22196Patch 8.2.3622
22197Problem: "verbose pwd" shows confusing info when :lcd does not change
22198 directory.
22199Solution: Clear last_chdir_reason also when the directory does not change.
22200 (closes #9160)
22201Files: src/ex_docmd.c, src/testdir/test_autochdir.vim
22202
22203Patch 8.2.3623
22204Problem: "$*" is expanded to "nonomatch".
22205Solution: Only add "set nonomatch" when using a csh-like shell. (Christian
22206 Brabandt, closes #9159, closes #9153)
22207Files: src/os_unix.c, src/testdir/test_expand.vim
22208
22209Patch 8.2.3624
22210Problem: When renaming a terminal buffer the status text is not updated.
22211Solution: Clear the cached status text when renaming a terminal buffer.
22212 (closes #9162)
22213Files: src/buffer.c, src/terminal.c, src/proto/terminal.pro,
22214 src/testdir/test_terminal.vim
22215
22216Patch 8.2.3625
22217Problem: Illegal memory access when C-indenting.
22218Solution: Also set the cursor column.
22219Files: src/cindent.c, src/testdir/test_cindent.vim
22220
22221Patch 8.2.3626
22222Problem: "au!" and "au! event" cannot be followed by another command as
22223 documented.
22224Solution: When a bar is found set nextcmd.
22225Files: src/autocmd.c, src/testdir/test_autocmd.vim
22226
22227Patch 8.2.3627
22228Problem: difficult to know where the text starts in a window. (Sergey
22229 Vlasov)
22230Solution: Add the "textoff" entry in the result of getwininfo().
22231 (closes #9163)
22232Files: runtime/doc/eval.txt, src/evalwindow.c,
22233 src/testdir/test_bufwintabinfo.vim
22234
22235Patch 8.2.3628
22236Problem: Looking up terminal colors is a bit slow.
22237Solution: Cache the terminal colors. (closes #9130, closes #9058)
22238Files: src/highlight.c, src/libvterm/include/vterm.h, src/option.c,
22239 src/optionstr.c, src/popupwin.c, src/proto/terminal.pro,
22240 src/structs.h, src/terminal.c, src/window.c,
22241 src/testdir/test_terminal3.vim,
22242 src/testdir/dumps/Test_terminal_color_MyTermCol.dump,
22243 src/testdir/dumps/Test_terminal_color_MyTermCol_over_Terminal.dump,
22244 src/testdir/dumps/Test_terminal_color_MyWinCol.dump,
22245 src/testdir/dumps/Test_terminal_color_MyWinCol_over_group.dump,
22246 src/testdir/dumps/Test_terminal_color_Terminal.dump,
22247 src/testdir/dumps/Test_terminal_color_gui_MyTermCol.dump,
22248 src/testdir/dumps/Test_terminal_color_gui_MyWinCol.dump,
22249 src/testdir/dumps/Test_terminal_color_gui_Terminal.dump,
22250 src/testdir/dumps/Test_terminal_color_gui_transp_MyTermCol.dump,
22251 src/testdir/dumps/Test_terminal_color_gui_transp_MyWinCol.dump,
22252 src/testdir/dumps/Test_terminal_color_gui_transp_Terminal.dump,
22253 src/testdir/dumps/Test_terminal_color_transp_MyTermCol.dump,
22254 src/testdir/dumps/Test_terminal_color_transp_MyWinCol.dump,
22255 src/testdir/dumps/Test_terminal_color_transp_Terminal.dump,
22256 src/testdir/dumps/Test_terminal_popup_MyPopupHlCol.dump,
22257 src/testdir/dumps/Test_terminal_popup_MyTermCol_over_Terminal.dump,
22258 src/testdir/dumps/Test_terminal_popup_MyWinCol.dump,
22259 src/testdir/dumps/Test_terminal_popup_MyWinCol_over_group.dump,
22260 src/testdir/dumps/Test_terminal_popup_gui_MyPopupHlCol.dump,
22261 src/testdir/dumps/Test_terminal_popup_gui_MyTermCol.dump,
22262 src/testdir/dumps/Test_terminal_popup_gui_MyWinCol.dump,
22263 src/testdir/dumps/Test_terminal_popup_gui_Terminal.dump,
22264 src/testdir/dumps/Test_terminal_popup_gui_transp_MyPopupHlCol.dump,
22265 src/testdir/dumps/Test_terminal_popup_gui_transp_MyTermCol.dump,
22266 src/testdir/dumps/Test_terminal_popup_gui_transp_MyWinCol.dump,
22267 src/testdir/dumps/Test_terminal_popup_gui_transp_Terminal.dump,
22268 src/testdir/dumps/Test_terminal_popup_transp_MyPopupHlCol.dump,
22269 src/testdir/dumps/Test_terminal_popup_transp_MyTermCol.dump,
22270 src/testdir/dumps/Test_terminal_popup_transp_MyWinCol.dump,
22271 src/testdir/dumps/Test_terminal_popup_transp_Terminal.dump,
22272 src/testdir/dumps/Test_terminal_wincolor_split_MyWinCol.dump,
22273 src/testdir/dumps/Test_terminal_wincolor_split_MyWinCol2.dump
22274
22275Patch 8.2.3629
22276Problem: Command completion in cmdline window uses global user commands,
22277 not local commands for the window where it was opened from.
22278Solution: Use local commands. (closes #9168)
22279Files: src/ex_getln.c, src/proto/ex_getln.pro, src/evalvars.c,
22280 src/usercmd.c, src/testdir/test_ins_complete.vim
22281
22282Patch 8.2.3630
22283Problem: Printf() with %S does not handle multi-byte correctly.
22284Solution: Count cells instead of bytes. (closes #9169, closes #7486)
22285Files: src/strings.c, src/testdir/test_expr.vim
22286
22287Patch 8.2.3631
22288Problem: "syntax enable" does not work properly in Vim9 context.
22289Solution: Also handle Vim9 context. (closes #9161)
22290Files: src/syntax.c, src/testdir/test_vim9_cmd.vim
22291
22292Patch 8.2.3632
22293Problem: GTK3: undercurl does not get removed properly.
22294Solution: Set the cairo cursor first. (closes #9170)
22295Files: src/gui_gtk_x11.c
22296
22297Patch 8.2.3633
22298Problem: Vim9: line number of lambda is off by one.
22299Solution: Add one to the line number. (closes #9083)
22300Files: src/userfunc.c, src/testdir/test_vim9_func.vim
22301
22302Patch 8.2.3634
22303Problem: Error for already defined function uses wrong line number.
22304Solution: Set SOURCING_LNUM before giving the error message. (closes #9085)
22305Files: src/userfunc.c, src/testdir/test_vim9_func.vim
22306
22307Patch 8.2.3635
22308Problem: GTK: composing underline does not show.
22309Solution: Include composing character in pango call. A few more
22310 optimizations for ligatures. (Dusan Popovic, closes #9171,
22311 closes #9147)
22312Files: src/gui_gtk_x11.c
22313
22314Patch 8.2.3636
22315Problem: Coverity warns for unreachable code.
22316Solution: Remove unreachable else block.
22317Files: src/gui_gtk_x11.c
22318
22319Patch 8.2.3637
22320Problem: Typos in test files.
22321Solution: Correct the typos. (Dominique Pellé, closes #9175)
22322Files: src/testdir/runtest.vim, src/testdir/test_debugger.vim,
22323 src/testdir/test_diffmode.vim, src/testdir/test_edit.vim,
22324 src/testdir/test_excmd.vim, src/testdir/test_flatten.vim,
22325 src/testdir/test_ins_complete.vim, src/testdir/test_normal.vim,
22326 src/testdir/test_options.vim, src/testdir/test_python2.vim,
22327 src/testdir/test_python3.vim, src/testdir/test_quickfix.vim,
22328 src/testdir/test_recover.vim, src/testdir/test_spellfile.vim,
22329 src/testdir/test_syntax.vim, src/testdir/test_termcodes.vim,
22330 src/testdir/test_textobjects.vim, src/testdir/test_trycatch.vim,
22331 src/testdir/test_vim9_script.vim, src/testdir/test_viminfo.vim
22332
22333Patch 8.2.3638
22334Problem: getcompletion() always passes zero as position to custom
22335 completion function.
22336Solution: Pass the pattern length. (closes #9173)
22337Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
22338
22339Patch 8.2.3639 (after 8.2.2922)
22340Problem: Line commented out accidentally.
22341Solution: Uncomment. (Volodymyr Kot, closes #9172)
22342Files: src/main.c
22343
22344Patch 8.2.3640
22345Problem: Freeze when calling term_wait() in a close callback.
22346Solution: Set a "closing" flag to tell term_wait() to return. (closes #9152)
22347Files: src/channel.c, src/terminal.c, src/proto/terminal.pro,
22348 src/testdir/test_terminal.vim
22349
22350Patch 8.2.3641
22351Problem: Xxd code has duplicate expressions.
22352Solution: Refactor to avoid duplication. (closes #9185)
22353Files: src/xxd/xxd.c
22354
22355Patch 8.2.3642
22356Problem: List of distributed files is outdated.
22357Solution: Rename term.h to termdefs.h.
22358Files: Filelist
22359
22360Patch 8.2.3643
22361Problem: Header for source file is outdated.
22362Solution: Make the header more accurate. (closes #9186)
22363Files: src/map.c, src/getchar.c
22364
22365Patch 8.2.3644
22366Problem: Count for 'operatorfunc' in Visual mode is not redone.
22367Solution: Add the count to the redo buffer. (closes #9174)
22368Files: src/normal.c, src/proto/normal.pro, src/ops.c,
22369 src/testdir/test_normal.vim
22370
22371Patch 8.2.3645
22372Problem: Vim9: The "no effect" error is not given for all registers.
22373Solution: Include any character following '@'. (closes #8779)
22374Files: src/ex_eval.c, src/testdir/test_vim9_cmd.vim
22375
22376Patch 8.2.3646
22377Problem: Using <sfile> in a function gives an unexpected result.
22378Solution: Give an error in a Vim9 function. (issue #9189)
22379Files: src/scriptfile.c, src/errors.h, src/testdir/test_vim9_builtin.vim
22380
22381Patch 8.2.3647
22382Problem: GTK: when using ligatures the cursor is drawn wrong.
22383Solution: Clear more characters when ligatures are used. (Dusan Popovic,
22384 closes #9190)
22385Files: src/gui.c
22386
22387Patch 8.2.3648
22388Problem: "verbose pwd" is incorrect after dropping files on Vim.
22389Solution: Set the chdir reason to "drop".
22390Files: src/gui.c
22391
22392Patch 8.2.3649
22393Problem: Vim9: error for variable declared in while loop.
22394Solution: Do not keep the first variable. (closes #9191)
22395Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
22396
22397Patch 8.2.3650
22398Problem: Vim9: for loop variable can be a list member.
22399Solution: Check for valid variable name. (closes #9179)
22400Files: src/vim9compile.c, src/dict.c, src/eval.c, src/evalvars.c,
22401 src/proto/evalvars.pro, src/testdir/test_vim9_script.vim
22402
22403Patch 8.2.3651
22404Problem: Vim9: no error for :lock or :unlock with unknown variable.
22405Solution: Give an error. (closes #9188)
22406Files: src/evalvars.c, src/errors.h, src/testdir/test_vim9_cmd.vim
22407
22408Patch 8.2.3652
22409Problem: Can only get text properties one line at a time.
22410Solution: Add options to prop_list() to use a range of lines and filter by
22411 types. (Yegappan Lakshmanan, closes #9138)
22412Files: runtime/doc/textprop.txt, src/textprop.c,
22413 src/testdir/test_textprop.vim
22414
22415Patch 8.2.3653
22416Problem: Terminal ANSI colors may be wrong.
22417Solution: Initialize the color type. (closes #9198, closes #9197)
22418Files: src/terminal.c
22419
22420Patch 8.2.3654
22421Problem: GTK: a touch-drag does not update the selection.
22422Solution: Add GDK_BUTTON1_MASK to the state. (Chris Dalton, close #9196,
22423 closes #9194)
22424Files: src/gui_gtk_x11.c
22425
22426Patch 8.2.3655
22427Problem: Compiler warning for using size_t for int.
22428Solution: Add a type cast. (Mike Williams, closes #9199)
22429Files: src/vim9compile.c
22430
22431Patch 8.2.3656
Bram Moolenaar1588bc82022-03-08 21:35:07 +000022432Problem: Vim9: no error for an environment variable by itself.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000022433Solution: Give a "without effect" error. (closes #9166)
22434Files: src/ex_eval.c, src/testdir/test_vim9_cmd.vim
22435
22436Patch 8.2.3657
22437Problem: Vim9: debug text misses one line of return statement.
22438Solution: Add a line when not at a debug instruction. (closes #9137)
22439Files: src/vim9execute.c, src/testdir/test_debugger.vim
22440
22441Patch 8.2.3658
22442Problem: Duplicate code in xxd.
22443Solution: Merge duplicated code. Add more tests. (closes #9192)
22444Files: src/xxd/xxd.c, src/testdir/test_xxd.vim
22445
22446Patch 8.2.3659
22447Problem: Integer overflow with large line number.
22448Solution: Check for overflow. (closes #9202)
22449Files: src/errors.h, src/ex_docmd.c, src/testdir/test_excmd.vim
22450 src/normal.c, src/testdir/test_normal.vim
22451
22452Patch 8.2.3660 (after 8.2.3659)
22453Problem: Overflow check uses wrong number.
22454Solution: Divide by ten.
22455Files: src/normal.c
22456
22457Patch 8.2.3661 (after 8.2.3659)
22458Problem: Test for put with large count fails.
22459Solution: Adjust the counts in the test.
22460Files: src/testdir/test_put.vim
22461
22462Patch 8.2.3662
22463Problem: Illegal memory access if malloc() fails.
22464Solution: Check 'foldmethod' is not empty. (closes #9207)
22465Files: src/fold.c
22466
22467Patch 8.2.3663
22468Problem: Using %S in printf() does not work correctly.
22469Solution: Fix the problem and add more tests. (closes #9208)
22470Files: src/strings.c, src/testdir/test_expr.vim
22471
22472Patch 8.2.3664
22473Problem: Cannot adjust sign highlighting for 'cursorline'.
22474Solution: Add CursorLineSign and CursorLineFold highlight groups.
22475 (Gregory Anders, closes #9201)
22476Files: runtime/doc/sign.txt, runtime/doc/syntax.txt, src/drawline.c,
22477 src/highlight.c, src/optiondefs.h, src/popupwin.c,
22478 src/proto/sign.pro, src/sign.c, src/structs.h, src/vim.h,
22479 src/testdir/test_signs.vim
22480
22481Patch 8.2.3665
22482Problem: Cannot use a lambda for 'tagfunc'.
22483Solution: Use 'tagfunc' like 'opfunc'. (Yegappan Lakshmanan, closes #9204)
22484Files: runtime/doc/options.txt, src/buffer.c, src/option.c,
22485 src/optionstr.c, src/proto/tag.pro, src/structs.h, src/tag.c,
22486 src/testdir/test_tagfunc.vim
22487
22488Patch 8.2.3666
22489Problem: Libvterm is outdated.
22490Solution: Include patches from revision 769 to revision 789.
22491Files: Filelist, src/libvterm/Makefile, src/libvterm/doc/seqs.txt,
22492 src/libvterm/include/vterm.h, src/libvterm/src/mouse.c,
22493 src/libvterm/src/parser.c, src/libvterm/src/state.c,
22494 src/libvterm/src/vterm.c, src/libvterm/src/vterm_internal.h,
22495 src/libvterm/t/02parser.test, src/libvterm/t/17state_mouse.test,
22496 src/libvterm/t/29state_fallback.test,
22497 src/libvterm/t/40state_selection.test, src/libvterm/t/harness.c,
22498 src/libvterm/t/run-test.pl, src/libvterm/vterm.pc.in,
22499 src/terminal.c
22500
22501Patch 8.2.3667
22502Problem: Building libvterm fails with MSVC.
22503Solution: Don't use C99 construct.
22504Files: src/libvterm/src/state.c
22505
22506Patch 8.2.3668
22507Problem: Messages may be corrupted.
22508Solution: Use another buffer instead of IObuff. (Yegappan Lakshmanan,
22509 closes #9195)
22510Files: src/highlight.c, src/testdir/test_highlight.vim
22511
22512Patch 8.2.3669
22513Problem: Buffer overflow with long help argument.
22514Solution: Use snprintf().
22515Files: src/help.c, src/testdir/test_help.vim
22516
22517Patch 8.2.3670
22518Problem: Error checks repeated several times.
22519Solution: Move the checks to functions. (closes #9213)
22520Files: src/xxd/xxd.c
22521
22522Patch 8.2.3671
22523Problem: Restarting Insert mode in prompt buffer too often when a callback
22524 switches windows and comes back. (Sean Dewar)
22525Solution: Do not set "restart_edit" when already in Insert mode.
22526 (closes #9212)
22527Files: src/window.c, src/testdir/test_prompt_buffer.vim
22528
22529Patch 8.2.3672 (after 8.2.3670)
22530Problem: Build failure with unsigned char.
22531Solution: Use int instead of char.
22532Files: src/xxd/xxd.c
22533
22534Patch 8.2.3673
22535Problem: Crash when allocating signal stack fails.
22536Solution: Only using sourcing info when available. (closes #9215)
22537Files: src/globals.h, src/message.c
22538
22539Patch 8.2.3674
22540Problem: When ml_get_buf() fails it messes up IObuff.
22541Solution: Return a local pointer. (closes #9214)
22542Files: src/memline.c
22543
22544Patch 8.2.3675
22545Problem: Using freed memory when vim_strsave() fails.
22546Solution: Clear "last_sourcing_name". Check for msg_source() called
22547 recursively. (closes #8217)
22548Files: src/message.c
22549
22550Patch 8.2.3676
22551Problem: Unused runtime file.
22552Solution: Remove rgb.txt.
22553Files: runtime/rgb.txt
22554
22555Patch 8.2.3677
22556Problem: After a put the '] mark is on the last byte of a multi-byte
22557 character.
22558Solution: Move it to the first byte. (closes #9047)
22559Files: src/register.c, src/testdir/test_put.vim
22560
22561Patch 8.2.3678 (after 8.2.3677)
22562Problem: Illegal memory access.
22563Solution: Ignore changed indent when computing byte offset.
22564Files: src/register.c
22565
22566Patch 8.2.3679
22567Problem: objc file detected as Octave. (Antony Lee)
22568Solution: Detect objc by preprocessor lines. (Doug Kearns, closes #9223,
22569 closes #9220)
22570Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim
22571
22572Patch 8.2.3680
22573Problem: Repeated code in xxd.
22574Solution: Change exit_on_ferror() to getc_or_die(). (closes #9226)
22575Files: src/xxd/xxd.c
22576
22577Patch 8.2.3681
22578Problem: Cannot drag popup window after click on a status line. (Sergey
22579 Vlasov)
22580Solution: Reset on_status_line. (closes #9221)
22581Files: src/mouse.c, src/testdir/test_popupwin.vim,
22582 src/testdir/dumps/Test_popupwin_drag_04.dump
22583
22584Patch 8.2.3682
22585Problem: Vim9: assigning to a script variable drops the required type.
22586Solution: Lookup the type of the variable and use it. (closes #9219)
22587Files: src/evalvars.c, src/vim9script.c, src/proto/vim9script.pro,
22588 src/testdir/test_vim9_assign.vim
22589
22590Patch 8.2.3683
22591Problem: Vim9: cannot use `=expr` in :...do commands.
22592Solution: Add EX_EXPAND to the commands. (closes #9232)
22593Files: src/ex_cmds.h, src/testdir/test_vim9_cmd.vim
22594
22595Patch 8.2.3684
22596Problem: Blockwise insert does not handle autoindent properly.
22597Solution: Adjust text column for indent. (closes #9229)
22598Files: src/ops.c, src/testdir/test_blockedit.vim
22599
22600Patch 8.2.3685
Bram Moolenaar1588bc82022-03-08 21:35:07 +000022601Problem: Visual Studio project files are not recognized.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000022602Solution: Use the xml file type. (Doug Kearns)
22603Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22604
22605Patch 8.2.3686
22606Problem: Filetype detection often mixes up Forth and F#.
22607Solution: Add a function to inspect the file contents. (Doug Kearns)
22608Files: runtime/autoload/dist/ft.vim, runtime/doc/filetype.txt,
22609 runtime/doc/syntax.txt, runtime/filetype.vim, runtime/scripts.vim,
22610 src/testdir/test_filetype.vim
22611
22612Patch 8.2.3687
22613Problem: Blockwise insert does not handle autoindent properly when tab is
22614 inserted.
22615Solution: Adjust text column for indent before computing column.
22616 (closes #9229)
22617Files: src/ops.c, src/testdir/test_blockedit.vim
22618
22619Patch 8.2.3688
22620Problem: The window title is not updated when dragging the scrollbar.
22621Solution: Call maketitle(). (Christian Brabandt, closes #9238, closes #5383)
22622Files: src/gui.c
22623
22624Patch 8.2.3689
22625Problem: ex_let_one() is too long.
22626Solution: Split into multiple functions.
22627Files: src/evalvars.c
22628
22629Patch 8.2.3690
22630Problem: Vim9: "filter #pat# cmd" does not work.
22631Solution: Do not see #pat# as a comment.
22632Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
22633
22634Patch 8.2.3691
22635Problem: Build failure with small features.
22636Solution: Add #ifdef. (Dominique Pellé)
22637Files: src/gui.c
22638
22639Patch 8.2.3692
22640Problem: Vim9: cannot use :func inside a :def function.
22641Solution: Make it work.
22642Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/errors.h,
22643 src/structs.h, src/userfunc.c, src/testdir/test_vim9_func.vim
22644
22645Patch 8.2.3693
22646Problem: Coverity warns for possibly using a NULL pointer.
22647Solution: Check for NULL and give an error.
22648Files: src/vim9execute.c, src/errors.h
22649
22650Patch 8.2.3694
22651Problem: Cannot use quotes in the count of an Ex command.
22652Solution: Add getdigits_quoted(). Give an error when misplacing a quote in
22653 a range. (closes #9240)
22654Files: src/ex_docmd.c, src/charset.c, src/proto/charset.pro,
22655 src/testdir/test_usercommands.vim
22656
22657Patch 8.2.3695
22658Problem: Confusing error for missing key.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000022659Solution: Use the actual key for the error. (closes #9241)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000022660Files: src/eval.c, src/testdir/test_listdict.vim
22661
22662Patch 8.2.3696
22663Problem: Vim9: error for invalid assignment when skipping.
22664Solution: Do not check white space when skipping. (closes #9243)
22665Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
22666
22667Patch 8.2.3697
22668Problem: Cannot drag a popup without a border.
22669Solution: Add the "dragall" option. (closes #9218)
22670Files: runtime/doc/popup.txt, src/mouse.c, src/popupwin.c, src/vim.h,
22671 src/testdir/test_popupwin.vim,
22672 src/testdir/dumps/Test_popupwin_drag_05.dump,
22673 src/testdir/dumps/Test_popupwin_drag_06.dump
22674
22675Patch 8.2.3698
22676Problem: Match highlighting continues over breakindent.
22677Solution: Stop before the end column. (closes #9242)
22678Files: src/match.c, src/proto/match.pro, src/drawline.c,
22679 src/testdir/test_match.vim,
22680 src/testdir/dumps/Test_match_linebreak.dump
22681
22682Patch 8.2.3699
22683Problem: The +title feature adds a lot of #ifdef but little code.
22684Solution: Graduate the +title feature.
22685Files: src/feature.h, src/alloc.c, src/arglist.c, src/autocmd.c,
22686 src/buffer.c, src/bufwrite.c, src/change.c, src/drawscreen.c,
22687 src/evalfunc.c, src/ex_cmds.c, src/ex_docmd.c, src/gui.c,
22688 src/gui_gtk_x11.c, src/if_xcmdsrv.c, src/locale.c, src/main.c,
22689 src/misc2.c, src/netbeans.c, src/option.c, src/optionstr.c,
22690 src/os_amiga.c, src/os_mswin.c, src/os_unix.c, src/os_win32.c,
22691 src/regexp.c, src/term.c, src/ui.c, src/version.c, src/window.c,
22692 src/globals.h, src/option.h, src/optiondefs.h,
22693 runtime/doc/options.txt, runtime/doc/various.txt
22694
22695Patch 8.2.3700
22696Problem: Text property highlighting continues over breakindent.
22697Solution: Stop before the end column. (closes #9242)
22698Files: src/drawline.c, src/testdir/test_textprop.vim,
22699 src/testdir/dumps/Test_prop_linebreak.dump
22700
22701Patch 8.2.3701
22702Problem: Vim9: invalid LHS is not possible.
22703Solution: Remove unreachable error message.
22704Files: src/vim9compile.c
22705
22706Patch 8.2.3702
22707Problem: First key in dict is seen as curly expression and fails.
22708Solution: Ignore failure of curly expression. (closes #9247)
22709Files: src/typval.c, src/dict.c, src/testdir/test_listdict.vim
22710
22711Patch 8.2.3703 (after 8.2.3686)
22712Problem: Most people call F# "fsharp" and not "fs".
22713Solution: Rename filetype "fs" to "fsharp".
22714Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
22715 src/testdir/test_filetype.vim
22716
22717Patch 8.2.3704
22718Problem: Vim9: cannot use a list declaration in a :def function.
22719Solution: Make it work.
22720Files: runtime/doc/vim9.txt, src/vim9compile.c, src/errors.h,
22721 src/testdir/test_vim9_assign.vim
22722
22723Patch 8.2.3705
22724Problem: Cannot pass a lambda name to function() or funcref(). (Yegappan
22725 Lakshmanan)
22726Solution: Handle a lambda name differently.
22727Files: src/userfunc.c, src/proto/userfunc.pro, src/evalfunc.c,
22728 src/testdir/test_expr.vim
22729
22730Patch 8.2.3706 (after 8.2.3700)
22731Problem: Text property highlighting is used on Tab.
22732Solution: Only set in_linebreak when not on a Tab. (closes #9242)
22733Files: src/drawline.c, src/testdir/test_textprop.vim,
22734 src/testdir/dumps/Test_prop_after_tab.dump
22735
22736Patch 8.2.3707
22737Problem: Vim9: constant expression of elseif not recognized.
22738Solution: Set instruction count before generating the expression.
22739Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
22740
22741Patch 8.2.3708 (after 8.2.3707)
22742Problem: Vim9: test fails with different error.
22743Solution: Correct the error number.
22744Files: src/testdir/test_vim9_cmd.vim
22745
22746Patch 8.2.3709
22747Problem: Vim9: backtick expression expanded when not desired.
22748Solution: Only expand a backtick expression for commands that expand their
22749 argument. Remove a few outdated TODO comments.
22750Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
22751
22752Patch 8.2.3710
22753Problem: Vim9: backtick expression expanded for :global.
22754Solution: Check the following command.
22755Files: runtime/doc/vim9.txt, src/vim9compile.c,
22756 src/testdir/test_vim9_cmd.vim
22757
22758Patch 8.2.3711
22759Problem: Vim9: memory leak when compiling :elseif fails.
22760Solution: Cleanup ppconst.
22761Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
22762
22763Patch 8.2.3712
22764Problem: Cannot use Vim9 lambda for 'tagfunc'.
22765Solution: Make it work, add more tests. (Yegappan Lakshmanan, closes #9250)
22766Files: runtime/doc/options.txt, src/insexpand.c, src/option.c,
22767 src/testdir/test_tagfunc.vim
22768
22769Patch 8.2.3713
22770Problem: MS-Windows: No error message if vimgrep pattern is not matching.
22771Solution: Give an error message. (Christian Brabandt, closes #9245,
22772 closes #8762)
22773Files: src/quickfix.c, src/testdir/test_quickfix.vim
22774
22775Patch 8.2.3714
22776Problem: Some unused assignments and ugly code in xxd.
22777Solution: Leave out assignments. Use marcro for fprintf(). (closes #9246)
22778Files: src/xxd/xxd.c
22779
22780Patch 8.2.3715
22781Problem: Vim9: valgrind reports spurious problems for a test.
22782Solution: Move the test to the set that is known to fail.
22783Files: src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_fails.vim
22784
22785Patch 8.2.3716
22786Problem: Vim9: range without a command is not compiled.
22787Solution: Add the ISN_EXECRANGE byte code.
22788Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/vim9compile.c,
22789 src/vim9execute.c, src/vim9.h,
22790 src/testdir/test_vim9_disassemble.vim
22791
22792Patch 8.2.3717
22793Problem: Vim9: error for constant list size is only given at runtime.
22794Solution: Give the error at compile time if possible.
22795Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
22796 src/testdir/test_vim9_script.vim,
22797 src/testdir/test_vim9_disassemble.vim
22798
22799Patch 8.2.3718
22800Problem: Compiler warns for unused variable without the +textprop feature.
22801 (John Marriott)
22802Solution: Adjust #ifdefs.
22803Files: src/drawline.c
22804
22805Patch 8.2.3719
22806Problem: MS-Windows: test sometimes runs into existing swap file.
22807Solution: Use a different file name.
22808Files: src/testdir/test_buffer.vim
22809
22810Patch 8.2.3720
22811Problem: Vim9: Internal error when invoking closure in legacy context.
22812Solution: Give a more appropriate error message. (closes #9251)
22813Files: src/errors.h, src/vim9execute.c, src/testdir/test_vim9_func.vim
22814
22815Patch 8.2.3721
22816Problem: Using memory freed by losing the clipboard selection. (Dominique
22817 Pellé)
22818Solution: Check y_array is still valid after calling changed_lines().
22819 (closes #9253)
22820Files: src/errors.h, src/register.c
22821
22822Patch 8.2.3722
22823Problem: Amiga: superfluous messages for freeing lots of yanked text.
22824Solution: Assume that the machine isn't that slow these days.
22825Files: src/register.c
22826
22827Patch 8.2.3723
22828Problem: When using 'linebreak' a text property starts too early.
22829Solution: Decrement "bcol" when looking for property start. (closes #9242)
22830Files: src/drawline.c, src/testdir/test_textprop.vim,
22831 src/testdir/dumps/Test_prop_after_linebreak.dump
22832
22833Patch 8.2.3724
22834Problem: Build error for missing error message in small build.
22835Solution: Correct #ifdef.
22836Files: src/errors.h
22837
22838Patch 8.2.3725
22839Problem: Cannot use a lambda for 'completefunc' and 'omnifunc'.
22840Solution: Implement lambda support. (Yegappan Lakshmanan, closes #9257)
22841Files: runtime/doc/options.txt, src/buffer.c, src/insexpand.c,
22842 src/option.c, src/optionstr.c, src/proto/insexpand.pro,
22843 src/proto/tag.pro, src/proto/userfunc.pro, src/structs.h,
22844 src/tag.c, src/userfunc.c, src/testdir/test_ins_complete.vim,
22845 src/testdir/test_tagfunc.vim
22846
22847Patch 8.2.3726
22848Problem: README file in a config directory gets wrong filetype.
22849Solution: Match README before patterns that match everything in a directory.
22850Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22851
22852Patch 8.2.3727
22853Problem: In a gnome terminal keys are recognized as mouse events.
22854Solution: Only recognize DEC mouse events when four numbers are following.
22855 (closes #9256)
22856Files: src/term.c, src/testdir/test_termcodes.vim
22857
22858Patch 8.2.3728
22859Problem: Internal error when passing range() to list2blob().
22860Solution: Materialize the list first. (closes #9262)
22861Files: src/blob.c, src/testdir/test_blob.vim
22862
22863Patch 8.2.3729
22864Problem: No support for squirrels.
22865Solution: Recognize nuts. (closes #9259)
22866Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22867
22868Patch 8.2.3730
22869Problem: "/etc/Muttrc.d/README" gets filetype muttrc.
22870Solution: Move the Muttrc.d pattern down, add exception for *.rc files.
22871Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22872
22873Patch 8.2.3731
22874Problem: "set! termcap" shows codes in one column, but not keys.
22875Solution: Also use one column for keys. (closes #9258)
22876Files: src/option.c, src/term.c, src/proto/term.pro,
22877 src/testdir/test_set.vim
22878
22879Patch 8.2.3732 (after 8.2.3731)
22880Problem: "set! termcap" test fails.
22881Solution: Account for keys without a t_xx entry.
22882Files: src/testdir/test_set.vim
22883
22884Patch 8.2.3733
22885Problem: Vim9: using "legacy" before range does not work.
22886Solution: Skip over range before parsing command. (closes #9270)
22887Files: src/vim9compile.c, src/usercmd.c, src/testdir/test_vim9_cmd.vim
22888
22889Patch 8.2.3734
22890Problem: Vim9: crash when no pattern match found.
22891Solution: Check for error.
22892Files: src/vim9execute.c
22893
22894Patch 8.2.3735
22895Problem: Cannot use a lambda for 'imactivatefunc'.
22896Solution: Add lambda support for 'imactivatefunc' and 'imstatusfunc'.
22897 (Yegappan Lakshmanan, closes #9275)
22898Files: runtime/doc/options.txt, src/alloc.c, src/gui_xim.c,
22899 src/optionstr.c, src/proto/gui_xim.pro,
22900 src/testdir/test_iminsert.vim, src/testdir/test_ins_complete.vim
22901
22902Patch 8.2.3736
22903Problem: Test fails without the channel feature. (Dominique Pellé)
22904Solution: Source the check.vim script. (closes #9277)
22905Files: src/testdir/test_vim9_fails.vim
22906
22907Patch 8.2.3737
22908Problem: Test fails without the 'autochdir' option.
22909Solution: Check that the option is available. (Dominique Pellé, closes #9272)
22910Files: src/testdir/test_cd.vim
22911
22912Patch 8.2.3738
22913Problem: Screen is cleared when a FocusLost autocommand triggers.
22914Solution: Do not redraw when at the hit-enter or more prompt. (closes #9274)
22915Files: src/misc1.c
22916
22917Patch 8.2.3739
22918Problem: In wrong directory when using win_execute() with 'acd' set.
22919Solution: Restore the directory when returning to the window. (closes #9276)
22920Files: src/window.c, src/testdir/test_autochdir.vim
22921
22922Patch 8.2.3740
22923Problem: Memory left allocated on exit when using Tcl.
22924Solution: Call Tcl_Finalize().
22925Files: src/if_tcl.c, src/proto/if_tcl.pro, src/alloc.c
22926
22927Patch 8.2.3741
22928Problem: Using freed memory in open command.
22929Solution: Make a copy of the current line.
22930Files: src/ex_docmd.c, src/testdir/test_ex_mode.vim
22931
22932Patch 8.2.3742
22933Problem: Dec mouse test fails without gnome terminfo entry.
22934Solution: Check if there is a gnome entry. Also fix 'acd' test on
22935 MS-Windows. (Ozaki Kiichi, closes #9282)
22936Files: src/testdir/test_termcodes.vim, src/testdir/test_autochdir.vim
22937
22938Patch 8.2.3743
22939Problem: ":sign" can add a highlight group without a name.
22940Solution: Give an error if the group name is missing. (closes #9280)
22941Files: src/sign.c, src/errors.h, src/testdir/test_signs.vim
22942
22943Patch 8.2.3744
22944Problem: E854 is not tested; some spelling suggestions are not tested.
22945Solution: Add a couple of tests. (Dominique Pellé, closes #9279)
22946Files: src/testdir/test_options.vim, src/testdir/test_spell.vim
22947
22948Patch 8.2.3745
22949Problem: Autochdir test fails without the +channel feature.
22950Solution: Remove the ch_logfile() call. (Dominique Pellé, closes #9281)
22951Files: src/testdir/test_autochdir.vim
22952
22953Patch 8.2.3746
22954Problem: Cannot disassemble function starting with "debug" or "profile".
22955Solution: Check for white space following. (closes #9273)
22956Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
22957
22958Patch 8.2.3747 (after 8.2.3743)
22959Problem: Cannot remove highlight from an existing sign. (James McCoy)
22960Solution: Only reject empty argument for a new sign.
22961Files: src/sign.c, src/testdir/test_signs.vim
22962
22963Patch 8.2.3748 (after 8.2.3747)
22964Problem: Giving an error for an empty sign argument breaks a plugin.
22965Solution: Do not give an error.
22966Files: src/sign.c, src/errors.h, src/testdir/test_signs.vim
22967
22968Patch 8.2.3749
22969Problem: Error messages are everywhere.
22970Solution: Move more error messages to errors.h and adjust the names.
22971Files: src/errors.h, src/regexp_bt.c, src/regexp.c, src/regexp_nfa.c,
22972 src/globals.h, src/memfile.c, src/tag.c, src/getchar.c,
22973 src/bufwrite.c, src/cmdexpand.c
22974
22975Patch 8.2.3750
22976Problem: Error messages are everywhere.
22977Solution: Move more error messages to errors.h and adjust the names.
22978Files: src/globals.h, src/errors.h, src/blob.c, src/buffer.c,
22979 src/channel.c, src/ex_docmd.c, src/job.c, src/list.c, src/mark.c,
22980 src/misc1.c, src/os_unix.c, src/popupwin.c, src/register.c,
22981 src/session.c, src/spellfile.c, src/term.c, src/userfunc.c
22982
22983Patch 8.2.3751
22984Problem: Cannot assign a lambda to an option that takes a function.
22985Solution: Automatically convert the lambda to a string. (Yegappan
22986 Lakshmanan, closes #9286)
22987Files: runtime/doc/options.txt, src/eval.c, src/proto/eval.pro,
22988 src/evalvars.c, src/if_mzsch.c, src/if_ruby.c, src/if_tcl.c,
22989 src/option.c, src/option.h, src/optiondefs.h,
22990 src/proto/option.pro, src/spell.c, src/typval.c,
22991 src/vim9compile.c, src/testdir/test_iminsert.vim,
22992 src/testdir/test_ins_complete.vim, src/testdir/test_tagfunc.vim
22993
22994Patch 8.2.3752
22995Problem: Build error when using Photon GUI.
22996Solution: Adjust #ifdef. (closes #9288)
22997Files: src/beval.c
22998
22999Patch 8.2.3753
23000Problem: Vim9: function unreferenced while called is never deleted.
23001Solution: Delete a function when no longer referenced.
23002Files: src/vim9execute.c, src/userfunc.c, src/proto/userfunc.pro
23003
23004Patch 8.2.3754 (after 8.2.3615)
23005Problem: Undesired changing of the indent of the first formatted line.
23006Solution: Do not indent the first formatted line.
23007Files: src/textformat.c, src/testdir/test_indent.vim
23008
23009Patch 8.2.3755
23010Problem: Coverity warns for using a buffer in another scope.
23011Solution: Declare the buffer in a common scope.
23012Files: src/evalvars.c
23013
23014Patch 8.2.3756
23015Problem: might crash when callback is not valid.
23016Solution: Check for valid callback. (Yegappan Lakshmanan, closes #9293)
23017Files: src/insexpand.c, src/option.c, src/tag.c, src/job.c,
23018 src/userfunc.c, src/testdir/test_iminsert.vim,
23019 src/testdir/test_ins_complete.vim, src/testdir/test_tagfunc.vim
23020
23021Patch 8.2.3757
23022Problem: An overlong highlight group name is silently truncated.
23023Solution: Give an error if the name is too long. (closes #9289)
23024Files: src/errors.h, src/highlight.c, src/testdir/test_highlight.vim
23025
23026Patch 8.2.3758
23027Problem: Options that take a function insufficiently tested.
23028Solution: Add additional tests and enhance existing tests. (Yegappan
23029 Lakshmanan, closes #9298)
23030Files: src/testdir/test_ins_complete.vim, src/testdir/test_normal.vim,
23031 src/testdir/test_tagfunc.vim
23032
23033Patch 8.2.3759
23034Problem: Quickfix buffer becomes hidden while still in a window.
23035Solution: Check if the closed window is the last window showing the quickfix
23036 buffer. (Yegappan Lakshmanan, closes #9303, closes #9300)
23037Files: src/quickfix.c, src/testdir/test_quickfix.vim, src/window.c
23038
23039Patch 8.2.3760
23040Problem: Not automatically handling gnome terminal mouse like xterm.
23041Solution: Default 'ttymouse' to "xterm" and recognize Focus events.
23042 (issue #9296)
23043Files: src/os_unix.c
23044
23045Patch 8.2.3761
23046Problem: Focus change is not passed on to a terminal window.
23047Solution: If the current window is a terminal and focus events are enabled
23048 send a focus event escape sequence to the terminal.
23049Files: src/ui.c, src/terminal.c, src/proto/terminal.pro,
23050 src/testdir/test_terminal.vim,
23051 src/testdir/dumps/Test_terminal_focus_1.dump,
23052 src/testdir/dumps/Test_terminal_focus_2.dump
23053
23054Patch 8.2.3762
23055Problem: If the quickfix buffer is wiped out getqflist() still returns its
23056 number.
23057Solution: Use zero if the buffer is no longer present. (Yegappan Lakshmanan,
23058 closes #9306)
23059Files: src/quickfix.c, src/testdir/test_quickfix.vim
23060
23061Patch 8.2.3763
23062Problem: When editing the command line a FocusLost callback may cause the
23063 screen to scroll up.
23064Solution: Do not redraw at the last line but at the same place where the
23065 command line was before. (closes #9295)
23066Files: src/ex_getln.c, src/ui.c, src/beval.c, src/channel.c,
23067 src/drawscreen.c, src/proto/drawscreen.pro, src/job.c,
23068 src/popupwin.c, src/sound.c, src/terminal.c, src/time.c,
23069 src/testdir/test_terminal.vim,
23070 src/testdir/dumps/Test_terminal_focus_1.dump,
23071 src/testdir/dumps/Test_terminal_focus_2.dump,
23072 src/testdir/dumps/Test_terminal_focus_3.dump
23073
23074Patch 8.2.3764
23075Problem: Cannot see any text when window was made zero lines or zero
23076 columns.
23077Solution: Ensure there is at least one line and column. (fixes #9307)
23078Files: src/window.c, src/proto/window.pro, src/normal.c, src/edit.c,
23079 src/testdir/test_window_cmd.vim
23080
23081Patch 8.2.3765
23082Problem: Vim9: cannot use a lambda for 'opfunc' and others.
23083Solution: Convert the lambda to a string.
23084Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c,
23085 src/testdir/test_vim9_func.vim,
23086 src/testdir/test_vim9_disassemble.vim
23087
23088Patch 8.2.3766
23089Problem: Converting a funcref to a string leaves out "g:", causing the
23090 meaning of the name depending on the context.
23091Solution: Prepend "g:" for a global function.
23092Files: src/eval.c, src/testdir/test_functions.vim
23093
23094Patch 8.2.3767 (after 8.2.3766)
23095Problem: Crash when using NULL partial.
23096Solution: Check for NULL.
23097Files: src/eval.c
23098
23099Patch 8.2.3768
23100Problem: timer_info() has the wrong repeat value in a timer callback.
23101 (Sergey Vlasov)
23102Solution: Do not add one to the repeat value when in the callback.
23103 (closes #9294)
23104Files: src/time.c, src/testdir/test_timers.vim
23105
23106Patch 8.2.3769
23107Problem: Zig files are not recognized.
23108Solution: Add *.zig. (Gregory Anders, closes #9313)
23109Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23110
23111Patch 8.2.3770
23112Problem: New compiler warnings from clang-12 and clang-13.
23113Solution: Adjust CI and suppress some warnings. (Ozaki Kiichi, closes #9314)
23114Files: .github/workflows/ci.yml, ci/config.mk.clang-12.sed,
23115 src/os_unix.c, src/spellfile.c
23116
23117Patch 8.2.3771
23118Problem: Vim9: accessing freed memory when checking type.
23119Solution: Make a copy of a function type.
23120Files: src/structs.h, src/evalvars.c, src/vim9script.c,
23121 src/testdir/test_vim9_func.vim
23122
23123Patch 8.2.3772
23124Problem: Timer info test fails on slow machine.
23125Solution: Use WaitForAssert().
23126Files: src/testdir/test_timers.vim
23127
23128Patch 8.2.3773
23129Problem: Wrong window size when a modeline changes 'columns' and there is
23130 more than one tabpage. (Michael Soyka)
23131Solution: Adjust the frames of all tabpages. (closes #9315)
23132Files: src/window.c
23133
23134Patch 8.2.3774 (after 8.2.3773)
23135Problem: Test for command line height fails.
23136Solution: Use another way to handle window size change.
23137Files: src/structs.h, src/window.c
23138
23139Patch 8.2.3775
23140Problem: Vim9: lambda compiled without outer context when debugging.
23141Solution: When compiling a lambda for debugging also compile it without.
23142 (closes #9302)
23143Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
23144
23145Patch 8.2.3776
23146Problem: When a tags file line is long a tag may not be found.
23147Solution: When increasing the buffer size read the same line again.
23148Files: src/tag.c, src/testdir/test_taglist.vim
23149
23150Patch 8.2.3777
23151Problem: Spell file write error not checked.
23152Solution: Check writing the prefix conditions. (Bjorn Linse, closes #9323)
23153Files: src/spellfile.c
23154
23155Patch 8.2.3778
23156Problem: Lambda debug test fails in some configurations.
23157Solution: Check feature in a legacy function.
23158Files: src/testdir/test_vim9_script.vim
23159
23160Patch 8.2.3779
23161Problem: Using freed memory when defining a user command from a user
23162 command.
23163Solution: Do not use the command pointer after executing the command.
23164 (closes #9318)
23165Files: src/usercmd.c, src/testdir/test_usercommands.vim
23166
23167Patch 8.2.3780
23168Problem: ":cd" works differently on MS-Windows.
23169Solution: Add the 'cdhome' option. (closes #9324)
23170Files: runtime/doc/editing.txt, runtime/doc/options.txt,
23171 runtime/doc/quickref.txt, runtime/optwin.vim, src/ex_docmd.c,
23172 src/option.h, src/optiondefs.h, src/testdir/runtest.vim,
23173 src/testdir/test_options.vim
23174
23175Patch 8.2.3781
23176Problem: The option window script is outdated.
23177Solution: Add several changes.
23178Files: runtime/optwin.vim
23179
23180Patch 8.2.3782
23181Problem: Vim9: no error if a function shadows a script variable.
23182Solution: Check the function doesn't shadow a variable. (closes #9310)
23183Files: src/userfunc.c, src/evalvars.c, src/vim.h,
23184 src/testdir/test_vim9_script.vim
23185
23186Patch 8.2.3783
23187Problem: Confusing error for using a variable as a function.
23188Solution: If a function is not found but there is a variable, give a more
23189 useful error. (issue #9310)
23190Files: src/eval.c, src/userfunc.c, src/proto/userfunc.pro,
23191 src/structs.h, src/vim9execute.c, src/testdir/test_functions.vim,
23192 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_func.vim
23193
23194Patch 8.2.3784
23195Problem: The help for options is outdated.
23196Solution: Include all the recent changes.
23197Files: runtime/doc/options.txt
23198
23199Patch 8.2.3785
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023200Problem: Running CI on macOS with gcc is not useful.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023201Solution: Only use clang. (Ozaki Kiichi, closes #9326) Also build with
23202 normal features.
23203Files: .github/workflows/ci.yml
23204
23205Patch 8.2.3786
23206Problem: Test fails because of using Vim9 syntax in legacy function.
23207Solution: Add "call".
23208Files: src/testdir/test_functions.vim
23209
23210Patch 8.2.3787
23211Problem: No proper formatting of a C line comment after a statement.
23212Solution: Find the start of the line comment, insert the comment leader and
23213 indent the comment properly.
23214Files: src/change.c, src/proto/change.pro, src/search.c,
23215 src/proto/search.pro, src/cindent.c, src/edit.c, src/normal.c,
23216 src/textformat.c, src/testdir/test_textformat.vim,
23217 src/testdir/test_cindent.vim
23218
23219Patch 8.2.3788
23220Problem: Lambda for option that is a function may be garbage collected.
23221Solution: Set a reference in the funcref. (Yegappan Lakshmanan,
23222 closes #9330)
23223Files: src/eval.c, src/evalbuffer.c, src/evalvars.c, src/gui_xim.c,
23224 src/insexpand.c, src/ops.c, src/proto/eval.pro,
23225 src/proto/gui_xim.pro, src/proto/insexpand.pro, src/proto/ops.pro,
23226 src/proto/tag.pro, src/quickfix.c, src/tag.c,
23227 src/testdir/test_iminsert.vim, src/testdir/test_ins_complete.vim,
23228 src/testdir/test_normal.vim, src/testdir/test_quickfix.vim,
23229 src/testdir/test_tagfunc.vim
23230
23231Patch 8.2.3789
23232Problem: Test_window_minimal_size can fail on a slow machine.
23233Solution: Do not rely on timers firing at the expected time. (Ozaki Kiichi,
23234 closes #9335)
23235Files: src/testdir/test_window_cmd.vim
23236
23237Patch 8.2.3790
23238Problem: Test for term_gettitle() fails in some environments.
23239Solution: Make the digits after "VIM" optional. (Kenta Sato, closes #9334)
23240Files: src/testdir/test_terminal2.vim
23241
23242Patch 8.2.3791
23243Problem: Build error with +cindent but without +smartindent.
23244Solution: Move declaration of "do_cindent". (John Marriott)
23245Files: src/change.c
23246
23247Patch 8.2.3792
23248Problem: Setting *func options insufficiently tested.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023249Solution: Improve tests. (Yegappan Lakshmanan, closes #9337)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023250Files: src/testdir/test_iminsert.vim, src/testdir/test_ins_complete.vim,
23251 src/testdir/test_normal.vim, src/testdir/test_quickfix.vim,
23252 src/testdir/test_tagfunc.vim
23253
23254Patch 8.2.3793
23255Problem: Using "g:Func" as a funcref does not work in script context
23256 because "g:" is dropped.
23257Solution: Keep "g:" in the name. Also add parenthesis to avoid confusing
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023258 operator precedence. (closes #9336)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023259Files: src/evalvars.c, src/testdir/test_vim9_func.vim
23260
23261Patch 8.2.3794
23262Problem: Vim9: cannot find script-local func using "s:". (Yegappan
23263 Lakshmanan)
23264Solution: Skip the "s:".
23265Files: src/userfunc.c, src/testdir/test_vim9_func.vim
23266
23267Patch 8.2.3795
23268Problem: Too many #ifdefs.
23269Solution: Graduate the jumplist feature.
23270Files: runtime/doc/various.txt, runtime/doc/motion.txt, src/feature.h,
23271 src/buffer.c, src/change.c, src/evalfunc.c, src/ex_docmd.c,
23272 src/mark.c, src/normal.c, src/undo.c, src/version.c,
23273 src/viminfo.c, src/window.c, src/structs.h,
23274 src/testdir/test_changelist.vim, src/testdir/test_jumplist.vim,
23275 src/testdir/test_normal.vim
23276
23277Patch 8.2.3796
23278Problem: The funcexe_T struct members are not named consistently.
23279Solution: Prefix "fe_" to all the members.
23280Files: src/structs.h, src/eval.c, src/list.c, src/regexp.c,
23281 src/terminal.c, src/userfunc.c, src/vim9execute.c
23282
23283Patch 8.2.3797
23284Problem: No good reason to limit the message history in the tiny version.
23285Solution: Always use 200.
23286Files: runtime/doc/message.txt, src/feature.h
23287
23288Patch 8.2.3798
23289Problem: A :def callback function postpones an error message.
23290Solution: Display the error after calling the function. (closes #9340)
23291Files: src/userfunc.c, src/testdir/test_vim9_func.vim,
23292 src/testdir/dumps/Test_opfunc_error.dump
23293
23294Patch 8.2.3799 (after 8.2.3798)
23295Problem: Edit test hangs or fails.
23296Solution: Do not rethrow an exception when inside try/catch.
23297Files: src/userfunc.c
23298
23299Patch 8.2.3800
23300Problem: When cross compiling the output of "uname" cannot be set. (Ben
23301 Reeves)
23302Solution: Use cache variables. (closes #9338)
23303Files: src/configure.ac, src/auto/configure
23304
23305Patch 8.2.3801
23306Problem: If a terminal shows in two windows, only one is redrawn.
23307Solution: Reset the dirty row range only after redrawing all windows.
23308 (closes #9341)
23309Files: src/terminal.c, src/proto/terminal.pro, src/drawscreen.c,
23310 src/testdir/test_terminal.vim
23311
23312Patch 8.2.3802
23313Problem: Terminal in two windows test fails on some systems.
23314Solution: Wait a bit between commands.
23315Files: src/testdir/test_terminal.vim
23316
23317Patch 8.2.3803
23318Problem: Crash when 'writedelay' is set and using a terminal window to
23319 execute a shell command.
23320Solution: Check that "tl_vterm" isn't NULL. (closes #9346)
23321Files: src/terminal.c
23322
23323Patch 8.2.3804
23324Problem: Script context not set when copying 'swf' and 'ts'.
23325Solution: Use COPY_OPT_SCTX with the right argument. (closes #9347)
23326Files: src/option.c
23327
23328Patch 8.2.3805
23329Problem: i3config files are not recognized.
23330Solution: Add patterns to match i3config files. (Quentin Hibon,
23331 closes #7969)
23332Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23333
23334Patch 8.2.3806
23335Problem: Terminal focus test fails sometimes.
23336Solution: Run the test function before others.
23337Files: src/testdir/test_terminal.vim
23338
23339Patch 8.2.3807
23340Problem: Vim9: can call import with star directly.
23341Solution: Check that the import used star.
23342Files: src/userfunc.c, src/eval.c, src/testdir/test_vim9_script.vim
23343
23344Patch 8.2.3808
23345Problem: Vim9: obsolete TODO items
23346Solution: Remove the comments.
23347Files: src/vim9execute.c
23348
23349Patch 8.2.3809
23350Problem: Vim9: crash when garbage collecting a nested partial. (Virginia
23351 Senioria)
23352Solution: Set references in all the funcstacks. (closes #9348)
23353Files: src/vim9execute.c, src/proto/vim9execute.pro, src/structs.h,
23354 src/eval.c, src/testdir/test_vim9_func.vim
23355
23356Patch 8.2.3810
23357Problem: Vim9: expr4 test fails on MS-Windows.
23358Solution: Do not give an error for a missing function name when skipping.
23359Files: src/eval.c, src/testdir/test_vim9_expr.vim
23360
23361Patch 8.2.3811
23362Problem: The opfunc error test fails on a slow machine.
23363Solution: Use WaitForAssert().
23364Files: src/testdir/test_vim9_func.vim
23365
23366Patch 8.2.3812
23367Problem: Vim9: leaking memory in numbered function test.
23368Solution: Skip "g:" when checking for numbered function. Clean up after
23369 errors properly.
23370Files: src/userfunc.c
23371
23372Patch 8.2.3813
23373Problem: confusing error when using :cc without error list. (Gary Johnson)
23374Solution: Give the "no errors" error.
23375Files: src/ex_docmd.c, src/testdir/test_quickfix.vim
23376
23377Patch 8.2.3814
23378Problem: .csx files and .sln files are not recognized.
23379Solution: Add filetype patterns. (Doug Kearns)
23380Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23381
23382Patch 8.2.3815
23383Problem: Vim9: cannot have a multi-line dict inside a block.
23384Solution: Do not split the command at a line break, handle NL characters
23385 as white space.
23386Files: src/ex_docmd.c, src/charset.c, src/proto/charset.pro,
23387 src/eval.c, src/testdir/test_vim9_expr.vim
23388
23389Patch 8.2.3816
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023390Problem: Compiler warning for possible loss of data on MS-Windows.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023391Solution: Add type cast. (Mike Williams, closes #9349)
23392Files: src/userfunc.c
23393
23394Patch 8.2.3817 (after 8.2.3815)
23395Problem: Vim9: Not using NL as command end does not work for :autocmd.
23396Solution: Only ignore NL for commands with an expression argument.
23397Files: src/ex_cmds.h, src/ex_docmd.c, src/testdir/test_usercommands.vim
23398
23399Patch 8.2.3818
23400Problem: Cannot filter or map characters in a string.
23401Solution: Make filter() and map() work on a string. (Naruhiko Nishino,
23402 closes #9327)
23403Files: runtime/doc/eval.txt, src/errors.h, src/list.c,
23404 src/testdir/test_filter_map.vim
23405
23406Patch 8.2.3819 (after 8.2.3818)
23407Problem: Test fails because error message changed.
23408Solution: Update screendumps.
23409Files: src/testdir/dumps/Test_popupwin_three_errors_1.dump,
23410 src/testdir/dumps/Test_popupwin_three_errors_2.dump
23411
23412Patch 8.2.3820
23413Problem: "vrc" does not replace composing characters, while "rc" does.
23414Solution: Check the byte length including composing characters.
23415 (closes #9351)
23416Files: src/ops.c, src/testdir/test_visual.vim
23417
23418Patch 8.2.3821
23419Problem: ASAN test run fails.
23420Solution: Use asan_symbolize-13 instead of asan_symbolize-11.
23421Files: .github/workflows/ci.yml
23422
23423Patch 8.2.3822
23424Problem: Leaking memory in map() and filter(), cannot use a string argument
23425 in Vim9 script.
23426Solution: Fix the leak, adjust the argument check, also run the tests as
23427 Vim9 script. (Yegappan Lakshmanan, closes #9354)
23428Files: src/errors.h, src/evalfunc.c, src/list.c, src/proto/typval.pro,
23429 src/testdir/test_filter_map.vim,
23430 src/testdir/test_vim9_builtin.vim, src/typval.c
23431
23432Patch 8.2.3823
23433Problem: Test for visual replace is in wrong function.
23434Solution: Move it to another function.
23435Files: src/testdir/test_visual.vim
23436
23437Patch 8.2.3824
23438Problem: No ASAN support for MSVC.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023439Solution: Add ASAN support and fix a couple of uncovered problems. (Yegappan
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023440 Lakshmanan, closes #9357)
23441Files: src/Make_mvc.mak, src/findfile.c, src/os_mswin.c,
23442 src/testdir/test_fnamemodify.vim
23443
23444Patch 8.2.3825
23445Problem: Various comments could be improved.
23446Solution: Improve the comments.
23447Files: src/getchar.c, src/mbyte.c, src/regexp_nfa.c,
23448 src/testdir/test_edit.vim, src/gui_motif.c
23449
23450Patch 8.2.3826
23451Problem: Vim9: using "g:Func" as a funcref does not work in a :def
23452 function.
23453Solution: Include "g:" in the function name. (closes #9336)
23454Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
23455 src/testdir/test_vim9_disassemble.vim
23456
23457Patch 8.2.3827
23458Problem: Huntr badge does not really fit in the list.
23459Solution: Move the link to Huntr to the issue template.
23460Files: Filelist, .github/ISSUE_TEMPLATE/bug_report.yml, README.md
23461
23462Patch 8.2.3828
23463Problem: when opening a terminal from a timer the first typed character
23464 is lost. (Virginia Senioria)
23465Solution: When opening a terminal while waiting for a character put K_IGNORE
23466 in the input buffer.
23467Files: src/terminal.c, src/edit.c, src/testdir/test_terminal.vim
23468
23469Patch 8.2.3829
23470Problem: No error when setting a func option to a script-local function.
23471Solution: Give an error if the name starts with "s:". (closes #9358)
23472Files: src/option.c, src/testdir/test_tagfunc.vim,
23473 src/testdir/dumps/Test_set_tagfunc_on_cmdline.dump
23474
23475Patch 8.2.3830
23476Problem: Error messages are spread out.
23477Solution: Move more error messages to errors.h.
23478Files: src/globals.h, src/errors.h, src/buffer.c, src/dict.c, src/diff.c,
23479 src/digraph.c, src/eval.c, src/evalfunc.c, src/evalvars.c,
23480 src/misc2.c, src/quickfix.c, src/typval.c, src/ui.c,
23481 src/userfunc.c, src/vim9compile.c, src/vim9execute.c,
23482 src/vim9type.c, src/window.c
23483
23484Patch 8.2.3831
23485Problem: Opfunc test fails when missing feature changes function name.
23486 (Dominique Pellé)
23487Solution: Check the relevant screen line instead of using a screendump.
23488 (closes #9360)
23489Files: src/testdir/test_vim9_func.vim,
23490 src/testdir/dumps/Test_opfunc_error.dump
23491
23492Patch 8.2.3832 (after 8.2.3830)
23493Problem: Test fails because of changed error message.
23494Solution: Adjust the expected error message.
23495Files: src/testdir/test_vimscript.vim
23496
23497Patch 8.2.3833
23498Problem: Error from term_start() not caught by try/catch.
23499Solution: save and restore did_emsg when applying autocommands. (Ozaki
23500 Kiichi, closes #9361)
23501Files: src/autocmd.c, src/testdir/test_terminal3.vim
23502
23503Patch 8.2.3834
23504Problem: Test_out_cb often fails on Mac.
23505Solution: Increase the timeout with every retry.
23506Files: src/testdir/test_channel.vim
23507
23508Patch 8.2.3835
23509Problem: The inline-function example does not work.
23510Solution: Drop ":let". Add EX_EXPR_ARG to CMD_var. (issue #9352)
23511Files: runtime/doc/vim9.txt, src/ex_cmds.h,
23512 src/testdir/test_vim9_expr.vim
23513
23514Patch 8.2.3836
23515Problem: Vim9: comment after expression not skipped to find NL.
23516Solution: After evaluating an expression look for a newline after a #
23517 comment.
23518Files: src/eval.c
23519
23520Patch 8.2.3837
23521Problem: QNX: crash when compiled with GUI but using terminal.
23522Solution: Check gui.in_use is set. (Hirohito Higashi, closes #9363)
23523Files: src/autocmd.c
23524
23525Patch 8.2.3838
23526Problem: Cannot use script-local function for setting *func options.
23527Solution: Use the script context. (Yegappan Lakshmanan, closes #9362)
23528Files: src/option.c, src/testdir/dumps/Test_set_tagfunc_on_cmdline.dump,
23529 src/testdir/test_ins_complete.vim, src/testdir/test_normal.vim,
23530 src/testdir/test_quickfix.vim, src/testdir/test_tagfunc.vim
23531
23532Patch 8.2.3839
23533Problem: Using \z() with \z1 not tested for syntax highlighting.
23534Solution: Add a test. (Dominique Pellé, closes #9365)
23535Files: src/testdir/test_syntax.vim
23536
23537Patch 8.2.3840
23538Problem: Useless test for negative index in check functions.
23539Solution: Remove the test for negative index. (Naruhiko Nishino,
23540 closes #9364)
23541Files: src/typval.c
23542
23543Patch 8.2.3841
23544Problem: Vim9: outdated TODO items, disabled tests that work.
23545Solution: Remove TODO items, run tests that work now. Check that a dict
23546 item isn't locked.
23547Files: src/vim9execute.c, src/evalvars.c, src/errors.h, src/globals.h,
23548 src/testdir/test_listdict.vim, src/testdir/test_vim9_assign.vim
23549
23550Patch 8.2.3842
23551Problem: Vim9: can change locked list and list items.
23552Solution: Check that a list and list item isn't locked.
23553Files: src/vim9execute.c, src/testdir/test_listdict.vim
23554
23555Patch 8.2.3843
23556Problem: Dep3patch files are not recognized.
23557Solution: Recognize dep3patch files by their location and content. (James
23558 McCoy, closes #9367)
23559Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
23560 src/testdir/test_filetype.vim
23561
23562Patch 8.2.3844
23563Problem: Vim9: no type error if assigning a value with type func(number) to
23564 a variable of type func(string).
23565Solution: Use check_type_maybe(): return MAYBE if a runtime type check is
23566 useful. (issue #8492)
23567Files: src/vim9type.c, src/proto/vim9type.pro, src/vim9compile.c,
23568 src/testdir/test_vim9_assign.vim
23569
23570Patch 8.2.3845
23571Problem: Vim9: test fails when the channel feature is missing.
23572Solution: Check for the channel feature. (Dominique Pellé, closes #9368)
23573Files: src/testdir/test_vim9_builtin.vim
23574
23575Patch 8.2.3846
23576Problem: No error when using control character for 'lcs' or 'fcs'.
23577Solution: Use char2cells() to check the width. (closes #9369)
23578Files: src/screen.c, src/testdir/test_display.vim,
23579 src/testdir/test_listchars.vim
23580
23581Patch 8.2.3847
23582Problem: Illegal memory access when using a lambda with an error.
23583Solution: Avoid skipping over the NUL after a string.
23584Files: src/eval.c, src/testdir/test_lambda.vim
23585
23586Patch 8.2.3848
23587Problem: Cannot use reduce() for a string.
23588Solution: Make reduce() work with a string. (Naruhiko Nishino, closes #9366)
23589Files: runtime/doc/eval.txt, src/errors.h, src/evalfunc.c, src/list.c,
23590 src/typval.c, src/proto/typval.pro, src/testdir/test_listdict.vim,
23591 src/testdir/test_vim9_builtin.vim
23592
23593Patch 8.2.3849
23594Problem: Functions implementing reduce and map are too long.
23595Solution: Use a function for each type of value. Add a few more test cases
23596 and add to the help. (Yegappan Lakshmanan, closes #9370)
23597Files: runtime/doc/eval.txt, src/list.c, src/testdir/test_listdict.vim
23598
23599Patch 8.2.3850
23600Problem: Illegal memory access when displaying a partial.
23601Solution: Terminate the string with a NUL. (closes #9371)
23602Files: src/eval.c, src/testdir/test_messages.vim
23603
23604Patch 8.2.3851
23605Problem: Vim9: overhead when comparing string, dict or function.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023606Solution: Call the intended compare function directly. Refactor to avoid
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023607 duplicated code.
23608Files: src/vim9execute.c, src/typval.c, src/proto/typval.pro
23609
23610Patch 8.2.3852
23611Problem: Vim9: not enough tests.
23612Solution: Also run existing tests for Vim9 script. Make errors more
23613 consistent.
23614Files: src/testdir/test_listdict.vim, src/eval.c, src/vim9compile.c,
23615 src/errors.h
23616
23617Patch 8.2.3853
23618Problem: Vim9: not enough tests.
23619Solution: Run more existing tests for Vim9 script.
23620Files: src/testdir/test_listdict.vim
23621
23622Patch 8.2.3854
23623Problem: Vim9: inconsistent arguments for test functions.
23624Solution: When :def function and script have different arguments use a list
23625 with two items instead of a separate function.
23626Files: src/testdir/vim9.vim, src/testdir/test_execute_func.vim,
23627 src/testdir/test_float_func.vim, src/testdir/test_functions.vim,
23628 src/testdir/test_glob2regpat.vim, src/testdir/test_listdict.vim,
23629 src/testdir/test_vim9_assign.vim,
23630 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
23631 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
23632 src/testdir/test_vim9_script.vim
23633
23634Patch 8.2.3855
23635Problem: Illegal memory access when displaying a blob.
23636Solution: Append a NUL at the end. (Yegappan Lakshmanan, closes #9372)
23637Files: src/blob.c, src/regexp_nfa.c, src/testdir/test_blob.vim,
23638 src/testdir/test_messages.vim
23639
23640Patch 8.2.3856
23641Problem: Vim9: not enough tests.
23642Solution: Run more expression tests also with Vim9. Fix an uncovered
23643 problem.
23644Files: src/vim9compile.c, src/testdir/test_expr.vim, src/testdir/vim9.vim
23645
23646Patch 8.2.3857
23647Problem: Vim9: inconsistent error for using function().
23648Solution: Use a runtime type check for the result of function().
23649 (closes #8492)
23650Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
23651
23652Patch 8.2.3858
23653Problem: Vim9: not enough tests.
23654Solution: Add tests for :try/:catch and :redir. Add missing type check.
23655Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
23656 src/testdir/test_vim9_cmd.vim
23657
23658Patch 8.2.3859
23659Problem: Vim9: some code lines not tested.
23660Solution: Add a few specific tests.
23661Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim, src/errors.h,
23662 src/testdir/test_vim9_script.vim
23663
23664Patch 8.2.3860
23665Problem: Vim9: codecov struggles with the file size.
23666Solution: Split vim9compile.c into four files.
23667Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9instr.c,
23668 src/proto/vim9instr.pro, src/vim9expr.c, src/proto/vim9expr.pro,
23669 src/vim9cmds.c, src/proto/vim9cmds.pro, src/vim9.h,
23670 src/vim9execute.c, src/vim9script.c, src/proto.h,
23671 src/Makefile, src/Make_ami.mak, src/Make_cyg_ming.mak,
23672 src/Make_mvc.mak, src/Make_vms.mms
23673
23674Patch 8.2.3861
23675Problem: List of distributed files is outdated.
23676Solution: Add new files.
23677Files: Filelist
23678
23679Patch 8.2.3862
23680Problem: Crash on exit with EXITFREE and using win_execute().
23681Solution: Also save and restore tp_topframe. (issue #9374)
23682Files: src/evalwindow.c, src/testdir/test_execute_func.vim
23683
23684Patch 8.2.3863 (after 8.2.3860)
23685Problem: Various build flags accidentally enabled.
23686Solution: Revert several lines in Makefile.
23687Files: src/Makefile
23688
23689Patch 8.2.3864
23690Problem: Cannot disable requesting key codes from xterm.
23691Solution: Add the 'xtermcodes' option, default on.
23692Files: runtime/doc/options.txt, runtime/doc/term.txt, src/option.h,
23693 src/optiondefs.h, src/term.c, runtime/optwin.vim
23694
23695Patch 8.2.3865
23696Problem: Vim9: compiler complains about using "try" as a struct member.
23697Solution: Rename "try" to "tryref".
23698Files: src/vim9.h, src/vim9cmds.c, src/vim9execute.c, src/vim9instr.c
23699
23700Patch 8.2.3866
23701Problem: Vim9: type checking global variables is inconsistent.
23702Solution: Use the "unknown" type in more places.
23703Files: src/globals.h, src/vim9expr.c, src/vim9instr.c, src/vim9cmds.c,
23704 src/evalfunc.c, src/testdir/test_vim9_func.vim
23705
23706Patch 8.2.3867
23707Problem: Implementation of some list functions too complicated.
23708Solution: Refactor do_sort_uniq(), f_count() and extend() (Yegappan
23709 Lakshmanan, closes #9378)
23710Files: src/list.c
23711
23712Patch 8.2.3868 (after 8.2.3866)
23713Problem: Vim9: function test fails.
23714Solution: Add missing changes. Add test for earlier patch.
23715Files: src/vim9type.c, src/testdir/test_vim9_disassemble.vim
23716
23717Patch 8.2.3869
23718Problem: Vim9: type checking for "any" is inconsistent.
23719Solution: Always use a runtime type check for using "any" for a more
23720 specific type.
23721Files: src/vim9type.c, src/vim9compile.c, src/vim9expr.c,
23722 src/testdir/test_vim9_func.vim
23723
23724Patch 8.2.3870
23725Problem: MS-Windows: wrong working directory when opening two files with
23726 right-click context menu. (Gabriel Dupras)
23727Solution: Use the working directory and pass it on to the process creation.
23728 (Nir Lichtman, closes #9382, closes #8874)
23729Files: src/GvimExt/gvimext.cpp, src/GvimExt/gvimext.h
23730
23731Patch 8.2.3871
23732Problem: List.c contains code for dict and blob.
23733Solution: Refactor to put code where it belongs. (Yegappan Lakshmanan,
23734 closes #9386)
23735Files: src/blob.c, src/dict.c, src/list.c, src/proto/blob.pro,
23736 src/proto/dict.pro, src/proto/list.pro, src/proto/strings.pro,
23737 src/strings.c, src/structs.h, src/testdir/test_filter_map.vim,
23738 src/testdir/test_listdict.vim, src/testdir/test_sort.vim
23739
23740Patch 8.2.3872
23741Problem: Vim9: finddir() and uniq() return types can be more specific.
23742Solution: Adjust the return type.
23743Files: src/evalfunc.c, src/testdir/vim9.vim,
23744 src/testdir/test_vim9_builtin.vim
23745
23746Patch 8.2.3873
23747Problem: go.mod files are not recognized.
23748Solution: Check for the file name. (closes #9380)
23749Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23750
23751Patch 8.2.3874
23752Problem: Cannot highlight the number column for a sign.
23753Solution: Add the "numhl" argument. (James McCoy, closes #9381)
23754Files: runtime/doc/options.txt, runtime/doc/sign.txt, src/drawline.c,
23755 src/popupwin.c, src/proto/sign.pro, src/sign.c, src/structs.h,
23756 src/testdir/test_signs.vim
23757
23758Patch 8.2.3875
23759Problem: gcc complains about buffer overrun.
23760Solution: Use mch_memmove() instead of STRCPY(). (John Marriott)
23761Files: src/dict.c
23762
23763Patch 8.2.3876
23764Problem: 'cindent' does not recognize inline namespace.
23765Solution: Skip over "inline" to find "namespace". (closes #9383)
23766Files: src/cindent.c, src/testdir/test_cindent.vim
23767
23768Patch 8.2.3877
23769Problem: Function does not abort after a type error in compare
23770Solution: Check getting number fails. (closes #9384)
23771Files: src/typval.c, src/testdir/test_vim9_expr.vim
23772
23773Patch 8.2.3878
23774Problem: Vim9: debugger tries to read more lines than there are.
23775Solution: Check the number of lines. (closes #9394)
23776Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
23777
23778Patch 8.2.3879
23779Problem: getreg() and getregtype() contain dead code.
23780Solution: Remove the needless check. (closes #9392) Also refactor to put
23781 common code in a shared function.
23782Files: src/evalfunc.c
23783
23784Patch 8.2.3880
23785Problem: Solution filter files are not recognized.
23786Solution: Add pattern *.slnf and use json. (Doug Kearns)
23787Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23788
23789Patch 8.2.3881
23790Problem: QNX: crash when compiled with GUI but using terminal.
23791Solution: Check the gui.in_use flag. (Hirohito Higashi, closes #9391)
23792Files: src/main.c
23793
23794Patch 8.2.3882 (after 8.2.3879)
23795Problem: More duplicated code in f_getreginfo().
23796Solution: Also use getreg_get_regname(). (closes #9398)
23797Files: src/evalfunc.c
23798
23799Patch 8.2.3883
23800Problem: Crash when switching to other regexp engine fails.
23801Solution: Check for regprog being NULL.
23802Files: src/ex_cmds.c
23803
23804Patch 8.2.3884
23805Problem: Crash when clearing the argument list while using it.
23806Solution: Lock the argument list for ":all".
23807Files: src/arglist.c, src/testdir/test_arglist.vim
23808
23809Patch 8.2.3885
23810Problem: Arglist test fails.
23811Solution: Adjust for locking the arglist for ":all".
23812Files: src/testdir/test_arglist.vim
23813
23814Patch 8.2.3886
23815Problem: Can define autocmd for every event by using "au!".
23816Solution: Check if a command is present also for "au!".
23817Files: src/autocmd.c, src/testdir/test_autocmd.vim,
23818 src/testdir/test_arglist.vim
23819
23820Patch 8.2.3887
23821Problem: E1135 is used for two different errors.
23822Solution: Renumber one error.
23823Files: src/errors.h, src/testdir/test_mapping.vim
23824
23825Patch 8.2.3888
23826Problem: The argument list may contain duplicates.
23827Solution: Add the :argdedeupe command. (Nir Lichtman, closes #6235)
23828Files: runtime/doc/editing.txt, runtime/doc/index.txt, src/arglist.c,
23829 src/ex_cmdidxs.h, src/ex_cmds.h, src/proto/arglist.pro,
23830 src/testdir/test_arglist.vim
23831
23832Patch 8.2.3889
23833Problem: Duplicate code for translating script-local function name.
23834Solution: Move the code to get_scriptlocal_funcname(). (Yegappan Lakshmanan,
23835 closes #9393)
23836Files: src/evalfunc.c, src/evalvars.c, src/option.c, src/userfunc.c,
23837 src/proto/userfunc.pro, src/testdir/test_expr.vim,
23838 src/testdir/test_normal.vim
23839
23840Patch 8.2.3890
23841Problem: Vim9: type check for using v: variables is basic.
23842Solution: Specify a more precise type.
23843Files: src/evalvars.c, src/proto/evalvars.pro, src/vim9instr.c,
23844 src/testdir/test_vim9_expr.vim
23845
23846Patch 8.2.3891
23847Problem: Github CI: workflows may overlap.
23848Solution: Cancel previous workflows when starting a new one. (Yegappan
23849 Lakshmanan, closes #9400)
23850Files: .github/workflows/ci.yml, .github/workflows/codeql-analysis.yml
23851
23852Patch 8.2.3892
23853Problem: When modifyOtherKeys is used CTRL-C is not recognized.
23854Solution: Check for uppercase C as well, fix minimum length.
23855Files: src/ui.c
23856
23857Patch 8.2.3893
23858Problem: Vim9: many local variables are initialized with an instruction.
23859Solution: Initialize local variables to zero to avoid the instructions.
23860Files: src/vim9execute.c, src/vim9compile.c, src/vim9instr.c,
23861 src/proto/vim9instr.pro, src/vim9cmds.c,
23862 src/testdir/test_vim9_disassemble.vim
23863
23864Patch 8.2.3894
23865Problem: Vim9: no proper type check for first argument of call().
23866Solution: Add specific type check.
23867Files: src/evalfunc.c, src/typval.c, src/proto/typval.pro,
23868 src/errors.h, src/testdir/test_vim9_builtin.vim
23869
23870Patch 8.2.3895
23871Problem: Vim9: confusing error when using function() with a number.
23872Solution: Check for a function or string argument.
23873Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
23874
23875Patch 8.2.3896
23876Problem: Vim9: no test for nested function not available later.
23877Solution: Add a test.
23878Files: src/testdir/test_vim9_func.vim
23879
23880Patch 8.2.3897
23881Problem: Vim9: the second argument of map() and filter() is not checked at
23882 compile time.
23883Solution: Add more specific type check for the second argument.
23884Files: src/evalfunc.c, src/globals.h, src/list.c,
23885 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim,
23886 src/testdir/test_vim9_script.vim
23887
23888Patch 8.2.3898
23889Problem: Vim9: not sufficient testing for variable initialization.
23890Solution: Add another test case.
23891Files: src/testdir/test_vim9_disassemble.vim
23892
23893Patch 8.2.3899 (after 8.2.3897)
23894Problem: Vim9: test for map() on string fails.
23895Solution: Expect string return type.
23896Files: src/evalfunc.c
23897
23898Patch 8.2.3900
23899Problem: It is not easy to use a script-local function for an option.
23900Solution: recognize s: and <SID> at the start of the expression. (Yegappan
23901 Lakshmanan, closes #9401)
23902Files: runtime/doc/diff.txt, runtime/doc/fold.txt,
23903 runtime/doc/options.txt, runtime/doc/print.txt, src/optionstr.c,
23904 src/testdir/test_diffmode.vim, src/testdir/test_edit.vim,
23905 src/testdir/test_fold.vim, src/testdir/test_gf.vim,
23906 src/testdir/test_gui.vim, src/testdir/test_hardcopy.vim,
23907 src/testdir/test_normal.vim
23908
23909Patch 8.2.3901
23910Problem: Vim9: Cannot set 'cpo' in main .vimrc if using Vim9 script.
23911Solution: Do not restore 'cpo' at the end of the main .vimrc.
23912Files: runtime/doc/vim9.txt, runtime/doc/options.txt, src/scriptfile.c,
23913 src/structs.h, src/testdir/test_vim9_script.vim
23914
23915Patch 8.2.3902
23916Problem: Vim9: double free with nested :def function.
23917Solution: Pass "line_to_free" from compile_def_function() and make sure
23918 cmdlinep is valid.
23919Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro,
23920 src/vim9execute.c, src/testdir/test_vim9_func.vim
23921
23922Patch 8.2.3903
23923Problem: "gM" does not count tabs as expected.
23924Solution: Use linetabsize() instead of mb_string2cells(). (closes #9409)
23925Files: src/normal.c, src/testdir/test_normal.vim
23926
23927Patch 8.2.3904
23928Problem: Vim9: skip expression type is not checked at compile time.
23929Solution: Add argument type checks.
23930Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
23931
23932Patch 8.2.3905
23933Problem: Dockerfile using prefix name not recognized.
23934Solution: Recognize Dockerfile.*. (closes #9410)
23935Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23936
23937Patch 8.2.3906
23938Problem: Vim9 help still contains "under development" warnings.
23939Solution: Remove the explicit warning.
23940Files: runtime/doc/vim9.txt
23941
23942Patch 8.2.3907
23943Problem: Error messages are spread out.
23944Solution: Move error messages to errors.h. Avoid duplicates.
23945Files: src/userfunc.c, src/ex_cmds.c, src/viminfo.c, src/errors.h,
23946 src/testdir/test_user_func.vim
23947
23948Patch 8.2.3908
23949Problem: Cannot use a script-local function for 'foldtext'.
23950Solution: Expand "s:" and "<SID>". (Yegappan Lakshmanan, closes #9411)
23951Files: runtime/doc/fold.txt, src/optionstr.c, src/strings.c,
23952 src/testdir/test_blob.vim, src/testdir/test_expr.vim,
23953 src/testdir/test_filter_map.vim, src/testdir/test_fold.vim,
23954 src/testdir/test_listdict.vim
23955
23956Patch 8.2.3909
23957Problem: Containerfile using prefix name not recognized.
23958Solution: Recognize Containerfile.*.
23959Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23960
23961Patch 8.2.3910
23962Problem: When the compare function of sort() produces and error then sort()
23963 does not abort.
23964Solution: Check if did_emsg was incremented.
23965Files: src/list.c, src/testdir/test_vim9_builtin.vim
23966
23967Patch 8.2.3911
23968Problem: Vim9: type check for filter() does not accept unknown.
23969Solution: Also accept unknown for the return type. (closes #9413)
23970Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
23971
23972Patch 8.2.3912
23973Problem: The ins_complete() function is much too long.
23974Solution: Split it up into multiple functions. (Yegappan Lakshmanan,
23975 closes #9414)
23976Files: src/insexpand.c
23977
23978Patch 8.2.3913
23979Problem: Help for expressions does not mention Vim9 syntax.
23980Solution: Add the rules for Vim9 to the expression help. Rename functions
23981 to match the help.
23982Files: runtime/doc/vim9.txt, runtime/doc/eval.txt, src/vim9expr.c
23983
23984Patch 8.2.3914
23985Problem: Various spelling mistakes in comments.
23986Solution: Fix the mistakes. (Dominique Pellé, closes #9416)
23987Files: src/alloc.c, src/blowfish.c, src/buffer.c, src/cindent.c,
23988 src/clipboard.c, src/diff.c, src/drawline.c, src/edit.c,
23989 src/ex_cmds.c, src/ex_docmd.c, src/findfile.c, src/fold.c,
23990 src/getchar.c, src/gui.c, src/gui_athena.c, src/gui_gtk.c,
23991 src/gui_motif.c, src/gui_photon.c, src/gui_w32.c, src/gui_xmebw.c,
23992 src/if_python.c, src/if_python3.c, src/if_xcmdsrv.c, src/main.c,
23993 src/memline.c, src/menu.c, src/message.c, src/misc1.c, src/move.c,
23994 src/option.c, src/os_amiga.c, src/os_mac.h, src/os_mac_conv.c,
23995 src/os_mswin.c, src/os_unix.c, src/os_win32.c, src/os_win32.h,
23996 src/quickfix.c, src/regexp_nfa.c, src/screen.c, src/scriptfile.c,
23997 src/spell.c, src/spellfile.c, src/spellsuggest.c, src/strings.c,
23998 src/term.c, src/terminal.c, src/testdir/test_debugger.vim,
23999 src/testdir/test_source.vim, src/textformat.c, src/userfunc.c,
24000 src/vim.h, src/vim9.h, src/vim9cmds.c, src/vim9execute.c,
24001 src/winclip.c, src/window.c
24002
24003Patch 8.2.3915
24004Problem: illegal memory access when completing with invalid bytes.
24005Solution: Avoid going over the end of the completion text.
24006Files: src/insexpand.c, src/testdir/test_ins_complete.vim
24007
24008Patch 8.2.3916
24009Problem: No error for passing an invalid line number to append().
24010Solution: In Vim9 script check for a non-negative number. (closes #9417)
24011Files: src/evalbuffer.c, src/textprop.c, src/errors.h, src/indent.c,
24012 src/eval.c, src/testdir/test_vim9_builtin.vim
24013
24014Patch 8.2.3917
24015Problem: The eval.txt help file is way too big.
24016Solution: Move the builtin function details to a separate file.
24017Files: runtime/doc/eval.txt, runtime/doc/builtin.txt,
24018 runtime/doc/Makefile, runtime/doc/help.txt, runtime/doc/remote.txt
24019
24020Patch 8.2.3918 (after 8.2.3916)
24021Problem: Function list test fails.
24022Solution: Adjust the test for the new location of the function list.
24023Files: src/testdir/test_function_lists.vim
24024
24025Patch 8.2.3919
24026Problem: Vim9: wrong argument for append() results in two errors.
24027Solution: Check did_emsg. Also for setline(). Adjust the help for
24028 appendbufline().
24029Files: runtime/doc/builtin.txt, src/evalbuffer.c, src/typval.c,
24030 src/testdir/test_vim9_builtin.vim
24031
24032Patch 8.2.3920
24033Problem: Restoring directory after using another window is inefficient.
24034Solution: Only restore the directory for win_execute(). Apply 'autochdir'
24035 only when needed.
24036Files: src/evalwindow.c, src/testdir/test_autochdir.vim
24037
24038Patch 8.2.3921
24039Problem: The way xdiff is used is inefficient.
24040Solution: Use hunk_func instead of the out_line callback. (Lewis Russell,
24041 closes #9344)
24042Files: src/diff.c
24043
24044Patch 8.2.3922
24045Problem: Cannot build with dynamic Ruby 3.1.
24046Solution: Add "_EXTRA" variables for CI. Add missing functions. (Ozaki
24047 Kiichi, closes #9420)
24048Files: ci/config.mk.clang-12.sed, ci/config.mk.clang.sed,
24049 ci/config.mk.sed, src/Makefile, src/auto/configure,
24050 src/config.mk.in, src/configure.ac, src/if_ruby.c, src/vim.h
24051
24052Patch 8.2.3923
24053Problem: Vim9: double free if a nested function has a line break in the
24054 argument list.
24055Solution: Set cmdlinep when freeing the previous line.
24056Files: src/userfunc.c, src/testdir/test_vim9_func.vim
24057
24058Patch 8.2.3924
24059Problem: Vim9: no error if something follows :enddef in a nested function.
24060Solution: Give an error. Move common code to a function.
24061Files: src/userfunc.c, src/vim9compile.c, src/errors.h,
24062 src/testdir/test_vim9_func.vim
24063
24064Patch 8.2.3925
24065Problem: Diff mode confused by NUL bytes.
24066Solution: Handle NUL bytes differently. (Christian Brabandt, closes #9421,
24067 closes #9418)
24068Files: src/diff.c, src/testdir/test_diffmode.vim,
24069 src/testdir/dumps/Test_diff_bin_01.dump,
24070 src/testdir/dumps/Test_diff_bin_02.dump,
24071 src/testdir/dumps/Test_diff_bin_03.dump,
24072 src/testdir/dumps/Test_diff_bin_04.dump
24073
24074Patch 8.2.3926 (after 8.2.3920)
24075Problem: Build failure without the 'autochdir' option. (John Marriott)
24076Solution: Add #ifdefs.
24077Files: src/evalwindow.c
24078
24079Patch 8.2.3927
24080Problem: Vim9: double free when using lambda.
24081Solution: Don't free both cmdline and line_to_free.
24082Files: src/userfunc.c
24083
24084Patch 8.2.3928
24085Problem: Heredoc test fails.
24086Solution: Correct order of function arguments.
24087Files: src/userfunc.c
24088
24089Patch 8.2.3929
Bram Moolenaar1588bc82022-03-08 21:35:07 +000024090Problem: Using uninitialized variable.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024091Solution: Set the option flags to zero for a terminal option.
24092Files: src/option.c
24093
24094Patch 8.2.3930
24095Problem: getcmdline() argument has a misleading type.
24096Solution: Use the correct type, even though the value is not used.
24097Files: src/ex_getln.c, src/proto/ex_getln.pro, src/ex_docmd.c,
24098 src/normal.c, src/register.c, src/userfunc.c
24099
24100Patch 8.2.3931
24101Problem: Coverity reports a memory leak.
24102Solution: Free memory in case of failure.
24103Files: src/diff.c
24104
24105Patch 8.2.3932
24106Problem: C line comment not formatted properly.
24107Solution: If a line comment follows after "#if" the next line is not the end
24108 of a paragraph.
24109Files: src/textformat.c, src/testdir/test_textformat.vim
24110
24111Patch 8.2.3933
24112Problem: After ":cd" fails ":cd -" is incorrect.
24113Solution: Set the previous directory only after successfully changing
24114 directory. (Richard Doty, closes #9419, closes #8983)
24115Files: src/ex_docmd.c, src/testdir/test_cd.vim
24116
24117Patch 8.2.3934
24118Problem: Repeating line comment is undesired for "O" command.
24119Solution: Do not copy line comment leader for "O". (closes #9426)
24120Files: src/change.c, src/testdir/test_textformat.vim
24121
24122Patch 8.2.3935
24123Problem: CTRL-U in Insert mode does not fix the indent.
24124Solution: Fix the indent when 'cindent' is set.
24125Files: src/edit.c, src/testdir/test_textformat.vim
24126
24127Patch 8.2.3936
24128Problem: No proper test for maintaining change mark in diff mode.
24129Solution: Run the test with internal and external diff. (Sean Dewar,
24130 closes #9424)
24131Files: src/testdir/test_diffmode.vim
24132
24133Patch 8.2.3937
24134Problem: Insert mode completion function is too long.
24135Solution: Refactor into multiple functions. (Yegappan Lakshmanan,
24136 closes #9423)
24137Files: src/insexpand.c, src/testdir/test_ins_complete.vim
24138
24139Patch 8.2.3938
24140Problem: Line comment start is also found in a string.
24141Solution: Skip line comments in a string.
24142Files: src/cindent.c, src/proto/cindent.pro, src/search.c,
24143 src/testdir/test_textformat.vim
24144
24145Patch 8.2.3939
24146Problem: MS-Windows: fnamemodify('', ':p') does not work.
24147Solution: Do not consider an empty string a full path. (Yegappan Lakshmanan,
24148 closes #9428, closes #9427)
24149Files: src/os_mswin.c, src/testdir/test_fnamemodify.vim
24150
24151Patch 8.2.3940
24152Problem: Match highlight disappears when doing incsearch for ":s/pat".
24153Solution: Only use line limit for incsearch highlighting. (closes #9425)
24154Files: src/match.c, src/testdir/test_match.vim,
24155 src/testdir/dumps/Test_match_with_incsearch_1.dump,
24156 src/testdir/dumps/Test_match_with_incsearch_2.dump
24157
24158Patch 8.2.3941
24159Problem: SIGTSTP is not handled.
24160Solution: Handle SIGTSTP like pressing CTRL-Z. (closes #9422)
24161Files: runtime/doc/autocmd.txt, src/ex_docmd.c, src/os_unix.c,
24162 src/proto/ex_docmd.pro, src/testdir/test_signals.vim
24163
24164Patch 8.2.3942
24165Problem: Coverity reports a possible memory leak.
24166Solution: Free the array if allocation fails.
24167Files: src/insexpand.c
24168
24169Patch 8.2.3943
24170Problem: Compiler warning from gcc for uninitialized variable.
24171Solution: Initialize variable. (closes #9429)
24172Files: src/diff.c
24173
24174Patch 8.2.3944
24175Problem: Insert mode completion functions are too long.
24176Solution: Split up into multiple functions. (Yegappan Lakshmanan,
24177 closes #9431)
24178Files: src/insexpand.c, src/testdir/test_ins_complete.vim
24179
24180Patch 8.2.3945
24181Problem: Vim9: partial variable argument types are wrong, leading to a
24182 crash.
24183Solution: When adjusting the argument count also adjust the argument types.
24184 (closes #9433)
24185Files: src/vim9type.c, src/userfunc.c, src/testdir/test_vim9_assign.vim
24186
24187Patch 8.2.3946
24188Problem: When an internal error makes Vim exit the error is not seen.
24189Solution: Add the error to the test output.
24190Files: src/message.c, src/testdir/runtest.vim
24191
24192Patch 8.2.3947
24193Problem: Unnecessary check for NULL pointer.
24194Solution: Remove the check. (closes #9434)
24195Files: src/ex_docmd.c
24196
24197Patch 8.2.3948
24198Problem: Vim9: failure with partial with unknown argument count.
24199Solution: Do not copy argument types if there aren't any.
24200Files: src/vim9type.c
24201
24202Patch 8.2.3949
24203Problem: Using freed memory with /\%V.
24204Solution: Get the line again after getvvcol().
24205Files: src/regexp.c, src/testdir/test_regexp_latin.vim
24206
24207Patch 8.2.3950
24208Problem: Going beyond the end of the line with /\%V.
24209Solution: Check for valid column in getvcol().
24210Files: src/charset.c, src/testdir/test_regexp_latin.vim
24211
24212Patch 8.2.3951
24213Problem: Vim9: memory leak when text after a nested function.
24214Solution: Free the function if text is found after "enddef".
24215Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
24216
24217Patch 8.2.3952
24218Problem: First line not redrawn when adding lines to an empty buffer.
24219Solution: Adjust the argument to appended_lines(). (closes #9439,
24220 closes #9438)
24221Files: src/ex_cmds.c, src/testdir/test_excmd.vim
24222
24223Patch 8.2.3953
24224Problem: Insert completion code is too complicated.
24225Solution: More refactoring. Move function arguments into a struct.
24226 (Yegappan Lakshmanan, closes #9437)
24227Files: src/insexpand.c
24228
24229Patch 8.2.3954
24230Problem: Vim9: no error for shadowing if script var is declared later.
24231Solution: Check argument names when compiling a function.
24232Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
24233 src/testdir/test_vim9_assign.vim
24234
24235Patch 8.2.3955
24236Problem: Error messages are spread out.
24237Solution: Move more errors to errors.h.
24238Files: src/errors.h, src/globals.h, src/debugger.c, src/ex_cmds.c,
24239 src/help.c, src/sign.c, src/spellfile.c
24240
24241Patch 8.2.3956
24242Problem: Duplicate assignment.
24243Solution: Remove the second assignment. (closes #9442)
24244Files: src/evalfunc.c
24245
24246Patch 8.2.3957
24247Problem: Error messages are spread out.
24248Solution: Move more errors to errors.h.
24249Files: src/errors.h, src/globals.h, src/arglist.c, src/bufwrite.c,
Bram Moolenaar47c532e2022-03-19 15:18:53 +000024250 src/evalvars.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_eval.c,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024251 src/help.c, src/scriptfile.c, src/usercmd.c, src/userfunc.c,
24252 src/vim9cmds.c, src/vim9compile.c
24253
24254Patch 8.2.3958
24255Problem: Build failure compiling xxd with "-std=c2x".
24256Solution: define _XOPEN_SOURCE. (Yegappan Lakshmanan, closes #9444)
24257Files: src/xxd/xxd.c
24258
24259Patch 8.2.3959
24260Problem: Error messages are spread out.
24261Solution: Move more errors to errors.h.
24262Files: src/errors.h, src/autocmd.c, src/bufwrite.c, src/evalvars.c,
24263 src/ex_docmd.c, src/ex_eval.c, src/ex_getln.c, src/fileio.c,
24264 src/getchar.c, src/gui.c, src/locale.c, src/map.c
24265
24266Patch 8.2.3960
24267Problem: Error messages are spread out.
24268Solution: Move more errors to errors.h.
24269Files: src/errors.h, src/alloc.c, src/arglist.c, src/autocmd.c,
24270 src/blob.c, src/blowfish.c, src/buffer.c, src/bufwrite.c
24271
24272Patch 8.2.3961
24273Problem: Error messages are spread out.
24274Solution: Move more errors to errors.h.
Bram Moolenaar47c532e2022-03-19 15:18:53 +000024275Files: src/errors.h, src/globals.h, src/arglist.c, src/autocmd.c,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024276 src/blob.c, src/bufwrite.c, src/channel.c, src/clipboard.c,
24277 src/cmdexpand.c, src/debugger.c, src/dict.c, src/eval.c,
24278 src/evalfunc.c, src/evalvars.c, src/evalwindow.c, src/ex_cmds.c,
24279 src/ex_docmd.c, src/ex_eval.c, src/ex_getln.c, src/fileio.c,
24280 src/filepath.c, src/gui_gtk_x11.c, src/gui_haiku.cc,
24281 src/gui_photon.c, src/gui_w32.c, src/gui_x11.c, src/highlight.c,
24282 src/indent.c, src/insexpand.c, src/job.c, src/json.c, src/list.c,
24283 src/map.c, src/mark.c, src/match.c, src/mbyte.c, src/menu.c,
24284 src/message.c, src/misc2.c, src/ops.c, src/option.c,
24285 src/optionstr.c, src/popupwin.c, src/quickfix.c, src/screen.c,
24286 src/scriptfile.c, src/search.c, src/sign.c, src/spell.c,
24287 src/spellfile.c, src/strings.c, src/syntax.c, src/terminal.c,
24288 src/testing.c, src/textprop.c, src/time.c, src/userfunc.c,
24289 src/vim9cmds.c, src/vim9execute.c, src/vim9script.c, src/window.c
24290
24291Patch 8.2.3962 (after 8.2.3961)
24292Problem: Build fails for missing error message.
24293Solution: Add changes in missed file.
24294Files: src/regexp_bt.c
24295
24296Patch 8.2.3963
24297Problem: Build failure with tiny and small features. (Tony Mechelynck)
24298Solution: Adjust #ifdefs.
24299Files: src/errors.h, src/message.c
24300
24301Patch 8.2.3964
24302Problem: Some common lisp and scheme files not recognized.
24303Solution: Recognize *.asd as lisp and *.sld as scheme. (Alex Vear,
24304 closes #9447)
24305Files: runtime/filetype.vim, src/testdir/test_filetype.vim
24306
24307Patch 8.2.3965
24308Problem: Vim9: no easy way to check if Vim9 script is supported.
24309Solution: Add has('vim9script').
24310Files: runtime/doc/vim9.txt, src/evalfunc.c,
24311 src/testdir/test_vim9_script.vim
24312
24313Patch 8.2.3966
24314Problem: When using feedkeys() abbreviations may be blocked.
24315Solution: Reset tb_no_abbr_cnt when running out of characters.
24316 (closes #9448)
24317Files: src/getchar.c, src/testdir/test_feedkeys.vim
24318
24319Patch 8.2.3967
24320Problem: Error messages are spread out.
24321Solution: Move more errors to errors.h.
24322Files: src/errors.h, src/globals.h, src/feature.h, src/arglist.c,
24323 src/autocmd.c, src/blob.c, src/bufwrite.c, src/channel.c,
24324 src/cmdexpand.c, src/dict.c, src/diff.c, src/eval.c,
24325 src/evalfunc.c, src/evalvars.c, src/ex_cmds.c, src/ex_docmd.c,
24326 src/fileio.c, src/filepath.c, src/getchar.c, src/gui_gtk_x11.c,
24327 src/gui_x11.c, src/hardcopy.c, src/help.c, src/highlight.c,
24328 src/if_cscope.c, src/if_lua.c, src/if_mzsch.c, src/if_perl.xs,
24329 src/if_python.c, src/if_python3.c, src/if_ruby.c, src/if_tcl.c,
24330 src/if_xcmdsrv.c, src/indent.c, src/insexpand.c, src/job.c,
24331 src/list.c, src/main.c, src/map.c, src/match.c, src/mbyte.c,
24332 src/message.c, src/misc1.c, src/option.c, src/optionstr.c,
24333 src/os_mswin.c, src/os_unix.c, src/os_win32.c, src/popupwin.c,
24334 src/profiler.c, src/quickfix.c, src/scriptfile.c, src/search.c,
24335 src/session.c, src/sign.c, src/spell.c, src/spellfile.c,
24336 src/spellsuggest.c, src/syntax.c, src/tag.c, src/terminal.c,
24337 src/testing.c, src/textprop.c, src/typval.c, src/userfunc.c,
24338 src/vim9execute.c, src/vim9expr.c, src/vim9instr.c,
24339 src/vim9script.c
24340
24341Patch 8.2.3968
24342Problem: Build failure.
24343Solution: Add missing changes.
24344Files: src/strings.c, src/vim9compile.c
24345
24346Patch 8.2.3969
24347Problem: Value of MAXCOL not available in Vim script.
24348Solution: Add v:maxcol. (Naohiro Ono, closes #9451)
24349Files: runtime/doc/builtin.txt, runtime/doc/eval.txt, src/evalvars.c,
24350 src/testdir/test_cursor_func.vim, src/testdir/test_normal.vim,
24351 src/testdir/test_put.vim, src/vim.h
24352
24353Patch 8.2.3970
24354Problem: Error messages are spread out.
24355Solution: Move more errors to errors.h.
24356Files: src/errors.h, src/globals.h, src/buffer.c, src/bufwrite.c,
24357 src/clientserver.c, src/cmdhist.c, src/dict.c, src/edit.c,
24358 src/eval.c, src/evalfunc.c, src/evalvars.c, src/ex_cmds.c,
24359 src/ex_docmd.c, src/ex_eval.c, src/ex_getln.c, src/gui_w32.c,
24360 src/gui_x11.c, src/if_xcmdsrv.c, src/insexpand.c, src/json.c,
24361 src/match.c, src/menu.c, src/option.c, src/optionstr.c,
24362 src/os_mswin.c, src/quickfix.c, src/regexp_bt.c, src/regexp_nfa.c,
24363 src/scriptfile.c, src/sign.c, src/spellfile.c, src/undo.c,
24364 src/userfunc.c, src/vim9cmds.c, src/vim9compile.c,
24365 src/vim9execute.c, src/vim9expr.c, src/window.c
24366
24367Patch 8.2.3971
24368Problem: Build fails.
24369Solution: Use the right error message name.
24370Files: src/typval.c
24371
24372Patch 8.2.3972
24373Problem: Error messages are spread out.
24374Solution: Move the last errors from globals.h to errors.h.
24375Files: src/errors.h, src/globals.h, src/eval.c, src/evalfunc.c,
24376 src/evalvars.c, src/evalwindow.c, src/ex_eval.c, src/list.c,
24377 src/match.c, src/menu.c, src/popupmenu.c, src/search.c,
24378 src/vim9cmds.c, src/vim9expr.c
24379
24380Patch 8.2.3973
24381Problem: Tiny build fails.
24382Solution: Adjust #ifdefs
24383Files: src/errors.h
24384
24385Patch 8.2.3974
24386Problem: Vim9: LISTAPPEND instruction does not check for a locked list.
24387Solution: Check whether the list is locked. (closes #9452)
24388Files: src/vim9execute.c, src/testdir/test_vim9_builtin.vim
24389
24390Patch 8.2.3975
24391Problem: Error messages are spread out.
24392Solution: Move more error messages to errors.h.
24393Files: src/errors.h, src/clientserver.c, src/fileio.c, src/gui.c,
24394 src/gui_beval.c, src/gui_w32.c, src/gui_x11.c, src/if_cscope.c,
24395 src/if_xcmdsrv.c, src/os_mswin.c, src/sign.c, src/viminfo.c,
24396 src/window.c
24397
24398Patch 8.2.3976
24399Problem: FEARG_LAST is never used. (Dominique Pellé)
24400Solution: Remove FEARG_LAST and the related code.
24401Files: src/evalfunc.c
24402
24403Patch 8.2.3977
24404Problem: Error messages are spread out.
24405Solution: Move more error messages to errors.h.
24406Files: src/errors.h, src/change.c, src/clientserver.c, src/eval.c,
24407 src/gui_xim.c, src/if_cscope.c, src/if_py_both.h, src/if_python.c,
24408 src/if_python3.c, src/if_ruby.c, src/if_tcl.c, src/main.c,
24409 src/mark.c, src/match.c, src/memfile.c, src/memline.c,
24410 src/terminal.c, src/textprop.c, src/userfunc.c
24411
24412Patch 8.2.3978
Bram Moolenaar1588bc82022-03-08 21:35:07 +000024413Problem: Build error when using dynamically loaded Python 3.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024414Solution: Adjust #ifdef.
24415Files: src/errors.h
24416
24417Patch 8.2.3979
24418Problem: Vim9: the feature is not mentioned in the right places.
24419Solution: Add +vim9script to the help and :version output.
24420Files: runtime/doc/builtin.txt, runtime/doc/various.txt, src/version.c
24421
24422Patch 8.2.3980
24423Problem: If 'operatorfunc' invokes an operator the remembered Visual mode
24424 may be changed. (Naohiro Ono)
24425Solution: Save and restore the information for redoing the Visual area.
24426 (closes #9455)
24427Files: src/ops.c, src/testdir/test_normal.vim
24428
24429Patch 8.2.3981
24430Problem: Vim9: debugging a for loop doesn't stop before it starts.
24431Solution: Keep the DEBUG instruction before the expression is evaluated.
24432 (closes #9456)
24433Files: src/vim9cmds.c, src/testdir/test_vim9_disassemble.vim
24434
24435Patch 8.2.3982
24436Problem: Some lines of code not covered by tests.
24437Solution: Add a few more test cases. (Dominique Pellé, closes #9453)
24438Files: src/testdir/test_filter_map.vim, src/testdir/test_highlight.vim,
24439 src/testdir/test_regexp_latin.vim, src/testdir/test_search.vim,
24440 src/testdir/test_vim9_builtin.vim
24441
24442Patch 8.2.3983
24443Problem: Error messages are spread out.
24444Solution: Move more error messages to errors.h.
24445Files: src/errors.h, src/ex_docmd.c, src/fileio.c, src/filepath.c,
24446 src/findfile.c, src/hardcopy.c, src/memfile.c, src/memline.c,
24447 src/menu.c, src/normal.c, src/regexp_bt.c
24448
24449Patch 8.2.3984 (after 8.2.3981)
24450Problem: Debugger test fails.
24451Solution: Adjust the test for modified debugging of a for loop.
24452Files: src/testdir/test_debugger.vim
24453
24454Patch 8.2.3985
24455Problem: Error messages are spread out.
24456Solution: Move more error messages to errors.h.
24457Files: src/errors.h, src/findfile.c, src/fold.c, src/hardcopy.c,
24458 src/highlight.c, src/map.c, src/message.c, src/normal.c,
24459 src/option.c, src/os_amiga.c, src/os_unix.c, src/os_win32.c,
24460 src/quickfix.c, src/regexp.c, src/register.c, src/search.c,
24461 src/syntax.c, src/tag.c, src/term.c, src/typval.c, src/undo.c,
24462 src/window.c
24463
24464Patch 8.2.3986
24465Problem: Error messages are spread out.
24466Solution: Move more error messages to errors.h.
24467Files: src/errors.h, src/evalvars.c, src/ex_cmds.c, src/ex_docmd.c,
24468 src/fileio.c, src/fold.c, src/gui_x11.c, src/hardcopy.c,
24469 src/help.c, src/highlight.c, src/if_cscope.c, src/json.c,
24470 src/map.c, src/netbeans.c, src/popupwin.c, src/usercmd.c,
24471 src/userfunc.c
24472
24473Patch 8.2.3987
24474Problem: Error messages are spread out.
24475Solution: Move more error messages to errors.h.
24476Files: src/errors.h, src/digraph.c, src/ex_eval.c, src/gui.c,
24477 src/hardcopy.c, src/if_cscope.c, src/if_tcl.c, src/if_xcmdsrv.c,
24478 src/mbyte.c, src/misc2.c, src/netbeans.c, src/option.c,
24479 src/optionstr.c, src/quickfix.c, src/regexp.c, src/tag.c,
24480 src/term.c, src/viminfo.c
24481
24482Patch 8.2.3988 (after 8.2.3987)
24483Problem: Tiny build fails.
24484Solution: Fix misplaced #ifdef.
24485Files: src/errors.h
24486
24487Patch 8.2.3989
24488Problem: Some insert completion code is not tested.
24489Solution: Add a few tests. Refactor thesaurus completion. (Yegappan
24490 Lakshmanan, closes #9460)
24491Files: src/insexpand.c, src/testdir/test_edit.vim,
24492 src/testdir/test_ins_complete.vim
24493
24494Patch 8.2.3990
24495Problem: Testing wrong operator.
24496Solution: Test "g@" instead of "r_". (Naohiro Ono, closes #9463)
24497Files: src/testdir/test_normal.vim
24498
24499Patch 8.2.3991
24500Problem: Vim9: error when extending dict<any> with another type that it was
24501 initialized with.
24502Solution: Also set the type for dict<any> if the initializer has a more
24503 specific type. (closes #9461)
24504Files: src/vim9compile.c, src/vim9type.c, src/vim9.h, src/eval.c,
24505 src/list.c, src/vim9script.c, src/testdir/test_vim9_assign.vim,
24506 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_func.vim
24507
24508Patch 8.2.3992
24509Problem: Wrong local-additions in the help with language mix.
24510Solution: Adjust how the local additions list is generated. (Hirohito
24511 Higashi, closes #9464)
24512Files: src/help.c, src/testdir/test_help.vim
24513
24514Patch 8.2.3993
24515Problem: When recording a change in Select mode the first typed character
24516 appears twice.
24517Solution: When putting the character back into typeahead remove it from
24518 recorded characters. (closes #9462)
24519Files: src/getchar.c, src/proto/getchar.pro, src/normal.c,
24520 src/testdir/test_registers.vim
24521
24522Patch 8.2.3994
24523Problem: Vim9: extend() complains about the type even when it was not
24524 declared.
24525Solution: Only check the list or dict type when it was declared.
24526Files: src/list.c, src/testdir/test_vim9_builtin.vim
24527
24528Patch 8.2.3995
24529Problem: Not all sshconfig files are detected as such.
24530Solution: Adjust the patterns used for sshconfig detection. (David Auer,
24531 closes #9322)
24532Files: runtime/filetype.vim, src/testdir/test_filetype.vim
24533
24534Patch 8.2.3996
24535Problem: Vim9: type checking for list and dict lacks information about
24536 declared type.
24537Solution: Add dv_decl_type and lv_decl_type. Refactor the type stack to
24538 store two types in each entry.
24539Files: src/structs.h, src/dict.c, src/list.c, src/vim9type.c,
24540 src/proto/vim9type.pro, src/vim9instr.c, src/proto/vim9instr.pro,
24541 src/vim9compile.c, src/evalfunc.c, src/proto/evalfunc.pro,
24542 src/evalbuffer.c, src/proto/evalbuffer.pro, src/vim9expr.c,
24543 src/vim9cmds.c, src/testdir/test_vim9_assign.vim,
24544 src/testdir/test_vim9_builtin.vim
24545
24546Patch 8.2.3997
24547Problem: Vim9: not enough testing for extend() and map().
24548Solution: Add more test cases. Fix uncovered problems. Remove unused type
24549 fields.
24550Files: src/structs.h, src/dict.c, src/list.c, src/vim9compile.c,
24551 src/testdir/test_vim9_builtin.vim,
24552 src/testdir/test_vim9_disassemble.vim
24553
24554Patch 8.2.3998
24555Problem: Asan error for adding zero to NULL.
24556Solution: Do not compute pointer if there are no entries.
24557Files: src/vim9type.c
24558
24559Patch 8.2.3999
24560Problem: Redundant check for NUL byte.
24561Solution: Remove the check for a NUL byte. (closes #9471)
24562Files: src/ex_docmd.c
24563
24564Patch 8.2.4000
24565Problem: Coverity warns for checking for NULL pointer after using it.
24566Solution: Remove check for NULL.
24567Files: src/help.c
24568
24569Patch 8.2.4001
24570Problem: Insert complete code uses global variables.
24571Solution: Make variables local to the file and use accessor functions.
24572 (Yegappan Lakshmanan, closes #9470)
24573Files: src/edit.c, src/getchar.c, src/globals.h, src/insexpand.c,
24574 src/proto/insexpand.pro, src/search.c
24575
24576Patch 8.2.4002
24577Problem: First char typed in Select mode can be wrong.
24578Solution: Escape special bytes in the input buffer. (closes #9469)
24579Files: src/getchar.c, src/testdir/test_utf8.vim
24580
24581Patch 8.2.4003
24582Problem: Error messages are spread out.
24583Solution: Move more error messages to errors.h.
24584Files: src/errors.h, src/channel.c, src/ex_docmd.c, src/ex_eval.c,
24585 src/gui_at_fs.c, src/hardcopy.c, src/if_cscope.c, src/menu.c,
24586 src/netbeans.c, src/optionstr.c, src/os_mswin.c, src/sign.c,
24587 src/typval.c
24588
24589Patch 8.2.4004
24590Problem: Old compiler complains about struct init with variable.
Bram Moolenaar47c532e2022-03-19 15:18:53 +000024591Solution: Set the struct member later. (John Marriott)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024592Files: src/evalfunc.c
24593
24594Patch 8.2.4005
24595Problem: Error messages are spread out.
24596Solution: Move more error messages to errors.h.
24597Files: src/errors.h, src/dict.c, src/eval.c, src/evalfunc.c,
24598 src/evalvars.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_eval.c,
24599 src/filepath.c, src/gui.c, src/gui_w32.c, src/hardcopy.c,
24600 src/help.c, src/highlight.c, src/if_python.c, src/list.c,
24601 src/misc1.c, src/normal.c, src/quickfix.c, src/regexp.c,
24602 src/regexp_bt.c, src/regexp_nfa.c, src/typval.c, src/userfunc.c
24603
24604Patch 8.2.4006
24605Problem: Vim9: crash when declaring variable on the command line.
24606Solution: Use a temporary type list. (closes #9474)
24607Files: src/eval.c, src/testdir/test_vim9_assign.vim
24608
24609Patch 8.2.4007
24610Problem: Session does not restore help buffer properly when "options' is
24611 missing from 'sessionoptions'.
24612Solution: Use a ":help" command to create the help window. (closes #9475,
24613 closes #9458, closes #9472)
24614Files: src/session.c, src/testdir/test_mksession.vim
24615
24616Patch 8.2.4008
24617Problem: Error messages are spread out.
24618Solution: Move more error messages to errors.h.
24619Files: src/errors.h, src/diff.c, src/digraph.c, src/evalfunc.c,
24620 src/evalvars.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c,
24621 src/insexpand.c, src/match.c, src/memline.c, src/menu.c,
24622 src/ops.c, src/profiler.c, src/quickfix.c, src/regexp.c,
24623 src/regexp_bt.c, src/regexp_nfa.c, src/register.c, src/spell.c,
24624 src/spell.h, src/spellfile.c, src/strings.c, src/syntax.c,
24625 src/typval.c, src/undo.c, src/userfunc.c
24626
24627Patch 8.2.4009
24628Problem: Reading one byte beyond the end of the line.
24629Solution: Check for NUL byte first.
24630Files: src/vim9compile.c, src/ex_docmd.c, src/testdir/test_vim9_func.vim
24631
24632Patch 8.2.4010
24633Problem: Error messages are spread out.
24634Solution: Move more error messages to errors.h.
24635Files: src/errors.h, src/crypt.c, src/diff.c, src/ex_docmd.c,
24636 src/ex_getln.c, src/fileio.c, src/findfile.c, src/float.c,
24637 src/gui.c, src/highlight.c, src/if_mzsch.c, src/if_py_both.h,
24638 src/if_python.c, src/if_python3.c, src/insexpand.c, src/match.c,
24639 src/memline.c, src/option.c, src/popupwin.c, src/regexp.c,
24640 src/regexp_nfa.c, src/spellfile.c, src/strings.c, src/syntax.c,
24641 src/textprop.c, src/typval.c, src/undo.c, src/usercmd.c,
24642 src/userfunc.c, src/window.c
24643
24644Patch 8.2.4011
24645Problem: Test fails because of changed error number.
24646Solution: Restore old duplicate error message.
24647Files: src/errors.h, src/match.c
24648
24649Patch 8.2.4012
24650Problem: Error messages are spread out.
24651Solution: Move the last error messages to errors.h.
24652Files: src/errors.h, src/channel.c, src/clientserver.c, src/diff.c,
24653 src/evalfunc.c, src/evalvars.c, src/ex_cmds2.c, src/ex_docmd.c,
24654 src/gui_w32.c, src/help.c, src/if_mzsch.c, src/if_py_both.h,
24655 src/if_python.c, src/job.c, src/json.c, src/list.c, src/option.c,
24656 src/optionstr.c, src/quickfix.c, src/regexp.c, src/regexp_nfa.c,
24657 src/register.c, src/scriptfile.c, src/sign.c, src/syntax.c,
24658 src/tag.c, src/terminal.c, src/textprop.c, src/typval.c,
24659 src/undo.c, src/userfunc.c, src/vim9compile.c, src/viminfo.c
24660
24661Patch 8.2.4013
24662Problem: Build failure without the spell feature.
24663Solution: Adjust #ifdefs.
24664Files: src/errors.h
24665
24666Patch 8.2.4014
24667Problem: Git and gitcommit file types not properly recognized.
24668Solution: Adjust filetype detection. (Tim Pope, closes #9477)
24669Files: runtime/filetype.vim, runtime/scripts.vim,
24670 src/testdir/test_filetype.vim
24671
24672Patch 8.2.4015
24673Problem: Build failure with tiny features. (Tony Mechelynck)
24674Solution: Adjust #ifdefs.
24675Files: src/errors.h
24676
24677Patch 8.2.4016
24678Problem: Vim9: incorrect error for argument that is shadowing var.
24679Solution: Ignore variable that is not in block where the function was
24680 defined.
24681Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
24682
24683Patch 8.2.4017
24684Problem: Gcc warns for misleading indent in Athena menu code.
24685Solution: Add curlies around the two statements. (Dominique Pellé,
24686 closes #9480)
24687Files: src/gui_athena.c
24688
24689Patch 8.2.4018
24690Problem: ml_get error when win_execute redraws with Visual selection.
24691Solution: Disable Visual area temporarily. (closes #9479)
24692Files: src/evalwindow.c, src/proto/evalwindow.pro, src/structs.h,
24693 src/evalbuffer.c, src/proto/evalbuffer.pro, src/evalvars.c,
24694 src/if_py_both.h, src/evalfunc.c,
24695 src/testdir/test_execute_func.vim
24696
24697Patch 8.2.4019
24698Problem: Vim9: import mechanism is too complicated.
24699Solution: Do not use the Javascript mechanism but a much simpler one.
24700Files: runtime/doc/vim9.txt, src/vim9script.c, src/proto/vim9script.pro,
24701 src/errors.h, src/structs.h, src/eval.c, src/proto/eval.pro,
24702 src/evalvars.c, src/proto/evalvars.pro, src/userfunc.c,
24703 src/vim9expr.c, src/vim9compile.c, src/vim9execute.c,
24704 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_script.vim
24705
24706Patch 8.2.4020 (after 8.2.4019)
24707Problem: Debugger test fails.
24708Solution: Fix import statement.
24709Files: src/testdir/test_debugger.vim
24710
24711Patch 8.2.4021 (after 8.2.4019)
24712Problem: Missing part of the :import changes.
24713Solution: Add changes in vim9cmds.c.
24714Files: src/vim9cmds.c
24715
24716Patch 8.2.4022
24717Problem: Two error messages in the wrong file.
24718Solution: Use the error message from errors.h.
24719Files: src/popupwin.c, src/usercmd.c
24720
24721Patch 8.2.4023
24722Problem: Using uninitialized variable.
24723Solution: Initialize "ufunc" also when an item is not exported.
24724Files: src/vim9script.c
24725
24726Patch 8.2.4024
24727Problem: Confusing error message if imported name is used directly.
24728Solution: Give a better error message.
24729Files: src/eval.c, src/proto/eval.pro, src/evalvars.c, src/userfunc.c,
24730 src/testdir/test_vim9_script.vim
24731
24732Patch 8.2.4025
24733Problem: Error for import not ending in .vim does not work for .vimrc.
24734Solution: Check that .vim is the end. (closes #9484)
24735Files: src/vim9script.c, src/errors.h, src/testdir/test_vim9_script.vim
24736
24737Patch 8.2.4026
24738Problem: ml_get error with specific win_execute() command. (Sean Dewar)
24739Solution: Check cursor and Visual area are OK.
24740Files: src/evalwindow.c, src/testdir/test_execute_func.vim
24741
24742Patch 8.2.4027
24743Problem: Import test fails on MS-Windows.
24744Solution: Use a different directory name.
24745Files: src/testdir/test_vim9_script.vim
24746
24747Patch 8.2.4028
24748Problem: ml_get error with :doautoall and Visual area. (Sean Dewar)
24749Solution: Disable Visual mode while executing autocommands.
24750Files: src/structs.h, src/autocmd.c, src/testdir/test_autocmd.vim
24751
24752Patch 8.2.4029
24753Problem: Debugging NFA regexp my crash, cached indent may be wrong.
24754Solution: Fix some debug warnings in the NFA regexp code. Make sure log_fd
24755 is set when used. Fix breakindent and indent caching. (Christian
24756 Brabandt, closes #9482)
24757Files: src/indent.c, src/optionstr.c, src/regexp_nfa.c
24758
24759Patch 8.2.4030
24760Problem: A script local funcref is not found from a mapping.
24761Solution: When looking for a function, also find a script-local funcref.
24762 (closes #9485)
24763Files: src/evalvars.c, src/proto/evalvars.pro, src/userfunc.c,
24764 src/testdir/test_vim9_script.vim
24765
24766Patch 8.2.4031
24767Problem: Crash in xterm with only two lines. (Dominique Pellé)
24768Solution: Only perform xterm compatibility test if possible. (closes #9488)
24769Files: src/term.c, src/testdir/test_startup.vim
24770
24771Patch 8.2.4032
24772Problem: ATTRIBUTE_NORETURN is not needed.
24773Solution: Use NORETURN(). (Ozaki Kiichi, closes #9487)
24774Files: src/if_ruby.c, src/vim.h
24775
24776Patch 8.2.4033
24777Problem: Running filetype tests leaves directory behind.
24778Solution: Delete the top directory. (closes #9483)
24779Files: src/testdir/test_filetype.vim
24780
24781Patch 8.2.4034
24782Problem: Coverity warns for possibly using a NULL pointer.
24783Solution: Check v_partial is not NULL.
24784Files: src/vim9type.c
24785
24786Patch 8.2.4035
24787Problem: Timer triggered at the debug prompt may cause trouble.
24788Solution: Do not trigger any timer at the debug prompt. (closes #9481)
24789Files: src/time.c
24790
24791Patch 8.2.4036
24792Problem: Vim9: script test file is getting too long.
24793Solution: Split the import/export functionality to a separate file.
Bram Moolenaar47c532e2022-03-19 15:18:53 +000024794Files: src/testdir/test_vim9_script.vim, src/testdir/test_vim9_import.vim,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024795 src/testdir/Make_all.mak
24796
24797Patch 8.2.4037
24798Problem: Insert mode completion is insufficiently tested.
24799Solution: Add more tests. Fix uncovered memory leak. (Yegappan Lakshmanan,
24800 closes #9489)
24801Files: src/insexpand.c, src/testdir/test_ins_complete.vim
24802
24803Patch 8.2.4038
24804Problem: Various code not used when features are disabled.
24805Solution: Add #ifdefs. (Dominique Pellé, closes #9491)
24806Files: src/alloc.c, src/buffer.c, src/charset.c, src/clipboard.c,
24807 src/cmdhist.c, src/crypt.c, src/edit.c, src/eval.c,
24808 src/evalbuffer.c, src/evalfunc.c, src/ex_docmd.c, src/globals.h,
24809 src/gui_xim.c, src/hashtab.c, src/highlight.c, src/insexpand.c,
24810 src/main.c, src/mark.c, src/message.c, src/misc1.c, src/misc2.c,
24811 src/ops.c, src/option.c, src/option.h, src/optionstr.c,
24812 src/register.c, src/scriptfile.c, src/tag.c, src/term.c,
24813 src/typval.c, src/usercmd.c, src/userfunc.c, src/vim9script.c,
24814 src/vim9type.c
24815
24816Patch 8.2.4039
24817Problem: The xdiff library is linked in even when not used.
24818Solution: Use configure to decide whether xdiff object files are included.
24819Files: src/Makefile, src/config.mk.in, src/configure.ac,
24820 src/auto/configure, src/feature.h
24821
24822Patch 8.2.4040
24823Problem: Keeping track of allocated lines in user functions is too
24824 complicated.
24825Solution: Instead of freeing individual lines keep them all until the end.
24826Files: src/alloc.c, src/proto/alloc.pro, src/vim9compile.c,
24827 src/userfunc.c, src/proto/userfunc.pro, src/message.c,
24828 src/usercmd.c, src/viminfo.c, src/testdir/test_vim9_func.vim
24829
24830Patch 8.2.4041
Bram Moolenaar1588bc82022-03-08 21:35:07 +000024831Problem: Using uninitialized pointer.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024832Solution: Store "ht" when variable is in another script.
24833Files: src/evalvars.c
24834
24835Patch 8.2.4042
24836Problem: Vim9: build error.
24837Solution: Use grow array instead of character pointer.
24838Files: src/vim9execute.c
24839
24840Patch 8.2.4043
24841Problem: Using int for second argument of ga_init2().
Bram Moolenaar1588bc82022-03-08 21:35:07 +000024842Solution: Remove unnecessary type cast (int) when using sizeof().
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024843Files: src/arglist.c, src/channel.c, src/cmdexpand.c, src/dict.c,
24844 src/digraph.c, src/eval.c, src/evalfunc.c, src/evalvars.c,
24845 src/evalwindow.c, src/ex_docmd.c, src/fileio.c, src/filepath.c,
24846 src/findfile.c, src/fold.c, src/hardcopy.c, src/help.c,
24847 src/job.c, src/list.c, src/menu.c, src/os_win32.c, src/register.c,
24848 src/scriptfile.c, src/spellfile.c, src/spellsuggest.c,
24849 src/strings.c, src/syntax.c, src/tag.c, src/terminal.c,
24850 src/undo.c, src/usercmd.c, src/userfunc.c, src/vim9execute.c,
24851 src/viminfo.c, src/window.c, src/if_py_both.h
24852
24853Patch 8.2.4044
24854Problem: Vim9: no error when importing the same script twice.
24855Solution: Give an error, unless it is a reload.
24856Files: src/vim9script.c, src/errors.h, src/testdir/test_vim9_import.vim
24857
24858Patch 8.2.4045
24859Problem: Some global functions are only used in one file.
24860Solution: Make the functions static. (Yegappan Lakshmanan, closes #9492)
24861Files: src/ex_getln.c, src/highlight.c, src/proto/ex_getln.pro,
24862 src/proto/highlight.pro, src/proto/vim9compile.pro,
24863 src/proto/vim9instr.pro, src/proto/window.pro, src/vim9compile.c,
24864 src/vim9instr.c, src/window.c
24865
24866Patch 8.2.4046
24867Problem: Some error messages not in the right place.
24868Solution: Adjust the errors file. Fix typo.
24869Files: src/errors.h, src/regexp_bt.c, src/typval.c,
24870
24871Patch 8.2.4047
24872Problem: Depending on the build features error messages are unused.
24873Solution: Add #ifdefs. (Dominique Pellé, closes #9493)
24874Files: src/errors.h
24875
24876Patch 8.2.4048
24877Problem: gcc complains about use of "%p" in printf.
24878Solution: Add (void *) typecast. (Dominique Pellé, closes #9494)
24879Files: src/if_py_both.h
24880
24881Patch 8.2.4049
24882Problem: Vim9: reading before the start of the line with "$" by itself.
24883Solution: Do not subtract one when reporting the error.
24884Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim
24885
24886Patch 8.2.4050
24887Problem: Vim9: need to prefix every item in an autoload script.
24888Solution: First step in supporting "vim9script autoload" and "import
24889 autoload".
24890Files: runtime/doc/repeat.txt, runtime/doc/vim9.txt, src/structs.h,
24891 src/errors.h, src/vim9script.c, src/scriptfile.c,
24892 src/proto/scriptfile.pro, src/userfunc.c, src/eval.c,
24893 src/evalvars.c, src/vim9compile.c, src/proto/vim9compile.pro,
24894 src/vim9expr.c, src/testdir/test_vim9_script.vim
24895
24896Patch 8.2.4051
24897Problem: Compiler complains about possibly uninitialized variable.
24898Solution: Add code to avoid a compiler warning. (John Marriott)
24899Files: src/scriptfile.c
24900
24901Patch 8.2.4052
24902Problem: Not easy to resize a window from a plugin.
24903Solution: Add win_move_separator() and win_move_statusline() functions.
24904 (Daniel Steinberg, closes #9486)
24905Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
24906 src/evalwindow.c, src/proto/evalwindow.pro,
24907 src/testdir/test_window_cmd.vim
24908
24909Patch 8.2.4053
24910Problem: Vim9: autoload mechanism doesn't fully work yet.
24911Solution: Define functions and variables with their autoload name, add the
24912 prefix when calling a function, find the variable in the table of
24913 script variables.
24914Files: src/structs.h, src/scriptfile.c, src/proto/scriptfile.pro,
24915 src/vim9script.c, src/proto/vim9script.pro, src/userfunc.c,
24916 src/evalvars.c, src/testdir/test_vim9_script.vim
24917
24918Patch 8.2.4054 (after 8.2.4053)
24919Problem: Vim9 script test fails.
24920Solution: Add missing change.
24921Files: src/vim9compile.c
24922
24923Patch 8.2.4055
24924Problem: Vim9: line break in expression causes v:errmsg to be filled.
24925 (Yegappan Lakshmanan)
24926Solution: Do not give an error when skipping over an expression.
24927Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
24928
24929Patch 8.2.4056
24930Problem: Vim9: memory leak when exporting function in autoload script.
24931Solution: Free the name if replacing it.
24932Files: src/scriptfile.c
24933
24934Patch 8.2.4057
24935Problem: Vim9: not fully implementing the autoload mechanism.
24936Solution: Allow for exporting a legacy function. Improve test coverage.
24937Files: src/vim9script.c, src/testdir/test_vim9_import.vim,
24938 src/testdir/test_vim9_script.vim
24939
24940Patch 8.2.4058
24941Problem: Vim9: import test failure in wrong line.
24942Solution: Adjust line number.
24943Files: src/testdir/test_vim9_import.vim
24944
24945Patch 8.2.4059
24946Problem: Vim9: an expression of a map cannot access script-local items.
24947 (Maxim Kim)
24948Solution: Use the script ID of where the map was defined.
24949Files: src/getchar.c, src/map.c, src/proto/map.pro,
24950 src/testdir/test_vim9_import.vim
24951
24952Patch 8.2.4060
24953Problem: win_execute() is slow on systems where getcwd() or chdir() is
24954 slow. (Rick Howe)
24955Solution: Avoid using getcwd() and chdir() if no local directory is used and
24956 'acd' is not set. (closes #9504)
24957Files: src/evalwindow.c
24958
24959Patch 8.2.4061
24960Problem: Codecov bash script is deprecated.
24961Solution: Use the codecov action. (Ozaki Kiichi, closes #9505)
24962Files: .github/workflows/ci.yml
24963
24964Patch 8.2.4062
24965Problem: Match highlighting of tab too short.
24966Solution: Do not stop match highlighting if on a Tab. (Christian Brabandt,
24967 closes #9507, closes #9500)
24968Files: src/drawline.c, src/testdir/test_match.vim,
24969 src/testdir/dumps/Test_match_tab_linebreak.dump
24970
24971Patch 8.2.4063
24972Problem: Vim9: exported function in autoload script not found. (Yegappan
24973 Lakshmanan)
24974Solution: Use the autoload prefix to search for the function.
24975Files: src/userfunc.c, src/testdir/test_vim9_import.vim
24976
24977Patch 8.2.4064
24978Problem: Foam files are not detected.
24979Solution: Detect the foam filetype by the path and file contents. (Mohammed
24980 Elwardi Fadeli, closes #9501)
24981Files: runtime/filetype.vim, runtime/autoload/dist/ft.vim,
24982 src/testdir/test_filetype.vim
24983
24984Patch 8.2.4065
24985Problem: Computation overflow with large count for :yank.
24986Solution: Avoid an overflow.
24987Files: src/ex_docmd.c, src/testdir/test_excmd.vim
24988
24989Patch 8.2.4066
24990Problem: Vim9: imported autoload script loaded again.
24991Solution: Do not create a new imported_T every time.
24992Files: src/vim9script.c, src/vim9compile.c,
24993 src/testdir/test_vim9_import.vim
24994
24995Patch 8.2.4067
24996Problem: Vim9: cannot call imported function with :call. (Drew Vogel)
24997Solution: Translate the function name. (closes #9510)
24998Files: src/userfunc.c, src/testdir/test_vim9_import.vim
24999
25000Patch 8.2.4068 (after 8.2.4066)
25001Problem: Vim9: import test fails.
25002Solution: Add missing change.
25003Files: src/scriptfile.c
25004
25005Patch 8.2.4069
25006Problem: Vim9: import test fails on MS-Windows.
25007Solution: Ignore case. Adjust test to avoid name that only differs in case.
25008Files: src/eval.c, src/scriptfile.c, src/testdir/test_vim9_import.vim
25009
25010Patch 8.2.4070
25011Problem: Using uninitialized memory when reading empty file.
25012Solution: Check for empty file before checking for NL. (Dominique Pellé,
25013 closes #9511)
25014Files: src/filepath.c, src/testdir/test_eval_stuff.vim
25015
25016Patch 8.2.4071
25017Problem: Vim9: no detection of return in try/endtry. (Dominique Pellé)
25018Solution: Check if any of the blocks inside try/endtry did not end in
25019 return.
25020Files: src/vim9.h, src/vim9compile.c, src/vim9cmds.c,
25021 src/testdir/test_vim9_script.vim
25022
25023Patch 8.2.4072
25024Problem: Vim9: compiling function fails when autoload script is not loaded
25025 yet.
25026Solution: Depend on runtime loading.
25027Files: src/vim9expr.c, src/vim9script.c, src/vim9instr.c,
25028 src/vim9execute.c, src/testdir/test_vim9_import.vim
25029
25030Patch 8.2.4073
25031Problem: Coverity warns for using NULL pointer.
25032Solution: Bail out when running out of memory. Check for running over end of
25033 a string.
25034Files: src/userfunc.c,
25035
25036Patch 8.2.4074
25037Problem: Going over the end of NameBuff.
25038Solution: Check length when appending a space.
25039Files: src/drawscreen.c, src/testdir/test_edit.vim
25040
25041Patch 8.2.4075 (after 8.2.4073)
25042Problem: Test failures.
25043Solution: Change check for NULL pointer.
25044Files: src/userfunc.c
25045
25046Patch 8.2.4076
25047Problem: Memory leak in autoload import.
25048Solution: Do not overwrite the autoload prefix.
25049Files: src/vim9script.c
25050
25051Patch 8.2.4077
25052Problem: Not all Libsensors files are recognized.
25053Solution: Add "sensors.d/*" pattern. (Doug Kearns)
25054Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25055
25056Patch 8.2.4078
25057Problem: Terminal test for current directory not used on FreeBSD.
25058Solution: Make it work on FreeBSD. (Ozaki Kiichi, closes #9516) Add
25059 TermWait() inside Run_shell_in_terminal() as a generic solution.
25060Files: src/testdir/test_terminal3.vim, src/testdir/term_util.vim,
25061 src/testdir/test_terminal.vim, src/testdir/test_terminal2.vim,
25062 src/testdir/test_mapping.vim
25063
25064Patch 8.2.4079
25065Problem: MS-Windows: "gvim --version" didn't work when build with VIMDLL.
25066Solution: Adjust #ifdef. (Ken Takata, closes #9517)
25067Files: src/main.c
25068
25069Patch 8.2.4080
25070Problem: Not sufficient test coverage for xxd.
25071Solution: Add a few more test cases. (Erki Auerswald, closes #9515)
25072Files: src/testdir/test_xxd.vim
25073
25074Patch 8.2.4081
25075Problem: CodeQL reports problem in if_cscope causing it to fail.
25076Solution: Use execvp() instead of execl(). Merge the header file into the
25077 source file. (Ozaki Kiichi, closes #9519)
25078Files: Filelist, src/Make_cyg_ming.mak, src/Make_mvc.mak,
25079 src/Make_vms.mms, src/Makefile, src/if_cscope.c, src/if_cscope.h,
25080 src/testdir/test_cscope.vim
25081
25082Patch 8.2.4082
25083Problem: Check for autoload file name and prefix fails. (Christian J.
25084 Robinson)
25085Solution: Only lower case the prefix on systems where the file name is not
25086 case sensitive.
25087Files: src/scriptfile.c, src/testdir/test_vim9_import.vim
25088
25089Patch 8.2.4083
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025090Problem: Vim9: no test for "vim9script autoload" and using script variable
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025091 in the same script.
25092Solution: Add a simple test. Fix uncovered problem.
25093Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25094
25095Patch 8.2.4084
25096Problem: Memory leak when looking for autoload prefixed variable.
25097Solution: Free the concatenated string.
25098Files: src/evalvars.c
25099
25100Patch 8.2.4085
25101Problem: Vim9: no test for using import in legacy script.
25102Solution: Add a test.
25103Files: src/testdir/test_vim9_import.vim
25104
25105Patch 8.2.4086
25106Problem: "cctx" argument of find_func_even_dead() is unused.
25107Solution: Remove the argument.
25108Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9compile.c,
25109 src/vim9instr.c, src/evalfunc.c, src/evalvars.c, src/testing.c,
25110 src/vim9execute.c, src/vim9expr.c, src/vim9script.c,
25111 src/vim9type.c
25112
25113Patch 8.2.4087
25114Problem: Cannot test items from an autoload script easily.
25115Solution: Add the "autoload" value for test_override().
25116Files: runtime/doc/testing.txt, src/testing.c, src/globals.h,
25117 src/vim9script.c, src/testdir/test_vim9_import.vim
25118
25119Patch 8.2.4088
25120Problem: Xxd cannot output everything in one line.
25121Solution: Make zero columns mean infinite columns. (Erik Auerswald,
25122 closes #9524)
25123Files: runtime/doc/xxd.1, runtime/doc/xxd.man, src/testdir/test_xxd.vim,
25124 src/xxd/xxd.c
25125
25126Patch 8.2.4089 (after 8.2.4078)
25127Problem: Terminal test for current directory fails on FreeBSD.
25128Solution: Skip the test.
25129Files: src/testdir/test_terminal3.vim
25130
25131Patch 8.2.4090
25132Problem: After restoring a session buffer order can be quite different.
25133Solution: Create buffers first. (Evgeni Chasnovski, closes #9520)
25134Files: src/session.c, src/testdir/test_mksession.vim
25135
25136Patch 8.2.4091
25137Problem: Virtcol is recomputed for statusline unnecessarily.
25138Solution: Just use "w_virtcol". (closes #9523)
25139Files: src/buffer.c, src/testdir/test_statusline.vim
25140
25141Patch 8.2.4092
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025142Problem: macOS CI: unnecessarily doing "Install packages".
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025143Solution: Only do "Install packages" for huge build. (Ozaki Kiichi,
25144 closes #9521)
25145Files: .github/workflows/ci.yml
25146
25147Patch 8.2.4093
25148Problem: Cached breakindent values not initialized properly.
25149Solution: Initialize and cache formatlistpat. (Christian Brabandt,
25150 closes #9526, closes #9512)
25151Files: runtime/doc/options.txt, src/indent.c, src/option.c,
25152 src/proto/option.pro, src/testdir/test_breakindent.vim
25153
25154Patch 8.2.4094
25155Problem: 'virtualedit' is window-local but using buffer-local enum.
25156Solution: Use window-local enum. (closes #9529)
25157Files: src/option.h, src/optiondefs.h
25158
25159Patch 8.2.4095
25160Problem: Sed script not recognized by the first line.
25161Solution: Recognize a sed script starting with "#n". (Doug Kearns)
25162Files: runtime/scripts.vim, src/testdir/test_filetype.vim
25163
25164Patch 8.2.4096
25165Problem: Linux CI: unnecessarily installing packages
25166Solution: Only install packages for huge build. (Ozaki Kiichi,
25167 closes #9530)
25168Files: .github/workflows/ci.yml
25169
25170Patch 8.2.4097
25171Problem: Wrong number in error message on 32 bit system. (John Paul Adrian
25172 Glaubitz)
25173Solution: Add type cast. (closes #9527)
25174Files: src/vim9compile.c
25175
25176Patch 8.2.4098
25177Problem: Typing "interrupt" at debug prompt may keep exception around,
25178 causing function calls to fail.
25179Solution: Discard any exception at the toplevel. (closes #9532)
25180Files: src/main.c
25181
25182Patch 8.2.4099
25183Problem: Vim9: cannot use Vim9 syntax in mapping.
25184Solution: Add <ScriptCmd> to use the script context for a command.
25185Files: runtime/doc/map.txt, src/normal.c, src/getchar.c,
25186 src/proto/getchar.pro, src/ex_getln.c, src/edit.c, src/terminal.c,
25187 src/keymap.h, src/insexpand.c, src/misc2.c, src/ops.c,
25188 src/testdir/test_vim9_import.vim
25189
25190Patch 8.2.4100
25191Problem: Early return when getting the 'formatlistpat' value.
25192Solution: Remove the first line. (Christian Brabandt)
25193Files: src/option.c, src/testdir/test_breakindent.vim
25194
25195Patch 8.2.4101
25196Problem: Warning for unused argument in tiny version.
25197Solution: Add "UNUSED".
25198Files: src/getchar.c
25199
25200Patch 8.2.4102
25201Problem: Vim9: import cannot be used after method.
25202Solution: Recognize an imported function name. (closes #9496)
25203Files: src/eval.c, src/testdir/test_vim9_import.vim
25204
25205Patch 8.2.4103
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025206Problem: Vim9: variable declared in for loop not initialized.
25207Solution: Always initialize the variable. (closes #9535)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025208Files: src/vim9instr.c, src/proto/vim9instr.pro, src/vim9compile.c,
25209 src/testdir/test_vim9_assign.vim
25210
25211Patch 8.2.4104
25212Problem: Vim9: lower casing the autoload prefix causes problems.
25213Solution: Always store the prefix with case preserved.
25214Files: src/scriptfile.c, src/testdir/test_vim9_import.vim
25215
25216Patch 8.2.4105
25217Problem: Translation related comment in the wrong place.
25218Solution: Move it back with the text. (Ken Takata, closes #9537)
25219Files: src/errors.h, src/ex_docmd.c
25220
25221Patch 8.2.4106
25222Problem: Going over the end of the w_lines array.
25223Solution: Break out of the loop when "idx" is too big. (issue #9540)
25224Files: src/drawscreen.c
25225
25226Patch 8.2.4107
25227Problem: Script context not restored after using <ScriptCmd>.
25228Solution: Also restore context when not in a script. (closes #9536)
25229 Add the 'c' flag to feedkeys() to be able to test this.
25230Files: runtime/doc/builtin.txt, src/getchar.c, src/evalfunc.c,
25231 src/testdir/test_mapping.vim
25232
25233Patch 8.2.4108
25234Problem: Going over the end of the w_lines array.
25235Solution: Check not going over the end and limit to Rows. (issue #9540)
25236Files: src/drawscreen.c
25237
25238Patch 8.2.4109
25239Problem: MS-Windows: high dpi support is outdated.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025240Solution: Improve High DPI support by using PerMonitorV2. (Ken Takata
25241 closes #9525, closes #3102)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025242Files: src/gui.c, src/gui.h, src/gui_w32.c, src/vim.manifest
25243
25244Patch 8.2.4110
25245Problem: Coverity warns for using NULL pointer.
25246Solution: Check "evalarg" is not NULL. Skip errors when "verbose" is false.
25247Files: src/eval.c
25248
25249Patch 8.2.4111
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025250Problem: Potential problem when map is deleted while executing.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025251Solution: Reset last used map pointer when deleting a mapping.
25252Files: src/map.c
25253
25254Patch 8.2.4112
25255Problem: Function not deleted at end of test.
25256Solution: Delete the function.
25257Files: src/testdir/test_diffmode.vim
25258
25259Patch 8.2.4113
25260Problem: Typo on DOCMD_RANGEOK results in not recognizing command.
25261Solution: Correct the typo. (closes #9539)
25262Files: src/vim.h, src/testdir/test_mapping.vim
25263
25264Patch 8.2.4114
25265Problem: Vim9: type checking for a funcref does not work for when it is
25266 used in a method.
25267Solution: Pass the base to where the type is checked.
25268Files: src/vim9type.c, src/proto/vim9type.pro, src/userfunc.c,
25269 src/testdir/test_vim9_expr.vim
25270
25271Patch 8.2.4115
25272Problem: Cannot use a method with a complex expression.
25273Solution: Evaluate the expression after "->" and use the result.
25274Files: src/eval.c, src/errors.h, src/testdir/test_vim9_expr.vim
25275
25276Patch 8.2.4116
25277Problem: Vim9: cannot use a method with a complex expression in a :def
25278 function.
25279Solution: Implement compiling the expression.
25280Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim
25281
25282Patch 8.2.4117
25283Problem: Vim9: wrong white space error after using imported item.
25284Solution: Don't skip over white space. (closes #9544)
25285Files: src/eval.c, src/testdir/test_vim9_import.vim
25286
25287Patch 8.2.4118
25288Problem: Using UNUSED for argument that is used.
25289Solution: Remove UNUSED.
25290Files: src/usercmd.c
25291
25292Patch 8.2.4119
25293Problem: Build failure when disabling the channel feature.
25294Solution: Adjust #ifdef. (Dominique Pellé, closes #9545)
25295Files: src/misc2.c
25296
25297Patch 8.2.4120
25298Problem: Block insert goes over the end of the line.
25299Solution: Handle invalid byte better. Fix inserting the wrong text.
25300Files: src/ops.c, src/testdir/test_visual.vim
25301
25302Patch 8.2.4121
25303Problem: Visual test fails on MS-Windows.
25304Solution: Set 'isprint' so that the character used is not printable.
25305Files: src/testdir/test_visual.vim
25306
25307Patch 8.2.4122
25308Problem: ":command Cmd" does not show custom completion argument.
25309Solution: Show the completion argument when using ":verbose".
25310Files: src/usercmd.c, src/testdir/test_usercommands.vim
25311
25312Patch 8.2.4123
25313Problem: Complete function cannot be import.Name.
25314Solution: Dereference the function name if needed. Also: do not see
25315 "import.Name" as a builtin function. (closes #9541)
25316Files: src/userfunc.c, src/eval.c, src/testdir/test_vim9_import.vim
25317
25318Patch 8.2.4124
25319Problem: Vim9: method in compiled function may not see script item.
25320Solution: Make sure not to skip to the next line. (closes #9496)
25321Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim
25322
25323Patch 8.2.4125
25324Problem: Completion tests fail.
25325Solution: Disable error messages while dereferencing the function name.
25326Files: src/eval.c
25327
25328Patch 8.2.4126
25329Problem: Crash on exit when built with dynamic Tcl and EXITFREE is defined.
25330 (Dominique Pellé)
25331Solution: Only call Tcl_Finalize() when initialized. (closes #9546)
25332Files: src/if_tcl.c
25333
25334Patch 8.2.4127
25335Problem: Build failure without the +eval feature.
25336Solution: Add #ifdef.
25337Files: src/usercmd.c
25338
25339Patch 8.2.4128
25340Problem: Crash when method cannot be found. (Christian J. Robinson)
25341Solution: Don't mix up pointer names.
25342Files: src/eval.c, src/testdir/test_vim9_expr.vim
25343
25344Patch 8.2.4129
25345Problem: Building with +sound but without +eval fails. (Dominique Pellé)
25346Solution: Disable canberra in tiny and small build. (closes #9548)
25347Files: src/configure.ac, src/auto/configure
25348
25349Patch 8.2.4130
25350Problem: MS-Windows: MSVC build may have libraries duplicated.
25351Solution: Improve the MSVC Makefile. (Ken Takata, closes #9547)
25352Files: src/Make_mvc.mak
25353
25354Patch 8.2.4131
25355Problem: Vim9: calling function in autoload import does not work in a :def
25356 function.
25357Solution: When a variable is not found and a PCALL follows use a funcref.
25358 (closes #9550)
25359Files: src/vim9execute.c, src/testdir/test_vim9_import.vim
25360
25361Patch 8.2.4132
25362Problem: Vim9: wrong error message when autoload script can't be found.
25363Solution: Correct check for using autoload with wrong name.
25364Files: src/vim9script.c, src/testdir/test_vim9_import.vim
25365
25366Patch 8.2.4133
25367Problem: output of ":scriptnames" goes into the message history, while this
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025368 does not happen for other commands, such as ":ls".
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025369Solution: Use msg_outtrans() instead of smsg(). (closes #9551)
25370Files: src/scriptfile.c, src/testdir/test_scriptnames.vim
25371
25372Patch 8.2.4134
25373Problem: MS-Windows: test for import with absolute path fails.
25374Solution: Handle path starting with slash as an absolute path.
25375Files: src/vim9script.c
25376
25377Patch 8.2.4135
25378Problem: Vim9: ":scriptnames" shows unloaded imported autoload script.
25379Solution: Mark the unloaded script with "A". (closes #9552)
25380Files: runtime/doc/repeat.txt, src/scriptfile.c,
25381 src/testdir/test_vim9_import.vim
25382
25383Patch 8.2.4136
25384Problem: Vim9: the "autoload" argument of ":vim9script" is not useful.
25385Solution: Remove the argument. (closes #9555)
25386Files: runtime/doc/vim9.txt, runtime/doc/repeat.txt, src/vim9script.c,
25387 src/errors.h, src/testdir/test_vim9_import.vim
25388
25389Patch 8.2.4137
25390Problem: Vim9: calling import with and without method is inconsistent.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025391Solution: Set a flag that a parenthesis follows to compile_load_scriptvar().
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025392 Add some more tests. Improve error message.
25393Files: src/vim9expr.c, src/vim9execute.c, src/vim9script.c,
25394 src/testdir/test_vim9_import.vim
25395
25396Patch 8.2.4138
25397Problem: Vim9: no error for return with argument when the function does not
25398 return anything.
25399Solution: Give an error for the invalid argument. (issue #9497)
25400Files: src/vim9cmds.c, src/testdir/test_vim9_func.vim
25401
25402Patch 8.2.4139
25403Problem: Using freed memory if an expression abbreviation deletes the
25404 abbreviation.
25405Solution: Do not access the pointer after evaluating the expression.
25406Files: src/map.c, src/testdir/test_mapping.vim
25407
25408Patch 8.2.4140
25409Problem: maparg() does not indicate the type of script where it was defined.
25410Solution: Add "scriptversion".
25411Files: runtime/doc/builtin.txt, src/map.c, src/testdir/test_maparg.vim
25412
25413Patch 8.2.4141 (after 8.2.4140)
25414Problem: Vim9 builtin functions test fails.
25415Solution: Add "scriptversion" item to maparg() result.
25416Files: src/testdir/test_vim9_builtin.vim
25417
25418Patch 8.2.4142
25419Problem: Build failure with normal features without persistent undo.
25420Solution: Adjust #ifdef. (closes #9557)
25421Files: src/fileio.c
25422
25423Patch 8.2.4143
25424Problem: MS-Windows: IME support for Win9x is obsolete.
25425Solution: Remove the Win9x code. (Ken Takata, closes #9559)
25426Files: src/gui_w32.c
25427
25428Patch 8.2.4144
25429Problem: Cannot load libsodium dynamically.
25430Solution: Support dynamic loading on MS-Windows. (Ken Takata, closes #9554)
25431Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/buffer.c,
25432 src/crypt.c, src/memline.c, src/proto/crypt.pro
25433
25434Patch 8.2.4145
25435Problem: Confusing error when using name of import for a function.
25436Solution: Pass a flag to trans_function_name().
25437Files: src/vim.h, src/userfunc.c, src/proto/userfunc.pro, src/eval.c,
25438 src/testdir/test_vim9_import.vim
25439
25440Patch 8.2.4146
25441Problem: Vim9: shadowed function can be used in compiled function but not
25442 at script level.
25443Solution: Also give an error in a compiled function. (closes #9563)
25444Files: src/vim9expr.c
25445
25446Patch 8.2.4147
25447Problem: E464 does not always include the offending command.
25448Solution: Add another error message with "%s". (closes #9564)
25449Files: src/errors.h, src/vim9compile.c, src/ex_docmd.c,
25450 src/testdir/test_vim9_script.vim
25451
25452Patch 8.2.4148
25453Problem: Deleting any mapping may cause <ScriptCmd> to not set the script
25454 context.
25455Solution: Only reset last_used_map if it is the deleted mapping.
25456 (closes #9568)
25457Files: src/map.c, src/getchar.c, src/proto/getchar.pro,
25458 src/testdir/test_mapping.vim
25459
25460Patch 8.2.4149
25461Problem: Test override not restored, autocommand left behind.
25462Solution: Correct restoring test override. Delete autocommand afterwards.
25463Files: src/testdir/test_autocmd.vim, src/testdir/test_mapping.vim
25464
25465Patch 8.2.4150
25466Problem: Coverity warns for using pointer after free.
25467Solution: Swap statements, even though using the pointer is no problem.
25468Files: src/map.c
25469
25470Patch 8.2.4151
25471Problem: Reading beyond the end of a line.
25472Solution: For block insert only use the offset for correcting the length.
25473Files: src/ops.c, src/testdir/test_visual.vim
25474
25475Patch 8.2.4152
25476Problem: Block insert with double wide character fails.
25477Solution: Adjust the expected output.
25478Files: src/testdir/test_utf8.vim
25479
25480Patch 8.2.4153
25481Problem: MS-Windows: Global IME is no longer supported.
25482Solution: Remove the Global IME implementation. (Ken Takata, closes #9562)
25483Files: Filelist, runtime/doc/mbyte.txt, src/Make_mvc.mak, src/dimm.idl,
25484 src/glbl_ime.cpp, src/glbl_ime.h, src/gui_w32.c, src/vim.h
25485
25486Patch 8.2.4154
25487Problem: ml_get error when exchanging windows in Visual mode.
25488Solution: Correct end of Visual area when entering another buffer.
25489Files: src/window.c, src/testdir/test_visual.vim
25490
25491Patch 8.2.4155
25492Problem: Translating strftime() argument results in check error.
25493Solution: Add gettext comment.
25494Files: src/time.c
25495
25496Patch 8.2.4156
25497Problem: Fileinfo message overwrites echo'ed message.
25498Solution: Reset need_fileinfo when displaying a message. (Rob Pilling,
25499 closes #9569)
25500Files: src/message.c, src/testdir/test_messages.vim,
25501 src/testdir/dumps/Test_fileinfo_after_echo.dump
25502
25503Patch 8.2.4157
25504Problem: Terminal test fails because Windows sets the title.
25505Solution: Add the "vterm_title" testing override and use it in the test.
25506 (Ozaki Kiichi, closes #9556)
25507Files: runtime/doc/testing.txt, src/globals.h, src/terminal.c,
25508 src/testing.c, src/testdir/test_terminal.vim
25509
25510Patch 8.2.4158
25511Problem: MS-Windows: memory leak in :browse.
25512Solution: Free stuff before returning. (Ken Takata, closes #9574)
25513Files: src/gui_w32.c
25514
25515Patch 8.2.4159
25516Problem: MS-Windows: _WndProc() is very long.
25517Solution: Move code to separate functions. (Ken Takata, closes #9573)
25518Files: src/gui_w32.c
25519
25520Patch 8.2.4160
25521Problem: Cannot change the register used for Select mode delete.
25522Solution: Make CTRL-R set the register to be used when deleting text for
25523 Select mode. (Shougo Matsushita, closes #9531)
25524Files: runtime/doc/visual.txt, src/globals.h, src/normal.c, src/ops.c,
25525 src/testdir/test_selectmode.vim
25526
25527Patch 8.2.4161
25528Problem: Vim9: warning for missing white space after imported variable.
25529Solution: Do not skip white space. (closes #9567)
25530Files: src/vim9expr.c, src/testdir/test_vim9_import.vim
25531
25532Patch 8.2.4162
25533Problem: Vim9: no error for redefining function with export.
25534Solution: Check for existing function with/without prefix. (closes #9577)
25535Files: src/userfunc.c, src/scriptfile.c, src/testdir/test_vim9_import.vim
25536
25537Patch 8.2.4163
25538Problem: No error for omitting function name after autoload prefix.
25539Solution: Check for missing function name. (issue #9577)
25540Files: src/userfunc.c, src/testdir/test_vim9_import.vim
25541
25542Patch 8.2.4164 (after 8.2.4162)
25543Problem: Error in legacy code for function shadowing variable.
25544Solution: Only give the error in Vim9 script.
25545Files: src/userfunc.c
25546
25547Patch 8.2.4165
25548Problem: The nv_g_cmd() function is too long.
25549Solution: Move code to separate functions. (Yegappan Lakshmanan,
25550 closes #9576)
25551Files: src/normal.c
25552
25553Patch 8.2.4166
25554Problem: Undo synced when switching buffer in another window.
25555Solution: Do not sync undo when not needed. (closes #9575)
25556Files: src/buffer.c, src/testdir/test_timers.vim
25557
25558Patch 8.2.4167
25559Problem: Vim9: error message for old style import.
25560Solution: Use another error message. Add a test.
25561Files: src/evalvars.c, src/errors.h, src/testdir/test_vim9_import.vim
25562
25563Patch 8.2.4168 (after 8.2.4163)
25564Problem: Disallowing empty function name breaks existing plugins.
25565Solution: Allow empty function name in legacy script.
25566Files: src/userfunc.c, src/testdir/test_autoload.vim,
25567 src/testdir/sautest/autoload/foo.vim
25568
25569Patch 8.2.4169
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025570Problem: MS-Windows: unnecessary casts and other minor things.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025571Solution: Clean up the MS-Windows code. (Ken Takata, closes #9583)
25572Files: src/gui_w32.c
25573
25574Patch 8.2.4170
25575Problem: MS-Windows: still using old message API calls.
25576Solution: Call the "W" functions directly. (Ken Takata, closes #9582)
25577Files: src/gui_w32.c, src/os_mswin.c, src/os_win32.c, src/os_win32.h
25578
25579Patch 8.2.4171
25580Problem: Cannot invoke option function using autoload import.
25581Solution: Expand the import to an autoload function name. (closes #9578)
25582Files: src/userfunc.c, src/evalvars.c, src/proto/evalvars.pro,
25583 src/option.c, src/testdir/test_vim9_import.vim
25584
25585Patch 8.2.4172
25586Problem: Filetype detection for BASIC is not optimal.
25587Solution: Improve BASIC filetype detection. (Doug Kearns)
25588Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
25589 src/testdir/test_filetype.vim
25590
25591Patch 8.2.4173
25592Problem: Cannot use an import in 'foldexpr'.
25593Solution: Set the script context to where 'foldexpr' was set. (closes #9584)
25594 Fix that the script context was not set for all buffers.
25595Files: src/eval.c, src/proto/eval.pro, src/fold.c, src/structs.h,
25596 src/option.c, src/testdir/test_vim9_import.vim
25597
25598Patch 8.2.4174
25599Problem: Vim9: can use an autoload name in normal script.
25600Solution: Disallow using an autoload name.
25601Files: src/userfunc.c, src/errors.h, src/testdir/test_vim9_import.vim
25602
25603Patch 8.2.4175
25604Problem: MS-Windows: runtime check for multi-line balloon is obsolete.
25605Solution: Remove the obsolete code. (Ken Takata, closes #9592)
25606Files: src/evalfunc.c, src/gui_w32.c, src/proto/gui_w32.pro
25607
25608Patch 8.2.4176
25609Problem: Vim9: cannot use imported function with call().
25610Solution: Translate the function name. (closes #9590)
25611Files: src/evalfunc.c, src/testdir/test_vim9_import.vim
25612
25613Patch 8.2.4177
25614Problem: Vim9: autoload script not loaded after "vim9script noclear".
25615Solution: Check IMP_FLAGS_AUTOLOAD properly. (closes #9593)
25616Files: src/vim9compile.c, src/testdir/test_vim9_import.vim
25617
25618Patch 8.2.4178
25619Problem: Vim9: invalid error for return type of lambda when debugging.
25620Solution: Do not check the return type of a lambda. (closes #9589)
25621Files: src/vim9cmds.c
25622
25623Patch 8.2.4179
25624Problem: 'foldtext' is evaluated in the current script context.
25625Solution: Use the script context where the option was set.
25626Files: src/fold.c, src/buffer.c, src/eval.c, src/proto/eval.pro,
25627 src/findfile.c, src/testdir/test_vim9_import.vim
25628
25629Patch 8.2.4180
25630Problem: 'balloonexpr' is evaluated in the current script context.
25631Solution: Use the script context where the option was set.
25632Files: src/beval.c, src/option.c, src/proto/option.pro,
25633 src/testdir/test_balloon.vim,
25634 src/testdir/dumps/Test_balloon_eval_term_01.dump,
25635 src/testdir/dumps/Test_balloon_eval_term_01a.dump,
25636 src/testdir/dumps/Test_balloon_eval_term_02.dump
25637
25638Patch 8.2.4181
25639Problem: Vim9: cannot use an import in 'diffexpr'.
25640Solution: Set the script context when evaluating 'diffexpr'. Do not require
25641 'diffexpr' to return a bool, it was ignored anyway.
25642Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25643
25644Patch 8.2.4182 (after 8.2.4182)
25645Problem: Memory leak when evaluating 'diffexpr'.
25646Solution: Use free_tv() instead of clear_tv().
25647Files: src/evalvars.c
25648
25649Patch 8.2.4183
25650Problem: Cannot use an import in 'formatexpr'.
25651Solution: Set the script context when evaluating 'formatexpr'.
25652Files: src/textformat.c, src/testdir/test_vim9_import.vim
25653
25654Patch 8.2.4184
25655Problem: Cannot use an import in 'includeexpr'.
25656Solution: Set the script context when evaluating 'includeexpr'
25657Files: src/findfile.c, src/testdir/test_vim9_import.vim
25658
25659Patch 8.2.4185
25660Problem: Cannot use an import in 'indentexpr'.
25661Solution: Set the script context when evaluating 'indentexpr'
25662Files: src/indent.c, src/testdir/test_vim9_import.vim
25663
25664Patch 8.2.4186
25665Problem: Cannot use an import in 'patchexpr'.
25666Solution: Set the script context when evaluating 'patchexpr'. Do not
25667 require 'patchexpr' to return a bool, it was ignored anyway.
25668Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25669
25670Patch 8.2.4187
25671Problem: Gnuplot file not recognized.
25672Solution: Recognize ".gnuplot". (closes #9588)
25673Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25674
25675Patch 8.2.4188
25676Problem: Not all gitconfig files are recognized.
25677Solution: Add a few more patterns. (Tim Pope, closes #9597)
25678Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25679
25680Patch 8.2.4189
25681Problem: MS-Windows: code for "old look" is obsolete.
25682Solution: Delete obsolete code. Use "MS Shell Dlg" font. (Ken Takata,
25683 closes #9596)
25684Files: src/gui_w32.c
25685
25686Patch 8.2.4190
25687Problem: All conceal tests are skipped without the screendumps feature.
25688Solution: Only skip the tests that use screendumps. (closes #9599)
25689Files: src/testdir/test_conceal.vim
25690
25691Patch 8.2.4191
25692Problem: json5 files are not recognized.
25693Solution: Add a pattern for json5 files. (closes #9601)
25694Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25695
25696Patch 8.2.4192
25697Problem: Cannot use an import in 'printexpr'.
25698Solution: Set the script context when evaluating 'printexpr'.
25699Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25700
25701Patch 8.2.4193
25702Problem: Cannot use an import in 'charconvert'.
25703Solution: Set the script context when evaluating 'charconvert'. Also expand
25704 script-local functions in 'charconvert'.
25705Files: src/evalvars.c, src/optionstr.c, src/testdir/test_vim9_import.vim
25706
25707Patch 8.2.4194
25708Problem: MS-Windows: code for calculating font size is duplicated.
25709Solution: Move the code to a function. (Ken Takata, closes #9603)
25710Files: src/gui_w32.c
25711
25712Patch 8.2.4195
25713Problem: Resizing terminal may cause to behave like CTRL-Z.
25714Solution: Set "got_tstp" only when in_mch_suspend is set. (Dorian Bivolaru,
25715 closes #9602, closes #9586)
25716Files: src/os_unix.c
25717
25718Patch 8.2.4196
25719Problem: Various file types not recognized.
25720Solution: Add patterns to recognize more file types (closes #9607)
25721Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25722
25723Patch 8.2.4197
25724Problem: Cannot use an import in the "expr" part of 'spellsuggest'.
25725Solution: Set the script context when evaluating "expr" of 'spellsuggest'.
25726Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25727
25728Patch 8.2.4198
25729Problem: Vim9: the switch for executing instructions is too long.
25730Solution: Move some code to separate functions.
25731Files: src/vim9execute.c
25732
25733Patch 8.2.4199
25734Problem: MS-Windows: Support for MSVC before 2003 is not useful.
25735Solution: Remove the exceptions for MSVC 6.0. (Ken Takata, closes #9616)
25736Files: src/GvimExt/gvimext.h, src/ex_docmd.c, src/feature.h,
25737 src/gui_w32.c, src/if_cscope.c, src/if_ole.cpp, src/if_ruby.c,
25738 src/macros.h, src/os_mswin.c, src/os_win32.c, src/os_win32.h,
25739 src/proto/os_win32.pro, src/time.c, src/vim.h
25740
25741Patch 8.2.4200
25742Problem: Some tests do not clean up properly.
25743Solution: Delete created files. (Yegappan Lakshmanan, closes #9611)
25744Files: src/testdir/test_filetype.vim, src/testdir/test_messages.vim,
25745 src/testdir/test_vim9_import.vim
25746
25747Patch 8.2.4201
25748Problem: When using the GUI CTRL-Z does not stop gvim.
25749Solution: When using the GUI set SIGTSTP to SIG_DFL. (Andrew Maltsev,
25750 closes #9570)
25751Files: src/os_unix.c
25752
25753Patch 8.2.4202
25754Problem: Vim9: cannot export function that exists globally.
25755Solution: When checking if a function already exists only check for
25756 script-local functions. (closes #9615)
Bram Moolenaar47c532e2022-03-19 15:18:53 +000025757Files: src/userfunc.c, src/proto/userfunc.pro, src/vim.h,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025758 src/vim9compile.c, src/vim9instr.c,
25759 src/testdir/test_vim9_import.vim
25760
25761Patch 8.2.4203
25762Problem: Entering a character with CTRL-V may include modifiers.
25763Solution: Reset "mod_mask" when entering a character with digits after
25764 CTRL-V. (closes #9610)
25765Files: src/edit.c, src/testdir/test_edit.vim
25766
25767Patch 8.2.4204
25768Problem: screenpos() has non-zero row for invisible text.
25769Solution: Only add the window row when the text is visible. (closes #9618)
25770Files: src/move.c, src/testdir/test_cursor_func.vim
25771
25772Patch 8.2.4205
25773Problem: The normal_cmd() function is too long.
25774Solution: Move parts to separate functions. (Yegappan Lakshmanan,
25775 closes #9608)
25776Files: src/normal.c
25777
25778Patch 8.2.4206
25779Problem: Condition with many "(" causes a crash.
25780Solution: Limit recursion to 1000.
25781Files: src/errors.h, src/eval.c, src/testdir/test_eval_stuff.vim
25782
25783Patch 8.2.4207 (after 8.2.4206)
25784Problem: Recursion test fails with MSVC.
25785Solution: Use a smaller limit for MSVC.
25786Files: src/eval.c
25787
25788Patch 8.2.4208
25789Problem: Using setbufvar() may change the window title.
25790Solution: Do not redraw when creating the autocommand window. (closes #9613)
25791Files: src/autocmd.c, src/testdir/test_functions.vim
25792
25793Patch 8.2.4209
25794Problem: partial in 'opfunc' cannot use an imported function.
25795Solution: Also expand the function name in a partial. (closes #9614)
25796Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25797
25798Patch 8.2.4210 (after 8.2.4208)
25799Problem: Window title test fails in some configurations.
25800Solution: Only run the test if the title can be obtained.
25801Files: src/testdir/test_functions.vim
25802
25803Patch 8.2.4211 (after 8.2.4208)
25804Problem: Window title test still fails in some configurations.
25805Solution: Use WaitForAssert().
25806Files: src/testdir/test_functions.vim
25807
25808Patch 8.2.4212 (after 8.2.4208)
25809Problem: Window title test still fails in some configurations.
25810Solution: Explicitly set the 'title' option.
25811Files: src/testdir/test_functions.vim
25812
25813Patch 8.2.4213
25814Problem: Too much code for supporting old MSVC versions.
25815Solution: Remove MSVC 2003 support. (Ken Takata, closes #9623)
25816Files: Filelist, src/INSTALLpc.txt, src/Make_mvc.mak, src/gui_w32.c,
25817 src/msvcsetup.bat, src/os_win32.c
25818
25819Patch 8.2.4214
25820Problem: Illegal memory access with large 'tabstop' in Ex mode.
25821Solution: Allocate enough memory.
25822Files: src/ex_getln.c, src/testdir/test_ex_mode.vim
25823
25824Patch 8.2.4215
25825Problem: Illegal memory access when copying lines in Visual mode.
25826Solution: Adjust the Visual position after copying lines.
25827Files: src/ex_cmds.c, src/testdir/test_visual.vim
25828
25829Patch 8.2.4216
25830Problem: Vim9: cannot use a function from an autoload import directly.
25831Solution: Add the AUTOLOAD instruction to figure out at runtime.
25832 (closes #9620)
25833Files: src/vim9expr.c, src/vim9.h, src/vim9execute.c, src/vim9instr.c,
25834 src/proto/vim9instr.pro, src/testdir/test_vim9_import.vim,
25835 src/testdir/test_vim9_disassemble.vim
25836
25837Patch 8.2.4217
25838Problem: Illegal memory access when undo makes Visual area invalid.
25839Solution: Correct the Visual area after undo.
25840Files: src/undo.c, src/testdir/test_visual.vim
25841
25842Patch 8.2.4218
25843Problem: Illegal memory access with bracketed paste in Ex mode.
25844Solution: Reserve space for the trailing NUL.
25845Files: src/edit.c, src/testdir/test_paste.vim
25846
25847Patch 8.2.4219
25848Problem: Reading before the start of the line.
25849Solution: Check boundary before trying to read the character.
25850Files: src/register.c, src/testdir/test_visual.vim
25851
25852Patch 8.2.4220
25853Problem: MS-Windows: some old compiler support remains.
25854Solution: Remove obsolete compiler support. (Ken Takata, closes #9627)
25855Files: src/Make_mvc.mak, src/vim.h
25856
25857Patch 8.2.4221
25858Problem: Some functions in normal.c are very long.
25859Solution: Move code to separate functions. (Yegappan Lakshmanan,
25860 closes #9628)
25861Files: src/normal.c
25862
25863Patch 8.2.4222
25864Problem: MS-Windows: clumsy way to suppress progress on CI.
25865Solution: Check for "$CI" in the Makefile itself. (Ken Takata, closes #9631)
25866Files: .github/workflows/ci.yml, ci/appveyor.bat, src/Make_mvc.mak
25867
25868Patch 8.2.4223
25869Problem: Long/int compiler warnings; function arguments swapped.
25870Solution: Add type casts. Swap arguments. (Ken Takata, closes #9632)
25871Files: src/alloc.c, src/eval.c, src/vim9script.c
25872
25873Patch 8.2.4224
25874Problem: Vim9: no error when using a number for map() second argument
25875Solution: Disallow number to string conversion. (closes #9630)
25876Files: src/eval.c, src/evalfunc.c, src/testdir/test_vim9_builtin.vim
25877
25878Patch 8.2.4225
25879Problem: Vim9: depth argument of :lockvar not parsed in :def function.
25880Solution: Parse the optional depth argument. (closes #9629)
25881 Fix that locking doesn't work for a non-materialize list.
25882Files: src/vim9cmds.c, src/evalvars.c, src/structs.h, src/evalfunc.c,
25883 src/errors.h, src/vim9execute.c, src/testdir/test_vim9_cmd.vim,
25884 src/testdir/test_vim9_disassemble.vim
25885
25886Patch 8.2.4226 (after 8.2.4224)
25887Problem: Filter-map test fails.
25888Solution: Only reject number argument in Vim9 script.
25889Files: src/eval.c
25890
25891Patch 8.2.4227
25892Problem: Vim9: using "lockvar!" in :def function does not work.
25893Solution: Add "!" instead of "-1". (closes #9634)
25894Files: src/vim9cmds.c, src/testdir/test_vim9_cmd.vim
25895
25896Patch 8.2.4228
25897Problem: No tests for clicking in the GUI tabline.
25898Solution: Add test functions to generate the events. Add tests using the
25899 functions. (Yegappan Lakshmanan, closes #9638)
25900Files: runtime/doc/builtin.txt, runtime/doc/testing.txt,
25901 runtime/doc/usr_41.txt, src/evalfunc.c, src/normal.c,
25902 src/proto/testing.pro, src/testdir/test_diffmode.vim,
25903 src/testdir/test_gui.vim, src/testdir/test_normal.vim,
25904 src/testing.c
25905
25906Patch 8.2.4229
25907Problem: Possible crash when invoking timer callback fails.
25908Solution: Initialize the typval. Give an error for an empty callback.
25909 (closes #9636)
25910Files: src/time.c, src/testdir/test_vim9_builtin.vim
25911
25912Patch 8.2.4230
25913Problem: MS-Windows: set_guifontwide() is included but won't work.
25914Solution: Include set_guifontwide() only for X11. (Ken Takata, closes #9640)
25915Files: src/gui.c
25916
25917Patch 8.2.4231
25918Problem: Vim9: map() gives type error when type was not declared.
25919Solution: Only check the type when it was declared, like extend() does.
25920 (closes #9635)
25921Files: src/list.c, src/evalfunc.c, src/vim9instr.c,
25922 src/testdir/test_vim9_builtin.vim,
25923 src/testdir/test_vim9_assign.vim
25924
25925Patch 8.2.4232 (after 8.2.4231)
25926Problem: Some compilers don't like a goto label without statement.
25927Solution: Return instead of using a goto.
25928Files: src/list.c
25929
25930Patch 8.2.4233
25931Problem: Crash when recording and using Select mode.
25932Solution: When deleting the last recorded character check there is something
25933 to delete.
25934Files: src/getchar.c, src/testdir/test_registers.vim
25935
25936Patch 8.2.4234
25937Problem: test_garbagecollect_now() does not check v:testing as documented.
25938Solution: Give an error if v:testing is not set.
25939Files: src/testing.c, src/errors.h, src/testdir/test_functions.vim
25940
25941Patch 8.2.4235
25942Problem: Invalid check for NULL pointer.
25943Solution: Remove the check.
25944Files: src/getchar.c
25945
25946Patch 8.2.4236
25947Problem: Accessing freed memory.
25948Solution: Set the bh_curr pointer to NULL.
25949Files: src/getchar.c
25950
25951Patch 8.2.4237
25952Problem: Record buffer wrong if character in Select mode was not typed.
25953Solution: Only delete the tail from the record buffer if the character was
25954 typed. (closes #9650)
25955Files: src/normal.c, src/testdir/test_registers.vim
25956
25957Patch 8.2.4238
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010025958Problem: *.tf file could be filetype "tf" or "terraform".
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025959Solution: Detect the type from the file contents. (closes #9642)
25960Files: runtime/filetype.vim, runtime/autoload/dist/ft.vim,
25961 src/testdir/test_filetype.vim
25962
25963Patch 8.2.4239
25964Problem: Build fails with unusual configuration.
25965Solution: Adjust #ifdef. (closes #9651)
25966Files: src/testing.c
25967
25968Patch 8.2.4240
25969Problem: Error for using flatten() in Vim9 script is unclear.
25970Solution: Add a remark to use flattennew().
25971Files: src/errors.h
25972
25973Patch 8.2.4241
25974Problem: Some type casts are redundant.
25975Solution: Remove the type casts. (closes #9643)
25976Files: src/blob.c, src/buffer.c, src/channel.c, src/clientserver.c,
25977 src/clipboard.c, src/drawline.c, src/drawscreen.c, src/edit.c,
25978 src/evalfunc.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_eval.c,
25979 src/fold.c, src/if_cscope.c, src/json.c, src/match.c,
25980 src/memline.c, src/message.c, src/misc1.c, src/normal.c,
25981 src/ops.c, src/option.c, src/optionstr.c, src/os_unix.c,
25982 src/register.c, src/sign.c, src/spellfile.c, src/tag.c, src/ui.c,
25983 src/undo.c, src/window.c
25984
25985Patch 8.2.4242
25986Problem: Put in Visual mode cannot be repeated.
25987Solution: Use "P" to put without yanking the deleted text into the unnamed
25988 register. (Shougo Matsushita, closes #9591)
25989Files: runtime/doc/visual.txt, src/normal.c, src/register.c,
25990 src/testdir/test_visual.vim
25991
25992Patch 8.2.4243
25993Problem: Lua tests fail with Lua 5.4.4.
25994Solution: Check messages like before Lua 5.4.3. (Jakub Kulík, closes #9652)
25995Files: src/testdir/test_lua.vim
25996
25997Patch 8.2.4244
25998Problem: MS-Windows: warning from MSVC on debug build.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025999Solution: Adjust "/opt" options. Remove unused variables. Make variables
Bram Moolenaarc51cf032022-02-26 12:25:45 +000026000 uppercase for consistency. (Ken Takata, closes #9647)
26001Files: src/Make_mvc.mak
26002
26003Patch 8.2.4245
26004Problem: ":retab 0" may cause illegal memory access.
26005Solution: Limit the value of 'tabstop' to 10000.
26006Files: src/option.c, src/vim.h, src/indent.c,
26007 src/testdir/test_options.vim
26008
26009Patch 8.2.4246
26010Problem: One error message not in errors.h. (Antonio Colombo)
26011Solution: Move the message and rename.
26012Files: src/errors.h, src/if_perl.xs
26013
26014Patch 8.2.4247
26015Problem: Stack corruption when looking for spell suggestions.
26016Solution: Prevent the depth increased too much. Add a five second time
26017 limit to finding suggestions.
26018Files: src/spellsuggest.c, src/testdir/test_spell.vim
26019
26020Patch 8.2.4248
26021Problem: No proper test for moving the window separator.
26022Solution: Add a test. Add comment in code. (closes #9656)
26023Files: src/window.c, src/testdir/test_window_cmd.vim
26024
26025Patch 8.2.4249
26026Problem: The timeout limit for spell suggestions is always 5000 milli
26027 seconds.
26028Solution: Add the "timeout" entry to 'spellsuggest'.
26029Files: runtime/doc/options.txt, src/spellsuggest.c,
26030 src/testdir/test_spell.vim
26031
26032Patch 8.2.4250
26033Problem: Channel out callback test is flaky on Mac.
26034Solution: Assign high priority to the test process. (Ozaki Kiichi,
26035 closes #9653)
26036Files: src/testdir/test_channel_pipe.py, src/testdir/thread_util.py
26037
26038Patch 8.2.4251
26039Problem: Vala files are not recognized.
26040Solution: Add the *.vala pattern. (closes #9654)
26041Files: runtime/filetype.vim, src/testdir/test_filetype.vim
26042
26043Patch 8.2.4252
26044Problem: Generating the normal command table at runtime is inefficient.
26045Solution: Generate the table with a Vim script and put it in a header file.
26046 (Yegappan Lakshmanan, closes #9648)
26047Files: Filelist, runtime/doc/builtin.txt, runtime/doc/usr_41.txt,
26048 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms,
26049 src/Makefile, src/create_nvcmdidxs.vim, src/evalfunc.c,
26050 src/main.c, src/normal.c, src/nv_cmdidxs.h, src/proto/normal.pro
26051
26052Patch 8.2.4253
26053Problem: Using freed memory when substitute uses a recursive function call.
26054Solution: Make a copy of the substitute text.
26055Files: src/ex_cmds.c, src/testdir/test_substitute.vim
26056
26057Patch 8.2.4254
26058Problem: Using short instead of int.
26059Solution: Use int. (closes #9658)
26060Files: src/if_cscope.c
26061
26062Patch 8.2.4255
26063Problem: Theoretical computation overflow.
26064Solution: Perform multiplication in a wider type. (closes #9657)
26065Files: src/alloc.c, src/drawline.c, src/eval.c, src/evalfunc.c,
26066 src/ex_docmd.c, src/hardcopy.c, src/list.c, src/memfile.c,
26067 src/memline.c, src/popupwin.c
26068
26069Patch 8.2.4256
26070Problem: MS-Windows: compiler warnings when compiled with /W4.
26071Solution: Small adjustments to the code. (Ken Takata, closes #9659)
26072Files: src/gui_w32.c, src/os_win32.c
26073
26074Patch 8.2.4257
26075Problem: Vim9: finding global function without g: prefix but not finding
26076 global variable is inconsistent.
26077Solution: Require using g: for a global function. Change the vim9.vim
26078 script into a Vim9 script with exports. Fix that import in legacy
26079 script does not work.
26080Files: src/vim9expr.c, src/evalfunc.c, src/eval.c, src/userfunc.c,
26081 src/testdir/vim9.vim, src/testdir/test_vim9_assign.vim,
26082 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
26083 src/testdir/test_vim9_disassemble.vim,
26084 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
26085 src/testdir/test_vim9_import.vim,
26086 src/testdir/test_vim9_script.vim, src/testdir/test_blob.vim,
26087 src/testdir/test_execute_func.vim, src/testdir/test_debugger.vim,
26088 src/testdir/test_expr.vim, src/testdir/test_filter_map.vim,
26089 src/testdir/test_float_func.vim, src/testdir/test_functions.vim,
26090 src/testdir/test_glob2regpat.vim, src/testdir/test_highlight.vim,
26091 src/testdir/test_iminsert.vim, src/testdir/test_ins_complete.vim,
26092 src/testdir/test_listdict.vim, src/testdir/test_mapping.vim,
26093 src/testdir/test_normal.vim, src/testdir/test_popupwin.vim,
26094 src/testdir/test_profile.vim, src/testdir/test_quickfix.vim,
26095 src/testdir/test_tagfunc.vim, src/testdir/test_textprop.vim,
26096 src/testdir/test_usercommands.vim
26097
26098Patch 8.2.4258
26099Problem: Coverity warns for array overrun.
26100Solution: Restrict depth to MAXWLEN - 1.
26101Files: src/spellsuggest.c
26102
26103Patch 8.2.4259
26104Problem: Number of test functions for GUI events is growing.
26105Solution: Use one function with a dictionary. (Yegappan Lakshmanan,
26106 closes #9660)
26107Files: runtime/doc/builtin.txt, runtime/doc/testing.txt,
26108 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/testing.pro,
26109 src/testdir/test_gui.vim, src/testdir/test_vim9_builtin.vim,
26110 src/testing.c
26111
26112Patch 8.2.4260
26113Problem: Vim9: can still use a global function without g: at the script
26114 level.
26115Solution: Also check for g: at the script level. (issue #9637)
26116Files: src/userfunc.c, src/proto/userfunc.pro, src/evalvars.c,
26117 src/vim9expr.c, src/testdir/test_vim9_assign.vim,
26118 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
26119 src/testdir/test_vim9_disassemble.vim,
26120 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
26121 src/testdir/test_vim9_import.vim,
26122 src/testdir/test_ins_complete.vim, src/testdir/test_popupwin.vim,
26123 src/testdir/dumps/Test_popupwin_scroll_11.dump,
26124 src/testdir/dumps/Test_popupwin_scroll_12.dump
26125
26126Patch 8.2.4261
26127Problem: Accessing invalid memory when a regular expression checks the
26128 Visual area while matching in a string.
26129Solution: Do not try matching the Visual area in a string.
26130Files: src/regexp.c, src/testdir/test_help.vim
26131
26132Patch 8.2.4262 (after 8.2.4261)
26133Problem: Some search tests fail.
26134Solution: Use a better way to reject searching for the Visual area.
26135Files: src/regexp.c
26136
26137Patch 8.2.4263
26138Problem: No test for the GUI find/replace dialog.
26139Solution: Add a test function and a test. (Yegappan Lakshmanan,
26140 closes #9662)
26141Files: runtime/doc/testing.txt, src/testdir/test_gui.vim, src/testing.c
26142
26143Patch 8.2.4264
26144Problem: Vim9: can use old style autoload function name.
26145Solution: Give an error for old style autoload function name.
26146Files: src/errors.h, src/userfunc.c, src/testdir/test_vim9_import.vim,
26147 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
26148
26149Patch 8.2.4265 (after 8.2.4264)
26150Problem: Autoload tests fails.
26151Solution: Use export instead of name with #.
26152Files: src/testdir/sautest/autoload/auto9.vim,
Bram Moolenaar47c532e2022-03-19 15:18:53 +000026153 src/testdir/test_autoload.vim, src/testdir/test_ins_complete.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +000026154
26155Patch 8.2.4266
26156Problem: Compiler warning for uninitialized variable.
26157Solution: Initialize saved_did_emsg.
26158Files: src/userfunc.c
26159
26160Patch 8.2.4267
26161Problem: Unused entry in keymap enum.
26162Solution: Remove the entry.
26163Files: src/keymap.h
26164
26165Patch 8.2.4268
26166Problem: CI log output is long.
26167Solution: Group output in sections. (Ozaki Kiichi, closes #9670)
26168Files: .github/workflows/ci.yml
26169
26170Patch 8.2.4269
26171Problem: Coverity warns for using a NULL pointer.
26172Solution: Check for "name" to not be NULL.
26173Files: src/userfunc.c
26174
26175Patch 8.2.4270
26176Problem: Generating nv_cmdidxs.h requires building Vim twice.
26177Solution: Move the table into a separate file and use a separate executable
26178 to extract the command characters. (Ozaki Kiichi, closes #9669)
26179Files: src/normal.c, src/nv_cmds.h, Filelist, runtime/doc/builtin.txt,
26180 runtime/doc/usr_41.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak,
26181 src/Make_vms.mms, src/Makefile, src/create_nvcmdidxs.c,
26182 src/create_nvcmdidxs.vim, src/evalfunc.c, src/proto/normal.pro
26183
26184Patch 8.2.4271
26185Problem: MS-Windows: cannot build with Ruby 3.1.0.
26186Solution: Adjust the DLL name and include directory. (Ken Takata,
26187 closes #9666)
26188Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
26189
26190Patch 8.2.4272
26191Problem: Vim9 expr test fails without the channel feature. (Dominique
26192 Pellé)
26193Solution: Remove "g:" before "CheckFeature". (closes #9671)
26194Files: src/testdir/test_vim9_expr.vim
26195
26196Patch 8.2.4273
26197Problem: The EBCDIC support is outdated.
26198Solution: Remove the EBCDIC support.
26199Files: src/ascii.h, src/charset.c, src/cindent.c, src/digraph.c,
26200 src/edit.c, src/eval.c, src/evalfunc.c, src/ex_cmds.c,
26201 src/feature.h, src/filepath.c, src/findfile.c, src/getchar.c,
26202 src/gui.c, src/gui_motif.c, src/hardcopy.c, src/help.c,
26203 src/macros.h, src/map.c, src/mark.c, src/misc2.c, src/normal.c,
26204 src/ops.c, src/option.c, src/option.h, src/optiondefs.h,
26205 src/os_unix.c, src/proto/evalfunc.pro, src/regexp.c,
26206 src/regexp_bt.c, src/regexp_nfa.c, src/register.c, src/screen.c,
26207 src/spell.c, src/strings.c, src/structs.h, src/term.c,
26208 src/version.c, src/viminfo.c, src/testdir/test_edit.vim,
26209 src/testdir/test_exec_while_if.vim, src/testdir/test_expr.vim,
26210 src/testdir/test_gf.vim, src/testdir/test_regexp_utf8.vim
26211
26212Patch 8.2.4274
26213Problem: Basic and form filetype detection is incomplete.
26214Solution: Add a separate function for .frm files. (Doug Kearns, closes #9675)
26215Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
26216 src/testdir/test_filetype.vim
26217
26218Patch 8.2.4275
26219Problem: Cannot use an autoload function from a package under start.
26220Solution: Also look in the "start" package directory. (Bjorn Linse,
26221 closes #7193)
26222Files: src/scriptfile.c, src/testdir/test_packadd.vim
26223
26224Patch 8.2.4276
26225Problem: Separate test function for the GUI scrollbar.
26226Solution: Use test_gui_event(). (Yegappan Lakshmanan, closes #9674)
26227Files: runtime/doc/builtin.txt, runtime/doc/testing.txt,
26228 runtime/doc/usr_41.txt, src/evalfunc.c, src/testing.c,
26229 src/proto/testing.pro, src/testdir/test_gui.vim,
26230 src/testdir/test_vim9_builtin.vim
26231
26232Patch 8.2.4277
26233Problem: Vim9: an import does not shadow a command modifier.
26234Solution: Do not accept a command modifier followed by a dot.
26235Files: src/ex_docmd.c, src/testdir/test_vim9_import.vim
26236
26237Patch 8.2.4278
26238Problem: Build with Athena GUI fails. (Elimar Riesebieter)
26239Solution: Add #ifdef.
26240Files: src/testing.c
26241
26242Patch 8.2.4279
26243Problem: Vim9: cannot change item type with map() after range().
26244Solution: Split the return type in current type and declared type.
26245 (closes #9665)
26246Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9instr.c,
26247 src/vim9type.c, src/proto/vim9type.pro,
26248 src/testdir/test_vim9_builtin.vim
26249
26250Patch 8.2.4280 (after 8.2.4279)
26251Problem: list-dict test crashes.
26252Solution: Check declared type for add().
26253Files: src/vim9expr.vim
26254
26255Patch 8.2.4281
26256Problem: Using freed memory with :lopen and :bwipe.
26257Solution: Do not use a wiped out buffer.
26258Files: src/buffer.c, src/testdir/test_quickfix.vim
26259
26260Patch 8.2.4282
26261Problem: Restricted mode requires the -Z command line option.
26262Solution: Use restricted mode when $SHELL ends in "nologin" or "false".
26263 (closes #9681)
26264Files: runtime/doc/starting.txt, src/option.c,
26265 src/testdir/test_restricted.vim
26266
26267Patch 8.2.4283
26268Problem: Using a variable for the return value is not needed.
26269Solution: Return the value directly. (closes #9687)
26270Files: src/ex_docmd.c, src/misc2.c
26271
26272Patch 8.2.4284
26273Problem: Old mac resources files are no longer used.
26274Solution: Delete the unused files. (Ozaki Kiichi, closes #9688)
26275Files: Filelist, src/Makefile, src/dehqx.py, src/infplist.xml,
26276 src/os_mac.rsr.hqx, src/os_mac_rsrc/app.icns,
26277 src/os_mac_rsrc/doc-txt.icns, src/os_mac_rsrc/doc.icns
26278
26279Patch 8.2.4285
26280Problem: Vim9: type of item in for loop not checked properly.
26281Solution: Adjust the type checking. (closes #9683)
26282Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9cmds.c,
26283 src/testdir/test_vim9_script.vim
26284
26285Patch 8.2.4286
26286Problem: Vim9: strict type checking after copy() and deepcopy().
26287Solution: Allow type to change after making a copy. (closes #9644)
26288Files: src/eval.c, src/proto/eval.pro, src/dict.c, src/proto/dict.pro,
26289 src/list.c, src/proto/list.pro, src/evalfunc.c, src/vim9execute.c,
26290 src/vim9type.c, src/proto/vim9type.pro, src/evalvars.c,
26291 src/testdir/test_vim9_builtin.vim,
26292 src/testdir/test_vim9_assign.vim
26293
26294Patch 8.2.4287
26295Problem: Cannot assign empty list with any list type to variable with
26296 specific list type.
26297Solution: Use unknown list type for empty list if the specified type is any.
26298Files: src/vim9type.c, src/testdir/test_vim9_assign.vim,
26299 src/testdir/test_vim9_func.vim
26300
26301Patch 8.2.4288
26302Problem: Preprocessor indents are inconsistent.
26303Solution: Fix preprocessor indents. (Ken Takata, closes #9691)
26304Files: src/arglist.c, src/change.c, src/ex_cmds.c, src/gui.c,
26305 src/hashtab.c, src/indent.c, src/ops.c, src/os_win32.c
26306
26307Patch 8.2.4289
26308Problem: Warnings reported by MSVC.
26309Solution: Rename variables and other fixes. (Ken Takata, closes #9689)
26310Files: src/cmdexpand.c, src/drawscreen.c, src/filepath.c, src/getchar.c,
26311 src/menu.c, src/os_win32.c, src/version.c
26312
26313Patch 8.2.4290
26314Problem: MS-Windows: using type casts for timer IDs.
26315Solution: Remove type casts and use the right type. (Ken Takata,
26316 closes #9690) Remove old debug comments. Rename variables and
26317 functions.
26318Files: src/gui_w32.c
26319
26320Patch 8.2.4291
26321Problem: Error number used twice.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000026322Solution: Renumber the errors.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000026323Files: src/errors.h
26324
26325Patch 8.2.4292 (after 8.2.4291)
26326Problem: Test fails.
26327Solution: Adjust the expected error number.
26328Files: src/testdir/test_vim9_cmd.vim
26329
26330Patch 8.2.4293
26331Problem: Vim9: when copying a list it gets type list<any> even when the
26332 original list did not have a type.
26333Solution: Only set the type when the original list has a type. (closes #9692)
26334Files: src/list.c, src/testdir/test_vim9_expr.vim
26335
26336Patch 8.2.4294
26337Problem: MS-Windows: #ifdefs for Cygwin are too complicated.
26338Solution: Simplify the conditions. (Ken Takata, closes #9693)
26339Files: src/evalfunc.c, src/main.c, src/os_unix.c, src/os_win32.c,
26340 src/os_win32.h
26341
26342Patch 8.2.4295
26343Problem: Vim9: concatenating two lists may result in wrong type.
26344Solution: Remove the type instead of using list<any>. (closes #9692)
26345Files: src/list.c, src/testdir/test_vim9_expr.vim
26346
26347Patch 8.2.4296
26348Problem: Vim9: not all code covered by tests.
26349Solution: Add a few more tests for corner cases. Fix hang when single quote
26350 is missing.
26351Files: src/vim9expr.c, src/testdir/test_vim9_assign.vim,
26352 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_expr.vim
26353
26354Patch 8.2.4297
26355Problem: Vim9: not all code covered by tests.
26356Solution: Add a couple more tests.
26357Files: src/testdir/test_vim9_script.vim,
26358 src/testdir/test_vim9_disassemble.vim
26359
26360Patch 8.2.4298
26361Problem: Divide by zero with huge tabstop value.
26362Solution: Reject tabstop value that overflows to zero.
26363Files: src/indent.c, src/testdir/test_vartabs.vim
26364
26365Patch 8.2.4299
26366Problem: SafeState autocommand interferes with debugging.
26367Solution: Do not trigger SafeState while debugging. (closes #9697)
26368Files: src/main.c
26369
26370Patch 8.2.4300 (after 8.2.4299)
26371Problem: Cannot build tiny version. (Tony Mechelynck)
26372Solution: Add #ifdef.
26373Files: src/main.c
26374
26375Patch 8.2.4301
26376Problem: Vim9: type error for copy of dict.
26377Solution: Do not use dict<any> but no type. (closes #9696)
26378Files: src/dict.c, src/testdir/test_vim9_builtin.vim
26379
26380Patch 8.2.4302
26381Problem: Vim9: return type of getline() is too strict.
26382Solution: Make the declared type list<any>. Also do this for other
26383 functions returning a list of a specific type.
26384Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
26385
26386Patch 8.2.4303
26387Problem: A few messages should not be translated.
26388Solution: Remove _(). (Dominique Pellé, closes #9702)
26389Files: src/syntax.c
26390
26391Patch 8.2.4304
26392Problem: Vim9: slice() makes a copy but doesn't change the type.
26393Solution: Change the declared type like copy(). (closes #9696)
26394Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
26395
26396Patch 8.2.4305
26397Problem: Tex filetype detection fails.
26398Solution: Check value to be positive. (closes #9704)
26399Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim
26400
26401Patch 8.2.4306
26402Problem: No test for fixed perl filetype check.
26403Solution: Add a test. Sort test functions.
26404Files: src/testdir/test_filetype.vim
26405
26406Patch 8.2.4307
26407Problem: A few more messages should not be translated.
26408Solution: Remove _().
26409Files: src/syntax.c
26410
26411Patch 8.2.4308
26412Problem: Vim9: cannot list autoload function.
26413Solution: Don't give an error for using # when listing a function.
26414 (closes #9703)
26415Files: src/userfunc.c, src/testdir/test_vim9_import.vim
26416
26417Patch 8.2.4309
26418Problem: Vim9: crash when using a partial in the wrong context.
26419Solution: Don't use an NULL outer pointer. (closes #9706)
26420Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
26421
26422Patch 8.2.4310
26423Problem: Vim9: constant list and dict get a declaration type other than
26424 "any".
26425Solution: A constant list and dict have a declared member type "any".
26426 (closes #9701)
26427Files: src/vim9instr.c, src/vim9type.c, src/proto/vim9type.pro,
26428 src/testdir/test_vim9_builtin.vim
26429
26430Patch 8.2.4311
26431Problem: Vim9: changing script variable type not caught at compile time.
26432Solution: Set the declared type.
26433Files: src/vim9instr.c, src/testdir/test_vim9_assign.vim
26434
26435Patch 8.2.4312
26436Problem: No error for using :vim9script in a :def function.
26437Solution: Give an error when compiling.
26438Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
26439
26440Patch 8.2.4313
26441Problem: Vim9: cannot change type of list after making a slice.
26442Solution: Adjust the declared member type. (closes #9696)
26443Files: src/vim9expr.c, src/testdir/test_vim9_builtin.vim
26444
26445Patch 8.2.4314 (after 8.2.4312)
26446Problem: Test fails where lines are skipped.
26447Solution: Only give an error when not skipping commands.
26448Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
26449
26450Patch 8.2.4315
26451Problem: Put in Visual mode not fully tested.
26452Solution: Add a few more test cases. (closes #9708)
26453Files: src/testdir/test_visual.vim
26454
26455Patch 8.2.4316
26456Problem: __CYGWIN32__ is not defined on 64 bit systems.
26457Solution: Update #ifdefs. (Ken Takata, closes #9709)
26458Files: src/main.c, src/os_unix.c, src/pty.c, src/vim.h
26459
26460Patch 8.2.4317
26461Problem: MS-Windows: Vim exits when Python 3 initialisation fails.
26462Solution: Hook into the exit() function to recover from the failure.
26463 (Ken Takata, closes #9710)
26464Files: runtime/doc/if_pyth.txt, src/if_python3.c, src/os_win32.c,
26465 src/errors.h, src/proto/os_win32.pro
26466
26467Patch 8.2.4318
26468Problem: Various comment and indent mistakes, returning wrong zero.
26469Solution: Fix the mistakes. Return NULL instead of FAIL.
26470Files: src/clientserver.c, src/eval.c, src/evalvars.c, src/vim9cmds.c,
26471 src/window.c
26472
26473Patch 8.2.4319
26474Problem: :put does not work properly in compiled function. (John Beckett)
26475Solution: Adjust the direction when using line zero.
26476Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
26477
26478Patch 8.2.4320
26479Problem: Athena and Motif: when maximized scrollbar position is wrong.
26480Solution: Implement the scrollbar padding functions. (closes #9712)
26481Files: src/gui_athena.c, src/gui_motif.c
26482
26483Patch 8.2.4321
26484Problem: Vim9: crash when using a funcref to a closure.
26485Solution: Copy pt_outer to the new partial. (closes #9714)
26486Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
26487
26488Patch 8.2.4322
26489Problem: Vim9: crash when using funcref with closure.
26490Solution: Keep a reference to the funcref that has the outer context.
26491 (closes #9716)
26492Files: src/evalfunc.c, src/structs.h, src/eval.c, src/vim9execute.c,
26493 src/testdir/test_vim9_func.vim
26494
26495Patch 8.2.4323
26496Problem: Vim9: nested function name can start with "_".
26497Solution: Use same rule for function name for nested functions.
26498 (closes #9713)
26499Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
26500
26501Patch 8.2.4324
26502Problem: Vim9: script-local function name can start with "_".
26503Solution: Check for leading capital after "s:". Correct error message.
26504Files: src/userfunc.c, src/errors.h, src/vim9compile.c,
26505 src/testdir/test_vim9_func.vim
26506
26507Patch 8.2.4325
26508Problem: 'wildmenu' only shows few matches.
26509Solution: Add the "pum" option: use a popup menu to show the matches.
26510 (Yegappan Lakshmanan et al., closes #9707)
26511Files: runtime/doc/options.txt, src/vim.h, src/cmdexpand.c,
26512 src/drawscreen.c, src/evalfunc.c, src/ex_getln.c, src/option.h,
26513 src/optionstr.c, src/popupmenu.c, src/proto/cmdexpand.pro,
26514 src/testdir/test_cmdline.vim,
26515 src/testdir/dumps/Test_wildmenu_pum_01.dump,
26516 src/testdir/dumps/Test_wildmenu_pum_02.dump,
26517 src/testdir/dumps/Test_wildmenu_pum_03.dump,
26518 src/testdir/dumps/Test_wildmenu_pum_04.dump,
26519 src/testdir/dumps/Test_wildmenu_pum_05.dump,
26520 src/testdir/dumps/Test_wildmenu_pum_06.dump,
26521 src/testdir/dumps/Test_wildmenu_pum_07.dump,
26522 src/testdir/dumps/Test_wildmenu_pum_08.dump,
26523 src/testdir/dumps/Test_wildmenu_pum_09.dump,
26524 src/testdir/dumps/Test_wildmenu_pum_10.dump,
26525 src/testdir/dumps/Test_wildmenu_pum_11.dump,
26526 src/testdir/dumps/Test_wildmenu_pum_12.dump,
26527 src/testdir/dumps/Test_wildmenu_pum_13.dump,
26528 src/testdir/dumps/Test_wildmenu_pum_14.dump,
26529 src/testdir/dumps/Test_wildmenu_pum_15.dump,
26530 src/testdir/dumps/Test_wildmenu_pum_16.dump,
26531 src/testdir/dumps/Test_wildmenu_pum_17.dump,
26532 src/testdir/dumps/Test_wildmenu_pum_18.dump,
26533 src/testdir/dumps/Test_wildmenu_pum_19.dump,
26534 src/testdir/dumps/Test_wildmenu_pum_20.dump,
26535 src/testdir/dumps/Test_wildmenu_pum_21.dump,
26536 src/testdir/dumps/Test_wildmenu_pum_22.dump,
26537 src/testdir/dumps/Test_wildmenu_pum_23.dump,
26538 src/testdir/dumps/Test_wildmenu_pum_24.dump,
26539 src/testdir/dumps/Test_wildmenu_pum_25.dump,
26540 src/testdir/dumps/Test_wildmenu_pum_26.dump,
26541 src/testdir/dumps/Test_wildmenu_pum_27.dump,
26542 src/testdir/dumps/Test_wildmenu_pum_28.dump,
26543 src/testdir/dumps/Test_wildmenu_pum_29.dump
26544
26545Patch 8.2.4326
26546Problem: "o" and "O" copying comment not sufficiently tested.
26547Solution: Add a test case. (closes #9718)
26548Files: src/testdir/test_textformat.vim
26549
26550Patch 8.2.4327
26551Problem: May end up with no current buffer.
26552Solution: When deleting the current buffer to not pick a quickfix buffer as
26553 the new current buffer.
26554Files: src/buffer.c, src/testdir/test_quickfix.vim
26555
26556Patch 8.2.4328
Bram Moolenaar1588bc82022-03-08 21:35:07 +000026557Problem: Command line complete matches cleared when typing character.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000026558 (Dominique Pellé)
26559Solution: Only remove a popup menu if there is one.
26560Files: src/ex_getln.c, src/testdir/test_cmdline.vim,
26561 src/testdir/dumps/Test_wildmenu_pum_30.dump,
26562 src/testdir/dumps/Test_wildmenu_pum_31.dump
26563
26564Patch 8.2.4329
26565Problem: No support for end line number and column in 'errorformat'.
26566Solution: Add %e and %k. (closes #9624)
26567Files: runtime/doc/quickfix.txt, src/quickfix.c,
26568 src/testdir/test_quickfix.vim
26569
26570Patch 8.2.4330
26571Problem: Vim9: no error if script imports itself.
26572Solution: Give an error when a script imports itself.
26573Files: src/vim9script.c, src/errors.h, src/testdir/test_vim9_import.vim
26574
26575Patch 8.2.4331
26576Problem: Vim9: no test for existing script variable in block.
26577Solution: Add a test.
26578Files: src/testdir/test_vim9_func.vim
26579
26580Patch 8.2.4332
26581Problem: Vim9: incomplete test for existing script variable in block.
26582Solution: Add a couple more tests. Fix uncovered problem.
26583Files: src/userfunc.c, src/vim9compile.c, src/proto/vim9compile.pro,
26584 src/vim9script.c, src/vim9expr.c, src/testdir/test_vim9_func.vim
26585
26586Patch 8.2.4333
26587Problem: cstack not always passed to where it is needed.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000026588Solution: Pass cstack through functions.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000026589Files: src/eval.c, src/vim9expr.c, src/vim9script.c,
26590 src/proto/vim9script.pro, src/vim9compile.c,
26591 src/proto/vim9compile.pro
26592
26593Patch 8.2.4334
26594Problem: Command line popup menu not positioned correctly.
26595Solution: Also use vim_strsize() on the existing text. (Naruhiko Nishino,
26596 closes #9727)
26597Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
26598 src/testdir/dumps/Test_wildmenu_pum_32.dump
26599
26600Patch 8.2.4335
26601Problem: No autocommand event triggered before changing directory. (Ronnie
26602 Magatti)
26603Solution: Add DirChangedPre. (closes #9721)
26604Files: runtime/doc/autocmd.txt, src/ex_docmd.c, src/proto/ex_docmd.pro,
26605 src/vim.h, src/autocmd.c, src/misc2.c,
26606 src/testdir/test_autocmd.vim
26607
26608Patch 8.2.4336
26609Problem: Using :filter for :scriptnames does not work. (Ben Jackson)
26610Solution: Call message_filtered(). (closes #9720)
26611Files: src/scriptfile.c, src/testdir/test_filter_cmd.vim
26612
26613Patch 8.2.4337
26614Problem: Part of condition is always true.
26615Solution: Remove that part of the condition. (closes #9729)
26616Files: src/filepath.c
26617
26618Patch 8.2.4338
26619Problem: An error from an expression mapping messes up the display.
26620Solution: When the expression results in an empty string return K_IGNORE.
26621 In cmdline mode redraw the command line. (closes #9726)
26622Files: src/getchar.c, src/testdir/test_mapping.vim,
26623 src/testdir/dumps/Test_map_expr_2.dump,
26624 src/testdir/dumps/Test_map_expr_3.dump,
26625 src/testdir/dumps/Test_map_expr_4.dump
26626
26627Patch 8.2.4339
26628Problem: CTRL-A does not work properly with the cmdline popup menu.
26629Solution: Fix issues with CTRL-A. Add more tests for the cmdline popup
26630 menu. Remove TermWait() before VeriryScreenDump(). Refactor the
26631 cmdline popup code. (Yegappan Lakshmanan, closes #9735)
26632Files: src/cmdexpand.c, src/ex_getln.c, src/popupmenu.c,
26633 src/testdir/screendump.vim, src/testdir/test_bufline.vim,
26634 src/testdir/test_cmdline.vim, src/testdir/test_conceal.vim,
26635 src/testdir/test_cursorline.vim, src/testdir/test_diffmode.vim,
26636 src/testdir/test_display.vim, src/testdir/test_highlight.vim,
26637 src/testdir/test_match.vim, src/testdir/test_popup.vim,
26638 src/testdir/test_search_stat.vim, src/testdir/test_terminal.vim,
26639 src/testdir/test_textprop.vim,
26640 src/testdir/dumps/Test_wildmenu_pum_33.dump,
26641 src/testdir/dumps/Test_wildmenu_pum_34.dump,
26642 src/testdir/dumps/Test_wildmenu_pum_35.dump,
26643 src/testdir/dumps/Test_wildmenu_pum_36.dump,
26644 src/testdir/dumps/Test_wildmenu_pum_37.dump
26645
26646Patch 8.2.4340
26647Problem: Amiga: mch_can_exe() is not implemented.
26648Solution: Implement mch_can_exe() for Amiga OS 4. (Ola Söder, closes #9731)
26649Files: src/os_amiga.c
26650
26651Patch 8.2.4341
26652Problem: Command line not redrawn when finishing popup menu and the screen
26653 has scrolled up.
26654Solution: Redraw the command line after updating the screen. (closes #9722)
26655Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
26656 src/testdir/dumps/Test_wildmenu_pum_38.dump
26657
26658Patch 8.2.4342
26659Problem: CI will soon switch to other windows version.
26660Solution: Use "windows-2019" instead of "windows-latest". (Ozaki Kiichi,
26661 closes #9740)
26662Files: .github/workflows/ci.yml
26663
26664Patch 8.2.4343
26665Problem: When reloading not all properties are detected.
26666Solution: Add the "edit" value to v:fcs_choice. (Rob Pilling, closes #9579)
26667Files: runtime/doc/editing.txt, runtime/doc/eval.txt, src/fileio.c,
26668 src/proto/fileio.pro, src/message.c, src/spellfile.c,
26669 src/testdir/test_filechanged.vim
26670
26671Patch 8.2.4344
26672Problem: Amiga: header file included twice.
26673Solution: Remove #include. (Ola Söder, closes #9733)
26674Files: src/memfile.c
26675
26676Patch 8.2.4345
26677Problem: <amatch> is expanded like a file name for DirChangedPre.
26678Solution: Do not expand <amatch>. (closes #9742) Also for the User event.
26679Files: src/autocmd.c, src/testdir/test_autocmd.vim
26680
26681Patch 8.2.4346
26682Problem: A custom statusline may cause Esc to work like Enter on the
26683 command line when the popup menu is displayed.
26684Solution: Save and restore KeyTyped. (closes #9749)
26685Files: src/drawscreen.c, src/testdir/test_cmdline.vim,
26686 src/testdir/dumps/Test_wildmenu_pum_39.dump
26687
26688Patch 8.2.4347
26689Problem: In some build setups UNUSED is not defined.
26690Solution: Change the logic of how UNUSED is defined. (Ola Söder,
26691 closes #9734)
26692Files: src/vim.h
26693
26694Patch 8.2.4348
26695Problem: "legacy exe cmd" does not do what one would expect.
26696Solution: Apply the "legacy" and "vim9script" command modifiers to the
26697 argument of ":execute".
26698Files: runtime/doc/vim9.txt, src/globals.h, src/eval.c, src/ex_docmd.c,
26699 src/testdir/test_vim9_cmd.vim
26700
26701Patch 8.2.4349
26702Problem: FileChangedShell test fails on MS-Windows.
26703Solution: Skip the test on MS-Windows.
26704Files: src/testdir/test_filechanged.vim
26705
26706Patch 8.2.4350
26707Problem: FEAT_GUI_ENABLED defined but never used.
26708Solution: Remove the #define. (Ola Söder, closes #9732)
26709Files: src/vim.h
26710
26711Patch 8.2.4351
26712Problem: No coverage is measured on MS-Windows CI.
26713Solution: Enable coverage on MS-Windows. (Ozaki Kiichi, closes #9750)
26714Files: .github/workflows/ci.yml
26715
26716Patch 8.2.4352
26717Problem: ReScript files are not recognized.
26718Solution: Add the *.res and *.resi patterns. (Ananda Umamil, closes #9752)
26719Files: runtime/filetype.vim, src/testdir/test_filetype.vim
26720
26721Patch 8.2.4353
26722Problem: CI does not use the latest Lua and Python.
26723Solution: Use Lua 5.4.2 and Python 3.10. (closes #9744)
26724Files: .github/workflows/ci.yml
26725
26726Patch 8.2.4354
26727Problem: Dynamic loading of libsodium not handled properly.
26728Solution: Fix has() and :version. Show an error message when loading fails.
26729 Fix memory leaks. (Ken Takata, closes #9754)
26730Files: src/crypt.c, src/evalfunc.c, src/gui_dwrite.cpp, src/if_cscope.c,
26731 src/os_win32.c, src/proto/crypt.pro, src/proto/os_win32.pro,
26732 src/version.c
26733
26734Patch 8.2.4355
26735Problem: Unnecessary call to check_colorcolumn().
26736Solution: Remove the call. (Sean Dewar, closes #9748)
26737Files: src/option.c, src/window.c
26738
26739Patch 8.2.4356
26740Problem: Command line completion functions are very long.
26741Solution: Refactor into multiple functions. (Yegappan Lakshmanan,
26742 closes #9753)
26743Files: src/cmdexpand.c
26744
26745Patch 8.2.4357 (after 8.2.4348)
26746Problem: sticky command modifiers are too sticky.
26747Solution: Do not apply command modifiers to a sourced script. (closes #9751)
26748Files: src/scriptfile.c, src/testdir/test_vim9_cmd.vim
26749
26750Patch 8.2.4358
26751Problem: Vim9: line number of exception is not set.
26752Solution: Set the line number before throwing an exception. (closes #9755)
26753Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
26754
26755Patch 8.2.4359
26756Problem: crash when repeatedly using :retab.
26757Solution: Bail out when the line is getting too long.
26758Files: src/indent.c, src/testdir/test_retab.vim
26759
26760Patch 8.2.4360
26761Problem: Vim9: allowing use of "s:" leads to inconsistencies.
26762Solution: Disallow using "s:" in Vim9 script at the script level.
26763Files: src/userfunc.c, src/proto/userfunc.pro, src/errors.h,
26764 src/vim9compile.c, src/eval.c, src/testdir/vim9.vim,
26765 src/testdir/test_vim9_assign.vim,
26766 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
26767 src/testdir/test_vim9_disassemble.vim,
26768 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
26769 src/testdir/test_vim9_import.vim, src/testdir/test_vim9_script.vim
26770
26771Patch 8.2.4361 (after 8.2.4360)
26772Problem: Vim9: some tests fail.
26773Solution: Fix the tests, mostly by removing "s:".
26774Files: src/testdir/test_expr.vim, src/testdir/test_functions.vim,
26775 src/testdir/test_ins_complete.vim, src/testdir/test_normal.vim,
26776 src/testdir/test_tagfunc.vim
26777
26778Patch 8.2.4362
26779Problem: :retab may allocate too much memory.
26780Solution: Bail out when allocating more than MAXCOL bytes.
26781Files: src/indent.c
26782
26783Patch 8.2.4363
26784Problem: MS-Windows: running out of memory for a very long line.
26785Solution: Use a 32 bit value for MAXCOL also when ints are 64 bits.
26786Files: src/vim.h
26787
26788Patch 8.2.4364
26789Problem: MS-Windows: still running out of memory for a very long line.
26790Solution: Check for negative length.
26791Files: src/indent.c
26792
26793Patch 8.2.4365 (after 8.2.4348)
26794Problem: sticky command modifiers are too sticky.
26795Solution: Do not apply command modifiers to a called function. (closes #9751)
26796Files: src/userfunc.c, src/testdir/test_vim9_cmd.vim
26797
26798Patch 8.2.4366
26799Problem: Not enough tests for command line completion.
26800Solution: Add a few more tests. (Yegappan Lakshmanan, closes #9760)
26801Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
26802 src/testdir/test_usercommands.vim
26803
26804Patch 8.2.4367
26805Problem: Calling in_vim9script() multiple times.
26806Solution: Call it once and keep the result.
26807Files: src/userfunc.c, src/eval.c
26808
26809Patch 8.2.4368
26810Problem: Amiga: a few compiler warnings.
26811Solution: Adjust #ifdefs. Add "UNUSED". (Ola Söder, closes #9756,
26812 closes #9757)
26813Files: src/term.c, src/os_amiga.c
26814
26815Patch 8.2.4369
26816Problem: Redundant #ifdef argument.
26817Solution: Remove unused MSWIN. (Ola Söder, closes #9758)
26818Files: src/feature.h
26819
26820Patch 8.2.4370
26821Problem: MS-Windows: libsodium.dll not included with the installer.
26822Solution: Add the file to the installer if it exists. (Christian Brabandt,
26823 closes #9762)
26824Files: nsis/gvim.nsi
26825
26826Patch 8.2.4371
26827Problem: Vim9: can create a script variable from a legacy function.
26828Solution: Disallow creating a script variable from a function.
26829Files: src/evalvars.c, src/errors.h, src/testdir/test_vim9_script.vim
26830
26831Patch 8.2.4372
26832Problem: Filetype detection from file contents is in legacy script.
26833Solution: Use a compiled function for filetype detection.
26834Files: runtime/scripts.vim, runtime/autoload/dist/script.vim
26835
26836Patch 8.2.4373
26837Problem: Expression test fails.
26838Solution: Make the test work with latest Vim9 syntax.
26839Files: src/testdir/test_expr.vim
26840
26841Patch 8.2.4374
26842Problem: Unreachable code.
26843Solution: Remove outdated code lines.
26844Files: src/vim9compile.c
26845
26846Patch 8.2.4375
26847Problem: ctx_imports is not used.
26848Solution: Delete ctx_imports. Add missing dependency.
26849Files: src/vim9.h, src/vim9compile.c, src/proto/vim9compile.pro,
26850 src/eval.c, src/evalfunc.c, src/evalvars.c, src/userfunc.c,
26851 src/vim9expr.c, src/vim9script.c, src/Makefile
26852
26853Patch 8.2.4376
26854Problem: Not enough tests for command line completion.
26855Solution: Add a few more tests. (Yegappan Lakshmanan, closes #9771)
26856Files: src/testdir/test_cmdline.vim, src/testdir/test_usercommands.vim
26857
26858Patch 8.2.4377
26859Problem: CI steps for Windows are a bit unorganized.
26860Solution: Organize CI test steps on Windows. (Ozaki Kiichi, closes #9764)
26861Files: .github/workflows/ci.yml
26862
26863Patch 8.2.4378
26864Problem: Incsearch highlight broken when calling searchcount() in 'tabLine'
26865 function. (Mirko Palmer)
26866Solution: Save and restore the incsearch state. (Christian Brabandt,
26867 closes #9763, closes #9633)
26868Files: src/search.c, src/testdir/test_search_stat.vim,
26869 src/testdir/dumps/Test_searchstat_inc_1.dump,
26870 src/testdir/dumps/Test_searchstat_inc_2.dump,
26871 src/testdir/dumps/Test_searchstat_inc_3.dump
26872
26873Patch 8.2.4379
26874Problem: An empty change is reported to a listener.
26875Solution: Do not report an empty change. (closes #9768) Remove unused
26876 return value.
26877Files: src/undo.c, src/change.c, src/testdir/test_listener.vim
26878
26879Patch 8.2.4380
26880Problem: Small differences between Chinese translation files.
26881Solution: Add rule for converting UTF-8 to gb2312. (closes #9773)
26882Files: src/po/Makefile, src/po/Make_all.mak
26883
26884Patch 8.2.4381 (after 8.2.4380)
26885Problem: Translation file listed twice.
26886Solution: Remove one entry.
26887Files: src/po/Make_all.mak
26888
26889Patch 8.2.4382 (after 8.2.4346)
26890Problem: A custom 'tabline' may cause Esc to work like Enter on the
26891 command line when the popup menu is displayed.
26892Solution: Save and restore KeyTyped. (closes #9776)
26893Files: src/drawscreen.c, src/screen.c, src/testdir/test_cmdline.vim,
26894 src/testdir/dumps/Test_wildmenu_pum_40.dump
26895
26896Patch 8.2.4383
26897Problem: Vim9: unused code lines.
26898Solution: Rely on either "cctx" or "cstack" to not be NULL.
26899Files: src/vim9compile.c
26900
26901Patch 8.2.4384
26902Problem: Vim9: error message not tested, some code not tested.
26903Solution: Add a couple of test cases. Give an error for a command modifier
26904 without a command.
26905Files: src/errors.h, src/vim9compile.c, src/ex_docmd.c,
26906 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_cmd.vim
26907
26908Patch 8.2.4385 (after 8.2.4384)
26909Problem: Cannot build tiny version.
26910Solution: Adjust #ifdefs.
26911Files: src/errors.h
26912
26913Patch 8.2.4386 (after 8.2.4384)
26914Problem: Still cannot build tiny version.
26915Solution: Adjust #ifdefs.
26916Files: src/ex_docmd.c
26917
26918Patch 8.2.4387
26919Problem: Command line completion doesn't always work properly.
26920Solution: Adjust triggering after a "|". Add more tests. (Yegappan
26921 Lakshmanan, closes #9779)
26922Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
26923
26924Patch 8.2.4388
26925Problem: Dead code in op_insert().
26926Solution: Remove condition and else block. (closes #9782)
26927Files: src/ops.c
26928
26929Patch 8.2.4389
26930Problem: screenpos() does not handle a position in a closed fold.
26931Solution: Check if the position is inside a closed fold. (closes #9778)
26932Files: src/move.c, src/testdir/test_cursor_func.vim
26933
26934Patch 8.2.4390
26935Problem: Vim9: list from declaration with inferred type does not set the
26936 type on the value.
26937Solution: When inferring the type in a variable declaration also set the
26938 type of the list or dictionary. (closes #9705) Do not set the
26939 type when the member is "any".
26940Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
26941 src/testdir/test_vim9_builtin.vim,
26942 src/testdir/test_vim9_disassemble.vim
26943
26944Patch 8.2.4391
26945Problem: Command line executed when typing Esc in the GUI.
26946Solution: Move saving/restoring KeyTyped to build_stl_str_hl().
26947 (closes #9783)
26948Files: src/buffer.c, src/screen.c
26949
26950Patch 8.2.4392 (after 8.2.4002)
26951Problem: MS-Windows with VIMDLL: Escaping CSI is wrong.
26952Solution: Put back #ifdef. (Ken Takata, closes #9769)
26953Files: src/getchar.c
26954
26955Patch 8.2.4393
26956Problem: Possible number overflow with nested folds.
26957Solution: Avoid a negative line number.
26958Files: src/fold.c
26959
26960Patch 8.2.4394 (after 8.2.4392)
26961Problem: UTF8 select mode test fails on MS-Windows.
26962Solution: Revert the #ifdef change.
26963Files: src/getchar.c
26964
26965Patch 8.2.4395
26966Problem: Some code lines not covered by tests.
26967Solution: Add a few more test cases. Fix getting more than one error for
26968 invalid assignment.
26969Files: src/evalvars.c, src/errors.h, src/vim9compile.c,
26970 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_cmd.vim,
26971 src/testdir/test_vim9_func.vim
26972
26973Patch 8.2.4396 (after 8.2.4395)
26974Problem: Python3 test fails.
26975Solution: Remove "let".
26976Files: src/testdir/test_vim9_func.vim
26977
26978Patch 8.2.4397
26979Problem: Crash when using many composing characters in error message.
26980Solution: Use mb_cptr2char_adv() instead of mb_ptr2char_adv().
26981Files: src/testing.c, src/testdir/test_assert.vim
26982
26983Patch 8.2.4398
26984Problem: Some command completion functions are too long.
26985Solution: Refactor code into separate functions. Add a few more tests.
26986 (Yegappan Lakshmanan, closes #9785)
26987Files: src/cmdexpand.c, src/ex_getln.c, src/usercmd.c,
26988 src/proto/usercmd.pro, src/testdir/test_cmdline.vim
26989
26990Patch 8.2.4399
26991Problem: Crash after ml_get error.
26992Solution: When returning "???" flush the line and set ml_line_lnum.
26993Files: src/memline.c
26994
26995Patch 8.2.4400 (after 8.2.4394)
26996Problem: MS-Windows: cannot use the mouse in the console with VIMDLL.
26997Solution: use add_char2buf() instead of fix_input_buffer(). (closes #9784,
26998 closes #9769)
26999Files: src/getchar.c
27000
27001Patch 8.2.4401
27002Problem: Map listing does not clear the rest of the command line.
27003Solution: Call msg_clear_eos(). (closes #5623, closes #5962)
27004Files: src/map.c, src/testdir/test_mapping.vim,
27005 src/testdir/dumps/Test_map_list_1.dump
27006
27007Patch 8.2.4402
27008Problem: Missing parenthesis may cause unexpected problems.
27009Solution: Add more parenthesis is macros. (closes #9788)
27010Files: src/autocmd.c, src/charset.c, src/drawline.c, src/drawscreen.c,
27011 src/evalfunc.c, src/fileio.c, src/fold.c, src/getchar.c,
27012 src/highlight.c, src/memline.c, src/normal.c, src/quickfix.c,
27013 src/regexp.c, src/search.c, src/sha256.c, src/spell.c,
27014 src/spellfile.c, src/spellsuggest.c, src/syntax.c, src/window.c
27015
27016Patch 8.2.4403
27017Problem: ml_get error with nested folds and deleting lines.
27018Solution: Correct the last line number before calling hasFoldingWin().
27019Files: src/change.c
27020
27021Patch 8.2.4404
27022Problem: Vim9: some code not covered by tests.
27023Solution: Add a few specific test cases.
27024Files: src/vim9execute.c, src/testdir/test_vim9_func.vim,
27025 src/testdir/test_vim9_import.vim
27026
27027Patch 8.2.4405
27028Problem: Compiler warning for unused variable without the +folding feature.
27029 (Tony Mechelynck)
27030Solution: Add #ifdef.
27031Files: src/change.c
27032
27033Patch 8.2.4406
27034Problem: Expand functions use confusing argument names.
27035Solution: Rename "file" to "match". Refactor some completion code. Add a
27036 few more tests. (Yegappan Lakshmanan, closes #9790)
27037Files: src/cmdexpand.c, src/testdir/test_usercommands.vim
27038
27039Patch 8.2.4407
27040Problem: Vim9: some code not covered by tests.
27041Solution: Add more tests. Avoid giving two errors. Remove dead code.
27042Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim,
27043 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_func.vim
27044
27045Patch 8.2.4408
27046Problem: Vim9: some code not covered by tests.
27047Solution: Add a few more tests. Correct error message. Allow unlet on dict
27048 with a number key.
27049Files: src/vim9execute.c, src/errors.h, src/testdir/test_vim9_assign.vim
27050
27051Patch 8.2.4409
27052Problem: Vim9: some code not covered by tests.
27053Solution: Add a few more tests. Fix reported line number.
27054Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
27055
27056Patch 8.2.4410
27057Problem: Vim9: some code not covered by tests.
27058Solution: Add a few more tests. Remove dead code.
27059Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim,
27060 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_expr.vim,
27061 src/testdir/test_vim9_script.vim
27062
27063Patch 8.2.4411
27064Problem: Bicep files are not recognized.
27065Solution: Match *.bicep files. (Dundar Goc, closes #9791)
27066Files: runtime/filetype.vim, src/testdir/test_filetype.vim
27067
27068Patch 8.2.4412
27069Problem: Translation cleanup script does not remove empty lines at end.
27070Solution: Remove empty lines at the end. (Ken Takata, closes #9794)
27071Files: src/po/cleanup.vim
27072
27073Patch 8.2.4413
27074Problem: Vim9: Coverity warns for using NULL pointer.
27075Solution: Give an internal error when funcref function can't be found.
27076Files: src/vim9execute.c
27077
27078Patch 8.2.4414
27079Problem: Solidity files are not recognized.
27080Solution: Add the *.sol pattern. (Dundar Goc, closes #9792)
27081Files: runtime/filetype.vim, src/testdir/test_filetype.vim
27082
27083Patch 8.2.4415
27084Problem: Function argument name conflicts with C++ keyword.
27085Solution: Rename the argument.
27086Files: src/usercmd.c, src/proto/usercmd.pro
27087
27088Patch 8.2.4416
27089Problem: Vim9: using a script-local function requires using "s:" when
27090 setting 'completefunc'.
27091Solution: Do not require "s:" in Vim9 script. (closes #9796)
27092Files: runtime/doc/options.txt, src/userfunc.c,
27093 src/testdir/test_ins_complete.vim
27094
27095Patch 8.2.4417 (after 8.2.4416)
27096Problem: Using NULL pointer.
27097Solution: Set offset after checking for NULL pointer.
27098Files: src/userfunc.c
27099
27100Patch 8.2.4418
27101Problem: Crash when using special multi-byte character.
27102Solution: Don't use isalpha() for an arbitrary character.
27103Files: src/charset.c, src/proto/charset.pro, src/filepath.c,
27104 src/testdir/test_autochdir.vim
27105
27106Patch 8.2.4419
27107Problem: Illegal memory access when using exactly 20 highlights.
27108Solution: Add one more item in the array. (Brandon Richardson,
27109 closes #9800)
27110Files: src/buffer.c, src/testdir/test_tabline.vim
27111
27112Patch 8.2.4420
27113Problem: Menu translations are inconsistent.
27114Solution: Add a Makefile to convert between encodings. (Ada (Haowen) Yu,
27115 closes #9801)
27116Files: runtime/lang/Makefile, runtime/lang/menu_af_af.latin1.vim,
27117 runtime/lang/menu_ca_es.latin1.vim,
27118 runtime/lang/menu_chinese_gb.936.vim,
27119 runtime/lang/menu_chinese_taiwan.950.vim,
27120 runtime/lang/menu_cs_cz.iso_8859-2.vim,
27121 runtime/lang/menu_cs_cz.utf-8.vim,
27122 runtime/lang/menu_czech_czech_republic.1250.vim,
27123 runtime/lang/menu_czech_czech_republic.ascii.vim,
27124 runtime/lang/menu_da.utf-8.vim,
27125 runtime/lang/menu_de_de.latin1.vim,
27126 runtime/lang/menu_eo.utf-8.vim,
27127 runtime/lang/menu_es_es.latin1.vim,
27128 runtime/lang/menu_fi_fi.latin1.vim,
27129 runtime/lang/menu_fr_fr.latin1.vim,
27130 runtime/lang/menu_hu_hu.iso_8859-2.vim,
27131 runtime/lang/menu_hu_hu.utf-8.vim,
27132 runtime/lang/menu_is_is.latin1.vim,
27133 runtime/lang/menu_it_it.latin1.vim,
27134 runtime/lang/menu_ja_jp.euc-jp.vim,
27135 runtime/lang/menu_ja_jp.utf-8.vim,
27136 runtime/lang/menu_japanese_japan.932.vim,
27137 runtime/lang/menu_ko_kr.euckr.vim,
27138 runtime/lang/menu_ko_kr.utf-8.vim,
27139 runtime/lang/menu_nl_nl.latin1.vim,
27140 runtime/lang/menu_no_no.latin1.vim,
27141 runtime/lang/menu_pl_pl.iso_8859-2.vim,
27142 runtime/lang/menu_pl_pl.utf-8.vim,
27143 runtime/lang/menu_polish_poland.1250.vim,
27144 runtime/lang/menu_pt_br.vim, runtime/lang/menu_pt_pt.vim,
27145 runtime/lang/menu_ru.utf-8.vim,
27146 runtime/lang/menu_ru_ru.koi8-r.vim,
27147 runtime/lang/menu_ru_ru.utf-8.vim, runtime/lang/menu_ru_ru.vim,
27148 runtime/lang/menu_sk_sk.iso_8859-2.vim,
27149 runtime/lang/menu_sl_si.cp1250.vim,
27150 runtime/lang/menu_sl_si.latin2.vim,
27151 runtime/lang/menu_sl_si.utf-8.vim,
27152 runtime/lang/menu_slovak_slovak_republic.1250.vim,
27153 runtime/lang/menu_sr_rs.ascii.vim,
27154 runtime/lang/menu_sr_rs.iso_8859-2.vim,
27155 runtime/lang/menu_sr_rs.iso_8859-5.vim,
27156 runtime/lang/menu_sr_rs.utf-8.vim,
27157 runtime/lang/menu_sv_se.latin1.vim,
27158 runtime/lang/menu_tr_tr.cp1254.vim,
27159 runtime/lang/menu_tr_tr.iso_8859-9.vim,
27160 runtime/lang/menu_tr_tr.utf-8.vim,
27161 runtime/lang/menu_uk_ua.cp1251.vim,
27162 runtime/lang/menu_uk_ua.koi8-u.vim,
27163 runtime/lang/menu_uk_ua.utf-8.vim, runtime/lang/menu_vi_vn.vim,
27164 runtime/lang/menu_zh_cn.utf-8.vim,
27165 runtime/lang/menu_zh_tw.utf-8.vim
27166
27167Patch 8.2.4421
27168Problem: Some installed files and directories have wrong permissions.
27169Solution: Adjust the Makefile and shell to set permissions. (closes #9793)
27170Files: src/Makefile, src/installman.sh
27171
27172Patch 8.2.4422
27173Problem: Autochdir test fails on MS-Windows.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000027174Solution: Expect another error on MS-Windows.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000027175Files: src/testdir/test_autochdir.vim
27176
27177Patch 8.2.4423
27178Problem: "make nvcmdidxs" fails.
27179Solution: Use "-S" instead of "-u" to source the script.
27180Files: src/Makefile
27181
27182Patch 8.2.4424
27183Problem: ".gts" and ".gjs" files are not recognized.
27184Solution: Recognize Glimmer flavored typescript and javascript.
27185 (closes #9799)
27186Files: runtime/filetype.vim, src/testdir/test_filetype.vim
27187
27188Patch 8.2.4425
27189Problem: map() function does not check function arguments at compile time.
27190Solution: Give an error if the arguments of a map() function are wrong.
27191Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim,
27192 src/testdir/test_vim9_func.vim
27193
27194Patch 8.2.4426
27195Problem: map() function on string and blob does not check argument types at
27196 compile time.
27197Solution: Check string and blob argument types. Support "0z1234->func()".
27198Files: src/vim9compile.c, src/evalfunc.c, src/ex_docmd.c,
27199 src/testdir/test_vim9_builtin.vim
27200
27201Patch 8.2.4427
27202Problem: getchar() may return modifiers if no character is available.
27203Solution: Do not process modifiers when there is no character. (closes #9806)
27204Files: src/getchar.c, src/testdir/test_functions.vim
27205
27206Patch 8.2.4428
27207Problem: Crash when switching tabpage while in the cmdline window.
27208Solution: Disallow switching tabpage when in the cmdline window.
27209Files: src/window.c, src/proto/window.pro, src/evalvars.c,
27210 src/evalvars.c, src/usercmd.c
27211
27212Patch 8.2.4429
27213Problem: Using script-local function from the wrong script when using a
27214 partial. (Yegappan Lakshmanan)
27215Solution: Include the script ID in the partial name.
27216Files: src/userfunc.c, src/proto/userfunc.pro, src/evalfunc.c,
27217 src/vim9type.c, src/testdir/test_vim9_import.vim
27218
Bram Moolenaard799daa2022-06-20 11:17:32 +010027219Patch 8.2.4430
27220Problem: GTK: crash when using 'guiligatures' and reading from stdin.
27221Solution: Make a copy of the message. (Amon Sha, closes #9719, closes #9814)
27222Files: src/fileio.c
27223
27224Patch 8.2.4431
27225Problem: Unnecessary condition when assigning to a variable.
27226Solution: Remove the condition.
27227Files: src/evalvars.c
27228
27229Patch 8.2.4432 (after 8.2.4428)
27230Problem: Cannot use settabvar() while the cmdline window is open.
27231Solution: Only give an error when actually switching tabpage.
27232 (closes #9813)
27233Files: src/window.c
27234
27235Patch 8.2.4433
27236Problem: CI: cannot see interface versions for MS-Windows.
27237Solution: List the interface versions. (Ken Takata, closes #9811)
27238Files: .github/workflows/ci.yml
27239
27240Patch 8.2.4434
27241Problem: Duplicate check for cmdline window.
27242Solution: Remove the second check. (Sean Dewar, closes #9816)
27243Files: src/window.c
27244
27245Patch 8.2.4435
27246Problem: Dead code in checking map() arguments. (Dominique Pellé)
27247Solution: Remove the first return statement. (closes #9815)
27248Files: src/evalfunc.c
27249
27250Patch 8.2.4436
27251Problem: Crash with weird 'vartabstop' value.
27252Solution: Check for running into the end of the line.
27253Files: src/indent.c, src/testdir/test_vartabs.vim
27254
27255Patch 8.2.4437
27256Problem: Vartabs test fails on MS-Windows.
27257Solution: Use iso8859-1 'encoding'. (Ken Takata, closes #9818)
27258Files: src/testdir/test_vartabs.vim
27259
27260Patch 8.2.4438
27261Problem: Crash on exit when using cmdline window.
27262Solution: Reset "cmdwin_type" before exiting. (closes #9817)
27263Files: src/ui.c, src/testdir/test_exit.vim
27264
27265Patch 8.2.4439
27266Problem: Accepting "iso8859" 'encoding' as "iso-8859-".
27267Solution: use "iso8859" as "iso-8859-1".
27268Files: src/mbyte.c, src/testdir/test_options.vim
27269
27270Patch 8.2.4440
27271Problem: Crash with specific regexp pattern and string.
27272Solution: Stop at the start of the string.
27273Files: src/regexp_bt.c, src/testdir/test_regexp_utf8.vim
27274
27275Patch 8.2.4441
27276Problem: Vim9: function argument of filter() not checked like map().
27277Solution: Also check the function argument of filter().
27278Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
27279
27280Patch 8.2.4442 (after 8.2.4438)
27281Problem: Test for error reading input fails on MS-Windows.
27282Solution: Don't run the test on MS-Windows.
27283Files: src/testdir/test_exit.vim
27284
27285Patch 8.2.4443 (after 8.2.4440)
27286Problem: Regexp pattern test fails on Mac.
27287Solution: Do not use a swapfile for the buffer.
27288Files: src/testdir/test_regexp_utf8.vim
27289
27290Patch 8.2.4444
27291Problem: Beep caused by test. ASAN reports leaks.
27292Solution: Do not put a NL at the end of the script. Make the text work on
27293 MS-Windows. Do not run the test with ASAN.
27294Files: src/testdir/test_exit.vim
27295
27296Patch 8.2.4445
27297Problem: Exit test fails on MS-Windows anyway.
27298Solution: Skip the test on MS-Windows.
27299Files: src/testdir/test_exit.vim
27300
27301Patch 8.2.4446
27302Problem: Vim9: cannot refer to a global function like a local one.
27303Solution: When g:name is not a variable but a function, use a function
27304 reference. (closes #9826)
27305Files: src/vim9execute.c, src/testdir/test_vim9_builtin.vim
27306
27307Patch 8.2.4447
27308Problem: Vim9: can still use s:var in a compiled function.
27309Solution: Disallow using s:var for Vim9 script. (closes #9824)
27310Files: runtime/doc/vim9.txt, src/vim9expr.c, src/vim9compile.c,
27311 src/testdir/test_vim9_assign.vim
27312
27313Patch 8.2.4448 (after 8.2.4447)
27314Problem: Filetype detection is failing.
27315Solution: Do not use "s:" where it is no longer allowed.
27316Files: runtime/autoload/dist/ft.vim,
27317
27318Patch 8.2.4449
27319Problem: vim9: function argument of sort() not checked at compile time.
27320Solution: Add a compile time check.
27321Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
27322
27323Patch 8.2.4450 (after 8.2.4449)
27324Problem: List sort test fails.
27325Solution: Pass a valid "how" argument.
27326Files: src/testdir/test_listdict.vim
27327
27328Patch 8.2.4451 (after 8.2.4450)
27329Problem: sort() fails when ignoring case.
27330Solution: Accept a number one argument in sort().
27331Files: src/evalfunc.c, src/testdir/test_listdict.vim
27332
27333Patch 8.2.4452
27334Problem: Test for what 8.2.4436 fixes does not check for regression.
27335Solution: Set several options. (Ken Takata, closes #9830)
27336Files: src/testdir/test_vartabs.vim
27337
27338Patch 8.2.4453
27339Problem: :helpgrep may free an option that was not allocated. (Yegappan
27340 Lakshmanan)
27341Solution: Check if the value was allocated.
27342Files: src/option.c, src/proto/option.pro, src/quickfix.c,
27343 src/testdir/test_quickfix.vim
27344
27345Patch 8.2.4454
27346Problem: Resetting cmdwin_type only for one situation.
27347Solution: Reset cmdwin_type before closing windows. (closes #9822)
27348Files: src/ui.c, src/window.c, src/testdir/test_exit.vim
27349
27350Patch 8.2.4455
27351Problem: Accepting one and zero for the second sort() argument is strange.
27352Solution: Disallow using one and zero in Vim9 script.
27353Files: runtime/doc/builtin.txt, src/evalfunc.c, src/list.c,
27354 src/testdir/test_listdict.vim
27355
27356Patch 8.2.4456
27357Problem: Terminal test may fail on some machines.
27358Solution: Increase wait time. (Zdenek Dohnal, closes #9834)
27359Files: src/testdir/test_terminal.vim
27360
27361Patch 8.2.4457
27362Problem: The GPM library can only be linked statically.
27363Solution: Make it possible to load the GPM library dynamically. (Damien)
27364Files: runtime/doc/various.txt, src/config.h.in, src/configure.ac,
27365 src/Makefile, src/evalfunc.c, src/feature.h, src/os_unix.c,
27366 src/proto/os_unix.pro, src/version.c
27367
27368Patch 8.2.4458
27369Problem: Vim9: compiling filter() call fails with funcref that has unknown
27370 arguments.
27371Solution: Do not check the arguments if they are unknown at compile time.
27372 (closes #9835)
27373Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
27374
27375Patch 8.2.4459
27376Problem: Vim9: compiling sort() call fails with a funcref that has unknown
27377 arguments.
27378Solution: Do not check the arguments if they are unknown at compile time.
27379 (closes #9835)
27380Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
27381
27382Patch 8.2.4460
27383Problem: Vim9: wrong error for defining dict function.
27384Solution: Explicitly check for trying to define a dict function.
Bram Moolenaar76db9e02022-11-09 21:21:04 +000027385 (closes #9827)
Bram Moolenaard799daa2022-06-20 11:17:32 +010027386Files: src/errors.h, src/userfunc.c, src/vim9compile.c,
27387 src/testdir/test_vim9_func.vim
27388
27389Patch 8.2.4461
27390Problem: MS-Windows: garbage characters on stdout with VIMDLL.
27391Solution: Don't call gui_focus_change() when about to quit. (Ken Takata,
27392 closes #9840)
27393Files: src/gui_w32.c
27394
27395Patch 8.2.4462
27396Problem: Not enough testing for quickfix code.
27397Solution: Add more tests. Fix uncovered problem. (Yegappan Lakshmanan,
27398 closes #9839)
27399Files: src/quickfix.c, src/window.c, src/testdir/test_makeencoding.vim,
27400 src/testdir/test_quickfix.vim
27401
27402Patch 8.2.4463
27403Problem: Completion only uses strict matching.
27404Solution: Add the "fuzzy" item for 'wildoptions'. (Yegappan Lakshmanan,
27405 closes #9803)
27406Files: runtime/doc/options.txt, src/buffer.c, src/cmdexpand.c,
27407 src/option.c, src/option.h, src/optionstr.c,
27408 src/proto/cmdexpand.pro, src/proto/option.pro,
27409 src/proto/search.pro, src/search.c, src/structs.h,
27410 src/testdir/gen_opt_test.vim, src/testdir/test_cmdline.vim
27411
27412Patch 8.2.4464
27413Problem: Dtrace files are recognized as filetype D.
27414Solution: Add a pattern for Dtrace files. (Teubel György, closes #9841)
27415 Add some more testing.
27416Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
27417 src/testdir/test_filetype.vim
27418
27419Patch 8.2.4465
27420Problem: Fuzzy completion does not order matches properly.
27421Solution: Do not use regular expression match. (Yegappan Lakshmanan,
27422 closes #9843)
27423Files: src/cmdexpand.c, src/search.c, src/testdir/test_cmdline.vim
27424
27425Patch 8.2.4466
27426Problem: MS-Windows: illegal memory access in installer when using
27427 "create-directories" as the final argument.
27428Solution: Check the argument count. (Cam Sinclair, closes #9844)
27429Files: src/dosinst.c
27430
27431Patch 8.2.4467
27432Problem: Running filetype test leaves file behind.
27433Solution: Delete the file.
27434Files: src/testdir/test_filetype.vim
27435
27436Patch 8.2.4468
27437Problem: Coverity warns for uninitialized struct member.
27438Solution: Set color.index to zero.
27439Files: src/terminal.c
27440
27441Patch 8.2.4469
27442Problem: Coverity warns for uninitialized variable.
27443Solution: Set the value to zero.
27444Files: src/ex_getln.c
27445
27446Patch 8.2.4470
27447Problem: Coverity warns for uninitialized variable.
27448Solution: Set can_spell to zero.
27449Files: src/drawline.c
27450
27451Patch 8.2.4471
27452Problem: Coverity warns for uninitialized variable.
27453Solution: Set flags to zero.
27454Files: src/vim9cmds.c
27455
27456Patch 8.2.4472
27457Problem: Coverity warns for use of a freed function name.
27458Solution: Only check an autoload name when is prefixed.
27459Files: src/userfunc.c
27460
27461Patch 8.2.4473
Bram Moolenaar8a3b8052022-06-26 12:21:15 +010027462Problem: Coverity warns for not checking return value of ftell().
Bram Moolenaard799daa2022-06-20 11:17:32 +010027463Solution: Bail out if ftell() returns a negative value.
27464Files: src/spellfile.c
27465
27466Patch 8.2.4474
27467Problem: Memory allocation failures not tested in quickfix code.
27468Solution: Add alloc IDs and tests. (Yegappan Lakshmanan, closes #9848)
27469Files: src/alloc.h, src/quickfix.c, src/vim.h,
27470 src/testdir/test_quickfix.vim
27471
27472Patch 8.2.4475
27473Problem: Fuzzy cmdline completion does not work for lower case.
27474Solution: Also use fuzzy completion for lower case input. (Yegappan
27475 Lakshmanan, closes #9849)
27476Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
27477
27478Patch 8.2.4476
27479Problem: Operator name spelled wrong.
27480Solution: Change trinary to ternary. (Goc Dundar, closes #9850)
27481Files: src/testdir/test_expr.vim, src/testdir/test_vim9_expr.vim,
27482 src/testdir/test_vimscript.vim
27483
27484Patch 8.2.4477
27485Problem: Crash when using fuzzy completion.
27486Solution: Temporary fix: put back regexp. (closes #9851)
27487Files: src/cmdexpand.c
27488
27489Patch 8.2.4478
27490Problem: Crash when using fuzzy completion.
27491Solution: Temporary fix: put back regexp. (closes #9852, closes #9851)
27492Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
27493
27494Patch 8.2.4479
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010027495Problem: No fuzzy completion for maps and abbreviations.
Bram Moolenaard799daa2022-06-20 11:17:32 +010027496Solution: Fuzzy complete maps and abbreviations. (Yegappan Lakshmanan,
27497 closes #9856)
27498Files: src/cmdexpand.c, src/map.c, src/proto/map.pro, src/search.c,
27499 src/testdir/test_cmdline.vim
27500
27501Patch 8.2.4480
27502Problem: Suspending with CTRL-Z does not work on Android.
27503Solution: Do not handle SIGTSTP. (closes #9854)
27504Files: src/os_unix.c
27505
27506Patch 8.2.4481
27507Problem: Cmdline popup menu not removed when 'lazyredraw' is set.
27508Solution: Temporarily reset 'lazyredraw' when removing the popup menu.
27509 (closes #9857)
27510Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
27511 src/testdir/dumps/Test_wildmenu_pum_41.dump
27512
27513Patch 8.2.4482
27514Problem: No fuzzy cmdline completion for user defined completion.
27515Solution: Add fuzzy completion for user defined completion. (Yegappan
27516 Lakshmanan, closes #9858)
27517Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
27518
27519Patch 8.2.4483
27520Problem: Command completion makes two rounds to collect matches.
27521Solution: Use a growarray to collect matches. (Yegappan Lakshmanan,
27522 closes #9860)
27523Files: src/buffer.c, src/cmdexpand.c, src/map.c,
27524 src/testdir/test_cmdline.vim
27525
27526Patch 8.2.4484
27527Problem: Vim9: some error messages are not tested.
27528Solution: Add a few more test cases. Delete dead code.
27529Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim,
27530 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim
27531
27532Patch 8.2.4485
27533Problem: Compiler warning for uninitialized variable.
27534Solution: Initialize the variable. (John Marriott)
27535Files: src/cmdexpand.c
27536
27537Patch 8.2.4486
27538Problem: MS-Windows GUI: slow scrolling with maximized window.
27539Solution: Use a better way to check the window is on screen. (Ken Takata,
27540 closes #9865)
27541Files: src/gui_w32.c
27542
27543Patch 8.2.4487
27544Problem: Vim9: cannot compare with v:null.
27545Solution: Allow comparing anything with v:null. (closes #9866)
27546Files: src/vim9instr.c, src/typval.c, src/proto/typval.pro,
27547 src/vim9.h, src/vim9execute.c, src/evalvars.c,
27548 src/testdir/test_vim9_expr.vim,
27549 src/testdir/test_vim9_disassemble.vim
27550
27551Patch 8.2.4488 (after 8.2.4487)
27552Problem: Build error with +eval but without +channel or +job.
27553Solution: Add #ifdef. (John Marriott)
27554Files: src/typval.c
27555
27556Patch 8.2.4489 (after 8.2.4487)
27557Problem: Failing test for comparing v:null with number.
27558Solution: Allow comparing v:null with number in legacy script.
27559 (Ken Takata, closes #9873) Also do this for float.
27560Files: src/typval.c, src/testdir/test_vimscript.vim
27561
27562Patch 8.2.4490
27563Problem: Terminal focus reporting only works for xterm-like terminals.
27564 (Jonathan Rascher)
27565Solution: Remove the "focus_mode" flag. (closes #9859)
27566Files: src/term.c
27567
27568Patch 8.2.4491
27569Problem: MS-Windows makefile dependencies are outdated.
27570Solution: Update dependencies. (Ken Takata, closes #9876)
27571Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
27572
27573Patch 8.2.4492
27574Problem: No error if an option is given an invalid value with
27575 ":let &opt = val".
27576Solution: Give the error. (closes #9864)
27577Files: src/evalvars.c, src/testdir/test_options.vim
27578
27579Patch 8.2.4493 (after 8.2.4492)
27580Problem: Options test fails in the GUI.
27581Solution: Do not save and restore 'term'.
27582Files: src/testdir/gen_opt_test.vim
27583
27584Patch 8.2.4494
27585Problem: The find_tags() function is much too long.
27586Solution: Refactor the function. (Yegappan Lakshmanan, closes #9869)
27587Files: src/quickfix.c, src/tag.c, src/testdir/test_tagjump.vim
27588
27589Patch 8.2.4495
27590Problem: Help test fails in 24 line terminal.
27591Solution: Use up to 23 lines for text.
27592Files: src/testdir/test_help.vim
27593
27594Patch 8.2.4496 (after 8.2.4494)
27595Problem: Coverity gives warnings after tags code refactoring.
27596Solution: Avoid the warnings. (Yegappan Lakshmanan, closes #9882)
27597Files: src/tag.c
27598
27599Patch 8.2.4497
27600Problem: Wrong color for half of wide character next to pum scrollbar.
27601Solution: Redraw the screen cell with the right color. (closes #9874)
27602Files: src/screen.c, src/testdir/test_ins_complete.vim,
27603 src/testdir/dumps/Test_scrollbar_on_wide_char.dump
27604
27605Patch 8.2.4498
27606Problem: Using <Plug> with "noremap" does not work.
27607Solution: Always remap <Plug>. (closes #9879, closes #9789)
27608Files: runtime/doc/map.txt, src/getchar.c, src/testdir/test_mapping.vim
27609
27610Patch 8.2.4499
27611Problem: Vim9: at the script level declarations leak from try block to
27612 catch and finally block.
27613Solution: End the block and start a new one. (closes #9883)
27614Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
27615
27616Patch 8.2.4500
27617Problem: Vim9: can declare a global variable on the command line.
27618Solution: Disallow declaring a variable on the command line. (closes #9881)
27619Files: src/errors.h, src/evalvars.c, src/testdir/test_vim9_assign.vim,
27620 src/testdir/test_vim9_script.vim,
27621 src/testdir/dumps/Test_vim9_reject_declaration.dump
27622
27623Patch 8.2.4501
27624Problem: With 'showbreak' set and after the end of the line the cursor
27625 may be displayed in the wrong position.
27626Solution: Do not apply 'showbreak' after the end of the line. (closes #9884)
27627Files: src/charset.c, src/testdir/test_breakindent.vim,
27628 src/testdir/dumps/Test_cursor_position_with_showbreak.dump
27629
27630Patch 8.2.4502
27631Problem: In the GUI a modifier is not recognized for the key typed after
27632 CTRL-X, which may result in a mapping to be used. (Daniel
27633 Steinberg)
27634Solution: Recognize a modifier starting with CSI. (closes #9889)
27635Files: src/getchar.c, src/testdir/test_ins_complete.vim
27636
27637Patch 8.2.4503
27638Problem: Vim9: there is no point in supporting :Print and :mode.
27639Solution: Do not recognize :Print and :mode as commands. (closes #9870)
27640Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
27641
27642Patch 8.2.4504
27643Problem: When there is a partially matching map and modifyOtherKeys is
27644 active a full map may not work.
27645Solution: Only simplify modifiers when there is no matching mapping.
27646 (closes #8792)
27647Files: src/getchar.c, src/testdir/test_termcodes.vim
27648
27649Patch 8.2.4505
27650Problem: Vim9: outdated "autocmd nested" still works.
27651Solution: Do not accept the :autocmd argument "nested" without "++" in Vim9
27652 script.
27653Files: src/autocmd.c, src/errors.h, src/testdir/test_autocmd.vim
27654
27655Patch 8.2.4506
27656Problem: "pattern not found" for :global is not an error message.
27657Solution: In Vim9 script make this an actual error, so that try/catch can be
27658 used as expected.
27659Files: src/ex_cmds.c, src/errors.h, src/testdir/test_global.vim
27660
27661Patch 8.2.4507 (after 8.2.4506)
27662Problem: Test fails because of new error message.
27663Solution: Avoid the test fails.
27664Files: src/testdir/test_vim9_cmd.vim
27665
27666Patch 8.2.4508
27667Problem: Vim9: cannot assign to a global variable on the command line.
27668Solution: Allow using :vim9cmd for assignment on the command line.
27669Files: src/evalvars.c, src/testdir/test_vim9_script.vim,
27670 src/testdir/dumps/Test_vim9_reject_declaration.dump,
27671 src/testdir/dumps/Test_vim9_reject_declaration_1.dump,
27672 src/testdir/dumps/Test_vim9_reject_declaration_2.dump
27673
27674Patch 8.2.4509
27675Problem: Vim9: can declare a variable with ":va".
27676Solution: Disallow using ":va", require using ":var".
27677Files: src/evalvars.c, src/errors.h, src/vim9compile.c,
27678 src/testdir/test_vim9_assign.vim
27679
27680Patch 8.2.4510
27681Problem: Vim9: shortening commands leads to confusing script.
27682Solution: In Vim9 script require at least ":cont" for ":continue", "const"
27683 instead of "cons", "break" instead of "brea", "catch" instead of
27684 "cat", "else" instead of "el" "elseif" instead of "elsei" "endfor"
27685 instead of "endfo" "endif" instead of "en" "endtry" instead of
27686 "endt", "finally" instead of "fina", "throw" instead of "th",
27687 "while" instead of "wh".
27688Files: src/ex_cmds.h, src/ex_docmd.c, src/errors.h, src/evalvars.c,
27689 src/vim9compile.c, src/testdir/test_vim9_script.vim
27690
27691Patch 8.2.4511
27692Problem: Filetype test fails.
27693Solution: Change "endw" to "endwhile".
27694Files: runtime/autoload/dist/ft.vim
27695
27696Patch 8.2.4512
27697Problem: The find_tags_in_file() function is much too long.
27698Solution: Refactor into multiple smaller functions. (Yegappan Lakshmanan,
27699 closes #9892)
27700Files: Filelist, src/Makefile, src/quickfix.c, src/tag.c,
27701 src/testdir/test83-tags2, src/testdir/test83-tags3,
27702 src/testdir/test_tagjump.vim
27703
27704Patch 8.2.4513
27705Problem: Window-local directory is not applied if 'acd' fails.
27706Solution: Don't call do_autochdir(). (closes #9891)
27707Files: src/window.c, src/testdir/test_autochdir.vim
27708
27709Patch 8.2.4514
27710Problem: Vim9: some flow commands can be shortened.
27711Solution: Also require using the full name for ":return", ":enddef",
27712 ":continue", ":export" and ":import".
27713Files: src/ex_cmds.h, src/ex_docmd.c, src/errors.h, src/userfunc.c,
27714 src/testdir/test_vim9_script.vim
27715
27716Patch 8.2.4515
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010027717Problem: Old substitute syntax is still supported.
Bram Moolenaard799daa2022-06-20 11:17:32 +010027718Solution: Disallow using backslash after ":s" in Vim9 script.
27719Files: src/ex_cmds.c, src/errors.h, src/testdir/test_substitute.vim
27720
27721Patch 8.2.4516 (after 8.2.4515)
27722Problem: Build failure without the +eval feature.
27723Solution: Move error message outside of #ifdef.
27724Files: src/errors.h
27725
27726Patch 8.2.4517
27727Problem: MS-Windows: cannot specify location of sodium library.
27728Solution: Allow for using a path for SODIUM. (Ken Takata, closes #9896)
27729Files: src/Make_cyg_ming.mak
27730
27731Patch 8.2.4518
27732Problem: The binary tag search feature is always enabled.
27733Solution: Remove the #ifdefs. Add a few more tests. (Yegappan Lakshmanan,
27734 closes #9893)
27735Files: src/evalfunc.c, src/feature.h, src/tag.c, src/version.c,
27736 src/testdir/test_tagjump.vim, src/testdir/test_taglist.vim
27737
27738Patch 8.2.4519
27739Problem: Vim9: Can still use ":fini" and ":finis" for ":finish".
27740Solution: Require using ":finish".
27741Files: src/ex_cmds.h, src/testdir/test_vim9_script.vim
27742
27743Patch 8.2.4520
27744Problem: Using wrong highlight for cursor line number.
27745Solution: Take filler lines into account when using CursorLineNr.
27746 (closes #9897)
27747Files: src/drawline.c, src/testdir/test_diffmode.vim,
27748 src/testdir/dumps/Test_diff_with_cursorline_number_01.dump,
27749 src/testdir/dumps/Test_diff_with_cursorline_number_02.dump
27750
27751Patch 8.2.4521 (after 8.2.4520)
27752Problem: Build failure without the +diff feature. (John Marriott)
27753Solution: Define filler+lines if not declaring it.
27754Files: src/drawline.c
27755
27756Patch 8.2.4522 (after 8.2.4492)
27757Problem: GUI test fails with Motif. (Dominique Pellé)
27758Solution: Remove using an invalid value for 'guifontset'.
27759Files: src/testdir/test_gui.vim
27760
27761Patch 8.2.4523
27762Problem: When gvim is started maximized the 'window' option isn't set
27763 properly. (Christian J. Robinson)
27764Solution: Check if 'windows' was already set or not. (Ken Takata,
27765 closes #9904)
27766Files: src/term.c
27767
27768Patch 8.2.4524
27769Problem: MS-Windows: cannot build with some sodium libraries.
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010027770Solution: Make the DLL name configurable. Add build instructions.
Bram Moolenaard799daa2022-06-20 11:17:32 +010027771 (Ken Takata, closes #9905)
27772Files: src/INSTALLpc.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak,
27773 src/crypt.c
27774
27775Patch 8.2.4525
27776Problem: Some GUI tests don't work on Athena.
27777Solution: Skip tests that won't work. (Yegappan Lakshmanan, closes #9902)
27778Files: src/testdir/test_gui.vim
27779
27780Patch 8.2.4526
27781Problem: Vim9: cannot set variables to a null value.
27782Solution: Add null_list, null_job, etc.
27783Files: runtime/doc/vim9.txt, src/eval.c, src/proto/eval.pro,
27784 src/vim9expr.c, src/vim9script.c, src/vim9instr.c,
27785 src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/vim9type.c,
27786 src/evalvars.c, src/testdir/test_vim9_assign.vim,
27787 src/testdir/test_vim9_disassemble.vim,
27788 src/testdir/test_vim9_func.vim, src/testdir/test_expr.vim
27789
27790Patch 8.2.4527
27791Problem: The Athena GUI is old and does not work well.
27792Solution: Remove the Athena GUI from configure to find out who still wants
27793 support for this GUI.
27794Files: src/configure.ac, src/auto/configure, src/Makefile
27795
27796Patch 8.2.4528
27797Problem: Crash when using null_function for a partial.
27798Solution: Don't call fname_trans_sid() with NULL. (closes #9908)
27799Files: src/userfunc.c, src/testdir/test_vim9_func.vim
27800
27801Patch 8.2.4529
27802Problem: Vim9: comparing partial with function fails.
27803Solution: Support this comparison. Avoid a crash. (closes #9909)
27804 Add more test cases.
27805Files: src/vim9instr.c, src/userfunc.c, src/vim9type.c,
27806 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim,
27807 src/testdir/test_vim9_func.vim, src/testdir/test_vimscript.vim
27808
27809Patch 8.2.4530
27810Problem: Making comparison with null work changes legacy behavior.
27811Solution: Only use the better comparison in Vim9 script. (closes #9910)
27812Files: src/typval.c, src/testdir/test_expr.vim
27813
27814Patch 8.2.4531
27815Problem: LGTM warnings for condition always true and buffer size too small.
27816Solution: Remove the useless condition. Make the buffer larger. (Goc
27817 Dundar, closes #9914)
27818Files: src/charset.c, src/term.c
27819
27820Patch 8.2.4532
27821Problem: Suspending with CTRL-Z does not work on OpenBSD.
27822Solution: Adjust #ifdef for SIGTSTP. (Stuart Henderson, closes #9912)
27823Files: src/os_unix.c
27824
27825Patch 8.2.4533
27826Problem: Vim9: no test that after assigning null the type is still checked.
27827Solution: Add a test.
27828Files: src/testdir/test_vim9_assign.vim
27829
27830Patch 8.2.4534
27831Problem: Vim9: "is" operator with empty string and null returns true.
27832Solution: Consider empty string and null to be different for "is".
27833Files: src/typval.c, src/vim9execute.c, src/testdir/test_vim9_expr.vim
27834
27835Patch 8.2.4535
Bram Moolenaar8a3b8052022-06-26 12:21:15 +010027836Problem: Filename modifier ":8" removes the filename.
Bram Moolenaard799daa2022-06-20 11:17:32 +010027837Solution: Use strncpy() instead of vim_strncpy(). (Christian Brabandt,
27838 closes #9918, closes #8600)
27839Files: src/filepath.c, src/testdir/test_shortpathname.vim
27840
27841Patch 8.2.4536 (after 8.2.4534)
27842Problem: Debugger test fails when breaking on expression.
27843Solution: Compare strings with "==" instead of "is".
27844Files: src/debugger.c
27845
27846Patch 8.2.4537
27847Problem: Output from linter and language server shows up in git.
27848Solution: Add patterns to .gitignore. (Goc Dundar, closes #9925)
27849Files: .gitignore
27850
27851Patch 8.2.4538
27852Problem: The find_tags_in_file() function is too long.
27853Solution: Refactor into smaller functions. (Yegappan Lakshmanan,
27854 closes #9920)
27855Files: src/tag.c, src/testdir/test_tagjump.vim
27856
27857Patch 8.2.4539
27858Problem: When comparing special v:none and v:null are handled the same when
27859 compiling.
27860Solution: Pass more information so that v:none can be handled differently at
27861 compile time. (issue #9923)
27862Files: src/vim9instr.c, src/vim9compile.c, src/globals.h,
27863 src/testdir/test_vim9_expr.vim
27864
27865Patch 8.2.4540
27866Problem: Line number for error is off by one.
27867Solution: Remember the line number of the comparison. (closes #9923)
27868Files: src/eval.c, src/testdir/test_vim9_expr.vim
27869
27870Patch 8.2.4541
27871Problem: Crash in debugger when a variable is not available in the current
27872 block.
27873Solution: Check for a NULL name. (closes #9926)
27874Files: src/vim9execute.c, src/testdir/test_debugger.vim
27875
27876Patch 8.2.4542
27877Problem: Vim9: "break" inside try/catch not handled correctly.
27878Solution: First jump to :endtry. (closes #9927)
27879Files: src/vim9cmds.c, src/vim9.h, src/testdir/test_vim9_script.vim
27880
27881Patch 8.2.4543
27882Problem: Coverity warning for refactored tag search code.
27883Solution: Avoid the warnings. Update comments. Add one more test case.
27884 (Yegappan Lakshmanan, closes #9928)
27885Files: src/tag.c, src/testdir/test_tagjump.vim
27886
27887Patch 8.2.4544
27888Problem: Coverity warnings for not using returned value.
27889Solution: Assign to vim_ignored.
27890Files: src/tag.c
27891
27892Patch 8.2.4545
27893Problem: MS-Windows: the installed icon is low resolution.
27894Solution: Use a better icon. Install vim.ico. (Christian Brabandt,
27895 closes #9931, closes #9930)
27896Files: Filelist, nsis/gvim.nsi, src/vim.ico, runtime/bitmaps/vim.ico
27897
27898Patch 8.2.4546
27899Problem: Duplicate #undef.
27900Solution: Remove one #undef. (closes #9932)
27901Files: src/regexp_nfa.c
27902
27903Patch 8.2.4547
27904Problem: The neXTaw GUI is old and does not work well.
27905Solution: Remove the neXTaw GUI from configure to find out who still wants
27906 support for this GUI.
27907Files: src/configure.ac, src/auto/configure, src/Makefile
27908
27909Patch 8.2.4548
27910Problem: Script-local function is deleted when used in a funcref.
27911Solution: Do not consider a function starting with "<SNR>" reference
27912 counted. (closes #9916, closes #9820)
27913Files: src/userfunc.c, src/testdir/test_vim9_func.vim
27914
27915Patch 8.2.4549
27916Problem: Cannot build with Motif and editres. (Tony Mechelynck)
27917Solution: Fix configure mistake.
27918Files: src/configure.ac, src/auto/configure
27919
27920Patch 8.2.4550
27921Problem: Motif: cannot set the color of the scrollbar thumb.
27922Solution: Remove #ifdef.
27923Files: src/gui_motif.c
27924
27925Patch 8.2.4551
27926Problem: When mapping <Esc> terminal codes are not recognized.
27927Solution: Specifically recognize a mapping with just <Esc> and check for
27928 terminal codes even though there is no partial mapping.
27929 (closes #9903)
27930Files: src/getchar.c, src/testdir/test_termcodes.vim
27931
27932Patch 8.2.4552
27933Problem: In a :def function "put = expr" does not work.
27934Solution: Skip over white space. (closes #9936)
27935Files: src/vim9cmds.c, src/testdir/test_vim9_cmd.vim
27936
27937Patch 8.2.4553
27938Problem: Linear tag search is a bit slow.
27939Solution: Remove a vim_ftell() call. (Yegappan Lakshmanan, closes #9937)
27940Files: src/tag.c, src/testdir/test_taglist.vim
27941
27942Patch 8.2.4554
27943Problem: Vim9: using null values not sufficiently tested.
27944Solution: Add more tests. Fix uncovered problem.
27945Files: src/vim9type.c, src/testdir/test_vim9_assign.vim,
27946 src/testdir/test_vim9_func.vim
27947
27948Patch 8.2.4555
27949Problem: getmousepos() returns the wrong column. (Ernie Rael)
27950Solution: Limit to the text size, not the number of bytes.
27951Files: src/mouse.c, src/testdir/test_functions.vim
27952
27953Patch 8.2.4556
27954Problem: Test fails without the +job or +channel feature. (Dominique Pellé)
27955Solution: Adjust #ifdefs. Pass on skip flag. (closes #9942)
27956Files: src/eval.c, src/vim9compile.c
27957
27958Patch 8.2.4557
27959Problem: Confusing comment about 'cursorlineopt'.
27960Solution: Adjust comment. (closes #9939) Add parenthesis around logical
27961 OR.
27962Files: src/drawline.c
27963
27964Patch 8.2.4558
27965Problem: Motif: using default colors does not work as expected.
27966Solution: Do not try to store the default colors, use the resources.
27967 (closes #9933)
27968Files: src/gui_motif.c, src/gui.h
27969
27970Patch 8.2.4559 (after 8.24555)
27971Problem: getmousepos() returns the screen column. (Ernie Rael)
27972Solution: Return the text column, as documented.
27973Files: src/mouse.c, src/testdir/test_functions.vim
27974
27975Patch 8.2.4560
27976Problem: Suspending with CTRL-Z does not work on DragonFlyBSD.
27977Solution: Adjust #ifdef. (Ozaki Kiichi, closes #9943)
27978Files: src/os_unix.c
27979
27980Patch 8.2.4561
27981Problem: Build failure with some combination of features. (John Marriott)
27982Solution: Adjust #ifdef.
27983Files: src/mouse.c
27984
27985Patch 8.2.4562
27986Problem: Linear tag search is not optimal.
27987Solution: Improve linear tag search performance. (Yegappan Lakshmanan,
27988 closes #9944)
27989Files: src/tag.c
27990
27991Patch 8.2.4563
27992Problem: "z=" in Visual mode may go beyond the end of the line.
27993Solution: Adjust "badlen".
27994Files: src/spellsuggest.c, src/testdir/test_spell.vim
27995
27996Patch 8.2.4564
27997Problem: Running test leaves file behind. (Dominique Pellé)
27998Solution: Run the profiling in a separate Vim instance. (closes #9952)
27999Files: src/testdir/test_vim9_script.vim
28000
28001Patch 8.2.4565
28002Problem: No command line completion for :breakadd and :breakdel.
28003Solution: Add completion for :breakadd and :breakdel. (Yegappan Lakshmanan,
28004 closes #9950)
28005Files: runtime/doc/builtin.txt, src/cmdexpand.c, src/spellsuggest.c,
28006 src/usercmd.c, src/vim.h, src/testdir/test_cmdline.vim,
28007 src/testdir/test_writefile.vim
28008
28009Patch 8.2.4566
28010Problem: Check for existing buffer in session file does not work for files
28011 in the home directory.
28012Solution: Use fnamemodify(). (James Cherti, closes #9945) Add a test.
28013Files: src/session.c, src/testdir/test_mksession.vim
28014
28015Patch 8.2.4567
28016Problem: Bracketed paste doesn't work well in Visual linewise mode.
28017Solution: Handle linewise Visual mode differently. (closes #9947)
28018Files: src/normal.c, src/testdir/test_paste.vim
28019
28020Patch 8.2.4568
28021Problem: getmousepos() does not compute the column below the last line.
28022Solution: Also compute the column when the mouse is below the last line.
28023 (Sean Dewar, closes #9946)
28024Files: src/mouse.c, src/testdir/test_functions.vim
28025
28026Patch 8.2.4569
28027Problem: Coverity warning for not using a return value.
28028Solution: Add "(void)".
28029Files: src/popupwin.c
28030
28031Patch 8.2.4570
28032Problem: No command line completion for :profile and :profdel.
28033Solution: Implement completion. (Yegappan Lakshmanan, closes #9955)
28034Files: src/cmdexpand.c, src/profiler.c, src/testdir/test_cmdline.vim,
28035 src/testdir/test_profile.vim
28036
28037Patch 8.2.4571
28038Problem: Not all gdb files are recognized.
28039Solution: Add a few more patterns for gdb. (Jade Lovelace, closes #9956)
28040Files: runtime/filetype.vim, src/testdir/test_filetype.vim
28041
28042Patch 8.2.4572
28043Problem: Vim9: return type "any" is sometimes changed to first returned
28044 type. (Virginia Senioria)
28045Solution: Do not change the return type if declared as "any". (closes #9949)
28046Files: src/vim9cmds.c, src/testdir/test_vim9_func.vim
28047
28048Patch 8.2.4573
28049Problem: A nested function (closure) is compiled for debugging without
28050 context.
28051Solution: Check if a nested function is marked for debugging before
28052 compiling it. Give an error when trying to compile a closure
28053 without its context. (closes #9951)
28054Files: src/vim9compile.c, src/vim9execute.c, src/proto/vim9execute.pro,
28055 src/vim9expr.c, src/errors.h
28056
28057Patch 8.2.4574
28058Problem: Vim9: test for profiling fails.
28059Solution: Mark function for profiling earlier to avoid E1271.
28060Files: src/testdir/test_vim9_script.vim
28061
28062Patch 8.2.4575
28063Problem: Vim9: test for profiling still fails.
28064Solution: Update flags for profiling and breakpoints when obtaining the
28065 compile type. Do not set the FC_CLOSURE flag for a toplevel
28066 function.
28067Files: src/vim.h, src/vim9compile.c, src/proto/vim9compile.pro,
28068 src/eval.c, src/vim9execute.c, src/vim9expr.c, src/vim9instr.c,
28069 src/vim9.h
28070
28071Patch 8.2.4576
28072Problem: Vim9: error for comparing with null can be annoying.
28073Solution: Allow comparing anything with null. (closes #9948)
28074Files: src/vim9instr.c, src/typval.c, src/testdir/test_vim9_expr.vim
28075
28076Patch 8.2.4577
28077Problem: Message test is flaky. (Elimar Riesebieter)
28078Solution: Trigger the autocommand event only after startup is finished.
28079Files: src/testdir/test_messages.vim
28080
28081Patch 8.2.4578
28082Problem: No warning when an autoload script for completion function has an
28083 error.
28084Solution: Do not ignore errors when a function name is given with a dot or
28085 '#' character. (closes #9958)
28086Files: src/eval.c, src/testdir/test_cmdline.vim
28087
28088Patch 8.2.4579
28089Problem: Cannot use page-up and page-down in the command line completion
28090 popup menu.
28091Solution: Check for to page-up and page-down keys. (Yegappan Lakshmanan,
28092 closes #9960)
28093Files: src/cmdexpand.c, src/ex_getln.c, src/spellsuggest.c, src/vim.h,
28094 src/testdir/test_cmdline.vim,
28095 src/testdir/dumps/Test_wildmenu_pum_42.dump,
28096 src/testdir/dumps/Test_wildmenu_pum_43.dump,
28097 src/testdir/dumps/Test_wildmenu_pum_44.dump,
28098 src/testdir/dumps/Test_wildmenu_pum_45.dump,
28099 src/testdir/dumps/Test_wildmenu_pum_46.dump,
28100 src/testdir/dumps/Test_wildmenu_pum_47.dump,
28101 src/testdir/dumps/Test_wildmenu_pum_48.dump,
28102 src/testdir/dumps/Test_wildmenu_pum_49.dump,
28103 src/testdir/dumps/Test_wildmenu_pum_50.dump
28104
28105Patch 8.2.4580
28106Problem: Vim9: incorrect error for shadowing variable.
28107Solution: Do not pass the context when compiling a referenced function.
28108Files: src/vim9expr.c, src/testdir/test_vim9_func.vim
28109
28110Patch 8.2.4581
28111Problem: Null types not fully tested.
28112Solution: Add some more tests using null types.
28113Files: src/testdir/test_vim9_expr.vim
28114
28115Patch 8.2.4582
28116Problem: Useless code handling a type declaration.
28117Solution: Remove the code and give an error.
28118Files: src/eval.c, src/errors.h, src/testdir/test_vim9_script.vim,
28119 src/testdir/dumps/Test_misplaced_type.dump
28120
28121Patch 8.2.4583 (after 8.2.4582)
28122Problem: Screendump test fails.
28123Solution: Check that making a screendump is possible.
28124Files: src/testdir/test_vim9_script.vim
28125
28126Patch 8.2.4584 (after 8.2.4578)
28127Problem: Error for using autoload function in custom completion.
28128Solution: Do not check for errors when using an autoload function.
28129 (closes #9962)
28130Files: src/eval.c, src/testdir/test_cmdline.vim
28131
28132Patch 8.2.4585
28133Problem: Cannot use keypad page-up/down for completion menu.
28134Solution: Recognize the keypad keys. (Yegappan Lakshmanan, closes #9963)
28135Files: src/ex_getln.c, src/testdir/test_cmdline.vim
28136
28137Patch 8.2.4586
28138Problem: Vim9: no error for using lower case name for "func" argument.
28139 (Ernie Rael)
28140Solution: Check the name as soon as the type is known.
28141Files: src/userfunc.c, src/testdir/test_vim9_func.vim
28142
28143Patch 8.2.4587
28144Problem: Vim9: double free after unpacking a list.
28145Solution: Make a copy of the value instead of moving it. (closes #9968)
28146Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
28147
28148Patch 8.2.4588
28149Problem: Mapping with key code after other matching mapping does not work.
28150Solution: Change ">" to ">=". (closes #9903)
28151Files: src/getchar.c, src/testdir/test_termcodes.vim
28152
28153Patch 8.2.4589
28154Problem: Cannot index the g: dictionary.
28155Solution: Recognize using "g:[key]". (closes #9969)
28156Files: src/ex_docmd.c, src/eval.c, src/vim9compile.c,
28157 src/testdir/test_vim9_assign.vim
28158
28159Patch 8.2.4590
28160Problem: Vim9: range type check has wrong offset.
28161Solution: Adjust offset for CHECKTYPE. Remove other type check.
28162Files: src/vim9compile.c, src/vim9execute.c,
28163 src/testdir/test_vim9_assign.vim
28164
28165Patch 8.2.4591
28166Problem: Cursor line not updated when a callback moves the cursor.
28167Solution: Check if the cursor moved. (closes #9970)
28168Files: src/main.c, src/drawscreen.c, src/proto/drawscreen.pro,
28169 src/testdir/test_cursorline.vim,
28170 src/testdir/dumps/Test_cursorline_callback_1.dump
28171
28172Patch 8.2.4592
28173Problem: Search continues after giving E1204.
28174Solution: Return failure after giving E1204. (closes #9972)
28175Files: src/regexp_nfa.c
28176
28177Patch 8.2.4593
28178Problem: Unnecessary call to redraw_later().
28179Solution: Remove the call to redraw_later() in op_yank(). (closes #9971)
28180Files: src/register.c
28181
28182Patch 8.2.4594
28183Problem: Need to write script to a file to be able to source them.
28184Solution: Make ":source" use lines from the current buffer. (Yegappan
28185 Lakshmanan et al., closes #9967)
28186Files: runtime/doc/repeat.txt, runtime/doc/todo.txt, src/alloc.c,
28187 src/digraph.c, src/eval.c, src/ex_cmds.h, src/scriptfile.c,
28188 src/proto/scriptfile.pro, src/vim9script.c,
28189 src/testdir/test_source.vim
28190
28191Patch 8.2.4595
28192Problem: X11: using --remote-wait may keep the CPU busy.
28193Solution: Set the timeout for select() on every call. (Jacopo Secchiero,
28194 closes #9973)
28195Files: src/if_xcmdsrv.c
28196
28197Patch 8.2.4596
28198Problem: Installing tutor binary may fail.
28199Solution: Fix the dependency. (Sergei Trofimovich, closes #9978)
28200Files: src/Makefile
28201
28202Patch 8.2.4597
28203Problem: LuaV_debug() not covered by tests.
28204Solution: Add a test. (Dominique Pellé, closes #9980)
28205Files: src/testdir/test_lua.vim
28206
28207Patch 8.2.4598
28208Problem: Profile completion test sometimes fails.
28209Solution: Delete the .res file before running tests.
28210Files: src/testdir/runtest.vim
28211
28212Patch 8.2.4599
28213Problem: GTK: get assertion errors when scrolling a split window.
28214Solution: Use GDK_IS_DRAWABLE() on the scrollbar window. (closes #9982)
28215Files: src/gui_gtk.c
28216
28217Patch 8.2.4600
28218Problem: Vim9: not enough test coverage for executing :def function.
28219Solution: Add a few more tests. Fix inconsistencies.
28220Files: src/vim9execute.c, src/evalvars.c, src/proto/evalvars.pro,
28221 src/testdir/test_listdict.vim, src/testdir/test_vim9_assign.vim,
28222 src/testdir/test_vim9_cmd.vim
28223
28224Patch 8.2.4601
28225Problem: Vim9: not enough test coverage for executing :def function.
28226Solution: Add a few more tests.
28227Files: src/testdir/test_vim9_script.vim, src/testdir/test_vim9_func.vim,
28228 src/testdir/test_vim9_cmd.vim
28229
28230Patch 8.2.4602
28231Problem: Vim9: not enough test coverage for executing :def function.
28232Solution: Add a few more tests. Fix uncovered problem. Remove dead code.
28233Files: src/vim9execute.c, src/vim9.h, src/vim9instr.c,
28234 src/proto/vim9instr.pro, src/vim9compile.c,
28235 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_expr.vim
28236
28237Patch 8.2.4603
28238Problem: Sourcing buffer lines is too complicated.
28239Solution: Simplify the code. Make it possible to source Vim9 script lines.
28240 (Yegappan Lakshmanan, closes #9974)
28241Files: runtime/doc/repeat.txt, src/ex_docmd.c, src/proto/scriptfile.pro,
28242 src/scriptfile.c, src/structs.h, src/testdir/test_source.vim
28243
28244Patch 8.2.4604
28245Problem: Error for redefining a script item may be confusing.
28246Solution: Put quotes around the name.
28247Files: src/errors.h
28248
28249Patch 8.2.4605
28250Problem: Error for arguments of remote_expr() even when the +clientserver
28251 feature is not included.
28252Solution: Move #ifdef.
28253Files: src/clientserver.c
28254
28255Patch 8.2.4606 (after 8.2.4605)
28256Problem: Test fails because of changed error message.
28257Solution: Update the expected error message
28258Files: src/testdir/test_vim9_import.vim
28259
28260Patch 8.2.4607
28261Problem: Sourcing buffer lines may lead to errors for conflicts.
28262Solution: Add the ++clear argument. (Yegappan Lakshmanan, closes #9991)
28263Files: runtime/doc/repeat.txt, src/scriptfile.c, src/vim9script.c,
28264 src/proto/vim9script.pro, src/testdir/test_source.vim
28265
28266Patch 8.2.4608
Bram Moolenaar71b6d332022-09-10 13:13:14 +010028267Problem: getcompletion() does not work properly when 'wildoptions'
Bram Moolenaard799daa2022-06-20 11:17:32 +010028268 contains "fuzzy".
28269Solution: Do not use addstar(). (Yegappan Lakshmanan, closes #9992,
28270 closes #9986)
28271Files: runtime/doc/builtin.txt, src/cmdexpand.c,
28272 src/testdir/test_cmdline.vim
28273
28274Patch 8.2.4609
28275Problem: :unhide does not check for failing to close a window.
28276Solution: When closing a window fails continue with the next one. Do not
28277 try closing the autocmd window. (closes #9984)
28278Files: src/buffer.c, src/window.c, src/proto/window.pro,
28279 src/testdir/test_autocmd.vim
28280
28281Patch 8.2.4610
28282Problem: Some conditions are always true.
28283Solution: Remove the useless conditions. (closes #9993)
28284Files: src/clientserver.c, src/drawline.c, src/drawscreen.c,
28285 src/ex_cmds.c, src/fileio.c, src/message.c, src/misc2.c,
28286 src/ops.c, src/sign.c, src/spell.c, src/vim9cmds.c, src/window.c
28287
28288Patch 8.2.4611
28289Problem: Typos in tests; one lua line not covered by test.
28290Solution: Fix typos. Add test case. (Dominique Pellé, closes #9994)
28291Files: src/testdir/test_breakindent.vim, src/testdir/test_crypt.vim,
28292 src/testdir/test_cursorline.vim, src/testdir/test_digraph.vim,
28293 src/testdir/test_gui.vim, src/testdir/test_lua.vim,
28294 src/testdir/test_regexp_latin.vim, src/testdir/test_signals.vim,
28295 src/testdir/test_spell.vim, src/testdir/test_statusline.vim,
28296 src/testdir/test_vim9_disassemble.vim,
28297 src/testdir/test_vim9_expr.vim, src/testdir/test_vimscript.vim
28298
28299Patch 8.2.4612
28300Problem: Vim9: cannot use a recursive call in a nested function. (Sergey
28301 Vlasov)
28302Solution: Define the funcref before compiling the function. (closes #9989)
28303Files: src/vim9compile.c, src/vim9instr.c, src/proto/vim9instr.pro,
28304 src/vim9expr.c, src/testdir/test_vim9_func.vim
28305
28306Patch 8.2.4613
28307Problem: Return type of swapfile_unchanged() is wrong.
28308Solution: Use "int". (closes #10000 Yeah!)
28309Files: src/memline.c
28310
28311Patch 8.2.4614
28312Problem: Redrawing too much when 'cursorline' is set and jumping around.
28313Solution: Rely on win_update() to redraw the current and previous cursor
28314 line, do not mark lines as modified. (closes #9996)
28315Files: src/drawline.c, src/drawscreen.c, src/move.c, src/proto/move.pro,
28316 src/option.c
28317
28318Patch 8.2.4615
28319Problem: Mapping with escaped bar does not work in :def function. (Sergey
28320 Vlasov)
28321Solution: Do not remove the backslash. (closes #10002)
28322Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/syntax.c,
28323 src/vim9cmds.c, src/testdir/test_vim9_cmd.vim
28324
28325Patch 8.2.4616
28326Problem: Vim9: Declarations in a {} block of a user command do not use Vim9
28327 rules if defined in a legacy script. (Yegappan Lakshmanan)
28328Solution: Pretend the script is Vim9 script.
28329Files: src/usercmd.c, src/testdir/test_usercommands.vim
28330
28331Patch 8.2.4617
28332Problem: No completion for :scriptnames.
28333Solution: Implement :scriptnames completion. (Yegappan Lakshmanan,
28334 closes #10005)
28335Files: runtime/doc/builtin.txt, src/cmdexpand.c, src/ex_cmds.h,
28336 src/scriptfile.c, src/usercmd.c, src/vim.h,
28337 src/testdir/test_cmdline.vim, src/testdir/test_quickfix.vim
28338
28339Patch 8.2.4618
28340Problem: Command line completion does not recognize single letter commands.
28341Solution: Use the condition from find_ex_command().
28342Files: src/ex_docmd.c
28343
28344Patch 8.2.4619
28345Problem: Mapping is cancelled when mouse moves and popup is visible.
28346Solution: Only generate mouse moved events when a popup may use them.
28347 (closes #10004)
28348Files: src/gui.c, src/globals.h, src/popupwin.c
28349
28350Patch 8.2.4620 (after 8.2.4618)
28351Problem: Two letter substitute commands don't work. (Yegappan Lakshmanan)
28352Solution: Invert condition.
28353Files: src/ex_docmd.c
28354
28355Patch 8.2.4621
28356Problem: Crash when using the tabline right-click menu.
28357Solution: Use XtPointer for XmNuserData. (closes #10009)
28358Files: src/gui_motif.c
28359
28360Patch 8.2.4622
28361Problem: Vim9: Crash with :execute and :finish. (Sergey Vlasov)
28362Solution: Check for NULL. (closes #10011)
28363Files: src/eval.c, src/testdir/test_vim9_script.vim
28364
28365Patch 8.2.4623
28366Problem: Coverity warns for using uninitialized field.
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010028367Solution: Initialize the field to zero.
Bram Moolenaard799daa2022-06-20 11:17:32 +010028368Files: src/ex_docmd.c
28369
28370Patch 8.2.4624
28371Problem: Old Coverity warning for resource leak.
28372Solution: Close the file if memory allocation fails.
28373Files: src/diff.c
28374
28375Patch 8.2.4625
28376Problem: Old Coverity warning for resource leak.
28377Solution: Call FreeWild() if expanding matches did not fail.
28378Files: src/help.c
28379
28380Patch 8.2.4626
28381Problem: Visual area not fully updated when removing sign in Visual mode
28382 while scrolling.
28383Solution: Adjust check for topline. (closes #10017)
28384Files: src/drawscreen.c, src/testdir/test_display.vim,
28385 src/testdir/dumps/Test_display_scroll_update_visual.dump
28386
28387Patch 8.2.4627
28388Problem: flatten() does not use maxdepth correctly.
28389Solution: Use a recursive implementation. (closes #10020)
28390Files: src/list.c, src/testdir/test_flatten.vim
28391
28392Patch 8.2.4628
28393Problem: Not enough testing for 2/3 letter substitute commands.
28394Solution: Add more tests. (Yegappan Lakshmanan, closes #10019)
28395Files: src/testdir/test_cmdline.vim, src/testdir/test_substitute.vim
28396
28397Patch 8.2.4629
28398Problem: flattennew() makes a deep copy unnecessarily.
28399Solution: Use a shallow copy. (issue #10012)
28400Files: src/list.c
28401
28402Patch 8.2.4630
28403Problem: 'cursorline' not always updated with 'cursorlineopt' is
28404 "screenline".
28405Solution: Call check_redraw_cursorline() more often. (closes #10013)
28406Files: src/normal.c, src/edit.c, src/testdir/test_cursorline.vim,
28407 src/testdir/dumps/Test_cursorline_screenline_1.dump,
28408 src/testdir/dumps/Test_cursorline_screenline_2.dump
28409
28410Patch 8.2.4631
28411Problem: Crash when switching window in BufWipeout autocommand.
28412Solution: Put any buffer in the window to avoid it being NULL.
28413 (closes #10024)
28414Files: src/window.c, src/buffer.c, src/testdir/test_autocmd.vim
28415
28416Patch 8.2.4632
28417Problem: Using freed memory in flatten().
28418Solution: Clear typval after recursing into list.
28419Files: src/list.c
28420
28421Patch 8.2.4633
28422Problem: Visual range does not work before command modifiers.
28423Solution: Move Visual range to after command modifiers.
28424Files: src/ex_docmd.c, src/testdir/test_source.vim
28425
28426Patch 8.2.4634
28427Problem: Vim9: cannot initialize a variable to null_list.
28428Solution: Give negative count to NEWLIST. (closes #10027)
28429 Also fix inconsistencies in comparing with null values.
28430Files: src/vim9instr.c, src/proto/vim9instr.pro, src/vim9.h,
28431 src/vim9compile.c, src/vim9expr.c, src/vim9execute.c,
28432 src/evalvars.c, src/typval.c, src/testdir/test_vim9_expr.vim,
28433 src/testdir/test_vim9_builtin.vim,
28434 src/testdir/test_vim9_disassemble.vim
28435
28436Patch 8.2.4635 (after 8.2.4634)
28437Problem: Tests using null list or dict fail.
28438Solution: Only use the new rules for Vim9 script.
28439Files: src/evalvars.c
28440
28441Patch 8.2.4636 (after 8.2.4633)
28442Problem: Not using Visual range.
28443Solution: Put the command pointer back to the range.
28444Files: src/ex_docmd.c
28445
28446Patch 8.2.4637
28447Problem: Warning for using uninitialized variable. (Tony Mechelynck)
28448Solution: Initialize it.
28449Files: src/ex_docmd.c
28450
28451Patch 8.2.4638
28452Problem: Superfluous check if a redraw is needed for 'cursorline'.
28453Solution: Remove check_redraw_cursorline(). (closes #10030, closes #10029)
28454Files: src/drawscreen.c, src/proto/drawscreen.pro, src/edit.c,
28455 src/main.c, src/normal.c, src/move.c,
28456 src/testdir/dumps/Test_cursorcolumn_callback_1.dump,
28457 src/testdir/dumps/Test_relativenumber_callback_1.dump,
28458 src/testdir/test_highlight.vim, src/testdir/test_number.vim
28459
28460Patch 8.2.4639
28461Problem: Not sufficient parenthesis in preprocessor macros.
28462Solution: Add more parenthesis. (closes #10031)
28463Files: src/globals.h, src/gui.h, src/if_py_both.h, src/macros.h,
28464 src/option.h, src/regexp.h, src/spell.h, src/structs.h, src/vim.h,
28465 src/vim9.h
28466
28467Patch 8.2.4640
28468Problem: Some boolean options use "long" instead of "int".
28469Solution: Adjust the type. (James McCoy, closes #10033)
28470Files: src/option.h
28471
28472Patch 8.2.4641
28473Problem: May mark the wrong window for redrawing.
28474Solution: Use redraw_win_later(). (closes #10032)
28475Files: src/move.c
28476
28477Patch 8.2.4642
28478Problem: Vim9: in :def function script var cannot be null.
28479Solution: Only initialize a script variable when not set to a null value.
28480 (closes #10034)
28481Files: src/vim9execute.c, src/vim9type.c, src/globals.h, src/evalvars.c,
28482 src/vim.h, src/vim9script.c, src/testdir/test_vim9_expr.vim
28483
28484Patch 8.2.4643
28485Problem: Vim9: variable may be locked unintentionally.
28486Solution: Clear "v_lock". (closes #10036)
28487Files: src/vim9execute.c, src/testdir/test_vim9_builtin.vim
28488
28489Patch 8.2.4644
28490Problem: Redrawing too often when 'relativenumber' is set.
28491Solution: Only redraw when the cursor line changed. (Lewis Russell,
28492 closes #10040)
28493Files: src/change.c, src/drawscreen.c, src/structs.h
28494
28495Patch 8.2.4645
28496Problem: 'shortmess' changed when session does not store options.
Bram Moolenaarb59ae592022-11-23 23:46:31 +000028497Solution: Save and restore 'shortmess' if needed. (James Cherti,
Bram Moolenaard799daa2022-06-20 11:17:32 +010028498 closes #10037)
28499Files: src/session.c, src/testdir/test_mksession.vim
28500
28501Patch 8.2.4646
28502Problem: Using buffer line after it has been freed in old regexp engine.
28503Solution: After getting mark get the line again.
28504Files: src/regexp_bt.c, src/testdir/test_regexp_latin.vim
28505
28506Patch 8.2.4647
28507Problem: "source" can read past end of copied line.
28508Solution: Add a terminating NUL.
28509Files: src/scriptfile.c, src/testdir/test_source.vim
28510
28511Patch 8.2.4648
28512Problem: Handling LSP messages is a bit slow.
28513Solution: Included support for LSP messages. (Yegappan Lakshmanan,
28514 closes #10025)
28515Files: runtime/doc/channel.txt, src/channel.c, src/job.c, src/json.c,
28516 src/proto/json.pro, src/structs.h, src/testdir/test_channel.vim,
28517 src/testdir/test_channel_lsp.py
28518
28519Patch 8.2.4649
28520Problem: Various formatting problems.
28521Solution: Improve the code formatting.
28522Files: src/mark.c, src/quickfix.c, src/regexp_nfa.c, src/register.c,
28523 src/testdir/test_filechanged.vim, src/gui_athena.c,
28524 src/gui_motif.c, src/os_unix.c
28525
28526Patch 8.2.4650
28527Problem: "import autoload" only works with using 'runtimepath'.
28528Solution: Also support a relative and absolute file name.
28529Files: runtime/doc/vim9.txt, src/structs.h, src/scriptfile.c,
28530 src/proto/scriptfile.pro, src/vim9script.c, src/vim9expr.c,
28531 src/vim9.h, src/vim9execute.c, src/vim9instr.c,
28532 src/proto/vim9instr.pro, src/vim.h, src/userfunc.c,
28533 src/proto/userfunc.pro, src/testdir/test_vim9_import.vim,
28534 src/testdir/test_vim9_disassemble.vim
28535
28536Patch 8.2.4651 (after 8.2.4650)
28537Problem: Test fails because path differs.
28538Solution: Only compare the tail of the path.
28539Files: src/testdir/test_vim9_disassemble.vim
28540
28541Patch 8.2.4652 (after 8.2.4650)
28542Problem: Leaking memory if assignment fails.
28543Solution: Clear assigned value on failure.
28544Files: src/vim9execute.c
28545
28546Patch 8.2.4653
28547Problem: "import autoload" does not check the file name.
28548Solution: Give an error if the file is not readable. (closes #10049)
28549Files: src/filepath.c, src/proto/filepath.pro, src/errors.h,
28550 src/ex_cmds.c, src/ex_docmd.c, src/spellfile.c,
28551 src/testdir/test_vim9_import.vim
28552
28553Patch 8.2.4654 (after 8.2.4653)
28554Problem: Missing changes for import check.
28555Solution: Add missing changes.
28556Files: src/vim9script.c
28557
28558Patch 8.2.4655
28559Problem: Command line completion popup menu positioned wrong when using a
28560 terminal window.
28561Solution: Position the popup menu differently when editing the command line.
28562 (Yegappan Lakshmanan, closes #10050, closes #10035)
28563Files: src/popupmenu.c, src/testdir/test_cmdline.vim,
28564 src/testdir/test_terminal.vim,
28565 src/testdir/dumps/Test_wildmenu_pum_term_01.dump
28566
28567Patch 8.2.4656
28568Problem: Vim9: can't use items from "import autoload" with autoload
28569 directory name.
28570Solution: Let sn_autoload_prefix overrule sn_import_autoload.
28571 (closes #10054)
28572Files: src/structs.h, src/vim9instr.c, src/vim9expr.c, src/vim9script.c,
28573 src/testdir/test_vim9_import.vim
28574
28575Patch 8.2.4657
28576Problem: Errors for functions are sometimes hard to read.
28577Solution: Use printable_func_name() in more places.
28578Files: src/vim9execute.c, src/userfunc.c, src/proto/userfunc.pro,
28579 src/vim9expr.c, src/eval.c, src/vim9instr.c, src/vim9type.c,
28580 src/testdir/test_vim9_expr.vim
28581
28582Patch 8.2.4658
28583Problem: Org-mode files are not recognized.
28584Solution: Add patterns to recognize "org" files. (closes #10046)
28585Files: runtime/filetype.vim, src/testdir/test_filetype.vim
28586
28587Patch 8.2.4659
28588Problem: Invalid memory access when using printable function name.
28589Solution: Adjust copied name length.
28590Files: src/userfunc.c
28591
28592Patch 8.2.4660
28593Problem: Cursorcolumn is sometimes not correct.
28594Solution: Recompute the cursor column when entering Insert mode and the
28595 cursor is on a character wider than a screen cell. (closes #10057)
28596Files: src/edit.c, src/testdir/test_highlight.vim,
28597 src/testdir/dumps/Test_cursorcolumn_insert_on_tab_1.dump,
28598 src/testdir/dumps/Test_cursorcolumn_insert_on_tab_2.dump
28599
28600Patch 8.2.4661
28601Problem: Coverity warning for using uninitialized variable.
28602Solution: Initialize variable to NULL.
28603Files: src/vim9expr.c
28604
28605Patch 8.2.4662
28606Problem: No error for using out of range list index.
28607Solution: Check list index at script level like in compiled function.
28608 (closes #10051)
28609Files: src/vim.h, src/evalvars.c, src/list.c, src/proto/list.pro,
28610 src/eval.c, src/vim9execute.c, src/testdir/test_vim9_assign.vim
28611
28612Patch 8.2.4663
28613Problem: Occasional crash when running the GUI tests.
28614Solution: Check that the line index is not too high. (closes #8681)
28615Files: src/screen.c
28616
28617Patch 8.2.4664
28618Problem: Elvish files are not recognized.
28619Solution: Recognize .elv files. (Bruno Roque, closes #10058)
28620Files: runtime/filetype.vim, src/testdir/test_filetype.vim
28621
28622Patch 8.2.4665
28623Problem: Popup with "minwidth" and scrollbar not updated properly.
28624Solution: Adjust the computation if the window width. (closes #10061)
28625Files: src/popupwin.c, src/testdir/test_popupwin.vim,
28626 src/testdir/dumps/Test_popupwin_previewpopup_4.dump,
28627 src/testdir/dumps/Test_popupwin_previewpopup_5.dump,
28628 src/testdir/dumps/Test_popupwin_previewpopup_7.dump,
28629 src/testdir/dumps/Test_popupwin_previewpopup_8.dump,
28630 src/testdir/dumps/Test_popupwin_previewpopup_9.dump,
28631 src/testdir/dumps/Test_popupwin_previewpopup_10.dump,
28632 src/testdir/dumps/Test_popupwin_drag_minwidth_1.dump,
28633 src/testdir/dumps/Test_popupwin_drag_minwidth_2.dump,
28634 src/testdir/dumps/Test_popupwin_drag_minwidth_3.dump
28635
28636Patch 8.2.4666
28637Problem: Vim9: assignment not recognized in skipped block.
28638Solution: When skipping assume identifier exists. (closes #10059)
28639Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9cmds.c,
28640 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_script.vim
28641
28642Patch 8.2.4667
28643Problem: expandcmd() fails on an error.
Bram Moolenaareb490412022-06-28 13:44:46 +010028644Solution: On failure return the command unmodified. (Yegappan Lakshmanan,
Bram Moolenaard799daa2022-06-20 11:17:32 +010028645 closes #10063)
28646Files: runtime/doc/builtin.txt, src/evalfunc.c,
28647 src/testdir/test_expand.vim
28648
28649Patch 8.2.4668
28650Problem: Buffer allocation failures insufficiently tested.
28651Solution: Add tests for memory allocation failures. (Yegappan Lakshmanan,
28652 closes #10064)
28653Files: src/alloc.h, src/buffer.c, src/popupwin.c, src/window.c,
28654 src/testdir/test_buffer.vim, src/testdir/test_swap.vim
28655
28656Patch 8.2.4669
28657Problem: In compiled code len('string') is not inlined.
28658Solution: Compute the length at compile time if possible. (closes #10065)
28659Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9expr.c,
28660 src/testdir/test_vim9_disassemble.vim
28661
28662Patch 8.2.4670
28663Problem: Memory allocation failures for new tab page not tested.
28664Solution: Add tests with failing memory allocation. (Yegappan Lakshmanan,
28665 closes #10067)
28666Files: src/alloc.h, src/blob.c, src/buffer.c, src/window.c,
28667 src/testdir/test_blob.vim, src/testdir/test_buffer.vim,
28668 src/testdir/test_tabpage.vim, src/testdir/test_window_cmd.vim
28669
28670Patch 8.2.4671
28671Problem: 'wildignorecase' is sometimes not used for glob().
28672Solution: Also use 'wildignorecase' when there are no wildcards.
28673 (closes #10066, closes #8350)
28674Files: src/filepath.c, src/testdir/test_functions.vim
28675
28676Patch 8.2.4672
28677Problem: Using :normal with Ex mode may make :substitute hang.
28678Solution: When getting an empty line behave like 'q' was typed.
28679 (closes #10070)
28680Files: src/ex_cmds.c, src/testdir/test_normal.vim
28681
28682Patch 8.2.4673
28683Problem: Redrawing a vertically split window is slow when using CTRL-F and
28684 CTRL-B.
28685Solution: When deciding on USE_REDRAW bail out if scrolling more than three
28686 lines. (issue #8002)
28687Files: src/screen.c
28688
28689Patch 8.2.4674
28690Problem: Cannot force getting MouseMove events.
Bram Moolenaar8a3b8052022-06-26 12:21:15 +010028691Solution: Add the 'mousemoveevent' option with implementation for the GUI.
Bram Moolenaard799daa2022-06-20 11:17:32 +010028692 (Ernie Rael, closes #10044)
28693Files: runtime/doc/gui.txt, runtime/doc/options.txt,
28694 runtime/doc/testing.txt, src/gui.c, src/option.h,
28695 src/optiondefs.h, src/testing.c, src/testdir/test_gui.vim
28696
28697Patch 8.2.4675
28698Problem: No error for missing expression after :elseif. (Ernie Rael)
28699Solution: Check for missing expression. (closes #10068)
28700Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
28701
28702Patch 8.2.4676 (after 8.2.4675)
28703Problem: Test fails with different error.
28704Solution: Add argument to :elseif.
28705Files: src/testdir/test_vimscript.vim
28706
28707Patch 8.2.4677
28708Problem: The Athena GUI support is outdated.
28709Solution: Remove the Athena GUI code.
28710Files: Filelist, src/Makefile, src/proto.h, src/clipboard.c,
28711 src/gui_athena.c, src/proto/gui_athena.pro, src/gui_at_sb.c,
28712 src/gui_at_sb.h, src/gui_at_fs.c, src/gui_motif.c, src/evalfunc.c,
28713 src/gui.c, src/gui_beval.c, src/gui_x11.c, src/if_mzsch.c,
28714 src/main.c, src/menu.c, src/mouse.c, src/version.c, src/feature.h,
28715 src/gui.h, src/structs.h, src/vim.h, src/testdir/gui_init.vim,
28716 src/testdir/setup_gui.vim, src/testdir/test_clientserver.vim,
28717 src/testdir/test_edit.vim, src/testdir/test_gui.vim,
28718 src/testdir/test_highlight.vim, src/testdir/test_quotestar.vim,
28719 src/testdir/test_startup.vim, runtime/doc/gui.txt,
28720 runtime/doc/gui_x11.txt
28721
28722Patch 8.2.4678
28723Problem: Vim9: not all code is tested.
28724Solution: Add a few more tests.
28725Files: src/vim9execute.c, src/testdir/test_vim9_script.vim,
28726 src/testdir/test_vim9_import.vim, src/testdir/test_vim9_cmd.vim
28727
28728Patch 8.2.4679
28729Problem: Cannot have expandcmd() give an error message for mistakes.
28730Solution: Add an optional argument to give errors. Fix memory leak when
28731 expanding files fails. (Yegappan Lakshmanan, closes #10071)
28732Files: runtime/doc/builtin.txt, src/evalfunc.c, src/filepath.c,
28733 src/testdir/test_expand.vim, src/testdir/test_vim9_builtin.vim
28734
28735Patch 8.2.4680
28736Problem: Build failure without +postscript.
28737Solution: Use another error message.
28738Files: src/vim9execute.c, src/testdir/test_vim9_import.vim
28739
28740Patch 8.2.4681
28741Problem: Build fails with a combination of features.
28742Solution: Remove #ifdef for alloc_clear_id(). (John Marriott)
28743Files: src/alloc.c
28744
28745Patch 8.2.4682
28746Problem: Vim9: can use :unlockvar for const variable. (Ernie Rael)
28747Solution: Check whether the variable is a const.
28748Files: src/ex_docmd.c, src/evalvars.c, src/vim9script.c,
28749 src/proto/vim9script.pro, src/eval.c, src/userfunc.c,
28750 src/testdir/test_vim9_cmd.vim
28751
28752Patch 8.2.4683
28753Problem: Verbose check with dict_find() to see if a key is present.
28754Solution: Add dict_has_key(). (Yegappan Lakshmanan, closes #10074)
28755Files: src/channel.c, src/dict.c, src/evalwindow.c, src/filepath.c,
28756 src/highlight.c, src/json.c, src/match.c, src/popupwin.c,
28757 src/proto/dict.pro, src/quickfix.c, src/search.c, src/sign.c,
28758 src/tag.c, src/terminal.c, src/testing.c, src/textprop.c,
28759 src/time.c
28760
28761Patch 8.2.4684
28762Problem: Cannot open a channel on a Unix domain socket.
28763Solution: Add Unix domain socket support. (closes #10062)
28764Files: runtime/doc/channel.txt, src/channel.c, src/testdir/check.vim,
28765 src/testdir/shared.vim, src/testdir/test_channel.py,
28766 src/testdir/test_channel.vim, src/testdir/test_channel_unix.py,
28767 src/testdir/test_cmdline.vim
28768
28769Patch 8.2.4685
28770Problem: When a swap file is found for a popup there is no dialog and the
28771 buffer is loaded anyway.
28772Solution: Silently load the buffer read-only. (closes #10073)
28773Files: runtime/doc/popup.txt, src/memline.c, src/popupwin.c, src/vim.h,
28774 src/buffer.c, src/testdir/test_popupwin.vim
28775
28776Patch 8.2.4686
28777Problem: Configure doesn't find the Motif library with Cygwin.
28778Solution: Check for libXm.dll.a. (Kelvin Lee, closes #10077)
28779Files: src/configure.ac, src/auto/configure
28780
28781Patch 8.2.4687
28782Problem: "vimgrep /\%v/ *" may cause a crash.
28783Solution: When compiling the pattern with the old engine fails, restore the
28784 regprog of the new engine instead of leaving it NULL.
28785 (closes #10079)
28786Files: src/regexp.c
28787
28788Patch 8.2.4688
28789Problem: New regexp engine does not give an error for "\%v".
28790Solution: Check for a value argument. (issue #10079)
28791Files: src/regexp_nfa.c, src/errors.h, src/regexp_bt.c,
28792 src/testdir/test_regexp_latin.vim
28793
28794Patch 8.2.4689
28795Problem: Using <Cmd> in a mapping does not work for mouse keys in Insert
28796 mode. (Sergey Vlasov)
28797Solution: When reading the <Cmd> argument do not use the stuff buffer.
28798 (closes #10080)
28799Files: src/getchar.c
28800
28801Patch 8.2.4690
28802Problem: Channel tests fail on MS-Windows.
28803Solution: Check if the AF_UNIX attribute exists. (closes #10083)
28804Files: src/testdir/test_channel.py, src/testdir/test_channel_unix.py
28805
28806Patch 8.2.4691 (after 8.2.4689)
28807Problem: Solution for <Cmd> in a mapping causes trouble.
28808Solution: Use another solution: put back CTRL-O after reading the <Cmd>
28809 sequence.
28810Files: src/getchar.c
28811
28812Patch 8.2.4692
28813Problem: No test for what 8.2.4691 fixes.
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010028814Solution: Add a test. Use a more generic solution. (closes #10090)
Bram Moolenaard799daa2022-06-20 11:17:32 +010028815Files: src/getchar.c, src/mouse.c, src/testdir/test_mapping.vim
28816
28817Patch 8.2.4693 (after 8.2.4688)
28818Problem: new regexp does not accept pattern "\%>0v".
28819Solution: Do accept digit zero.
28820Files: src/regexp_bt.c, src/regexp_nfa.c,
28821 src/testdir/test_regexp_latin.vim
28822
28823Patch 8.2.4694
28824Problem: Avoidance of #elif causes more preproc nesting.
28825Solution: Use #elif where it is useful. (Ozaki Kiichi, closes #10081)
28826Files: src/option.c, src/optiondefs.h, src/optionstr.c, src/version.c
28827
28828Patch 8.2.4695
28829Problem: JSON encoding could be faster.
28830Solution: Optimize encoding JSON strings. (closes #10086)
28831Files: src/json.c, src/testdir/test_json.vim
28832
28833Patch 8.2.4696
28834Problem: delete() with "rf" argument does not report a failure.
28835Solution: Return -1 if the directory could not be removed. (closes #10078)
28836Files: src/fileio.c, src/testdir/test_functions.vim
28837
28838Patch 8.2.4697
28839Problem: Vim9: crash when adding a duplicate key to a dictionary.
28840Solution: Clear the stack item when it has been moved into the dictionary.
28841 (closes #10087)
28842Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
28843
28844Patch 8.2.4698
28845Problem: Vim9: script variable has no flag that it was set.
28846Solution: Add a flag that it was set, to avoid giving it a value when used.
28847 (closes #10088)
28848Files: src/structs.h, src/vim9script.c, src/vim9execute.c,
28849 src/evalvars.c, src/testdir/test_vim9_assign.vim,
28850 src/testdir/test_vim9_builtin.vim
28851
28852Patch 8.2.4699
28853Problem: Hard to reproduce hang when reading from a channel.
28854Solution: Check for readahead before starting to wait. (closes #10093,
28855 closes #7781, closes #6364)
28856Files: src/channel.c
28857
28858Patch 8.2.4700
28859Problem: Buffer remains active if a WinClosed event throws an exception.
28860Solution: Ignore aborting() when closing the buffer. (closes #10097)
28861Files: src/window.c, src/testdir/test_autocmd.vim
28862
28863Patch 8.2.4701
28864Problem: Kuka Robot Language files not recognized.
28865Solution: Recognize *.src and *.dat files. (Patrick Meiser-Knosowski,
28866 closes #10096)
28867Files: runtime/filetype.vim, src/testdir/test_filetype.vim,
28868 runtime/autoload/dist/ft.vim
28869
28870Patch 8.2.4702
28871Problem: C++ scope labels are hard-coded.
28872Solution: Add 'cinscopedecls' to define the labels. (Rom Praschan,
28873 closes #10109)
28874Files: runtime/doc/indent.txt, runtime/doc/options.txt,
28875 runtime/doc/quickref.txt, runtime/optwin.vim, src/buffer.c,
28876 src/cindent.c, src/option.c, src/option.h, src/optiondefs.h,
28877 src/optionstr.c, src/structs.h, src/testdir/test_cindent.vim
28878
28879Patch 8.2.4703 (after 8.2.4702)
28880Problem: Memory leak in handling 'cinscopedecls'.
28881Solution: Free the memory before returning.
28882Files: src/cindent.c
28883
28884Patch 8.2.4704
28885Problem: Using "else" after return or break increases indent.
28886Solution: Remove "else" and reduce indent. (Goc Dundar, closes #10099)
28887Files: src/fileio.c, src/memline.c, src/option.c, src/syntax.c
28888
28889Patch 8.2.4705
28890Problem: reg_executing may not be cleared.
28891Solution: Reset reg_executing later. (closes #10111, closes #10110)
28892Files: src/ex_docmd.c, src/getchar.c, src/globals.h, src/structs.h,
28893 src/testdir/test_registers.vim
28894
28895Patch 8.2.4706
28896Problem: Buffer remains active if a WinClosed event throws an exception
28897 when there are multiple tabpages.
28898Solution: Ignore aborting() when closing the buffer. (closes #10101)
28899Files: src/window.c, src/testdir/test_autocmd.vim
28900
28901Patch 8.2.4707
28902Problem: Redrawing could be a bit more efficient.
28903Solution: Optimize redrawing. (closes #10105)
28904Files: src/change.c, src/edit.c, src/testdir/test_highlight.vim,
28905 src/testdir/dumps/Test_cursorcolumn_insert_on_tab_3.dump
28906
28907Patch 8.2.4708
28908Problem: PHP test files are not recognized.
28909Solution: Add the *.phpt pattern. (Julien Voisin, closes #10112)
28910Files: runtime/filetype.vim, src/testdir/test_filetype.vim
28911
28912Patch 8.2.4709
28913Problem: After :redraw the statusline highlight might be used.
28914Solution: Clear the screen attribute after redrawing the screen.
28915 (closes #10108)
28916Files: src/ex_docmd.c
28917
28918Patch 8.2.4710
28919Problem: Smart indenting does not work after completion.
28920Solution: Set "can_si". (Christian Brabandt, closes #10113, closes #558)
28921Files: src/edit.c, src/testdir/test_ins_complete.vim
28922
28923Patch 8.2.4711
28924Problem: When 'insermode' is set :edit from <Cmd> mapping misbehaves.
28925Solution: Don't set "need_start_insertmode" when already in Insert mode.
28926 (closes #10116)
28927Files: src/ex_cmds.c, src/testdir/test_edit.vim
28928
28929Patch 8.2.4712
28930Problem: Only get profiling information after exiting.
28931Solution: Add "profile dump" and "profile stop". (Marco Hinz, Yegappan
28932 Lakshmanan, closes #10107)
28933Files: runtime/doc/repeat.txt, src/profiler.c,
28934 src/testdir/test_profile.vim
28935
28936Patch 8.2.4713
28937Problem: Plugins cannot track text scrolling.
28938Solution: Add the WinScrolled event. (closes #10102)
28939Files: runtime/doc/autocmd.txt, src/autocmd.c, src/proto/autocmd.pro,
28940 src/edit.c, src/gui.c, src/main.c, src/structs.h, src/vim.h,
28941 src/window.c, src/proto/window.pro, src/testdir/test_autocmd.vim
28942
28943Patch 8.2.4714
28944Problem: Using g:filetype_dat and g:filetype_src not tested.
28945Solution: Add a test. (Patrick Meiser-Knosowski, closes #10117)
28946Files: src/testdir/test_filetype.vim
28947
28948Patch 8.2.4715
28949Problem: Vagrantfile not recognized.
28950Solution: Recognize Vagrantfile as ruby. (Julien Voisin, closes #10119)
28951Files: runtime/filetype.vim, src/testdir/test_filetype.vim
28952
28953Patch 8.2.4716
28954Problem: Memory allocation failure not tested when defining a function.
28955Solution: Add a test. (Yegappan Lakshmanan, closes #10127)
28956Files: src/alloc.c, src/alloc.h, src/proto/alloc.pro, src/userfunc.c,
28957 src/testdir/test_user_func.vim, src/testdir/test_vim9_func.vim
28958
28959Patch 8.2.4717
28960Problem: For TextYankPost v:event does not contain information about the
28961 operation being inclusive or not.
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010028962Solution: Add "inclusive" to v:event. (Justin M. Keyes, Yegappan Lakshmanan,
Bram Moolenaard799daa2022-06-20 11:17:32 +010028963 closes #10125)
28964Files: runtime/doc/autocmd.txt, src/register.c,
28965 src/testdir/test_autocmd.vim
28966
28967Patch 8.2.4718
28968Problem: @@@ in the last line sometimes drawn in the wrong place.
28969Solution: Make sure the column is valid. (closes #10130)
28970Files: src/drawscreen.c, src/screen.c, src/testdir/test_display.vim
28971 src/testdir/dumps/Test_display_lastline_1.dump,
28972 src/testdir/dumps/Test_display_lastline_2.dump,
28973 src/testdir/dumps/Test_display_lastline_3.dump,
28974 src/testdir/dumps/Test_display_lastline_4.dump
28975
28976Patch 8.2.4719
28977Problem: ">" marker sometimes not displayed in the jumplist.
28978Solution: If the buffer no longer exists show "-invalid-". (Christian
28979 Brabandt, closes #10131, closes #10100)
28980Files: runtime/doc/motion.txt, src/mark.c, src/testdir/Make_all.mak,
28981 src/testdir/test_alot.vim, src/testdir/test_jumplist.vim,
28982 src/testdir/test_jumps.vim
28983
28984Patch 8.2.4720
28985Problem: ABB Rapid files are not recognized properly.
28986Solution: Add checks for ABB Rapid files. (Patrick Meiser-Knosowski,
28987 closes #10104)
28988Files: runtime/autoload/dist/ft.vim, runtime/doc/filetype.txt,
28989 runtime/filetype.vim, src/testdir/test_filetype.vim
28990
28991Patch 8.2.4721
28992Problem: Cooklang files are not recognized.
28993Solution: recognize *.cook files. (Goc Dundar, closes #10120)
28994Files: runtime/filetype.vim, src/testdir/test_filetype.vim
28995
28996Patch 8.2.4722
28997Problem: When a recording is ended with a mapped key that key is also
28998 recorded.
28999Solution: Remember the previous last_recorded_len. (closes #10122)
29000Files: src/getchar.c, src/testdir/test_registers.vim
29001
29002Patch 8.2.4723
29003Problem: The ModeChanged autocmd event is inefficient.
29004Solution: Avoid allocating memory. (closes #10134) Rename
29005 trigger_modechanged() to may_trigger_modechanged().
29006Files: src/misc1.c, src/proto/misc1.pro, src/edit.c, src/ex_docmd.c,
29007 src/ex_getln.c, src/insexpand.c, src/normal.c, src/terminal.c,
29008 src/autocmd.c
29009
29010Patch 8.2.4724
29011Problem: Current instance of last search pattern not easily spotted.
29012Solution: Add CurSearch highlighting. (closes #10133)
29013Files: runtime/doc/options.txt, runtime/doc/syntax.txt, src/highlight.c,
29014 src/match.c, src/normal.c, src/optiondefs.h, src/structs.h,
29015 src/vim.h, src/normal.c, src/testdir/test_search.vim,
29016 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line.dump,
29017 src/testdir/dumps/Test_hlsearch_cursearch_single_line_1.dump,
29018 src/testdir/dumps/Test_hlsearch_cursearch_single_line_2.dump,
29019 src/testdir/dumps/Test_hlsearch_cursearch_single_line_3.dump
29020
29021Patch 8.2.4725 (after 8.2.4724)
29022Problem: Unused variable in tiny build.
29023Solution: Add #ifdef.
29024Files: src/normal.c
29025
29026Patch 8.2.4726
29027Problem: Cannot use expand() to get the script name.
29028Solution: Support expand('<script>'). (closes #10121)
29029Files: runtime/doc/cmdline.txt, src/errors.h, src/ex_docmd.c,
29030 src/scriptfile.c, src/vim.h, src/testdir/test_expand.vim
29031
29032Patch 8.2.4727
29033Problem: Unused code.
29034Solution: Remove code and add #ifdefs. (Dominique Pellé, closes #10136)
29035Files: runtime/doc/editing.txt, runtime/doc/eval.txt,
29036 runtime/doc/vim9.txt, src/errors.h, src/option.c, src/search.c,
29037 src/proto/search.pro
29038
29039Patch 8.2.4728
29040Problem: No test that v:event cannot be modified.
29041Solution: Add a test. (closes #10139)
29042Files: src/testdir/test_autocmd.vim
29043
29044Patch 8.2.4729
29045Problem: HEEx and Surface templates do not need a separate filetype.
K.Takata7b7672d2024-01-06 01:47:01 +090029046Solution: Use Elixir for the similar filetypes. (Aaron Tinio, closes #10124)
Bram Moolenaard799daa2022-06-20 11:17:32 +010029047Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29048
29049Patch 8.2.4730
29050Problem: MS-Windows GUI: cannot use CTRL-/.
29051Solution: Handle the WM_KEYUP event. (Yasuhiro Matsumoto, closes #10141)
29052Files: src/gui_w32.c
29053
29054Patch 8.2.4731
29055Problem: The changelist index is not remembered per buffer.
29056Solution: Keep the changelist index per window and buffer. (closes #10135,
29057 closes #2173)
29058Files: src/buffer.c, src/evalfunc.c, src/structs.h,
29059 src/testdir/test_changelist.vim
29060
29061Patch 8.2.4732
29062Problem: Duplicate code to free fuzzy matches.
29063Solution: Bring back fuzmatch_str_free().
29064Files: src/search.c, src/proto/search.pro, src/cmdexpand.c
29065
29066Patch 8.2.4733 (after 8.2.4729)
29067Problem: HEEx and Surface do need a separate filetype.
29068Solution: Revert 8.2.4729. (closes #10147)
29069Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29070
29071Patch 8.2.4734
29072Problem: getcharpos() may change a mark position.
29073Solution: Copy the mark position. (closes #10148)
29074Files: src/eval.c, src/testdir/test_cursor_func.vim
29075
29076Patch 8.2.4735
29077Problem: Quickfix tests can be a bit hard to read.
29078Solution: Use heredoc instead of strings and line continuation. (Yegappan
29079 Lakshmanan, closes #10145)
29080Files: src/testdir/test_quickfix.vim
29081
29082Patch 8.2.4736
29083Problem: Build problem for Cygwin with Motif.
29084Solution: Undefine ControlMask. (Kelvin Lee, closes #10152)
29085Files: src/mbyte.c
29086
29087Patch 8.2.4737
29088Problem: // in JavaScript string recognized as comment.
29089Solution: Only check for linecomment if 'cindent' is set. (closes #10151)
29090Files: src/change.c, src/testdir/test_textformat.vim
29091
29092Patch 8.2.4738
29093Problem: Esc on commandline executes command instead of abandoning it.
29094Solution: Save and restore KeyTyped when removing the popup menu.
29095 (closes #10154)
29096Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
29097 src/testdir/dumps/Test_wildmenu_with_pum_foldexpr_1.dump,
29098 src/testdir/dumps/Test_wildmenu_with_pum_foldexpr_2.dump
29099
29100Patch 8.2.4739
29101Problem: Accessing freed memory after WinScrolled autocmd event.
29102Solution: Check the window pointer is still valid. (closes #10156)
29103 Remove the argument from may_trigger_winscrolled().
29104Files: src/window.c, src/proto/window.pro, src/edit.c, src/gui.c,
29105 src/main.c, src/testdir/test_autocmd.vim
29106
29107Patch 8.2.4740
29108Problem: When expand() fails there is no error message.
29109Solution: When 'verbose' is set give an error message.
29110Files: runtime/doc/builtin.txt, src/evalfunc.c,
29111 src/testdir/test_expand.vim
29112
29113Patch 8.2.4741 (after 8.2.4740)
29114Problem: Startup test fails.
29115Solution: Avoid an error for verbose expansion. Fix that the "0verbose"
29116 command modifier doesn't work.
29117Files: runtime/syntax/syntax.vim, runtime/syntax/synload.vim,
29118 src/structs.h, src/ex_docmd.c, src/testdir/test_excmd.vim
29119
29120Patch 8.2.4742
29121Problem: There is no way to start logging very early in startup.
29122Solution: Add the --log argument. Include the date in the start message in
29123 the log file. Avoid a duplicate message when forking. Log an
29124 executed shell command.
29125Files: runtime/doc/starting.txt, runtime/doc/channel.txt,
29126 src/main.c, src/channel.c, src/os_unix.c, src/os_win32.c,
29127 src/testdir/test_startup.vim
29128
29129Patch 8.2.4743
29130Problem: Clang 14 is available on CI.
29131Solution: Switch from clang 13 to 14. (closes #10157)
29132Files: .github/workflows/ci.yml
29133
29134Patch 8.2.4744
29135Problem: A terminal window can't use the bell.
29136Solution: Add bell support for the terminal window. (closes #10178)
29137Files: runtime/doc/options.txt, src/gui_w32.c, src/option.h,
29138 src/optionstr.c, src/terminal.c
29139
29140Patch 8.2.4745 (after 8.2.4744)
29141Problem: Using wrong flag for using bell in the terminal.
29142Solution: Change to use BO_TERM.
29143Files: src/terminal.c, src/misc1.c
29144
29145Patch 8.2.4746
29146Problem: Supercollider filetype not recognized.
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010029147Solution: Match file extensions and check file contents to detect
Bram Moolenaard799daa2022-06-20 11:17:32 +010029148 supercollider. (closes #10142)
29149Files: runtime/filetype.vim, runtime/autoload/dist/ft.vim,
29150 src/testdir/test_filetype.vim
29151
29152Patch 8.2.4747
29153Problem: No filetype override for .sys files.
29154Solution: Add g:filetype_sys. (Patrick Meiser-Knosowski, closes #10181)
29155Files: runtime/doc/filetype.txt, runtime/autoload/dist/ft.vim,
29156 src/testdir/test_filetype.vim
29157
29158Patch 8.2.4748
29159Problem: Cannot use an imported function in a mapping.
29160Solution: Recognize <SID>name.Func.
29161Files: runtime/doc/vim9.txt, src/term.c, src/vim9execute.c,
29162 src/proto/vim9execute.pro, src/scriptfile.c,
29163 src/testdir/test_vim9_import.vim
29164
29165Patch 8.2.4749
29166Problem: <script> is not expanded in autocmd context.
29167Solution: Add the context to the pattern struct. (closes #10144)
29168 Rename AutoPatCmd to AutoPatCmd_T.
29169Files: src/autocmd.c, src/proto/autocmd.pro, src/scriptfile.c,
29170 src/structs.h, src/testdir/test_expand.vim
29171
29172Patch 8.2.4750
29173Problem: Small pieces of dead code.
29174Solution: Remove the dead code. (Goc Dundar, closes #10190) Rename the
29175 qftf_cb struct member to avoid confusion.
29176Files: src/ex_cmds.c, src/misc1.c, src/optionstr.c, src/quickfix.c
29177
29178Patch 8.2.4751 (after 8.2.4748)
29179Problem: Mapping <SID>name.Func does not work for script in autoload
29180 directory.
29181Solution: Use the # form for a script in the autoload directory.
29182 (closes #10186)
29183Files: src/term.c, src/testdir/test_vim9_import.vim
29184
29185Patch 8.2.4752
29186Problem: Wrong 'statusline' value can cause illegal memory access.
29187Solution: Properly check the value. (closes #10192)
29188Files: src/optionstr.c, src/testdir/test_options.vim
29189
29190Patch 8.2.4753
29191Problem: Error from setting an option is silently ignored.
29192Solution: Handle option value errors better. Fix uses of N_().
29193Files: src/option.c, src/proto/option.pro, src/optionstr.c,
29194 src/channel.c, src/crypt.c, src/diff.c, src/edit.c,
29195 src/eval.c, src/evalfunc.c, src/evalvars.c, src/ex_cmds2.c,
29196 src/ex_docmd.c, src/ex_getln.c, src/getchar.c, src/gui.c,
29197 src/gui_gtk_x11.c, src/help.c, src/highlight.c, src/if_tcl.c,
29198 src/main.c, src/memline.c, src/message_test.c,
29199 src/popupmenu.c, src/quickfix.c, src/scriptfile.c, src/spell.c,
29200 src/spellfile.c, src/term.c, src/undo.c, src/vim9script.c
29201
29202Patch 8.2.4754
29203Problem: Still using cached values after unsetting some known environment
29204 variables.
29205Solution: Take care of the side effects. (closes #10194)
29206Files: src/evalfunc.c, src/evalvars.c, src/misc1.c, src/proto/misc1.pro,
29207 src/vim9execute.c, src/optionstr.c, src/testdir/test_environ.vim
29208
29209Patch 8.2.4755
29210Problem: Cannot use <SID>FuncRef in completion spec.
29211Solution: Dereference a function name in another way. (closes #10197)
29212Files: src/eval.c, src/testdir/test_vim9_import.vim
29213
29214Patch 8.2.4756 (after 8.2.4754)
29215Problem: Build error without the +eval feature.
29216Solution: Adjust #ifdefs.
29217Files: src/misc1.c
29218
29219Patch 8.2.4757
29220Problem: List of libraries to suppress lsan errors is outdated.
29221Solution: Add another library. (closes #10201)
29222Files: src/testdir/lsan-suppress.txt
29223
29224Patch 8.2.4758
29225Problem: When using an LSP channel want to get the message ID.
29226Solution: Have ch_sendexpr() return the ID. (Yegappan Lakshmanan,
29227 closes #10202)
29228Files: runtime/doc/channel.txt, src/channel.c, src/evalfunc.c,
29229 src/testdir/test_channel.vim
29230
29231Patch 8.2.4759
29232Problem: CurSearch highlight does not work for multi-line match.
29233Solution: Check cursor position before adjusting columns. (closes #10133)
29234Files: src/structs.h, src/match.c, src/testdir/test_search.vim,
29235 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line.dump,
29236 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line_1.dump,
29237 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line_2.dump,
29238 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line_3.dump,
29239 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line_4.dump,
29240 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line_5.dump
29241
29242Patch 8.2.4760
29243Problem: Using matchfuzzy() on a long list can take a while.
29244Solution: Add a limit to the number of matches. (Yasuhiro Matsumoto,
29245 closes #10189)
29246Files: runtime/doc/builtin.txt, src/search.c,
29247 src/testdir/test_matchfuzzy.vim
29248
29249Patch 8.2.4761
29250Problem: Documentation for using LSP messages is incomplete.
29251Solution: Update the documentation. (Yegappan Lakshmanan, closes #10206)
29252Files: runtime/doc/channel.txt
29253
29254Patch 8.2.4762
29255Problem: Using freed memory when using synstack() and synID() in WinEnter.
29256Solution: Check using the syntax window. (closes #10204)
29257Files: src/syntax.c, src/testdir/test_syntax.vim
29258
29259Patch 8.2.4763
29260Problem: Using invalid pointer with "V:" in Ex mode.
29261Solution: Correctly handle the command being changed to "+".
29262Files: src/ex_docmd.c, src/testdir/test_ex_mode.vim
29263
29264Patch 8.2.4764
29265Problem: CI uses an older gcc version.
29266Solution: Use GCC 11. (closes #10185)
29267Files: .github/workflows/ci.yml, src/testdir/lsan-suppress.txt
29268
29269Patch 8.2.4765
29270Problem: Function matchfuzzy() sorts too many items.
29271Solution: Only put matches in the array. (Yegappan Lakshmanan,
29272 closes #10208)
29273Files: src/search.c
29274
29275Patch 8.2.4766
29276Problem: KRL files using "deffct" not recognized.
29277Solution: Adjust the pattern used for matching. (Patrick Meiser-Knosowski,
29278 closes #10200)
29279Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim
29280
29281Patch 8.2.4767
29282Problem: Openscad files are not recognized.
29283Solution: Add a filetype pattern. (Niklas Adam, closes #10199)
29284Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29285
29286Patch 8.2.4768
29287Problem: CI: codecov upload sometimes does not work.
29288Solution: Use action v3 instead of v2. (closes #10209)
29289Files: .github/workflows/ci.yml
29290
29291Patch 8.2.4769
29292Problem: Build warning with UCRT.
29293Solution: Adjust #ifdef for _wenviron. (John Marriott)
29294Files: src/evalfunc.c
29295
29296Patch 8.2.4770
29297Problem: Cannot easily mix expression and heredoc.
29298Solution: Support `=expr` in heredoc. (Yegappan Lakshmanan, closes #10138)
29299Files: runtime/doc/eval.txt, src/evalvars.c, src/userfunc.c,
29300 src/testdir/test_let.vim, src/testdir/test_vim9_assign.vim
29301
29302Patch 8.2.4771
29303Problem: Coverity warns for not checking return value.
29304Solution: Check return value of rettv_dict_alloc().
29305Files: src/channel.c
29306
29307Patch 8.2.4772
29308Problem: Old Coverity warning for not checking ftell() return value.
29309Solution: Check return value of fseek() and ftell().
29310Files: src/misc1.c
29311
29312Patch 8.2.4773
29313Problem: Build failure without the +eval feature.
29314Solution: Use other error message. Avoid warnings.
29315Files: src/misc1.c, src/cindent.c, src/term.c
29316
29317Patch 8.2.4774
29318Problem: Crash when using a number for lambda name.
29319Solution: Check the type of the lambda reference.
29320Files: src/eval.c, src/errors.h, src/testdir/test_lambda.vim
29321
29322Patch 8.2.4775
29323Problem: SpellBad highlighting does not work in Konsole.
29324Solution: Do not keep t_8u defined for Konsole. Redraw when t_8u is reset.
29325 (closes #10177)
29326Files: src/term.c
29327
29328Patch 8.2.4776
29329Problem: GTK: 'lines' and 'columns' may change during startup.
29330Solution: Ignore stale GTK resize events. (Ernie Rael, closes #10179)
29331Files: src/gui_gtk_x11.c
29332
29333Patch 8.2.4777 (after 8.2.4775)
29334Problem: Screendump tests fail because of a redraw.
29335Solution: Do not output t_8u before receiving termresponse. Redraw only
29336 when t_8u is not reset and termresponse is received.
29337Files: src/term.c
29338
29339Patch 8.2.4778
29340Problem: Pacman files use dosini filetype.
29341Solution: Use conf instead. (Chaoren Lin, closes #10213)
29342Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29343
29344Patch 8.2.4779
29345Problem: lsan suppression is too version specific.
29346Solution: Leave out the version number. (Christian Brabandt, closes #10214)
29347Files: src/testdir/lsan-suppress.txt
29348
29349Patch 8.2.4780
29350Problem: Parsing an LSP message fails when it is split.
29351Solution: Collapse the received data before parsing. (Yegappan Lakshmanan,
29352 closes #10215)
29353Files: runtime/doc/channel.txt, src/channel.c,
29354 src/testdir/test_channel.vim, src/testdir/test_channel_lsp.py
29355
29356Patch 8.2.4781
29357Problem: Maxima files are not recognized.
29358Solution: Add patterns to detect Maxima files. (Doron Behar, closes #10211)
29359Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29360
29361Patch 8.2.4782
29362Problem: Accessing freed memory.
29363Solution: Clear evalarg after checking for trailing characters.
29364 (issue #10218)
29365Files: src/userfunc.c, src/testdir/test_lambda.vim
29366
29367Patch 8.2.4783
29368Problem: Coverity warns for leaking memory.
29369Solution: Use another strategy freeing "theline".
29370Files: src/evalvars.c
29371
29372Patch 8.2.4784
29373Problem: Lamba test with timer is flaky.
29374Solution: Adjust sleep time on retry.
29375Files: src/testdir/test_lambda.vim
29376
29377Patch 8.2.4785
29378Problem: Visual mode not stopped early enough if win_gotoid() goes to
29379 another buffer. (Sergey Vlasov)
29380Solution: Stop Visual mode before jumping to another buffer. (closes #10217)
29381Files: src/evalwindow.c, src/testdir/test_vim9_builtin.vim,
29382 src/testdir/dumps/Test_win_gotoid_1.dump,
29383 src/testdir/dumps/Test_win_gotoid_2.dump,
29384 src/testdir/dumps/Test_win_gotoid_3.dump
29385
29386Patch 8.2.4786 (after 8.2.4785)
29387Problem: Test for win_gotoid() in Visual mode fails on Mac.
29388Solution: Skip the test on MacOS.
29389Files: src/testdir/test_vim9_builtin.vim
29390
29391Patch 8.2.4787
29392Problem: prop_find() does not find the right property.
29393Solution: Fix the scan order. (closes #10220)
29394Files: src/textprop.c, src/testdir/test_textprop.vim
29395
29396Patch 8.2.4788
29397Problem: Large payload for LSP message not tested.
29398Solution: Add a test with a large LSP payload. (Yegappan Lakshmanan,
29399 closes #10223)
29400Files: src/channel.c, src/testdir/test_channel.vim,
29401 src/testdir/test_channel_lsp.py
29402
29403Patch 8.2.4789
29404Problem: The cursor may be in the in wrong place when using :redraw while
29405 editing the cmdline.
29406Solution: When editing the command line let :redraw update the command line
29407 too. (closes #10210)
29408Files: src/ex_docmd.c, src/testdir/test_cmdline.vim,
29409 src/testdir/dumps/Test_redraw_in_autocmd_1.dump,
29410 src/testdir/dumps/Test_redraw_in_autocmd_2.dump
29411
29412Patch 8.2.4790
29413Problem: Lilypond filetype not recognized.
29414Solution: Add patterns for lilypond. (Doug Kearns)
29415Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29416
29417Patch 8.2.4791
29418Problem: Autocmd events triggered in different order when reusing an empty
29419 buffer.
29420Solution: Call buff_freeall() earlier. (Charlie Groves, closes #10198)
29421Files: src/buffer.c, src/testdir/test_autocmd.vim
29422
29423Patch 8.2.4792
29424Problem: Indent operator creates an undo entry for every line.
29425Solution: Create one undo entry for all lines. (closes #10227)
29426Files: src/indent.c, src/testdir/test_indent.vim
29427
29428Patch 8.2.4793
29429Problem: Recognizing Maxima filetype even though it might be another.
29430Solution: Remove *.mc and *.dem patterns from Maxima files
29431Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29432
29433Patch 8.2.4794
29434Problem: Compiler warning for not initialized variable.
29435Solution: Initialize the variable. (John Marriott)
29436Files: src/indent.c
29437
29438Patch 8.2.4795
29439Problem: 'cursorbind' scrolling depends on whether 'cursorline' is set.
29440Solution: Always call validate_cursor(). (Christian Brabandt, closes #10230,
29441 closes #10014)
29442Files: src/move.c, src/testdir/README.txt,
29443 src/testdir/test_cursorline.vim,
29444 src/testdir/dumps/Test_hor_scroll_1.dump,
29445 src/testdir/dumps/Test_hor_scroll_2.dump,
29446 src/testdir/dumps/Test_hor_scroll_3.dump,
29447 src/testdir/dumps/Test_hor_scroll_4.dump
29448
29449Patch 8.2.4796 (after 8.2.4795)
29450Problem: File left behind after running cursorline tests.
29451Solution: Uncomment the line that deletes the file.
29452Files: src/testdir/test_cursorline.vim
29453
29454Patch 8.2.4797
Bram Moolenaar8a3b8052022-06-26 12:21:15 +010029455Problem: getwininfo() may get outdated values.
Bram Moolenaard799daa2022-06-20 11:17:32 +010029456Solution: Make sure w_botline is up-to-date. (closes #10226)
29457Files: src/evalwindow.c, src/testdir/test_bufwintabinfo.vim
29458
29459Patch 8.2.4798
29460Problem: t_8u option was reset even when set by the user.
29461Solution: Only reset t_8u when using the default value. (closes #10239)
29462Files: src/term.c
29463
29464Patch 8.2.4799
29465Problem: Popup does not use correct topline.
29466Solution: Also add one when firstline is negative. (closes #10229)
29467Files: src/popupwin.c, src/testdir/test_popupwin.vim
29468
29469Patch 8.2.4800 (after 8.2.4798)
29470Problem: Missing test update for adjusted t_8u behavior.
29471Solution: Update and extend the test.
29472Files: src/testdir/test_termcodes.vim
29473
29474Patch 8.2.4801 (after 8.2.4795)
29475Problem: Fix for cursorbind fix not fully tested.
29476Solution: Add another test case. (Christian Brabandt, closes #10240)
29477Files: src/testdir/test_cursorline.vim,
29478 src/testdir/dumps/Test_hor_scroll_5.dump
29479
29480Patch 8.2.4802
29481Problem: Test is not cleaned up.
29482Solution: Make test clean up after itself. Avoid NUL. (closes #10233)
29483Files: src/testdir/test_autocmd.vim
29484
29485Patch 8.2.4803
29486Problem: WinScrolled not always triggered when scrolling with the mouse.
29487Solution: Add calls to may_trigger_winscrolled(). (closes #10246)
29488Files: src/mouse.c, src/testdir/test_autocmd.vim
29489
29490Patch 8.2.4804
29491Problem: Expression in heredoc doesn't work for compiled function.
29492Solution: Implement compiling the heredoc expressions. (Yegappan Lakshmanan,
29493 closes #10232)
29494Files: runtime/doc/eval.txt, src/evalvars.c, src/proto/evalvars.pro,
29495 src/ex_getln.c, src/vim9compile.c, src/proto/vim9compile.pro,
29496 src/testdir/test_vim9_assign.vim
29497
29498Patch 8.2.4805
29499Problem: CurSearch used for all matches in current line.
29500Solution: Don't use the non-zero line count. (closes #10247)
29501Files: src/match.c, src/testdir/test_search.vim,
29502 src/testdir/dumps/Test_hlsearch_cursearch_single_line_1.dump,
29503 src/testdir/dumps/Test_hlsearch_cursearch_single_line_2.dump,
29504 src/testdir/dumps/Test_hlsearch_cursearch_single_line_2a.dump,
29505 src/testdir/dumps/Test_hlsearch_cursearch_single_line_2b.dump
29506
29507Patch 8.2.4806
29508Problem: A mapping using <LeftDrag> does not start Select mode.
29509Solution: When checking for starting select mode with the mouse also do this
29510 when there is typeahead. (closes #10249)
29511Files: src/normal.c
29512
29513Patch 8.2.4807
29514Problem: Processing key events in Win32 GUI is not ideal.
29515Solution: Improve processing of key events. (closes #10155)
29516Files: src/gui_w32.c
29517
29518Patch 8.2.4808
29519Problem: Unused item in engine struct.
29520Solution: Remove "expr". Add comment with tags.
29521Files: src/regexp.h
29522
29523Patch 8.2.4809
29524Problem: Various things not properly tested.
29525Solution: Add various test cases. (Yegappan Lakshmanan, closes #10259)
29526Files: src/testdir/test_blob.vim, src/testdir/test_debugger.vim,
29527 src/testdir/test_listdict.vim, src/testdir/test_vim9_builtin.vim,
29528 src/testdir/test_vim9_import.vim, src/testdir/test_vim9_script.vim
29529
29530Patch 8.2.4810 (after 8.2.4808)
29531Problem: Missing changes in one file.
29532Solution: Also change the struct initializers.
29533Files: src/regexp.c
29534
29535Patch 8.2.4811 (after 8.2.4807)
29536Problem: Win32 GUI: caps lock doesn't work.
29537Solution: Handle VK_CAPITAL. (closes #10260, closes #10258)
29538Files: src/gui_w32.c
29539
29540Patch 8.2.4812
29541Problem: Unused struct item.
29542Solution: Remove "lines" match_T. Simplify the code. (closes #10256)
29543Files: src/match.c, src/structs.h
29544
29545Patch 8.2.4813
29546Problem: Pasting text while indent folding may mess up folds.
29547Solution: Adjust the way folds are split. (Brandon Simmons, closes #10254)
29548Files: src/fold.c, src/testdir/test_fold.vim
29549
29550Patch 8.2.4814
29551Problem: Possible to leave a popup window with win_gotoid().
29552Solution: Give an error when trying to leave a popup window with
29553 win_gotoid(). (closes #10253)
29554Files: src/evalwindow.c, src/testdir/test_terminal3.vim
29555
29556Patch 8.2.4815 (after 8.2.4776)
29557Problem: Cannot build with older GTK version.
29558Solution: Use gtk_window_get_size() instead of gdk_window_get_width() and
29559 gdk_window_get_height(). (Ernie Rael, closes #10257)
29560Files: src/gui_gtk_x11.c
29561
29562Patch 8.2.4816
29563Problem: Still using older codecov app in some places of CI.
29564Solution: Use v3.1.0. (closes #10209)
29565Files: .github/workflows/ci.yml
29566
29567Patch 8.2.4817
29568Problem: Win32 GUI: modifiers are not always used.
29569Solution: Handle more modifiers. (closes #10269)
29570Files: src/gui_w32.c
29571
29572Patch 8.2.4818 (after 8.2 4806)
29573Problem: No test for what 8.2.4806 fixes.
29574Solution: Add a test. (closes #10272)
29575Files: src/testdir/test_mapping.vim
29576
29577Patch 8.2.4819
29578Problem: Unmapping simplified keys also deletes other mapping.
29579Solution: Only unmap a mapping with m_simplified set. (closes #10270)
29580Files: src/map.c, src/testdir/test_mapping.vim
29581
29582Patch 8.2.4820
29583Problem: No simple programmatic way to find a specific mapping.
29584Solution: Add getmappings(). (Ernie Rael, closes #10273)
29585Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
29586 src/map.c, src/proto/map.pro, src/testdir/test_maparg.vim
29587
29588Patch 8.2.4821
29589Problem: Crash when imported autoload script was deleted.
29590Solution: Initialize local variable. (closes #10274) Give a more meaningful
29591 error message.
29592Files: src/eval.c, src/vim9script.c, src/testdir/test_vim9_import.vim
29593
29594Patch 8.2.4822
29595Problem: Setting ufunc to NULL twice.
29596Solution: Set ufunc to NULL in find_exported(). (closes #19275)
29597Files: src/eval.c, src/vim9script.c
29598
29599Patch 8.2.4823
29600Problem: Concatenating more than 2 strings in a :def function is
29601 inefficient.
29602Solution: Add a count to the CONCAT instruction. (closes #10276)
29603Files: src/vim9.h, src/vim9cmds.c, src/vim9compile.c, src/vim9execute.c,
29604 src/vim9expr.c, src/vim9instr.c, src/proto/vim9instr.pro,
29605 src/testdir/test_vim9_disassemble.vim
29606
29607Patch 8.2.4824
29608Problem: Expression is evaluated multiple times.
29609Solution: Evaluate expression once and store the result. (closes #10278)
29610Files: src/map.c
29611
29612Patch 8.2.4825
29613Problem: Can only get a list of mappings.
29614Solution: Add the optional {abbr} argument. (Ernie Rael, closes #10277)
29615 Rename to maplist(). Rename test file.
29616Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
29617 src/map.c, src/proto/map.pro, src/testdir/test_maparg.vim,
29618 src/testdir/test_map_functions.vim, src/testdir/Make_all.mak
29619
29620Patch 8.2.4826
29621Problem: .cshtml files are not recognized.
29622Solution: Use html filetype for .cshtml files. (Julien Voisin, closes #10212)
29623Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29624
29625Patch 8.2.4827
29626Problem: Typo in variable name. (Gabriel Dupras)
29627Solution: Rename the variable.
29628Files: src/map.c
29629
29630Patch 8.2.4828
29631Problem: Fix for unmapping simplified key not fully tested.
29632Solution: Add a test case. (closes #10292)
29633Files: src/map.c, src/testdir/test_mapping.vim
29634
29635Patch 8.2.4829
29636Problem: A key may be simplified to NUL.
29637Solution: Use K_ZERO instead. Use macros instead of hard coded values.
29638 (closes #10290)
29639Files: src/getchar.c, src/misc2.c, src/testdir/test_termcodes.vim
29640
29641Patch 8.2.4830
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010029642Problem: Possible endless loop if there is unused typeahead.
Bram Moolenaard799daa2022-06-20 11:17:32 +010029643Solution: Only loop when the typeahead changed.
29644Files: src/channel.c
29645
29646Patch 8.2.4831
29647Problem: Crash when using maparg() and unmapping simplified keys.
29648Solution: Do not keep a mapblock pointer. (closes #10294)
29649Files: src/map.c, src/testdir/test_map_functions.vim
29650
29651Patch 8.2.4832
29652Problem: Passing zero instead of NULL to a pointer argument.
29653Solution: Use NULL. (closes #10296)
29654Files: src/getchar.c, src/term.c
29655
29656Patch 8.2.4833
29657Problem: Failure of mapping not checked for.
29658Solution: Check return value of ins_typebuf(). (closes #10299)
29659Files: src/getchar.c, src/term.c, src/testdir/test_termcodes.vim
29660
29661Patch 8.2.4834
29662Problem: Vim9: some lines not covered by tests.
29663Solution: Add a few more tests. Remove dead code.
29664Files: src/vim9execute.c, src/vim9instr.c, src/vim9.h,
29665 src/testdir/test_vim9_expr.vim
29666
29667Patch 8.2.4835
29668Problem: Vim9: some lines not covered by tests.
29669Solution: Add a few more tests. Fix disassemble output.
29670Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim,
29671 src/testdir/test_vim9_script.vim,
29672 src/testdir/test_vim9_disassemble.vim
29673
29674Patch 8.2.4836
29675Problem: Vim9: some lines not covered by tests.
29676Solution: Remove dead code. Add disassemble tests.
29677Files: src/vim9execute.c, src/vim9.h,
29678 src/testdir/test_vim9_disassemble.vim
29679
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010029680Patch 8.2.4837 (after patch 8.2.0919)
Bram Moolenaard799daa2022-06-20 11:17:32 +010029681Problem: Modifiers not simplified when timed out or using feedkeys() with
29682 'n" flag.
29683Solution: Adjust how mapped flag and timeout are used. (closes #10305)
29684Files: src/getchar.c, src/testdir/test_paste.vim,
29685 src/testdir/test_termcodes.vim
29686
29687Patch 8.2.4838
29688Problem: Checking for absolute path is not trivial.
29689Solution: Add isabsolutepath(). (closes #10303)
29690Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
29691 src/filepath.c, src/proto/filepath.pro,
29692 src/testdir/test_functions.vim
29693
29694Patch 8.2.4839
29695Problem: Compiler warning for unused argument.
29696Solution: Add "UNUSED".
29697Files: src/gui_gtk_x11.c
29698
29699Patch 8.2.4840
29700Problem: Heredoc expression evaluated even when skipping.
29701Solution: Don't evaluate when "skip" is set. (closes #10306)
29702Files: src/evalvars.c, src/testdir/test_let.vim
29703
29704Patch 8.2.4841
29705Problem: Empty string considered an error for expand() when 'verbose' is
29706 set. (Christian Brabandt)
29707Solution: Do not give an error for an empty result. (closes #10307)
29708Files: src/evalfunc.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
29709 src/filepath.c, src/testdir/test_expand_func.vim
29710
29711Patch 8.2.4842 (after 8.2.4841)
29712Problem: expand("%:p") is not empty when there is no buffer name.
29713Solution: When ignoring errors still return NULL. (closes #10311)
29714Files: src/ex_docmd.c, src/testdir/test_expand_func.vim
29715
29716Patch 8.2.4843 (after 8.2.4807)
29717Problem: Win32 GUI: Treating CTRL + ALT as AltGr is not backwards
29718 compatible. (Axel Bender)
29719Solution: Make a difference between left and right menu keys.
29720 (closes #10308)
29721Files: src/gui_w32.c
29722
29723Patch 8.2.4844
29724Problem: <C-S-I> is simplified to <S-Tab>.
29725Solution: Do not simplify CTRL if there is also SHIFT. (closes #10313)
29726Files: src/getchar.c, src/testdir/test_gui.vim
29727
29728Patch 8.2.4845
29729Problem: Duplicate code.
29730Solution: Move code below if/else. (closes #10314)
29731Files: src/misc1.c
29732
29733Patch 8.2.4846 (after 8.2.4844)
29734Problem: Termcodes test fails.
29735Solution: use CTRL-SHIFT-V to insert an unsimplified key. (closes #10316)
29736Files: runtime/doc/cmdline.txt, src/edit.c, src/getchar.c,
29737 src/testdir/test_gui.vim
29738
29739Patch 8.2.4847
29740Problem: Crash when using uninitialized function pointer.
29741Solution: Check for NULL pointer. (closes #10319, closes #10319)
29742Files: src/eval.c, src/testdir/test_vim9_script.vim
29743
29744Patch 8.2.4848
29745Problem: Local completion with mappings and simplification not working.
29746Solution: Fix local completion <C-N>/<C-P> mappings not ignored if keys are
29747 not simplified. (closes #10323)
29748Files: src/getchar.c, src/testdir/test_popup.vim
29749
29750Patch 8.2.4849
29751Problem: Gleam filetype not detected.
29752Solution: Add a pattern for Gleam files. (Mathias Jean Johansen,
29753 closes #10326)
29754Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29755
29756Patch 8.2.4850
29757Problem: Mksession mixes up "tabpages" and "curdir" arguments.
29758Solution: Correct logic for storing tabpage in session. (closes #10312)
29759Files: src/session.c, src/testdir/test_mksession.vim
29760
29761Patch 8.2.4851
29762Problem: Compiler warning for uninitialized variable.
29763Solution: Use another variable to decide to restore option values.
29764Files: src/session.c
29765
29766Patch 8.2.4852
29767Problem: ANSI color index to RGB value not correct.
29768Solution: Convert the cterm index to ANSI index. (closes #10321,
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010029769 closes #9836)
Bram Moolenaard799daa2022-06-20 11:17:32 +010029770Files: src/term.c
29771
29772Patch 8.2.4853
29773Problem: CI with FreeBSD is a bit outdated.
29774Solution: Use 12.3 instead of 12.1. (closes #10333)
29775Files: .cirrus.yml
29776
29777Patch 8.2.4854
29778Problem: Array size does not match usage.
29779Solution: Make array size 3 instead of 4. (Christian Brabandt, closes #10336)
29780Files: src/term.c
29781
29782Patch 8.2.4855
29783Problem: Robot files are not recognized.
29784Solution: Add patterns for robot files. (Zoe Roux, closes #10339)
29785Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29786
29787Patch 8.2.4856
29788Problem: MinGW compiler complains about unknown escape sequence.
29789Solution: Avoid using a backslash in path. (Christian Brabandt,
29790 closes #10337)
29791Files: .github/workflows/ci.yml
29792
29793Patch 8.2.4857
29794Problem: Yaml indent for multiline is wrong.
29795Solution: Adjust patterns. (closes #10328, closes #8740)
29796Files: runtime/indent/yaml.vim, runtime/indent/testdir/yaml.in,
29797 runtime/indent/testdir/yaml.ok
29798
29799Patch 8.2.4858
29800Problem: K_SPECIAL may be escaped twice.
29801Solution: Avoid double escaping. (closes #10340)
29802Files: src/highlight.c, src/misc2.c, src/proto/misc2.pro, src/term.c,
29803 src/typval.c, src/testdir/test_eval_stuff.vim,
29804 src/testdir/test_feedkeys.vim, src/testdir/test_functions.vim,
29805 src/testdir/test_mapping.vim
29806
29807Patch 8.2.4859
29808Problem: wget2 files are not recognized.
29809Solution: Add patterns to recognize wget2. (Doug Kearns)
29810Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29811
29812Patch 8.2.4860
29813Problem: MS-Windows: always uses current directory for executables.
29814Solution: Check the NoDefaultCurrentDirectoryInExePath environment variable.
29815 (Yasuhiro Matsumoto, closes #10341)
29816Files: runtime/doc/builtin.txt, src/os_win32.c,
29817 src/testdir/test_functions.vim
29818
29819Patch 8.2.4861
29820Problem: It is not easy to restore saved mappings.
29821Solution: Make mapset() accept a dict argument. (Ernie Rael, closes #10295)
29822Files: runtime/doc/builtin.txt, src/errors.h, src/evalfunc.c, src/map.c,
29823 src/typval.c, src/proto/typval.pro,
29824 src/testdir/test_map_functions.vim,
29825 src/testdir/test_vim9_builtin.vim
29826
29827Patch 8.2.4862
29828Problem: Vim9: test may fail when run with valgrind.
29829Solution: Wait longer for callback if needed.
29830Files: src/testdir/test_vim9_script.vim
29831
29832Patch 8.2.4863
29833Problem: Accessing freed memory in test without the +channel feature.
29834 (Dominique Pellé)
Bram Moolenaar71badf92023-04-22 22:40:14 +010029835Solution: Do not generate PUSHCHANNEL or PUSHJOB if they are not
Bram Moolenaard799daa2022-06-20 11:17:32 +010029836 implemented. (closes #10350)
29837Files: src/vim9instr.c, src/errors.h, src/vim9compile.c,
29838 src/testdir/test_vim9_script.vim
29839
29840Patch 8.2.4864 (after 8.2.4863)
29841Problem: Vim9: script test fails.
29842Solution: Remove "if" around declaration.
29843Files: src/testdir/test_vim9_script.vim
29844
29845Patch 8.2.4865
29846Problem: :startinsert right after :stopinsert does not work when popup menu
29847 is still visible.
29848Solution: Use ins_compl_active() instead of pum_visible(). (closes #10352)
29849Files: src/edit.c, src/testdir/test_ins_complete.vim
29850
29851Patch 8.2.4866
29852Problem: Duplicate code in "get" functions.
29853Solution: Use get_var_from() for getwinvar(), gettabvar(), gettabwinvar()
29854 and getbufvar(). (closes #10335)
29855Files: src/evalvars.c
29856
29857Patch 8.2.4867
29858Problem: Listing of mapping with K_SPECIAL is wrong.
29859Solution: Adjust escaping of special characters. (closes #10351)
29860Files: src/map.c, src/message.c, src/testdir/test_mapping.vim
29861
29862Patch 8.2.4868
29863Problem: When closing help window autocmds triggered for the wrong window.
29864Solution: Figure out the new current window earlier. (closes #10348)
29865Files: src/window.c, src/testdir/test_help.vim
29866
29867Patch 8.2.4869
29868Problem: Expression in command block does not look after NL.
29869Solution: Skip over NL to check what follows. (closes #10358)
29870Files: src/eval.c, src/proto/eval.pro, src/vim9script.c,
29871 src/testdir/test_usercommands.vim
29872
29873Patch 8.2.4870
29874Problem: Vim9: expression in :substitute is not compiled.
29875Solution: Use an INSTR instruction if possible. (closes #10334)
29876Files: src/evalfunc.c, src/regexp.c, src/vim9execute.c, src/vim9expr.c,
29877 src/testdir/test_vim9_builtin.vim,
29878 src/testdir/test_vim9_disassemble.vim
29879
29880Patch 8.2.4871
29881Problem: Vim9: in :def function no error for using a range with a command
29882 that does not accept one.
29883Solution: Check for the command to accept a range. (closes #10330)
29884Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
29885
29886Patch 8.2.4872
29887Problem: Vim9: no error for using an expression only at the script level
29888 when followed by an empty line.
29889Solution: Do not check the line number but whether something follows.
29890 (closes #10357)
29891Files: src/ex_eval.c, src/testdir/test_vim9_cmd.vim
29892
29893Patch 8.2.4873
29894Problem: Vim9: using "else" differs from using "endif/if !cond".
29895Solution: Leave the block and enter another one. (closes #10320)
29896Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
29897
29898Patch 8.2.4874
29899Problem: Win32 GUI: horizontal scroll wheel not handled properly.
29900Solution: Also handle WM_MOUSEHWHEEL. (closes #10309)
29901Files: src/gui_w32.c
29902
29903Patch 8.2.4875
29904Problem: MS-Windows: some .exe files are not recognized.
29905Solution: Parse APPEXECLINK junctions. (closes #10302)
29906Files: src/os_mswin.c, src/proto/os_mswin.pro, src/os_win32.c,
29907 src/os_win32.h, src/testdir/test_functions.vim
29908
29909Patch 8.2.4876
29910Problem: MS-Windows: Shift-BS results in strange character in powershell.
29911Solution: Add K_S_BS. (Christian Brabandt, closes #10283, closes #10279)
29912Files: src/edit.c, src/keymap.h, src/term.c, src/testdir/shared.vim,
29913 src/testdir/test_edit.vim
29914
29915Patch 8.2.4877
29916Problem: MS-Windows: Using Normal colors for termguicolors causes problems.
29917Solution: Do not use Normal colors to set sg_gui_fg and sg_gui_bg.
29918 (Christian Brabandt, closes #10317, closes #10241)
29919Files: src/highlight.c
29920
29921Patch 8.2.4878
29922Problem: Valgrind warning for using uninitialized variable.
29923Solution: Initialize the type of newtv.
29924Files: src/strings.c
29925
29926Patch 8.2.4879
29927Problem: Screendump test may fail when using valgrind.
29928Solution: Wait longer for the first screendump.
29929Files: src/testdir/test_vim9_builtin.vim, src/testdir/screendump.vim
29930
29931Patch 8.2.4880
29932Problem: Vim9: misplaced elseif causes invalid memory access.
29933Solution: Check cs_idx not to be negative.
29934Files: src/ex_eval.c
29935
29936Patch 8.2.4881
29937Problem: "P" in Visual mode still changes some registers.
29938Solution: Make "P" in Visual mode not change any register. (Shougo
29939 Matsushita, closes #10349)
29940Files: runtime/doc/change.txt, runtime/doc/index.txt,
29941 runtime/doc/visual.txt, src/normal.c, src/testdir/test_visual.vim
29942
29943Patch 8.2.4882
29944Problem: Cannot make 'breakindent' use a specific column.
29945Solution: Add the "column" entry in 'breakindentopt'. (Christian Brabandt,
29946 closes #10362, closes #10325)
29947Files: runtime/doc/options.txt, src/indent.c, src/structs.h,
29948 src/testdir/test_breakindent.vim
29949
29950Patch 8.2.4883
29951Problem: String interpolation only works in heredoc.
29952Solution: Support interpolated strings. Use syntax for heredoc consistent
29953 with strings, similar to C#. (closes #10327)
29954Files: runtime/doc/eval.txt, src/errors.h, src/eval.c, src/evalvars.c,
29955 src/proto/evalvars.pro, src/typval.c, src/proto/typval.pro,
29956 src/vim9compile.c, src/proto/vim9compile.pro, src/vim9expr.c,
29957 src/testdir/test_debugger.vim, src/testdir/test_expr.vim,
29958 src/testdir/test_let.vim, src/testdir/test_vim9_assign.vim,
29959 src/testdir/test_vim9_disassemble.vim
29960
29961Patch 8.2.4884
29962Problem: Test fails without the job/channel feature. (Dominique Pellé)
29963Solution: Add condition.
29964Files: src/testdir/test_vim9_script.vim
29965
29966Patch 8.2.4885 (after 8.2.4884)
29967Problem: Test fails with the job/channel feature.
29968Solution: Move check for job/channel separately.
29969Files: src/testdir/test_vim9_script.vim
29970
29971Patch 8.2.4886
29972Problem: Vim9: redir in skipped block seen as assignment.
29973Solution: Check for valid assignment.
29974Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim
29975
29976Patch 8.2.4887
29977Problem: Channel log does not show invoking a timer callback.
29978Solution: Add a ch_log() call.
29979Files: src/time.c
29980
29981Patch 8.2.4888
29982Problem: Line number of lambda ignores line continuation.
29983Solution: Use the line number of where the arguments are. Avoid outputting
29984 "..." twice. (closes #10364)
29985Files: src/userfunc.c
29986
29987Patch 8.2.4889
29988Problem: CI only tests with FreeBSD 12.
29989Solution: Also test with FreeBSD 13. (closes #10366)
29990Files: .cirrus.yml
29991
29992Patch 8.2.4890
29993Problem: Inconsistent capitalization in error messages.
29994Solution: Make capitalization consistent. (Doug Kearns)
29995Files: src/errors.h
29996
29997Patch 8.2.4891
29998Problem: Vim help presentation could be better.
29999Solution: Add an imported file for extra Vim help support. Show highlight
30000 names in the color they have.
30001Files: Filelist, runtime/import/dist/vimhelp.vim
30002
30003Patch 8.2.4892
30004Problem: Test failures because of changed error messages.
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010030005Solution: Adjust the expected error messages.
Bram Moolenaard799daa2022-06-20 11:17:32 +010030006Files: src/testdir/test_vim9_assign.vim,
30007 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim,
30008 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim,
30009 src/testdir/test_expand.vim, src/testdir/test_tcl.vim,
30010 src/testdir/test_vimscript.vim
30011
30012Patch 8.2.4893 (after 8.2.4891)
30013Problem: Distributed import files are not installed.
30014Solution: Add rules to Makefile and NSIS.
30015Files: src/Makefile, nsis/gvim.nsi
30016
30017Patch 8.2.4894
30018Problem: MS-Windows: not using italics.
30019Solution: Use italics. Simplify the code. (closes #10359)
30020Files: src/term.c
30021
30022Patch 8.2.4895
30023Problem: Buffer overflow with invalid command with composing chars.
30024Solution: Check that the whole character fits in the buffer.
30025Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
30026
30027Patch 8.2.4896 (after 8.2.4869)
30028Problem: Expression in command block does not look after NL when command is
30029 typed.
30030Solution: Skip over NL also when not in a script. (closes #10358)
30031Files: src/eval.c, src/testdir/test_usercommands.vim
30032
30033Patch 8.2.4897
30034Problem: Comment inside an expression in lambda ignores the rest of the
30035 expression.
30036Solution: Truncate the line at the comment. (closes #10367)
30037Files: src/eval.c, src/testdir/test_lambda.vim
30038
30039Patch 8.2.4898
30040Problem: Coverity complains about pointer usage.
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010030041Solution: Move code for increment/decrement.
Bram Moolenaard799daa2022-06-20 11:17:32 +010030042Files: src/vim9compile.c
30043
30044Patch 8.2.4899
30045Problem: With latin1 encoding CTRL-W might go before the start of the
30046 command line.
30047Solution: Check already being at the start of the command line.
30048Files: src/ex_getln.c, src/testdir/test_cmdline.vim
30049
30050Patch 8.2.4900
30051Problem: Vim9 expression test fails without the job feature.
30052Solution: Add a check for the job feature. (Dominique Pellé, closes #10373)
30053Files: src/testdir/test_vim9_expr.vim
30054
30055Patch 8.2.4901
30056Problem: NULL pointer access when using invalid pattern.
30057Solution: Check for failed regexp program.
30058Files: src/buffer.c, src/testdir/test_buffer.vim
30059
30060Patch 8.2.4902
30061Problem: Mouse wheel scrolling is inconsistent.
Bram Moolenaar8a3b8052022-06-26 12:21:15 +010030062Solution: Use the MS-Windows system setting. (closes #10368)
Bram Moolenaard799daa2022-06-20 11:17:32 +010030063Files: runtime/doc/scroll.txt, src/gui_w32.c, src/mouse.c,
30064 src/proto/mouse.pro, src/testing.c, src/testdir/test_gui.vim
30065
30066Patch 8.2.4903
30067Problem: Cannot get the current cmdline completion type and position.
30068Solution: Add getcmdcompltype() and getcmdscreenpos(). (Shougo Matsushita,
30069 closes #10344)
30070Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/cmdexpand.c,
30071 src/proto/cmdexpand.pro, src/evalfunc.c, src/ex_getln.c,
30072 src/proto/ex_getln.pro, src/usercmd.c, src/proto/usercmd.pro,
30073 src/testdir/test_cmdline.vim
30074
30075Patch 8.2.4904
30076Problem: codecov includes MS-Windows install files.
30077Solution: Ignore dosinst.c and uninstall.c.
30078Files: .codecov.yml
30079
30080Patch 8.2.4905
30081Problem: codecov includes MS-Windows install header file.
30082Solution: Ignore dosinst.h.
30083Files: .codecov.yml
30084
30085Patch 8.2.4906
30086Problem: MS-Windows: cannot use transparent background.
30087Solution: Make transparent background work with 'termguicolors' and NONE
30088 background color. (Yasuhiro Matsumoto, closes #10310, closes #7162)
30089Files: runtime/doc/options.txt, src/os_win32.c, src/term.c
30090
30091Patch 8.2.4907
30092Problem: Some users do not want a line comment always inserted.
30093Solution: Add the '/' flag to 'formatoptions' to not repeat the comment
30094 leader after a statement when using "o".
30095Files: runtime/doc/change.txt, src/option.h, src/change.c,
30096 src/testdir/test_textformat.vim
30097
30098Patch 8.2.4908
30099Problem: No text formatting for // comment after a statement.
30100Solution: format a comment when the 'c' flag is in 'formatoptions'.
30101Files: src/textformat.c, src/testdir/test_textformat.vim
30102
30103Patch 8.2.4909
30104Problem: MODE_ enum entries names are too generic.
30105Solution: use CH_MODE_.
30106Files: src/structs.h, src/channel.c, src/job.c, src/terminal.c
30107
30108Patch 8.2.4910
30109Problem: Imperfect coding.
30110Solution: Make code nicer.
30111Files: src/ex_getln.c
30112
30113Patch 8.2.4911
30114Problem: The mode #defines are not clearly named.
30115Solution: Prepend MODE_. Renumber them to put the mapped modes first.
30116Files: src/vim.h, src/autocmd.c, src/buffer.c, src/change.c,
30117 src/charset.c, src/cindent.c, src/clipboard.c, src/debugger.c,
30118 src/digraph.c, src/drawline.c, src/drawscreen.c, src/edit.c,
30119 src/evalfunc.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c,
30120 src/fileio.c, src/fold.c, src/getchar.c, src/globals.h, src/gui.c,
30121 src/gui_gtk.c, src/gui_w32.c, src/gui_xim.c, src/indent.c,
30122 src/insexpand.c, src/macros.h, src/main.c, src/map.c, src/menu.c,
30123 src/message.c, src/misc1.c, src/misc2.c, src/mouse.c,
30124 src/netbeans.c, src/normal.c, src/ops.c, src/option.c,
30125 src/os_unix.c, src/os_win32.c, src/popupmenu.c, src/search.c,
30126 src/tag.c, src/screen.c, src/term.c, src/terminal.c,
30127 src/textformat.c, src/window.c
30128
30129Patch 8.2.4912
30130Problem: Using execute() to define a lambda doesn't work. (Ernie Rael)
30131Solution: Put the getline function in evalarg. (closes #10375)
30132Files: src/eval.c, src/evalfunc.c, src/proto/evalfunc.pro,
30133 src/testdir/test_vim9_func.vim
30134
30135Patch 8.2.4913
30136Problem: Popup_hide() does not always have effect.
30137Solution: Add the POPF_HIDDEN_FORCE flag. (closes #10376)
30138Files: src/popupwin.c, src/vim.h, src/testdir/test_popupwin.vim,
30139 src/testdir/dumps/Test_popup_prop_not_visible_01a.dump,
30140 src/testdir/dumps/Test_popup_prop_not_visible_01b.dump
30141
30142Patch 8.2.4914
30143Problem: String interpolation in :def function may fail.
30144Solution: Do not terminate the expression. (closes #10377)
30145Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
30146
30147Patch 8.2.4915
30148Problem: Sometimes the cursor is in the wrong position.
30149Solution: When the cursor moved to another line, recompute w_botline.
30150 (closes #9736)
30151Files: src/move.c
30152
30153Patch 8.2.4916 (after 8.2.4915)
30154Problem: Mouse in Insert mode test fails.
30155Solution: Fix the test and check relevant positions.
30156Files: src/testdir/test_edit.vim
30157
30158Patch 8.2.4917
30159Problem: Fuzzy expansion of option names is not right.
30160Solution: Pass the fuzzy flag down the call chain. (Christian Brabandt,
30161 closes #10380, closes #10318)
30162Files: src/cmdexpand.c, src/option.c, src/proto/option.pro,
30163 src/testdir/test_options.vim
30164
30165Patch 8.2.4918
30166Problem: Conceal character from matchadd() displayed too many times.
30167Solution: Check the syntax flag. (closes #10381, closes #7268)
30168Files: src/drawline.c, src/testdir/test_matchadd_conceal.vim
30169
30170Patch 8.2.4919
30171Problem: Can add invalid bytes with :spellgood.
30172Solution: Check for a valid word string.
30173Files: src/mbyte.c, src/spellfile.c, src/errors.h,
30174 src/testdir/test_spell_utf8.vim
30175
30176Patch 8.2.4920 (after 8.2.4902)
30177Problem: MS-Windows GUI: unused variables.
30178Solution: Delete the variables. (John Marriott)
30179Files: src/gui_w32.c
30180
30181Patch 8.2.4921
30182Problem: Spell test fails because of new illegal byte check.
30183Solution: Remove the test.
30184Files: src/testdir/test_spell.vim
30185
30186Patch 8.2.4922 (after 8.2.4916)
30187Problem: Mouse test fails on MS-Windows.
30188Solution: Set 'mousemodel' to "extend".
30189Files: src/testdir/test_edit.vim
30190
30191Patch 8.2.4923
30192Problem: Test checks for terminal feature unnecessarily.
30193Solution: Remove CheckRunVimInTerminal. (closes #10383)
30194Files: src/testdir/test_matchadd_conceal.vim
30195
30196Patch 8.2.4924
30197Problem: maparg() may return a string that cannot be reused.
30198Solution: use msg_outtrans_special() instead of str2special().
30199 (closes #10384)
30200Files: src/message.c, src/option.c, src/testdir/test_map_functions.vim,
30201 src/testdir/test_mapping.vim, src/testdir/test_options.vim
30202
30203Patch 8.2.4925
30204Problem: Trailing backslash may cause reading past end of line.
30205Solution: Check for NUL after backslash.
30206Files: src/textobject.c, src/testdir/test_textobjects.vim
30207
30208Patch 8.2.4926
30209Problem: #ifdef for crypt feature around too many lines.
30210Solution: Move code outside of #ifdef. (closes #10388)
30211Files: src/option.c
30212
30213Patch 8.2.4927
30214Problem: Return type of remove() incorrect when using three arguments.
30215Solution: Use first argument type when there are three arguments.
30216 (closes #10387)
30217Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
30218
30219Patch 8.2.4928
30220Problem: Various white space and cosmetic mistakes.
30221Solution: Change spaces to tabs, improve comments.
30222Files: src/bufwrite.c, src/channel.c, src/cindent.c, src/crypt.c,
30223 src/debugger.c, src/digraph.c, src/edit.c, src/evalwindow.c,
30224 src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c, src/fileio.c,
30225 src/filepath.c, src/gui.c, src/highlight.c, src/indent.c,
30226 src/insexpand.c, src/job.c, src/keymap.h, src/macros.h,
30227 src/menu.c, src/misc1.c, src/misc2.c, src/mouse.c, src/move.c,
30228 src/normal.c, src/ops.c, src/option.c, src/option.h, src/search.c,
30229 src/session.c, src/spellsuggest.c, src/structs.h, src/tag.c,
30230 src/term.c, src/terminal.c, src/textformat.c, src/typval.c,
30231 src/ui.c, src/userfunc.c, src/vim.h, src/vim9.h,
30232 src/vim9compile.c, src/vim9execute.c, src/window.c,
30233 src/testdir/test_cursorline.vim, src/os_unix.c, src/if_lua.c,
30234 src/if_py_both.h, src/os_amiga.c, src/os_win32.c, src/os_mswin.c,
30235 src/os_vms.c, src/os_vms_conf.h
30236
30237Patch 8.2.4929
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010030238Problem: Off-by-one error in statusline item.
Bram Moolenaard799daa2022-06-20 11:17:32 +010030239Solution: Subtrace one less. (closes #10394, closes #5599)
30240Files: src/buffer.c, src/testdir/test_statusline.vim,
30241 src/testdir/dumps/Test_statusline_hl.dump
30242
30243Patch 8.2.4930
30244Problem: Interpolated string expression requires escaping.
30245Solution: Do not require escaping in the expression.
30246Files: runtime/doc/eval.txt, src/typval.c, src/proto/typval.pro,
30247 src/dict.c, src/eval.c, src/evalvars.c, src/proto/evalvars.pro,
30248 src/vim9compile.c, src/proto/vim9compile.pro, src/vim9expr.c,
30249 src/vim9instr.c, src/alloc.c, src/proto/alloc.pro,
30250 src/testdir/test_expr.vim, src/testdir/test_let.vim
30251
30252Patch 8.2.4931
30253Problem: Crash with sequence of Perl commands.
30254Solution: Move PUTBACK to another line. (closes #10386)
30255Files: src/if_perl.xs
30256
30257Patch 8.2.4932
30258Problem: Not easy to filter the output of maplist().
30259Solution: Add mode_bits to the dictionary. (Ernie Rael, closes #10356)
30260Files: runtime/doc/builtin.txt, src/map.c,
30261 src/testdir/test_map_functions.vim,
30262 src/testdir/test_vim9_builtin.vim
30263
30264Patch 8.2.4933
30265Problem: A few more capitalization mistakes in error messages.
30266Solution: Adjust capitalization. (Doug Kearns)
30267Files: src/errors.h
30268
30269Patch 8.2.4934
30270Problem: String interpolation fails when not evaluating.
30271Solution: Skip the expression when not evaluating. (closes #10398)
30272Files: src/typval.c, src/evalvars.c, src/proto/evalvars.pro,
30273 src/testdir/test_vim9_expr.vim
30274
30275Patch 8.2.4935
30276Problem: With 'foldmethod' "indent" some lines are not included in the
30277 fold. (Oleg Koshovetc)
30278Solution: Fix it. (Brandon Simmons, closes #10399, closes #3214)
30279Files: src/fold.c, src/testdir/test_fold.vim
30280
30281Patch 8.2.4936
30282Problem: MS-Windows: mouse coordinates for scroll event are wrong.
30283Solution: Convert coordinates to the text area coordinates. (closes #10400)
30284Files: src/gui_w32.c
30285
30286Patch 8.2.4937 (after 8.2.4931)
30287Problem: No test for what 8.2.4931 fixes.
30288Solution: Add a test that triggers a valgrind error.
30289Files: src/testdir/test_perl.vim
30290
30291Patch 8.2.4938
30292Problem: Crash when matching buffer with invalid pattern.
30293Solution: Check for NULL regprog.
30294Files: src/buffer.c, src/testdir/test_buffer.vim
30295
30296Patch 8.2.4939
30297Problem: matchfuzzypos() with "matchseq" does not have all positions.
30298Solution: Also add a position for white space. (closes #10404)
30299Files: runtime/doc/builtin.txt, src/search.c,
30300 src/testdir/test_matchfuzzy.vim
30301
30302Patch 8.2.4940
30303Problem: Some code is never used.
30304Solution: Remove dead code. Add a few more test cases.
30305Files: src/vim9expr.c, src/proto/vim9expr.pro, src/vim9compile.c,
30306 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim
30307
30308Patch 8.2.4941
30309Problem: '[ and '] marks may be wrong after undo.
30310Solution: Adjust the '[ and '] marks if needed. (closes #10407, closes #1281)
30311Files: src/undo.c, src/testdir/test_undo.vim
30312
30313Patch 8.2.4942
30314Problem: Error when setting 'filetype' in help file again.
30315Solution: Deal with text property type already existing. (closes #10409)
30316Files: runtime/import/dist/vimhelp.vim
30317
30318Patch 8.2.4943
30319Problem: Changing 'switchbuf' may have no effect.
30320Solution: Handle 'switchbuf' in didset_string_options(). (Sean Dewar,
30321 closes #10406)
30322Files: src/optionstr.c, src/testdir/test_options.vim
30323
30324Patch 8.2.4944
30325Problem: Text properties are wrong after "cc". (Axel Forsman)
30326Solution: Pass the deleted byte count to inserted_bytes(). (closes #10412,
30327 closes #7737, closes #5763)
30328Files: src/change.c, src/testdir/test_textprop.vim
30329
30330Patch 8.2.4945
30331Problem: Inconsistent use of white space.
30332Solution: Use Tabs and Spaces consistently.
30333Files: src/os_amiga.c, src/if_py_both.h, src/os_win32.c, src/os_mswin.c,
30334 src/os_vms.c, src/os_vms_conf.h
30335
30336Patch 8.2.4946
30337Problem: Vim9: some code not covered by tests.
30338Solution: Add a few more test cases. Remove dead code.
30339Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim,
30340 src/testdir/test_vim9_builtin.vim
30341
30342Patch 8.2.4947
30343Problem: Text properties not adjusted when accepting spell suggestion.
30344Solution: Adjust text properties when text changes. (closes #10414)
30345Files: src/spell.c, src/spellsuggest.c, src/testdir/test_textprop.vim
30346
30347Patch 8.2.4948
30348Problem: Cannot use Perl heredoc in nested :def function. (Virginia
30349 Senioria)
30350Solution: Only concatenate heredoc lines when not in a nested function.
30351 (closes #10415)
30352Files: src/userfunc.c, src/testdir/test_vim9_func.vim
30353
30354Patch 8.2.4949
30355Problem: Vim9: some code not covered by tests.
30356Solution: Add a few more test cases. Fix double error message.
30357Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim
30358
30359Patch 8.2.4950
30360Problem: Text properties position wrong after shifting text.
30361Solution: Adjust the text properties when shifting a block of text.
30362 (closes #10418)
30363Files: src/ops.c, src/testdir/test_textprop.vim
30364
30365Patch 8.2.4951
30366Problem: Smart indenting done when not enabled.
30367Solution: Check option values before setting can_si. (closes #10420)
30368Files: src/indent.c, src/proto/indent.pro, src/change.c, src/edit.c,
30369 src/ops.c, src/testdir/test_smartindent.vim
30370
30371Patch 8.2.4952
30372Problem: GUI test will fail if color scheme changes.
30373Solution: Reduce the test for now.
30374Files: src/testdir/test_gui.vim
30375
30376Patch 8.2.4953
30377Problem: With 'smartindent' inserting '}' after completion goes wrong.
30378Solution: Check the cursor is in indent. (closes #10420)
30379Files: src/indent.c, src/testdir/test_smartindent.vim
30380
30381Patch 8.2.4954
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010030382Problem: Inserting line breaks text property spanning more than one line.
Bram Moolenaard799daa2022-06-20 11:17:32 +010030383Solution: Check TP_FLAG_CONT_PREV and TP_FLAG_CONT_NEXT. (closes #10423)
30384Files: src/textprop.c, src/testdir/test_textprop.vim
30385
30386Patch 8.2.4955
30387Problem: Text property in wrong position after auto-indent.
30388Solution: Adjust text property columns. (closes #10422, closes #7719)
30389Files: src/change.c, src/testdir/test_textprop.vim
30390
30391Patch 8.2.4956
30392Problem: Reading past end of line with "gf" in Visual block mode.
30393Solution: Do not include the NUL in the length.
30394Files: src/normal.c, src/testdir/test_gf.vim
30395
30396Patch 8.2.4957
30397Problem: Text properties in a wrong position after a block change.
30398Solution: Adjust the properties columns. (closes #10427)
30399Files: src/ops.c, src/testdir/test_textprop.vim
30400
30401Patch 8.2.4958
30402Problem: A couple conditions are always true.
30403Solution: Remove the conditions. (Goc Dundar, closes #10428)
30404Files: src/evalfunc.c, src/quickfix.c
30405
30406Patch 8.2.4959
30407Problem: Using NULL regexp program.
30408Solution: Check for regexp program becoming NULL in more places.
30409Files: src/buffer.c, src/testdir/test_buffer.vim
30410
30411Patch 8.2.4960
30412Problem: Text properties that cross line boundary are not correctly updated
30413 for a deleted line.
30414Solution: Correct computing location of text property entry. (Paul Ollis,
30415 closes #10431, closes #10430)
30416Files: src/memline.c, src/testdir/test_textprop.vim
30417
30418Patch 8.2.4961
30419Problem: Build error with a certain combination of features.
30420Solution: Adjust #if. (John Marriott)
30421Files: src/memline.c
30422
30423Patch 8.2.4962
30424Problem: Files show up in git status.
30425Solution: Adjust the list of ignored files. Clean up more test files.
30426 (Shane xb Qian, closes #9929)
30427Files: .gitignore, src/testdir/Makefile
30428
30429Patch 8.2.4963
30430Problem: Expanding path with "/**" may overrun end of buffer.
30431Solution: Use vim_snprintf().
30432Files: src/filepath.c
30433
30434Patch 8.2.4964
30435Problem: MS-Windows GUI: mouse event test is flaky.
30436Solution: Add a short delay after generating a mouse event.
30437Files: src/testdir/test_gui.vim
30438
30439Patch 8.2.4965
30440Problem: GUI: testing mouse move event depends on screen cell size.
30441Solution: Multiply the row and column with the screen cell size.
30442Files: runtime/doc/testing.txt, src/testing.c, src/testdir/test_gui.vim
30443
30444Patch 8.2.4966
30445Problem: MS-Windows GUI: mouse event test gets extra event.
30446Solution: Ignore one move event.
30447Files: src/testdir/test_gui.vim
30448
30449Patch 8.2.4967 (after 8.2.4966)
30450Problem: MS-Windows GUI: mouse event test sometimes fails.
30451Solution: Ignore one move event only if there is an extra event.
30452Files: src/testdir/test_gui.vim
30453
30454Patch 8.2.4968
30455Problem: Reading past end of the line when C-indenting.
30456Solution: Check for NUL.
30457Files: src/cindent.c, src/testdir/test_cindent.vim
30458
30459Patch 8.2.4969
30460Problem: Changing text in Visual mode may cause invalid memory access.
30461Solution: Check the Visual position after making a change.
30462Files: src/change.c, src/edit.c, src/misc2.c, src/proto/misc2.pro,
30463 src/testdir/test_visual.vim
30464
30465Patch 8.2.4970
30466Problem: "eval 123" gives an error, "eval 'abc'" does not.
30467Solution: Also give an error when evaluating only a string. (closes #10434)
30468Files: src/ex_eval.c, src/testdir/test_vim9_cmd.vim
30469
30470Patch 8.2.4971
30471Problem: Vim9: interpolated string seen as range.
30472Solution: Recognize an interpolated string at the start of a command line.
30473 (closes #10434)
30474Files: src/ex_docmd.c, src/testdir/test_vim9_expr.vim
30475
30476Patch 8.2.4972
30477Problem: Vim9: compilation fails when using dict member when skipping.
30478Solution: Do not generate ISN_USEDICT when skipping. (closes #10433)
30479Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim
30480
30481Patch 8.2.4973
30482Problem: Vim9: type error for list unpack mentions argument.
30483Solution: Mention variable. (close #10435)
30484Files: src/vim9.h, src/vim9execute.c, src/vim9instr.c,
30485 src/proto/vim9instr.pro, src/vim9compile.c,
30486 src/testdir/test_vim9_script.vim,
30487 src/testdir/test_vim9_disassemble.vim
30488
30489Patch 8.2.4974
30490Problem: ":so" command may read after end of buffer.
30491Solution: Compute length of text properly.
30492Files: src/scriptfile.c, src/testdir/test_source.vim
30493
30494Patch 8.2.4975
30495Problem: Recursive command line loop may cause a crash.
30496Solution: Limit recursion of getcmdline().
30497Files: src/ex_getln.c, src/testdir/test_cmdline.vim
30498
30499Patch 8.2.4976
30500Problem: Coverity complains about not restoring a saved value.
30501Solution: Restore value before handling error.
30502Files: src/vim9execute.c
30503
30504Patch 8.2.4977
30505Problem: Memory access error when substitute expression changes window.
30506Solution: Disallow changing window in substitute expression.
30507Files: src/ex_cmds.c, src/testdir/test_substitute.vim
30508
30509Patch 8.2.4978
30510Problem: No error if engine selection atom is not at the start.
30511Solution: Give an error. (Christian Brabandt, closes #10439)
30512Files: runtime/doc/pattern.txt, src/errors.h, src/regexp_bt.c,
30513 src/regexp_nfa.c, src/testdir/test_regexp_latin.vim
30514
30515Patch 8.2.4979
30516Problem: Accessing freed memory when line is flushed.
30517Solution: Make a copy of the pattern to search for.
30518Files: src/window.c, src/testdir/test_tagjump.vim
30519
30520Patch 8.2.4980
30521Problem: When 'shortmess' contains 'A' loading a session may still warn for
30522 an existing swap file. (Melker Österberg)
30523Solution: Keep the 'A' flag to 'shortmess' in the session file.
30524 (closes #10443)
30525Files: src/session.c, src/testdir/test_mksession.vim
30526
30527Patch 8.2.4981
30528Problem: It is not possible to manipulate autocommands.
30529Solution: Add functions to add, get and set autocommands. (Yegappan
30530 Lakshmanan, closes #10291)
30531Files: runtime/doc/autocmd.txt, runtime/doc/builtin.txt,
30532 runtime/doc/usr_41.txt, src/autocmd.c, src/evalfunc.c,
30533 src/proto/autocmd.pro, src/testdir/test_autocmd.vim,
30534 src/testdir/test_vim9_builtin.vim
30535
30536Patch 8.2.4982
30537Problem: Colors in terminal window are not 100% correct.
30538Solution: Use g:terminal_ansi_colors as documented. (closes #10429,
30539 closes #7227 closes #10347)
30540Files: src/job.c, src/option.c, src/proto/term.pro,
30541 src/terminal.c, src/proto/terminal.pro, src/term.c,
30542 src/testdir/test_functions.vim, src/testdir/test_terminal.vim
30543
30544Patch 8.2.4983 (after 8.2.4982)
30545Problem: Colors test fails in the GUI.
30546Solution: Reset g:terminal_ansi_colors.
30547Files: src/testdir/test_functions.vim
30548
30549Patch 8.2.4984
30550Problem: Dragging statusline fails for window with winbar.
30551Solution: Fix off-by-one error. (closes #10448)
30552Files: src/mouse.c, src/testdir/test_winbar.vim
30553
30554Patch 8.2.4985
30555Problem: PVS warns for possible array underrun.
30556Solution: Add a check for a positive value. (Goc Dundar, closes #10451)
30557Files: src/spell.c
30558
30559Patch 8.2.4986
30560Problem: Some github actions are outdated.
30561Solution: Update CodeQl to v2, update checkout to v3. (closes #10450)
30562Files: .github/workflows/ci.yml, .github/workflows/codeql-analysis.yml,
30563 .github/workflows/coverity.yml
30564
30565Patch 8.2.4987
30566Problem: After deletion a small fold may be closable.
30567Solution: Check for a reverse range. (Brandon Simmons, closes #10457)
30568Files: src/fold.c, src/testdir/test_fold.vim
30569
30570Patch 8.2.4988
30571Problem: Textprop in wrong position when replacing multi-byte chars.
30572Solution: Adjust textprop position. (closes #10461)
30573Files: src/change.c, src/testdir/test_textprop.vim
30574
30575Patch 8.2.4989
30576Problem: Cannot specify a function name for :defcompile.
30577Solution: Implement a function name argument for :defcompile.
30578Files: runtime/doc/vim9.txt, src/userfunc.c, src/proto/userfunc.pro,
30579 src/vim9execute.c, src/ex_cmds.h, src/testdir/test_vim9_cmd.vim,
30580 src/testdir/test_vim9_disassemble.vim
30581
30582Patch 8.2.4990 (after 8.2.4989)
30583Problem: Memory leak when :defcompile fails.
30584Solution: Free fname when returning early.
30585Files: src/userfunc.c
30586
30587Patch 8.2.4991
30588Problem: No test for what patch 8.1.0535 fixes.
30589Solution: Add a test. (closes #10462)
30590Files: src/testdir/test_fold.vim
30591
30592Patch 8.2.4992 (after 8.2.4989)
30593Problem: Compiler warning for possibly uninitialized variable. (Tony
30594 Mechelynck)
30595Solution: Initialize variable in the caller instead of in the function.
30596Files: src/userfunc.c, src/vim9execute.c
30597
30598Patch 8.2.4993
30599Problem: smart/C/lisp indenting is optional, which makes the code more
30600 complex, while it only reduces the executable size a bit.
30601Solution: Graduate FEAT_CINDENT, FEAT_SMARTINDENT and FEAT_LISP.
30602Files: runtime/doc/builtin.txt, runtime/doc/indent.txt,
30603 runtime/doc/options.txt, runtime/doc/various.txt, src/feature.h,
30604 src/buffer.c, src/change.c, src/cindent.c, src/charset.c,
30605 src/edit.c, src/evalfunc.c, src/indent.c, src/insexpand.c,
30606 src/main.c, src/mouse.c, src/ops.c, src/option.c, src/optionstr.c,
30607 src/register.c, src/search.c, src/textformat.c, src/version.c,
30608 src/option.h, src/optiondefs.h, src/structs.h, src/globals.h,
30609 src/testdir/test_edit.vim
30610
30611Patch 8.2.4994
30612Problem: Tests are using legacy functions.
30613Solution: Convert a few tests to use :def functions.
30614Files: src/testdir/test_cindent.vim
30615
30616Patch 8.2.4995 (after 8.2.4992)
30617Problem: Still a compiler warning for possibly uninitialized variable.
30618 (Tony Mechelynck)
30619Solution: Initialize variables.
30620Files: src/vim9execute.c
30621
30622Patch 8.2.4996 (after 8.2.4969)
30623Problem: setbufline() may change Visual selection. (Qiming Zhao)
30624Solution: Disable Visual mode when using another buffer. (closes #10466)
30625Files: src/evalbuffer.c, src/testdir/test_bufline.vim
30626
30627Patch 8.2.4997
30628Problem: Python: changing hidden buffer can cause the display to be messed
30629 up.
30630Solution: Do not mark changed lines when using another buffer. (Paul Ollis,
30631 closes #10437, closes #7972)
30632Files: src/if_py_both.h, src/testdir/test_python3.vim
30633
30634Patch 8.2.4998
30635Problem: Vim9: crash when using multiple funcref().
30636Solution: Check if varargs type is NULL. (closes #10467)
30637Files: src/vim9type.c, src/testdir/test_vim9_func.vim
30638
30639Patch 8.2.4999
30640Problem: Filetype test table is not properly sorted.
30641Solution: Sort by filetype. (Doug Kearns)
30642Files: src/testdir/test_filetype.vim
30643
30644Patch 8.2.5000
30645Problem: No patch for documentation updates.
30646Solution: Update documentation files.
30647Files: runtime/doc/arabic.txt, runtime/doc/autocmd.txt,
30648 runtime/doc/builtin.txt, runtime/doc/change.txt,
30649 runtime/doc/channel.txt, runtime/doc/cmdline.txt,
30650 runtime/doc/diff.txt, runtime/doc/digraph.txt,
30651 runtime/doc/editing.txt, runtime/doc/eval.txt,
30652 runtime/doc/filetype.txt, runtime/doc/fold.txt,
30653 runtime/doc/ft_ada.txt, runtime/doc/ft_ps1.txt,
30654 runtime/doc/ft_raku.txt, runtime/doc/ft_rust.txt,
30655 runtime/doc/ft_sql.txt, runtime/doc/gui.txt,
30656 runtime/doc/gui_w32.txt, runtime/doc/helphelp.txt,
30657 runtime/doc/help.txt, runtime/doc/if_cscop.txt,
30658 runtime/doc/if_lua.txt, runtime/doc/if_perl.txt,
30659 runtime/doc/if_pyth.txt, runtime/doc/if_tcl.txt,
30660 runtime/doc/indent.txt, runtime/doc/index.txt,
30661 runtime/doc/insert.txt, runtime/doc/intro.txt,
30662 runtime/doc/map.txt, runtime/doc/mbyte.txt,
30663 runtime/doc/message.txt, runtime/doc/motion.txt,
30664 runtime/doc/netbeans.txt, runtime/doc/options.txt,
30665 runtime/doc/os_dos.txt, runtime/doc/os_vms.txt,
30666 runtime/doc/os_win32.txt, runtime/doc/pattern.txt,
30667 runtime/doc/pi_netrw.txt, runtime/doc/pi_zip.txt,
30668 runtime/doc/popup.txt, runtime/doc/print.txt,
30669 runtime/doc/quickfix.txt, runtime/doc/quickref.txt,
30670 runtime/doc/remote.txt, runtime/doc/repeat.txt,
30671 runtime/doc/rileft.txt, runtime/doc/scroll.txt,
30672 runtime/doc/sign.txt, runtime/doc/spell.txt,
30673 runtime/doc/sponsor.txt, runtime/doc/starting.txt,
30674 runtime/doc/syntax.txt, runtime/doc/tabpage.txt,
30675 runtime/doc/tagsrch.txt, runtime/doc/terminal.txt,
30676 runtime/doc/term.txt, runtime/doc/testing.txt,
30677 runtime/doc/textprop.txt, runtime/doc/tips.txt,
30678 runtime/doc/todo.txt, runtime/doc/uganda.txt,
30679 runtime/doc/undo.txt, runtime/doc/usr_02.txt,
30680 runtime/doc/usr_04.txt, runtime/doc/usr_05.txt,
30681 runtime/doc/usr_06.txt, runtime/doc/usr_08.txt,
30682 runtime/doc/usr_09.txt, runtime/doc/usr_12.txt,
30683 runtime/doc/usr_20.txt, runtime/doc/usr_29.txt,
30684 runtime/doc/usr_40.txt, runtime/doc/usr_41.txt,
30685 runtime/doc/usr_45.txt, runtime/doc/usr_46.txt,
30686 runtime/doc/usr_50.txt, runtime/doc/usr_51.txt,
30687 runtime/doc/usr_52.txt, runtime/doc/usr_90.txt,
30688 runtime/doc/usr_toc.txt, runtime/doc/various.txt,
30689 runtime/doc/version5.txt, runtime/doc/version6.txt,
30690 runtime/doc/version7.txt, runtime/doc/version8.txt,
30691 runtime/doc/version9.txt, runtime/doc/vi_diff.txt,
30692 runtime/doc/vim9.txt, runtime/doc/visual.txt,
30693 runtime/doc/windows.txt, runtime/doc/tags, runtime/doc/Makefile
30694
30695Patch 8.2.5001
30696Problem: Checking translations affects the search pattern history.
30697Solution: Use "keeppatterns". (Doug Kearns)
30698Files: src/po/check.vim
30699
30700Patch 8.2.5002
30701Problem: deletebufline() may change Visual selection.
30702Solution: Disable Visual mode when using another buffer. (closes #10469)
30703Files: src/evalbuffer.c, src/testdir/test_bufline.vim
30704
30705Patch 8.2.5003
30706Problem: Cannot do bitwise shifts.
30707Solution: Add the >> and << operators. (Yegappan Lakshmanan, closes #8457)
30708Files: runtime/doc/eval.txt, src/errors.h, src/eval.c, src/structs.h,
30709 src/vim.h, src/vim9execute.c, src/vim9expr.c,
30710 src/testdir/test_expr.vim, src/testdir/test_vim9_disassemble.vim,
30711 src/testdir/test_vim9_expr.vim
30712
30713Patch 8.2.5004
30714Problem: Right shift on negative number does not work as documented.
30715Solution: Use a uvarnumber_T type cast.
30716Files: runtime/doc/eval.txt, src/eval.c, src/vim9expr.c,
30717 src/vim9execute.c, src/charset.c, src/testdir/test_expr.vim
30718
30719Patch 8.2.5005 (after 8.2.5003)
30720Problem: Compiler warning for uninitialized variable. (John Marriott)
30721Solution: Initialize the pointer to NULL.
30722Files: src/vim9expr.vim
30723
30724Patch 8.2.5006 (after 8.2.5003)
30725Problem: Asan warns for undefined behavior.
30726Solution: Cast the shifted value to unsigned.
30727Files: src/eval.c, src/vim9expr.c, src/vim9execute.c
30728
30729Patch 8.2.5007
30730Problem: Spell suggestion may use uninitialized memory. (Zdenek Dohnal)
30731Solution: Avoid going over the end of the word.
30732Files: src/spellsuggest.c, src/testdir/test_spell_utf8.vim
30733
30734Patch 8.2.5008
30735Problem: When 'formatoptions' contains "/" wrongly wrapping a long trailing
30736 comment.
30737Solution: Pass the OPENLINE_FORMAT flag.
30738Files: src/change.c, src/vim.h, src/textformat.c,
30739 src/testdir/test_textformat.vim
30740
30741Patch 8.2.5009
Bram Moolenaar8a3b8052022-06-26 12:21:15 +010030742Problem: Fold may not be closable after appending.
Bram Moolenaard799daa2022-06-20 11:17:32 +010030743Solution: Set the fd_small flag to MAYBE. (Brandon Simmons, closes #10471)
30744Files: src/fold.c, src/testdir/test_fold.vim
30745
30746Patch 8.2.5010
30747Problem: The terminal debugger uses various global variables.
30748Solution: Add a dictionary to hold the terminal debugger preferences.
30749Files: runtime/doc/terminal.txt,
30750 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
30751
30752Patch 8.2.5011
30753Problem: Replacing an autocommand requires several lines.
30754Solution: Add the "replace" flag to autocmd_add(). (Yegappan Lakshmanan,
30755 closes #10473)
30756Files: runtime/doc/autocmd.txt, runtime/doc/builtin.txt, src/autocmd.c,
30757 src/testdir/test_autocmd.vim
30758
30759Patch 8.2.5012
30760Problem: Cannot select one character inside ().
30761Solution: Do not try to extend the area if it is empty. (closes #10472,
30762 closes #6616)
30763Files: src/textobject.c, src/testdir/test_textobjects.vim
30764
30765Patch 8.2.5013
30766Problem: After text formatting the cursor may be in an invalid position.
30767Solution: Correct the cursor position after formatting.
30768Files: src/textformat.c, src/testdir/test_textformat.vim
30769
30770Patch 8.2.5014
30771Problem: Byte offsets are wrong when using text properties.
30772Solution: Make sure text properties do not affect the byte counts.
30773 (Paul Ollis, closes #10474)
30774Files: src/memline.c, src/textprop.c, src/testdir/test_textprop.vim
30775
30776Patch 8.2.5015
30777Problem: Hoon and Moonscript files are not recognized.
30778Solution: Add filetype patterns. (Goc Dundar, closes #10478)
30779Files: runtime/filetype.vim, src/testdir/test_filetype.vim
30780
30781Patch 8.2.5016
30782Problem: Access before start of text with a put command.
30783Solution: Check the length is more than zero.
30784Files: src/register.c, src/testdir/test_put.vim
30785
30786Patch 8.2.5017
30787Problem: Gcc 12.1 warns for uninitialized variable.
30788Solution: Initialize the variable. (closes #10476)
30789Files: src/evalvars.c
30790
30791Patch 8.2.5018
30792Problem: Vim9: some code is not covered by tests.
30793Solution: Delete dead code.
30794Files: src/vim9instr.c, src/proto/vim9instr.pro, src/vim9compile.c,
30795 src/vim9expr.c,
30796
30797Patch 8.2.5019
30798Problem: Cannot get the first screen column of a character.
30799Solution: Let virtcol() optionally return a list. (closes #10482,
30800 closes #7964)
30801Files: runtime/doc/builtin.txt, src/evalfunc.c,
30802 src/testdir/test_functions.vim, src/testdir/test_vim9_builtin.vim
30803
30804Patch 8.2.5020
30805Problem: Using 'imstatusfunc' and 'imactivatefunc' breaks 'foldopen'.
30806Solution: Save and restore the KeyTyped flag. (closes #10479)
30807Files: src/gui_xim.c, src/testdir/test_iminsert.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +000030808
30809
Bram Moolenaard799daa2022-06-20 11:17:32 +010030810Patch 8.2.5021
30811Problem: Build fails with normal features and +terminal. (Dominique Pellé)
30812Solution: Add #ifdefs. (closes #10484)
30813Files: src/terminal.c
30814
30815Patch 8.2.5022
30816Problem: 'completefunc'/'omnifunc' error does not end completion.
30817Solution: Check if there was an error or exception. (closes #10486,
30818 closes #4218)
30819Files: src/insexpand.c, src/testdir/test_ins_complete.vim
30820
30821Patch 8.2.5023
30822Problem: Substitute overwrites allocated buffer.
30823Solution: Disallow undo when in a substitute command.
30824Files: src/normal.c, src/undo.c, src/testdir/test_substitute.vim
30825
30826Patch 8.2.5024
30827Problem: Using freed memory with "]d".
30828Solution: Copy the pattern before searching.
30829Files: src/normal.c, src/testdir/test_tagjump.vim
30830
30831Patch 8.2.5025
30832Problem: Vim9: a few lines not covered by tests.
30833Solution: Add a few tests.
30834Files: src/vim9script.c, src/testdir/test_vim9_assign.vim,
30835 src/testdir/test_vim9_import.vim
30836
30837Patch 8.2.5026
30838Problem: Vim9: a few lines not covered by tests.
30839Solution: Delete dead code. Add a few test cases. make "12->func()" work.
30840Files: src/vim9type.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
30841 src/vim9compile.c, src/testdir/test_vim9_assign.vim,
30842 src/testdir/test_vim9_func.vim
30843
30844Patch 8.2.5027
30845Problem: Error for missing :endif when an exception was thrown. (Dani
30846 Dickstein)
30847Solution: Do not give an error when aborting. (closes #10490)
30848Files: src/ex_docmd.c, src/testdir/test_trycatch.vim
30849
30850Patch 8.2.5028
30851Problem: Syntax regexp matching can be slow.
30852Solution: Adjust the counters for checking the timeout to check about once
30853 per msec. (closes #10487, closes #2712)
30854Files: src/regexp_bt.c, src/regexp_nfa.c
30855
30856Patch 8.2.5029
30857Problem: "textlock" is always zero.
30858Solution: Remove "textlock" and rename "textwinlock" to "textlock".
30859 (closes #10489)
30860Files: runtime/doc/insert.txt, runtime/doc/tags, src/beval.c,
30861 src/change.c, src/edit.c, src/errors.h, src/eval.c, src/ex_cmds.c,
30862 src/ex_getln.c, src/proto/ex_getln.pro, src/globals.h,
30863 src/indent.c, src/insexpand.c, src/map.c, src/register.c,
30864 src/undo.c, src/window.c, src/testdir/test_edit.vim,
30865 src/testdir/test_ins_complete.vim, src/testdir/test_popup.vim,
30866 src/testdir/test_quickfix.vim
30867
30868Patch 8.2.5030
30869Problem: autocmd_add() can only handle one event and pattern.
30870Solution: Support a list of events and patterns. (Yegappan Lakshmanan,
30871 closes #10483)
30872Files: runtime/doc/builtin.txt, src/autocmd.c, src/errors.h,
30873 src/testdir/test_autocmd.vim
30874
30875Patch 8.2.5031
30876Problem: Cannot easily run the benchmarks.
30877Solution: Have "make benchmark" in the src directory work.
30878Files: src/Makefile, src/testdir/Makefile
30879
30880Patch 8.2.5032
30881Problem: Python 3 test fails without the GUI.
30882Solution: Check the balloon_eval feature is available.
30883Files: src/testdir/test_python3.vim
30884
30885Patch 8.2.5033 (after 8.2.5030)
30886Problem: Build error with +eval but without +quickfix. Warning for
30887 uninitialized variable.
30888Solution: Adjust #ifdefs. (John Marriott)
30889Files: src/errors.h, src/autocmd.c
30890
30891Patch 8.2.5034
30892Problem: There is no way to get the byte index from a virtual column.
30893Solution: Add virtcol2col(). (Yegappan Lakshmanan, closes #10477,
30894 closes #10098)
30895Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
30896 src/move.c, src/proto/move.pro, src/testdir/test_cursor_func.vim
30897
30898Patch 8.2.5035
30899Problem: When splitting a window the changelist position moves.
30900Solution: Set the changelist index a bit later. (closes #10493)
30901Files: src/window.c, src/testdir/test_changelist.vim,
30902 src/testdir/test_normal.vim
30903
30904Patch 8.2.5036 (after 8.2.5028)
30905Problem: Using two counters for timeout check in NFA engine.
30906Solution: Use only one counter. Tune the counts based on guessing.
30907Files: src/regexp_nfa.c
30908
30909Patch 8.2.5037
30910Problem: Cursor position may be invalid after "0;" range.
30911Solution: Check the cursor position when it was set by ";" in the range.
30912Files: src/ex_docmd.c, src/testdir/test_excmd.vim
30913
30914Patch 8.2.5038
30915Problem: A finished terminal in a popup window does not show a scrollbar.
30916Solution: Show the scrollbar if the terminal job is finished. (closes
30917 #10497)
30918Files: src/popupwin.c, src/testdir/test_popupwin.vim,
30919 src/testdir/dumps/Test_popupwin_poptermscroll_1.dump,
30920 src/testdir/dumps/Test_popupwin_poptermscroll_2.dump,
30921 src/testdir/dumps/Test_popupwin_poptermscroll_3.dump
30922
30923Patch 8.2.5039
30924Problem: Confusing error if first argument of popup_create() is wrong.
30925Solution: Give a more informative error.
30926Files: src/popupwin.c, src/testdir/test_popupwin.vim, src/errors.h,
30927 src/testdir/dumps/Test_popup_settext_07.dump
30928
30929Patch 8.2.5040
30930Problem: Scrollbar thumb in scrolled popup not visible.
30931Solution: Show at least one thumb character. (fixes 10492)
30932Files: src/popupwin.c, src/testdir/test_popupwin.vim,
30933 src/testdir/dumps/Test_popupwin_scroll_13.dump
30934
30935Patch 8.2.5041
30936Problem: Cannot close a terminal popup with "NONE" job.
30937Solution: Adjust the conditions for whether a job is running.
30938 (closes #10498)
30939Files: src/buffer.c, src/terminal.c, src/proto/terminal.pro,
30940 src/undo.c, src/testdir/test_popupwin.vim
30941
30942Patch 8.2.5042
30943Problem: Scrollbar thumb in tall scrolled popup not visible.
30944Solution: Show at least one thumb character. (fixes 10492)
30945Files: src/popupwin.c, src/testdir/test_popupwin.vim,
30946 src/testdir/dumps/Test_popupwin_scroll_13.dump
30947
30948Patch 8.2.5043
30949Problem: Can open a cmdline window from a substitute expression.
30950Solution: Disallow opening a command line window when text or buffer is
30951 locked.
30952Files: src/buffer.c, src/ex_getln.c, src/proto/ex_getln.pro,
30953 src/window.c, src/testdir/test_substitute.vim
30954
30955Patch 8.2.5044 (after 8.2.5043)
30956Problem: Command line test fails.
30957Solution: Also beep when cmdline win can't be opened because of locks.
30958 Make the test not beep. Make the test pass on MS-Windows.
30959Files: src/ex_getln.c, src/testdir/test_substitute.vim
30960
30961Patch 8.2.5045
30962Problem: Can escape a terminal popup window when the job is finished.
30963Solution: Only check for a finished job where it is relevant.
30964 (closes #10253)
30965Files: src/popupwin.c, src/testdir/test_popupwin.vim,
30966 src/testdir/dumps/Test_popupwin_poptermscroll_1.dump,
30967 src/testdir/dumps/Test_popupwin_poptermscroll_2.dump,
30968 src/testdir/dumps/Test_popupwin_poptermscroll_3.dump,
30969 src/testdir/dumps/Test_popupwin_poptermscroll_4.dump
30970
30971Patch 8.2.5046
30972Problem: vim_regsub() can overwrite the destination.
30973Solution: Pass the destination length, give an error when it doesn't fit.
30974Files: src/regexp.h, src/regexp.c, src/proto/regexp.pro, src/eval.c,
30975 src/ex_cmds.c
30976
30977Patch 8.2.5047
30978Problem: CurSearch highlight is often wrong.
30979Solution: Remember the last highlighted position and redraw when needed.
30980Files: src/globals.h, src/match.c, src/drawscreen.c, src/change.c,
30981 src/testdir/test_search.vim,
30982 src/testdir/dumps/Test_hlsearch_cursearch_changed_1.dump
30983
30984Patch 8.2.5048
30985Problem: When using XIM the gui test may fail.
30986Solution: Only use --not-a-term when not using XIM.
30987Files: src/testdir/test_gui.vim
30988
30989Patch 8.2.5049
30990Problem: Insufficient tests for autocommands.
30991Solution: Add a few more tests. (Yegappan Lakshmanan, closes #10507)
30992Files: src/autocmd.c, src/testdir/gen_opt_test.vim,
30993 src/testdir/test_autocmd.vim, src/testdir/test_cmdline.vim
30994
30995Patch 8.2.5050
30996Problem: Using freed memory when searching for pattern in path.
30997Solution: Make a copy of the line.
30998Files: src/search.c, src/testdir/test_tagjump.vim
30999
31000Patch 8.2.5051
31001Problem: Check for autocmd_add() event argument is confusing.
31002Solution: Make the code more straightforward.
31003Files: src/autocmd.c
31004
31005Patch 8.2.5052
31006Problem: CI checkout step title is a bit cryptic.
31007Solution: Add a better title. (closes #10509)
31008Files: .github/workflows/ci.yml, .github/workflows/coverity.yml,
31009 .github/workflows/codeql-analysis.yml
31010
31011Patch 8.2.5053
31012Problem: Cannot have a comment halfway an expression in an autocmd command
31013 block.
31014Solution: When skipping over the NL also skip over comments. (closes #10519)
31015Files: src/eval.c, src/testdir/test_autocmd.vim
31016
31017Patch 8.2.5054
31018Problem: No good filetype for conf files similar to dosini.
31019Solution: Add the confini filetype. (closes #10518)
31020Files: runtime/filetype.vim, src/testdir/test_filetype.vim
31021
31022Patch 8.2.5055
31023Problem: Statusline is not updated when terminal title changes.
31024Solution: Redraw the status line when the title changes. (issue #10425)
31025Files: src/terminal.c
31026
31027Patch 8.2.5056
31028Problem: The channel log only contains some of the raw terminal output.
31029Solution: Add the "o" flag to log all terminal output. Use it for "--log".
31030Files: runtime/doc/channel.txt, runtime/doc/starting.txt, src/main.c,
31031 src/channel.c, src/vim.h, src/term.c, src/edit.c, src/normal.c,
31032 src/optionstr.c
31033
31034Patch 8.2.5057
31035Problem: Using gettimeofday() for timeout is very inefficient.
31036Solution: Set a platform dependent timer. (Paul Ollis, closes #10505)
31037Files: src/auto/configure, src/config.h.in, src/configure.ac,
31038 src/drawscreen.c, src/errors.h, src/evalfunc.c, src/ex_cmds.c,
31039 src/ex_getln.c, src/match.c, src/os_mac.h, src/os_macosx.m,
31040 src/os_unix.c, src/os_win32.c, src/proto/os_unix.pro,
31041 src/proto/os_win32.pro, src/proto/regexp.pro, src/quickfix.c,
31042 src/regexp.c, src/regexp.h, src/regexp_bt.c, src/regexp_nfa.c,
31043 src/screen.c, src/search.c, src/structs.h, src/syntax.c,
31044 src/testdir/test_hlsearch.vim, src/testdir/test_search.vim,
31045 src/testdir/test_syntax.vim
31046
31047Patch 8.2.5058
31048Problem: input() does not handle composing characters properly.
31049Solution: Use mb_cptr2char_adv() instead of mb_ptr2char_adv().
31050 (closes #10527)
31051Files: src/getchar.c, src/testdir/test_functions.vim
31052
31053Patch 8.2.5059
31054Problem: Autoconf 2.71 produces many obsolete warnings.
31055Solution: Replace obsolete macros with non-obsolete ones, where the
31056 functionality does not change. (issue #10528)
31057Files: src/configure.ac, src/auto/configure
31058
31059Patch 8.2.5060 (after 8.2.5059)
31060Problem: Running configure fails.
31061Solution: Remove line break.
31062Files: src/configure.ac, src/auto/configure
31063
31064Patch 8.2.5061
31065Problem: C89 requires signal handlers to return void.
31066Solution: Drop RETSIGTYPE and hard-code a void return value.
31067Files: src/configure.ac, src/auto/configure, src/if_cscope.c,
31068 src/os_unix.c, src/pty.c, src/os_mac.h, src/os_vms_conf.h,
31069 src/config.h.in, src/osdef1.h.in
31070
31071Patch 8.2.5062
31072Problem: Coverity warns for dead code.
31073Solution: Remove the dead code.
31074Files: src/os_unix.c, src/match.c
31075
31076Patch 8.2.5063
31077Problem: Error for a command may go over the end of IObuff.
31078Solution: Truncate the message.
31079Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
31080
31081Patch 8.2.5064
31082Problem: No test for what 8.1.0052 fixes.
31083Solution: Add a test. (closes #10531)
31084Files: src/getchar.c, src/testdir/test_mapping.vim
31085
31086Patch 8.2.5065
31087Problem: Wrong return type for main() in tee.c.
31088Solution: Use "int" instead of "void". Remove unused variable.
31089Files: src/tee/tee.c
31090
31091Patch 8.2.5066
31092Problem: Can specify multispace listchars only for whole line.
31093Solution: Add "leadmultispace". (Christian Brabandt, closes #10496)
31094Files: runtime/doc/options.txt, src/drawline.c, src/message.c,
31095 src/screen.c, src/structs.h, src/window.c,
31096 src/testdir/test_listchars.vim
31097
31098Patch 8.2.5067
31099Problem: Timer_create is not available on every Mac system. (Hisashi T
31100 Fujinaka)
31101Solution: Adjust #ifdef.
31102Files: src/os_unix.c
31103
31104Patch 8.2.5068
31105Problem: Gcc 12.1 warning when building tee.
31106Solution: Change type to size_t. (John Marriott)
31107Files: src/tee/tee.c
31108
31109Patch 8.2.5069
31110Problem: Various warnings from clang on MS-Windows.
31111Solution: Fix the code to avoid the warnings. (Yegappan Lakshmanan,
31112 closes #10538)
31113Files: src/dosinst.c, src/fileio.c, src/gui_w32.c, src/os_mswin.c,
31114 src/os_win32.c
31115
31116Patch 8.2.5070
31117Problem: Unnecessary code.
31118Solution: Remove code that isn't needed. (closes #10534)
31119Files: src/message.c, src/screen.c
31120
31121Patch 8.2.5071
31122Problem: With some Mac OS version clockid_t is redefined.
31123Solution: Adjust #ifdefs. (Ozaki Kiichi, closes #10549)
31124Files: src/os_mac.h
31125
31126Patch 8.2.5072
31127Problem: Using uninitialized value and freed memory in spell command.
31128Solution: Initialize "attr". Check for empty line early.
31129Files: src/spell.c, src/testdir/test_spell_utf8.vim
31130
31131Patch 8.2.5073
31132Problem: Clang on MS-Windows produces warnings.
31133Solution: Avoid the warnings. (Yegappan Lakshmanan, closes #10546)
31134Files: src/dosinst.c, src/dosinst.h, src/gui_dwrite.cpp, src/gui_w32.c,
31135 src/iscygpty.c, src/libvterm/src/vterm_internal.h, src/mbyte.c,
31136 src/os_win32.c, src/os_win32.h, src/term.c, src/xdiff/xinclude.h
31137
31138Patch 8.2.5074
31139Problem: Spell test fails on MS-Windows.
31140Solution: Do not change 'encoding'
31141Files: src/testdir/test_spell_utf8.vim
31142
31143Patch 8.2.5075
31144Problem: Clang gives an out of bounds warning.
31145Solution: adjust conditional expression (John Marriott)
31146Files: src/ui.c
31147
31148Patch 8.2.5076
31149Problem: Unnecessary code.
31150Solution: Remove code and replace with function call. (closes #10552)
31151Files: src/drawline.c, src/getchar.c
31152
31153Patch 8.2.5077
31154Problem: Various warnings from clang on MS-Windows.
31155Solution: Avoid the warnings. (Yegappan Lakshmanan, closes #10553)
31156Files: src/dosinst.c, src/dosinst.h, src/filepath.c, src/gui_w32.c,
31157 src/misc1.c, src/os_win32.c
31158
31159Patch 8.2.5078
31160Problem: Substitute test has a one second delay.
31161Solution: Use ":silent!". Add another test case. (closes #10558)
31162Files: src/testdir/test_substitute.vim
31163
31164Patch 8.2.5079
31165Problem: DirChanged autocommand may use freed memory. (Shane-XB Qian)
31166Solution: Free the memory later. (closes #10555)
31167Files: src/ex_docmd.c, src/testdir/test_autocmd.vim
31168
31169Patch 8.2.5080
31170Problem: When indenting gets out of hand it is hard to stop.
31171Solution: When line gets too long set got_int.
31172Files: src/indent.c
31173
31174Patch 8.2.5081
31175Problem: Autocmd test fails on MS-Windows.
31176Solution: Set shellslash to get forward slashes.
31177Files: src/testdir/test_autocmd.vim
31178
31179Patch 8.2.5082 (after 8.2.5080)
31180Problem: Retab test fails.
31181Solution: Disable the test for now.
31182Files: src/testdir/test_retab.vim
31183
31184Patch 8.2.5083
31185Problem: Autocmd test still fails on MS-Windows.
31186Solution: Change backward to forward slashes.
31187Files: src/testdir/test_autocmd.vim
31188
31189Patch 8.2.5084
31190Problem: When the GUI shows a dialog tests get stuck.
31191Solution: Add the --gui-dialog-file argument.
31192Files: runtime/doc/starting.txt, src/Make_mvc.mak, src/gui.c, src/main.c,
31193 src/message.c, src/os_mswin.c, src/proto/gui.pro,
31194 src/proto/main.pro, src/structs.h, src/testdir/Make_dos.mak,
31195 src/testdir/Make_ming.mak, src/testdir/Makefile,
31196 src/testdir/runtest.vim, src/testdir/shared.vim
31197
31198Patch 8.2.5085
31199Problem: Gcc gives warning for signed/unsigned difference.
31200Solution: Use a different pointer type. (John Marriott)
31201Files: src/os_mswin.c
31202
31203Patch 8.2.5086
31204Problem: CI runs on Windows 2019.
31205Solution: Switch to Windows 2022. (closes #10566)
31206Files: .github/workflows/ci.yml
31207
31208Patch 8.2.5087
31209Problem: Cannot build with clang on MS-Windows.
31210Solution: Add support for building with clang. (Yegappan Lakshmanan,
31211 closes #10557)
31212Files: src/GvimExt/Make_ming.mak, src/INSTALLpc.txt,
31213 src/Make_cyg_ming.mak
31214
31215Patch 8.2.5088
31216Problem: Value of cmod_verbose is a bit complicated to use.
31217Solution: Use zero for not set, value + 1 when set. (closes #10564)
31218Files: src/ex_docmd.c, src/ex_getln.c, src/globals.h, src/structs.h
31219
31220Patch 8.2.5089
31221Problem: Some functions return a different value on failure.
31222Solution: Initialize the return value earlier. (Yegappan Lakshmanan,
31223 closes #10568)
31224Files: src/autocmd.c, src/dict.c, src/evalfunc.c, src/list.c
31225
31226Patch 8.2.5090
31227Problem: MS-Windows: vim.def is no longer used.
31228Solution: Delete vim.def. (Ken Takata, closes #10569)
31229Files: Filelist, Makefile, src/vim.def
31230
31231Patch 8.2.5091
31232Problem: Terminal test fails with some shell commands.
31233Solution: Disable setting the window title. (closes #10530)
31234Files: src/testdir/test_terminal.vim
31235
31236Patch 8.2.5092
31237Problem: Using "'<,'>" in Ex mode may compare unrelated pointers.
31238Solution: Set eap->cmd to "+" only later.
31239Files: src/ex_docmd.c
31240
31241Patch 8.2.5093
31242Problem: Error message for unknown command may mention the command twice.
31243 (Malcolm Rowe)
31244Solution: Add the did_append_cmd flag. (closes #10570)
31245Files: src/ex_docmd.c
31246
31247Patch 8.2.5094
31248Problem: MS-Windows GUI: empty command may cause a dialog.
31249Solution: Delete the dialog file. Improve the message.
31250Files: src/testdir/runtest.vim, src/testdir/test_ex_mode.vim
31251
31252Patch 8.2.5095
31253Problem: Terminal test still fails with some shell commands.
31254Solution: Disable setting the window title in the Vim instance running in a
31255 terminal window. (closes #10530)
31256Files: src/testdir/test_terminal.vim
31257
31258Patch 8.2.5096 (after 8.2.5095)
31259Problem: Terminal test still fails with some shell commands.
31260Solution: Add missing "call". (closes #10530)
31261Files: src/testdir/test_terminal.vim
31262
31263Patch 8.2.5097
31264Problem: Using uninitialized memory when using 'listchars'.
31265Solution: Use the length returned by mb_char2bytes(). (closes #10576)
31266Files: src/message.c
31267
31268Patch 8.2.5098
31269Problem: Spelldump test sometimes hangs.
31270Solution: Catch the problem of the spell file not being found to avoid
31271 hanging in the download dialog.
31272Files: src/testdir/test_spell.vim
31273
31274Patch 8.2.5099
31275Problem: Some terminal tests are not retried.
31276Solution: Mark terminal tests as flaky.
31277Files: src/testdir/test_terminal.vim
31278
31279Patch 8.2.5100
31280Problem: Memory usage tests are not retried.
31281Solution: Mark memory usage tests as flaky.
31282Files: src/testdir/test_memory_usage.vim
31283
31284Patch 8.2.5101
31285Problem: MS-Windows with MinGW: $CC may be "cc" instead of "gcc".
31286Solution: Set $CC if it is not matching "clang". (Yegappan Lakshmanan,
31287 closes #10578)
31288Files: src/INSTALLpc.txt, src/Make_cyg_ming.mak
31289
31290Patch 8.2.5102
31291Problem: Interrupt not caught in test.
31292Solution: Consider an exception thrown in the current try/catch when got_int
31293 is set. Also catch early exit when not using try/catch.
31294Files: src/indent.c, src/testing.c, src/testdir/test_retab.vim,
31295 src/testdir/runtest.vim
31296
31297Patch 8.2.5103
31298Problem: Build fails with small features.
31299Solution: Add #ifdef. Skip test on MS-Windows.
31300Files: src/indent.c, src/testdir/test_retab.vim
31301
31302Patch 8.2.5104 (after 8.2.5103)
31303Problem: Test hangs on MS-Windows.
31304Solution: Skip another test on MS-Windows.
31305Files: src/testdir/test_retab.vim
31306
31307Patch 8.2.5105 (after 8.2.5104)
31308Problem: Test still hangs on MS-Windows.
31309Solution: Skip "nocatch" test the right way.
31310Files: src/testdir/test_retab.vim
31311
31312Patch 8.2.5106
31313Problem: Default cmdwin mappings are re-mappable.
31314Solution: Make the default mappings not re-mappable. (closes #10580) Use
31315 symbols for the first do_map() argument.
31316Files: src/vim.h, src/ex_getln.c, src/map.c, src/proto/map.pro,
31317 src/digraph.c, src/netbeans.c
31318
31319Patch 8.2.5107
31320Problem: Some callers of rettv_list_alloc() check for not OK. (Christ van
31321 Willegen)
31322Solution: Use "==" instead of "!=" when checking the return value.
31323Files: src/evalbuffer.c, src/channel.c, src/cmdexpand.c, src/evalfunc.c,
31324 src/evalwindow.c, src/insexpand.c, src/job.c, src/list.c,
31325 src/map.c, src/menu.c, src/mouse.c, src/move.c, src/sign.c,
31326 src/textprop.c, src/term.c, src/time.c
31327
31328Patch 8.2.5108
31329Problem: Retab test disabled because it hangs on MS-Windows.
Bram Moolenaareb490412022-06-28 13:44:46 +010031330Solution: Also set got_int at the other place an overlong text is detected.
Bram Moolenaard799daa2022-06-20 11:17:32 +010031331Files: src/indent.c, src/testdir/test_retab.vim
31332
31333Patch 8.2.5109
31334Problem: Mode not updated after CTRL-O CTRL-C in Insert mode.
31335Solution: Set redraw_mode and use it. (closes #10581)
31336Files: src/main.c, src/normal.c, src/testdir/test_normal.vim,
31337 src/testdir/dumps/Test_mode_updated_1.dump
31338
31339Patch 8.2.5110
31340Problem: Icon filetype not recognized from the first line.
31341Solution: Add a check for the first line. (Doug Kearns)
31342Files: runtime/autoload/dist/script.vim, src/testdir/test_filetype.vim
31343
31344Patch 8.2.5111
31345Problem: No test for --gui-dialog-file.
31346Solution: Add a test.
31347Files: src/testdir/test_gui.vim
31348
31349Patch 8.2.5112 (after 8.2.5111)
31350Problem: Gui test hangs on MS-Windows.
31351Solution: Use "!start" to start Vim.
31352Files: src/testdir/test_gui.vim
31353
31354Patch 8.2.5113
31355Problem: Timer becomes invalid after fork/exec, :gui gives errors. (Gabriel
31356 Dupras)
31357Solution: Delete the timer befor forking. (closes #10584)
31358Files: src/os_unix.c, src/proto/os_unix.pro, src/gui.c
31359
31360Patch 8.2.5114
31361Problem: Time limit on searchpair() does not work properly.
31362Solution: Set the time limit once instead of for each regexp. (closes #10562)
31363Files: src/search.c, src/evalfunc.c, src/testdir/test_search.vim
31364
31365Patch 8.2.5115
31366Problem: Search timeout is overrun with some patterns.
31367Solution: Check for timeout in more places. Make the flag volatile and
31368 atomic. Use assert_inrange() to see what happened.
31369Files: src/regexp_nfa.c, src/regexp_bt.c, src/regexp.c, src/os_unix.c,
31370 src/proto/os_unix.pro, src/testdir/test_search.vim
31371
31372Patch 8.2.5116
31373Problem: "limit" option of matchfuzzy() not always respected.
31374Solution: Remove "else". (Kazuyuki Miyagi, closes #10586)
31375Files: runtime/doc/builtin.txt, src/search.c,
31376 src/testdir/test_matchfuzzy.vim
31377
31378Patch 8.2.5117
31379Problem: Crash when calling a Lua callback from a :def function. (Bohdan
31380 Makohin)
31381Solution: Handle FC_CFUNC in call_user_func_check(). (closes #10587)
31382Files: src/userfunc.c, src/testdir/test_lua.vim
31383
31384Patch 8.2.5118
31385Problem: MS-Windows: sending a message to another Vim may hang if that Vim
31386 is halted.
31387Solution: Add a timeout to serverSendToVim(). (Ken Takata, closes #10585)
31388Files: runtime/pack/dist/opt/editexisting/plugin/editexisting.vim,
31389 src/os_mswin.c
31390
31391Patch 8.2.5119
31392Problem: CI uses cache v2.
31393Solution: Use cache v3. (closes #10588)
31394Files: .github/workflows/ci.yml
31395
31396Patch 8.2.5120
31397Problem: Searching for quotes may go over the end of the line.
31398Solution: Check for running into the NUL.
31399Files: src/textobject.c
31400
31401Patch 8.2.5121
31402Problem: Interrupt test sometimes fails.
31403Solution: Use a different file name.
31404Files: src/testdir/test_interrupt.vim
31405
31406Patch 8.2.5122
31407Problem: Lisp indenting my run over the end of the line.
31408Solution: Check for NUL earlier.
31409Files: src/indent.c, src/testdir/test_indent.vim
31410
31411Patch 8.2.5123
31412Problem: Using invalid index when looking for spell suggestions.
31413Solution: Do not decrement the index when it is zero.
31414Files: src/spellsuggest.c, src/testdir/test_spell.vim
31415
31416Patch 8.2.5124
31417Problem: When syntax timeout test fails it does not show the time.
31418Solution: Use assert_inrange().
31419Files: src/testdir/test_syntax.vim
31420
31421Patch 8.2.5125
Bram Moolenaar8a3b8052022-06-26 12:21:15 +010031422Problem: MS-Windows: warnings from MinGW compiler.
Bram Moolenaard799daa2022-06-20 11:17:32 +010031423Solution: Use "volatile". (Yasuhiro Matsumoto, closes #10589) Initialize
31424 variable.
31425Files: src/os_win32.c, src/proto/os_win32.pro, src/map.c
31426
31427Patch 8.2.5126
31428Problem: Substitute may overrun destination buffer.
31429Solution: Disallow switching buffers in a substitute expression.
31430Files: src/ex_docmd.c, src/testdir/test_substitute.vim
31431
31432Patch 8.2.5127
31433Problem: Using assert_true() does not show value on failure.
31434Solution: Use assert_inrange(). (closes #10593)
31435Files: src/testdir/test_channel.vim, src/testdir/test_hlsearch.vim
31436
31437Patch 8.2.5128
31438Problem: Syntax highlighting disabled when using synID() in searchpair()
31439 skip expression and it times out. (Jaehwang Jung)
31440Solution: Add the redrawtime_limit_set flag. (closes #10562)
31441Files: src/globals.h, src/drawscreen.c, src/syntax.c
31442
31443Patch 8.2.5129
31444Problem: Timeout handling is not optimal.
31445Solution: Avoid setting timeout_flag twice. Adjust the pointer when
31446 stopping the regexp timeout. Adjust variable name.
31447Files: src/os_unix.c, src/os_win32.c, src/regexp.c
Bram Moolenaarc51cf032022-02-26 12:25:45 +000031448
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010031449Patch 8.2.5130
31450Problem: Edit test for mode message fails when using valgrind.
31451Solution: Use WaitForAssert(). Run beep test later.
31452Files: src/testdir/test_edit.vim
31453
31454Patch 8.2.5131
31455Problem: Timeout implementation is not optimal.
31456Solution: Further improvements for timeouts. Add a test for searchpair()
31457 timeout. (partly by Paul Ollis)
31458Files: src/configure.ac, src/auto/configure,
31459 src/testdir/test_hlsearch.vim, src/testdir/test_search.vim
31460
31461Patch 8.2.5132
31462Problem: :mkview test doesn't test much.
31463Solution: Save the view with the folds closed. (James McCoy, closes #10596)
31464Files: src/testdir/test_mksession.vim
31465
31466Patch 8.2.5133
31467Problem: MacOS: build fails.
31468Solution: Remove "#if 0" from timer_delete().
31469Files: src/os_macosx.m
31470
31471Patch 8.2.5134
31472Problem: Function has confusing name.
31473Solution: Rename tgetent_error() to invoke_tgetent().
31474Files: src/term.c
31475
31476Patch 8.2.5135
31477Problem: Running configure gives warnings for main() return type.
31478Solution: Specify "int" return type. Avoid a few more warnings.
31479Files: src/configure.ac, src/auto/configure
31480
31481Patch 8.2.5136
31482Problem: Debugger test fails when run with valgrind.
31483Solution: Wait longer when using valgrind.
31484Files: src/testdir/shared.vim, src/testdir/test_debugger.vim,
31485 src/testdir/test_search.vim
31486
31487Patch 8.2.5137
31488Problem: Cannot build without the +channel feature. (Dominique Pellé)
31489Solution: Add #ifdef around ch_log() calls. (closes #10598)
31490Files: src/os_unix.c, src/regexp_nfa.c, src/regexp_bt.c
31491
31492Patch 8.2.5138
31493Problem: Various small issues.
Bram Moolenaareb490412022-06-28 13:44:46 +010031494Solution: Various small improvements.
Bram Moolenaare1dc76f2022-06-25 18:01:32 +010031495Files: src/filepath.c, src/job.c, src/mark.c, src/move.c,
31496 src/popupwin.c, src/testdir/test_filetype.vim
31497
31498Patch 8.2.5139
31499Problem: TIME_WITH_SYS_TIME is no longer supported by autoconf.
31500Solution: Always include time.h.
31501Files: src/os_unix.h
31502
31503Patch 8.2.5140
31504Problem: Seachpair timeout test is flaky.
31505Solution: Mark the test as flaky so it is retried.
31506Files: src/testdir/test_search.vim
31507
31508Patch 8.2.5141
31509Problem: Using "volatile int" in a signal handler might be wrong.
31510Solution: Use "volatile sig_atomic_t".
31511Files: src/os_unix.c, src/proto/os_unix.pro, src/os_win32.c,
31512 src/proto/os_win32.pro, src/regexp.c,
31513
31514Patch 8.2.5142
31515Problem: Startup test fails if there is a status bar at the top of the
31516 screen. (Ernie Rael)
31517Solution: Use a larger vertical offset in the test.
31518Files: src/testdir/test_startup.vim
31519
31520Patch 8.2.5143
31521Problem: Some tests fail when using valgrind. Spurious leak reports.
31522Solution: Use WaitForAssert(). Avoid failing fork/exec. Skip tests where a
31523 job is killed when running valgrind.
31524Files: src/testdir/test_iminsert.vim, src/testdir/test_popup.vim,
31525 src/testdir/test_cscope.vim, src/testdir/test_channel.vim
31526
31527Patch 8.2.5144
31528Problem: With 'lazyredraw' set completion menu may be displayed wrong.
31529Solution: When the popup menu is visible do not insert a screen line.
31530 (closes #10601)
31531Files: src/screen.c
31532
31533Patch 8.2.5145
31534Problem: Exit test causes spurious valgrind reports.
31535Solution: Skip test. Add CheckNotValgrind.
31536Files: src/testdir/test_exit.vim, src/testdir/check.vim,
31537 src/testdir/test_channel.vim
31538
31539Patch 8.2.5146
31540Problem: Memory leak when substitute expression nests.
31541Solution: Use an array of expression results.
31542Files: src/alloc.c, src/regexp.c, src/proto/regexp.pro,
31543 src/errors.h, src/ex_cmds.c, src/testdir/test_substitute.vim
31544
31545Patch 8.2.5147
31546Problem: Flaky test always fails on retry.
31547Solution: Delete the created function.
31548Files: src/testdir/test_search.vim
31549
31550Patch 8.2.5148
31551Problem: Invalid memory access when using an expression on the command line.
31552Solution: Make sure the position does not go negative.
31553Files: src/ex_getln.c, src/testdir/test_cmdline.vim
31554
31555Patch 8.2.5149 (after 8.2.5148)
31556Problem: Cannot build without the +eval feature. (Tony Mechelynck)
31557Solution: Add #ifdefs.
31558Files: src/ex_getln.c
31559
31560Patch 8.2.5150
31561Problem: Read past the end of the first line with ":0;'{".
31562Solution: When on line zero check the column is valid for line one.
31563Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
31564
31565Patch 8.2.5151
31566Problem: Reading beyond the end of the line with lisp indenting.
31567Solution: Avoid going over the NUL at the end of the line.
31568Files: src/indent.c, src/testdir/test_lispwords.vim
31569
31570Patch 8.2.5152
31571Problem: search() gets stuck with "c" and skip evaluates to true.
31572Solution: Reset the SEARCH_START option. (closes #10608)
31573Files: src/evalfunc.c, src/testdir/test_syntax.vim
31574
31575Patch 8.2.5153
31576Problem: "make uninstall" does not remove colors/lists.
31577Solution: Add a line to the Makefile. (closes #10609)
31578Files: src/Makefile
31579
31580Patch 8.2.5154
31581Problem: Still mentioning version8, some cosmetic issues.
31582Solution: Prefer mentioning version9, cosmetic improvements.
31583Files: src/version.c, src/if_tcl.c, src/regexp.c,
31584 src/testdir/test_gui.vim, src/os_unix.c, Filelist, src/Makefile
31585
31586Patch 8.2.5155
31587Problem: In diff mode windows may get out of sync. (Gary Johnson)
31588Solution: Avoid that the other window scrolls for 'cursorbind'.
31589Files: src/move.c, src/testdir/test_diffmode.vim,
31590 src/testdir/dumps/Test_diff_scroll_1.dump,
31591 src/testdir/dumps/Test_diff_scroll_2.dump
31592
31593Patch 8.2.5156
31594Problem: Search timeout test often fails with FreeBSD.
31595Solution: Double the maximum time.
31596Files: src/testdir/test_search.vim
31597
31598Patch 8.2.5157
31599Problem: MS-Windows GUI: CTRL-key combinations do not always work.
31600Solution: Handle special key combinations better. (closes #10613,
31601 closes #10602, closes #10579)
31602Files: src/gui_w32.c
Bram Moolenaarc51cf032022-02-26 12:25:45 +000031603
Bram Moolenaar8a3b8052022-06-26 12:21:15 +010031604Patch 8.2.5158
31605Problem: TSTP and INT signal tests are not run with valgrind.
31606Solution: Sleep a bit longer. (closes #10614)
31607Files: src/testdir/test_signals.vim
31608
31609Patch 8.2.5159 (after 8.2.5157)
31610Problem: Fix for CTRL-key combinations causes more problems than it solves.
31611Solution: Roll back the change.
31612Files: src/gui_w32.c
31613
31614Patch 8.2.5160
31615Problem: Accessing invalid memory after changing terminal size.
31616Solution: Adjust cmdline_row and msg_row to the value of Rows.
31617Files: src/term.c
31618
Bram Moolenaar069a7d52022-06-27 22:16:08 +010031619Patch 8.2.5161
31620Problem: Might still access invalid memory.
31621Solution: Add extra check for negative value.
31622Files: src/message.c
31623
31624Patch 8.2.5162
31625Problem: Reading before the start of the line with BS in Replace mode.
31626Solution: Check the cursor column is more than zero.
31627Files: src/edit.c
31628
31629Patch 8.2.5163
31630Problem: Crash when deleting buffers in diff mode.
31631Solution: Recompute diffs later. Skip window without a valid buffer.
31632Files: src/diff.c, src/testdir/test_diffmode.vim
31633
31634Patch 8.2.5164
31635Problem: Invalid memory access after diff buffer manipulations.
31636Solution: Use zero offset when change removes all lines in a diff block.
31637Files: src/diff.c, src/testdir/test_diffmode.vim
31638
31639Patch 8.2.5165
31640Problem: Import test fails because 'diffexpr' isn't reset.
31641Solution: Reset 'diffexpr'.
31642Files: src/testdir/test_vim9_import.vim
31643
31644Patch 8.2.5166
31645Problem: Test for DiffUpdated fails.
31646Solution: Also accept a count of two.
31647Files: src/testdir/test_diffmode.vim
31648
31649Patch 8.2.5167
31650Problem: get(Fn, 'name') on funcref returns special byte code.
31651Solution: Use the printable name.
31652Files: src/evalfunc.c, src/testdir/test_getvar.vim
31653
31654Patch 8.2.5168
31655Problem: Cannot build with Python 3.11.
31656Solution: Adjust define for _PyObject_TypeCheck. (Zdenek Dohnal,
31657 closes #10627)
31658Files: src/if_python3.c
31659
31660Patch 8.2.5169
31661Problem: Nested :source may use NULL pointer.
31662Solution: Do not use the NULL pointer.
31663Files: src/eval.c, src/testdir/test_vimscript.vim
31664
Bram Moolenaareb490412022-06-28 13:44:46 +010031665Patch 8.2.5170
31666Problem: Tiny issues.
31667Solution: Tiny improvements.
31668Files: src/misc1.c, src/screen.c, src/vim.h
31669
31670Patch 8.2.5171
31671Problem: Dependencies and proto files are outdated.
31672Solution: Update dependencies and proto files. Avoid errors.
31673Files: src/Makefile, src/gui_w32.c, src/os_mswin.c, src/proto/buffer.pro,
31674 src/proto/cmdexpand.pro, src/proto/getchar.pro,
31675 src/proto/help.pro, src/proto/mbyte.pro, src/proto/option.pro,
31676 src/proto/screen.pro, src/proto/syntax.pro,
31677 src/proto/textformat.pro, src/proto/textobject.pro,
31678 src/proto/time.pro, src/proto/gui_x11.pro, src/proto/if_tcl.pro,
31679 src/proto/os_mswin.pro
31680
31681Patch 8.2.5172
31682Problem: "make menu" still uses legacy script.
31683Solution: make menu generation script use Vim9 script, fix errors.
31684Files: runtime/makemenu.vim
31685
Bram Moolenaarc51cf032022-02-26 12:25:45 +000031686
Yegappan Lakshmanan7c948642023-09-24 14:07:03 -070031687==============================================================================
31688VERSION 9.1 *version-9.1* *version9.1* *vim-9.1*
31689
31690This section is about improvements made between version 9.0 and 9.1.
K.Takata7b7672d2024-01-06 01:47:01 +090031691The release 9.1 is dedicated to Vim's Benevolent dictator for life
Christian Brabandt0ede5e32024-01-01 18:56:52 +010031692|Bram-Moolenaar|.
Yegappan Lakshmanan7c948642023-09-24 14:07:03 -070031693
31694This release has hundreds of bug fixes, there are a few new features and there
31695are many minor improvements.
31696
h-east84ac2122024-06-17 18:12:30 +020031697Vim9 classes ~
Yegappan Lakshmanan7c948642023-09-24 14:07:03 -070031698------------
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010031699Support for classes and objects in a Vim9 script are added. This is described
31700in |vim9-class|. The following features are supported:
Yegappan Lakshmanan59df9ad2023-12-21 17:09:15 +010031701 - Defining classes and instantiating objects
31702 - Multiple constructors
31703 - Class variables and methods
31704 - Object variables and methods
31705 - Public and protected access for variables and methods
31706 - Constant and final object/class variables
31707 - Extending classes (single inheritance)
31708 - Interfaces
31709 - Abstract classes
31710 - Exporting classes
31711
31712Support for creating a type alias for an existing type is added.
Yegappan Lakshmanan7c948642023-09-24 14:07:03 -070031713
glepnira218cc62024-06-03 19:32:39 +020031714Virtual text ~
Yegappan Lakshmanan7c948642023-09-24 14:07:03 -070031715------------
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010031716Support for adding |virtual-text| to a buffer is added. This is useful for
31717language server features (e.g. inlay hints)
Yegappan Lakshmanan7c948642023-09-24 14:07:03 -070031718
glepnira218cc62024-06-03 19:32:39 +020031719Smooth Scroll ~
Yegappan Lakshmanan7c948642023-09-24 14:07:03 -070031720-------------
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010031721Support for scrolling text using screen lines instead of file lines is added.
31722Refer to the 'smoothscroll' option.
31723
Yegappan Lakshmanan74512e02023-12-30 01:40:25 -080031724The EditorConfig (|editorconfig-install|) and the JSON formatting
31725(|ft-json-plugin|) plugins are included.
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010031726
Christian Brabandt0ede5e32024-01-01 18:56:52 +010031727OpenVMS x86_64 platform port: http://www.polarhome.com/vim/
Yegappan Lakshmanan7c948642023-09-24 14:07:03 -070031728
glepnira218cc62024-06-03 19:32:39 +020031729 *new-other-9.1*
31730Other improvements ~
Yegappan Lakshmanan7c948642023-09-24 14:07:03 -070031731------------------
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010031732- Support for undercurl (|t_Ce|), double underline (|t_Us|), dotted underline
Yegappan Lakshmanan74512e02023-12-30 01:40:25 -080031733 (|t_ds|) and dashed underline (|t_Ds|) termcap entries and
31734 highlight modes (|highlight-term|).
Christian Brabandt0ede5e32024-01-01 18:56:52 +010031735- The 'fillchars' option is now a global-local option and allows to
31736 specify the character used for the last window line.
Christian Brabandt6c1afa32024-01-01 20:50:51 +010031737- The |:vertical| and |:horizontal| modifiers can be used with ":wincmd ="
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010031738 command to equalize windows vertically or horizontally.
31739- |:defer| command to defer the execution of a function till the end of a
31740 function.
31741- Support for closing a tab page using the middle mouse button.
31742- Sound support in MacOS.
31743- The |prop_remove()| function can now remove multiple text properties.
31744- The |items()| function now supports a List or a String argument.
Christian Brabandt0ede5e32024-01-01 18:56:52 +010031745- The |repeat()| function now supports blob repeat.
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010031746- Command line completion support for |:runtime| command.
Christian Brabandt0ede5e32024-01-01 18:56:52 +010031747- Support for custom completion using |getcompletion()|.
31748- Command-line completion support for option values.
31749- Support for multiple "%=" items in 'statusline'.
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010031750- Support for the PmenuKind, PmenuKindSel, PmenuExtra and PmenuExtraSel
31751 highlight groups.
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010031752- Text properties can override 'cursorline' highlight.
31753- Support for echoing messages in a popup window |:echowindow|.
Yegappan Lakshmanan74512e02023-12-30 01:40:25 -080031754- Control scroll behavior when splitting windows 'splitkeep'.
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010031755- Support for mouse scrolling in the MS-Windows console.
31756- Support for using different keyboard protocols 'keyprotocol'
Christian Brabandt0ede5e32024-01-01 18:56:52 +010031757 (xterm |modifyOtherKeys| and Kitty terminal protocol (CSI u) support).
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010031758- Support for UTF-16 string index.
31759- Quickfix list items can have associated custom user data.
Christian Brabandt0ede5e32024-01-01 18:56:52 +010031760- |reverse()| supports reversing a string.
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010031761- 'switchbuf' is used by more commands.
31762- |undotree()| can be used with any buffer.
Christian Brabandt0ede5e32024-01-01 18:56:52 +010031763- |printf()| supports positional arguments.
31764- |col()|, |charcol()| and |virtcol()| can be used with different windows.
31765- Support for Python3 stable ABI (|python-stable|).
31766- Use |jumplist| like a stack 'jumpoptions'.
31767- Support for writing extended attributes in Linux (|xattr|).
Christian Brabandt6c1afa32024-01-01 20:50:51 +010031768- 'errorformat' supports parsing a buffer number ("%b").
Yegappan Lakshmanan74512e02023-12-30 01:40:25 -080031769- Support for building the python interface using Python 3.12.
Christian Brabandt0ede5e32024-01-01 18:56:52 +010031770- |matchaddpos()| is no longer limited to 8 positions.
31771- |readblob()| allows to read part of a file.
31772- 'shortmess' allows to suppress "scanning" messages.
31773- Add the XChaCha20v2 encryption method 'cryptmethod'.
31774- Add support for testing syntax files.
31775- Support "**" for filename expansion with bash using globstar setting.
31776- Add quadruple prime digraph using 4'.
31777- Better high dpi support on Windows.
K.Takata7b7672d2024-01-06 01:47:01 +090031778- Various fixes for unsafe memory access, memory leaks, buffer overflows
Christian Brabandt0ede5e32024-01-01 18:56:52 +010031779 and potential crashes.
Yegappan Lakshmanan74512e02023-12-30 01:40:25 -080031780- Termdebug: Support for the variables window (|termdebug_variables_window|),
31781 moving up/down the stack frames (|termdebug-frames|) and setting temporary
Christian Brabandt0ede5e32024-01-01 18:56:52 +010031782 breakpoints (|:Tbreak|).
31783- xxd: support for using colors in the hex dump output (xxd -R).
31784- xxd: reversing a bit dump (xxd -r).
31785- xxd: customize the variable name used in the C include output (xxd -n).
Yegappan Lakshmanan7c948642023-09-24 14:07:03 -070031786
glepnira218cc62024-06-03 19:32:39 +020031787 *changed-9.1*
31788Changed ~
Yegappan Lakshmanan7c948642023-09-24 14:07:03 -070031789-------
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010031790- The features |++builtin_terms|, |+cmdline_info|, |+cmdwin|, |+file_in_path|,
31791 |+float|, |+path_extra|, |+textobjects|, |+wildignore| and |+wildmenu| are
31792 available in all the builds.
Christian Brabandt18defab2024-11-10 20:10:42 +010031793- Support for Windows-XP is dropped (starting with v9.0.0496)
Christian Brabandt0ede5e32024-01-01 18:56:52 +010031794- Support for VisVim is removed.
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010031795- The "small" and "big" builds are dropped in favor of "tiny" and "huge"
31796 builds.
Christian Brabandt0ede5e32024-01-01 18:56:52 +010031797- Mention the detected 'keyprotocol' on ":verbose map" when listing mappings.
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010031798- The optional Content-Type header is removed from the LSP messages.
31799- |charidx()| returns the character length when the index is one more than the
31800 last byte index.
31801- Ctrl-Q works like Ctrl-V in replace mode.
31802- |popup_filter_menu()| now wraps around.
Christian Brabandt0ede5e32024-01-01 18:56:52 +010031803- |popup_create()| now aborts on an error.
31804- |g<End>| now jumps to the last non-blank character.
31805- dot and hyphen are supported in highlight group names.
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010031806- |executable()| resolves symlinks on MS-Windows.
Yegappan Lakshmanan74512e02023-12-30 01:40:25 -080031807- Ruby 1.8 support is dropped.
Christian Brabandt0ede5e32024-01-01 18:56:52 +010031808- 'ttyfast' is always set.
31809- |virtcol2col()| returns the first byte for a multi-byte character.
31810- |i_CTRL-O| resets Select Mode.
31811- |mode()| returns more submodes.
31812- r with CTRL-C on a visual area replaces using CTRL-C consistently.
31813- The matchparen plugin no longer uses hard coded match id 3.
31814- The Statusline no longer uses hard coded values "^" and "=" if the
31815 highlighting groups for the statusline have been cleared.
31816- 'maxfuncdepth' setting is also used for the maximum callback depth.
31817- Migrate to autoconf 2.71.
31818- Start using C99 feature (declare variable in for loops).
Yegappan Lakshmanan7c948642023-09-24 14:07:03 -070031819
glepnira218cc62024-06-03 19:32:39 +020031820 *added-9.1*
31821Added ~
Yegappan Lakshmanan7c948642023-09-24 14:07:03 -070031822-----
31823
31824Various syntax, indent and other plugins were added.
31825
31826Functions: ~
31827
31828|err_teapot()| produce error 418 or 503
Christian Brabandt0ede5e32024-01-01 18:56:52 +010031829|getbufoneline()| get a single line from the specified buffer
Yegappan Lakshmanan7c948642023-09-24 14:07:03 -070031830|getcellwidths()| get character cell width overrides
31831|getmouseshape()| get name of the current mouse shape
31832|getscriptinfo()| get list of sourced vim scripts
31833|indexof()| index in a List or Blob of a true expression
31834|instanceof()| check if a variable is an instance of a given class
31835|keytrans()| translate internal key codes to be usable with |:map|
31836|popup_findecho()| get window ID for popup used for |:echowindow|
31837|setcmdline()| set the current command line
31838|strutf16len()| number of UTF-16 code units in a string
31839|swapfilelist()| list of existing swap files in 'directory'
31840|test_mswin_event()| generate an MS-Windows event for testing
31841|utf16idx()| UTF-16 index of a byte in a string
31842
31843
31844Autocommands: ~
31845
31846|TextChangedT| after a change was made to the text in Terminal mode
31847|WinResized| after a window in the current tab page is resized
31848
31849
31850Commands: ~
31851
h-east0c3e57b2025-01-02 11:00:49 +010031852|:abstract| declare a Vim9 abstract class
31853|:class| start of a class declaration
Yegappan Lakshmanan7c948642023-09-24 14:07:03 -070031854|:defer| call function when current function is done
31855|:echowindow| same as :echomsg, but use a popup window
h-east0c3e57b2025-01-02 11:00:49 +010031856|:endinterface| end of an interface declaration
31857|:endclass| end of a class declaration
Christian Brabandt0ede5e32024-01-01 18:56:52 +010031858|:horizontal| following window command works horizontally
h-east0c3e57b2025-01-02 11:00:49 +010031859|:interface| start of an interface declaration
Yegappan Lakshmanan7c948642023-09-24 14:07:03 -070031860|:public| prefix for a class or object member
31861|:static| prefix for a class member or function
31862|:this| prefix for an object member
Yegappan Lakshmanan59df9ad2023-12-21 17:09:15 +010031863|:type| create a type alias
Yegappan Lakshmanan7c948642023-09-24 14:07:03 -070031864
31865
31866Options: ~
31867
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010031868'endoffile' write CTRL-Z at end of the file
Yegappan Lakshmanan7c948642023-09-24 14:07:03 -070031869'jumpoptions' specifies how jumping is done
31870'keyprotocol' what keyboard protocol to use for what terminal
31871'lispoptions' changes how Lisp indenting is done
31872'showcmdloc' where to show (partial) command
31873'smoothscroll' scroll by screen lines when 'wrap' is set
31874'splitkeep' determines scroll behavior for split windows
31875
Christian Brabandt5872bcb2023-12-19 20:10:43 +010031876==============================================================================
31877PATCHES *patches-9.1* *bug-fixes-9.1*
31878 *patches-after-9.0*
Yegappan Lakshmanan7c948642023-09-24 14:07:03 -070031879
Christian Brabandt5872bcb2023-12-19 20:10:43 +010031880The list of patches that got included since 9.0.0. This includes all the new
31881features, but does not include runtime file changes (syntax, indent, ftplugin,
31882documentation, etc.)
Yegappan Lakshmanan7c948642023-09-24 14:07:03 -070031883
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010031884Note: authorship and the list of changed files is left out and only visible
31885through `git log` for each commit.
31886
Christian Brabandt5872bcb2023-12-19 20:10:43 +010031887Patch 9.0.0001
31888Problem: Travis CI is no longer used.
31889Solution: Delete the Travis CI configuration. (Hugo Osvaldo Barrera,
31890 closes #10636)
31891
31892Patch 9.0.0002
31893Problem: Map functionality outside of map.c.
31894Solution: Move f_hasmapto() to map.c. Rename a function. (closes #10611)
31895
31896Patch 9.0.0003
31897Problem: Functions are global while they could be local.
31898Solution: Add "static". Add a few tests. (Yegappan Lakshmanan,
31899 closes #10612)
31900
31901Patch 9.0.0004
31902Problem: Plural messages not translated properly.
31903Solution: Use ngettext() in a few more places. (Matvey Tarasov,
31904 closes #10606)
31905
31906Patch 9.0.0005
31907Problem: Hare files are not recognized.
31908Solution: Add a filetype pattern. (Hugo Osvaldo Barrera, closes #10630)
31909
31910Patch 9.0.0006
31911Problem: Not all Visual Basic files are recognized.
31912Solution: Change detection of *.cls files. (Doug Kearns)
31913
31914Patch 9.0.0007
31915Problem: No support for double, dotted and dashed underlines.
31916Solution: Add the termcap entries and highlight modes. (closes #9553)
31917
31918Patch 9.0.0008
31919Problem: Cannot specify the variable name for "xxd -i".
31920Solution: Add the "-name" argument. (David Gow, closes #10599)
31921
31922Patch 9.0.0009
31923Problem: Going past the end of a menu item with only modifier.
31924Solution: Check for NUL.
31925
31926Patch 9.0.0010
31927Problem: Returning 0 for has('patch-9.0.0') is inconsistent.
31928Solution: Make it return 1. (closes #10640)
31929
31930Patch 9.0.0011
31931Problem: Reading beyond the end of the line with put command.
31932Solution: Adjust the end mark position.
31933
31934Patch 9.0.0012
31935Problem: Signature files not detected properly.
31936Solution: Add a function to better detect signature files. (Doug Kearns)
31937
31938Patch 9.0.0013
31939Problem: Reproducing memory access errors can be difficult.
31940Solution: When testing, copy each line to allocated memory, so that valgrind
31941 can detect accessing memory before and/or after it. Fix uncovered
31942 problems.
31943
31944Patch 9.0.0014
31945Problem: Missing part of the test override change.
31946Solution: Add the missing part.
31947
31948Patch 9.0.0015
31949Problem: With EXITFREE defined terminal menus are not cleared.
31950Solution: Also clear terminal menus. Remove condition that is always true.
31951 (closes #10641)
31952
31953Patch 9.0.0016
31954Problem: Comparing line pointer for 'breakindent' is not reliable.
31955Solution: Make a copy of the line.
31956
31957Patch 9.0.0017
31958Problem: Accessing memory beyond the end of the line.
31959Solution: Stop Visual mode when closing a window.
31960
31961Patch 9.0.0018
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010031962Problem: Going over the end of the typeahead.
Christian Brabandt5872bcb2023-12-19 20:10:43 +010031963Solution: Put a NUL after the typeahead.
31964
31965Patch 9.0.0019
31966Problem: Timers test not run where possible.
31967Solution: Adjust platform checks. (closes #10645)
31968
31969Patch 9.0.0020
31970Problem: With some completion reading past end of string.
31971Solution: Check the length of the string.
31972
31973Patch 9.0.0021
31974Problem: Invalid memory access when adding word with a control character to
31975 the internal spell word list.
31976Solution: Disallow adding a word with control characters or a trailing
31977 slash.
31978
31979Patch 9.0.0022
31980Problem: Spell test fails.
31981Solution: Expect new error is given.
31982
31983Patch 9.0.0023
31984Problem: On Solaris timer_create() exists but does not work.
31985Solution: Adjust the configure check to run the test program.
31986 (closes #10647)
31987
31988Patch 9.0.0024
31989Problem: May access part of typeahead buf that isn't filled.
31990Solution: Check length of typeahead.
31991
31992Patch 9.0.0025
31993Problem: Accessing beyond allocated memory when using the cmdline window in
31994 Ex mode.
31995Solution: Use "*" instead of "'<,'>" for Visual mode.
31996
31997Patch 9.0.0026
31998Problem: Accessing freed memory with diff put.
31999Solution: Bail out when diff pointer is no longer valid.
32000
32001Patch 9.0.0027
32002Problem: The command line test is getting quite big.
32003Solution: Move command line window tests to a separate file.
32004
32005Patch 9.0.0028
32006Problem: MS-Windows: tests fail if there is a stray "runtime" directory.
32007Solution: Only use a "runtime" directory if it contains "defaults.vim".
32008
32009Patch 9.0.0029
32010Problem: The bitmaps/vim.ico file is not in the distribution.
32011Solution: Add it back to the distribution. Adjust the build rules to have
32012 it end up in the right place.
32013
32014Patch 9.0.0030
32015Problem: Matchfuzzy test depends on path of current directory.
32016Solution: Use fnamemodify() to remove the path. (Robin Becker,
32017 closes #10650)
32018
32019Patch 9.0.0031
32020Problem: <cmod> of user command does not have correct verbose value.
32021Solution: Use the value from the command modifier. (closes #10651)
32022
32023Patch 9.0.0032
32024Problem: In the quickfix window 'cursorline' overrules QuickFixLine
32025 highlighting.
32026Solution: Combine the attributes. Add a test. (closes #10654)
32027
32028Patch 9.0.0033
32029Problem: On a Belgian keyboard CTRL-[ does not work.
32030Solution: Handle GDK_KEY_dead_circumflex. (Anton Sharonov, closes #10658)
32031
32032Patch 9.0.0034
32033Problem: Spell tests do not always clear the word list.
32034Solution: Clear the word list in TearDown(). (closes #10659)
32035
32036Patch 9.0.0035
32037Problem: Spell dump may go beyond end of an array.
32038Solution: Limit the word length.
32039
32040Patch 9.0.0036
32041Problem: 'fillchars' cannot have window-local values.
32042Solution: Make 'fillchars' global-local. (closes #5206)
32043
32044Patch 9.0.0037
32045Problem: Build error.
32046Solution: Add missing change.
32047
32048Patch 9.0.0038
32049Problem: 'listchars' test fails.
32050Solution: Use window-local value after setting the global value
32051
32052Patch 9.0.0039
32053Problem: Not all systems have GDK_KEY_dead_circumflex. (Hisashi T Fujinaka)
32054Solution: Add an #ifdef.
32055
32056Patch 9.0.0040
32057Problem: Use of set_chars_option() is confusing.
32058Solution: Add "apply" argument to store the result or not. Merge similar
32059 code.
32060
32061Patch 9.0.0041
32062Problem: A couple of filetype patterns do not have "*" before "/etc".
32063Solution: Add the star. (Jonas Strittmatter, closes #10662)
32064
32065Patch 9.0.0042
32066Problem: Missing change for filetype detection.
32067Solution: Include change to detect guile from shebang line.
32068
32069Patch 9.0.0043
32070Problem: Insufficient testing for bracket commands.
32071Solution: Add a few more tests. (closes #10668)
32072
32073Patch 9.0.0044
32074Problem: Typos in comments, wrapping lines.
32075Solution: Adjust comments. Wrap lines.
32076
32077Patch 9.0.0045
32078Problem: Reading past end of completion with a long line and 'infercase'
32079 set.
32080Solution: Allocate the string if needed.
32081
32082Patch 9.0.0046
32083Problem: Reading past end of completion with duplicate match.
32084Solution: Check string length
32085
32086Patch 9.0.0047
32087Problem: Using freed memory with recursive substitute.
32088Solution: Always make a copy for reg_prev_sub.
32089
32090Patch 9.0.0048
32091Problem: Cursor in wrong column with mouse click after concealed text.
32092Solution: Store the text column when drawing text.
32093
32094Patch 9.0.0049
32095Problem: Csv and tsv files are not recognized.
h-east53753f62024-05-05 18:42:31 +020032096Solution: Add patterns for csv and tsv files. (Leandro Lourenci,
Christian Brabandt5872bcb2023-12-19 20:10:43 +010032097 closes #10680)
32098
32099Patch 9.0.0050
32100Problem: Split else-of is confusing.
32101Solution: Join the lines. (closes #10696)
32102
32103Patch 9.0.0051
K.Takata7b7672d2024-01-06 01:47:01 +090032104Problem: Using CTRL-C with :append may hang Vim.
Christian Brabandt5872bcb2023-12-19 20:10:43 +010032105Solution: Reset got_int. (closes #10729, closes #10728)
32106
32107Patch 9.0.0052
32108Problem: "zG" may throw an error if invalid character follows.
32109Solution: Pass the word length to valid_spell_word(). (Ken Takata,
32110 closes #10737)
32111
32112Patch 9.0.0053
32113Problem: E1281 not tested with the old regexp engine.
32114Solution: Loop over the values of 'regexp'. (Dominique Pellé, closes #10695)
32115
32116Patch 9.0.0054
32117Problem: Compiler warning for size_t to int conversion.
32118Solution: Add type cast. (Mike Williams, closes #10741)
32119
32120Patch 9.0.0055
32121Problem: Bitbake files are not detected.
32122Solution: Add bitbake filetype detection by file name and contents. (Gregory
32123 Anders, closes #10697)
32124
32125Patch 9.0.0056
32126Problem: Wrong line number reported when :cexpr fails in :def function.
32127Solution: Set line_number before executing :cexpr. (closes #10735)
32128
32129Patch 9.0.0057
32130Problem: has('patch-xxx') returns true.
32131Solution: Check for digit. (closes #10751)
32132
32133Patch 9.0.0058
32134Problem: Win32: cannot test low level events.
32135Solution: Add "sendevent" to test_gui_event(). (Yegappan Lakshmanan,
32136 closes #10679)
32137
32138Patch 9.0.0059
32139Problem: Test file has wrong name.
32140Solution: Rename the file. Various small fixes. (closes #10674)
32141
32142Patch 9.0.0060
32143Problem: Accessing uninitialized memory when completing long line.
32144Solution: Terminate string with NUL.
32145
32146Patch 9.0.0061
32147Problem: ml_get error with nested autocommand.
32148Solution: Also check line numbers for a nested autocommand. (closes #10761)
32149
32150Patch 9.0.0062
32151Problem: Compiler warnings for signed/unsigned char.
32152Solution: Add type casts. (John Marriott)
32153
32154Patch 9.0.0063
32155Problem: Too many type casts for dict_get functions.
32156Solution: Change the key argument from "char_u *" to "char *".
32157
32158Patch 9.0.0064
32159Problem: Confusing error when using "q:" in command line window.
32160Solution: Check for the situation and give a better error message.
32161 (closes #10756)
32162
32163Patch 9.0.0065
32164Problem: Cross-compiling doesn't work because of timer_create check.
32165Solution: Use AC_CACHE_CHECK(). (Richard Purdie, closes #10777)
32166
32167Patch 9.0.0066
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010032168Problem: Switching window unnecessarily when getting buffer options.
Christian Brabandt5872bcb2023-12-19 20:10:43 +010032169Solution: Do not switch window when getting buffer options. (closes #10767)
32170
32171Patch 9.0.0067
32172Problem: Cannot show virtual text.
32173Solution: Initial changes for virtual text support, using text properties.
32174
32175Patch 9.0.0068
32176Problem: Build fails with tiny features.
32177Solution: Add #ifdef.
32178
32179Patch 9.0.0069
32180Problem: Leaking memory when using text prop with inserted text.
32181Solution: Clear the growarray with text.
32182
32183Patch 9.0.0070
32184Problem: Using utfc_ptr2char_len() when length is negative.
32185Solution: Check value of length. (closes #10760)
32186
32187Patch 9.0.0071
32188Problem: Command overlaps with printed text in scrollback.
32189Solution: Clear until end-of-line and use correct message chunk.
32190 (closes #10765, closes #10764)
32191
32192Patch 9.0.0072
32193Problem: Compiler warning for uninitialized variable.
32194Solution: Initialize it. (John Marriott)
32195
32196Patch 9.0.0073
32197Problem: Too many files recognized as bsdl.
32198Solution: Use pattern "*.bsd" instead of "*bsd". (Martin Tournoij,
32199 closes #10783)
32200
32201Patch 9.0.0074
32202Problem: Coverity warns for double free.
32203Solution: Reset cts_text_prop_count when freeing cts_text_props.
32204
32205Patch 9.0.0075
32206Problem: Some compilers warn for using an uninitialized variable. (Tony
32207 Mechelynck)
32208Solution: Initialize the variable.
32209
32210Patch 9.0.0076
32211Problem: No test for what patch 8.1.1424 fixes.
32212Solution: Add a test. (closes #10789)
32213
32214Patch 9.0.0077
32215Problem: When switching window in autocmd the restored cursor position may
32216 be wrong.
32217Solution: Do not restore the cursor if it was not set. (closes #10775)
32218
32219Patch 9.0.0078
32220Problem: Star register is changed when deleting and both "unnamed" and
32221 "unnamedplus" are in 'clipboard'.
32222Solution: Make the use of the star register work as documented. (Ernie Rael,
32223 closes #10669)
32224
32225Patch 9.0.0079
32226Problem: Error in autoload script not reported for 'foldexpr'.
32227Solution: Reset "emsg_off" when auto-loading a script. (closes #10685)
32228
32229Patch 9.0.0080
32230Problem: Compiler warning for size_t to int conversion.
32231Solution: Add type casts. (Mike Williams, closes #10795)
32232
32233Patch 9.0.0081
32234Problem: Command line completion of user command may have duplicates.
32235 (Dani Dickstein)
32236Solution: Skip global user command if an identical buffer-local one is
32237 defined. (closes #10797)
32238
32239Patch 9.0.0082
32240Problem: Cannot interrupt global command from command line.
32241Solution: Reset got_int in another place. (closes #10739)
32242
32243Patch 9.0.0083
32244Problem: ModeChanged event not triggered when leaving the cmdline window.
32245Solution: Call may_trigger_modechanged(). (closes #10791)
32246
32247Patch 9.0.0084
32248Problem: Using "terraform" filetype for .tfvars file is bad.
32249Solution: use "terraform-vars", so that different completion and other
32250 mechanisms can be used. (Radek Simko, closes #10755)
32251
32252Patch 9.0.0085
32253Problem: ":write" fails after ":file name" and the ":edit".
32254Solution: Reset BF_NOTEDITED when using ":edit". (closes #10790)
32255
32256Patch 9.0.0086
32257Problem: Tabline is not redrawn when entering command line.
32258Solution: Set "redraw_tabline". (closes #10771)
32259
32260Patch 9.0.0087
32261Problem: MS-Windows: CTRL-[ on Belgian keyboard does not work like Esc.
32262Solution: Figure out what the key code means. (Anton Sharonov,
32263 closes #10687, closes #10454)
32264
32265Patch 9.0.0088
32266Problem: Pattern for detecting bitbake files is not sufficient.
32267Solution: Adjust the pattern. (Gregory Anders, closes #10743)
32268
32269Patch 9.0.0089
32270Problem: Fuzzy argument completion doesn't work for shell commands.
32271Solution: Check for cmdidx not being CMD_bang. (Yegappan Lakshmanan,
32272 closes #10769)
32273
32274Patch 9.0.0090
32275Problem: No error when assigning bool to a string option with setwinvar().
32276Solution: Give an error (closes #10766)
32277
32278Patch 9.0.0091
32279Problem: Duplicate error number.
32280Solution: Use unique error number.
32281
32282Patch 9.0.0092
32283Problem: Plugins cannot change v:completed_item.
32284Solution: Make v:completed_item writeable. (Shougo Matsushita,
32285 closes #10801)
32286
32287Patch 9.0.0093
32288Problem: Sway config files are recognized as i3config.
32289Solution: Recognize swayconfig separately. (James Eapen, closes #10672)
32290
32291Patch 9.0.0094
32292Problem: Cursor restored unexpected with nested autocommand.
32293Solution: Do not restore the cursor when it was moved intentionally.
32294 (closes #10780)
32295
32296Patch 9.0.0095
32297Problem: Conditions are always true.
32298Solution: Remove useless conditions. (closes #10802)
32299
32300Patch 9.0.0096
32301Problem: Flag "new_value_alloced" is always true.
32302Solution: Remove "new_value_alloced". (closes #10792)
32303
32304Patch 9.0.0097
32305Problem: Long quickfix line is truncated for :clist.
32306Solution: Allocate a buffer if needed.
32307
32308Patch 9.0.0098
32309Problem: missing include file in timer_create configure check.
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010032310Solution: Include stdlib.h.
Christian Brabandt5872bcb2023-12-19 20:10:43 +010032311
32312Patch 9.0.0099
32313Problem: Scrollback can be wrong after redrawing the command line.
32314Solution: Clear unfinished scrollback when redrawing. (closes #10807)
32315
32316Patch 9.0.0100
32317Problem: Get hit-enter prompt for system() when '!' is in 'guioptions'.
32318Solution: Do not call wait_return() when not redrawing. (closes #3327)
32319
32320Patch 9.0.0101
32321Problem: Invalid memory access in diff mode with "dp" and undo.
32322Solution: Make sure the line number does not go below one.
32323
32324Patch 9.0.0102
32325Problem: Reading past end of line with insert mode completion.
32326Solution: Check text length.
32327
32328Patch 9.0.0103
32329Problem: If running configure with cached results -lrt may be missing.
32330Solution: Use two cache variables, one without and one with -lrt.
32331 (closes #10799) Swap checks to avoid adding -lrt unnecessarily.
32332
32333Patch 9.0.0104
32334Problem: Going beyond allocated memory when evaluating string constant.
32335Solution: Properly skip over <Key> form.
32336
32337Patch 9.0.0105
32338Problem: Illegal memory access when pattern starts with illegal byte.
32339Solution: Do not match a character with an illegal byte.
32340
32341Patch 9.0.0106
32342Problem: Illegal byte regexp test doesn't fail when fix is reversed.
32343Solution: Make sure illegal bytes end up in sourced script file.
32344
32345Patch 9.0.0107
32346Problem: Condition always has the same value.
32347Solution: Remove the condition.
32348
32349Patch 9.0.0108
32350Problem: Configure check for timer_create may give wrong error.
32351Solution: Give a warning instead of an error.
32352
32353Patch 9.0.0109
32354Problem: Writing over the end of a buffer on stack when making list of
32355 spell suggestions.
32356Solution: Make sure suggested word is not too long. (closes #10812)
32357
32358Patch 9.0.0110
32359Problem: Help tag generation picks up words in code examples.
32360Solution: Skip over examples. (Carlo Teubner, closes #10813)
32361
32362Patch 9.0.0111
32363Problem: "nocombine" is missing from synIDattr().
32364Solution: Add "nocombine". (Muni Tanjim, closes #10816)
32365
32366Patch 9.0.0112
32367Problem: MS-Windows: test fails because file already exists.
32368Solution: Wait a little while until the file is gone.
32369
32370Patch 9.0.0113
32371Problem: has() is not strict about parsing the patch version.
32372Solution: Check the version more strictly. (Ken Takata, closes #10752)
32373
32374Patch 9.0.0114
32375Problem: The command line takes up space even when not used.
32376Solution: Allow for 'cmdheight' to be set to zero. (Shougo Matsushita,
32377 closes #10675, closes #940)
32378
32379Patch 9.0.0115
32380Problem: When 'cmdheight' is zero pressing ':' may scroll a window.
32381Solution: Add the made_cmdheight_nonzero flag and set 'scrolloff' to zero.
32382
32383Patch 9.0.0116
32384Problem: Virtual text not displayed if 'signcolumn' is "yes".
32385Solution: Set c_extra and c_final to NUL.
32386
32387Patch 9.0.0117
32388Problem: Text of removed textprop with text is not freed.
32389Solution: Free the text when the property is removed. Reduce the array size
32390 to ignore NULLs at the end.
32391
32392Patch 9.0.0118
32393Problem: No test for what patch 9.0.0155 fixes.
32394Solution: Add a test. Fix typos. (closes #10822)
32395
32396Patch 9.0.0119
32397Problem: Tiny chance that creating a backup file fails.
32398Solution: Check for EEXIST error. (Ken Takata, closes #10821)
32399
32400Patch 9.0.0120
32401Problem: MS-Windows GUI: cannot use AltGr + Space.
32402Solution: Check for VK_MENU instead of VK_LMENU. (Anton Sharonov,
32403 closes #10820, closes #10753)
32404
32405Patch 9.0.0121
32406Problem: Cannot put virtual text after or below a line.
32407Solution: Add "text_align" and "text_wrap" arguments.
32408
32409Patch 9.0.0122
32410Problem: Breakindent test fails.
32411Solution: Fix condition.
32412
32413Patch 9.0.0123
32414Problem: Cannot build with small features.
32415Solution: Add #ifdef.
32416
32417Patch 9.0.0124
32418Problem: Code has more indent than needed.
32419Solution: Use continue and return statements. (closes #10824)
32420
32421Patch 9.0.0125
32422Problem: Cursor positioned wrong with virtual text after the line.
32423Solution: Clear cts_with_trailing.
32424
32425Patch 9.0.0126
32426Problem: Expanding file names fails in directory with more than 255
32427 entries.
32428Solution: Use an int instead of char_u to count. (John Drouhard,
32429 closes #10818)
32430
32431Patch 9.0.0127
32432Problem: Unused variable.
32433Solution: Remove the variable. (closes #10829)
32434
32435Patch 9.0.0128
32436Problem: Coverity complains about possible double free.
32437Solution: Clear the pointer to avoid warnings.
32438
32439Patch 9.0.0129
32440Problem: Compiler warning for int/size_t usage.
32441Solution: Add a type cast. (Mike Williams, closes #10830)
32442
32443Patch 9.0.0130
32444Problem: Cursor position wrong when inserting around virtual text.
32445Solution: Update the cursor position properly.
32446
32447Patch 9.0.0131
32448Problem: Virtual text with Tab is not displayed correctly.
32449Solution: Change any Tab to a space.
32450
32451Patch 9.0.0132
32452Problem: Multi-byte characters in virtual text not handled correctly.
32453Solution: Count screen cells instead of bytes.
32454
32455Patch 9.0.0133
32456Problem: Virtual text after line moves to joined line. (Yegappan
32457 Lakshmanan)
32458Solution: When joining lines only keep virtual text after the last line.
32459
32460Patch 9.0.0134
32461Problem: No test for text property with column zero.
32462Solution: Add a test. Add message to assert for no open popups.
32463
32464Patch 9.0.0135
32465Problem: Comment about tabpage line above the wrong code.
32466Solution: Move the comment. (closes #10836)
32467
32468Patch 9.0.0136
32469Problem: After CTRL-Left-mouse click a mouse scroll also has CTRL.
32470Solution: Reset orig_mouse_code also for wheel events. (closes #10840)
32471
32472Patch 9.0.0137
32473Problem: Debugger test may fail when $CWD is very long.
32474Solution: Skip the test if the directory name is too long. (James McCoy,
32475 closes #10837)
32476
32477Patch 9.0.0138
32478Problem: Not enough characters accepted for 'spellfile'.
32479Solution: Add vim_is_fname_char() and use it for 'spellfile'.
32480
32481Patch 9.0.0139
32482Problem: Truncating virtual text after a line not implemented.
32483 Cursor positioning wrong with Newline in the text.
32484Solution: Implement truncating. Disallow control characters in the text.
32485 (closes #10842)
32486
32487Patch 9.0.0140
32488Problem: execute() does not use the "legacy" command modifier.
32489Solution: pass the command modifier in sticky_cmdmod_flags. (Kota Kato,
32490 closes #10845)
32491
32492Patch 9.0.0141
K.Takata7b7672d2024-01-06 01:47:01 +090032493Problem: "delmenu" does not remove autocommands. Running menu test function
Christian Brabandt5872bcb2023-12-19 20:10:43 +010032494 alone fails.
32495Solution: Delete autocommands Make sure there is at least one menu.
32496 (closes #10848)
32497
32498Patch 9.0.0142
32499Problem: Crash when adding and removing virtual text. (Ben Jackson)
32500Solution: Check that the text of the text property still exists.
32501
32502Patch 9.0.0143
32503Problem: Cursor positioned after virtual text in empty line.
32504Solution: Keep cursor in the first column. (closes #10786)
32505
32506Patch 9.0.0144
32507Problem: Text property cannot override 'cursorline' highlight.
32508Solution: Add the "override" flag to prop_type_add(). (closes #5533,
32509 closes #8225).
32510
32511Patch 9.0.0145
32512Problem: Substitute that joins lines drops text properties.
32513Solution: Move text properties of the last line to the new line.
32514
32515Patch 9.0.0146
32516Problem: Missing part of change for "override" flag.
32517Solution: Add the missing change.
32518
32519Patch 9.0.0147
32520Problem: Cursor positioned wrong after two text properties with virtual
32521 text and "below" alignment. (Tim Pope)
32522Solution: Do not stop after a text property using MAXCOL. (closes #10849)
32523
32524Patch 9.0.0148
32525Problem: A "below" aligned text property gets 'showbreak' displayed.
32526Solution: Do not use 'showbreak' before or in virtual text. (issue #10851)
32527
32528Patch 9.0.0149
32529Problem: Test for fuzzy completion fails sometimes.
32530Solution: Use a more specific file name to minimize the chance of matching a
32531 random directory name. (closes #10854)
32532
32533Patch 9.0.0150
32534Problem: Error for using #{ in an expression is a bit confusing.
32535Solution: Mention that this error is only given for an expression.
32536 Avoid giving the error more than once. (closes #10855)
32537
32538Patch 9.0.0151
32539Problem: A "below" aligned text property does not work with 'nowrap'.
32540Solution: Start a new screen line to display the virtual text.
32541 (closes #10851)
32542
32543Patch 9.0.0152
32544Problem: Warning for unused argument in small build.
32545Solution: Add "UNUSED".
32546
32547Patch 9.0.0153
32548Problem: No fold and sign column for virtual text with "below" align and
32549 'nowrap'.
32550Solution: Go back to draw state WL_START when moving to the next line.
32551 (closes #10851)
32552
32553Patch 9.0.0154
32554Problem: Text properties wrong after splitting a line.
32555Solution: Check for text properties after the line. (closes #10857)
32556
32557Patch 9.0.0155
32558
32559Patch 9.0.0156
32560Problem: Giving E1170 only in an expression is confusing.
32561Solution: Give E1170 for any "#{ comment". (closes #10855)
32562
32563Patch 9.0.0157
32564Problem: 'showbreak' displayed below truncated "after" text prop.
32565Solution: Suppress 'showbreak' when "after" prop doesn't wrap.
32566
32567Patch 9.0.0158
32568Problem: With 'nowrap' "below" property not displayed correctly.
32569Solution: Adjust virtual text with 'nowrap', do not truncate.
32570
32571Patch 9.0.0159
32572Problem: Cannot build with small features.
32573Solution: Check for E1170 only with FEAT_EVAL.
32574
32575Patch 9.0.0160
32576Problem: Some diff mode tests fail.
32577Solution: Only advance "ptr" when a text property follows.
32578
32579Patch 9.0.0161
32580Problem: Warning for uninitialized variable. (Tony Mechelynck)
32581Solution: Initialize line_attr_save.
32582
32583Patch 9.0.0162
32584Problem: Text property "below" gets indent if 'breakindent' is set. (Tim
32585 Pope)
32586Solution: Do not put indent before text property. (closes #10859)
32587
32588Patch 9.0.0163
32589Problem: Text property not adjusted for text inserted with "p".
32590Solution: Adjust column and length of text properties.
32591
32592Patch 9.0.0164
32593Problem: Using freed memory with put command.
32594Solution: Get byte offset before replacing the line.
32595
32596Patch 9.0.0165
32597Problem: Looking up a text property type by ID is slow.
32598Solution: Keep an array of property types sorted on ID.
32599
32600Patch 9.0.0166
32601Problem: When using text properties the line text length is computed twice.
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010032602Solution: If the text length was already computed don't do it again.
Christian Brabandt5872bcb2023-12-19 20:10:43 +010032603
32604Patch 9.0.0167
32605Problem: Checking for text properties could be a bit more efficient.
32606Solution: Return early when there are no text properties. Update TODO
32607 items.
32608
32609Patch 9.0.0168
32610Problem: Cursor positioned wrong with two virtual text properties close
32611 together. (Ben Jackson)
32612Solution: Add the original size, not the computed one. (closes #10864)
32613
32614Patch 9.0.0169
32615Problem: Insufficient testing for line2byte() with text properties.
32616Solution: Add tests with a lot of text.
32617
32618Patch 9.0.0170
32619Problem: Various minor code formatting issues.
32620Solution: Improve code formatting.
32621
32622Patch 9.0.0171
32623Problem: Quickfix line highlight is overruled by 'cursorline'.
32624Solution: Reverse the combination of attributes. (closes #10654)
32625
32626Patch 9.0.0172
32627Problem: Trying to allocate zero bytes.
32628Solution: Do not allocate the proptype array when there are none.
32629 (closes #10867)
32630
32631Patch 9.0.0173
32632Problem: Assert fails only on MS-Windows.
32633Solution: Disable the assert for now.
32634
32635Patch 9.0.0174
32636Problem: No error for using "#{ comment" in a compiled function.
32637Solution: Make error checking for "#{" consistent. (closes #10855)
32638
32639Patch 9.0.0175
32640Problem: Spell checking for capital not working with trailing space.
32641Solution: Do not calculate cap_col at the end of the line. (Christian
32642 Brabandt, closes #10870, issue #10838)
32643
32644Patch 9.0.0176
32645Problem: Checking character options is duplicated and incomplete.
32646Solution: Move checking to check_chars_options(). (closes #10863)
32647
32648Patch 9.0.0177
32649Problem: Cursor position wrong with 'virtualedit' and mouse click after end
32650 of the line. (Hermann Mayer)
32651Solution: Do not use ScreenCols[] when 'virtualedit' is active.
32652 (closes #10868)
32653
32654Patch 9.0.0178
32655Problem: Cursor position wrong with virtual text before Tab.
32656Solution: Use the byte length, not the cell with, to compare the column.
32657 Correct tab size after text prop. (closes #10866)
32658
32659Patch 9.0.0179
32660Problem: Cursor position wrong with wrapping virtual text in empty line.
32661Solution: Adjust handling of an empty line. (closes #10875)
32662
32663Patch 9.0.0180
32664Problem: Stray logfile appears when running tests.
32665Solution: Remove ch_logfile() calls.
32666
32667Patch 9.0.0181
32668Problem: Textprop test with line2byte() fails on MS-Windows.
K.Takata7b7672d2024-01-06 01:47:01 +090032669Solution: Fix updating chunks in ml_delete_int().
Christian Brabandt5872bcb2023-12-19 20:10:43 +010032670
32671Patch 9.0.0182
32672Problem: Quarto files are not recognized.
32673Solution: Recognize quarto files by the extension. (Jonas Strittmatter,
32674 closes #10880)
32675
32676Patch 9.0.0183
32677Problem: Extra space after virtual text when 'linebreak' is set.
32678Solution: Do not count virtual text when getting linebreak value.
32679 (closes #10884)
32680
32681Patch 9.0.0184
32682Problem: Virtual text prop highlight continues after truncation.
32683Solution: Recompute the length of attributes.
32684
32685Patch 9.0.0185
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010032686Problem: Virtual text does not show if there is a text prop at same
Christian Brabandt5872bcb2023-12-19 20:10:43 +010032687 position. (Ben Jackson)
32688Solution: Fix the sorting of properties. (closes #10879)
32689
32690Patch 9.0.0186
32691Problem: Virtual text without highlighting does not show. (Ben Jackson)
32692Solution: Use a text property when it has highlighting or when it has text.
32693 (closes #10878)
32694
32695Patch 9.0.0187
32696Problem: Command line height changes when maximizing window height.
32697Solution: Do not change the command line height. (closes #10885)
32698
32699Patch 9.0.0188
32700Problem: Strange effects when using virtual text with "text_align" and
32701 non-zero column. (Martin Tournoij)
32702Solution: Give an error. (closes #10888)
32703
32704Patch 9.0.0189
32705Problem: Invalid memory access for text prop without highlight.
32706Solution: Check for a valid highlight ID.
32707
32708Patch 9.0.0190
32709Problem: The way 'cmdheight' can be made zero is inconsistent.
32710Solution: Only make 'cmdheight' zero when setting it explicitly, not when
32711 resizing windows. (closes #10890)
32712
32713Patch 9.0.0191
32714Problem: Messages test fails; window size incorrect when 'cmdheight' is
32715 made smaller.
32716Solution: Properly cleanup after test with cmdheight zero. Resize windows
32717 correctly when 'cmdheight' gets smaller.
32718
32719Patch 9.0.0192
32720Problem: Possible invalid memory access when 'cmdheight' is zero. (Martin
32721 Tournoij)
32722Solution: Avoid going over the end of w_lines[] when w_height is Rows.
32723 (closes #10882)
32724
32725Patch 9.0.0193
32726Problem: Search and match highlight interfere with virtual text highlight.
32727 (Ben Jackson)
32728Solution: Check for match highlight after text properties. Reset and
32729 restore search highlight when showing virtual text.
32730 (closes #10892)
32731
32732Patch 9.0.0194
32733Problem: Cursor displayed in wrong position after removing text prop. (Ben
32734 Jackson)
32735Solution: Invalidate the cursor position. (closes #10898)
32736
32737Patch 9.0.0195
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010032738Problem: Metafun files are not recognized.
Christian Brabandt5872bcb2023-12-19 20:10:43 +010032739Solution: Add filetype detection patterns.
32740
32741Patch 9.0.0196
32742Problem: Finding value in list may require a for loop.
32743Solution: Add indexof(). (Yegappan Lakshmanan, closes #10903)
32744
32745Patch 9.0.0197
32746Problem: Astro files are not detected.
32747Solution: Add a pattern to match Astro files. (Emilia Zapata, closes #10904)
32748
32749Patch 9.0.0198
32750Problem: ml_get error when switching buffer in Visual mode.
32751Solution: End Visual mode when switching buffer. (closes #10902)
32752
32753Patch 9.0.0199
32754Problem: Cursor position wrong with two right-aligned virtual texts.
32755Solution: Add the padding for right-alignment. (issue #10906)
32756
32757Patch 9.0.0200
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010032758Problem: cursor in a wrong position if 'wrap' is off and using two right
Christian Brabandt5872bcb2023-12-19 20:10:43 +010032759 aligned text props in one line.
32760Solution: Count an extra line for a right aligned text property after a
32761 below or right aligned text property. (issue #10909)
32762
32763Patch 9.0.0201
32764Problem: CursorLine highlight overrules virtual text highlight.
32765Solution: Let extra attribute overrule line attribute. (closes #10909)
32766
32767Patch 9.0.0202
32768Problem: Code and help for indexof() is not ideal.
32769Solution: Refactor the code, improve the help. (Yegappan Lakshmanan,
32770 closes #10908)
32771
32772Patch 9.0.0203
32773Problem: Confusing variable name.
32774Solution: Use "prim_aep" instead of "spell_aep".
32775
32776Patch 9.0.0204
32777Problem: indexof() may leak memory.
32778Solution: Free allocated values. (Yegappan Lakshmanan, closes #10916)
32779
32780Patch 9.0.0205
32781Problem: Cursor in wrong position when inserting after virtual text. (Ben
32782 Jackson)
32783Solution: Put the cursor after the virtual text, where the text will be
32784 inserted. (closes #10914)
32785
32786Patch 9.0.0206
32787Problem: Redraw flags are not named specifically.
32788Solution: Prefix "UPD_" to the flags, for UPDate_screen().
32789
32790Patch 9.0.0207
32791Problem: Stacktrace not shown when debugging.
32792Solution: Set msg_scroll in msg_source(). (closes #10917)
32793
32794Patch 9.0.0208
32795Problem: The override flag has no effect for virtual text. (Ben Jackson)
32796Solution: Make the override flag work. (closes #10915)
32797
32798Patch 9.0.0209
32799Problem: Build error with small features.
32800Solution: Add #ifdef.
32801
32802Patch 9.0.0210
32803Problem: 'list' mode does not work properly with virtual text.
32804Solution: Show the "$" at the right position. (closes #10913)
32805
32806Patch 9.0.0211
32807Problem: Invalid memory access when compiling :lockvar.
32808Solution: Don't read past the end of the line.
32809
32810Patch 9.0.0212
32811Problem: Invalid memory access when compiling :unlet.
32812Solution: Don't read past the end of the line.
32813
32814Patch 9.0.0213
32815Problem: Using freed memory with error in assert argument.
32816Solution: Make a copy of the error.
32817
32818Patch 9.0.0214
32819Problem: Splitting a line may duplicate virtual text. (Ben Jackson)
32820Solution: Don't duplicate a text property with virtual text. Make
32821 auto-indenting work better. (closes #10919)
32822
32823Patch 9.0.0215
32824Problem: Not passing APC_INDENT flag.
32825Solution: Pass the flag where it's needed.
32826
32827Patch 9.0.0216
32828Problem: Undo earlier test sometimes fails on MS-Windows.
32829Solution: Use another file name.
32830
32831Patch 9.0.0217
32832Problem: 'shellslash' works differently when sourcing a script again.
32833Solution: Use the name from the script item. (closes #10920)
32834
32835Patch 9.0.0218
32836Problem: Reading before the start of the line.
32837Solution: When displaying "$" check the column is not negative.
32838
32839Patch 9.0.0219
32840Problem: Cannot make a funcref with "s:func" in a def function in legacy
32841 script.
32842Solution: Allow for using a lower case function name after "s:". (Kota Kato,
32843 closes #10926)
32844
32845Patch 9.0.0220
32846Problem: Invalid memory access with for loop over NULL string.
32847Solution: Make sure mb_ptr2len() consistently returns zero for NUL.
32848
32849Patch 9.0.0221
32850Problem: Accessing freed memory if compiling nested function fails.
32851Solution: Mess up the variable name so that it won't be found.
32852
32853Patch 9.0.0222
32854Problem: No good reason why text objects are only in larger builds.
32855Solution: Graduate +textobjects.
32856
32857Patch 9.0.0223
32858Problem: Typo in diffmode test.
32859Solution: Fix the typo. (closes #10932)
32860
32861Patch 9.0.0224
32862Problem: Using NULL pointer when skipping compiled code.
32863Solution: Check for skipping.
32864
32865Patch 9.0.0225
32866Problem: Using freed memory with multiple line breaks in expression.
32867Solution: Free eval_tofree later.
32868
32869Patch 9.0.0226
32870Problem: job_start() test may fail under valgrind.
32871Solution: Wait until the job is running.
32872
32873Patch 9.0.0227
32874Problem: Cannot read error message when abort() is called.
32875Solution: Output a newline before calling abort().
32876
32877Patch 9.0.0228
32878Problem: Crash when pattern looks below the last line.
32879Solution: Consider invalid lines to be empty. (closes #10938)
32880
32881Patch 9.0.0229
32882Problem: Vim9: error message for missing type is not clear.
32883Solution: Mention the context. (issue #10944)
32884
32885Patch 9.0.0230
32886Problem: No error for comma missing in list in :def function.
32887Solution: Check for missing comma. (closes #10943)
32888
32889Patch 9.0.0231
32890Problem: Expanding "**" may loop forever with directory links.
32891Solution: Check for being interrupted. (closes #10946)
32892
32893Patch 9.0.0232
32894Problem: Test with BufNewFile autocmd is flaky.
32895Solution: Use another file name.
32896
32897Patch 9.0.0233
32898Problem: Removing multiple text properties takes many calls.
32899Solution: Pass a list to prop_remove(). (Ben Jackson, closes #10945)
32900
32901Patch 9.0.0234
32902Problem: Cannot make difference between the end of :normal and a character
32903 in its argument.
32904Solution: Add the "typebuf_was_empty" flag. (closes #10950)
32905
32906Patch 9.0.0235
K.Takata7b7672d2024-01-06 01:47:01 +090032907Problem: 'autoshelldir' does not work with chunked response.
Christian Brabandt5872bcb2023-12-19 20:10:43 +010032908Solution: Collect chunks before parsing OSC 7. (closes #10949)
32909
32910Patch 9.0.0236
32911Problem: Popup menu not removed when 'wildmenu' reset while it is visible.
32912Solution: Do not check p_wmnu, only pum_visible(). (closes #10953)
32913
32914Patch 9.0.0237
32915Problem: Mac: cannot build if dispatch.h is not available.
32916Solution: Add #ifdef. (Evan Miller, closes #10954)
32917
32918Patch 9.0.0238
32919Problem: Shift-Tab shows matches on cmdline when 'wildmenu' is off.
32920Solution: Only show matches when 'wildmode' contains "list". (closes #10951)
32921
32922Patch 9.0.0239
32923Problem: Build failure without the +wildmenu feature.
32924Solution: Move parenthesis.
32925
32926Patch 9.0.0240
32927Problem: Crash when using ":mkspell" with an empty .dic file.
32928Solution: Check for an empty word tree.
32929
32930Patch 9.0.0241
32931Problem: "make install" does not install shared syntax file. (James McCoy)
32932Solution: Install and uninstall the shared syntax files. (closes #10956)
32933
32934Patch 9.0.0242
32935Problem: "make install" still fails. (Wilhelm Payne)
32936Solution: Also add the directory to installrtbase. (Dominique Pellé)
32937
32938Patch 9.0.0243
32939Problem: Text properties "below" sort differently on MS-Windows.
32940Solution: Use the ID as a tie breaker. (closes #10958)
32941
32942Patch 9.0.0244
32943Problem: Cannot easily get the list of sourced scripts.
32944Solution: Add the getscriptinfo() function. (Yegappan Lakshmanan,
32945 closes #10957)
32946
32947Patch 9.0.0245
32948Problem: Mechanism to prevent recursive screen updating is incomplete.
32949Solution: Add "redraw_not_allowed" and set it in build_stl_str_hl().
32950 (issue #10952)
32951
32952Patch 9.0.0246
32953Problem: Using freed memory when 'tagfunc' deletes the buffer.
32954Solution: Make a copy of the tag name.
32955
32956Patch 9.0.0247
32957Problem: Cannot add padding to virtual text without highlight.
32958Solution: Add the "text_padding_left" argument. (issue #10906)
32959
32960Patch 9.0.0248
32961Problem: Duplicate code in finding a script in the execution stack.
32962Solution: Reduce duplicate code. (closes #10961)
32963
32964Patch 9.0.0249
32965Problem: No test for what 9.0.0234 fixes.
32966Solution: Add a test. (issue #10950)
32967
32968Patch 9.0.0250
32969Problem: Slightly inconsistent error messages.
32970Solution: Make it "Using a Float". (closes #10959)
32971
32972Patch 9.0.0251
32973Problem: Test output shows up in git.
32974Solution: Ignore the "failed" directory. (Yao-Ching Huang, closes #10969)
32975
32976Patch 9.0.0252
32977Problem: Cursor in wrong place after virtual text.
32978Solution: Do not change the length of a virtual text property.
32979 (closes #10964)
32980
32981Patch 9.0.0253
32982Problem: A symlink to an autoload script results in two entries in the list
32983 of scripts, items expected in one are actually in the other.
32984Solution: Have one script item refer to the actually sourced one.
32985 (closes #10960)
32986
32987Patch 9.0.0254
32988Problem: Typo in function name.
32989Solution: Rename the function. (closes #10971)
32990
32991Patch 9.0.0255
32992Problem: Build failure without the eval feature.
32993Solution: Add #ifdef.
32994
32995Patch 9.0.0256
32996Problem: Compiler warning for uninitialized variables.
K.Takata7b7672d2024-01-06 01:47:01 +090032997Solution: Initialize the variables.
Christian Brabandt5872bcb2023-12-19 20:10:43 +010032998
32999Patch 9.0.0257
33000Problem: "->" in ":scriptnames" output not tested yet.
33001Solution: Add a check.
33002
33003Patch 9.0.0258
33004Problem: MS-Windows installer skips syntax/shared.
33005Solution: Use "File /r" in the installer script. (Ken Takata, closes #10972)
33006
33007Patch 9.0.0259
33008Problem: Crash with mouse click when not initialized.
33009Solution: Check TabPageIdxs[] is not NULL.
33010
33011Patch 9.0.0260
33012Problem: Using freed memory when using 'quickfixtextfunc' recursively.
33013Solution: Do not allow for recursion.
33014
33015Patch 9.0.0261
33016Problem: bufload() reads a file even if the name is not a file name. (Cyker
33017 Way)
33018Solution: Do not read the file when the buffer name is not a file name.
33019 (closes #10975)
33020
33021Patch 9.0.0262
33022Problem: Build failure without the +quickfix feature.
33023Solution: Add #ifdef.
33024
33025Patch 9.0.0263
33026Problem: Too many #ifdefs.
33027Solution: Make some functions always available.
33028
33029Patch 9.0.0264
33030Problem: CI still runs on Ubuntu 18.04.
33031Solution: Run CI on Ubuntu 20.04. (closes #10582)
33032
33033Patch 9.0.0265
33034Problem: No good reason why the "gf" command is not in the tiny version.
33035Solution: Graduate the file_in_path feature.
33036
33037Patch 9.0.0266
33038Problem: Compiler warning for unused argument.
33039Solution: Add UNUSED.
33040
33041Patch 9.0.0267
33042Problem: Coverity workflow still uses Ubuntu 18.04.
33043Solution: Use Ubuntu 20.04
33044
33045Patch 9.0.0268
33046Problem: Build error without the +eval feature.
33047Solution: Remove #ifdef.
33048
33049Patch 9.0.0269
33050Problem: getscriptinfo() does not include the version. Cannot select
33051 entries by script name.
33052Solution: Add the "version" item and the "name" argument. (Yegappan
33053 Lakshmanan, closes #10962)
33054
33055Patch 9.0.0270
33056Problem: Some values of 'path' and 'tags' do not work in the tiny version.
33057Solution: Graduate the +path_extra feature.
33058
33059Patch 9.0.0271
33060Problem: Using INIT() in non-header files.
33061Solution: Remove INIT(). (closes #10981)
33062
33063Patch 9.0.0272
33064Problem: BufReadCmd not triggered when loading a "nofile" buffer. (Maxim
33065 Kim)
33066Solution: Call readfile() but bail out before reading a file.
33067 (closes #10983)
33068
33069Patch 9.0.0273
33070Problem: Konsole termresponse not recognized.
33071Solution: Handle Konsole like libvterm, set 'ttymouse' to "sgr".
33072 (closes #10990)
33073
33074Patch 9.0.0274
33075Problem: Netrw plugin does not show remote files.
33076Solution: Do read a file when 'buftype' is "acwrite". (closes #10983)
33077
33078Patch 9.0.0275
33079Problem: BufEnter not triggered when using ":edit" in "nofile" buffer.
33080Solution: Let readfile() return NOTDONE. (closes #10986)
33081
33082Patch 9.0.0276
33083Problem: 'buftype' values not sufficiently tested.
33084Solution: Add and extend tests with 'buftype' values. (closes #10988)
33085
33086Patch 9.0.0277
33087Problem: Coverity CI: update-alternatives not needed with Ubuntu 20.04.
33088Solution: Remove update-alternatives for Lua. (closes #10987)
33089
33090Patch 9.0.0278
33091Problem: The +wildignore feature is nearly always available.
33092Solution: Graduate +wildignore for consistency.
33093
33094Patch 9.0.0279
33095Problem: The tiny version has the popup menu but not 'wildmenu'.
33096Solution: Graduate the wildmenu feature.
33097
33098Patch 9.0.0280
33099Problem: The builtin termcap list depends on the version.
33100Solution: Always include all termcap entries. Remove duplicate lines.
33101
33102Patch 9.0.0281
33103Problem: Build failure without the +eval feature.
33104Solution: Add #ifdef.
33105
33106Patch 9.0.0282
K.Takata7b7672d2024-01-06 01:47:01 +090033107Problem: A nested timeout stops the previous timeout.
Christian Brabandt5872bcb2023-12-19 20:10:43 +010033108Solution: Ignore any nested timeout.
33109
33110Patch 9.0.0283
33111Problem: Cannot complete "syn list @cluster".
33112Solution: Recognize and handle "list @". (Björn Linse, closes #10990)
33113
33114Patch 9.0.0284
33115Problem: Using static buffer for multiple completion functions.
33116Solution: Use one buffer in expand_T.
33117
33118Patch 9.0.0285
33119Problem: It is not easy to change the command line from a plugin.
33120Solution: Add setcmdline(). (Shougo Matsushita, closes #10869)
33121
33122Patch 9.0.0286
33123Problem: Using freed memory when location list changed in autocmd.
33124Solution: Return QF_ABORT and handle it. (Yegappan Lakshmanan,
33125 closes #10993)
33126
33127Patch 9.0.0287
33128Problem: Irix systems no longer exist.
33129Solution: Remove references to Irix. (Yegappan Lakshmanan, closes #10994)
33130
33131Patch 9.0.0288
33132Problem: When 'cmdheight' is zero some messages are not displayed.
33133Solution: Use a popup notification window.
33134
33135Patch 9.0.0289
33136Problem: Invalid memory write.
33137Solution: Do not put NUL in a static string.
33138
33139Patch 9.0.0290
33140Problem: Compiler warning for variable set but not used.
33141Solution: Add #ifdef.
33142
33143Patch 9.0.0291
33144Problem: Test failing.
33145Solution: Run test with cmdheight=0 last.
33146
33147Patch 9.0.0292
33148Problem: Test causes another test to fail.
33149Solution: Redraw to remove the popup window
33150
33151Patch 9.0.0293
33152Problem: Messages window not hidden when starting a command line.
33153Solution: Hide the messages window. (closes #10996)
33154
33155Patch 9.0.0294
33156Problem: Crash when 'cmdheight' is 0 and popup_clear() used.
33157Solution: Reset "message_win" when the message popup is cleared. Close the
33158 popup when 'cmdheight' is non-zero. Add a screendump test.
33159
33160Patch 9.0.0295
33161Problem: GUI drop files test sometimes fails.
33162Solution: Mark the test as flaky.
33163
33164Patch 9.0.0296
33165Problem: Message in popup is shortened unnecessary.
33166Solution: Do not use 'showcmd' and 'ruler' for a message in the popup.
33167 Set the timer when unhiding the message popup.
33168
33169Patch 9.0.0297
33170Problem: Cursor position wrong after right aligned virtual text. (Iizuka
33171 Masashi)
33172Solution: Take the width of the column offset into account. (closes #10997)
33173 Also fix virtual text positioning.
33174
33175Patch 9.0.0298
33176Problem: Compiler warning for size_t to int conversion.
33177Solution: Add a type cast. (Wilhelm Payne, closes #11000)
33178
33179Patch 9.0.0299
33180Problem: Error messages for setcmdline() could be better.
33181Solution: Use more specific error messages. (Yegappan Lakshmanan,
33182 closes #10995)
33183
33184Patch 9.0.0300
33185Problem: 'cpoptions' tests are flaky.
33186Solution: Use a different file name for each test.
33187
33188Patch 9.0.0301
33189Problem: The message window popup is delayed after an error message.
33190Solution: Do not set emsg_on_display when using the message window.
33191
33192Patch 9.0.0302
33193Problem: CI for Coverity is bothered by deprecation warnings.
33194Solution: Ignore deprecation warnings. (closes #11002)
33195
33196Patch 9.0.0303
33197Problem: It is not easy to get information about a script.
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010033198Solution: Make getscriptinfo() return the version. When selecting a specific
Christian Brabandt5872bcb2023-12-19 20:10:43 +010033199 script return functions and variables. (Yegappan Lakshmanan,
33200 closes #10991)
33201
33202Patch 9.0.0304
33203Problem: WinScrolled is not triggered when only skipcol changes.
33204Solution: Add w_last_skipcol and use it. (closes #10998)
33205
33206Patch 9.0.0305
33207Problem: CI lists useless deprecation warnings.
33208Solution: Ignore deprecation warnings. (closes #11003)
33209
33210Patch 9.0.0306
33211Problem: Buffer write message is two lines in message popup window.
33212Solution: Overwrite message if "msg_scroll" is off.
33213
33214Patch 9.0.0307
33215Problem: :echomsg doesn't work properly with cmdheight=0.
33216Solution: Improve scrolling and displaying.
33217
33218Patch 9.0.0308
33219Problem: When cmdheight is zero the attention prompt doesn't show.
33220Solution: Do not use the message window for a prompt.
33221
33222Patch 9.0.0309
33223Problem: Invalid memory access when cmdheight is zero.
33224Solution: Check index in w_lines is smaller than Rows.
33225
33226Patch 9.0.0310
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010033227Problem: Output of :messages disappears when cmdheight is zero.
Christian Brabandt5872bcb2023-12-19 20:10:43 +010033228Solution: Do not use the messages window for :messages. Make Esc close the
33229 messages window.
33230
33231Patch 9.0.0311
33232Problem: Test for hit-Enter prompt fails.
33233Solution: Only reset cmdline_row when 'cmdheight' is zero.
33234
33235Patch 9.0.0312
33236Problem: Test for cmdheight zero fails.
33237Solution: Do not close the messages window for CTRL-C.
33238
33239Patch 9.0.0313
33240Problem: Using common name in tests leads to flaky tests.
33241Solution: Rename files and directories to be more specific.
33242
33243Patch 9.0.0314
33244Problem: VDM files are not recognized.
33245Solution: Add patterns for VDM files. (Alessandro Pezzoni, closes #11004)
33246
33247Patch 9.0.0315
33248Problem: Shell command is displayed in message window.
33249Solution: Do not echo the shell command in the message window.
33250
33251Patch 9.0.0316
33252Problem: Screen flickers when 'cmdheight' is zero.
33253Solution: Redraw over existing text instead of clearing.
33254
33255Patch 9.0.0317
33256Problem: When updating the whole screen a popup may not be redrawn.
33257Solution: Mark the screen and windows for redraw also when not clearing.
33258 Also mark popup windows for redraw.
33259
33260Patch 9.0.0318
33261Problem: Clearing screen causes flicker.
33262Solution: Do not clear but redraw in more cases. Add () to "wait_return".
33263
33264Patch 9.0.0319
33265Problem: Godot shader files are not recognized.
33266Solution: Add patterns for "gdshader". (Maxim Kim, closes #11006)
33267
33268Patch 9.0.0320
33269Problem: Command line type of CmdlineChange differs from getcmdtype().
33270Solution: Use the same type. (closes #11005)
33271
33272Patch 9.0.0321
33273Problem: Cannot use the message popup window directly.
33274Solution: Add ":echowindow".
33275
33276Patch 9.0.0322
33277Problem: Crash when no errors and 'quickfixtextfunc' is set.
33278Solution: Do not handle errors if there aren't any.
33279
33280Patch 9.0.0323
33281Problem: Using common name in tests leads to flaky tests.
33282Solution: Rename files and directories to be more specific.
33283
33284Patch 9.0.0324
33285Problem: MS-Windows: resolve() test fails.
33286Solution: Revert renaming the directory.
33287
33288Patch 9.0.0325
33289Problem: MS-Windows: completion test fails.
33290Solution: Adjust directory prefix.
33291
33292Patch 9.0.0326
33293Problem: Some changes for cmdheight=0 are not needed.
33294Solution: Revert resize behavior if height is greater than the available
33295 space. (Shougo Matsushita, closes #11008)
33296
33297Patch 9.0.0327
33298Problem: items() does not work on a list. (Sergey Vlasov)
33299Solution: Make items() work on a list. (closes #11013)
33300
33301Patch 9.0.0328
33302Problem: OLD_DIGRAPHS is unused.
33303Solution: Remove OLD_DIGRAPHS. Also drop HPUX_DIGRAPHS.
33304
33305Patch 9.0.0329
33306Problem: ":highlight" hangs when 'cmdheight' is zero.
33307Solution: Add to msg_col when using the message window. (closes #11014)
33308
33309Patch 9.0.0330
33310Problem: Method tests fail.
33311Solution: Adjust for change of items().
33312
33313Patch 9.0.0331
33314Problem: Cannot use items() on a string.
33315Solution: Make items() work on a string. (closes #11016)
33316
33317Patch 9.0.0332
33318Problem: Overwrite check may block BufWriteCmd.
33319Solution: Do not use overwrite check when 'buftype' is "acwrite".
33320 (closes #11011)
33321
33322Patch 9.0.0333
33323Problem: Method test fails.
33324Solution: Adjust test for items() now working on string.
33325
33326Patch 9.0.0334
33327Problem: Test does not properly clean up.
33328Solution: Fix typo in argument of delete(). (Dominique Pellé, closes #11010)
33329
33330Patch 9.0.0335
33331Problem: Checks for Dictionary argument often give a vague error message.
33332Solution: Give a useful error message. (Yegappan Lakshmanan, closes #11009)
33333
33334Patch 9.0.0336
33335Problem: Tests are flaky because of using a common file name.
33336Solution: Rename files and directories to be more unique.
33337
33338Patch 9.0.0337
33339Problem: Flicker when resetting cmdline_row after updating the screen.
33340Solution: Do not update cmdline_row. (issue #11017)
33341
33342Patch 9.0.0338
33343Problem: Return value of list_append_list() not always checked.
33344Solution: Check return value and handle failure.
33345
33346Patch 9.0.0339
33347Problem: No check if the return value of XChangeGC() is NULL.
33348Solution: Only use the return value when it is not NULL. (closes #11020)
33349
33350Patch 9.0.0340
33351Problem: The 'cmdheight' zero support causes too much trouble.
33352Solution: Revert support for 'cmdheight' being zero.
33353
33354Patch 9.0.0341
33355Problem: mapset() does not restore <Nop> mapping properly.
33356Solution: Use an empty string for <Nop>. (closes #11022)
33357
33358Patch 9.0.0342
33359Problem: ":wincmd =" equalizes in two directions.
33360Solution: Make ":vertical wincmd =" equalize vertically only and
33361 ":horizontal wincmd =" equalize horizontally only.
33362
33363Patch 9.0.0343
33364Problem: ColorScheme autocommand triggered when colorscheme is not found.
33365 (Romain Lafourcade)
33366Solution: Only trigger ColorScheme when loading the colorscheme succeeds.
33367 (closes #11024)
33368
33369Patch 9.0.0344
33370Problem: MS-Windows: background color wrong in Console.
33371Solution: Figure out the default console background color. (Yasuhiro
33372 Matsumoto, issue #10310)
33373
33374Patch 9.0.0345
33375Problem: Error message for list argument could be clearer.
33376Solution: Include the argument number. (Yegappan Lakshmanan, closes #11027)
33377
33378Patch 9.0.0346
33379Problem: :horizontal modifier not fully supported.
33380Solution: Also use :horizontal for completion and user commands.
33381 (closes #11025)
33382
33383Patch 9.0.0347
33384Problem: MS-Windows: cannot set cursor shape in Windows Terminal.
33385Solution: Make cursor shape work with Windows Terminal. (Ken Takata,
33386 closes #11028, closes #6576)
33387
33388Patch 9.0.0348
33389Problem: MS-Windows: GUI mouse move event test is flaky.
33390Solution: Wait for a little while for the first move event.
33391
33392Patch 9.0.0349
33393Problem: Filetype of *.sil files not well detected.
33394Solution: Inspect the file contents to guess the filetype.
33395
33396Patch 9.0.0350
33397Problem: :echowindow does not work in a compiled function.
33398Solution: Handle the expression at compile time.
33399
33400Patch 9.0.0351
33401Problem: Message window may obscure the command line.
33402Solution: Reduce the maximum height of the message window.
33403
33404Patch 9.0.0352
33405Problem: using :echowindow in a timer clears part of message
33406Solution: Do not use msg_clr_eos().
33407
33408Patch 9.0.0353
33409Problem: Missing entry in switch.
33410Solution: Add ISN_ECHOWINDOW.
33411
33412Patch 9.0.0354
33413Problem: MS-Windows: starting a python server for test sometimes fails.
33414Solution: Increase the waiting time for the port.
33415
33416Patch 9.0.0355
33417Problem: Check for uppercase char in autoload name is wrong, it checks the
33418 name of the script.
33419Solution: Remove the check. (closes #11031)
33420
33421Patch 9.0.0356
33422Problem: :echowindow sets the in_echowindow flag too early.
33423Solution: Set in_echowindow only when outputting the text. (Yasuhiro
33424 Matsumoto, closes #11033)
33425
33426Patch 9.0.0357
33427Problem: 'linebreak' interferes with text property highlight if there is
33428 syntax highlighting.
33429Solution: Check the text prop attributes after combining with syntax
33430 attributes. (closes #11035)
33431
33432Patch 9.0.0358
33433Problem: 'breakindent' does not indent non-lists with
33434 "breakindentopt=list:-1".
33435Solution: Adjust indent computation. (Maxim Kim, closes #11038)
33436
33437Patch 9.0.0359
33438Problem: Error message for wrong argument type is not specific.
33439Solution: Include more information in the error. (Yegappan Lakshmanan,
33440 closes #11037)
33441
33442Patch 9.0.0360
33443Problem: Crash when invalid line number on :for is ignored.
33444Solution: Do not check breakpoint for non-existing line.
33445
33446Patch 9.0.0361
33447Problem: Removing a listener may result in a memory leak and remove
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010033448 subsequent listeners.
Christian Brabandt5872bcb2023-12-19 20:10:43 +010033449Solution: Init the "prev" pointer only once. (Yegappan Lakshmanan,
33450 closes #11039)
33451
33452Patch 9.0.0362
33453Problem: Expanding ":e %" does not work for remote files.
33454Solution: If the "%" or "#" file does not exist add the expansion anyway.
33455
33456Patch 9.0.0363
33457Problem: Common names in test files causes tests to be flaky.
33458Solution: Use more specific names.
33459
33460Patch 9.0.0364
33461Problem: Clang static analyzer gives warnings.
33462Solution: Avoid the warnings. (Yegappan Lakshmanan, closes #11043)
33463
33464Patch 9.0.0365
33465Problem: File name used in test is unusual.
33466Solution: Rename it. (Dominique Pellé, closes #11044)
33467
33468Patch 9.0.0366
33469Problem: Cannot use import->Func() in lambda. (Israel Chauca Fuentes)
33470Solution: Adjust how an expression in a lambda is parsed. (closes #11042)
33471
33472Patch 9.0.0367
33473Problem: Coverity complains about dropping sign of character.
33474Solution: Add explicit type cast.
33475
33476Patch 9.0.0368
33477Problem: Old Coverity warning for using NULL pointer.
33478Solution: Bail out if dictionary allocation fails.
33479
33480Patch 9.0.0369
33481Problem: A failing flaky test doesn't mention the time.
33482Solution: Add the time for debugging. Improve error message.
33483
33484Patch 9.0.0370
33485Problem: Cleaning up afterwards can make a function messy.
33486Solution: Add the :defer command.
33487
33488Patch 9.0.0371
33489Problem: Compiler warning for uninitialized variable.
33490Solution: Initialize the variable. (John Marriott)
33491
33492Patch 9.0.0372
33493Problem: MS-Windows: "%T" time format does not appear to work.
33494Solution: Use "%H:%M:%S" instead.
33495
33496Patch 9.0.0373
33497Problem: Coverity warns for NULL check and unused return value.
33498Solution: Remove the NULL check, it was already checked earlier. Add (void)
33499 to ignore the return value.
33500
33501Patch 9.0.0374
33502Problem: Coverity still complains about dropping sign of character.
33503Solution: Add intermediate variable.
33504
33505Patch 9.0.0375
33506Problem: The footer feature is unused.
33507Solution: Remove FEAT_FOOTER and code.
33508
33509Patch 9.0.0376
33510Problem: Clang warns for dead assignments.
33511Solution: Adjust the code. (Yegappan Lakshmanan, closes #11048)
33512
33513Patch 9.0.0377
33514Problem: Argument assignment does not work.
33515Solution: Skip over "=".
33516
33517Patch 9.0.0378
33518Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
33519Solution: Initialize it.
33520
33521Patch 9.0.0379
33522Problem: Cleaning up after writefile() is a hassle.
33523Solution: Add the 'D' flag to defer deleting the written file. Very useful
33524 in tests.
33525
33526Patch 9.0.0380
33527Problem: Deleting files in tests is a hassle.
33528Solution: Use the new 'D' flag of writefile().
33529
33530
33531Problem: Deleting files in tests is a hassle.
33532Solution: Use the new 'D' flag of writefile().
33533
33534Patch 9.0.0381
33535Problem: Writefile test leaves files behind.
33536Solution: Fix the file names of files to be deleted. (Dominique Pellé,
33537 closes #11056)
33538
33539Patch 9.0.0382
33540Problem: Freeing the wrong string on failure.
33541Solution: Adjust the argument. Reorder the code.
33542
33543Patch 9.0.0383
33544Problem: Coverity complains about unused value.
33545Solution: Use the value.
33546
33547Patch 9.0.0384
K.Takata7b7672d2024-01-06 01:47:01 +090033548Problem: Coverity still complains about using return value of getc().
Christian Brabandt5872bcb2023-12-19 20:10:43 +010033549Solution: Check for EOF.
33550
33551Patch 9.0.0385
33552Problem: GUI: when CTRL-D is mapped in Insert mode it gets inserted.
33553 (Yasuhiro Matsumoto)
33554Solution: Also recognize modifier starting with CSI. (closes #11057)
33555
33556Patch 9.0.0386
33557Problem: Some code blocks are nested too deep.
33558Solution: Bail out earlier. (Yegappan Lakshmanan, closes #11058)
33559
33560Patch 9.0.0387
33561Problem: repeating a <ScriptCmd> mapping does not use the right script
33562 context.
33563Solution: When using a mapping put <SID>{sid}; in the redo buffer.
33564 (closes #11049)
33565
33566Patch 9.0.0388
33567Problem: The do_arg_all() function is too long.
33568Solution: Split the function in smaller parts. (Yegappan Lakshmanan,
33569 closes #11062)
33570
33571Patch 9.0.0389
33572Problem: Crash when 'tagfunc' closes the window.
33573Solution: Bail out when the window was closed.
33574
33575Patch 9.0.0390
33576Problem: Cannot use a partial with :defer.
33577Solution: Add the partial arguments before the other arguments. Disallow
33578 using a dictionary.
33579
33580Patch 9.0.0391
33581Problem: Using separate delete() call instead of writefile() 'D' flag.
33582Solution: Use the writefile 'D' flag.
33583
33584Patch 9.0.0392
33585Problem: Inverted condition is a bit confusing.
33586Solution: Remove the "!" and swap the blocks. (Ken Takata)
33587
33588Patch 9.0.0393
33589Problem: Signals test often fails on FreeBSD.
33590Solution: Use separate files for Suspend and Resume. (Ken Takata,
33591 closes #11065)
33592
33593Patch 9.0.0394
33594Problem: Cygwin: multibyte characters may be broken in terminal window.
33595Solution: Adjust how to read and write on the channel. (Ken Takata,
33596 closes #11063)
33597
33598Patch 9.0.0395
33599Problem: Clang warnings for function prototypes.
33600Solution: Remove incomplete function prototypes. (closes #11068)
33601
33602Patch 9.0.0396
33603Problem: :findrepl does not escape '&' and '~' properly.
33604Solution: Escape depending on the value of 'magic'. (closes #11067)
33605
33606Patch 9.0.0397
33607Problem: :defer not tested with exceptions and ":qa!".
33608Solution: Test :defer works when exceptions are thrown and when ":qa!" is
33609 used. Invoke the deferred calls on exit.
33610
33611Patch 9.0.0398
33612Problem: Members of funccall_T are inconsistently named.
33613Solution: Use the "fc_" prefix for all members.
33614
33615Patch 9.0.0399
33616Problem: Using :defer in expression funcref not tested.
33617Solution: Add a test. Fix uncovered problems.
33618
33619Patch 9.0.0400
33620Problem: GUI test sometimes hangs on CI.
33621Solution: Delete a test file explicitly. (Ken Takata, closes #11072)
33622
33623Patch 9.0.0401
33624Problem: CI uses older clang version.
33625Solution: Switch from clang 14 to 15. (closes #11066)
33626
33627Patch 9.0.0402
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010033628Problem: Javascript module files are not recognized.
Christian Brabandt5872bcb2023-12-19 20:10:43 +010033629Solution: Recognize "*.jsm" files as Javascript. (Brett Holman,
33630 closes #11069)
33631
33632Patch 9.0.0403
33633Problem: 'equalalways' may be off when 'laststatus' is zero.
33634Solution: call last_status() before win_equal(). (Luuk van Baal,
33635 closes #11070)
33636
33637Patch 9.0.0404
33638Problem: Crash when passing invalid arguments to assert_fails().
33639Solution: Check for NULL string.
33640
33641Patch 9.0.0405
33642Problem: Arguments in a partial not used by a :def function.
33643Solution: Put the partial arguments on the stack.
33644
33645Patch 9.0.0406
33646Problem: Deferred functions not invoked when partial func exits.
33647Solution: Create a funccall_T when calling a :def function.
33648
33649Patch 9.0.0407
33650Problem: matchstr() does match column offset. (Yasuhiro Matsumoto)
33651Solution: Accept line number zero. (closes #10938)
33652
33653Patch 9.0.0408
33654Problem: GUI test sometimes fails on MS-Windows.
33655Solution: Make sure Vim is the foreground window. (Ken Takata, closes #11077)
33656
33657Patch 9.0.0409
33658Problem: #{g:x} was seen as a curly-braces expression.
33659Solution: Do never see #{} as a curly-braces expression. (closes #11075)
33660
33661Patch 9.0.0410
33662Problem: Struct member cts_lnum is unused.
33663Solution: Delete it.
33664
33665Patch 9.0.0411
33666Problem: Only created files can be cleaned up with one call.
33667Solution: Add flags to mkdir() to delete with a deferred function.
33668 Expand the writefile() name to a full path to handle changing
33669 directory.
33670
33671Patch 9.0.0412
33672Problem: Compiler warning for unused argument.
33673Solution: Add UNUSED.
33674
33675Patch 9.0.0413
33676Problem: ASAN reports a memory leak.
33677Solution: Free the string received from the server. (Ken Takata,
33678 closes #11080)
33679
33680Patch 9.0.0414
33681Problem: matchstr() still does not match column offset when done after a
33682 text search.
33683Solution: Only use the line number for a multi-line search. Fix the test.
33684 (closes #10938)
33685
33686Patch 9.0.0415
33687Problem: On MS-Windows some tests are flaky.
33688Solution: Add sleeps, disable swapfile, mark test as flaky. (Ken Takata,
33689 closes #11082)
33690
33691Patch 9.0.0416
33692Problem: ml_get error when appending lines in popup window.
33693Solution: Only update w_topline when w_buffer matches curbuf.
33694 (closes #11074)
33695
33696Patch 9.0.0417
33697Problem: Jsonnet files are not recognized.
33698Solution: Add a pattern for Jsonnet files. (Cezary Drożak, closes #11073,
33699 closes #11081)
33700
33701Patch 9.0.0418
33702Problem: Manually deleting temp test files.
33703Solution: Use the 'D' flag of writefile() and mkdir().
33704
33705Patch 9.0.0419
33706Problem: The :defer command does not check the function argument count and
33707 types.
33708Solution: Check the function arguments when adding a deferred function.
33709
33710Patch 9.0.0420
33711Problem: Function went missing.
33712Solution: Add the function back.
33713
33714Patch 9.0.0421
33715Problem: MS-Windows makefiles are inconsistently named.
33716Solution: Use consistent names. (Ken Takata, closes #11088)
33717
33718Patch 9.0.0422
33719Problem: Not enough testing of the :all command.
33720Solution: Add more testing. (Yegappan Lakshmanan, closes #11091)
33721
33722Patch 9.0.0423
33723Problem: "for" and "while" not recognized after :vim9cmd and :legacy.
33724 (Emanuele Torre)
33725Solution: Recognize all the command modifiers. (closes #11087)
33726 Add a test to check the list of modifiers.
33727
33728Patch 9.0.0424
33729Problem: gitattributes files are not recognized.
33730Solution: Add patterns to match gitattributes files. (closes #11085)
33731
33732Patch 9.0.0425
33733Problem: Autocmd test is a bit flaky on MS-Windows.
33734Solution: Add a bit more sleeping. (Ken Takata, closes #11095)
33735
33736Patch 9.0.0426
33737Problem: Failed flaky tests reports only start time.
33738Solution: Also report the end time.
33739
33740Patch 9.0.0427
33741Problem: Drupal theme files are not recognized.
33742Solution: Use php filetype for Drupl theme files. Remove trailing spaces.
33743 (Rodrigo Aguilera, closes #11096)
33744
33745Patch 9.0.0428
33746Problem: Autocmd test uses common file name.
33747Solution: Use unique name to reduce flakiness.
33748
33749Patch 9.0.0429
33750Problem: Not all keys are tested for the MS-Windows GUI.
33751Solution: Add more key codes to the list. (Yegappan Lakshmanan,
33752 closes #11097)
33753
33754Patch 9.0.0430
33755Problem: Cannot use repeat() with a blob.
33756Solution: Implement blob repeat. (closes #11090)
33757
33758Patch 9.0.0431
33759Problem: Current mode shows in message window.
33760Solution: Reset in_echowindow before redrawing. (issue #11094)
33761
33762Patch 9.0.0432
33763Problem: Crash when using for loop variable in closure.
33764Solution: Check that the variable wasn't deleted. (issue #11094)
33765
33766Patch 9.0.0433
33767Problem: Coverity warns for not checking allocation failure.
33768Solution: Check that allocating a list or blob succeeded.
33769
33770Patch 9.0.0434
33771Problem: gitignore files are not recognized.
33772Solution: Add patterns for the gitignore filetype. (closes #11102)
33773
33774Patch 9.0.0435
33775Problem: Compiler warning for uninitialized variable.
33776Solution: Initialize it.
33777
33778Patch 9.0.0436
33779Problem: CI: running tests in parallel causes flakiness.
33780Solution: Reorganize the MS-Windows runs. (Ken Takata, closes #11101)
33781
33782Patch 9.0.0437
33783Problem: No error when a custom completion function returns something else
33784 than the expected list.
33785Solution: Give an error. (closes #11100)
33786
33787Patch 9.0.0438
33788Problem: Cannot put virtual text above a line.
33789Solution: Add the "above" value for "text_align".
33790
33791Patch 9.0.0439
33792Problem: Cursor wrong if inserting before line with virtual text above.
33793Solution: Add the width of the "above" virtual text to the cursor position.
33794 (issue #11084)
33795
33796Patch 9.0.0440
33797Problem: Crash when using mkdir() with "R" flag in compiled function.
33798Solution: Reserve a variable for deferred function calls. Handle more than
33799 one argument.
33800
33801Patch 9.0.0441
33802Problem: Closure in for loop test fails on some systems.
33803Solution: Do not wait for the ruler to show up. (issue #11106)
33804
33805Patch 9.0.0442
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010033806Problem: Virtual text "above" doesn't handle line numbers.
Christian Brabandt5872bcb2023-12-19 20:10:43 +010033807Solution: Take the left column offset into account. (issue #11084)
33808 Also make padding work.
33809
33810Patch 9.0.0443
33811Problem: Blueprint files are not recognized.
33812Solution: Add a pattern for blueprint files. (Gabriele Musco, closes #11107)
33813
33814Patch 9.0.0444
33815Problem: Trying to declare g:variable gives confusing error.
33816Solution: Give a better error message. (closes #11108)
33817
33818Patch 9.0.0445
33819Problem: When opening/closing window text moves up/down.
33820Solution: Add the 'splitscroll' option. When off text will keep its
33821 position as much as possible.
33822
33823Patch 9.0.0446
33824Problem: Message window may be positioned too low.
33825Solution: Compute cmdline_row before computing the position.
33826
33827Patch 9.0.0447
33828Problem: Using :echowin while at the hit-enter prompt causes problems.
33829Solution: Do not prompt for :echowin. Postpone showing the message window.
33830 Start the timer when the window is displayed.
33831
33832Patch 9.0.0448
33833Problem: SubRip files are not recognized.
33834Solution: Add a pattern for SubRip. (closes #11113)
33835
33836Patch 9.0.0449
33837Problem: There is no easy way to translate a string with a key code into a
33838 readable string.
33839Solution: Add the keytrans() function. (closes #11114)
33840
33841Patch 9.0.0450
33842Problem: Return value of argument check functions is inconsistent.
33843Solution: Return OK/FAIL instead of TRUE/FALSE. (closes #11112)
33844
33845Patch 9.0.0451
33846Problem: Virtual text "above" does not work with 'nowrap'.
33847Solution: Do wrap the line after. (closes #11084)
33848
33849Patch 9.0.0452
33850Problem: Visual highlighting extends into virtual text prop.
33851Solution: Do not highlight what isn't actually selected. Fix ordering of
33852 stored text props.
33853
33854Patch 9.0.0453
33855Problem: On an AZERTY keyboard digit keys get the shift modifier.
33856Solution: Remove the shift modifier from digit keys. (closes #11109)
33857
33858Patch 9.0.0454
33859Problem: Incorrect color for modeless selection with GTK.
33860Solution: Use simple inversion instead of XOR. (closes #11111)
33861
33862Patch 9.0.0455
33863Problem: A few problems with 'splitscroll'.
33864Solution: Fix 'splitscroll' problems. (Luuk van Baal, closes #11117)
33865
33866Patch 9.0.0456
33867Problem: Function called at debug prompt is also debugged.
33868Solution: Reset the debug level while entering the debug command.
33869 (closes #11118)
33870
33871Patch 9.0.0457
33872Problem: Substitute prompt does not highlight an empty match.
33873Solution: Highlight at least one character.
33874
33875Patch 9.0.0458
33876Problem: Splitting a line with a text prop "above" moves it to a new line
33877 below.
33878Solution: Keep an "above" text prop above the first line.
33879
33880Patch 9.0.0459
33881Problem: Vim9: block in for loop doesn't behave like a code block.
33882Solution: Use a new block ID for each loop at the script level.
33883
33884Patch 9.0.0460
33885Problem: Loop variable can't be found.
33886Solution: Adjust block_id of the loop variable each round.
33887
33888Patch 9.0.0461
33889Problem: 'scroll' is not always updated.
33890Solution: Call win_init_size() at the right place.
33891
33892Patch 9.0.0462
33893Problem: ASAN warning for integer overflow.
33894Solution: Check for tp_col to be MAXCOL.
33895
33896Patch 9.0.0463
33897Problem: Command line test leaves directory behind.
33898Solution: Use the "R" flag on the first mkdir(). (Dominique Pellé,
33899 closes #11127)
33900
33901Patch 9.0.0464
33902Problem: With virtual text "above" indenting doesn't work well.
33903Solution: Ignore text properties while adjusting indent. (issue #11084)
33904
33905Patch 9.0.0465
33906Problem: Cursor moves when cmdwin is closed when 'splitscroll' is off.
33907Solution: Temporarily set 'splitscroll' when jumping back to the original
33908 window. (closes #11128)
33909
33910Patch 9.0.0466
33911Problem: Virtual text wrong after adding line break after line.
33912Solution: Pass an "eol" flag to where text properties are adjusted.
33913 (closes #11131)
33914
33915Patch 9.0.0467
33916Problem: Build failure.
33917Solution: Add missing change.
33918
33919Patch 9.0.0468
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010033920Problem: Execution stack underflow without the +eval feature. (Dominique
Christian Brabandt5872bcb2023-12-19 20:10:43 +010033921 Pellé)
33922Solution: Add to execution stack without FEAT_EVAL. (closes #11135)
33923
33924Patch 9.0.0469
33925Problem: Cursor moves if cmdwin is closed when 'splitscroll' is off.
33926Solution: Skip win_fix_cursor if called when cmdwin is open or closing.
33927 (Luuk van Baal, closes #11134)
33928
33929Patch 9.0.0470
33930Problem: In a :def function all closures in a loop get the same variables.
33931Solution: When in a loop and a closure refers to a variable declared in the
33932 loop, prepare for making a copy of variables for each closure.
33933
33934Patch 9.0.0471
33935Problem: No test for what patch 9.0.0469 fixes.
33936Solution: Add a test. (closes #11140)
33937
33938Patch 9.0.0472
33939Problem: Virtual text "below" doesn't show in list mode.
33940Solution: Reset lcs_eol_one when displaying text property.
33941
33942Patch 9.0.0473
33943Problem: fullcommand() only works for the current script version.
33944Solution: Add an optional argument for the script version.
33945
33946Patch 9.0.0474
33947Problem: fullcommand() test failure.
33948Solution: Update function table.
33949
33950Patch 9.0.0475
33951Problem: Not using deferred delete in tests.
33952Solution: Use deferred delete more often.
33953
33954Patch 9.0.0476
33955Problem: Varargs does not work for replacement function of substitute().
33956Solution: Check the varargs flag of the function. (closes #11142)
33957
33958Patch 9.0.0477
33959Problem: Missing dependency may cause crashes on incomplete build.
33960Solution: Add dependency.
33961
33962Patch 9.0.0478
33963Problem: Test for 'splitscroll' takes too much time.
33964Solution: Only test some of the combinations. (Luuk van Baal, closes #11139)
33965
33966Patch 9.0.0479
33967Problem: In a :def function all closures in a loop get the same variables.
33968Solution: Use a separate list of variables for LOADOUTER and SAVEOUTER.
33969
33970Patch 9.0.0480
33971Problem: Cannot use a :def varargs function with substitute().
33972Solution: Use has_varargs(). (closes #11146)
33973
33974Patch 9.0.0481
33975Problem: In a :def function all closures in a loop get the same variables.
33976Solution: Use a separate list of variables for LOADOUTER and STOREOUTER.
33977 Not copied at end of loop yet.
33978
33979Patch 9.0.0482
33980Problem: "g0" moves to wrong location with virtual text "above".
33981Solution: Compensate for the extra columns. (closes #11141) Also fix "g$"
33982
33983Patch 9.0.0483
33984Problem: Illegal memory access when replacing in virtualedit mode.
33985Solution: Check for replacing NUL after Tab.
33986
33987Patch 9.0.0484
33988Problem: In a :def function all closures in a loop get the same variables.
33989Solution: Add ENDLOOP at break, continue and return if needed.
33990
33991Patch 9.0.0485
33992Problem: In a :def function all closures in a loop get the same variables.
33993Solution: Make a copy of loop variables used in a closure.
33994
33995Patch 9.0.0486
33996Problem: Text scrolled with 'nosplitscroll', autocmd win opened and help
33997 window closed.
33998Solution: Skip win_fix_scroll() in more situations. (Luuk van Baal,
33999 closes #11150)
34000
34001Patch 9.0.0487
34002Problem: Using freed memory with combination of closures.
34003Solution: Do not use a partial after it has been freed through the
34004 funcstack.
34005
34006Patch 9.0.0488
34007Problem: Cursor in wrong position with virtual text "above" and
34008 'showbreak'.
34009Solution: Take the first character column into account. (closes #11149)
34010
34011Patch 9.0.0489
34012Problem: Using "end_lnum" with virtual text causes problems.
34013Solution: Disallow using "end_lnum" with virtual text. (closes #11151)
34014 Also disallow "end_col" and "length".
34015
34016Patch 9.0.0490
34017Problem: Using freed memory with cmdwin and BufEnter autocmd.
34018Solution: Make sure pointer to b_p_iminsert is still valid.
34019
34020Patch 9.0.0491
34021Problem: No good reason to build without the float feature.
34022Solution: Remove configure check for float and "#ifdef FEAT_FLOAT".
34023
34024Patch 9.0.0492
34025Problem: Cmdwin test fails on MS-Windows.
34026Solution: Skip test on MS-Windows.
34027
34028Patch 9.0.0493
34029Problem: Perl test fails.
34030Solution: Remove remaining FEAT_EVAL.
34031
34032Patch 9.0.0494
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010034033Problem: Small build misses float function declarations.
Christian Brabandt5872bcb2023-12-19 20:10:43 +010034034Solution: Adjust #ifdefs.
34035
34036Patch 9.0.0495
34037Problem: Closure doesn't work properly in nested loop.
34038Solution: Save variables up to the outer loop.
34039
34040Patch 9.0.0496
34041Problem: No good reason to keep supporting Windows-XP.
34042Solution: Drop Windows-XP support. (Ken Takata, closes #11089)
34043
34044Patch 9.0.0497
34045Problem: LyRiCs files are not recognized.
34046Solution: Add a pattern to detect LyRiCs files. (closes #11155)
34047
34048Patch 9.0.0498
34049Problem: Various small issues.
34050Solution: Various small fixes.
34051
34052Patch 9.0.0499
34053Problem: In :def function list created after const is locked.
34054Solution: Reset v_lock. (closes #11154)
34055
34056Patch 9.0.0500
34057Problem: When quitting the cmdline window with CTRL-C it remains visible.
34058Solution: Redraw to avoid confusion. Adjust the error message.
34059 (closes #11152) Adjust the cursor position after CTRL-C.
34060
34061Patch 9.0.0501
34062Problem: Warning for using uninitialized value in mouse test.
34063Solution: Clear ScreenCols when allocating it. (Dominique Pellé)
34064
34065Patch 9.0.0502
34066Problem: A closure in a nested loop in a :def function does not work.
34067Solution: Use an array of loopvars, one per loop level.
34068
34069Patch 9.0.0503
34070Problem: Build failure.
34071Solution: Add missing changes.
34072
34073Patch 9.0.0504
34074Problem: still a Build failure.
34075Solution: Add another missing changes. Avoid compiler warning.
34076
34077Patch 9.0.0505
34078Problem: Various problems with 'nosplitscroll'.
34079Solution: Fix 'nosplitscroll' problems. (Luuk van Baal, closes #11166)
34080
34081Patch 9.0.0506
34082Problem: Line number argument for :badd does not work.
34083Solution: Set the last cursor position in the new buffer. (closes #11161)
34084
34085Patch 9.0.0507
34086Problem: Command line cleared when using :redrawstatus in CmdlineChanged
34087 autocommand event.
34088Solution: Postpone the redraw. (closes #11162)
34089
34090Patch 9.0.0508
34091Problem: When the channel test fails there is no clue why.
34092Solution: Add info about the job status. (Ken Takata, closes #11175)
34093
34094Patch 9.0.0509
34095Problem: Confusing error for "saveas" command with "nofile" buffer.
34096Solution: Give a clearer error message. (closes #11171)
34097
34098Patch 9.0.0510
34099Problem: Chatito files are not recognized.
34100Solution: Add a pattern for Chatito files. (closes #11174)
34101
34102Patch 9.0.0511
34103Problem: Unnecessary scrolling for message of only one line.
34104Solution: Only set msg_scroll when needed. (closes #11178)
34105
34106Patch 9.0.0512
34107Problem: Cannot redraw the status lines when editing a command.
34108Solution: Only postpone the redraw when messages have scrolled.
34109 (closes #11170)
34110
34111Patch 9.0.0513
34112Problem: May not be able to use a pattern ad the debug prompt.
34113Solution: Temporarily disable the timeout. (closes #11164)
34114
34115Patch 9.0.0514
34116Problem: Terminal test sometimes hangs.
34117Solution: Add a bit more information to the test output. (issue #11179)
34118
34119Patch 9.0.0515
34120Problem: Virtual text highlight starts too early when 'number' is set.
34121Solution: Set column offset when wrapping. (issue #11138)
34122
34123Patch 9.0.0516
34124Problem: Virtual text "above" highlights gap after it.
34125Solution: Do not highlight the gap. (closes #11138)
34126
34127Patch 9.0.0517
34128Problem: When at the command line :redrawstatus does not work well.
34129Solution: Only update the statuslines instead of the screen. (closes #11180)
34130
34131Patch 9.0.0518
34132Problem: Virtual text highlight starts too early with 'nowrap' and 'number'
34133 set.
34134Solution: Add the offset to the attribute skip count. (issue #11138)
34135
34136Patch 9.0.0519
34137Problem: The win_line() function is much too long.
34138Solution: Move the code to draw the line number to a separate function.
34139
34140Patch 9.0.0520
34141Problem: Declaring a loop variable at the start of a block is clumsy.
34142Solution: Declare the variable inside the loop in a few places to see if
34143 this works.
34144
34145Patch 9.0.0521
34146Problem: Compiler warns for unused argument in small version.
34147Solution: Add UNUSED.
34148
34149Patch 9.0.0522
34150Problem: Build fails on Appveyor.
34151Solution: Select Visual Studio 2015 for the build tools.
34152
34153Patch 9.0.0523
34154Problem: more compiler warnings for arguments in small version
34155Solution: Adjust #ifdefs.
34156
34157Patch 9.0.0524
34158Problem: Build instructions for MS-Windows are outdated.
34159Solution: Remove instructions for old MSVC versions.
34160
34161Patch 9.0.0525
34162Problem: Manually deleting temp test files.
34163Solution: Add the 'D' flag to writefile().
34164
34165Patch 9.0.0526
34166Problem: MS-Windows: still some support for XP and old compilers.
34167Solution: Remove XP support and mention of old compilers. (Ken Takata,
34168 closes #11183)
34169
34170Patch 9.0.0527
34171Problem: Long sign text may overflow buffer.
34172Solution: Use a larger buffer. Prevent for overflow.
34173
34174Patch 9.0.0528
34175Problem: MS-Windows: no batch files for more recent MSVC versions.
34176Solution: Add batch files for 2017, 2019 and 2022. (Ken Takata,
34177 closes #11184)
34178
34179Patch 9.0.0529
34180Problem: Appveyor setup contains outdated lines.
34181Solution: Remove outdated lines. (Ken Takata, closes #11182)
34182
34183Patch 9.0.0530
34184Problem: Using freed memory when autocmd changes mark.
34185Solution: Copy the mark before editing another buffer.
34186
34187Patch 9.0.0531
34188Problem: The win_line() function is much too long.
34189Solution: Move code to separate functions.
34190
34191Patch 9.0.0532
34192Problem: Edit test is flaky when run under valgrind.
34193Solution: Send some text to the terminal to trigger a redraw.
34194
34195Patch 9.0.0533
34196Problem: The win_line() function is much too long.
34197Solution: Move code to separate functions.
34198
34199Patch 9.0.0534
34200Problem: Line number is displayed at virtual text "above".
34201Solution: Show the line number at the text line.
34202
34203Patch 9.0.0535
34204Problem: Closure gets wrong value in for loop with two loop variables.
34205Solution: Correctly compute the number of loop variables to clear.
34206
34207Patch 9.0.0536
34208Problem: CI: codecov action update available.
34209Solution: Update Codecov 3.1.0 to 3.3.1. (closes #11188)
34210
34211Patch 9.0.0537
34212Problem: The do_set() function is much too long.
34213Solution: Move setting of a string option to a separate function.
34214
34215Patch 9.0.0538
34216Problem: Manually deleting test temp files.
34217Solution: Add the 'D' flag to writefile().
34218
34219Patch 9.0.0539
34220Problem: Long message test can be flaky.
34221Solution: Wait for more prompt instead of ruler.
34222
34223Patch 9.0.0540
34224Problem: Assigning stack variable to argument confuses Coverity.
34225Solution: Use a local pointer, also makes the code simpler.
34226
34227Patch 9.0.0541
34228Problem: Terminal pwd test fails with a very long path name.
34229Solution: Join two lines.
34230
34231Patch 9.0.0542
34232Problem: MSVC build still has support for 2012 edition.
34233Solution: Drop MSVC 2012 support. (Ken Takata, closes #11191)
34234
34235Patch 9.0.0543
34236Problem: Insufficient testing for assert and test functions.
34237Solution: Add a few more tests. (Yegappan Lakshmanan, closes #11190)
34238
34239Patch 9.0.0544
34240Problem: Minor issues with setting a string option.
34241Solution: Adjust the code, add a test. (closes #11192)
34242
34243Patch 9.0.0545
34244Problem: When a test is slow and CI times out there is no time info.
34245Solution: Add the elapsed time to the "Executing" message.
34246
34247Patch 9.0.0546
34248Problem: Supporting Ruby 1.8 makes code complicated.
34249Solution: Drop Ruby 1.8 support, it is ancient. (Ken Takata, closes #11195)
34250
34251Patch 9.0.0547
34252Problem: Looping over empty out_loop[] entries.
34253Solution: Store the array size.
34254
34255Patch 9.0.0548
34256Problem: reduce() with a compiled lambda could be faster.
34257Solution: Call eval_expr_typval() instead of call_func() directly.
34258
34259Patch 9.0.0549
34260Problem: Duplicated code in calling a :def function.
34261Solution: Simplify the code.
34262
34263Patch 9.0.0550
34264Problem: Crash when closing a tabpage and buffer is NULL.
34265Solution: Adjust how autocommands are triggered when closing a window.
34266 (closes #11198, closes #11197)
34267
34268Patch 9.0.0551
34269Problem: Mode message is delayed when :echowin was used. (Maxim Kim)
34270Solution: Save and restore msg_didout in :echowin. (closes #11193)
34271
34272Patch 9.0.0552
34273Problem: Crash when using NUL in buffer that uses :source.
34274Solution: Don't get a next line when skipping over NL.
34275
34276Patch 9.0.0553
K.Takata7b7672d2024-01-06 01:47:01 +090034277Problem: No error for "|" after "{" in lambda.
Christian Brabandt5872bcb2023-12-19 20:10:43 +010034278Solution: Check for invalid "|". (closes #11199)
34279
34280Patch 9.0.0554
34281Problem: Using freed memory when command follows lambda.
34282Solution: Don't free what is still in use. (closes #11201)
34283
34284Patch 9.0.0555
34285Problem: Scrolling with 'nosplitscroll' in callback changing curwin.
34286Solution: Invalidate w_cline_row in the right place. (Luuk van Baal,
34287 closes #11185)
34288
34289Patch 9.0.0556
34290Problem: Leaking memory with nested functions.
34291Solution: Free saved pointer.
34292
34293Patch 9.0.0557
34294Problem: Valgrind reports possibly leaked memory.
34295Solution: Move the problematic test function to the "fails" test file to
34296 avoid obscuring real memory leaks.
34297
34298Patch 9.0.0558
34299Problem: Coverity warns for possibly using NULL pointer.
34300Solution: Only use "evalarg" when not NULL.
34301
34302Patch 9.0.0559
34303Problem: Timer test may get stuck at hit-enter prompt.
34304Solution: Feed some more characters.
34305
34306Patch 9.0.0560
34307Problem: Elapsed time since testing started is not visible.
34308Solution: Show the elapsed time while running tests.
34309
34310Patch 9.0.0561
34311Problem: When a test gets stuck it just hangs forever.
34312Solution: Set a timeout of 30 seconds.
34313
34314Patch 9.0.0562
34315Problem: HSL playlist files are not recognized.
K.Takata7b7672d2024-01-06 01:47:01 +090034316Solution: Add a pattern to recognize HSL playlist files. (Benoît Ryder,
Christian Brabandt5872bcb2023-12-19 20:10:43 +010034317 closes #11204)
34318
34319Patch 9.0.0563
34320Problem: Timer_info() test fails.
34321Solution: Ignore test timeout timer. Don't use test_null_job() when not
34322 available.
34323
34324Patch 9.0.0564
34325Problem: A few tests keep failing on MacOS M1.
34326Solution: Add a test check CheckNotMacM1. Fix timer tests.
34327
34328Patch 9.0.0565
34329Problem: Cscope test causes problems when code for test timeout timer is
34330 included (even when commented out).
34331Solution: Disable part of the cscope test for now.
34332
34333Patch 9.0.0566
34334Problem: Nim files are not recognized.
34335Solution: Add patterns for Nim files. (Nbiba Bedis, closes #11205)
34336
34337Patch 9.0.0567
34338Problem: 'completeopt' "longest" is not used for complete().
34339Solution: Also use "longest" for complete(). (Bjorn Linse, closes #11206)
34340
34341Patch 9.0.0568
34342Problem: Autocmd code is indented more than needed.
34343Solution: Break out sooner. (Yegappan Lakshmanan, closes #11208)
34344 Also in user function code.
34345
34346Patch 9.0.0569
34347Problem: Cannot easily get out when using "vim file | grep word".
34348Solution: Without changes let CTRL-C exit Vim. Otherwise give a message on
34349 stderr. (closes #11209)
34350
34351Patch 9.0.0570
34352Problem: CI for Windows is still using codecov action 3.1.0.
34353Solution: Use action 3.1.1. (closes #11212)
34354
34355Patch 9.0.0571
34356Problem: MS-Windows: CTRL-C can make Vim exit.
34357Solution: Check the not-a-term argument.
34358
34359Patch 9.0.0572
34360Problem: Insert complete tests leave a mapping behind.
34361Solution: Use a buffer-local mapping. (closes #11211)
34362
34363Patch 9.0.0573
34364Problem: Outdated dependencies go unnoticed.
34365Solution: Use github Dependabot. (closes #11213)
34366
34367Patch 9.0.0574
34368Problem: Timer garbage collect test hangs on Mac M1.
34369Solution: Properly check for Mac M1 and skip the test.
34370
34371Patch 9.0.0575
34372Problem: The getchar() function behaves strangely with bracketed paste.
34373Solution: Do not handle paste-start in getchar(). (issue #11172)
34374
34375Patch 9.0.0576
34376Problem: Unused loop variables.
34377Solution: Use a while loop instead. (closes #11214)
34378
34379Patch 9.0.0577
34380Problem: Buffer underflow with unexpected :finally.
34381Solution: Check CSF_TRY can be found.
34382
34383Patch 9.0.0578
34384Problem: One timer test fails on Mac M1.
34385Solution: Skip the test on Mac M1.
34386
34387Patch 9.0.0579
34388Problem: Using freed memory when 'tagfunc' wipes out buffer that holds
34389 'complete'.
34390Solution: Make a copy of the option. Make sure cursor position is valid.
34391
34392Patch 9.0.0580
34393Problem: No CI running for MacOS on M1.
34394Solution: Add a cirrus CI task. (closes #11203)
34395
34396Patch 9.0.0581
34397Problem: Adding a character for incsearch fails at end of line.
34398Solution: Only check cursor line number.
34399
34400Patch 9.0.0582
34401Problem: Channel cwd test fails on Cirrus CI.
34402Solution: Also remove /private from the expected directory.
34403
34404Patch 9.0.0583
34405Problem: Only recognizing .m3u8 files is inconsistent.
K.Takata7b7672d2024-01-06 01:47:01 +090034406Solution: Also match .m3u files. (issue #11204)
Christian Brabandt5872bcb2023-12-19 20:10:43 +010034407
34408Patch 9.0.0584
34409Problem: Cscope test with wrong executable name fails.
34410Solution: Use /bin/sh to execute the command. (Yegappan Lakshmanan)
34411
34412Patch 9.0.0585
34413Problem: When long message test fails the error message is not visible.
34414Solution: Dump more lines.
34415
34416Patch 9.0.0586
34417Problem: Missing change in test.
34418Solution: Add the test change.
34419
34420Patch 9.0.0587
34421Problem: Unicode tables are outdated.
34422Solution: Update to Unicode release 15. (Christian Brabandt, closes #11220)
34423
34424Patch 9.0.0588
34425Problem: MorphOS build is broken.
34426Solution: Add "-lm" to LDFLAGS and "-noixemul" to CFLAGS. (Ola Söder,
34427 closes #11222)
34428
34429Patch 9.0.0589
34430Problem: On AmigaOS4 the pid is available but the task address is used.
34431Solution: Use getpid(). (Ola Söder, closes #11224)
34432
34433Patch 9.0.0590
34434Problem: After exiting Insert mode spelling is not checked in the next
34435 line.
34436Solution: When spelling is enabled redraw the next line after exiting Insert
34437 mode in case the spell highlight needs updating.
34438
34439Patch 9.0.0591
34440Problem: Message window popup shows on only one tab page. (Naruhiko
34441 Nishino)
34442Solution: Show the message window popup on all tab pages. (closes #11231)
34443
34444Patch 9.0.0592
34445Problem: Display not cleared when scrolling back in messages, a background
34446 color is set and t_ut is empty.
34447Solution: Clear to the end of the display if needed. (closes #8973)
34448
34449Patch 9.0.0593
34450Problem: CI actions have too many permissions.
34451Solution: Restrict permissions to what is required. (closes #11223)
34452
34453Patch 9.0.0594
34454Problem: Makefile error message causes a shell error.
34455Solution: Put the message in single quotes. (closes #11232)
34456
34457Patch 9.0.0595
34458Problem: Extra newline in messages after a verbose shell message.
34459Solution: Output the newline with msg_putchar_attr(). (closes #11233)
34460 Make it possible to filter a screendump before comparing it.
34461
34462Patch 9.0.0596
34463Problem: CI on Mac M1 has the channel feature disabled.
34464Solution: Include the channel feature.
34465
34466Patch 9.0.0597
34467Problem: Cannot close a tab page with the middle mouse button.
34468Solution: Support closing a tab page with the middle mouse button, like many
34469 other programs. (closes #10746)
34470
34471Patch 9.0.0598
34472Problem: Using negative array index with negative width window.
34473Solution: Make sure the window width does not become negative.
34474
34475Patch 9.0.0599
34476Problem: Latexmkrc files are not recognized.
34477Solution: Use Perl filetype for latexmkrc files. (closes #11241)
34478
34479Patch 9.0.0600
34480Problem: GYP files are not recognized.
34481Solution: Recognize GYP files. (closes #11242)
34482
34483Patch 9.0.0601
34484Problem: Too much indent.
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010034485Solution: Return out early from a function. (Yegappan Lakshmanan,
Christian Brabandt5872bcb2023-12-19 20:10:43 +010034486 close #11238)
34487
34488Patch 9.0.0602
34489Problem: New TypeScript extensions are not recognized.
34490Solution: Recognize .mts and .cts files. (closes #11237)
34491
34492Patch 9.0.0603
34493Problem: With 'nosplitscroll' folds are not handled correctly.
34494Solution: Take care of closed folds when moving the cursor. (Luuk van Baal,
34495 closes #11234)
34496
34497Patch 9.0.0604
34498Problem: Luacheckrc file is not recognized.
34499Solution: Use lua filetype for luacheckrc. (closes #11236)
34500
34501Patch 9.0.0605
34502Problem: Dump file missing.
34503Solution: Add the missing dump file. (issue #11234)
34504
34505Patch 9.0.0606
34506Problem: system() opens a terminal window when using the GUI and "!" is in
34507 'guioptions'.
34508Solution: Do not use a terminal window when the SHELL_SILENT flag is used.
34509 (closes #11202)
34510
34511Patch 9.0.0607
34512Problem: Verbose echo message test fails on Mac OS.
34513Solution: Skip the test on Mac OS.
34514
34515Patch 9.0.0608
34516Problem: With spell checking, deleting a full stop at the end of a line
34517 does not update SpellCap at the start of the next line.
34518Solution: Update the next line when characters have been deleted. Also when
34519 using undo.
34520
34521Patch 9.0.0609
34522Problem: Blockedit test fails because of wrong indent.
34523Solution: Adjust the expected text temporarily
34524
34525Patch 9.0.0610
34526Problem: Global interrupt test fails when run under valgrind.
34527Solution: Use TermWait().
34528
34529Patch 9.0.0611
34530Problem: Tests delete files with a separate delete() call.
34531Solution: Use deferred delete.
34532
34533Patch 9.0.0612
34534Problem: Blockedit test passes with wrong result.
34535Solution: Add a "vim9script" line to make indenting work.
34536
34537Patch 9.0.0613
34538Problem: Running source tests leaves file behind.
34539Solution: Add the "D" flag to writefile(). (Dominique Pellé, closes #11243)
34540 Also do this for other writefile() calls and drop delete().
34541
34542Patch 9.0.0614
34543Problem: SpellFileMissing autocmd may delete buffer.
34544Solution: Disallow deleting the current buffer to avoid using freed memory.
34545
34546Patch 9.0.0615
34547Problem: Using reduce() on a list from range() is a bit slow.
34548Solution: Avoid materializing the list.
34549
34550Patch 9.0.0616
34551Problem: Spell test fails because error message changed.
34552Solution: Adjust expected error message.
34553
34554Patch 9.0.0617
34555Problem: Calling function for reduce() has too much overhead.
34556Solution: Only call clear_tv() when needed.
34557
34558Patch 9.0.0618
34559Problem: Calling function for reduce() has too much overhead.
34560Solution: Do not create a funccall_T every time.
34561
34562Patch 9.0.0619
34563Problem: Too many delete() calls in tests.
34564Solution: Use deferred delete where possible.
34565
34566Patch 9.0.0620
34567Problem: matchaddpos() can only add up to 8 matches.
34568Solution: Allocate the array of positions. (closes #11248)
34569
34570Patch 9.0.0621
34571Problem: Filetype test leaves file behind.
34572Solution: Add deferred delete flag to writefile(). (Dominique Pellé,
34573 closes #11249)
34574
34575Patch 9.0.0622
34576Problem: matchaddpos() can get slow when adding many matches.
34577Solution: Update the next available match ID when manually picking an ID and
34578 remove check if the available ID can be used. (idea by Rick Howe)
34579
34580Patch 9.0.0623
34581Problem: Error for modifying a const is not detected at compile time.
34582Solution: Add TTFLAG_CONST and check for it in add() and extend().
34583
34584Patch 9.0.0624
34585Problem: Leaking argument type array.
34586Solution: Add allocated memory to type_gap.
34587
34588Patch 9.0.0625
34589Problem: Too many delete() calls in tests.
34590Solution: Use deferred delete where possible.
34591
34592Patch 9.0.0626
34593Problem: Too many delete() calls in tests.
34594Solution: Use deferred delete where possible.
34595
34596Patch 9.0.0627
34597Problem: "const" and "final" both make the type a constant. (Daniel
34598 Steinberg)
34599Solution: Only have "const" make the type a constant.
34600
34601Patch 9.0.0628
34602Problem: Coverity warns for not checking return value.
34603Solution: Check the return value and simplify the code.
34604
34605Patch 9.0.0629
34606Problem: Get an error for using const only when executing.
34607Solution: Check for const at compile time for filter(), map(), remove(),
34608 reverse(), sort() and uniq().
34609
34610Patch 9.0.0630
34611Problem: In Vim9 script a numbered function cannot be called.
34612Solution: Do not require "g:" before a numbered function name.
34613 (closes #11254)
34614
34615Patch 9.0.0631
34616Problem: Too many delete() calls in tests.
34617Solution: Use deferred delete where possible.
34618
34619Patch 9.0.0632
34620Problem: Calling a function from an "expr" option has too much overhead.
34621Solution: Add call_simple_func() and use it for 'foldexpr'
34622
34623Patch 9.0.0633
34624Problem: FEAT_TITLE was removed but is still used.
34625Solution: Remove FEAT_TITLE. (Naruhiko Nishino, closes #11256)
34626
34627Patch 9.0.0634
34628Problem: Evaluating "expr" options has more overhead than needed.
34629Solution: Use call_simple_func() for 'foldtext', 'includeexpr', 'printexpr',
34630 "expr" of 'spellsuggest', 'diffexpr', 'patchexpr', 'balloonexpr',
34631 'formatexpr', 'indentexpr' and 'charconvert'.
34632
34633Patch 9.0.0635
34634Problem: Build error and compiler warnings.
34635Solution: Add missing change. Add type casts.
34636
34637Patch 9.0.0636
34638Problem: Underline color does not work in terminals that don't send a
34639 termresponse.
34640Solution: Do output t_8u if it was set explicitly. (closes #11253)
34641
34642Patch 9.0.0637
34643Problem: Syntax of commands in Vim9 script depends on +eval feature.
34644Solution: Use same syntax with and without the +eval feature.
34645
34646Patch 9.0.0638
34647Problem: Popup menu highlight wrong on top of preview popup. (Yegappan
34648 Lakshmanan)
34649Solution: Also check for the popup menu in screen_line().
34650
34651Patch 9.0.0639
34652Problem: Checking for popup in screen_char() is too late, the attribute has
34653 already been changed.
34654Solution: Move check for popup to where screen_char() is called.
34655
34656Patch 9.0.0640
34657Problem: Cannot scroll by screen line if a line wraps.
34658Solution: Add the 'smoothscroll' option. Only works for CTRL-E and CTRL-Y
34659 so far.
34660
34661Patch 9.0.0641
34662Problem: Missing part of the new option code.
34663Solution: Add missing WV_SMS.
34664
34665Patch 9.0.0642
34666Problem: Breakindent test fails.
34667Solution: Correct logic for resetting need_showbreak.
34668
34669Patch 9.0.0643
34670Problem: Smoothscroll test fails.
34671Solution: Check if skipcol changed.
34672
34673Patch 9.0.0644
34674Problem: 'smoothscroll' is not copied to a new window on :split.
34675Solution: Copy the option value. Add a test.
34676
34677Patch 9.0.0645
34678Problem: CTRL-Y does not stop at line 1. (John Marriott)
34679Solution: Stop at line 1 when 'smoothscroll' is not set. (closes #11261)
34680
34681Patch 9.0.0646
34682Problem: with 'smoothscroll' set CTRL-E does not work properly when
34683 'foldmethod' is set to "indent". (Yee Cheng Chin)
K.Takata7b7672d2024-01-06 01:47:01 +090034684Solution: Merge the code for scrolling with folds and 'smoothscroll'.
Christian Brabandt5872bcb2023-12-19 20:10:43 +010034685 (closes #11262)
34686
34687Patch 9.0.0647
34688Problem: The 'splitscroll' option is not a good name.
34689Solution: Rename 'splitscroll' to 'splitkeep' and make it a string option,
34690 also supporting "topline". (Luuk van Baal, closes #11258)
34691
34692Patch 9.0.0648
34693Problem: When using powershell input redirection does not work.
34694Solution: Use a different shell command for powershell. (Yegappan
34695 Lakshmanan, closes #11257)
34696
34697Patch 9.0.0649
34698Problem: No indication when the first line is broken for 'smoothscroll'.
34699Solution: Show "<<<" in the first line.
34700
34701Patch 9.0.0650
34702Problem: Some tests are failing.
34703Solution: Adjust for "<<<" showing up.
34704
34705Patch 9.0.0651
34706Problem: Build fails without the +conceal feature.
34707Solution: Rename called function.
34708
34709Patch 9.0.0652
34710Problem: 'smoothscroll' not tested with 'number' and "n" in 'cpo'.
34711Solution: Add tests, fix uncovered problem.
34712
34713Patch 9.0.0653
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010034714Problem: BS and DEL do not work properly in an interactive shell. (Gary
Christian Brabandt5872bcb2023-12-19 20:10:43 +010034715 Johnson)
34716Solution: Adjust the length for replaced codes.
34717
34718Patch 9.0.0654
34719Problem: Breakindent test fails.
34720Solution: Temporarily accept wrong result.
34721
34722Patch 9.0.0655
34723Problem: passing modifier codes to a shell running in the GUI. (Gary
34724 Johnson)
34725Solution: Include modifier codes into the key and drop the modifiers.
34726
34727Patch 9.0.0656
34728Problem: Cannot specify another character to use instead of '@' at the end
34729 of the window.
34730Solution: Add "lastline" to 'fillchars'. (Martin Tournoij, closes #11264,
34731 closes #10963)
34732
34733Patch 9.0.0657
34734Problem: Too many #ifdefs.
34735Solution: Graduate the +cmdwin feature. Now the tiny and small builds are
34736 equal, drop the small build. (Martin Tournoij, closes #11268)
34737
34738Patch 9.0.0658
34739Problem: Tiny build fails on Mac OS.
34740Solution: Define FEAT_CLIPBOARD only for normal build.
34741
34742Patch 9.0.0659
34743Problem: Wrong type of comment in SetSyn() function.
34744Solution: Use Vim9 comment. (closes #11278)
34745
34746Patch 9.0.0660
34747Problem: Mapping with CTRL keys does not work in the GUI.
34748Solution: Recognize CSI next to K_SPECIAL. (closes #11275, closes #11270)
34749
34750Patch 9.0.0661
34751Problem: Multi-byte "lastline" item in 'fillchars' does not work properly
34752 when the window is two columns wide.
34753Solution: Compute the text length correctly. (closes #11280)
34754
34755Patch 9.0.0662
34756Problem: Concealed characters do not work correctly.
34757Solution: Subtract boguscols instead of adding them. (closes #11273)
34758
34759Patch 9.0.0663
34760Problem: Tests check for +cmdwin feature which is always present.
34761Solution: Remove the checks. (closes #11287)
34762
34763Patch 9.0.0664
34764Problem: Bad redrawing with spell checking, using "C" and "$" in 'cpo'.
34765Solution: Do not redraw the next line when "$" is in 'cpo'. (closes #11285)
34766
34767Patch 9.0.0665
34768Problem: Setting 'cmdheight' has no effect if last window was resized.
34769Solution: Do apply 'cmdheight' when told to. Use the frame height instead
34770 of the cmdline_row. (closes #11286)
34771
34772Patch 9.0.0666
34773Problem: Spacing-combining characters handled as composing, causing text to
34774 take more space than expected.
34775Solution: Handle characters marked with "Mc" not as composing.
K.Takata7b7672d2024-01-06 01:47:01 +090034776 (closes #11282)
Christian Brabandt5872bcb2023-12-19 20:10:43 +010034777
34778Patch 9.0.0667
34779Problem: ml_get error when 'splitkeep' is "screen". (Marius Gedminas)
34780Solution: Check the botline is not too large. (Luuk van Baal,
34781 closes #11293, closes #11292)
34782
34783Patch 9.0.0668
34784Problem: CI on Mac M1 only uses clang
34785Solution: Also run with gcc. (closes #11263)
34786
34787Patch 9.0.0669
34788Problem: Too many delete() calls in tests.
34789Solution: Use deferred delete where possible.
34790
34791Patch 9.0.0670
34792Problem: No space for command line when there is a tabline.
34793Solution: Correct computation of where the command line should be.
34794 (closes #11295)
34795
34796Patch 9.0.0671
34797Problem: Negative topline using CTRL-Y with 'smoothscroll' and 'diff'.
34798 (Ernie Rael)
34799Solution: Only use 'smoothscroll' when 'wrap' is set.
34800
34801Patch 9.0.0672
34802Problem: Cursor line only partly shows with 'smoothscroll' and 'scrolloff'
34803 zero.
34804Solution: Do not use 'smoothscroll' when adjusting the bottom of the window.
34805 (closes #11269)
34806
34807Patch 9.0.0673
34808Problem: First line not scrolled properly with 'smoothscroll' and
34809 'scrolloff' zero and using "k".
34810Solution: Make sure the cursor position is visible.
34811
34812Patch 9.0.0674
34813Problem: Build error with tiny version.
34814Solution: Use PLINES_NOFILL macro.
34815
34816Patch 9.0.0675
34817Problem: Search test screendump is outdated.
34818Solution: Update the screendump for improved display.
34819
34820Patch 9.0.0676
34821Problem: CI on Mac M1 with gcc actually uses clang.
34822Solution: Remove the gcc task. (Ozaki Kiichi, closes #11297)
34823
34824Patch 9.0.0677
34825Problem: Breakindent test accepts wrong result.
34826Solution: Fix the number column and adjust the expected text.
34827
34828Patch 9.0.0678
34829Problem: Using exclamation marks on :function.
34830Solution: Use :func and :endfunc as usual.
34831
34832Patch 9.0.0679
34833Problem: Tests failing with 'smoothscroll', 'number' and "n" in 'cpo'.
34834Solution: Do not count number column in topline if columns are skipped.
34835
34836Patch 9.0.0680
34837Problem: Tests failing with 'breakindent', 'number' and "n" in 'cpo'.
34838Solution: Do count the number column in topline if 'breakindent' is set.
34839
34840Patch 9.0.0681
34841Problem: "<<<" shows for 'smoothscroll' even when 'showbreak is set.
34842Solution: When 'showbreak' is set do not display "<<<".
34843
34844Patch 9.0.0682
34845Problem: Crash when popup with deleted timer is closed. (Igbanam
34846 Ogbuluijah)
34847Solution: Check the timer still exists. (closes #11301)
34848
34849Patch 9.0.0683
34850Problem: Cannot specify a time for :echowindow.
34851Solution: A count can be used to specify the display time. Add
34852 popup_findecho().
34853
34854Patch 9.0.0684
34855Problem: Skipped :exe command fails compilation on MS-Windows.
34856Solution: Adjust return value when skipping.
34857
34858Patch 9.0.0685
34859Problem: FORTIFY_SOURCE causes a crash in Vim9 script.
34860Solution: Use a pointer to the first char. (Yee Cheng Chin, closes #11302)
34861
34862Patch 9.0.0686
34863Problem: The right ALT key does not work on some MS-Windows keyboards.
K.Takata7b7672d2024-01-06 01:47:01 +090034864Solution: Adjust the modifiers based on GetKeyState(). (Anton Sharonov,
Christian Brabandt5872bcb2023-12-19 20:10:43 +010034865 closes #11300)
34866
34867Patch 9.0.0687
34868Problem: "export def" does not work in a nested block.
34869Solution: Do not handle "export" with a separate function but in the same
34870 command stack. (closes #11304)
34871
34872Patch 9.0.0688
34873Problem: Debugger does not display the whole command.
34874Solution: Set ea.cmd before checking for a breakpoint.
34875
34876Patch 9.0.0689
34877Problem: Compiler warning for unused function.
34878Solution: Add #ifdef. (John Marriott)
34879
34880Patch 9.0.0690
34881Problem: Buffer size for expanding tab not correctly computed.
34882Solution: Correctly use size of end character.
34883
34884Patch 9.0.0691
34885Problem: lalloc(0) error in listchars test.
34886Solution: Skip generating text for tab if tab_len is zero.
34887
34888Patch 9.0.0692
34889Problem: PoE filter files are not recognized.
34890Solution: Add a pattern to detect PoE filter files. (closes #11305)
34891
34892Patch 9.0.0693
34893Problem: browse() first argument cannot be a bool.
34894Solution: Use tv_get_bool_chk() instead of tv_get_number_chk().
34895 (closes #11308)
34896
34897Patch 9.0.0694
34898Problem: No native sound support on Mac OS.
34899Solution: Add sound support for Mac OS. (Yee Cheng Chin, closes #11274)
34900
34901Patch 9.0.0695
34902Problem: Failing check for dictionary type for const any.
34903Solution: Check for any type properly. (closes #11310)
34904
34905Patch 9.0.0696
34906Problem: It is unclear if the +rightleft and +arabic features are actively
34907 being used.
34908Solution: Disable the features, await feedback.
34909
34910Patch 9.0.0697
34911Problem: Cursor in wrong position with Visual substitute.
34912Solution: When restoring 'linebreak' mark the virtual column as invalid.
34913 (closes #11309, closes #11311)
34914
34915Patch 9.0.0698
34916Problem: VisVim is outdated, does not work with current Visual Studio.
34917Solution: Remove VisVim. (Martin Tournoij)
34918
34919Patch 9.0.0699
34920Problem: Tiny build fails.
34921Solution: Add #ifdef.
34922
34923Patch 9.0.0700
34924Problem: There is no real need for a "big" build.
34925Solution: Move common features to "normal" build, less often used features
34926 to the "huge" build. (Martin Tournoij, closes #11283)
34927
34928Patch 9.0.0701
34929Problem: With 'smoothscroll' the cursor position s not adjusted in a long
34930 line.
34931Solution: Move the cursor further up or down in the line.
34932
34933Patch 9.0.0702
34934Problem: Incomplete testing cursor position after change with 'linebreak'
34935 set.
34936Solution: Add a test and move test cases together. (closes #11313)
34937
34938Patch 9.0.0703
34939Problem: Failing check for argument type for const any.
34940Solution: Check for any type properly. (closes #11316)
34941
34942Patch 9.0.0704
34943Problem: CI runs "tiny" and "small" builds, which are the same.
34944Solution: Remove the "small" build. (Naruhiko Nishino, closes #11315)
34945
34946Patch 9.0.0705
34947Problem: Virtual text truncation does not take padding into account.
34948Solution: Subtract the padding from the available space. (closes #11318)
34949
34950Patch 9.0.0706
34951Problem: :help in a narrow window always opens at the top.
34952Solution: Respect 'splitbelow'. (closes #11319)
34953
34954Patch 9.0.0707
34955Problem: With 'smoothscroll' and 'scrolloff' non-zero the cursor position
34956 is not properly adjusted in a long line.
34957Solution: Move the cursor further up or down in the line.
34958
34959Patch 9.0.0708
34960Problem: :confirm does not work properly for a terminal buffer.
34961Solution: Handle :confirm for a terminal buffer differently. (Yee Cheng
34962 Chin, closes #11312)
34963
34964Patch 9.0.0709
34965Problem: Virtual text "after" not correct with 'nowrap'.
34966Solution: Do not display "after" text prop on the next line when 'wrap' is
34967 off.
34968
34969Patch 9.0.0710
34970Problem: Quitting/unloading/hiding a terminal buffer does not always work
34971 properly.
34972Solution: Avoid that ":q!" leaves an empty buffer behind. ":bunload!" also
34973 kills the job and unloads the buffer. ":hide" does not unload the
34974 buffer. (Yee Cheng Chin, closes #11323)
34975
34976Patch 9.0.0711
34977Problem: SubStation Alpha files are not recognized.
34978Solution: Add patterns for SubStation Alpha files. (closes #11332)
34979
34980Patch 9.0.0712
34981Problem: Wrong column when calling setcursorcharpos() with zero lnum.
34982Solution: Set the line number before calling buf_charidx_to_byteidx().
34983 (closes #11329)
34984
34985Patch 9.0.0713
34986Problem: <amatch> of MenuPopup event is expanded like a file name.
34987Solution: Do not expand <amatch> for MenuPopup. (closes #11328)
34988
34989Patch 9.0.0714
34990Problem: With 'nowrap' two virtual text below not displayed correctly.
34991Solution: Set text_prop_follows before continuing. Correct for number
34992 column. (closes #11333)
34993
34994Patch 9.0.0715
34995Problem: Wrong argument for append() gives two error messages.
34996Solution: When getting an error for a number argument don't try using it as
34997 a string. (closes #11335)
34998
34999Patch 9.0.0716
35000Problem: With 'nowrap' virtual text "after" does not scroll left.
35001Solution: Skip part of the virtual text that is left of the window.
35002 (closes #11320) Fix going beyond the last column of the window.
35003
35004Patch 9.0.0717
35005Problem: Compiler warning for unused variable in tiny build.
35006Solution: Add #ifdefs.
35007
35008Patch 9.0.0718
35009Problem: Extra empty line between two virtual text "below" when 'wrap' and
35010 'number' are set.
35011Solution: Reset "before" when there is no text in the screen line.
35012 (closes #11334)
35013
35014Patch 9.0.0719
35015Problem: Too many delete() calls in tests.
35016Solution: Use deferred delete where possible.
35017
35018Patch 9.0.0720
35019Problem: MS-Windows GUI may have pixel dust from antialiasing.
35020Solution: When a character changes also redraw the next one. (issue #8532)
35021
35022Patch 9.0.0721
35023Problem: Virtual text "above" with padding not displayed correctly.
35024Solution: Take padding into account when truncating. (closes #11340)
35025
35026Patch 9.0.0722
35027Problem: Virtual text "after" does not show with 'list' set.
35028Solution: Do not break out of the loop when another text prop follows.
35029 (closes #11337)
35030
35031Patch 9.0.0723
35032Problem: Extra empty line below virtual text when 'list' is set.
35033Solution: Do not reset lcs_eol_one but set text_prop_follows. (closes #11339)
35034
35035Patch 9.0.0724
35036Problem: Closure in compiled function gets same variable in block.
35037Solution: At the end of a block to not always reset the variable count.
35038 (issue #11094)
35039
35040Patch 9.0.0725
35041Problem: Virtual text "after" wraps to next line even when 'wrap' is off
35042 and 'list' is set.
35043Solution: Do not use the minimum width when 'wrap' is off. (issue #11336)
35044
35045Patch 9.0.0726
35046Problem: Looping over list of lists and changing the list contents works in
35047 Vim9 script, not in a compiled function.
35048Solution: Mark the loop variable final instead of const. (closes #11347)
35049
35050Patch 9.0.0727
35051Problem: Help in the repository differs from patched version too much.
35052Solution: Make a patch for a few help files.
35053
35054Patch 9.0.0728
35055Problem: extend() test fails.
35056Solution: Item is final, not const.
35057
35058Patch 9.0.0729
35059Problem: The rightleft and arabic features are disabled.
35060Solution: Re-enable the features, some users want to use the functionality.
35061
35062Patch 9.0.0730
35063Problem: Startup test fails with right-left feature.
35064Solution: Do not delete test file too early.
35065
35066Patch 9.0.0731
35067Problem: clang-tidy configuration files are not recognized.
35068Solution: Recognize clang-tidy files as yaml. (closes #11350)
35069
35070Patch 9.0.0732
35071Problem: No check for white space before and after "=<<". (Doug Kearns)
35072Solution: Check for white space in Vim9 script. (closes #11351)
35073
35074Patch 9.0.0733
35075Problem: Use of strftime() is not safe.
35076Solution: Check the return value of strftime(). Use a larger buffer and
35077 correctly pass the available space. (Dominique Pellé, closes
35078 #11348)
35079
35080Patch 9.0.0734
35081Problem: Cursor position invalid when scrolling with 'smoothscroll' set.
35082 (Ernie Rael)
35083Solution: Add w_valid_skipcol and clear flags when it changes. Adjust
35084 w_skipcol after moving the cursor.
35085
35086Patch 9.0.0735
35087Problem: Breakindent and scrolloff tests fail.
35088Solution: Temporarily skip the assertions.
35089
35090Patch 9.0.0736
35091Problem: Quickfix listing does not handle very long messages.
35092Solution: Use a growarray instead of a fixed size buffer. (Yegappan
35093 Lakshmanan, closes #11357)
35094
35095Patch 9.0.0737
35096Problem: Lisp word only recognized when a space follows.
35097Solution: Also match a word at the end of a line. Rename the test. Use a
35098 compiled function to avoid backslashes.
35099
35100Patch 9.0.0738
35101Problem: Cannot suppress completion "scanning" messages.
35102Solution: Add the "C" flag in 'shortmess'. (Bjorn Linse, closes #11354)
35103
35104Patch 9.0.0739
35105Problem: Mouse column not correctly used for popup_setpos.
35106Solution: Adjust off-by-one error and handle Visual line selection properly.
35107 (Yee Cheng Chin, closes #11356)
35108
35109Patch 9.0.0740
35110Problem: prop_add_list() gives multiple errors for invalid argument.
35111Solution: Only give one error message.
35112
35113Patch 9.0.0741
35114Problem: Cannot specify an ID for each item with prop_add_list(). (Sergey
35115 Vlasov)
35116Solution: Add an optional fifth number to the item. (closes #11360)
35117
35118Patch 9.0.0742
35119Problem: Reading past end of the line when compiling a function with
35120 errors.
35121Solution: Do not return an invalid pointer. Fix skipping redirection.
35122
35123Patch 9.0.0743
35124Problem: Starting cscope on Unix does not quote the arguments correctly.
35125 (Gary Johnson)
35126Solution: Move the final quote after the arguments.
35127
35128Patch 9.0.0744
35129Problem: In script in autoload dir exported variable is not found. (Doug
35130 Kearns)
35131Solution: Find the variable with the "script#" prefix. (closes #11361)
35132
35133Patch 9.0.0745
35134Problem: Wrong cursor position when using "gj" and "gk" in a long line.
35135Solution: Adjust computations for the cursor position and skipcol. Re-enable
35136 tests that pass now, disable failing breakindent test.
35137
35138Patch 9.0.0746
35139Problem: Breakindent test cases are commented out.
35140Solution: Adjust expected result to slightly different behavior. Correct
35141 computations for cursor position.
35142
35143Patch 9.0.0747
35144Problem: Too many #ifdefs.
K.Takata7b7672d2024-01-06 01:47:01 +090035145Solution: Graduate the +cmdline_info feature. (Martin Tournoij,
Christian Brabandt5872bcb2023-12-19 20:10:43 +010035146 closes #11330)
35147
35148Patch 9.0.0748
35149Problem: Kitty may send key without modifiers with CSI u code.
35150Solution: Handle CSI u code without modifiers. (Trygve Aaberge,
35151 closes #11364)
35152
35153Patch 9.0.0749
35154Problem: Alloc/free of buffer for each quickfix entry is inefficient.
35155Solution: Use a shared grow array. (Yegappan Lakshmanan, closes #11365)
35156
35157Patch 9.0.0750
35158Problem: Crash when popup closed in callback. (Maxim Kim)
35159Solution: In syntax_end_parsing() check that syn_block is valid.
35160
35161Patch 9.0.0751
35162Problem: 'scrolloff' does not work well with 'smoothscroll'.
35163Solution: Make positioning the cursor a bit better. Rename functions.
35164
35165Patch 9.0.0752
35166Problem: Rprofile files are not recognized.
35167Solution: Recognize Rprofile files as "r". (closes #11369)
35168
35169Patch 9.0.0753
35170Problem: Some Ex commands are not in the help index.
35171Solution: Add the missing commands. Add a script to check all Ex commands
35172 are in the help index. (Yee Cheng Chin, closes #11371)
35173
35174Patch 9.0.0754
35175Problem: 'indentexpr' overrules lisp indenting in one situation.
35176Solution: Add "else" to keep the lisp indent. (issue #11327)
35177
35178Patch 9.0.0755
35179Problem: Huge build on macos always fails on CI.
35180Solution: Temporarily disable the perl interface.
35181
35182Patch 9.0.0756
35183Problem: No autocmd event for changing text in a terminal window.
35184Solution: Add TextChangedT. (Shougo Matsushita, closes #11366)
35185
35186Patch 9.0.0757
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010035187Problem: Line number not visible with 'smoothscroll', 'nu' and 'rnu'.
Christian Brabandt5872bcb2023-12-19 20:10:43 +010035188Solution: Put the ">>>" after the line number instead of on top.
35189
35190Patch 9.0.0758
35191Problem: "precedes" from 'listchars' overwritten by <<< for 'smoothscroll'.
35192Solution: Keep the "precedes" character.
35193
35194Patch 9.0.0759
35195Problem: Huge build on macos does not use Perl.
35196Solution: Re-enable the Perl interface using "dynamic". (closes #11375)
35197
35198Patch 9.0.0760
35199Problem: Display test for 'listchars' "precedes" fails.
35200Solution: Correct the expected result.
35201
35202Patch 9.0.0761
35203Problem: Cannot use 'indentexpr' for Lisp indenting.
35204Solution: Add the 'lispoptions' option.
35205
35206Patch 9.0.0762
35207Problem: Build failure.
35208Solution: Add missing change.
35209
35210Patch 9.0.0763
35211Problem: MS-Windows: warning for using int for size_t.
35212Solution: Declare variable as size_t.
35213
35214Patch 9.0.0764
35215Problem: Indent and option tests fail.
35216Solution: Change OP_INDENT. Add entry to options test table.
35217
35218Patch 9.0.0765
35219Problem: With a Visual block a put command column may go negative.
35220Solution: Check that the column does not become negative.
35221
35222Patch 9.0.0766
35223Problem: Too many delete() calls in tests.
35224Solution: Use deferred delete where possible.
35225
35226Patch 9.0.0767
35227Problem: Too many delete() calls in tests.
35228Solution: Use deferred delete where possible.
35229
35230Patch 9.0.0768
35231Problem: Too many delete() calls in tests.
35232Solution: Use deferred delete where possible.
35233
35234Patch 9.0.0769
35235Problem: Too many delete() calls in tests.
35236Solution: Use deferred delete where possible.
35237
35238Patch 9.0.0770
35239Problem: Quickfix commands may keep memory allocated.
35240Solution: Free memory when it's a bit much. (Yegappan Lakshmanan,
35241 closes #11379)
35242
35243Patch 9.0.0771
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010035244Problem: Cannot always tell the difference between tex and rexx files.
Christian Brabandt5872bcb2023-12-19 20:10:43 +010035245Solution: Recognize tex by a leading backslash. (Martin Tournoij,
35246 closes #11380)
35247
35248Patch 9.0.0772
35249Problem: The libvterm code is outdated.
35250Solution: Include libvterm changes from revision 790 to 801.
35251
35252Patch 9.0.0773
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010035253Problem: Huge build on MacOS uses dynamic Perl.
Christian Brabandt5872bcb2023-12-19 20:10:43 +010035254Solution: Use built-in Perl, uninstall the brew one. (closes #11382)
35255
35256Patch 9.0.0774
35257Problem: The libvterm code is outdated.
35258Solution: Include libvterm changes from revision 802 to 817. Revert some
35259 changes made for C89.
35260
35261Patch 9.0.0775
35262Problem: MS-Windows: mouse scrolling not supported in the console.
35263Solution: Add event handling for mouse scroll events. (Christopher
35264 Plewright, closes #11374)
35265
35266Patch 9.0.0776
35267Problem: MSVC can't have field name "small".
35268Solution: Rename small to smallfont.
35269
35270Patch 9.0.0777
35271Problem: Code is indented too much.
35272Solution: Use an early return. (Yegappan Lakshmanan, closes #11386)
35273
35274Patch 9.0.0778
35275Problem: Indexing of unknown const type fails during compilation.
35276Solution: Check for "any" properly. (closes #11389)
35277
35278Patch 9.0.0779
35279Problem: lsl and lm3 file extensions are not recognized.
35280Solution: Add *.lsl and *.lm3 patterns. (Doug Kearns, closes #11384)
35281
35282Patch 9.0.0780
35283Problem: 'scroll' value computed in unexpected location.
35284Solution: Compute 'scroll' when the window height is changed. (Luuk van
35285 Baal, closes #11387)
35286
35287Patch 9.0.0781
35288Problem: Workaround to rename "small" to "smallfont" is clumsy.
35289Solution: Undefine "small" after including windows.h. (Ken Takata)
35290
35291Patch 9.0.0782
35292Problem: OpenVPN files are not recognized.
35293Solution: Add patterns for OpenVPN files. (closes #11391)
35294
35295Patch 9.0.0783
35296Problem: ":!" doesn't do anything but does update the previous command.
35297Solution: Do not have ":!" change the previous command. (Martin Tournoij,
35298 closes #11372)
35299
35300Patch 9.0.0784
35301Problem: Text prop "above" not displayed correctly with 'number' and "n" in
35302 'cpo'.
35303Solution: Draw the line number column until the line text is reached.
35304
35305Patch 9.0.0785
35306Problem: Memory leak with empty shell command.
35307Solution: Free the allocated memory when bailing out.
35308
35309Patch 9.0.0786
35310Problem: User command does not get number from :tab modifier.
K.Takata7b7672d2024-01-06 01:47:01 +090035311Solution: Include the number. (closes #11393, closes #6901)
Christian Brabandt5872bcb2023-12-19 20:10:43 +010035312
35313Patch 9.0.0787
35314Problem: MS-Windows: mouse scrolling in terminal misbehaves without dll.
35315Solution: Add #ifdef as a temporary solution. (Christopher Plewright,
35316 closes #11392)
35317
35318Patch 9.0.0788
35319Problem: ModeChanged autocmd not executed when Visual mode is ended with
35320 CTRL-C.
35321Solution: Do not trigger the autocmd when got_int is set. (closes #11394)
35322
35323Patch 9.0.0789
35324Problem: Dummy buffer ends up in a window.
35325Solution: Disallow navigating to a dummy buffer.
35326
35327Patch 9.0.0790
35328Problem: Test for dummy buffer does not always produce the E86 error.
35329Solution: Do not check if the error is produced.
35330
35331Patch 9.0.0791
35332Problem: At the hit-Enter prompt the End and Home keys may not work.
35333Solution: Use the special "@" code for End and Home, like it was done for
35334 the cursor keys in patch 8.2.2246. (Trygve Aaberge, closes #11396)
35335
35336Patch 9.0.0792
35337Problem: MS-Windows: compiler complains about unused function.
35338Solution: Add #ifdef. (John Marriott)
35339
35340Patch 9.0.0793
35341Problem: MS-Windows: mouse scroll events only work with the dll.
35342Solution: Accept CSI codes for MS-Windows without the GUI. (Christopher
35343 Plewright, closes #11401)
35344
35345Patch 9.0.0794
35346Problem: There is no way to find out if an escape sequence with
35347 modifyOtherKeys has been seen.
35348Solution: Add a notice with ":verbose map".
35349
35350Patch 9.0.0795
35351Problem: readblob() always reads the whole file.
35352Solution: Add arguments to read part of the file. (Ken Takata,
35353 closes #11402)
35354
35355Patch 9.0.0796
35356Problem: Mapping test fails in some situations.
35357Solution: Find the line with the verbose information.
35358
35359Patch 9.0.0797
35360Problem: Order of assert function arguments is reverted.
35361Solution: Swap the arguments. (closes #11399)
35362
35363Patch 9.0.0798
35364Problem: Clang format configuration files are not recognized.
35365Solution: Use yaml for Clang format configuration files. (Marwin Glaser,
35366 closes #11398)
35367
35368Patch 9.0.0799
35369Problem: In compiled function ->() on next line not recognized.
35370Solution: Also check for "(". (closes #11405)
35371
35372Patch 9.0.0800
35373Problem: Compiler complains about repeated typedef.
35374Solution: Remove one typedef.
35375
35376Patch 9.0.0801
35377Problem: The modifyOtherKeys flag is set when it should not.
K.Takata7b7672d2024-01-06 01:47:01 +090035378Solution: Do not handle special key codes with a modifier value above 16 as
35379 a modifyOtherKeys value. (issue #11403)
Christian Brabandt5872bcb2023-12-19 20:10:43 +010035380
35381Patch 9.0.0802
35382Problem: MS-Windows: cannot map console mouse scroll events.
35383Solution: Change CSI to K_SPECIAL when checking for a mapping. (Christopher
35384 Plewright, closes #11410)
35385
35386Patch 9.0.0803
35387Problem: readblob() cannot read from character device.
35388Solution: Use S_ISCHR() to not check the size. (Ken Takata, closes #11407)
35389
35390Patch 9.0.0804
K.Takata7b7672d2024-01-06 01:47:01 +090035391Problem: Crash when trying to divide the largest negative number by -1.
Christian Brabandt5872bcb2023-12-19 20:10:43 +010035392Solution: Handle this case specifically.
35393
35394Patch 9.0.0805
35395Problem: Filetype autocmd may cause freed memory access.
35396Solution: Set the quickfix-busy flag while filling the buffer.
35397
35398Patch 9.0.0806
35399Problem: 'langmap' works differently when there are modifiers.
35400Solution: Only apply 'langmap' to a character where modifiers have no
35401 effect. (closes #11395, closes #11404)
35402
35403Patch 9.0.0807
35404Problem: With 'smoothscroll' typing "0" may not go to the first column.
35405Solution: Recompute w_cline_height when needed. Do not scroll up when it
35406 would move the cursor.
35407
35408Patch 9.0.0808
35409Problem: jsonnet filetype detection has a typo.
35410Solution: Change "libjsonnet" to "libsonnet". (Maxime Brunet, closes #11412)
35411
35412Patch 9.0.0809
35413Problem: Test for job writing to buffer fails.
35414Solution: Correct w_topline when deleting a buffer line.
35415
35416Patch 9.0.0810
35417Problem: readblob() returns empty when trying to read too much.
35418Solution: Return what is available.
35419
35420Patch 9.0.0811
35421Problem: Error if :echowin is preceded by a command modifier.
35422Solution: Do not give an error for range when there is a modifier.
35423 (closes #11414)
35424
35425Patch 9.0.0812
35426Problem: GUI mouse scrollwheel mappings don't work.
35427Solution: Add check for "gui.in_use". (Christopher Plewright, closes #11418)
35428
35429Patch 9.0.0813
35430Problem: Kitty terminal is not recognized.
35431Solution: Recognize Kitty by the termresponse and then do not set
35432 seenModifyOtherKeys, since Kitty doesn't support that.
35433 (issue #11413)
35434
35435Patch 9.0.0814
35436Problem: Aws config files are not recognized.
35437Solution: Use "confini" for aws config files. (Justin M. Keyes,
35438 closes #11416)
35439
35440Patch 9.0.0815
35441Problem: ":!" does not switch to the alternate screen.
35442Solution: For ":!" don't clear the previous command. (closes #11420,
35443 closes #11409)
35444
35445Patch 9.0.0816
35446Problem: CTRL-Z at end of file is always dropped.
35447Solution: Add the 'endoffile' option, like the 'endofline' option.
35448 (closes #11408, closes #11397)
35449
35450Patch 9.0.0817
35451Problem: Build error.
35452Solution: correct variable name.
35453
35454Patch 9.0.0818
35455Problem: "!ls" does not work.
35456Solution: Do not free memory that is in use.
35457
35458Patch 9.0.0819
35459Problem: Still a build error, tests are failing.
35460Solution: Correct recent changes. Add missing init for 'eof'.
35461
35462Patch 9.0.0820
35463Problem: Memory leak with empty shell command.
35464Solution: Free the empty string.
35465
35466Patch 9.0.0821
35467Problem: Memory leak with empty shell command.
35468Solution: Free the empty string.
35469
35470Patch 9.0.0822
35471Problem: Crash when dragging the statusline with a mapping.
35472Solution: Check for valid window pointer. (issue #11427)
35473
35474Patch 9.0.0823
35475Problem: Mouse drag test fails.
35476Solution: Only reset the mouse click flag when actually switching to another
35477 tab page. Disable test that keeps failing.
35478
35479Patch 9.0.0824
35480Problem: Crash when using win_move_separator() in other tab page.
35481Solution: Check for valid window in current tab page.
35482 (closes #11479, closes #11427)
35483
35484Patch 9.0.0825
35485Problem: Cannot drag an entry in the tabpage line.
35486Solution: Clear dragwin instead of got_click. (closes #11483,
35487 closes #11482)
35488
35489Patch 9.0.0826
35490Problem: If 'endofline' is set the CTRL-Z may be written in the wrong
35491 place.
35492Solution: Write CTRL-Z at the end of the file. Update the help to explain
35493 the possibilities better. (Ken Takata, closes #11486)
35494
35495Patch 9.0.0827
35496Problem: The <Home> key in tmux doesn't work when 'term' is set to "xterm".
35497 (Dominique Pellé)
35498Solution: Only use '@' in a termcap key entry for "1" when ";" follows.
35499 (closes #11429)
35500
35501Patch 9.0.0828
35502Problem: Various typos.
35503Solution: Correct typos. (closes #11432)
35504
35505Patch 9.0.0829
35506Problem: Wrong counts in macro comment.
35507Solution: Update the value counts. (closes #11480)
35508
35509Patch 9.0.0830
35510Problem: Compiling with Perl on Mac 12 fails.
35511Solution: Suppress infinite warnings. (closes #11499)
35512
35513Patch 9.0.0831
35514Problem: Compiler warning for redefining HAVE_DUP.
35515Solution: Undefine HAVE_DUP if needed. (Ozaki Kiichi, closes #11484)
35516
35517Patch 9.0.0832
35518Problem: Deprecation warning causes build failure.
35519Solution: Suppress deprecation warning. (closes #11503)
35520
35521Patch 9.0.0833
35522Problem: Mac: no +sound feature in huge build.
35523Solution: Enable +sound in Mac huge build. (closes #11497)
35524
35525Patch 9.0.0834
35526Problem: Warning for missing return type.
35527Solution: Add "int". (San James, closes #11496)
35528
35529Patch 9.0.0835
35530Problem: The window title is not redrawn when 'endoffile' changes.
35531Solution: redraw the window title when 'endoffile' is changed. (Ken Takata,
35532 closes #11488)
35533
35534Patch 9.0.0836
35535Problem: Wrong error when using extend() with funcref.
35536Solution: Better check the variable type. (closes #11468, closes #11455)
35537
35538Patch 9.0.0837
35539Problem: append() reports failure when not appending anything.
35540Solution: Only report failure when appending something. (closes #11498)
35541
35542Patch 9.0.0838
35543Problem: Compiler warnings for unused variables.
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010035544Solution: Adjust #ifdef and remove unused variables. (John Marriott)
Christian Brabandt5872bcb2023-12-19 20:10:43 +010035545
35546Patch 9.0.0839
35547Problem: Test may fail depending on sequence of events.
35548Solution: Accept error codes in either order. (Yee Cheng Chin,
35549 closes #11510)
35550
35551Patch 9.0.0840
35552Problem: Cannot change a slice of a const list. (Takumi KAGIYAMA)
35553Solution: Remove the const flag from the slice type. (closes #11490)
35554
35555Patch 9.0.0841
35556Problem: deletebufline() does not always return 1 on failure.
35557Solution: Refactor the code to make it work more predictable. (closes #11511)
35558
35559Patch 9.0.0842
35560Problem: Unicode range for Apple SF symbols is outdated.
35561Solution: Update to SF Symbols 4. (Yee Cheng Chin, closes #11474)
35562
35563Patch 9.0.0843
35564Problem: VHS tape files are not recognized.
35565Solution: Add a filetype pattern. (Carlos Alexandro Becker, closes #11452)
35566
35567Patch 9.0.0844
35568Problem: Handling 'statusline' errors is spread out.
35569Solution: Pass the option name to the lower levels so the option can be
35570 reset there when an error is encountered. (Luuk van Baal,
35571 closes #11467)
35572
35573Patch 9.0.0845
35574Problem: Shell command with just space gives strange error.
35575Solution: Skip white space at start of the argument. (Christian Brabandt,
35576 Shane-XB-Qian, closes #11515, closes #11495)
35577
35578Patch 9.0.0846
35579Problem: Using assert_fails() may cause hit-enter prompt.
35580Solution: Set no_wait_return. (closes #11522)
35581
35582Patch 9.0.0847
35583Problem: CI: not totally clear what MS-Windows version is used.
35584Solution: Show the Windows version. (Ken Takata, closes #11524)
35585
35586Patch 9.0.0848
35587Problem: Help item for --log argument is not aligned nicely.
35588Solution: Add a Tab. (Ken Takata, closes #11521)
35589
35590Patch 9.0.0849
35591Problem: Terminal mouse test is a bit flaky.
35592Solution: Add WaitFor() calls. (James McCoy closes #11519) Tune wait times
35593 to reduce flakiness.
35594
35595Patch 9.0.0850
35596Problem: MS-Windows Terminal has unstable color control.
35597Solution: Do not try to read the old command prompt colortable, use modern
35598 VT sequences. (Christopher Plewright, closes #11450,
35599 closes #11373)
35600
35601Patch 9.0.0851
35602Problem: Terminal mouse test is still flaky.
35603Solution: Also use WaitForAssert().
35604
35605Patch 9.0.0852
35606Problem: Crypt test is skipped if xxd is not found.
35607Solution: Find xxd where it was supposed to be build.
35608
35609Patch 9.0.0853
35610Problem: Terminal mouse test is still flaky on MacOS M1.
35611Solution: Also wait for the file to have some contents.
35612
35613Patch 9.0.0854
35614Problem: No proper test for what 9.0.0846 fixes.
35615Solution: Run test in a terminal so that the hit-enter prompt can show up.
35616 (closes #11523)
35617
35618Patch 9.0.0855
35619Problem: Comment not located above the code it refers to.
35620Solution: Move the comment. (closes #11527)
35621
35622Patch 9.0.0856
35623Problem: MS-Windows: executable not found when running individual test.
35624Solution: Also look for vimd.exe. (Christopher Plewright, closes #11525)
35625
35626Patch 9.0.0857
35627Problem: Selecting MSVC 2017 does not set $PLATFORM.
35628Solution: Use $VSCMD_ARG_TGT_ARCH. (Ken Takata, closes #11485)
35629
35630Patch 9.0.0858
35631Problem: "!!sort" in a closed fold sorts too many lines.
35632Solution: Round to end of fold after adding the line count. (closes #11487)
35633
35634Patch 9.0.0859
35635Problem: Compiler warning for unused variable.
35636Solution: Add #ifdef.
35637
35638Patch 9.0.0860
35639Problem: MS-Windows: windres fails with clang 15.0.4.
35640Solution: Use llvm-windres. (John Marriott)
35641
35642Patch 9.0.0861
35643Problem: Solution for "!!sort" in closed fold is not optimal.
35644Solution: Use a different range instead of the subtle difference in handling
35645 a range with an offset. (issue #11487)
35646
35647Patch 9.0.0862
35648Problem: Default value of 'endoffile' is wrong.
35649Solution: The default must be 'noendoffile'.
35650
35651Patch 9.0.0863
35652Problem: col() and charcol() only work for the current window.
35653Solution: Add an optional winid argument. (Yegappan Lakshmanan,
35654 closes #11466, closes #11461)
35655
35656Patch 9.0.0864
35657Problem: Crash when using "!!" without a previous shell command.
35658Solution: Check "prevcmd" is not NULL. (closes #11487)
35659
35660Patch 9.0.0865
35661Problem: Duplicate arguments are not always detected.
35662Solution: Expand to full path before comparing arguments. (Nir Lichtman,
35663 closes #11505, closes #9402)
35664
35665Patch 9.0.0866
35666Problem: No test for what patch 8.2.2207 fixes.
35667Solution: Add a test case. (closes #11531)
35668
35669Patch 9.0.0867
35670Problem: Wildmenu redrawing code is spread out.
35671Solution: Refactor to move code together. (closes #11528)
35672
35673Patch 9.0.0868
35674Problem: MS-Windows: after Vim exits console resizing does not work
35675 properly.
35676Solution: Restore screen behavior checks for various WT and VTP
35677 combinations. (Christopher Plewright, closes #11526,
35678 closes #11507)
35679
35680Patch 9.0.0869
35681Problem: Bogus error when string used after :elseif.
35682Solution: Do not consider a double quote the start of a comment.
35683 (closes #11534)
35684
35685Patch 9.0.0870
35686Problem: Get E967 when using text property in quickfix window. (Sergey
35687 Vlasov)
35688Solution: Do not add an extra NUL and compute the text length correctly.
35689 (closes #11513)
35690
35691Patch 9.0.0871
35692Problem: Using freed memory when clearing augroup at more prompt.
35693Solution: Delay clearing augroup until it's safe. (closes #11441)
35694
35695Patch 9.0.0872
35696Problem: Code is indented more than needed.
35697Solution: Return early. (Yegappan Lakshmanan, closes #11538)
35698
35699Patch 9.0.0873
35700Problem: Using freed memory when executing mapclear at the more prompt.
35701Solution: Do not clear mappings while listing them. (closes #11438)
35702
35703Patch 9.0.0874
35704Problem: Using freed memory when executing unmenu at the more prompt.
35705Solution: Do not clear menus while listing them. (closes #11439)
35706
35707Patch 9.0.0875
35708Problem: Using freed memory when executing delfunc at the more prompt.
35709Solution: Check function list not changed in another place. (closes #11437)
35710
35711Patch 9.0.0876
35712Problem: Code is indented more than needed.
35713Solution: Split ExpandEscape() in two. (Yegappan Lakshmanan, closes #11539)
35714
35715Patch 9.0.0877
35716Problem: Using freed memory with :comclear while listing commands.
35717Solution: Bail out when the command list has changed. (closes #11440)
35718
35719Patch 9.0.0878
35720Problem: Coverity warns for dead code.
35721Solution: Remove the dead code.
35722
35723Patch 9.0.0879
35724Problem: Unnecessary nesting in makefile.
35725Solution: Join "else" and "ifeq". (Ken Takata, closes #11547)
35726
35727Patch 9.0.0880
35728Problem: Preprocessor indenting is off.
35729Solution: Adjust preprocessor indentation. (Ken Takata, closes #11546)
35730
35731Patch 9.0.0881
35732Problem: Cannot get the currently showing mouse shape.
35733Solution: Add getmouseshape().
35734
35735Patch 9.0.0882
35736Problem: Using freed memory after SpellFileMissing autocmd uses bwipe.
35737Solution: Bail out if the window no longer exists.
35738
35739Patch 9.0.0883
35740Problem: A silent mapping may cause dots on the command line.
35741Solution: Don't show dots for completion if they are not going to be removed
35742 again. (closes #11501)
35743
35744Patch 9.0.0884
35745Problem: Mouse shape remains in op-pending mode after failed change.
35746Solution: Reset finish_op and restore it. (closes #11545)
35747
35748Patch 9.0.0885
35749Problem: Informational message has an error message number.
35750Solution: Use a message without an error number. (closes #11530)
35751
35752Patch 9.0.0886
35753Problem: Horizontal mouse scroll only works in the GUI.
35754Solution: Make horizontal mouse scroll also work in a terminal.
35755 (Christopher Plewright, closes #11448)
35756
35757Patch 9.0.0887
35758Problem: Cannot easily try out what codes various keys produce.
35759Solution: Add a script to gather key code information, with an initial list
35760 of codes to compare with.
35761
35762Patch 9.0.0888
35763Problem: MS-Windows GUI: CTRL-] does not work on Swiss keyboard.
35764Solution: Check the key code and don't consider it as a dead key. (Aedin
35765 Louis Xavier, closes #11556)
35766
35767Patch 9.0.0889
35768Problem: Keycode check script has a few flaws.
35769Solution: Sort on terminal name. Ignore XTGETTCAP responses. Check for
35770 version and status response. Update entries.
35771
35772Patch 9.0.0890
35773Problem: No test for what patch 9.0.0827 fixes.
35774Solution: Add a test (still doesn't fail when fix is reverted).
35775
35776Patch 9.0.0891
35777Problem: Virtual text below after match has wrong highlight.
35778Solution: Restore search_attr only after the virtual text.
35779 (closes #11446)
35780
35781Patch 9.0.0892
35782Problem: May redraw when not needed, causing slow scrolling.
35783Solution: Do not redraw when w_skipcol doesn't change. When w_skipcol
35784 changes only redraw from the top. (issue #11559)
35785
35786Patch 9.0.0893
35787Problem: 'smoothscroll' cursor calculations wrong when 'number' is set.
35788Solution: Correct the code that computes the width. (closes #11492)
35789
35790Patch 9.0.0894
35791Problem: Virtual text property highlight ignores window background.
35792Solution: Combine text prop attribute with win_attr into extra_attr.
35793 (closes #11462)
35794
35795Patch 9.0.0895
35796Problem: File renamed twice in test; missing feature check.
35797Solution: Remove a rename() call. Add check for cryptv feature.
35798 (closes #11564)
35799
35800Patch 9.0.0896
35801Problem: Test for home key fails when 'term' is "tmux".
35802Solution: Only save termcap entries that exist. Adjust code for xHome to
35803 what xterm uses. (closes #11566)
35804
35805Patch 9.0.0897
35806Problem: Clinical Quality Language files are not recognized.
35807Solution: Add the "*.cql" pattern. (Matthew Gramigna, closes #11452)
35808
35809Patch 9.0.0898
35810Problem: With 'smoothscroll' cursor is one screen line too far down. (Ernie
35811 Rael)
35812Solution: Add a test that currently has the wrong result so that a fix can
35813 be made. (issue #11436)
35814
35815Patch 9.0.0899
35816Problem: The builtin terminals are in one long list.
35817Solution: Refactor into multiple lists and an index of the lists.
35818
35819Patch 9.0.0900
35820Problem: Cursor moves too far with 'smoothscroll'.
35821Solution: Only move as far as really needed. (Yee Cheng Chin, closes #11504)
35822
35823Patch 9.0.0901
35824Problem: Setting w_leftcol and handling side effects is confusing.
35825Solution: Use a function to set w_leftcol() and handle side effects.
35826
35827Patch 9.0.0902
35828Problem: Some mouse scroll code is not in a good place.
35829Solution: Refactor the code. (Christopher Plewright, closes #11561)
35830
35831Patch 9.0.0903
35832Problem: Key code checker doesn't check modifyOtherKeys resource.
35833Solution: Request the modifyOtherKeys resource value. Drop resource DCS
35834 responses.
35835
35836Patch 9.0.0904
35837Problem: Various comment and indent flaws.
35838Solution: Improve comments and indenting.
35839
35840Patch 9.0.0905
35841Problem: Virtual text after the line wraps when 'wrap' is off.
35842Solution: Only set text_prop_follows when wrapping. (closes #11463)
35843
35844Patch 9.0.0906
35845Problem: Mouse scroll code is not optimal.
35846Solution: Properly organise Normal mode, Insert mode and common code.
35847 (Christopher Plewright, closes #11572)
35848
35849Patch 9.0.0907
35850Problem: Restoring window after WinScrolled may fail.
35851Solution: Lock the window layout when triggering WinScrolled.
35852
35853Patch 9.0.0908
35854Problem: With 'smoothscroll' cursor may end up in wrong position.
35855Solution: Correct the computation of screen lines. (Yee Cheng Chin,
35856 closes #11502)
35857
35858Patch 9.0.0909
35859Problem: Error message for layout change does not match action.
35860Solution: Pass the command to where the error is given. (closes #11573)
35861
35862Patch 9.0.0910
35863Problem: Setting lines in another buffer may not work well.
35864Solution: Make sure the buffer being changed has a window. (issue #11558)
35865
35866Patch 9.0.0911
35867Problem: With 'smoothscroll' set mouse click position may be wrong.
35868Solution: Adjust computations for w_skipcol. (Yee Cheng Chin, closes #11514)
35869
35870Patch 9.0.0912
35871Problem: libvterm with modifyOtherKeys level 2 does not match xterm.
35872Solution: Adjust key code escape sequences to be the same as what xterm
35873 sends in modifyOtherKeys level 2 mode. Check the value of
35874 no_reduce_keys before using it.
35875
35876Patch 9.0.0913
35877Problem: Only a change in the current window triggers the WinScrolled
35878 event.
35879Solution: Trigger WinScrolled if any window scrolled or changed size.
35880 (issue #11576)
35881
35882Patch 9.0.0914
35883Problem: deletebufline() may move marks in the wrong window.
35884Solution: Find a window for the buffer being changed. (closes #11583)
35885
35886Patch 9.0.0915
35887Problem: WinScrolled may trigger immediately when defined.
35888Solution: Initialize the fields in all windows. (closes #11582)
35889
35890Patch 9.0.0916
35891Problem: getbufline() is inefficient for getting a single line.
35892Solution: Add getbufoneline().
35893
35894Patch 9.0.0917
35895Problem: The WinScrolled autocommand event is not enough.
35896Solution: Add WinResized and provide information about what changed.
35897 (closes #11576)
35898
35899Patch 9.0.0918
35900Problem: MS-Windows: modifier keys do not work with mouse scroll events.
35901Solution: Use K_SPECIAL instead of CSI for the modifier keys. (Christopher
35902 Plewright, closes #11587)
35903
35904Patch 9.0.0919
35905Problem: Build failure with tiny features.
35906Solution: Adjust #ifdef's.
35907
35908Patch 9.0.0920
35909Problem: Cannot find an import prefixed with "s:". (Doug Kearns)
35910Solution: Skip over the "s:". (closes #11585)
35911
35912Patch 9.0.0921
35913Problem: Missing defined(PROTO) in #ifdef.
35914Solution: Adjust #ifdef so that proto works with different features.
35915 Clean up some preprocessor indenting.
35916
35917Patch 9.0.0922
35918Problem: Mermaid files are not recognized.
35919Solution: Add patterns for Mermaid. (Crag MacEachern)
35920
35921Patch 9.0.0923
35922Problem: Second SIGWINCH signal may be ignored.
35923Solution: When set_shellsize() is busy when called then run the inner code
35924 again when it's done. (issue #424)
35925
35926Patch 9.0.0924
35927Problem: The first termcap entry of a builtin termcap is not used.
35928Solution: Remove increment that was previously skipping the KS_NAME entry.
35929
35930Patch 9.0.0925
35931Problem: Two conditions are always false.
35932Solution: Remove the conditions. Update return value types to make clear
35933 what could be returned. (closes #11593)
35934
35935Patch 9.0.0926
35936Problem: Coverity warns for not using return value of dict_add().
35937Solution: When dict_add() fails then don't call hash_remove().
35938
35939Patch 9.0.0927
35940Problem: Coverity warns for using a NULL pointer.
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010035941Solution: Check for memory allocation failure.
Christian Brabandt5872bcb2023-12-19 20:10:43 +010035942
35943Patch 9.0.0928
35944Problem: Using Ruby LDFLAGS may cause build problems.
35945Solution: Do not add Ruby LDFLAGS to Vim's LDFLAGS. (Zdenek Dohnal,
35946 closes #11592)
35947
35948Patch 9.0.0929
35949Problem: Build failure with tiny version. (Tony Mechelynck)
35950Solution: Add #ifdef.
35951
35952Patch 9.0.0930
35953Problem: Cannot debug the Kitty keyboard protocol with TermDebug.
35954Solution: Add Kitty keyboard protocol support to the libvterm fork.
35955 Recognize the escape sequences that the protocol generates. Add
35956 the 'keyprotocol' option to allow the user to specify for which
35957 terminal what protocol is to be used, instead of hard-coding this.
35958 Add recognizing the kitty keyboard protocol status.
35959
35960Patch 9.0.0931
35961Problem: MS-Windows: mouse column limited to 223.
35962Solution: Use two bytes for each mouse coordinate. Add the mouse position
35963 to scroll events. (Christopher Plewright, closes #11597)
35964
35965Patch 9.0.0932
35966Problem: Oblivion files are not recognized.
35967Solution: Recognize Oblivion files and alike as "obse". (closes #11540)
35968
35969Patch 9.0.0933
35970Problem: Kitty shows "already at oldest change" on startup.
35971Solution: When receiving the keyboard protocol state return the ignore key.
35972 (closes #11601)
35973
35974Patch 9.0.0934
35975Problem: Various code formatting issues.
35976Solution: Improve code formatting.
35977
35978Patch 9.0.0935
35979Problem: When using dash it may not be recognize as filetype "sh".
K.Takata7b7672d2024-01-06 01:47:01 +090035980Solution: Add checks for "dash". (Eisuke Kawashima, closes #11600)
Christian Brabandt5872bcb2023-12-19 20:10:43 +010035981
35982Patch 9.0.0936
35983Problem: Wrong type for "isunnamed" returned by getreginfo().
35984Solution: Use VAR_BOOL instead of VAR_SPECIAL. (closes #11598)
35985
35986Patch 9.0.0937
35987Problem: Forked repositories send out useless email.
35988Solution: When Coverity fails to run just ignore it. (Shane-XB-Qian,
35989 closes #11604)
35990
35991Patch 9.0.0938
35992Problem: MS-Windows: debug executable not found when running test.
35993Solution: Look for vimd.exe. (Christopher Plewright, closes #11602)
35994
35995Patch 9.0.0939
35996Problem: Still using simplified mappings when using the kitty keyboard
35997 protocol.
35998Solution: Use the kitty_protocol_state value to decide whether to use
35999 simplified mappings. Improve how seenModifyOtherKeys is set and
36000 reset.
36001
36002Patch 9.0.0940
36003Problem: Crash when typing a letter in a terminal window. (Shane-XB-Qian)
36004Solution: Use the "vterm" variable instead of getting the terminal pointer
36005 from the current buffer. (closes #11608)
36006
36007Patch 9.0.0941
36008Problem: CI failures in sound dummy.
36009Solution: Temporarily disable building sound dummy. (closes #11610)
36010
36011Patch 9.0.0942
36012Problem: Workflow Description Language files are not recognized.
36013Solution: Add a pattern for the "wdl" filetype. (Matt Dunford,
36014 closes #11611)
36015
36016Patch 9.0.0943
36017Problem: Pretending to go out of Insert mode when Esc is received has side
36018 effects.
36019Solution: When the kitty keyboard protocol is enabled expect Esc to always
36020 be the start of an escape sequence.
36021
36022Patch 9.0.0944
36023Problem: 'cursorline' causes virtual text highlight to continue.
36024Solution: Save and restore line_attr. (closes #11588)
36025
36026Patch 9.0.0945
36027Problem: Failures in the cursorline test.
36028Solution: Reset extra_attr only after a text property.
36029
36030Patch 9.0.0946
36031Problem: CI: Error in Coverity flow is not reported.
36032Solution: Use another way to avoid errors in a forked repository. (Ken
36033 Takata, closes #11609)
36034
36035Patch 9.0.0947
36036Problem: Invalid memory access in substitute with function that goes to
36037 another file.
36038Solution: Check for text locked in CTRL-W gf.
36039
36040Patch 9.0.0948
36041Problem: 'ttyfast' is set for arbitrary terminals.
36042Solution: Always set 'ttyfast'. (closes #11549)
36043
36044Patch 9.0.0949
36045Problem: Crash when unletting a variable while listing variables.
36046Solution: Disallow changing a hashtable while going over the entries.
36047 (closes #11435)
36048
36049Patch 9.0.0950
36050Problem: The pattern "\_s\zs" matches at EOL.
36051Solution: Make the pattern "\_s\zs" match at the start of the next line.
36052 (closes #11617)
36053
36054Patch 9.0.0951
36055Problem: Trying every character position for a match is inefficient.
36056Solution: Use the start position of the match ignoring "\zs".
36057
36058Patch 9.0.0952
36059Problem: Eclipse preference files are not recognized.
36060Solution: Add a pattern to use "jproperties" for Eclipse preference files.
36061 (closes #11618)
36062
36063Patch 9.0.0953
36064Problem: Part of making search more efficient is missing.
36065Solution: Add the change in searchit().
36066
36067Patch 9.0.0954
36068Problem: Cannot detect whether modifyOtherKeys is enabled.
36069Solution: Use XTQMODKEYS introduced by xterm version 377 to request the
36070 modifyOtherKeys level. Update the keycode check results.
36071
36072Patch 9.0.0955
36073Problem: Libvterm does not support the XTQMODKEYS request.
36074Solution: Implement the XTQMODKEYS request and response. Update the keycode
36075 check results.
36076
36077Patch 9.0.0956
36078Problem: Terminal tests fail when using key with modifier.
36079Solution: Use the modifyOtherKeys encoding when using RunVimInTerminal().
36080
36081Patch 9.0.0957
36082Problem: Tests fail without the terminal feature.
36083Solution: Move functions to another utility script.
36084
36085Patch 9.0.0958
36086Problem: Messages test is flaky.
36087Solution: Add a short delay.
36088
36089Patch 9.0.0959
36090Problem: Error when using the "File Settings / Text Width" menu.
36091Solution: Use str2nr(). (closes #11624)
36092
36093Patch 9.0.0960
36094Problem: Error when using the "Tools / Spelling / Find More Languages"
36095 menu.
36096Solution: Remove "<SID>". Reset "g:menutrans_set_lang_to" when 'encoding'
36097 changes. (closes #11625)
36098
36099Patch 9.0.0961
36100Problem: Using deletebufline() may jump to another window.
36101Solution: Do not use a window where the buffer was only in the past.
36102 (closes #11594)
36103
36104Patch 9.0.0962
36105Problem: Virtual text below cannot be placed below empty lines.
36106Solution: Add one character. (James Alvarado, closes #11606, closes #11520)
36107
36108Patch 9.0.0963
36109Problem: Function name does not match autocmd event name.
36110Solution: Rename "optionsset" to "optionset". (closes #11630)
36111
36112Patch 9.0.0964
36113Problem: Status line of other window not redrawn when dragging it when
36114 'splitkeep' is set to "screen".
36115Solution: Set w_redr_status earlier. (Luuk van Baal, closes #11635,
36116 closes #11632)
36117
36118Patch 9.0.0965
36119Problem: Using one window for executing autocommands is insufficient.
36120Solution: Use up to five windows for executing autocommands.
36121
36122Patch 9.0.0966
36123Problem: Some compilers don't allow a declaration after a label.
36124Solution: Move the declaration to the start of the block. (John Marriott)
36125
36126Patch 9.0.0967
36127Problem: Leaking memory from autocmd windows.
36128Solution: Free window when auc_win is not NULL.
36129
36130Patch 9.0.0968
36131Problem: GUI mouse event test is a bit flaky.
36132Solution: Mark the test case as flaky. Move test function failure checks to
36133 a separate test function.
36134
36135Patch 9.0.0969
36136Problem: Matchparen highlight is not updated when switching buffers.
36137Solution: Listen to the BufLeave and the BufWinEnter autocmd events.
36138 (closes #11626)
36139
36140Patch 9.0.0970
36141Problem: Coverity warns for uninitialized variable.
36142Solution: Initialize "ren_ret".
36143
36144Patch 9.0.0971
36145Problem: Escape sequences not recognized without the termresponse feature.
36146Solution: Recognize escape sequences to avoid display mess up.
36147
36148Patch 9.0.0972
36149Problem: Build failure on some systems.
36150Solution: Adjust #ifdefs related to the termresponse feature.
36151
36152Patch 9.0.0973
36153Problem: Kitty keyboard protocol key not decoded when it has an unsupported
36154 modifier, such as NumLock.
36155Solution: Accept a key with any modifier. (closes #11638)
36156
36157Patch 9.0.0974
36158Problem: Even when Esc is encoded a timeout is used.
36159Solution: Use K_ESC when an encoded Esc is found.
36160
36161Patch 9.0.0975
36162Problem: Virtual text below an empty line is misplaced when 'number' is
36163 set.
36164Solution: Adjust the computations. (closes #11629)
36165
36166Patch 9.0.0976
36167Problem: Enabling the kitty keyboard protocol uses push/pop.
36168Solution: Use the start/stop codes to avoid unpredictable behavior.
36169
36170Patch 9.0.0977
36171Problem: It is not easy to see what client-server commands are doing.
36172Solution: Add channel log messages if ch_log() is available. Move the
36173 channel logging and make it available with the +eval feature.
36174
36175Patch 9.0.0978
36176Problem: Build errors without the +channel feature. (John Marriott)
36177Solution: Adjust #ifdefs.
36178
36179Patch 9.0.0979
36180Problem: ch_log() text can be hard to find in the log file.
36181Solution: Prepend "ch_log()" to the text.
36182
36183Patch 9.0.0980
36184Problem: The keyboard state response may end up in a shell command.
36185Solution: Only request the keyboard protocol state when the typeahead is
36186 empty, no more commands are following and not exiting. Add the
36187 t_RK termcap entry for this.
36188
36189Patch 9.0.0981
36190Problem: Build error in tiny version.
36191Solution: Add #ifdef.
36192
36193Patch 9.0.0982
36194Problem: 'cursorline' not drawn before virtual text below.
36195Solution: Add the 'cursorline' attribute to the empty space. (closes #11647)
36196
36197Patch 9.0.0983
36198Problem: Stray characters displayed when starting the GUI.
36199Solution: Add t_RK to the list of terminal options.
36200
36201Patch 9.0.0984
36202Problem: GUI: remote_foreground() does not always work. (Ron Aaron)
36203Solution: For GTK use gtk_window_set_keep_above(). (issue #11641)
36204
36205Patch 9.0.0985
36206Problem: When using kitty keyboard protocol function keys may not work.
36207 (Kovid Goyal)
36208Solution: Recognize CSI ending in [ABCDEFHPQRS] also when the termcap
36209 entries are not specified. (closes #11648)
36210
36211Patch 9.0.0986
36212Problem: Build failure with tiny version.
36213Solution: Add #ifdef.
36214
36215Patch 9.0.0987
36216Problem: File missing from list of distributed files.
36217Solution: Add logfile.pro to list of distributed files.
36218
36219Patch 9.0.0988
36220Problem: Using feedkeys() does not show up in a channel log.
36221Solution: Add ch_log() calls and clean up the code.
36222
36223Patch 9.0.0989
36224Problem: Popupwin test is more flaky on MacOS.
36225Solution: Use a longer wait time.
36226
36227Patch 9.0.0990
36228Problem: Callback name argument is changed by setqflist().
36229Solution: Use the expanded function name for the callback, do not store it
36230 in the argument. (closes #11653)
36231
36232Patch 9.0.0991
36233Problem: Crash when reading help index with various options set. (Marius
36234 Gedminas)
36235Solution: Do not set wlv.c_extra to NUL when wlv.p_extra is NULL.
36236 (closes #11651)
36237
36238Patch 9.0.0992
36239Problem: Vim9 script: get E1096 when comment follows return.
36240Solution: Adjust condition for return without expression. (closes #11654)
36241
36242Patch 9.0.0993
36243Problem: Display errors when adding or removing text property type.
36244Solution: Perform a full redraw. Only use text properties for which the
36245 type is defined. (closes #11655)
36246
36247Patch 9.0.0994
36248Problem: Tests for empty prop type name fail.
36249Solution: Correct the error number.
36250
36251Patch 9.0.0995
36252Problem: Padding before virtual text below is highlighted when 'number' and
36253 'nowrap' are set.
36254Solution: Save and restore n_attr_skip. (closes #11643)
36255
36256Patch 9.0.0996
36257Problem: If 'keyprotocol' is empty "xterm" still uses modifyOtherKeys.
36258Solution: Remove t_TI, t_RK and t_TE from the "xterm" builtin termcap and
36259 let the default value of 'keyprotocol' add those.
36260
36261Patch 9.0.0997
36262Problem: Coverity warns for dead code.
36263Solution: Don't use ASCII_ISUPPER() for a negative value.
36264
36265Patch 9.0.0998
36266Problem: "gk" may reset skipcol when not needed.
36267Solution: Only reset skipcol if the cursor column is less.
36268
36269Patch 9.0.0999
36270Problem: Memory may leak.
36271Solution: Free the sound callback function name if it was allocated.
36272
36273Patch 9.0.1000
36274Problem: With 'smoothscroll' skipcol may be reset unnecessarily.
36275Solution: Check the line does actually fit in the window.
36276
36277Patch 9.0.1001
36278Problem: Classes are not documented or implemented yet.
36279Solution: Make the first steps at documenting Vim9 objects, classes and
36280 interfaces. Make initial choices for the syntax. Add a skeleton
36281 implementation. Add "public" and "this" in the command table.
36282
36283Patch 9.0.1002
36284Problem: Command list test fails.
36285Solution: Add commands added to the list.
36286
36287Patch 9.0.1003
36288Problem: Tiny build fails.
36289Solution: Remove #ifdef from error message.
36290
36291Patch 9.0.1004
36292Problem: Suspend test sometimes fails on MacOS.
36293Solution: Wait a short while for terminal responses.
36294
36295Patch 9.0.1005
36296Problem: A failed test may leave a swap file behind.
36297Solution: Delete the swap file to avoid another test to fail. Use another
36298 file name.
36299
36300Patch 9.0.1006
36301Problem: Suspend test still sometimes fails on MacOS.
36302Solution: Wait a little while for terminal responses.
36303
36304Patch 9.0.1007
36305Problem: There is no way to get a list of swap file names.
36306Solution: Add the swapfilelist() function. Use it in the test script to
36307 clean up. Remove deleting individual swap files.
36308
36309Patch 9.0.1008
36310Problem: Test for swapfilelist() fails on MS-Windows.
36311Solution: Only check the tail of the path. Mark a test as flaky.
36312
36313Patch 9.0.1009
36314Problem: Test for catch after interrupt is flaky on MS-Windows.
36315Solution: Mark the test as flaky.
36316
36317Patch 9.0.1010
36318Problem: Stray warnings for existing swap files.
36319Solution: Wipe out the buffer until it has no name and no swap file.
36320
36321Patch 9.0.1011
36322Problem: ml_get error when using screenpos().
36323Solution: Give an error for the line number. (closes #11661)
36324
36325Patch 9.0.1012
36326Problem: Tests may get stuck in buffer with swap file.
36327Solution: Bail out when bwipe! doesn't get another buffer.
36328
36329Patch 9.0.1013
36330Problem: Suspend test often fails on Mac OS.
36331Solution: Make t_RP empty.
36332
36333Patch 9.0.1014
36334Problem: Zir files are not recognized.
36335Solution: Add a pattern for Zir files. (closes #11664)
36336
36337Patch 9.0.1015
36338Problem: Without /dev/urandom srand() seed is too predictable.
36339Solution: Use micro seconds and XOR with process ID. (Yasuhiro Matsumoto,
36340 closes #11656)
36341
36342Patch 9.0.1016
36343Problem: screenpos() does not count filler lines for diff mode.
36344Solution: Add filler lines. (closes 11658)
36345
36346Patch 9.0.1017
36347Problem: Test for srand() fails on MS-Windows.
36348Solution: Do not expect the same result a second time.
36349
36350Patch 9.0.1018
36351Problem: Suspend test still fails on Mac OS.
36352Solution: Make 'keyprotocol' empty.
36353
36354Patch 9.0.1019
36355Problem: 'smoothscroll' and virtual text above don't work together.
36356 (Yee Cheng Chin)
36357Solution: Skip virtual text above when w_skipcol is non-zero.
36358 (closes #11665)
36359
36360Patch 9.0.1020
36361Problem: Tests call GetSwapFileList() before it is defined.
36362Solution: Move the call to after defining the function. (Christopher
36363 Plewright)
36364
36365Patch 9.0.1021
36366Problem: Test trips over g:name.
36367Solution: Delete g:name after using it.
36368
36369Patch 9.0.1022
36370Problem: Suspend test fails on Mac OS when suspending Vim.
36371Solution: Make 'keyprotocol' empty.
36372
36373Patch 9.0.1023
36374Problem: MS-Windows: dynamic loading of libsodium doesn't work.
36375Solution: Add "randombytes_random". (Ken Takata, closes #11667)
36376
36377Patch 9.0.1024
36378Problem: CI doesn't use the latest FreeBSD version.
36379Solution: Go from 12.3 to 12.4. (closes #11423)
36380
36381Patch 9.0.1025
36382Problem: WinScrolled is not triggered when filler lines change.
36383Solution: Add "topfill" to the values that WinScrolled triggers on.
36384 (closes #11668)
36385
36386Patch 9.0.1026
36387Problem: type of w_last_topfill is wrong.
36388Solution: Use "int" instead of "linenr_T". (closes #11670)
36389
36390Patch 9.0.1027
36391Problem: LGTM is soon shutting down.
36392Solution: Remove LGTM from CI. (closes #11671)
36393
36394Patch 9.0.1028
36395Problem: Mouse shape test is flaky, especially on Mac OS.
36396Solution: Instead of starting all timers at the same time, start the next
36397 one in the callback of the previous one. (Yee Cheng Chin,
36398 closes #11673) Also use "bwipe!" instead of "close!" to avoid
36399 swap files remaining.
36400
36401Patch 9.0.1029
36402Problem: Autoload directory missing from distribution.
36403Solution: Add the autoload/zig directory to the list of distributed files.
36404
36405Patch 9.0.1030
36406Problem: Using freed memory with the cmdline popup menu.
36407Solution: Clear the popup menu when clearing the matches. (closes #11677)
36408
36409Patch 9.0.1031
36410Problem: Vim9 class is not implemented yet.
36411Solution: Add very basic class support.
36412
36413Patch 9.0.1032
36414Problem: Test fails when terminal feature is missing.
36415Solution: Use CheckRunVimInTerminal.
36416
36417Patch 9.0.1033
36418Problem: Tiny build fails because of conflicting typedef.
36419Solution: Remove one typedef.
36420
36421Patch 9.0.1034
36422Problem: Reporting swap file when windows are split.
36423Solution: Close extra windows after running a test.
36424
36425Patch 9.0.1035
36426Problem: Object members are not being marked as used, garbage collection
36427 may free them.
36428Solution: Mark object members as used. Fix reference counting.
36429
36430Patch 9.0.1036
36431Problem: Undo misbehaves when writing from an insert mode mapping.
36432Solution: Sync undo when writing. (closes #11674)
36433
36434Patch 9.0.1037
36435Problem: lalloc(0) error for a class without members.
36436Solution: Don't allocate room for members if there aren't any.
36437 Don't create the class if there was an error.
36438
36439Patch 9.0.1038
36440Problem: Function name does not match what it is used for.
36441Solution: Include the modifier in the name. (closes #11679)
36442
36443Patch 9.0.1039
36444Problem: Using a <Cmd> mapping CmdlineChanged may be triggered twice.
36445Solution: Count the number of times CmdlineChanged is triggered and avoid
36446 doing it twice. (closes #116820
36447
36448Patch 9.0.1040
36449Problem: Test for <Cmd> mapping with CmdlineChanged fails.
36450Solution: Put back the check for the cmdline length not changing.
36451
36452Patch 9.0.1041
36453Problem: Cannot define a method in a class.
36454Solution: Implement defining an object method. Make calling an object
36455 method work.
36456
36457Patch 9.0.1042
36458Problem: ASAN gives false alarm about array access.
36459Solution: Use an intermediate pointer.
36460
36461Patch 9.0.1043
36462Problem: Macro has confusing name and is duplicated.
36463Solution: Use one macro with an understandable name. (closes #11686)
36464
36465Patch 9.0.1044
36466Problem: Setting window height using Python may cause errors.
36467Solution: When setting "curwin" also set "curbuf". (closes #11687)
36468
36469Patch 9.0.1045
36470Problem: In a class object members cannot be initialized.
K.Takata7b7672d2024-01-06 01:47:01 +090036471Solution: Support initializing object members. Make "disassemble" work on
Christian Brabandt5872bcb2023-12-19 20:10:43 +010036472 an object method.
36473
36474Patch 9.0.1046
36475Problem: Class method disassemble test fails on MS-Windows.
36476Solution: Do not match with a specific size.
36477
36478Patch 9.0.1047
36479Problem: Matchparen is slow.
36480Solution: Actually use the position where the match started, not the
36481 position where the search started. (closes #11644)
36482
36483Patch 9.0.1048
36484Problem: With "screenline" in 'culopt' cursorline highlight is wrong.
36485Solution: Apply the priority logic also when "screenline is in 'culopt'.
36486 (closes #11696)
36487
36488Patch 9.0.1049
36489Problem: Crash when opening a very small terminal window.
36490Solution: Instead of crashing fix the cursor position. (closes #11697)
36491
36492Patch 9.0.1050
36493Problem: Using freed memory when assigning to variable twice.
36494Solution: Make copy of the list type. (closes #11691)
36495
36496Patch 9.0.1051
36497Problem: After a failed CTRL-W ] next command splits window.
36498Solution: Reset postponed_split. (Rob Pilling, closes #11698)
36499
36500Patch 9.0.1052
36501Problem: Using freed memory on exit when EXITFREE is defined.
36502Solution: Make a deep copy of the type. Make sure TTFLAG_STATIC is not set
36503 in the copy.
36504
36505Patch 9.0.1053
36506Problem: Default constructor arguments are not optional.
36507Solution: Use "= v:none" to make constructor arguments optional.
36508
36509Patch 9.0.1054
36510Problem: Object member can't get type from initializer.
36511Solution: If there is no type specified try to use the type of the
36512 initializer. Check for a valid type.
36513
36514Patch 9.0.1055
36515Problem: Coverity warns for using uninitialized memory.
36516Solution: Clear the "lhs" field earlier.
36517
36518Patch 9.0.1056
36519Problem: Leaking memory when disassembling an object method.
36520Solution: Free the typval of the class.
36521
36522Patch 9.0.1057
36523Problem: Conflict between supercollider and scala filetype detection.
36524Solution: Do not check for "Class : Method", it can appear in both
36525 filetypes. (Chris Kipp, closes #11699)
36526
36527Patch 9.0.1058
36528Problem: String value of class and object do not have useful information.
36529Solution: Add the class name and for the object the member values.
36530
36531Patch 9.0.1059
36532Problem: Build failure with some compilers that can't handle a
36533 declaration directly after a "case" statement.
36534Solution: Add a block to put the declarations in.
36535
36536Patch 9.0.1060
36537problem: Private and public object members are not implemented yet.
36538Solution: Implement private and public object members.
36539
36540Patch 9.0.1061
36541Problem: Cannot display 'showcmd' somewhere else.
36542Solution: Add the 'showcmdloc' option. (Luuk van Baal, closes #11684)
36543
36544Patch 9.0.1062
36545Problem: Some test function names do not match what they are doing.
36546Solution: Leave out user data for the test that is called "NoUserData".
36547 (closes #11703)
36548
36549Patch 9.0.1063
36550Problem: When using Kitty a shell command may mess up the key protocol
36551 state.
36552Solution: Output t_te before t_TE. If t_te switches between the main and
36553 the alternate screen then deactivating the key protocol by t_TE
36554 should happen after switching screen. (issue #11705)
36555
36556Patch 9.0.1064
36557Problem: Code for making 'shortmess' temporarily empty is repeated.
36558Solution: Add functions for making 'shortmess' empty and restoring it.
36559 (Christian Brabandt, closes #11709)
36560
36561Patch 9.0.1065
36562Problem: A shell command switching screens may still have a problem with
36563 the kitty keyboard protocol.
36564Solution: Disable the kitty keyboard protocol both in the current and the
36565 alternate screen, if there are indications it might be needed.
36566 (issue #11705) Also fix naming.
36567
36568Patch 9.0.1066
36569Problem: Test function name is wrong.
36570Solution: Rename to what is actually being tested. (closes #11712)
36571
36572Patch 9.0.1067
36573Problem: In diff mode virtual text is highlighted incorrectly. (Rick Howe)
36574Solution: Do not use diff attributes for virtual text. (closes #11714)
36575
36576Patch 9.0.1068
36577Problem: No information about whether requesting term codes has an effect.
36578Solution: Add ch_log() calls to report the effect of term code responses.
36579 Avoid deleting an entry and then adding back the same one.
36580
36581Patch 9.0.1069
36582Problem: Diff mode highlight fails for special characters.
36583Solution: Adjust condition for setting "diff_hlf".
36584
36585Patch 9.0.1070
36586Problem: Reading beyond array size.
36587Solution: Only use name[0] and name[1], do not use "name" as a string.
36588
36589Patch 9.0.1071
36590Problem: Codecov action version is too specific.
36591Solution: Only use "v3" to automatically use the latest stable version.
36592 (closes #11720)
36593
36594Patch 9.0.1072
36595Problem: screenpos() column result in fold may be too small.
36596Solution: Add space of 'number', sign column, etc. (closes #11715)
36597
36598Patch 9.0.1073
36599Problem: Using "xterm-kitty" for 'term' causes problems.
36600Solution: Remove the "xterm-" part when 'term' is set from $TERM. Detect a
36601 few kitty-specific properties based on the version response
36602 instead of the terminal name.
36603
36604Patch 9.0.1074
36605Problem: Class members are not supported yet.
36606Solution: Add initial support for class members.
36607
36608Patch 9.0.1075
36609Problem: build fails if the compiler doesn't allow for a declaration right
36610 after "case".
36611Solution: Add a block.
36612
36613Patch 9.0.1076
36614Problem: ASAN complains about NULL argument.
36615Solution: Skip memmove() when there is nothing to move.
36616
36617Patch 9.0.1077
36618Problem: Can add text property with negative ID before virtual text
36619 property.
36620Solution: Remember that a text property with a negative ID was used and give
36621 an appropriate error message. (closes #11725)
36622 Fix index computation.
36623
36624Patch 9.0.1078
36625Problem: With the +vartabs feature indent folding may use wrong 'tabstop'.
36626Solution: Use the "buf" argument instead of "curbuf".
36627
36628Patch 9.0.1079
36629Problem: Leaking memory when defining a user command fails.
36630Solution: Free "compl_arg" when needed. (closes #11726)
36631
36632Patch 9.0.1080
36633Problem: The "kitty" terminfo entry is not widespread, resulting in the
36634 kitty terminal not working properly.
36635Solution: Go back to using "xterm-kitty" and avoid the problems it causes in
36636 another way.
36637
36638Patch 9.0.1081
36639Problem: Using "->" with split lines does not always work.
36640Solution: Avoid trying to get another line. (closes #11723)
36641
36642Patch 9.0.1082
36643Problem: Some jsonc files are not recognized.
36644Solution: Add patterns for jsonc and move some from json to jsonc.
36645 (closes #11711)
36646
36647Patch 9.0.1083
36648Problem: Empty and comment lines in a class cause an error.
36649Solution: Skip empty and comment lines. (closes #11734)
36650
36651Patch 9.0.1084
36652Problem: Code handling low level MS-Windows events cannot be tested.
36653Solution: Add test_mswin_event() and tests using it. (Christopher Plewright,
36654 closes #11622)
36655
36656Patch 9.0.1085
36657Problem: Compiler warns for uninitialized variable.
36658Solution: Initialize the variable. Remove unused function. (John Marriott)
36659
36660Patch 9.0.1086
36661Problem: Display wrong in Windows terminal after exiting Vim.
36662Solution: Apply screen restore fix for Windows 11 also to Windows 10 builds.
36663 (Christopher Plewright, closes #11713, closes #11706)
36664
36665Patch 9.0.1087
36666Problem: Autocommand test sometimes fails.
36667Solution: Add a short delay. (James McCoy, closes #11737)
36668
36669Patch 9.0.1088
36670Problem: Clang warns for unused variable.
36671Solution: Adjust #ifdef. (John Marriott)
36672
36673Patch 9.0.1089
K.Takata7b7672d2024-01-06 01:47:01 +090036674Problem: unnecessary assignment
Christian Brabandt5872bcb2023-12-19 20:10:43 +010036675Solution: Remove the assignment. (Luuk van Baal, closes #1136)
36676
36677Patch 9.0.1090
36678Problem: FHIR Shorthand files are not recognized.
36679Solution: Add a pattern to detect FSH files. (Matthew Gramigna,
36680 closes #11738)
36681
36682Patch 9.0.1091
36683Problem: Assignment to non-existing member causes a crash. (Yegappan
36684 Lakshmanan)
36685Solution: Give an error message and bail out when a member cannot be found.
36686
36687Patch 9.0.1092
36688Problem: Search error message doesn't show used pattern.
36689Solution: Pass the actually used pattern to where the error message is
36690 given. (Rob Pilling, closes #11742)
36691
36692Patch 9.0.1093
36693Problem: Using freed memory of object member. (Yegappan Lakshmanan)
36694Solution: Make a copy of the object member when getting it.
36695
36696Patch 9.0.1094
36697Problem: Compiler warning when HAS_MESSAGE_WINDOW is not defined.
36698Solution: Add UNUSED.
36699
36700Patch 9.0.1095
36701Problem: Using freed memory when declaration fails. (Yegappan Lakshmanan)
36702Solution: After unreferencing an object set the reference to NULL.
36703
36704Patch 9.0.1096
36705Problem: Reallocating hashtab when the size didn't change.
36706Solution: Bail out when the hashtab is already the desired size.
36707
36708Patch 9.0.1097
36709Problem: Tests are failing.
36710Solution: Do clean up a hashtab when at the initial size.
36711
36712Patch 9.0.1098
36713Problem: Code uses too much indent.
36714Solution: Use an early return. (Yegappan Lakshmanan, closes #11747)
36715
36716Patch 9.0.1099
36717Problem: Trying to resize a hashtab may cause a problem.
36718Solution: Do not try to resize a hashtab before adding an item.
36719
36720Patch 9.0.1100
36721Problem: A hashtab with many removed items is not cleaned up.
36722Solution: Re-hash a hashtab even when the size didn't change if too many
36723 items were removed.
36724
36725Patch 9.0.1101
36726Problem: Unused global variable.
36727Solution: Remove the variable. (closes #11752)
36728
36729Patch 9.0.1102
36730Problem: Complicated use of #ifdef.
36731Solution: Simplify #ifdef use. (Ken Takata, closes #11745)
36732
36733Patch 9.0.1103
36734Problem: jq files are not recognized.
36735Solution: Add detection of Jq files. (David McDonald, closes #11743)
36736
36737Patch 9.0.1104
36738Problem: Invalid memory access when checking function argument types.
36739Solution: Do not check beyond the number of arguments. (closes #11755)
36740
36741Patch 9.0.1105
36742Problem: Code is indented too much.
36743Solution: Use an early return. (Yegappan Lakshmanan, closes #11756)
36744
36745Patch 9.0.1106
36746Problem: Not all postfix files are recognized.
36747Solution: Recognize main.cf.proto files. (closes #11732)
36748
36749Patch 9.0.1107
36750Problem: Float constant not recognized as float.
36751Solution: Check the vartype instead of comparing with t_float.
36752 (closes #11754)
36753
36754Patch 9.0.1108
36755Problem: Type error when using "any" type and adding a number to a float.
36756Solution: Accept both a number and a float. (closes #11753)
36757
36758Patch 9.0.1109
36759Problem: Leaking allocated type.
36760Solution: Reset the "static" flag in the allocated type copy.
36761
36762Patch 9.0.1110
36763Problem: Build fails on Mac OS X 10.4/10.5 .
36764Solution: Check if the dispatch/dispatch.h header exists. (Evan Miller,
36765 closes #11746)
36766
36767Patch 9.0.1111
36768Problem: Termcap entries for RGB colors are not set automatically.
36769Solution: Always set the termcap entries when +termguicolors is enabled.
36770
36771Patch 9.0.1112
36772Problem: test_mswin_event() can hang.
36773Solution: Add the "execute" argument to process events right away.
36774 (Christopher Plewright, closes #11760)
36775
36776Patch 9.0.1113
36777Problem: Users cannot easily try out a PR.
36778Solution: Add an "artifacts" section to the AppVeyor CI config. (Christian
36779 Brabandt, closes #11762)
36780
36781Patch 9.0.1114
36782Problem: CI does not use the latest Python version.
36783Solution: Switch from Python 3.10 to 3.11. (closes #11761)
36784
36785Patch 9.0.1115
36786Problem: Code is indented more than needed.
36787Solution: Use an early return to reduce indenting. (Yegappan Lakshmanan,
36788 closes #11758)
36789
36790Patch 9.0.1116
36791Problem: Compiler may complain about an unused function.
36792Solution: Add #ifdef. (John Marriott)
36793
36794Patch 9.0.1117
36795Problem: Terminfo entries for bracketed paste are not used.
36796Solution: Use the newly added terminfo entries for bracketed paste.
36797 Correct mixup of output strings and key codes.
36798
36799Patch 9.0.1118
36800Problem: Sporadic test failures when using a terminal window.
36801Solution: Adjust waiting times. (James McCoy, closes #11763)
36802
36803Patch 9.0.1119
36804Problem: Type of arguments not checked when calling a partial.
36805Solution: Give an error for a wrong argument type. (closes #11753)
36806
36807Patch 9.0.1120
36808Problem: Tex filetype detection not sufficiently tested.
36809Solution: Add more test cases for "tex" detection. (Jonas Strittmatter,
36810 closes #11765)
36811
36812Patch 9.0.1121
36813Problem: Cursor positioning and display problems with 'smoothscroll' and
36814 using "zt", "zb" or "zz".
36815Solution: Adjust computations and conditions. (Yee Cheng Chin,
36816 closes #11764)
36817
36818Patch 9.0.1122
36819Problem: Class member access is not fully tested yet.
36820Solution: Add more tests.
36821
36822Patch 9.0.1123
36823Problem: Class function not implemented yet.
36824Solution: Implement defining and calling a class function.
36825
36826Patch 9.0.1124
36827Problem: Virtual text at a column position is truncated at the window edge.
36828 (Yegappan Lakshmanan)
36829Solution: Do not truncated virtual text that is placed at a column.
36830
36831Patch 9.0.1125
36832Problem: Memory leak when using class functions.
36833Solution: Clear and free the array with class functions.
36834
36835Patch 9.0.1126
36836Problem: Bracketed paste can be enabled when pasted text is not recognized.
36837Solution: Output t_BE only when t_PS and t_PE are set.
36838
36839Patch 9.0.1127
36840Problem: No error if function argument shadows class member.
36841Solution: Give an error for shadowing a class member.
36842
36843Patch 9.0.1128
36844Problem: Build failure.
36845Solution: Add type cast. Add missing error messages.
36846
36847Patch 9.0.1129
36848Problem: Sporadic Test_range() failure.
36849Solution: Clear typeahead. Move to a separate function. (issue #22771)
36850
36851Patch 9.0.1130
36852Problem: Unexpected output when autoloading a script for an interactive
36853 operation.
36854Solution: Reset "KeyTyped" while loading a script and when handling a nested
36855 function. (closes #11773)
36856
36857Patch 9.0.1131
36858Problem: Build failure without the +eval feature.
36859Solution: Move code inside #ifdef.
36860
36861Patch 9.0.1132
36862Problem: Code is indented more than needed.
36863Solution: Use an early return to reduce indentation. (Yegappan Lakshmanan,
36864 closes #11769)
36865
36866Patch 9.0.1133
36867Problem: Error message names do not match the items.
36868Solution: Add "_str" when the text contains "%s".
36869
36870Patch 9.0.1134
36871Problem: Comparing objects uses identity instead of equality.
36872Solution: Compare the object values.
36873
36874Patch 9.0.1135
36875Problem: Missing function argument.
36876Solution: Add ignore case flag.
36877
36878Patch 9.0.1136
36879Problem: Memory leak when getting class member type from expr.
36880Solution: Clear the expression result.
36881
36882Patch 9.0.1137
36883Problem: Some conditions are always false.
36884Solution: Remove the useless conditions. (closes #11776)
36885
36886Patch 9.0.1138
36887Problem: Crash when expecting varargs but it is something else.
36888Solution: Only use the member when the type is a list. (closes #11774)
36889
36890Patch 9.0.1139
36891Problem: Cannot create a new object in a compiled function.
K.Takata7b7672d2024-01-06 01:47:01 +090036892Solution: Compile the instructions to create a new object.
Christian Brabandt5872bcb2023-12-19 20:10:43 +010036893
36894Patch 9.0.1140
36895Problem: Cannot call an object method in a compiled function.
K.Takata7b7672d2024-01-06 01:47:01 +090036896Solution: Compile the instructions to invoke an object method.
Christian Brabandt5872bcb2023-12-19 20:10:43 +010036897
36898Patch 9.0.1141
36899Problem: 'cursorcolumn' and 'colorcolumn' wrong after concealing and
36900 wrapping line.
36901Solution: Reset "wlv.vcol_off" after each screen line. (Alexey Radkov,
36902 closes #11777)
36903
36904Patch 9.0.1142
36905Problem: Crash and/or memory leak when redefining function after error.
36906Solution: Clear pointer after making a copy. Clear arrays on failure.
36907 (closes #11774)
36908
36909Patch 9.0.1143
36910Problem: Invalid memory access with bad 'statusline' value.
36911Solution: Avoid going over the NUL at the end.
36912
36913Patch 9.0.1144
36914Problem: Reading beyond text.
36915Solution: Add strlen_maxlen() and use it.
36916
36917Patch 9.0.1145
36918Problem: Invalid memory access with recursive substitute expression.
36919Solution: Check the return value of vim_regsub().
36920
36921Patch 9.0.1146
36922Problem: MS-Windows: various special keys and modifiers are not mappable.
36923Solution: Adjust the handling of keys with modifiers. (Christian Plewright,
36924 closes #11768)
36925
36926Patch 9.0.1147
36927Problem: Cannot access a class member in a compiled function.
36928Solution: Implement looking up a class member.
36929
36930Patch 9.0.1148
36931Problem: Cmdline test fails in the GUI.
36932Solution: Skip the test when running in the GUI.
36933
36934Patch 9.0.1149
36935Problem: Class members may be garbage collected.
36936Solution: Mark class members as being in use.
36937
36938Patch 9.0.1150
36939Problem: :interface is not implemented yet.
36940Solution: Implement the basics of :interface.
36941
36942Patch 9.0.1151
36943Problem: Build failure.
36944Solution: Add missing part of :interface change.
36945
36946Patch 9.0.1152
36947Problem: Class "implements" argument not implemented.
36948Solution: Implement "implements" argument. Add basic checks for when a
36949 class implements an interface.
36950
36951Patch 9.0.1153
36952Problem: Build error with some compilers.
36953Solution: Clear pointer the right way.
36954
36955Patch 9.0.1154
36956Problem: Coverity warns for dead code.
36957Solution: Remove condition that is always true.
36958
36959Patch 9.0.1155
36960Problem: Cannot use a class as a type.
36961Solution: Accept a class and interface name as a type.
36962
36963Patch 9.0.1156
36964Problem: Tests fail because of a different error message.
36965Solution: Don't give an error if a type name can't be found.
36966
36967Patch 9.0.1157
36968Problem: "implements" only handles one interface name.
36969Solution: Handle a comma separated list of names. Check for duplicate
36970 names.
36971
36972Patch 9.0.1158
36973Problem: Code is indented more than necessary.
36974Solution: Use an early return where it makes sense. (Yegappan Lakshmanan,
36975 closes #11787)
36976
36977Patch 9.0.1159
36978Problem: Extends argument for class not implemented yet.
36979Solution: Basic implementation of "extends".
36980
36981Patch 9.0.1160
36982Problem: ASAN error for ufunc_T allocated with wrong size.
36983Solution: Make sure the size can always fit the struct.
36984
36985Patch 9.0.1161
36986Problem: Coverity warns for using strcpy().
36987Solution: Call a function to set the function name.
36988
36989Patch 9.0.1162
36990Problem: Configure does not handle all FORTIFY_SOURCE variants.
36991Solution: Also handle Fedora's default FORTIFY_SOURCE flags. (Zdenek Dohnal,
36992 closes #11794)
36993
36994Patch 9.0.1163
36995Problem: Compiler warning for implicit size_t/int conversion.
36996Solution: Add a type cast. (Mike Williams, closes #11795)
36997
36998Patch 9.0.1164
36999Problem: Evaluating string expression advances function line.
37000Solution: Disable function lines while parsing a string expression.
37001 (Hirohito Higashi, closes #11796)
37002
37003Patch 9.0.1165
37004Problem: Tests using IPv6 sometimes fail.
37005Solution: Use getaddrinfo() and use try/catch. (James McCoy,
37006 closes #11783)
37007
37008Patch 9.0.1166
37009Problem: Code is indented more than necessary.
37010Solution: Use an early return where it makes sense. (Yegappan Lakshmanan,
37011 closes #11792)
37012
37013Patch 9.0.1167
37014Problem: EditorConfig files do not have their own filetype.
37015Solution: Add the "editorconfig" filetype. (Gregory Anders, closes #11779)
37016
37017Patch 9.0.1168
37018Problem: Code to enable/disable mouse is not from terminfo/termcap.
37019Solution: Request the "XM" entry and use it to set 'ttymouse' if possible.
37020
37021Patch 9.0.1169
37022Problem: Some key+modifier tests fail on some AppVeyor images.
37023Solution: Adjust the tests for key movements and fix the revealed bugs.
37024 (Christopher Plewright, closes #11798)
37025
37026Patch 9.0.1170
37027Problem: LGTM badge no longer works.
37028Solution: Remove the LGTM badge. (closes #11799)
37029
37030Patch 9.0.1171
37031Problem: Screen is not redrawn after using setcellwidths().
37032Solution: Redraw the screen when the cell widths have changed. (Yasuhiro
37033 Matsumoto, closes #11800)
37034
37035Patch 9.0.1172
37036Problem: When 'selection' is "exclusive" then "1v" is one char short.
K.Takata7b7672d2024-01-06 01:47:01 +090037037Solution: Add one character when 'selection' is "exclusive". (closes #11791)
Christian Brabandt5872bcb2023-12-19 20:10:43 +010037038
37039Patch 9.0.1173
37040Problem: Compiler warning for unused variable on non-Unix systems.
37041Solution: Move #ifdef. (John Marriott)
37042
37043Patch 9.0.1174
37044Problem: Smali files are not recognized.
37045Solution: Add a pattern for Smali files. (Amaan Qureshi, closes #11801)
37046
37047Patch 9.0.1175
37048Problem: The set_ref_in_item() function is too long.
37049Solution: Use a separate function for more complicated types. (Yegappan
37050 Lakshmanan, closes #11802)
37051
37052Patch 9.0.1176
37053Problem: smithy files are not recognized.
37054Solution: Add a pattern for Smithy files. (Chris Kipp, closes #11804)
37055
37056Patch 9.0.1177
37057Problem: AppVeyor uses some older tools.
37058Solution: Switch to Visual Studio 2022 and Python 3.11. (Christopher
37059 Plewright, closes #11793)
37060
37061Patch 9.0.1178
37062Problem: A child class cannot override functions from a base class.
37063Solution: Allow overriding and implement "super".
37064
37065Patch 9.0.1179
37066Problem: Not all errors around inheritance are tested.
37067Solution: Add more tests. Fix uncovered problems.
37068
37069Patch 9.0.1180
37070Problem: Compiler warnings without the +job feature.
37071Solution: Adjust #ifdefs. (John Marriott)
37072
37073Patch 9.0.1181
37074Problem: Class inheritance and typing insufficiently tested.
37075Solution: Add more tests. Implement missing behavior.
37076
37077Patch 9.0.1182
37078Problem: go checksum files are not recognized.
37079Solution: Add the name of go checksum files. (Amaan Qureshi, closes #11803)
37080
37081Patch 9.0.1183
37082Problem: Code is indented more than necessary.
37083Solution: Use an early return where it makes sense. (Yegappan Lakshmanan,
37084 closes #11805)
37085
37086Patch 9.0.1184
37087Problem: Interface of an object is not recognized when checking type.
37088Solution: Use the interface implemented by an object.
37089
37090Patch 9.0.1185
37091Problem: Using class from imported script not tested.
37092Solution: Add tests. Implement what is missing.
37093
37094Patch 9.0.1186
37095Problem: Imported class does not work when used twice in a line.
37096Solution: Fix the type parsing.
37097
37098Patch 9.0.1187
37099Problem: Test for using imported class fails.
37100Solution: Skip over rest of type.
37101
37102Patch 9.0.1188
37103Problem: Return value of type() for class and object unclear.
37104Solution: Add v:t_object and v:t_class.
37105
37106Patch 9.0.1189
37107Problem: Invalid memory access with folding and using "L".
37108Solution: Prevent the cursor from moving to line zero.
37109
37110Patch 9.0.1190
37111Problem: AppVeyor runs much slower with MSVC 2022.
37112Solution: Go back to MSVC 2015. (Christopher Plewright, closes #11810)
37113
37114Patch 9.0.1191
37115Problem: Some Bazel files are not recognized.
37116Solution: Add an extra Bazel pattern. (Keith Smily, closes #11807)
37117
37118Patch 9.0.1192
37119Problem: No error when class function argument shadows a member.
37120Solution: Check for shadowing.
37121
37122Patch 9.0.1193
37123Problem: Cannot map <Esc> when using the Kitty key protocol.
37124Solution: Add a non-simplified mapping for K_ESC. (closes #11811)
37125
37126Patch 9.0.1194
37127Problem: Compiler warning for comparing pointer with int.
37128Solution: Change NULL to zero.
37129
37130Patch 9.0.1195
37131Problem: Restoring KeyTyped when building statusline not tested.
37132Solution: Add a test. Clean up and fix other tests. (closes #11815)
37133
37134Patch 9.0.1196
37135Problem: Code is indented more than necessary.
37136Solution: Use an early return where it makes sense. (Yegappan Lakshmanan,
37137 closes #11813)
37138
37139Patch 9.0.1197
37140Problem: Dump file missing from patch.
37141Solution: Add missing dump file.
37142
37143Patch 9.0.1198
37144Problem: Abstract class not supported yet.
37145Solution: Implement abstract class and add tests.
37146
37147Patch 9.0.1199
37148Problem: Crash when using kitty and using a mapping with <Esc>.
37149Solution: Do not try setting did_simplify when it is NULL. (closes #11817)
37150
37151Patch 9.0.1200
37152Problem: AppVeyor builds with an old Python version.
37153Solution: Switch from Python 3.8 to 3.11. (Christopher Plewright,
37154 closes #11814)
37155
37156Patch 9.0.1201
37157Problem: Assignment with operator doesn't work in object method.
37158Solution: Handle loading the object member. (closes #11820) Add a few more
37159 tests.
37160
37161Patch 9.0.1202
37162Problem: Crash when iterating over list of objects.
37163Solution: Do not make a copy of tt_member for object or class.
37164 (closes #11823)
37165
37166Patch 9.0.1203
37167Problem: Return type of values() is always list<any>.
37168Solution: Use the member type if possible. (issue #11822)
37169
37170Patch 9.0.1204
37171Problem: Expression compiled the wrong way after using an object.
37172Solution: Generate constants before getting the type.
37173
37174Patch 9.0.1205
37175Problem: Crash when handling class that extends another class with more
37176 than one object members.
37177Solution: Correct pointer computations. (closes #11824)
37178
37179Patch 9.0.1206
37180Problem: Testing with Python on AppVeyor does not work properly.
37181Solution: Fix typo. Move most lines to the .bat file. (Christopher
37182 Plewright, closes #11828)
37183
37184Patch 9.0.1207
37185Problem: Error when object type is expected but getting "any".
37186Solution: When actual type is "any" use a runtime type check.
37187 (closes #11826)
37188
37189Patch 9.0.1208
37190Problem: Code is indented more than necessary.
37191Solution: Use an early return where it makes sense. (Yegappan Lakshmanan,
37192 closes #11819)
37193
37194Patch 9.0.1209
37195Problem: Getting interface member does not always work.
37196Solution: Convert the index on the interface to the index on the object.
37197 (closes #11825)
37198
37199Patch 9.0.1210
37200Problem: Compiler complains about declaration after label.
37201Solution: Move declaration to beginning of block (John Marriott)
37202
37203Patch 9.0.1211
37204Problem: Storing value in interface member does not always work.
37205Solution: Convert the index on the interface to the index on the object.
37206
37207Patch 9.0.1212
37208Problem: Cannot read back what setcellwidths() has done.
37209Solution: Add getcellwidths(). (Kota Kato, closes #11837)
37210
37211Patch 9.0.1213
37212Problem: Adding a line below the last one does not expand fold.
37213Solution: Do not skip mark_adjust() when adding lines below the last one.
37214 (Brandon Simmons, closes #11832, closes #10698)
37215
37216Patch 9.0.1214
37217Problem: File left behind after running tests.
37218Solution: Delete the file. (Dominique Pellé, closes #11839)
37219
37220Patch 9.0.1215
37221Problem: Using isalpha() adds dependency on current locale.
37222Solution: Do not use isalpha() for recognizing a URL or the end of an Ex
37223 command. (closes #11835)
37224
37225Patch 9.0.1216
37226Problem: Coverity warns for ignoring return value.
37227Solution: Break out of loop if function fails.
37228
37229Patch 9.0.1217
37230Problem: Using an object member in a closure doesn't work.
37231Solution: Initialize lv_loop_depth. (closes #11840)
37232
37233Patch 9.0.1218
37234Problem: Completion includes functions that don't work.
37235Solution: Skip functions that are not implemented. (Kota Kato,
37236 closes #11845)
37237
37238Patch 9.0.1219
37239Problem: Handling of FORTIFY_SOURCE flags doesn't match Fedora usage.
37240Solution: Adjust the "sed" patterns. (Zdenek Dohnal, closes #11847)
37241
37242Patch 9.0.1220
37243Problem: Termcap/terminfo entries do not indicate where modifiers might
37244 appear.
37245Solution: Add ";*" for function keys where modifiers are likely to be used.
37246
37247Patch 9.0.1221
37248Problem: Code is indented more than necessary.
37249Solution: Use an early return where it makes sense. (Yegappan Lakshmanan,
37250 closes #11833)
37251
37252Patch 9.0.1222
37253Problem: Terminal tests are flaky on MacOS.
37254Solution: Add TermWait() calls. (Yegappan Lakshmanan, closes #11852)
37255
37256Patch 9.0.1223
37257Problem: Cannot use setcellwidths() below 0x100.
37258Solution: Also accept characters between 0x80 and 0x100. (Ken Takata,
37259 closes #11834)
37260
37261Patch 9.0.1224
37262Problem: Cannot call a :def function with a number for a float argument.
37263Solution: Accept a number as well, convert it to a float.
37264
37265Patch 9.0.1225
37266Problem: Reading past the end of a line when formatting text.
37267Solution: Check for not going over the end of the line.
37268
37269Patch 9.0.1226
K.Takata7b7672d2024-01-06 01:47:01 +090037270Problem: Spurious empty line when using text properties and virtual text.
Christian Brabandt5872bcb2023-12-19 20:10:43 +010037271Solution: Do not set "text_prop_follows" when the other text property is not
37272 virtual text. (closes #11846)
37273
37274Patch 9.0.1227
37275Problem: No cmdline completion for :runtime.
37276Solution: Add completion for :runtime. (closes #11853, closes #11447)
37277 Improve the resulting matches.
37278
37279Patch 9.0.1228
37280Problem: Fuzzy menu completion is only tested in the GUI.
37281Solution: Make fuzzy menu completion test work without GUI.
37282 (closes #11861)
37283
37284Patch 9.0.1229
37285Problem: Cap'n Proto files are not recognized.
37286Solution: Add a pattern and the "capnp" filetype. (Amaan Qureshi,
37287 closes #11862)
37288
37289Patch 9.0.1230
37290Problem: Apache thrift files are not recognized.
37291Solution: Add a pattern for thrift files. (Amaan Qureshi, closes #11859)
37292
37293Patch 9.0.1231
37294Problem: Completion of :runtime does not handle {where} argument.
37295Solution: Parse the {where} argument. (closes #11863)
37296
37297Patch 9.0.1232
37298Problem: ColorTable saving and restoring does not work properly.
37299Solution: Restore ColorTable[16] usage. (Christopher Plewright,
37300 closes #11836)
37301
37302Patch 9.0.1233
37303Problem: search() loops forever if "skip" is TRUE for all matches.
37304Solution: Keep the position of the first match.
37305
37306Patch 9.0.1234
37307Problem: The code style has to be checked manually.
37308Solution: Add basic code style checks in a test. Fix or avoid uncovered
37309 problems.
37310
37311Patch 9.0.1235
37312Problem: MS-Windows console: not flushing termguicolors.
37313Solution: Flush termguicolors. (Christopher Plewright, closes #11871)
37314
37315Patch 9.0.1236
37316Problem: Code in same_leader() can be simplified.
37317Solution: Simplify code that is executed only once. (closes #11867)
37318
37319Patch 9.0.1237
37320Problem: Code is indented more than necessary.
37321Solution: Use an early return where it makes sense. (Yegappan Lakshmanan,
37322 closes #11858)
37323
37324Patch 9.0.1238
37325Problem: :runtime completion can be further improved.
37326Solution: Also complete the {where} argument values and adjust the
37327 completion for that. (closes #11874)
37328
37329Patch 9.0.1239
37330Problem: Cannot have a line break before an object member access.
37331Solution: Check for "." in next line. (closes #11864)
37332
37333Patch 9.0.1240
37334Problem: Cannot access a private object member in a lambda defined inside
37335 the class.
37336Solution: Go up the context stack to find the class. (closes #11866)
37337
37338Patch 9.0.1241
37339Problem: Coverity warns for not checking function return value.
37340Solution: Explicitly ignore the return value.
37341
37342Patch 9.0.1242
37343Problem: Code for :runtime completion is not consistent.
37344Solution: Make code for cmdline expansion more consistent. (closes #11875)
37345
37346Patch 9.0.1243
37347Problem: :setglobal cannot use script-local function for "expr" option.
37348Solution: Use the pointer to the option value properly. (closes #11883)
37349
37350Patch 9.0.1244
37351Problem: Cursor briefly displayed in a wrong position when pressing Esc in
37352 Insert mode after autoindent was used.
37353Solution: Do not adjust the cursor position for assumed deleted white space
37354 if text is following. (closes #11877)
37355
37356Patch 9.0.1245
37357Problem: Code is indented more than necessary.
37358Solution: Use an early return where it makes sense. (Yegappan Lakshmanan,
37359 closes #11879)
37360
37361Patch 9.0.1246
37362Problem: Code is indented more than necessary.
37363Solution: Use an early return where it makes sense. (Yegappan Lakshmanan,
37364 closes #11887)
37365
37366Patch 9.0.1247
37367Problem: Divide by zero with 'smoothscroll' set and a narrow window.
37368Solution: Bail out when the window is too narrow.
37369
37370Patch 9.0.1248
37371Problem: Cannot export an interface. (Ernie Rael)
37372Solution: Add the EX_EXPORT flag to :interface. (closes #11884)
37373
37374Patch 9.0.1249
37375Problem: Cannot export an abstract class. (Ernie Rael)
37376Solution: Add the EX_EXPORT flag to :abstract. (closes #11884)
37377
37378Patch 9.0.1250
37379Problem: Cannot use an object method with :defer. (Ernie Rael)
37380Solution: Find the object method and generate code to call it.
37381 (closes #11886)
37382
37383Patch 9.0.1251
37384Problem: Checking returned value of ga_grow() is inconsistent.
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010037385Solution: Check for FAIL instead of "not OK". (Yegappan Lakshmanan,
Christian Brabandt5872bcb2023-12-19 20:10:43 +010037386 closes #11897)
37387
37388Patch 9.0.1252
37389Problem: MS-Windows: scrollback cropped off on Vim exit.
37390Solution: Don't call SetConsoleScreenBufferInfoEx when using the alternate
37391 screen buffer. (Christopher Plewright, closes #11882)
37392
37393Patch 9.0.1253
37394Problem: CI adds repository unnecessarily.
37395Solution: Remove the line from the workflow. (closes #11900)
37396
37397Patch 9.0.1254
37398Problem: Calling a method on an interface does not work.
37399Solution: At runtime figure out what method to call. (closes #11901)
37400
37401Patch 9.0.1255
37402Problem: Changing 'virtualedit' does not have immediate effect.
37403Solution: Correct how is checked for a changed value. (closes #11878)
37404
37405Patch 9.0.1256
37406Problem: NetworkManager connection files are not recognized.
37407Solution: Add a pattern for NetworkManager connection files. (closes #11893)
37408
37409Patch 9.0.1257
37410Problem: Code style is not check in test scripts.
37411Solution: Add basic code style check for test files.
37412
37413Patch 9.0.1258
37414Problem: Code style test fails.
37415Solution: Adjust test files.
37416
37417Patch 9.0.1259
37418Problem: Diffmode test fails.
37419Solution: Adjust expected result for adjusted indenting.
37420
37421Patch 9.0.1260
37422Problem: Coverity warns for possible NULL pointer usage.
37423Solution: Change the condition.
37424
37425Patch 9.0.1261
37426Problem: Elsa files are not recognized.
37427Solution: Add a pattern for Elsa files. (Amaan Qureshi, closes #11908)
37428
37429Patch 9.0.1262
37430Problem: The did_set_string_option function is too long.
37431Solution: Split off functionality to individual functions. (Yegappan
37432 Lakshmanan, Lewis Russell, closes #11904)
37433
37434Patch 9.0.1263
37435Problem: KDL files are not recognized.
37436Solution: Add a pattern for KDL files. (Amaan Qureshi, closes #11898)
37437
37438Patch 9.0.1264
37439Problem: Motif: compiler warning for unused argument.
37440Solution: Add "UNUSED".
37441
37442Patch 9.0.1265
37443Problem: Using an interface method may give a compilation error.
37444Solution: Do not try to compile the body of a method of an interface.
37445 (closes #11885)
37446
37447Patch 9.0.1266
37448Problem: Error for space before ": type" is inconsistent.
37449Solution: Give E1059 in more places. (closes #11868)
37450
37451Patch 9.0.1267
37452Problem: The did_set_string_option function is too long.
37453Solution: Further cleanup of handling string options. (Yegappan Lakshmanan,
37454 Lewis Russell, closes #11920)
37455
37456Patch 9.0.1268
37457Problem: .clangd and .stylelintrc files don't get a filetype.
37458Solution: Use yaml for .clangd and json for .stylelintrc files. (Mark
37459 Skelton, closes #11916)
37460
37461Patch 9.0.1269
37462Problem: Channel test often fails on Mac OS.
37463Solution: Increase the wait time from one to 15 milliseconds. (D. Ben
37464 Knoble, closes #11894)
37465
37466Patch 9.0.1270
37467Problem: Crash when using search stat in narrow screen.
37468Solution: Check length of message. (closes #11921)
37469
37470Patch 9.0.1271
37471Problem: Using sizeof() and subtract array size is tricky.
37472Solution: Use offsetof() instead. (closes #11926)
37473
37474Patch 9.0.1272
37475Problem: Typo in pattern for filetype detection.
37476Solution: Fix the typo. (closes #11924)
37477
37478Patch 9.0.1273
37479Problem: "1v" may select block with wrong size. (Evgeni Chasnovski)
37480Solution: Compute "curswant" in the right line. (closes #11925)
37481
37482Patch 9.0.1274
37483Problem: FIRRTL files are not recognized.
37484Solution: Add a pattern for FIRRTL files. (Amaan Qureshi, closes #11931)
37485
37486Patch 9.0.1275
37487Problem: The code for setting options is too complicated.
37488Solution: Refactor the do_set() function. (Yegappan Lakshmanan, Lewis
37489 Russell, closes #11932)
37490
37491Patch 9.0.1276
37492Problem: Some mappings with Meta and Shift do not work.
37493Solution: Apply the Shift modifier to the key. (issue #11913)
37494
37495Patch 9.0.1277
37496Problem: Cursor may move with autocmd in Visual mode.
37497Solution: Restore "VIsual_active" before calling check_cursor().
37498 (closes #11939)
37499
37500Patch 9.0.1278
37501Problem: go.work.sum files are not recognized.
37502Solution: Recognize go.work.sum files as the gosum filetype. (Amaan Qureshi,
37503 closes #11940)
37504
37505Patch 9.0.1279
37506Problem: Display shows lines scrolled down erroneously. (Yishai Lerner)
37507Solution: Do not change "wl_lnum" at index zero. (closes #11938)
37508
37509Patch 9.0.1280
K.Takata7b7672d2024-01-06 01:47:01 +090037510Problem: Insufficient testing for what 9.0.1265 fixes.
Christian Brabandt5872bcb2023-12-19 20:10:43 +010037511Solution: Add a couple of test cases. (issue #11885)
37512
37513Patch 9.0.1281
37514Problem: Cadence files are not recognized.
37515Solution: Recognize Cadence files. (Janez Podhostnik, closes #11951)
37516
37517Patch 9.0.1282
37518Problem: Ron files are not recognized.
37519Solution: Recognize Ron files. (Amaan Qureshi, closes #11948)
37520
37521Patch 9.0.1283
37522Problem: The code for setting options is too complicated.
37523Solution: Refactor the do_set() function. (Yegappan Lakshmanan, Lewis
37524 Russell, closes #11945)
37525
37526Patch 9.0.1284
37527Problem: Compiler warnings for uninitialized variables. (Tony Mechelynck)
37528Solution: Add variable initializations.
37529
37530Patch 9.0.1285
37531Problem: Various small problems.
37532Solution: Adjust white space and comments.
37533
37534Patch 9.0.1286
37535Problem: Coverity warns for using a NULL pointer.
37536Solution: Bail out whan "varp" is NULL.
37537
37538Patch 9.0.1287
K.Takata7b7672d2024-01-06 01:47:01 +090037539Problem: With the Kitty key protocol Esc with NumLock cannot be mapped.
Christian Brabandt5872bcb2023-12-19 20:10:43 +010037540Solution: Also use K_ESC when there is a modifier. (closes #11811)
37541
37542Patch 9.0.1288
37543Problem: FunC files are not recognized.
37544Solution: Recognize FunC files. (Amaan Qureshi, closes #11949)
37545
37546Patch 9.0.1289
37547Problem: A newer version of clang can be used for CI.
37548Solution: Switch from clang-15 to clang-16. (closes #11577)
37549
37550Patch 9.0.1290
37551Problem: CTRL-N and -P on cmdline don't trigger CmdlineChanged.
37552Solution: Jump to cmdline_changed instead of cmdline_not_changed.
37553 (closes #11956)
37554
37555Patch 9.0.1291
37556Problem: Move language files are not recognized.
37557Solution: Recognize Move language files. (Amaan Qureshi, closes #11947)
37558
37559Patch 9.0.1292
37560Problem: :defer may call the wrong method for an object. (Ernie Rael)
37561Solution: When en object is from a class that extends or implements, figure
37562 out the method to call at runtime. (closes #11910)
37563
37564Patch 9.0.1293
37565Problem: The set_num_option() is too long.
37566Solution: Move code to separate functions. (Yegappan Lakshmanan,
37567 closes #11954)
37568
37569Patch 9.0.1294
37570Problem: The set_bool_option() function is too long.
37571Solution: Move code to separate functions. (Yegappan Lakshmanan,
37572 closes #11964)
37573
37574Patch 9.0.1295
37575Problem: The option initialization function is too long.
37576Solution: Move code to separate functions. (Yegappan Lakshmanan,
37577 closes #11966)
37578
37579Patch 9.0.1296
37580Problem: Calling an object method with arguments does not work. (Ernie
37581 Rael)
37582Solution: Take the argument count into account when looking up the object.
37583 (closes #11911)
37584
37585Patch 9.0.1297
37586Problem: Wrong value for $LC_CTYPE makes the environ test fail.
37587Solution: Unset $LC_CTYPE when running tests. (closes #11963)
37588
37589Patch 9.0.1298
37590Problem: Inserting a register on the command line does not trigger
37591 incsearch or update hlsearch.
37592Solution: Have cmdline_insert_reg() return CMDLINE_CHANGED when appropriate
37593 and handle it correctly. (Ken Takata, closes #11960)
37594
37595Patch 9.0.1299
37596Problem: Change for triggering incsearch not sufficiently tested.
37597Solution: Add a test case. Simplify the code. (closes #11971)
37598
37599Patch 9.0.1300
37600Problem: 'statusline' only supports one "%=" item.
37601Solution: Add support for multiple "%=" items. (TJ DeVries, Yegappan
37602 Lakshmanan, closes #11970, closes #11965)
37603
37604Patch 9.0.1301
37605Problem: Virtual text below empty line not displayed.
37606Solution: Adjust flags and computations. (closes #11959)
37607
37608Patch 9.0.1302
37609Problem: On a Belgian keyboard CTRL-] does not work.
37610Solution: Translate CTRL-$ into CTRL-]. (closes #11831)
37611
37612Patch 9.0.1303
37613Problem: Motif: scrollbar width/height wrong when maximized.
37614Solution: Set the width/height when creating the scrollbar. (closes #11946)
37615
37616Patch 9.0.1304
37617Problem: "$" for 'list' option displayed in wrong position when there are
37618 text properties.
37619Solution: Adjust logic for order of displayed items. (closes #11959)
37620
37621Patch 9.0.1305
37622Problem: Cursor in wrong line with virtual text above.
37623Solution: Count extra line for text property above/below. (closes #11959)
37624
37625Patch 9.0.1306
37626Problem: No regression test for solved problem of #11959.
37627Solution: Add a test, also with 'list' set. (closes #11959)
37628
37629Patch 9.0.1307
37630Problem: Setting 'formatoptions' with :let doesn't check for errors.
37631Solution: Pass "errbuf" to set_string_option(). (Yegappan Lakshmanan,
37632 closes #11974, closes #11972)
37633
37634Patch 9.0.1308
37635Problem: The code for setting options is too complicated.
37636Solution: Refactor the code for setting options. (Yegappan Lakshmanan,
37637 closes #11989)
37638
37639Patch 9.0.1309
37640Problem: Scrolling two lines with even line count and 'scrolloff' set.
37641Solution: Adjust how the topline is computed. (closes #10545)
37642
37643Patch 9.0.1310
37644Problem: 'splitkeep' test has failures.
37645Solution: Adjust expected cursor line position.
37646
37647Patch 9.0.1311
37648Problem: Coverity warns for using a NULL pointer.
37649Solution: Use "empty_option" instead of NULL.
37650
37651Patch 9.0.1312
37652Problem: Cursor position wrong when splitting window in insert mode.
37653Solution: Pass the actual mode to win_fix_cursor(). (Luuk van Baal,
37654 closes #11999,
37655
37656Patch 9.0.1313
37657Problem: Some settings use the current codepage instead of 'encoding'.
37658Solution: Adjust how options are initialized. (Ken Takata, closes #11992)
37659
37660Patch 9.0.1314
37661Problem: :messages behavior depends on 'fileformat' of current buffer.
37662Solution: Pass the buffer pointer to where it is used. (Mirko Ceroni,
37663 closes #11995)
37664
37665Patch 9.0.1315
37666Problem: Escaping for completion of map command not properly tested.
37667Solution: Add a few test cases. (closes #12009)
37668
37669Patch 9.0.1316
37670Problem: MS-Windows: vimfiles dir created with admin group.
37671Solution: Use ShellExecAsUser to create the vimfiles directory. (Christopher
37672 Plewright, Ken Takata, closes #12000, closes #11888)
37673
37674Patch 9.0.1317
37675Problem: Crash when using an unset object variable.
37676Solution: Give an error instead. (closes #12005)
37677
37678Patch 9.0.1318
37679Problem: Code style test fails.
37680Solution: Remove trailing white space.
37681
37682Patch 9.0.1319
37683Problem: PRQL files are not recognized.
37684Solution: Add a filetype pattern for PRQL files. (Matthias Queitsch,
37685 closes #12018)
37686
37687Patch 9.0.1320
37688Problem: Checking the type of a null object causes a crash.
37689Solution: Don't try to get the class of a null object. (closes #12005)
37690 Handle error from calling a user function better.
37691
37692Patch 9.0.1321
37693Problem: vimscript test fails where using {expr} syntax.
37694Solution: Only return FCERR_FAILED in call_user_func() for Vim9 script.
37695
37696Patch 9.0.1322
37697Problem: Crash when indexing "any" which is an object.
37698Solution: Check the index is a number. Do not check the member type of an
37699 object. (closes #12019)
37700
37701Patch 9.0.1323
37702Problem: Build failure with +eval feature.
37703Solution: Add missing part for using funcerror_T.
37704
37705Patch 9.0.1324
37706Problem: "gj" and "gk" do not move correctly over a closed fold.
37707Solution: Use the same code as used for "j"/"k" to go to the next/previous
37708 line. (Luuk van Baal, closes #12007)
37709
37710Patch 9.0.1325
37711Problem: 'colorcolumn' highlight wrong with virtual text above.
K.Takata7b7672d2024-01-06 01:47:01 +090037712Solution: Adjust column of 'colorcolumn' for text property. (closes #12004)
Christian Brabandt5872bcb2023-12-19 20:10:43 +010037713
37714Patch 9.0.1326
37715Problem: Relative line number not updated with virtual text above.
37716Solution: Adjust the row for the line number for virtual text above.
37717 (closes #12004)
37718
37719Patch 9.0.1327
37720Problem: Cursor in wrong position below line with virtual text below ending
37721 in multi-byte character.
37722Solution: When checking for last character take care of multi-byte
37723 character.
37724
37725Patch 9.0.1328
37726Problem: Error when using "none" for GUI color is confusing.
37727Solution: Mention that the name should perhaps be "NONE". (closes #1400)
37728
37729Patch 9.0.1329
37730Problem: Completion of map includes simplified ones.
37731Solution: Do not complete simplified mappings. (closes #12013)
37732
37733Patch 9.0.1330
37734Problem: Handling new value of an option has a long "else if" chain.
37735Solution: Use a function pointer. (Yegappan Lakshmanan, closes #12015)
37736
37737Patch 9.0.1331
37738Problem: Illegal memory access when using :ball in Visual mode.
37739Solution: Stop Visual mode when using :ball. (Pavel Mayorov, closes #11923)
37740
37741Patch 9.0.1332
37742Problem: Crash when using buffer-local user command in cmdline window.
37743 (Karl Yngve Lervåg)
37744Solution: Use the right buffer to find the user command. (closes #12030,
37745 closes #12029)
37746
37747Patch 9.0.1333
37748Problem: When redo'ing twice <ScriptCmd> may not get the script ID.
37749Solution: When "last_used_map" map is not set use "last_used_sid".
37750 (closes #11930)
37751
37752Patch 9.0.1334
37753Problem: Using tt_member for the class leads to mistakes.
37754Solution: Add a separate tt_class field.
37755
37756Patch 9.0.1335
37757Problem: No test for bad use of spaces in help files.
37758Solution: Add checks for use of spaces in help files. Ignore intentional
37759 spaces. (Hirohito Higashi, closes #11952)
37760
37761Patch 9.0.1336
37762Problem: Functions without arguments are not always declared properly.
37763Solution: Use "(void)" instead of "()". (Yegappan Lakshmanan, closes #12031)
37764
37765Patch 9.0.1337
37766Problem: Yuck files are not recognized.
37767Solution: Add a filetype pattern for yuck files. (Amaan Qureshi,
37768 closes #12033)
37769
37770Patch 9.0.1338
37771Problem: :defcompile and :disassemble can't find class method. (Ernie Rael)
37772Solution: Make a class name and class.method name work. (closes #11984)
37773
37774Patch 9.0.1339
37775Problem: No test for :disassemble with class function.
37776Solution: Add a test.
37777
37778Patch 9.0.1340
37779Problem: Coverity warns for using NULL pointer.
37780Solution: Check that lhs_type is not NULL.
37781
37782Patch 9.0.1341
37783Problem: Build error with mzscheme but without GUI.
37784Solution: Adjust #ifdefs. (Ken Takata, closes #12042) Also fix function
37785 argument.
37786
37787Patch 9.0.1342
37788Problem: MS-Windows: linking may fail with space in directory name.
37789Solution: Add quotes. (closes #12050)
37790
37791Patch 9.0.1343
37792Problem: Check for OSC escape sequence doesn't work.
37793Solution: Move square bracket to the right place. (Johan Mattsson,
37794 closes #12048)
37795
37796Patch 9.0.1344
37797Problem: Check for OSC escape sequence doesn't work.
37798Solution: Fix typo in index.
37799
37800Patch 9.0.1345
37801Problem: Too many "else if" statements for handling options.
37802Solution: Add more functions to handle options. (Yegappan Lakshmanan,
37803 closes #12051)
37804
37805Patch 9.0.1346
37806Problem: Starlark files are not recognized.
37807Solution: Add patterns for Starlark files. (Amaan Qureshi, closes #12049)
37808
37809Patch 9.0.1347
37810Problem: "gr CTRL-O" stays in Insert mode. (Pierre Ganty)
37811Solution: Do not set restart_edit when "cmdchar" is 'v'. (closes #12045)
37812
37813Patch 9.0.1348
37814Problem: Un-grammar files are not recognized.
37815Solution: Add patterns for Un-grammar files. (Amaan Qureshi, closes #12034)
37816
37817Patch 9.0.1349
37818Problem: "gr" with a count fails.
37819Solution: Break out of the loop only after using the count.
37820
37821Patch 9.0.1350
37822Problem: CPON files are not recognized.
37823Solution: Add patterns for CPON files. (Amaan Qureshi, closes #12053)
37824
37825Patch 9.0.1351
37826Problem: Dhall files are not recognized.
37827Solution: Add patterns for Dhall files. (Amaan Qureshi, closes #12052)
37828
37829Patch 9.0.1352
37830Problem: "ignore" files are outdated.
37831Solution: Update "ignore" files. (Ken Takata, closes #12056)
37832
37833Patch 9.0.1353
37834Problem: Too many "else if" statements to handle option values.
37835Solution: Add more functions to handle option value changes. (Yegappan
37836 Lakshmanan, closes #12058)
37837
37838Patch 9.0.1354
37839Problem: "gr CTRL-G" stays in virtual replace mode. (Pierre Ganty)
37840Solution: Prepend CTRL-V before control characters. (closes #12045)
37841
37842Patch 9.0.1355
37843Problem: No error when declaring a class twice. (Ernie Rael)
37844Solution: Pass different flags when declaring the class. (closes #12057)
37845
37846Patch 9.0.1356
37847Problem: Cannot cancel "gr" with Esc.
37848Solution: Make "gr<Esc>" do nothing. (closes #12064)
37849
37850Patch 9.0.1357
37851Problem: Using null_object results in an internal error. (Ernie Rael)
37852Solution: Add instructions for pushing an object and class. (closes #12044)
37853
37854Patch 9.0.1358
37855Problem: Compilation error with some compilers.
37856Solution: Avoid using "class" as member name.
37857
37858Patch 9.0.1359
37859Problem: Too many "else if" statements in handling options.
37860Solution: Add more functions for handling option changes. (Yegappan
37861 Lakshmanan, closes #12060)
37862
37863Patch 9.0.1360
37864Problem: Cue files are not recognized.
37865Solution: Add patterns for Cue files. (Amaan Qureshi, closes #12067)
37866
37867Patch 9.0.1361
37868Problem: extendnew() not sufficiently tested.
37869Solution: Add a few more test cases for extendnew(). (closes #12075)
37870
37871Patch 9.0.1362
37872Problem: ml_get error when going to another tab. (Daniel J. Perry)
37873Solution: Do not call update_topline() if "curwin" is invalid.
37874 (closes #11907)
37875
37876Patch 9.0.1363
37877Problem: Crash when :def function has :break in skipped block. (Ernie Rael)
37878Solution: Don't generate a jump for a skipped :break. (closes #12077)
37879
37880Patch 9.0.1364
37881Problem: Build error with older Mac OS.
37882Solution: Adjust #ifdef. (Yee Cheng Chin, closes #12074)
37883
37884Patch 9.0.1365
37885Problem: Dead test code.
37886Solution: Remove code that depends on Farsi, which has been removed.
37887 (closes #12084)
37888
37889Patch 9.0.1366
37890Problem: Functions for setting options are in random order.
37891Solution: Sort functions alphabetically. (Yegappan Lakshmanan,
37892 closes #12082)
37893
37894Patch 9.0.1367
37895Problem: Divide by zero in zero-width window.
37896Solution: Check the width is positive.
37897
37898Patch 9.0.1368
37899Problem: Bass files are not recognized.
37900Solution: Add patterns for Bass files. (Amaan Qureshi, closes #12088)
37901
37902Patch 9.0.1369
37903Problem: Still some "else if" constructs for setting options.
37904Solution: Add a few more functions for handling options. (Yegappan
37905 Lakshmanan, closes #12090)
37906
37907Patch 9.0.1370
37908Problem: Crash when using a NULL object. (Ernie Rael)
37909Solution: Check for NULL and give an error message. (closes #12083)
37910
37911Patch 9.0.1371
37912Problem: Ballooneval interferes with Insert completion.
37913Solution: Ignore mouse-move events when completing. (closes #12094,
37914 closes #12092)
37915
37916Patch 9.0.1372
37917Problem: Test for 'toolbariconsize' may fail.
37918Solution: Only test 'toolbariconsize' when it is supported. (James McCoy,
37919 closes #12095)
37920
37921Patch 9.0.1373
37922Problem: Wrong text displayed when using both 'linebreak' and 'list'.
37923Solution: Only set "c_extra" to NUL when "p_extra" is not empty. (Hirohito
37924 Higashi, closes #12065)
37925
37926Patch 9.0.1374
37927Problem: Function for setting options not used consistently.
37928Solution: Use a function for 'encoding' and terminal options. (Yegappan
37929 Lakshmanan, closes #12099)
37930
37931Patch 9.0.1375
37932Problem: Crash when getting member of obj of unknown class.
37933Solution: Check for NULL class and give an error message. (Ernie Rael,
37934 closes #12096)
37935
37936Patch 9.0.1376
37937Problem: Accessing invalid memory with put in Visual block mode.
37938Solution: Adjust the cursor column if needed.
37939
37940Patch 9.0.1377
37941Problem: job_status() may return "dead" if the process parent changed.
37942Solution: Call mch_process_running() to check if the job is still alive.
37943
37944Patch 9.0.1378
37945Problem: Illegal memory access when using virtual editing.
37946Solution: Make sure "startspaces" is not negative.
37947
37948Patch 9.0.1379
37949Problem: Functions for handling options are not ordered.
37950Solution: Put functions in alphabetical order. (Yegappan Lakshmanan,
37951 closes #12101)
37952
37953Patch 9.0.1380
37954Problem: CTRL-X on 2**64 subtracts two. (James McCoy)
37955Solution: Correct computation for large number. (closes #12103)
37956
37957Patch 9.0.1381
37958Problem: ACCESS_ names have a conflict with on some systems.
37959Solution: Rename by prepending VIM_. (Ola Söder, closes #12105)
37960
37961Patch 9.0.1382
37962Problem: Failing test for strptime() doesn't show returned value.
37963Solution: Use assert_equal() instead of assert_true().
37964
37965Patch 9.0.1383
37966Problem: xxd: combination of little endian and cols fails. (Aapo
37967 Rantalainen)
37968Solution: Round up the space taken by the hex output. (closes #12097)
37969
37970Patch 9.0.1384
K.Takata7b7672d2024-01-06 01:47:01 +090037971Problem: Setting HOMEBREW_NO_AUTO_UPDATE is not needed with Homebrew
37972 version 4.
Christian Brabandt5872bcb2023-12-19 20:10:43 +010037973Solution: Remove setting HOMEBREW_NO_AUTO_UPDATE. (closes #12008)
37974
37975Patch 9.0.1385
37976Problem: g'Esc is considered an error.
37977Solution: Make g'Esc silently abandon the command. (closes #12110)
37978
37979Patch 9.0.1386
37980Problem: Options test fails with some window width.
37981Solution: Adjust what text the test checks with. (closes #12111)
37982
37983Patch 9.0.1387
37984Problem: Scrollbar test sporadically fails.
37985Solution: Mark the scrollbar test as flaky. (Christian Brabandt,
37986 closes #12113)
37987
37988Patch 9.0.1388
37989Problem: Amiga: not all builds use gethostname().
37990Solution: Use gethostname() for all builds except AROS. (Ola Söder,
37991 closes #12107)
37992
37993Patch 9.0.1389
37994Problem: Amiga: a couple of include files are included twice.
37995Solution: Remove duplicate includes. (Ola Söder, closes #12106)
37996
37997Patch 9.0.1390
37998Problem: FOR_ALL_ macros are defined in an unexpected file.
37999Solution: Move FOR_ALL_ macros to macros.h. Add FOR_ALL_HASHTAB_ITEMS.
38000 (Yegappan Lakshmanan, closes #12109)
38001
38002Patch 9.0.1391
38003Problem: "clear" macros are not always used.
38004Solution: Use ALLOC_ONE, VIM_CLEAR, CLEAR_POINTER and CLEAR_FIELD in more
38005 places. (Yegappan Lakshmanan, closes #12104)
38006
38007Patch 9.0.1392
38008Problem: Using NULL pointer with nested :open command.
38009Solution: Check that ccline.cmdbuff is not NULL.
38010
38011Patch 9.0.1393
38012Problem: Cairo files are not recognized.
38013Solution: Add a pattern for Cairo files. (Amaan Qureshi, closes #12118)
38014
38015Patch 9.0.1394
38016Problem: Unx Tal files are not recognized.
38017Solution: Add a pattern for Unx Tal files. (Amaan Qureshi, closes #12117)
38018
38019Patch 9.0.1395
38020Problem: Odin files are not recognized.
38021Solution: Add a pattern for Odin files. (Amaan Qureshi, closes #12122)
38022
38023Patch 9.0.1396
38024Problem: sort(list, 'N') does not work in Vim9 script context.
38025Solution: Convert string to number without giving an error. (closes #12061)
38026
38027Patch 9.0.1397
38028Problem: Highlight for popupmenu kind and extra cannot be set.
38029Solution: Add PmenuKind, PmenuKindSel, PmenuExtra and PmenuExtraSel
38030 highlight groups and use them. (Gianmaria Bajo, closes #12114)
38031
38032Patch 9.0.1398
38033Problem: Profile test repeats the headers many times.
38034Solution: Put the headers in script variables.
38035
38036Patch 9.0.1399
38037Problem: Highlight test script has a few problems.
38038Solution: Rewrite the script in Vim9 syntax. (closes #10379)
38039
38040Patch 9.0.1400
38041Problem: find_file_in_path() is not reentrant.
38042Solution: Instead of global variables pass pointers to the functions.
38043 (closes #12093)
38044
38045Patch 9.0.1401
38046Problem: Condition is always true.
38047Solution: Remove the condition. (closes #12139)
38048
38049Patch 9.0.1402
38050Problem: Crash when using null_class.
38051Solution: Give an error when trying to use a null class.
38052
38053Patch 9.0.1403
38054Problem: Unused variables and functions.
38055Solution: Delete items and adjust #ifdefs. (Dominique Pellé, closes #12145)
38056
38057Patch 9.0.1404
38058Problem: Compilation error with some compilers.
38059Solution: Adjust array initialization. (John Marriott)
38060
38061Patch 9.0.1405
38062Problem: Missing check for out-of-memory.
38063Solution: Check for alloc() returning NULL pointer. (closes #12149)
38064
38065Patch 9.0.1406
38066Problem: ILE RPG files are not recognized.
38067Solution: Add patterns for ILE RPG files. (Andreas Louv, issue #12152)
38068
38069Patch 9.0.1407
38070Problem: TableGen files are not recognized.
38071Solution: Add a pattern for TableGen files. (Amaan Qureshi, closes #12156)
38072
38073Patch 9.0.1408
38074Problem: QMLdir files are not recognized.
38075Solution: Add a pattern for QMLdir files. (Amaan Qureshi, closes #12161)
38076
38077Patch 9.0.1409
38078Problem: Racket files are recognized as scheme.
38079Solution: Recognize rackets files separately. (Gabriel Kakizaki,
38080 closes #12164, closes #12162)
38081
38082Patch 9.0.1410
38083Problem: MacOS: sed fails on .po files.
38084Solution: Set $LANG to "C". (Yee Cheng Chin, closes #12153)
38085
38086Patch 9.0.1411
38087Problem: Accuracy of profiling is not optimal.
38088Solution: Use CLOCK_MONOTONIC if possible. (Ernie Rael, closes #12129)
38089
38090Patch 9.0.1412
38091Problem: Pony files are not recognized.
38092Solution: Add a pattern for Pony files. (Amaan Qureshi, closes #12155)
38093
38094Patch 9.0.1413
38095Problem: Compiler warning for unused variable.
38096Solution: Move variable declaration. (John Marriott)
38097
38098Patch 9.0.1414
38099Problem: <M-S-x> in Kitty does not use the Shift modifier.
38100Solution: Apply the Shift modifier to ASCII letters. (closes #11913)
38101
38102Patch 9.0.1415
38103Problem: Crystal files are not recognized.
38104Solution: Add a pattern for Crystal files. (Amaan Qureshi, closes #12175)
38105
38106Patch 9.0.1416
38107Problem: Crash when collection is modified when using filter().
38108Solution: Lock the list/dict/blob. (Ernie Rael, closes #12183)
38109
38110Patch 9.0.1417
38111Problem: ESDL files are not recognized.
38112Solution: Add a pattern for ESDL files. (Amaan Qureshi, closes #12174)
38113
38114Patch 9.0.1418
38115Problem: The included xdiff code is a bit outdated.
38116Solution: Sync with the latest git xdiff code. (Yee Cheng Chin,
38117 closes #12181)
38118
38119Patch 9.0.1419
38120Problem: Lean files are not recognized.
38121Solution: Add a pattern for Lean files. (Amaan Qureshi, closes #12177)
38122
38123Patch 9.0.1420
38124Problem: Build failure because SIZE_MAX is not defined.
38125Solution: Define SIZE_MAX when missing. (John Marriott)
38126
38127Patch 9.0.1421
38128Problem: Nu files are not recognized.
38129Solution: Add a pattern for Nu files. (Amaan Qureshi, closes #12172)
38130
38131Patch 9.0.1422
38132Problem: Sage files are not recognized.
38133Solution: Add a pattern for Sage files. (Amaan Qureshi, closes #12176)
38134
38135Patch 9.0.1423
38136Problem: WebAssembly Interface Type files are not recognized.
38137Solution: Add a pattern for WIT files. (Amaan Qureshi, closes #12173)
38138
38139Patch 9.0.1424
38140Problem: Unused macros are defined.
38141Solution: Remove the unused macros.
38142
38143Patch 9.0.1425
38144Problem: "wat" and "wast" files are one filetype.
38145Solution: Add a separate filetype for "wat" files. (Amaan Qureshi,
38146 closes #12165)
38147
38148Patch 9.0.1426
38149Problem: Indent wrong after "export namespace" in C++.
38150Solution: Skip over "inline" and "export" in any order. (Virginia Senioria,
38151 closes #12134, closes #12133)
38152
38153Patch 9.0.1427
38154Problem: Warning for uninitialized variable. (Tony Mechelynck)
38155Solution: Add #ifdef.
38156
38157Patch 9.0.1428
38158Problem: Cursor in wrong position when leaving insert mode.
38159Solution: Update the w_valid flags. Position the cursor also when not
38160 redrawing. (closes #12137)
38161
38162Patch 9.0.1429
38163Problem: Invalid memory access when ending insert mode.
38164Solution: Check if the insert_skip value is valid.
38165
38166Patch 9.0.1430
38167Problem: Livebook files are not recognized.
38168Solution: Add a pattern for Livebook files. (Mathias Jean Johansen,
38169 closes #12203)
38170
38171Patch 9.0.1431
38172Problem: getscriptinfo() loops even when specific SID is given.
38173Solution: Only loop when needed. Give a clearer error message.
38174 (closes #12207)
38175
38176Patch 9.0.1432
38177Problem: Completion popup in wrong position with virtual text "above".
38178Solution: Adjust the column. (closes #12210)
38179
38180Patch 9.0.1433
38181Problem: On some systems the Lua library is not found.
38182Solution: Check if a subdirectory for Lua exists. (closes #4475)
38183
38184Patch 9.0.1434
38185Problem: Crash when adding package already in 'runtimepath'.
38186Solution: Change order for using 'runtimepath' entries. (closes #12215)
38187
38188Patch 9.0.1435
38189Problem: Scrolling too many lines when 'wrap' and 'diff' are set.
38190Solution: Only scroll by screenlines for 'diff' when 'wrap' is not set.
38191 (closes #12211)
38192
38193Patch 9.0.1436
38194Problem: Cannot compare a typed variable with v:none.
38195Solution: Allow for "x is v:none" and "x isnot v:none". (issue #12194)
38196
38197Patch 9.0.1437
38198Problem: Test fails with different error number.
38199Solution: Adjust the expected error.
38200
38201Patch 9.0.1438
38202Problem: .fs files are falsely recognized as forth files.
38203Solution: Check 100 lines for something that looks like forth. (Johan
38204 Kotlinski, closes #12219, closes #11988)
38205
38206Patch 9.0.1439
38207Problem: Start Insert mode when accessing a hidden prompt buffer.
38208Solution: Call leaving_window() in aucmd_restbuf(). (Thorben Tröbst,
38209 closes #12148, closes #12147)
38210
38211Patch 9.0.1440
38212Problem: "rvim" can execute a shell through :diffpatch.
38213Solution: Disallow the shell "patch" command.
38214
38215Patch 9.0.1441
38216Problem: MacOS: Python 3 using framework do not set dll name properly.
38217Solution: Use the framework prefix. (Yee Cheng Chin, closes #12189)
38218
38219Patch 9.0.1442
38220Problem: mapset() does not restore non-script context.
38221Solution: Also accept negative sid. (closes #12132)
38222
38223Patch 9.0.1443
38224Problem: Ending Insert mode when accessing a hidden prompt buffer.
38225Solution: Don't stop Insert mode when it was active before. (closes #12237)
38226
38227Patch 9.0.1444
38228Problem: Crash when passing NULL to setcmdline(). (Andreas Louv)
38229Solution: Use tv_get_string() instead of using v_string directly.
38230 (closes #12231, closes #12227)
38231
38232Patch 9.0.1445
38233Problem: openSUSE: configure doesn't find the Motif library. (Tony
38234 Mechelynck)
38235Solution: Also search in /usr/lib64.
38236
38237Patch 9.0.1446
38238Problem: Unnecessary checks for the "skip" flag when skipping.
38239Solution: Remove the unnecessary checks. (closes #12254)
38240
38241Patch 9.0.1447
38242Problem: Condition is always true.
38243Solution: Remove the useless condition. (closes #12253)
38244
38245Patch 9.0.1448
38246Problem: Diff test fails on MacOS 13.
38247Solution: Install GNU diffutils. (Ozaki Kiichi, closes #12258)
38248
38249Patch 9.0.1449
38250Problem: Test for prompt buffer is flaky.
38251Solution: Use WaitForAssert() instead of TermWait(). (Ozaki Kiichi,
38252 closes #12247)
38253
38254Patch 9.0.1450
38255Problem: MacOS: building fails if clock_gettime() is not available.
38256Solution: Add a configure check for clock_gettime(). (closes #12242)
38257
38258Patch 9.0.1451
38259Problem: Unnecessary redrawing when 'showcmdloc' is not "last".
38260Solution: Redraw later when "showcmd_is_clear" is set. (Luuk van Baal,
38261 closes #12260)
38262
38263Patch 9.0.1452
38264Problem: Code using EVAL_CONSTANT is dead, it is never set.
38265Solution: Remove EVAL_CONSTANT. (closes #12252)
38266
38267Patch 9.0.1453
38268Problem: Typos in source code and tests.
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010038269Solution: Fix the typos. (Dominique Pellé, closes #12217)
Christian Brabandt5872bcb2023-12-19 20:10:43 +010038270
38271Patch 9.0.1454
38272Problem: Code indenting is confused by macros.
38273Solution: Put semicolon after the macros instead of inside. (Ozaki Kiichi,
38274 closes #12257)
38275
38276Patch 9.0.1455
38277Problem: C++ 20 modules are not recognized.
38278Solution: Add patterns to recognize C++ 20 modules as "cpp". (Ben Jackson,
38279 closes #12261)
38280
38281Patch 9.0.1456
38282Problem: Shortmess test depends on order of test execution.
38283Solution: Clear messages. (closes #12264)
38284
38285Patch 9.0.1457
38286Problem: No regression test for what patch 9.0.1333 fixes.
38287Solution: Extend existing test to cover the fixed problem. (issue #11930)
38288
38289Patch 9.0.1458
38290Problem: Buffer overflow when expanding long file name.
38291Solution: Use a larger buffer and avoid overflowing it. (Yee Cheng Chin,
38292 closes #12201)
38293
38294Patch 9.0.1459
38295Problem: Typo in name of type.
38296Solution: Change funccal_T to funccall_T. (closes #12265)
38297
38298Patch 9.0.1460
38299Problem: Insufficient testing for getcmdcompltype().
38300Solution: Add a few more test cases. (closes #12268)
38301
38302Patch 9.0.1461
38303Problem: Ruler not drawn correctly when using 'rulerformat'.
38304Solution: Adjust formatting depending on whether the ruler is drawn in the
38305 statusline or the command line. (Sean Dewar, closes #12246)
38306
38307Patch 9.0.1462
38308Problem: Recursively calling :defer function if it does :qa.
38309Solution: Clear the defer entry before calling the function. (closes #12266)
38310
38311Patch 9.0.1463
38312Problem: Virtual text truncation only works with Unicode 'encoding'.
38313Solution: Convert the ellipsis character to 'encoding' if needed. (Hirohito
38314 Higashi, closes #12233)
38315
38316Patch 9.0.1464
38317Problem: Strace filetype detection is expensive.
38318Solution: Match with a cheap pattern first. (Federico Mengozzi,
38319 closes #12220)
38320
38321Patch 9.0.1465
38322Problem: Haiku build fails.
38323Solution: Do not include globals.h and proto.h twice. (Ozaki Kiichi,
38324 closes #12273)
38325
38326Patch 9.0.1466
38327Problem: Cannot use an object member name as a method argument.
38328Solution: Do not give an error for using an object member name for a method
38329 argument. (Hirohito Higashi, closes #12241, closes #12225)
38330 Fix line number for other argument error.
38331
38332Patch 9.0.1467
38333Problem: Jenkinsfiles are not recognized as groovy.
38334Solution: Add a pattern for Jenkinsfiles. (closes #12236)
38335
38336Patch 9.0.1468
38337Problem: Recursively calling :defer function if it does :qa in a compiled
38338 function.
38339Solution: Clear the defer entry before calling the function. (closes #12271)
38340
38341Patch 9.0.1469
38342Problem: Deferred functions not called from autocommands.
38343Solution: Also go through the funccal_stack. (closes #12267)
38344
38345Patch 9.0.1470
38346Problem: Deferred functions invoked in unexpected order when using :qa and
38347 autocommands.
38348Solution: Call deferred functions for the current funccal before using the
38349 stack. (closes #12278)
38350
38351Patch 9.0.1471
38352Problem: Warnings for function declarations.
38353Solution: Add argument types. (Michael Jarvis, closes #12277)
38354
38355Patch 9.0.1472
38356Problem: ":drop fname" may change the last used tab page.
38357Solution: Restore the last used tab page when :drop has changed it.
38358 (closes #12087)
38359
38360Patch 9.0.1473
38361Problem: CI does not run sound tests.
38362Solution: Re-enable sound tests. Use "apt-get" instead of "apt". (Ozaki
38363 Kiichi, closes #12280)
38364
38365Patch 9.0.1474
38366Problem: CI runs with old version of Ubuntu and tools.
38367Solution: Update CI to more recent versions. (closes #11092)
38368
38369Patch 9.0.1475
38370Problem: Busted configuration files are not recognized.
38371Solution: Recognize busted configuration files as Lua. (Craig MacEachern,
38372 closes #12209)
38373
38374Patch 9.0.1476
38375Problem: Lines put in non-current window are not displayed. (Marius
38376 Gedminas)
38377Solution: Don't increment the topline when inserting just above it.
38378 (closes #12212)
38379
38380Patch 9.0.1477
38381Problem: Crash when recovering from corrupted swap file.
38382Solution: Check for a valid page count. (closes #12275)
38383
38384Patch 9.0.1478
38385Problem: Filetypes for *.v files not detected properly.
38386Solution: Use the file contents to detect the filetype. (Turiiya,
38387 closes #12281)
38388
38389Patch 9.0.1479
38390Problem: Small source file problems; outdated list of distributed files.
38391Solution: Small updates to source files and list of distributed files.
38392
38393Patch 9.0.1480
38394Problem: Using popup menu may leave text in the command line.
38395Solution: Clear the command line if the popup menu covered it. (Luuk van
38396 Baal, closes #12286)
38397
38398Patch 9.0.1481
38399Problem: Decrypting with libsodium may fail if the library changes.
38400Solution: Add parameters used to the encrypted file header. (Christian
38401 Brabandt, closes #12279)
38402
38403Patch 9.0.1482
38404Problem: Crash when textprop has a very large "padding" value. (Yegappan
38405 Lakshmanan)
38406Solution: Avoid the "after" count to go negative.
38407
38408Patch 9.0.1483
38409Problem: += operator does not work on class member.
38410Solution: Do not skip as if "this." was used. (Christian Brabandt,
38411 closes #12263)
38412
38413Patch 9.0.1484
38414Problem: Coverity warns for using invalid array index.
38415Solution: Add entry for Xchacha, even though it is not used.
38416
38417Patch 9.0.1485
38418Problem: no functions for converting from/to UTF-16 index.
K.Takata7b7672d2024-01-06 01:47:01 +090038419Solution: Add UTF-16 flag to existing functions and add strutf16len() and
Christian Brabandt5872bcb2023-12-19 20:10:43 +010038420 utf16idx(). (Yegappan Lakshmanan, closes #12216)
38421
38422Patch 9.0.1486
38423Problem: Parallel make might not work.
38424Solution: Add missing dependencies. (Samuel Dionne-Riel, closes #12288)
38425
38426Patch 9.0.1487
38427Problem: Content-type header for LSP channel not according to spec.
38428Solution: Use "vscode-jsonrpc" instead of "vim-jsonrpc". (Yegappan
38429 Lakshmanan, closes #12295)
38430
38431Patch 9.0.1488
38432Problem: xchacha20v2 crypt header is platform dependent.
K.Takata7b7672d2024-01-06 01:47:01 +090038433Solution: Avoid using "size_t". (Ozaki Kiichi, closes #12296)
Christian Brabandt5872bcb2023-12-19 20:10:43 +010038434
38435Patch 9.0.1489
38436Problem: Crypt with libsodium is not tested on CI.
38437Solution: Configure testing with libsodium. (Ozaki Kiichi, closes #12297)
38438
38439Patch 9.0.1490
38440Problem: The ModeChanged event may be triggered too often.
38441Solution: Only trigger ModeChanged when no operator is pending.
38442 (closes #12298)
38443
38444Patch 9.0.1491
38445Problem: Wrong scrolling with ls=0 and :botright split.
38446Solution: Add statusline before calling frame_new_height(). (closes #12299)
38447
38448Patch 9.0.1492
38449Problem: Using uninitialized memory when argument is missing.
38450Solution: Check there are sufficient arguments before the base.
38451 (closes #12302)
38452
38453Patch 9.0.1493
38454Problem: Popup menu position wrong in window with toolbar.
38455Solution: Take the window toolbar into account when positioning the popup
38456 menu. (closes #12308)
38457
38458Patch 9.0.1494
38459Problem: Crash when recovering from corrupted swap file.
38460Solution: Bail out when the line index looks wrong. (closes #12276)
38461
38462Patch 9.0.1495
38463Problem: GTK3: hiding the mouse pointer does not work. (Rory O’Kane)
38464Solution: Set alpha level to zero. (Kenny Stauffer, closes #12293,
38465 closes #3256)
38466
38467Patch 9.0.1496
38468Problem: Test restoring register with wrong value.
38469Solution: Correct name of variable. (closes #12310)
38470
38471Patch 9.0.1497
38472Problem: The ruler percentage can't be localized.
38473Solution: Use a string that can be translated. (Emir Sari, closes #12311)
38474
38475Patch 9.0.1498
38476Problem: In a terminal window the cursor may jump around. (Kenny Stauffer)
38477Solution: Do not move the cursor to the position for terminal-normal mode.
38478 (closes #12312)
38479
38480Patch 9.0.1499
38481Problem: Using uninitialized memory with fuzzy matching.
38482Solution: Initialize the arrays used to store match positions.
38483
38484Patch 9.0.1500
38485Problem: The falsy operator is not tested properly.
38486Solution: Add a few more test cases. (closes #12319)
38487
38488Patch 9.0.1501
38489Problem: Crash with nested :try and :throw in catch block.
38490Solution: Jump to :endtry before returning from function. (closes #12245)
38491
38492Patch 9.0.1502
38493Problem: No test for deleting the end of a long wrapped line.
38494Solution: Add a test to check the right text is displayed. (Luuk van Baal,
38495 closes #12318)
38496
38497Patch 9.0.1503
38498Problem: Luau files are not recognized.
38499Solution: Add a patter for Luau files. (Amaan Qureshi, closes #12317)
38500
38501Patch 9.0.1504
38502Problem: No error when calling remote_startserver() with an empty string.
38503Solution: Give an error for an empty string. (Hirohito Higashi,
38504 closes #12327)
38505
38506Patch 9.0.1505
38507Problem: Error when heredoc content looks like heredoc.
38508Solution: Handle curly expressions. (closes #12325)
38509
38510Patch 9.0.1506
38511Problem: Line number not displayed when using 'smoothscroll'.
38512Solution: Adjust condition for showing the line number. (closes #12333)
38513
38514Patch 9.0.1507
38515Problem: Assert message is confusing with boolean result. assert_inrange()
38516 replaces message instead of adding it.
38517Solution: Don't put quotes around expected boolean value. Append message
38518 for assert_inrange(). (closes #12342, closes #12341)
38519
38520Patch 9.0.1508
38521Problem: Catch does not work when lines are joined with a newline.
38522Solution: Set "nextcmd" appropriately. (closes #12348)
38523
38524Patch 9.0.1509
38525Problem: Error message lacks mentioning the erroneous argument.
38526Solution: Specify the argument that the error is for.
38527
38528Patch 9.0.1510
38529Problem: Misleading variable name for error message.
38530Solution: Change "name" to "number". (closes #12345)
38531
38532Patch 9.0.1511
38533Problem: Crash when using wrong arg types to assert_match().
38534Solution: Check for NULL pointer. (closes #12349)
38535
38536Patch 9.0.1512
38537Problem: Inserting lines when scrolling with 'smoothscroll' set.
38538Solution: Adjust line height computation for w_skipcol. (Luuk van Baal,
38539 closes #12350)
38540
38541Patch 9.0.1513
38542Problem: Text scrolls unnecessarily when splitting and 'splitkeep' is not
38543 "cursor".
38544Solution: Avoid resetting w_skipcol. (Luuk van Baal, closes #12334)
38545
38546Patch 9.0.1514
38547Problem: Test waits unnecessarily long before checking screendump.
38548Solution: Remove TermWait() call.
38549
38550Patch 9.0.1515
38551Problem: reverse() does not work for a String.
38552Solution: Implement reverse() for a String. (Yegappan Lakshmanan,
38553 closes #12179)
38554
38555Patch 9.0.1516
38556Problem: Cannot use special keys in <Cmd> mapping.
38557Solution: Do allow for special keys in <Cmd> and <ScriptCmd> mappings.
38558 (closes #12326)
38559
38560Patch 9.0.1517
38561Problem: MacOS: configure removes -O2 from $CFLAGS.
38562Solution: Only adjust $CFLAGS for gcc. (closes #12351)
38563
38564Patch 9.0.1518
38565Problem: Search stats not always visible when searching backwards.
38566Solution: Do not display the top/bot message on top of the search stats.
38567 (Christian Brabandt, closes #12322, closes #12222)
38568
38569Patch 9.0.1519
38570Problem: Global 'filetype' is set when it is detected from the file content.
38571Solution: Set the local 'filetype' option value.
38572
38573Patch 9.0.1520
38574Problem: Completion for option name includes all bool options.
38575Solution: Do not recognize the "noinv" prefix. Prefix "no" or "inv" when
38576 appropriate.
38577
38578Patch 9.0.1521
38579Problem: Failing redo of command with control characters.
38580Solution: Use AppendToRedobuffLit() for colon commands. (closes #12354)
38581
38582Patch 9.0.1522
38583Problem: Some functions give two error messages.
38584Solution: Do not give a second error message. (closes #12352)
38585
38586Patch 9.0.1523
38587Problem: Some error messages are not marked for translation.
38588Solution: Surround the messages in _(). (closes #12356)
38589
38590Patch 9.0.1524
38591Problem: Passing -1 for bool is not always rejected.
38592Solution: Check for error in a better way. (closes #12358)
38593
38594Patch 9.0.1525
38595Problem: 'smoothscroll' does not always work properly.
38596Solution: Do not reset w_skipcol after it was intentionally set. (Luuk van
38597 Baal, closes #12360, closes #12199, closes #12323)
38598
38599Patch 9.0.1526
38600Problem: Condition is always true.
38601Solution: Remove unnecessary condition. (closes #12359)
38602
38603Patch 9.0.1527
38604Problem: Crash when using negative value for term_cols.
38605Solution: Check for invalid term_cols value. (Kenta Sato, closes #12362)
38606
38607Patch 9.0.1528
38608Problem: Libsodium encryption is only used with "huge" features, even when
38609 manually enabled through configure. (Tony Mechelynck)
38610Solution: Remove the condition on FEAT_HUGE.
38611
38612Patch 9.0.1529
38613Problem: Code style test doesn't check for space after "if".
38614Solution: Add a test for space.
38615
38616Patch 9.0.1530
38617Problem: Cursor moves to wrong line when 'foldmethod' is "diff". (Rick
38618 Howe)
38619Solution: Adjust logic for scrolling. (Luuk van Baal, closes #12364,
38620 closes #12218)
38621
38622Patch 9.0.1531
38623Problem: Crash when register contents ends up being invalid.
38624Solution: Check "y_array" is not NULL.
38625
38626Patch 9.0.1532
38627Problem: Crash when expanding "~" in substitute causes very long text.
38628Solution: Limit the text length to MAXCOL.
38629
38630Patch 9.0.1533
38631Problem: Test for 'smoothscroll' is ineffective.
38632Solution: Change the order of testing "zb" and "zt". (Luuk van Baal,
38633 closes #12366)
38634
38635Patch 9.0.1534
38636Problem: Test for expanding "~" in substitute takes too long.
38637Solution: Disable the test for now.
38638
38639Patch 9.0.1535
38640Problem: Test commented out in a wrong way.
38641Solution: Use legacy script comment character.
38642
38643Patch 9.0.1536
38644Problem: CI: sound dummy stopped working.
38645Solution: Temporarily stop using sound dummy.
38646
38647Patch 9.0.1537
38648Problem: Message for opening the cmdline window is not translated.
38649Solution: Add gettext() and scan the defaults script for text to be
38650 translated. (closes #12371)
38651
38652Patch 9.0.1538
38653Problem: :wqall does not trigger ExitPre. (Bart Libert)
38654Solution: Move preparations for :qall to a common function. (closes #12374)
38655
38656Patch 9.0.1539
38657Problem: Typst filetype is not recognized.
38658Solution: Distinguish between sql and typst. (Gaetan Lepage, closes #12363)
38659
38660Patch 9.0.1540
38661Problem: reverse() on string doesn't work in compiled function.
38662Solution: Accept string in argument type check. (Yegappan Lakshmanan,
38663 closes #12377)
38664
38665Patch 9.0.1541
38666Problem: CI: sound dummy is disabled.
38667Solution: Make sound dummy work again. (closes #12380)
38668
38669Patch 9.0.1542
38670Problem: Line not fully displayed if it doesn't fit in the screen.
38671Solution: Do not reset s_skipcol if not needed. (Luuk van Baal,
38672 closes #12376)
38673
38674Patch 9.0.1543
38675Problem: Display errors when making topline shorter and 'smoothscroll' is
38676 set.
38677Solution: Reset w_skipcol when the topline becomes shorter than its current
38678 value. (Luuk van Baal, closes #12367)
38679
38680Patch 9.0.1544
38681Problem: Recent glibc marks sigset() as a deprecated.
38682Solution: Use sigaction() in mch_signal() if possible. (Ozaki Kiichi,
38683 closes #12373)
38684
38685Patch 9.0.1545
38686Problem: Text not scrolled when cursor moved with "g0" and "h".
38687Solution: Adjust w_skipcol when needed. (Luuk van Baal, closes #12387)
38688
38689Patch 9.0.1546
38690Problem: Some commands for opening a file don't use 'switchbuf'.
38691Solution: Use 'switchbuf' for more commands. (Yegappan Lakshmanan,
38692 closes #12383, closes #12381)
38693
38694Patch 9.0.1547
38695Problem: Coveralls workflow on CI is commented out.
38696Solution: Remove the Coveralls workflow. (closes #12389)
38697
38698Patch 9.0.1548
38699Problem: CI: check in sound-dummy module may throw an error.
38700Solution: Check whether apt-cache can show the package description.
38701 (Christian Brabandt, closes #12390)
38702
38703Patch 9.0.1549
38704Problem: USD filetype is not recognized.
38705Solution: Add patterns for USD filetype. (Colin Kennedy, closes #12370)
38706
38707Patch 9.0.1550
38708Problem: In cmdline window S-Tab does not select previous completion.
38709 (Maxim Kim)
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010038710Solution: Add a mapping for S-Tab. (closes #12116)
Christian Brabandt5872bcb2023-12-19 20:10:43 +010038711
38712Patch 9.0.1551
38713Problem: Position of marker for 'smoothscroll' not computed correctly.
38714Solution: Take 'list' and other options into account. (Luuk van Baal,
38715 closes #12393)
38716
38717Patch 9.0.1552
38718Problem: CI: sound-dummy module is not installed.
38719Solution: Invert using the result of the condition. (closes #12394)
38720
38721Patch 9.0.1553
38722Problem: CI: using slightly outdated gcc version.
38723Solution: Use "brew" to get a more recent gcc version. (closes #12391)
38724
38725Patch 9.0.1554
38726Problem: Code for handling 'switchbuf' is repeated.
38727Solution: Add a function to handle 'switchbuf'. (Yegappan Lakshmanan,
38728 closes #12397)
38729
38730Patch 9.0.1555
38731Problem: setcharsearch() does not clear last searched char properly.
38732Solution: Do not accept lastc_bytelen smaller than one. (closes #12398)
38733
38734Patch 9.0.1556
38735Problem: Vim9: error for missing "return" after "throw".
38736Solution: Set had_return flag for "throw". (closes #12262)
38737
38738Patch 9.0.1557
38739Problem: Test failures for unreachable code.
38740Solution: Add a test override to ignore unreachable code.
38741
38742Patch 9.0.1558
38743Problem: Wrong error for unreachable code after :throw.
38744Solution: Adjust the error message.
38745
38746Patch 9.0.1559
38747Problem: Function argument types not always checked and using v:none may
38748 cause an error.
38749Solution: Check argument types once the function type is known. Do not give
38750 an error for using v:none as an argument. (closes #12200)
38751
38752Patch 9.0.1560
38753Problem: Win32: When 'encoding' is set $PATH has duplicate entries.
38754Solution: Only append the directory if it is not there yet. (Ken Takata,
38755 closes #12400, closes #12372)
38756
38757Patch 9.0.1561
38758Problem: Display wrong when moving cursor to above the top line and
38759 'smoothscroll' is set.
38760Solution: Call adjust_skipcol() in more places and make it work better.
38761 (Luuk van Baal, closes #12395)
38762
38763Patch 9.0.1562
38764Problem: Mixing package managers is not a good idea.
38765Solution: Install gcc 13 with apt-get. (closes #12405)
38766
38767Patch 9.0.1563
38768Problem: GTK3: window manager resize hints are incomplete.
38769Solution: Use NULL for second argument of gtk_window_set_geometry_hints().
38770 (Kenny Stauffer closes #11055)
38771
38772Patch 9.0.1564
38773Problem: Display moves up and down with 'incsearch' and 'smoothscroll'.
38774Solution: Do not check if w_skipcol changed. (Luuk van Baal, closes #12410,
38775 closes #12409)
38776
38777Patch 9.0.1565
38778Problem: Json lines files are not recognized.
38779Solution: Add a pattern to detect "jsonl" files. (issue #7520)
38780
38781Patch 9.0.1566
38782Problem: Motif: GUI scrollbar test fails in 24 lines terminal.
38783Solution: Skip the part of the test that fails for now.
38784
38785Patch 9.0.1567
38786Problem: Profiler calculation may be wrong on 32 bit builds.
38787Solution: Use 64 bit variable if possible. (Isao Sato, closes #12412)
38788
38789Patch 9.0.1568
38790Problem: With 'smoothscroll' cursor may move below botline.
38791Solution: Call redraw_later() if needed, Compute cursor row with adjusted
38792 condition. (Luuk van Baal, closes #12415)
38793
38794Patch 9.0.1569
38795Problem: Cannot use "this.member" in lambda in class method.
38796Solution: Adjust check for reserved keyword. (Hirohito Higashi,
38797 closes #12416, closes #12076, closes #12336)
38798
38799Patch 9.0.1570
38800Problem: Some tests are slow.
38801Solution: Make a few test cases faster.
38802
38803Patch 9.0.1571
38804Problem: RedrawingDisabled not used consistently.
38805Solution: Avoid RedrawingDisabled going negative. Set RedrawingDisabled in
38806 win_split_ins(). (closes #11961)
38807
38808Patch 9.0.1572
38809Problem: Error messages are not translated.
38810Solution: Add _().
38811
38812Patch 9.0.1573
38813Problem: Error for function name has wrong line number.
38814Solution: Set the line number before giving the error.
38815
38816Patch 9.0.1574
38817Problem: MS-Windows: list of translation input files incomplete.
38818Solution: Move the list of files to a common file. (closes #12426)
38819
38820Patch 9.0.1575
38821Problem: "file N of M" message is not translated.
38822Solution: Make argument count message translatable. (close #12429)
38823
38824Patch 9.0.1576
38825Problem: Users may not know what to do with an internal error.
38826Solution: Add a translated message with instructions.
38827
38828Patch 9.0.1577
38829Problem: MS-Windows: context menu translations may be wrong.
38830Solution: Set the encoding before using gettext(). (Ken Takata,
38831 closes #12441, closes #12431)
38832
38833Patch 9.0.1578
38834Problem: SpellCap highlight not always updated when needed.
38835Solution: Handle updating line below closed fold and other situations where
38836 only part of the window is redrawn. (Luuk van Baal, closes #12428,
38837 closes #12420)
38838
38839Patch 9.0.1579
38840Problem: Some error messages are not translated.
38841Solution: Add the N_() marker on messages. (closes #12427)
38842
38843Patch 9.0.1580
38844Problem: CI: indent test hangs on FreeBSD.
38845Solution: Set 'nomore' when running the indent tests. (Ozaki Kiichi,
38846 closes #12446)
38847
38848Patch 9.0.1581
38849Problem: Translation does not work for plural argument.
38850Solution: Use PLURAL_MSG() for errors and with xgettext. (closes #12443)
38851
38852Patch 9.0.1582
38853Problem: :stopinsert may not work in a popup close handler. (Ben Jackson)
38854Solution: Restore stop_insert_mode when appropriate. (closes #12452,
38855 closes #12434)
38856
38857Patch 9.0.1583
38858Problem: Get E304 when using 'cryptmethod' "xchacha20v2". (Steve Mynott)
38859Solution: Add 4th crypt method to block zero ID check. Avoid syncing a swap
38860 file before reading the file. (closes #12433)
38861
38862Patch 9.0.1584
38863Problem: Not all meson files are recognized.
38864Solution: Add "meson.options". (Liam Beguin, closes #12444)
38865
38866Patch 9.0.1585
38867Problem: Weird use of static variables for spell checking.
38868Solution: Move the variables to a structure and pass them from win_update()
38869 to win_line(). (Luuk van Baal, closes #12448)
38870
38871Patch 9.0.1586
38872Problem: Checking translations gives an error for using two messages with
38873 ngettext() that differ in "%" items.
38874Solution: Adjust the check script to tolerate omitting one "%" item.
38875
38876Patch 9.0.1587
38877Problem: Corn config files are not recognized.
38878Solution: Add a pattern for Corn config files. (Jake Stanger, closes #12449)
38879
38880Patch 9.0.1588
38881Problem: Incsearch not triggered when pasting clipboard register on the
38882 command line.
38883Solution: Also set "literally" when using a clipboard register. (Ken Takata,
38884 closes #12460)
38885
38886Patch 9.0.1589
38887Problem: Filetype test contains too many special characters.
38888Solution: Use Vim9 syntax for a few things.
38889
38890Patch 9.0.1590
38891Problem: Filetype test has trailing white space.
38892Solution: Remove trailing white space.
38893
38894Patch 9.0.1591
38895Problem: Some "gomod" files are not recognized.
38896Solution: Check for "go.mod" file name before checking out the contents.
38897 (Omar El Halabi, closes #12462)
38898
38899Patch 9.0.1592
38900Problem: Not all timer tests are marked as flaky.
38901Solution: Set the flaky flag for all timer tests. (closes #12355)
38902
38903Patch 9.0.1593
38904Problem: MS-Windows: assert error when compiled with debug mode.
38905Solution: Adjust arguments to setvbuf(). (Ken Takata, closes #12467)
38906
38907Patch 9.0.1594
38908Problem: Some internal error messages are translated.
38909Solution: Consistently do not translate internal error messages.
38910 (closes #12459)
38911
38912Patch 9.0.1595
38913Problem: Line pointer becomes invalid when using spell checking.
38914Solution: Call ml_get() at the right places. (Luuk van Baal, closes #12456)
38915
38916Patch 9.0.1596
38917Problem: :registers command does not work in sandbox.
38918Solution: Add flag to the command. (closes #12473)
38919
38920Patch 9.0.1597
38921Problem: Cursor ends up below the window after a put.
38922Solution: Mark w_crow and w_botline invalid when changing the cursor line.
38923 (closes #12465)
38924
38925Patch 9.0.1598
38926Problem: screenchar(), screenchars() and screenstring() do not work
38927 properly when 'encoding' is set to a double-byte encoding.
38928Solution: Fix the way the bytes of the characters are obtained.
38929 (issue #12469)
38930
38931Patch 9.0.1599
38932Problem: Cursor not adjusted when near top or bottom of window and
38933 'splitkeep' is not "cursor".
38934Solution: Move boundary checks to outer cursor move functions, inner
38935 functions should only return valid cursor positions. (Luuk van
38936 Baal, closes #12480)
38937
38938Patch 9.0.1600
38939Problem: screenpos() does not take w_skipcol into account.
38940Solution: Subtract w_skipcol from column. (closes #12486, closes #12476)
38941
38942Patch 9.0.1601
38943Problem: Filetype detection fails for *.conf file without comments.
38944 (Dmitrii Tcyganok)
38945Solution: Use "conf" filetype as a fallback for an empty .conf file.
38946 (closes #12487, closes #12483)
38947
38948Patch 9.0.1602
38949Problem: Stray character is visible if 'smoothscroll' marker is displayed
38950 on top of a double-wide character.
38951Solution: When overwriting a double-width character with the 'smoothscroll'
38952 marker clear the second half. (closes #12469)
38953
38954Patch 9.0.1603
38955Problem: Display wrong when scrolling multiple lines with 'smoothscroll'
38956 set.
38957Solution: Redraw when w_skipcol changed. (closes #12477, closes #12468)
38958
38959Patch 9.0.1604
38960Problem: Errors from the codestyle test are a bit confusing.
38961Solution: Use assert_report() with a clearer message. Avoid a warning for
38962 an existing swap file.
38963
38964Patch 9.0.1605
38965Problem: Crash when calling method on super in child constructor. (Israel
38966 Chauca Fuentes)
38967Solution: Clear the type list. (Ernie Rael, closes #12489, closes #12471)
38968
38969Patch 9.0.1606
38970Problem: Using freed memory when 'foldcolumn' is set.
38971Solution: Save extra pointer to free it later. (closes #12492)
38972
38973Patch 9.0.1607
38974Problem: screenpos() returns wrong row with diff filler lines.
38975Solution: Only add filler lines when appropriate. Also don't add the
38976 'smoothscroll' marker when w_skipcol is zero. (closes #12485,
38977 closes #12484)
38978
38979Patch 9.0.1608
38980Problem: update_topline() is called twice.
38981Solution: Do not call update_topline() before curs_columns(). (Luuk van
38982 Baal, closes #12495)
38983
38984Patch 9.0.1609
38985Problem: Crash when an object indirectly references itself.
38986Solution: Avoid clearing an object while it is already being cleared.
38987 (closes #12494)
38988
38989Patch 9.0.1610
38990Problem: Display is wrong when 'smoothscroll' is set and scrolling multiple
38991 lines.
38992Solution: Redraw with UPD_NOT_VALID when "skipcol" is or was set.
38993 (closes #12490, closes #12468)
38994
38995Patch 9.0.1611
38996Problem: v:maxcol can be changed in a :for loop.
38997Solution: Check for read-only loop variable. (closes #12470)
38998
38999Patch 9.0.1612
39000Problem: "skipcol" not reset when using multi-byte characters.
39001Solution: Compare with w_virtcol instead of w_cursor.col. (closes #12457)
39002
39003Patch 9.0.1613
39004Problem: Some make output gets picked up by 'errorformat'.
39005Solution: Ignore make output by default. (Gregory Anders, closes #12481)
39006
39007Patch 9.0.1614
39008Problem: strlen() called too often for :spellrepall.
39009Solution: Store the result in a variable. (closes #12497)
39010
39011Patch 9.0.1615
39012Problem: URL shortcut files are not recognized.
39013Solution: Add a pattern for URL shortcut files. (closes #12474)
39014
39015Patch 9.0.1616
39016Problem: Quickfix text field is truncated.
39017Solution: Fix output of text field after pattern field in quickfix buffer.
39018 (Shane Harper, closes #12498)
39019
39020Patch 9.0.1617
39021Problem: charidx() and utf16idx() result is not consistent with byteidx().
39022Solution: When the index is equal to the length of the text return the
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010039023 length of the text instead of -1. (Yegappan Lakshmanan,
Christian Brabandt5872bcb2023-12-19 20:10:43 +010039024 closes #12503)
39025
39026Patch 9.0.1618
39027Problem: Trace32 files are not recognized.
39028Solution: Add patterns for the t32 filetype. (Christoph Sax, closes #12505)
39029
39030Patch 9.0.1619
39031Problem: The focus gained/lost escape sequences cause trouble for a
39032 terminal where Vim does not expect them.
39033Solution: Always recognize the codes for focus gained/lost. (closes #12499)
39034
39035Patch 9.0.1620
39036Problem: Nix files are not recognized from the hashbang line.
39037Solution: Add a hashbang check. (issue #12507)
39038
39039Patch 9.0.1621
39040Problem: FILETYPE_FILE is defined to the same value multiple times. Same
39041 for a few similar macros.
39042Solution: Define FILETYPE_FILE and others in feature.h only
39043
39044Patch 9.0.1622
39045Problem: Filetype name t32 is a bit obscure.
39046Solution: Rename t32 to trace32. (Christoph Sax, closes #12512)
39047
39048Patch 9.0.1623
39049Problem: The program to filetype translation is not exported.
39050Solution: Export Exe2filetype().
39051
39052Patch 9.0.1624
39053Problem: Crash when calling object constructor from legacy script. (Israel
39054 Chauca Fuentes)
39055Solution: Pass a pointer for "ufunc". (closes #12502)
39056
39057Patch 9.0.1625
39058Problem: "super" is not considered a reserved name.
39059Solution: Add "super" to the list of reserved names. (closes #12515)
39060
39061Patch 9.0.1626
39062Problem: Visual area not shown when using 'showbreak' and start of line is
39063 not visible. (Jaehwang Jung)
39064Solution: Adjust "fromcol" for the space taken by 'showbreak'.
39065 (closes #12514)
39066
39067Patch 9.0.1627
39068Problem: No generic mechanism to test syntax plugins.
39069Solution: Add a syntax plugin test mechanism, using screendumps. Add a
39070 simple test for "c".
39071
39072Patch 9.0.1628
39073Problem: Syntax tests fail on FreeBSD.
39074Solution: Pass the Vim executable path with VIMPROG. (Ken Takata,
39075 closes #12535) Adjust the paths.
39076
39077Patch 9.0.1629
39078Problem: Having utf16idx() rounding up is inconvenient.
39079Solution: Make utf16idx() round down. (Yegappan Lakshmanan, closes #12523)
39080
39081Patch 9.0.1630
39082Problem: "make clean" at the toplevel fails.
39083Solution: Clean the indent and syntax directories in a sub-shell. (Ben
39084 Jackson, closes #12536, closes #12526)
39085
39086Patch 9.0.1631
39087Problem: Passing a wrong variable type to an option gives multiple errors.
39088Solution: Bail out early on failure. (closes #12504)
39089
39090Patch 9.0.1632
39091Problem: Not all cabal config files are recognized.
39092Solution: Add a couple of patterns. (Marcin Szamotulski, closes #12463)
39093
39094Patch 9.0.1633
39095Problem: Duplicate code for converting float to string.
39096Solution: Use tv_get_string(). (closes #12521)
39097
39098Patch 9.0.1634
39099Problem: Message is cleared when removing mode message (Gary Johnson).
39100Solution: Do not clear the command line after displaying a message.
39101
39102Patch 9.0.1635
39103Problem: Error message is cleared when removing mode message.
39104Solution: Also reset flags when the message is further down.
39105
39106Patch 9.0.1636
39107Problem: Expanding a pattern interferes with command line completion.
39108Solution: Set the file index only when appropriate. (closes #12519)
39109
39110Patch 9.0.1637
39111Problem: Compiler warning for uninitialized variable.
39112Solution: Move the variable to an inner block and initialize it. (Christian
39113 Brabandt, closes #12549)
39114
39115Patch 9.0.1638
39116Problem: crypt tests hang and cause memory errors
39117Solution: Move variable to start of function.
39118
39119Patch 9.0.1639
39120Problem: Build failure without the crypt feature.
39121Solution: Adjust #ifdefs
39122
39123Patch 9.0.1640
39124Problem: Compiler warning for unused variables without the crypt feature.
39125Solution: Adjust #ifdefs
39126
39127Patch 9.0.1641
39128Problem: The log file does not give information about window sizes.
39129Solution: Add a few log messages about obtaining the window size.
39130
39131Patch 9.0.1642
39132Problem: Build failure with tiny features.
39133Solution: Add #ifdef's.
39134
39135Patch 9.0.1643
39136Problem: Filetype detection fails if file name ends in many '~'.
39137Solution: Strip multiple '~' at the same time. (closes #12553)
39138
39139Patch 9.0.1644
39140Problem: Not all filetype file name matches are tested.
39141Solution: Add more file names to test with. (Jonas Strittmatter,
39142 closes #12569)
39143
39144Patch 9.0.1645
39145Problem: zserio files are not recognized.
39146Solution: Add a pattern for zserio files. (Dominique Pellé,
39147 closes #12544)
39148
39149Patch 9.0.1646
39150Problem: CI: codecov may take a very long time to run.
39151Solution: Add a timeout. (Philip Heiduck, closes #12559)
39152
39153Patch 9.0.1647
39154Problem: Insufficient testing for syntax plugins.
39155Solution: Add shell file examples. (Charles Campbell) Create a messages
39156 file for easier debugging and reporting the test results.
39157
39158Patch 9.0.1648
39159Problem: Result of syntax tests is hard to see.
39160Solution: List the failed tests.
39161
39162Patch 9.0.1649
39163Problem: Syntax test failure causes script to abort.
39164Solution: Fix appending string to list.
39165
39166Patch 9.0.1650
39167Problem: MS-Windows: default 'viewdir' may include read-only directory.
39168Solution: Use $HOME instead of $VIM for 'viewdir' default. (closes #12119)
39169
39170Patch 9.0.1651
39171Problem: Unclear why syntax test fails on Mac.
39172Solution: Temporarily show the whole "messages" file.
39173
39174Patch 9.0.1652
39175Problem: Unclear why syntax test fails on Mac.
39176Solution: Echo v:errors when it's not empty.
39177
39178Patch 9.0.1653
39179Problem: Amiga: default 'viewdir' may not work.
39180Solution: Use "home:" instead of "$VIM". Add a test. (Christian Brabandt,
39181 closes #12576)
39182
39183Patch 9.0.1654
39184Problem: MS-Windows: test for default 'viewdir' fails.
39185Solution: Escape the pattern.
39186
39187Patch 9.0.1655
39188Problem: Syntax test fails when Vim window is not tall enough.
39189Solution: Make sure each terminal window is closed.
39190
39191Patch 9.0.1656
39192Problem: Syntax test fails when detected shell type differs.
39193Solution: Avoid using "/bin/sh", it depends on the system. Add a check that
39194 the shell type detection is correct.
39195
39196Patch 9.0.1657
39197Problem: One more syntax test depends on the system.
39198Solution: Use "dash" instead of "sh".
39199
39200Patch 9.0.1658
39201Problem: Autoload files for "zig" are not installed.
39202Solution: Add install and uninstall rules in the makefile. (Christian
39203 Brabandt, closes #12577, closes #12567)
39204
39205Patch 9.0.1659
39206Problem: Termdebug: default highlight cleared when changing colorscheme.
39207Solution: Use a ColorScheme autocommand. (Christian Brabandt, closes #12566,
39208 closes #12555)
39209
39210Patch 9.0.1660
39211Problem: Error for using matchfuzzy() in Vim9 script returning a list of
39212 dicts.
39213Solution: Make return type of matchfuzzy() list<any>. (Yegappan Lakshmanan,
39214 closes #12574)
39215
39216Patch 9.0.1661
39217Problem: BUCK files are not recognized.
39218Solution: Recognize BUCK files as "bzl". (Son Luong Ngoc, closes #12564)
39219
39220Patch 9.0.1662
39221Problem: Crash when using a class member twice. (Christian J. Robinson)
39222Solution: Make a copy of the value.
39223
39224Patch 9.0.1663
39225Problem: Termdebug on MS-Windows: some file names are not recognized.
39226Solution: Do not always change \t and \n. (Christian Brabandt,
39227 closes #12565, closes #12560, closes #12550)
39228
39229Patch 9.0.1664
39230Problem: Divide by zero when scrolling with 'smoothscroll' set.
39231Solution: Avoid using a negative width. (closes #12540, closes #12528)
39232
39233Patch 9.0.1665
39234Problem: Empty CmdlineEnter autocommand causes errors in Ex mode.
39235Solution: Save and restore ex_pressedreturn. (Christian Brabandt,
39236 closes # 12581, closes #12578)
39237
39238Patch 9.0.1666
39239Problem: Compiler may warn for uninitialized variable.
39240Solution: Initialize this_props_len. (Christian Brabandt, closes #12599)
39241
39242Patch 9.0.1667
39243Problem: Regression test doesn't fail when fix is reverted.
39244Solution: Add "n" to 'cpoptions' instead of using :winsize. (closes #12587,
39245 issue #12528)
39246
39247Patch 9.0.1668
39248Problem: PEM files are not recognized.
39249Solution: Add patterns to match PEM files. (closes #12582)
39250
39251Patch 9.0.1669
39252Problem: Crash syncing swapfile in new buffer when using sodium crypt.
39253 (James McCoy)
39254Solution: Add checks for sodium encryption. (Christian Brabandt,
39255 closes #12591, closes #12585)
39256
39257Patch 9.0.1670
39258Problem: Resetting local option to global value is inconsistent.
39259Solution: Handle "<" specifically for 'scrolloff' and 'sidescrolloff'.
39260 (closes #12594)
39261
39262Patch 9.0.1671
39263Problem: Termdebug: error with more than 99 breakpoints.
39264Solution: Use a different sign for breakpoint 100 and over. (closes #12589,
39265 closes #12588)
39266
39267Patch 9.0.1672
39268Problem: Tabline highlight wrong after truncated double width label.
39269Solution: Fill up half a double width character later. (closes #12614)
39270
39271Patch 9.0.1673
39272Problem: Cannot produce a status 418 or 503 message.
39273Solution: Add err_teapot().
39274
39275Patch 9.0.1674
39276Problem: Help for builtin functions is not sorted properly.
39277Solution: Put err_teapot() help in the right position.
39278
39279Patch 9.0.1675
39280Problem: Test may run into timeout when using valgrind.
39281Solution: Use a longer timeout when using valgrind.
39282
39283Patch 9.0.1676
39284Problem: Warning for buffer in use when exiting early.
39285Solution: Change file names to be able to see what buffer is in use when
39286 exiting.
39287
39288Patch 9.0.1677
39289Problem: Typo in syntax test input file.
39290Solution: Fix the typo and the expected dump files. (THARAK HEGDE,
39291 closes #12635)
39292
39293Patch 9.0.1678
39294Problem: Blade files are not recognized.
39295Solution: Add a pattern for Blade files. (closes #12650)
39296
39297Patch 9.0.1679
39298Problem: Tests may leave leftover files around
39299Solution: Clean up tests and remove files
39300
39301Patch 9.0.1680
39302Problem: sodium test fails in Github CI
39303Solution: Catch sodium_mlock() errors and do not error out
39304
39305Patch 9.0.1681
39306Problem: Build Failure with Perl 5.38
39307Solution: Fix Build Failure
39308
39309Patch 9.0.1682
39310Problem: crypt: sodium encryption is not portable
39311Solution: use little-endian byte order for sodium encrypted files
39312
39313Patch 9.0.1683
39314Problem: need runtime files updated
39315Solution: merge various github PRs
39316
39317Patch 9.0.1684
39318Problem: libvterm slightly outdated
39319Solution: Update libvterm from rev 818 to rev 839
39320
39321Patch 9.0.1685
39322Problem: Python 3.11 interface throws deprecation warnings
39323Solution: ignore those warnings for gcc and clang
39324
39325Patch 9.0.1686
39326Problem: undotree() only works for the current buffer
39327Solution: Add an optional "buffer number" parameter to undotree(). If
39328 omitted, use the current buffer for backwards compatibility.
39329
39330Patch 9.0.1687
39331Problem: mapset() not properly handling script ID
39332Solution: replace_termcodes() may accept a script ID
39333
39334Patch 9.0.1688
39335Problem: cannot store custom data in quickfix list
39336Solution: add `user_data` field for the quickfix list
39337
39338Patch 9.0.1689
39339Problem: python 3.12 produces warnings and fails test
39340Solution: Make use of raw strings in python3 tests
39341
39342Patch 9.0.1690
39343Problem: popup_create() not aborting on errors
39344Solution: check for errors in arguments given and abort if an error
39345 occurred
39346
39347Patch 9.0.1691
39348Problem: wrong viewport restored for incsearch and smoothscroll
39349Solution: Save and restore skipcol as well
39350
39351Patch 9.0.1692
39352Problem: Android not handling AI_V4MAPPED ai_flag
39353Solution: don't set AI_V4MAPPED flag when on Android, since
39354 Android's getaddrinfo returns EAI_BADFLAGS if ai_flags
39355 contains it
39356
39357Patch 9.0.1693
39358Problem: Ctrl-Q not handled like Ctrl-V in replace mode
39359Solution: Handle Ctrl-Q like Ctrl-V
39360
39361Patch 9.0.1694
39362Problem: wrong mapping applied when replaying a char search
39363Solution: Store a NOP after the ESC
39364
39365Patch 9.0.1695
39366Problem: Crash with overlong textprop above
39367Solution: Consider only positive padding
39368
39369Patch 9.0.1696
39370Problem: sodium_mlock may still fail in CI
39371Solution: Catch E1230 in testscript and skip test
39372
39373Patch 9.0.1697
39374Problem: incsearch test not sufficient (after 9.0.1691)
39375Solution: add an additional test
39376
39377Patch 9.0.1698
39378Problem: Test_map_restore_sid fails in GUI
39379Solution: Feed an unsimplified Ctrl-B
39380
39381Patch 9.0.1699
39382Problem: compile warning for xdiff/xutils on MS-Windows
39383Solution: add explicit type cast from size_t to long
39384
39385Patch 9.0.1700
39386Problem: Cannot compile with dynamic perl < 5.38 (after 9.0.1681)
39387Solution: Fix if_perl/dyn from perl 5.32 to 5.38
39388
39389Patch 9.0.1701
39390Problem: vim9 crash when class member overridden
39391Solution: Use method_count field instead
39392
39393Patch 9.0.1702
39394Problem: Undo test is flaky.
39395Solution: Apply filter and change time to "1 second ago" in both dumps.
39396
39397Patch 9.0.1703
39398Problem: Vim9 Calling a method in an extended class fails
39399Solution: use method index directly
39400
39401Patch 9.0.1704
39402Problem: Cannot use positional arguments for printf()
39403Solution: Support positional arguments in string formatting
39404
39405Patch 9.0.1705
39406Problem: cursor position wrong when clicking on an unprintable char
39407Solution: Don't update prev_ptr when wlv.n_extra is not zero.
39408
39409Patch 9.0.1706
39410Problem: typos in the xxd manpage
39411Solution: Fix typos and formatting
39412
39413Patch 9.0.1707
39414Problem: Cannot wrap around in popup_filter_menu()
39415Solution: Allow to wrap around by default
39416
39417Patch 9.0.1708
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010039418Problem: getcompletion() fails for user-defined commands
Christian Brabandt5872bcb2023-12-19 20:10:43 +010039419Solution: set context for completion function
39420
39421Patch 9.0.1709
39422Problem: dynamic build with python 3.12 breaks
39423Solution: if_python3.c: Fix building dynamic Python3 interpreter
39424
39425Patch 9.0.1710
39426Problem: sidescrolloff and scrolloff options work slightly
39427 different than other global-local options
39428Solution: Make it behave consistent for all global-local options
39429
39430Patch 9.0.1711
39431Problem: dead code in charset.c
39432Solution: remove it
39433
39434Patch 9.0.1712
39435Problem: missing null check in object_clear()
39436Solution: Add null check of cl
39437
39438Patch 9.0.1713
39439Problem: Github CI fails to load snd-dummy kernel module
39440Solution: Make installation of linux-modules-extra optional
39441
39442Patch 9.0.1714
39443Problem: getcompletion() "cmdline" fails after :autocmd
39444Solution: Use set_cmd_context() instead of set_one_cmd_context().
39445
39446Patch 9.0.1715
39447Problem: duplicate test in message_test.c
39448Solution: Remove duplicate test and make functions static
39449
39450Patch 9.0.1716
39451Problem: Windows build with python 3.12 and clang fails
39452Solution: Remove the PyBool_Type function pointer for python 3.12
39453
39454Patch 9.0.1717
39455Problem: virtcol2col returns last byte of a multi-byte char
39456Solution: Make it return the first byte for a multi-byte char
39457
39458Patch 9.0.1718
39459Problem: dict-completion does not respect region
39460Solution: respect selected region in dict completion
39461
39462Patch 9.0.1719
39463Problem: if_lua: crash for Lua functions invoked via Vim callbacks
39464Solution: Use Lua registry rather than upvalues for udata cache
39465
39466Patch 9.0.1720
39467Problem: Vim9 class using wrong index for overridden method
39468Solution: Use correct index for overridden method
39469
39470Patch 9.0.1721
39471Problem: Build failure on Windows with dynamic lua (after 9.0.1719)
39472Solution: move definition further down in if_lua
39473
39474Patch 9.0.1722
39475Problem: wrong error messages when passing wrong types to count()
39476Solution: fix it
39477
39478Patch 9.0.1723
39479Problem: Fix regression in {func} argument of reduce()
39480Solution: pass function name as string again
39481
39482Patch 9.0.1724
39483Problem: vim9class constructor argument type checking bug
39484Solution: fix it
39485
39486Patch 9.0.1725
39487Problem: Wrong cursor position when clicking after concealed text
39488 with 'virtualedit'.
39489Solution: Store virtual columns in ScreenCols[] instead of text
39490 columns, and always use coladvance() when clicking.
39491
39492Patch 9.0.1726
39493Problem: incorrect heights in win_size_restore()
39494Solution: avoid restoring incorrect heights in win_size_restore()
39495
39496Patch 9.0.1727
39497Problem: minor problems with the teapot()
39498Solution: remove the null check, update documentation
39499
39500Patch 9.0.1728
39501Problem: missing winid argument for virtcol()
39502Solution: Add a {winid} argument to virtcol()
39503
39504Patch 9.0.1729
39505Problem: screenpos() wrong result with w_skipcol and cpoptions+=n
39506Solution: Use adjust_plines_for_skipcol() instead of subtracting
39507 w_skipcol.
39508
39509Patch 9.0.1730
39510Problem: passing multiple patterns to runtime not working
39511Solution: prepend prefix to each argument separately
39512
39513Patch 9.0.1731
39514Problem: blockwise Visual highlight not working with virtual text
39515Solution: Reset the correct variable at the end of virtual selection and
39516 Check for double-width char inside virtual text.
39517
39518Patch 9.0.1732
39519Problem: vimexpr: shadowing variable
39520Solution: Rename local variable
39521
39522Patch 9.0.1733
39523Problem: CI: cannot cache linux-modules-extra
39524Solution: Enable caching and reduce failed downloads
39525
39526Patch 9.0.1734
39527Problem: runtime completion fails for multiple args
39528Solution: Make it work
39529
39530Patch 9.0.1735
39531Problem: Rename completion specific findex var
39532Solution: Move "findex" static variable to xp_selected in expand_T
39533
39534Patch 9.0.1736
39535Problem: Github Actions times out after 20 minutes
39536Solution: Increase the timeout to 25 minutes
39537
39538Patch 9.0.1737
39539Problem: Calling a base class method through an extended class fails
39540Solution: Create lookup table for member index in the interface to
39541 to the member class implementing the interface
39542
39543Patch 9.0.1738
39544Problem: Duplicate code to reverse a string
39545Solution: Move reverse_text() to strings.c and remove string_reverse().
39546
39547Patch 9.0.1739
39548Problem: leftover files in libvterm
39549Solution: Fix cleaning of libvterm directory
39550
39551Patch 9.0.1740
39552Problem: segfault when reading invalid viminfo file
39553Solution: Check the expected type in the viminfo file
39554
39555Patch 9.0.1741
39556Problem: No type checking in interfaces
39557Solution: Implement member type check in vim9 interfaces
39558
39559Patch 9.0.1742
39560Problem: Wrong curswant when clicking and the second cell of a
39561 double-width char.
39562Solution: Don't copy virtcol of the first char to the second one.
39563
39564Patch 9.0.1743
39565Problem: Parameter of gui_gtk:gui_mch_browse incorrectly marked as
39566 UNUSED.
39567Solution: Remove UNUSED flag.
39568
39569Patch 9.0.1744
39570Problem: Dead code in open_cmdwin()
39571Solution: Remove it
39572
39573Patch 9.0.1745
39574Problem: Missing test coverage for blockwise Visual highlight with
39575 virtual that starts with a double-width char.
39576Solution: Add a new virtual text to the test. Some other small fixes.
39577
39578Patch 9.0.1746
39579Problem: vim9class compile error for char/char_u conversion
39580Solution: Correctly cast to (char *)
39581
39582Patch 9.0.1747
39583Problem: screenpos() may cause unnecessary redraw.
39584Solution: Don't unnecessarily reset VALID_WROW flag.
39585
39586Patch 9.0.1748
39587Problem: CI: cannot label issues automatically
39588Solution: Create CI labeler
39589
39590Patch 9.0.1749
39591Problem: Text property highlight doesn't override a sign highlight over
39592 a tab character
39593Solution: Let text_property override tab highlighting
39594
39595Patch 9.0.1750
39596Problem: CI: fails because of changed error messages
39597 (after: 9.0.1741)
39598Solution: Adjust expected error messages
39599
39600Patch 9.0.1751
39601Problem: CI: labeler configuration not found
39602 (after 9.0.1748)
39603Solution: set configuration path
39604
39605Patch 9.0.1752
39606Problem: CI: Coveralls is no longer used
39607Solution: Remove .coveralls.yml
39608
39609Patch 9.0.1753
39610Problem: can't move to last non-blank char
39611Solution: Make g<end> behave like that
39612
39613Patch 9.0.1754
39614Problem: still ci breakage (after 9.0.1741)
39615Solution: fix remaining issue
39616
39617Patch 9.0.1755
39618Problem: CI still fails with sodium mlock error
39619Solution: catch mlock failure
39620
39621Patch 9.0.1756
39622Problem: failing cursorline sign test
39623Solution: only reset char attr, if cursorline
39624 option is not set
39625
39626Patch 9.0.1757
39627Problem: ex_class() function is too long
39628Solution: refactor it
39629
39630Patch 9.0.1758
39631Problem: vim9 no class identifiers in stack dumps
39632Solution: Prefix class members in stack traces with the class name
39633 followed by a dot.
39634
39635Patch 9.0.1759
39636Problem: Visual highlight not working with cursor at end of screen line
39637 and 'showbreak'.
39638Solution: Only update "vcol_prev" when drawing buffer text.
39639
39640Patch 9.0.1760
39641Problem: vim9 class problem with new() constructor
39642Solution: Don't allow a return type for the new() class constructor.
39643
39644Patch 9.0.1761
39645Problem: g<kEnd> behaves different from g<end>
39646Solution: Make g<kEnd> behave like g<End>
39647
39648Patch 9.0.1762
39649Problem: Not able to get the virtual text property
39650Solution: Make prop_list() return virtual text and alignment
39651
39652Patch 9.0.1763
39653Problem: crash when passing invalid buffer to undotree()
39654Solution: Use get_buf_arg() instead of tv_get_buf_from_arg().
39655
39656Patch 9.0.1764
39657Problem: CI: label should not be set on all yml files
39658Solution: only set it for specific yml files in .github
39659
39660Patch 9.0.1765
39661Problem: Error when cross-compiling Vim
39662Solution: use AC_CHECK_SIZEOF to find sizeof(wchar_t)
39663
39664Patch 9.0.1766
39665Problem: Runtime: Missing QML support
39666Solution: Add QML support to Vim
39667
39668Patch 9.0.1767
39669Problem: '.-' no allowed in highlight group names
39670Solution: Allow dot and hyphen characters in highlight group names
39671
39672Patch 9.0.1768
39673Problem: Runtime: no support for bicep files
39674Solution: Add filetype support for bicepparam
39675
39676Patch 9.0.1769
39677Problem: executable() ignoring symlinks on Windows
39678Solution: resolve reparse points
39679
39680Patch 9.0.1770
39681Problem: lines disappear when modifying chars before virt text
39682Solution: take virtual text property length into account
39683
39684Patch 9.0.1771
39685Problem: regex: combining chars in collections not handled
39686Solution: Check for following combining characters for NFA and BT engine
39687
39688Patch 9.0.1772
39689Problem: Cursor is adjusted in window that did not change in size by
39690 'splitkeep'.
39691Solution: Only check that cursor position is valid in a window that
39692 has changed in size.
39693
39694Patch 9.0.1773
39695Problem: cannot distinguish Forth and Fortran *.f files
39696Solution: Add Filetype detection Code
39697
39698Patch 9.0.1774
39699Problem: no support for custom cmdline completion
39700Solution: Add new vimscript functions
39701
39702Patch 9.0.1775
39703Problem: Wrong comparison in vim9type.c
39704Solution: Change condition to false
39705
39706Patch 9.0.1776
39707Problem: No support for stable Python 3 ABI
39708Solution: Support Python 3 stable ABI
39709
39710Patch 9.0.1777
39711Problem: patch 9.0.1771 causes problems
39712Solution: revert it
39713
39714Patch 9.0.1778
39715Problem: if_py_both: code-style issue
39716Solution: add space
39717
39718Patch 9.0.1779
39719Problem: Need more state() tests
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010039720Solution: Add a few more tests for operator pending mode and register
Christian Brabandt5872bcb2023-12-19 20:10:43 +010039721 yank command
39722
39723Patch 9.0.1780
39724Problem: Vim9 type not defined during object creation
39725Solution: Define type during object creation and not during class
K.Takata7b7672d2024-01-06 01:47:01 +090039726 definition, parse multi-line member initializers, fix lock
Christian Brabandt5872bcb2023-12-19 20:10:43 +010039727 initialization
39728
39729Patch 9.0.1781
39730Problem: Problems when setting bin/paste option
39731Solution: When setting binary/paste, remember that this also affects
39732 depending options, so that :verbose set returns the right
39733 location.
39734
39735Patch 9.0.1782
39736Problem: prop_list() does not return text_padding_left
39737Solution: Store and return the text_padding_left value for text
39738 properties
39739
39740Patch 9.0.1783
39741Problem: Wrong display with wrapping virtual text or unprintable chars,
39742 'showbreak' and 'smoothscroll'.
39743Solution: Don't skip cells taken by 'showbreak' in screen lines before
39744 "w_skipcol". Combined "n_skip" and "skip_cells".
39745
39746Patch 9.0.1784
39747Problem: redundant else in pum_set_selected()
39748Solution: Remove it
39749
39750Patch 9.0.1785
39751Problem: wrong cursor position with 'showbreak' and lcs-eol
39752Solution: Add size of 'showbreak' before when 'listchars' "eol" is used.
39753 Also fix wrong cursor position with wrapping virtual text on
39754 empty line and 'showbreak'.
39755
39756Patch 9.0.1786
39757Problem: Vim9: need instanceof() function
39758Solution: Implement instanceof() builtin
39759
39760Patch 9.0.1787
39761Problem: Cannot build with latest luajit
39762Solution: adjust sed regexp and don't expect '-' in version output
39763
39764Patch 9.0.1788
39765Problem: C4090 warnings in strings.c
39766Solution: Add type casts
39767
39768Patch 9.0.1789
39769Problem: too early declaration of variable in pum_set_selected()
39770Solution: Move declaration to where it is actually used
39771
39772Patch 9.0.1790
39773Problem: The Content-Type header is an optional header that some LSP
39774 servers struggle with and may crash when encountering it.
39775Solution: Drop the Content-Type header from all messages, because we use
39776 the default value anyway.
39777
39778Patch 9.0.1791
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010039779Problem: No tests for the Termdebug plugin
39780Solution: Add some simple tests for the Termdebug plugin
Christian Brabandt5872bcb2023-12-19 20:10:43 +010039781
39782Patch 9.0.1792
39783Problem: Normal mode "gM", "gj", "gk" commands behave incorrectly with
39784 virtual text.
39785Solution: Use linetabsize() instead of linetabsize_str().
39786
39787Patch 9.0.1793
39788Problem: obsolete macros in configure script
39789Solution: Remove those and start moving to autoconf 2.71
39790
39791Patch 9.0.1794
K.Takata7b7672d2024-01-06 01:47:01 +090039792Problem: autoconf: not correctly detecting include dirs
Christian Brabandt5872bcb2023-12-19 20:10:43 +010039793Solution: make use of python3 to generate includedirs
39794
39795Patch 9.0.1795
39796Problem: Indentation issues
39797Solution: Fix code indentation issues.
39798
39799Patch 9.0.1796
39800Problem: Vim9 problems with null_objects
39801Solution: Vim9 improve null_object usage
39802
39803Patch 9.0.1797
39804Problem: Vimball/Visual Basic filetype detection conflict
39805Solution: runtime(vb): Improve Vimball and Visual Basic detection logic
39806
39807Patch 9.0.1798
39808Problem: The 'syntax' option has no completion.
39809Solution: Add syntax option completion.
39810
39811Patch 9.0.1799
39812Problem: Russian menu translation can be improved
39813Solution: update the Russian menu files
39814
39815Patch 9.0.1800
39816Problem: Cursor position still wrong with 'showbreak' and virtual text
39817 after last character or 'listchars' "eol".
39818Solution: Remove unnecessary w_wcol adjustment in curs_columns(). Also
39819 fix first char of virtual text not shown at the start of a screen
39820 line.
39821
39822Patch 9.0.1801
39823Problem: Vim9 instanceof() fails in a def func
39824Solution: allow Objects in compile time check
39825
39826Patch 9.0.1802
39827Problem: Multiline regex with Visual selection fails when Visual
39828 selection contains virtual text after last char.
39829Solution: Only include virtual text after last char when getting full
39830 line length.
39831
39832Patch 9.0.1803
39833Problem: Cannot detect norg markup files
39834Solution: Add norg markup language detection
39835
39836Patch 9.0.1804
39837Problem: Vim9: no support for private object methods
39838Solution: Add support for private object/class methods
39839
39840Patch 9.0.1805
39841Problem: Vim9: problem compiling object method as function call arg
39842Solution: After a object/class method call, remove the object/class from
39843 the stack.
39844
39845Patch 9.0.1806
39846Problem: Vim9: bogus error on export
39847Solution: Don't error out when the export command is not executed
39848
39849Patch 9.0.1807
39850Problem: runtime: crystal scripts not recognised
39851Solution: Filetype detect Crystal scripts by shebang line
39852
39853Patch 9.0.1808
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010039854Problem: Termdebug: Typo in Termdebug test
Christian Brabandt5872bcb2023-12-19 20:10:43 +010039855Solution: fix the typos
39856
39857Patch 9.0.1809
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010039858Problem: Termdebug test flaky
Christian Brabandt5872bcb2023-12-19 20:10:43 +010039859Solution: wait slightly longer
39860
39861Patch 9.0.1810
39862Problem: camel-case spelling has issues with digits
39863Solution: Improve the camCase spell checking by taking digits
39864 and caps into account
39865
39866Patch 9.0.1811
39867Problem: still some issues with term_debug test
39868Solution: Use WaitForAssert()
39869
39870Patch 9.0.1812
39871Problem: CI still fails with sodium_mlock error()
39872Solution: Catch and ignore E1230 error in test_crypt
39873
39874Patch 9.0.1813
39875Problem: 'linebreak' is incorrectly drawn after 'breakindent'.
39876Solution: Don't include 'breakindent' size when already after it.
39877
39878Patch 9.0.1814
39879Problem: Vim9 no error on duplicate object member var
39880Solution: detect duplicate members and error out
39881
39882Patch 9.0.1815
39883Problem: pango_coverage_unref() deprecated in pango > 1.51
39884Solution: use g_object_unref() instead
39885
39886Patch 9.0.1816
39887Problem: configure: sed uses non-portable regex
39888Solution: use '*' modifier instead of '\?' in regex
39889 for luajit version detection
39890
39891Patch 9.0.1817
39892Problem: configure: using obsolete AC_HEADER_STDC
39893Solution: Remove it and re-create configure
39894
39895Patch 9.0.1818
39896Problem: dynamically linking perl is broken
39897Solution: Fix all issues
39898
39899Patch 9.0.1819
39900Problem: Github CI too complex
39901Solution: CI: Tidy up matrix
39902
39903Patch 9.0.1820
39904Problem: Rexx files may not be recognised
39905Solution: Add shebang detection and improve disambiguation of *.cls
39906 files
39907
39908Patch 9.0.1821
39909Problem: Vim9 constructors are always static
39910Solution: make the "static" keyword an error
39911
39912Patch 9.0.1822
39913Problem: Vim9: no check for duplicate members in extended classes
39914Solution: Check for duplicate members in extended classes.
39915 Fix memory leak.
39916
39917Patch 9.0.1823
39918Problem: Autoconf 2.69 too old
39919Solution: Migrate to Autoconf 2.71
39920
39921Patch 9.0.1824
39922Problem: Vim9: private members may be modifiable
39923Solution: prevent modification for def function
39924
39925Patch 9.0.1825
39926Problem: Wrong cursor position with virtual text before a whitespace
39927 character and 'linebreak'.
39928Solution: Always set "col_adj" to "size - 1" and apply 'linebreak' after
39929 adding the size of 'breakindent' and 'showbreak'.
39930
39931Patch 9.0.1826
39932Problem: keytrans() doesn't translate recorded key typed in a GUI
39933Solution: Handle CSI like K_SPECIAL, like in mb_unescape()
39934
39935Patch 9.0.1827
39936Problem: xxd: no color support
39937Solution: Add color support using xxd -R
39938
39939Patch 9.0.1828
39940Problem: Wrong cursor position with virtual text before double-width
39941 char at window edge.
39942Solution: Check for double-width char before adding virtual text size.
39943
39944Patch 9.0.1829
39945Problem: Vim9 missing access-checks for private vars
39946Solution: Use the proper check for private/readonly variable. Access
39947 level for a member cannot be changed in a class implementing an
39948 interface. Update the code indentation
39949
39950Patch 9.0.1830
39951Problem: Vim9: crash when accessing a null object
39952Solution: Check accessing a NULL object in def function
39953
39954Patch 9.0.1831
39955Problem: Vim9: failing null test
39956Solution: Use required public keyword
39957
39958Patch 9.0.1832
39959Problem: xxd: reporting wrong version (after 9.0.1827)
39960Solution: Update version string
39961
39962Patch 9.0.1833
39963Problem: runtime files may execute code in current dir
39964Solution: only execute, if not run from current directory
39965
39966Patch 9.0.1834
39967Problem: Some problems with xxd coloring
39968Solution: Fix the following problems:
39969
39970Patch 9.0.1835
39971Problem: Perl interface has problems with load PL_current_context
39972Solution: Fix Perl interface to load PL_current_context from library
39973
39974Patch 9.0.1836
39975Problem: Wrong display with "above" virtual text and 'linebreak' or
39976 'breakindent' and 'showbreak'.
39977Solution: Exclude size of "above" virtual text when calculating them.
39978
39979Patch 9.0.1837
39980Problem: Vim9: class_member_type() can be optimized
39981Solution: class_member_type() provides more information;
39982 safe an additional alloc()/free()
39983
39984Patch 9.0.1838
39985Problem: Vim9: Cannot modify class member vars from def function
39986Solution: Add support for modifying class member variables from a def
39987 function
39988
39989Patch 9.0.1839
39990Problem: No Makefile rule to build cscope database
39991Solution: Add rule
39992
39993Patch 9.0.1840
39994Problem: use-after-free in do_ecmd
39995Solution: Verify oldwin pointer after reset_VIsual()
39996
39997Patch 9.0.1841
39998Problem: style: trailing whitespace in ex_cmds.c
39999Solution: remove it
40000
40001Patch 9.0.1842
40002Problem: Need more accurate profiling
40003Solution: Improve profiling results
40004
40005Patch 9.0.1843
40006Problem: xxd color test flaky
40007Solution: Filter unneeded lines
40008
40009Patch 9.0.1844
40010Problem: doc helptags may not be up to date
40011Solution: Add CI jobs to verify helptags are updated
40012
40013Patch 9.0.1845
40014Problem: xxd: Test_xxd_color start failing
40015Solution: Revert changes to dump file
40016
40017Patch 9.0.1846
40018Problem: crash in fullcommand
40019Solution: Check for typeval correctly
40020
40021Patch 9.0.1847
40022Problem: potential oob write in do_addsub()
40023Solution: don't overflow buf2, check size in for loop()
40024
40025Patch 9.0.1848
40026Problem: buffer-overflow in vim_regsub_both()
40027Solution: Check remaining space
40028
40029Patch 9.0.1849
40030Problem: CI error on different signedness
40031Solution: cast unsigned to int
40032
40033Patch 9.0.1850
40034Problem: Vim9: wrong line number where options set
40035Solution: Set source line number earlier
40036
40037Patch 9.0.1851
40038Problem: Virtual text at a column causes 'breakindent' and 'showbreak'
40039 to be missing (after patch 9.0.1124).
40040Solution: Add check for "tp_col" in another place where TP_FLAG_WRAP is
40041 checked.
40042
40043Patch 9.0.1852
40044Problem: i_CTRL-O does not reset Select Mode
40045Solution: Reset select mode on CTRL-O in insert mode
40046
40047Patch 9.0.1853
40048Problem: CI error on different signedness in regexp.c
40049 (after patch 9.0.1848)
40050Solution: Cast strlen() call to int
40051
40052Patch 9.0.1854
40053Problem: test_crash1() fails on CI
40054Solution: don't run Screendump test, verify that it doesn't crash
40055 by running it through a shell command line, testing
40056 the exit value and concatenating success cmd using '&&'
40057
40058Patch 9.0.1855
40059Problem: mode() doesn't indicate command line for terminal
40060Solution: make it return 'ct' for command-line from Terminal mode
40061
40062Patch 9.0.1856
40063Problem: issues with formatting positional arguments
40064Solution: fix them, add tests and documentation
40065
40066Patch 9.0.1857
40067Problem: heap-use-after-free in is_qf_win()
40068Solution: Check buffer is valid before accessing it
40069
40070Patch 9.0.1858
40071Problem: heap use after free in ins_compl_get_exp()
40072Solution: validate buffer before accessing it
40073
40074Patch 9.0.1859
40075Problem: heap-use-after-free in bt_normal()
40076Solution: check that buffer is still valid
40077
40078Patch 9.0.1860
40079Problem: CI: test_crash1() is flaky
40080Solution: Wait a bit longer
40081
40082Patch 9.0.1861
40083Problem: xxd: issue when -R is specified several times
40084Solution: Fix command line parsing
40085
40086Patch 9.0.1862
40087Problem: Vim9 Garbage Collection issues
40088Solution: Class members are garbage collected early leading to
40089 use-after-free problems. Handle the garbage
40090 collection of classes properly.
40091
40092Patch 9.0.1863
40093Problem: wrong format specifiers in e_aptypes_is_null_str_nr
40094Solution: Fix the wrong format specifier
40095
40096Patch 9.0.1864
40097Problem: crash with bt_quickfix1_poc when cleaning up
40098 and EXITFREE is defined
40099Solution: Test if buffer is valid in a window, else close
40100 window directly, don't try to access buffer properties
40101
40102Patch 9.0.1865
40103Problem: Vim9: garbage collection may cause crash
40104Solution: validate that class members typeval is not null
40105
40106Patch 9.0.1866
40107Problem: Undo is synced after character find.
40108Solution: Set no_u_sync when calling gotchars_nop().
40109
40110Patch 9.0.1867
40111Problem: Vim9: access to interface statics possible
40112Solution: Prevent direct access to interface statics
40113
40114Patch 9.0.1868
40115Problem: test_crash still fails for circle ci
40116Solution: give even more time to complete
40117
40118Patch 9.0.1869
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010040119Problem: Coverity warns about uninitialized var
Christian Brabandt5872bcb2023-12-19 20:10:43 +010040120Solution: initialize it
40121
40122Patch 9.0.1870
K.Takata7b7672d2024-01-06 01:47:01 +090040123Problem: Vim9: disassemble does not show static
Christian Brabandt5872bcb2023-12-19 20:10:43 +010040124Solution: Show static flag
40125
40126Patch 9.0.1871
40127Problem: Github CI does not run i386 job
40128Solution: Add a i386 architecture
40129
40130Patch 9.0.1872
40131Problem: CI: test_crash() fails on CI
40132Solution: Skip test on BSD
40133
40134Patch 9.0.1873
40135Problem: heap-buffer-overflow in vim_regsub_both
40136Solution: Disallow exchanging windows when textlock is active
40137
40138Patch 9.0.1874
40139Problem: CI may fail in test_recover_empty_swap
40140Solution: Set directory option
40141
40142Patch 9.0.1875
40143Problem: Vim9: improve test for disassemble + static
40144Solution: Add a Vim9 script disassemble test for an interface with
40145 static members
40146
40147Patch 9.0.1876
40148Problem: Vim9: parsing commands with newlines wrong
40149Solution: Accept a '\n' for parsing lists and command arguments
40150
40151Patch 9.0.1877
40152Problem: missing test for patch 9.0.1873
40153Solution: add a test trying to exchange windows
40154
40155Patch 9.0.1878
40156Problem: tests running sh have problems
40157Solution: Check that dash is installed
40158
40159Patch 9.0.1879
40160Problem: Vim9: incorrect duplicate class member detection
40161Solution: Incorrect duplicate class member detection when variable names
40162 have the same prefix. Not able to access class member variables
40163 using an object. Fix coding style issues
40164
40165Patch 9.0.1880
40166Problem: Vim9: Need more tests for inheritance
40167Solution: Add access tests and fixes.
40168
40169Patch 9.0.1881
40170Problem: Test_crash fails on Mac
40171Solution: Skip test on Mac
40172
40173Patch 9.0.1882
40174Problem: Trailing white space in tests
40175Solution: Delete it
40176
40177Patch 9.0.1883
40178Problem: Vim9: Calling an interface method using a child object fails
40179Solution: Search methods of parent class
40180
40181Patch 9.0.1884
40182Problem: Wrong order of arguments for error messages
40183Solution: Reverse order or arguments for e_aptypes_is_null_nr_str
40184
40185Patch 9.0.1885
40186Problem: Vim9: no support for abstract methods
40187Solution: Add support for defining abstract methods in an abstract class
40188
40189Patch 9.0.1886
40190Problem: Various Typos
40191Solution: Fix Typos
40192
40193Patch 9.0.1887
40194Problem: Vim9: class members are accessible via object
40195Solution: Disable class member variable access using an object
40196
40197Patch 9.0.1888
40198Problem: Vim9: Problem trying to invoke class method
40199Solution: Lookup the class method insider other classes
40200
40201Patch 9.0.1889
40202Problem: Vim9 static tests fail
40203Solution: Fix tests, make CI happy ;)
40204
40205Patch 9.0.1890
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010040206Problem: Vim9: lookup code for class/object repeated
Christian Brabandt5872bcb2023-12-19 20:10:43 +010040207Solution: Refactor and make use of lookup functions
40208
40209Patch 9.0.1891
40210Problem: No runtime support for Mojo
40211Solution: Add basic filetype and syntax plugins
40212
40213Patch 9.0.1892
40214Problem: CI: no FreeBSD 14 support
40215Solution: Drop support for FreeBSD 12, add FreeBSD 14
40216
40217Patch 9.0.1893
40218Problem: CI: strptime test fails on BSD14
40219Solution: Skip the test
40220
40221Patch 9.0.1894
40222Problem: CI: trailing white space in tests
40223Solution: clean up the trailing white space
40224
40225Patch 9.0.1895
40226Problem: Vim9: finding method/member is inefficient
40227Solution: Use lookups
40228
40229Patch 9.0.1896
40230Problem: "below" virtual text doesn't work with 'rightleft'.
40231Solution: Use column from right border with 'rightleft'.
40232
40233Patch 9.0.1897
40234Problem: Vim9: confusing error with .= in compiled functions
40235Solution: Check in error condition, if .= was attempted and in that case
40236 give a different error message.
40237
40238Patch 9.0.1898
40239Problem: Vim9: restrict access to static vars and methods
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010040240Solution: Class members are accessible only from the class where they are
Christian Brabandt5872bcb2023-12-19 20:10:43 +010040241 defined.
40242
40243Patch 9.0.1899
40244Problem: potential buffer overflow in PBYTE macro
40245Solution: Check returned memline length
40246
40247Patch 9.0.1900
40248Problem: Configure script uses non-portable == comparison
40249Solution: Use the standard and portable "=" instead
40250
40251Patch 9.0.1901
40252Problem: win32: not correctly freeing environment
40253Solution: After we call GetEnvironmentStringsW, we should call
40254 FreeEnvironmentStringsW
40255
40256Patch 9.0.1902
40257Problem: Vim9: Coverity complains about dead code
40258Solution: Copy only object methods from the super class
40259 to a subclass when extending a class. Fix
40260 Coverity warning.
40261
40262Patch 9.0.1903
40263Problem: Github Actions fails because snd-dummy modules missing
40264 in current runner images
40265Solution: ignore modprobe error
40266
40267Patch 9.0.1904
40268Problem: Cirrus-CI fails because we have used all credits
40269Solution: Remove FreeBSD 13.1 and MacOS M1
40270
40271Patch 9.0.1905
40272Problem: FEAT_FLOAT no longer defined
40273Solution: Remove last existing FEAT_FLOAT ifdefs in
40274 message_test
40275
40276Patch 9.0.1906
40277Problem: Vim9: Interfaces should not support class methods and
40278 variables
40279Solution: Make sure interface follow the interface specification
40280
40281Patch 9.0.1907
40282Problem: No support for liquidsoap filetypes
40283Solution: Add liquidsoap filetype detection code
40284
40285Patch 9.0.1908
40286Problem: undefined behaviour upper/lower function ptrs
40287Solution: Fix UBSAN error in regexp and simplify upper/lowercase
40288 modifier code
40289
40290Patch 9.0.1909
40291Problem: Vim9: problem calling class method from other class
40292Solution: Fix this problem, fix readonly object access, update error
40293 messages.
40294
40295Patch 9.0.1910
40296Problem: Mac OS X: missing sound support on older versions
40297Solution: Check Macro MAC_OS_X_VERSION_MIN_REQUIRED
40298
40299Patch 9.0.1911
40300Problem: Vim9: segfault with null object and instanceof()
40301Solution: return early
40302
40303Patch 9.0.1912
40304Problem: Cirrus-CI running out of credits
40305Solution: disable Cirrus-CI for now
40306
40307Patch 9.0.1913
40308Problem: if_python: undefined behaviour for function pointers
40309Solution: Fix if_python undefined behavior for function pointer casts
40310
40311Patch 9.0.1914
40312Problem: Vim9: few issues when accessing object members
40313Solution: When calling an object method, check for null object.
40314 Accessing a Dict object member doesn't work.
40315
40316Patch 9.0.1915
40317Problem: r_CTRL-C works differently in visual mode
40318Solution: Make r_CTRL-C behave consistent in visual mode
40319 in terminal and Windows GUI
40320
40321Patch 9.0.1916
40322Problem: Crash when allocating large terminal screen
40323Solution: Don't allow values > 1000 for terminal
40324 screen columns and rows
40325
40326Patch 9.0.1917
40327Problem: undefined behaviour with python function pointer
40328Solution: correctly cast function pointers from void
40329
40330Patch 9.0.1918
40331Problem: No filetype detection for Authzed filetypes
40332Solution: Detect the *.zed file extension as authzed filetype
40333
40334Patch 9.0.1919
40335Problem: Wrong curswant when clicking on empty line or with vsplits.
40336Solution: Don't check for ScreenCols[] before the start of the window
40337 and handle empty line properly.
40338
40339Patch 9.0.1920
40340Problem: Vim9: cannot write public var in nested object
40341Solution: Write variable in nested read-only object reference.
40342 Also test write fails.
40343
40344Patch 9.0.1921
40345Problem: not possible to use the jumplist like a stack
40346Solution: Add the 'jumpoptions' setting to make the jumplist
40347 a stack.
40348
40349Patch 9.0.1922
40350Problem: LSP server request message is misinterpreted as a response message
40351Solution: Check that the message does not have the "message" field
40352
40353Patch 9.0.1923
40354Problem: curswant wrong on click with 've' and 'wrap' set
40355Solution: Add w_leftcol to mouse click column.
40356
40357Patch 9.0.1924
40358Problem: LSP server message still wrongly handled (after 9.0.1922)
40359Solution: Handle 'method' messages properly, don't discard them, add
40360 tests.
40361
40362Patch 9.0.1925
40363Problem: if_python: still undefined behaviour with function pointer
40364Solution: fix remaining problems
40365
40366Patch 9.0.1926
40367Problem: Vim9: not enough info in error message
40368Solution: Add class name, change member to variable, quote names
40369
40370Patch 9.0.1927
40371Problem: patch 1916 (fixed terminal size) not optimal
40372Solution: Add defines to make it easier changeable later
40373
40374Patch 9.0.1928
40375Problem: Vim9: constructor type checking bug
40376Solution: Fix class constructor regression
40377
40378Patch 9.0.1929
40379Problem: runtime tests fail with tiny vim
40380Solution: check for tiny vim, run runtime tests in CI
40381 even for tiny version
40382
40383Patch 9.0.1930
40384Problem: compiler warnings with clang-17
40385Solution: Fix function prototypes and function pointer
40386
40387Patch 9.0.1931
40388Problem: make test_compilers fails on ubuntu
40389Solution: set LC_ALL=C
40390
40391Patch 9.0.1932
40392Problem: Vim9: error when using null object constructor
40393Solution: Check for a null object only when calling an object method
40394
40395Patch 9.0.1933
40396Problem: Can change the type of a v: variable using if_lua.
40397Solution: Add additional handling of v: variables like :let.
40398
40399Patch 9.0.1934
40400Problem: bwipe fails after switching window from aucmd_win.
40401Solution: Decrement b_nwindows after switching back to aucmd_win.
40402
40403Patch 9.0.1935
40404Problem: Vim9: not consistent error messages
40405Solution: Make error messages more consistent. Use "variable" for
40406 (object/class) member
40407
40408Patch 9.0.1936
40409Problem: test: using wrong expected message in test_crypt
40410Solution: make use of single quotes
40411
40412Patch 9.0.1937
40413Problem: missing test for mouse click + 'virtedit'
40414Solution: Add test for clicking after eol with 'virtualedit' and wrapped
40415 line
40416
40417Patch 9.0.1938
40418Problem: multispace wrong when scrolling horizontally
40419Solution: Update position in "multispace" or "leadmultispace" also in
40420 skipped chars. Reorder conditions to be more consistent.
40421
40422Patch 9.0.1939
40423Problem: still a problem when processing LSP RPC requests
40424Solution: When processing async LSP RPC requests, compare sequence
40425 numbers only in response messages
40426
40427Patch 9.0.1940
40428Problem: wrong upstream version in libvterm README
40429Solution: correct version to 839
40430
40431Patch 9.0.1941
40432Problem: Memory leak detected (after 9.0.1928)
40433Solution: Free arg_objm in get_lambda_tv()
40434
40435Patch 9.0.1942
40436Problem: Vim9: execution stack invalidated with null object
40437Solution: Check for a null object before adjusting the execution stack
40438
40439Patch 9.0.1943
40440Problem: CI not run with clang-17
40441Solution: Update CI to use clang-17
40442
40443Patch 9.0.1944
40444Problem: Vim9: function instruction pointer invalidated
40445Solution: Use the funcref index instead of the instruction pointer
40446
40447Patch 9.0.1945
40448Problem: Vim9: missing support for ro-vars in interface
40449Solution: Support only read-only object variables in an interface,
40450 add additional checks when parsing class definitions.
40451
40452Patch 9.0.1946
40453Problem: filename expansion using ** in bash may fail
40454Solution: Try to enable the globstar setting
40455
40456Patch 9.0.1947
40457Problem: Bash Expansion test fails on Windows/MacOS
40458Solution: Disable Test_glob_extended_bash for now
40459
40460Patch 9.0.1948
40461Problem: Vim9: object variable "this." should only be used in
40462 constructor
40463Solution: Disallow to this in normal object methods (other than
40464 constructors)
40465
40466Patch 9.0.1949
40467Problem: Vim9: allows reserved keywords as members
40468Solution: Disallow reserved keywords, disallow
40469 duplicate object and class variables
40470
40471Patch 9.0.1950
40472Problem: Vim9: error codes spread out
40473Solution: group them together and reserve 100
40474 more for future use
40475
40476Patch 9.0.1951
40477Problem: Vim9: hard to debug vim9_class errors from CI
40478Solution: Include the line number in assert_xxx() calls. Include the
40479 entire error message in the tests. Fix the indentation in the
40480 test file. Add tags for new error codes.
40481
40482Patch 9.0.1952
40483Problem: Vim9: unused static field
40484Solution: remove it and simplify code
40485
40486Patch 9.0.1953
40487Problem: Misplaced comment in errors.h
40488Solution: Move it up
40489
40490Patch 9.0.1954
40491Problem: CI: change netrw label in labeller bot
40492Solution: Rename it to 'plugin-netrw'
40493
40494Patch 9.0.1955
40495Problem: Vim9: lockvar issues with objects/classes
40496Solution: fix `get_lhs()` object/class access and avoid `SEGV`,
40497 make error messages more accurate.
40498
40499Patch 9.0.1956
40500Problem: Custom cmdline completion skips original cmdline when pressing
40501 Ctrl-P at first match if completion function invokes glob().
40502Solution: Move orig_save into struct expand_T.
40503
40504Patch 9.0.1957
40505Problem: termcap options should change on keyprotocol setting
40506Solution: Apply termcap entries when 'keyprotocol' changes
40507
40508Patch 9.0.1958
40509Problem: cannot complete option values
40510Solution: Add completion functions for several options
40511
40512Patch 9.0.1959
40513Problem: Vim9: methods parameters and types are covariant
40514Solution: Support contra-variant type check for object method arguments
40515 (similar to Dart).
40516
40517Patch 9.0.1960
40518Problem: Make CI checks more strict
40519Solution: Add -Wstrict-prototypes -Wmissing-prototypes to CI,
40520 fix uncovered problems
40521
40522Patch 9.0.1961
40523Problem: Cmdline completion for 'listchars' fields doesn't include
40524 "multispace" and "leadmultispace" (after 9.0.1958).
40525Solution: Include "multispace" and "leadmultispace" in lcstab.
40526
40527Patch 9.0.1962
40528Problem: No support for writing extended attributes
40529Solution: Add extended attribute support for linux
40530
40531Patch 9.0.1963
40532Problem: Configure script may not detect xattr correctly
40533Solution: include sys/xattr instead of attr/xattr,
40534 make Test_write_with_xattr_support() test
40535 xattr feature correctly
40536
40537Patch 9.0.1964
40538Problem: xattr support fails to build on MacOS X
40539Solution: Disable xattr support for MacOS X
40540
40541Patch 9.0.1965
40542Problem: wrong auto/configure script
40543Solution: regenerate with autoconf 2.71
40544
40545Patch 9.0.1966
40546Problem: configure prints stray 6 when checking libruby
40547Solution: redirect stdout to dev/null
40548
40549Patch 9.0.1967
40550Problem: xattr errors not translated
40551Solution: mark for translation, consistently capitalize
40552 first letter.
40553
40554Patch 9.0.1968
40555Problem: cmdline completion should consider key option
40556Solution: Disable cmdline completion for key option, slightly
40557 refactor how P_NO_CMD_EXPAND is handled
40558
40559Patch 9.0.1969
40560Problem: buffer-overflow in trunc_string()
40561Solution: Add NULL at end of buffer
40562
40563Patch 9.0.1970
40564Problem: win32: high-dpi support can be improved
40565Solution: implement WM_GETDPISCALEDSIZE
40566
40567Patch 9.0.1971
40568Problem: macOS: FEAT_SOUND guard too restrictive
40569Solution: check for older macOS support properly
40570
40571Patch 9.0.1972
40572Problem: win32: missing '**' expansion test (after v9.0.1947)
40573Solution: Add test for MS-Windows
40574
40575Patch 9.0.1973
40576Problem: Clean up cmdline option completion code
40577Solution: Fix various minor problems
40578
40579Patch 9.0.1974
40580Problem: vim9: using contra-variant type-checks (after v9.0.1959)
40581Solution: Use invariant type checking instead
40582
40583Patch 9.0.1975
40584Problem: xattr: permission-denied errors on write
40585Solution: ignore those errors
40586
40587Patch 9.0.1976
40588Problem: style: space before tab in optionstr.c
40589Solution: remove the space
40590
40591Patch 9.0.1977
40592Problem: Vim9: object members can change type
40593Solution: Check type during assignment to object/class var
40594
40595Patch 9.0.1978
40596Problem: No filetype detection for just files
40597Solution: Detect just files (*.just, justfile, etc)
40598
40599Patch 9.0.1979
40600Problem: Cirrus CI disabled
40601Solution: re-enable Cirrus CI
40602
40603Patch 9.0.1980
40604Problem: win32: issues with stable python ABI
40605Solution: if_python3,win32: Fix Python3 stable ABI
40606
40607Patch 9.0.1981
40608Problem: Cannot scroll up in diff mode with many filler lines and zero
40609 'scrolloff'.
40610Solution: Invalidate w_cline_row before calling comp_botline().
40611
40612Patch 9.0.1982
40613Problem: vim9: clean up from v9.0.1955
40614Solution: Fix a few remaining issues, improve error message
40615
40616Patch 9.0.1983
40617Problem: Scrolling non-current window using mouse is inconsistent
40618 depending on 'scrollbind'/'scrolloff' and different from GUI
40619 vertical scrollbar when 'cursorbind' is set.
40620Solution: Don't move cursor in non-current windows for 'cursorbind' if
40621 cursor in the current window didn't move.
40622
40623Patch 9.0.1984
40624Problem: CI: Test_open_delay*() fails on FreeBSD 14
40625Solution: Skip it on BSD
40626
40627Patch 9.0.1985
40628Problem: CI: codecov is intrusive
40629Solution: disable codecov comments
40630
40631Patch 9.0.1986
40632Problem: Vim9: accepting type-annotations
40633Solution: Reject type annotations outside of declarations.
40634
40635Patch 9.0.1987
40636Problem: win32: font-size calculation can be improved
40637Solution: calculate font size before the window size
40638
40639Patch 9.0.1988
40640Problem: Vim9: potential use-after-free for class members
40641Solution: Use the class-related grow array for storing the
40642 member type instead of using a temporary type
40643 list grow array
40644
40645Patch 9.0.1989
40646Problem: Vim9: double error message given
h-east53753f62024-05-05 18:42:31 +020040647Solution: Only give second error message, if there
Christian Brabandt5872bcb2023-12-19 20:10:43 +010040648 wasn't one given before
40649
40650Patch 9.0.1990
40651Problem: strange error number
40652Solution: change error number,
40653 add doc tag for E1507
40654
40655Patch 9.0.1991
40656Problem: no cmdline completion for setting the font
40657Solution: enable it on Win32 and GTK builds
40658
40659Patch 9.0.1992
40660Problem: segfault in exmode when redrawing
40661Solution: skip gui_scroll when exmode_active
40662
40663Patch 9.0.1993
40664Problem: warning about unused function definition
40665Solution: add ifdefs
40666
40667Patch 9.0.1994
40668Problem: inconsistent feature description
40669Solution: delete old mentioned feature sets small and big
40670
40671Patch 9.0.1995
40672Problem: Invalid memory access when 'foldexpr' returns empty string.
40673Solution: Check for NUL.
40674
40675Patch 9.0.1996
40676Problem: Cannot build with python312
40677Solution: Define wrapper types and functions for python 3.12
40678
40679Patch 9.0.1997
40680Problem: Some unused code in move.c and string.c
40681Solution: Remove it
40682
40683Patch 9.0.1998
40684Problem: xxd: cannot reverse a bit dump
40685Solution: implement reversing the bit dump using -b -r
40686
40687Patch 9.0.1999
40688Problem: Vim9: some error messages can be improved
40689Solution: Mention the defining class for variable access error message
40690
40691Patch 9.0.2000
40692Problem: Vim9: use-after-free in deep call stack
h-east53753f62024-05-05 18:42:31 +020040693Solution: Get the object pointer from execution stack
Christian Brabandt5872bcb2023-12-19 20:10:43 +010040694
40695Patch 9.0.2001
40696Problem: Vim9: segfault with islocked()
40697Solution: Check that the lval pointer is not null for objects and
40698 class variables
40699
40700Patch 9.0.2002
40701Problem: Vim9: need cleanup of class related interface code
40702Solution: Remove the unused class variable and class method related code
40703 for interfaces.
40704
40705Patch 9.0.2003
40706Problem: xxd: compilation warning
40707Solution: initialize variables
40708
40709Patch 9.0.2004
40710Problem: Missing test file
40711Solution: git-add the file to the repo
40712
40713Patch 9.0.2005
40714Problem: partially revert patch v9.0.1997
40715Solution: add a comment, to make clear it's not used
40716
40717Patch 9.0.2006
40718Problem: Vim9: need more tests
40719Solution: add additional disassembly tests
40720
40721Patch 9.0.2007
40722Problem: Vim9: covariant parameter types allowed when assigning
40723 functions
40724Solution: Enforce invariant type check for arguments and return value
40725 when assigning a funcref
40726
40727Patch 9.0.2008
40728Problem: test: undofile left behind
40729Solution: cleanup undofile
40730
40731Patch 9.0.2009
40732Problem: cmdline-completion for comma-separated options wrong
40733Solution: Fix command-line expansions for options with filenames with
40734 commas
40735
40736Patch 9.0.2010
40737Problem: [security] use-after-free from buf_contents_changed()
40738Solution: block autocommands
40739
40740Patch 9.0.2011
40741Problem: INI files not detected
40742Solution: detect uppercase .INI as dosini files
40743
40744Patch 9.0.2012
40745Problem: Vim9: error message can be more accurate
40746Solution: Fix the error messages
40747
40748Patch 9.0.2013
40749Problem: Unicode tables outdated
40750Solution: Update Unicode tables to v15.1 (released 23.09.2023)
40751
40752Patch 9.0.2014
40753Problem: confusing ifdefs in if_<lang>.c
40754Solution: refactor ifndefs to #ifdefs
40755
40756Patch 9.0.2015
40757Problem: Vim9: does not handle islocked() from a method correctly
40758Solution: Handle islocked() builtin from a method.
40759
40760Patch 9.0.2016
40761Problem: Vim9: assignment operators don't work for class vars
40762Solution: implement it
40763
40764Patch 9.0.2017
40765Problem: linebreak applies for leading whitespace
40766Solution: only apply linebreak, once we have found non-breakat chars in
40767 the line
40768
40769Patch 9.0.2018
40770Problem: complete_info() returns wrong index
40771Solution: Make order of 'info' in completion_info consistent
40772
40773Patch 9.0.2019
40774Problem: Vim9: no support for funcrefs
40775Solution: Add support for object/class funcref members
40776
40777Patch 9.0.2020
40778Problem: Vim9: islocked() needs more work
40779Solution: rework islocked() and remove sync_root
40780 from get_lval()
40781
40782Patch 9.0.2021
40783Problem: Coverity complains about change in charset (after v9.0.2017)
40784Solution: check pointer t at index 0
40785
40786Patch 9.0.2022
40787Problem: When clicking in the middle of a TAB, getmousepos() returns
40788 the column of the next char instead of the TAB.
40789Solution: Break out of the loop when the vcol to find is inside current
40790 char. Fix invalid memory access when calling virtcol2col() on
40791 an empty line.
40792
40793Patch 9.0.2023
40794Problem: need more tests for :cq
40795Solution: Add more tests, including wraparound on linux
40796
40797Patch 9.0.2024
40798Problem: no filetype detection for Debian sources
40799Solution: Add new deb822sources filetype
40800
40801Patch 9.0.2025
40802Problem: no cmdline completion for ++opt args
40803Solution: Add cmdline completion for :e ++opt=arg and :terminal
40804 [++options]
40805
40806Patch 9.0.2026
40807Problem: win32: python3 dll loading can be improved
40808Solution: Load DLL from registry path
40809
40810Patch 9.0.2027
40811Problem: Vim9: no support for bitwise operators in lambda funcs
40812Solution: move "evaluate" assignment a bit up in order to decide
40813 to perform bitwise operations
40814
40815Patch 9.0.2028
40816Problem: confusing build dependencies
40817Solution: clean them up, make them parallelizable
40818
40819Patch 9.0.2029
40820Problem: Vim9: no support for partials using call()
40821Solution: Add support
40822
40823Patch 9.0.2030
40824Problem: no max callback recursion limit
40825Solution: bail out, if max call recursion for callback functions
40826 has been reached.
40827
40828Patch 9.0.2031
40829Problem: `TextChangedI` can trigger on entering Insert mode if there
40830 was previously a change not in Insert mode.
40831Solution: Make it trigger only when text is actually changed in Insert
40832 mode.
40833
40834Patch 9.0.2032
40835Problem: Cannot accurately get mouse clicking position when clicking on
40836 a TAB or with virtual text.
40837Solution: Add a "coladd" field to getmousepos() result.
40838
40839Patch 9.0.2033
40840Problem: gcc overflow-warning for f_resolve
40841Solution: use pointer p instead of pointer q[-1]
40842
40843Patch 9.0.2034
40844Problem: don't try to copy SMACK attribute, when none exist
40845Solution: return early if SMACK extended attributes do not exist or
40846 if they are not supported
40847
40848Patch 9.0.2035
40849Problem: [security] use-after-free with wildmenu
40850Solution: properly clean up the wildmenu when exiting
40851
40852Patch 9.0.2036
40853Problem: if_python: rework python3.12 build dependency
40854 (after 9.0.1996)
40855Solution: use PyTuple_Size instead of inlining the Py_SIZE
40856 into the Vim code base
40857
40858Patch 9.0.2037
40859Problem: A few remaining cmdline completion issues with C-E/Y
40860Solution: Fix cmdline completion fuzzy/Ctrl-E/Ctrl-Y/options when not
40861 used at the end
40862
40863Patch 9.0.2038
40864Problem: Vim9: object method funcref not cleaned up after use
40865Solution: Clean up type stack after using object method funcref,
K.Takata7b7672d2024-01-06 01:47:01 +090040866 remove now longer used ISN_DEFEROBJ instruction
Christian Brabandt5872bcb2023-12-19 20:10:43 +010040867
40868Patch 9.0.2039
40869Problem: completion shows current word after completion restart
40870Solution: remove the word being completed after completion restart
40871
40872Patch 9.0.2040
40873Problem: trim(): hard to use default mask
40874Solution: Use default 'mask' when it is v:none
40875
40876Patch 9.0.2041
40877Problem: trim(): hard to use default mask (partly revert v9.0.2040)
40878Solution: use default mask when it is empty
40879
40880Patch 9.0.2042
40881Problem: Test_cq_zero_exmode fails without channel feature
40882Solution: Make the test check the channel feature
40883
40884Patch 9.0.2043
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010040885Problem: Vim9: issue with funcref assignment and varargs
Christian Brabandt5872bcb2023-12-19 20:10:43 +010040886Solution: Fix funcref type checking
40887
40888Patch 9.0.2044
K.Takata7b7672d2024-01-06 01:47:01 +090040889Problem: Vim9: exceptions confuse deferred functions
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010040890Solution: save and restore exception state when calling deferred
Christian Brabandt5872bcb2023-12-19 20:10:43 +010040891 functions
40892
40893Patch 9.0.2045
40894Problem: tests: checking for swap files takes time
40895Solution: don't check for swap files when test has been skipped
40896
40897Patch 9.0.2046
40898Problem: win32,python: warning that MS_WIN64 got re-defined
40899Solution: Do not define MS_WIN64, as it is no longer used
40900
40901Patch 9.0.2047
40902Problem: perl: warning about inconsistent dll linkage
40903Solution: suppress warning
40904
40905Patch 9.0.2048
40906Problem: python: uninitialized warning
40907Solution: initialize 'minor' always
40908
40909Patch 9.0.2049
40910Problem: Vim9: not recognizing qualified class vars for infix ops
40911Solution: Drop the class type from the stack before generating the
40912 CLASSMEMBER instruction
40913
40914Patch 9.0.2050
40915Problem: Vim9: crash with deferred function call and exception
40916Solution: Save and restore exception state
40917
40918Patch 9.0.2051
40919Problem: Vim9: wrong error for non-existing object var
40920Solution: mention object or class depending on whether
40921 the var is an object or class variable.
40922
40923Patch 9.0.2052
40924Problem: win32: using deprecated wsock32 api
40925Solution: Use winsock2 (ws2_32) consistently
40926
40927Patch 9.0.2053
40928Problem: zig filetype detection test wrong
40929Solution: Remove .zir pattern, add new test for .zon pattern
40930
40931Patch 9.0.2054
40932Problem: win32: iscygpty needs update
40933Solution: Update iscygpty to the latest version, make use iswascii()
40934 API function
40935
40936Patch 9.0.2055
40937Problem: Vim9: non-consistent error messages
40938Solution: make error messages more consistent with common structure
40939
40940Patch 9.0.2056
40941Problem: no digraph for quadruple prime
40942Solution: add quadruple prime digraph using 4'
40943
40944Patch 9.0.2057
40945Problem: Vim9: no strict type checks for funcrefs varargs
40946Solution: Perform strict type checking when declaring funcrefs
40947 with vararg declaration, add tests
40948
40949Patch 9.0.2058
40950Problem: tests: avoid error when no swap files exist
40951Solution: use unlet! so that no error message is reported
40952 in case the variable does not exists
40953
40954Patch 9.0.2059
40955Problem: outstanding exceptions may be skipped
40956Solution: When restoring exception state, process remaining outstanding
40957 exceptions
40958
40959Patch 9.0.2060
40960Problem: *.{gn,gni} files are not recognized
40961Solution: Detect some as gn filetype (without adding an extra filetype)
40962
40963Patch 9.0.2061
40964Problem: not able to detect xkb filetypes
40965Solution: Detect files below /u/s/X11/xkb as xkb files (without adding
40966 an extra filetype)
40967
40968Patch 9.0.2062
40969Problem: Janet files are not recognised
40970Solution: Add filename and shebang detection (without
40971 adding an extra filetype plugin)
40972
40973Patch 9.0.2063
40974Problem: pacman hooks are detected as conf filetype
40975Solution: make it consistent to pacman.conf and detect those
40976 hooks as confini
40977
40978Patch 9.0.2064
40979Problem: cannot use buffer-number for errorformat
40980Solution: add support for parsing a buffer number using '%b' in
40981 'errorformat'
40982
40983Patch 9.0.2065
40984Problem: EXPAND flag set for filetype option
40985Solution: Remove P_EXPAND flag from the 'filetype' option
40986
40987Patch 9.0.2066
40988Problem: xxd: corrupting files when reversing bit dumps
40989Solution: handle reversing bit dump slightly differently
40990
40991Patch 9.0.2067
40992Problem: xxd: coloring was disabled on Cygwin
40993Solution: don't include WIN32
40994
40995Patch 9.0.2068
40996Problem: [security] overflow in :history
40997Solution: Check that value fits into int
40998
40999Patch 9.0.2069
41000Problem: possible to escape bracketed paste mode with Ctrl-C
41001Solution: Do not handle Ctrl-C specially when key_protocol
41002 is in use, makes bracketed paste mode more robust
41003
41004Patch 9.0.2070
41005Problem: [security] disallow setting env in restricted mode
41006Solution: Setting environment variables in restricted mode could
41007 potentially be used to execute shell commands. Disallow this.
41008
41009Patch 9.0.2071
41010Problem: objdump files not recognized
41011Solution: detect *.objdump files, add a filetype plugin
41012
41013Patch 9.0.2072
41014Problem: Vim9: no nr2str conversion in list-unpack
41015Solution: Generate 2STRING instruction to convert dict index to string
41016
41017Patch 9.0.2073
41018Problem: typo in quickfix.c comments
41019Solution: fix them
41020
41021Patch 9.0.2074
41022Problem: Completion menu may be wrong
41023Solution: Check for the original direction of the completion menu,
41024 add more tests, make it work with 'noselect'
41025
41026Patch 9.0.2075
41027Problem: TextChangedI may not always trigger
41028Solution: trigger it in more cases: for insert/
41029 append/change operations, and when
41030 opening a new line,
41031
41032Patch 9.0.2076
41033Problem: Vim9: No support for type aliases
41034Solution: Implement :type command
41035
41036Patch 9.0.2077
41037Problem: CI fails because of trailing whitespace in test
41038Solution: Remove it
41039
41040Patch 9.0.2078
41041Problem: several problems with type aliases
41042Solution: Check for more error conditions, add tests,
41043 fix issues
41044
41045Patch 9.0.2079
41046Problem: Not all Dart files detected
41047Solution: Add shebang filetype detection for Dart
41048
41049Patch 9.0.2080
41050Problem: vim9_script test too large
41051Solution: split vim9 type alias test into
41052 separate test file
41053
41054Patch 9.0.2081
41055Problem: With 'smoothscroll' set, "w_skipcol" is not reset when unsetting
41056 'wrap'. Resulting in incorrect calculation of the cursor position.
41057Solution: Reset "w_skipcol" when unsetting 'wrap'.
41058
41059Patch 9.0.2082
41060Problem: test_channel may fail because of IPv6 config issues
41061Solution: Catch and skip the test, if getaddrinfo() fails with
41062 'Address family not supported'
41063
41064Patch 9.0.2083
41065Problem: Perl: xsubpp may be in non-standard location
41066Solution: Add --with-subpp configure option
41067
41068Patch 9.0.2084
41069Problem: Vim9: abstract static methods are possible
41070Solution: Disallow abstract static methods
41071
41072Patch 9.0.2085
41073Problem: Vim9: abstract can be used in interface
41074Solution: Disallow the use of abstract in an interface
41075
41076Patch 9.0.2086
41077Problem: code cleanup for option callbacks needed
41078Solution: remove flag os_doskip, it's not necessary, as we can check,
41079 whether an error message was returned
41080
41081Patch 9.0.2087
41082Problem: build-failure in vim9class
41083Solution: reference correct error message,
41084 disable non-failing test
41085
41086Patch 9.0.2088
41087Problem: Vim9: still allows abstract static methods
41088 (after v9.0.2084, v9.0.2085 and v9.0.2087)
41089Solution: Disallow abstract static methods
41090
41091Patch 9.0.2089
41092Problem: sound_playfile() fails when using powershell
41093Solution: quote filename using doublequotes, don't escape filename,
41094 because it doesn't use the shell
41095
41096Patch 9.0.2090
41097Problem: complete_info() skips entries with 'noselect'
41098Solution: Check, if first entry is at original text state
41099
41100Patch 9.0.2091
41101Problem: Vim9: cannot convert list to string using +=
41102 (after 9.0.2072)
41103Solution: convert dict index to string later in compile_member()
41104
41105Patch 9.0.2092
41106Problem: tests: failure in test_arabic
41107Solution: adjust the test for the changed arabic keymap
41108
41109Patch 9.0.2093
41110Problem: Unsupported option causes rest of modeline test to be skipped.
41111Solution: Revert the change from patch 8.2.1432.
41112
41113Patch 9.0.2094
41114Problem: Vim9: need more assignment tests
41115Solution: Add test for using different types in assignment, function
41116 arguments and return values
41117
41118Patch 9.0.2095
41119Problem: statusline may look different than expected
41120Solution: do not check for highlighting of stl and stlnc characters
41121
41122Patch 9.0.2096
41123Problem: Vim9: confusing usage of private
41124Solution: clarify and use protected keyword instead
41125
41126Patch 9.0.2097
41127Problem: No support for cypher files
41128Solution: Add cypher filetype detection
41129
41130Patch 9.0.2098
41131Problem: No filetype support for xcompose files
41132Solution: Add filetype detection
41133
41134Patch 9.0.2099
41135Problem: Terminal control codes¹ are sent even when silent
41136 mode is on, causing the terminal to clear up
41137Solution: Block any terminal codes when silent mode is on
41138
41139Patch 9.0.2100
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010041140Problem: CI: test_Termdebug fails
Christian Brabandt5872bcb2023-12-19 20:10:43 +010041141Solution: only test for a changed winlayout, if the window
41142 width actually changed
41143
41144Patch 9.0.2101
41145Problem: CI: test_termdebug may still fail
41146Solution: use term_wait() to make it more robust
41147
41148Patch 9.0.2102
41149Problem: matchparen highlight not cleared in completion mode
41150Solution: Clear matchparen highlighting in completion mode
41151
41152Patch 9.0.2103
41153Problem: recursive callback may cause issues on some archs
41154Solution: Decrease the limit drastically to 20
41155
41156Patch 9.0.2104
41157Problem: wast filetype should be replaced by wat filetype
41158Solution: start using the official wat filetype name
41159
41160Patch 9.0.2105
41161Problem: Skipcol is not reset when topline changed scrolling cursor to top
41162Solution: reset skipcol
41163
41164Patch 9.0.2106
41165Problem: [security]: Use-after-free in win_close()
41166Solution: Check window is valid, before accessing it
41167
41168Patch 9.0.2107
41169Problem: [security]: FPE in adjust_plines_for_skipcol
41170Solution: don't divide by zero, return zero
41171
41172Patch 9.0.2108
41173Problem: [security]: overflow with count for :s command
41174Solution: Abort the :s command if the count is too large
41175
41176Patch 9.0.2109
41177Problem: [security]: overflow in nv_z_get_count
41178Solution: break out, if count is too large
41179
41180Patch 9.0.2110
41181Problem: [security]: overflow in ex address parsing
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010041182Solution: Verify that lnum is positive, before subtracting from
Christian Brabandt5872bcb2023-12-19 20:10:43 +010041183 LONG_MAX
41184
41185Patch 9.0.2111
41186Problem: [security]: overflow in get_number
41187Solution: Return 0 when the count gets too large
41188
41189Patch 9.0.2112
41190Problem: [security]: overflow in shift_line
41191Solution: allow a max indent of INT_MAX
41192
41193Patch 9.0.2113
41194Problem: Coverity warns for another overflow in shift_line()
41195Solution: Test for INT_MAX after the if condition, cast integer values
41196 to (long long) before multiplying.
41197
41198Patch 9.0.2114
41199Problem: overflow detection not accurate when adding digits
41200Solution: Use a helper function
41201
41202Patch 9.0.2115
41203Problem: crash when callback function aborts because of recursiveness
41204Solution: correctly initialize rettv
41205
41206Patch 9.0.2116
41207Problem: No test for defining sign without attribute
41208Solution: Add test for defining sign without attributes
41209
41210Patch 9.0.2117
41211Problem: [security] use-after-free in qf_free_items
41212Solution: only access qfpnext, if it hasn't been freed
41213
41214Patch 9.0.2118
41215Problem: [security]: avoid double-free
41216Solution: Only fee plain_font, when it is not the same as bold_font
41217
41218Patch 9.0.2119
41219Problem: remove dead-condition in ex_class()
41220Solution: remove the extra condition
41221
41222Patch 9.0.2120
41223Problem: un-used assignment in do_source_buffer_init
41224Solution: Remove it
41225
41226Patch 9.0.2121
41227Problem: [security]: use-after-free in ex_substitute
41228Solution: always allocate memory
41229
41230Patch 9.0.2122
41231Problem: [security]: prevent overflow in indenting
41232Solution: use long long and remove cast to (int)
41233
41234Patch 9.0.2123
41235Problem: Problem with initializing the length of range() lists
41236Solution: Set length explicitly when it shouldn't contain any items
41237
41238Patch 9.0.2124
41239Problem: INT overflow logic can be simplified
41240Solution: introduce trim_to_int() function
41241
41242Patch 9.0.2125
41243Problem: File info disappears immediately when 'cmdheight' has just
41244 decreased due to switching tabpage and 'shortmess' doesn't
41245 contain 'o' or 'O'.
41246Solution: Make sure msg_row isn't smaller than cmdline_row.
41247
41248Patch 9.0.2126
41249Problem: Unused assignments when checking the value of 'listchars'.
41250Solution: Loop only once when just checking the value. Add a test to
41251 check that this change doesn't cause double-free.
41252
41253Patch 9.0.2127
41254Problem: translation Makefiles can be improved
41255Solution: Modified and extended po-related Makefiles and
41256 related files
41257
41258Patch 9.0.2128
41259Problem: No runtime files for SWIG filetypes
41260Solution: Add syntax and filetype plugins for SWIG (Simplified Wrapper
41261 Interface Generator) description files.
41262
41263Patch 9.0.2129
41264Problem: [security]: use-after-free in call_dfunc()
41265Solution: Refresh dfunc pointer
41266
41267Patch 9.0.2130
41268Problem: some errors with translation Makefiles
41269Solution: fix issues
41270
41271Patch 9.0.2131
41272Problem: not all nushell files detected
41273Solution: use *.nu to detect nushell files
41274
41275Patch 9.0.2132
41276Problem: Duplicate Netbeans Error Message
41277Solution: Remove duplicate message
41278
41279Patch 9.0.2133
41280Problem: Cannot detect overstrike mode in Cmdline mode
41281Solution: Make mode() return "cr" for overstrike
41282
41283Patch 9.0.2134
41284Problem: ml_get error when scrolling after delete
41285Solution: mark topline to be validated in main_loop
41286 if it is larger than current buffers line
41287 count
41288
41289Patch 9.0.2135
41290Problem: No test for mode() when executing Ex commands
41291Solution: Add some test cases and simplify several other test cases.
41292 Also add a few more test cases for ModeChanged.
41293
41294Patch 9.0.2136
41295Problem: MSVC errorformat can be improved
41296Solution: parse error type and column number in MSVC errorformat
41297
41298Patch 9.0.2137
41299Problem: Can't detect angular & mustache filetypes
41300Solution: Detect *.mustache as Mustache filetype;
41301 detect *.component.html as html.angular filetype
41302
41303Patch 9.0.2138
41304Problem: Overflow logic requires long long
41305Solution: Define vimlong_T data type to make life easier
41306 for porters
41307
41308Patch 9.0.2139
41309Problem: html.angular ft is problematic
41310Solution: partly revert v9.0.2137
41311
41312Patch 9.0.2140
41313Problem: [security]: use-after-free in win-enter
41314Solution: validate window pointer before calling win_enter()
41315
41316Patch 9.0.2141
41317Problem: [security]: buffer-overflow in suggest_trie_walk
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010041318Solution: Check n before using it as index into bytes array
Christian Brabandt5872bcb2023-12-19 20:10:43 +010041319
41320Patch 9.0.2142
41321Problem: [security]: stack-buffer-overflow in option callback functions
41322Solution: pass size of errbuf down the call stack, use snprintf()
41323 instead of sprintf()
41324
41325Patch 9.0.2143
41326Problem: [security]: buffer-overflow in ex_substitute
41327Solution: clear memory after allocating
41328
41329Patch 9.0.2144
41330Problem: Text properties causes wrong line wrapping to be drawn.
41331Solution: Find the index of the last text property that inserts text.
41332
41333Patch 9.0.2145
41334Problem: Wrong scrolling in Insert mode with 'smoothscroll' at the
41335 bottom of the window.
41336Solution: Don't use set_topline() when 'smoothscroll' is set.
41337
41338Patch 9.0.2146
41339Problem: text-property without type errors when joining
41340Solution: count all text-properties, with or without type
41341 before joining lines
41342
41343Patch 9.0.2147
41344Problem: Type check tests fail without the channel feature
41345Solution: only run tests, when Vim was build with +channel
41346
41347Patch 9.0.2148
41348Problem: Vim does not detect pacman.log file
41349Solution: Detect pacmanlogs and add syntax highlighting
41350
41351Patch 9.0.2149
41352Problem: [security]: use-after-free in exec_instructions()
41353Solution: get tv pointer again
41354
41355Patch 9.0.2150
41356Problem: Using int for errbuflen in option funcs
41357Solution: Use size_t for errbuflen in string option functions
41358
41359Patch 9.0.2151
41360Problem: 'breakindent' is not drawn after diff filler lines.
41361Solution: Correct check for whether 'breakindent' should be drawn.
41362
41363Patch 9.0.2152
41364Problem: Using type unknown for List/Dict containers
41365Solution: Use 'any' instead
41366
41367Patch 9.0.2153
41368Problem: no support to build on OpenVMS
41369Solution: Add OpenVMS X86_64 platform port
41370
41371Patch 9.0.2154
41372Problem: The options[] array is not sorted alphabetically.
41373Solution: Sort it alphabetically. Add a test. Avoid unnecessary loop
41374 iterations in findoption().
41375
41376Patch 9.0.2155
41377Problem: Vim9: type not kept when assigning vars
41378Solution: When assigning a List or a Dict value to a variable of type
41379 'any', keep the type
41380
41381Patch 9.0.2156
41382Problem: Vim9: can use typealias in an assignment
41383Solution: Generate errors when class/typealias involved in the rhs of an
41384 assignment
41385
41386Patch 9.0.2157
41387Problem: Vim9: incorrectly parses :def func definitions
41388Solution: check for more context when parsing function args
41389
41390Patch 9.0.2158
41391Problem: [security]: use-after-free in check_argument_type
41392Solution: Reset function type pointer when freeing the function type
41393 list
41394
41395Patch 9.0.2159
41396Problem: screenpos() may crash with neg. column
41397Solution: validate and correct column
41398
41399Patch 9.0.2160
41400Problem: instanceof() should use varargs as second arg
41401Solution: Modify `instanceof()` to use varargs instead of list
41402
41403Patch 9.0.2161
41404Problem: Vim9: not able to use imported interfaces and classes
Yegappan Lakshmanan49cdd622023-12-24 11:01:23 +010041405Solution: Detect imported class/interfaces names correctly
Christian Brabandt5872bcb2023-12-19 20:10:43 +010041406
41407Patch 9.0.2162
41408Problem: Vim9: type documentation out-dated
41409Solution: Update documentation, fix typo in type alias
41410 definition
41411
41412Patch 9.0.2163
41413Problem: Vim9: type can be assigned to list/dict
41414Solution: Prevent assigning a `type` to a `list` or `dict`
41415
41416Patch 9.0.2164
41417Problem: Vim9: can use type a func arg/return value
41418Solution: Check if using type as function argument or return value
41419
41420Patch 9.0.2165
41421Problem: Vim9: can simplify arg type checking code
41422Solution: In `f_argcheck` array use `arg_any`, instead of NULL
41423
41424Patch 9.0.2166
41425Problem: Memory leak in Configure Script when checking GTK
41426Solution: Free the allocated memory
41427
41428Patch 9.0.2167
41429Problem: Vim9-script object/class variable declarations use syntax
41430 that is inconsistent with the rest of the language.
41431Solution: Use :var to declare object and class variables.
41432
41433Patch 9.0.2168
41434Problem: Moving tabpages on :drop may cause an endless loop
41435Solution: Disallow moving tabpages on :drop when cleaning up the arglist
41436 first
41437
41438Patch 9.0.2169
41439Problem: Vim9: builtin funcs may accept a non-value
41440Solution: Restrict builtin functions that accept `type`
41441
41442Patch 9.0.2170
41443Problem: Vim9: no support for const/final class/objects vars
41444Solution: Support final and const object and class variables
41445
41446Patch 9.0.2171
41447Problem: The options[] array is still not sorted alphabetically
41448 (after: v9.0.2154), causing test failures
41449Solution: Sort the remaining items
41450
41451Patch 9.0.2172
41452Problem: Vim9: compiling :defer may fail
41453Solution: compile defer, when ctx_skip is not SKIP_YES
41454
41455Patch 9.0.2173
41456Problem: Vim9: Vim crashes when compiling a for statement with a
41457 non-existing type
41458Solution: Error out when lhs_type is not null
41459
41460Patch 9.0.2174
41461Problem: Vim9: segfault when assigning to type
41462Solution: do not clear typeval, add missing patch number
41463
41464Patch 9.0.2175
41465Problem: Compiler warning for uninitialized var
41466Solution: initialize variable to NULL
Yegappan Lakshmanan7c948642023-09-24 14:07:03 -070041467
Christian Brabandt0ede5e32024-01-01 18:56:52 +010041468Patch 9.0.2176
41469Problem: Compile error with Motif UI + mouse support (after v9.0.1262)
41470Solution: Use correct oldval option pointer
41471
41472Patch 9.0.2177
41473Problem: Wrong cursor position when dragging out of window.
41474Solution: Don't use ScreenCols[] when mouse is not in current window.
41475
41476Patch 9.0.2178
41477Problem: reg_executing() returns wrong result in :normal with range
41478 when 'showcmd' is set (after 8.2.4705).
41479Solution: Reset "pending_end_reg_executing" when executing a register.
41480
41481Patch 9.0.2179
41482Problem: no filetype detection for execline scripts
41483Solution: Add filetype detection for execline
41484
41485Patch 9.0.2180
41486Problem: POSIX function name in exarg struct causes issues
41487 on OpenVMS
41488Solution: Rename getline member in exarg struct to ea_getline,
41489 remove isinf() workaround for VMS
41490
41491Patch 9.0.2181
41492Problem: Vim9: missing error messages
41493Solution: Add one more error message
41494
41495Patch 9.0.2182
41496Problem: Vim9: need a way to reserve future extension
41497Solution: reserve double underscore prefix for future use
41498 (Yegappan Lakshmanan)
41499
41500Patch 9.0.2183
41501Problem: Maximum callback depth is not configurable.
41502Solution: Revert patch 9.0.2103. Set 'maxfuncdepth' in test.
41503 (zeertzjq)
41504
41505Patch 9.0.2184
41506Problem: Vim9: inconsistent :type/:class messages
41507Solution: Update the Messages (Ernie Rael)
41508
41509Patch 9.0.2185
41510Problem: Coverity complains about not checking return value
41511 in compare_isn_not_values (after 9.0.2184)
41512Solution: cast return value to "(void)" to make intention clear
41513
41514Patch 9.0.2186
41515Problem: LTCG compile error on Win/ARM64 for `write_chars()`
41516Solution: Explicitly initialise the storage to use data rather than BSS
41517 (Saleem Abdulrasool)
41518
41519Patch 9.0.2187
41520Problem: Visual selection isn't drawn with 'breakindent' when the line
41521 doesn't fit in the window (Jaehwang Jung)
41522Solution: Adjust wlv->fromcol also for 'breakindent' (zeertzjq)
41523
41524Patch 9.0.2188
41525Problem: cursor wrong after { in single line buffer
41526 (Edwin Chan)
41527Solution: do not place the cursor at the end for a single
41528 line buffer when moving backwards (Gary Johnson)
41529
41530Patch 9.0.2189
41531Problem: Wrong display when 'breakindentopt' contains "sbr" and
41532 'showbreak' and 'nobreakindent' are set.
41533Solution: Always reset wlv->need_showbreak regardless of the values of
41534 'breakindent' and 'showbreak', as they aren't checked when
41535 setting wlv->need_showbreak (zeertzjq)
41536
Christian Brabandtb4ddc6c2024-01-02 16:51:11 +010041537Patch 9.0.2190
41538Problem: proto files need update
41539Solution: re-generate them
41540
Yegappan Lakshmanan15935e72024-02-20 10:48:22 -080041541==============================================================================
41542VERSION 9.2 *version-9.2* *version9.2* *vim-9.2*
41543
41544This section is about improvements made between version 9.1 and 9.2
41545and is a work in progress.
41546
glepnira218cc62024-06-03 19:32:39 +020041547Vim9 script ~
Yegappan Lakshmanand3eae7b2024-03-03 16:26:58 +010041548-----------
41549Add support for internal builtin functions with vim9 objects, see
41550|builtin-object-methods|
41551
Yegappan Lakshmanan3164cf82024-03-28 10:36:42 +010041552Enum support for Vim9 script |:enum|
41553
Yegappan Lakshmanan7e898002025-02-11 22:07:05 +010041554Support for protected _new() method
41555
RestorerZdbe45be2025-07-08 23:00:13 +020041556Support for compiling all the methods in a Vim9 class using |:defcompile|.
41557
Yegappan Lakshmanan6fa62082025-04-03 21:26:34 +020041558Add support for object<{type}> as variable data type |vim9-types|
41559
RestorerZdbe45be2025-07-08 23:00:13 +020041560Support for the |Tuple| data type in Vim script and Vim9 script.
41561
Yee Cheng Chin9943d472025-03-26 19:41:02 +010041562Diff mode ~
41563---------
41564Include the "linematch" algorithm for the 'diffopt' setting. This aligns
41565changes between buffers on similar lines improving the diff highlighting in
41566Vim
41567
41568Improve the diff highlighting for changes within a line. Configurable using
41569the "inline" sub option value for the 'diffopt' setting, with "inline:simple"
41570being added to the default "diffopt" value (but this does not change how diff
41571mode works).
RestorerZdbe45be2025-07-08 23:00:13 +020041572
41573Completion~
41574----------
41575- New Insert-mode completion: |i_CTRL-X_CTRL-R| to complete words from
41576 registers.
41577- Completion in search contexts using |/|, |?|, |:g|, |:v| and |:vimgrep|
41578 commands using 'wildchar'
41579- ":filetype" command completion and the "filetypecmd" completion type for
41580 |getcompletion()| have been included.
41581- Support for command-line completion of 'keymap' option values.
41582- Support for |fuzzy-matching| during |ins-completion| with the "fuzzy"
41583 values of the 'completeopt' setting.
41584- allow to complete shell commands and files using the new shellcmdline
41585 completion type using |:command-complete| and |getcmdcomplpat()|
41586- New option value for 'wildmode':
41587 "noselect" - do not auto select an entry in the wildmenu
41588 "exacttext" - show exact matches in wildmenu with search
41589 completion
41590- New flags for 'complete':
41591 "F{func}" - complete using given function
41592 "F" - complete using 'completefunc'
41593 "o" - complete using 'omnifunc'
41594- New option value for 'completeopt':
41595 "nosort" - do not sort completion results
41596 "preinsert" - highlight to be inserted values
41597 "nearest" - sort completion results by distance to cursor
41598
41599Platform specific~
41600-----------------
41601Support for Wayland UI and support for the Wayland clipboard has been added.
41602
41603Support for the XDG Desktop Specification |xdg-base-dir| has been added and
41604the environment variable |$MYVIMDIR| is set to the users personal runtime
41605directory ($HOME/.vim or $HOME/.config/vim on Linux, $HOME/vimfiles on
41606Windows).
41607
41608Python3 support in OpenVMS is now available.
41609
41610The Win32 GUI comes with better toolbar icons.
glepnira218cc62024-06-03 19:32:39 +020041611 *new-other-9.2*
41612Other new features ~
Yegappan Lakshmanan15935e72024-02-20 10:48:22 -080041613------------------
RestorerZdbe45be2025-07-08 23:00:13 +020041614Support for Super key mappings in GTK using <D-Key>.
Yegappan Lakshmanan15935e72024-02-20 10:48:22 -080041615
RestorerZdbe45be2025-07-08 23:00:13 +020041616The new packages |package-comment|, |package-nohlsearch|, |package-hlyank| and
41617|help-TOC| are included.
Yegappan Lakshmanan15935e72024-02-20 10:48:22 -080041618
RestorerZdbe45be2025-07-08 23:00:13 +020041619An interactive tutor plugin has been included |vim-tutor-mode| and can be
41620started via |:Tutor|.
glepnira218cc62024-06-03 19:32:39 +020041621
Christ van Willegence0ef912024-06-20 23:41:59 +020041622Support for translating messages in Vim script plugins using the |gettext()|
RestorerZdbe45be2025-07-08 23:00:13 +020041623and |bindtextdomain()| functions was included.
Christ van Willegence0ef912024-06-20 23:41:59 +020041624
Hirohito Higashi195fcc92025-02-01 10:26:58 +010041625Support highlighting the matched text and the completion kind for insert-mode
glepnirf400a0c2025-01-23 19:55:14 +010041626completion and command-line completion in |ins-completion-menu|, see
RestorerZdbe45be2025-07-08 23:00:13 +020041627|complete-items|.
glepnirf400a0c2025-01-23 19:55:14 +010041628
RestorerZdbe45be2025-07-08 23:00:13 +020041629A new vertical |tabpanel| window has been included which is a vertical
41630'tabline'.
Yegappan Lakshmanan9cb865e2025-03-23 16:42:16 +010041631
RestorerZdbe45be2025-07-08 23:00:13 +020041632The |dist#vim9#Launch()| and |dist#vim9#Open()| functions have been added to
41633the |vim-script-library| and decoupled from |netrw|.
Naruhiko Nishinobe5bd4d2025-05-14 21:20:28 +020041634
RestorerZdbe45be2025-07-08 23:00:13 +020041635The new digraph "APPROACHES THE LIMIT" using ".=" has been added
glepnir05460682025-05-26 18:23:27 +020041636
Yee Cheng China7b81202025-02-23 09:32:47 +010041637 *changed-9.2*
41638Changed~
41639-------
41640
41641Default values: ~
Hirohito Higashi195fcc92025-02-01 10:26:58 +010041642- the default 'history' option value has been increased to 200 and removed
41643 from |defaults.vim|
41644- the default 'backspace' option for Vim has been set to "indent,eol,start"
41645 and removed from |defaults.vim|
41646- the default fontsize for the GTK builds of Vim (Windows and Unix) has been
zeertzjq98800972025-04-18 10:57:33 +020041647 increased to 12pt to accommodate modern high-dpi monitors
Hirohito Higashi195fcc92025-02-01 10:26:58 +010041648- the default value of the 'keyprotocol' option has been updated and support
41649 for the ghostty terminal emulator (using kitty protocol) has been added
RestorerZdbe45be2025-07-08 23:00:13 +020041650- Improved visual highlighting |hl-Visual|
Hirohito Higashi195fcc92025-02-01 10:26:58 +010041651
Yee Cheng China7b81202025-02-23 09:32:47 +010041652Completion: ~
LemonBoya20bf692024-07-11 22:35:53 +020041653- allow to complete directories from 'cdpath' for |:cd| and similar commands,
41654 add the "cd_in_path" completion type for e.g. |:command-complete| and
41655 |getcompletion()|
glepnir508e7852024-07-25 21:39:08 +020041656- allow to specify additional attributes in the completion menu (allows to
41657 mark deprecated attributes from LSP server) |complete-items|
Yee Cheng China7b81202025-02-23 09:32:47 +010041658- the completed word and completion type are provided when handling the
41659 |CompleteDone| autocommand in the |v:event| dictionary
41660- |complete_info()| returns the list of matches shown in the poppu menu via
41661 the "matches" key
glepnirb8762042025-04-07 20:57:14 +020041662- handle multi-line completion items as expected
Yee Cheng China7b81202025-02-23 09:32:47 +010041663- improved commandline completion for the |:hi| command
Girish Palya0ac1eb32025-04-16 20:18:33 +020041664- allow to limit matches for the 'complete' sources by using the
41665 "{flag}^<limit>" notation
Girish Palyadc314052025-05-08 23:28:52 +020041666- 'smartcase' applies to completion filtering
Yee Cheng China7b81202025-02-23 09:32:47 +010041667
41668Options: ~
41669- the default for 'commentstring' contains whitespace padding to have
41670 automatic comments look nicer |comment-install|
41671- 'completeopt' is now a |global-local| option.
Yee Cheng China7b81202025-02-23 09:32:47 +010041672- add 'cpoptions' flag "z" |cpo-z|, to disable some (traditional) vi
41673 behaviour/inconsistency (see |d-special| and |cw|).
glepnir4ade6682025-07-03 20:41:23 +020041674- add 'cpoptions' flag "~" |cpo-~| to disable resolving symlinks on |:cd|
41675 commands
glepnir7b9eb632025-05-16 19:49:23 +020041676- new option values for 'fillchars':
41677 "trunc" - configure truncation indicator, 'pummaxwidth'
41678 "truncrl" - like "trunc" but in 'rl' mode, 'pummaxwidth'
41679 "tpl_vert" - separators for the 'tabpanel'
41680- 'grepformat' is now a |global-local| option.
41681- adjust for GTK3 dropping some mouse cursors 'mouseshape'
41682- 'nrformats' accepts the new "blank" suboption, to determine a signed or
41683 unsigned number based on whitespace in front of a minus sign.
Yee Cheng China7b81202025-02-23 09:32:47 +010041684- 'rulerformat' now supports the |stl-%!| item
41685- use 'smoothscroll' logic for CTRL-F / CTRL-B for pagewise scrolling
41686 and CTRL-D / CTRL-U for half-pagewise scrolling
41687
41688Ex commands: ~
41689- allow to specify a priority when defining a new sign |:sign-define|
41690- |:bwipe| also wipes jumplist and tagstack data
41691- moving in the buffer list using |:bnext| and similar commands, behaves as
41692 documented and skips help buffers (if not run from a help buffer, else
41693 moves to the next/previous help buffer).
Gregory Anders3b59be42024-08-15 22:04:22 +020041694- |:keeppatterns| preserves the last substitute pattern when used with |:s|
Yee Cheng China7b81202025-02-23 09:32:47 +010041695
41696Functions: ~
41697- provide information about function arguments using the get(func, "arity")
41698 function |get()-func|
Jeremy Fleischman27fbf6e2024-10-14 20:46:27 +020041699- |setqflist()| and |setloclist()| can optionally try to preserve the current
41700 selection in the quickfix list with the "u" action.
Yee Cheng China7b81202025-02-23 09:32:47 +010041701- allow to pass local Vim script variables to python interpreter |py3eval()|
41702- |getwininfo()| now also returns the "leftcol" property for a window
41703- |v:stacktrace| The stack trace of the exception most recently caught and
41704 not finished
41705- Add the optional {opts} |Dict| argument to |getchar()| to control: cursor
41706 behaviour, return type and whether or not to simplify the returned key
41707
41708Others: ~
41709- the regex engines match correctly case-insensitive multi-byte characters
41710 (and apply proper case folding)
Christian Brabandt2abec432024-10-27 21:33:09 +010041711- the putty terminal is detected using an |TermResponse| autocommand in
41712 |defaults.vim| and Vim switches to a dark background
Paul Desmond Parker17c71da2024-11-03 20:47:53 +010041713- improve the |vimtutor| and add a second chapter for more advanced tips
glepnir8a635292025-03-21 18:12:32 +010041714- |CTRL-C| always closes the active |popup-window|.
Drew Vogel51995672025-05-28 21:13:52 +020041715- the configure script will favor using GTK3 over GTK2 when auto-detecting the
41716 gui toolkit
phaniumcb279922025-06-16 20:19:15 +020041717- |gv| works in operator pending mode and does not abort
Luuk van Baalb9f5b952024-03-26 18:46:45 +010041718
glepnira218cc62024-06-03 19:32:39 +020041719 *added-9.2*
41720Added ~
Yegappan Lakshmanan15935e72024-02-20 10:48:22 -080041721-----
Yegappan Lakshmanan15935e72024-02-20 10:48:22 -080041722Various syntax, indent and other plugins were added.
41723
41724Functions: ~
41725
Yegappan Lakshmanan810785c2024-12-30 10:29:44 +010041726|base64_decode()| decode a base64 string into a blob
41727|base64_encode()| encode a blob into a base64 string
Yegappan Lakshmanana11b23c2025-01-16 19:16:42 +010041728|blob2str()| convert a blob into a List of strings
Christ van Willegence0ef912024-06-20 23:41:59 +020041729|bindtextdomain()| set message lookup translation base path
Girish Palya92f68e22025-04-21 11:12:41 +020041730|cmdcomplete_info()| get current cmdline completion info
glepnirbcd59952025-04-24 21:48:35 +020041731|complete_match()| get completion and trigger info
Yegappan Lakshmanan15935e72024-02-20 10:48:22 -080041732|diff()| diff two Lists of strings
Shougo Matsushita60c87432024-06-03 22:59:27 +020041733|filecopy()| copy a file {from} to {to}
Yegappan Lakshmanan15935e72024-02-20 10:48:22 -080041734|foreach()| apply function to List items
Yegappan Lakshmanan810785c2024-12-30 10:29:44 +010041735|getcellpixels()| get List of terminal cell pixel size
Ruslan Russkikh0407d622024-10-08 22:21:05 +020041736|getcmdcomplpat()| Shell command line completion
h-east738ebfe2024-10-05 16:56:47 +020041737|getcmdprompt()| get prompt for input()/confirm()
Hirohito Higashi96b3ef22025-07-05 15:31:23 +020041738|getcompletiontype()| get command-line completion type
Shougo Matsushita3f905ab2024-02-21 00:02:45 +010041739|getregion()| get a region of text from a buffer
Shougo Matsushitab4757e62024-05-07 20:49:24 +020041740|getregionpos()| get a list of positions for a region
ichizok663d18d2025-01-02 18:06:00 +010041741|getstacktrace()| get current stack trace of Vim scripts
Ernie Raelc8e158b2024-07-09 18:39:52 +020041742|id()| get unique identifier for a Dict, List, Object,
41743 Channel or Blob variable
Yegappan Lakshmanan9cb865e2025-03-23 16:42:16 +010041744|list2tuple()| turn a List of items into a Tuple
Shougo Matsushita60c87432024-06-03 22:59:27 +020041745|matchbufline()| all the matches of a pattern in a buffer
41746|matchstrlist()| all the matches of a pattern in a List of strings
Christ van Willegenc0786752025-02-01 15:42:16 +010041747|ngettext()| lookup single/plural message translation
Christian Brabandtfbc37f12024-06-18 20:50:58 +020041748|popup_setbuf()| switch to a different buffer in a popup
Yegappan Lakshmanana11b23c2025-01-16 19:16:42 +010041749|str2blob()| convert a List of strings into a blob
Yegappan Lakshmanan9cb865e2025-03-23 16:42:16 +010041750|test_null_tuple()| return a null tuple
41751|tuple2list()| turn a Tuple of items into a List
Yegappan Lakshmanan15935e72024-02-20 10:48:22 -080041752
41753
41754Autocommands: ~
41755
Girish Palya92f68e22025-04-21 11:12:41 +020041756|CmdlineLeavePre| before preparing to leave the command line
zeertzjq8feed3a2024-09-29 10:37:47 +020041757|CursorMovedC| after the cursor was moved in the command-line
h-east52e7cc22024-07-28 17:03:29 +020041758|KeyInputPre| before processing any key event in any mode
Colin Kennedye5f22802024-03-26 18:20:16 +010041759|SessionWritePost| after writing the session file |:mksession|
Jim Zhou5606ca52025-03-13 21:58:25 +010041760|TabClosedPre| before closing a |tabpage|.
Yegappan Lakshmanan15935e72024-02-20 10:48:22 -080041761|TermResponseAll| after the terminal response to |t_RV| and others is
41762 received
41763|WinNewPre| before creating a new window
41764
41765
Shougo Matsushitabe2b03c2024-04-08 22:11:50 +020041766Highlighting: ~
41767
Yee Cheng Chin9943d472025-03-26 19:41:02 +010041768|hl-ComplMatchIns| matched text of the currently inserted completion
41769|hl-DiffTextAdd| added text within a changed line
Christ van Willegen - van Noort8e4c4c72024-05-17 18:49:27 +020041770|hl-MsgArea| highlighting of the Command-line and messages area
glepnir40c1c332024-06-11 19:37:04 +020041771|hl-PmenuMatch| Popup menu: highlighting of matched text
h-east84ac2122024-06-17 18:12:30 +020041772|hl-PmenuMatchSel| Popup menu: highlighting of matched text in selected
glepnir40c1c332024-06-11 19:37:04 +020041773 line
Naruhiko Nishinobe5bd4d2025-05-14 21:20:28 +020041774|hl-TabPanel| |tabpanel|: not active tab page label
41775|hl-TabPanelFill| |tabpanel|: filler space
41776|hl-TabPanelSel| |tabpanel|: active tab page label
Shougo Matsushitabe2b03c2024-04-08 22:11:50 +020041777
Yegappan Lakshmanan15935e72024-02-20 10:48:22 -080041778Commands: ~
41779
Christ van Willegen - van Noort8e4c4c72024-05-17 18:49:27 +020041780|[r| and |]r| to move the cursor to previous/next rare word
64-bitmane08f10a2025-03-18 22:14:34 +010041781
41782Ex-Commands: ~
41783
41784|:iput| like |:put| but adjust indent
Yinzuo Jianga2a2fe82024-12-16 21:22:09 +010041785|:pbuffer| Edit buffer [N] from the buffer list in the preview
41786 window
Naruhiko Nishinobe5bd4d2025-05-14 21:20:28 +020041787|:redrawtabpanel| Force updating the 'tabpanel'.
Hirohito Higashi74f0a772025-06-23 21:42:36 +020041788|:uniq| Deduplicate text in the current buffer.
Yegappan Lakshmanan15935e72024-02-20 10:48:22 -080041789
41790Options: ~
41791
64-bitman88d41ab2025-04-06 17:20:39 +020041792'chistory' Size of the quickfix stack |quickfix-stack|.
zeertzjq98800972025-04-18 10:57:33 +020041793'completefuzzycollect' Enable fuzzy collection of candidates for (some)
glepnirf31cfa22025-03-06 21:59:13 +010041794 |ins-completion| modes
glepnir6a89c942024-10-01 20:32:12 +020041795'completeitemalign' Order of |complete-items| in Insert mode completion
41796 popup
Luuk van Baalb7147f82025-02-08 18:52:39 +010041797'eventignorewin' autocommand events that are ignored in a window
Yegappan Lakshmanana13f3a42024-11-02 18:40:10 +010041798'findfunc' Vim function to obtain the results for a |:find|
Yegappan Lakshmananaeb1c972024-10-22 23:42:20 +020041799 command
glepnirbcd59952025-04-24 21:48:35 +020041800'isexpand' defines triggers for completion
64-bitman88d41ab2025-04-06 17:20:39 +020041801'lhistory' Size of the location list stack |quickfix-stack|.
Christian Brabandt51d4d842024-12-06 17:26:25 +010041802'messagesopt' configure |:messages| and |hit-enter| prompt
Christian Brabandt25255732025-04-08 08:36:18 +020041803'pummaxwidth' maximum width for the completion popup menu
Naruhiko Nishinobe5bd4d2025-05-14 21:20:28 +020041804'showtabpanel' When to show the |tabpanel|
LemonBoy5247b0b2024-07-12 19:30:58 +020041805'tabclose' Which tab page to focus after closing a tab page
Naruhiko Nishinobe5bd4d2025-05-14 21:20:28 +020041806'tabpanel' Optional vertical panel for displaying tabpages
41807 |tabpanel|
41808'tabpanelopt' Optional settings for the |tabpanel|
Christ van Willegen - van Noort8e4c4c72024-05-17 18:49:27 +020041809't_xo' Terminal uses XON/XOFF handshaking (e.g. vt420)
glepnira218cc62024-06-03 19:32:39 +020041810't_CF' Support for alternate font highlighting terminal code
Christian Brabandt25255732025-04-08 08:36:18 +020041811'winfixbuf' Keep buffer focused in a window
Colin Kennedy21570352024-03-03 16:16:47 +010041812
Yegappan Lakshmanan15935e72024-02-20 10:48:22 -080041813==============================================================================
Shougo Matsushita60c87432024-06-03 22:59:27 +020041814INCOMPATIBLE CHANGES *incompatible-9.2*
Yegappan Lakshmanan15935e72024-02-20 10:48:22 -080041815
Christian Brabandtec9c3262024-02-21 20:40:05 +010041816Improved/Different MS-Windows mapping support
41817|w32-experimental-keycode-trans-strategy|
41818
Yegappan Lakshmanan15935e72024-02-20 10:48:22 -080041819==============================================================================
glepnira218cc62024-06-03 19:32:39 +020041820COMPILE TIME CHANGES *compile-changes-9.2*
Yegappan Lakshmanan15935e72024-02-20 10:48:22 -080041821
41822Support for building with Ruby 3.3.
41823
41824Support for building Vim 9 in z/OS (MVS).
41825
glepnir43eef882024-06-19 20:20:48 +020041826Clean-up old MS-Windows code.
41827
Yegappan Lakshmanan15935e72024-02-20 10:48:22 -080041828==============================================================================
41829PATCHES *patches-9.2* *bug-fixes-9.2*
41830 *patches-after-9.1*
41831
41832The list of patches that got included since 9.1.0. This includes all the new
41833features, but does not include runtime file changes (syntax, indent, ftplugin,
41834documentation, etc.)
41835
41836
Christian Brabandt223d6c02024-12-28 16:20:53 +010041837 vim:tw=78:ts=8:noet:ft=help:norl:fdm=manual:nofoldenable