blob: 443839475794bd2cd11e1cfa40201bdf586f45bd [file] [log] [blame]
Bram Moolenaard799daa2022-06-20 11:17:32 +01001*version9.txt* For Vim version 8.2. Last change: 2022 Jun 20
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 Moolenaard799daa2022-06-20 11:17:32 +010010and Vim9 script syntax has been introduced. This file mentions all the new
11things and changes to existing features since Vim 8.2.0. The patches up to Vim
128.2 can be found 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
18NEW FEATURES |new-9|
19 Vim script enhancements |new-vim-script-9|
20 Various new items |new-items-9|
21
22INCOMPATIBLE CHANGES |incompatible-9|
23
24IMPROVEMENTS |improvements-9|
25
26COMPILE TIME CHANGES |compile-changes-9|
27
28PATCHES |patches-9|
29
30
31See |vi_diff.txt| for an overview of differences between Vi and Vim 9.0.
32See |version4.txt|, |version5.txt|, |version6.txt|, |version7.txt| and
33|version8.txt| for differences between Vim versions.
34
35You can find an overview of the most important changes (according to Martin
36Tournoij) on this site: https://www.arp242.net/vimlog/
37
Bram Moolenaard799daa2022-06-20 11:17:32 +010038 *Sven-Guckes*
Bram Moolenaarc51cf032022-02-26 12:25:45 +000039Vim version 9.0 is dedicated to Sven Guckes, who passed away in February 2022
40when the release was being prepared. Sven was a long time supporter of Vim.
41He registered the vim.org domain and created the first Vim website. We will
42remember him!
43
44==============================================================================
45NEW FEATURES *new-9*
46
47First an overview of the more interesting new features. A comprehensive list
48is below.
49
50
51Vim9 script ~
52 *new-vim-script-9*
53The Vim script language has been changed step by step over many years,
54preserving backwards compatibility. Several choices made in early days got in
55the way of making it work better. At the same time, Vim script is being used
56much more often, since there are so many plugins being used.
57
58Vim9 script provides a syntax that is much more similar to other languages.
59In other words: "less weird". Compiled functions are introduced which allow
60for a large speed improvement. You can expect around ten times faster
61execution. The price to pay is that Vim9 script is not backwards compatible.
62But don't worry, you can still use your old scripts, the new script language
63is added, it does not replace the legacy script.
64
65All the information about Vim9 script can be found in the |Vim9| help file.
66
67
68Various new items *new-items-9*
69-----------------
70
Bram Moolenaar1588bc82022-03-08 21:35:07 +000071TODO: Visual/Insert/Cmdline mode commands?
72
73
74Options: ~
75
76'autoshelldir' change directory to the shell's current directory
77'cdhome' change directory to the home directory by ":cd"
Bram Moolenaard799daa2022-06-20 11:17:32 +010078'cinscopedecls' words that are recognized by 'cino-g'
Bram Moolenaar1588bc82022-03-08 21:35:07 +000079'guiligatures' GTK GUI: ASCII characters that can form shapes
Bram Moolenaard799daa2022-06-20 11:17:32 +010080'mousemoveevent' report mouse moves with <MouseMove>
Bram Moolenaar1588bc82022-03-08 21:35:07 +000081'quickfixtextfunc' function for the text in the quickfix window
82'spelloptions' options for spell checking
83'thesaurusfunc' function to be used for thesaurus completion
84'xtermcodes' request terminal codes from an xterm
85
86
87Ex commands: ~
88
89|:abstract|
90|:argdedupe| remove duplicates from the argument list
91|:balt| like ":badd" but also set the alternate file
92|:class| reserved for future use
93|:def| define a Vim9 user function
94|:defcompile| compile Vim9 user functions in current script
95|:disassemble| disassemble Vim9 user function
96|:echoconsole| like :echomsg but write to stdout
97|:endinterface| reserved for future use
98|:endclass| reserved for future use
99|:enddef| end of a user function started with :def
100|:endenum| reserved for future use
101|:enum| reserved for future use
102|:export| Vim9: export an item from a script
103|:final| declare an immutable variable in Vim9
104|:import| Vim9: import an item from another script
105|:interface| reserved for future use
106|:static| reserved for future use
107|:type| reserved for future use
108|:var| variable declaration in Vim9
109|:vim9script| indicates Vim9 script file
110
111
112Ex command modifiers: ~
113
114|:legacy| make following command use legacy script syntax
115|:vim9cmd| make following command use Vim9 script syntax
116
117
118New and extended functions: ~
119
120|assert_nobeep()| assert that a command does not cause a beep
Bram Moolenaard799daa2022-06-20 11:17:32 +0100121|autocmd_add()| add a list of autocmds and groups
122|autocmd_delete()| delete a list of autocmds and groups
123|autocmd_get()| return a list of autocmds
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000124|blob2list()| get a list of numbers from a blob
125|charclass()| class of a character
126|charcol()| character number of the cursor or a mark
127|charidx()| character index of a byte in a string
128|digraph_get()| get digraph
129|digraph_getlist()| get all digraphs
130|digraph_set()| register digraph
131|digraph_setlist()| register multiple digraphs
132|echoraw()| output characters as-is
133|exists_compiled()| like exists() but check at compile time
134|extendnew()| make a new Dictionary and append items
135|flatten()| flatten a List
136|flattennew()| flatten a copy of a List
137|fullcommand()| get full command name
138|getcharpos()| get character position of cursor, mark, etc.
139|getcharstr()| get a character from the user as a string
Bram Moolenaard799daa2022-06-20 11:17:32 +0100140|getcmdcompltype()| return current cmdline completion type
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000141|getcursorcharpos()| get character position of the cursor
142|getmarklist()| list of global/local marks
143|getreginfo()| get information about a register
144|gettext()| lookup message translation
145|hlget()| get highlight group attributes
146|hlset()| set highlight group attributes
Bram Moolenaard799daa2022-06-20 11:17:32 +0100147|isabsolutepath()| check if a path is absolute
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000148|list2blob()| get a blob from a list of numbers
Bram Moolenaard799daa2022-06-20 11:17:32 +0100149|maplist()| list of all mappings, a dict for each
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000150|mapnew()| make a new List with changed items
151|mapset()| restore a mapping
152|matchfuzzy()| fuzzy matches a string in a list of strings
153|matchfuzzypos()| fuzzy matches a string in a list of strings
154|menu_info()| get information about a menu item
155|popup_list()| get list of all popup window IDs
156|prompt_getprompt()| get the effective prompt text for a buffer
157|prop_add_list()| attach a property at multiple positions
158|prop_find()| search for a property
159|readblob()| read a file into a Blob
160|readdirex()| get a List of file information in a directory
161|reduce()| reduce a List to a value
162|searchcount()| get number of matches before/after the cursor
163|setcellwidths()| set character cell width overrides
164|setcharpos()| set character position of cursor, mark, etc.
165|setcursorcharpos()| set character position of the cursor
166|slice()| take a slice of a List
167|strcharlen()| length of a string in characters
168|terminalprops()| properties of the terminal
169|test_gui_event()| generate a GUI event for testing
170|test_null_function()| return a null Funcref
171|test_srand_seed()| set the seed value for srand()
172|test_unknown()| return a value with unknown type
173|test_void()| return a value with void type
174|typename()| type of a variable as text
Bram Moolenaard799daa2022-06-20 11:17:32 +0100175|virtcol2col()| byte index of a character on screen
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000176|win_gettype()| get type of window
177|win_move_separator()| move window vertical separator
178|win_move_statusline()| move window status line
179|windowsversion()| get MS-Windows version
180
181
182New Vim variables: ~
183
184|v:numbermax| maximum value of a number
185|v:numbermin| minimum value of a number (negative)
186|v:numbersize| number of bits in a Number
187|v:collate| current locale setting for collation order
188|v:exiting| vim exit code
189|v:colornames| dictionary that maps color names to hex color strings
190|v:sizeofint| number of bytes in an int
191|v:sizeoflong| number of bytes in a long
192|v:sizeofpointer| number of bytes in a pointer
193|v:maxcol| maximum line length
194
195
196New autocommand events: ~
197
198|CompleteDonePre| after Insert mode completion is done, before clearing
199 info
200|DirChangedPre| before the working directory will change
201|InsertLeavePre| just before leaving Insert mode
202|ModeChanged| after changing the mode
203|SigUSR1| after the SIGUSR1 signal has been detected
204|WinClosed| after closing a window
Bram Moolenaard799daa2022-06-20 11:17:32 +0100205|WinScrolled| after scrolling or resizing a window
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000206|VimSuspend| when suspending Vim
207|VimResume| when Vim is resumed after being suspended
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000208
209
Bram Moolenaard799daa2022-06-20 11:17:32 +0100210New operator: ~
211
212|>>| bitwise right shift
213|<<| bitwise left shift
214|??| falsy operator
215
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000216New runtime files: ~
217
218Too many to list here.
219
220==============================================================================
221INCOMPATIBLE CHANGES *incompatible-9*
222
223These changes are incompatible with previous releases. Check this list if you
Bram Moolenaard799daa2022-06-20 11:17:32 +0100224run into a problem when upgrading from Vim 8.2 to 9.0.
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000225
226TODO
227
228==============================================================================
229IMPROVEMENTS *improvements-9*
230
Bram Moolenaard799daa2022-06-20 11:17:32 +0100231Various small and useful improvements have been made since Vim 8.2. Here is a
232collection of changes that are worth mentioning.
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000233
Bram Moolenaard799daa2022-06-20 11:17:32 +0100234Many memory leaks, invalid memory accesses and crashes have been fixed.
235See the list of patches below: |bug-fixes-9|.
236
237Support for Vim expression evaluation in a string. |interp-string|
238Support for evaluating Vim expressions in a heredoc. |:let-heredoc|
239
240Display the command line completion matches in a popup menu. 'wildoptions'
241
242Support for fuzzy matching a string in a List of strings. |fuzzy-matching|
243
244Fuzzy completion support for command line completion using 'wildoptions'.
245
246Fuzzy match support for |:vimgrep|.
247
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100248Haiku support. |Haiku|
249
Bram Moolenaard799daa2022-06-20 11:17:32 +0100250Support for "lsp" channel mode to simplify LSP server RPC communication
Bram Moolenaara57b5532022-06-24 11:48:03 +0100251|language-server-protocol|. Support for using a Unix domain socket with a
252|channel|. IPv6 support in channels |channel-address|.
Bram Moolenaard799daa2022-06-20 11:17:32 +0100253
254Support for sourcing lines from the current buffer. |:source-range|
255
Bram Moolenaara57b5532022-06-24 11:48:03 +0100256Support for opening a terminal in a popup window. |popup-terminal|
257
Bram Moolenaard799daa2022-06-20 11:17:32 +0100258Support for stopping profiling a Vim script: `:profile stop` and dumping the
259report to a file: `:profile dump` . |:profile|
260
Bram Moolenaara57b5532022-06-24 11:48:03 +0100261Argument completion support for the |:breakadd|, |:breakdel|, |:diffget|,
262|:diffput|, |:profile|, |:profdel| and |:scriptnames| commands.
Bram Moolenaard799daa2022-06-20 11:17:32 +0100263
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100264Support for setting the 'foldtext', 'completefunc', 'omnifunc',
265'operatorfunc', 'thesaurusfunc', 'quickfixtextfunc', 'tagfunc',
266'imactivatefunc' and 'imstatusfunc' options to a function reference or a
267lambda function or a script-local function.
Bram Moolenaard799daa2022-06-20 11:17:32 +0100268
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100269Support directly setting the 'balloonexpr', 'charconvert' 'foldexpr',
270'formatexpr', 'includeexpr', 'printexpr', 'patchexpr', 'indentexpr',
271'modelineexpr', 'diffexpr' and 'printexpr' options to a script-local function.
Bram Moolenaard799daa2022-06-20 11:17:32 +0100272
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100273Support for configuring the character used to mark the beginning of a fold,
274show a closed fold and show a fold separator using "foldopen", "foldclose" and
275"foldsep" respectively in 'fillchars'.
276
277Support for configuring the character displayed in non existing lines using
278"eob" in 'fillchars'.
279
280Support for using multibyte items with the "stl", "stlnc", "foldopen",
281"foldclose" and "foldsep" items in the 'fillchars' option.
282
283Support for the XChaCha20 encryption method. 'cryptmethod'
Bram Moolenaard799daa2022-06-20 11:17:32 +0100284
285Spell check current word with |z=| even when 'spell' is off.
286
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100287Add "timeout" to 'spellsuggest' to limit the searching time for spell
288suggestions.
289
Bram Moolenaard799daa2022-06-20 11:17:32 +0100290Support for executing Ex commands in a map without changing the current mode
291|<Cmd>| and |<ScriptCmd>|.
292
Bram Moolenaard799daa2022-06-20 11:17:32 +0100293Add optional error code to |:cquit|.
294
Bram Moolenaara57b5532022-06-24 11:48:03 +0100295Support for calling Vim functions from Lua (vim.call() and vim.fn()).
Bram Moolenaard799daa2022-06-20 11:17:32 +0100296
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100297Recognize numbers as unsigned when "unsigned" is set in 'nrformats'.
Bram Moolenaard799daa2022-06-20 11:17:32 +0100298
299Allow setting underline color in terminal.
300
301Expand script ID using expand('<SID>'). |expand()|
302
Bram Moolenaara57b5532022-06-24 11:48:03 +0100303Jump to the last accessed tab page using |g<Tab>| and support using the
304last accessed tab page in |:tabnext| et al.
Bram Moolenaard799daa2022-06-20 11:17:32 +0100305
306Locale aware sorting using |:sort| and |sort()|.
307
308Hide cursor when sleeping using |:sleep!|.
309
310Detect focus events in terminal (|FocusGained| and |FocusLost|).
311
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100312Add "multispace" to 'listchars' to show two or more spaces no matter where
313they appear. Add "leadmultispace" to 'listchars' to show two or more leading
314spaces. Add "lead" to 'listchars' to set the character used to show leading
315spaces.
316
317Make 'listchars', 'virtualedit' and 'thesaurusfunc' global-local options.
Bram Moolenaard799daa2022-06-20 11:17:32 +0100318
319Support for looping over a string using |:for|.
320
321Don't reset 'wrap' for diff windows when "followwrap" is set in 'diffopt'.
322
323Support for re-evaluating the 'statusline' expression as a statusline format
324string (%{expr})
325
326Add |zp| and |zP| to paste in block mode without adding trailing white space.
327Add |zy| to yank without trailing white space in block mode.
328
329Add \%.l, \%<.l and \%>.l atoms to match the line the cursor is currently on.
330See |/\%l| for more information.
331
332Add "list" to 'breakindentopt' to add additional indent for lines that match
333a numbered or bulleted list. Add "column" to 'breakindentopt' to indent
334soft-wrapped lines at a specific column.
335
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100336Add the |hl-CursorLineSign| and |hl-CursorLineFold| default highlight groups to
Bram Moolenaard799daa2022-06-20 11:17:32 +0100337adjust sign highlighting for 'cursorline'.
338
339Add the |hl-CurSearch| default highlight group for the current search match.
340
Bram Moolenaard799daa2022-06-20 11:17:32 +0100341Add the 'P' command in visual mode to paste text in visual mode without
Bram Moolenaara57b5532022-06-24 11:48:03 +0100342yanking the deleted text to the unnamed register. |put-Visual-mode|
Bram Moolenaard799daa2022-06-20 11:17:32 +0100343
344Add support for logging on Vim startup (|--log|).
345
346Add "/" in 'formatoptions' to stop inserting // when using "o" on a line with
Bram Moolenaara57b5532022-06-24 11:48:03 +0100347inline comment. |fo-/|
348
349Add support for customizing the quickfix buffer contents using
350'quickfixtextfunc'. Support for the "note" error type (%t) in |errorformat|.
351Add support for parsing the end line number (%e) and end column number (%k)
352using 'errorformat'.
353
354Support truncating the tag stack using |settagstack()|.
355
356Support using any Vim type for user_data with the completion functions
357(|complete-items|).
Bram Moolenaard799daa2022-06-20 11:17:32 +0100358
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100359Display every option in a separate line when "!" is used with |:set|.
360
361Add "nostop" to 'backspace' to allow backspacing over the start of insert for
362|CTRL-W| and |CTRL-U| also.
363
364Add bell support for the terminal window. ('belloff')
365
366Sync the undo file if 'fsync' is set.
367
368Support excluding the 'runtimepath' and 'packpath' options from a session file
369using "skiprtp" in 'sessionoptions'.
370
371Stop insert mode completion without changing text (|i_CTRL-X_CTRL-Z|).
Bram Moolenaard799daa2022-06-20 11:17:32 +0100372
Bram Moolenaara57b5532022-06-24 11:48:03 +0100373Support for getting the number of lines (linecount) in a buffer using
374|getbufinfo()|.
375
376Support |filter()| and |map()| for blob and string types.
377
378Support for using a multi-byte character for the tag kind. |tags-file-format|
379
380Add support for checking whether a function name is valid using |exists()|.
381
382Update xdiff to version 2.33. Update libvterm to revision 789.
383
384Added support for the |Haiku| OS.
385
386Support 'trim' for Python/Lua/Perl/Tcl/Ruby/MzScheme interface heredoc.
387
388Add the |t_AU| and |t_8u| termap codes for underline and undercurl. Add the
389t_fd and t_fe termcap codes for detecting focus events.
390
391Support for indenting C pragmas like normal code. (|cino-P|)
392
393Add support for defining the syntax fold level (|:syn-foldlevel|)
394
395Add support for using \<*xxx> in a string to prepend a modifier to a
396character. (|expr-quote|).
397
398Add support trimming characters at the beginning or end of a string using
399|trim()|.
400
401Make ":verbose pwd" show the scope of the directory. |:pwd-verbose|
402
403Add the "0o" notation for specifying octal numbers |scriptversion-4|
404
405Support for changing to the previous tab-local and window-local directories
406using the "tcd -" and "lcd -" commands. (|:tcd-| and |:lcd-|)
407
408Add support for skipping an expression using |search()|.
409
410Add the "cmdline" option to |getcompletion()| to return the command line
411arguments.
412
413Add support for spell checking CamelCased words by adding "camel" to
414'spelloptions'.
415
416Add support for importing Vim scripts using |:import| from a Vimscript.
417
418Add support for sorting the directory contents returned by the |readdir()|
419and |readdirex()| functions by case.
420
421Add support for executing (|:@|) a register containing line continuation.
422
423Convert a Lua function and a closure to a Vim funcref so that it can be
424accessed in a Vimscript. (|lua-funcref|) Make Lua arrays one based.
425Add table.insert() and table.remove() functions.
426
427Support mouse left-right scrolling in a terminal window.
428
429Updated colorschemes from https://github.com/vim/colorschemes is included.
430
431TermDebug enhancements:
432Support for showing the disassembled code in a separate window. Support for
433the GDB until command. Use a separate group for the signs.
434
435A large number of tests have been added to verify the Vim functionality. Most
436of the old style tests have been converted to new style tests using the new
437style assert_* functions.
438
439Many Coverity static analysis warnings are fixed.
440
Bram Moolenaard799daa2022-06-20 11:17:32 +0100441TODO: more
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000442
443==============================================================================
444COMPILE TIME CHANGES *compile-changes-9*
445
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100446The following features are now enabled in all the builds:
447 |+cindent|
448 |+jumplist|
449 |+lispindent|
450 |+num64|
451 |+smartindent|
452 |+tag_binary|
453 |+title|
454
455The following features have been removed. They are either obsolete or didn't
456work properly:
Bram Moolenaara57b5532022-06-24 11:48:03 +0100457 - Athena and neXTaw GUI support (use Motif instead)
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100458 - EBCDIC support
Bram Moolenaara57b5532022-06-24 11:48:03 +0100459 - Atari MiNT and BeOS
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100460 - Mac Carbon GUI (use MacVim instead)
461
462The rgb.txt file is no longer included, use colors/lists/default.vim instead.
463
464Several source files were split, mainly to make it easier to inspect code
465coverage information.
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000466
Bram Moolenaara57b5532022-06-24 11:48:03 +0100467Support for building Vim with Mingw64 clang compiler on MS-Windows.
468
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000469==============================================================================
470PATCHES *patches-9* *bug-fixes-9*
471 *patches-after-8.2*
472
473The list of patches that got included since 8.2.0. This includes all the new
474features, but does not include runtime file changes (syntax, indent, help,
475etc.)
476
477Patch 8.2.0001
478Problem: #endif comments do not reflect corresponding #ifdef.
479Solution: Update the comments. (Rene Nyffenegger, closes #5351)
480Files: src/ui.c
481
482Patch 8.2.0002
483Problem: "dj" only deletes first line of closed fold.
484Solution: Adjust last line of operator for linewise motion. (closes #5354)
485Files: src/ops.c, src/testdir/test_fold.vim
486
487Patch 8.2.0003
488Problem: Build file dependencies are incomplete.
489Solution: Fix the dependencies. (Ken Takata, closes #5356)
490Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms,
491 src/Makefile
492
493Patch 8.2.0004
494Problem: Get E685 and E931 if buffer reload is interrupted.
495Solution: Do not abort deleting a dummy buffer. (closes #5361)
496Files: src/buffer.c, src/proto/buffer.pro, src/testdir/test_trycatch.vim,
497 src/ex_cmds.c, src/ex_getln.c, src/misc2.c, src/quickfix.c,
498 src/window.c, src/vim.h
499
500Patch 8.2.0005
501Problem: Duplication in version info.
502Solution: Use preprocessor string concatenation. (Ken Takata, closes #5357)
503Files: src/version.h
504
505Patch 8.2.0006
506Problem: Test using long file name may fail. (Vladimir Lomov)
507Solution: Limit the name length. (Christian Brabandt, closes #5358)
508Files: src/testdir/test_display.vim
509
510Patch 8.2.0007
511Problem: Popup menu positioned wrong with folding in two tabs.
512Solution: Update the cursor line height. (closes #5353)
513Files: src/move.c, src/proto/move.pro, src/popupmenu.c,
514 src/testdir/test_ins_complete.vim,
515 src/testdir/dumps/Test_pum_with_folds_two_tabs.dump
516
517Patch 8.2.0008
518Problem: Test72 is old style.
519Solution: Convert to new style test. (Yegappan Lakshmanan, closes #5362)
520Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
521 src/testdir/test72.in, src/testdir/test72.ok,
522 src/testdir/test_undo.vim
523
524Patch 8.2.0009
525Problem: VMS: terminal version doesn't build.
526Solution: Move MIN definition. Adjust #ifdefs. (Zoltan Arpadffy)
527Files: src/bufwrite.c, src/fileio.c, src/ui.c, src/xxd/Make_vms.mms
528
529Patch 8.2.0010
530Problem: Test64 is old style.
531Solution: Convert to new style test. (Yegappan Lakshmanan, closes #5363)
532Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
533 src/testdir/test64.in, src/testdir/test64.ok,
534 src/testdir/test95.in, src/testdir/test_regexp_latin.vim
535
536Patch 8.2.0011
537Problem: Screen updating wrong when opening preview window.
538Solution: Redraw the window when the preview window opens.
539Files: src/popupmenu.c, src/testdir/test_ins_complete.vim,
540 src/testdir/dumps/Test_pum_with_preview_win.dump
541
542Patch 8.2.0012
543Problem: Some undo functionality is not tested.
544Solution: Add a few more test cases. (Dominique Pellé, closes #5364)
545Files: src/testdir/test_undo.vim
546
547Patch 8.2.0013
548Problem: Not using a typedef for condstack.
549Solution: Add a typedef.
550Files: src/structs.h, src/ex_docmd.c, src/ex_eval.c, src/userfunc.c,
551 src/ex_cmds.h, src/proto/ex_eval.pro
552
553Patch 8.2.0014
554Problem: Test69 and test95 are old style.
555Solution: Convert to new style tests. (Yegappan Lakshmanan, closes #5365)
556Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
557 src/testdir/test69.in, src/testdir/test69.ok,
558 src/testdir/test95.in, src/testdir/test95.ok,
559 src/testdir/test_regexp_utf8.vim, src/testdir/test_textformat.vim
560
561Patch 8.2.0015
562Problem: Not all modeline variants are tested.
563Solution: Add modeline tests. (Dominique Pellé, closes #5369)
564Files: src/testdir/test_modeline.vim
565
566Patch 8.2.0016
567Problem: Test name used twice, option not restored properly.
568Solution: Rename function, restore option with "&".
569Files: src/testdir/test_textformat.vim
570
571Patch 8.2.0017
572Problem: OS/2 and MS-DOS are still mentioned, even though support was
573 removed long ago.
574Solution: Update documentation. (Yegappan Lakshmanan, closes #5368)
575Files: runtime/doc/autocmd.txt, runtime/doc/change.txt,
576 runtime/doc/cmdline.txt, runtime/doc/editing.txt,
577 runtime/doc/eval.txt, runtime/doc/gui.txt, runtime/doc/insert.txt,
578 runtime/doc/options.txt, runtime/doc/print.txt,
579 runtime/doc/quickfix.txt, runtime/doc/repeat.txt,
580 runtime/doc/starting.txt, runtime/doc/usr_01.txt,
581 runtime/doc/usr_05.txt, runtime/doc/usr_41.txt,
582 runtime/doc/vi_diff.txt, runtime/gvimrc_example.vim,
583 runtime/tools/README.txt, runtime/vimrc_example.vim, src/feature.h
584
585Patch 8.2.0018
586Problem: :join does not add white space where it should. (Zdenek Dohnal)
587Solution: Handle joining multiple lines properly.
588Files: src/ops.c, src/testdir/test_join.vim
589
590Patch 8.2.0019
591Problem: Cannot get number of lines of another buffer.
592Solution: Add "linecount" to getbufinfo(). (Yasuhiro Matsumoto,
593 closes #5370)
594Files: src/evalbuffer.c, src/testdir/test_bufwintabinfo.vim,
595 runtime/doc/eval.txt
596
597Patch 8.2.0020
598Problem: Mouse clicks in the command line not tested.
599Solution: Add tests. (Dominique Pellé, closes #5366)
600Files: src/testdir/test_termcodes.vim
601
602Patch 8.2.0021
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000603Problem: Timer test fails too often on Travis with macOS.
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000604Solution: Be less strict with the time.
605Files: src/testdir/test_timers.vim
606
607Patch 8.2.0022
608Problem: Click in popup window doesn't close it in the GUI. (Sergey Vlasov)
609Solution: When processing the selection also send a button release event.
610 (closes #5367)
611Files: src/gui.c
612
613Patch 8.2.0023
614Problem: Command line editing not sufficiently tested.
615Solution: Add more tests. (Dominique Pellé, closes #5374)
616Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim,
617 src/testdir/test_cmdline.vim, src/testdir/test_ex_mode.vim
618
619Patch 8.2.0024
620Problem: Filetype Rego not recognized.
621Solution: Add *.rego. (Matt Dunford, closes #5376)
622Files: runtime/filetype.vim, src/testdir/test_filetype.vim
623
624Patch 8.2.0025
625Problem: Repeated word in comment.
626Solution: Remove one. (Rene Nyffenegger, closes #5384)
627Files: src/structs.h
628
629Patch 8.2.0026
630Problem: Still some /* */ comments.
631Solution: Convert to // comments.
632Files: src/message.c, src/message_test.c, src/misc1.c, src/misc2.c,
633 src/move.c
634
635Patch 8.2.0027
636Problem: Still some /* */ comments.
637Solution: Convert to // comments.
638Files: src/iid_ole.c, src/indent.c, src/insexpand.c, src/iscygpty.c,
639 src/version.c
640
641Patch 8.2.0028
642Problem: Searchpairpos() is not tested.
643Solution: Add tests. Also improve searchpair() testing. (Dominique Pellé,
644 closes #5388)
645Files: src/testdir/test_search.vim
646
647Patch 8.2.0029
648Problem: MS-Windows: crash with empty job command.
649Solution: Check for NULL result. (Yasuhiro Matsumoto, closes #5390)
650Files: src/channel.c, src/testdir/test_channel.vim
651
652Patch 8.2.0030
653Problem: "gF" does not work on output of "verbose command".
654Solution: Recognize " line " and translations. (closes #5391)
655Files: src/globals.h, src/eval.c, src/findfile.c, src/testdir/test_gf.vim
656
657Patch 8.2.0031 (after 8.2.0029)
658Problem: MS-Windows: test for empty job fails
659Solution: Check for error message, make it also fail on Unix.
660Files: src/channel.c, src/testdir/test_channel.vim
661
662Patch 8.2.0032 (after 8.2.0031)
663Problem: MS-Windows: test for blank job fails
664Solution: Check before escaping.
665Files: src/channel.c, src/testdir/test_channel.vim
666
667Patch 8.2.0033
668Problem: Crash when make_extmatch() runs out of memory.
669Solution: Check for NULL. (Dominique Pellé, closes #5392)
670Files: src/regexp_bt.c, src/regexp_nfa.c
671
672Patch 8.2.0034
673Problem: Missing check for out of memory.
674Solution: Check for NULL after vim_strsave(). (Dominique Pellé,
675 closes #5393)
676Files: src/filepath.c
677
678Patch 8.2.0035
679Problem: Saving and restoring called_emsg is clumsy.
680Solution: Count the number of error messages.
681Files: src/message.c, src/buffer.c, src/channel.c, src/drawscreen.c,
682 src/ex_cmds2.c, src/gui.c, src/highlight.c, src/main.c,
683 src/regexp.c, src/search.c, src/testing.c, src/globals.h
684
685Patch 8.2.0036
686Problem: Not enough test coverage for match functions.
687Solution: Add a few more test cases. (Dominique Pellé, closes #5394)
688 Add error number.
689Files: src/testdir/test_match.vim
690
691Patch 8.2.0037
692Problem: Missing renamed message.
693Solution: Now really add the error number.
694Files: src/highlight.c
695
696Patch 8.2.0038
697Problem: Spell suggestions insufficiently tested.
698Solution: Add spell suggestion tests. (Dominique Pellé, closes #5398)
699Files: src/testdir/test_spell.vim
700
701Patch 8.2.0039
702Problem: Memory access error when "z=" has no suggestions.
703Solution: Check for negative index.
704Files: src/testdir/test_spell.vim, src/spellsuggest.c
705
706Patch 8.2.0040
707Problem: Timers test is still flaky on Travis for Mac.
708Solution: Run separately instead of as part of test_alot.
709Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim
710
711Patch 8.2.0041
712Problem: Leaking memory when selecting spell suggestion.
713Solution: Free previous value at the right time.
714Files: src/spellsuggest.c
715
716Patch 8.2.0042
717Problem: Clearing funccal values twice.
718Solution: Remove clearing individual fields.
719Files: src/userfunc.c
720
721Patch 8.2.0043
722Problem: Timers test is still flaky on Travis for Mac.
723Solution: Increase maximum expected time.
724Files: src/testdir/test_timers.vim
725
726Patch 8.2.0044
727Problem: Expression type is used inconsistently.
728Solution: Add "ETYPE_IS" and "ETYPE_ISNOT" as separate enum values. Rename
729 "TYPE_" to "ETYPE_" to avoid confusion.
730Files: src/structs.h, src/eval.c, src/proto/eval.pro, src/debugger.c
731
732Patch 8.2.0045 (after 8.2.0044)
733Problem: Script test fails.
734Solution: For numbers "is" and "isnot" work like "==" and "!=".
735Files: src/eval.c
736
737Patch 8.2.0046
738Problem: Tests for spell suggestions are slow.
739Solution: Use shorter words. Test with latin1 and utf-8 to cover more code.
740 (Dominique Pellé, closes #5399)
741Files: src/testdir/test_spell.vim
742
743Patch 8.2.0047
744Problem: Cannot skip tests for specific MS-Windows platform.
745Solution: Add windowsversion().
746Files: src/os_win32.c, src/globals.h, src/evalfunc.c,
747 runtime/doc/eval.txt, src/testdir/gen_opt_test.vim,
748 src/testdir/test_options.vim
749
750Patch 8.2.0048
751Problem: Another timers test is flaky on Travis for Mac.
752Solution: Increase maximum expected time.
753Files: src/testdir/test_timers.vim
754
755Patch 8.2.0049
756Problem: Command line completion not fully tested.
757Solution: Add more test cases. Make help sorting stable. (Dominique Pellé,
758 closes #5402)
759Files: src/ex_cmds.c, src/testdir/test_cd.vim,
760 src/testdir/test_cmdline.vim, src/testdir/test_help.vim,
761 src/testdir/test_menu.vim, src/testdir/test_options.vim,
762 src/testdir/test_syntax.vim
763
764Patch 8.2.0050
765Problem: After deleting a file mark it is still in viminfo.
766Solution: When a file mark was deleted more recently than the mark in the
767 merged viminfo file was updated, do not store the mark. (Pavol
768 Juhas, closes #5401, closes #1339)
769Files: src/mark.c, src/testdir/test_marks.vim,
770 src/testdir/test_viminfo.vim, src/viminfo.c
771
772Patch 8.2.0051 (after 8.2.0049)
773Problem: Command line completion test skipped. (Christian Brabandt)
774Solution: Invert condition.
775Files: src/testdir/test_cmdline.vim
776
777Patch 8.2.0052
778Problem: More-prompt not properly tested.
779Solution: Add a test case. (Dominique Pellé, closes #5404)
780Files: src/testdir/test_messages.vim
781
782Patch 8.2.0053
783Problem: windowsversion() does not always return the right value.
784Solution: Add a compatibility section in the manifest. (Ken Takata,
785 closes #5407)
786Files: src/gvim.exe.mnf
787
788Patch 8.2.0054
789Problem: :diffget and :diffput don't have good completion.
790Solution: Add proper completion. (Dominique Pellé, closes #5409)
791Files: runtime/doc/eval.txt, src/buffer.c, src/cmdexpand.c,
792 src/testdir/test_diffmode.vim, src/usercmd.c, src/vim.h
793
794Patch 8.2.0055
795Problem: Cannot use ":gui" in vimrc with VIMDLL enabled.
796Solution: Change the logic, check "gui.starting". (Ken Takata, closes #5408)
797Files: src/gui.c
798
799Patch 8.2.0056
800Problem: Execution stack is incomplete and inefficient.
801Solution: Introduce a proper execution stack and use it instead of
802 sourcing_name/sourcing_lnum. Create a string only when used.
803Files: src/structs.h, src/globals.h, src/autocmd.c, src/buffer.c
804 src/debugger.c, src/ex_docmd.c, src/ex_eval.c, src/highlight.c,
805 src/main.c, src/map.c, src/message.c, src/proto/scriptfile.pro,
806 src/scriptfile.c, src/option.c, src/profiler.c, src/spellfile.c,
807 src/term.c, src/testing.c, src/usercmd.c, src/userfunc.c,
808 src/kword_test.c, src/testdir/test_debugger.vim
809
810Patch 8.2.0057 (after 8.2.0056)
811Problem: Cannot build with small features.
812Solution: Add #ifdefs.
813Files: src/scriptfile.c
814
815Patch 8.2.0058
816Problem: Running tests changes ~/.viminfo.
817Solution: Make 'viminfo' empty when summarizing tests results. (closes #5414)
818Files: src/testdir/summarize.vim
819
820Patch 8.2.0059
821Problem: Compiler warnings for unused variables in small build. (Tony
822 Mechelynck)
823Solution: Add #ifdef.
824Files: src/scriptfile.c
825
826Patch 8.2.0060
827Problem: Message test only runs with one encoding. (Dominique Pellé)
828Solution: Run the test with "utf-8" and "latin1". Fix underflow. (related
829 to #5410)
830Files: src/message_test.c, src/message.c
831
832Patch 8.2.0061
833Problem: The execute stack can grow big and never shrinks.
834Solution: Reduce the size in garbage collect.
835Files: src/eval.c
836
837Patch 8.2.0062
838Problem: Memory test is flaky on FreeBSD.
839Solution: Add a short sleep before getting the first size.
840Files: src/testdir/test_memory_usage.vim
841
842Patch 8.2.0063
843Problem: Wrong size argument to vim_snprintf(). (Dominique Pellé)
844Solution: Reduce the size by the length. (related to #5410)
845Files: src/ops.c
846
847Patch 8.2.0064
848Problem: Diffmode completion doesn't use per-window setting.
849Solution: Check if a window is in diff mode. (Dominique Pellé, closes #5419)
850Files: src/buffer.c, src/testdir/test_diffmode.vim
851
852Patch 8.2.0065
853Problem: Amiga and alikes: autoopen only used on Amiga OS4.
854Solution: Adjust #ifdefs. (Ola Söder, closes #5413)
855Files: src/os_amiga.c
856
857Patch 8.2.0066
858Problem: Some corners of vim_snprintf() are not tested.
859Solution: Add a test in C. (Dominique Pellé, closes #5422)
860Files: src/message_test.c
861
862Patch 8.2.0067
863Problem: ERROR_UNKNOWN clashes on some systems.
864Solution: Rename ERROR_ to FCERR_. (Ola Söder, closes #5415)
865Files: src/evalfunc.c, src/userfunc.c, src/vim.h
866
867Patch 8.2.0068
868Problem: Crash when using Python 3 with "utf32" encoding. (Dominique Pellé)
869Solution: Use "utf-8" whenever enc_utf8 is set. (closes #5423)
870Files: src/testdir/test_python3.vim, src/if_py_both.h
871
872Patch 8.2.0069
873Problem: ETYPE_ is used for two different enums.
874Solution: Rename one to use EXPR_.
875Files: src/structs.h, src/eval.c, src/debugger.c
876
877Patch 8.2.0070
878Problem: Crash when using Python 3 with "debug" encoding. (Dominique Pellé)
879Solution: Use "euc-jp" whenever enc_dbcs is set.
880Files: src/testdir/test_python3.vim, src/if_py_both.h
881
882Patch 8.2.0071
883Problem: Memory test often fails on Cirrus CI.
884Solution: Allow for more tolerance in the upper limit. Remove sleep.
885Files: src/testdir/test_memory_usage.vim
886
887Patch 8.2.0072 (after 8.2.0071)
888Problem: Memory test still fails on Cirrus CI.
889Solution: Allow for a tiny bit more tolerance in the upper limit.
890Files: src/testdir/test_memory_usage.vim
891
892Patch 8.2.0073
893Problem: Initializing globals with COMMA is clumsy.
894Solution: Use INIT2(), INIT3(), etc.
895Files: src/vim.h, src/globals.h
896
897Patch 8.2.0074
898Problem: Python 3 unicode test sometimes fails.
899Solution: Make 'termencoding' empty. Correct number of error message.
900Files: src/change.c, runtime/doc/options.txt, runtime/doc/message.txt,
901 src/testdir/test_python3.vim
902
903Patch 8.2.0075
904Problem: Python 3 unicode test still sometimes fails.
905Solution: Skip the test when 'termencoding' is not empty.
906Files: src/testdir/test_python3.vim
907
908Patch 8.2.0076
909Problem: Python 3 unicode test fails on MS-Windows.
910Solution: Do not set 'encoding' to "debug" on MS-Windows.
911Files: src/testdir/test_python3.vim
912
913Patch 8.2.0077
914Problem: settagstack() cannot truncate at current index.
915Solution: Add the "t" action. (Yegappan Lakshmanan, closes #5417)
916Files: runtime/doc/eval.txt, src/evalfunc.c, src/tag.c,
917 src/testdir/test_tagjump.vim
918
919Patch 8.2.0078
920Problem: Expanding <sfile> works differently the second time.
921Solution: Keep the expanded name when redefining a function. (closes #5425)
922Files: src/testdir/test_vimscript.vim, src/userfunc.c
923
924Patch 8.2.0079
925Problem: Python 3 unicode test still fails on MS-Windows.
926Solution: Do not set 'encoding' to "euc-tw" on MS-Windows.
927Files: src/testdir/test_python3.vim
928
929Patch 8.2.0080
930Problem: Globals using INIT4() are not in the tags file.
931Solution: Adjust the tags command.
932Files: src/configure.ac, src/auto/configure
933
934Patch 8.2.0081
935Problem: MS-Windows also need the change to support INIT4().
936Solution: Add the ctags arguments. (Ken Takata)
937Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
938
939Patch 8.2.0082
940Problem: When reusing a buffer listeners are not cleared. (Axel Forsman)
941Solution: Clear listeners when reusing a buffer. (closes #5431)
942Files: src/testdir/test_listener.vim, src/buffer.c
943
944Patch 8.2.0083
945Problem: Text properties wrong when tabs and spaces are exchanged.
946Solution: Take text properties into account. (Nobuhiro Takasaki,
947 closes #5427)
948Files: src/edit.c, src/testdir/test_textprop.vim
949
950Patch 8.2.0084
951Problem: Complete item "user_data" can only be a string.
952Solution: Accept any type of variable. (closes #5412)
953Files: src/testdir/test_ins_complete.vim, src/insexpand.c, src/dict.c,
954 src/proto/dict.pro, src/eval.c, runtime/doc/insert.txt
955
956Patch 8.2.0085
957Problem: Dead code in builtin functions.
958Solution: Clean up the code.
959Files: src/evalvars.c, src/sound.c, src/textprop.c
960
961Patch 8.2.0086 (after 8.2.0084)
962Problem: Build error for small version. (Tony Mechelynck)
963Solution: Only use "user_data" with the +eval feature. Remove unused
964 variable.
965Files: src/insexpand.c, src/dict.c
966
967Patch 8.2.0087
968Problem: Crash in command line expansion when out of memory.
969Solution: Check for NULL pointer. Also make ExpandGeneric() static.
970 (Dominique Pellé, closes #5437)
971Files: src/cmdexpand.c, src/proto/cmdexpand.pro
972
973Patch 8.2.0088
974Problem: Insufficient tests for tags; bug in using extra tag field when
975 using an ex command to position the cursor.
976Solution: Fix the bug, add more tests. (Yegappan Lakshmanan, closes #5439)
977Files: runtime/doc/tagsrch.txt, src/tag.c,
978 src/testdir/test_ins_complete.vim, src/testdir/test_tagfunc.vim,
979 src/testdir/test_tagjump.vim, src/testdir/test_taglist.vim
980
981Patch 8.2.0089
982Problem: Crash when running out of memory in :setfiletype completion.
983Solution: Do not allocate memory. (Dominique Pellé, closes #5438)
984Files: src/cmdexpand.c
985
986Patch 8.2.0090
987Problem: Generated files show up in git status.
988Solution: Ignore a few more files.
989Files: .gitignore
990
991Patch 8.2.0091
992Problem: Compiler warnings for size_t / int types.
993Solution: Change type to size_t. (Mike Williams)
994Files: src/scriptfile.c
995
996Patch 8.2.0092
997Problem: Tags functionality insufficiently tested.
998Solution: Add more tags tests. (Yegappan Lakshmanan, closes #5446)
999Files: src/testdir/test_tagjump.vim
1000
1001Patch 8.2.0093
1002Problem: win_splitmove() can make Vim hang.
1003Solution: Check windows exists in the current tab page. (closes #5444)
1004Files: src/testdir/test_window_cmd.vim, src/evalwindow.c
1005
1006Patch 8.2.0094
1007Problem: MS-Windows: cannot build with Strawberry Perl 5.30.
1008Solution: Define __builtin_expect() as a workaround. (Ken Takata,
1009 closes #5267)
1010Files: src/if_perl.xs
1011
1012Patch 8.2.0095
1013Problem: Cannot specify exit code for :cquit.
1014Solution: Add optional argument. (Thinca, Yegappan Lakshmanan, closes #5442)
1015Files: runtime/doc/quickfix.txt, src/ex_cmds.h, src/ex_docmd.c,
1016 src/testdir/test_quickfix.vim
1017
1018Patch 8.2.0096
1019Problem: Cannot create tiny popup window in last column. (Daniel Steinberg)
1020Solution: Remove position limit. (closes #5447)
1021Files: src/popupwin.c, src/testdir/test_popupwin.vim,
1022 src/testdir/dumps/Test_popupwin_20.dump,
1023 src/testdir/dumps/Test_popupwin_21.dump
1024
1025Patch 8.2.0097
1026Problem: Crash with autocommand and spellfile. (Tim Pope)
1027Solution: Do not pop exestack when not pushed. (closes #5450)
1028Files: src/testdir/test_autocmd.vim, src/spellfile.c
1029
1030Patch 8.2.0098
1031Problem: Exe stack length can be wrong without being detected.
1032Solution: Add a check when ABORT_ON_INTERNAL_ERROR is defined.
1033Files: src/macros.h, src/autocmd.c, src/buffer.c, src/ex_docmd.c,
1034 src/main.c, src/map.c, src/scriptfile.c, src/spellfile.c,
1035 src/userfunc.c
1036
1037Patch 8.2.0099
1038Problem: Use of NULL pointer when out of memory.
1039Solution: Check for NULL pointer. (Dominique Pellé, closes #5449)
1040Files: src/cmdexpand.c
1041
1042Patch 8.2.0100
1043Problem: Macros for Ruby are too complicated.
1044Solution: Do not use DYNAMIC_RUBY_VER, use RUBY_VERSION. (Ken Takata,
1045 closes #5452)
1046Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/auto/configure,
1047 src/configure.ac, src/if_ruby.c
1048
1049Patch 8.2.0101
1050Problem: Crash when passing null object to ":echomsg".
1051Solution: Check for NULL pointer. (Yasuhiro Matsumoto, closes #5460)
1052Files: src/eval.c, src/testdir/test_messages.vim
1053
1054Patch 8.2.0102
1055Problem: Messages test fails in small version.
1056Solution: Only use test_null_job() when available.
1057Files: src/testdir/test_messages.vim
1058
1059Patch 8.2.0103
1060Problem: Using null object with execute() has strange effects.
1061Solution: Give an error message for Job and Channel.
1062Files: src/testdir/test_execute_func.vim, src/globals.h, src/eval.c,
1063 src/evalfunc.c
1064
1065Patch 8.2.0104
1066Problem: Using channel or job with ":execute" has strange effects.
1067Solution: Give an error message for Job and Channel.
1068Files: src/testdir/test_eval_stuff.vim, src/eval.c
1069
1070Patch 8.2.0105
1071Problem: Vim license not easy to find on github.
1072Solution: Add a separate LICENCE file. (closes #5458)
1073Files: LICENSE, Filelist
1074
1075Patch 8.2.0106
1076Problem: Printf formats are not exactly right.
1077Solution: Adjust signed/unsigned conversions. (Frazer Clews, closes #5456)
1078Files: runtime/tools/ccfilter.c, src/libvterm/src/parser.c,
1079 src/libvterm/src/pen.c, src/ui.c
1080
1081Patch 8.2.0107
1082Problem: Hgignore is out of sync from gitignore.
1083Solution: Add lines to hgignore. (Ken Takata)
Bram Moolenaar47c532e2022-03-19 15:18:53 +00001084Files: .hgignore
Bram Moolenaarc51cf032022-02-26 12:25:45 +00001085
1086Patch 8.2.0108
1087Problem: When sign text is changed a manual redraw is needed. (Pontus
1088 Lietzler)
1089Solution: Redraw automatically. (closes #5455)
1090Files: src/testdir/test_signs.vim, src/sign.c,
1091 src/testdir/dumps/Test_sign_cursor_1.dump,
1092 src/testdir/dumps/Test_sign_cursor_2.dump,
1093 src/testdir/dumps/Test_sign_cursor_3.dump,
1094 src/testdir/dumps/Test_sign_cursor_01.dump,
1095 src/testdir/dumps/Test_sign_cursor_02.dump
1096
1097Patch 8.2.0109
1098Problem: Corrupted text properties when expanding spaces.
1099Solution: Reallocate the line. (Nobuhiro Takasaki, closes #5457)
1100Files: src/edit.c, src/testdir/test_textprop.vim
1101
1102Patch 8.2.0110
1103Problem: prop_find() is not implemented.
1104Solution: Implement prop_find(). (Ryan Hackett, closes #5421, closes #4970)
1105Files: src/evalfunc.c, src/proto/textprop.pro,
1106 src/testdir/test_textprop.vim, src/textprop.c,
1107 runtime/doc/textprop.txt
1108
1109Patch 8.2.0111
1110Problem: VAR_SPECIAL is also used for booleans.
1111Solution: Add VAR_BOOL for better type checking.
1112Files: src/structs.h, src/dict.c, src/eval.c, src/evalfunc.c,
1113 src/evalvars.c, src/if_lua.c, src/if_mzsch.c, src/if_py_both.h,
1114 src/if_ruby.c, src/json.c, src/popupmenu.c, src/proto/dict.pro,
1115 src/testing.c, src/vim.h, src/viminfo.c
1116
1117Patch 8.2.0112
1118Problem: Illegal memory access when using 'cindent'.
1119Solution: Check for NUL byte. (Dominique Pellé, closes #5470)
1120Files: src/cindent.c, src/testdir/test_cindent.vim
1121
1122Patch 8.2.0113 (after 8.2.0095)
1123Problem: "make cmdidxs" fails.
1124Solution: Allow address for ":cquit". Add --not-a-term to avoid a delay.
1125Files: src/ex_cmds.h, src/Makefile, src/Make_cyg_ming.mak,
1126 src/Make_mvc.mak
1127
1128Patch 8.2.0114
1129Problem: Info about sourced scripts is scattered.
1130Solution: Use scriptitem_T for info about a script, including s: variables.
1131 Drop ga_scripts.
1132Files: src/structs.h, src/evalvars.c, src/scriptfile.c, src/eval.c
1133
1134Patch 8.2.0115
1135Problem: Byte2line() does not work correctly with text properties. (Billie
1136 Cleek)
1137Solution: Take the bytes of the text properties into account.
1138 (closes #5334)
1139Files: src/testdir/test_textprop.vim, src/memline.c
1140
1141Patch 8.2.0116
1142Problem: BufEnter autocmd not triggered on ":tab drop". (Andy Stewart)
1143Solution: Decrement autocmd_no_enter for the last file. (closes #1660,
1144 closes #5473)
1145Files: src/arglist.c, src/testdir/test_tabpage.vim
1146
1147Patch 8.2.0117
1148Problem: Crash when using gettabwinvar() with invalid arguments. (Yilin
1149 Yang)
1150Solution: Use "curtab" if "tp" is NULL. (closes #5475)
1151Files: src/evalwindow.c, src/testdir/test_getvar.vim
1152
1153Patch 8.2.0118
1154Problem: Crash when cycling to buffers involving popup window .
1155Solution: Do not decrement buffer reference count.
1156Files: src/popupwin.c, src/testdir/test_popupwin.vim,
1157 src/testdir/dumps/Test_popupwin_infopopup_7.dump
1158
1159Patch 8.2.0119
1160Problem: Message test fails on some platforms. (Elimar Riesebieter)
1161Solution: Add type cast to vim_snprintf() argument. (Dominique Pellé)
1162Files: src/message_test.c
1163
1164Patch 8.2.0120
1165Problem: virtcol() does not check arguments to be valid, which may lead to
1166 a crash.
1167Solution: Check the column to be valid. Do not decrement MAXCOL.
1168 (closes #5480)
1169Files: src/evalfunc.c, src/testdir/test_marks.vim
1170
1171Patch 8.2.0121
1172Problem: filter() and map() on blob don't work.
1173Solution: Correct the code. (closes #5483)
1174Files: src/list.c, src/testdir/test_blob.vim
1175
1176Patch 8.2.0122
1177Problem: Readme files still mention MS-DOS.
1178Solution: Update readme files. (Ken Takata, closes #5486)
1179Files: README.md, README.txt, READMEdir/README_dos.txt,
1180 READMEdir/README_srcdos.txt, READMEdir/README_w32s.txt,
1181 runtime/doc/os_win32.txt
1182
1183Patch 8.2.0123
1184Problem: complete_info() does not work when CompleteDone is triggered.
1185Solution: Trigger CompleteDone before clearing the info.
1186Files: src/insexpand.c, runtime/doc/autocmd.txt,
1187 src/testdir/test_ins_complete.vim
1188
1189Patch 8.2.0124
1190Problem: Compiler warnings for variable types.
1191Solution: Change type, add type cast. (Mike Williams)
1192Files: src/memline.c
1193
1194Patch 8.2.0125
1195Problem: :mode no longer works for any system.
1196Solution: Always give an error message.
1197Files: src/ex_docmd.c, runtime/doc/quickref.txt, src/os_amiga.c,
1198 src/proto/os_amiga.pro, src/os_mswin.c, src/proto/os_mswin.pro,
1199 src/os_unix.c, src/proto/os_unix.pro
1200
1201Patch 8.2.0126 (after 8.2.0124)
1202Problem: Textprop test fails.
1203Solution: Fix sign in computation.
1204Files: src/memline.c
1205
1206Patch 8.2.0127
1207Problem: Some buffer commands work in a popup window.
1208Solution: Disallow :bnext, :bprev, etc. (Naruhiko Nishino, closes #5494)
1209Files: src/ex_docmd.c, src/testdir/test_popupwin.vim
1210
1211Patch 8.2.0128
1212Problem: Cannot list options one per line.
1213Solution: Use ":set!" to list one option per line.
1214Files: src/ex_docmd.c, src/option.c, src/proto/option.pro, src/vim.h,
1215 src/ex_cmds.h, src/optiondefs.h, src/testdir/test_options.vim,
1216 runtime/doc/options.txt
1217
1218Patch 8.2.0129
1219Problem: MS-Windows installer doesn't use Turkish translations.
1220Solution: Enable the Turkish translations and fix a few. (Emir Sarı,
1221 closes #5493)
1222Files: nsis/gvim.nsi, nsis/lang/turkish.nsi
1223
1224Patch 8.2.0130
1225Problem: Python3 ranges are not tested.
1226Solution: Add test. (Dominique Pellé, closes #5498)
1227Files: src/testdir/test_python3.vim
1228
1229Patch 8.2.0131
1230Problem: Command line is not cleared when switching tabs and the command
1231 line height differs.
1232Solution: Set the "clear_cmdline" flag when needed. (Naruhiko Nishino,
1233 closes #5495)
1234Files: src/testdir/dumps/Test_cmdlineclear_tabenter.dump,
1235 src/testdir/test_cmdline.vim, src/window.c
1236
1237Patch 8.2.0132
1238Problem: Script may be re-used when deleting and creating a new one.
1239Solution: When the inode matches, also check the file name.
1240Files: src/scriptfile.c, src/testdir/test_source.vim
1241
1242Patch 8.2.0133
1243Problem: Invalid memory access with search command.
1244Solution: When :normal runs out of characters in bracketed paste mode break
1245 out of the loop.(closes #5511)
1246Files: src/testdir/test_search.vim, src/edit.c
1247
1248Patch 8.2.0134
1249Problem: Some map functionality not covered by tests.
1250Solution: Add tests. (Yegappan Lakshmanan, closes #5504)
1251Files: src/testdir/test_maparg.vim, src/testdir/test_mapping.vim
1252
1253Patch 8.2.0135 (after 8.2.0133)
1254Problem: Bracketed paste can still cause invalid memory access. (Dominique
1255 Pellé)
1256Solution: Check for NULL pointer.
1257Files: src/edit.c, src/testdir/test_search.vim
1258
1259Patch 8.2.0136
1260Problem: Stray ch_logfile() call.
1261Solution: Remove it. (closes #5503)
1262Files: src/testdir/test_source.vim
1263
1264Patch 8.2.0137
1265Problem: Crash when using win_execute() from a new tab.
1266Solution: Set the tp_*win pointers. (Ozaki Kiichi, closes #5512)
1267Files: src/testdir/test_winbuf_close.vim, src/window.c
1268
1269Patch 8.2.0138
1270Problem: Memory leak when starting a job fails.
1271Solution: Free the list of arguments. (Ozaki Kiichi, closes #5510)
1272Files: src/channel.c, src/testdir/test_channel.vim
1273
1274Patch 8.2.0139
1275Problem: MS-Windows: default for IME is inconsistent.
1276Solution: Also make IME default enabled with MVC. (Ken Takata, closes #5508)
1277Files: src/Make_mvc.mak
1278
1279Patch 8.2.0140
1280Problem: CI does not test building doc tags.
1281Solution: Add the vimtags/gcc build. Cleanup showing version. (Ozaki Kiichi,
1282 closes #5513)
1283Files: .travis.yml, Filelist, ci/if_ver-1.vim, ci/if_ver-2.vim,
1284 ci/if_ver-cmd.vim, runtime/doc/Makefile, runtime/doc/doctags.vim,
1285 src/testdir/if_ver-1.vim, src/testdir/if_ver-2.vim
1286
1287Patch 8.2.0141
1288Problem: No swift filetype detection.
1289Solution: Add swift, swiftgyb and sil. (Emir Sarı, closes #5517)
1290Files: runtime/filetype.vim, src/testdir/test_filetype.vim
1291
1292Patch 8.2.0142
1293Problem: Possible to enter popup window with CTRL-W p. (John Devin)
1294Solution: Check entered window is not a popup window. (closes #5515)
1295Files: src/window.c, src/popupwin.c, src/testdir/test_popupwin.vim,
1296 src/testdir/dumps/Test_popupwin_previewpopup_9.dump,
1297 src/testdir/dumps/Test_popupwin_previewpopup_10.dump
1298
1299Patch 8.2.0143
1300Problem: Coverity warning for possible use of NULL pointer.
1301Solution: Check argv is not NULL.
1302Files: src/channel.c
1303
1304Patch 8.2.0144
1305Problem: Some mapping code is not fully tested.
1306Solution: Add more test cases. (Yegappan Lakshmanan, closes #5519)
1307Files: src/testdir/test_langmap.vim, src/testdir/test_maparg.vim,
1308 src/testdir/test_mapping.vim
1309
1310Patch 8.2.0145
1311Problem: Using #error for compilation errors should be OK now.
1312Solution: Use #error. (Ken Takata, closes #5299)
1313Files: src/blowfish.c, src/vim.h
1314
1315Patch 8.2.0146
1316Problem: Wrong indent when 'showbreak' and 'breakindent' are set and
1317 'briopt' includes "sbr".
1318Solution: Reset "need_showbreak" where needed. (Ken Takata, closes #5523)
1319Files: src/drawline.c, src/testdir/test_breakindent.vim
1320
1321Patch 8.2.0147
1322Problem: Block Visual mode operators not correct when 'linebreak' set.
1323Solution: Set w_p_lbr to lbr_saved more often. (Ken Takata, closes #5524)
1324Files: src/ops.c, src/testdir/test_listlbr.vim
1325
1326Patch 8.2.0148
1327Problem: Mapping related function in wrong source file.
1328Solution: Move the function. Add a few more test cases. (Yegappan
1329 Lakshmanan, closes #5528)
1330Files: src/map.c, src/proto/term.pro, src/term.c,
1331 src/testdir/test_mapping.vim
1332
1333Patch 8.2.0149
1334Problem: Maintaining a Vim9 branch separately is more work.
1335Solution: Merge the Vim9 script changes.
1336Files: README.md, README_VIM9.md, runtime/doc/Makefile,
1337 runtime/doc/eval.txt, runtime/doc/options.txt, runtime/doc/tags,
1338 runtime/doc/vim9.txt, runtime/ftplugin/vim.vim,
1339 runtime/indent/vim.vim, runtime/syntax/vim.vim,
1340 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Makefile, src/blob.c,
1341 src/channel.c, src/dict.c, src/eval.c, src/evalbuffer.c,
1342 src/evalfunc.c, src/evalvars.c, src/ex_cmdidxs.h, src/ex_cmds.h,
1343 src/ex_docmd.c, src/ex_eval.c, src/filepath.c, src/globals.h,
1344 src/gui.c, src/if_lua.c, src/if_py_both.h, src/insexpand.c,
1345 src/json.c, src/list.c, src/macros.h, src/main.c, src/message.c,
1346 src/misc1.c, src/proto.h, src/proto/blob.pro, src/proto/eval.pro,
1347 src/proto/evalfunc.pro, src/proto/evalvars.pro,
1348 src/proto/ex_docmd.pro, src/proto/ex_eval.pro, src/proto/list.pro,
1349 src/proto/message.pro, src/proto/scriptfile.pro,
1350 src/proto/userfunc.pro, src/proto/vim9compile.pro,
1351 src/proto/vim9execute.pro, src/proto/vim9script.pro,
1352 src/scriptfile.c, src/session.c, src/structs.h, src/syntax.c,
1353 src/testdir/Make_all.mak, src/testdir/test_vim9_expr.vim,
1354 src/testdir/test_vim9_script.vim, src/testing.c, src/userfunc.c,
1355 src/vim.h, src/vim9.h, src/vim9compile.c, src/vim9execute.c,
1356 src/vim9script.c, src/viminfo.c
1357
1358Patch 8.2.0150
1359Problem: Cannot define python function when using :execute. (Yasuhiro
1360 Matsumoto)
1361Solution: Do not recognize "def" inside "function.
1362Files: src/testdir/test_vim9_script.vim, src/userfunc.c
1363
1364Patch 8.2.0151
1365Problem: Detecting a script was already sourced is unreliable.
1366Solution: Do not use the inode number.
1367Files: src/scriptfile.c, src/structs.h, src/testdir/test_vim9_script.vim
1368
1369Patch 8.2.0152
1370Problem: Restoring ctrl_x_mode is not needed.
1371Solution: Remove restoring the old value, it's changed again soon.
1372Files: src/insexpand.c
1373
1374Patch 8.2.0153
1375Problem: Warning shows when listing version info.
1376Solution: Use "-u NONE". (Ozaki Kiichi, closes #5534)
1377Files: .travis.yml
1378
1379Patch 8.2.0154
1380Problem: Reallocating the list of scripts is inefficient.
1381Solution: Instead of using a growarray of scriptitem_T, store pointers and
1382 allocate each scriptitem_T separately. Also avoids that the
1383 growarray pointers change when sourcing a new script.
1384Files: src/globals.h, src/eval.c, src/evalvars.c, src/ex_docmd.c,
1385 src/profiler.c, src/scriptfile.c, src/vim9compile.c,
1386 src/vim9execute.c, src/vim9script.c
1387
1388Patch 8.2.0155
1389Problem: Warnings from MinGW compiler. (John Marriott) Json test fails when
1390 building without +float feature.
1391Solution: Init variables. Fix Json parsing. Skip a few tests that require
1392 the +float feature.
1393Files: src/vim9script.c, src/vim9compile.c, src/vim9execute.c,
1394 src/if_py_both.h, src/json.c, src/testdir/test_method.vim
1395
1396Patch 8.2.0156
1397Problem: Various typos in source files and tests.
1398Solution: Fix the typos. (Emir Sarı, closes #5532)
1399Files: Makefile, src/INSTALLvms.txt, src/Make_vms.mms, src/beval.h,
1400 src/buffer.c, src/charset.c, src/evalvars.c, src/ex_cmds.c,
1401 src/ex_docmd.c, src/getchar.c, src/gui.c, src/gui_mac.c,
1402 src/gui_photon.c, src/if_perl.xs,
1403 src/libvterm/t/11state_movecursor.test,
1404 src/libvterm/t/41screen_unicode.test, src/mbyte.c, src/memline.c,
1405 src/normal.c, src/ops.c, src/option.c, src/option.h,
1406 src/os_unix.c, src/os_win32.c, src/quickfix.c, src/register.c,
1407 src/spell.c, src/tag.c, src/term.c,
1408 src/testdir/test_breakindent.vim, src/testdir/test_channel.vim,
1409 src/testdir/test_cindent.vim, src/testdir/test_digraph.vim,
1410 src/testdir/test_edit.vim, src/testdir/test_netbeans.vim,
1411 src/testdir/test_quickfix.vim, src/testdir/test_registers.vim,
1412 src/testdir/test_stat.vim, src/ui.c, src/xxd/xxd.c
1413
1414Patch 8.2.0157
1415Problem: Vim9 script files not in list of distributed files.
1416Solution: Add the entries.
1417Files: Filelist
1418
1419Patch 8.2.0158 (after 8.2.0123)
1420Problem: Triggering CompleteDone earlier is not backwards compatible.
1421 (Daniel Hahler)
1422Solution: Add CompleteDonePre instead.
1423Files: src/insexpand.c, runtime/doc/autocmd.txt, src/autocmd.c,
1424 src/vim.h, src/testdir/test_ins_complete.vim
1425
1426Patch 8.2.0159
1427Problem: Non-materialized range() list causes problems. (Fujiwara Takuya)
1428Solution: Materialize the list where needed.
1429Files: src/testdir/test_functions.vim, src/testdir/test_python3.vim,
1430 src/userfunc.c, src/evalfunc.c, src/highlight.c, src/evalvars.c,
1431 src/popupmenu.c, src/insexpand.c, src/json.c, src/channel.c,
1432 src/eval.c
1433
1434Patch 8.2.0160 (after 8.2.0159)
1435Problem: Range test fails.
1436Solution: Include change in list code. (#5541)
1437Files: src/list.c
1438
1439Patch 8.2.0161
1440Problem: Not recognizing .gv file as dot filetype.
1441Solution: Add *.gv to dot pattern. (closes #5544)
1442Files: runtime/filetype.vim, src/testdir/test_filetype.vim
1443
1444Patch 8.2.0162
1445Problem: Balloon test fails in the GUI.
1446Solution: Skip test in the GUI.
1447Files: src/testdir/test_functions.vim
1448
1449Patch 8.2.0163
1450Problem: Test hangs on MS-Windows console.
1451Solution: use feedkeys() instead of test_feedinput(). (Ken Takata)
1452Files: src/testdir/test_functions.vim, src/testing.c
1453
1454Patch 8.2.0164
1455Problem: Test_alot takes too long.
1456Solution: Run several tests individually.
1457Files: src/testdir/test_alot.vim, src/testdir/Make_all.mak
1458
1459Patch 8.2.0165
1460Problem: Coverity warning for using NULL pointer.
1461Solution: Add missing "else".
1462Files: src/vim9compile.c
1463
1464Patch 8.2.0166
1465Problem: Coverity warning for using uninitialized variable.
1466Solution: Check for failure.
1467Files: src/vim9execute.c
1468
1469Patch 8.2.0167
1470Problem: Coverity warning for ignoring return value.
1471Solution: Check the return value and jump if failed.
1472Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
1473
1474Patch 8.2.0168
1475Problem: Coverity warning for assigning NULL to an option.
1476Solution: Use empty string instead of NULL.
1477Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
1478
1479Patch 8.2.0169
1480Problem: Coverity warning for dead code.
1481Solution: Check if inside try-finally.
1482Files: src/vim9execute.c
1483
1484Patch 8.2.0170
1485Problem: Coverity warning for ignoring return value.
1486Solution: Check the return value and return if failed.
1487Files: src/vim9compile.c
1488
1489Patch 8.2.0171
1490Problem: Coverity warning for using uninitialized buffer.
1491Solution: Check the skip flag.
1492Files: src/userfunc.c
1493
1494Patch 8.2.0172
1495Problem: Coverity warning for not restoring character.
1496Solution: Restore the character also in case of failure.
1497Files: src/vim9script.c
1498
1499Patch 8.2.0173
1500Problem: Build fails with old compiler.
1501Solution: Do not use anonymous unions. (John Marriott)
1502Files: src/vim9compile.c, src/evalvars.c, src/list.c, src/structs.h,
1503 src/evalfunc.c, src/channel.c, src/if_mzsch.c, src/if_py_both.h
1504
1505Patch 8.2.0174
1506Problem: Various commands not completely tested.
1507Solution: Add more test cases. (Yegappan Lakshmanan, closes #5551)
1508Files: src/testdir/test_excmd.vim, src/testdir/test_fnameescape.vim,
1509 src/testdir/test_ga.vim, src/testdir/test_global.vim,
1510 src/testdir/test_move.vim, src/testdir/test_options.vim,
1511 src/testdir/test_packadd.vim, src/testdir/test_sort.vim,
1512 src/testdir/test_substitute.vim, src/testdir/test_textformat.vim,
1513 src/testdir/test_writefile.vim
1514
1515Patch 8.2.0175
1516Problem: Crash when removing list element in map().
1517Solution: Lock the list. (closes #2652)
1518Files: src/testdir/test_filter_map.vim, src/list.c
1519
1520Patch 8.2.0176
1521Problem: Generating os headers does not work for Swedish.
1522Solution: Set the locale to C. (Christian Brabandt, closes #5258)
1523Files: src/osdef.sh
1524
1525Patch 8.2.0177
1526Problem: Memory leak in get_tags().
1527Solution: Free matches when finding a pseudo-tag line. (Dominique Pellé,
1528 closes #5553)
1529Files: src/tag.c
1530
1531Patch 8.2.0178
1532Problem: With VTP the screen may not be restored properly.
1533Solution: Add another set of saved RGB values. (Nobuhiro Takasaki,
1534 closes #5548)
1535Files: src/os_win32.c
1536
1537Patch 8.2.0179
1538Problem: Still a few places where range() does not work.
1539Solution: Fix using range() causing problems.
1540Files: src/terminal.c, src/testdir/test_functions.vim,
1541 src/testdir/test_popupwin.vim, src/popupwin.c, src/tag.c,
1542 src/testdir/dumps/Test_popupwin_20.dump,
1543 src/testdir/dumps/Test_popupwin_21.dump,
1544 src/testdir/dumps/Test_popup_settext_07.dump, src/globals.h
1545
1546Patch 8.2.0180
1547Problem: Test for wrapmargin fails if terminal is not 80 columns.
1548Solution: Vertical split the window. (Ken Takata, closes #5554)
1549Files: src/testdir/test_textformat.vim
1550
1551Patch 8.2.0181
1552Problem: Problems parsing :term arguments.
1553Solution: Improve parsing, fix memory leak, add tests. (Ozaki Kiichi,
1554 closes #5536)
1555Files: src/channel.c, src/proto/channel.pro, src/structs.h,
1556 src/terminal.c, src/testdir/test_terminal.vim
1557
1558Patch 8.2.0182
1559Problem: Min() and max() materialize a range() list.
1560Solution: Compute the result without materializing the list. (#5541)
1561Files: src/evalfunc.c
1562
1563Patch 8.2.0183
1564Problem: Tests fail when the float feature is disabled.
1565Solution: Skip tests that don't work without float support.
1566Files: src/testdir/shared.vim, src/testdir/test_blob.vim,
1567 src/testdir/test_channel.vim, src/testdir/test_cscope.vim,
1568 src/testdir/test_execute_func.vim, src/testdir/test_expr.vim,
1569 src/testdir/test_functions.vim, src/testdir/test_lambda.vim,
1570 src/testdir/test_listdict.vim, src/testdir/test_lua.vim,
1571 src/testdir/test_options.vim, src/testdir/test_partial.vim,
1572 src/testdir/test_ruby.vim, src/testdir/test_sort.vim,
1573 src/testdir/test_timers.vim, src/testdir/test_true_false.vim,
1574 src/testdir/test_user_func.vim, src/testdir/test_vim9_expr.vim,
1575 src/testdir/test_vimscript.vim, src/testdir/test_regexp_latin.vim,
1576 src/testdir/test_glob2regpat.vim
1577
1578Patch 8.2.0184
1579Problem: Blob test fails.
1580Solution: Check for different error when float feature is missing.
1581Files: src/testdir/test_blob.vim
1582
1583Patch 8.2.0185
1584Problem: Vim9 script: cannot use "if has()" to skip lines.
1585Solution: Evaluate constant expression at runtime.
1586Files: src/vim9compile.c, src/evalfunc.c, src/proto/evalfunc.pro,
1587 src/userfunc.c, src/testdir/test_vim9_script.vim
1588
1589Patch 8.2.0186
1590Problem: A couple of tests may fail when features are missing.
1591Solution: Check for features. (Dominique Pellé, closes #5561)
1592Files: src/testdir/test_functions.vim, src/testdir/test_highlight.vim
1593
1594Patch 8.2.0187
1595Problem: Redundant code.
1596Solution: Remove unused assignments. (Dominique Pellé, closes #5557)
1597Files: src/vim9compile.c
1598
1599Patch 8.2.0188
1600Problem: Check commands don't work well with Vim9 script.
1601Solution: Improve constant expression handling.
1602Files: src/vim9compile.c, src/testdir/check.vim,
1603 src/testdir/test_vim9_expr.vim
1604
1605Patch 8.2.0189
1606Problem: cd() with NULL argument crashes.
1607Solution: Check for NULL. (Ken Takata, closes #5558)
1608Files: src/testdir/test_cd.vim, src/ex_docmd.c
1609
1610Patch 8.2.0190
1611Problem: Kotlin files are not recognized.
1612Solution: Detect Kotlin files. (Alkeryn, closes #5560)
1613Files: runtime/filetype.vim, src/testdir/test_filetype.vim
1614
1615Patch 8.2.0191
1616Problem: Cannot put a terminal in a popup window.
1617Solution: Allow opening a terminal in a popup window. It will always have
1618 keyboard focus until closed.
1619Files: src/popupwin.c, src/proto/popupwin.pro, src/terminal.c,
1620 src/proto/terminal.pro, src/macros.h, src/mouse.c,
1621 src/highlight.c, src/drawline.c, src/optionstr.c, src/window.c,
1622 src/testdir/test_terminal.vim,
1623 src/testdir/dumps/Test_terminal_popup_1.dump,
1624 src/testdir/dumps/Test_terminal_popup_2.dump,
1625 src/testdir/dumps/Test_terminal_popup_3.dump
1626
1627Patch 8.2.0192 (after 8.2.0191)
1628Problem: Build failure without +terminal feature.
1629Solution: Add #ifdefs.
1630Files: src/popupwin.c
1631
1632Patch 8.2.0193 (after 8.2.0191)
1633Problem: Still build failure without +terminal feature.
1634Solution: Add more #ifdefs.
1635Files: src/macros.h
1636
1637Patch 8.2.0194 (after 8.2.0193)
1638Problem: Some commands can cause problems in terminal popup.
1639Solution: Disallow more commands.
1640Files: src/macros.h, src/popupwin.c, src/proto/popupwin.pro,
1641 src/arglist.c, src/ex_docmd.c, src/window.c,
1642 src/testdir/test_terminal.vim
1643
1644Patch 8.2.0195
1645Problem: Some tests fail when run in the GUI.
1646Solution: Make sure the window width is enough. In the GUI run terminal Vim
1647 in the terminal, if possible.
1648Files: src/testdir/test_highlight.vim, src/testdir/check.vim,
1649 src/testdir/test_terminal.vim
1650
1651Patch 8.2.0196
1652Problem: Blocking commands for a finished job in a popup window.
1653Solution: Do not block commands if the job has finished. Adjust test.
1654Files: src/popupwin.c, src/testdir/test_popupwin.vim, src/window.c,
1655 src/terminal.c, src/proto/terminal.pro
1656
1657Patch 8.2.0197
1658Problem: Some Ex commands not sufficiently tested.
1659Solution: Add more tests. (Yegappan Lakshmanan, closes #5565)
1660Files: src/testdir/test_global.vim, src/testdir/test_help.vim,
1661 src/testdir/test_help_tagjump.vim, src/testdir/test_options.vim,
1662 src/testdir/test_substitute.vim, src/testdir/test_textformat.vim,
1663 src/testdir/test_writefile.vim
1664
1665Patch 8.2.0198
1666Problem: No tests for y/n prompt.
1667Solution: Add tests. (Dominique Pellé, closes #5564)
1668Files: src/testdir/test_messages.vim
1669
1670Patch 8.2.0199
1671Problem: Vim9 script commands not sufficiently tested.
1672Solution: Add more tests. Fix script-local function use.
1673Files: src/vim9execute.c, src/testdir/test_vim9_script.vim,
1674 src/userfunc.c
1675
1676Patch 8.2.0200
1677Problem: Vim9 script commands not sufficiently tested.
1678Solution: Add more tests. Fix storing global variable. Make script
1679 variables work.
1680Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/evalvars.c,
1681 src/proto/evalvars.pro, src/testdir/test_vim9_script.vim,
1682 src/misc1.c, src/proto/misc1.pro
1683
1684Patch 8.2.0201
1685Problem: Cannot assign to an imported variable.
1686Solution: Make it work.
1687Files: src/evalvars.c, src/vim9compile.c, src/proto/vim9compile.pro,
1688 src/userfunc.c, src/testdir/test_vim9_script.vim
1689
1690Patch 8.2.0202
1691Problem: When 'lazyredraw' is set the window title may not be updated.
1692Solution: Set "do_redraw" before entering the main loop. (Jason Franklin)
1693Files: src/main.c
1694
1695Patch 8.2.0203
1696Problem: :helptags and some other functionality not tested.
1697Solution: Add more tests. (Yegappan Lakshmanan, closes #5567)
1698Files: src/testdir/test_compiler.vim, src/testdir/test_ex_mode.vim,
1699 src/testdir/test_excmd.vim, src/testdir/test_filechanged.vim,
1700 src/testdir/test_help.vim, src/testdir/test_help_tagjump.vim,
1701 src/testdir/test_timers.vim, src/testdir/test_window_cmd.vim
1702
1703Patch 8.2.0204
1704Problem: Crash when using winnr('j') in a popup window.
1705Solution: Do not search for neighbors in a popup window. (closes #5568)
1706Files: src/window.c, src/testdir/test_popupwin.vim, src/evalwindow.c
1707
1708Patch 8.2.0205
1709Problem: Error code E899 used twice.
1710Solution: Use E863 for the terminal in popup error.
1711Files: src/popupwin.c
1712
1713Patch 8.2.0206
1714Problem: Calling Vim9 function using default argument fails.
1715Solution: Give an appropriate error. (closes #5572)
1716Files: src/testdir/test_vim9_script.vim, src/vim9compile.c,
1717 src/vim9execute.c
1718
1719Patch 8.2.0207
1720Problem: Crash when missing member type on list argument.
1721Solution: Check for invalid type. (closes #5572)
1722Files: src/userfunc.c, src/testdir/test_vim9_script.vim
1723
1724Patch 8.2.0208
1725Problem: Fnamemodify() does not apply ":~" when followed by ":.".
1726Solution: Don't let a failing ":." cause the ":~" to be skipped. (Yasuhiro
1727 Matsumoto, closes #5577)
1728Files: runtime/doc/cmdline.txt, src/filepath.c,
1729 src/testdir/test_fnamemodify.vim
1730
1731Patch 8.2.0209
1732Problem: Function a bit far away from where it's used.
1733Solution: Move function close to where it's used. (Ken Takata, closes #5569)
1734Files: src/fileio.c, src/filepath.c
1735
1736Patch 8.2.0210
1737Problem: Coverity complains about uninitialized field.
1738Solution: Initialize the field.
1739Files: src/vim9compile.c
1740
1741Patch 8.2.0211
1742Problem: Test for ANSI colors fails without an "ls" command.
1743Solution: Use "dir". (Ken Takata, closes #5582)
1744Files: src/testdir/test_functions.vim
1745
1746Patch 8.2.0212
1747Problem: Missing search/substitute pattern hardly tested.
1748Solution: Add test_clear_search_pat() and tests. (Yegappan Lakshmanan,
1749 closes #5579)
1750Files: runtime/doc/eval.txt, runtime/doc/testing.txt,
1751 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/regexp.pro,
1752 src/proto/search.pro, src/proto/testing.pro, src/regexp.c,
1753 src/search.c, src/testdir/test_quickfix.vim,
1754 src/testdir/test_search.vim, src/testdir/test_sort.vim,
1755 src/testdir/test_substitute.vim, src/testing.c
1756
1757Patch 8.2.0213
1758Problem: Configure does not recognize gcc 10.0 and later.
1759Solution: Adjust the pattern matching the version number. (Sergei
1760 Trofimovich, closes #5580)
1761Files: src/configure.ac, src/auto/configure
1762
1763Patch 8.2.0214
1764Problem: A popup window with a terminal can be made hidden.
1765Solution: Disallow hiding a terminal popup.
1766Files: src/testdir/test_terminal.vim, src/popupwin.c,
1767 src/testdir/dumps/Test_terminal_popup_4.dump
1768
1769Patch 8.2.0215 (after 8.2.0208)
1770Problem: Wrong file name shortening. (Ingo Karkat)
1771Solution: Better check for path separator. (Yasuhiro Matsumoto,
1772 closes #5583, closes #5584)
1773Files: src/filepath.c, src/testdir/test_fnamemodify.vim
1774
1775Patch 8.2.0216
1776Problem: Several Vim9 instructions are not tested.
1777Solution: Add more tests. Fix :disassemble output. Make catch with pattern
1778 work.
1779Files: src/testdir/test_vim9_script.vim, src/vim9execute.c,
1780 src/vim9compile.c
1781
1782Patch 8.2.0217 (after 8.2.0214)
1783Problem: Terminal test fails on Mac.
1784Solution: Add a short wait.
1785Files: src/testdir/test_terminal.vim
1786
1787Patch 8.2.0218
1788Problem: Several Vim9 instructions are not tested.
1789Solution: Add more tests.
1790Files: src/testdir/test_vim9_script.vim
1791
1792Patch 8.2.0219 (after 8.2.0217)
1793Problem: Terminal test still fails on Mac.
1794Solution: Skip part of the test on Mac.
1795Files: src/testdir/test_terminal.vim
1796
1797Patch 8.2.0220
1798Problem: Terminal test did pass on Mac.
1799Solution: Remove the skip again.
1800Files: src/testdir/test_terminal.vim
1801
1802Patch 8.2.0221
1803Problem: No test for Vim9 += and ..=.
1804Solution: Add tests.
1805Files: src/testdir/test_vim9_script.vim
1806
1807Patch 8.2.0222
1808Problem: Vim9: optional function arguments don't work yet.
1809Solution: Implement optional function arguments.
1810Files: src/userfunc.c, src/vim9compile.c, src/vim9execute.c,
1811 src/structs.h, src/testdir/test_vim9_script.vim
1812
1813Patch 8.2.0223
1814Problem: Some instructions not yet tested.
1815Solution: Disassemble more instructions. Move tests to a new file. Compile
1816 call to s:function().
1817Files: src/testdir/test_vim9_script.vim, src/testdir/Make_all.mak,
1818 src/testdir/test_vim9_disassemble.vim, src/vim9compile.c,
1819 src/userfunc.c, src/proto/userfunc.pro, src/vim.h
1820
1821Patch 8.2.0224
1822Problem: compiling :elseif not tested yet.
1823Solution: Add test for :elseif. Fix generating jumps.
1824Files: src/testdir/test_vim9_script.vim, src/vim9compile.c,
1825 src/testdir/test_vim9_disassemble.vim
1826
1827Patch 8.2.0225
1828Problem: compiling lambda not tested yet.
1829Solution: Add test for lambda and funcref. Drop unused instruction arg.
1830Files: src/testdir/test_vim9_disassemble.vim, src/vim9.h,
1831 src/vim9execute.c
1832
1833Patch 8.2.0226
1834Problem: Compiling for loop not tested.
1835Solution: Add a test. Make variable initialization work for more types.
1836Files: src/testdir/test_vim9_disassemble.vim, src/vim9compile.c
1837
1838Patch 8.2.0227
1839Problem: Compiling a few instructions not tested.
1840Solution: Add more test cases.
1841Files: src/testdir/test_vim9_disassemble.vim
1842
1843Patch 8.2.0228
1844Problem: Configure does not recognize gcc version on BSD.
1845Solution: Do not use "\+" in the pattern matching the version number. (Ozaki
1846 Kiichi, closes #5590)
1847Files: src/configure.ac, src/auto/configure
1848
1849Patch 8.2.0229
1850Problem: Compare instructions not tested.
1851Solution: Add test cases. Fix disassemble with line continuation.
1852Files: src/testdir/test_vim9_disassemble.vim, src/vim9execute.c,
1853 src/vim9compile.c
1854
1855Patch 8.2.0230
1856Problem: Terminal popup test is flaky.
1857Solution: Increase wait time a bit.
1858Files: src/testdir/test_terminal.vim
1859
1860Patch 8.2.0231
1861Problem: Silent system command may clear the screen.
1862Solution: Do not clear the screen in t_te.
1863Files: src/term.c
1864
1865Patch 8.2.0232
1866Problem: The :compiler command causes a crash. (Daniel Steinberg)
1867Solution: Do not use the script index if it isn't set.
1868Files: src/ex_docmd.c, src/testdir/test_compiler.vim
1869
1870Patch 8.2.0233
1871Problem: Crash when using garbagecollect() in between rand().
1872Solution: Redesign the rand() and srand() implementation. (Yasuhiro
1873 Matsumoto, closes #5587, closes #5588)
1874Files: src/evalfunc.c, src/testdir/test_random.vim,
1875 runtime/doc/testing.txt, runtime/doc/eval.txt
1876
1877Patch 8.2.0234
1878Problem: Message test fails on SunOS.
1879Solution: Adjust expectation for printf "%p". (Ozaki Kiichi, closes #5595)
1880Files: src/message_test.c
1881
1882Patch 8.2.0235
1883Problem: Draw error when an empty group is removed from 'statusline'.
1884Solution: Do not use highlighting from a removed group.
1885Files: src/buffer.c, src/testdir/test_statusline.vim,
1886 src/testdir/dumps/Test_statusline_1.dump
1887
1888Patch 8.2.0236
1889Problem: MS-Windows uninstall doesn't delete vimtutor.bat.
1890Solution: Change directory before deletion. (Ken Takata, closes #5603)
1891Files: src/uninstall.c
1892
1893Patch 8.2.0237
1894Problem: Crash when setting 'wincolor' on finished terminal window.
1895 (Bakudankun)
1896Solution: Check that the vterm is not NULL. (Yasuhiro Matsumoto, closes
1897 #5607, closes #5610)
1898Files: src/terminal.c, src/testdir/test_terminal.vim
1899
1900Patch 8.2.0238
1901Problem: MS-Windows: job_stop() results in exit value zero.
1902Solution: Call TerminateJobObject() with -1 instead of 0. (Yasuhiro
1903 Matsumoto, closes #5150, closes #5614)
1904Files: src/os_win32.c, src/testdir/test_channel.vim
1905
1906Patch 8.2.0239
1907Problem: MS-Windows: 'env' job option does not override existing
1908 environment variables. (Tim Pope)
1909Solution: Set the environment variables later. (Yasuhiro Matsumoto,
1910 closes #5485, closes #5608)
1911Files: src/os_win32.c, src/testdir/test_channel.vim
1912
1913Patch 8.2.0240
1914Problem: Using memory after it was freed. (Dominique Pellé)
1915Solution: Do not mix conversion buffer with other buffer.
1916Files: src/viminfo.c, src/vim.h
1917
1918Patch 8.2.0241
1919Problem: Crash when setting 'buftype' to "quickfix".
1920Solution: Check that error list is not NULL. (closes #5613)
1921Files: src/quickfix.c, src/testdir/test_quickfix.vim
1922
1923Patch 8.2.0242
1924Problem: Preview popup window test fails with long directory name. (Jakub
1925 Kądziołka)
1926Solution: Use "silent cd". (closes #5615)
1927Files: src/testdir/test_popupwin.vim
1928
1929Patch 8.2.0243
1930Problem: Insufficient code coverage for ex_docmd.c functions.
1931Solution: Add more tests. (Yegappan Lakshmanan, closes #5618)
1932Files: src/testdir/Make_all.mak, src/testdir/test_arglist.vim,
1933 src/testdir/test_buffer.vim, src/testdir/test_cd.vim,
1934 src/testdir/test_cmdline.vim, src/testdir/test_ex_mode.vim,
1935 src/testdir/test_excmd.vim, src/testdir/test_mapping.vim,
1936 src/testdir/test_quickfix.vim, src/testdir/test_search.vim,
1937 src/testdir/test_sort.vim, src/testdir/test_source.vim,
1938 src/testdir/test_substitute.vim, src/testdir/test_undo.vim,
1939 src/testdir/test_vimscript.vim, src/testdir/test_window_cmd.vim,
1940 src/testdir/test_writefile.vim
1941
1942Patch 8.2.0244
1943Problem: Compiler warning in Lua interface.
1944Solution: Add type cast. (Ken Takata, closes #5621)
1945Files: src/if_lua.c
1946
1947Patch 8.2.0245
1948Problem: MSVC: error message if the auto directory already exists.
1949Solution: Add "if not exists". (Ken Takata, closes #5620)
1950Files: src/Make_mvc.mak
1951
1952Patch 8.2.0246
1953Problem: MSVC: deprecation warnings with Ruby.
1954Solution: Move _CRT_SECURE_NO_DEPRECATE to build file. (Ken Takata,
1955 closes #5622)
1956Files: src/Make_mvc.mak, src/if_ruby.c, src/os_win32.h, src/vim.h,
1957 src/vimio.h
1958
1959Patch 8.2.0247
1960Problem: Misleading comment in NSIS installer script.
1961Solution: Negate the meaning of the comment. (Ken Takata, closes #5627)
1962Files: nsis/gvim.nsi
1963
1964Patch 8.2.0248
1965Problem: MS-Windows: dealing with deprecation is too complicated.
1966Solution: Use io.h directly. Move _CRT_SECURE_NO_DEPRECATE to the build
1967 file. Suppress C4091 warning by setting "_WIN32_WINNT". (Ken
1968 Takata, closes #5626)
1969Files: src/Make_mvc.mak, src/dosinst.h, src/vim.h, src/vimio.h,
1970 src/winclip.c, Filelist
1971
1972Patch 8.2.0249
1973Problem: MS-Windows: various warnings.
1974Solution: Set the charset to utf-8. Add _WIN32_WINNT and _USING_V110_SDK71_.
1975 (Ken Takata, closes #5625)
1976Files: src/GvimExt/Makefile, src/Make_mvc.mak
1977
1978Patch 8.2.0250
1979Problem: test_clear_search_pat() is unused.
1980Solution: Remove the function. (Yegappan Lakshmanan, closes #5624)
1981Files: runtime/doc/eval.txt, runtime/doc/testing.txt,
1982 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/regexp.pro,
1983 src/proto/search.pro, src/proto/testing.pro, src/regexp.c,
1984 src/search.c, src/testdir/test_writefile.vim, src/testing.c
1985
1986Patch 8.2.0251
1987Problem: A couple of function return types can be more specific.
1988Solution: Use a better return type. (Ken Takata, closes #5629)
1989Files: src/evalfunc.c, src/globals.h
1990
1991Patch 8.2.0252
1992Problem: Windows compiler warns for using size_t.
1993Solution: Change to int. (Mike Williams)
1994Files: src/vim9compile.c
1995
1996Patch 8.2.0253
1997Problem: Crash when using :disassemble without argument. (Dhiraj Mishra)
1998Solution: Check for missing argument. (Dominique Pellé, closes #5635,
1999 closes #5637)
2000Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim,
2001 src/ex_cmds.h
2002
2003Patch 8.2.0254
2004Problem: Compiler warning for checking size_t to be negative.
2005Solution: Only check for zero. (Zoltan Arpadffy)
2006Files: src/vim9compile.c
2007
2008Patch 8.2.0255
2009Problem: VMS: missing files in build.
2010Solution: Add the files. (Zoltan Arpadffy)
2011Files: src/Make_vms.mms
2012
2013Patch 8.2.0256
2014Problem: Time and timer related code is spread out.
2015Solution: Move time and timer related code to a new file. (Yegappan
2016 Lakshmanan, closes #5604)
2017Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
2018 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
2019 src/evalfunc.c, src/ex_cmds.c, src/ex_cmds2.c, src/main.c,
2020 src/memline.c, src/misc1.c, src/misc2.c, src/proto.h,
2021 src/proto/ex_cmds.pro, src/proto/ex_cmds2.pro, src/proto/main.pro,
2022 src/proto/memline.pro, src/proto/misc1.pro, src/proto/misc2.pro,
2023 src/proto/time.pro, src/time.c
2024
2025Patch 8.2.0257
2026Problem: Cannot recognize a terminal in a popup window.
2027Solution: Add the win_gettype() function.
2028Files: runtime/doc/eval.txt, src/evalfunc.c, src/evalwindow.c,
2029 src/proto/evalwindow.pro, src/testdir/test_cmdline.vim,
2030 src/testdir/test_terminal.vim,
2031 src/testdir/dumps/Test_terminal_popup_1.dump
2032
2033Patch 8.2.0258
2034Problem: ModifyOtherKeys cannot be temporarily disabled.
2035Solution: Add echoraw() with an example for modifyOtherKeys.
2036Files: runtime/doc/eval.txt, src/evalfunc.c,
2037 src/testdir/test_functions.vim,
2038 src/testdir/dumps/Test_functions_echoraw.dump
2039
2040Patch 8.2.0259
2041Problem: Terminal in popup test sometimes fails.
2042Solution: Clear the command line.
2043Files: src/testdir/test_terminal.vim,
2044 src/testdir/dumps/Test_terminal_popup_1.dump
2045
2046Patch 8.2.0260
2047Problem: Several lines of code are duplicated.
2048Solution: Move duplicated code to a function. (Yegappan Lakshmanan,
2049 closes #5330)
2050Files: src/option.c, src/os_unix.c, src/os_win32.c, src/proto/term.pro,
2051 src/quickfix.c, src/regexp.c, src/regexp_bt.c, src/regexp_nfa.c,
2052 src/term.c
2053
2054Patch 8.2.0261
2055Problem: Some code not covered by tests.
2056Solution: Add test cases. (Yegappan Lakshmanan, closes #5645)
2057Files: src/testdir/test_buffer.vim, src/testdir/test_cmdline.vim,
2058 src/testdir/test_exists.vim, src/testdir/test_filechanged.vim,
2059 src/testdir/test_fileformat.vim, src/testdir/test_mapping.vim,
2060 src/testdir/test_marks.vim, src/testdir/test_normal.vim,
2061 src/testdir/test_plus_arg_edit.vim, src/testdir/test_quickfix.vim,
2062 src/testdir/test_tabpage.vim, src/testdir/test_visual.vim,
2063 src/testdir/test_window_cmd.vim, src/testdir/test_writefile.vim
2064
2065Patch 8.2.0262 (after 8.2.0261)
2066Problem: Fileformat test fails on MS-Windows.
2067Solution: Set fileformat of buffer.
2068Files: src/testdir/test_fileformat.vim
2069
2070Patch 8.2.0263
2071Problem: A few new Vim9 messages are not localized.
2072Solution: Add the gettext wrapper. (Dominique Pellé, closes #5647)
2073Files: src/vim9compile.c, src/vim9execute.c
2074
2075Patch 8.2.0264 (after 8.2.0262)
2076Problem: Fileformat test still fails on MS-Windows.
2077Solution: Set fileformat of buffer in the right place.
2078Files: src/testdir/test_fileformat.vim
2079
2080Patch 8.2.0265
2081Problem: "eval" after "if 0" doesn't check for following command.
2082Solution: Add "eval" to list of commands that check for a following command.
2083 (closes #5640)
2084Files: src/ex_docmd.c, src/testdir/test_expr.vim
2085
2086Patch 8.2.0266
2087Problem: Terminal in popup test sometimes fails on Mac.
2088Solution: Add a short delay.
2089Files: src/testdir/test_terminal.vim
2090
2091Patch 8.2.0267
2092Problem: No check for a following command when calling a function fails.
2093Solution: Also check for a following command when inside a try block.
2094 (closes #5642)
2095Files: src/userfunc.c, src/testdir/test_user_func.vim
2096
2097Patch 8.2.0268 (after 8.2.0267)
2098Problem: Trycatch test fails.
2099Solution: When calling function fails only check for following command, do
2100 not give another error.
2101Files: src/userfunc.c
2102
2103Patch 8.2.0269
2104Problem: Vim9: operator after list index does not work. (Yasuhiro
2105 Matsumoto)
2106Solution: After indexing a list change the type to the list member type.
2107 (closes #5651)
2108Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
2109
2110Patch 8.2.0270
2111Problem: Some code not covered by tests.
2112Solution: Add test cases. (Yegappan Lakshmanan, closes #5649)
2113Files: src/testdir/test_autocmd.vim, src/testdir/test_buffer.vim,
2114 src/testdir/test_edit.vim, src/testdir/test_ex_mode.vim,
2115 src/testdir/test_excmd.vim, src/testdir/test_expand.vim,
2116 src/testdir/test_filetype.vim, src/testdir/test_findfile.vim,
2117 src/testdir/test_join.vim, src/testdir/test_move.vim,
2118 src/testdir/test_normal.vim, src/testdir/test_registers.vim,
2119 src/testdir/test_source.vim, src/testdir/test_tabpage.vim,
2120 src/testdir/test_tagjump.vim, src/testdir/test_vimscript.vim,
2121 src/testdir/test_visual.vim, src/testdir/test_window_cmd.vim,
2122 src/testdir/test_writefile.vim
2123
2124Patch 8.2.0271
2125Problem: The "num64" feature is available everywhere and building without
2126 it causes problems.
2127Solution: Graduate the "num64" feature. (James McCoy, closes #5650)
2128Files: src/evalfunc.c, src/feature.h, src/message.c, src/structs.h,
2129 src/testdir/test_expr.vim, src/testdir/test_largefile.vim,
2130 src/testdir/test_sort.vim, src/testdir/test_vimscript.vim,
2131 src/version.c
2132
2133Patch 8.2.0272
2134Problem: ":helptags ALL" gives error for directories without write
2135 permission. (Matěj Cepl)
2136Solution: Ignore errors for ":helptags ALL". (Ken Takata, closes #5026,
2137 closes #5652)
2138Files: src/ex_cmds.c, src/testdir/test_help.vim
2139
2140Patch 8.2.0273
2141Problem: MS-Windows uninstall may delete wrong batch file.
2142Solution: Add specific marker in the generated batch file. (Ken Takata,
2143 closes #5654)
2144Files: src/Make_mvc.mak, src/dosinst.c, src/dosinst.h, src/uninstall.c
2145
2146Patch 8.2.0274
2147Problem: Hang with combination of feedkeys(), Ex mode and :global.
2148 (Yegappan Lakshmanan)
2149Solution: Add the pending_exmode_active flag.
2150Files: src/ex_docmd.c, src/globals.h, src/getchar.c,
2151 src/testdir/test_ex_mode.vim
2152
2153Patch 8.2.0275
2154Problem: Some Ex code not covered by tests.
2155Solution: Add test cases. (Yegappan Lakshmanan, closes #5659)
2156Files: src/testdir/test_arglist.vim, src/testdir/test_autocmd.vim,
2157 src/testdir/test_excmd.vim, src/testdir/test_quickfix.vim,
2158 src/testdir/test_search.vim, src/testdir/test_swap.vim,
2159 src/testdir/test_window_cmd.vim
2160
2161Patch 8.2.0276
2162Problem: Vim9: not allowing space before ")" in function call is too
2163 restrictive. (Ben Jackson)
2164Solution: Skip space before the ")". Adjust other space checks.
2165Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
2166
2167Patch 8.2.0277
2168Problem: Vim9: not all instructions covered by tests.
2169Solution: Add more test cases.
2170Files: src/testdir/test_vim9_disassemble.vim
2171
2172Patch 8.2.0278
2173Problem: Channel test is flaky on Mac.
2174Solution: Reset variable before sending message.
2175Files: src/testdir/test_channel.vim
2176
2177Patch 8.2.0279
2178Problem: Vim9: no test for deleted :def function.
2179Solution: Add a test. Clear uf_cleared flag when redefining a function.
2180Files: src/userfunc.c, src/testdir/test_vim9_script.vim
2181
2182Patch 8.2.0280
2183Problem: Vim9: throw in :def function not caught higher up.
2184Solution: Set "need_rethrow".
2185Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
2186
2187Patch 8.2.0281
2188Problem: Two placed signs in the same line are not combined. E.g. in the
2189 terminal debugger a breakpoint and the PC cannot be both be
2190 displayed.
2191Solution: Combine the sign column and line highlight attributes.
2192Files: src/sign.c, src/testdir/test_signs.vim,
2193 src/testdir/dumps/Test_sign_cursor_3.dump,
2194 src/testdir/dumps/Test_sign_cursor_4.dump
2195
2196Patch 8.2.0282
2197Problem: Vim9: setting number option not tested.
2198Solution: Add more tests. Fix assigning to global variable.
2199Files: src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim,
2200 src/vim9execute.c
2201
2202Patch 8.2.0283
2203Problem: Vim9: failing to load script var not tested.
2204Solution: Add more tests. Fix using s: in old script.
2205Files: src/testdir/test_vim9_expr.vim, src/vim9compile.c,
2206 src/testdir/test_vim9_script.vim
2207
2208Patch 8.2.0284
2209Problem: Vim9: assignment test fails.
2210Solution: Avoid duplicating "s:".
2211Files: src/vim9compile.c
2212
2213Patch 8.2.0285
2214Problem: Unused error message. Cannot create s:var.
2215Solution: Remove the error message. Make assignment to s:var work.
2216Files: src/vim9compile.c, src/vim9execute.c,
2217 src/testdir/test_vim9_script.vim
2218
2219Patch 8.2.0286
2220Problem: Cannot use popup_close() for a terminal popup.
2221Solution: Allow using popup_close(). (closes #5666)
2222Files: src/popupwin.c, runtime/doc/popup.txt,
2223 src/testdir/test_terminal.vim,
2224 src/testdir/dumps/Test_terminal_popup_5.dump,
2225 src/testdir/dumps/Test_terminal_popup_6.dump
2226
2227Patch 8.2.0287
2228Problem: Vim9: return in try block not tested; catch with pattern not
2229 tested.
2230Solution: Add tests. Make it work.
2231Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
2232
2233Patch 8.2.0288
2234Problem: Vim9: some float and blob operators not tested.
2235Solution: Add float and blob tests. Fix addition.
2236Files: src/testdir/test_vim9_expr.vim, src/vim9compile.c
2237
2238Patch 8.2.0289
2239Problem: Vim9: :echo did not clear the rest of the line.
2240Solution: Call msg_clr_eos(). (Ken Takata, closes #5668)
2241Files: src/vim9execute.c
2242
2243Patch 8.2.0290
2244Problem: Running individual test differs from all tests.
2245Solution: Pass on environment variables. (Yee Cheng Chin, closes #5672)
2246Files: src/testdir/Makefile, src/testdir/README.txt
2247
2248Patch 8.2.0291
2249Problem: Vim9: assigning [] to list<string> doesn't work.
2250Solution: Use void for empty list and dict. (Ken Takata, closes #5669)
2251Files: src/vim9compile.c, src/globals.h, src/testdir/test_vim9_script.vim
2252
2253Patch 8.2.0292
2254Problem: Vim9: CHECKNR and CHECKTYPE instructions not tested.
2255Solution: Add tests.
2256Files: src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim
2257
2258Patch 8.2.0293
2259Problem: Various Ex commands not sufficiently tested.
2260Solution: Add more test cases. (Yegappan Lakshmanan, closes #5673)
2261Files: src/testdir/test_arglist.vim, src/testdir/test_cmdline.vim,
2262 src/testdir/test_ex_mode.vim, src/testdir/test_excmd.vim,
2263 src/testdir/test_expand.vim, src/testdir/test_filetype.vim,
2264 src/testdir/test_filter_cmd.vim, src/testdir/test_global.vim,
2265 src/testdir/test_normal.vim, src/testdir/test_plus_arg_edit.vim,
2266 src/testdir/test_quickfix.vim, src/testdir/test_trycatch.vim,
2267 src/testdir/test_vimscript.vim
2268
2269Patch 8.2.0294
2270Problem: Cannot use Ex command that is also a function name.
2271Solution: Recognize an Ex command by a colon prefix.
2272Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
2273 runtime/doc/vim9.txt
2274
2275Patch 8.2.0295
2276Problem: Highlighting for :s wrong when using different separator.
2277Solution: Use separate argument for search direction and separator. (Rob
2278 Pilling, closes #5665)
2279Files: src/ex_docmd.c, src/ex_getln.c, src/gui.c, src/normal.c,
2280 src/proto/search.pro, src/quickfix.c, src/search.c, src/spell.c,
2281 src/tag.c, src/testdir/dumps/Test_incsearch_substitute_15.dump,
2282 src/testdir/test_search.vim
2283
2284Patch 8.2.0296
2285Problem: Mixing up "long long" and __int64 may cause problems. (John
2286 Marriott)
2287Solution: Pass varnumber_T to vim_snprintf(). Add v:numbersize.
2288Files: src/message.c, src/eval.c, src/fileio.c, src/json.c, src/ops.c,
2289 src/vim.h, src/structs.h, src/evalvars.c, runtime/doc/eval.txt,
2290 runtime/doc/various.txt, src/testdir/test_eval_stuff.vim
2291
2292Patch 8.2.0297
2293Problem: Compiler warnings for the Ruby interface.
2294Solution: Undefine a few macros, fix initialization. (Ozaki Kiichi,
2295 closes #5677)
2296Files: src/if_ruby.c
2297
2298Patch 8.2.0298
2299Problem: Vim9 script: cannot start command with a string constant.
2300Solution: Recognize expression starting with '('.
2301Files: src/ex_docmd.c, src/vim9compile.c,
2302 src/testdir/test_vim9_script.vim, runtime/doc/vim9.txt
2303
2304Patch 8.2.0299
2305Problem: Vim9: ISN_STORE with argument not tested. Some cases in tv2bool()
2306 not tested.
2307Solution: Add tests. Add test_unknown() and test_void().
2308Files: src/testing.c, src/proto/testing.pro, src/evalfunc.c,
2309 src/testdir/test_vim9_disassemble.vim,
2310 src/testdir/test_vim9_expr.vim, runtime/doc/eval.txt,
2311 runtime/doc/testing.txt
2312
2313Patch 8.2.0300
2314Problem: Vim9: expression test fails without channel support.
2315Solution: Add has('channel') check.
2316Files: src/testdir/test_vim9_expr.vim
2317
2318Patch 8.2.0301
2319Problem: Insufficient testing for exception handling and the "attention"
2320 prompt.
2321Solution: Add test cases. (Yegappan Lakshmanan, closes #5681)
2322Files: src/testdir/test_swap.vim, src/testdir/test_trycatch.vim
2323
2324Patch 8.2.0302
2325Problem: Setting 'term' may cause error in TermChanged autocommand.
2326Solution: Use aucmd_prepbuf() to switch to the buffer where the autocommand
2327 is to be executed. (closes #5682)
2328Files: src/term.c, src/testdir/test_autocmd.vim
2329
2330Patch 8.2.0303
2331Problem: TermChanged test fails in the GUI.
2332Solution: Skip the test when running the GUI.
2333Files: src/testdir/test_autocmd.vim
2334
2335Patch 8.2.0304
2336Problem: Terminal test if failing on some systems.
2337Solution: Wait for the job to finish. (James McCoy)
2338Files: src/testdir/test_terminal.vim
2339
2340Patch 8.2.0305
2341Problem: Relativenumber test fails on some systems. (James McCoy)
2342Solution: Clear the command line.
2343Files: src/testdir/test_number.vim,
2344 src/testdir/dumps/Test_relnr_colors_2.dump,
2345 src/testdir/dumps/Test_relnr_colors_3.dump
2346
2347Patch 8.2.0306
2348Problem: Vim9: :substitute(pat(repl does not work in Vim9 script.
2349Solution: Remember starting with a colon. (closes #5676)
2350Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
2351
2352Patch 8.2.0307
2353Problem: Python 3 vim.eval not well tested.
2354Solution: Add a test. (Dominique Pellé, closes #5680)
2355Files: src/testdir/test_python3.vim
2356
2357Patch 8.2.0308
2358Problem: 'showbreak' does not work for a very long line. (John Little)
2359Solution: Check whether 'briopt' contains "sbr". (Ken Takata, closes #5523,
2360 closes #5684)
2361Files: src/drawline.c, src/testdir/test_breakindent.vim
2362
2363Patch 8.2.0309
2364Problem: Window-local values have confusing name.
2365Solution: Rename w_p_bri* to w_briopt_*.
2366Files: src/structs.h, src/indent.c, src/drawline.c
2367
2368Patch 8.2.0310
2369Problem: Autocmd test fails on a slow system.
2370Solution: Adjust the expectations. (James McCoy, closes #5685)
2371Files: src/testdir/test_autocmd.vim
2372
2373Patch 8.2.0311
2374Problem: Vim9: insufficient script tests.
2375Solution: Add tests. Free imports when re-using a script.
2376Files: src/testdir/test_vim9_script.vim, src/scriptfile.c
2377
2378Patch 8.2.0312
2379Problem: Vim9: insufficient script tests.
2380Solution: Add more tests. Make "import * as Name" work.
2381Files: src/testdir/test_vim9_script.vim, src/vim9script.c,
2382 src/proto/vim9script.pro, src/vim9compile.c
2383
2384Patch 8.2.0313
2385Problem: Vim9: insufficient script tests.
2386Solution: Add tests. Make import of alphanumeric name work.
2387Files: src/testdir/test_vim9_script.vim, src/vim9script.c
2388
2389Patch 8.2.0314
2390Problem: Short name not set for terminal buffer.
2391Solution: Set the short name. (closes #5687)
2392Files: src/terminal.c, src/testdir/test_terminal.vim
2393
2394Patch 8.2.0315
2395Problem: Build failure on HP-UX system.
2396Solution: Use LONG_LONG_MIN instead of LLONG_MIN. Add type casts for switch
2397 statement. (John Marriott)
2398Files: src/structs.h, src/json.c
2399
2400Patch 8.2.0316
2401Problem: ex_getln.c code has insufficient test coverage.
2402Solution: Add more tests. Fix a problem. (Yegappan Lakshmanan, closes #5693)
2403Files: src/cmdhist.c, src/testdir/test_cmdline.vim,
2404 src/testdir/test_functions.vim, src/testdir/test_history.vim,
2405 src/testdir/test_menu.vim
2406
2407Patch 8.2.0317
2408Problem: MSVC: _CRT_SECURE_NO_DEPRECATE not defined on DEBUG build.
2409Solution: Move where CFLAGS is updated. (Ken Takata, closes #5692)
2410Files: src/Make_mvc.mak
2411
2412Patch 8.2.0318
2413Problem: Vim9: types not sufficiently tested.
2414Solution: Add tests with more types.
2415Files: src/globals.h, src/vim9compile.c,
2416 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_expr.vim
2417
2418Patch 8.2.0319
2419Problem: File missing in distribution, comments outdated.
2420Solution: Correct path of README file. Update comments.
2421Files: Filelist, src/evalvars.c, src/register.c, src/if_python3.c
2422
2423Patch 8.2.0320
2424Problem: No Haiku support.
2425Solution: Add support for Haiku. (Emir Sarı, closes #5605)
2426Files: Filelist, runtime/doc/Makefile, runtime/doc/eval.txt,
2427 runtime/doc/gui.txt, runtime/doc/help.txt,
2428 runtime/doc/options.txt, runtime/doc/os_haiku.txt,
2429 runtime/doc/starting.txt, runtime/doc/tags,
2430 runtime/gvimrc_example.vim, runtime/vimrc_example.vim,
2431 src/INSTALL, src/Makefile, src/auto/configure, src/configure.ac,
2432 src/evalfunc.c, src/feature.h, src/fileio.c, src/globals.h,
2433 src/gui.c, src/gui.h, src/gui_haiku.cc, src/gui_haiku.h,
2434 src/mbyte.c, src/menu.c, src/misc1.c, src/mouse.c, src/option.h,
2435 src/os_haiku.h, src/os_haiku.rdef, src/os_unix.c, src/os_unix.h,
2436 src/osdef1.h.in, src/proto.h, src/proto/gui_haiku.pro, src/pty.c,
2437 src/screen.c, src/structs.h, src/term.c, src/version.c, src/vim.h
2438
2439Patch 8.2.0321
2440Problem: Vim9: ":execute" does not work yet.
2441Solution: Add ISN_EXECUTE. (closes #5699) Also make :echo work with more
2442 than one argument.
2443Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
2444 src/testdir/test_vim9_disassemble.vim,
2445 src/testdir/test_vim9_script.vim
2446
2447Patch 8.2.0322
2448Problem: Vim9: error checks not tested.
2449Solution: Add more test cases. Avoid error for function loaded later.
2450Files: src/vim9compile.c, src/evalvars.c, src/testdir/test_vim9_script.vim
2451
2452Patch 8.2.0323
2453Problem: Vim9: calling a function that is defined later is slow.
2454Solution: Once the function is found update the instruction so it can be
2455 called directly.
2456Files: src/vim9execute.c, src/testdir/test_vim9_script.vim,
2457 src/testdir/test_vim9_disassemble.vim
2458
2459Patch 8.2.0324
2460Problem: Text property not updated correctly when inserting/deleting.
2461Solution: Use the right column when deleting. Make zero-width text
2462 properties respect start_incl and end_incl. (Axel Forsman,
2463 closes #5696, closes #5679)
2464Files: src/change.c, src/textprop.c, src/testdir/test_listener.vim,
2465 src/testdir/test_textprop.vim
2466
2467Patch 8.2.0325
2468Problem: Ex_getln.c code not covered by tests.
2469Solution: Add a few more tests. (Yegappan Lakshmanan, closes #5702)
2470Files: src/testdir/test_cmdline.vim, src/testdir/test_ex_mode.vim,
2471 src/testdir/test_functions.vim, src/testdir/test_history.vim,
2472 src/testdir/test_options.vim
2473
2474Patch 8.2.0326
2475Problem: Compiler warning for using uninitialized variable. (Yegappan
2476 Lakshmanan)
2477Solution: Do not jump to failed but return.
2478Files: src/vim9execute.c
2479
2480Patch 8.2.0327
2481Problem: Crash when opening and closing two popup terminal windows.
2482Solution: Check that prevwin is valid. (closes #5707)
2483Files: src/popupwin.c, src/testdir/test_terminal.vim
2484
2485Patch 8.2.0328
2486Problem: No redraw when leaving terminal-normal mode in a terminal popup
2487 window.
2488Solution: Redraw the popup window. (closes #5708)
2489Files: src/macros.h, src/vim.h, src/terminal.c, src/drawscreen.c,
2490 src/move.c, src/popupwin.c, src/testdir/test_terminal.vim,
2491 src/testdir/dumps/Test_terminal_popup_7.dump,
2492 src/testdir/dumps/Test_terminal_popup_8.dump
2493
2494Patch 8.2.0329
2495Problem: Popup filter converts 0x80 bytes.
2496Solution: Keep 0x80 bytes as-is. (Ozaki Kiichi, closes #5706)
2497Files: src/popupwin.c, src/testdir/test_popupwin.vim
2498
2499Patch 8.2.0330
2500Problem: Build error with popup window but without terminal.
2501Solution: Add #ifdef.
2502Files: src/popupwin.c
2503
2504Patch 8.2.0331
2505Problem: Internal error when using test_void() and test_unknown().
2506 (Dominique Pellé)
2507Solution: Give a normal error.
2508Files: src/evalfunc.c, src/testdir/test_functions.vim,
2509 src/testdir/test_vimscript.vim
2510
2511Patch 8.2.0332
2512Problem: Some code in ex_getln.c not covered by tests.
2513Solution: Add a few more tests. (Yegappan Lakshmanan, closes #5710)
2514Files: src/testdir/test_arabic.vim, src/testdir/test_cmdline.vim
2515
2516Patch 8.2.0333
2517Problem: Terminal in popup test is flaky.
2518Solution: Make sure redraw is done before opening the popup.
2519Files: src/testdir/test_terminal.vim,
2520 src/testdir/dumps/Test_terminal_popup_1.dump
2521
2522Patch 8.2.0334
2523Problem: Abort called when using test_void(). (Dominique Pellé)
2524Solution: Only give an error, don't abort.
2525Files: src/message.c, src/proto/message.pro, src/evalfunc.c,
2526 src/eval.c, src/json.c, src/testdir/test_functions.vim
2527
2528Patch 8.2.0335
2529Problem: No completion for :disassemble.
2530Solution: Make completion work. Also complete script-local functions if the
2531 name starts with "s:".
2532Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
2533 runtime/doc/vim9.txt
2534
2535Patch 8.2.0336
2536Problem: Vim9: insufficient test coverage for compiling.
2537Solution: Add more tests.
2538Files: src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim,
2539 src/vim9.h, src/vim9compile.c, src/vim9execute.c
2540
2541Patch 8.2.0337
2542Problem: Build fails on a few systems.
2543Solution: Use vim_snprintf() instead of snprintf().
2544Files: src/cmdexpand.c
2545
2546Patch 8.2.0338
2547Problem: Build failure without the channel feature.
2548Solution: Add #ifdef
2549Files: src/vim9compile.c
2550
2551Patch 8.2.0339
2552Problem: Vim9: function return type may depend on arguments.
2553Solution: Instead of a fixed return type use a function to figure out the
2554 return type.
2555Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9compile.c,
2556 src/evalbuffer.c, src/proto/evalbuffer.pro,
2557 src/testdir/test_vim9_script.vim
2558
2559Patch 8.2.0340
2560Problem: Vim9: function and partial types not tested.
2561Solution: Support more for partial, add tests.
2562Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
2563 src/testdir/test_vim9_script.vim
2564
2565Patch 8.2.0341
2566Problem: Using ":for" in Vim9 script gives an error.
2567Solution: Pass the LET_NO_COMMAND flag. (closes #5715)
2568Files: src/eval.c, src/testdir/test_vim9_script.vim
2569
2570Patch 8.2.0342
2571Problem: Some code in ex_getln.c not covered by tests.
2572Solution: Add more tests. (Yegappan Lakshmanan, closes #5717)
2573Files: src/testdir/test_cmdline.vim, src/testdir/test_ex_mode.vim,
2574 src/testdir/test_history.vim, src/testdir/test_iminsert.vim
2575
2576Patch 8.2.0343
2577Problem: Vim9: using wrong instruction, limited test coverage.
2578Solution: Use ISN_PUSHJOB. Add a few more tests.
2579Files: src/vim9compile.c, src/vim9execute.c,
2580 src/testdir/test_vim9_script.vim,
2581 src/testdir/test_vim9_disassemble.vim
2582
2583Patch 8.2.0344
2584Problem: ":def" not skipped properly.
2585Solution: Add CMD_def to list of commands the require evaluation even when
2586 not being executed.
2587Files: src/ex_docmd.c
2588
2589Patch 8.2.0345
2590Problem: Compiler warning when building without the float feature.
2591Solution: Add #ifdef. (John Marriott)
2592Files: src/evalfunc.c
2593
2594Patch 8.2.0346
2595Problem: Vim9: finding common list type not tested.
2596Solution: Add more tests. Fix listing function. Fix overwriting type.
2597Files: src/vim9compile.c, src/userfunc.c,
2598 src/testdir/test_vim9_script.vim, src/testdir/runtest.vim,
2599 src/testdir/test_vim9_disassemble.vim
2600
2601Patch 8.2.0347
2602Problem: Various code not covered by tests.
2603Solution: Add more test coverage. (Yegappan Lakshmanan, closes #5720)
2604Files: src/testdir/gen_opt_test.vim, src/testdir/test86.in,
2605 src/testdir/test_cmdline.vim, src/testdir/test_digraph.vim,
2606 src/testdir/test_ex_mode.vim, src/testdir/test_history.vim
2607
2608Patch 8.2.0348
2609Problem: Vim9: not all code tested.
2610Solution: Add a few more tests. fix using "b:" in literal dictionary.
2611Files: src/testdir/test_vim9_expr.vim, src/vim9compile.c,
2612 src/proto/vim9compile.pro, src/testdir/test_vim9_script.vim
2613
2614Patch 8.2.0349
2615Problem: Vim9: constant expression not well tested.
2616Solution: Add tests for "if" with constant expression.
2617Files: src/testdir/test_vim9_script.vim
2618
2619Patch 8.2.0350
2620Problem: Vim9: expression tests don't use recognized constants.
2621Solution: Recognize "true" and "false" as constants. Make skipping work for
2622 assignment and expression evaluation.
2623Files: src/vim9compile.c
2624
2625Patch 8.2.0351
2626Problem: Terminal in popup test is still a bit flaky.
2627Solution: Clear and redraw before opening the popup.
2628Files: src/testdir/test_terminal.vim
2629
2630Patch 8.2.0352
2631Problem: FreeBSD: test for sourcing utf-8 is skipped.
2632Solution: Run the matchadd_conceal test separately to avoid that setting
2633 'term' to "ansi" causes problems for other tests. (Ozaki Kiichi,
2634 closes #5721)
2635Files: src/testdir/Make_all.mak, src/testdir/test_alot_utf8.vim,
2636 src/testdir/test_source_utf8.vim
2637
2638Patch 8.2.0353
2639Problem: Vim9: while loop not tested.
2640Solution: Add test with "while", "break" and "continue"
2641Files: src/testdir/test_vim9_script.vim
2642
2643Patch 8.2.0354
2644Problem: Python 3.9 does not define _Py_DEC_REFTOTAL. (Zdenek Dohnal)
2645Solution: Remove it, it was only for debugging.
2646Files: src/if_python3.c
2647
2648Patch 8.2.0355
2649Problem: Vim9: str_val is confusing, it's a number
2650Solution: Rename to stnr_val.
2651Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c
2652
2653Patch 8.2.0356
2654Problem: MS-Windows: feedkeys() with VIMDLL cannot handle CSI correctly.
2655Solution: Modify mch_inchar() to encode CSI bytes. (Ozaki Kiichi, Ken
2656 Takata, closes #5726)
2657Files: src/getchar.c, src/os_win32.c, src/testdir/test_popupwin.vim
2658
2659Patch 8.2.0357
2660Problem: Cannot delete a text property matching both id and type. (Axel
2661 Forsman)
2662Solution: Add the "both" argument.
2663Files: src/textprop.c, runtime/doc/textprop.txt,
2664 src/testdir/test_textprop.vim
2665
2666Patch 8.2.0358
2667Problem: Insufficient testing for indent.c.
2668Solution: Add indent tests. (Yegappan Lakshmanan, closes #5736)
2669Files: src/testdir/Make_all.mak, src/testdir/test_ex_mode.vim,
2670 src/testdir/test_expand_func.vim, src/testdir/test_indent.vim,
2671 src/testdir/test_lispwords.vim, src/testdir/test_smartindent.vim,
2672 src/testdir/test_vartabs.vim
2673
2674Patch 8.2.0359
2675Problem: popup_atcursor() may hang. (Yasuhiro Matsumoto)
2676Solution: Take the decoration into account. (closes #5728)
2677Files: src/popupwin.c, src/testdir/test_popupwin.vim
2678
2679Patch 8.2.0360
2680Problem: Yaml files are only recognized by the file extension.
2681Solution: Check for a line starting with "%YAML". (Jason Franklin)
2682Files: runtime/scripts.vim, src/testdir/test_filetype.vim
2683
2684Patch 8.2.0361
2685Problem: Internal error when using "0" for a callback.
2686Solution: Give a normal error. (closes #5743)
2687Files: src/evalvars.c, src/testdir/test_timers.vim
2688
2689Patch 8.2.0362
2690Problem: MS-Windows: channel test fails if grep is not available.
2691Solution: Use another command. (Ken Takata, closes #5739)
2692Files: src/testdir/test_channel.vim
2693
2694Patch 8.2.0363
2695Problem: Some Normal mode commands not tested.
2696Solution: Add more tests. (Yegappan Lakshmanan, closes #5746)
2697Files: src/testdir/test_cindent.vim, src/testdir/test_cmdline.vim,
2698 src/testdir/test_edit.vim, src/testdir/test_indent.vim,
2699 src/testdir/test_normal.vim, src/testdir/test_prompt_buffer.vim,
2700 src/testdir/test_virtualedit.vim, src/testdir/test_visual.vim
2701
2702Patch 8.2.0364
2703Problem: Printf test failing on Haiku.
2704Solution: Make a difference between int and short. (Dominique Pellé,
2705 closes #5749)
2706Files: src/message.c
2707
2708Patch 8.2.0365
2709Problem: Tag kind can't be a multibyte character. (Marcin Szamotulski)
2710Solution: Recognize multibyte character. (closes #5724)
2711Files: src/tag.c, src/testdir/test_taglist.vim
2712
2713Patch 8.2.0366
2714Problem: Hardcopy command not tested enough.
2715Solution: Add tests for printing. (Dominique Pellé, closes #5748)
2716Files: src/testdir/test_hardcopy.vim
2717
2718Patch 8.2.0367
2719Problem: Can use :pedit in a popup window.
2720Solution: Disallow it.
Bram Moolenaar47c532e2022-03-19 15:18:53 +00002721Files: src/ex_docmd.c, src/testdir/test_popupwin.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +00002722
2723Patch 8.2.0368
2724Problem: Vim9: import that redefines local variable does not fail.
2725Solution: Check for already defined symbols.
2726Files: src/vim9script.c, src/proto/vim9script.pro, src/vim9compile.c,
2727 src/proto/vim9compile.pro, src/testdir/test_vim9_script.vim
2728
2729Patch 8.2.0369
2730Problem: Various Normal mode commands not fully tested.
2731Solution: Add more tests. (Yegappan Lakshmanan, closes #5751)
2732Files: src/testdir/test_arglist.vim, src/testdir/test_changelist.vim,
2733 src/testdir/test_charsearch.vim, src/testdir/test_cmdline.vim,
2734 src/testdir/test_edit.vim, src/testdir/test_ex_mode.vim,
2735 src/testdir/test_excmd.vim, src/testdir/test_gf.vim,
2736 src/testdir/test_iminsert.vim, src/testdir/test_increment.vim,
2737 src/testdir/test_marks.vim, src/testdir/test_normal.vim,
2738 src/testdir/test_prompt_buffer.vim, src/testdir/test_put.vim,
2739 src/testdir/test_registers.vim, src/testdir/test_tagjump.vim,
2740 src/testdir/test_visual.vim
2741
2742Patch 8.2.0370
2743Problem: The typebuf_was_filled flag is sometimes not reset, which may
2744 cause a hang.
2745Solution: Make sure typebuf_was_filled is reset when the typeahead buffer is
2746 empty.
2747Files: src/edit.c, src/getchar.c,
2748
2749Patch 8.2.0371
2750Problem: Crash with combination of terminal popup and autocmd.
2751Solution: Disallow closing a popup that is the current window. Add a check
2752 that the current buffer is valid. (closes #5754)
2753Files: src/macros.h, src/buffer.c, src/popupwin.c, src/terminal.c,
2754 src/testdir/test_terminal.vim
2755
2756Patch 8.2.0372
2757Problem: Prop_find() may not find text property at start of the line.
2758Solution: Adjust the loop to find properties. (Axel Forsman, closes #5761,
2759 closes #5663)
Bram Moolenaar47c532e2022-03-19 15:18:53 +00002760Files: src/textprop.c, src/testdir/test_textprop.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +00002761
2762Patch 8.2.0373
2763Problem: Type of term_sendkeys() is unknown.
2764Solution: Just return zero. (closes #5762)
2765Files: src/terminal.c, src/testdir/test_terminal.vim
2766
2767Patch 8.2.0374
2768Problem: Using wrong printf directive for jump location.
2769Solution: Change "%lld" to "%d". (James McCoy, closes #5773)
2770Files: src/vim9execute.c
2771
2772Patch 8.2.0375
2773Problem: Coverity warning for not using return value.
2774Solution: Move error message to separate function.
2775Files: src/popupwin.c
2776
2777Patch 8.2.0376
2778Problem: Nasty callback test fails on some systems.
2779Solution: Increase the sleep time.
2780Files: src/testdir/test_terminal.vim
2781
2782Patch 8.2.0377
2783Problem: No CI test for a big-endian system.
2784Solution: Test with s390x. (James McCoy, closes #5772)
2785Files: .travis.yml
2786
2787Patch 8.2.0378
2788Problem: prop_find() does not find all props.
2789Solution: Check being in the start line. (Axel Forsman, closes #5776)
2790Files: src/textprop.c, src/testdir/test_textprop.vim
2791
2792Patch 8.2.0379
2793Problem: Gcc warns for ambiguous else.
2794Solution: Add braces. (Dominique Pellé, closes #5778)
2795Files: src/textprop.c
2796
2797Patch 8.2.0380
2798Problem: Tiny popup when creating a terminal popup without minwidth.
2799Solution: Use a default minimum size of 5 lines of 20 characters.
2800Files: src/popupwin.c, src/testdir/test_terminal.vim,
2801 src/testdir/dumps/Test_terminal_popup_m1.dump
2802
2803Patch 8.2.0381
2804Problem: Using freed memory with :lvimgrep and autocommand. (extracted from
2805 POC by Dominique Pellé)
2806Solution: Avoid deleting a dummy buffer used in a window. (closes #5777)
2807Files: src/quickfix.c, src/testdir/test_quickfix.vim
2808
2809Patch 8.2.0382
2810Problem: Some tests fail when run under valgrind.
2811Solution: Increase timeouts.
2812Files: src/testdir/test_autocmd.vim, src/testdir/test_debugger.vim,
2813 src/testdir/test_channel.vim, src/testdir/test_ins_complete.vim,
2814 src/testdir/test_terminal.vim,
2815 src/testdir/dumps/Test_terminal_popup_1.dump,
2816 src/testdir/dumps/Test_terminal_popup_2.dump,
2817 src/testdir/dumps/Test_terminal_popup_3.dump,
2818 src/testdir/dumps/Test_terminal_popup_5.dump,
2819 src/testdir/dumps/Test_terminal_popup_6.dump,
2820 src/testdir/dumps/Test_terminal_popup_7.dump,
2821 src/testdir/dumps/Test_terminal_popup_8.dump,
2822 src/testdir/dumps/Test_terminal_popup_m1.dump
2823
2824Patch 8.2.0383
2825Problem: Wrong feature check causes test not to be run.
2826Solution: Use CheckFunction instead of CheckFeature. (Ozaki Kiichi,
2827 closes #5781)
2828Files: src/testdir/test_channel.vim
2829
2830Patch 8.2.0384
2831Problem: Travis CI has warnings.
2832Solution: Avoid warnings, clean up the config. (Ozaki Kiichi, closes #5779)
2833Files: .travis.yml
2834
2835Patch 8.2.0385
2836Problem: Menu functionality insufficiently tested.
2837Solution: Add tests. Add menu_info(). (Yegappan Lakshmanan, closes #5760)
2838Files: runtime/doc/eval.txt, runtime/doc/gui.txt, runtime/doc/usr_41.txt,
2839 src/evalfunc.c, src/menu.c, src/proto/menu.pro,
2840 src/testdir/test_menu.vim, src/testdir/test_popup.vim,
2841 src/testdir/test_termcodes.vim
2842
2843Patch 8.2.0386 (after 8.2.0385)
2844Problem: Part from unfinished patch got included.
2845Solution: Undo that part.
2846Files: src/evalfunc.c
2847
2848Patch 8.2.0387
2849Problem: Error for possible NULL argument to qsort().
2850Solution: Don't call qsort() when there is nothing to sort. (Dominique
2851 Pellé, closes #5780)
2852Files: src/spellsuggest.c
2853
2854Patch 8.2.0388
2855Problem: Printmbcharset option not tested.
2856Solution: Add a test. Enable PostScript for AppVeyor build. (Dominique
2857 Pellé, closes #5783)
2858Files: appveyor.yml, src/testdir/test_hardcopy.vim
2859
2860Patch 8.2.0389
2861Problem: Delayed redraw when shifting text from Insert mode.
2862Solution: Use msg_attr_keep() instead of msg(). (closes #5782)
2863Files: src/ops.c
2864
2865Patch 8.2.0390
2866Problem: Terminal postponed scrollback test is flaky.
2867Solution: Add delay in between sending keys. Rename dump files.
2868Files: src/testdir/test_terminal.vim,
2869 src/testdir/dumps/Test_terminal_01.dump,
2870 src/testdir/dumps/Test_terminal_02.dump,
2871 src/testdir/dumps/Test_terminal_03.dump,
2872 src/testdir/dumps/Test_terminal_scrollback_1.dump,
2873 src/testdir/dumps/Test_terminal_scrollback_2.dump,
2874 src/testdir/dumps/Test_terminal_scrollback_3.dump
2875
2876Patch 8.2.0391 (after 8.2.0377)
2877Problem: CI test coverage dropped.
2878Solution: Set $DISPLAY also for non-GUI builds. (James McCoy, closes #5788)
2879Files: .travis.yml
2880
2881Patch 8.2.0392
2882Problem: Coverity warns for using array index out of range.
2883Solution: Add extra "if" to avoid warning.
2884Files: src/menu.c
2885
2886Patch 8.2.0393
2887Problem: Coverity warns for not using return value.
2888Solution: Add (void).
2889Files: src/popupmenu.c
2890
2891Patch 8.2.0394
2892Problem: Coverity complains about using NULL pointer.
2893Solution: Use empty string when option value is NULL.
2894Files: src/optionstr.c
2895
2896Patch 8.2.0395
2897Problem: Build fails with FEAT_EVAL but without FEAT_MENU.
2898Solution: Add #ifdef. (John Marriott)
2899Files: src/evalfunc.c
2900
2901Patch 8.2.0396
2902Problem: Cmdexpand.c insufficiently tested.
2903Solution: Add more tests. (Yegappan Lakshmanan, closes #5789)
2904Files: src/testdir/test_cmdline.vim, src/testdir/test_taglist.vim,
2905 src/testdir/test_terminal.vim, src/testdir/test_usercommands.vim
2906
2907Patch 8.2.0397
2908Problem: Delayed screen update when using undo from Insert mode.
2909Solution: Update w_topline and cursor shape before sleeping. (closes #5790)
2910Files: src/normal.c
2911
2912Patch 8.2.0398
2913Problem: Profile test fails when two functions take same time.
2914Solution: Add a short sleep in once function. (closes #5797)
2915Files: src/testdir/test_profile.vim
2916
2917Patch 8.2.0399
2918Problem: Various memory leaks.
2919Solution: Avoid the leaks. (Ozaki Kiichi, closes #5803)
2920Files: src/ex_docmd.c, src/ex_getln.c, src/menu.c, src/message.c,
2921 src/scriptfile.c, src/userfunc.c
2922
2923Patch 8.2.0400
2924Problem: Not all tests using a terminal are in the list of flaky tests.
2925Solution: Introduce the test_is_flaky flag.
2926Files: src/testdir/runtest.vim, src/testdir/term_util.vim,
2927 src/testdir/screendump.vim, src/testdir/test_autocmd.vim
2928
2929Patch 8.2.0401
2930Problem: Not enough test coverage for evalvars.c.
2931Solution: Add more tests. (Yegappan Lakshmanan, closes #5804)
2932Files: src/testdir/test_cmdline.vim, src/testdir/test_const.vim,
2933 src/testdir/test_diffmode.vim, src/testdir/test_excmd.vim,
2934 src/testdir/test_functions.vim, src/testdir/test_let.vim,
2935 src/testdir/test_listdict.vim, src/testdir/test_spell.vim,
2936 src/testdir/test_unlet.vim, src/testdir/test_user_func.vim,
2937 src/testdir/test_vimscript.vim
2938
2939Patch 8.2.0402 (after 8.2.0401)
2940Problem: Setting local instead of global flag.
2941Solution: Prepend "g:" to "test_is_flaky".
2942Files: src/testdir/term_util.vim, src/testdir/screendump.vim,
2943 src/testdir/test_autocmd.vim
2944
2945Patch 8.2.0403
2946Problem: When 'buftype' is "nofile" there is no overwrite check.
2947Solution: Also check for existing file when 'buftype' is set.
2948 (closes #5807)
2949Files: src/ex_cmds.c, src/testdir/test_options.vim
2950
2951Patch 8.2.0404
2952Problem: Writefile() error does not give a hint.
2953Solution: Add remark about first argument.
2954Files: src/filepath.c, src/testdir/test_writefile.vim
2955
2956Patch 8.2.0405
2957Problem: MSVC: build fails with some combination of features.
2958Solution: Enable CHANNEL if TERMINAL is enabled. (Mike Williams)
2959Files: src/Make_mvc.mak
2960
2961Patch 8.2.0406
2962Problem: FileReadCmd event not well tested.
2963Solution: Add a test.
2964Files: src/testdir/test_autocmd.vim
2965
2966Patch 8.2.0407
2967Problem: No early check if :find and :sfind have an argument.
2968Solution: Add EX_NEEDARG.
2969Files: src/ex_cmds.h, src/testdir/test_findfile.vim,
2970 src/testdir/test_find_complete.vim
2971
2972Patch 8.2.0408
2973Problem: Delete() commented out for testing.
2974Solution: Undo commenting-out.
2975Files: src/testdir/test_vim9_disassemble.vim
2976
2977Patch 8.2.0409
2978Problem: Search test leaves file behind.
2979Solution: Delete the file. Also use Check commands.
2980Files: src/testdir/test_search.vim
2981
2982Patch 8.2.0410
2983Problem: Channel test fails too often on slow Mac.
2984Solution: Increase waiting time to 10 seconds.
2985Files: src/testdir/test_channel.vim
2986
2987Patch 8.2.0411
2988Problem: Mac: breakcheck is using a value from the stone ages.
2989Solution: Delete BREAKCHECK_SKIP from the Mac header file. (Ben Jackson)
2990Files: src/os_mac.h
2991
2992Patch 8.2.0412
2993Problem: MS-Windows: cannot use vimtutor from the start menu.
2994Solution: Better check for writable directory. Use the right path for the
2995 executable. (Wu Yongwei, closes #5774, closes #5756)
2996Files: vimtutor.bat
2997
2998Patch 8.2.0413
2999Problem: Buffer menu does not handle special buffers properly.
3000Solution: Keep a dictionary with buffer names to reliably keep track of
3001 entries.
3002 Also trigger BufFilePre and BufFilePost for command-line and
3003 terminal buffers when the name changes.
3004Files: src/testdir/test_alot.vim, src/testdir/Make_all.mak,
3005 runtime/menu.vim, src/ex_getln.c, src/terminal.c,
3006 src/testdir/test_menu.vim
3007
3008Patch 8.2.0414
3009Problem: Channel connect_waittime() test is flaky.
3010Solution: Set the test_is_flaky flag. Use test_is_flaky for more tests.
3011Files: src/testdir/test_channel.vim, src/testdir/test_terminal.vim,
3012 src/testdir/runtest.vim
3013
3014Patch 8.2.0415
3015Problem: Bsdl filetype is not detected.
3016Solution: Add an entry in the filetype list. (Daniel Kho, closes #5810)
3017Files: runtime/filetype.vim, src/testdir/test_filetype.vim
3018
3019Patch 8.2.0416
3020Problem: Test leaves file behind.
3021Solution: Delete the file.
3022Files: src/testdir/test_indent.vim
3023
3024Patch 8.2.0417
3025Problem: Travis CI config can be improved.
3026Solution: Remove COVERAGE variable. Add load-snd-dummy script. add "-i NONE"
3027 to avoid messages about viminfo. (Ozaki Kiichi, closes #5813)
3028Files: .travis.yml, ci/load-snd-dummy.sh
3029
3030Patch 8.2.0418
3031Problem: Code in eval.c not sufficiently covered by tests.
3032Solution: Add more tests. (Yegappan Lakshmanan, closes #5815)
3033Files: src/testdir/test_blob.vim, src/testdir/test_channel.vim,
3034 src/testdir/test_cmdline.vim, src/testdir/test_eval_stuff.vim,
3035 src/testdir/test_expr.vim, src/testdir/test_functions.vim,
3036 src/testdir/test_job_fails.vim, src/testdir/test_lambda.vim,
3037 src/testdir/test_let.vim, src/testdir/test_listdict.vim,
3038 src/testdir/test_marks.vim, src/testdir/test_method.vim,
3039 src/testdir/test_normal.vim, src/testdir/test_unlet.vim,
3040 src/testdir/test_usercommands.vim, src/testdir/test_vimscript.vim,
3041 src/testdir/test_window_cmd.vim
3042
3043Patch 8.2.0419
3044Problem: Various memory leaks in Vim9 script code.
3045Solution: Fix the leaks. (Ozaki Kiichi, closes #5814)
3046Files: src/proto/vim9compile.pro, src/scriptfile.c, src/structs.h,
3047 src/testdir/test_vim9_script.vim, src/vim9.h, src/vim9compile.c,
3048 src/vim9execute.c, src/vim9script.c
3049
3050Patch 8.2.0420
3051Problem: Vim9: cannot interrupt a loop with CTRL-C.
3052Solution: Check for CTRL-C once in a while. Doesn't fully work yet.
3053Files: src/misc1.c, src/proto/misc1.pro,
3054 src/testdir/test_vim9_script.vim
3055
3056Patch 8.2.0421
3057Problem: Interrupting with CTRL-C does not always work.
3058Solution: Recognize CTRL-C while modifyOtherKeys is set.
3059Files: src/ui.c, src/testdir/test_vim9_script.vim, src/evalfunc.c
3060
3061Patch 8.2.0422
3062Problem: Crash when passing popup window to win_splitmove(). (john Devin)
3063Solution: Disallow moving a popup window. (closes #5816)
3064Files: src/testdir/test_popupwin.vim, src/evalwindow.c
3065
3066Patch 8.2.0423
3067Problem: In some environments a few tests are expected to fail.
3068Solution: Add $TEST_MAY_FAIL to list tests that should not cause make to
3069 fail.
3070Files: src/testdir/runtest.vim
3071
3072Patch 8.2.0424
3073Problem: Checking for wrong return value. (Tom)
3074Solution: Invert the check and fix the test.
3075Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
3076
3077Patch 8.2.0425
3078Problem: Code for modeless selection not sufficiently tested.
3079Solution: Add tests. Move mouse code functionality to a common script file.
3080 (Yegappan Lakshmanan, closes #5821)
3081Files: src/testdir/Make_all.mak, src/testdir/gen_opt_test.vim,
3082 src/testdir/mouse.vim, src/testdir/test_edit.vim,
3083 src/testdir/test_global.vim, src/testdir/test_modeless.vim,
3084 src/testdir/test_normal.vim, src/testdir/test_selectmode.vim,
3085 src/testdir/test_termcodes.vim, src/testdir/test_visual.vim,
3086 src/ui.c
3087
3088Patch 8.2.0426
3089Problem: Some errors were not tested for.
3090Solution: Add tests. (Dominique Pellé, closes #5824)
3091Files: src/testdir/test_buffer.vim, src/testdir/test_options.vim,
3092 src/testdir/test_tcl.vim, src/testdir/test_terminal.vim,
3093 src/testdir/test_window_cmd.vim
3094
3095Patch 8.2.0427
3096Problem: It is not possible to check for a typo in a feature name.
3097Solution: Add an extra argument to has().
3098Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/check.vim,
3099 src/testdir/test_functions.vim
3100
3101Patch 8.2.0428
3102Problem: Buffer name may leak.
3103Solution: Free the buffer name before overwriting it.
3104Files: src/terminal.c
3105
3106Patch 8.2.0429
3107Problem: No warning when test checks for option that never exists.
3108Solution: In tests check that the option can exist.
3109Files: src/testdir/check.vim
3110
3111Patch 8.2.0430
3112Problem: Window creation failure not properly tested.
3113Solution: Improve the test. (Yegappan Lakshmanan, closes #5826)
3114Files: src/testdir/test_cmdline.vim, src/testdir/test_window_cmd.vim
3115
3116Patch 8.2.0431
3117Problem: Some compilers don't support using \e for Esc. (Yegappan
3118 Lakshmanan)
3119Solution: use \033 instead.
3120Files: src/ui.c
3121
3122Patch 8.2.0432
3123Problem: A few tests fail in a huge terminal.
3124Solution: Make the tests pass. (Dominique Pellé, closes #5829)
3125Files: src/testdir/test_autocmd.vim, src/testdir/test_options.vim,
3126 src/testdir/test_termcodes.vim, src/testdir/test_terminal.vim,
3127 src/testdir/test_window_cmd.vim
3128
3129Patch 8.2.0433
3130Problem: INT signal not properly tested.
3131Solution: Add a test. Also clean up some unnecessary lines. (Dominique
3132 Pellé, closes #5828)
3133Files: src/testdir/test_display.vim, src/testdir/test_ex_mode.vim,
3134 src/testdir/test_excmd.vim, src/testdir/test_messages.vim,
3135 src/testdir/test_signals.vim
3136
3137Patch 8.2.0434
3138Problem: MS-Windows with VTP: Normal color not working.
3139Solution: After changing the Normal color update the VTP console color.
3140 (Nobuhiro Takasaki, closes #5836)
3141Files: src/highlight.c
3142
3143Patch 8.2.0435
3144Problem: Channel contents might be freed twice.
3145Solution: Call either channel_free_channel() or channel_free(), not both.
3146 (Nobuhiro Takasaki, closes #5835)
3147Files: src/channel.c
3148
3149Patch 8.2.0436
3150Problem: No warnings for incorrect printf arguments.
3151Solution: Fix attribute in declaration. Fix uncovered mistakes. (Dominique
3152 Pellé, closes #5834)
3153Files: src/proto.h, src/eval.c, src/ops.c, src/spellfile.c,
3154 src/vim9compile.c, src/vim9execute.c, src/viminfo.c, src/gui.c
3155
3156Patch 8.2.0437
3157Problem: MS-Windows installer contains old stuff.
3158Solution: Rely on Windows NT. (Ken Takata, closes #5832)
3159Files: src/dosinst.c
3160
3161Patch 8.2.0438
3162Problem: Terminal noblock test is very flaky on BSD.
3163Solution: Change WaitFor() to WaitForAssert() to be able to see why it
3164 failed. Add a short wait in between sending keys.
3165Files: src/testdir/test_terminal.vim
3166
3167Patch 8.2.0439
3168Problem: :disassemble has minor flaws.
3169Solution: Format the code. Use (int) instead of (char) for %c.
3170 (also by James McCoy, closes #5831)
3171Files: src/vim9execute.c
3172
3173Patch 8.2.0440
3174Problem: Terminal noblock test is still very flaky on BSD.
3175Solution: Increase the waiting time.
3176Files: src/testdir/test_terminal.vim
3177
3178Patch 8.2.0441
3179Problem: Terminal noblock test is still failing on BSD.
3180Solution: Reduce the amount of text.
3181Files: src/testdir/test_terminal.vim
3182
3183Patch 8.2.0442
3184Problem: Channel contents might be used after being freed.
3185Solution: Reset the job channel before freeing the channel.
3186Files: src/channel.c
3187
3188Patch 8.2.0443
3189Problem: Clipboard code is spread out.
3190Solution: Move clipboard code to its own file. (Yegappan Lakshmanan,
3191 closes #5827)
3192Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
3193 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
3194 src/clipboard.c, src/ops.c, src/proto.h, src/proto/clipboard.pro,
3195 src/proto/ops.pro, src/proto/register.pro, src/proto/ui.pro,
3196 src/register.c, src/ui.c
3197
3198Patch 8.2.0444
3199Problem: Swap file test fails on some systems.
3200Solution: Preserve the swap file. Send NL terminated keys.
3201Files: src/testdir/test_swap.vim
3202
3203Patch 8.2.0445
3204Problem: Png and xpm files not in MS-Windows zip file.
3205Solution: Move files to shared between Unix and Windows target.
3206Files: Filelist
3207
3208Patch 8.2.0446
3209Problem: Listener with undo of deleting all lines not tested.
3210Solution: Add a test.
3211Files: src/testdir/test_listener.vim
3212
3213Patch 8.2.0447
3214Problem: Terminal scroll tests fails on some systems.
3215Solution: Remove the fixed 100msec wait for Win32. Add a loop to wait until
3216 scrolling has finished. (James McCoy, closes #5842)
3217Files: src/testdir/test_terminal.vim
3218
3219Patch 8.2.0448
3220Problem: Various functions not properly tested.
3221Solution: Add more tests, especially for failures. (Yegappan Lakshmanan,
3222 closes #5843)
3223Files: runtime/doc/eval.txt, src/testdir/test_blob.vim,
3224 src/testdir/test_breakindent.vim, src/testdir/test_charsearch.vim,
3225 src/testdir/test_clientserver.vim, src/testdir/test_cmdline.vim,
3226 src/testdir/test_exists.vim, src/testdir/test_expand_func.vim,
3227 src/testdir/test_expr.vim, src/testdir/test_file_perm.vim,
3228 src/testdir/test_functions.vim, src/testdir/test_gui.vim,
3229 src/testdir/test_listdict.vim, src/testdir/test_marks.vim,
3230 src/testdir/test_partial.vim, src/testdir/test_registers.vim,
3231 src/testdir/test_search.vim, src/testdir/test_spell.vim,
3232 src/testdir/test_substitute.vim, src/testdir/test_syn_attr.vim,
3233 src/testdir/test_syntax.vim, src/testdir/test_taglist.vim,
3234 src/testdir/test_utf8.vim, src/testdir/test_vartabs.vim,
3235 src/testdir/test_window_cmd.vim
3236
3237Patch 8.2.0449
3238Problem: Vim9: crash if return type is invalid. (Yegappan Lakshmanan)
3239Solution: Always return some type, not NULL.
3240Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
3241
3242Patch 8.2.0450
3243Problem: Not enough testing for restricted mode and function calls.
3244Solution: Add more tests. (Yegappan Lakshmanan, closes #5847)
3245Files: src/testdir/test_method.vim, src/testdir/test_restricted.vim,
3246 src/testdir/test_vim9_script.vim
3247
3248Patch 8.2.0451
3249Problem: Win32: double-width character displayed incorrectly.
3250Solution: First move the cursor to the first column. (Nobuhiro Takasaki,
3251 closes #5848)
3252Files: src/os_win32.c
3253
3254Patch 8.2.0452
3255Problem: channel_parse_messages() fails when called recursively.
3256Solution: Return for a recursive call. (closes #5835)
3257Files: src/channel.c
3258
3259Patch 8.2.0453
3260Problem: Trailing space in job_start() command causes empty argument.
3261Solution: Ignore trailing space. (closes #5851)
3262Files: src/misc2.c, src/testdir/test_channel.vim
3263
3264Patch 8.2.0454
3265Problem: Some tests fail when the system is slow.
3266Solution: Make the run number global, use in the test to increase the
3267 waiting time. (closes #5841)
3268Files: src/testdir/runtest.vim, src/testdir/test_functions.vim
3269
3270Patch 8.2.0455
3271Problem: Cannot set the highlight group for a specific terminal.
3272Solution: Add the "highlight" option to term_start(). (closes #5818)
3273Files: src/terminal.c, src/structs.h, src/channel.c,
3274 src/testdir/test_terminal.vim, runtime/doc/terminal.txt,
3275 src/testdir/dumps/Test_terminal_popup_Terminal.dump,
3276 src/testdir/dumps/Test_terminal_popup_MyTermCol.dump
3277
3278Patch 8.2.0456
3279Problem: Test_confirm_cmd is flaky.
3280Solution: Add a term_wait() call. (closes #5854)
3281Files: src/testdir/test_excmd.vim
3282
3283Patch 8.2.0457
3284Problem: Test_quotestar() often fails when run under valgrind.
3285Solution: Wait longer for the GUI to start.
3286Files: src/testdir/test_quotestar.vim
3287
3288Patch 8.2.0458
3289Problem: Missing feature check in test function.
3290Solution: Add check commands.
3291Files: src/testdir/test_excmd.vim
3292
3293Patch 8.2.0459
3294Problem: Cannot check if a function name is correct.
3295Solution: Add "?funcname" to exists().
3296Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_exists.vim,
3297 src/testdir/check.vim
3298
3299Patch 8.2.0460 (after 8.2.0459)
3300Problem: Build failure because of wrong feature name.
3301Solution: Correct feature name.
3302Files: src/evalfunc.c
3303
3304Patch 8.2.0461
3305Problem: Confirm test fails on amd64 system. (Alimar Riesebieter)
3306Solution: Add an extra WaitForAssert(). (Dominique Pellé)
3307Files: src/testdir/test_excmd.vim
3308
3309Patch 8.2.0462
3310Problem: Previewwindow test fails on some systems. (James McCoy)
3311Solution: Wait a bit after sending the "o". (closes #5849)
3312Files: src/testdir/test_popup.vim,
3313 src/testdir/dumps/Test_popup_and_previewwindow_01.dump
3314
3315Patch 8.2.0463
3316Problem: Build error without float and channel feature. (John Marriott)
3317Solution: Define return types always.
3318Files: src/globals.h, src/evalfunc.c
3319
3320Patch 8.2.0464
3321Problem: Typos and other small problems.
3322Solution: Fix the typos. Add missing files to the distribution.
3323Files: Filelist, src/buffer.c, src/drawline.c, src/gui_gtk_x11.c,
3324 src/os_unixx.h, src/proto/popupwin.pro
3325
3326Patch 8.2.0465
3327Problem: Vim9: dead code and wrong return type.
3328Solution: Remove dead code. Fix return type. Add more tests.
3329Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
3330
3331Patch 8.2.0466 (after 8.2.0452)
3332Problem: Not parsing messages recursively breaks the govim plugin.
3333Solution: When called recursively do handle messages but do not close
3334 channels.
3335Files: src/channel.c
3336
3337Patch 8.2.0467
3338Problem: Vim9: some errors are not tested
3339Solution: Add more tests. Fix that Vim9 script flag is not reset.
3340Files: src/vim9compile.c, src/scriptfile.c, src/dict.c,
3341 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim
3342
3343Patch 8.2.0468
3344Problem: GUI: pixel dust with some fonts and characters.
3345Solution: Always redraw the character before the cursor. (Nir Lichtman,
3346 closes #5549, closes #5856)
3347Files: src/gui.c, src/proto/gui.pro, src/screen.c
3348
3349Patch 8.2.0469
3350Problem: Vim9: no error for missing ] after list.
3351Solution: Add error message. Add more tests.
3352Files: src/globals.h, src/list.c, src/userfunc.c,
3353 src/testdir/test_vim9_expr.vim, src/testdir/test_lambda.vim
3354
3355Patch 8.2.0470
3356Problem: Test_confirm_cmd_cancel() can fail on a slow system.
3357Solution: Use WaitForAssert(). (Ozaki Kiichi, closes #5861)
3358Files: src/testdir/test_excmd.vim
3359
3360Patch 8.2.0471
3361Problem: Missing change to compile_list().
3362Solution: Add error message.
3363Files: src/vim9compile.c
3364
3365Patch 8.2.0472
3366Problem: Terminal highlight name is set twice, leaking memory.
3367Solution: Delete one.
3368Files: src/terminal.c
3369
3370Patch 8.2.0473
3371Problem: Variables declared in an outer scope.
3372Solution: Declare variables only in the scope where they are used.
3373Files: src/evalvars.c
3374
3375Patch 8.2.0474 (after 8.2.0403)
3376Problem: Cannot use :write when using a plugin with BufWriteCmd.
3377Solution: Reset BF_NOTEDITED after BufWriteCmd. (closes #5807)
3378Files: src/fileio.c, src/testdir/test_autocmd.vim
3379
3380Patch 8.2.0475
3381Problem: Channel out_cb test still fails sometimes on Mac.
3382Solution: Use an even longer timeout.
3383Files: src/testdir/test_channel.vim
3384
3385Patch 8.2.0476
3386Problem: Terminal nasty callback test fails sometimes.
3387Solution: use term_wait() instead of a sleep. (Yee Cheng Chin, closes #5865)
3388Files: src/testdir/test_terminal.vim
3389
3390Patch 8.2.0477
3391Problem: Vim9: error messages not tested.
3392Solution: Add more tests.
3393Files: src/testdir/test_vim9_expr.vim, src/vim9execute.c
3394
3395Patch 8.2.0478
3396Problem: New buffers are not added to the Buffers menu.
3397Solution: Turn number into string. (Yee Cheng Chin, closes #5864)
3398Files: runtime/menu.vim, src/testdir/test_menu.vim
3399
3400Patch 8.2.0479
3401Problem: Unloading shared libraries on exit has no purpose.
3402Solution: Do not unload shared libraries on exit.
3403Files: src/if_lua.c, src/if_perl.xs, src/if_python.c, src/if_python3.c,
3404 src/if_ruby.c, src/if_tcl.c
3405
3406Patch 8.2.0480
3407Problem: Vim9: some code is not tested.
3408Solution: Add more tests.
3409Files: src/testdir/test_vim9_expr.vim, src/vim9compile.c
3410
3411Patch 8.2.0481
3412Problem: Travis is still using trusty.
3413Solution: Adjust config to use bionic. (Ozaki Kiichi, closes #5868)
3414Files: .travis.yml, src/testdir/lsan-suppress.txt
3415
3416Patch 8.2.0482
3417Problem: Channel and sandbox code not sufficiently tested.
3418Solution: Add more tests. (Yegappan Lakshmanan, closes #5855)
3419Files: src/option.h, src/testdir/test_channel.vim,
3420 src/testdir/test_clientserver.vim, src/testdir/test_cmdline.vim,
3421 src/testdir/test_edit.vim, src/testdir/test_excmd.vim,
3422 src/testdir/test_normal.vim, src/testdir/test_prompt_buffer.vim,
3423 src/testdir/test_restricted.vim, src/testdir/test_smartindent.vim,
3424 src/testdir/test_substitute.vim, src/testdir/test_terminal.vim,
3425 src/testdir/test_textformat.vim, src/testdir/test_visual.vim
3426
3427Patch 8.2.0483
3428Problem: Vim9: "let x = x + 1" does not give an error.
3429Solution: Hide the variable when compiling the expression.
3430Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
3431
3432Patch 8.2.0484
3433Problem: Vim9: some error messages not tested.
3434Solution: Add more tests.
3435Files: src/testdir/test_vim9_expr.vim
3436
3437Patch 8.2.0485 (after 8.2.0483)
3438Problem: Vim9 script test fails.
3439Solution: Stricter condition for adding new local variable.
3440Files: Stricter condition for adding new local variable.
3441
3442Patch 8.2.0486
3443Problem: Vim9: some code and error messages not tested.
3444Solution: Add more tests.
3445Files: src/vim9compile.c, src/evalvars.c, src/testdir/test_vim9_expr.vim,
3446 src/testdir/test_vim9_script.vim
3447
3448Patch 8.2.0487
3449Problem: Vim9: compiling not sufficiently tested.
3450Solution: Add more tests. Fix bug with PCALL.
3451Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
3452 src/testdir/test_vim9_script.vim,
3453 src/testdir/test_vim9_disassemble.vim
3454
3455Patch 8.2.0488
3456Problem: Vim9: Compiling can break when using a lambda inside :def.
3457Solution: Do not keep a pointer to the dfunc_T for longer time.
3458Files: src/vim9compile.c, src/vim9.h
3459
3460Patch 8.2.0489
3461Problem: Vim9: memory leaks.
3462Solution: Free memory in the right place. Add hints for using asan.
3463Files: src/vim9compile.c, src/testdir/lsan-suppress.txt, src/Makefile
3464
3465Patch 8.2.0490
3466Problem: Win32: VTP doesn't respect 'restorescreen'.
3467Solution: Use escape codes to switch to alternate screen. (Nobuhiro
3468 Takasaki, closes #5872)
3469Files: src/os_win32.c
3470
3471Patch 8.2.0491
3472Problem: Cannot recognize a <script> mapping using maparg().
3473Solution: Add the "script" key. (closes #5873)
3474Files: src/map.c, runtime/doc/eval.txt, src/testdir/test_maparg.vim
3475
3476Patch 8.2.0492
3477Problem: Vim9: some error messages not tested.
3478Solution: Add more tests. Remove dead code. Fix uncovered bugs.
3479Files: src/vim9compile.c, src/vim9execute.c,
3480 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim
3481
3482Patch 8.2.0493
3483Problem: Vim9: some error messages not tested.
3484Solution: Add more tests. Fix uncovered bugs.
3485Files: src/vim9compile.c, src/vim9execute.c, src/testing.c, src/eval.c,
3486 src/proto/testing.pro, src/evalfunc.c, runtime/doc/eval.txt,
3487 runtime/doc/testing.txt, src/testdir/test_vim9_script.vim
3488
3489Patch 8.2.0494
3490Problem: Vim9: asan error.
3491Solution: Only get the type when there is one.
3492Files: src/vim9compile.c
3493
3494Patch 8.2.0495
3495Problem: Vim9: some code not tested.
3496Solution: Add more tests. Support more const expressions.
3497Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
3498
3499Patch 8.2.0496
3500Problem: Vim9: disassemble test fails.
3501Solution: Separate test cases with recognized constant expressions.
3502Files: src/testdir/test_vim9_disassemble.vim
3503
3504Patch 8.2.0497
3505Problem: Too verbose output from the asan build in Travis.
3506Solution: Filter out suppression messages. (Ozaki Kiichi, closes #5874)
3507Files: .travis.yml
3508
3509Patch 8.2.0498
3510Problem: Coverity complains about uninitialized field.
3511Solution: Initialize the whole typval_T.
3512Files: src/vim9compile.c
3513
3514Patch 8.2.0499
3515Problem: Calling a lambda is slower than evaluating a string.
3516Solution: Make calling a lambda faster. (Ken Takata, closes #5727)
3517Files: src/userfunc.c
3518
3519Patch 8.2.0500
3520Problem: Using the same loop in many places.
3521Solution: Define more FOR_ALL macros. (Yegappan Lakshmanan, closes #5339)
3522Files: src/arglist.c, src/autocmd.c, src/buffer.c, src/change.c,
3523 src/channel.c, src/cmdexpand.c, src/diff.c, src/eval.c,
3524 src/evalbuffer.c, src/evalfunc.c, src/evalvars.c,
3525 src/evalwindow.c, src/ex_cmds2.c, src/filepath.c, src/globals.h,
3526 src/gui.c, src/if_py_both.h, src/if_ruby.c, src/insexpand.c,
3527 src/list.c, src/misc2.c, src/netbeans.c, src/popupwin.c,
3528 src/quickfix.c, src/screen.c, src/sign.c, src/spell.c,
3529 src/spellfile.c, src/spellsuggest.c, src/tag.c, src/terminal.c,
3530 src/userfunc.c, src/window.c
3531
3532Patch 8.2.0501
3533Problem: Vim9: script test fails when channel feature is missing.
3534Solution: Add a has() condition.
3535Files: src/testdir/test_vim9_script.vim
3536
3537Patch 8.2.0502
3538Problem: Vim9: some code is not tested.
3539Solution: Add more tests. Fix uncovered problems.
3540Files: src/vim9compile.c, src/regexp.c, src/proto/regexp.pro,
3541 src/cmdexpand.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_eval.c,
3542 src/ex_getln.c, src/highlight.c, src/search.c, src/syntax.c,
3543 src/tag.c, src/userfunc.c, src/testdir/test_vim9_script.vim,
3544 src/testdir/test_vim9_disassemble.vim
3545
3546Patch 8.2.0503
3547Problem: Vim9: some code is not tested.
3548Solution: Add tests. Fix uncovered problems.
3549Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
3550
3551Patch 8.2.0504
3552Problem: Vim9: leaking scope memory when compilation fails.
3553Solution: Cleanup the scope list.
3554Files: src/vim9compile.c
3555
3556Patch 8.2.0505
3557Problem: term_gettty() not sufficiently tested.
3558Solution: Add more asserts. (Dominique Pellé, closes #5877)
3559Files: src/testdir/test_terminal.vim
3560
3561Patch 8.2.0506
3562Problem: Coverity complains about ignoring return value.
3563Solution: Add (void).
3564Files: src/userfunc.c
3565
3566Patch 8.2.0507 (after 8.2.0472)
3567Problem: Getbufvar() may get the wrong dictionary. (David le Blanc)
3568Solution: Check for empty name. (closes #5878)
3569Files: src/evalvars.c, src/testdir/test_functions.vim
3570
3571Patch 8.2.0508
3572Problem: Vim9: func and partial types not done yet
3573Solution: Fill in details about func declaration, drop a separate partial
3574 declaration.
3575Files: runtime/doc/vim9.txt, src/vim9compile.c, src/globals.h,
3576 src/structs.h, src/evalfunc.c, src/testdir/test_vim9_expr.vim,
3577 src/testdir/test_vim9_script.vim,
3578 src/testdir/test_vim9_disassemble.vim
3579
3580Patch 8.2.0509
3581Problem: various code is not properly tested.
3582Solution: Add more tests. (Yegappan Lakshmanan, closes #5871)
3583Files: src/main.c, src/testdir/check.vim, src/testdir/shared.vim,
3584 src/testdir/term_util.vim, src/testdir/test_clientserver.vim,
3585 src/testdir/test_ex_mode.vim, src/testdir/test_expand.vim,
3586 src/testdir/test_functions.vim, src/testdir/test_options.vim,
3587 src/testdir/test_startup.vim, src/testdir/test_textformat.vim,
3588 src/testdir/test_trycatch.vim, src/testdir/test_viminfo.vim
3589
3590Patch 8.2.0510
3591Problem: Coverity complains about using uninitialized variable.
3592Solution: Assign a value to "scol". Move code inside NULL check.
3593Files: src/beval.c, src/popupwin.c
3594
3595Patch 8.2.0511
3596Problem: Cscope code not fully tested.
3597Solution: Add more test cases. (Dominique Pellé, closes #5886)
3598Files: src/testdir/test_cscope.vim
3599
3600Patch 8.2.0512
3601Problem: Vim9: no optional arguments in func type.
3602Solution: Check for question mark after type. Find function reference
3603 without function().
3604Files: src/vim9compile.c, src/vim9execute.c, src/structs.h,
3605 src/globals.h, src/vim.h, src/vim9.h, src/userfunc.c,
3606 src/testdir/Make_all.mak, src/testdir/test_vim9_script.vim,
3607 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
3608 src/testdir/test_vim9_disassemble.vim
3609
3610Patch 8.2.0513
3611Problem: Reading past allocated memory when using varargs.
3612Solution: Fix copying function argument types.
3613Files: src/vim9compile.c
3614
3615Patch 8.2.0514
3616Problem: Several global functions are used in only one file.
3617Solution: Make the functions static. (Yegappan Lakshmanan, closes #5884)
3618Files: src/drawscreen.c, src/evalvars.c, src/getchar.c, src/list.c,
3619 src/proto/drawscreen.pro, src/proto/evalvars.pro,
3620 src/proto/getchar.pro, src/proto/list.pro, src/proto/version.pro,
3621 src/version.c
3622
3623Patch 8.2.0515
3624Problem: Some compilers cannot add to "void *".
3625Solution: Cast to "char *".
3626Files: src/vim9compile.c
3627
3628Patch 8.2.0516
3629Problem: Client-server code is spread out.
3630Solution: Move client-server code to a new file. (Yegappan Lakshmanan,
3631 closes #5885)
3632Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
3633 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
3634 src/clientserver.c, src/evalfunc.c, src/main.c, src/proto.h,
3635 src/proto/clientserver.pro, src/proto/main.pro
3636
3637Patch 8.2.0517
3638Problem: Vim9: cannot separate "func" and "func(): void".
3639Solution: Use VAR_ANY for "any" and VAR_UNKNOWN for "no type".
3640Files: src/structs.h, src/globals.h, src/eval.c, src/evalfunc.c,
3641 src/evalvars.c, src/testing.c, src/vim9compile.c,
3642 src/vim9execute.c, src/viminfo.c, src/if_py_both.h, src/json.c,
3643 src/testdir/test_vim9_func.vim
3644
3645Patch 8.2.0518
3646Problem: A terminal falls back to setting $TERM to "xterm".
3647Solution: Use "xterm-color" if more than 16 colors are supported and
3648 "xterm-256color" if at least 256 colors are supported.
3649 (closes #5887)
3650Files: src/os_unix.c
3651
3652Patch 8.2.0519
3653Problem: Vim9: return type not properly checked.
3654Solution: Check type properly, also at runtime.
3655Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
3656
3657Patch 8.2.0520
3658Problem: Tests are not listed in sorted order.
3659Solution: Move test_ex_mode. (Doug Richardson, closes #5889)
3660Files: src/testdir/Make_all.mak
3661
3662Patch 8.2.0521
3663Problem: Crash when reading a blob fails.
3664Solution: Avoid keeping a pointer to a freed blob object. (Dominique Pellé,
3665 closes #5890) Adjust error messages.
3666Files: src/filepath.c, src/testdir/test_blob.vim
3667
3668Patch 8.2.0522
3669Problem: Several errors are not tested for.
3670Solution: Add tests. (Yegappan Lakshmanan, closes #5892)
3671Files: src/testdir/test_autocmd.vim, src/testdir/test_clientserver.vim,
3672 src/testdir/test_digraph.vim, src/testdir/test_expand.vim,
3673 src/testdir/test_expr.vim, src/testdir/test_functions.vim,
3674 src/testdir/test_gui.vim, src/testdir/test_highlight.vim,
3675 src/testdir/test_ins_complete.vim, src/testdir/test_lambda.vim,
3676 src/testdir/test_listdict.vim, src/testdir/test_normal.vim,
3677 src/testdir/test_options.vim, src/testdir/test_preview.vim,
3678 src/testdir/test_user_func.vim, src/testdir/test_vim9_func.vim,
3679 src/testdir/test_vim9_script.vim, src/testdir/test_viminfo.vim,
3680 src/testdir/test_vimscript.vim, src/testdir/test_window_cmd.vim
3681
3682Patch 8.2.0523
3683Problem: Loops are repeated.
3684Solution: Use FOR_ALL_ macros. (Yegappan Lakshmanan, closes #5882)
3685Files: src/buffer.c, src/drawscreen.c, src/evalfunc.c, src/evalwindow.c,
3686 src/globals.h, src/gui_athena.c, src/gui_gtk.c, src/gui_motif.c,
3687 src/gui_w32.c, src/list.c, src/menu.c, src/popupmenu.c,
3688 src/popupwin.c, src/quickfix.c, src/syntax.c, src/time.c,
3689 src/userfunc.c, src/vim9compile.c
3690
3691Patch 8.2.0524
3692Problem: Win32: searching for file matches is slow.
3693Solution: Instead of making another round to find any short filename, check
3694 for the short name right away. Avoid using an ordinary file like a
3695 directory. (Nir Lichtman, closes #5883)
3696Files: src/filepath.c
3697
3698Patch 8.2.0525 (after 8.2.0524)
3699Problem: Win32: typo in assignment and misplaced paren.
3700Solution: Fix the syntax.
3701Files: src/filepath.c
3702
3703Patch 8.2.0526
3704Problem: Gcc 9 complains about empty statement.
3705Solution: Add {}. (Dominique Pellé, closes #5894)
3706Files: src/evalfunc.c
3707
3708Patch 8.2.0527
3709Problem: Vim9: function types insufficiently tested.
3710Solution: Add more tests. Fix white space check. Add "test_vim9" target.
3711Files: src/vim9compile.c, src/testdir/test_vim9_func.vim, src/Makefile,
3712 src/testdir/Makefile, src/testdir/Make_all.mak
3713
3714Patch 8.2.0528
3715Problem: Vim9: function arguments insufficiently tested.
3716Solution: Check types. Add more tests. Fix function with varargs only.
3717Files: src/vim9compile.c, src/userfunc.c, src/testdir/test_vim9_func.vim
3718
3719Patch 8.2.0529
3720Problem: Vim9: function argument with default not checked.
3721Solution: Check type of argument with default value.
3722Files: src/vim9compile.c, src/userfunc.c, src/testdir/test_vim9_func.vim
3723
3724Patch 8.2.0530
3725Problem: Test crashes on s390. (James McCoy)
3726Solution: Explicitly define an 8 big signed type. (closes #5897)
3727Files: src/structs.h
3728
3729Patch 8.2.0531
3730Problem: Various errors not tested.
3731Solution: Add tests. (Yegappan Lakshmanan, closes #5895)
3732Files: src/testdir/test_search.vim, src/testdir/test_source.vim,
3733 src/testdir/test_syntax.vim, src/testdir/test_user_func.vim,
3734 src/testdir/test_vimscript.vim
3735
3736Patch 8.2.0532
3737Problem: Cannot use simplify() as a method.
3738Solution: Add FEARG_1. (closes #5896)
3739Files: runtime/doc/eval.txt, src/evalfunc.c,
3740 src/testdir/test_functions.vim
3741
3742Patch 8.2.0533
3743Problem: Tests using term_wait() can still be flaky.
3744Solution: Increase the wait time when rerunning a test. (James McCoy,
3745 closes #5899) Halve the initial times to make tests run faster
3746 when there is no rerun.
3747Files: src/testdir/term_util.vim, src/testdir/test_arglist.vim,
3748 src/testdir/test_autocmd.vim, src/testdir/test_balloon.vim,
3749 src/testdir/test_bufline.vim, src/testdir/test_channel.vim,
3750 src/testdir/test_cmdline.vim, src/testdir/test_conceal.vim,
3751 src/testdir/test_cursorline.vim, src/testdir/test_debugger.vim,
3752 src/testdir/test_diffmode.vim, src/testdir/test_display.vim,
3753 src/testdir/test_functions.vim, src/testdir/test_highlight.vim,
3754 src/testdir/test_ins_complete.vim, src/testdir/test_mapping.vim,
3755 src/testdir/test_match.vim, src/testdir/test_matchadd_conceal.vim,
3756 src/testdir/test_messages.vim, src/testdir/test_number.vim,
3757 src/testdir/test_popup.vim, src/testdir/test_popupwin.vim,
3758 src/testdir/test_profile.vim, src/testdir/test_search.vim,
3759 src/testdir/test_search_stat.vim, src/testdir/test_startup.vim,
3760 src/testdir/test_startup_utf8.vim,
3761 src/testdir/test_statusline.vim, src/testdir/test_suspend.vim,
3762 src/testdir/test_swap.vim, src/testdir/test_tagjump.vim,
3763 src/testdir/test_terminal.vim, src/testdir/test_terminal_fail.vim,
3764 src/testdir/test_timers.vim, src/testdir/test_vimscript.vim
3765
3766Patch 8.2.0534
3767Problem: Client-server test fails under valgrind.
3768Solution: Use WaitForAssert().
3769Files: src/testdir/test_clientserver.vim
3770
3771Patch 8.2.0535
3772Problem: Regexp patterns not fully tested.
3773Solution: Add more regexp tests and others. (Yegappan Lakshmanan,
3774 closes #5901)
3775Files: src/testdir/test_marks.vim, src/testdir/test_options.vim,
3776 src/testdir/test_regexp_latin.vim, src/testdir/test_search.vim
3777
3778Patch 8.2.0536
3779Problem: Vim9: some compilation code not tested.
3780Solution: Add more test cases.
3781Files: src/evalvars.c, src/proto/evalvars.pro, src/vim9compile.c,
3782 src/testdir/test_vim9_expr.vim
3783
3784Patch 8.2.0537
3785Problem: Vim9: no check for sandbox when setting v:var.
3786Solution: Check for sandbox.
3787Files: src/evalvars.c, src/testdir/test_vim9_script.vim
3788
3789Patch 8.2.0538
3790Problem: Vim9: VAR_PARTIAL is not used during compilation.
3791Solution: Remove VAR_PARTIAL.
3792Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c
3793
3794Patch 8.2.0539
3795Problem: Comparing two NULL list fails.
3796Solution: Change the order of comparing two lists.
3797Files: src/list.c, src/testdir/test_assert.vim
3798
3799Patch 8.2.0540
3800Problem: Regexp and other code not tested.
3801Solution: Add more tests. (Yegappan Lakshmanan, closes #5904)
3802Files: src/testdir/test_backspace_opt.vim, src/testdir/test_expr.vim,
3803 src/testdir/test_increment.vim, src/testdir/test_normal.vim,
3804 src/testdir/test_options.vim, src/testdir/test_regexp_latin.vim,
3805 src/testdir/test_search.vim, src/testdir/test_substitute.vim,
3806 src/testdir/test_terminal.vim, src/testdir/test_virtualedit.vim
3807
3808Patch 8.2.0541
3809Problem: Travis CI does not give compiler warnings.
3810Solution: Add flags for warnings. Fix uncovered problems. (Ozaki Kiichi,
3811 closes #5898)
3812Files: .travis.yml, ci/config.mk.clang.sed, ci/config.mk.gcc.sed,
3813 ci/config.mk.sed, src/if_perl.xs, src/if_ruby.c,
3814 src/libvterm/t/harness.c
3815
3816Patch 8.2.0542
3817Problem: No test for E386.
3818Solution: Add a test. (Dominique Pellé, closes #5911)
3819Files: src/testdir/test_search.vim
3820
3821Patch 8.2.0543
3822Problem: Vim9: function with varargs does not work properly.
3823Solution: Improve function type spec and add tests. Fix bugs.
3824Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9execute.c,
3825 src/structs.h, src/testdir/test_vim9_func.vim
3826
3827Patch 8.2.0544
3828Problem: Memory leak in search test.
3829Solution: Free msgbuf. (Dominique Pellé, closes #5912)
3830Files: src/search.c
3831
3832Patch 8.2.0545
3833Problem: Unused arguments ignored in non-standard way.
3834Solution: Add UNUSED instead of (void).
3835Files: src/libvterm/t/harness.c
3836
3837Patch 8.2.0546
3838Problem: Vim9: varargs implementation is inefficient.
3839Solution: Create list without moving the arguments.
3840Files: src/vim9compile.c, src/vim9execute.c
3841
3842Patch 8.2.0547
3843Problem: Win32: restoring screen not always done right.
3844Solution: Use a more appropriate method. (Nobuhiro Takasaki, closes #5909)
3845Files: src/os_win32.c
3846
3847Patch 8.2.0548
3848Problem: Vim9: not all possible func type errors tested.
3849Solution: Add more tests.
3850Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
3851
3852Patch 8.2.0549
3853Problem: User systemd files not recognized.
3854Solution: Add filetype patterns. (Kevin Locke, closes #5914)
3855Files: runtime/filetype.vim, src/testdir/test_filetype.vim
3856
3857Patch 8.2.0550
3858Problem: Some changes in the libvterm upstream code.
3859Solution: Include some changes.
3860Files: src/libvterm/t/harness.c
3861
3862Patch 8.2.0551
3863Problem: Not all code for options is tested.
3864Solution: Add more tests. (Yegappan Lakshmanan, closes #5913)
3865Files: src/testdir/test_options.vim, src/testdir/test_python3.vim,
3866 src/testdir/test_undo.vim, src/testdir/test_vimscript.vim
3867
3868Patch 8.2.0552
3869Problem: Vim9: some errors not covered by tests.
3870Solution: Add more tests. Check Funcref argument types.
3871Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
3872
3873Patch 8.2.0553 (after 8.2.0550)
3874Problem: Error for unused argument.
3875Solution: Add UNUSED.
3876Files: src/libvterm/t/harness.c
3877
3878Patch 8.2.0554
3879Problem: The GUI doesn't set t_Co.
3880Solution: In the GUI set t_Co to 256 * 256 * 256. (closes #5903)
3881Files: src/term.c, src/proto/term.pro, src/gui.c,
3882 src/testdir/test_gui.vim
3883
3884Patch 8.2.0555
3885Problem: Vim9: line continuation is not always needed.
3886Solution: Recognize continuation lines automatically in list and dict.
3887Files: runtime/doc/vim9.txt, src/vim9compile.c,
3888 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim
3889
3890Patch 8.2.0556
3891Problem: Vim9: memory leak when finding common type.
3892Solution: Store allocated memory in type growarray.
3893Files: src/vim9compile.c
3894
3895Patch 8.2.0557
3896Problem: No IPv6 support for channels.
3897Solution: Add IPv6 support. (Ozaki Kiichi, closes #5893)
3898Files: .travis.yml, runtime/doc/channel.txt, runtime/doc/various.txt,
3899 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/auto/configure,
3900 src/channel.c, src/config.h.in, src/configure.ac, src/evalfunc.c,
3901 src/proto/channel.pro, src/testdir/check.vim,
3902 src/testdir/runtest.vim, src/testdir/test_cdo.vim,
3903 src/testdir/test_channel.py, src/testdir/test_channel.vim,
3904 src/testdir/test_channel_6.py, src/testdir/test_escaped_glob.vim,
3905 src/testdir/test_getcwd.vim, src/testdir/test_hide.vim
3906
3907Patch 8.2.0558
3908Problem: Vim9: dict code not covered by tests.
3909Solution: Remove dead code, adjust test case.
3910Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
3911
3912Patch 8.2.0559
3913Problem: Clearing a struct is verbose.
3914Solution: Define and use CLEAR_FIELD() and CLEAR_POINTER().
3915Files: src/vim.h, src/blowfish.c, src/channel.c, src/charset.c,
3916 src/clipboard.c, src/diff.c, src/eval.c, src/evalfunc.c,
3917 src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c, src/findfile.c,
3918 src/gui_gtk_f.c, src/gui_mac.c, src/gui_motif.c, src/gui_w32.c,
3919 src/gui_x11.c, src/hardcopy.c, src/hashtab.c, src/highlight.c,
3920 src/if_mzsch.c, src/insexpand.c, src/kword_test.c, src/list.c,
3921 src/main.c, src/map.c, src/memfile.c, src/message_test.c,
3922 src/misc1.c, src/netbeans.c, src/normal.c, src/ops.c,
3923 src/option.c, src/os_mswin.c, src/os_win32.c, src/popupmenu.c,
3924 src/quickfix.c, src/regexp.c, src/regexp_bt.c, src/regexp_nfa.c,
3925 src/search.c, src/sign.c, src/spell.c, src/spellfile.c,
3926 src/spellsuggest.c, src/syntax.c, src/tag.c, src/terminal.c,
3927 src/time.c, src/undo.c, src/userfunc.c, src/vim9compile.c,
3928 src/vim9execute.c, src/if_py_both.h
3929
3930Patch 8.2.0560
3931Problem: Compiler warning in tiny build.
3932Solution: Move declaration inside #ifdef. (Dominique Pellé, closes #5915)
3933Files: src/ex_docmd.c
3934
3935Patch 8.2.0561
3936Problem: Vim9: cannot split function call in multiple lines.
3937Solution: Find more arguments in following lines.
3938Files: runtime/doc/vim9.txt, src/vim9compile.c,
3939 src/testdir/test_vim9_script.vim
3940
3941Patch 8.2.0562
3942Problem: Vim9: cannot split an expression into multiple lines.
3943Solution: Continue in next line after an operator.
3944Files: runtime/doc/vim9.txt, src/macros.h, src/vim9compile.c,
3945 src/testdir/test_vim9_expr.vim
3946
3947Patch 8.2.0563
3948Problem: Vim9: cannot split a function line.
3949Solution: Continue in next line so long as the function isn't done.
3950Files: runtime/doc/vim9.txt, src/userfunc.c, src/proto/userfunc.pro,
3951 src/vim9compile.c, src/testdir/test_vim9_func.vim
3952
3953Patch 8.2.0564
3954Problem: Vim9: calling a def function from non-vim9 may fail.
3955Solution: Convert varargs to a list.
3956Files: src/testdir/test_vim9_func.vim, src/vim9execute.c
3957
3958Patch 8.2.0565
3959Problem: Vim9: tests contain superfluous line continuation.
3960Solution: Remove line continuation no longer needed. Skip empty lines.
3961Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
3962 src/testdir/test_vim9_disassemble.vim
3963
3964Patch 8.2.0566
3965Problem: Vim9: variable can be used uninitialized.
3966Solution: Jump to after where variable is used.
3967Files: src/vim9execute.c
3968
3969Patch 8.2.0567
3970Problem: Vim9: cannot put comments halfway expressions.
3971Solution: Support # comments in many places.
3972Files: runtime/doc/vim9.txt, src/vim9compile.c, src/userfunc.c,
3973 src/ex_docmd.c, src/testdir/test_vim9_func.vim,
3974 src/testdir/test_vim9_script.vim
3975
3976Patch 8.2.0568
3977Problem: The man filetype plugin overwrites the unnamed register.
3978Solution: Use the black hole register. (Jason Franklin)
3979Files: runtime/ftplugin/man.vim, src/testdir/test_man.vim
3980
3981Patch 8.2.0569
3982Problem: Build failure with tiny version.
3983Solution: Add #ifdef.
3984Files: src/ex_docmd.c
3985
3986Patch 8.2.0570
3987Problem: Vim9: no error when omitting type from argument.
3988Solution: Enforce specifying argument types.
3989Files: src/userfunc.c, src/ex_eval.c, src/testdir/test_vim9_script.vim,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00003990 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_expr.vim,
Bram Moolenaarc51cf032022-02-26 12:25:45 +00003991 src/testdir/test_vim9_disassemble.vim
3992
3993Patch 8.2.0571
3994Problem: Double free when passing invalid argument to job_start().
3995Solution: Clear the argument when freed. (Masato Nishihata, closes #5926)
3996Files: src/misc2.c, src/testdir/test_channel.vim
3997
3998Patch 8.2.0572 (after 8.2.0571)
3999Problem: Using two lines for free and reset.
4000Solution: Use VIM_CLEAR() instead. (Yegappan Lakshmanan)
4001Files: src/misc2.c
4002
4003Patch 8.2.0573
4004Problem: using :version twice leaks memory
4005Solution: Only initialize variables once. (Dominique Pellé, closes #5917)
4006Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim,
4007 src/testdir/test_version.vim, src/version.c, src/globals.h
4008
4009Patch 8.2.0574
4010Problem: Ipv6 feature not shown in :version output.
4011Solution: Add ipv6 in :version output. (Ozaki Kiichi, closes #5924)
4012Files: runtime/doc/eval.txt, src/version.c
4013
4014Patch 8.2.0575
4015Problem: :digraph! not tested.
4016Solution: Add a test. (Dominique Pellé, closes #5925)
4017Files: src/testdir/test_digraph.vim
4018
4019Patch 8.2.0576
4020Problem: Some errors are not covered by tests.
4021Solution: Add a few more tests. (Dominique Pellé, closes #5920)
4022Files: src/testdir/test_buffer.vim, src/testdir/test_digraph.vim,
4023 src/testdir/test_expr.vim, src/testdir/test_messages.vim
4024
4025Patch 8.2.0577
4026Problem: Not all modifiers supported for :options.
4027Solution: Use all cmdmod.split flags. (closes #4401)
4028Files: src/usercmd.c, src/proto/usercmd.pro, src/scriptfile.c,
4029 src/testdir/test_options.vim, src/testdir/test_usercommands.vim
4030
4031Patch 8.2.0578
4032Problem: Heredoc for interfaces does not support "trim".
4033Solution: Update the script heredoc support to be same as the :let command.
4034 (Yegappan Lakshmanan, closes #5916)
4035Files: runtime/doc/if_lua.txt, runtime/doc/if_mzsch.txt,
4036 runtime/doc/if_perl.txt, runtime/doc/if_pyth.txt,
4037 runtime/doc/if_ruby.txt, runtime/doc/if_tcl.txt, src/evalvars.c,
4038 src/ex_getln.c, src/proto/evalvars.pro, src/testdir/test86.in,
4039 src/testdir/test87.in, src/testdir/test_lua.vim,
4040 src/testdir/test_perl.vim, src/testdir/test_python2.vim,
4041 src/testdir/test_python3.vim, src/testdir/test_pyx2.vim,
4042 src/testdir/test_pyx3.vim, src/testdir/test_ruby.vim,
4043 src/testdir/test_tcl.vim, src/userfunc.c, src/vim9compile.c
4044
4045Patch 8.2.0579
4046Problem: Coverity warns for unused value.
4047Solution: Change order and use "else if".
4048Files: src/os_unix.c
4049
4050Patch 8.2.0580
4051Problem: Window size wrong if 'ea' is off and 'splitright' is on and
4052 splitting then closing a window.
4053Solution: Put abandoned window space in the right place. (Mark Waggoner)
4054Files: src/testdir/test_winbuf_close.vim, src/window.c
4055
4056Patch 8.2.0581 (after 8.2.0547)
4057Problem: Win32 console: the cursor position is always top-left.
4058Solution: Revert the patch for restoring screen.
4059Files: src/os_win32.c
4060
4061Patch 8.2.0582
4062Problem: Color ramp test does not show text colors.
4063Solution: Add a row of 16 text colors and 16 bold text colors.
4064Files: src/testdir/color_ramp.vim
4065
4066Patch 8.2.0583
4067Problem: Vim9: # comment not recognized in :def function.
4068Solution: Recognize and skip # comment.
4069Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
4070
4071Patch 8.2.0584
4072Problem: Viminfo file uses obsolete function file_readable().
4073Solution: Use filereadable(). (closes #5934)
4074Files: src/session.c
4075
4076Patch 8.2.0585
4077Problem: Vim9: # comment not recognized after :vim9script.
4078Solution: Check script type. Make comment after ":echo" work. And in
4079 several other places.
4080Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/eval.c,
4081 src/vim9compile.c, src/testdir/test_vim9_script.vim
4082
4083Patch 8.2.0586
4084Problem: Vim9: # comment not sufficiently tested
4085Solution: Check for preceding white space.
4086Files: src/eval.c, src/testdir/test_vim9_script.vim
4087
4088Patch 8.2.0587
4089Problem: Compiler warning for unused variable.
4090Solution: Add UNUSED.
4091Files: src/ex_docmd.c
4092
4093Patch 8.2.0588
4094Problem: Putty does not use "sgr" 'ttymouse' by default.
4095Solution: Make "sgr" the default for Putty. (Christian Brabandt,
4096 closes #5942)
4097Files: src/term.c
4098
4099Patch 8.2.0589
4100Problem: .bsd file type not recognized.
4101Solution: Recognize .bsd as BSDL. (Daniel Kho, closes #5945)
4102Files: runtime/filetype.vim, src/testdir/test_filetype.vim
4103
4104Patch 8.2.0590
4105Problem: No 'backspace' value allows ignoring the insertion point.
4106Solution: Add the "nostop" and 3 values. (Christian Brabandt, closes #5940)
4107Files: runtime/doc/options.txt, src/edit.c, src/option.c, src/option.h,
4108 src/optionstr.c, src/testdir/gen_opt_test.vim,
4109 src/testdir/test_backspace_opt.vim
4110
4111Patch 8.2.0591
4112Problem: MS-Windows: should always support IPv6
4113Solution: Add build flag. (Ozaki Kiichi, closes #5944)
4114Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
4115
4116Patch 8.2.0592
4117Problem: MS-Windows with VTP: cursor is not made invisible.
4118Solution: Output the code to make the cursor visible or invisible. (Nobuhiro
4119 Takasaki, closes #5941)
4120Files: src/os_win32.c
4121
4122Patch 8.2.0593
4123Problem: Finding a user command is not optimal.
4124Solution: Start further down in the list of commands.
4125Files: src/ex_cmds.h, src/ex_docmd.c
4126
4127Patch 8.2.0594
4128Problem: MS-Windows: cannot build with WINVER set to 0x0501.
4129Solution: Only use inet_ntop() when available. (Ozaki Kiichi, closes #5946)
4130Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/auto/configure,
4131 src/channel.c, src/config.h.in, src/configure.ac
4132
4133Patch 8.2.0595
4134Problem: Vim9: not all commands using ends_excmd() tested.
4135Solution: Find # comment after regular commands. Add more tests. Report
4136 error for where it was caused.
4137Files: src/ex_docmd.c, src/vim9compile.c, src/vim9execute.c, src/usercmd.c,
4138 src/evalfunc.c, src/userfunc.c, src/proto/userfunc.pro,
4139 src/testdir/test_vim9_script.vim,
4140 src/testdir/test_vim9_disassemble.vim
4141
4142Patch 8.2.0596
4143Problem: Crash in test49.
4144Solution: Check the right pointer.
4145Files: src/userfunc.c, src/testdir/test_eval.ok
4146
4147Patch 8.2.0597
4148Problem: Test_eval is old style.
4149Solution: Change some tests to a new style test.
4150Files: src/testdir/test_eval.in, src/testdir/test_eval.ok,
4151 src/testdir/test_eval_stuff.vim
4152
4153Patch 8.2.0598
4154Problem: Test_eval_stuff fails in normal terminal.
4155Solution: Close the new window.
4156Files: src/testdir/test_eval_stuff.vim
4157
4158Patch 8.2.0599
4159Problem: Netbeans interface insufficiently tested.
4160Solution: Add more tests. (Yegappan Lakshmanan, closes #5921)
4161Files: runtime/doc/netbeans.txt, src/netbeans.c, src/os_win32.c,
4162 src/testdir/runtest.vim, src/testdir/test_netbeans.py,
4163 src/testdir/test_netbeans.vim
4164
4165Patch 8.2.0600
4166Problem: Vim9: cannot read or write w:, t: and b: variables.
4167Solution: Implement load and store for w:, t: and b: variables.
Bram Moolenaar47c532e2022-03-19 15:18:53 +00004168 (closes #5950)
Bram Moolenaarc51cf032022-02-26 12:25:45 +00004169Files: src/testdir/test_vim9_disassemble.vim,
4170 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim,
4171 src/vim9.h, src/vim9compile.c, src/vim9execute.c
4172
4173Patch 8.2.0601
4174Problem: Vim9: :unlet is not compiled.
4175Solution: Implement :unlet instruction and check for errors.
4176Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9.h,
4177 src/vim9execute.c, src/evalvars.c, src/proto/evalvars.pro,
4178 src/eval.c, src/testdir/test_vim9_script.vim,
4179 src/testdir/test_vim9_disassemble.vim
4180
4181Patch 8.2.0602
4182Problem: :unlet $VAR does not work properly.
4183Solution: Make ":lockvar $VAR" fail. Check the "skip" flag.
4184Files: src/evalvars.c, src/globals.h, src/testdir/test_vimscript.vim
4185
4186Patch 8.2.0603
4187Problem: Configure does not detect moonjit.
4188Solution: Add check for moonjit. (Shlomi Fish, closes #5947)
4189Files: src/configure.ac, src/auto/configure
4190
4191Patch 8.2.0604
4192Problem: :startinsert in a terminal window used later.
4193Solution: Ignore :startinsert in a terminal window. (closes #5952)
4194Files: src/ex_docmd.c, src/testdir/test_terminal.vim
4195
4196Patch 8.2.0605
4197Problem: Vim9: cannot unlet an environment variable.
4198Solution: Implement unlet for $VAR.
4199Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
4200 src/testdir/test_vim9_script.vim,
4201 src/testdir/test_vim9_disassemble.vim
4202
4203Patch 8.2.0606
4204Problem: Several syntax HL errors not checked.
4205Solution: Add tests. (Yegappan Lakshmanan, closes #5954)
4206Files: src/testdir/test_syntax.vim
4207
4208Patch 8.2.0607
4209Problem: Gcc warns for using uninitialized variable. (John Marriott)
4210Solution: Set name_end also for environment variables.
4211Files: src/evalvars.c
4212
4213Patch 8.2.0608
4214Problem: Warning from clang when building message test.
4215Solution: Use a void pointer. (Dominique Pellé, closes #5958)
4216Files: src/message_test.c
4217
4218Patch 8.2.0609
4219Problem: Configure does not detect moonjit correctly.
4220Solution: Double the brackets. (Ozaki Kiichi)
4221Files: src/configure.ac, src/auto/configure
4222
4223Patch 8.2.0610
4224Problem: Some tests are still old style.
4225Solution: Convert to new style tests. (Yegappan Lakshmanan, closes #5957)
4226Files: src/testdir/test_blob.vim, src/testdir/test_cursor_func.vim,
4227 src/testdir/test_eval.in, src/testdir/test_eval.ok,
4228 src/testdir/test_eval_func.vim, src/testdir/test_eval_stuff.vim,
4229 src/testdir/test_expr.vim, src/testdir/test_filter_map.vim,
4230 src/testdir/test_functions.vim, src/testdir/test_listdict.vim,
4231 src/testdir/test_sort.vim, src/testdir/test_syntax.vim,
4232 src/testdir/test_utf8.vim, src/testdir/test_vimscript.vim
4233
4234Patch 8.2.0611
4235Problem: Vim9: no check for space before #comment.
4236Solution: Add space checks.
4237Files: src/eval.c, src/evalvars.c, src/ex_docmd.c,
4238 src/testdir/test_vim9_script.vim
4239
4240Patch 8.2.0612
4241Problem: Vim9: no check for space before #comment.
4242Solution: Add space checks.
4243Files: src/ex_eval.c, src/ex_cmds.c, src/regexp.c, src/proto/regexp.pro,
4244 src/gui.c, src/highlight.c, src/testdir/test_vim9_script.vim,
4245 src/testdir/test_sort.vim
4246
4247Patch 8.2.0613
4248Problem: Vim9: no check for space before #comment.
4249Solution: Add space checks.
4250Files: src/highlight.c, src/menu.c, src/syntax.c,
4251 src/testdir/test_vim9_script.vim,
4252 runtime/lang/menu_de_de.latin1.vim
4253
4254Patch 8.2.0614
4255Problem: Get ml_get error when deleting a line in 'completefunc'. (Yegappan
4256 Lakshmanan)
4257Solution: Lock the text while evaluating 'completefunc'.
4258Files: src/insexpand.c, src/globals.h, src/edit.c, src/ex_getln.c,
4259 src/undo.c, src/testdir/test_edit.vim, src/testdir/test_excmd.vim,
4260 src/testdir/test_gf.vim, src/testdir/test_popup.vim,
4261 src/testdir/test_ex_mode.vim, runtime/doc/insert.txt
4262
4263Patch 8.2.0615
4264Problem: Regexp benchmark test is old style.
4265Solution: Make it a new style test. Fix using a NULL list. Add more tests.
4266 (Yegappan Lakshmanan, closes #5963)
4267Files: src/evalbuffer.c, src/testdir/Make_dos.mak,
4268 src/testdir/Make_ming.mak, src/testdir/Makefile,
4269 src/testdir/bench_re_freeze.in, src/testdir/bench_re_freeze.vim,
4270 src/testdir/test_autocmd.vim, src/testdir/test_bench_regexp.vim,
4271 src/testdir/test_blob.vim, src/testdir/test_bufline.vim,
4272 src/testdir/test_channel.vim, src/testdir/test_cmdline.vim,
4273 src/testdir/test_functions.vim, src/testdir/test_ins_complete.vim,
4274 src/testdir/test_popupwin.vim, src/testdir/test_prompt_buffer.vim,
4275 src/testdir/test_tagjump.vim, src/testdir/test_window_cmd.vim
4276
4277Patch 8.2.0616
4278Problem: Build error when disabling the diff feature.
4279Solution: Move parenthesis outside of #ifdef. (Tom Ryder)
4280Files: src/drawline.c
4281
4282Patch 8.2.0617
4283Problem: New error check triggers in Swedish menu.
4284Solution: Insert backslash. (Mats Tegner, closes #5966)
4285Files: runtime/lang/menu_sv_se.latin1.vim
4286
4287Patch 8.2.0618
4288Problem: Echoing a null list results in no output. (Yegappan Lakshmanan)
Bram Moolenaar47c532e2022-03-19 15:18:53 +00004289Solution: Return "[]" instead of NULL in echo_string_core().
Bram Moolenaarc51cf032022-02-26 12:25:45 +00004290Files: src/eval.c, src/testdir/test_messages.vim
4291
4292Patch 8.2.0619
4293Problem: Null dict is not handled like an empty dict.
4294Solution: Fix the code and add tests. (Yegappan Lakshmanan, closes #5968)
4295Files: src/dict.c, src/eval.c, src/testdir/test_blob.vim,
4296 src/testdir/test_expr.vim, src/testdir/test_filter_map.vim,
4297 src/testdir/test_let.vim, src/testdir/test_listdict.vim,
4298 src/testdir/test_search.vim, src/testdir/test_unlet.vim,
4299 src/testdir/test_usercommands.vim, src/testdir/test_vimscript.vim
4300
4301Patch 8.2.0620
4302Problem: Error in menu translations.
4303Solution: Insert a backslash before a space.
4304Files: runtime/lang/menu_it_it.latin1.vim,
4305 runtime/lang/menu_chinese_gb.936.vim
4306
4307Patch 8.2.0621
4308Problem: After running tests asan files may remain.
4309Solution: Clean up asan files with "make testclean".
4310Files: src/testdir/Makefile, src/Makefile
4311
4312Patch 8.2.0622
4313Problem: Haiku: GUI does not compile.
4314Solution: Various fixes. (Emir Sarı, closes #5961)
4315Files: Filelist, README.md, READMEdir/README_haiku.txt,
4316 runtime/doc/os_haiku.txt, src/Makefile, src/beval.h,
4317 src/gui_haiku.cc, src/proto/gui_haiku.pro
4318
4319Patch 8.2.0623
4320Problem: Typo in test comment. (Christ van Willegen)
4321Solution: Avoid mixing up a data structure with a body part.
4322Files: src/testdir/test_listdict.vim
4323
4324Patch 8.2.0624
4325Problem: Vim9: no check for space before #comment.
4326Solution: Add space checks. Fix :throw with double quoted string.
4327Files: src/usercmd.c, src/userfunc.c, src/vim9compile.c,
4328 src/testdir/test_vim9_script.vim
4329
4330Patch 8.2.0625
4331Problem: Vim9: confusing error when calling unknown function.
4332Solution: Give error while compiling.
4333Files: src/vim9compile.c, src/vim9execute.c,
4334 src/testdir/test_vim9_func.vim
4335
4336Patch 8.2.0626
4337Problem: Vim9: wrong syntax of function in Vim9 script.
4338Solution: Give error for missing space. Implement :echomsg and :echoerr.
4339 (closes #5670)
4340Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/userfunc.c,
4341 src/eval.c, src/globals.h, src/testdir/test_vim9_func.vim,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00004342 src/testdir/test_vim9_disassemble.vim,
Bram Moolenaarc51cf032022-02-26 12:25:45 +00004343 src/testdir/test_vim9_script.vim
4344
4345Patch 8.2.0627
4346Problem: Vim9: error message does not work. (Yegappan Lakshmanan)
4347Solution: Swap lines.
4348Files: src/userfunc.c
4349
4350Patch 8.2.0628
4351Problem: Error in menu translations.
4352Solution: Insert a backslash before a space in one more file. (Shun Bai,
4353 Emir Sarı)
4354Files: runtime/lang/menu_zh_cn.utf-8.vim,
4355 runtime/lang/menu_ca_es.latin1.vim,
4356 runtime/lang/menu_cs_cz.iso_8859-2.vim,
4357 runtime/lang/menu_cs_cz.utf-8.vim,
4358 runtime/lang/menu_czech_czech_republic.1250.vim,
4359 runtime/lang/menu_czech_czech_republic.ascii.vim,
4360 runtime/lang/menu_da.utf-8.vim,
4361 runtime/lang/menu_fi_fi.latin1.vim,
4362 runtime/lang/menu_hu_hu.iso_8859-2.vim,
4363 runtime/lang/menu_hu_hu.utf-8.vim,
4364 runtime/lang/menu_is_is.latin1.vim,
4365 runtime/lang/menu_no_no.latin1.vim, runtime/lang/menu_pt_br.vim,
4366 runtime/lang/menu_pt_pt.vim,
4367 runtime/lang/menu_sk_sk.iso_8859-2.vim,
4368 runtime/lang/menu_sl_si.latin2.vim,
4369 runtime/lang/menu_slovak_slovak_republic.1250.vim,
4370 runtime/lang/menu_tr_tr.cp1254.vim,
4371 runtime/lang/menu_tr_tr.iso_8859-9.vim,
4372 runtime/lang/menu_tr_tr.utf-8.vim, runtime/lang/menu_vi_vn.vim
4373
4374Patch 8.2.0629
4375Problem: Setting a boolean option to v:false does not work.
4376Solution: Do not use the string representation of the value. (Christian
4377 Brabandt, closes #5974)
4378Files: src/evalvars.c, src/testdir/test_options.vim
4379
4380Patch 8.2.0630
4381Problem: "make tags" does not cover Haiku GUI file.
4382Solution: Add *.cc files.
4383Files: src/Make_all.mak
4384
4385Patch 8.2.0631
4386Problem: Haiku file formatted with wrong tabstop.
4387Solution: Use normal tabstop. Fix white space.
4388Files: src/gui_haiku.cc
4389
4390Patch 8.2.0632
4391Problem: Crash when using Haiku.
4392Solution: Lock the screen. (closes #5975, closes #5973)
4393Files: src/screen.c
4394
4395Patch 8.2.0633
4396Problem: Crash when using null partial in filter().
4397Solution: Fix crash. Add more tests. (Yegappan Lakshmanan, closes #5976)
4398Files: src/eval.c, src/testdir/test_blob.vim,
4399 src/testdir/test_channel.vim, src/testdir/test_eval_stuff.vim,
4400 src/testdir/test_execute_func.vim, src/testdir/test_expr.vim,
4401 src/testdir/test_filter_map.vim, src/testdir/test_fold.vim,
4402 src/testdir/test_functions.vim, src/testdir/test_let.vim,
4403 src/testdir/test_listdict.vim, src/testdir/test_partial.vim,
4404 src/testdir/test_usercommands.vim
4405
4406Patch 8.2.0634
4407Problem: Crash with null partial and blob.
4408Solution: Check for NULL pointer. Add more tests. (Yegappan Lakshmanan,
4409 closes #5984)
4410Files: src/eval.c, src/list.c, src/testdir/test_blob.vim,
4411 src/testdir/test_bufwintabinfo.vim, src/testdir/test_cd.vim,
4412 src/testdir/test_channel.vim, src/testdir/test_cursor_func.vim,
4413 src/testdir/test_eval_stuff.vim, src/testdir/test_expr.vim,
4414 src/testdir/test_filter_map.vim, src/testdir/test_fnamemodify.vim,
4415 src/testdir/test_functions.vim, src/testdir/test_getvar.vim,
4416 src/testdir/test_listdict.vim, src/testdir/test_messages.vim,
4417 src/testdir/test_partial.vim, src/testdir/test_quickfix.vim,
4418 src/testdir/test_tabpage.vim, src/testdir/test_vimscript.vim,
4419 src/testdir/test_window_cmd.vim, src/testdir/test_window_id.vim,
4420 src/testdir/test_writefile.vim
4421
4422Patch 8.2.0635
4423Problem: When using 256 colors DarkYellow does not show expected color.
4424Solution: Use color 3 instead of 130. (Romain Lafourcade, closes #5985)
4425Files: src/highlight.c
4426
4427Patch 8.2.0636
4428Problem: :messages does not show the maintainer when $LANG is unset.
4429Solution: Call get_mess_lang() if available. (closes #5978)
4430Files: src/message.c
4431
4432Patch 8.2.0637
4433Problem: Incsearch highlighting does not work for ":sort!".
4434Solution: Skip over the exclamation point. (closes #5983)
4435Files: src/ex_getln.c, src/testdir/test_search.vim,
4436 src/testdir/dumps/Test_incsearch_sort_02.dump
4437
4438Patch 8.2.0638
4439Problem: MS-Windows: messages test fails.
4440Solution: Clear environment variables.
4441Files: src/testdir/test_messages.vim
4442
4443Patch 8.2.0639
4444Problem: MS-Windows: messages test still fails.
4445Solution: Filter out the maintainer message.
4446Files: src/testdir/test_messages.vim
4447
4448Patch 8.2.0640
4449Problem: Vim9: expanding `=expr` does not work.
4450Solution: Find wildcards in not compiled commands. Reorganize test files.
4451Files: Filelist, src/vim9.h, src/vim9compile.c, src/vim9execute.c,
4452 src/testdir/vim9.vim, src/testdir/test_vim9_cmd.vim,
4453 src/testdir/test_vim9_disassemble.vim,
4454 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim,
4455 src/testdir/Make_all.mak
4456
4457Patch 8.2.0641
4458Problem: Vim9: `=expr` not expanded in :hardcopy and "syntax include".
4459Solution: Add the EX_EXPAND flag. Expend "syntax include".
4460Files: src/ex_cmds.h, src/vim9compile.c, src/vim9execute.c,
4461 src/testdir/test_vim9_cmd.vim
4462
4463Patch 8.2.0642
4464Problem: Vim9: using invalid index.
4465Solution: Check index for being valid. Fix memory leak.
4466Files: src/vim9compile.c, src/clientserver.c
4467
4468Patch 8.2.0643 (after 8.2.0635)
4469Problem: Terminal uses brown instead of dark yellow. (Romain Lafourcade)
4470Solution: Use color index 3 instead of 130. (closes #5993)
4471Files: src/terminal.c
4472
4473Patch 8.2.0644
4474Problem: Insufficient testing for invalid function arguments.
4475Solution: Add more tests. (Yegappan Lakshmanan, closes #5988)
4476Files: runtime/doc/eval.txt, src/testdir/test_bufline.vim,
4477 src/testdir/test_channel.vim, src/testdir/test_clientserver.vim,
4478 src/testdir/test_expr.vim, src/testdir/test_functions.vim,
4479 src/testdir/test_listener.vim, src/testdir/test_match.vim,
4480 src/testdir/test_menu.vim, src/testdir/test_quickfix.vim,
4481 src/testdir/test_registers.vim, src/testdir/test_reltime.vim,
4482 src/testdir/test_terminal.vim, src/testdir/test_textprop.vim,
4483 src/testdir/test_window_cmd.vim, src/testdir/test_window_id.vim,
4484 src/testdir/test_writefile.vim
4485
4486Patch 8.2.0645
4487Problem: MS-Windows terminal: CTRL-C does not get to child job.
4488Solution: Remove CREATE_NEW_PROCESS_GROUP from CreateProcessW(). (Nobuhiro
4489 Takasaki, closes #5987)
4490Files: src/terminal.c
4491
4492Patch 8.2.0646
4493Problem: t_Co uses the value of $COLORS in the GUI. (Masato Nishihata)
4494Solution: Ignore $COLORS for the GUI. (closes #5992)
4495Files: src/os_unix.c, src/term.c
4496
4497Patch 8.2.0647
4498Problem: MS-Windows: repeat count for events was not used.
4499Solution: Check the repeat count. (Nobuhiro Takasaki, closes #5989)
4500Files: src/os_win32.c
4501
4502Patch 8.2.0648
4503Problem: Semicolon search does not work in first line.
4504Solution: Allow the cursor to be in line zero. (Christian Brabandt,
4505 closes #5996)
4506Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
4507
4508Patch 8.2.0649
4509Problem: Undo problem when an InsertLeave autocommand resets undo. (Kutsan
4510 Kaplan)
4511Solution: Do not create a new undo block when leaving Insert mode.
4512Files: src/edit.c, src/testdir/test_edit.vim
4513
4514Patch 8.2.0650
4515Problem: Vim9: script function can be deleted.
4516Solution: Disallow deleting script function. Delete functions when sourcing
4517 a script again.
4518Files: src/userfunc.c, src/proto/userfunc.pro, src/evalfunc.c,
4519 src/vim9compile.c, src/vim9execute.c, src/vim9script.c,
4520 src/scriptfile.c, src/testing.c, src/testdir/test_vim9_expr.vim,
4521 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
4522
4523Patch 8.2.0651
4524Problem: Old style benchmark test still in list of distributed files.
4525Solution: Remove the files from the list.
4526Files: Filelist
4527
4528Patch 8.2.0652 (after 8.2.0650)
4529Problem: Compiler warning for char conversion.
4530Solution: Use unsigned char buffer.
4531Files: src/userfunc.c
4532
4533Patch 8.2.0653 (after 8.2.0650)
4534Problem: using uninitialized pointer.
4535Solution: Move assignment up. (John Marriott)
4536Files: src/userfunc.c, src/testdir/test_vim9_script.vim
4537
4538Patch 8.2.0654
4539Problem: Building with Python fails.
4540Solution: Add missing argument.
4541Files: src/if_py_both.h
4542
4543Patch 8.2.0655
4544Problem: Search code not sufficiently tested.
4545Solution: Add more tests. (Yegappan Lakshmanan, closes #5999)
4546Files: src/testdir/test_charsearch.vim, src/testdir/test_gn.vim,
4547 src/testdir/test_goto.vim, src/testdir/test_ins_complete.vim,
4548 src/testdir/test_normal.vim, src/testdir/test_search.vim,
4549 src/testdir/test_textformat.vim, src/testdir/test_textobjects.vim,
4550 src/testdir/test_visual.vim
4551
4552Patch 8.2.0656
4553Problem: MS-Windows: redrawing right screen edge may not be needed.
4554Solution: Check the build version. (Nobuhiro Takasaki, closes #6002)
4555Files: src/drawscreen.c, src/os_win32.c, src/proto/os_win32.pro
4556
4557Patch 8.2.0657
4558Problem: Vim9: no check if called variable is a FuncRef.
4559Solution: Add a type check.
4560Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
4561 src/testdir/test_vim9_expr.vim
4562
4563Patch 8.2.0658 (after 8.2.0646)
4564Problem: HP-UX build fails when setenv() is not defined.
4565Solution: Change "colors" to "t_colors". (John Marriott)
4566Files: src/os_unix.c
4567
4568Patch 8.2.0659
4569Problem: Vim9: no test for equal func type.
4570Solution: Add a test. Improve type check.
4571Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
4572
4573Patch 8.2.0660
4574Problem: The search.c file is a bit big.
4575Solution: Split off the text object code to a separate file. (Yegappan
4576 Lakshmanan, closes #6007)
4577Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
4578 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
4579 src/proto.h, src/proto/search.pro, src/proto/textobject.pro,
4580 src/search.c, src/textobject.c
4581
4582Patch 8.2.0661
4583Problem: Eval test is still old style.
4584Solution: Change into new style tests. (Yegappan Lakshmanan, closes #6009)
4585Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
4586 src/testdir/test_eval.in, src/testdir/test_eval.ok,
4587 src/testdir/test_eval_stuff.vim
4588
4589Patch 8.2.0662
4590Problem: Cannot use input() in a channel callback.
4591Solution: Reset vgetc_busy. (closes #6010)
4592Files: src/globals.h, src/ex_getln.c, src/evalfunc.c,
4593 src/testdir/test_channel.vim
4594
4595Patch 8.2.0663
4596Problem: Not all systemd temp files are recognized.
4597Solution: Add two more patterns. (Jamie Macdonald, closes #6003)
4598Files: runtime/filetype.vim, src/testdir/test_filetype.vim
4599
4600Patch 8.2.0664
4601Problem: Included undesired changes in Makefile.
4602Solution: Revert the changes.
4603Files: src/Makefile
4604
4605Patch 8.2.0665
4606Problem: Wrongly assuming Python executable is called "python".
4607Solution: Use detected python command. (Ken Takata, closes #6016)
4608 Also use CheckFunction if possible.
4609Files: src/testdir/test_terminal.vim, src/testdir/check.vim
4610
4611Patch 8.2.0666
4612Problem: Ruby test fails on MS-Windows.
4613Solution: Remove the "maintainer" line. (Ken Takata, closes #6015)
4614Files: src/testdir/shared.vim, src/testdir/test_messages.vim,
4615 src/testdir/test_ruby.vim
4616
4617Patch 8.2.0667
4618Problem: Cannot install Haiku version from source.
4619Solution: Update Makefile and rdef file. (Emir Sarı, closes #6013)
4620Files: Filelist, READMEdir/README_haiku.txt, runtime/doc/os_haiku.txt,
4621 src/Makefile, src/os_haiku.rdef.in, src/os_haiku.rdef
4622
4623Patch 8.2.0668
4624Problem: Compiler warning for int/size_t usage.
4625Solution: Change "int" to "size_t". (Mike Williams)
4626Files: src/vim9execute.c
4627
4628Patch 8.2.0669
4629Problem: MS-Windows: display in VTP is a bit slow.
4630Solution: Optimize the code. (Nobuhiro Takasaki, closes #6014)
4631Files: src/os_win32.c, src/screen.c
4632
4633Patch 8.2.0670
4634Problem: Cannot change window when evaluating 'completefunc'.
4635Solution: Make a difference between not changing text or buffers and also
4636 not changing window.
4637Files: src/ex_getln.c, src/beval.c, src/change.c, src/edit.c, src/eval.c,
4638 src/ex_docmd.c, src/insexpand.c, src/globals.h, src/indent.c,
4639 src/map.c, src/window.c, src/proto/ex_getln.pro, src/register.c,
4640 src/undo.c, src/testdir/test_edit.vim,
4641 src/testdir/test_ins_complete.vim, src/testdir/test_popup.vim
4642
4643Patch 8.2.0671
4644Problem: Haiku: compiler warnings.
4645Solution: Avoid the warnings. Drop display_errors() copy. (Emir Sarı,
4646 closes #6018)
4647Files: .gitignore, src/gui.c, src/gui_haiku.cc
4648
4649Patch 8.2.0672
4650Problem: Heredoc in scripts does not accept lower case marker.
4651Solution: Allow lower case only in non-Vim scripts. (Ken Takata,
4652 closes #6019)
4653Files: src/evalvars.c, src/testdir/test_lua.vim,
4654 src/testdir/test_perl.vim, src/testdir/test_python2.vim,
4655 src/testdir/test_python3.vim, src/testdir/test_pyx2.vim,
4656 src/testdir/test_pyx3.vim, src/testdir/test_ruby.vim
4657
4658Patch 8.2.0673
4659Problem: Cannot build Haiku in shadow directory.
4660Solution: Add symlink. (Ozaki Kiichi, closes #6023)
4661Files: src/Makefile
4662
4663Patch 8.2.0674
4664Problem: Some source files are too big.
4665Solution: Move text formatting functions to a new file. (Yegappan
4666 Lakshmanan, closes #6021)
4667Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
4668 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
4669 src/edit.c, src/getchar.c, src/ops.c, src/option.c, src/proto.h,
4670 src/proto/edit.pro, src/proto/getchar.pro, src/proto/ops.pro,
4671 src/proto/option.pro, src/proto/textformat.pro, src/textformat.c
4672
4673Patch 8.2.0675
4674Problem: Vim9: no support for closures.
4675Solution: Do not re-use stack entries.
4676Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
4677 src/evalvars.c, src/proto/evalvars.pro
4678
4679Patch 8.2.0676
4680Problem: Pattern in list of distributed files does not match.
4681Solution: Drop "testdir/test_[a-z]*.ok". Add CI sed files.
4682Files: Filelist
4683
4684Patch 8.2.0677
4685Problem: Vim9: no support for closures.
4686Solution: Find variables in the outer function scope, so long as the scope
4687 exists.
4688Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
4689 src/vim9execute.c, src/structs.h, src/vim9.h,
4690 src/testdir/test_vim9_func.vim
4691
4692Patch 8.2.0678
4693Problem: Rare crash for popup menu.
4694Solution: Check for NULL pointer. (Nobuhiro Takasaki, closes #6027)
4695Files: src/popupmenu.c
4696
4697Patch 8.2.0679
4698Problem: Vim9: incomplete support for closures.
4699Solution: At the end of a function copy arguments and local variables if
4700 they are still used by a referenced closure.
4701Files: src/structs.h, src/vim9.h, src/vim9compile.c, src/vim9execute.c,
4702 src/testdir/test_vim9_func.vim
4703
4704Patch 8.2.0680
4705Problem: PTYGROUP and PTYMODE are unused.
4706Solution: Remove from autoconf. (closes #6024)
4707Files: src/configure.ac, src/auto/configure, src/config.h.in
4708
4709Patch 8.2.0681
4710Problem: Pattern for 'hlsearch' highlighting may leak. (Dominique Pellé)
4711Solution: Call end_search_hl() to make sure the previous pattern is freed.
4712 (closes #6028)
4713Files: src/screen.c
4714
4715Patch 8.2.0682
4716Problem: Vim9: parsing function argument type can get stuck.
4717Solution: Bail out when not making progress.
4718Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
4719
4720Patch 8.2.0683
4721Problem: Vim9: parsing type does not always work.
4722Solution: Handle func type without return value. Test more closures.
4723 Fix type check offset. Fix garbage collection.
4724Files: src/vim9compile.c, src/vim9execute.c, src/proto/vim9execute.pro,
4725 src/userfunc.c, src/testdir/test_vim9_func.vim
4726
4727Patch 8.2.0684
4728Problem: Vim9: memory leak when using lambda.
4729Solution: Move the funccal context to the partial. Free the function when
4730 exiting.
4731Files: src/vim9.h, src/structs.h, src/vim9execute.c, src/userfunc.c,
4732 src/eval.c, src/testdir/test_vim9_func.vim
4733
4734Patch 8.2.0685 (after 8.2.0684)
4735Problem: Build failure.
4736Solution: Include missing changes.
4737Files: src/vim9compile.c
4738
4739Patch 8.2.0686
4740Problem: Formatoptions not sufficiently tested.
4741Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6031)
4742Files: src/testdir/test_normal.vim, src/testdir/test_textformat.vim
4743
4744Patch 8.2.0687
4745Problem: Some tests do not work on FreeBSD.
4746Solution: Enable modeline. Use WaitFor() in more cases. (Ozaki Kiichi,
4747 closes #6036)
4748Files: src/testdir/test_quickfix.vim, src/testdir/test_terminal.vim
4749
4750Patch 8.2.0688
4751Problem: Output clobbered if setting 'verbose' to see shell commands.
4752Solution: Only output "Searching for" when 'verbose' is 11 or higher.
4753Files: src/scriptfile.c, runtime/doc/options.txt
4754
4755Patch 8.2.0689
4756Problem: When using getaddrinfo() the error message is unclear.
4757Solution: Use gai_strerror() to get the message. (Ozaki Kiichi,
4758 closes #6034)
4759Files: src/channel.c
4760
4761Patch 8.2.0690
4762Problem: Line number of option set by modeline is wrong.
4763Solution: Do not double the line number. (Ozaki Kiichi, closes #6035)
4764Files: src/option.c, src/testdir/test_modeline.vim
4765
4766Patch 8.2.0691
4767Problem: Startup test fails.
4768Solution: Adjust expected output from -V2 argument.
4769Files: src/testdir/test_startup.vim
4770
4771Patch 8.2.0692
4772Problem: Startup test fails on MS-Windows.
4773Solution: Allow for any path.
4774Files: src/testdir/test_startup.vim
4775
4776Patch 8.2.0693
4777Problem: Closure using argument not tested.
4778Solution: Add a test, make it work.
4779Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
4780
4781Patch 8.2.0694
4782Problem: Haiku: channel and terminal do not work.
4783Solution: Close files when the job has finished. (Ozaki Kiichi,
4784 closes #6039)
4785Files: src/channel.c, src/getchar.c, src/gui_haiku.cc, src/misc1.c
4786
4787Patch 8.2.0695
4788Problem: Vim9: cannot define a function inside a function.
4789Solution: Initial support for :def inside :def.
4790Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9compile.c,
4791 src/vim9execute.c, src/testdir/test_vim9_func.vim
4792
4793Patch 8.2.0696
4794Problem: Vim9: nested function does not work properly
4795Solution: Create a function reference. Check argument count.
4796Files: src/vim9compile.c, src/vim9execute.c,
4797 src/testdir/test_vim9_func.vim
4798
4799Patch 8.2.0697
4800Problem: Vim9: memory leak when using nested function.
4801Solution: Unreference function when deleting instructions. Adjust reference
4802 count for local variables.
4803Files: src/vim9compile.c, src/vim9execute.c
4804
4805Patch 8.2.0698
4806Problem: Insert mode completion not fully tested.
4807Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6041)
4808Files: src/testdir/test_edit.vim, src/testdir/test_ins_complete.vim,
4809 src/testdir/test_textformat.vim
4810
4811Patch 8.2.0699
4812Problem: Vim9: not all errors tested.
4813Solution: Add test for deleted function. Bail out on first error.
4814Files: src/vim9execute.c, src/testdir/test_vim9_func.vim,
4815 src/testdir/test_vim9_expr.vim, src/testdir/vim9.vim
4816
4817Patch 8.2.0700
4818Problem: Vim9: converting error message to exception not tested.
4819Solution: Test exception from error. Do not continue after :echoerr.
4820Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
4821
4822Patch 8.2.0701
4823Problem: Vim9 test fails without job feature.
4824Solution: Add feature check.
4825Files: src/testdir/test_vim9_script.vim
4826
4827Patch 8.2.0702
4828Problem: Running channel tests may leave running process behind.
4829Solution: Make Python client exit when running into EOF. (Kurtis Rader,
4830 part of #6046)
4831Files: src/testdir/test_channel_pipe.py
4832
4833Patch 8.2.0703
4834Problem: Vim9: closure cannot store value in outer context.
4835Solution: Make storing value in outer context work. Make :disassemble
4836 accept a function reference.
4837Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/eval.c,
4838 src/structs.h, src/testdir/test_vim9_disassemble.vim,
4839 src/testdir/test_vim9_func.vim
4840
4841Patch 8.2.0704
4842Problem: Vim9: memory leak in disassemble test.
4843Solution: Decrement refcount when creating funccal.
4844Files: src/vim9execute.c
4845
4846Patch 8.2.0705
4847Problem: Indent tests don't run on CI for FreeBSD.
4848Solution: Set modeline. (Ozaki Kiichi, closes #6048)
4849Files: .cirrus.yml, runtime/indent/testdir/runtest.vim
4850
4851Patch 8.2.0706
4852Problem: Vim9: using assert_fails() causes function to finish.
4853Solution: Check did_emsg instead of called_emsg.
4854Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim,
4855 src/testdir/test_vim9_script.vim
4856
4857Patch 8.2.0707
4858Problem: Vim9 function test fails.
4859Solution: Adjust expected error code.
4860Files: src/testdir/test_vim9_func.vim
4861
4862Patch 8.2.0708
4863Problem: Vim9: constant expressions are not simplified.
4864Solution: Simplify string concatenation.
4865Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim,
4866 src/testdir/test_vim9_expr.vim
4867
4868Patch 8.2.0709
4869Problem: MS-Windows: compiler warning for int vs size_t.
4870Solution: Add type cast. (Mike Williams)
4871Files: src/channel.c
4872
4873Patch 8.2.0710
4874Problem: Netbeans test sometimes fails.
4875Solution: Mark any test using an external command as flaky.
4876Files: src/testdir/shared.vim
4877
4878Patch 8.2.0711
4879Problem: With a long running Vim the temp directory might be cleared on
4880 some systems.
4881Solution: Lock the temp directory. (closes #6044)
4882Files: src/config.h.in, src/configure.ac, src/auto/configure,
4883 src/fileio.c, src/globals.h, src/os_unix.h
4884
4885Patch 8.2.0712
4886Problem: Various code not fully tested.
4887Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6049)
4888Files: src/testdir/test_functions.vim, src/testdir/test_options.vim,
4889 src/testdir/test_system.vim, src/testdir/test_termcodes.vim
4890
4891Patch 8.2.0713
4892Problem: The pam_environment file is not recognized.
4893Solution: Add a filetype pattern for pamenv. (closes #6051)
4894Files: runtime/filetype.vim, src/testdir/test_filetype.vim
4895
4896Patch 8.2.0714
4897Problem: Vim9: handling constant expression does not scale.
4898Solution: Use another solution, passing typval_T.
4899Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
4900
4901Patch 8.2.0715
4902Problem: Vim9: leaking memory.
4903Solution: Free strings after concatenating them.
4904Files: src/vim9compile.c
4905
4906Patch 8.2.0716
4907Problem: Vim9: another memory leak.
4908Solution: Clear typval when failing.
4909Files: src/vim9compile.c
4910
4911Patch 8.2.0717
4912Problem: Vim9: postponed constant expressions does not scale.
4913Solution: Add a structure to pass around postponed constants.
4914Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
4915
4916Patch 8.2.0718
4917Problem: Gcc warning for returning pointer to local variable. (John
4918 Marriott)
4919Solution: Return another pointer.
4920Files: src/evalvars.c
4921
4922Patch 8.2.0719
4923Problem: Vim9: more expressions can be evaluated at compile time
4924Solution: Recognize has('name').
4925Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim,
4926 src/testdir/test_vim9_expr.vim
4927
4928Patch 8.2.0720
4929Problem: Occasional exit when encountering an X error. (Manfred Lotz)
4930Solution: On an X error do not exit, do preserve files.
4931Files: src/os_unix.c
4932
4933Patch 8.2.0721
4934Problem: Vim9: leaking memory when skipping.
4935Solution: Disable skipping in generate_ppconst().
4936Files: src/vim9compile.c
4937
4938Patch 8.2.0722
4939Problem: Vim9: not handling constant expression for elseif.
4940Solution: Use postponed constants. Delete the code for evaluating a
4941 constant expression.
4942Files: src/vim9compile.c
4943
4944Patch 8.2.0723
4945Problem: Vim9: nested constant expression not evaluated compile time.
4946Solution: Use compile_expr1() for parenthesis.
4947Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
4948
4949Patch 8.2.0724
4950Problem: Vim9: appending to buffer/window/tab variable not tested
4951Solution: Add a test.
4952Files: src/testdir/test_vim9_script.vim
4953
4954Patch 8.2.0725
4955Problem: Vim9: cannot call a function declared later in Vim9 script.
4956Solution: Make two passes through the script file.
4957Files: src/scriptfile.c, src/proto/scriptfile.pro, src/vim9script.c,
4958 src/vim9compile.c, src/vim9execute.c, src/proto/vim9compile.pro,
4959 src/userfunc.c, src/proto/userfunc.pro, src/evalvars.c,
4960 src/proto/evalvars.pro, src/vim.h,
4961 src/testdir/test_vim9_disassemble.vim
4962
4963Patch 8.2.0726
4964Problem: Vim9: leaking memory when calling not compiled :def function.
4965Solution: Check if function is compiled earlier.
4966Files: src/vim9execute.c
4967
4968Patch 8.2.0727
4969Problem: MS-Windows: new gcc compiler does not support scanf format.
4970Solution: Use "%ll" instead of "%I". (Ken Takata)
4971Files: src/vim.h
4972
4973Patch 8.2.0728
4974Problem: Messages about a deadly signal are not left aligned.
4975Solution: Output a CR before the NL. (Dominique Pellé, #6055)
4976Files: src/misc1.c, src/os_unix.c
4977
4978Patch 8.2.0729
4979Problem: Vim9: When reloading a script variables are not cleared.
4980Solution: When sourcing a script again clear all script-local variables.
4981Files: src/dict.c, src/proto/dict.pro, src/scriptfile.c,
4982 src/testdir/test_vim9_script.vim
4983
4984Patch 8.2.0730
4985Problem: Vim9: Assignment to dict member does not work.
4986Solution: Parse dict assignment. Implement getting dict member.
4987Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/globals.h,
4988 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_cmd.vim,
4989 src/testdir/test_vim9_script.vim
4990
4991Patch 8.2.0731
4992Problem: Vim9: parsing declarations continues after :finish.
4993Solution: Bail out when encountering :finish.
4994Files: src/vim9script.c, src/testdir/test_vim9_script.vim
4995
4996Patch 8.2.0732
4997Problem: Vim9: storing value in dict messes up stack.
4998Solution: Correct item count of stack.
4999Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
5000
5001Patch 8.2.0733
5002Problem: Vim9: assigning to dict or list argument does not work.
5003Solution: Recognize an argument as assignment target.
5004Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
5005
5006Patch 8.2.0734
5007Problem: Vim9: leaking memory when using :finish.
5008Solution: Do not check for next line in third pass.
5009Files: src/scriptfile.c
5010
5011Patch 8.2.0735
5012Problem: Vim9: using uninitialized memory.
5013Solution: Clear the arg_lvar field.
5014Files: src/vim9compile.c
5015
5016Patch 8.2.0736
5017Problem: Some files not recognized as pamenv.
5018Solution: Add pam_inv.conf. (closes #6065)
5019Files: runtime/filetype.vim, src/testdir/test_filetype.vim
5020
5021Patch 8.2.0737
5022Problem: When shell doesn't support CTRL-Z Vim still handles it.
5023Solution: Ignore the STOP signal if it was ignored on startup.
5024 (Kurtis Rader, closes #5990, closes #6058)
5025Files: src/os_unix.c
5026
5027Patch 8.2.0738
5028Problem: Mouse handling in a terminal window not well tested.
5029Solution: Add tests. (Yegappan Lakshmanan, closes #6052)
5030Files: src/testdir/term_util.vim, src/testdir/test_gui.vim,
5031 src/testdir/test_modeless.vim, src/testdir/test_terminal.vim
5032
5033Patch 8.2.0739
5034Problem: Incomplete profiling when exiting because of a deadly signal.
5035Solution: Call __gcov_flush() if available.
5036Files: src/os_unix.c, src/Makefile, .travis.yml
5037
5038Patch 8.2.0740
5039Problem: Minor message mistakes.
5040Solution: Change vim to Vim and other fixes.
5041Files: src/if_py_both.h, src/if_tcl.c, src/main.c
5042
5043Patch 8.2.0741
5044Problem: Python tests fail because of changed message.
5045Solution: Adjust the expected messages (Dominique Pellé, closes #6066)
5046Files: src/testdir/test86.ok, src/testdir/test87.ok
5047
5048Patch 8.2.0742
5049Problem: Handling of a TERM signal not tested.
5050Solution: Add a test for SIGTERM. (Dominique Pellé, closes #6055)
5051Files: src/testdir/test_signals.vim
5052
5053Patch 8.2.0743
5054Problem: Can move to another buffer from a terminal in popup window.
5055Solution: Do not allow "gf" or editing a file. (closes #6072)
5056Files: src/normal.c, src/ex_cmds.c, src/testdir/test_popupwin.vim
5057
5058Patch 8.2.0744
5059Problem: The name vim is not capitalized in a message.
5060Solution: Use "Vim" instead of "vim".
5061Files: src/main.c
5062
5063Patch 8.2.0745
5064Problem: Crash on exit when not all popups are closed.
5065Solution: Close popups when freeing all memory. Disable checking for popup
5066 when editing a file for now.
5067Files: src/misc2.c, src/ex_cmds.c
5068
5069Patch 8.2.0746
5070Problem: popup_clear() hangs when a popup can't be closed.
5071Solution: Bail out when a popup can't be closed.
5072Files: src/popupwin.c, src/proto/popupwin.pro
5073
5074Patch 8.2.0747
5075Problem: Cannot forcefully close all popups.
5076Solution: Add the "force" argument to popup_clear(). Use it after running a
5077 test. Put back the check for a popup when editing a file.
5078Files: runtime/doc/popup.txt, src/evalfunc.c, src/popupwin.c,
5079 src/proto/popupwin.pro, src/tag.c, src/window.c, src/misc2.c,
5080 src/ex_cmds.c, src/channel.c, src/testdir/runtest.vim,
5081 src/testdir/test_terminal.vim
5082
5083Patch 8.2.0748
5084Problem: Cannot get a list of all popups.
5085Solution: Add popup_list(). Use it in the test runner.
5086Files: runtime/doc/eval.txt, runtime/doc/popup.txt, src/popupwin.c,
5087 src/proto/popupwin.pro, src/evalfunc.c,
5088 src/testdir/test_popupwin.vim, src/testdir/runtest.vim
5089
5090Patch 8.2.0749
5091Problem: TERM signal test fails on FreeBSD.
5092Solution: Do not check the messages, the may appear anywhere. (Dominique
5093 Pellé, closes #6075)
5094Files: src/testdir/test_signals.vim
5095
5096Patch 8.2.0750
5097Problem: Netbeans test is a bit flaky.
5098Solution: Allow for standard sign to be defined. Use WaitForAssert().
5099Files: src/testdir/test_netbeans.vim
5100
5101Patch 8.2.0751
5102Problem: Vim9: performance can be improved.
5103Solution: Don't call break. Inline check for list materialize. Make an
5104 inline version of ga_grow().
5105Files: src/macros.h, src/evalfunc.c, src/misc2.c,
5106 src/proto/misc2.pro, src/channel.c, src/eval.c, src/evalbuffer.c,
5107 src/evalvars.c, src/filepath.c, src/highlight.c, src/insexpand.c,
5108 src/json.c, src/list.c, src/popupmenu.c, src/popupwin.c,
5109 src/userfunc.c, src/if_py_both.h
5110
5111Patch 8.2.0752
5112Problem: Terminal in popup window test is a bit flaky.
5113Solution: Wait for shell job status to be "run". Mark as flaky test.
5114Files: src/testdir/test_popupwin.vim
5115
5116Patch 8.2.0753
5117Problem: Vim9: expressions are evaluated in the discovery phase.
5118Solution: Bail out if an expression is not a constant. Require a type for
5119 declared constants.
5120Files: src/vim.h, src/evalvars.c, src/eval.c, src/ex_eval.c,
5121 src/evalfunc.c, src/userfunc.c, src/dict.c, src/list.c,
5122 src/vim9compile.c, src/testdir/test_vim9_script.vim,
5123 src/testdir/test_vim9_disassemble.vim
5124
5125Patch 8.2.0754
5126Problem: Vim9: No test for forward declaration.
5127Solution: Add a test.
5128Files: src/testdir/test_vim9_script.vim
5129
5130Patch 8.2.0755
5131Problem: Vim9: No error when variable initializer is not a constant.
5132Solution: Return FAIL when trying to get a variable value. Do not execute a
5133 script when an error is detected in the first or second phase.
5134Files: src/eval.c, src/vim9script.c, src/testdir/test_vim9_script.vim
5135
5136Patch 8.2.0756 (after 8.2.0249)
5137Problem: MS-Windows: still a compiler warning.
5138Solution: Move flag to another place in the Makefile. (Ken Takata,
5139 closes #6083)
5140Files: src/Make_mvc.mak
5141
5142Patch 8.2.0757
5143Problem: Vim9: no test for MEMBER instruction.
5144Solution: Add a test. Make matches stricter.
5145Files: src/testdir/test_vim9_disassemble.vim
5146
5147Patch 8.2.0758
5148Problem: Vim9: no test for STORELIST and STOREDICT.
5149Solution: Add a test. Make matches stricter.
5150Files: src/testdir/test_vim9_disassemble.vim
5151
5152Patch 8.2.0759 (after 8.2.0751)
5153Problem: Vim9: missing changes for performance improvements
5154Solution: Use GA_GROW(). Don't call breakcheck so often.
5155Files: src/vim9execute.c
5156
5157Patch 8.2.0760
5158Problem: Vim9: dict member errors not tested.
5159Solution: Delete unreachable error. Add tests.
5160Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
5161
5162Patch 8.2.0761
5163Problem: Vim9: instructions not tested
5164Solution: Use a variable instead of a constant.
5165Files: src/testdir/test_vim9_expr.vim
5166
5167Patch 8.2.0762
5168Problem: Buffer is not considered modified after setting crypt key.
5169Solution: Set the modified flag. (Christian Brabandt, closes #6082)
5170Files: src/optionstr.c, src/testdir/test_crypt.vim
5171
5172Patch 8.2.0763
5173Problem: GUI test fails without the terminal feature.
5174Solution: Check the terminal feature is supported. (Ken Takata,
5175 closes #6084)
5176Files: src/testdir/test_gui.vim
5177
5178Patch 8.2.0764
5179Problem: Vim9: assigning to option not fully tested.
5180Solution: Add more test cases. Allow using any type for assignment.
5181Files: src/vim9compile.c, src/vim9execute.c,
5182 src/testdir/test_vim9_script.vim
5183
5184Patch 8.2.0765
5185Problem: In the GUI can't use all the modifiers. (Andri Möll)
5186Solution: Do not apply Alt/Meta early, do it later like with the terminal.
5187 Avoid the Motif test from crashing.
5188Files: src/gui_gtk_x11.c, src/gui_x11.c, src/gui_mac.c, src/gui_w32.c,
5189 src/gui_motif.c
5190
5191Patch 8.2.0766
5192Problem: Display error when using 'number' and 'breakindent'.
5193Solution: Adjust extra spaces in the first row. (Ken Takata, closes #6089,
5194 closes #5986)
5195Files: src/drawline.c, src/testdir/test_breakindent.vim
5196
5197Patch 8.2.0767
5198Problem: ModifyOtherKeys active when using a shell command in autocmd.
5199Solution: Output T_CTE when going to cooked mode. (closes 5617)
5200Files: src/term.c
5201
5202Patch 8.2.0768
5203Problem: Vim9: memory leak in script test.
5204Solution: Clear typval before giving an error message.
5205Files: src/vim9execute.c
5206
5207Patch 8.2.0769
5208Problem: VimLeavePre not triggered when Vim is terminated.
5209Solution: Unblock autocommands.
5210Files: src/main.c, src/testdir/test_signals.vim
5211
5212Patch 8.2.0770
5213Problem: Cannot map CTRL-B when using the GUI.
5214Solution: Reset the CTRL modifier when used. (closes #6092)
5215Files: src/gui_gtk_x11.c
5216
5217Patch 8.2.0771
5218Problem: Vim9: cannot call a compiled closure from not compiled code.
5219Solution: Pass funcexe to call_user_func().
5220Files: src/userfunc.c, src/vim9execute.c, src/proto/vim9execute.pro,
5221 src/eval.c, src/testdir/test_vim9_func.vim
5222
5223Patch 8.2.0772
5224Problem: Vim9: some variable initializations not tested.
5225Solution: Add a few more tests
5226Files: src/testdir/test_vim9_script.vim
5227
5228Patch 8.2.0773
5229Problem: Switching to raw mode every time ":" is used.
5230Solution: When executing a shell set cur_tmode to TMODE_UNKNOWN, so that the
5231 next time TMODE_RAW is used it is set, but not every time.
5232Files: src/term.h, src/os_unix.c, src/term.c, src/os_amiga.c,
5233 src/os_win32.c
5234
5235Patch 8.2.0774
5236Problem: t_TI and t_TE are output when using 'visualbell'. (Dominique
5237 Pellé)
5238Solution: Do not change the terminal mode for a short sleep. Do not output
5239 t_TI and t_TE when switching to/from TMODE_SLEEP. Make tmode an
5240 enum.
5241Files: src/os_unix.c, src/proto/os_unix.pro, src/os_amiga.c,
5242 src/proto/os_amiga.pro, src/os_mswin.c, src/proto/os_mswin.pro,
5243 src/os_vms.c, src/proto/os_vms.pro, src/os_win32.c,
5244 src/proto/os_win32.pro, src/term.c, src/term.h, src/globals.h
5245
5246Patch 8.2.0775
5247Problem: Not easy to call a Vim function from Lua.
5248Solution: Add vim.call() and vim.fn(). (Prabir Shrestha, closes #6063)
5249Files: runtime/doc/if_lua.txt, src/if_lua.c, src/testdir/test_lua.vim
5250
5251Patch 8.2.0776
5252Problem: Libvterm code lags behind the upstream version.
5253Solution: Include revision 719.
5254Files: Filelist, src/libvterm/README, src/libvterm/Makefile,
5255 src/libvterm/find-wide-chars.pl, src/libvterm/src/fullwidth.inc,
5256 src/libvterm/src/unicode.c
5257
5258Patch 8.2.0777 (after 8.2.0776)
5259Problem: Terminal test fails.
5260Solution: Adjust character position for double-wide characters.
5261Files: src/testdir/test_terminal.vim
5262
5263Patch 8.2.0778
5264Problem: Libvterm code lags behind the upstream version.
5265Solution: Include revisions 720 - 723.
5266Files: src/libvterm/t/10state_putglyph.test, src/libvterm/Makefile,
5267 src/libvterm/t/run-test.pl, src/libvterm/src/state.c,
5268 src/libvterm/t/92lp1805050.test
5269
5270Patch 8.2.0779
5271Problem: Tmode_T not used everywhere.
5272Solution: Also use tmode_T for settmode().
5273Files: src/term.c, src/proto/term.pro
5274
5275Patch 8.2.0780
5276Problem: Libvterm code lags behind the upstream version.
5277Solution: Include revisions 724 - 726.
5278Files: Filelist, src/libvterm/t/40screen_ascii.test,
5279 src/libvterm/t/60screen_ascii.test,
5280 src/libvterm/t/41screen_unicode.test,
5281 src/libvterm/t/61screen_unicode.test,
5282 src/libvterm/t/42screen_damage.test,
5283 src/libvterm/t/62screen_damage.test,
5284 src/libvterm/t/43screen_resize.test,
5285 src/libvterm/t/63screen_resize.test,
5286 src/libvterm/t/44screen_pen.test,
5287 src/libvterm/t/64screen_pen.test,
5288 src/libvterm/t/45screen_protect.test,
5289 src/libvterm/t/65screen_protect.test,
5290 src/libvterm/t/46screen_extent.test,
5291 src/libvterm/t/66screen_extent.test,
5292 src/libvterm/t/47screen_dbl_wh.test,
5293 src/libvterm/t/67screen_dbl_wh.test,
5294 src/libvterm/t/48screen_termprops.test,
5295 src/libvterm/t/68screen_termprops.test, src/libvterm/t/30pen.test,
5296 src/libvterm/t/30state_pen.test, src/libvterm/t/92lp1805050.test,
5297 src/libvterm/t/31state_rep.test, src/libvterm/doc/seqs.txt
5298
5299Patch 8.2.0781 (after 8.2.0775)
5300Problem: Compiler warning for not using value in Lua.
5301Solution: Add "(void)".
5302Files: src/if_lua.c
5303
5304Patch 8.2.0782
5305Problem: Cannot build with Lua on MS-Windows.
5306Solution: Add DLL symbol for luaL_Loadstring. (Ken Takata)
5307Files: src/if_lua.c
5308
5309Patch 8.2.0783
5310Problem: Libvterm code lags behind the upstream version.
5311Solution: Include revisions 728 - 729.
5312Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Makefile,
5313 src/libvterm/src/keyboard.c, src/libvterm/t/25state_input.test,
5314 src/libvterm/t/harness.c, src/libvterm/src/vterm.c,
5315 src/libvterm/src/vterm_internal.h,
5316 src/libvterm/t/26state_query.test
5317
5318Patch 8.2.0784
5319Problem: Libvterm code lags behind the upstream version.
5320Solution: Include revisions 730 - 733.
5321Files: src/libvterm/src/vterm.c, src/libvterm/src/state.c,
5322 src/libvterm/include/vterm.h, src/libvterm/src/vterm_internal.h,
5323 src/libvterm/t/harness.c
5324
5325Patch 8.2.0785
5326Problem: Libvterm code lags behind the upstream version.
5327Solution: Include revisions 734 - 740.
5328Files: src/libvterm/include/vterm.h, src/libvterm/src/pen.c,
5329 src/libvterm/src/vterm.c, src/libvterm/doc/seqs.txt,
5330 src/libvterm/t/30state_pen.test, src/libvterm/t/run-test.pl,
5331 src/libvterm/Makefile, src/libvterm/CONTRIBUTING
5332
5333Patch 8.2.0786
5334Problem: Channel test is flaky on FreeBSD.
5335Solution: Set the socket TCP_NODELAY option. Adjust expected line count in
5336 netbeans test. (Ozaki Kiichi, closes #6097)
5337Files: src/testdir/test_channel.py, src/testdir/test_netbeans.vim
5338
5339Patch 8.2.0787
5340Problem: Libvterm code lags behind the upstream version.
5341Solution: Include revisions 741 - 742.
5342Files: Filelist, src/libvterm/src/screen.c
5343
5344Patch 8.2.0788
5345Problem: Memory leak in libvterm.
5346Solution: free tmpbuffer.
5347Files: src/libvterm/src/vterm.c
5348
5349Patch 8.2.0789
5350Problem: Vim9: expression testing lost coverage using constants.
5351Solution: Use a few variables instead of constants.
5352Files: src/testdir/test_vim9_expr.vim
5353
5354Patch 8.2.0790
5355Problem: Vim9: list index not well tested.
5356Solution: Add a few more tests.
5357Files: src/testdir/test_vim9_script.vim
5358
5359Patch 8.2.0791
5360Problem: A second popup window with terminal causes trouble.
5361Solution: Disallow opening a second terminal-popup window. (closes #6101,
5362 closes #6103) Avoid defaulting to an invalid line number.
5363Files: runtime/doc/popup.txt, src/popupwin.c, src/ex_docmd.c,
5364 src/testdir/test_popupwin.vim, src/testdir/test_terminal.vim
5365
5366Patch 8.2.0792
5367Problem: Build failure with small features.
5368Solution: Add #ifdef.
5369Files: src/popupwin.c
5370
5371Patch 8.2.0793
5372Problem: MS-Windows: cannot build GUI with small features. (Michael Soyka)
5373Solution: Add #ifdef around use of windowsVersion. (Ken Takata)
5374Files: src/os_win32.c
5375
5376Patch 8.2.0794
5377Problem: Libvterm code lags behind the upstream version.
5378Solution: Include revisions 743 - 747.
5379Files: src/libvterm/src/state.c, src/libvterm/src/screen.c,
5380 src/libvterm/src/vterm_internal.h, src/libvterm/include/vterm.h,
5381 src/libvterm/t/67screen_dbl_wh.test, src/libvterm/t/run-test.pl
5382
5383Patch 8.2.0795
5384Problem: Libvterm code lags behind the upstream version.
5385Solution: Include revisions 748 - 754.
5386Files: src/libvterm/include/vterm.h, src/libvterm/src/screen.c,
5387 src/libvterm/src/state.c, src/libvterm/t/32state_flow.test,
5388 src/libvterm/t/60screen_ascii.test,
5389 src/libvterm/t/62screen_damage.test,
5390 src/libvterm/t/63screen_resize.test, src/libvterm/t/harness.c,
5391 src/libvterm/t/run-test.pl
5392
5393Patch 8.2.0796
5394Problem: MS-Windows: compiler can't handle C99 construct in libvterm.
5395Solution: Change to C90 construct.
5396Files: src/libvterm/src/state.c
5397
5398Patch 8.2.0797
5399Problem: MS-Windows: compiler still can't handle C99 construct.
5400Solution: Change to C90 construct. (Dominique Pellé, closes #6106)
5401Files: src/libvterm/src/state.c
5402
5403Patch 8.2.0798
5404Problem: Libvterm code lags behind the upstream version.
5405Solution: Include revisions 755 - 758.
5406Files: src/libvterm/t/run-test.pl, src/libvterm/src/screen.c,
5407 src/libvterm/t/harness.c, src/libvterm/include/vterm.h,
5408 src/libvterm/src/parser.c, src/libvterm/src/state.c,
5409 src/libvterm/src/vterm.c, src/libvterm/src/vterm_internal.h,
5410 src/libvterm/t/02parser.test,
5411 src/libvterm/t/18state_termprops.test,
5412 src/libvterm/t/29state_fallback.test,
5413 src/libvterm/t/68screen_termprops.test, src/terminal.c
5414
5415Patch 8.2.0799
5416Problem: Build fails if snprintf is not available.
5417Solution: Use vim_snprintf().
5418Files: src/libvterm/src/state.c
5419
5420Patch 8.2.0800
5421Problem: Errors from failing test are unclear.
5422Solution: Include text where parsing failed.
5423Files: src/json.c, src/testdir/test_json.vim
5424
5425Patch 8.2.0801
5426Problem: Terminal test fails on Mac.
5427Solution: Concatenate OSC pieces.
5428Files: src/terminal.c
5429
5430Patch 8.2.0802
5431Problem: Libvterm code lags behind the upstream version.
5432Solution: Include revisions 759 - 762.
5433Files: src/terminal.c, src/libvterm/doc/seqs.txt,
5434 src/libvterm/include/vterm.h, src/libvterm/src/pen.c,
5435 src/libvterm/src/screen.c, src/libvterm/src/state.c,
5436 src/libvterm/src/vterm.c, src/libvterm/src/vterm_internal.h,
5437 src/libvterm/t/harness.c, src/libvterm/t/12state_scroll.test
5438
5439Patch 8.2.0803
5440Problem: Libvterm code lags behind the upstream version.
5441Solution: Include revisions 764 - 767
5442Files: src/Makefile, src/libvterm/src/parser.c,
5443 src/libvterm/src/vterm_internal.h, src/libvterm/t/02parser.test,
5444 src/libvterm/t/run-test.pl, src/libvterm/find-wide-chars.pl,
5445 src/libvterm/src/fullwidth.inc
5446
5447Patch 8.2.0804
5448Problem: Libvterm code lags behind the upstream version.
5449Solution: Include revision 727, but add the index instead of switching
5450 between RGB and indexed.
5451Files: src/terminal.c, src/term.c, src/libvterm/include/vterm.h,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00005452 src/libvterm/src/pen.c, src/libvterm/src/screen.c,
5453 src/libvterm/src/vterm_internal.h,
5454 src/libvterm/t/30state_pen.test,
Bram Moolenaarc51cf032022-02-26 12:25:45 +00005455 src/libvterm/t/harness.c, src/libvterm/src/state.c,
5456 src/libvterm/t/26state_query.test,
5457 src/libvterm/t/64screen_pen.test
5458
5459Patch 8.2.0805
5460Problem: Terminal key codes test fails on some systems.
5461Solution: Skip keypad 3 and 9. (Yegappan Lakshmanan, closes #6070)
5462Files: src/testdir/test_terminal.vim
5463
5464Patch 8.2.0806
5465Problem: using "func!" after vim9script gives confusing error.
5466Solution: Give E477. (closes #6107)
5467Files: src/vim9script.c, src/testdir/test_vim9_script.vim
5468
5469Patch 8.2.0807
5470Problem: Cannot easily restore a mapping.
5471Solution: Add mapset().
5472Files: runtime/doc/eval.txt, src/map.c, src/proto/map.pro, src/evalfunc.c
5473 src/testdir/test_maparg.vim
5474
5475Patch 8.2.0808
5476Problem: Not enough testing for the terminal window.
5477Solution: Add more tests. (Yegappan Lakshmanan, closes #6069) Fix memory
5478 leak.
5479Files: src/testdir/test_gui.vim, src/testdir/test_terminal.vim,
5480 src/terminal.c
5481
5482Patch 8.2.0809
5483Problem: Build failure with small features. (Tony Mechelynck)
5484Solution: Move "expr" inside #ifdef.
5485Files: src/map.c
5486
5487Patch 8.2.0810
5488Problem: Error when appending "tagfile" to 'wildoptions'.
5489Solution: use flags P_ONECOMMA and P_NODUP. (Dmitri Vereshchagin,
5490 closes #6105)
5491Files: src/optiondefs.h, src/testdir/test_options.vim
5492
5493Patch 8.2.0811
5494Problem: Terminal keycode test is flaky.
5495Solution: Use WaitForAssert()
5496Files: src/testdir/test_terminal.vim
5497
5498Patch 8.2.0812
5499Problem: mapset() does not properly handle <> notation.
5500Solution: Convert <> codes. (closes #6116)
5501Files: src/map.c, src/testdir/test_maparg.vim
5502
5503Patch 8.2.0813
5504Problem: libvterm code is slightly different from upstream.
5505Solution: Use upstream text to avoid future merge problems. Mainly comment
5506 style changes.
5507Files: src/libvterm/include/vterm.h, src/libvterm/src/rect.h,
5508 src/libvterm/src/utf8.h, src/libvterm/src/vterm_internal.h,
5509 src/libvterm/src/encoding.c, src/libvterm/src/keyboard.c,
5510 src/libvterm/src/mouse.c, src/libvterm/src/parser.c,
5511 src/libvterm/src/pen.c, src/libvterm/src/screen.c,
5512 src/libvterm/src/state.c, src/libvterm/src/unicode.c,
5513 src/libvterm/src/vterm.c
5514
5515Patch 8.2.0814
5516Problem: Clang warning for implicit conversion.
5517Solution: Add type cast. (Dominique Pellé, closes #6124)
5518Files: src/evalfunc.c
5519
5520Patch 8.2.0815
5521Problem: maparg() does not provide enough information for mapset().
5522Solution: Add "lhsraw" and "lhsrawalt" items. Drop "simplified"
5523Files: src/map.c, runtime/doc/eval.txt, src/testdir/test_maparg.vim
5524
5525Patch 8.2.0816
5526Problem: Terminal test fails when compiled with Athena.
5527Solution: Do give an error when the GUI is not running. (hint by Dominique
5528 Pellé, closes #5928, closes #6132)
5529Files: src/globals.h, src/gui.c, src/term.c, src/channel.c,
5530 src/testdir/test_terminal.vim
5531
5532Patch 8.2.0817
5533Problem: Not enough memory allocated when converting string with special
5534 character.
5535Solution: Reserve space for modifier code. (closes #6130)
5536Files: src/eval.c, src/testdir/test_functions.vim
5537
5538Patch 8.2.0818
5539Problem: Vim9: using a discovery phase doesn't work well.
5540Solution: Remove the discovery phase, instead compile a function only when
5541 it is used. Add :defcompile to compile def functions earlier.
5542Files: runtime/doc/vim9.txt, src/vim9script.c, src/structs.h,
5543 src/userfunc.c, src/proto/userfunc.pro, src/eval.c,
5544 src/evalvars.c, src/proto/evalvars.pro, src/vim9compile.c,
5545 src/proto/vim9compile.pro, src/vim9execute.c, src/ex_cmds.h,
5546 src/ex_docmd.c, src/ex_cmdidxs.h, src/vim.h, src/testdir/vim9.vim,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00005547 src/testdir/test_vim9_disassemble.vim,
Bram Moolenaarc51cf032022-02-26 12:25:45 +00005548 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
5549
5550Patch 8.2.0819
5551Problem: Compiler warning for unused variable.
5552Solution: Remove the variable.
5553Files: src/evalvars.c
5554
5555Patch 8.2.0820
5556Problem: Vim9: function type isn't set until compiled.
5557Solution: Set function type early.
5558Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
5559 src/testdir/test_vim9_func.vim
5560
5561Patch 8.2.0821
5562Problem: Vim9: memory leak in expr test.
5563Solution: Do not decrement the length of the list of functions if the
5564 current function is not at the end.
5565Files: src/vim9compile.c
5566
5567Patch 8.2.0822
5568Problem: Vim9: code left over from discovery phase.
5569Solution: Remove the dead code.
5570Files: src/scriptfile.c, src/proto/scriptfile.pro, src/ex_cmds.h,
5571 src/evalvars.c, src/proto/evalvars.pro, src/ex_docmd.c
5572
5573Patch 8.2.0823
5574Problem: Vim9: script reload test is disabled.
5575Solution: Compile a function in the context of the script where it was
5576 defined. Set execution stack for compiled function. Add a test
5577 that an error is reported for the right file/function.
5578Files: src/vim9compile.c, src/vim9execute.c, src/scriptfile.c,
5579 src/proto/scriptfile.pro, src/userfunc.c, src/globals.h,
5580 src/structs.h, src/ex_docmd.c, src/ex_eval.c,
5581 src/testdir/test_vim9_script.vim
5582
5583Patch 8.2.0824 (after 8.2.0817)
5584Problem: Still not enough memory allocated when converting string with
5585 special character.
5586Solution: Reserve space for expanding K_SPECIAL. (closes #6130)
5587Files: src/eval.c, src/testdir/test_functions.vim
5588
5589Patch 8.2.0825
5590Problem: def_function() may return pointer that was freed.
5591Solution: Set "fp" to NULL after freeing it.
5592Files: src/userfunc.c
5593
5594Patch 8.2.0826
5595Problem: Vim9: crash in :defcompile.
5596Solution: Restart the loop after a call to compile_def_function() caused the
5597 hash table to resize.
5598Files: src/userfunc.c
5599
5600Patch 8.2.0827
5601Problem: Vim9: crash in :defcompile.
5602Solution: Fix off-by-one error.
5603Files: src/userfunc.c
5604
5605Patch 8.2.0828
5606Problem: Travis: regexp pattern doesn't work everywhere.
5607Solution: Use [:blank:] instead of \b. (Ozaki Kiichi, closes #6146)
5608Files: .travis.yml, ci/config.mk.clang.sed, ci/config.mk.gcc.sed,
5609 ci/config.mk.sed, src/if_ruby.c
5610
5611Patch 8.2.0829
5612Problem: filter() may give misleading error message.
5613Solution: Also mention Blob as an allowed argument.
5614Files: src/list.c, src/testdir/test_filter_map.vim
5615
5616Patch 8.2.0830
5617Problem: Motif: can't map "!". (Ben Jackson)
5618Solution: Remove the shift modifier if it's already included in the key.
5619 (closes #6147)
5620Files: src/gui_x11.c
5621
5622Patch 8.2.0831
5623Problem: Compiler warnings for integer sizes.
5624Solution: Add type casts. (Mike Williams)
5625Files: src/libvterm/src/pen.c, src/terminal.c
5626
5627Patch 8.2.0832
5628Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
5629Solution: Add initial value.
5630Files: src/map.c
5631
5632Patch 8.2.0833
5633Problem: Mapping <C-bslash> doesn't work in the GUI.
5634Solution: Reset seenModifyOtherKeys when starting the GUI. (closes #6150)
5635Files: src/gui.c
5636
5637Patch 8.2.0834
5638Problem: :drop command in terminal popup causes problems.
5639Solution: Check for using a popup window. (closes #6151)
5640Files: src/ex_cmds.c, src/testdir/test_popupwin.vim
5641
5642Patch 8.2.0835
5643Problem: Motif: mapping <C-bslash> still doesn't work.
5644Solution: Accept CSI for K_SPECIAL. Do not apply CTRL to the character
5645 early. (closes #6150)
5646Files: src/getchar.c, src/gui_x11.c
5647
5648Patch 8.2.0836
5649Problem: Not all :cdo output is visible.
5650Solution: Reset 'shortmess' temporarily. (Yegappan Lakshmanan, closes #6155)
5651Files: src/ex_cmds2.c, src/testdir/test_cdo.vim
5652
5653Patch 8.2.0837
5654Problem: Compiler warning for value set but not used.
5655Solution: Move variable inside #ifdef.
5656Files: src/channel.c
5657
5658Patch 8.2.0838
5659Problem: MS-Windows: compiler warning for uninitialized variables.
5660Solution: Initialize variables.
5661Files: src/screen.c
5662
5663Patch 8.2.0839
5664Problem: Dropping modifier when putting a character back in typeahead.
5665Solution: Add modifier to ins_char_typebuf(). (closes #6158)
5666Files: src/getchar.c, src/proto/getchar.pro, src/message.c, src/normal.c,
5667 src/terminal.c, src/globals.h, src/testdir/test_messages.vim
5668
5669Patch 8.2.0840
5670Problem: Search match count wrong when only match is in fold.
5671Solution: Update search stats when in a closed fold. (Christian Brabandt,
5672 closes #6160, closes #6152)
5673Files: src/search.c, src/testdir/dumps/Test_searchstat_3.dump,
5674 src/testdir/test_search_stat.vim
5675
5676Patch 8.2.0841
5677Problem: 'verbose' value 16 causes duplicate output.
5678Solution: Combine levels 15 and 16 into one message. (Christian Brabandt,
5679 closes #6153)
5680Files: runtime/doc/options.txt, src/ex_docmd.c
5681
5682Patch 8.2.0842 (after 8.2.0837)
5683Problem: MS-Windows: channel tests fail.
5684Solution: Adjust #ifdefs. (closes #6162)
5685Files: src/channel.c
5686
5687Patch 8.2.0843
5688Problem: Filetype elm not detected.
5689Solution: Recognize *.elm files. (closes #6157)
5690Files: runtime/filetype.vim, src/testdir/test_filetype.vim
5691
5692Patch 8.2.0844
5693Problem: Text properties crossing lines not handled correctly.
5694Solution: When saving for undo include an extra line when needed and do not
5695 adjust properties when undoing. (Axel Forsman, closes #5875)
5696Files: src/memline.c, src/proto/memline.pro, src/undo.c, src/structs.h
5697
5698Patch 8.2.0845
5699Problem: Text properties crossing lines not handled correctly.
5700Solution: When joining lines merge text properties if possible.
5701 (Axel Forsman, closes #5839, closes #5683)
5702Files: src/testdir/test_textprop.vim, src/memline.c, src/ops.c,
5703 src/proto/textprop.pro, src/textprop.c,
5704 src/testdir/dumps/Test_textprop_01.dump
5705
5706Patch 8.2.0846
5707Problem: Build failure with small features.
5708Solution: Add #ifdef.
5709Files: src/undo.c
5710
5711Patch 8.2.0847
5712Problem: Typval related code is spread out.
5713Solution: Move code to new typval.c file. (Yegappan Lakshmanan, closes #6093)
5714Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
5715 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
5716 src/eval.c, src/evalfunc.c, src/globals.h, src/proto.h,
5717 src/proto/eval.pro, src/proto/evalfunc.pro, src/proto/typval.pro,
5718 src/typval.c
5719
5720Patch 8.2.0848
5721Problem: MS-Windows: the Windows terminal code has some flaws.
5722Solution: Do not redraw the right edge of the screen. Remove the background
5723 color trick. Flush the screen output buffer often. (Nobuhiro
5724 Takasaki, #5546)
5725Files: src/os_win32.c, src/proto/os_win32.pro, src/term.c
5726
5727Patch 8.2.0849
5728Problem: BeOS code is not maintained and probably unused.
5729Solution: Remove the BeOS code. (Emir Sarı, closes #5817)
5730Files: Filelist, src/Makefile, src/configure.ac, src/auto/configure,
5731 src/evalfunc.c, src/normal.c, src/os_beos.c, src/os_beos.h,
5732 src/os_beos.rsrc, src/os_unix.c, src/proto.h,
5733 src/proto/os_beos.pro, src/pty.c, src/screen.c, src/term.c,
5734 src/testdir/test_functions.vim, src/ui.c, src/vim.h
5735
5736Patch 8.2.0850
5737Problem: MS-Windows: exepath() works differently from cmd.exe.
5738Solution: Make exepath() work better on MS-Windows. (closes #6115)
5739Files: runtime/doc/eval.txt, src/os_win32.c,
5740 src/testdir/test_functions.vim
5741
5742Patch 8.2.0851 (after 8.2.0833)
5743Problem: Can't distinguish <M-a> from accented "a" in the GUI.
5744Solution: Use another way to make mapping <C-bslash> work. (closes #6163)
5745Files: src/gui.c, src/gui_gtk_x11.c, src/getchar.c
5746
5747Patch 8.2.0852
5748Problem: Cannot map CTRL-S on some systems.
5749Solution: Do not use CTRL-S for flow control.
5750Files: src/os_unix.c
5751
5752Patch 8.2.0853
5753Problem: ml_delete() often called with FALSE argument.
5754Solution: Use ml_delete_flags(x, ML_DEL_MESSAGE) when argument is TRUE.
5755Files: src/buffer.c, src/change.c, src/diff.c, src/evalbuffer.c,
5756 src/ex_cmds.c, src/ex_docmd.c, src/fileio.c, src/if_lua.c,
5757 src/if_mzsch.c, src/if_ruby.c, src/if_tcl.c, src/normal.c,
5758 src/popupmenu.c, src/popupwin.c, src/quickfix.c, src/spell.c,
5759 src/terminal.c, src/if_perl.xs, src/if_py_both.h, src/memline.c,
5760 src/proto/memline.pro
5761
5762Patch 8.2.0854
5763Problem: Xxd cannot show offset as a decimal number.
5764Solution: Add the "-d" flag. (Aapo Rantalainen, closes #5616)
5765Files: src/testdir/test_xxd.vim, src/xxd/xxd.c
5766
5767Patch 8.2.0855
5768Problem: GUI tests fail because the test doesn't use a modifier.
5769Solution: Add "\{xxx}" to be able to encode a modifier.
5770Files: runtime/doc/eval.txt, src/typval.c, src/misc2.c, src/vim.h,
5771 src/proto/misc2.pro, src/gui_mac.c, src/option.c, src/highlight.c,
5772 src/term.c, src/testdir/test_backspace_opt.vim,
5773 src/testdir/test_mapping.vim, src/testdir/test_messages.vim
5774
5775Patch 8.2.0856 (after 8.2.0852)
5776Problem: CTRL-S stops output.
5777Solution: Invert the IXON flag. (closes #6166)
5778Files: src/os_unix.c
5779
5780Patch 8.2.0857
5781Problem: GTK cell height can be a pixel too much.
5782Solution: Subtract 3 instead of 1 when rounding. (closes #6168)
5783Files: src/gui_gtk_x11.c
5784
5785Patch 8.2.0858
5786Problem: Not easy to require Lua modules.
5787Solution: Improve use of Lua path. (Prabir Shrestha, closes #6098)
5788Files: Filelist, src/if_lua.c, src/optionstr.c, src/proto/if_lua.pro,
5789 src/testdir/test_lua.vim,
5790 src/testdir/testluaplugin/lua/testluaplugin/hello.lua,
5791 src/testdir/testluaplugin/lua/testluaplugin/init.lua
5792
5793Patch 8.2.0859
5794Problem: No Turkish translation of the manual.
5795Solution: Add Turkish translations. (Emir Sarı, closes #5641)
5796Files: Filelist, runtime/doc/Makefile, runtime/doc/evim-tr.1,
5797 runtime/doc/evim-tr.UTF-8.1, runtime/doc/vim-tr.1,
5798 runtime/doc/vim-tr.UTF-8.1, runtime/doc/vimdiff-tr.1,
5799 runtime/doc/vimdiff-tr.UTF-8.1, runtime/doc/vimtutor-tr.1,
5800 runtime/doc/vimtutor-tr.UTF-8.1, src/Makefile
5801
5802Patch 8.2.0860
5803Problem: Cannot use CTRL-A and CTRL-X on unsigned numbers.
5804Solution: Add "unsigned" to 'nrformats'. (Naruhiko Nishino, closes #6144)
5805Files: runtime/doc/options.txt, src/ops.c, src/optionstr.c,
5806 src/testdir/test_increment.vim
5807
5808Patch 8.2.0861
5809Problem: Cannot easily get all the current marks.
5810Solution: Add getmarklist(). (Yegappan Lakshmanan, closes #6032)
5811Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
5812 src/mark.c, src/proto/mark.pro, src/testdir/test_marks.vim
5813
5814Patch 8.2.0862
5815Problem: ":term ++curwin" makes the current buffer hidden. (Harm te
5816 Hennepe)
5817Solution: Do not hide the current buffer. (closes #6170)
5818Files: src/terminal.c, src/testdir/test_terminal.vim
5819
5820Patch 8.2.0863
5821Problem: Cannot set a separate color for underline/undercurl.
5822Solution: Add the t_AU and t_8u termcap codes. (Timur Celik, closes #6011)
5823Files: runtime/doc/syntax.txt, runtime/doc/term.txt, src/globals.h,
5824 src/highlight.c, src/optiondefs.h, src/proto/term.pro,
5825 src/screen.c, src/structs.h, src/term.c, src/term.h,
5826 src/testdir/test_options.vim
5827
5828Patch 8.2.0864
5829Problem: Pragmas are indented all the way to the left.
5830Solution: Add an option to indent pragmas like normal code. (Max Rumpf,
5831 closes #5468)
5832Files: runtime/doc/indent.txt, src/cindent.c, src/structs.h,
5833 src/testdir/test_cindent.vim
5834
5835Patch 8.2.0865
5836Problem: Syntax foldlevel is taken from the start of the line.
5837Solution: Add ":syn foldlevel" to be able to use the minimal foldlevel in
5838 the line. (Brad King, closes #6087)
5839Files: runtime/doc/syntax.txt, src/structs.h, src/syntax.c,
5840 src/testdir/test_syntax.vim
5841
5842Patch 8.2.0866
5843Problem: Not enough tests for buffer writing.
5844Solution: Add more tests. Use CheckRunVimInTerminal in more places.
5845 (Yegappan Lakshmanan, closes #6167)
5846Files: src/testdir/test_arglist.vim, src/testdir/test_match.vim,
5847 src/testdir/test_messages.vim, src/testdir/test_netbeans.py,
5848 src/testdir/test_netbeans.vim, src/testdir/test_search.vim,
5849 src/testdir/test_signals.vim, src/testdir/test_signs.vim,
5850 src/testdir/test_startup.vim, src/testdir/test_startup_utf8.vim,
5851 src/testdir/test_syntax.vim, src/testdir/test_tabpage.vim,
5852 src/testdir/test_timers.vim, src/testdir/test_vimscript.vim,
5853 src/testdir/test_writefile.vim
5854
5855Patch 8.2.0867
5856Problem: Using \{xxx} for encoding a modifier is not nice.
5857Solution: Use \<*xxx> instead, since it's the same as \<xxx> but producing a
5858 different code.
5859Files: runtime/doc/eval.txt, src/typval.c, src/misc2.c, src/vim.h,
5860 src/testdir/test_backspace_opt.vim, src/testdir/test_mapping.vim,
5861 src/testdir/test_messages.vim
5862
5863Patch 8.2.0868
5864Problem: trim() always trims both ends.
5865Solution: Add an argument to only trim the beginning or end. (Yegappan
5866 Lakshmanan, closes #6126)
5867Files: runtime/doc/eval.txt, src/evalfunc.c,
5868 src/testdir/test_functions.vim
5869
5870Patch 8.2.0869
5871Problem: It is not possible to customize the quickfix window contents.
5872Solution: Add 'quickfixtextfunc'. (Yegappan Lakshmanan, closes #5465)
5873Files: runtime/doc/eval.txt, runtime/doc/options.txt,
5874 runtime/doc/quickfix.txt, src/option.h, src/optiondefs.h,
5875 src/quickfix.c, src/testdir/test_quickfix.vim
5876
5877Patch 8.2.0870
5878Problem: MS-Windows: Control keys don't work in the GUI.
5879Solution: Don't set seenModifyOtherKeys for now. (Yasuhiro Matsumoto,
5880 closes #6175)
5881Files: src/gui.c
5882
5883Patch 8.2.0871
5884Problem: Cannot use getmarklist() as a method.
5885Solution: Make getmarklist() work as a method. Add one to the column
5886 number to match getpos(). (Yegappan Lakshmanan, closes #6176)
5887Files: runtime/doc/eval.txt, src/evalfunc.c, src/mark.c,
5888 src/testdir/test_marks.vim
5889
5890Patch 8.2.0872
5891Problem: XIM code is mixed with multibyte code.
5892Solution: Move the XIM code to a separate file. (Yegappan Lakshmanan,
5893 closes #6177)
5894Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
5895 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/gui_xim.c,
5896 src/mbyte.c, src/proto.h, src/proto/gui_xim.pro,
5897 src/proto/mbyte.pro
5898
5899Patch 8.2.0873
5900Problem: A .jl file can be sawfish (lisp) or Julia.
5901Solution: Do not recognize *.jl as lisp, since it might be Julia.
5902 (closes #6178)
5903Files: runtime/filetype.vim, src/testdir/test_filetype.vim
5904
5905Patch 8.2.0874
5906Problem: Signals test is a bit flaky.
5907Solution: Flush the XautoOut file. Delete files that may be left behind
5908 from a failure. (Dominique Pellé, closes #6179)
5909Files: src/testdir/test_signals.vim
5910
5911Patch 8.2.0875
5912Problem: Getting attributes for directory entries is slow.
5913Solution: Add readdirex(). (Ken Takata, closes #5619)
5914Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00005915 src/fileio.c, src/filepath.c, src/proto/fileio.pro,
Bram Moolenaarc51cf032022-02-26 12:25:45 +00005916 src/proto/filepath.pro, src/testdir/test_functions.vim
5917
5918Patch 8.2.0876
5919Problem: :pwd does not give a hint about the scope of the directory
5920Solution: Make ":verbose pwd" show the scope. (Takuya Fujiwara, closes #5469)
5921Files: runtime/doc/editing.txt, src/ex_docmd.c, src/testdir/test_cd.vim
5922
5923Patch 8.2.0877
5924Problem: Cannot get the search statistics.
5925Solution: Add the searchcount() function. (Fujiwara Takuya, closes #4446)
5926Files: runtime/doc/eval.txt, src/evalfunc.c, src/macros.h,
5927 src/proto/search.pro, src/search.c,
5928 src/testdir/test_search_stat.vim
5929
5930Patch 8.2.0878
5931Problem: No reduce() function.
5932Solution: Add a reduce() function. (closes #5481)
5933Files: runtime/doc/eval.txt, src/evalfunc.c, src/globals.h, src/list.c,
5934 src/proto/list.pro, src/testdir/test_listdict.vim
5935
5936Patch 8.2.0879
5937Problem: Compiler warning for unused function argument.
5938Solution: Add UNUSED.
5939Files: src/search.c
5940
5941Patch 8.2.0880 (after 8.2.0877)
5942Problem: Leaking memory when using searchcount().
5943Solution: Free the last used search pattern.
5944Files: src/search.c
5945
5946Patch 8.2.0881
5947Problem: Compiler warning for argument type.
5948Solution: Add type cast. (Mike Williams)
5949Files: src/ops.c
5950
5951Patch 8.2.0882
5952Problem: Leaking memory when using reduce().
5953Solution: Free the intermediate value.
5954Files: src/list.c
5955
5956Patch 8.2.0883
5957Problem: Memory leak in test 49.
5958Solution: Free "sfile" from the exception.
5959Files: src/ex_docmd.c
5960
5961Patch 8.2.0884
5962Problem: Searchcount() test fails on slower systems.
5963Solution: Set a longer timeout.
5964Files: src/search.c, src/testdir/test_search_stat.vim
5965
5966Patch 8.2.0885
5967Problem: "make shadow" does not link new lua test dir.
5968Solution: Also link testdir/testluaplugin. (Elimar Riesebieter)
5969Files: src/Makefile
5970
5971Patch 8.2.0886
5972Problem: Cannot use octal numbers in scriptversion 4.
5973Solution: Add the "0o" notation. (Ken Takata, closes #5304)
5974Files: runtime/doc/eval.txt, src/charset.c, src/evalfunc.c,
5975 src/testdir/test_eval_stuff.vim, src/testdir/test_functions.vim,
5976 src/vim.h
5977
5978Patch 8.2.0887
5979Problem: Searchcount().exact_match is 1 right after a match.
5980Solution: Use LT_POS() instead of LTOREQ_POS(). (closes #6189)
5981Files: src/search.c, src/testdir/test_search_stat.vim
5982
5983Patch 8.2.0888
5984Problem: Readdirex() returns size -2 for a directory.
5985Solution: Add missing "else". (Ken Takata, closes #6185)
5986Files: src/fileio.c, src/testdir/test_functions.vim
5987
5988Patch 8.2.0889
5989Problem: Using old style comments.
5990Solution: Use // comments. (Yegappan Lakshmanan, closes #6190)
5991Files: src/gui_xim.c
5992
5993Patch 8.2.0890
5994Problem: No color in terminal window when 'termguicolors' is set.
5995Solution: Clear the underline color. (closes #6186)
5996Files: src/highlight.c
5997
5998Patch 8.2.0891
5999Problem: Clang warns for invalid conversion.
6000Solution: Use zero instead of INVALCOLOR.
6001Files: src/highlight.c
6002
6003Patch 8.2.0892
6004Problem: Ubsan warns for undefined behavior.
6005Solution: Use unsigned instead of signed variable. (Dominique Pellé,
6006 closes #6193)
6007Files: src/regexp_nfa.c
6008
6009Patch 8.2.0893
6010Problem: Assert_equalfile() does not take a third argument.
6011Solution: Implement the third argument. (Gary Johnson)
6012Files: runtime/doc/eval.txt, runtime/doc/testing.txt, src/evalfunc.c,
6013 src/testdir/test_assert.vim, src/testing.c
6014
6015Patch 8.2.0894
6016Problem: :mkspell can take very long if the word count is high.
6017Solution: Use long to avoid negative numbers. Increase the limits by 20% if
6018 the compression did not have effect.
6019Files: src/spellfile.c
6020
6021Patch 8.2.0895
6022Problem: :mkspell output does not mention the tree type.
6023Solution: Back out increasing the limits, it has no effect. Mention the
6024 tree being compressed. Only give a message once per second.
6025Files: src/spellfile.c
6026
6027Patch 8.2.0896
6028Problem: Crash when calling searchcount() with a string.
6029Solution: Check the argument is a dict. (closes #6192)
6030Files: src/search.c, src/testdir/test_search_stat.vim
6031
6032Patch 8.2.0897
6033Problem: List of functions in patched version is outdated.
6034Solution: Update the function lists only.
6035Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt
6036
6037Patch 8.2.0898
6038Problem: Missing help for a function goes unnoticed.
6039Solution: Add a test. (Gary Johnson)
6040Files: src/testdir/test_function_lists.vim, src/testdir/Make_all.mak
6041
6042Patch 8.2.0899
6043Problem: Assert_equalfile() does not give a hint about the difference.
6044Solution: Display the last seen text.
6045Files: src/testing.c, src/testdir/test_assert.vim
6046
6047Patch 8.2.0900
6048Problem: Function list test fails on MS-Windows.
6049Solution: Make sure the fileformat is "unix"
6050Files: src/testdir/test_function_lists.vim
6051
6052Patch 8.2.0901
6053Problem: Formatting CJK text isn't optimal.
6054Solution: Properly break CJK lines. (closes #3875)
6055Files: runtime/doc/change.txt, src/mbyte.c, src/ops.c, src/option.h,
6056 src/proto/mbyte.pro, src/testdir/Make_all.mak, src/textformat.c,
6057 src/testdir/test_cjk_linebreak.vim
6058
6059Patch 8.2.0902
6060Problem: Using searchcount() in 'statusline' causes an error.
6061Solution: Avoid saving/restoring the search pattern recursively.
6062 (closes #6194)
6063Files: src/search.c, src/testdir/test_search_stat.vim,
6064 src/testdir/dumps/Test_searchstat_4.dump
6065
6066Patch 8.2.0903
6067Problem: comparing WINVER does not work correctly.
6068Solution: Use arithmetic expansion. (Ozaki Kiichi, closes #6197)
6069Files: src/Make_cyg_ming.mak
6070
6071Patch 8.2.0904
6072Problem: Assuming modifyOtherKeys for rhs of mapping.
6073Solution: Ignore seenModifyOtherKeys for mapped characters. (closes #6200)
6074Files: src/getchar.c, src/testdir/test_gui.vim
6075
6076Patch 8.2.0905
6077Problem: Test coverage could be better.
6078Solution: Add a couple of tests. (Dominique Pellé, closes #6202)
6079Files: src/testdir/test_cmdline.vim, src/testdir/test_ga.vim
6080
6081Patch 8.2.0906
6082Problem: When setting 'termguicolors' SpellBad is no longer red.
6083Solution: Only use the RGB guisp color for cterm when using the "underline"
6084 or "undercurl" attributes to avoid the background color to be
6085 cleared. Also make t_8u empty when the termresponse indicates a
6086 real xterm. (closes #6207)
6087Files: src/highlight.c, src/term.c
6088
6089Patch 8.2.0907
6090Problem: When using :global clipboard isn't set correctly.
6091Solution: Set "clip_unnamed_saved" instead of "clip_unnamed". (Christian
6092 Brabandt, closes #6203, closes #6198)
6093Files: src/clipboard.c, src/testdir/test_global.vim
6094
6095Patch 8.2.0908
6096Problem: Crash when changing the function table while listing it.
6097Solution: Bail out when the function table changes. (closes #6209)
6098Files: src/userfunc.c, src/testdir/test_timers.vim
6099
6100Patch 8.2.0909
6101Problem: Cannot go back to the previous local directory.
6102Solution: Add "tcd -" and "lcd -". (Yegappan Lakshmanan, closes #4362)
6103Files: runtime/doc/editing.txt, src/filepath.c, src/ex_docmd.c,
6104 src/structs.h, src/testdir/test_cd.vim, src/window.c
6105
6106Patch 8.2.0910
6107Problem: Vim is not reproducibly buildable.
6108Solution: Use the $SOURCE_DATE_EPOCH environment variable in configure.
6109 (James McCoy, closes #513) Give a warning about using it.
6110Files: src/config.h.in, src/config.mk.in, src/configure.ac,
6111 src/auto/configure, src/version.c, src/Makefile
6112
6113Patch 8.2.0911
6114Problem: Crash when opening a buffer for the cmdline window fails. (Chris
6115 Barber)
6116Solution: Check do_ecmd() succeeds. Reset got_int if "q" was used at the
6117 more prompt. (closes #6211)
6118Files: src/ex_getln.c, src/testdir/test_cmdline.vim,
6119 src/testdir/dumps/Test_cmdwin_interrupted.dump
6120
6121Patch 8.2.0912
6122Problem: A few test cases for CJK formatting are disabled.
6123Solution: Fix the tests and enable them. (closes #6212)
6124Files: src/testdir/test_cjk_linebreak.vim
6125
6126Patch 8.2.0913
6127Problem: Code for resetting v:register is duplicated.
6128Solution: Add reset_reg_var().
6129Files: src/evalvars.c, src/proto/evalvars.pro, src/main.c, src/normal.c
6130
6131Patch 8.2.0914
6132Problem: MS-Windows: cannot specify a "modified by" text.
6133Solution: Add MODIFIED_BY in the MSVC build file. (Chen Lei, closes #1275)
6134Files: src/Make_mvc.mak
6135
6136Patch 8.2.0915
6137Problem: Search() cannot skip over matches like searchpair() can.
6138Solution: Add an optional "skip" argument. (Christian Brabandt, closes #861)
6139Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_syntax.vim,
6140 src/structs.h, src/evalvars.c, src/proto/evalvars.pro
6141
6142Patch 8.2.0916
6143Problem: Mapping with partly modifyOtherKeys code does not work.
6144Solution: If there is no mapping with a separate modifier include the
6145 modifier in the key and then try mapping again. (closes #6200)
6146Files: src/getchar.c, src/proto/getchar.pro, src/edit.c, src/term.c,
6147 src/proto/term.pro, src/testdir/test_termcodes.vim
6148
6149Patch 8.2.0917
6150Problem: Quickfix entries do not support a "note" type.
6151Solution: Add support for "note". (partly by Yegappan Lakshmanan,
6152 closes #5527, closes #6216)
6153Files: runtime/doc/quickfix.txt, src/quickfix.c,
6154 src/testdir/test_quickfix.vim
6155
6156Patch 8.2.0918
6157Problem: Duplicate code for evaluating expression argument.
6158Solution: Merge the code and make the use more flexible.
6159Files: src/evalfunc.c, src/eval.c, src/proto/eval.pro, src/evalvars.c,
6160 src/proto/evalvars.pro, src/structs.h
6161
6162Patch 8.2.0919
6163Problem: Merging modifier for modifyOtherKeys is done twice.
6164Solution: Remove the merging done in vgetc().
6165Files: src/getchar.c, src/ex_getln.c
6166
6167Patch 8.2.0920
6168Problem: Writing viminfo fails with a circular reference.
6169Solution: Use copyID to detect the cycle. (closes #6217)
6170Files: src/testdir/test_viminfo.vim, src/viminfo.c
6171
6172Patch 8.2.0921
6173Problem: CTRL-W T in cmdline window causes trouble.
6174Solution: Disallow CTRL-W T in the cmdline window. Add more tests.
6175 (Naruhiko Nishino, closes #6219)
6176Files: src/testdir/test_cmdline.vim, src/window.c
6177
6178Patch 8.2.0922
6179Problem: Search test fails.
6180Solution: Remove failure tests for calls that no longer fail.
6181Files: src/testdir/test_search.vim
6182
6183Patch 8.2.0923
6184Problem: Cmdline test is slow.
6185Solution: Use WaitForAssert().
6186Files: src/testdir/test_cmdline.vim
6187
6188Patch 8.2.0924
6189Problem: Cannot save and restore a register properly.
6190Solution: Add getreginfo() and make setreg() accept a dictionary. (Andy
6191 Massimino, closes #3370)
6192Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
6193 src/proto/register.pro, src/register.c,
6194 src/testdir/test_eval_stuff.vim, src/testdir/test_registers.vim
6195
6196Patch 8.2.0925
6197Problem: Getcompletion() does not return command line arguments.
6198Solution: Add the "cmdline" option. (Shougo, closes #1140)
6199Files: runtime/doc/eval.txt, src/cmdexpand.c,
6200 src/testdir/test_cmdline.vim
6201
6202Patch 8.2.0926
6203Problem: Cmdline test fails on Appveyor.
6204Solution: Add CR to the commands. (Naruhiko Nishino, closes #6220)
6205Files: src/testdir/test_cmdline.vim
6206
6207Patch 8.2.0927
6208Problem: Some sshconfig and ssdhconfig files are not recognized.
6209Solution: Add filetype patterns.
6210Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6211
6212Patch 8.2.0928
6213Problem: Many type casts are used for vim_strnsave().
6214Solution: Make the length argument size_t instead of int. (Ken Takata,
6215 closes #5633) Remove some type casts.
6216Files: src/misc2.c, src/proto/misc2.pro, src/autocmd.c, src/channel.c,
6217 src/cmdexpand.c, src/dict.c, src/diff.c, src/digraph.c,
6218 src/eval.c, src/evalfunc.c, src/highlight.c, src/syntax.c
6219
6220Patch 8.2.0929
6221Problem: v:register is not cleared after an operator was executed.
6222Solution: Clear v:register after finishing an operator (Andy Massimino,
6223 closes #5305)
6224Files: src/normal.c, src/testdir/test_registers.vim
6225
6226Patch 8.2.0930
6227Problem: Script filetype detection trips over env -S argument.
6228Solution: Remove "-S" and "--ignore-environment". (closes #5013)
6229 Add tests.
6230Files: runtime/scripts.vim, src/testdir/test_filetype.vim
6231
6232Patch 8.2.0931
6233Problem: Some remarks about BeOS remain.
6234Solution: Remove BeOS remarks from the help and other files. (Emir Sarı,
6235 closes #6221)
6236Files: READMEdir/README_extra.txt, runtime/doc/options.txt,
6237 runtime/doc/os_beos.txt, runtime/doc/os_vms.txt,
6238 runtime/doc/vi_diff.txt, src/INSTALL
6239
6240Patch 8.2.0932
6241Problem: Misspelling spelllang.
6242Solution: Add an "l". (Dominique Pellé)
6243Files: src/optionstr.c, src/proto/spell.pro, src/spell.c
6244
6245Patch 8.2.0933
6246Problem: 'quickfixtextfunc' does not get window ID of location list.
6247Solution: Add "winid" to the dict argument. (Yegappan Lakshmanan,
6248 closes #6222)
6249Files: runtime/doc/quickfix.txt, src/quickfix.c,
6250 src/testdir/test_quickfix.vim
6251
6252Patch 8.2.0934
6253Problem: Running lhelpgrep twice in a help window doesn't jump to the help
6254 topic.
6255Solution: Check whether any window with the location list is present.
6256 (Yegappan Lakshmanan, closes #6215)
6257Files: src/quickfix.c, src/testdir/test_quickfix.vim
6258
6259Patch 8.2.0935
6260Problem: Flattening a list with existing code is slow.
6261Solution: Add flatten(). (Mopp, closes #3676)
6262Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
6263 src/list.c, src/proto/list.pro, src/testdir/Make_all.mak,
6264 src/testdir/test_flatten.vim
6265
6266Patch 8.2.0936
6267Problem: Some terminals misinterpret the code for getting cursor style.
6268Solution: Send a sequence to the terminal and check the result. (IWAMOTO
6269 Kouichi, closes #2126) Merged with current code.
6270Files: src/main.c, src/term.c, src/proto/term.pro,
6271 src/testdir/term_util.vim, src/testdir/test_quickfix.vim,
6272 src/testdir/test_terminal.vim, src/testdir/test_startup_utf8.vim,
6273 src/testdir/dumps/Test_balloon_eval_term_01.dump,
6274 src/testdir/dumps/Test_balloon_eval_term_01a.dump,
6275 src/testdir/dumps/Test_balloon_eval_term_02.dump,
6276 src/testdir/dumps/Test_terminal_all_ansi_colors.dump
6277
6278Patch 8.2.0937
6279Problem: Asan failure in the flatten() test.
6280Solution: Free the flattened list.
6281Files: src/list.c
6282
6283Patch 8.2.0938
6284Problem: NFA regexp uses tolower() to compare ignore-case. (Thayne McCombs)
6285Solution: Use utf_fold() when possible. (ref. neovim #12456)
6286Files: src/macros.h, src/diff.c, src/regexp_nfa.c,
6287 src/testdir/test_regexp_utf8.vim
6288
6289Patch 8.2.0939
6290Problem: checking for term escape sequences is long and confusing
6291Solution: Refactor code into separate functions.
6292Files: src/term.c
6293
6294Patch 8.2.0940 (after 8.2.0939)
6295Problem: Build failure with tiny features.
6296Solution: Add #ifdef. Add UNUSED. A bit more cleaning up.
6297Files: src/term.c
6298
6299Patch 8.2.0941
6300Problem: Detecting terminal properties is unstructured.
6301Solution: Add a table with terminal properties. Set properties when a
6302 terminal is detected.
6303Files: src/term.c
6304
6305Patch 8.2.0942
6306Problem: Expanding to local dir after homedir keeps "~/".
6307Solution: Adjust modify_fname(). (Christian Brabandt, closes #6205,
6308 closes #5979)
6309Files: src/filepath.c, src/testdir/test_fnamemodify.vim
6310
6311Patch 8.2.0943
6312Problem: Displaying ^M or ^J depends on current buffer.
6313Solution: Pass the displayed buffer to transchar(). (closes #6225)
6314Files: src/drawline.c, src/charset.c, src/proto/charset.pro,
6315 src/ex_cmds.c, src/gui_beval.c, src/message.c,
6316 src/testdir/test_display.vim,
6317 src/testdir/dumps/Test_display_unprintable_01.dump,
6318 src/testdir/dumps/Test_display_unprintable_02.dump
6319
6320Patch 8.2.0944
6321Problem: Xxd test leaves file behind.
6322Solution: Delete the file "XXDfile". (Christian Brabandt, closes #6228)
6323Files: src/testdir/test_xxd.vim
6324
6325Patch 8.2.0945
6326Problem: Cannot use "z=" when 'spell' is off.
6327Solution: Make "z=" work even when 'spell' is off. (Christian Brabandt,
6328 Gary Johnson, closes #6227)
6329Files: runtime/doc/eval.txt, src/evalfunc.c, src/spell.c,
6330 src/spellsuggest.c, src/testdir/test_spell.vim, src/globals.h
6331
6332Patch 8.2.0946
6333Problem: Cannot use "q" to cancel a number prompt.
6334Solution: Recognize "q" instead of ignoring it.
6335Files: src/misc1.c, src/testdir/test_functions.vim
6336
6337Patch 8.2.0947
6338Problem: Readdirex() doesn't handle broken link properly.
6339Solution: Small fixes to readdirex(). (Christian Brabandt, closes #6226,
6340 closes #6213)
6341Files: src/fileio.c, src/testdir/test_functions.vim
6342
6343Patch 8.2.0948
6344Problem: Spell test fails.
6345Solution: Adjust expected text of the prompt.
6346Files: src/testdir/test_spell.vim
6347
6348Patch 8.2.0949
6349Problem: Strptime() does not use DST.
6350Solution: Set the tm_isdst field to -1. (Tomáš Janoušek, closes #6230)
6351Files: src/time.c, src/testdir/test_functions.vim
6352
6353Patch 8.2.0950
6354Problem: Tagjump test fails.
6355Solution: Adjust expected text of the prompt.
6356Files: src/testdir/test_tagjump.vim
6357
6358Patch 8.2.0951
6359Problem: Search stat test has leftover from debugging.
6360Solution: Remove line that writes a file. (Christian Brabandt, closes #6224)
6361Files: src/testdir/test_search_stat.vim
6362
6363Patch 8.2.0952
6364Problem: No simple way to interrupt Vim.
6365Solution: Add the SigUSR1 autocommand, triggered by SIGUSR1. (Jacob Hayes,
6366 closes #1718)
6367Files: runtime/doc/autocmd.txt, src/vim.h, src/autocmd.c, src/getchar.c,
6368 src/globals.h, src/os_unix.c, src/testdir/test_autocmd.vim
6369
6370Patch 8.2.0953
6371Problem: Spell checking doesn't work for CamelCased words.
6372Solution: Add the "camel" value in the new option 'spelloptions'.
6373 (closes #1235)
6374Files: runtime/doc/options.txt, runtime/doc/spell.txt, src/optiondefs.h,
6375 src/option.h, src/option.c, src/buffer.c, src/optionstr.c,
6376 src/testdir/gen_opt_test.vim, src/testdir/test_spell.vim
6377
6378Patch 8.2.0954
6379Problem: Not all desktop files are recognized.
6380Solution: Add the *.directory pattern. (Eisuke Kawashima, closes #3317)
6381Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6382
6383Patch 8.2.0955 (after 8.2.0953)
6384Problem: Build fails.
6385Solution: Add missing struct change.
6386Files: src/structs.h
6387
6388Patch 8.2.0956 (after 8.2.0953)
6389Problem: Spell test fails.
6390Solution: Add missing change the spell checking.
6391Files: src/spell.c
6392
6393Patch 8.2.0957
6394Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
6395Solution: Initialize one variable.
6396Files: src/spell.c
6397
6398Patch 8.2.0958
6399Problem: Not sufficient testing for buffer writing.
6400Solution: Add a few tests. (Yegappan Lakshmanan, closes #6238)
6401Files: src/testdir/test_backup.vim, src/testdir/test_writefile.vim
6402
6403Patch 8.2.0959
6404Problem: Using 'quickfixtextfunc' is a bit slow.
6405Solution: Process a list of entries. (Yegappan Lakshmanan, closes #6234)
6406Files: runtime/doc/quickfix.txt, src/quickfix.c,
6407 src/testdir/test_quickfix.vim
6408
6409Patch 8.2.0960
6410Problem: Cannot use :import in legacy Vim script.
6411Solution: Support :import in any Vim script.
6412Files: src/vim9script.c, src/evalvars.c, src/userfunc.c,
6413 src/testdir/test_vim9_script.vim
6414
6415Patch 8.2.0961
6416Problem: MS-Windows: no completion for locales.
6417Solution: Use the directories in $VIMRUNTIME/lang to complete locales.
6418 (Christian Brabandt, closes 36248)
6419Files: src/cmdexpand.c, src/ex_cmds2.c, src/testdir/test_cmdline.vim
6420
6421Patch 8.2.0962
6422Problem: Terminal test sometimes hangs on Travis.
6423Solution: Do show output for this test temporarily.
6424Files: src/testdir/Makefile
6425
6426Patch 8.2.0963
6427Problem: Number increment/decrement does not work with 'virtualedit'.
6428Solution: Handle coladd changing. (Christian Brabandt, closes #6240,
6429 closes #923)
6430Files: runtime/doc/options.txt, runtime/doc/various.txt, src/ops.c,
6431 src/testdir/test_increment.vim
6432
6433Patch 8.2.0964
6434Problem: TextYankPost does not provide info about Visual selection.
6435Solution: Add the 'visual' key in v:event. (closes #6249)
6436Files: runtime/doc/autocmd.txt, src/register.c,
6437 src/testdir/test_autocmd.vim
6438
6439Patch 8.2.0965
6440Problem: Has_funcundefined() is not used.
6441Solution: Delete the function. (Dominique Pellé, closes #6242)
6442Files: src/autocmd.c, src/proto/autocmd.pro
6443
6444Patch 8.2.0966
6445Problem: 'shortmess' flag "n" not used in two places.
6446Solution: Make use of the "n" flag consistent. (Nick Jensen, closes #6245,
6447 closes #6244)
6448Files: src/bufwrite.c, src/proto/bufwrite.pro, src/buffer.c,
6449 src/fileio.c, src/testdir/dumps/Test_popup_textprop_corn_5.dump,
6450 src/testdir/dumps/Test_start_with_tabs.dump
6451
6452Patch 8.2.0967
6453Problem: Unnecessary type casts for vim_strnsave().
6454Solution: Remove the type casts.
6455Files: src/evalvars.c, src/ex_cmds.c, src/ex_eval.c, src/fileio.c,
6456 src/filepath.c, src/findfile.c, src/highlight.c, src/if_ruby.c,
6457 src/insexpand.c, src/json.c, src/mark.c, src/memline.c,
6458 src/menu.c, src/misc1.c, src/ops.c, src/os_win32.c, src/regexp.c,
6459 src/regexp_bt.c, src/regexp_nfa.c, src/register.c, src/search.c,
6460 src/sign.c, src/syntax.c, src/term.c, src/terminal.c, src/undo.c,
6461 src/usercmd.c, src/userfunc.c, src/vim9compile.c, src/if_perl.xs
6462
6463Patch 8.2.0968
6464Problem: No proper testing of the 'cpoptions' flags.
6465Solution: Add tests. (Yegappan Lakshmanan, closes #6251)
6466Files: src/testdir/Make_all.mak, src/testdir/test_cpoptions.vim,
6467 src/testdir/test_edit.vim, src/testdir/test_normal.vim
6468
6469Patch 8.2.0969
6470Problem: Assert_equal() output for dicts is hard to figure out.
6471Solution: Only show the different items.
6472Files: src/testing.c, src/testdir/test_assert.vim
6473
6474Patch 8.2.0970
6475Problem: Terminal properties are not available in Vim script.
6476Solution: Add the terminalprops() function.
6477Files: src/term.c, src/proto/term.pro, src/evalfunc.c, src/main.c,
6478 src/testing.c, src/globals.h, src/testdir/test_termcodes.vim,
6479 runtime/doc/usr_41.txt, runtime/doc/eval.txt,
6480 runtime/doc/testing.txt
6481
6482Patch 8.2.0971
6483Problem: Build with tiny features fails.
6484Solution: Add #ifdef.
6485Files: src/term.c
6486
6487Patch 8.2.0972
6488Problem: Vim9 script variable declarations need a type.
6489Solution: Make "let var: type" declare a script-local variable.
6490Files: src/evalvars.c, src/vim9script.c, src/proto/vim9script.pro,
6491 src/globals.h, src/vim9compile.c, src/testdir/test_vim9_script.vim
6492
6493Patch 8.2.0973
6494Problem: Vim9: type is not checked when assigning to a script variable.
6495Solution: Check the type.
6496Files: src/evalvars.c, src/vim9script.c, src/proto/vim9script.pro,
6497 src/vim9compile.c, src/proto/vim9compile.pro,
6498 src/testdir/test_vim9_script.vim
6499
6500Patch 8.2.0974
6501Problem: Vim9: memory leak when script var has wrong type.
6502Solution: Free the variable name.
6503Files: src/vim9script.vim
6504
6505Patch 8.2.0975
6506Problem: Vim9: script variable does not accept optional s: prefix.
6507Solution: Adjust the accepted syntax.
6508Files: src/vim9script.c, src/testdir/test_vim9_script.vim
6509
6510Patch 8.2.0976
6511Problem: Some 'cpoptions' not tested.
6512Solution: Add more tests. (Yegappan Lakshmanan, closes #6253)
6513Files: src/testdir/test_cd.vim, src/testdir/test_charsearch.vim,
6514 src/testdir/test_cpoptions.vim, src/testdir/test_normal.vim
6515
6516Patch 8.2.0977
6517Problem: t_8u is made empty for the wrong terminals. (Dominique Pelle)
6518Solution: Invert the check for TPR_YES. (closes #6254)
6519Files: src/term.c, src/testdir/test_termcodes.vim
6520
6521Patch 8.2.0978
6522Problem: Leaking memory in termcodes test.
6523Solution: Set t_8u with set_option_value().
6524Files: src/term.c
6525
6526Patch 8.2.0979
6527Problem: A couple of screendump tests fail.
6528Solution: Do not redraw when clearing t_8u.
6529Files: src/term.c
6530
6531Patch 8.2.0980
6532Problem: Raku file extension not recognized. (Steven Penny)
6533Solution: Recognize .raku and .rakumod. (closes #6255)
6534Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6535
6536Patch 8.2.0981
6537Problem: Vim9: cannot compile "[var, var] = list".
6538Solution: Implement list assignment.
6539Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/evalvars.c,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00006540 src/proto/evalvars.pro, src/eval.c, src/testdir/test_vim9_script.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +00006541
6542Patch 8.2.0982
6543Problem: Insufficient testing for reading/writing files.
6544Solution: Add more tests. (Yegappan Lakshmanan, closes #6257)
6545 Add "ui_delay" to test_override() and use it for the CTRL-O test.
6546Files: src/testing.c, src/globals.h, src/ui.c, runtime/doc/testing.txt,
6547 src/testdir/test_autocmd.vim, src/testdir/test_edit.vim,
6548 src/testdir/test_filechanged.vim, src/testdir/test_writefile.vim
6549
6550Patch 8.2.0983
6551Problem: SConstruct file type not recognized.
6552Solution: Use python for SConstruct files. (Roland Hieber)
6553Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6554
6555Patch 8.2.0984
6556Problem: Not using previous window when closing a shell popup window.
6557Solution: Use "prevwin" if it was set. (closes #6267)
6558Files: src/popupwin.c, src/testdir/test_popupwin.vim
6559
6560Patch 8.2.0985
6561Problem: Simplify() does not remove slashes from "///path".
6562Solution: Reduce > 2 slashes to one. (closes #6263)
6563Files: src/findfile.c, src/testdir/test_functions.vim
6564
6565Patch 8.2.0986 (after 8.2.0985)
6566Problem: MS-Windows: functions test fails.
6567Solution: Only simplify ///path on Unix.
6568Files: src/testdir/test_functions.vim
6569
6570Patch 8.2.0987
6571Problem: Vim9: cannot assign to [var; var].
6572Solution: Assign rest of items to a list.
6573Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/list.c,
6574 src/proto/list.pro, src/eval.c, src/testdir/test_vim9_script.vim
6575
6576Patch 8.2.0988
6577Problem: Getting directory contents is always case sorted.
6578Solution: Add sort options and v:collate. (Christian Brabandt, closes #6229)
6579Files: runtime/doc/eval.txt, runtime/doc/mlang.txt, src/auto/configure,
6580 src/cmdexpand.c, src/config.h.in, src/configure.ac,
6581 src/evalfunc.c, src/evalvars.c, src/ex_cmds2.c, src/fileio.c,
6582 src/filepath.c, src/globals.h, src/proto/fileio.pro,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00006583 src/testdir/test_cmdline.vim, src/testdir/test_functions.vim,
Bram Moolenaarc51cf032022-02-26 12:25:45 +00006584 src/vim.h
6585
6586Patch 8.2.0989
6587Problem: Crash after resizing a terminal window. (August Masquelier)
6588Solution: Add check for valid row in libvterm. (closes #6273)
6589Files: src/libvterm/src/state.c, src/libvterm/src/screen.c
6590
6591Patch 8.2.0990 (after 8.2.0988)
6592Problem: Using duplicate error number.
6593Solution: Use an unused error number. Add a test for it.
6594Files: src/globals.h, src/testdir/test_functions.vim
6595
6596Patch 8.2.0991
6597Problem: Cannot get window type for autocmd and preview window.
6598Solution: Add types to win_gettype(). (Yegappan Lakshmanan, closes #6277)
6599Files: runtime/doc/eval.txt, src/evalwindow.c,
6600 src/testdir/test_autocmd.vim, src/testdir/test_preview.vim
6601
6602Patch 8.2.0992
6603Problem: Vim9: crash when using :import in the Vim command.
6604Solution: Give an error when using :import outside of a script.
6605 (closes #6271)
6606Files: src/vim9script.c, src/testdir/test_vim9_script.vim,
6607 src/testdir/term_util.vim
6608
6609Patch 8.2.0993
6610Problem: Vim9 script test fails with normal features.
6611Solution: Use :func instead of :def for now.
6612Files: src/testdir/test_vim9_script.vim
6613
6614Patch 8.2.0994
6615Problem: Vim9: missing function causes compilation error.
6616Solution: Call test function indirectly.
6617Files: src/testdir/test_vim9_script.vim
6618
6619Patch 8.2.0995
6620Problem: Insufficient testing for the readdir() sort option.
6621Solution: Add a few more tests. (Christian Brabandt, closes #6278)
6622Files: src/testdir/test_functions.vim
6623
6624Patch 8.2.0996
6625Problem: Using "aucmdwin" in win_gettype() is not ideal.
6626Solution: Rename to "autocmd".
6627Files: runtime/doc/eval.txt, src/evalwindow.c,
6628 src/testdir/test_autocmd.vim
6629
6630Patch 8.2.0997
6631Problem: Cannot execute a register containing line continuation.
6632Solution: Concatenate lines where needed. (Yegappan Lakshmanan,
6633 closes #6272)
6634Files: runtime/doc/repeat.txt, src/register.c,
6635 src/testdir/test_registers.vim
6636
6637Patch 8.2.0998
6638Problem: Not all tag code is tested.
6639Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #6284)
6640Files: src/testdir/test_tagjump.vim
6641
6642Patch 8.2.0999
6643Problem: Moving to next sentence gets stuck on quote.
6644Solution: When moving to the next sentence doesn't result in moving, advance
6645 a character and try again. (closes #6291)
6646Files: src/textobject.c, src/testdir/test_textobjects.vim
6647
6648Patch 8.2.1000
6649Problem: Get error when leaving Ex mode with :visual and a CmdLineEnter
6650 autocommand was used.
6651Solution: Reset ex_pressedreturn. (closes #6293)
6652Files: src/ex_docmd.c, src/testdir/test_ex_mode.vim
6653
6654Patch 8.2.1001
6655Problem: Vim9: crash with nested "if" and assignment.
6656Solution: Skip more of the assignment. Do not set ctx_skip when code is
6657 reachable.
6658Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
6659
6660Patch 8.2.1002
6661Problem: Test may fail when run directly.
6662Solution: Check if g:run_nr exists. (Christian Brabandt, closes #6285)
6663Files: src/testdir/term_util.vim
6664
6665Patch 8.2.1003
6666Problem: Vim9: return type of sort() is too generic.
6667Solution: Get type from the first argument. (closes #6292)
6668Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
6669
6670Patch 8.2.1004
6671Problem: Line numbers below filler lines not always updated.
6672Solution: Don't break out of the win_line() loop too early. (Christian
6673 Brabandt, closes #6294, closes #6138)
6674Files: src/drawline.c, src/testdir/dumps/Test_diff_rnu_01.dump,
6675 src/testdir/dumps/Test_diff_rnu_02.dump,
6676 src/testdir/dumps/Test_diff_rnu_03.dump,
6677 src/testdir/test_diffmode.vim
6678
6679Patch 8.2.1005
6680Problem: Vim9: using TRUE/FALSE/MAYBE for ctx_skip is confusing.
6681Solution: Use an enum value.
6682Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
6683
6684Patch 8.2.1006
6685Problem: Vim9: require unnecessary return statement.
6686Solution: Improve the use of the had_return flag. (closes #6270)
6687Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim,
6688 src/testdir/test_vim9_func.vim
6689
6690Patch 8.2.1007
6691Problem: Completion doesn't work after ":r ++arg !".
6692Solution: Skip over "++arg". (Christian Brabandt, closes #6275,
6693 closes #6258)
6694Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
6695
6696Patch 8.2.1008
6697Problem: Vim9: no test for disassembling newly added instructions.
6698Solution: Add a function and check disassembly.
6699Files: src/testdir/test_vim9_disassemble.vim
6700
6701Patch 8.2.1009
6702Problem: Vim9: some failures not checked for.
6703Solution: Add test cases. Remove unused code.
6704Files: src/testdir/test_vim9_script.vim, src/vim9execute.c
6705
6706Patch 8.2.1010
6707Problem: Build failure in libvterm with debug enabled. (John Little)
6708Solution: Use "->" instead of ".".
6709Files: src/libvterm/src/state.c
6710
6711Patch 8.2.1011
6712Problem: Vim9: some code not tested.
6713Solution: Add a few more test cases. Reorder checks for clearer error.
6714 Remove unreachable code.
6715Files: src/evalvars.c, src/vim9script.c, src/vim9execute.c,
6716 src/proto/vim9script.pro, src/testdir/test_vim9_script.vim,
6717 src/testdir/test_vim9_expr.vim
6718
6719Patch 8.2.1012
6720Problem: Vim9: cannot declare single character script variables.
6721Solution: Don't see "b:", "s:", etc. as namespace. Fix item size of
6722 sn_var_vals.
6723Files: src/vim9script.c, src/scriptfile.c,
6724 src/testdir/test_vim9_script.vim
6725
6726Patch 8.2.1013
6727Problem: Channel tests can be a bit flaky.
6728Solution: Set the g:test_is_flaky flag in SetUp().
6729Files: src/testdir/test_channel.vim
6730
6731Patch 8.2.1014
6732Problem: Using "name" for a string result is confusing.
6733Solution: Rename to "end".
6734Files: src/typval.c
6735
6736Patch 8.2.1015
6737Problem: Popup filter gets key with modifier prepended when using
6738 modifyOtherKeys.
6739Solution: Remove the shift modifier when it is included in the key, also
6740 when the Alt or Meta modifier is used.
6741Files: src/term.c, src/misc2.c, src/testdir/test_popupwin.vim
6742
6743Patch 8.2.1016
6744Problem: Vim9: test fails when channel feature is missing.
6745Solution: Process an :if command when skipping
6746Files: src/vim9compile.c
6747
6748Patch 8.2.1017
6749Problem: Appveyor output doesn't show MinGW console features.
6750Solution: List the features of the console build.
6751Files: ci/appveyor.bat
6752
6753Patch 8.2.1018
6754Problem: Typo in enum value. (James McCoy)
6755Solution: Fix the typo.
6756Files: src/vim9compile.c
6757
6758Patch 8.2.1019
6759Problem: Mapping <M-S-a> does not work in the GUI.
6760Solution: Move the logic to remove the shift modifier to
6761 may_remove_shift_modifier() and also use it in the GUI.
6762Files: src/gui_gtk_x11.c, src/misc2.c, src/proto/misc2.pro, src/term.c
6763
6764Patch 8.2.1020
6765Problem: Popupwin test fails in the GUI.
6766Solution: Send GUI byte sequence for <C-S-a>.
6767Files: src/testdir/test_popupwin.vim
6768
6769Patch 8.2.1021
6770Problem: Ruby interface not tested enough.
6771Solution: Add a couple more tests. (Dominique Pellé, closes #6301)
6772Files: src/testdir/test_ruby.vim
6773
6774Patch 8.2.1022
6775Problem: Various parts of code not covered by tests.
6776Solution: Add more tests. (Yegappan Lakshmanan, closes #6300)
6777Files: src/testdir/test_blob.vim, src/testdir/test_cpoptions.vim,
6778 src/testdir/test_digraph.vim, src/testdir/test_edit.vim,
6779 src/testdir/test_iminsert.vim, src/testdir/test_paste.vim,
6780 src/testdir/test_prompt_buffer.vim,
6781 src/testdir/test_selectmode.vim, src/testdir/test_tabpage.vim,
6782 src/testdir/test_tagjump.vim, src/testdir/test_textformat.vim,
6783 src/testdir/test_viminfo.vim, src/testdir/test_virtualedit.vim,
6784 src/testdir/test_visual.vim
6785
6786Patch 8.2.1023
6787Problem: Vim9: redefining a function uses a new index every time.
6788Solution: When redefining a function clear the contents and re-use the
6789 index.
6790Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
6791 src/structs.h, src/eval.c, src/evalvars.c, src/vim9execute.c
6792
6793Patch 8.2.1024
6794Problem: Vim9: no error for using "let g:var = val".
6795Solution: Add an error.
6796Files: src/evalvars.c, src/globals.h, src/structs.h, src/vim9compile.c,
6797 src/scriptfile.c, src/userfunc.c, src/testdir/test_vim9_script.vim,
6798 src/testdir/test_vim9_disassemble.vim,
6799 src/testdir/test_vim9_func.vim
6800
6801Patch 8.2.1025
6802Problem: Tabpage menu and tabline not sufficiently tested.
6803Solution: Add tests. (Yegappan Lakshmanan, closes #6307)
6804Files: src/testdir/test_digraph.vim, src/testdir/test_tabpage.vim
6805
6806Patch 8.2.1026
6807Problem: Vim9: cannot break the line after "->".
6808Solution: Check for a continuation line after "->", "[" and ".". Ignore
6809 trailing white space.
6810Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
6811
6812Patch 8.2.1027
6813Problem: GUI: multibyte characters do not work in a terminal.
6814Solution: Do not assume a key is one byte. (closes #6304)
6815Files: src/gui_gtk_x11.c, src/gui_x11.c
6816
6817Patch 8.2.1028
6818Problem: Vim9: no error for declaring buffer, window, etc. variable.
6819Solution: Give an error. Unify the error messages.
6820Files: src/evalvars.c, src/globals.h, src/vim9compile.c,
6821 src/proto/vim9compile.pro, src/testdir/test_vim9_expr.vim,
6822 src/testdir/test_vim9_script.vim
6823
6824Patch 8.2.1029
6825Problem: Vim9: cannot chain function calls with -> at line start.
6826Solution: Peek ahead for a following line starting with "->". (closes #6306)
6827Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
6828
6829Patch 8.2.1030
6830Problem: Reducing size of a terminal window may cause a crash.
6831Solution: Make sure the row and column don't become negative. (closes #6273)
6832Files: src/libvterm/src/state.c, src/libvterm/src/screen.c
6833
6834Patch 8.2.1031
6835Problem: Build failure with Perl5.32.
6836Solution: Define a few more functions. (Felix Yan, closes #6310)
6837Files: src/if_perl.xs
6838
6839Patch 8.2.1032
6840Problem: Error message for declaring a variable cannot be translated.
6841Solution: Enclose in _(). Make environment variable a separate message.
6842Files: src/globals.h, src/vim9compile.c
6843
6844Patch 8.2.1033
6845Problem: Not easy to read the test time in the test output.
6846Solution: Align the times. Make slow tests bold.
6847Files: src/testdir/runtest.vim
6848
6849Patch 8.2.1034
6850Problem: Compiler warning for uninitialized variables.
6851Solution: Add initializations. (John Marriott)
6852Files: src/vim9compile.c
6853
6854Patch 8.2.1035
6855Problem: setreg() does not always clear the register.
6856Solution: Clear the register if the dict argument is empty. (Andy Massimino,
6857 closes #3370)
6858Files: src/evalfunc.c, src/testdir/test_registers.vim
6859
6860Patch 8.2.1036
6861Problem: Popupwin test fails sometimes.
6862Solution: Use WaitForAssert() instead of a sleep.
6863Files: src/testdir/test_popupwin.vim
6864
6865Patch 8.2.1037
6866Problem: Vim9: crash when using line continuation inside :def.
6867Solution: Check for no more lines available.
6868Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
6869
6870Patch 8.2.1038
6871Problem: Popupwin test fails.
6872Solution: Fix WaitForAssert() argument.
6873Files: src/testdir/test_popupwin.vim
6874
6875Patch 8.2.1039
6876Problem: Cannot put NUL byte on clipboard.
6877Solution: Use the text length. (Christian Brabandt, closes #6312,
6878 closes #6149)
6879Files: src/winclip.c, src/testdir/test_registers.vim
6880
6881Patch 8.2.1040
6882Problem: Not enough testing for movement commands.
6883Solution: Add more tests. (Yegappan Lakshmanan, closes #6313)
6884Files: src/testdir/test_cursor_func.vim, src/testdir/test_functions.vim,
6885 src/testdir/test_gf.vim, src/testdir/test_normal.vim,
6886 src/testdir/test_options.vim, src/testdir/test_quickfix.vim
6887
6888Patch 8.2.1041
6889Problem: Test summary is missing executed count.
6890Solution: Adjust pattern used for counting.
6891Files: src/testdir/summarize.vim
6892
6893Patch 8.2.1042
6894Problem: Vim9: cannot put an operator on the next line.
6895Solution: Require a colon before a range to see if that causes problems.
6896Files: runtime/doc/vim9.txt, src/vim9compile.c, src/ex_docmd.c,
6897 src/globals.h, src/testdir/test_vim9_script.vim,
6898 src/testdir/test_vim9_expr.vim
6899
6900Patch 8.2.1043
6901Problem: %a item in 'statusline' not tested.
6902Solution: Add a test. (Dominique Pellé, closes #6318)
6903Files: src/testdir/test_statusline.vim
6904
6905Patch 8.2.1044
6906Problem: Not all systemd file types are recognized.
6907Solution: Match several more files. (Guido Cella, closes #6319)
6908Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6909
6910Patch 8.2.1045
6911Problem: Vim9: line break before operator does not work.
6912Solution: Peek the next line for an operator.
6913Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
6914
6915Patch 8.2.1046
6916Problem: Insufficient tests for src/buffer.c.
6917Solution: Add more tests. Move comments related tests to a separate file.
6918 (Yegappan Lakshmanan, closes #6325)
6919Files: src/testdir/Make_all.mak, src/testdir/test_buffer.vim,
6920 src/testdir/test_cmdline.vim, src/testdir/test_comments.vim,
6921 src/testdir/test_normal.vim, src/testdir/test_textformat.vim
6922
6923Patch 8.2.1047
6924Problem: Vim9: script cannot use line continuation like in a :def function.
6925Solution: Pass the getline function pointer to the eval() functions. Use it
6926 for addition and multiplication operators.
6927Files: src/vim.h, src/structs.h, src/globals.h, src/ex_eval.c,
6928 src/eval.c, src/proto/eval.pro, src/dict.c, src/evalfunc.c,
6929 src/evalvars.c, src/list.c, src/userfunc.c, src/scriptfile.c,
6930 src/proto/scriptfile.pro, src/testdir/test_vim9_expr.vim
6931
6932Patch 8.2.1048 (after 8.2.1047)
6933Problem: Build failure without the eval feature.
6934Solution: Add dummy typedef.
6935Files: src/structs.h
6936
6937Patch 8.2.1049 (after 8.2.1047)
6938Problem: Vim9: leaking memory when using continuation line.
6939Solution: Keep a pointer to the continuation line in evalarg_T. Centralize
6940 checking for a next command.
6941Files: src/structs.h, src/eval.c, src/proto/eval.pro, src/beval.c,
6942 src/buffer.c, src/clientserver.c, src/evalvars.c, src/ex_docmd.c,
6943 src/ex_eval.c, src/filepath.c, src/findfile.c, src/fold.c,
6944 src/globals.h, src/if_ole.cpp, src/if_perl.xs, src/if_tcl.c,
6945 src/map.c, src/quickfix.c, src/regexp.c, src/register.c,
6946 src/screen.c, src/userfunc.c
6947
6948Patch 8.2.1050 (after 8.2.1049)
6949Problem: Missing change in struct.
6950Solution: Add missing change.
6951Files: src/ex_cmds.h
6952
6953Patch 8.2.1051
6954Problem: Crash when changing a list while using reduce() on it.
6955Solution: Lock the list. (closes #6330)
6956Files: src/list.c, src/testdir/test_listdict.vim
6957
6958Patch 8.2.1052
6959Problem: Build failure with older compilers.
6960Solution: Move declaration to start of block.
6961Files: src/eval.c
6962
6963Patch 8.2.1053
6964Problem: Insufficient testing for 'statusline' and 'tabline'.
6965Solution: Add more tests. (Yegappan Lakshmanan, closes #6333)
6966Files: src/testdir/test_autocmd.vim, src/testdir/test_statusline.vim,
6967 src/testdir/test_tabline.vim
6968
6969Patch 8.2.1054
6970Problem: Not so easy to pass a lua function to Vim.
6971Solution: Convert a Lua function and closure to a Vim funcref. (Prabir
6972 Shrestha, closes #6246)
6973Files: runtime/doc/if_lua.txt, src/if_lua.c, src/proto/userfunc.pro,
6974 src/structs.h, src/testdir/test_lua.vim, src/userfunc.c
6975
6976Patch 8.2.1055
6977Problem: No filetype set for pacman config files.
6978Solution: Recognize pacman.conf and *.hook. (Guido Cella, closes #6335)
6979Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6980
6981Patch 8.2.1056
6982Problem: Wrong display when mixing match conceal and syntax conceal.
6983Solution: Adjust how conceal flags are used. (closes #6327, closes #6303)
6984Files: src/drawline.c, src/highlight.c,
6985 src/testdir/test_matchadd_conceal.vim
6986
6987Patch 8.2.1057 (after 8.2.1054)
6988Problem: Cannot build with dynamic Lua.
6989Solution: Add dll variables.
6990Files: src/if_lua.c
6991
6992Patch 8.2.1058
6993Problem: Multiline conceal causes display errors.
6994Solution: Do not allow conceal cross over EOL. (closes #6326, closes #4854,
6995 closes #6302)
6996Files: src/drawline.c, src/testdir/test_conceal.vim,
6997 src/testdir/test_diffmode.vim
6998
6999Patch 8.2.1059
7000Problem: Crash when using :tabonly in an autocommand. (Yegappan Lakshmanan)
7001Solution: Do not allow the autocommand window to be closed.
7002Files: src/ex_docmd.c, src/window.c, src/globals.h,
7003 src/testdir/test_autocmd.vim
7004
7005Patch 8.2.1060
7006Problem: Not all elinks files are recognized.
7007Solution: Just check for "elinks.conf". (Guido Cella, closes #6337)
7008Files: runtime/filetype.vim, src/testdir/test_filetype.vim
7009
7010Patch 8.2.1061
7011Problem: Insufficient testing for src/window.c.
7012Solution: Add more tests. (Yegappan Lakshmanan, closes #6345)
7013Files: src/testdir/test_excmd.vim, src/testdir/test_gf.vim,
7014 src/testdir/test_options.vim, src/testdir/test_popupwin.vim,
7015 src/testdir/test_quickfix.vim, src/testdir/test_tabpage.vim,
7016 src/testdir/test_tagjump.vim, src/testdir/test_window_cmd.vim,
7017 src/window.c
7018
7019Patch 8.2.1062
7020Problem: Vim9: no line break allowed inside "cond ? val1 : val2".
7021Solution: Check for operator after line break.
7022Files: src/eval.c, src/testdir/test_vim9_expr.vim
7023
7024Patch 8.2.1063
7025Problem: Vim9: no line break allowed before || or &&.
7026Solution: Check for operator after line break.
7027Files: src/eval.c, src/testdir/test_vim9_expr.vim
7028
7029Patch 8.2.1064
7030Problem: Vim9: no line break allowed before comparators.
7031Solution: Check for comparator after line break.
7032Files: src/eval.c, src/testdir/test_vim9_expr.vim
7033
7034Patch 8.2.1065
7035Problem: Vim9: no line break allowed inside a list.
7036Solution: Handle line break inside a list in Vim9 script.
7037Files: src/eval.c, src/proto/eval.pro, src/list.c, src/proto/list.pro,
7038 src/vim9compile.c, src/testdir/test_vim9_expr.vim,
7039 src/testdir/test_arglist.vim
7040
7041Patch 8.2.1066
7042Problem: Lua arrays are zero based.
7043Solution: Make Lua arrays one based. (Prabir Shrestha, closes #6347)
7044 Note: this is not backwards compatible.
7045Files: runtime/doc/if_lua.txt, src/if_lua.c, src/testdir/test_lua.vim
7046
7047Patch 8.2.1067
7048Problem: Expression "!expr->func()" does not work.
7049Solution: Apply plus and minus earlier. (closes #6348)
7050Files: src/eval.c, src/proto/eval.pro, src/evalvars.c, src/userfunc.c,
7051 src/testdir/test_expr.vim, src/testdir/test_vim9_expr.vim
7052
7053Patch 8.2.1068
7054Problem: Vim9: no line break allowed inside a dict.
7055Solution: Handle line break inside a dict in Vim9 script.
7056Files: src/eval.c, src/dict.c, src/proto/dict.pro,
7057 src/vim9compile.c, src/testdir/test_vim9_expr.vim
7058
7059Patch 8.2.1069
7060Problem: Vim9: fail to check for white space in list.
7061Solution: Add check for white space.
7062Files: src/list.c
7063
7064Patch 8.2.1070
7065Problem: Vim9: leaking memory when lacking white space in dict.
7066Solution: Clear the typval.
7067Files: src/dict.c
7068
7069Patch 8.2.1071
7070Problem: Vim9: no line break allowed inside a lambda.
7071Solution: Handle line break inside a lambda in Vim9 script.
7072Files: src/eval.c, src/proto/eval.pro, src/evalvars.c, src/userfunc.c,
7073 src/proto/userfunc.pro, src/popupwin.c, src/vim9compile.c,
7074 src/ex_eval.c, src/globals.h, src/structs.h,
7075 src/testdir/test_vim9_expr.vim
7076
7077Patch 8.2.1072
7078Problem: Missing libvterm test.
7079Solution: Sync with libvterm revision 768.
7080Files: src/libvterm/src/state.c, src/libvterm/t/63screen_resize.test
7081
7082Patch 8.2.1073
7083Problem: Vim9: no line break allowed in () expression.
7084Solution: Skip a line break.
7085Files: src/eval.c, src/testdir/test_vim9_expr.vim
7086
7087Patch 8.2.1074
7088Problem: Vim9: no line break allowed after some operators.
7089Solution: Skip a line break after the operator. Add
7090 eval_may_get_next_line() to simplify checking for a line break.
7091Files: src/eval.c, src/proto/eval.pro, src/dict.c, src/list.c,
7092 src/userfunc.c, src/testdir/test_vim9_expr.vim
7093
7094Patch 8.2.1075
7095Problem: Vim9: no line break allowed in :echo expression.
7096Solution: Skip linebreak.
7097Files: src/eval.c, src/testdir/test_vim9_cmd.vim
7098
7099Patch 8.2.1076
7100Problem: Vim9: no line break allowed in :if expression.
7101Solution: Skip linebreak.
7102Files: src/eval.c, src/proto/eval.pro, src/evalvars.c,
7103 src/testdir/test_vim9_cmd.vim
7104
7105Patch 8.2.1077
7106Problem: No enough test coverage for highlighting.
7107Solution: Add more tests. (Yegappan Lakshmanan, closes #6351)
7108Files: runtime/doc/syntax.txt, src/testdir/test_cmdline.vim,
7109 src/testdir/test_highlight.vim, src/testdir/test_match.vim
7110
7111Patch 8.2.1078
7112Problem: Highlight and match functionality together in one file.
7113Solution: Move match functionality to a separate file. (Yegappan Lakshmanan,
7114 closes #6352)
7115Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
7116 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
7117 src/highlight.c, src/match.c, src/proto.h,
7118 src/proto/highlight.pro, src/proto/match.pro
7119
7120Patch 8.2.1079
7121Problem: Vim9: no line break allowed in a while loop.
7122Solution: Update stored loop lines when finding line breaks.
7123Files: src/structs.h, src/globals.h, src/eval.c, src/evalvars.c,
7124 src/ex_docmd.c, src/proto/ex_docmd.pro,
7125 src/testdir/test_vim9_cmd.vim
7126
7127Patch 8.2.1080
7128Problem: Vim9: no line break allowed in a for loop.
7129Solution: Skip line breaks in for command.
7130Files: src/eval.c, src/ex_eval.c, src/proto/eval.pro, src/userfunc.c,
7131 src/structs.h, src/globals.h, src/testdir/test_vim9_cmd.vim
7132
7133Patch 8.2.1081
7134Problem: Lua: cannot use table.insert() and table.remove().
7135Solution: Add the list functions. (Prabir Shrestha, closes #6353)
7136Files: runtime/doc/if_lua.txt, src/if_lua.c, src/testdir/test_lua.vim
7137
7138Patch 8.2.1082
7139Problem: Coverity complains about ignoring dict_add() return value.
7140Solution: Add (void).
7141Files: src/evalfunc.c
7142
7143Patch 8.2.1083
7144Problem: Crash when using reduce() on a NULL list.
7145Solution: Only access the list when not NULL.
7146Files: src/list.c, src/testdir/test_listdict.vim
7147
7148Patch 8.2.1084
7149Problem: Lua: registering function has useless code.
7150Solution: Remove clearing grow arrays.
7151Files: src/userfunc.c
7152
7153Patch 8.2.1085
7154Problem: Coverity complains about ignoring dict_add() return value.
7155Solution: Add (void).
7156Files: src/register.c
7157
7158Patch 8.2.1086
7159Problem: Possibly using freed memory when text properties used when
7160 changing indent of a line.
7161Solution: Compute the offset before calling ml_replace().
7162Files: src/indent.c
7163
7164Patch 8.2.1087
7165Problem: Possible memory leak when file expansion fails.
7166Solution: Clear the grow array when returning FAIL. Use an error message
7167 instead of an empty string.
7168Files: src/filepath.c
7169
7170Patch 8.2.1088
7171Problem: A very long translation might cause a buffer overflow.
7172Solution: Truncate the message if needed.
7173Files: src/fileio.c
7174
7175Patch 8.2.1089
7176Problem: Coverity warns for pointer computation.
7177Solution: Avoid computing a pointer to invalid memory.
7178Files: src/spellfile.c
7179
7180Patch 8.2.1090
7181Problem: May use NULL pointer when skipping over name.
7182Solution: Always set ll_name_end.
7183Files: src/eval.c
7184
7185Patch 8.2.1091
7186Problem: No check if opening a pty works.
7187Solution: Check for invalid file descriptor.
7188Files: src/os_unix.c
7189
7190Patch 8.2.1092
7191Problem: Not checking if saving for undo succeeds.
7192Solution: Bail out if u_savesub() returns FAIL.
7193Files: src/textprop.c
7194
7195Patch 8.2.1093
7196Problem: Python: double free when adding item to dict fails.
7197Solution: Remove vim_free() call.
7198Files: src/if_py_both.h
7199
7200Patch 8.2.1094
7201Problem: Dead code in libvterm.
7202Solution: Remove condition that is always true.
7203Files: src/libvterm/src/pen.c
7204
7205Patch 8.2.1095
7206Problem: May use pointer after freeing it when text properties are used.
7207Solution: Update redo buffer before calling ml_replace().
7208Files: src/spellsuggest.c
7209
7210Patch 8.2.1096
7211Problem: Vim9: return type of getqflist() is wrong.
7212Solution: Let the return type depend on the arguments. Also for
7213 getloclist(). (closes #6357)
7214Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7215
7216Patch 8.2.1097
7217Problem: Highlight code not sufficiently tested.
7218Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6359)
7219Files: src/testdir/test_filter_cmd.vim, src/testdir/test_highlight.vim
7220
7221Patch 8.2.1098
7222Problem: Vim9: cannot use line break in :throw argument.
7223Solution: Check for line break.
7224Files: src/eval.c, src/testdir/test_vim9_script.vim
7225
7226Patch 8.2.1099
7227Problem: Vim9: cannot use line break in :cexpr argument.
7228Solution: Check for line break.
7229Files: src/eval.c, src/testdir/test_vim9_script.vim
7230
7231Patch 8.2.1100
7232Problem: Vim9: cannot use line break in :execute, :echomsg and :echoerr
7233 argument.
7234Solution: Check for line break.
7235Files: src/eval.c, src/testdir/test_vim9_script.vim
7236
7237Patch 8.2.1101
7238Problem: No error when using wrong arguments for setqflist() or
7239 setloclist().
7240Solution: Check for the error.
7241Files: src/quickfix.c, src/testdir/test_quickfix.vim
7242
7243Patch 8.2.1102
7244Problem: Coverity gets confused by an unnecessary NULL check.
7245Solution: Remove the check for NULL.
7246Files: src/quickfix.c
7247
7248Patch 8.2.1103
7249Problem: Coverity reports an unnecessary NULL check.
7250Solution: Remove the check for NULL.
7251Files: src/eval.c
7252
7253Patch 8.2.1104
7254Problem: Coverity warns for possible NULL pointer use.
7255Solution: Check "pbyts" is not NULL.
7256Files: src/spellsuggest.c
7257
7258Patch 8.2.1105
7259Problem: Insufficient test coverage for Lua.
7260Solution: Add tests. (Yegappan Lakshmanan, closes #6368) Fix uncovered
7261 memory leak. Avoid unnecessary copy/free.
7262Files: src/if_lua.c, src/testdir/test_lua.vim
7263
7264Patch 8.2.1106
7265Problem: Crash when trying to use s: variable in typed command.
7266Solution: Don't use the script index when not set. (Ken Takata,
7267 closes #6366)
7268Files: src/vim9compile.c, src/testdir/test_vimscript.vim
7269
7270Patch 8.2.1107
7271Problem: 'imactivatefunc' and 'imstatusfunc' are not used in the GUI.
7272Solution: Adjust the #ifdefs. (closes #6367)
7273Files: runtime/doc/options.txt, src/gui_xim.c,
7274 src/testdir/test_iminsert.vim
7275
7276Patch 8.2.1108
7277Problem: Mouse left-right scroll is not supported in terminal window.
7278Solution: Implement mouse codes 6 and 7. (Trygve Aaberge, closes #6363)
7279Files: src/libvterm/src/mouse.c, src/mouse.c, src/terminal.c,
7280 src/testdir/mouse.vim, src/testdir/test_termcodes.vim
7281
7282Patch 8.2.1109 (after 8.2.1106)
7283Problem: Still crashing when using s:variable.
7284Solution: Remove assignment. (Ken Takata)
7285Files: src/vim9compile.c
7286
7287Patch 8.2.1110
7288Problem: Vim9: line continuation does not work in function arguments.
7289Solution: Pass "evalarg" to get_func_tv(). Fix seeing double quoted string
7290 as comment.
7291Files: src/userfunc.c, src/proto/userfunc.pro, src/eval.c, src/ex_eval.c,
7292 src/list.c, src/dict.c, src/proto/eval.pro,
7293 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim
7294
7295Patch 8.2.1111
7296Problem: Inconsistent naming of get_list_tv() and eval_dict().
7297Solution: Rename get_list_tv() to eval_list(). Similarly for eval_number(),
7298 eval_string(), eval_lit_string() and a few others.
7299Files: src/eval.c, src/list.c, src/proto/list.pro, src/vim9compile.c,
7300 src/typval.c, src/proto/typval.pro, src/vim9script.c,
7301 src/evalfunc.c, src/evalvars.c, src/proto/evalvars.pro,
7302 src/vim9execute.c
7303
7304Patch 8.2.1112
7305Problem: Vim9: no line continuation allowed in method call.
7306Solution: Handle line continuation in expression before method call.
7307Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim,
7308 src/testdir/test_vim9_script.vim,
7309 src/testdir/test_vim9_expr.vim
7310
7311Patch 8.2.1113
7312Problem: No test for verbose output of :call.
7313Solution: Add a test.
7314Files: src/testdir/test_user_func.vim
7315
7316Patch 8.2.1114
7317Problem: Terminal test sometimes times out.
7318Solution: Split the test in two parts.
7319Files: src/testdir/Makefile, src/testdir/Make_all.mak,
7320 src/testdir/term_util.vim, src/testdir/test_terminal.vim,
7321 src/testdir/test_terminal2.vim
7322
7323Patch 8.2.1115
7324Problem: Iminsert test fails when compiled with VIMDLL.
7325Solution: Change condition. (Ken Takata, closes #6376)
7326Files: src/testdir/test_iminsert.vim
7327
7328Patch 8.2.1116
7329Problem: Vim9: parsing command checks for list twice.
7330Solution: Adjust how a command is parsed.
7331Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
7332
7333Patch 8.2.1117
7334Problem: Coverity warns for using uninitialized field.
7335Solution: Initialize v_lock.
7336Files: src/if_lua.c
7337
7338Patch 8.2.1118
7339Problem: Condition can never be true, dead code.
7340Solution: Remove the dead code.
7341Files: src/move.c
7342
7343Patch 8.2.1119
7344Problem: Configure fails with Xcode 12 beta.
7345Solution: use "return" instead of "exit()". (Nico Weber, closes #6381)
7346Files: src/configure.ac, src/auto/configure
7347
7348Patch 8.2.1120
7349Problem: Python code not tested properly.
7350Solution: Add more tests and convert old-style test into new-style test.
7351 (Yegappan Lakshmanan, closes #6370)
7352Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
7353 src/testdir/test86.in, src/testdir/test86.ok,
7354 src/testdir/test_python2.vim
7355
7356Patch 8.2.1121
7357Problem: Command completion not working after ++arg.
7358Solution: Move skipping up. (Christian Brabandt, closes #6382)
7359Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
7360
7361Patch 8.2.1122
7362Problem: Vim9: line continuation in dict member not recognized.
7363Solution: Check for line continuation.
7364Files: src/eval.c, src/testdir/test_vim9_expr.vim
7365
7366Patch 8.2.1123
7367Problem: Python 3 test is old style.
7368Solution: Turn into new style test. (Yegappan Lakshmanan, closes #6385)
7369Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
7370 src/testdir/test87.in, src/testdir/test87.ok,
7371 src/testdir/test_python2.vim, src/testdir/test_python3.vim
7372
7373Patch 8.2.1124
7374Problem: Vim9: no line break allowed in :import command.
7375Solution: Skip over line breaks.
7376Files: src/vim9script.c, src/proto/vim9script.pro, src/vim9compile.c,
7377 src/testdir/test_vim9_script.vim
7378
7379Patch 8.2.1125
7380Problem: Vim9: double quote can be a string or a comment.
7381Solution: Only support comments starting with # to avoid confusion.
7382Files: src/eval.c, src/proto/eval.pro, src/dict.c, src/list.c,
7383 src/vim9script.c
7384
7385Patch 8.2.1126
7386Problem: Vim9: using :copen causes an error.
7387Solution: Add flag LET_NO_COMMAND in set_var().
7388Files: src/evalvars.c, src/testdir/test_vim9_script.vim
7389
7390Patch 8.2.1127
7391Problem: Vim9: getting a dict member may not work.
7392Solution: Clear the dict only after copying the item. (closes #6390)
7393Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
7394
7395Patch 8.2.1128
7396Problem: The write message mentions characters, but it's actually bytes.
7397Solution: Change "C" to "B" and "characters" to "bytes".
7398Files: runtime/doc/options.txt, src/fileio.c,
7399 src/testdir/test_cscope.vim, src/testdir/test_netbeans.vim,
7400 src/testdir/dumps/Test_diff_syntax_1.dump,
7401 src/testdir/dumps/Test_long_file_name_1.dump,
7402 src/testdir/dumps/Test_display_unprintable_01.dump,
7403 src/testdir/dumps/Test_tselect_1.dump
7404
7405Patch 8.2.1129
7406Problem: Vim9: bar not recognized after not compiled command.
7407Solution: Check for bar for commands where this is possible. (closes #6391)
7408Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
7409
7410Patch 8.2.1130
7411Problem: Vim9: bar not recognized after function call
7412Solution: Skip whitespace. (closes #6391)
7413Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
7414
7415Patch 8.2.1131
7416Problem: Vim9: error message for returning a value in a function that does
7417 not return anything is not clear.
7418Solution: Add a specific message.
7419Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
7420
7421Patch 8.2.1132
7422Problem: Vim9: return type of repeat() is not specific enough.
7423Solution: Return the type of the first argument. (closes #6395)
7424Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7425
7426Patch 8.2.1133
7427Problem: Vim9: return type of add() is not specific enough.
7428Solution: Return the type of the first argument. (closes #6395)
7429Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7430
7431Patch 8.2.1134
7432Problem: Vim9: getting a list member may not work.
7433Solution: Clear the list only after copying the item. (closes #6393)
7434Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
7435
7436Patch 8.2.1135
7437Problem: Vim9: getting a dict member may not work.
7438Solution: Clear the dict only after copying the item.
7439Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
7440
7441Patch 8.2.1136
7442Problem: Vim9: return type of argv() is always any.
7443Solution: Use list<string> if there is no argument.
7444Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7445
7446Patch 8.2.1137
7447Problem: Vim9: modifiers not cleared after compiling function.
7448Solution: Clear command modifiers. (closes #6396)
7449Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
7450 src/testdir/test_vim9_func.vim,
7451 src/testdir/dumps/Test_vim9_silent_echo.dump
7452
7453Patch 8.2.1138
7454Problem: Vim9: return type of copy() and deepcopy() is any.
7455Solution: Use type of the argument.
7456Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7457
7458Patch 8.2.1139 (after 8.2.1137)
7459Problem: Vim9: test for silent echo fails in some environments.
7460Solution: Use :function instead of :def.
7461Files: src/testdir/test_vim9_func.vim
7462
7463Patch 8.2.1140
7464Problem: Vim9: return type of extend() is any.
7465Solution: Use type of the argument.
7466Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7467
7468Patch 8.2.1141
7469Problem: Vim9: return type of filter() is any.
7470Solution: Use type of the argument.
7471Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7472
7473Patch 8.2.1142
7474Problem: Vim9: return type of insert() is any.
7475Solution: Use type of the first argument.
7476Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7477
7478Patch 8.2.1143
7479Problem: Vim9: return type of remove() is any.
7480Solution: Use the member type of the first argument, if known.
7481Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7482
7483Patch 8.2.1144
7484Problem: Vim9: return type of reverse() is any.
7485Solution: Use the type of the first argument.
7486Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7487
7488Patch 8.2.1145
7489Problem: Vim9: "for" only accepts a list at compile time.
7490Solution: Also accept a list at runtime.
7491Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
7492 src/testdir/test_vim9_disassemble.vim
7493
7494Patch 8.2.1146
7495Problem: Not enough testing for Python.
7496Solution: Add more tests. Fix uncovered problems. (Yegappan Lakshmanan,
7497 closes #6392)
7498Files: src/if_py_both.h, src/if_python3.c, src/testdir/shared.vim,
7499 src/testdir/test_python2.vim, src/testdir/test_python3.vim
7500
7501Patch 8.2.1147
7502Problem: :confirm may happen in cooked mode. (Jason Franklin)
7503Solution: Switch to raw mode before prompting. (Brandon Pfeifer)
7504Files: src/message.c, src/testdir/test_excmd.vim
7505
7506Patch 8.2.1148
7507Problem: Warning for using int instead of size_t.
7508Solution: Change "len" argument to size_t. (Mike Williams)
7509Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9script.c
7510
7511Patch 8.2.1149
7512Problem: Vim9: :eval command not handled properly.
7513Solution: Compile the :eval command. (closes #6408)
7514Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
7515
7516Patch 8.2.1150
7517Problem: ml_get error when using Python. (Yegappan Lakshmanan)
7518Solution: Check the line number is not out of range. Call "Check" with
7519 "fromObj" instead of "from".
7520Files: src/if_py_both.h, src/testdir/test_python2.vim,
7521 src/testdir/test_python3.vim
7522
7523Patch 8.2.1151
7524Problem: Insufficient test coverage for Python.
7525Solution: Add more test cases. (Yegappan Lakshmanan, closes #6415)
7526Files: src/testdir/test_python2.vim, src/testdir/test_python3.vim
7527
7528Patch 8.2.1152
7529Problem: Vim9: function reference is missing script prefix.
7530Solution: Use the actual function name instead of the name searched for in
7531 the script context. (closes #6412)
7532Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
7533
7534Patch 8.2.1153
7535Problem: Vim9: script test fails on some systems.
7536Solution: Return proper value from Compare().
7537Files: src/testdir/test_vim9_script.vim
7538
7539Patch 8.2.1154
7540Problem: Vim9: crash when using imported function.
7541Solution: Check for a function type. Set the script context when calling a
7542 function. (closes #6412)
7543Files: src/evalvars.c, src/scriptfile.c, src/proto/scriptfile.pro,
7544 src/vim9execute.c, src/structs.h, src/testdir/test_vim9_script.vim
7545
7546Patch 8.2.1155
7547Problem: Vim9: cannot handle line break inside lambda.
7548Solution: Pass the compilation context through. (closes #6407, closes #6409)
7549Files: src/structs.h, src/vim9compile.c, src/proto/vim9compile.pro,
7550 src/eval.c, src/testdir/test_vim9_func.vim
7551
7552Patch 8.2.1156
7553Problem: Vim9: No error for invalid command in compiled function.
7554Solution: Handle CMD_SIZE.
7555Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
7556
7557Patch 8.2.1157
7558Problem: Vim9: dict.name is not recognized as an expression.
7559Solution: Recognize ".name". (closes #6418)
7560Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
7561
7562Patch 8.2.1158 (after 8.2.1155)
7563Problem: Build error.
7564Solution: Add missing change to globals.
7565Files: src/globals.h
7566
7567Patch 8.2.1159
7568Problem: Vim9: no error for missing space after a comma.
7569Solution: Check for white space.
7570Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
7571 src/testdir/test_vim9_script.vim
7572
7573Patch 8.2.1160
7574Problem: Vim9: memory leak in allocated types.
7575Solution: Free the type pointers.
7576Files: src/vim9script.c, src/userfunc.c, src/vim9compile.c,
7577 src/proto/vim9compile.pro
7578
7579Patch 8.2.1161
7580Problem: Vim9: using freed memory.
7581Solution: Put pointer back in evalarg instead of freeing it.
7582Files: src/userfunc.c, src/vim9compile.c, src/eval.c, src/proto/eval.pro,
7583 src/structs.h
7584
7585Patch 8.2.1162
7586Problem: Crash when using a lambda.
7587Solution: Check for evalarg to be NULL.
7588Files: src/userfunc.c
7589
7590Patch 8.2.1163 (after 8.2.1161)
7591Problem: Build error.
7592Solution: Add missing change to globals.
7593Files: src/globals.h
7594
7595Patch 8.2.1164
7596Problem: Text cleared by checking terminal properties not redrawn. (Alexey
7597 Radkov)
7598Solution: Mark the screen characters as invalid. (closes #6422)
7599Files: src/screen.c, src/proto/screen.pro, src/term.c
7600
7601Patch 8.2.1165
7602Problem: Insufficient testing for the Tcl interface.
7603Solution: Add more tests. (Yegappan Lakshmanan, closes #6423)
7604Files: src/testdir/test_tcl.vim
7605
7606Patch 8.2.1166
7607Problem: Once mouse move events are enabled getchar() returns them.
7608Solution: Ignore K_MOUSEMOVE in getchar(). (closes #6424)
7609Files: runtime/doc/eval.txt, src/getchar.c
7610
7611Patch 8.2.1167
7612Problem: Vim9: builtin function method call only supports first argument.
7613Solution: Shift arguments when needed. (closes #6305, closes #6419)
7614Files: src/evalfunc.c, src/vim9compile.c, src/vim9execute.c,
7615 src/vim9.h, src/testdir/test_vim9_expr.vim,
7616 src/testdir/test_vim9_disassemble.vim
7617
7618Patch 8.2.1168
7619Problem: Wrong method argument for appendbufline().
7620Solution: Use FEARG_3.
7621Files: src/evalfunc.c
7622
7623Patch 8.2.1169
7624Problem: Write NUL past allocated space using corrupted spell file.
7625 (Markus Vervier)
7626Solution: Init "c" every time.
7627Files: src/spellfile.c
7628
7629Patch 8.2.1170
7630Problem: Cursor off by one with block paste while 'virtualedit' is "all".
7631Solution: Adjust condition. (Hugo Gualandi, closes #6430)
7632Files: src/register.c, src/testdir/test_registers.vim
7633
7634Patch 8.2.1171
7635Problem: Possible crash when out of memory.
7636Solution: Check for NULL pointer. (Dominique Pellé, closes #6432)
7637Files: src/syntax.c
7638
7639Patch 8.2.1172
7640Problem: Error messages when doing "make clean" in the runtime/doc or
7641 src/tee directories.
7642Solution: Use "rm -f".
7643Files: runtime/doc/Makefile, src/tee/Makefile
7644
7645Patch 8.2.1173
7646Problem: Tee doesn't build on some systems.
7647Solution: Include header files. (Dominique Pelle, closes #6431)
7648Files: src/tee/tee.c
7649
7650Patch 8.2.1174
7651Problem: No test for the "recording @x" message.
7652Solution: Add a test. (Dominique Pellé, closes #6427)
7653Files: src/testdir/test_registers.vim
7654
7655Patch 8.2.1175
7656Problem: Vim9: Cannot split a line before ".member".
7657Solution: Check for ".member" after line break.
7658Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
7659
7660Patch 8.2.1176
7661Problem: Vim9: not enough type checking in Vim9 script.
7662Solution: Use same type checking as in a :def function.
7663Files: src/vim9compile.c, src/proto/vim9compile.pro,
7664 src/eval.c, src/testdir/test_vim9_expr.vim
7665
7666Patch 8.2.1177
7667Problem: Terminal2 test sometimes hangs in the GUI.
7668Solution: Move some tests to other files to further locate the problem.
7669 Set the GUI to a fixed screen size.
7670Files: src/testdir/test_terminal.vim, src/testdir/test_terminal2.vim,
7671 src/testdir/test_terminal3.vim, src/testdir/Make_all.mak,
7672 src/testdir/runtest.vim
7673
7674Patch 8.2.1178
7675Problem: Vim9: filter function recognized as command modifier, leading to a
7676 crash.
7677Solution: Clear cmdmod after freeing items. Do not recognize a command
7678 modifier followed by non-white space. (closes #6434)
7679Files: src/ex_docmd.c, src/vim9compile.c, src/testdir/test_vim9_cmd.vim
7680
7681Patch 8.2.1179
7682Problem: Test_termwinscroll() sometimes hangs in the GUI.
7683Solution: Skip the test in the GUI.
7684Files: src/testdir/test_terminal2.vim
7685
7686Patch 8.2.1180
7687Problem: Build failure in small version.
7688Solution: Add #ifdef.
7689Files: src/ex_docmd.c
7690
7691Patch 8.2.1181
7692Problem: Json code not fully tested.
7693Solution: Add more test coverage. (Dominique Pellé, closes #6433)
7694Files: src/testdir/test_json.vim
7695
7696Patch 8.2.1182
7697Problem: Vim9: no check for whitespace after comma in lambda.
7698Solution: Give error if white space is missing.
7699Files: src/userfunc.c, src/testdir/test_vim9_expr.vim,
7700 src/testdir/test_vim9_func.vim
7701
7702Patch 8.2.1183
7703Problem: assert_fails() checks the last error message.
7704Solution: Check the first error, it is more relevant. Fix all the tests
7705 that rely on the old behavior.
7706Files: runtime/doc/testing.txt, src/message.c, src/globals.h,
7707 src/testing.c, src/testdir/test_autocmd.vim,
7708 src/testdir/test_buffer.vim, src/testdir/test_cd.vim,
7709 src/testdir/test_channel.vim, src/testdir/test_clientserver.vim,
7710 src/testdir/test_cmdline.vim, src/testdir/test_cpoptions.vim,
7711 src/testdir/test_cscope.vim, src/if_cscope.c,
7712 src/testdir/test_excmd.vim, src/evalvars.c,
7713 src/testdir/test_expr.vim, src/testdir/test_functions.vim,
7714 src/testdir/test_json.vim, src/testdir/test_let.vim,
7715 src/testdir/test_listdict.vim, src/testdir/test_listener.vim,
7716 src/testdir/test_match.vim, src/testdir/test_menu.vim,
7717 src/testdir/test_method.vim, src/testdir/test_normal.vim,
7718 src/testdir/test_popup.vim, src/testdir/test_python2.vim,
7719 src/testdir/test_python3.vim, src/testdir/test_quickfix.vim,
7720 src/testdir/test_random.vim, src/testdir/test_search.vim,
7721 src/testdir/test_signs.vim, src/testdir/test_spell.vim,
7722 src/testdir/test_substitute.vim, src/testdir/test_syntax.vim,
7723 src/testdir/test_tagjump.vim, src/testdir/test_taglist.vim,
7724 src/testdir/test_terminal.vim, src/testdir/test_textprop.vim,
7725 src/testdir/test_trycatch.vim,
7726 src/testdir/test_vim9_disassemble.vim,
7727 src/testdir/test_vim9_func.vim, src/vim9compile.c,
7728 src/testdir/test_vim9_script.vim, src/testdir/test_viminfo.vim,
7729 src/testdir/test_winbuf_close.vim,
7730 src/testdir/test_window_cmd.vim, src/testdir/test_writefile.vim,
7731 src/testdir/test_regexp_latin.vim, src/testdir/test_utf8.vim,
7732 src/testdir/test_global.vim, src/testdir/test_tagfunc.vim
7733
7734Patch 8.2.1184 (after 8.2.1183)
7735Problem: Some tests fail.
7736Solution: Adjust tests for different assert_fails() behavior. Remove unused
7737 variable.
7738Files: src/testdir/test_assert.vim, src/testdir/test_eval_stuff.vim,
7739 src/evalvars.c
7740
7741Patch 8.2.1185 (after 8.2.1183)
7742Problem: Some other tests fail.
7743Solution: Adjust tests for different assert_fails() behavior.
7744Files: src/testdir/test_lua.vim, src/testdir/test_tcl.vim
7745
7746Patch 8.2.1186
7747Problem: With SGR mouse codes balloon doesn't show up after click.
7748Solution: Add the MOUSE_RELEASE bits to mouse_code.
7749Files: src/mouse.c
7750
7751Patch 8.2.1187
7752Problem: Terminal2 test sometimes hangs in the GUI on Travis.
7753Solution: Disable Test_zz2_terminal_guioptions_bang() for now.
7754Files: src/testdir/test_terminal2.vim
7755
7756Patch 8.2.1188
7757Problem: Memory leak with invalid json input.
7758Solution: Free all keys at the end. (Dominique Pellé, closes #6443,
7759 closes #6442)
7760Files: src/json.c, src/testdir/test_json.vim
7761
7762Patch 8.2.1189
7763Problem: Vim9: line continuation in lambda doesn't always work.
7764Solution: Do not use a local evalarg unless there isn't one. (closes #6439)
7765Files: src/eval.c, src/testdir/test_vim9_expr.vim
7766
7767Patch 8.2.1190
7768Problem: Vim9: checking for Vim9 syntax is spread out.
7769Solution: Use in_vim9script().
7770Files: src/vim9script.c, src/dict.c, src/eval.c, src/evalvars.c,
7771 src/ex_docmd.c, src/list.c, src/scriptfile.c, src/userfunc.c
7772
7773Patch 8.2.1191
7774Problem: Vim9: crash when function calls itself.
7775Solution: Add status UF_COMPILING. (closes #6441)
7776Files: src/structs.h, src/vim9compile.c, src/testdir/test_vim9_func.vim
7777
7778Patch 8.2.1192
7779Problem: Lua test fails with older Lua version.
7780Solution: Adjust expected error messages. (closes #6444)
7781Files: src/testdir/test_lua.vim
7782
7783Patch 8.2.1193
7784Problem: Terminal window not redrawn when dragging a popup window over it.
7785Solution: Redraw terminal window. (fixes #6438)
7786Files: src/popupwin.c, src/testdir/test_popupwin.vim,
7787 src/testdir/dumps/Test_popupwin_term_01.dump,
7788 src/testdir/dumps/Test_popupwin_term_02.dump
7789
7790Patch 8.2.1194
7791Problem: Test failure because shell prompt differs.
7792Solution: Set the shell prompt.
7793Files: src/testdir/test_popupwin.vim,
7794 src/testdir/dumps/Test_popupwin_term_01.dump,
7795 src/testdir/dumps/Test_popupwin_term_02.dump
7796
7797Patch 8.2.1195
7798Problem: Clientserver test fails on MS-Windows.
7799Solution: Expect a different error message.
7800Files: src/testdir/test_clientserver.vim
7801
7802Patch 8.2.1196
7803Problem: Build failure with normal features.
7804Solution: Add #ifdef.
7805Files: src/popupwin.c
7806
7807Patch 8.2.1197
7808Problem: Clientserver test still fails on MS-Windows.
7809Solution: Expect a different error message.
7810Files: src/testdir/test_clientserver.vim
7811
7812Patch 8.2.1198
7813Problem: Terminal2 test sometimes hangs in the GUI on Travis.
7814Solution: Move test function to terminal3 to see if the problem moves too.
7815Files: src/testdir/test_terminal2.vim, src/testdir/test_terminal3.vim
7816
7817Patch 8.2.1199
7818Problem: Not all assert functions are fully tested.
7819Solution: Test more assert functions.
7820Files: src/testing.c, src/testdir/test_assert.vim
7821
7822Patch 8.2.1200
7823Problem: Vim9: cannot disassemble a lambda function.
7824Solution: Recognize "<lambda>123" as a function name.
7825Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim
7826
7827Patch 8.2.1201
7828Problem: Vim9: crash when passing number as dict key.
7829Solution: Check key type to be string. (closes #6449)
7830Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
7831
7832Patch 8.2.1202
7833Problem: Vim9: crash when calling a closure from a builtin function.
7834Solution: Use the current execution context. (closes #6441)
7835Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
7836
7837Patch 8.2.1203
7838Problem: Unused assignments in expression evaluation.
7839Solution: Move declarations and assignments to inner blocks where possible.
7840Files: src/eval.c
7841
7842Patch 8.2.1204
7843Problem: Vim9: true and false not recognized in Vim9 script.
7844Solution: Recognize true and false.
7845Files: src/eval.c, src/testdir/test_vim9_expr.vim
7846
7847Patch 8.2.1205
7848Problem: Vim9: && and || work differently when not compiled.
7849Solution: Keep the value.
7850Files: src/eval.c, src/testdir/test_vim9_expr.vim
7851
7852Patch 8.2.1206
7853Problem: Vim9: crash in expr test when run in the GUI.
7854Solution: Temporarily comment out two test lines.
7855Files: src/testdir/test_vim9_expr.vim
7856
7857Patch 8.2.1207
7858Problem: Vim9: crash in expr test when run in the GUI.
7859Solution: Break out of loop over hashtab also when function got removed and
7860 added.
7861Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
7862
7863Patch 8.2.1208
7864Problem: Build failure.
7865Solution: Add missing change.
7866Files: src/structs.h
7867
7868Patch 8.2.1209
7869Problem: Vim9: test failure.
7870Solution: Add missing changes to hashtab.
7871Files: src/hashtab.c
7872
7873Patch 8.2.1210
7874Problem: Using ht_used when looping through a hashtab is less reliable.
7875Solution: Use ht_changed in a few more places.
7876Files: src/userfunc.c, src/if_py_both.h
7877
7878Patch 8.2.1211 (after 8.2.1118)
7879Problem: Removed more than dead code.
7880Solution: Put back the decrement.
7881Files: src/move.c, src/testdir/test_diffmode.vim
7882
7883Patch 8.2.1212
7884Problem: Cannot build with Lua 5.4.
7885Solution: Use luaL_typeerror instead defining it. (closes #6454)
7886Files: src/if_lua.c
7887
7888Patch 8.2.1213
7889Problem: Mouse codes not tested sufficiently.
7890Solution: Add more tests for mouse codes. (closes #6436)
7891Files: src/testdir/test_termcodes.vim
7892
7893Patch 8.2.1214
7894Problem: MS-Windows: default _vimrc not correct in silent install mode.
7895Solution: Add the LoadDefaultVimrc macro. (Ken Takata, closes #6451)
7896Files: nsis/gvim.nsi
7897
7898Patch 8.2.1215
7899Problem: Atari MiNT support is outdated.
7900Solution: Nobody responded this code is still useful, so let's delete it.
7901Files: Filelist, src/os_mint.h, src/vim.h, src/Make_mint.mak,
7902 src/digraph.c, src/fileio.c, src/memfile.c, src/os_unix.c,
7903 src/term.c, READMEdir/README_extra.txt, runtime/doc/os_mint.txt,
7904 src/INSTALL
7905
7906Patch 8.2.1216
7907Problem: Startup test fails.
7908Solution: Adjust expected values for deleted lines.
7909Files: src/testdir/test_startup.vim
7910
7911Patch 8.2.1217
7912Problem: Startup test depends on random source file.
7913Solution: Write a test file to find quickfix errors in.
7914Files: src/testdir/test_startup.vim
7915
7916Patch 8.2.1218
7917Problem: Vim9: cannot use 'text'->func().
7918Solution: Recognize string at start of command.
7919Files: src/vim9compile.c, src/ex_docmd.c, src/testdir/test_vim9_func.vim
7920
7921Patch 8.2.1219
7922Problem: Symlink not followed if dirname ends in //.
7923Solution: Resolve symlink earlier. (Tomáš Janoušek, closes #6454)
7924Files: src/memline.c, src/testdir/test_swap.vim
7925
7926Patch 8.2.1220
7927Problem: memory access error when dragging a popup window over a buffer
7928 with folding.
7929Solution: Avoid going over the end of the cache. (closes #6438)
7930Files: src/mouse.c, src/testdir/test_popupwin.vim,
7931 src/testdir/dumps/Test_popupwin_term_01.dump,
7932 src/testdir/dumps/Test_popupwin_term_02.dump,
7933 src/testdir/dumps/Test_popupwin_term_03.dump,
7934 src/testdir/dumps/Test_popupwin_term_04.dump
7935
7936Patch 8.2.1221
7937Problem: Memory leak when updating popup window.
7938Solution: Clear search highlighting.
7939Files: src/popupwin.c
7940
7941Patch 8.2.1222
7942Problem: When using valgrind a Vim command started by a test uses the same
7943 log file name which gets overwritten.
7944Solution: Fix regexp to rename the log file.
7945Files: src/testdir/shared.vim
7946
7947Patch 8.2.1223
7948Problem: Vim9: invalid type error for function default value.
7949Solution: Use right argument index. (closes #6458)
7950Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
7951
7952Patch 8.2.1224
7953Problem: Vim9: arguments from partial are not used.
7954Solution: Put the partial arguments on the stack. (closes #6460)
7955Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
7956
7957Patch 8.2.1225
7958Problem: Linker errors when building with dynamic Python 3.9.
7959Solution: Add #defined items. (closes #6461)
7960Files: src/if_python3.c
7961
7962Patch 8.2.1226
7963Problem: MS-Windows: windows positioning wrong when the taskbar is placed
7964 at the top or left of the screen.
7965Solution: Use GetWindowRect and MoveWindow APIs. (Yukihiro Nakadaira,
7966 Ken Takata, closes #6455)
7967Files: src/gui_w32.c
7968
7969Patch 8.2.1227
7970Problem: Vim9: allowing both quoted and # comments is confusing.
7971Solution: Only support # comments in Vim9 script.
7972Files: runtime/doc/vim9.txt, src/ex_docmd.c, src/proto/ex_docmd.pro,
7973 src/vim9compile.c, src/testdir/test_vim9_disassemble.vim,
7974 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
7975 src/testdir/test_vim9_script.vim
7976
7977Patch 8.2.1228
7978Problem: Scrollbars not flush against the window edges when maximised.
7979Solution: Add padding. (Ken Takata, closes #5602, closes #6466)
7980Files: src/gui.c, src/gui_athena.c, src/gui_gtk.c, src/gui_haiku.cc,
7981 src/gui_mac.c, src/gui_motif.c, src/gui_photon.c, src/gui_w32.c,
7982 src/proto/gui_athena.pro, src/proto/gui_gtk.pro,
7983 src/proto/gui_haiku.pro, src/proto/gui_mac.pro,
7984 src/proto/gui_motif.pro, src/proto/gui_photon.pro,
7985 src/proto/gui_w32.pro
7986
7987Patch 8.2.1229
7988Problem: Build error without the eval feature.
7989Solution: Declare starts_with_colon. Make function local.
7990Files: src/ex_docmd.c, src/proto/ex_docmd.pro
7991
7992Patch 8.2.1230
7993Problem: Vim9: list index error not caught by try/catch.
7994Solution: Do not bail out if an error is inside try/catch. (closes #6462)
7995Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
7996
7997Patch 8.2.1231
7998Problem: MS-Windows: GUI code can be cleaned up.
7999Solution: Do a bit of cleaning up. (Ken Takata, closes #6465)
8000Files: src/gui_w32.c, src/proto/gui_w32.pro
8001
8002Patch 8.2.1232
8003Problem: MS-Windows GUI: Snap cancelled by split command.
8004Solution: Do not cancel Snap when splitting a window. (Ken Takata,
8005 closes #6467)
8006Files: src/gui_w32.c
8007
8008Patch 8.2.1233
8009Problem: Vim9: various errors not caught by try/catch.
8010Solution: Do not bail out if an error is inside try/catch.
8011Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
8012
8013Patch 8.2.1234
8014Problem: Lua build problem with old compiler.
8015Solution: Move declarations to start of the block. (Taro Muraoka,
8016 closes #6477)
8017Files: src/if_lua.c
8018
8019Patch 8.2.1235
8020Problem: Not all mouse codes covered by tests.
8021Solution: Add more tests for the mouse. (Yegappan Lakshmanan, closes #6472)
8022Files: src/testdir/mouse.vim, src/testdir/test_termcodes.vim
8023
8024Patch 8.2.1236
8025Problem: Vim9: a few errors not caught by try/catch.
8026Solution: Do not bail out if an error is inside try/catch. Fix that a not
8027 matching catch doesn't jump to :endtry.
8028Files: src/vim9compile.c, src/vim9execute.c,
8029 src/testdir/test_vim9_script.vim
8030
8031Patch 8.2.1237
8032Problem: Changing 'completepopup' after opening a popup has no effect. (Jay
8033 Sitter)
8034Solution: Close the popup when the options are changed. (closes #6471)
8035Files: runtime/doc/options.txt, src/popupwin.c, src/proto/popupwin.pro,
8036 src/optionstr.c, src/testdir/test_popupwin.vim,
8037 src/testdir/dumps/Test_popupwin_infopopup_8.dump
8038
8039Patch 8.2.1238
8040Problem: Vim9: a few remaining errors not caught by try/catch.
8041Solution: Do not bail out if an error is inside try/catch.
8042Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
8043
8044Patch 8.2.1239
8045Problem: "maxwidth" in 'completepopup' not obeyed. (Jay Sitter)
8046Solution: Add separate field for value from option. (closes #6470)
8047Files: src/structs.h, src/popupwin.c, src/popupmenu.c,
8048 src/testdir/dumps/Test_popupwin_infopopup_9.dump
8049
8050Patch 8.2.1240
8051Problem: GUI tests sometimes fail because of translations.
8052Solution: Reload the menus without translation. (Taro Muraoka, closes #6486)
8053Files: src/testdir/runtest.vim
8054
8055Patch 8.2.1241
8056Problem: Cannot use getbufinfo() as a method.
8057Solution: Support using getbufinfo() as a method. (closes #6458)
8058Files: runtime/doc/eval.txt, src/evalfunc.c,
8059 src/testdir/test_bufwintabinfo.vim
8060
8061Patch 8.2.1242
8062Problem: Vim9: no error if calling a function with wrong argument type.
8063Solution: Check types of arguments. (closes #6469)
8064Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9execute.c,
8065 src/testdir/test_vim9_func.vim
8066
8067Patch 8.2.1243
8068Problem: Vim9: cannot have a comment or empty line halfway a list at script
8069 level.
8070Solution: Skip more than one line if needed.
8071Files: src/vim9compile.c, src/proto/vim9compile.pro, src/eval.c,
8072 src/scriptfile.c
8073
8074Patch 8.2.1244
8075Problem: Vim9: in lambda index assumes a list.
8076Solution: Use the value type to decide about list or dict. (closes #6479)
8077Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8078
8079Patch 8.2.1245
8080Problem: Build failure in tiny version.
8081Solution: Add #ifdef.
8082Files: src/scriptfile.c
8083
8084Patch 8.2.1246
8085Problem: Vim9: comment after assignment doesn't work.
8086Solution: Skip over white space. (closes #6481)
8087Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8088
8089Patch 8.2.1247
8090Problem: Vim9: cannot index a character in a string.
8091Solution: Add ISN_STRINDEX instruction. (closes #6478)
8092Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
8093 src/testdir/test_vim9_expr.vim
8094
8095Patch 8.2.1248
8096Problem: Netbeans test is flaky in the GUI.
8097Solution: Filter out geometry messages. (Taro Muraoka, closes #6487)
8098Files: src/testdir/test_netbeans.vim
8099
8100Patch 8.2.1249
8101Problem: Vim9: disassemble test fails.
8102Solution: Change INDEX to LISTINDEX. Add test for STRINDEX.
8103Files: src/testdir/test_vim9_disassemble.vim
8104
8105Patch 8.2.1250
8106Problem: Vim9: cannot use the g:, b:, t: and w: namespaces.
8107Solution: Add instructions to push a dict for the namespaces. (closes #6480)
8108Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
8109 src/testdir/test_vim9_disassemble.vim,
8110 src/testdir/test_vim9_expr.vim
8111
8112Patch 8.2.1251
8113Problem: Vim9: warning for pointer usage, test failure undetected.
8114Solution: Fix pointer indirection. Give error when executing function
8115 failed for any reason. Fix instruction names.
8116Files: src/vim9execute.c, src/userfunc.c, src/proto/userfunc.pro
8117
8118Patch 8.2.1252
8119Problem: ":marks" may show '< and '> mixed up.
8120Solution: Show the mark position as where '< and '> would jump.
8121Files: src/mark.c, src/testdir/test_marks.vim
8122
8123Patch 8.2.1253
8124Problem: CTRL-K in Insert mode gets <CursorHold> inserted. (Roland
8125 Puntaier)
8126Solution: Do not reset did_cursorhold, restore it. (closes #6447)
8127Files: src/normal.c
8128
8129Patch 8.2.1254
8130Problem: MS-Windows: regexp test may fail if 'iskeyword' set wrongly.
8131Solution: Override the 'iskeyword' value. (Taro Muraoka, closes #6502)
8132Files: src/testdir/test_regexp_utf8.vim
8133
8134Patch 8.2.1255
8135Problem: Cannot use a lambda with quickfix functions.
8136Solution: Add support for lambda. (Yegappan Lakshmanan, closes #6499)
8137Files: runtime/doc/eval.txt, runtime/doc/options.txt,
8138 runtime/doc/quickfix.txt, src/channel.c, src/evalvars.c,
8139 src/optionstr.c, src/proto/evalvars.pro, src/proto/quickfix.pro,
8140 src/quickfix.c, src/testdir/test_quickfix.vim
8141
8142Patch 8.2.1256
8143Problem: Vim9: type wrong after getting dict item in lambda.
8144Solution: Set the type to "any" after enforcing dict type. (closes #6491)
8145Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8146
8147Patch 8.2.1257
8148Problem: Vim9: list unpack doesn't work at the script level.
8149Solution: Detect unpack assignment better. (closes #6494)
8150Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
8151
8152Patch 8.2.1258 (after 8.2.1253)
8153Problem: CursorHold does not work well.a (Shane-XB-Qian)
8154Solution: Only restore did_cursorhold when using :normal.
8155Files: src/normal.c
8156
8157Patch 8.2.1259
8158Problem: Empty group in 'tabline' may cause using an invalid pointer.
8159Solution: Set the group start position. (closes #6505)
8160Files: src/buffer.c, src/testdir/test_tabline.vim
8161
8162Patch 8.2.1260
8163Problem: There is no good test for CursorHold.
8164Solution: Add a test. Remove duplicated test. (Yegappan Lakshmanan,
8165 closes #6503)
8166Files: src/testdir/test_autocmd.vim, src/testdir/test_buffer.vim,
8167 src/testdir/test_normal.vim
8168
8169Patch 8.2.1261
8170Problem: Vim9: common type of function not tested.
8171Solution: Add a test. Fix uncovered problems.
8172Files: src/vim9compile.c, src/vim9execute.c,
8173 src/testdir/test_vim9_expr.vim
8174
8175Patch 8.2.1262
8176Problem: src/ex_cmds.c file is too big.
8177Solution: Move help related code to src/help.c. (Yegappan Lakshmanan,
8178 closes #6506)
8179Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
8180 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
8181 src/cmdexpand.c, src/ex_cmds.c, src/help.c, src/proto.h,
8182 src/proto/ex_cmds.pro, src/proto/help.pro
8183
8184Patch 8.2.1263
8185Problem: Vim9: comparators use 'ignorecase' in Vim9 script.
8186Solution: Ignore 'ignorecase'. Use true and false instead of 1 and 0.
8187 (closes #6497)
8188Files: src/eval.c, src/typval.c, src/vim9execute.c,
8189 src/testdir/test_vim9_expr.vim
8190
8191Patch 8.2.1264
8192Problem: Terminal getwinpos() test is a bit flaky.
8193Solution: Call getwinpos() a bit later.
8194Files: src/testdir/test_terminal3.vim
8195
8196Patch 8.2.1265
8197Problem: Crash with EXITFREE when split() fails.
8198Solution: Restore 'cpoptions'.
8199Files: src/evalfunc.c
8200
8201Patch 8.2.1266 (after 8.2.1262)
8202Problem: Makefile preference were accidentally included.
8203Solution: Revert the Makefile changes.
8204Files: src/Makefile
8205
8206Patch 8.2.1267
8207Problem: MS-Windows: tests may fail due to $PROMPT value.
8208Solution: Set $PROMPT for testing. (Taro Muraoka, closes #6510)
8209Files: src/testdir/runtest/vim
8210
8211Patch 8.2.1268
8212Problem: Vim9: no error for using double quote comment after :func or :def.
8213Solution: Only accept double quote when not in Vim9 script and not after
8214 :def. (closes #6483)
8215Files: src/userfunc.c, src/testdir/test_vim9_script.vim
8216
8217Patch 8.2.1269
8218Problem: Language and locale code spread out.
8219Solution: Move relevant code to src/locale.c. (Yegappan Lakshmanan,
8220 closes #6509)
8221Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
8222 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
8223 src/ex_cmds2.c, src/locale.c, src/main.c, src/proto.h,
8224 src/proto/ex_cmds2.pro, src/proto/locale.pro
8225
8226Patch 8.2.1270
8227Problem: Vim9: not skipping over function type declaration with only a
8228 return type.
8229Solution: Skip over the return type. (issue #6507)
8230Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8231
8232Patch 8.2.1271
8233Problem: Vim9: Error for Funcref function argument type.
8234Solution: Find the actual function type if possible. (issue #6507)
8235Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8236
8237Patch 8.2.1272
8238Problem: Vim9: type not checked if declaration also assigns value.
8239Solution: Check the type. (issue #6507)
8240Files: src/eval.c, src/vim9compile.c, src/proto/vim9compile.pro,
8241 src/vim9script.c, src/vim9execute.c,
8242 src/testdir/test_vim9_script.vim
8243
8244Patch 8.2.1273
8245Problem: MS-Windows: terminal test may leave file behind.
8246Solution: Wait a moment for process to end before deleting the file.
8247 (Taro Muraoka, closes #6513)
8248Files: src/testdir/test_terminal.vim
8249
8250Patch 8.2.1274
8251Problem: Vim9: no error for missing white space in assignment at script
8252 level.
8253Solution: Check for white space. (closes #6495)
8254Files: src/eval.c, src/evalvars.c, src/testdir/test_vim9_script.vim,
8255 src/testdir/test_let.vim
8256
8257Patch 8.2.1275
8258Problem: Vim9: compiler warning for buffer size.
8259Solution: Change the offset from 10 to 15. (Dominique Pellé, closes #6518)
8260Files: src/vim9script.c
8261
8262Patch 8.2.1276
8263Problem: MS-Windows: system test may fail if more.exe is installed.
8264Solution: Explicitly use more.com. (Taro Muraoka, Ken Takata, closes #6517)
8265Files: src/testdir/test_system.vim
8266
8267Patch 8.2.1277
8268Problem: Tests on Travis do not run with EXITFREE.
8269Solution: Add EXITFREE to all builds to uncover any mistakes.
8270Files: .travis.yml
8271
8272Patch 8.2.1278
8273Problem: Vim9: line break after "->" only allowed in :def function.
8274Solution: Only allow line break after "->". (closes #6492)
8275Files: src/vim9compile.c, src/globals.h, src/testdir/test_vim9_expr.vim
8276
8277Patch 8.2.1279
8278Problem: Some tests on Travis have EXITFREE duplicated.
8279Solution: Remove EXITFREE from shadowopt. Add "shadow" to job name.
8280Files: .travis.yml
8281
8282Patch 8.2.1280
8283Problem: Ex command error cannot contain an argument.
8284Solution: Add ex_errmsg() and translate earlier. Use e_trailing_arg where
8285 possible.
8286Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/buffer.c,
8287 src/ex_eval.c, src/match.c, src/testdir/test_tabpage.vim
8288
8289Patch 8.2.1281
8290Problem: The "trailing characters" error can be hard to understand.
8291Solution: Add the trailing characters to the message.
8292Files: src/cmdhist.c, src/eval.c, src/evalfunc.c, src/evalvars.c,
8293 src/ex_cmds.c, src/ex_docmd.c, src/ex_eval.c, src/json.c,
8294 src/menu.c, src/quickfix.c, src/sign.c, src/userfunc.c
8295
8296Patch 8.2.1282
8297Problem: Vim9: crash when using CheckScriptFailure() in
8298 Test_vim9script_call_fail_decl().
8299Solution: Do not decrement the def_functions len unless the function was
8300 newly added.
8301Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8302
8303Patch 8.2.1283
8304Problem: Vim9: error for misplaced -> lacks argument.
8305Solution: Use the pointer before it was advanced.
8306Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8307
8308Patch 8.2.1284
8309Problem: Vim9: skipping over type includes following white space, leading
8310 to an error for missing white space.
8311Solution: Do not skip over white space after the type.
8312Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8313
8314Patch 8.2.1285
8315Problem: Vim9: argument types are not checked on assignment.
8316Solution: Check function argument types. (issue #6507)
8317Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8318
8319Patch 8.2.1286
8320Problem: Vim9: No error when using a type on a window variable
8321Solution: Recognize the syntax and give an error. (closes #6521)
8322Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
8323
8324Patch 8.2.1287
8325Problem: Vim9: crash when using an imported function.
8326Solution: Add the function type to the imported entry. (closes #6522)
8327Files: src/vim9script.c, src/vim9compile.c,
8328 src/testdir/test_vim9_script.vim
8329
8330Patch 8.2.1288
8331Problem: Vim9: cannot use mark in range.
8332Solution: Use the flag that a colon was seen. (closes #6528)
8333Files: src/ex_docmd.c, src/testdir/test_vim9_func.vim
8334
8335Patch 8.2.1289
8336Problem: Crash when using a custom completion function.
8337Solution: Initialize all of the expand_T. (closes #6532)
8338Files: src/cmdexpand.c
8339
8340Patch 8.2.1290
8341Problem: Vim9: cannot replace a global function.
8342Solution: Allow for "!" on a global function. (closes #6524) Also fix that
8343 :delfunc on a :def function only made it empty.
8344Files: src/userfunc.c, src/testdir/test_vim9_script.vim
8345
8346Patch 8.2.1291
8347Problem: Vim9: type of varargs items is not checked.
8348Solution: Check the list item types. (closes #6523)
8349Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
8350
8351Patch 8.2.1292
8352Problem: AIDL filetype not recognized.
8353Solution: Add filetype detection. (Dominique Pellé, closes #6533)
8354Files: runtime/filetype.vim, src/testdir/test_filetype.vim
8355
8356Patch 8.2.1293
8357Problem: Vim9: :execute mixes up () expression and function call.
8358Solution: Do not skip white space when looking for the "(". (closes #6531)
8359Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8360
8361Patch 8.2.1294
8362Problem: Vim9: error when using vim9script in TextYankPost.
8363Solution: Use EX_LOCKOK instead of the EX_CMDWIN flag for command that can
8364 be used when text is locked. (closes #6529)
8365Files: src/ex_cmds.h, src/ex_docmd.c
8366
8367Patch 8.2.1295
8368Problem: Tests 44 and 99 are old style.
8369Solution: Convert to new style tests. (Yegappan Lakshmanan, closes #6536)
8370Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
8371 src/testdir/test44.in, src/testdir/test44.ok,
8372 src/testdir/test99.in, src/testdir/test99.ok,
8373 src/testdir/test_regexp_utf8.vim
8374
8375Patch 8.2.1296
8376Problem: Some part of using 'smartcase' was not tested.
8377Solution: Add more tests. (Dominique Pellé, closes #6538)
8378Files: src/testdir/test_search.vim
8379
8380Patch 8.2.1297
8381Problem: When a test fails it's often not easy to see what the call stack
8382 is.
8383Solution: Add more entries from the call stack in the exception message.
8384Files: runtime/doc/cmdline.txt, src/scriptfile.c,
8385 src/proto/scriptfile.pro, src/debugger.c, src/ex_docmd.c,
8386 src/ex_eval.c, src/message.c, src/testing.c,
8387 src/testdir/test_expand_func.vim
8388
8389Patch 8.2.1298
8390Problem: Compiler warning for unused argument in small version.
8391Solution: Add UNUSED.
8392Files: src/scriptfile.c
8393
8394Patch 8.2.1299
8395Problem: Compiler warning for using size_t for int and void pointer.
8396Solution: Add type casts.
8397Files: src/scriptfile.c
8398
8399Patch 8.2.1300
8400Problem: Vim9: optional argument type not parsed properly.
8401Solution: Skip over the "?". (issue #6507)
8402Files: src/vim9compile.c, src/proto/vim9compile.pro, src/evalvars.c,
8403 src/userfunc.c, src/testdir/test_vim9_func.vim
8404
8405Patch 8.2.1301
8406Problem: Vim9: varargs argument type not parsed properly.
8407Solution: Skip over the "...". (issue #6507)
8408Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8409
8410Patch 8.2.1302
8411Problem: Vim9: varargs arg after optional arg does not work
8412Solution: Check for the "..." first. (issue #6507)
8413Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8414
8415Patch 8.2.1303
8416Problem: Calling popup_setoptions() resets 'signcolumn'.
8417Solution: Only set 'signcolumn' when creating the popup. (closes #6542)
8418Files: src/popupwin.c, src/testdir/test_popupwin.vim
8419
8420Patch 8.2.1304
8421Problem: Debug backtrace isn't tested much.
8422Solution: Add more specific tests. (Ben Jackson, closes #6540)
8423Files: src/testdir/runtest.vim, src/testdir/test_debugger.vim
8424
8425Patch 8.2.1305
8426Problem: Some tests are still old style.
8427Solution: Convert tests 52 and 70 to new style. (Yegappan Lakshmanan,
8428 closes #6544) Fix error in FinishTesting().
8429Files: src/testdir/runtest.vim, src/Makefile, src/testdir/Make_all.mak,
8430 src/testdir/Make_amiga.mak, src/testdir/Make_vms.mms,
8431 src/testdir/test52.in, src/testdir/test52.ok,
8432 src/testdir/test70.in, src/testdir/test70.ok,
8433 src/testdir/test_mzscheme.vim, src/testdir/test_writefile.vim
8434
8435Patch 8.2.1306
8436Problem: Checking for first character of dict key is inconsistent.
8437Solution: Add eval_isdictc(). (closes #6546)
8438Files: src/eval.c, src/proto/eval.pro, src/vim9compile.c,
8439 src/testdir/test_listdict.vim, src/testdir/test_vim9_expr.vim,
8440 src/testdir/test_let.vim
8441
8442Patch 8.2.1307
8443Problem: popup window width does not include number, fold of sign column
8444 width.
8445Solution: Take number, fold and sign column with into account.
8446Files: src/popupwin.c, src/testdir/test_popupwin.vim,
8447 src/testdir/dumps/Test_popupwin_sign_2.dump
8448
8449Patch 8.2.1308
8450Problem: Vim9: accidentally using "x" causes Vim to exit.
8451Solution: Disallow using ":x" or "xit" in Vim9 script. (closes #6399)
8452Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9script.c,
8453 src/proto/vim9script.pro, src/ex_docmd.c, src/ex_cmds.c,
8454 src/testdir/test_vim9_script.vim
8455
8456Patch 8.2.1309
8457Problem: Build failure with tiny version.
8458Solution: Add #ifdef.
8459Files: src/ex_cmds.c, src/ex_docmd.c
8460
8461Patch 8.2.1310
8462Problem: Configure with Xcode 12 fails to check for tgetent.
8463Solution: Declare tgetent(). (Ozaki Kiichi, closes #6558)
8464Files: src/configure.ac, src/auto/configure
8465
8466Patch 8.2.1311
8467Problem: Test failures with legacy Vim script.
8468Solution: Actually check for Vim9 script.
8469Files: src/vim9script.c
8470
8471Patch 8.2.1312
8472Problem: MS-Windows: terminal test may fail if dir.exe exists.
8473Solution: Use dir.com. (Ken Takata, closes #6557)
8474Files: src/testdir/test_terminal3.vim
8475
8476Patch 8.2.1313
8477Problem: Vim9 script: cannot assign to environment variable.
8478Solution: Recognize environment variable assignment. (closes #6548)
8479 Also options and registers.
8480Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
8481
8482Patch 8.2.1314
8483Problem: Vim9: rule for comment after :function is confusing.
8484Solution: Allow double quoted comment after :function in vim9script.
8485 (closes #6556)
8486Files: src/userfunc.c, src/testdir/test_vim9_script.vim
8487
8488Patch 8.2.1315
8489Problem: MS-Windows: test log contains escape sequences.
8490Solution: Do not use t_md and t_me but ANSI escape sequences. (Ken Takata,
8491 closes #6559)
8492Files: src/testdir/runtest.vim
8493
8494Patch 8.2.1316
8495Problem: Test 42 is still old style.
8496Solution: Turn it into a new style test. (Yegappan Lakshmanan, closes #6561)
8497Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_dos.mak,
8498 src/testdir/Make_ming.mak, src/testdir/Make_vms.mms,
8499 src/testdir/test42.in, src/testdir/test42.ok,
8500 src/testdir/test_writefile.vim
8501
8502Patch 8.2.1317
8503Problem: MS-Windows tests on AppVeyor are slow.
8504Solution: Use GitHub Actions. (Ken Takata, closes #6569)
8505Files: Filelist, .github/workflows/ci-windows.yaml, appveyor.yml,
8506 ci/appveyor.bat
8507
8508Patch 8.2.1318
8509Problem: No status badge for Github CI.
8510Solution: Add a badge.
8511Files: README.md
8512
8513Patch 8.2.1319
8514Problem: Status badge for Github CI has wrong link.
8515Solution: Rename and use the right link
8516Files: README.md, .github/workflows/ci-windows.yaml
8517
8518Patch 8.2.1320
8519Problem: Vim9: cannot declare some single letter variables.
8520Solution: Do not recognize a colon for a namespace for single letter
8521 variables. (closes #6547)
8522Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8523
8524Patch 8.2.1321
8525Problem: GitHub CI also runs on tag push.
8526Solution: Skip CI on push. (Ken Takata, closes #6571)
8527Files: .github/workflows/ci-windows.yaml
8528
8529Patch 8.2.1322
8530Problem: Vim9: method on double quoted string doesn't work.
8531Solution: Recognize double quoted string. (closes #6562)
8532Files: src/ex_docmd.c, src/testdir/test_vim9_func.vim,
8533 src/testdir/test_vim9_expr.vim
8534
8535Patch 8.2.1323
8536Problem: Vim9: invalid operators only rejected in :def function.
8537Solution: Also reject them at script level. (closes #6564)
8538Files: src/eval.c, src/vim9compile.c, src/proto/vim9compile.pro,
8539 src/testdir/test_vim9_expr.vim
8540
8541Patch 8.2.1324
8542Problem: Vim9: line break after "=" does not work.
8543Solution: Also allow for NUL after "=". (closes #6549)
8544Files: src/evalvars.c, src/testdir/test_vim9_script.vim
8545
8546Patch 8.2.1325
8547Problem: Vim9: using Vim9 script for autoload not tested.
8548Solution: Add a test. Update help.
8549Files: runtime/doc/vim9.txt, src/testdir/test_autoload.vim,
8550 src/testdir/sautest/autoload/auto9.vim
8551
8552Patch 8.2.1326
8553Problem: Vim9: skipping over white space after list.
8554Solution: Do not skip white space, a following [] would be misinterpreted.
8555 (closes #6552) Fix a few side effects.
8556Files: src/list.c, src/dict.c, src/eval.c, src/userfunc.c,
8557 src/testdir/test_functions.vim, src/testdir/test_gn.vim,
8558 src/testdir/test_popupwin.vim, src/testdir/test_tabpage.vim,
8559 src/testdir/test_textprop.vim, src/testdir/test_textobjects.vim
8560
8561Patch 8.2.1327
8562Problem: Mac: configure can't find Tcl libraries.
8563Solution: Adjust configure check. (closes #6575)
8564Files: src/configure.ac, src/auto/configure
8565
8566Patch 8.2.1328
8567Problem: No space allowed before comma in list.
8568Solution: Legacy Vim script allows it. (closes #6577)
8569Files: src/dict.c, src/list.c, src/testdir/test_listdict.vim
8570
8571Patch 8.2.1329
8572Problem: Vim9: cannot define global function inside :def function.
8573Solution: Assign to global variable instead of local. (closes #6584)
8574Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro,
8575 src/vim9.h, src/vim9execute.c, src/structs.h,
8576 src/misc2.c, src/proto/misc2.pro, src/testdir/test_vim9_func.vim,
8577 src/testdir/test_vim9_disassemble.vim
8578
8579Patch 8.2.1330
8580Problem: Github workflow takes longer than needed.
8581Solution: Do two test runs in parallel instead of sequentially. (Ken Takata,
8582 closes #6579)
8583Files: .github/workflows/ci-windows.yaml
8584
8585Patch 8.2.1331
8586Problem: Vim9: :echo with two lists doesn't work.
8587Solution: Do not skip white space before []. (closes #6552)
8588Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8589
8590Patch 8.2.1332
8591Problem: Vim9: memory leak when using nested global function.
8592Solution: Delete the function when deleting the instruction. Disable test
8593 that still causes a leak.
8594Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro,
8595 src/testdir/test_vim9_func.vim
8596
8597Patch 8.2.1333
8598Problem: Vim9: memory leak when using nested global function.
8599Solution: Swap from and to when copying the lines.
8600Files: src/userfunc.c, src/testdir/test_vim9_func.vim
8601
8602Patch 8.2.1334
8603Problem: Github workflow timeout needs tuning
8604Solution: Use a 10 minute timeout. Fail when timing out. (Ken Takata,
8605 closes #6590)
8606Files: .github/workflows/ci-windows.yaml
8607
8608Patch 8.2.1335
8609Problem: CTRL-C in the GUI doesn't interrupt. (Sergey Vlasov)
8610Solution: Recognize "C" with CTRL modifier as CTRL-C. (issue #6565)
8611Files: src/gui.c, src/proto/gui.pro, src/gui_gtk_x11.c, src/gui_x11.c,
8612 src/gui_photon.c
8613
8614Patch 8.2.1336 (after 8.2.1335)
8615Problem: Build failure on non-Unix systems.
8616Solution: Add #ifdef.
8617Files: src/gui.c
8618
8619Patch 8.2.1337
8620Problem: Vim9: cannot use empty key in dict assignment.
8621Solution: Allow empty key. (closes #6591)
8622Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
8623
8624Patch 8.2.1338
8625Problem: Vim9: assigning to script-local variable doesn't check type.
8626Solution: Use the type. (issue #6591)
8627Files: src/vim9compile.c, src/vim9execute.c,
8628 src/testdir/test_vim9_script.vim
8629
8630Patch 8.2.1339
8631Problem: Vim9: assigning to global dict variable doesn't work.
8632Solution: Guess variable type based in index type. (issue #6591)
8633Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8634
8635Patch 8.2.1340
8636Problem: Some tests fail on Cirrus CI and/or with FreeBSD.
8637Solution: Make 'backupskip' empty. Do not run tests as root. Check for
8638 directory when using viminfo. (Ozaki Kiichi, closes #6596)
8639Files: .cirrus.yml, src/testdir/test_backup.vim,
8640 src/testdir/test_edit.vim, src/testdir/test_viminfo.vim,
8641 src/testdir/test_writefile.vim, src/viminfo.c
8642
8643Patch 8.2.1341
8644Problem: Build failures.
8645Solution: Add missing error message.
8646Files: src/globals.h
8647
8648Patch 8.2.1342
8649Problem: Vim9: accidentally using "x" gives a confusing error.
8650Solution: Disallow using ":t" in Vim9 script. (issue #6399)
8651Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9script.c,
8652 src/ex_docmd.c, src/testdir/test_vim9_script.vim
8653
8654Patch 8.2.1343
8655Problem: Vim9: cannot find global function when using g: when local
8656 function with the same name exists.
8657Solution: Find global function when using g:.
8658Files: src/userfunc.c, src/testdir/test_vim9_func.vim
8659
8660Patch 8.2.1344
8661Problem: Vim9: No test for trying to redefine global function.
8662Solution: Add a test.
8663Files: src/testdir/test_vim9_func.vim
8664
8665Patch 8.2.1345
8666Problem: Redraw error when using visual block and scroll.
8667Solution: Add check for w_topline. (closes #6597)
8668Files: src/drawscreen.c, src/testdir/test_display.vim,
8669 src/testdir/dumps/Test_display_visual_block_scroll.dump
8670
8671Patch 8.2.1346
8672Problem: Small build fails.
8673Solution: Add #ifdef.
8674Files: src/ex_docmd.c
8675
8676Patch 8.2.1347
8677Problem: Cannot easily get the script ID.
8678Solution: Support expand('<SID>').
8679Files: runtime/doc/map.txt, src/ex_docmd.c,
8680 src/testdir/test_expand_func.vim
8681
8682Patch 8.2.1348
8683Problem: Build failure without the eval feature.
8684Solution: Add #ifdef.
8685Files: src/ex_docmd.c
8686
8687Patch 8.2.1349
8688Problem: Vim9: can define a function with the name of an import.
8689Solution: Disallow using an existing name. (closes #6585)
8690Files: src/userfunc.c, src/vim9compile.c, src/globals.h,
8691 src/testdir/test_vim9_script.vim
8692
8693Patch 8.2.1350
8694Problem: Vim9: no test for error message when redefining function.
8695Solution: Add a test.
8696Files: src/testdir/test_vim9_script.vim
8697
8698Patch 8.2.1351
8699Problem: Vim9: no proper error if using namespace for nested function.
8700Solution: Specifically check for a namespace. (closes #6582)
8701Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8702
8703Patch 8.2.1352
8704Problem: Vim9: no error for shadowing a script-local function by a nested
8705 function.
8706Solution: Check for script-local function. (closes #6586)
8707Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8708
8709Patch 8.2.1353
8710Problem: Crash when drawing double-wide character in terminal window.
8711 (Masato Nishihata)
8712Solution: Check getcell() returning NULL. (issue #6141)
8713Files: src/libvterm/src/screen.c, src/testdir/test_terminal.vim
8714
8715Patch 8.2.1354
8716Problem: Test 59 is old style.
8717Solution: Convert into a new style test. (Yegappan Lakshmanan, closes #6604)
8718Files: runtime/doc/eval.txt, src/Makefile, src/testdir/Make_all.mak,
8719 src/testdir/Make_vms.mms, src/testdir/test59.in,
8720 src/testdir/test59.ok, src/testdir/test_spell_utf8.vim
8721
8722Patch 8.2.1355
8723Problem: Vim9: no error using :let for options and registers.
8724Solution: Give an error. (closes #6568)
8725Files: src/evalvars.c, src/vim9compile.c,
8726 src/testdir/test_vim9_script.vim
8727
8728Patch 8.2.1356
8729Problem: Vim9: cannot get the percent register.
8730Solution: Check for readable registers instead of writable. (closes #6566)
8731Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8732
8733Patch 8.2.1357
8734Problem: Vim9: cannot assign to / register.
8735Solution: Adjust check for assignment. (issue #6566)
8736Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
8737 src/testdir/test_vim9_script.vim
8738
8739Patch 8.2.1358
8740Problem: Vim9: test fails with +dnd is not available.
8741Solution: Add condition.
8742Files: src/testdir/test_vim9_script.vim
8743
8744Patch 8.2.1359
8745Problem: Vim9: cannot assign to / register in Vim9 script.
8746Solution: Adjust check for assignment in Vim9 script. (closes #6567)
8747Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
8748
8749Patch 8.2.1360
8750Problem: Stray error for white space after expression.
8751Solution: Ignore trailing white space. (closes #6608)
8752Files: src/eval.c, src/testdir/test_filter_map.vim
8753
8754Patch 8.2.1361
8755Problem: Error for white space after expression in assignment.
8756Solution: Skip over white space. (closes #6617)
8757Files: src/eval.c, src/testdir/test_expr.vim
8758
8759Patch 8.2.1362
8760Problem: Last entry of ":set term=xxx" overwritten by error message when
8761 'cmdheight' is two or more. (Tony Mechelynck)
8762Solution: Output extra line breaks.
8763Files: src/term.c, src/testdir/test_termcodes.vim
8764
8765Patch 8.2.1363
8766Problem: Test trying to run terminal when it is not supported.
8767Solution: Check if Vim can be run in a terminal.
8768Files: src/testdir/test_termcodes.vim
8769
8770Patch 8.2.1364
8771Problem: Invalid memory access when searching for raw string.
8772Solution: Check for delimiter match before following quote. (closes #6578)
8773Files: src/search.c
8774
8775Patch 8.2.1365
8776Problem: Vim9: no error for missing white space around operator.
8777Solution: Check for white space. (closes #6618)
8778Files: src/eval.c, src/vim9compile.c, src/proto/vim9compile.pro,
8779 src/evalvars.c, src/testdir/test_vim9_expr.vim,
8780 src/testdir/test_vim9_func.vim
8781
8782Patch 8.2.1366
8783Problem: Test 49 is old style.
8784Solution: Convert several tests to new style. (Yegappan Lakshmanan,
8785 closes #6629)
8786Files: src/testdir/script_util.vim, src/testdir/test49.ok,
8787 src/testdir/test49.vim, src/testdir/test_vimscript.vim
8788
8789Patch 8.2.1367
8790Problem: Vim9: no error for missing white space around operator.
8791Solution: Check for white space around *, / and %.
8792Files: src/eval.c, src/testdir/test_vim9_expr.vim
8793
8794Patch 8.2.1368
8795Problem: Vim9: no error for missing white space around operator.
8796Solution: Check for white space around <, !=, etc.
8797Files: src/eval.c, src/testdir/test_vim9_expr.vim
8798
8799Patch 8.2.1369
8800Problem: MS-Windows: autocommand test sometimes fails.
8801Solution: Do not rely on the cat command.
8802Files: src/testdir/test_autocmd.vim
8803
8804Patch 8.2.1370
8805Problem: MS-Windows: warning for using fstat() with stat_T.
8806Solution: use _fstat64() if available. (Naruhiko Nishino, closes #6625)
8807Files: src/macros.h
8808
8809Patch 8.2.1371
8810Problem: Vim9: no error for missing white space around operator.
8811Solution: Check for white space around && and ||.
8812Files: src/eval.c, src/testdir/test_vim9_expr.vim
8813
8814Patch 8.2.1372
8815Problem: Vim9: no error for missing white space around operator.
8816Solution: Check for white space around ? and :.
8817Files: src/eval.c, src/testdir/test_vim9_expr.vim
8818
8819Patch 8.2.1373
8820Problem: Vim9: no error for assigning to non-existing script var.
8821Solution: Check that in Vim9 script the variable was defined. (closes #6630)
8822Files: src/vim9compile.c, src/userfunc.c, src/structs.h,
8823 src/testdir/test_vim9_script.vim
8824
8825Patch 8.2.1374
8826Problem: Vim9: error for assigning empty list to script variable.
8827Solution: Use t_unknown for empty list member. (closes #6595)
8828Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8829
8830Patch 8.2.1375
8831Problem: Vim9: method name with digit not accepted.
8832Solution: Use eval_isnamec() instead of eval_isnamec1(). (closes #6613)
8833Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8834
8835Patch 8.2.1376
8836Problem: Vim9: expression mapping causes error for using :import.
8837Solution: Add EX_LOCK_OK to :import and :export. (closes #6606)
8838Files: src/ex_cmds.h, src/testdir/test_vim9_script.vim
8839
8840Patch 8.2.1377
8841Problem: Triggering the ATTENTION prompt causes typeahead to be messed up.
8842Solution: Increment tb_change_cnt. (closes #6541)
8843Files: src/getchar.c
8844
8845Patch 8.2.1378
8846Problem: Cannot put space between function name and paren.
8847Solution: Allow this for backwards compatibility.
8848Files: src/eval.c, src/testdir/test_expr.vim,
8849 src/testdir/test_vim9_expr.vim
8850
8851Patch 8.2.1379
8852Problem: Curly braces expression ending in " }" does not work.
8853Solution: Skip over white space when checking for "}". (closes #6634)
8854Files: src/dict.c, src/testdir/test_eval_stuff.vim
8855
8856Patch 8.2.1380
8857Problem: Vim9: return type of getreg() is always a string.
8858Solution: Use list of strings when there are three arguments. (closes #6633)
8859Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
8860
8861Patch 8.2.1381
8862Problem: MS-Windows: crash with Python 3.5 when stdin is redirected.
8863Solution: Reconnect stdin. (Yasuhiro Matsumoto, Ken Takata, closes #6641)
8864Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/if_python3.c
8865
8866Patch 8.2.1382
8867Problem: Vim9: using :import in filetype plugin gives an error.
8868Solution: Allow commands with the EX_LOCK_OK flag. (closes #6636)
8869Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
8870
8871Patch 8.2.1383
8872Problem: Test 49 is old style.
8873Solution: Convert test cases to new style. (Yegappan Lakshmanan,
8874 closes #6638)
8875Files: src/testdir/test49.ok, src/testdir/test49.vim,
8876 src/testdir/test_vimscript.vim
8877
8878Patch 8.2.1384
8879Problem: No ATTENTION prompt for :vimgrep first match file.
8880Solution: When there is an existing swap file do not keep the dummy buffer.
8881 (closes #6649)
8882Files: src/quickfix.c, src/testdir/runtest.vim,
8883 src/testdir/test_quickfix.vim
8884
8885Patch 8.2.1385
8886Problem: No testing on ARM.
8887Solution: Add a test on Travis for ARM. (Ozaki Kiichi, closes #6615)
8888Files: .travis.yml
8889
8890Patch 8.2.1386
8891Problem: Backslash not removed after space in option with space in
8892 'isfname'.
8893Solution: Do remove backslash before space, also when it is in 'isfname'.
8894 (Yasuhiro Matsumoto, closes #6651)
8895Files: src/option.c, src/testdir/test_options.vim
8896
8897Patch 8.2.1387
8898Problem: Vim9: cannot assign to single letter variable with type.
8899Solution: Exclude the colon from the variable name. (closes #6647)
8900Files: src/eval.c, src/testdir/test_vim9_script.vim
8901
8902Patch 8.2.1388
8903Problem: Vim9: += only works for numbers.
8904Solution: Use += as concatenate for a list. (closes #6646)
8905Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8906
8907Patch 8.2.1389
8908Problem: File missing from the distribution.
8909Solution: Add script_util.vim to the list of distributes files.
8910Files: Filelist
8911
8912Patch 8.2.1390
8913Problem: Vim9: type error after storing an option value.
8914Solution: Drop the type after a STOREOPT instruction. (closes #6632)
8915Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8916
8917Patch 8.2.1391
8918Problem: Vim9: no error for shadowing a script function.
8919Solution: Check for already defined items. (closes #6652)
8920Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8921
8922Patch 8.2.1392
8923Problem: Vim9: error line number incorrect after skipping over comment
8924 lines.
8925Solution: Insert empty lines for skipped lines.
8926Files: src/userfunc.c, src/testdir/test_vim9_func.vim
8927
8928Patch 8.2.1393
8929Problem: Insufficient testing for script debugging.
8930Solution: Add more tests. (Ben Jackson)
8931Files: src/testdir/test_debugger.vim
8932
8933Patch 8.2.1394
8934Problem: Vim9: compiling a function interferes with command modifiers.
8935Solution: Save and restore command modifiers. (closes #6658)
8936Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
8937 src/testdir/test_vim9_script.vim
8938
8939Patch 8.2.1395
8940Problem: Vim9: no error if declaring a funcref with a lower case letter.
8941Solution: Check the name after the type is inferred. Fix confusing name.
8942Files: src/vim9compile.c, src/dict.c, src/eval.c, src/evalvars.c,
8943 src/proto/evalvars.pro, src/testdir/test_vim9_script.vim,
8944 src/testdir/test_vim9_expr.vim
8945
8946Patch 8.2.1396
8947Problem: Vim9: no error for unexpectedly returning a value.
8948Solution: Only set the return type for lambda's. Make using function type
8949 in a function reference work.
8950Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8951
8952Patch 8.2.1397
8953Problem: Vim9: return type of maparg() not adjusted for fourth argument.
8954Solution: Check if fourth argument is present. (closes #6645)
8955Files: src/evalfunc.c, src/testdir/test_maparg.vim
8956
8957Patch 8.2.1398
8958Problem: Autoload script sourced twice if sourced directly.
8959Solution: Do not source an autoload script again. (issue #6644)
8960Files: src/scriptfile.c, src/testdir/sautest/autoload/sourced.vim
8961
8962Patch 8.2.1399
8963Problem: Vim9: may find imported item in wrong script.
8964Solution: When looking up script-local function use the embedded script ID.
8965 (issue #6644)
8966Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
8967 src/testdir/test_vim9_script.vim
8968
8969Patch 8.2.1400
8970Problem: Vim9: test does not delete written files.
8971Solution: Correct file names.
8972Files: src/testdir/test_vim9_script.vim
8973
8974Patch 8.2.1401
8975Problem: Cannot jump to the last used tabpage.
8976Solution: Add g<Tab> and tabpagnr('#'). (Yegappan Lakshmanan, closes #6661,
8977 neovim #11626)
8978Files: runtime/doc/eval.txt, runtime/doc/index.txt,
8979 runtime/doc/tabpage.txt, src/evalwindow.c, src/globals.h,
8980 src/normal.c, src/proto/window.pro, src/testdir/test_tabpage.vim,
8981 src/window.c
8982
8983Patch 8.2.1402
8984Problem: s390x tests always fail.
8985Solution: Temporarily disable s390x tests.
8986Files: .travis.yml
8987
8988Patch 8.2.1403
8989Problem: Vim9: Vim highlighting fails in cmdline window if it uses Vim9
8990 commands.
8991Solution: Allow using :vim9script, :import and :export while in the cmdline
8992 window. (closes #6656)
8993Files: src/ex_cmds.h, src/testdir/test_vim9_script.vim
8994
8995Patch 8.2.1404
8996Problem: Vim9: script test fails in the GUI.
8997Solution: Use another key to map. Improve cleanup.
8998Files: src/testdir/test_vim9_script.vim
8999
9000Patch 8.2.1405
9001Problem: Vim9: vim9compile.c is getting too big.
9002Solution: Split off type code to vim9type.c.
9003Files: Filelist, src/vim9compile.c, src/proto/vim9compile.pro,
9004 src/vim9type.c, src/proto/vim9type.pro, src/proto.h,
9005 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Makefile
9006
9007Patch 8.2.1406
9008Problem: Popupwindow lacks scrollbar if no "maxheight" is used.
9009Solution: Compute the max height depending on the position. (closes #6664)
9010Files: src/popupwin.c, src/testdir/test_popupwin.vim,
9011 src/testdir/dumps/Test_popupwin_toohigh_1.dump,
9012 src/testdir/dumps/Test_popupwin_toohigh_2.dump
9013
9014Patch 8.2.1407
9015Problem: Vim9: type of list and dict only depends on first item.
9016Solution: Use all items to decide about the type.
9017Files: src/vim9compile.c, src/vim9type.c, src/proto/vim9type.pro,
9018 src/testdir/test_vim9_expr.vim, runtime/doc/vim9.txt
9019
9020Patch 8.2.1408
9021Problem: Vim9: type casting not supported.
9022Solution: Introduce type casting.
9023Files: runtime/doc/vim9.txt, src/vim9compile.c,
9024 src/testdir/test_vim9_expr.vim,
9025 src/testdir/test_vim9_disassemble.vim
9026
9027Patch 8.2.1409
Bram Moolenaar1588bc82022-03-08 21:35:07 +00009028Problem: Npmrc and php.ini filetypes not recognized.
Bram Moolenaarc51cf032022-02-26 12:25:45 +00009029Solution: Add filetype detection. (Doug Kearns)
9030Files: runtime/filetype.vim, src/testdir/test_filetype.vim
9031
9032Patch 8.2.1410
9033Problem: Adding compiler plugin requires test change.
9034Solution: Include compiler plugin and adjust test.
9035Files: src/testdir/test_compiler.vim, runtime/compiler/xo.vim
9036
9037Patch 8.2.1411
9038Problem: when splitting a window localdir is copied but prevdir is not.
9039Solution: Also copy prevdir. (closes #6667)
9040Files: src/window.c, src/testdir/test_cd.vim
9041
9042Patch 8.2.1412
9043Problem: Vim: not operator does not result in boolean.
9044Solution: Make type depend on operator. (issue 6678) Fix using "false" and
9045 "true" in Vim9 script.
9046Files: src/eval.c, src/testdir/test_vim9_expr.vim
9047
9048Patch 8.2.1413 (after 8.2.1401)
9049Problem: Previous tab page not usable from an Ex command.
9050Solution: Add the "#" argument for :tabnext et al. (Yegappan Lakshmanan,
9051 closes #6677)
9052Files: runtime/doc/tabpage.txt, src/ex_docmd.c, src/window.c,
9053 src/testdir/test_tabpage.vim
9054
9055Patch 8.2.1414
9056Problem: Popupwindow missing last couple of lines when cursor is in the
9057 first line.
9058Solution: Compute the max height also when top aligned. (closes #6664)
9059Files: src/popupwin.c, src/testdir/test_popupwin.vim,
9060 src/testdir/dumps/Test_popupwin_toohigh_3.dump,
9061 src/testdir/dumps/Test_popupwin_nospace.dump
9062
9063Patch 8.2.1415
9064Problem: Closing a popup window with CTRL-C interrupts 'statusline' if it
9065 calls a function.
9066Solution: Reset got_int while redrawing. (closes #6675)
9067Files: src/popupwin.c, src/testdir/test_popupwin.vim,
9068 src/testdir/dumps/Test_popupwin_ctrl_c.dump
9069
9070Patch 8.2.1416
9071Problem: Vim9: boolean evaluation does not work as intended.
9072Solution: Use tv2bool() in Vim9 script. (closes #6681)
9073Files: src/eval.c, src/testdir/test_vim9_expr.vim, src/testdir/vim9.vim
9074
9075Patch 8.2.1417
9076Problem: Test 49 is old style.
9077Solution: Convert more parts to new style test. (Yegappan Lakshmanan,
9078 closes #6682)
9079Files: src/testdir/test49.ok, src/testdir/test49.vim,
9080 src/testdir/test_vimscript.vim
9081
9082Patch 8.2.1418
9083Problem: Vim9: invalid error for missing white space after function.
9084Solution: Do not skip over white space. (closes #6679)
9085Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
9086
9087Patch 8.2.1419
9088Problem: Vim9: not operator applied too early.
9089Solution: Implement the "numeric_only" argument. (closes #6680)
9090Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9091
9092Patch 8.2.1420
9093Problem: Test 49 is old style.
9094Solution: Convert remaining parts to new style. Remove obsolete items.
9095 (Yegappan Lakshmanan, closes #6683)
9096Files: Filelist, runtime/doc/testing.txt, src/Make_mvc.mak, src/Makefile,
9097 src/testdir/Make_all.mak, src/testdir/Make_amiga.mak,
9098 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
9099 src/testdir/Make_vms.mms, src/testdir/Makefile,
9100 src/testdir/README.txt, src/testdir/test49.in,
9101 src/testdir/test49.ok, src/testdir/test49.vim,
9102 src/testdir/test_quickfix.vim, src/testdir/test_vimscript.vim
9103
9104Patch 8.2.1421
9105Problem: Vim9: handling "+" and "-" before number differs from Vim script.
9106Solution: Use the same sequence of commands.
9107Files: src/vim9compile.c
9108
9109Patch 8.2.1422
9110Problem: The Mac GUI implementation is outdated and probably doesn't even
9111 work.
9112Solution: Remove the Mac GUI code. The MacVim project provides the
9113 supported Vim GUI version.
9114Files: Filelist, src/gui_mac.c, src/proto/gui_mac.pro, src/proto.h,
9115 src/Makefile, src/configure.ac, src/auto/configure,
9116 src/evalfunc.c, src/fileio.c, src/gui.c, src/if_mzsch.c,
9117 src/main.c, src/misc2.c, src/mouse.c, src/os_mac_conv.c,
9118 src/os_unix.c, src/feature.h, src/globals.h, src/gui.h,
9119 src/option.h, src/optiondefs.h, src/os_mac.h, src/structs.h,
9120 src/vim.h, src/INSTALLmac.txt
9121
9122Patch 8.2.1423
9123Problem: Vim9: find global function when looking for script-local.
9124Solution: Don't strip prefix if name starts with "s:". (closes #6688)
9125Files: src/userfunc.c, src/testdir/test_vim9_func.vim
9126
9127Patch 8.2.1424 (after 8.2.1422)
9128Problem: Mac build fails.
9129Solution: Adjust configure to not fall back to Athena. Adjust some other
9130 files.
9131Files: src/configure.ac, src/auto/configure, src/os_macosx.m,
9132 src/version.c
9133
9134Patch 8.2.1425
9135Problem: Vim9: cannot use call() without :call.
9136Solution: Do not skip over "call(". (closes #6689)
9137Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
9138
9139Patch 8.2.1426
9140Problem: Vim9: cannot call autoload function in :def function.
9141Solution: Load the autoload script. (closes #6690)
9142Files: src/vim9execute.c, src/vim9compile.c, src/scriptfile.c,
9143 src/testdir/test_vim9_expr.vim
9144
9145Patch 8.2.1427
9146Problem: Vim9: cannot use a range with marks in :def function.
9147Solution: Parse range after colon. (closes #6686)
9148Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
9149
9150Patch 8.2.1428
9151Problem: Vim9: :def function does not abort on nested function error.
9152Solution: Check whether an error message was given. (closes #6691)
9153Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
9154
9155Patch 8.2.1429
9156Problem: Vim9: no error for missing white after : in dict.
9157Solution: Check for white space. (closes #6671) Also check that there is no
9158 white before the :.
9159Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
9160 src/testdir/test_vim9_func.vim
9161
9162Patch 8.2.1430
9163Problem: Vim9: error for missing comma instead of extra white space.
9164Solution: Check if comma can be found after white space. (closes #6668)
9165 Also check for extra white space in literal dict. (closes #6670)
9166Files: src/list.c, src/dict.c, src/vim9compile.c,
9167 src/testdir/test_vim9_expr.vim
9168
9169Patch 8.2.1431
9170Problem: Vim9: no error for white space before comma in dict.
9171Solution: Check for extra white space. (closes #6674)
9172Files: src/vim9compile.c, src/dict.c, src/testdir/test_vim9_expr.vim
9173
9174Patch 8.2.1432
9175Problem: Various inconsistencies in test files.
9176Solution: Add modelines where they were missing. Use Check commands instead
9177 of silently skipping over tests. Adjust indents and comments.
9178 (Ken Takata, closes #6695)
9179Files: src/testdir/test_arglist.vim, src/testdir/test_assert.vim,
9180 src/testdir/test_autochdir.vim, src/testdir/test_autocmd.vim,
9181 src/testdir/test_autoload.vim, src/testdir/test_balloon.vim,
9182 src/testdir/test_balloon_gui.vim, src/testdir/test_behave.vim,
9183 src/testdir/test_blockedit.vim, src/testdir/test_breakindent.vim,
9184 src/testdir/test_bufline.vim, src/testdir/test_bufwintabinfo.vim,
9185 src/testdir/test_cd.vim, src/testdir/test_changedtick.vim,
9186 src/testdir/test_changelist.vim, src/testdir/test_channel.vim,
9187 src/testdir/test_checkpath.vim, src/testdir/test_cindent.vim,
9188 src/testdir/test_cjk_linebreak.vim,
9189 src/testdir/test_clientserver.vim,
9190 src/testdir/test_close_count.vim, src/testdir/test_cmdline.vim,
9191 src/testdir/test_command_count.vim,
9192 src/testdir/test_comparators.vim, src/testdir/test_compiler.vim,
9193 src/testdir/test_crypt.vim, src/testdir/test_cursorline.vim,
9194 src/testdir/test_curswant.vim, src/testdir/test_debugger.vim,
9195 src/testdir/test_delete.vim, src/testdir/test_diffmode.vim,
9196 src/testdir/test_digraph.vim, src/testdir/test_display.vim,
9197 src/testdir/test_edit.vim, src/testdir/test_environ.vim,
9198 src/testdir/test_erasebackword.vim,
9199 src/testdir/test_escaped_glob.vim, src/testdir/test_ex_equal.vim,
9200 src/testdir/test_ex_undo.vim, src/testdir/test_ex_z.vim,
9201 src/testdir/test_exec_while_if.vim, src/testdir/test_exists.vim,
9202 src/testdir/test_exists_autocmd.vim, src/testdir/test_exit.vim,
9203 src/testdir/test_expand_dllpath.vim,
9204 src/testdir/test_expr_utf8.vim, src/testdir/test_feedkeys.vim,
9205 src/testdir/test_file_size.vim, src/testdir/test_fileformat.vim,
9206 src/testdir/test_filter_cmd.vim,
9207 src/testdir/test_find_complete.vim, src/testdir/test_findfile.vim,
9208 src/testdir/test_fixeol.vim, src/testdir/test_flatten.vim,
9209 src/testdir/test_fnameescape.vim, src/testdir/test_fold.vim,
9210 src/testdir/test_functions.vim, src/testdir/test_ga.vim,
9211 src/testdir/test_getcwd.vim, src/testdir/test_getvar.vim,
9212 src/testdir/test_glob2regpat.vim, src/testdir/test_global.vim,
9213 src/testdir/test_gui.vim, src/testdir/test_gui_init.vim,
9214 src/testdir/test_highlight.vim, src/testdir/test_hlsearch.vim,
9215 src/testdir/test_iminsert.vim,
9216 src/testdir/test_increment_dbcs.vim,
9217 src/testdir/test_ins_complete.vim, src/testdir/test_interrupt.vim,
9218 src/testdir/test_job_fails.vim, src/testdir/test_join.vim,
9219 src/testdir/test_json.vim, src/testdir/test_jumplist.vim,
9220 src/testdir/test_jumps.vim, src/testdir/test_lambda.vim,
9221 src/testdir/test_langmap.vim, src/testdir/test_largefile.vim,
9222 src/testdir/test_lineending.vim, src/testdir/test_listchars.vim,
9223 src/testdir/test_listener.vim, src/testdir/test_listlbr.vim,
9224 src/testdir/test_listlbr_utf8.vim,
9225 src/testdir/test_makeencoding.vim, src/testdir/test_man.vim,
9226 src/testdir/test_mapping.vim, src/testdir/test_marks.vim,
9227 src/testdir/test_matchadd_conceal.vim,
9228 src/testdir/test_matchadd_conceal_utf8.vim,
9229 src/testdir/test_memory_usage.vim, src/testdir/test_menu.vim,
9230 src/testdir/test_messages.vim, src/testdir/test_mksession.vim,
9231 src/testdir/test_modeline.vim,
9232 src/testdir/test_nested_function.vim, src/testdir/test_number.vim,
9233 src/testdir/test_options.vim, src/testdir/test_packadd.vim,
9234 src/testdir/test_partial.vim, src/testdir/test_paste.vim,
9235 src/testdir/test_plus_arg_edit.vim, src/testdir/test_preview.vim,
9236 src/testdir/test_profile.vim, src/testdir/test_prompt_buffer.vim,
9237 src/testdir/test_quickfix.vim, src/testdir/test_quotestar.vim,
9238 src/testdir/test_random.vim, src/testdir/test_recover.vim,
9239 src/testdir/test_regex_char_classes.vim,
9240 src/testdir/test_regexp_latin.vim, src/testdir/test_registers.vim,
9241 src/testdir/test_rename.vim, src/testdir/test_retab.vim,
9242 src/testdir/test_scriptnames.vim, src/testdir/test_scroll_opt.vim,
9243 src/testdir/test_scrollbind.vim, src/testdir/test_search_stat.vim,
9244 src/testdir/test_searchpos.vim, src/testdir/test_set.vim,
9245 src/testdir/test_sha256.vim, src/testdir/test_shift.vim,
9246 src/testdir/test_shortpathname.vim, src/testdir/test_signs.vim,
9247 src/testdir/test_sort.vim, src/testdir/test_sound.vim,
9248 src/testdir/test_source_utf8.vim, src/testdir/test_spellfile.vim,
9249 src/testdir/test_startup.vim, src/testdir/test_startup_utf8.vim,
9250 src/testdir/test_stat.vim, src/testdir/test_suspend.vim,
9251 src/testdir/test_swap.vim, src/testdir/test_syntax.vim,
9252 src/testdir/test_tab.vim, src/testdir/test_tabline.vim,
9253 src/testdir/test_tagcase.vim, src/testdir/test_tagjump.vim,
9254 src/testdir/test_taglist.vim, src/testdir/test_termcodes.vim,
9255 src/testdir/test_termencoding.vim, src/testdir/test_terminal.vim,
9256 src/testdir/test_terminal2.vim, src/testdir/test_terminal3.vim,
9257 src/testdir/test_terminal_fail.vim,
9258 src/testdir/test_true_false.vim,
9259 src/testdir/test_utf8_comparisons.vim,
9260 src/testdir/test_vartabs.vim, src/testdir/test_version.vim,
9261 src/testdir/test_vim9_expr.vim, src/testdir/test_winbar.vim,
9262 src/testdir/test_winbuf_close.vim,
9263 src/testdir/test_window_cmd.vim, src/testdir/test_window_id.vim,
9264 src/testdir/test_windows_home.vim, src/testdir/test_wnext.vim,
9265 src/testdir/test_wordcount.vim, src/testdir/test_writefile.vim,
9266 src/testdir/test_xxd.vim
9267
9268Patch 8.2.1433
9269Problem: Vim9: cannot mingle comments in multi-line lambda.
9270Solution: Skip over NULL lines. (closes #6694)
9271Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9272
9273Patch 8.2.1434
9274Problem: Vim9: crash when lambda uses outer function argument.
9275Solution: Set the flag that the outer context is used.
9276Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9277
9278Patch 8.2.1435
9279Problem: Vim9: always converting to string for ".." leads to mistakes.
9280Solution: Only automatically convert simple types.
9281Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9.h,
9282 src/vim9execute.c, src/proto/vim9execute.pro, src/eval.c,
9283 src/evalfunc.c, src/testdir/test_vim9_expr.vim,
9284 src/testdir/test_vim9_disassemble.vim
9285
9286Patch 8.2.1436
9287Problem: Function implementing :substitute has unexpected name.
9288Solution: Rename from do_sub() to ex_substitute().
9289Files: src/ex_cmds.c, src/proto/ex_cmds.pro, src/ex_docmd.c,
9290 src/ex_cmds.h
9291
9292Patch 8.2.1437
9293Problem: Vim9: 'statusline' is evaluated using Vim9 script syntax.
9294Solution: Always use legacy script syntax.
9295Files: src/eval.c, src/testdir/test_vim9_script.vim
9296
9297Patch 8.2.1438
9298Problem: Missing tests for interrupting script execution from debugger.
9299Solution: Add tests. (Yegappan Lakshmanan, closes #6697)
9300Files: src/testdir/test_debugger.vim
9301
9302Patch 8.2.1439
9303Problem: Tiny and small builds have no test coverage.
9304Solution: Restore tests that do not depend on the +eval feature.
9305 (Ken Takata, closes #6696)
9306Files: .travis.yml, Filelist, Makefile, runtime/doc/testing.txt,
9307 src/Make_mvc.mak, src/Makefile, src/testdir/Make_all.mak,
9308 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
9309 src/testdir/Make_ming.mak, src/testdir/Make_vms.mms,
9310 src/testdir/Makefile, src/testdir/runtest.vim,
9311 src/testdir/test1.in, src/testdir/test1.ok, src/testdir/test20.in,
9312 src/testdir/test20.ok, src/testdir/test21.in,
9313 src/testdir/test21.ok, src/testdir/test22.in,
9314 src/testdir/test22.ok, src/testdir/test23.in,
9315 src/testdir/test23.ok, src/testdir/test24.in,
9316 src/testdir/test24.ok, src/testdir/test25.in,
9317 src/testdir/test25.ok, src/testdir/test26.in,
9318 src/testdir/test26.ok, src/testdir/test27.in,
9319 src/testdir/test27.ok, src/testdir/test_options.vim
9320
9321Patch 8.2.1440
9322Problem: Debugger code insufficiently tested.
9323Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6700)
9324Files: src/testdir/test_debugger.vim, src/testdir/test_vimscript.vim
9325
9326Patch 8.2.1441
9327Problem: Running tests in tiny version gives error for summarize.vim.
9328Solution: Set 'cpoptions' to allow for line continuation. Restore
9329 redirecting test output to /dev/null.
9330Files: src/testdir/summarize.vim, src/testdir/Makefile
9331
9332Patch 8.2.1442
9333Problem: Outdated references to the Mac Carbon GUI.
9334Solution: Remove or update references. (Yee Cheng Chin, closes #6703)
9335Files: READMEdir/README_extra.txt, src/Makefile, src/configure.ac,
9336 src/auto/configure, src/gui_haiku.cc, src/os_macosx.m,
9337 src/testdir/test_iminsert.vim, src/vim.h
9338
9339Patch 8.2.1443
9340Problem: Vim9: crash when interrupting a nested :def function.
9341Solution: Push a dummy return value onto the stack. (closes #6701)
9342Files: src/vim9execute.c
9343
9344Patch 8.2.1444
9345Problem: Error messages are spread out and names can be confusing.
9346Solution: Start moving error messages to a separate file and use clear
9347 names.
9348Files: Filelist, src/vim.h, src/globals.h, src/errors.h, src/Makefile,
9349 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms,
9350 src/dict.c, src/evalvars.c, src/ex_docmd.c, src/list.c,
9351 src/userfunc.c, src/vim9compile.c, src/vim9execute.c,
9352 src/vim9script.c, src/vim9type.c
9353
9354Patch 8.2.1445
9355Problem: Vim9: function expanded name is cleared when sourcing a script
9356 again.
9357Solution: Only clear the expanded name when deleting the function.
9358 (closes #6707)
9359Files: src/userfunc.c, src/testdir/test_vim9_script.vim
9360
9361Patch 8.2.1446
9362Problem: Vim9: line number in error message is not correct.
9363Solution: Set SOURCING_LNUM before calling emsg(). (closes #6708)
9364Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
9365
9366Patch 8.2.1447
9367Problem: Vim9: return type of keys() is list<any>.
9368Solution: Should be list<string>. (closes #6711)
9369Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
9370
9371Patch 8.2.1448
9372Problem: Test 77a for VMS depends on small.vim which does not exist.
9373Solution: Use the 'silent while 0" trick. (issue #6696)
9374Files: src/testdir/test77a.in
9375
9376Patch 8.2.1449
9377Problem: Some test makefiles delete files that are not generated.
9378Solution: Remove the deletion commands.
9379Files: src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
9380 src/testdir/Make_amiga.mak, src/testdir/Make_vms.mms
9381
9382Patch 8.2.1450
9383Problem: Vim9: no check that script-local items don't become global.
9384Solution: Add a test.
9385Files: src/testdir/test_vim9_script.vim
9386
9387Patch 8.2.1451
9388Problem: Vim9: list type at script level only uses first item.
9389Solution: Use all members, like in a compiled function. (closes #6712)
9390 Also for dictionary.
9391Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
9392
9393Patch 8.2.1452
9394Problem: Vim9: dead code in to_name_end().
9395Solution: Remove check for lambda and dict, it won't be used.
9396Files: src/vim9compile.c
9397
9398Patch 8.2.1453
9399Problem: Vim9: failure to compile lambda not tested.
9400Solution: Add a test case.
9401Files: src/testdir/test_vim9_expr.vim
9402
9403Patch 8.2.1454
9404Problem: Vim9: failure invoking lambda with wrong arguments.
9405Solution: Handle invalid arguments. Add a test.
9406Files: src/vim9compile.c, src/vim9execute.c,
9407 src/testdir/test_vim9_expr.vim
9408
9409Patch 8.2.1455
9410Problem: Vim9: crash when using typecast before constant.
9411Solution: Generate constant before checking type. Add tets.
9412Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9413
9414Patch 8.2.1456
9415Problem: MS-Windows: test files are not deleted.
9416Solution: use "del" instead of $(DEL).
9417Files: src/testdir/Make_dos.mak
9418
9419Patch 8.2.1457
9420Problem: Vim9: the output of :disassemble cannot be interrupted.
9421Solution: Check got_int. (closes #6715)
9422Files: src/vim9execute.c
9423
9424Patch 8.2.1458
9425Problem: .gawk files not recognized.
9426Solution: Recognize .gawk files. (Doug Kearns)
9427Files: runtime/filetype.vim, src/testdir/test_filetype.vim
9428
9429Patch 8.2.1459
Bram Moolenaar1588bc82022-03-08 21:35:07 +00009430Problem: Vim9: declaring a script variable at the script level does not
Bram Moolenaarc51cf032022-02-26 12:25:45 +00009431 infer the type.
9432Solution: Get the type from the value. (closes #6716)
9433Files: src/evalvars.c, src/testdir/test_vim9_script.vim
9434
9435Patch 8.2.1460
9436Problem: Error messages are spread out.
9437Solution: Move more messages into errors.h.
9438Files: src/errors.h, src/globals.h, src/vim9compile.c, src/vim9execute.c,
9439 src/vim9script.c, src/vim9type.c, src/scriptfile.c, src/ex_cmds.c,
9440 src/ex_docmd.c, src/match.c, src/eval.c, src/evalvars.c,
9441 src/userfunc.c, src/testdir/test_vim9_expr.vim,
9442 src/testdir/test_vim9_disassemble.vim,
9443 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
9444
9445Patch 8.2.1461
9446Problem: Vim9: string indexes are counted in bytes.
9447Solution: Use character indexes. (closes #6574)
9448Files: runtime/doc/eval.txt, src/eval.c, src/proto/eval.pro,
9449 src/vim9execute.c, src/eval.c, src/testdir/test_vim9_expr.vim
9450
9451Patch 8.2.1462
9452Problem: Vim9: string slice not supported yet.
9453Solution: Add support for string slicing.
9454Files: src/errors.h, src/vim9compile.c, src/vim9.h, src/vim9execute.c,
9455 src/eval.c, src/proto/eval.pro, src/testdir/test_vim9_expr.vim,
9456 src/testdir/test_vim9_disassemble.vim
9457
9458Patch 8.2.1463
9459Problem: Vim9: list slice not supported yet.
9460Solution: Add support for list slicing.
9461Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/eval.c,
9462 src/list.c, src/proto/list.pro, src/testdir/test_vim9_expr.vim,
9463 src/testdir/test_vim9_disassemble.vim
9464
9465Patch 8.2.1464
9466Problem: Vim9: build warning for unused variable.
9467Solution: Delete the variable declaration.
9468Files: src/vim9execute.c
9469
9470Patch 8.2.1465
9471Problem: Vim9: subscript not handled properly.
9472Solution: Adjust error message. Remove dead code. Disallow string to
9473 number conversion in scripts.
9474Files: src/errors.h, src/vim9compile.c, src/vim9execute.c, src/eval.c,
9475 src/typval.c, src/list.c, src/testdir/test_vim9_expr.vim,
9476 src/testdir/test_vim9_script.vim
9477
9478Patch 8.2.1466
9479Problem: Vim9: cannot index or slice a variable with type "any".
9480Solution: Add runtime index and slice.
9481Files: src/eval.c, src/proto/eval.pro, src/vim9compile.c,
9482 src/vim9execute.c, src/vim9.h, src/errors.h, src/list.c,
9483 src/testdir/test_vim9_expr.vim,
9484 src/testdir/test_vim9_disassemble.vim,
9485 src/testdir/test_vim9_script.vim
9486
9487Patch 8.2.1467
9488Problem: Vim9: :echomsg doesn't like a dict argument.
9489Solution: Convert arguments like in legacy script. (closes #6717)
9490Files: src/vim9compile.c, src/vim9execute.c,
9491 src/testdir/test_vim9_script.vim
9492
9493Patch 8.2.1468
9494Problem: Vim9: invalid error for missing white space.
9495Solution: Don't skip over white space after index. (closes #6718)
9496Files: src/eval.c, src/testdir/test_vim9_expr.vim
9497
9498Patch 8.2.1469
9499Problem: Vim9: cannot assign string to string option.
9500Solution: Change checks for option value. (closes #6720)
9501Files: src/evalvars.c, src/testdir/test_vim9_script.vim
9502
9503Patch 8.2.1470
9504Problem: Errors in spell file not tested.
9505Solution: Add test for spell file errors. (Yegappan Lakshmanan,
9506 closes #6721)
9507Files: src/testdir/test_spellfile.vim
9508
9509Patch 8.2.1471
9510Problem: :const only locks the variable, not the value.
9511Solution: Lock the value as ":lockvar 1 var" would do. (closes #6719)
9512Files: src/evalvars.c, src/testdir/test_const.vim
9513
9514Patch 8.2.1472
9515Problem: ":argdel" does not work like ":.argdel" as documented. (Alexey
9516 Demin)
9517Solution: Make ":argdel" work like ":.argdel". (closes #6727)
9518 Also fix giving the error "0 more files to edit".
9519Files: src/arglist.c, src/ex_docmd.c, src/testdir/test_arglist.vim
9520
9521Patch 8.2.1473
9522Problem: Items in a list given to :const can still be modified.
9523Solution: Work like ":lockvar! name" but don't lock referenced items.
9524 Make locking a blob work.
9525Files: runtime/doc/eval.txt, src/evalvars.c, src/eval.c,
9526 src/testdir/test_const.vim
9527
9528Patch 8.2.1474
9529Problem: /usr/lib/udef/rules.d not recognized as udevrules.
9530Solution: Adjust match pattern. (Haochen Tong, closes 36722)
9531Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim
9532
9533Patch 8.2.1475
9534Problem: Vim9: can't use v:true for option flags.
9535Solution: Add tv_get_bool_chk(). (closes #6725)
9536Files: src/typval.c, src/proto/typval.pro, src/channel.c
9537
9538Patch 8.2.1476 (after 8.2.1474)
9539Problem: Filetype test fails on MS-Windows.
9540Solution: Remove "^" from pattern.
9541Files: runtime/autoload/dist/ft.vim
9542
9543Patch 8.2.1477
9544Problem: Vim9: error when using bufnr('%').
9545Solution: Don't give an error for using a string argument. (closes #6723)
9546Files: src/evalbuffer.c, src/testdir/test_vim9_func.vim
9547
9548Patch 8.2.1478
9549Problem: Vim9: cannot use "true" for some popup options.
9550Solution: Add dict_get_bool(). (closes #6725)
9551Files: src/dict.c, src/proto/dict.pro, src/popupwin.c
9552
9553Patch 8.2.1479
9554Problem: Vim9: error for list index uses wrong line number.
9555Solution: Set source line number. (closes #6724) Add a way to assert the
9556 line number of the error with assert_fails().
9557Files: runtime/doc/testing.txt, src/vim9execute.c, src/testing.c,
9558 src/evalfunc.c, src/message.c, src/globals.h, src/testdir/vim9.vim,
9559 src/testdir/test_vim9_expr.vim
9560
9561Patch 8.2.1480
9562Problem: Vim9: skip expression in search() gives error.
9563Solution: use tv_get_bool() eval_expr_to_bool(). (closes #6729)
9564Files: src/eval.c, src/typval.c, src/proto/typval.pro,
9565 src/testdir/test_vim9_func.vim
9566
9567Patch 8.2.1481
9568Problem: Vim9: line number reported with error may be wrong.
9569Solution: Check line number in tests.
9570Files: src/testdir/test_vim9_expr.vim, src/testdir/vim9.vim,
9571 src/vim9execute.c
9572
9573Patch 8.2.1482
9574Problem: Vim9: crash when using a nested lambda.
9575Solution: Do not clear the growarray when not evaluating. Correct pointer
9576 when getting the next line. (closes #6731)
9577Files: src/eval.c, src/scriptfile.c, src/testdir/test_vim9_expr.vim
9578
9579Patch 8.2.1483
9580Problem: Vim9: error for using special as number when returning "false"
9581 from a popup filter.
9582Solution: Use tv_get_bool(). (closes #6733)
9583Files: src/popupwin.c
9584
9585Patch 8.2.1484
9586Problem: Flaky failure in assert_fails().
9587Solution: Only used fourth argument if there is a third argument.
9588Files: src/testing.c
9589
9590Patch 8.2.1485
9591Problem: Vim9: readdirex() expression doesn't accept bool.
9592Solution: Accept both -1 and bool. (closes #6737)
9593Files: src/filepath.c, src/testdir/test_vim9_func.vim
9594
9595Patch 8.2.1486
9596Problem: Vim9: readdir() expression doesn't accept bool.
9597Solution: Merge with code for readdirex(). (closes #6737)
9598Files: src/filepath.c, src/testdir/test_vim9_func.vim
9599
9600Patch 8.2.1487
9601Problem: Travis: installing snd-dummy is not always useful.
9602Solution: Only install snd-dummy on amd64. (Ozaki Kiichi, closes #6738)
9603Files: .travis.yml, ci/load-snd-dummy.sh
9604
9605Patch 8.2.1488
9606Problem: Text does not scroll when inserting above first line.
9607Solution: Adjust off-by-one error. (Ken Takata, closes #6739)
9608Files: src/drawscreen.c, src/testdir/test_display.vim,
9609 src/testdir/dumps/Test_display_scroll_at_topline.dump
9610
9611Patch 8.2.1489
9612Problem: Vim9: error when setting an option with setbufvar().
9613Solution: Do not get a number from a string value. (closes #6740)
9614Files: src/evalvars.c, src/testdir/test_vim9_func.vim
9615
9616Patch 8.2.1490
9617Problem: Vim9: using /= with float and number doesn't work.
9618Solution: Better support assignment with operator. (closes #6742)
9619Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
9620
9621Patch 8.2.1491
9622Problem: Vim9: crash when compiling heredoc lines start with comment.
9623Solution: Skip over NULL pointers. Do not remove comment and empty lines
9624 when fetching function lines. (closes #6743)
9625Files: src/vim9compile.c, src/scriptfile.c, src/proto/scriptfile.pro,
9626 src/structs.h, src/ex_docmd.c, src/proto/ex_docmd.pro,
9627 src/ex_cmds.h, src/autocmd.c, src/proto/autocmd.pro,
9628 src/ex_getln.c, src/proto/ex_getln.pro, src/userfunc.c,
9629 src/proto/userfunc.pro, src/evalfunc.c,
9630 src/testdir/test_vim9_script.vim
9631
9632Patch 8.2.1492
9633Problem: Build failures.
9634Solution: Move typedef out of #ifdef. Adjust argument types. Discover
9635 America.
9636Files: src/structs.h, src/ex_docmd.c
9637
9638Patch 8.2.1493
9639Problem: Not enough test coverage for the spell file handling.
9640Solution: Add spell file tests. (Yegappan Lakshmanan, closes #6728)
9641Files: src/spellfile.c, src/testdir/test_spellfile.vim
9642
9643Patch 8.2.1494
9644Problem: Missing change to calling eval_getline().
9645Solution: Change last argument.
9646Files: src/eval.c
9647
9648Patch 8.2.1495
9649Problem: "make clean" may delete too many files.
9650Solution: Do not delete $APPDIR. (closes #6751)
9651Files: src/Makefile
9652
9653Patch 8.2.1496
9654Problem: Vim9: cannot use " #" in a mapping.
9655Solution: Do not remove a comment with the EX_NOTRLCOM flag. (closes #6746)
9656Files: src/ex_docmd.c, src/vim9compile.c, src/testdir/test_vim9_cmd.vim
9657
9658Patch 8.2.1497
9659Problem: CursorHold test is flaky. (Jakub Kądziołka)
9660Solution: Use WaitForAssert() (closes #6754)
9661Files: src/testdir/test_autocmd.vim
9662
9663Patch 8.2.1498
9664Problem: On slow systems tests can be flaky.
9665Solution: Use TermWait() instead of term-wait(). (Yegappan Lakshmanan,
9666 closes #6756)
9667Files: src/testdir/test_digraph.vim, src/testdir/test_display.vim,
9668 src/testdir/test_popupwin.vim, src/testdir/test_termcodes.vim,
9669 src/testdir/test_terminal.vim, src/testdir/test_terminal3.vim,
9670 src/testdir/test_writefile.vim
9671
9672Patch 8.2.1499
9673Problem: Vim9: error when using "$" with col().
9674Solution: Reorder getting the column value. (closes #6744)
9675Files: src/eval.c, src/testdir/test_vim9_func.vim
9676
9677Patch 8.2.1500
9678Problem: Vim9: error when using address without a command.
9679Solution: Execute the range itself. (closes #6747)
9680Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
9681
9682Patch 8.2.1501
9683Problem: Vim9: concatenating to constant reverses order.
9684Solution: Generate constant before option, register and environment
9685 variable. (closes #6757)
9686Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9687
9688Patch 8.2.1502
9689Problem: Vim9: can use += with a :let command at script level.
9690Solution: Give an error.
9691Files: src/evalvars.c, src/testdir/test_vim9_script.vim,
9692 src/testdir/test_vim9_expr.vim
9693
9694Patch 8.2.1503
9695Problem: Vim9: error for an autocmd defined in a :def function in legacy
9696 Vim script.
9697Solution: Don't check the variable type. (closes #6758)
9698Files: src/vim9script.c, src/testdir/test_vim9_script.vim
9699
9700Patch 8.2.1504
9701Problem: Vim9: white space checks are only done for a :def function.
9702Solution: Also do checks at the script level. Adjust the name of a few
9703 error messages.
9704Files: src/userfunc.c, src/errors.h, src/dict.c, src/list.c,
9705 src/vim9compile.c, src/vim9script.c, src/vim9type.c,
9706 src/evalvars.c, src/testdir/test_vim9_expr.vim,
9707 src/testdir/vim9.vim
9708
9709Patch 8.2.1505
9710Problem: Not all file read and writecode is tested.
9711Solution: Add a few tests. (Dominique Pellé, closes #6764)
9712Files: src/testdir/test_eval_stuff.vim, src/testdir/test_fnamemodify.vim,
9713 src/testdir/test_functions.vim
9714
9715Patch 8.2.1506
9716Problem: Vim9: no error when using a number other than 0 or 1 as bool.
9717Solution: Check the number is 0 or 1.
9718Files: src/errors.h, src/typval.c, src/testdir/test_vim9_func.vim
9719
9720Patch 8.2.1507
9721Problem: Using malloc() directly.
9722Solution: Use ALLOC_ONE(). Remove superfluous typecast. (Hussam al-Homsi,
9723 closes #6768)
9724Files: src/eval.c, src/memline.c, src/vimrun.c
9725
9726Patch 8.2.1508
9727Problem: Not all debugger commands covered by tests.
9728Solution: Add tests for going up/down in the stack. (Ben Jackson,
9729 closes #6765)
9730Files: src/testdir/test_debugger.vim
9731
9732Patch 8.2.1509
9733Problem: Vertical separator is cleared when dragging a popup window using a
9734 multi-byte character for the border.
9735Solution: Only clear the character before the window if it is using a
9736 multi-byte character. (closes #6766)
9737Files: src/screen.c
9738
9739Patch 8.2.1510
9740Problem: Using "var" in a :def function may refer to a legacy Vim script
9741 variable.
9742Solution: Require using "s:" to refer to a legacy Vim script variable.
9743 (closes #6771)
9744Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
9745
9746Patch 8.2.1511
9747Problem: Putting a string in Visual block mode ignores multi-byte
9748 characters.
9749Solution: Adjust the column for Visual block mode. (closes #6767)
9750Files: src/register.c, src/testdir/test_visual.vim
9751
9752Patch 8.2.1512
9753Problem: Failure after ternary expression fails.
9754Solution: Restore eval_flags. (Yasuhiro Matsumoto, closes #6776)
9755Files: src/eval.c, src/testdir/test_vimscript.vim,
9756 src/testdir/test_vim9_expr.vim
9757
9758Patch 8.2.1513
9759Problem: Cannot interrupt shell used for filename expansion. (Dominique
9760 Pellé)
9761Solution: Do set tmode in mch_delay(). (closes #6770)
9762Files: src/vim.h, src/os_unix.c, src/proto/os_unix.pro, src/term.c,
9763 src/channel.c, src/if_cscope.c, src/os_amiga.c, src/ui.c,
9764 src/proto/os_amiga.pro, src/os_win32.c, src/proto/os_win32.pro
9765
9766Patch 8.2.1514
9767Problem: Multibyte vertical separator is cleared when dragging a popup
9768 window using a multi-byte character for the border.
9769Solution: Only clear the character before the window if it is double width.
9770 (closes #6766)
9771Files: src/screen.c
9772
9773Patch 8.2.1515
9774Problem: Vim9: can create s:var in legacy script but cannot unlet.
9775Solution: Allow :unlet for legacy script var.
9776Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
9777
9778Patch 8.2.1516
9779Problem: Vim9: error for :exe has wrong line number.
9780Solution: Set line number before calling do_cmdline_cmd(). (closes #6774)
9781Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
9782
9783Patch 8.2.1517
9784Problem: Cannot easily get the character under the cursor.
9785Solution: Add the {chars} argument to strpart().
9786Files: runtime/doc/eval.txt, src/evalfunc.c,
9787 src/testdir/test_functions.vim
9788
9789Patch 8.2.1518
9790Problem: Vim9: cannot assign to local option.
9791Solution: Skip over "&l:" and "&g:". (closes #6749)
9792Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/testdir/vim9.vim,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00009793 src/vim9compile.c, src/testdir/test_vim9_script.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +00009794
9795Patch 8.2.1519
9796Problem: Vim9: Ex command default range is not set.
9797Solution: When range is not given use default. (closes #6779)
9798Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
9799
9800Patch 8.2.1520
9801Problem: Vim9: CTRL-] used in :def function does not work.
9802Solution: Omit count or prepend colon. (closes #6769)
9803Files: src/normal.c, src/testdir/test_vim9_cmd.vim
9804
9805Patch 8.2.1521
9806Problem: Reading past end of buffer when reading spellfile. (Yegappan
9807 Lakshmanan)
9808Solution: Store the byte length and check for it.
9809Files: src/spellfile.c, src/spell.h
9810
9811Patch 8.2.1522
9812Problem: Not enough test coverage for the spell file handling.
9813Solution: Add spell file tests. (Yegappan Lakshmanan, closes #6763)
9814Files: src/testdir/test_spellfile.vim
9815
9816Patch 8.2.1523
9817Problem: Still not enough test coverage for the spell file handling.
9818Solution: Add spell file tests. (Yegappan Lakshmanan, closes #6790)
9819Files: src/testdir/test_spellfile.vim
9820
9821Patch 8.2.1524
9822Problem: No longer get an error for string concatenation with float.
9823 (Tsuyoshi Cho)
9824Solution: Only convert float for Vim9 script. (closes #6787)
9825Files: src/eval.c, src/testdir/test_eval_stuff.vim
9826
9827Patch 8.2.1525
9828Problem: Messages from tests were not always displayed.
9829Solution: Always show messages, the timing is always useful. (Ken Takata,
9830 closes #6792)
9831Files: src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
9832 src/testdir/Makefile
9833
9834Patch 8.2.1526
9835Problem: Line in testdir Makefile got commented out. (Christian Brabandt)
9836Solution: Revert.
9837Files: src/testdir/Makefile
9838
9839Patch 8.2.1527
9840Problem: Vim9: cannot use a function name as a function reference at script
9841 level.
9842Solution: Check if a name is a function name. (closes #6789)
9843Files: src/evalvars.c, src/testdir/test_vim9_expr.vim,
9844 src/testdir/test_vim9_script.vim
9845
9846Patch 8.2.1528
9847Problem: Vim9: :endif not found after "if false".
9848Solution: When skipping still check for a following command. (closes #6797)
9849Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
9850
9851Patch 8.2.1529
9852Problem: Vim9: :elseif may be compiled when not needed.
9853Solution: Do evaluate the :elseif expression.
9854Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9855
9856Patch 8.2.1530
9857Problem: Vim9: test fails on MS-Windows.
9858Solution: Skip Ex command inside "if false".
9859Files: src/vim9compile.c
9860
9861Patch 8.2.1531
9862Problem: Vim9: test still fails on MS-Windows.
9863Solution: When skipping expect function to be NULL.
9864Files: src/vim9compile.c
9865
9866Patch 8.2.1532
9867Problem: Compiler warning for conversion of size_t to long.
9868Solution: Add type cast.
9869Files: src/eval.c
9870
9871Patch 8.2.1533
9872Problem: Vim9: error when passing getreginfo() result to setreg().
9873Solution: Use dict_get_bool() for "isunnamed". (closes #6784)
9874Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
9875
9876Patch 8.2.1534
9877Problem: Vim9: type error for argument type is not at call position.
9878Solution: Set the context and stack after checking the arguments.
9879 (issue #6785)
9880Files: src/userfunc.c, src/vim9execute.c, src/testdir/test_vim9_func.vim
9881
9882Patch 8.2.1535
9883Problem: It is not possible to specify cell widths of characters.
9884Solution: Add setcellwidths().
9885Files: runtime/doc/eval.txt, runtime/doc/options.txt,
9886 runtime/doc/usr_41.txt, src/evalfunc.c, src/mbyte.c,
9887 src/proto/mbyte.pro, src/errors.h, src/testdir/test_utf8.vim
9888
9889Patch 8.2.1536
9890Problem: Cannot get the class of a character; emoji widths are wrong in
9891 some environments.
9892Solution: Add charclass(). Update some emoji widths. Add script to check
9893 emoji widths.
9894Files: Filelist, runtime/doc/eval.txt, runtime/doc/usr_41.txt,
9895 src/evalfunc.c, src/mbyte.c, src/proto/mbyte.pro,
9896 src/testdir/emoji_list.vim, src/testdir/test_functions.vim
9897
9898Patch 8.2.1537
Bram Moolenaar1588bc82022-03-08 21:35:07 +00009899Problem: Memory access error when using setcellwidths().
Bram Moolenaarc51cf032022-02-26 12:25:45 +00009900Solution: Use array and pointers correctly.
9901Files: src/mbyte.c, src/errors.h, src/testdir/test_utf8.vim
9902
9903Patch 8.2.1538
9904Problem: Python: iteration over vim objects fails to keep reference.
9905Solution: Keep a reference for the object. (Paul Ollis, closes #6803,
9906 closes #6806)
9907Files: src/if_py_both.h, src/testdir/test_python3.vim
9908
9909Patch 8.2.1539
9910Problem: Using invalid script ID causes a crash.
9911Solution: Check the script ID to be valid. (closes #6804)
9912Files: src/globals.h, src/evalvars.c, src/profiler.c, src/scriptfile.c,
9913 src/vim9compile.c, src/testdir/test_vim9_script.vim
9914
9915Patch 8.2.1540
9916Problem: The user cannot try out emoji character widths.
9917Solution: Move the emoji script to the runtime/tools directory.
9918Files: Filelist, src/testdir/emoji_list.vim, runtime/tools/emoji_list.vim
9919
9920Patch 8.2.1541
9921Problem: Vim9: cannot find function reference for s:Func.
9922Solution: Recognize <SNR> prefix. (closes #6805)
9923Files: src/userfunc.c, src/vim9execute.c,
9924 src/testdir/test_vim9_script.vim
9925
9926Patch 8.2.1542
9927Problem: Vim9: test with invalid SID does not work in the GUI.
9928Solution: Skip the test in the GUI.
9929Files: src/testdir/test_vim9_script.vim
9930
9931Patch 8.2.1543
9932Problem: Vim9: test with invalid SID is skipped in the GUI.
9933Solution: Read the CTRL-C that feedkeys() put in typeahead.
9934Files: src/testdir/test_vim9_script.vim
9935
9936Patch 8.2.1544
9937Problem: Cannot translate messages in a Vim script.
9938Solution: Add gettext(). Try it out for a few messages in the options
9939 window.
9940Files: Filelist, src/po/Makefile, src/po/README.txt, runtime/optwin.vim,
9941 src/evalfunc.c, src/po/tojavascript.vim, src/po/fixfilenames.vim,
9942 runtime/doc/eval.txt, runtime/doc/usr_41.txt
9943
9944Patch 8.2.1545
9945Problem: ch_logfile() is unclear about closing when forking.
9946Solution: Adjust the log messages.
9947Files: src/channel.c, src/os_unix.c
9948
9949Patch 8.2.1546
9950Problem: Build rule for Vim.app is unused.
9951Solution: Delete the related build rules.
9952Files: src/Makefile
9953
9954Patch 8.2.1547
9955Problem: Various comment problems.
9956Solution: Update comments.
9957Files: src/arglist.c, src/map.c, src/mbyte.c, src/tag.c, src/undo.c,
9958 src/testdir/README.txt, src/testdir/test_put.vim,
9959 src/libvterm/README
9960
9961Patch 8.2.1548
9962Problem: Cannot move position of "%%" in message translations. (Emir Sarı)
9963Solution: Improve the check script.
9964Files: src/po/check.vim
9965
9966Patch 8.2.1549
9967Problem: The "r" command fails for keys with modifiers if 'esckeys' is off
9968 and modifyOtherKeys is used. (Lauri Tirkkonen)
9969Solution: Temporarily disable bracketed paste and modifyOtherKeys if
9970 'esckeys' is off. (closes #6809)
9971Files: src/normal.c
9972
9973Patch 8.2.1550
9974Problem: Vim9: bufname('%') gives an error.
9975Solution: Only give an error for wrong argument type. (closes #6807)
9976Files: src/evalbuffer.c, src/testdir/test_vim9_func.vim
9977
9978Patch 8.2.1551
9979Problem: Vim9: error for argument type does not mention the number.
9980Solution: Pass the argument number to where the error is given.
9981Files: src/vim9type.c, src/proto/vim9type.pro, src/vim9compile.c,
9982 src/vim9execute.c, src/vim9script.c, src/eval.c,
9983 src/testdir/test_vim9_func.vim
9984
9985Patch 8.2.1552
9986Problem: Warnings from asan with clang-11. (James McCoy)
9987Solution: Avoid using a NULL pointer. (issue #6811)
9988Files: src/fold.c
9989
9990Patch 8.2.1553 (after 8.2.1552)
9991Problem: Crash in edit test.
9992Solution: Avoid using invalid pointer.
9993Files: src/fold.c
9994
9995Patch 8.2.1554
9996Problem: Crash in normal test.
9997Solution: Skip adjusting marks if there are no folds.
9998Files: src/fold.c
9999
10000Patch 8.2.1555
10001Problem: Not all tests are executed on Github Actions.
10002Solution: Copy "src" to "src2" earlier. Recognize "src2" in a couple more
10003 places. Add two tests to the list of flaky tests. (Ken Takata,
10004 closes #6798)
10005Files: .github/workflows/ci-windows.yaml, src/testdir/runtest.vim,
10006 src/testdir/test_python2.vim, src/testdir/test_python3.vim
10007
10008Patch 8.2.1556
10009Problem: Cursorline highlighting always overrules sign highlighting.
10010Solution: Combine the highlighting, use the priority to decide how.
10011 (closes #6812)
10012Files: runtime/doc/sign.txt, src/structs.h, src/drawline.c,
10013 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim,
10014 src/testdir/test_signs.vim,
10015 src/testdir/dumps/Test_sign_cursor_5.dump,
10016 src/testdir/dumps/Test_sign_cursor_6.dump
10017
10018Patch 8.2.1557
10019Problem: Crash in :vimgrep when started as "vim -n". (Raul Segura)
10020Solution: Check mfp pointer. (Yegappan Lakshmanan, closes #6827)
10021Files: src/quickfix.c, src/testdir/test_quickfix.vim
10022
10023Patch 8.2.1558
10024Problem: Signs test fails.
10025Solution: Add missing change to sign.c.
10026Files: src/sign.c
10027
10028Patch 8.2.1559
10029Problem: s390x tests work again.
10030Solution: re-enable s390x tests. (James McCoy, closes #6829)
10031Files: .travis.yml
10032
10033Patch 8.2.1560
10034Problem: Using NULL pointers in some code. (James McCoy)
10035Solution: Avoid adding to a NULL pointer. Use byte as unsigned.
10036Files: src/fold.c, src/eval.c, src/spellsuggest.c, src/spellfile.c,
10037 src/vim9compile.c
10038
10039Patch 8.2.1561
10040Problem: Using NULL pointers in fold code.
10041Solution: Avoid using a NULL pointer. (Dominique Pellé, closes #6831,
10042 closes #6831)
10043Files: src/fold.c
10044
10045Patch 8.2.1562
10046Problem: Vim9: error when using "%" where a buffer is expected.
10047Solution: Add tv_get_buf_from_arg(). (closes #6814)
10048Files: src/typval.c, src/proto/typval.pro, src/evalbuffer.c,
10049 src/testdir/test_vim9_func.vim
10050
10051Patch 8.2.1563
10052Problem: Vim9: error when using '%" with setbufvar() or getbufvar().
10053Solution: Use tv_get_buf_from_arg(). (closes #6816)
10054Files: src/evalvars.c, src/testdir/test_vim9_func.vim
10055
10056Patch 8.2.1564
10057Problem: A few remaining errors from ubsan.
10058Solution: Avoid the warnings. (Dominique Pellé, closes #6837)
10059Files: src/spellfile.c, src/spellsuggest.c, src/viminfo.c
10060
10061Patch 8.2.1565
10062Problem: Spellfile test sometimes fails.
10063Solution: Check running into the end of the file.
10064Files: src/spellfile.c
10065
10066Patch 8.2.1566
10067Problem: Not all Bazel files are recognized.
10068Solution: Add *.bazel and *.BUILD. (closes #6836)
10069Files: runtime/filetype.vim, src/testdir/test_filetype.vim
10070
10071Patch 8.2.1567
10072Problem: No example to use ubsan with clang.
10073Solution: Add example commands. (Dominique Pellé, issue #6811)
10074Files: src/Makefile
10075
10076Patch 8.2.1568
10077Problem: prop_find() skips properties in the same line if "skipstart" is
10078 used.
10079Solution: Use "continue" instead of "break". (closes #6840)
10080Files: src/textprop.c, src/testdir/test_textprop.vim
10081
10082Patch 8.2.1569
10083Problem: Vim9: fixes for functions not tested; failure in getchangelist().
10084Solution: Add tests. (closes #6813, closes #6815, closes #6817)
10085Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10086
10087Patch 8.2.1570
10088Problem: Configure check for dirfd() does not work on HPUX. (Michael Osipov)
10089Solution: Use AC_TRY_LINK instead of AC_TRY_COMPILE. (closes #6838)
10090Files: src/configure.ac, src/auto/configure, src/fileio.c, src/globals.h
10091
10092Patch 8.2.1571
10093Problem: Vim9: count() third argument cannot be "true".
10094Solution: Use tv_get_bool_chk(). (closes #6818)
10095Files: src/typval.c, src/list.c, src/testdir/test_vim9_func.vim
10096
10097Patch 8.2.1572
10098Problem: Vim9: expand() does not take "true" as argument.
10099Solution: Use tv_get_bool_chk(). (closes #6819)
10100Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10101
10102Patch 8.2.1573
10103Problem: Vim9: getreg() does not take "true" as argument.
10104Solution: Use tv_get_bool_chk(). (closes #6820)
10105Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10106
10107Patch 8.2.1574
10108Problem: Vim9: glob() does not take "true" as argument.
10109Solution: Use tv_get_bool_chk(). (closes #6821)
10110Files: src/filepath.c, src/testdir/test_vim9_func.vim
10111
10112Patch 8.2.1575
10113Problem: Vim9: globpath() does not take "true" as argument.
10114Solution: Use tv_get_bool_chk(). (closes #6821)
10115Files: src/filepath.c, src/testdir/test_vim9_func.vim
10116
10117Patch 8.2.1576
10118Problem: Vim9: index() does not take "true" as argument.
10119Solution: Use tv_get_bool_chk(). (closes #6823)
10120Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10121
10122Patch 8.2.1577
10123Problem: Vim9: hasmapto(), mapcheck() and maparg() do not take "true" as
10124 argument.
10125Solution: Use tv_get_bool(). (closes #6822, closes #6824)
10126Files: src/evalfunc.c, src/map.c, src/testdir/test_vim9_func.vim
10127
10128Patch 8.2.1578
10129Problem: Vim9: popup_clear() does not take "true" as argument.
10130Solution: Use tv_get_bool(). (closes #6826)
10131Files: src/popupwin.c, src/testdir/test_popupwin.vim
10132
10133Patch 8.2.1579
10134Problem: Reports from asan are not optimal.
10135Solution: Use clang with ubsan. (James McCoy, closes #6811)
10136Files: .travis.yml
10137
10138Patch 8.2.1580
10139Problem: Wildmenu does not work properly.
10140Solution: Do not call may_do_incsearch_highlighting() if completion is in
10141 progress.
10142Files: src/ex_getln.c, src/testdir/test_cmdline.vim,
10143 src/testdir/dumps/Test_wildmenu_1.dump,
10144 src/testdir/dumps/Test_wildmenu_2.dump,
10145 src/testdir/dumps/Test_wildmenu_3.dump,
10146 src/testdir/dumps/Test_wildmenu_4.dump
10147
10148Patch 8.2.1581
10149Problem: Using line() for global popup window doesn't work.
10150Solution: Set tabpage to "curtab". (closes #6847)
10151Files: src/evalwindow.c, src/testdir/test_popupwin.vim
10152
10153Patch 8.2.1582
10154Problem: The channel log does not show typed text.
10155Solution: Add raw typed text to the log file.
10156Files: src/ui.c, src/os_win32.c
10157
10158Patch 8.2.1583
10159Problem: MS-Windows: cannot easily measure code coverage.
10160Solution: Add the COVERAGE option. (Ken Takata, closes #6842)
10161Files: src/Make_cyg_ming.mak
10162
10163Patch 8.2.1584
10164Problem: Vim9: cannot use "true" for "skipstart" in prop_find().
10165Solution: Use dict_get_bool() instead of tv_get_number(). (closes #6852)
10166Files: src/textprop.c, src/testdir/test_textprop.vim
10167
10168Patch 8.2.1585
10169Problem: Messages in errors.h not translated, xgettext on MS-Windows not
10170 fully supported.
10171Solution: Add errors.h to list of input files. Update MS-Windows makefiles
10172 to improve message translations. (Ken Takata, closes #6858)
10173Files: src/po/Make_cyg.mak, src/po/Make_ming.mak, src/po/Make_mvc.mak,
10174 src/po/Makefile, src/po/README.txt, src/po/fixfilenames.vim
10175
10176Patch 8.2.1586
10177Problem: :resize command not fully tested.
10178Solution: Add a couple of tests. (Dominique Pellé, closes #6857)
10179Files: src/testdir/test_window_cmd.vim
10180
10181Patch 8.2.1587
10182Problem: Loop for handling keys for the command line is too long.
10183Solution: Move wild menu handling to separate functions. (Yegappan
10184 Lakshmanan, closes #6856)
10185Files: src/cmdexpand.c, src/proto/cmdexpand.pro, src/ex_getln.c
10186
10187Patch 8.2.1588
10188Problem: Cannot read back the prompt of a prompt buffer.
10189Solution: Add prompt_getprompt(). (Ben Jackson, closes #6851)
10190Files: runtime/doc/channel.txt, runtime/doc/eval.txt,
10191 runtime/doc/usr_41.txt, src/channel.c, src/edit.c, src/evalfunc.c,
10192 src/proto/channel.pro, src/proto/edit.pro,
10193 src/testdir/test_prompt_buffer.vim
10194
10195Patch 8.2.1589
10196Problem: Term_start() options for size are overruled by 'termwinsize'.
10197 (Sergey Vlasov)
10198Solution: Set 'termwinsize' to the specified size.
10199Files: src/terminal.c, src/testdir/test_terminal2.vim,
10200 src/testdir/term_util.vim
10201
10202Patch 8.2.1590
10203Problem: Vim9: bufnr() doesn't take "true" argument.
10204Solution: use tv_get_bool_chk(). (closes #6863)
10205Files: src/evalbuffer.c, src/testdir/test_vim9_func.vim
10206
10207Patch 8.2.1591
10208Problem: Using winheight('.') in tests works but is wrong.
10209Solution: Use winheight(0). (issue #6863)
10210Files: src/testdir/test_functions.vim, src/testdir/test_quickfix.vim
10211
10212Patch 8.2.1592
10213Problem: Vim9: passing "true" to char2nr() fails.
10214Solution: Use tv_get_bool_chk(). (closes #6865)
10215Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10216
10217Patch 8.2.1593
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010218Problem: Tests do not check the error number properly.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010219Solution: Add a colon after the error number. (closes #6869)
10220Files: src/testdir/test_assert.vim, src/testdir/test_autocmd.vim,
10221 src/testdir/test_backspace_opt.vim, src/testdir/test_channel.vim,
10222 src/testdir/test_clientserver.vim, src/testdir/test_cmdline.vim,
10223 src/testdir/test_const.vim, src/testdir/test_cscope.vim,
10224 src/testdir/test_eval_stuff.vim, src/testdir/test_functions.vim,
10225 src/testdir/test_global.vim, src/testdir/test_gui.vim,
10226 src/testdir/test_hlsearch.vim, src/testdir/test_lambda.vim,
10227 src/testdir/test_let.vim, src/testdir/test_listdict.vim,
10228 src/testdir/test_move.vim, src/testdir/test_normal.vim,
10229 src/testdir/test_popupwin.vim, src/testdir/test_put.vim,
10230 src/testdir/test_quickfix.vim, src/testdir/test_rename.vim,
10231 src/testdir/test_search.vim, src/testdir/test_signs.vim,
10232 src/testdir/test_substitute.vim, src/testdir/test_syntax.vim,
10233 src/testdir/test_tagfunc.vim, src/testdir/test_tagjump.vim,
10234 src/testdir/test_taglist.vim, src/testdir/test_terminal.vim,
10235 src/testdir/test_terminal2.vim, src/testdir/test_textprop.vim,
10236 src/testdir/test_timers.vim, src/testdir/test_true_false.vim,
10237 src/testdir/test_user_func.vim, src/testdir/test_vim9_func.vim,
10238 src/testdir/test_vim9_script.vim, src/testdir/test_vimscript.vim,
10239 src/testdir/test_winbar.vim, src/testdir/test_winbuf_close.vim,
10240 src/testdir/test_window_cmd.vim, src/testdir/test_writefile.vim
10241
10242Patch 8.2.1594
10243Problem: Pull requests on github do not notify a maintainer.
10244Solution: Add a CODEOWNERS file with a few initial entries.
10245Files: Filelist, .github/CODEOWNERS
10246
10247Patch 8.2.1595
10248Problem: Cannot easily see what Vim sends to the terminal.
10249Solution: Write output to the channel log if it contains terminal control
10250 sequences. Avoid warnings for tputs() argument.
10251Files: src/term.c, src/globals.h, src/edit.c, src/normal.c,
10252 src/optionstr.c
10253
10254Patch 8.2.1596
10255Problem: Using win_screenpos('.') in tests works but is wrong.
10256Solution: Use win_screenpos(0).
10257Files: src/testdir/test_terminal3.vim
10258
10259Patch 8.2.1597
10260Problem: The channel source file is too big.
10261Solution: Move job related code to a new source file.
10262Files: Filelist, src/Makefile, src/Make_mvc.mak, src/Make_cyg_ming.mak,
10263 src/channel.c, src/proto/channel.pro, src/job.c,
10264 src/proto/job.pro, src/proto.h, src/edit.c, src/proto/edit.pro,
10265 src/globals.h, src/configure.ac, src/auto/configure
10266
10267Patch 8.2.1598
10268Problem: Starting a hidden terminal resizes the current window.
10269Solution: Do not resize the current window for a hidden terminal.
10270 (closes #6872)
10271Files: src/terminal.c, src/testdir/test_terminal2.vim
10272
10273Patch 8.2.1599
10274Problem: Missing line end when skipping a long line with :cgetfile.
10275Solution: Fix off-by-one error. (closes #6870)
10276Files: src/quickfix.c, src/testdir/test_quickfix.vim
10277
10278Patch 8.2.1600
10279Problem: Vim9: cannot use "true" with deepcopy().
10280Solution: Use tv_get_bool_chk(). (closes #6867)
10281Files: src/evalfunc.c, src/testdir/test_vim9_func.vim,
10282 src/testdir/test_listdict.vim
10283
10284Patch 8.2.1601
10285Problem: Vim9: cannot use "true" with garbagecollect().
10286Solution: Use tv_get_bool(). (closes #6871)
10287Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10288
10289Patch 8.2.1602
10290Problem: Vim9: cannot use "true" with getbufinfo().
10291Solution: Use dict_get_bool(). (closes #6873)
10292Files: src/evalbuffer.c, src/testdir/test_vim9_func.vim
10293
10294Patch 8.2.1603
10295Problem: Vim9: cannot use "true" with getchar().
10296Solution: use tv_get_bool_chk(). (closes #6874)
10297Files: src/getchar.c, src/testdir/test_vim9_func.vim
10298
10299Patch 8.2.1604
10300Problem: Vim9: cannot use "true" with getcompletion().
10301Solution: use tv_get_bool_chk(). (closes #6875)
10302Files: src/cmdexpand.c, src/testdir/test_vim9_func.vim
10303
10304Patch 8.2.1605
10305Problem: Default maintainer on github is wrong.
10306Solution: Use Bram's account.
10307Files: .github/CODEOWNERS
10308
10309Patch 8.2.1606
10310Problem: Vim9: cannot use "true" with has().
10311Solution: Use tv_get_bool(). (closes #6876)
10312Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10313
10314Patch 8.2.1607
10315Problem: Vim9: getchar() test fails on MS-Windows.
10316Solution: First consume any available input.
10317Files: src/testdir/test_vim9_func.vim
10318
10319Patch 8.2.1608
10320Problem: Vim9: getchar() test fails with GUI.
10321Solution: Avoid that getchar(0) gets stuck on K_IGNORE.
10322Files: src/getchar.c
10323
10324Patch 8.2.1609
10325Problem: Vim9: test fails when build without +channel.
10326Solution: Add check for +channel. (closes #6879)
10327Files: src/testdir/test_vim9_expr.vim
10328
10329Patch 8.2.1610
10330Problem: Vim9: cannot pass "true" to list2str() and str2list().
10331Solution: Use tv_get_bool_chk(). (closes #6877)
10332Files: src/evalfunc.c, src/list.c, src/testdir/test_vim9_func.vim
10333
10334Patch 8.2.1611
10335Problem: Vim9: cannot pass "true" to nr2char().
10336Solution: use tv_get_bool_chk(). (closes #6878)
10337Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10338
10339Patch 8.2.1612
10340Problem: Vim9: cannot pass "true" to prop_remove().
10341Solution: Use dict_get_bool(). (closes #6853)
10342Files: src/textprop.c, src/testdir/test_textprop.vim
10343
10344Patch 8.2.1613
10345Problem: Vim9: cannot pass "true" to prop_type_add().
10346Solution: Use tv_get_bool(). (closes #6850)
10347Files: src/textprop.c, src/testdir/test_textprop.vim
10348
10349Patch 8.2.1614
10350Problem: Vim9: cannot pass "true" to searchcount().
10351Solution: Use tv_get_bool_chk(). (closes #6854)
10352Files: src/search.c, src/testdir/test_vim9_func.vim
10353
10354Patch 8.2.1615
10355Problem: Vim9: cannot pass "true" to searchdecl().
10356Solution: use tv_get_bool_chk(). (closes #6881)
10357Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10358
10359Patch 8.2.1616
10360Problem: Vim9: cannot pass "true" to synID().
10361Solution: Use tv_get_bool_chk(). (closes #6860)
10362Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10363
10364Patch 8.2.1617
10365Problem: Vim9: cannot pass "true" to win_splitmove().
10366Solution: Use dict_get_bool(). (closes #6862) Alphabetize test functions.
10367Files: src/evalwindow.c, src/testdir/test_vim9_func.vim
10368
10369Patch 8.2.1618
10370Problem: Vim9: cannot pass "true" to setloclist().
10371Solution: Use dict_get_bool(). (closes #6882)
10372Files: src/quickfix.c, src/testdir/test_vim9_func.vim
10373
10374Patch 8.2.1619
10375Problem: Vim9: cannot pass "true" to spellsuggest().
10376Solution: Use tv_get_bool_chk(). (closes #6883)
10377Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10378
10379Patch 8.2.1620
10380Problem: searchcount() test fails.
10381Solution: Restore default flag value.
10382Files: src/search.c
10383
10384Patch 8.2.1621
10385Problem: Crash when using submatch(0, 1) in substitute().
10386Solution: Increment reference count. (closes #6887)
10387Files: src/regexp.c, src/testdir/test_substitute.vim
10388
10389Patch 8.2.1622
10390Problem: Loop to handle keys for the command line is too long.
10391Solution: Move code to functions. (Yegappan Lakshmanan, closes #6880)
10392Files: src/ex_getln.c
10393
10394Patch 8.2.1623
10395Problem: Vim9: using :call where it is not needed.
10396Solution: Remove :call. (closes #6892)
10397Files: src/testdir/test_maparg.vim, src/testdir/test_textprop.vim,
10398 src/testdir/test_vim9_disassemble.vim,
10399 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
10400 src/testdir/test_vim9_script.vim
10401
10402Patch 8.2.1624
10403Problem: Vim9: cannot pass "true" to split(), str2nr() and strchars().
10404Solution: Use tv_get_bool_chk(). (closes #6884, closes #6885, closes #6886)
10405Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10406
10407Patch 8.2.1625
10408Problem: Compiler warning for use of fptr_T.
10409Solution: Make the type less strict.
10410Files: src/regexp.c
10411
10412Patch 8.2.1626
10413Problem: Test for strchars() fails with different error number.
10414Solution: Adjust the error number.
10415Files: src/testdir/test_utf8.vim
10416
10417Patch 8.2.1627
10418Problem: Vim9: cannot pass "true" to submatch(), term_gettty() and
10419 term_start()
10420Solution: Use tv_get_bool_chk(). (closes #6888, closes #6890, closes #6889)
10421Files: src/evalfunc.c, src/terminal.c, src/job.c,
10422 src/testdir/test_vim9_func.vim
10423
10424Patch 8.2.1628
10425Problem: Vim9: cannot pass "true" to timer_paused().
10426Solution: Use tv_get_bool(). (closes #6891)
10427Files: src/time.c, src/testdir/test_vim9_func.vim
10428
10429Patch 8.2.1629
10430Problem: Test fails without terminal feature.
10431Solution: Check for terminal feature.
10432Files: src/testdir/test_vim9_func.vim
10433
10434Patch 8.2.1630
10435Problem: Terminal test fails.
10436Solution: Correct argument to term_start(). Correct error number.
10437Files: src/testdir/test_terminal.vim, src/testdir/test_terminal2.vim
10438
10439Patch 8.2.1631
10440Problem: test_fails() does not check the context of the line number.
10441Solution: Use another argument to specify the context of the line number.
10442Files: runtime/doc/testing.txt, runtime/doc/eval.txt,
10443 src/testdir/test_vim9_func.vim, src/testing.c, src/globals.h,
10444 src/evalfunc.c, src/message.c
10445
10446Patch 8.2.1632
10447Problem: Not checking the context of test_fails().
10448Solution: Add the line number and context arguments. Give error if
10449 assert_fails() argument types are wrong.
10450Files: src/testing.c, src/errors.h, src/testdir/test_assert.vim,
10451 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
10452
10453Patch 8.2.1633
10454Problem: Some error messages are internal but do not use iemsg().
10455Solution: Use iemsg(). (Dominique Pellé, closes #6894)
10456Files: src/regexp.c, src/regexp_bt.c, src/regexp_nfa.c
10457
10458Patch 8.2.1634
10459Problem: Loop to handle keys for the command line is too long.
10460Solution: Move a few more parts to separate functions. (Yegappan Lakshmanan,
10461 closes #6895)
10462Files: src/ex_getln.c, src/testdir/test_cmdline.vim
10463
10464Patch 8.2.1635
10465Problem: No digraph for 0x2022 BULLET.
10466Solution: Use "oo". (Hans Ginzel, closes #6904)
10467Files: src/digraph.c, runtime/doc/digraph.txt
10468
10469Patch 8.2.1636
10470Problem: Get stuck if a popup filter causes an error.
10471Solution: Check whether the function can be called and does not cause an
10472 error. (closes #6902)
10473Files: src/structs.h, src/popupwin.c, src/testdir/test_popupwin.vim
10474 src/testdir/dumps/Test_popupwin_wrong_name.dump,
10475 src/testdir/dumps/Test_popupwin_three_errors_1.dump,
10476 src/testdir/dumps/Test_popupwin_three_errors_2.dump
10477
10478Patch 8.2.1637
10479Problem: Vim9: :put ={expr} does not work inside :def function.
10480Solution: Add ISN_PUT. (closes #6397)
10481Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/register.c,
10482 src/proto/register.pro, src/edit.c, src/ex_docmd.c, src/mouse.c,
10483 src/normal.c, src/testdir/test_vim9_cmd.vim,
10484 src/testdir/test_vim9_disassemble.vim
10485
10486Patch 8.2.1638
10487Problem: Leaking memory when popup filter function can't be called.
10488Solution: Don't return too soon.
10489Files: src/popupwin.c
10490
10491Patch 8.2.1639
10492Problem: Options window cannot be translated.
10493Solution: Get the translation for "local to" texts once and use them in many
10494 places. Fix that 'whichwrap' is not a local option. (issue #6800)
10495Files: runtime/optwin.vim
10496
10497Patch 8.2.1640
10498Problem: Amiga: missing header for getgrgid().
10499Solution: Add the grp.h header. (Ola Söder, closes #6906)
10500Files: src/os_amiga.h
10501
10502Patch 8.2.1641
10503Problem: Vim9: cannot use 0 or 1 where a bool is expected.
10504Solution: Allow using 0 and 1 for a bool type. (closes #6903)
10505Files: src/vim9compile.c, src/vim9type.c, src/proto/vim9type.pro,
10506 src/structs.h, src/testdir/test_vim9_script.vim
10507
10508Patch 8.2.1642
10509Problem: Options test fails.
10510Solution: Correct call to OptionG().
10511Files: runtime/optwin.vim
10512
10513Patch 8.2.1643
10514Problem: Vim9: :defcompile compiles dead functions.
10515Solution: Skip over dead functions.
10516Files: src/userfunc.c
10517
10518Patch 8.2.1644
10519Problem: Vim9: cannot assign 1 and 0 to bool at script level.
10520Solution: Add the TTFLAG_BOOL_OK flag to the type. Fix name of test
10521 function.
10522Files: src/vim9type.c, src/testdir/test_vim9_script.vim,
10523 src/testdir/vim9.vim, src/testdir/test_vim9_expr.vim
10524
10525Patch 8.2.1645
10526Problem: GTK3: icons become broken images when resized.
10527Solution: Use gtk_image_new_from_icon_name(). (closes #6916)
10528 Fix compiler warnings.
10529Files: src/gui_gtk_x11.c
10530
10531Patch 8.2.1646
10532Problem: Amiga: Unnecessary #include.
10533Solution: Remove the #include. (Ola Söder, closes #6908)
10534Files: src/version.c
10535
10536Patch 8.2.1647
10537Problem: Vim9: result of expression with && and || cannot be assigned to a
10538 bool variable.
10539Solution: Add the TTFLAG_BOOL_OK flag and convert the value if needed.
10540Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
10541 src/testdir/test_vim9_disassemble.vim
10542
10543Patch 8.2.1648
10544Problem: Amiga: no common build file for Amiga (-like) systems.
10545Solution: Turn Make_morph.mak into Make_ami.mak. (Ola Söder, closes #6805)
10546Files: Filelist, src/Make_ami.mak, src/Make_morph.mak, src/INSTALLami.txt
10547
10548Patch 8.2.1649
10549Problem: GTK3: using old file chooser.
10550Solution: Use native file chooser on GTK 3.20 and above. (Yogeshwar
10551 Velingker, closes #6909)
10552Files: src/gui_gtk.c
10553
10554Patch 8.2.1650
10555Problem: Vim9: result of && and || expression cannot be assigned to a bool
10556 at the script level.
10557Solution: Add the VAR_BOOL_OK flag. Convert to bool when needed.
10558Files: src/structs.h, src/vim9type.c, src/proto/vim9type.pro,
10559 src/vim9script.c, src/evalvars.c, src/eval.c,
10560 src/testdir/test_vim9_script.vim
10561
10562Patch 8.2.1651
10563Problem: Spellfile code not completely tested.
10564Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #6918)
10565Files: src/testdir/test_spellfile.vim
10566
10567Patch 8.2.1652
10568Problem: Cannot translate lines in the options window.
10569Solution: Use the AddOption() function to split descriptions where indicated
10570 by a line break. (issue #6800)
10571Files: runtime/optwin.vim
10572
10573Patch 8.2.1653
10574Problem: Expand('<stack>') does not include the final line number.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010575Solution: Add the line number. (closes #6927)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010576Files: src/vim.h, src/scriptfile.c, src/proto/scriptfile.pro,
10577 src/debugger.c, src/ex_docmd.c, src/ex_eval.c, src/message.c,
10578 src/testing.c, src/testdir/test_expand_func.vim
10579
10580Patch 8.2.1654
10581Problem: When job writes to hidden buffer current window has display
10582 errors. (Johnny McArthur)
10583Solution: Use aucmd_prepbuf() instead of switch_to_win_for_buf().
10584 (closes #6925)
10585Files: src/channel.c
10586
10587Patch 8.2.1655
10588Problem: Cannot build with Strawberry Perl 5.32.0.
10589Solution: Use Perl_sv_2pvbyte_flags. (closes #6921)
10590Files: src/if_perl.xs
10591
10592Patch 8.2.1656
10593Problem: Vim9: callstack wrong if :def function calls :def function.
10594Solution: Set the line number before calling. (closes #6914)
10595Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
10596
10597Patch 8.2.1657
10598Problem: Vim9: no proper error for nested ":def!".
10599Solution: Check for "!". (closes #6920)
10600Files: src/errors.h, src/vim9compile.c, src/testdir/test_vim9_func.vim
10601
10602Patch 8.2.1658
10603Problem: Expand('<stack>') has trailing "..".
10604Solution: Remove the "..". (closes #6927)
10605Files: src/scriptfile.c, src/testdir/test_expand_func.vim
10606
10607Patch 8.2.1659
10608Problem: Spellfile code not completely tested.
10609Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #6929)
10610Files: src/testdir/test_spell.vim, src/testdir/test_spellfile.vim
10611
10612Patch 8.2.1660
10613Problem: Assert functions require passing expected result as the first
10614 argument, which isn't obvious.
10615Solution: Use a method, as in "runtest()->assert_equal(expected)".
10616Files: src/testdir/test_vim9_func.vim
10617
10618Patch 8.2.1661
10619Problem: Cannot connect to 127.0.0.1 for host with only IPv6 addresses.
10620Solution: pass AI_V4MAPPED flag to getaddrinfo. (Filipe Brandenburger,
10621 closes #6931)
10622Files: src/channel.c
10623
10624Patch 8.2.1662
10625Problem: :mksession does not restore shared terminal buffer properly.
10626Solution: Keep a hashtab with terminal buffers. (Rob Pilling, closes #6930)
10627Files: src/hashtab.c, src/proto/terminal.pro, src/session.c,
10628 src/terminal.c, src/testdir/test_mksession.vim
10629
10630Patch 8.2.1663
10631Problem: Options window entries cannot be translated.
10632Solution: Use AddOption() for all explanations. (closes #6800)
10633Files: runtime/optwin.vim
10634
10635Patch 8.2.1664
10636Problem: Memory leak when using :mkview with a terminal buffer.
10637Solution: Don't use a hastab for :mkview. (Rob Pilling, closes #6935)
10638Files: src/session.c, src/terminal.c, src/testdir/test_mksession.vim
10639
10640Patch 8.2.1665
10641Problem: Cannot do fuzzy string matching.
10642Solution: Add matchfuzzy(). (Yegappan Lakshmanan, closes #6932)
10643Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
10644 src/proto/search.pro, src/search.c, src/testdir/test_functions.vim
10645
10646Patch 8.2.1666
10647Problem: The initial value of 'backupskip' can have duplicate items.
10648Solution: Remove duplicates, like when it is set later. (Tom Ryder,
10649 closes #6940)
10650Files: src/option.c, src/testdir/test_options.vim
10651
10652Patch 8.2.1667
10653Problem: Local function name cannot shadow a global function name.
10654Solution: Ignore global functions when checking a script-local or scoped
10655 function name. (closes #6926)
10656Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro,
10657 src/testdir/test_vim9_func.vim
10658
10659Patch 8.2.1668
10660Problem: Vim9: not accepting 0 or 1 as bool when type is any.
10661Solution: Convert the type with the CHECKTYPE instruction. (closes #6913)
10662Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
10663
10664Patch 8.2.1669
10665Problem: Vim9: memory leak when storing a value fails.
10666Solution: Free the value when not storing it.
10667Files: src/evalvars.c
10668
10669Patch 8.2.1670
10670Problem: A couple of gcc compiler warnings.
10671Solution: Initialize local variables. (Dominique Pellé, closes #6944)
10672Files: src/memline.c, src/option.c
10673
10674Patch 8.2.1671
10675Problem: Vim9: stray error for missing white space.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010676Solution: Do not skip over white space after member. (closes #6917)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010677Files: src/eval.c, src/testdir/test_vim9_expr.vim
10678
10679Patch 8.2.1672
10680Problem: v_lock is used when it is not initialized. (Yegappan Lakshmanan)
10681Solution: Initialize the typval in eval1().
10682Files: src/eval.c
10683
10684Patch 8.2.1673
10685Problem: complete_info() selected index has an invalid value. (Ben Jackson)
10686Solution: Set the index when there is only one match. (closes #6945)
10687 Add test for complete_info().
10688Files: src/insexpand.c, src/testdir/test_ins_complete.vim
10689
10690Patch 8.2.1674
10691Problem: Vim9: internal error when using variable that was not set.
10692Solution: Give a meaningful error. (closes #6937)
10693Files: src/vim9script.c, src/testdir/test_vim9_script.vim
10694
10695Patch 8.2.1675
10696Problem: MinGW: testdir makefile deletes non-existing file.
10697Solution: Use another way to delete the output file if it already exists.
10698 (Michael Soyka)
10699Files: src/testdir/Make_ming.mak
10700
10701Patch 8.2.1676
10702Problem: Compiler warnings for function typecast.
10703Solution: Add an intermediate cast to "void *".
10704Files: src/os_unix.c
10705
10706Patch 8.2.1677
10707Problem: Memory access errors when calling setloclist() in an autocommand.
10708Solution: Give an error if the list was changed unexpectedly. (closes #6946)
10709Files: src/quickfix.c, src/testdir/test_quickfix.vim
10710
10711Patch 8.2.1678
10712Problem: Crash when using ":set" after ":ownsyntax". (Dhiraj Mishra)
10713Solution: Make sure 'spelloptions' is not NULL. (closes #6950)
10714Files: src/syntax.c, src/testdir/test_syntax.vim
10715
10716Patch 8.2.1679
10717Problem: Vim9: ":*" is not recognized as a range.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010718Solution: Move recognizing "*" into skip_range(). (closes #6938)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010719Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/cmdexpand.c,
10720 src/ex_getln.c, src/userfunc.c, src/vim9compile.c,
10721 src/testdir/test_vim9_cmd.vim
10722
10723Patch 8.2.1680
10724Problem: Vim9: line number for compare error is wrong.
10725Solution: Set SOURCING_LNUM. (closes #6936)
10726Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
10727
10728Patch 8.2.1681
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010729Problem: Vim9: unnecessary :call commands in tests.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010730Solution: Remove the commands. (issue #6936)
10731Files: src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
10732
10733Patch 8.2.1682
10734Problem: Vim9: const works in an unexpected way.
10735Solution: ":const" only disallows changing the variable, not the value.
10736 Make "list[0] = 9" work at the script level.
10737Files: src/vim9compile.c, src/evalvars.c, src/testdir/test_vim9_script.vim
10738
10739Patch 8.2.1683
10740Problem: Vim9: assignment test fails.
10741Solution: Include changes to find Ex command.
10742Files: src/ex_docmd.c
10743
10744Patch 8.2.1684
10745Problem: "gF" does not use line number after file in Visual mode.
10746Solution: Look for ":123" after the Visual area. (closes #6952)
10747Files: src/findfile.c, src/testdir/test_gf.vim
10748
10749Patch 8.2.1685
10750Problem: Vim9: cannot declare a constant value.
10751Solution: Introduce ":const!".
10752Files: runtime/doc/vim9.txt, src/ex_cmds.h, src/vim9compile.c,
10753 src/vim9.h, src/vim9execute.c, src/evalvars.c,
10754 src/proto/evalvars.pro, src/errors.h, src/vim.h, src/eval.c,
10755 src/testdir/test_vim9_script.vim
10756
10757Patch 8.2.1686
10758Problem: Vim9: "const!" not sufficiently tested.
10759Solution: Add a few more test cases. Fix type checking.
10760Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
10761
10762Patch 8.2.1687
10763Problem: Vim9: out of bounds error.
10764Solution: Check that cmdidx is not negative.
10765Files: src/vim9compile.c
10766
10767Patch 8.2.1688
10768Problem: Increment/decrement removes text property.
10769Solution: Insert the new number before deleting the old one. (closes #6962)
10770Files: src/ops.c, src/testdir/test_textprop.vim
10771
10772Patch 8.2.1689
10773Problem: 'colorcolumn' doesn't show in indent.
10774Solution: Also draw the column when draw_state is WL_BRI or WL_SBR.
10775 (Alexey Demin, closes #6948, closes #6619)
10776Files: src/drawline.c, src/testdir/dumps/Test_colorcolumn_2.dump,
10777 src/testdir/dumps/Test_colorcolumn_3.dump,
10778 src/testdir/test_highlight.vim
10779
10780Patch 8.2.1690
10781Problem: Text properties not adjusted for "I" in Visual block mode.
10782Solution: Call inserted_bytes(). (closes #6961)
10783Files: src/ops.c, src/change.c, src/proto/change.pro,
10784 src/testdir/test_textprop.vim
10785
10786Patch 8.2.1691
10787Problem: Vim9: list<any> is not accepted where list<number> is expected.
10788Solution: Add functions to allocate and free a type_T, use it in
10789 ISN_CHECKTYPE. (closes #6959)
10790Files: src/vim9.h, src/globals.h, src/vim9compile.c, src/vim9execute.c,
10791 src/vim9type.c, src/proto/vim9type.pro, src/errors.h,
10792 src/evalfunc.c, src/testdir/test_vim9_disassemble.vim,
10793 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
10794 src/testdir/test_vim9_script.vim
10795
10796Patch 8.2.1692
10797Problem: Build fails because TTFLAG_STATIC is missing.
10798Solution: Include missing change.
10799Files: src/structs.h
10800
10801Patch 8.2.1693
10802Problem: "hi def" does not work for cleared highlight.
10803Solution: Check the "sg_cleared" flag. (Maxim Kim, closes #6956,
10804 closes #4405)
10805Files: src/highlight.c, src/testdir/test_highlight.vim
10806
10807Patch 8.2.1694
10808Problem: Compiler warning for loss if data.
10809Solution: Add typecast.
10810Files: src/ops.c
10811
10812Patch 8.2.1695
10813Problem: Vim9: crash when using varargs type "any".
10814Solution: Check if uf_va_type is &t_any. (closes #6957)
10815Files: src/vim9compile.c, src/vim9execute.c,
10816 src/testdir/test_vim9_func.vim
10817
10818Patch 8.2.1696
10819Problem: Unused (duplicate) macros.
10820Solution: Remove the macros.
10821Files: src/spell.c
10822
10823Patch 8.2.1697
10824Problem: Inconsistent capitalization of error messages.
10825Solution: Always start with a capital.
10826Files: src/errors.h, src/testdir/test_vim9_expr.vim,
10827 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim,
10828 src/testdir/test_assert.vim
10829
10830Patch 8.2.1698
10831Problem: Cannot lock a variable in legacy Vim script like in Vim9.
10832Solution: Make ":lockvar 0" work.
10833Files: runtime/doc/eval.txt, src/evalvars.c, src/proto/evalvars.pro,
10834 src/dict.c, src/eval.c, src/list.c, src/typval.c, src/userfunc.c,
10835 src/testdir/test_const.vim, src/testdir/test_listdict.vim
10836
10837Patch 8.2.1699
10838Problem: Build failure due to missing error message.
10839Solution: Add error message.
10840Files: src/errors.h
10841
10842Patch 8.2.1700
10843Problem: Vim9: try/catch causes wrong value to be returned.
10844Solution: Reset tcd_return. (closes #6964)
10845Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
10846
10847Patch 8.2.1701
10848Problem: Vim9: sort("i") does not work.
10849Solution: Don't try getting a number for a string argument. (closes #6958)
10850Files: src/list.c, src/testdir/test_vim9_func.vim
10851
10852Patch 8.2.1702
10853Problem: Crash when using undo after deleting folded lines.
10854Solution: Check for NULL pointer. (closes #6968)
10855Files: src/fold.c, src/testdir/test_fold.vim
10856
10857Patch 8.2.1703
10858Problem: ":highlight clear" does not restore default link.
10859Solution: Remember the default link and restore it. (Antony Scriven,
10860 closes #6970, closes #4405)
10861Files: runtime/doc/syntax.txt, src/highlight.c,
10862 src/testdir/test_highlight.vim
10863
10864Patch 8.2.1704
10865Problem: Vim9: crash in for loop when autoload script has an error.
10866Solution: Reset suppress_errthrow. Check for NULL list. (closes #6967)
10867Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
10868
10869Patch 8.2.1705
10870Problem: "verbose hi Name" reports incorrect info after ":hi clear".
10871Solution: Store the script context. (Antony Scriven, closes #6975)
10872Files: src/highlight.c, src/testdir/test_highlight.vim
10873
10874Patch 8.2.1706
10875Problem: Vim9: crash after running into the "Multiple closures" error.
10876Solution: When a function fails still update any closures. (closes #6973)
10877Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
10878
10879Patch 8.2.1707
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010880Problem: Small inconsistency in highlight test.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010881Solution: Use one argument for :execute. (Antony Scriven, #6975)
10882Files: src/testdir/test_highlight.vim
10883
10884Patch 8.2.1708
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010885Problem: Vim9: error message for function has unprintable characters.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010886Solution: use printable_func_name(). (closes #6965)
10887Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
10888
10889Patch 8.2.1709
10890Problem: Vim9: memory leak when using multiple closures.
10891Solution: Free the partial.
10892Files: src/vim9execute.c
10893
10894Patch 8.2.1710
10895Problem: Vim9: list of list type can be wrong.
10896Solution: Use VAR_UNKNOWN for empty list. Recognize VAR_UNKNOWN when
10897 looking for a common type. (closes #6979)
10898Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
10899
10900Patch 8.2.1711
10901Problem: Vim9: leaking memory when using partial.
10902Solution: Do delete the function even when it was compiled.
10903Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
10904 src/vim9execute.c
10905
10906Patch 8.2.1712
10907Problem: Vim9: leaking memory when calling a lambda.
10908Solution: Decrement function reference from ISN_DCALL.
10909Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro
10910
10911Patch 8.2.1713
10912Problem: Motif GUI: crash when setting menu colors. (Andrzej Bylicki)
10913Solution: Add {} to make "n" incremented correctly. (closes #6989,
10914 closes #5948)
10915Files: src/gui_motif.c
10916
10917Patch 8.2.1714
10918Problem: Text properties corrupted with substitute command. (Filipe
10919 Brandenburger)
10920Solution: Get the changed line again after using u_savesub(). (closes #6984)
10921Files: src/textprop.c, src/testdir/test_textprop.vim
10922
10923Patch 8.2.1715
10924Problem: Motif GUI: commented out code missed {}.
10925Solution: Add {} and reenable the code. (similar to #6989)
10926Files: src/gui_motif.c
10927
10928Patch 8.2.1716
10929Problem: Options window has duplicate translations.
10930Solution: Make one entry for "global or local to buffer". Fix wrong text.
10931 (closes #6983)
10932Files: runtime/optwin.vim
10933
10934Patch 8.2.1717
10935Problem: MS-Windows installer doesn't have Russian translations.
10936Solution: Add Russian translations. (closes #6985)
10937Files: nsis/gvim.nsi, nsis/lang/russian.nsi
10938
10939Patch 8.2.1718
10940Problem: Vim9: :def function disallows "firstline" and "lastline" argument
10941 names for no good reason.
10942Solution: Don't check the arguments for a :def function. (closes #6986)
10943Files: src/userfunc.c, src/testdir/test_vim9_func.vim
10944
10945Patch 8.2.1719
10946Problem: Vim9: no error if comma is missing in between arguments.
10947Solution: Give an error message.
10948Files: src/errors.h, src/vim9compile.c, src/testdir/test_vim9_expr.vim
10949
10950Patch 8.2.1720
10951Problem: Vim9: memory leak with heredoc that isn't executed. (Dominique
10952 Pellé)
10953Solution: Don't clear the list items. (closes #6991)
10954Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
10955
10956Patch 8.2.1721
10957Problem: MS-Windows installer doesn't work.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010958Solution: Write "Russian" in ASCII. (closes #6995, see #6985).
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010959Files: nsis/lang/russian.nsi
10960
10961Patch 8.2.1722
10962Problem: Vim9: cannot assign a lambda to a variable of type function.
10963Solution: Allow for assigning a partial to a variable of type function.
10964 (Naruhiko Nishino, closes #6996)
10965Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
10966
10967Patch 8.2.1723
10968Problem: Vim9: Variable argument name cannot start with underscore.
10969Solution: Use eval_isnamec1(). (closes #6988)
10970Files: src/userfunc.c, src/testdir/test_vim9_func.vim
10971
10972Patch 8.2.1724
10973Problem: Vim9: assignment tests spread out.
10974Solution: Create new test file for assignment tests.
10975Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_cmd.vim,
10976 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_expr.vim,
10977 src/testdir/Make_all.mak
10978
10979Patch 8.2.1725
10980Problem: Not all Pascal files are recognized.
10981Solution: Add filetype patterns. (Doug Kearns)
10982Files: runtime/filetype.vim, src/testdir/test_filetype.vim
10983
10984Patch 8.2.1726
10985Problem: Fuzzy matching only works on strings.
10986Solution: Support passing a dict. Add matchfuzzypos() to also get the match
10987 positions. (Yegappan Lakshmanan, closes #6947)
10988Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
10989 src/proto/search.pro, src/search.c, src/testdir/Make_all.mak,
10990 src/testdir/test_functions.vim, src/testdir/test_matchfuzzy.vim
10991
10992Patch 8.2.1727
10993Problem: A popup created with "cursorline" will ignore "firstline".
10994Solution: When both "cursorline" and "firstline" are present put the cursor
10995 on "firstline". (closes #7000) Add the "winid" argument to
10996 getcurpos().
10997Files: runtime/doc/eval.txt, src/evalfunc.c, src/popupwin.c,
10998 src/evalwindow.c, src/testdir/test_popupwin.vim,
10999 src/testdir/test_functions.vim
11000
11001Patch 8.2.1728
11002Problem: Compiler warning for using uninitialized variable. (John Marriott)
11003Solution: Initialize "neighbor".
11004Files: src/search.c
11005
11006Patch 8.2.1729
11007Problem: Endless loop when ":normal" feeds popup window filter.
11008Solution: Add the ex_normal_busy_done flag.
11009Files: src/globals.h, src/getchar.c, src/evalfunc.c, src/ex_docmd.c,
11010 src/menu.c, src/testdir/test_popupwin.vim,
11011 src/testdir/dumps/Test_popupwin_normal_cmd.dump
11012
11013Patch 8.2.1730
11014Problem: Vim9: cannot use member of unknown type.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011015Solution: When type is unknown use "any". (closes #6997)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011016Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
11017
11018Patch 8.2.1731
11019Problem: Vim9: cannot use += to append to empty NULL list.
11020Solution: Copy the list instead of extending it. (closes #6998)
11021Files: src/eval.c, src/testdir/test_vim9_assign.vim
11022
11023Patch 8.2.1732
11024Problem: Stuck when win_execute() for a popup causes an error.
11025Solution: Disable the filter callback on error. (issue #6999)
11026Files: src/popupwin.c, src/testdir/term_util.vim,
11027 src/testdir/test_popupwin.vim,
11028 src/testdir/dumps/Test_popupwin_win_execute.dump
11029
11030Patch 8.2.1733
11031Problem: Vim9: memory leaks when using nested function.
11032Solution: Free function when compilation fails.
11033Files: src/vim9compile.c
11034
11035Patch 8.2.1734
11036Problem: Vim9: cannot use a funcref for a closure twice.
11037Solution: Instead of putting the funcref on the stack use a growarray on the
11038 execution context.
11039Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
11040 src/testdir/test_vim9_func.vim,
11041 src/testdir/test_vim9_disassemble.vim
11042
11043Patch 8.2.1735
11044Problem: Github actions appear to timeout too soon.
11045Solution: use "timeout" instead of "ping".
11046Files: .github/workflows/ci-windows.yaml
11047
11048Patch 8.2.1736
11049Problem: Failure to compile a pattern not tested much.
11050Solution: Add tests where a pattern fails to compile. (Yegappan Lakshmanan,
11051 closes #7004)
11052Files: src/testdir/gen_opt_test.vim, src/testdir/test_arglist.vim,
11053 src/testdir/test_autocmd.vim, src/testdir/test_buffer.vim,
11054 src/testdir/test_checkpath.vim, src/testdir/test_cmdline.vim,
11055 src/testdir/test_debugger.vim, src/testdir/test_functions.vim,
11056 src/testdir/test_history.vim, src/testdir/test_listdict.vim,
11057 src/testdir/test_options.vim, src/testdir/test_search_stat.vim,
11058 src/testdir/test_sort.vim, src/testdir/test_substitute.vim,
11059 src/testdir/test_syntax.vim, src/testdir/test_tagjump.vim,
11060 src/testdir/test_user_func.vim
11061
11062Patch 8.2.1737
11063Problem: Cursor line highlight in popup window is not always updated.
11064Solution: Check if the cursor has moved. (closes #7010)
11065Files: src/popupwin.c, src/testdir/test_popupwin.vim
11066 src/testdir/dumps/Test_popupwin_win_execute_cursorline.dump
11067
11068Patch 8.2.1738
11069Problem: Mac: str2float() recognizes comma instead of decimal point.
11070Solution: Set LC_NUMERIC to "C". (closes #7003)
11071Files: src/os_mac_conv.c
11072
11073Patch 8.2.1739
11074Problem: Vim9: crash when compiling a manually defined function. (Antony
11075 Scriven)
11076Solution: Check that the script ID is positive. (closes #7012)
11077Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
11078
11079Patch 8.2.1740
11080Problem: Test fails without the terminal feature.
11081Solution: Skip test if the terminal feature is not available.
11082Files: src/testdir/test_vim9_script.vim
11083
11084Patch 8.2.1741
11085Problem: pathshorten() only supports using one character.
11086Solution: Add an argument to control the length. (closes #7006)
11087Files: runtime/doc/eval.txt, src/evalfunc.c, src/filepath.c,
11088 src/proto/filepath.pro, src/testdir/test_functions.vim
11089
11090Patch 8.2.1742
11091Problem: Test still fails without the terminal feature.
11092Solution: Put check for terminal feature in separate function.
11093Files: src/testdir/test_vim9_script.vim
11094
11095Patch 8.2.1743
11096Problem: Cannot build without the eval feature.
11097Solution: Move shorten_dir outside of #ifdef.
11098Files: src/filepath.c
11099
11100Patch 8.2.1744
11101Problem: Vim9: using ":const!" is weird.
11102Solution: Use "var" - "final" - "const" like Dart. "let" still works for
11103 now.
11104Files: runtime/doc/vim9.txt, src/ex_cmds.h, src/errors.h, src/evalvars.c,
11105 src/proto/evalvars.pro, src/cmdexpand.c, src/eval.c,
11106 src/ex_docmd.c, src/vim9compile.c, src/vim9execute.c,
11107 src/vim9script.c, src/vim.h, src/ex_cmdidxs.h,
11108 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_script.vim
11109
11110Patch 8.2.1745
11111Problem: Tiny version doesn't build.
11112Solution: Add dummy ex_var() function.
11113Files: src/ex_docmd.c
11114
11115Patch 8.2.1746
11116Problem: Vim9: Cannot use "fina" for "finally". (Naruhiko Nishino)
11117Solution: Specifically check for "fina". (closes #7020)
11118Files: src/ex_docmd.c, src/testdir/test_trycatch.vim,
11119 src/testdir/test_vim9_script.vim
11120
11121Patch 8.2.1747
11122Problem: Result of expand() unexpectedly depends on 'completeslash'.
11123Solution: Temporarily reset 'completeslash'. (Yasuhiro Matsumoto,
11124 closes #7021)
11125Files: src/evalfunc.c, src/testdir/test_ins_complete.vim
11126
11127Patch 8.2.1748
11128Problem: Closing split window in other tab may cause a crash.
11129Solution: Set tp_curwin properly. (Rob Pilling, closes #7018)
11130Files: src/window.c, src/testdir/test_winbuf_close.vim
11131
11132Patch 8.2.1749
11133Problem: Vim9: crash when closure fails in nested function.
11134Solution: Handle function returns before dereferencing remaining closures.
11135 (closes #7008)
11136Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
11137
11138Patch 8.2.1750
11139Problem: Setting firstline with popup_setoptions() fails if cursorline is
11140 set.
11141Solution: Use apply_options(). Update the popup before applying "zz".
11142 (closes #7010)
11143Files: src/popupwin.c, src/proto/popupwin.pro, src/move.c,
11144 src/testdir/test_popupwin.vim,
11145 src/testdir/dumps/Test_popupwin_win_execute_cursorline.dump,
11146 src/testdir/dumps/Test_popupwin_set_firstline_1.dump,
11147 src/testdir/dumps/Test_popupwin_set_firstline_2.dump
11148
11149Patch 8.2.1751
11150Problem: Using 2 where bool is expected may throw an error.
11151Solution: Make this backwards compatible.
11152Files: src/typval.c, src/evalfunc.c, src/testdir/test_search.vim,
11153 src/testdir/test_terminal2.vim
11154
11155Patch 8.2.1752
11156Problem: GTK GUI: cannot map alt-? with <A-?>. (Ingo Karkat)
11157Solution: Adjust the characters for which the shift modifier is removed.
11158 (closes #7016) Make Motif and Win32 use the same function as GTK.
11159Files: src/misc2.c, src/gui_x11.c, src/gui_w32.c,
11160 src/testdir/test_termcodes.vim
11161
11162Patch 8.2.1753
11163Problem: Vim9: crash when using import at script level.
11164Solution: Give a "not implemented yet" error. (closes #7026)
11165Files: src/evalvars.c
11166
11167Patch 8.2.1754
11168Problem: Completion with spell checking not tested.
11169Solution: Add a test case. (Dominique Pellé, closes #7024)
11170Files: src/testdir/test_spell.vim
11171
11172Patch 8.2.1755
11173Problem: Vim9: crash when using invalid heredoc marker. (Dhiraj Mishra)
11174Solution: Check for NULL list. (closes #7027) Fix comment character.
11175Files: src/vim9compile.c, src/evalvars.c,
11176 src/testdir/test_vim9_assign.vim
11177
11178Patch 8.2.1756
11179Problem: Vim9: :let will soon be disallowed.
11180Solution: Add v:disallow_let temporarily. Fix tests.
11181Files: src/vim.h, src/errors.h, src/evalvars.c, src/vim9compile.c,
11182 src/userfunc.c, src/testdir/test_vim9_script.vim
11183
11184Patch 8.2.1757
11185Problem: Mac: default locale is lacking the encoding.
11186Solution: Add ".UTF-8 to the locale. (Yee Cheng Chin, closes #7022)
11187Files: src/os_mac_conv.c, src/testdir/test_environ.vim
11188
11189Patch 8.2.1758
11190Problem: Vim9: type of unmaterialized list is wrong.
11191Solution: Use list<number>.
11192Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
11193
11194Patch 8.2.1759
11195Problem: Vim9: Some tests are still using :let.
11196Solution: Change more declarations to use :var.
11197Files: src/testdir/test_vim9_expr.vim
11198
11199Patch 8.2.1760
11200Problem: Vim9: crash when end marker is missing. (Dhiraj Mishra)
11201Solution: Check for end of function lines. (closes #7031)
11202Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
11203
11204Patch 8.2.1761
11205Problem: Vim9: Some tests are still using :let.
11206Solution: Change more declarations to use :var.
11207Files: src/testdir/test_vim9_assign.vim,
11208 src/testdir/test_vim9_cmd.vim,
11209 src/testdir/test_vim9_disassemble.vim
11210
11211Patch 8.2.1762
11212Problem: When a timer uses :stopinsert Insert mode completion isn't
11213 stopped. (Stanley Chan)
11214Solution: Call ins_compl_prep(ESC).
11215Files: src/edit.c, src/testdir/test_ins_complete.vim,
11216 src/testdir/dumps/Test_pum_stopped_by_timer.dump
11217
11218Patch 8.2.1763
11219Problem: Vim9: cannot use "true" for popup window scrollbar option.
11220Solution: use dict_get_bool(). (closes #7029)
11221Files: src/popupwin.c, src/testdir/test_popupwin.vim
11222
11223Patch 8.2.1764
11224Problem: Vim9: no error when assigning to script var with wrong type.
11225Solution: Fix off-by-one error. (closes #7028)
11226Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
11227
11228Patch 8.2.1765
11229Problem: Vim9: some tests use "var var".
11230Solution: Use "var name". (closes #7032)
11231Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_expr.vim
11232
11233Patch 8.2.1766
11234Problem: Vim9: Some tests are still using :let.
11235Solution: Change the last few declarations to use :var.
11236Files: src/testdir/runtest.vim, src/testdir/test_vim9_assign.vim,
11237 src/testdir/test_vim9_cmd.vim,
11238 src/testdir/test_vim9_disassemble.vim,
11239 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
11240 src/testdir/test_vim9_script.vim, src/testdir/test_maparg.vim,
11241 src/testdir/test_popupwin.vim, src/testdir/test_textprop.vim
11242
11243Patch 8.2.1767
11244Problem: Vim9: test fails with python support.
11245Solution: Use "let" in legacy function.
11246Files: src/testdir/test_vim9_func.vim
11247
11248Patch 8.2.1768
11249Problem: Cannot use the help menu from a terminal window.
11250Solution: Add ":tlnoremenu" commands. (Yee Cheng Chin, closes #7023)
11251Files: runtime/menu.vim, src/testdir/test_gui.vim
11252
11253Patch 8.2.1769
11254Problem: A popup filter interferes with using :normal to move the cursor in
11255 a popup.
11256Solution: Do not invoke the filter when ex_normal_busy is set.
11257Files: runtime/doc/popup.txt, src/getchar.c, src/evalfunc.c,
11258 src/ex_docmd.c, src/menu.c, src/globals.h,
11259 src/testdir/test_popupwin.vim,
11260 src/testdir/dumps/Test_popupwin_normal_cmd.dump
11261
11262Patch 8.2.1770
11263Problem: Invalid memory use when using SpellFileMissing autocmd.
11264Solution: Add test case. (Dominique Pellé, closes #7036) Fix using a window
11265 that was closed.
11266Files: src/spell.c, src/testdir/test_spell.vim
11267
11268Patch 8.2.1771
11269Problem: synIDattr() cannot get the value of ctermul.
11270Solution: Add the "ul" value for "what". (closes #7037)
11271Files: runtime/doc/eval.txt, src/highlight.c, src/evalfunc.c,
11272 src/testdir/test_highlight.vim
11273
11274Patch 8.2.1772
11275Problem: Cannot use CTRL-W <Down> to move out of a terminal window.
11276Solution: Use special_to_buf() instead of mb_char2bytes(). (closes #7045)
11277Files: src/terminal.c, src/testdir/test_terminal.vim
11278
11279Patch 8.2.1773
11280Problem: Crash when calling mapset() with a list as first argument.
11281Solution: Check for NULL. (closes #7040)
11282Files: src/map.c, src/testdir/test_maparg.vim
11283
11284Patch 8.2.1774
11285Problem: GTK: hang when forced to exit.
11286Solution: Do not clean up "mainwin" when really_exiting is set.
11287 (Zdenek Dohnal, closes #7042)
11288Files: src/gui_gtk_x11.c
11289
11290Patch 8.2.1775
11291Problem: MS-Windows: adding a long quickfix list is slow.
11292Solution: Shorten the buffer name only for the first entry. (Yegappan
11293 Lakshmanan, closes #7039, closes #7033)
11294Files: src/quickfix.c, src/testdir/test_quickfix.vim
11295
11296Patch 8.2.1776
11297Problem: Filetype.vim may be loaded twice.
11298Solution: Do "syntax on" after "filetype on". (Adam Stankiewicz,
11299 closes #7049)
11300Files: runtime/defaults.vim
11301
11302Patch 8.2.1777
11303Problem: Vim9: some assignment tests in the wrong file.
11304Solution: Move assignment tests to test_vim9_assign.
11305Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_script.vim
11306
11307Patch 8.2.1778
11308Problem: Vim9: returning from a partial call clears outer context, causing
11309 a crash.
11310Solution: Put the outer context in the stack frame. (closes #7044)
11311Files: src/vim9execute.c, src/vim9.h, src/testdir/test_vim9_func.vim
11312
11313Patch 8.2.1779
11314Problem: Some debian changelog files are not recognized.
11315Solution: Add */debian/changelog. (Jason Franklin)
11316Files: runtime/filetype.vim, src/testdir/test_filetype.vim
11317
11318Patch 8.2.1780
11319Problem: Statusline not updated when splitting windows.
11320Solution: Call status_redraw_all(). (Jason Franklin, closes #5496)
11321Files: src/window.c, src/testdir/test_statusline.vim
11322
11323Patch 8.2.1781
11324Problem: Writing to prompt buffer interferes with insert mode.
11325Solution: Use win_enter() instead of just setting "curwin". (Ben Jackson,
11326 closes #7035)
11327Files: src/autocmd.c, src/testdir/test_prompt_buffer.vim
11328
11329Patch 8.2.1782
11330Problem: Vim9: cannot pass boolean to mapset().
11331Solution: Use get_tv_bool(). (closes #7041)
11332Files: src/map.c, src/testdir/test_vim9_func.vim
11333
11334Patch 8.2.1783 (after 8.2.1781)
11335Problem: Try-catch test fails.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011336Solution: Don't call win_enter(), only call entering_window().
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011337Files: src/autocmd.c, src/window.c, src/proto/window.pro,
11338 src/testdir/runtest.vim
11339
11340Patch 8.2.1784
11341Problem: commits are not scanned for security problems
11342Solution: Enable Github code scanning. (Christian Brabandt, closes #7057)
11343Files: .github/workflows/codeql-analysis.yml
11344
11345Patch 8.2.1785
11346Problem: Compiler warning for strcpy() out of bounds. (Christian Brabandt)
11347Solution: use memmove() instead.
11348Files: src/dict.c
11349
11350Patch 8.2.1786
11351Problem: Various Normal mode commands not fully tested.
11352Solution: Add more tests. (Yegappan Lakshmanan, closes #7059)
11353Files: src/testdir/test_normal.vim, src/testdir/test_regexp_utf8.vim,
11354 src/testdir/test_registers.vim, src/testdir/test_spellfile.vim,
11355 src/testdir/test_tagjump.vim, src/testdir/test_visual.vim
11356
11357Patch 8.2.1787
11358Problem: Crash with 'incsearch' and very long line.
11359Solution: Check whether regprog becomes NULL. (closes #7063)
11360Files: src/search.c, src/testdir/test_search.vim
11361
11362Patch 8.2.1788
11363Problem: Vim9: still allows :let for declarations.
11364Solution: Make the default for v:disallow_let one. It can still be set to
11365 zero to allow for using :let.
11366Files: src/evalvars.c, src/testdir/runtest.vim
11367
11368Patch 8.2.1789
11369Problem: Vim9: crash with invalid list constant. (Dhiraj Mishra)
11370Solution: Return FAIL when compiling the list fails. (closes #7066)
11371Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_expr.vim
11372
11373Patch 8.2.1790
11374Problem: MS-Windows with Python: crash when executed from Vifm.
11375Solution: Use NUL instead of CONIN. (Ken Takata, closes #7061, closes #7053)
11376Files: src/if_python3.c
11377
11378Patch 8.2.1791
11379Problem: Vim9: debugger test fails.
11380Solution: Use "var" instead of "let".
11381Files: src/testdir/test_debugger.vim
11382
11383Patch 8.2.1792
11384Problem: Configure does not recognize Racket 6.1+.
11385Solution: Add a check for "rktio". (closes #7062)
11386Files: src/configure.ac, src/auto/configure
11387
11388Patch 8.2.1793
11389Problem: Not consistently giving the "is a directory" warning.
11390Solution: Adjust check for illegal file name and directory. (Yasuhiro
11391 Matsumoto, closes #7067)
11392Files: src/fileio.c, src/testdir/test_edit.vim
11393
11394Patch 8.2.1794
11395Problem: No falsy Coalescing operator.
11396Solution: Add the "??" operator. Fix mistake with function argument count.
11397Files: runtime/doc/eval.txt, src/eval.c, src/vim9compile.c,
11398 src/vim9type.c, src/testdir/test_expr.vim,
11399 src/testdir/test_vim9_expr.vim,
11400 src/testdir/test_vim9_disassemble.vim
11401
11402Patch 8.2.1795
11403Problem: Vim9: operators && and || have a confusing result.
11404Solution: Make the result a boolean.
11405Files: runtime/doc/vim9.txt, src/eval.c, src/vim9compile.c,
11406 src/vim9execute.c, src/vim9type.c, src/structs.h, src/vim9.h,
11407 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_assign.vim,
11408 src/testdir/test_vim9_cmd.vim,
11409 src/testdir/test_vim9_disassemble.vim
11410
11411Patch 8.2.1796
11412Problem: Vim9: invalid memory access with weird function name. (Dhiraj
11413 Mishra)
11414Solution: Check the name is valid. Add a test.
11415Files: src/userfunc.c, src/testdir/test_vim9_func.vim
11416
11417Patch 8.2.1797
11418Problem: Vim9: some parts of the code not tested.
11419Solution: Add a few tests.
11420Files: src/testdir/test_vim9_func.vim
11421
11422Patch 8.2.1798
11423Problem: Vim9: ternary operator condition is too permissive.
11424Solution: Use tv_get_bool_chk().
11425Files: runtime/doc/vim9.txt, src/eval.c, src/vim9compile.c,
11426 src/vim9execute.c, src/testdir/vim9.vim,
11427 src/testdir/test_expr.vim, src/testdir/test_vim9_expr.vim,
11428 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_script.vim
11429
11430Patch 8.2.1799
11431Problem: Some Normal mode commands not fully tested.
11432Solution: Add a few more tests. (Yegappan Lakshmanan, closes #7073)
11433Files: src/testdir/test_gf.vim, src/testdir/test_goto.vim,
11434 src/testdir/test_normal.vim, src/testdir/test_registers.vim,
11435 src/testdir/test_startup.vim, src/testdir/test_tabpage.vim,
11436 src/testdir/test_visual.vim
11437
11438Patch 8.2.1800
11439Problem: Vim9: memory leak if "if" condition is invalid.
11440Solution: Free ppconst earlier.
11441Files: src/vim9compile.c
11442
11443Patch 8.2.1801
11444Problem: Undo file not found when using ":args" or ":next".
11445Solution: Handle like editing another file. (closes #7072)
11446Files: src/ex_cmds.c, src/testdir/test_undo.vim
11447
11448Patch 8.2.1802
11449Problem: Vim9: crash with unterminated dict. (Dhiraj Mishra)
11450Solution: Return empty string instead of NULL. (closes #7084)
11451Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
11452
11453Patch 8.2.1803
11454Problem: A few failures are not tested.
11455Solution: Test a few failures. (Dominique Pellé, closes #7075)
11456Files: src/testdir/test_arglist.vim, src/testdir/test_cmdline.vim,
11457 src/testdir/test_json.vim, src/testdir/test_listdict.vim
11458
11459Patch 8.2.1804
11460Problem: resolve('/') returns an empty string.
11461Solution: Don't remove single slash. (closes #7074)
11462Files: src/filepath.c, src/testdir/test_functions.vim
11463
11464Patch 8.2.1805
11465Problem: Unix: terminal mode changed when using ":shell".
11466Solution: Avoid calling settmode() when not needed. (issue #7079)
11467Files: src/os_unix.c
11468
11469Patch 8.2.1806
11470Problem: MS-Windows with Python: Vim freezes after import command.
11471Solution: Use either "NUL" or "CONIN$" when reopening stdin. (Yasuhiro
11472 Matsumoto, closes #7083)
11473Files: src/if_python3.c
11474
11475Patch 8.2.1807
11476Problem: Can use :help in a terminal popup window.
11477Solution: Give an error. (closes #7088)
11478Files: src/help.c, src/testdir/test_popupwin.vim
11479
11480Patch 8.2.1808
11481Problem: No test coverage for ":spelldump!".
11482Solution: Add a test. (Dominique Pellé, closes #7089)
11483Files: src/testdir/test_spell.vim
11484
11485Patch 8.2.1809
11486Problem: Mapping some keys with Ctrl does not work properly.
11487Solution: For terminal, GTK and Motif handle "@", "^" and "_" codes.
11488Files: src/misc2.c, src/proto/misc2.pro, src/term.c, src/gui_gtk_x11.c,
11489 src/gui_x11.c, src/testdir/test_termcodes.vim
11490
11491Patch 8.2.1810
11492Problem: Some code in normal.c not covered by tests.
11493Solution: Add normal mode tests. (Yegappan Lakshmanan, closes #7086)
11494Files: src/testdir/test_charsearch.vim, src/testdir/test_normal.vim
11495
11496Patch 8.2.1811
11497Problem: Mapping Ctrl-key does not work for '{', '}' and '|'.
11498Solution: Remove the shift modifier. (closes #6457)
11499Files: runtime/doc/map.txt, src/misc2.c, src/testdir/test_termcodes.vim
11500
11501Patch 8.2.1812
11502Problem: Vim9: nested closure throws an internal error.
11503Solution: Do not skip a local variable with a partial. (closes #7065)
11504Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
11505
11506Patch 8.2.1813
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011507Problem: Vim9: can assign wrong type to script dict. (Christian J. Robinson)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011508Solution: Check the type if known.
11509Files: src/structs.h, src/eval.c, src/vim9script.c,
11510 src/proto/vim9script.pro, src/proto/evalvars.pro,
11511 src/testdir/test_vim9_script.vim
11512
11513Patch 8.2.1814 (after 8.2.1813)
11514Problem: Missing change to remove "static".
11515Solution: Add the change.
11516Files: src/evalvars.c
11517
11518Patch 8.2.1815
11519Problem: Vim9: memory leak when using function reference.
11520Solution: Temporarily disable the test.
11521Files: src/testdir/test_vim9_disassemble.vim
11522
11523Patch 8.2.1816
11524Problem: Vim9: another memory leak when using function reference.
11525Solution: Temporarily disable the tests.
11526Files: src/testdir/test_vim9_func.vim
11527
11528Patch 8.2.1817
11529Problem: Vim9: wrong instruction when reusing a local variable spot.
11530Solution: Clear a newly allocated local variable. (closes #7080)
11531Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
11532
11533Patch 8.2.1818
11534Problem: SE Linux: deprecation warning for security_context_t.
11535Solution: Use "char *" instead. (James McCoy, closes #7093)
11536Files: src/os_unix.c
11537
11538Patch 8.2.1819
11539Problem: Vim9: Memory leak when using a closure.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011540Solution: Compute the minimal refcount in the funcstack. Reenable disabled
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011541 tests.
11542Files: src/vim9execute.c, src/proto/vim9execute.pro, src/structs.h,
11543 src/eval.c, src/testdir/test_vim9_disassemble.vim,
11544 src/testdir/test_vim9_func.vim
11545
11546Patch 8.2.1820
11547Problem: Vim9: crash when error happens in timer callback.
11548Solution: Check that current_exception is not NULL. (closes #7100)
11549Files: src/ex_docmd.c
11550
11551Patch 8.2.1821
11552Problem: Vim9: concatenating to a NULL list doesn't work.
11553Solution: Handle a NULL list like an empty list. (closes #7064)
11554Files: src/list.c, src/testdir/test_vim9_assign.vim
11555
11556Patch 8.2.1822 (after 8.2.1821)
11557Problem: List test doesn't fail.
11558Solution: Adjust the test for NULL list handling.
11559Files: src/testdir/test_listdict.vim
11560
11561Patch 8.2.1823
11562Problem: "gN" does not select the matched string.
11563Solution: Move the cursor to the start of the match.
11564Files: src/search.c, src/testdir/test_gn.vim
11565
11566Patch 8.2.1824
11567Problem: Vim9: variables at the script level escape their scope.
11568Solution: When leaving a scope remove variables declared in it.
11569Files: src/structs.h, src/ex_eval.c, src/evalvars.c,
11570 src/proto/evalvars.pro, src/testdir/test_vim9_script.vim
11571
11572Patch 8.2.1825
11573Problem: Vim9: accessing freed memory.
11574Solution: Clear sv_name when the variable is deleted.
11575Files: src/ex_eval.c
11576
11577Patch 8.2.1826
11578Problem: Vim9: cannot use a {} block at script level.
11579Solution: Recognize a {} block.
11580Files: src/ex_docmd.c, src/ex_cmds.h, src/ex_cmdidxs.h, src/ex_eval.c,
11581 src/structs.h, src/proto/ex_eval.pro, src/errors.h,
11582 src/testdir/test_vim9_script.vim
11583
11584Patch 8.2.1827
11585Problem: Filetype detection does not test enough file names.
11586Solution: Test more file names. (Adam Stankiewicz, closes #7099)
11587Files: runtime/filetype.vim, src/testdir/test_filetype.vim
11588
11589Patch 8.2.1828
11590Problem: Build failure without the +eval feature.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011591Solution: Add dummies for ex_block and ex_endblock.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011592Files: src/ex_docmd.c
11593
11594Patch 8.2.1829
11595Problem: Warnings when executing Github actions.
11596Solution: Use another method to set environment variables. (Ken Takata,
11597 closes #7107)
11598Files: .github/workflows/ci-windows.yaml
11599
11600Patch 8.2.1830
11601Problem: MS-Windows: Python3 issue with stdin.
11602Solution: Check if stdin is readable. (Ken Takata, closes #7106)
11603Files: src/if_python3.c
11604
11605Patch 8.2.1831
11606Problem: File missing from distribution.
11607Solution: Add the github code analyses file.
11608Files: Filelist
11609
11610Patch 8.2.1832
11611Problem: readdirex() error is displayed as a message. (Yegappan Lakshmanan)
11612Solution: Use semsg() instead of smsg().
11613Files: src/fileio.c, src/testdir/test_functions.vim
11614
11615Patch 8.2.1833
11616Problem: When reading from stdin dup() is called twice.
11617Solution: Remove the dup() in main.c. (Ken Takata, closes #7110)
11618Files: src/main.c
11619
11620Patch 8.2.1834
11621Problem: PyEval_InitThreads() is deprecated in Python 3.9.
11622Solution: Do not call PyEval_InitThreads in Python 3.9 and later. (Ken
11623 Takata, closes #7113) Avoid warnings for functions.
11624Files: src/if_python3.c, src/if_py_both.h
11625
11626Patch 8.2.1835
11627Problem: ":help ??" finds the "!!" tag.
11628Solution: Do not translate "?" into ".". (Naruhiko Nishino, closes #7114,
11629 closes #7115)
11630Files: src/help.c, src/testdir/test_help_tagjump.vim
11631
11632Patch 8.2.1836
11633Problem: Autocmd test fails on pacifist systems.
11634Solution: Check that /bin/kill exists. (James McCoy, closes #7117)
11635 Tune the timing, make the autocmd test run faster.
11636Files: src/testdir/test_autocmd.vim
11637
11638Patch 8.2.1837
11639Problem: Using "gn" after "gN" does not work.
11640Solution: Extend the other end of the Visual area. (closes #7109)
11641Files: src/search.c, src/testdir/test_gn.vim
11642
11643Patch 8.2.1838
11644Problem: Vim9: cannot insert a comment line in an expression.
11645Solution: Skip comment lines at the script level. (closes #7111)
11646Files: src/eval.c, src/testdir/test_vim9_expr.vim
11647
11648Patch 8.2.1839
11649Problem: Vim9: memory leaks reported in assign test.
11650Solution: Move the failing job_start() call to separate test files, it
11651 causes false leak reports.
11652Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_fails.vim,
11653 src/testdir/Make_all.mak
11654
11655Patch 8.2.1840
11656Problem: Vim9: error message is not clear about compilation error.
11657Solution: Say "compiling" instead of "processing".
11658Files: src/vim9compile.c, src/message.c, src/globals.h,
11659 src/testdir/test_vim9_func.vim
11660
11661Patch 8.2.1841
11662Problem: Vim9: test for compilation error fails in normal build.
11663Solution: Invoke CheckRunVimInTerminal in a separate function.
11664Files: src/testdir/test_vim9_func.vim
11665
11666Patch 8.2.1842
11667Problem: Crash when USE_FNAME_CASE is defined and using :browse.
11668Solution: Don't use read-only memory for ".". (Yegappan Lakshmanan,
11669 closes #7123)
11670Files: src/ex_cmds.c, src/ex_docmd.c, src/testdir/test_edit.vim
11671
11672Patch 8.2.1843
11673Problem: Netbeans: with huge buffer number memory allocation may fail.
11674Solution: Check for size overflow.
11675Files: src/netbeans.c
11676
11677Patch 8.2.1844
11678Problem: Using "q" at the more prompt doesn't stop a long message.
11679Solution: Check for "got_int". (closes #7122)
11680Files: src/message.c, src/testdir/test_messages.vim,
11681 src/testdir/dumps/Test_quit_long_message.dump
11682
11683Patch 8.2.1845
11684Problem: Vim9: function defined in a block can't use variables defined in
11685 that block.
11686Solution: First step: Make a second hashtab that holds all script variables,
11687 also block-local ones, with more information.
11688Files: src/structs.h, src/evalvars.c, src/ex_eval.c, src/vim9script.c,
11689 src/proto/vim9script.pro, src/scriptfile.c
11690
11691Patch 8.2.1846
11692Problem: Vim9: variables declared in a local block are not found in
11693 when a function is compiled.
11694Solution: Look for script variables in sn_all_vars.
11695Files: src/structs.h, src/vim9compile.c, src/proto/vim9compile.pro,
11696 src/userfunc.c, src/proto/userfunc.pro, src/ex_eval.c,
11697 src/vim9script.c, src/proto/vim9script.pro, src/vim9execute.c,
11698 src/testdir/test_vim9_script.vim
11699
11700Patch 8.2.1847
11701Problem: Vim9: using negative value for unsigned type.
11702Solution: Use zero instead of -1.
11703Files: src/vim9compile.c
11704
11705Patch 8.2.1848
11706Problem: Crash when passing a NULL string or list to popup_settext().
11707Solution: Check for NULL pointers. (closes #7132)
11708Files: src/popupwin.c, src/testdir/test_popupwin.vim
11709
11710Patch 8.2.1849
11711Problem: Vim9: garbage collection frees block-local variables.
11712Solution: Mark all script variables as used.
11713Files: src/evalvars.c, src/testdir/test_vim9_script.vim
11714
11715Patch 8.2.1850
11716Problem: "vat" does not select tags correctly over line break.
11717Solution: Adjust the search pattern. (Aufar Gilbran, closes #7136)
11718Files: src/textobject.c, src/testdir/test_textobjects.vim
11719
11720Patch 8.2.1851
11721Problem: Vim9: "!" followed by space incorrectly used.
11722Solution: Skip over trailing spaces. (closes #7131)
11723Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_expr.vim
11724
11725Patch 8.2.1852
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011726Problem: map() returning zero for NULL list is unexpected.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011727Solution: Return the empty list. (closes #7133)
11728Files: src/list.c, src/testdir/test_filter_map.vim,
11729 src/testdir/test_blob.vim
11730
11731Patch 8.2.1853
11732Problem: "to_f" is recognized at "topleft" modifier.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011733Solution: Do not recognize modifier when "_" follows. (closes #7019)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011734Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim
11735
11736Patch 8.2.1854
11737Problem: Vim9: crash when throwing exception for NULL string. (Dhiraj
11738 Mishra)
11739Solution: Handle NULL string like empty string. (closes #7139)
11740Files: src/vim9execute.c, src/errors.h, src/testdir/test_vim9_script.vim
11741
11742Patch 8.2.1855
11743Problem: Vim9: get error message when nothing is wrong.
11744Solution: Check called_emsg instead of did_emsg. (closes #7143)
11745Files: src/vim9compile.c, src/vim9execute.c, src/errors.h
11746
11747Patch 8.2.1856
11748Problem: "2resize" uses size of current window. (Daniel Steinberg)
11749Solution: Use size of resized window. (Yasuhiro Matsumoto, closes #7152)
11750Files: src/ex_docmd.c, src/testdir/test_window_cmd.vim
11751
11752Patch 8.2.1857
11753Problem: Vim9: using job_status() on an unused var gives an error.
11754Solution: Return "fail". (closes #7158)
11755Files: src/job.c, src/testdir/test_vim9_assign.vim
11756
11757Patch 8.2.1858
11758Problem: Vim9: filter functions return number instead of bool.
11759Solution: Return v:true instead of one. (closes #7144)
11760Files: src/popupwin.c, src/evalfunc.c, src/testdir/test_vim9_func.vim
11761
11762Patch 8.2.1859
11763Problem: Vim9: crash in unpack assignment.
11764Solution: Make sure an error message is turned into an exception.
11765 (closes #7159)
11766Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim,
11767 src/testdir/test_vim9_script.vim
11768
11769Patch 8.2.1860
11770Problem: Vim9: memory leak when throwing empty string.
11771Solution: Free the empty string.
11772Files: src/vim9execute.c
11773
11774Patch 8.2.1861
11775Problem: Vim9: no specific error when parsing lambda fails.
11776Solution: Also give syntax errors when not evaluating. (closes #7154)
11777Files: src/dict.c, src/testdir/test_vim9_expr.vim
11778
11779Patch 8.2.1862
11780Problem: vim9: memory leak when compiling lambda fails.
11781Solution: Call clear_evalarg().
11782Files: src/vim9compile.c
11783
11784Patch 8.2.1863
11785Problem: Json code not sufficiently tested.
11786Solution: Add more test cases. (Dominique Pellé, closes #7166)
11787Files: src/testdir/test_json.vim
11788
11789Patch 8.2.1864
11790Problem: Vim9: no error for wrong list type.
11791Solution: Add flag to indicate a constant. (closes #7160)
11792Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
11793
11794Patch 8.2.1865
11795Problem: Vim9: add() does not check type of argument.
11796Solution: Inline the add() call. (closes #7160)
11797Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/errors.h,
11798 src/testdir/test_vim9_func.vim,
11799 src/testdir/test_vim9_disassemble.vim
11800
11801Patch 8.2.1866
11802Problem: Vim9: appending to pushed blob gives wrong result.
11803Solution: Set ga_maxlen when copying a blob.
11804Files: src/blob.c, src/testdir/test_vim9_func.vim
11805
11806Patch 8.2.1867
11807Problem: Vim9: argument to add() not checked for blob.
11808Solution: Add the BLOBAPPEND instruction.
11809Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/errors.h,
11810 src/testdir/test_vim9_func.vim,
11811 src/testdir/test_vim9_disassemble.vim
11812
11813Patch 8.2.1868
11814Problem: Vim9: no error for missing space after comma in dict.
11815Solution: Check for white space. (closes #6672)
11816Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
11817
11818Patch 8.2.1869
11819Problem: Vim9: memory leak when using add().
11820Solution: Free the added item.
11821Files: src/vim9execute.c
11822
11823Patch 8.2.1870
11824Problem: Vim9: no need to keep all script variables.
11825Solution: Only keep script variables when a function was defined that could
11826 use them. Fix freeing static string on exit.
11827Files: src/vim9script.c, src/proto/vim9script.pro, src/structs.h,
11828 src/ex_eval.c, src/userfunc.c, src/testdir/test_vim9_script.vim
11829
11830Patch 8.2.1871
11831Problem: Using %v in 'errorformat' may fail before %Z.
11832Solution: Set qf_viscol only when qf_col is set. (closes #7169)
11833Files: src/quickfix.c, src/testdir/test_quickfix.vim
11834
11835Patch 8.2.1872
11836Problem: Matchfuzzy() does not prefer sequential matches.
11837Solution: Give sequential matches a higher bonus. (Christian Brabandt,
11838 closes #7140)
11839Files: src/search.c, src/testdir/test_matchfuzzy.vim
11840
11841Patch 8.2.1873
11842Problem: Vim9: missing white space when using <f-args>.
11843Solution: Add spaces. (Christian J. Robinson)
11844Files: src/usercmd.c, src/testdir/test_vim9_cmd.vim
11845
11846Patch 8.2.1874
11847Problem: Can't do something just before leaving Insert mode.
11848Solution: Add the InsertLeavePre autocommand event. (closes #7177)
11849Files: runtime/doc/autocmd.txt, src/edit.c, src/vim.h,
11850 src/autocmd.c, src/testdir/test_edit.vim
11851
11852Patch 8.2.1875
11853Problem: Warning when building GTK gui.
11854Solution: Add missing function parameter.
11855Files: src/gui_gtk_f.c
11856
11857Patch 8.2.1876
11858Problem: Vim9: argument types for builtin functions are not checked at
11859 compile time.
11860Solution: Add an argument type checking mechanism. Implement type checks for
11861 one function.
11862Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9compile.c,
11863 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_builtin.vim,
11864 src/testdir/Make_all.mak
11865
11866Patch 8.2.1877 (after 8.2.1876)
11867Problem: Test for function list fails.
11868Solution: Move "obsolete" comments one line up.
11869Files: src/evalfunc.c
11870
11871Patch 8.2.1878
11872Problem: GTK: error for redefining function. (Tony Mechelynck)
11873Solution: Remove "gtk_" prefix from local functions and prepend "gui_" to
11874 global functions.
11875Files: src/gui_gtk_f.c, src/gui_gtk_f.h, src/gui_gtk.c, src/gui_gtk_x11.c
11876
11877Patch 8.2.1879
11878Problem: Vim9: argument types of insert() not checked when compiling.
11879Solution: Add argument type checks for insert().
11880Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9compile.c,
11881 src/testdir/test_vim9_builtin.vim
11882
11883Patch 8.2.1880
11884Problem: Vim9: Asan complains about adding zero to NULL.
11885Solution: Check for argument count first.
11886Files: src/vim9compile.c
11887
11888Patch 8.2.1881
11889Problem: Cannot build with GTK3.
11890Solution: Adjust form functions.
11891Files: src/gui_gtk_f.c
11892
11893Patch 8.2.1882
11894Problem: Vim9: v:disallow_let is no longer needed.
11895Solution: Remove v:disallow_let.
11896Files: src/evalvars.c, src/vim.h, src/vim9compile.c
11897
11898Patch 8.2.1883
11899Problem: Compiler warnings when using Python.
11900Solution: Adjust PyCFunction to also have the second argument. Use "int"
11901 return type for some functions. Insert "(void *)" to get rid of
11902 the remaining warnings.
11903Files: src/if_py_both.h, src/if_python.c, src/if_python3.c
11904
11905Patch 8.2.1884
11906Problem: Compiler warning for uninitialized variable. (John Marriott)
11907Solution: Initialize with NULL.
11908Files: src/vim9compile.c, src/evalfunc.c
11909
11910Patch 8.2.1885
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011911Problem: Filetype tests unnecessarily creates swap files.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011912Solution: Disable 'swapfile'. (Ken Takata, closes #7183)
11913Files: src/testdir/test_filetype.vim
11914
11915Patch 8.2.1886
11916Problem: Using ":silent!" in a popup filter has unexpected effect.
11917Solution: Use did_emsg instead of called_emsg. (closes #7178)
11918Files: src/popupwin.c, src/testdir/test_popupwin.vim
11919
11920Patch 8.2.1887
11921Problem: Github actions not optimally configured.
11922Solution: Run CI on any pushed branches. Set fail-fast. (Ozaki Kiichi,
11923 closes #7184)
11924Files: .github/workflows/ci-windows.yaml
11925
11926Patch 8.2.1888
11927Problem: Vim9: Getbufline(-1, 1, '$') gives an error.
11928Solution: Return an empty list. (closes #7180)
11929Files: src/evalbuffer.c, src/testdir/test_vim9_builtin.vim
11930
11931Patch 8.2.1889
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011932Problem: Vim9: erroneous error for missing white space after {}.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011933Solution: Don't skip over white space after {}. (issue #7167)
11934Files: src/dict.c, src/testdir/test_vim9_expr.vim
11935
11936Patch 8.2.1890
11937Problem: Vim9: strange error for subtracting from a list.
11938Solution: Check getting a number, not a string. (closes #7167)
11939Files: src/eval.c, src/testdir/test_vim9_expr.vim
11940
11941Patch 8.2.1891
11942Problem: Vim9: skipping over expression doesn't handle line breaks.
11943Solution: Pass evalarg to skip_expr(). (closes #7157)
11944Files: src/vim9compile.c, src/eval.c, src/proto/eval.pro, src/ex_docmd.c,
11945 src/misc1.c, src/testdir/test_vim9_cmd.vim
11946
11947Patch 8.2.1892
11948Problem: Valgrind warns for using uninitialized access in tests.
11949Solution: Fix condition for breaking out of loop. (Dominique Pellé,
11950 closes #7187)
11951Files: src/terminal.c
11952
11953Patch 8.2.1893
11954Problem: Fuzzy matching does not support multiple words.
11955Solution: Add support for matching white space separated words. (Yegappan
11956 Lakshmanan, closes #7163)
11957Files: runtime/doc/eval.txt, src/search.c,
11958 src/testdir/test_matchfuzzy.vim
11959
11960Patch 8.2.1894
11961Problem: Vim9: command modifiers are not supported.
11962Solution: Support "silent" and "silent!".
11963Files: src/structs.h, src/vim9compile.c, src/vim9.h, src/vim9execute.c,
11964 src/evalvars.c, src/testdir/test_vim9_disassemble.vim,
11965 src/testdir/test_vim9_cmd.vim
11966
11967Patch 8.2.1895 (after 8.2.1894)
11968Problem: Vim9: silent command modifier test fails.
11969Solution: Add missing changes.
11970Files: src/ex_docmd.c
11971
11972Patch 8.2.1896
11973Problem: Valgrind warns for using uninitialized memory.
11974Solution: NUL terminate the SmcOpenConnection() error message. (Dominique
11975 Pellé, closes #7194)
11976Files: src/os_unix.c
11977
11978Patch 8.2.1897
11979Problem: Command modifiers are saved and set inconsistently.
11980Solution: Separate parsing and applying command modifiers. Save values in
11981 cmdmod_T.
11982Files: src/structs.h, src/ex_docmd.c, src/proto/ex_docmd.pro,
11983 src/ex_cmds.h, src/vim9compile.c
11984
11985Patch 8.2.1898
11986Problem: Command modifier parsing always uses global cmdmod.
11987Solution: Pass in cmdmod_T to use. Rename struct fields consistently.
Bram Moolenaar47c532e2022-03-19 15:18:53 +000011988Files: src/structs.h, src/arglist.c, src/buffer.c, src/bufwrite.c,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011989 src/diff.c, src/change.c, src/cmdhist.c, src/edit.c,
11990 src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c,
11991 src/fileio.c, src/filepath.c, src/gui.c, src/gui_gtk_x11.c,
11992 src/help.c, src/if_cscope.c, src/indent.c, src/mark.c,
11993 src/memline.c, src/message.c, src/option.c, src/ops.c,
11994 src/os_unix.c, src/quickfix.c, src/register.c, src/scriptfile.c,
11995 src/search.c, src/session.c, src/tag.c, src/terminal.c,
11996 src/textformat.c, src/usercmd.c, src/vim9compile.c, src/window.c,
11997 src/proto/ex_docmd.pro
11998
11999Patch 8.2.1899
12000Problem: Crash in out-of-memory situation.
12001Solution: Bail out if shell_name is NULL. (Dominique Pellé, closes #7196)
12002Files: src/ex_cmds.c
12003
12004Patch 8.2.1900
12005Problem: Vim9: command modifiers do not work.
12006Solution: Make most command modifiers work.
12007Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
12008 src/usercmd.c, src/proto/usercmd.pro, src/scriptfile.c,
12009 src/testdir/test_vim9_disassemble.vim
12010
12011Patch 8.2.1901
12012Problem: Variable completion does not work in command line window.
12013Solution: Use the "prevwin". (closes #7198)
12014Files: src/evalvars.c, src/testdir/test_ins_complete.vim
12015
12016Patch 8.2.1902
12017Problem: Default option values are changed when using :badd for an existing
12018 buffer.
12019Solution: When calling buflist_new() pass a zero line number. (closes #7195)
12020Files: src/ex_cmds.c, src/testdir/test_buffer.vim
12021
12022Patch 8.2.1903 (after 8.2.1902)
12023Problem: Buffer test fails with normal features.
12024Solution: Use 'numberwidth' instead of 'conceallevel' in the test.
12025Files: src/testdir/test_buffer.vim
12026
12027Patch 8.2.1904
12028Problem: Still using default option values after using ":badd +1".
12029Solution: Find a window where options were set. Don't set the window when
12030 using ":badd".
12031Files: src/buffer.c, src/ex_cmds.c, src/vim.h,
12032 src/testdir/test_buffer.vim
12033
12034Patch 8.2.1905
12035Problem: The wininfo list may contain stale entries.
12036Solution: When closing a window remove any other entry where the window
12037 pointer is NULL.
12038Files: src/buffer.c, src/proto/buffer.pro, src/window.c
12039
12040Patch 8.2.1906
12041Problem: Warning for signed/unsigned.
12042Solution: Use size_t instead of int. (Mike Williams)
12043Files: src/proto/usercmd.pro, src/usercmd.c, src/vim9execute.c
12044
12045Patch 8.2.1907
12046Problem: Complete_info().selected may be wrong.
12047Solution: Update cp_number if it was never set. (issue #6945)
12048Files: src/insexpand.c, src/testdir/test_ins_complete.vim
12049
12050Patch 8.2.1908
12051Problem: Lua is initialized even when not used.
12052Solution: Put lua_init() after check for "eap->skip". (Christian Brabandt,
12053 closes #7191). Avoid compiler warnings.
12054Files: src/if_lua.c, src/testdir/test_lua.vim
12055
12056Patch 8.2.1909
12057Problem: Number of status line items is limited to 80.
12058Solution: Dynamically allocate the arrays. (Rom Grk, closes #7181)
12059Files: runtime/doc/options.txt, src/buffer.c, src/optionstr.c,
12060 src/proto/buffer.pro, src/screen.c, src/structs.h,
12061 src/testdir/test_options.vim, src/testdir/test_statusline.vim,
12062 src/vim.h
12063
12064Patch 8.2.1910
12065Problem: Reading past the end of the command line.
12066Solution: Check for NUL. (closes #7204)
12067Files: src/ex_docmd.c, src/testdir/test_edit.vim
12068
12069Patch 8.2.1911
12070Problem: Tiny build fails.
12071Solution: Add #ifdef.
12072Files: src/insexpand.c
12073
12074Patch 8.2.1912
12075Problem: With Python 3.9 some tests fail.
12076Solution: Take into account the different error message. (James McCoy,
12077 closes #7210)
12078Files: src/testdir/test_python3.vim
12079
12080Patch 8.2.1913
12081Problem: GTK GUI: rounding for the cell height is too strict.
12082Solution: Round up above 15/16 of a pixel. (closes #7203)
12083Files: src/gui_gtk_x11.c
12084
12085Patch 8.2.1914
12086Problem: Vim9: cannot put line break in expression for '=' register.
12087Solution: Pass fgetline to set_expr_line(). (closes #7209)
12088Files: src/register.c, src/proto/register.pro, src/ex_docmd.c,
12089 src/eval.c, src/proto/eval.pro, src/misc2.c,
12090 src/testdir/test_vim9_script.vim
12091
12092Patch 8.2.1915
12093Problem: Vim9: error for wrong number of arguments is not useful.
12094Solution: Mention whatever we have for the name. (closes #7208)
12095Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
12096
12097Patch 8.2.1916
12098Problem: Vim9: function call is aborted even when "silent!" is used.
12099Solution: Use did_emsg instead of called_emsg. (closes #7213)
12100Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
12101
12102Patch 8.2.1917
12103Problem: No test for improved Man command.
12104Solution: Test that shell arguments are properly escaped.
12105Files: src/testdir/test_man.vim
12106
12107Patch 8.2.1918
12108Problem: Vim9: E1100 mentions :let.
12109Solution: Mention "var". (closes #7207)
12110Files: src/vim9script.c, src/errors.h
12111
12112Patch 8.2.1919
12113Problem: Assert_fails() setting emsg_silent changes normal execution.
12114Solution: Use a separate flag in_assert_fails.
12115Files: src/testing.c, src/globals.h, src/buffer.c, src/change.c,
12116 src/fileio.c, src/insexpand.c, src/message.c, src/misc1.c,
12117 src/normal.c, src/screen.c, src/term.c, src/vim9execute.c,
12118 src/testdir/test_vim9_func.vim, src/testdir/gen_opt_test.vim,
12119 src/testdir/test_autocmd.vim, src/testdir/test_mapping.vim,
12120 src/testdir/test_popup.vim, src/testdir/test_terminal.vim
12121
12122Patch 8.2.1920
12123Problem: Listlbr test fails when run after another test.
12124Solution: Add test separately to list of test targets.
12125Files: src/testdir/Make_all.mak, src/testdir/test_alot_utf8.vim
12126
12127Patch 8.2.1921
12128Problem: Fuzzy matching does not recognize path separators.
12129Solution: Add a bonus for slash and backslash. (Yegappan Lakshmanan,
12130 closes #7225)
12131Files: src/search.c, src/testdir/test_matchfuzzy.vim
12132
12133Patch 8.2.1922
12134Problem: Win32: scrolling doesn't work properly when part of window is
12135 off-screen.
12136Solution: Fall back to GDI scrolling if part of the window is off-screen.
12137 Handle multi-monitor setup better. (Ken Takata, closes #7219)
12138Files: src/gui_w32.c
12139
12140Patch 8.2.1923
12141Problem: Vim9: "filter" command modifier doesn't work.
12142Solution: Check for space on char before argument. (closes #7216,
12143 closes #7222)
12144Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
12145
12146Patch 8.2.1924
12147Problem: Vim9: crash when indexing dict with NULL key.
12148Solution: Use empty string instead of NULL. (closes #7229) Make error
12149 message more useful for empty string.
12150Files: src/vim9execute.c, src/globals.h, src/testdir/test_vim9_expr.vim
12151
12152Patch 8.2.1925 (after 8.2.1924)
12153Problem: List/dict test fails.
12154Solution: Correct expected exception.
12155File: src/testdir/test_listdict.vim
12156
12157Patch 8.2.1926
12158Problem: Cannot use a space in 'spellfile'. (Filipe Brandenburger)
12159Solution: Permit using a space. (closes #7230)
12160Files: src/spell.c, src/testdir/gen_opt_test.vim
12161
12162Patch 8.2.1927
12163Problem: Vim9: get unknown error with an error in a timer function.
12164Solution: Use did_emsg instead of called_emsg. (closes #7231)
12165Files: src/vim9compile.c, src/vim9execute.c
12166
12167Patch 8.2.1928
12168Problem: Vim9: "silent!" not effective when list index is wrong.
12169Solution: Ignore list index failure when emsg_silent is set. (closes #7232)
12170Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
12171
12172Patch 8.2.1929
12173Problem: MS-Windows: problem loading Perl 5.32.
12174Solution: Define NO_THREAD_SAFE_LOCALE. (Ken Takata, closes #7234)
12175Files: src/if_perl.xs
12176
12177Patch 8.2.1930
12178Problem: Wrong input if removing shift results in special key code.
12179Solution: Handle special key codes. (closes #7189)
12180Files: src/term.c, src/testdir/test_termcodes.vim
12181
12182Patch 8.2.1931
12183Problem: Vim9: arguments of extend() not checked at compile time.
12184Solution: Add argument type checking for extend().
12185Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
12186
12187Patch 8.2.1932
12188Problem: Compiler warnings when building with Athena GUI.
12189Solution: Fix function signatures.
12190Files: src/gui_at_fs.c
12191
12192Patch 8.2.1933
12193Problem: Cannot sort using locale ordering.
12194Solution: Add a flag for :sort and sort() to use the locale. (Dominique
12195 Pellé, closes #7237)
12196Files: runtime/doc/change.txt, runtime/doc/eval.txt, src/ex_cmds.c,
12197 src/list.c, src/testdir/test_sort.vim
12198
12199Patch 8.2.1934
12200Problem: Vim9: command modifiers in :def function not tested.
12201Solution: Add tests. Fix using modifier before filter command.
12202Files: src/ex_docmd.c, src/vim9compile.c, src/testdir/test_vim9_cmd.vim
12203
12204Patch 8.2.1935 (after 8.2.1933)
12205Problem: Sort test fails on Mac.
12206Solution: Disable the sort test with locale on Mac.
12207Files: src/testdir/test_sort.vim
12208
12209Patch 8.2.1936
12210Problem: Session sets the local 'scrolloff' value to the global value.
12211Solution: Do not let restoring the global option value change the local
12212 value.
12213Files: src/session.c, src/testdir/test_mksession.vim
12214
12215Patch 8.2.1937
12216Problem: Vim9: test for confirm modifier fails in some situations.
12217Solution: Add a short wait. Handle failure better.
12218Files: src/testdir/term_util.vim, src/testdir/test_vim9_cmd.vim
12219
12220Patch 8.2.1938
12221Problem: Wiping out a terminal buffer makes some tests fail.
12222Solution: Do not wipe out the terminal buffer unless wanted.
12223Files: src/testdir/term_util.vim, src/testdir/test_terminal.vim,
12224 src/testdir/test_terminal3.vim
12225
12226Patch 8.2.1939
12227Problem: Invalid memory access in Ex mode with global command.
12228Solution: Make sure the cursor is on a valid line. (closes #7238)
12229Files: src/move.c, src/testdir/test_ex_mode.vim
12230
12231Patch 8.2.1940
12232Problem: Vim9: browse modifier test fails on Mac.
12233Solution: Only test when the +browse feature is available.
12234Files: src/testdir/test_vim9_cmd.vim
12235
12236Patch 8.2.1941
12237Problem: Ex mode test fails on MS-Windows with GUI.
12238Solution: Skip the test when using gvim.
12239Files: src/testdir/test_ex_mode.vim
12240
12241Patch 8.2.1942
12242Problem: Insufficient test coverage for the Netbeans interface.
12243Solution: Add more tests. Fix an uncovered bug. (Yegappan Lakshmanan,
12244 closes #7240)
12245Files: runtime/doc/netbeans.txt, src/mouse.c,
12246 src/testdir/test_netbeans.py, src/testdir/test_netbeans.vim,
12247 src/testdir/test_quickfix.vim
12248
12249Patch 8.2.1943
12250Problem: Vim9: wrong error message when colon is missing.
12251Solution: Check for a missing colon. (issue #7239)
12252Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
12253
12254Patch 8.2.1944
12255Problem: Netbeans test is flaky.
12256Solution: Add a short delay. (Yegappan Lakshmanan, closes #7246)
12257Files: src/testdir/test_netbeans.vim
12258
12259Patch 8.2.1945
12260Problem: Crash when passing NULL function to reduce().
12261Solution: Check for NULL pointer and give an error. (Dominique Pellé,
12262 closes #7243)
12263Files: src/list.c, src/errors.h, src/testdir/test_listdict.vim
12264
12265Patch 8.2.1946
12266Problem: sort() with NULL string not tested.
12267Solution: Add a test. use v:collate. (Dominique Pellé, closes #7247)
12268Files: src/testdir/test_sort.vim
12269
12270Patch 8.2.1947
12271Problem: Crash when using "zj" without folds. (Sean Dewar)
12272Solution: Check for at least one fold. (closes #7245)
12273Files: src/fold.c, src/testdir/test_fold.vim
12274
12275Patch 8.2.1948
12276Problem: GUI: crash when handling message while closing a window. (Srinath
12277 Avadhanula)
12278Solution: Don't handle message while closing a window. (closes #7250)
12279Files: src/window.c, src/globals.h, src/getchar.c
12280
12281Patch 8.2.1949
12282Problem: Vim9: using extend() on null dict is silently ignored.
12283Solution: Give an error message. Initialize a dict variable with an empty
12284 dictionary. (closes #7251)
12285Files: src/errors.h, src/list.c, src/evalvars.c,
12286 src/testdir/test_vim9_assign.vim
12287
12288Patch 8.2.1950
12289Problem: Vim9: crash when compiling function fails when getting type.
12290Solution: Handle NULL type. (closes #7253)
12291Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
12292
12293Patch 8.2.1951 (after 8.2.1949)
12294Problem: Test for list and dict fails.
12295Solution: Adjust for using an empty list/dict for a null one.
12296Files: src/testdir/test_listdict.vim, src/testdir/test_python2.vim,
12297 src/testdir/test_python3.vim
12298
12299Patch 8.2.1952
12300Problem: Vim9: crash when using a NULL dict key.
12301Solution: Use a NULL dict key like an empty string. (closes #7249)
12302Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
12303
12304Patch 8.2.1953
12305Problem: Vim9: extra "unknown" error after other error.
12306Solution: Restore did_emsg count after EXEC instruction. (closes #7254)
12307 Improve error message from assert_fails()
12308Files: src/vim9execute.c, src/testing.c,
12309 src/testdir/test_vim9_script.vim, src/testdir/test_assert.vim
12310
12311Patch 8.2.1954
12312Problem: Vim9: not all command modifiers are tested.
12313Solution: Add tests for "keep" modifiers. Fix that marks are lost even
12314 though ":lockmarks" is used.
12315Files: src/ex_cmds.c, src/testdir/test_vim9_cmd.vim
12316
12317Patch 8.2.1955
12318Problem: Vim9: not all command modifiers are tested.
12319Solution: Add tests for remaining modifiers.
12320Files: src/testdir/test_vim9_cmd.vim
12321
12322Patch 8.2.1956
12323Problem: Vim9: cannot specify argument types for lambda.
12324Solution: Allow adding argument types. Check arguments when calling a
12325 function reference.
12326Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9compile.c,
12327 src/eval.c, src/testdir/test_vim9_disassemble.vim,
12328 src/testdir/test_vim9_func.vim
12329
12330Patch 8.2.1957
12331Problem: Diff and cursorcolumn highlighting don't mix.
12332Solution: Fix condition for what attribute to use. (Christian Brabandt,
12333 closes #7258, closes #7260)
12334Files: src/drawline.c, src/testdir/dumps/Test_diff_cuc_01.dump,
12335 src/testdir/dumps/Test_diff_cuc_02.dump,
12336 src/testdir/dumps/Test_diff_cuc_03.dump,
12337 src/testdir/dumps/Test_diff_cuc_04.dump,
12338 src/testdir/test_diffmode.vim
12339
12340Patch 8.2.1958 (after 8.2.1956)
12341Problem: Build failure with timers.
12342Solution: Add missing change.
12343Files: src/popupwin.c
12344
12345Patch 8.2.1959
12346Problem: Crash when terminal buffer name is made empty. (Dhiraj Mishra)
12347Solution: Fall back to "[No Name]". (closes #7262)
12348Files: src/buffer.c, src/proto/buffer.pro, src/terminal.c,
12349 src/testdir/test_terminal.vim
12350
12351Patch 8.2.1960
12352Problem: Warning for uninitialized variable.
12353Solution: Initialize the variable.
12354Files: src/evalfunc.c
12355
12356Patch 8.2.1961
12357Problem: Various comments can be improved.
12358Solution: Various comment adjustments.
12359Files: src/dict.c, src/structs.h, src/time.c, src/testdir/shared.vim,
12360 src/testdir/test_netbeans.vim, src/gui_motif.c
12361
12362Patch 8.2.1962
12363Problem: Netbeans may access freed memory.
12364Solution: Check the buffer pointer is still valid. Add a test. (Yegappan
12365 Lakshmanan, closes #7248)
12366Files: src/netbeans.c, src/testdir/test_netbeans.vim
12367
12368Patch 8.2.1963
12369Problem: Crash when using a popup window with "latin1" encoding.
12370Solution: Don't use ScreenLinesUC when enc_utf8 is false. (closes #7241)
12371Files: src/screen.c, src/terminal.c, src/testdir/test_popupwin.vim
12372
12373Patch 8.2.1964
12374Problem: Not all ConTeXt files are recognized.
12375Solution: Add two patterns. (closes #7263)
12376Files: runtime/filetype.vim, src/testdir/test_filetype.vim
12377
12378Patch 8.2.1965
12379Problem: Vim9: tests fail without the channel feature.
12380Solution: Check if the channel feature is present. (Dominique Pellé,
Bram Moolenaar1588bc82022-03-08 21:35:07 +000012381 closes #7270)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012382Files: src/testdir/test_vim9_expr.vim
12383
12384Patch 8.2.1966
12385Problem: Popup becomes current window after closing a terminal window.
12386Solution: When restoring the window after executing autocommands, check that
12387 the window ID is still the same. (Naruhiko Nishino,
12388 closes #7272)
12389Files: src/autocmd.c, src/window.c, src/proto/window.pro, src/structs.h,
12390 src/testdir/test_popupwin.vim
12391
12392Patch 8.2.1967
12393Problem: The session file does not restore the alternate file.
12394Solution: Add ":balt". Works like ":badd" and also sets the buffer as the
12395 alternate file. Use it in the session file. (closes #7269,
12396 closes #6714)
12397Files: runtime/doc/windows.txt, src/ex_cmds.h, src/ex_cmdidxs.h,
12398 src/ex_docmd.c, src/vim.h, src/ex_cmds.c, src/session.c,
12399 src/testdir/test_buffer.vim
12400
12401Patch 8.2.1968
12402Problem: Vim9: has() assumes a feature does not change dynamically.
12403Solution: Check whether a feature may change dynamically. (closes #7265)
12404Files: src/vim9compile.c, src/evalfunc.c, src/proto/evalfunc.pro,
12405 src/testdir/test_vim9_disassemble.vim
12406
12407Patch 8.2.1969
12408Problem: Vim9: map() may change the list or dict item type.
12409Solution: Add mapnew().
12410Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
12411 src/list.c, src/proto/list.pro, src/testdir/test_filter_map.vim
12412
12413Patch 8.2.1970
12414Problem: It is easy to make mistakes when cleaning up swap files after the
12415 system crashed.
12416Solution: Warn for the process still running after recovery. Do not
12417 automatically delete a swap file created on another system.
12418 (David Fries, closes #7273)
12419Files: src/memline.c, src/testdir/test_swap.vim
12420
12421Patch 8.2.1971
12422Problem: Memory leak when map() fails.
12423Solution: Clear the typval.
12424Files: src/list.c
12425
12426Patch 8.2.1972
12427Problem: Crash when recreating nested fold.
12428Solution: Check for empty growarray. (closes #7278)
12429Files: src/fold.c, src/testdir/test_fold.vim
12430
12431Patch 8.2.1973
12432Problem: Finding a patch number can be a bit slow.
12433Solution: Use binary search. (closes #7279)
12434Files: src/version.c
12435
12436Patch 8.2.1974
12437Problem: Vim9: test for has('gui_running') fails with VIMDLL.
12438Solution: Adjust the #ifdef. (Ken Takata, closes #7276)
12439Files: src/evalfunc.c
12440
12441Patch 8.2.1975
12442Problem: Win32: memory leak when encoding conversion fails.
12443Solution: Free the allocated memory. (Ken Takata, closes #7277)
12444Files: src/os_win32.c
12445
12446Patch 8.2.1976
12447Problem: Cannot backspace in prompt buffer after using cursor-left. (Maxim
12448 Kim)
12449Solution: Ignore "arrow_used" in a prompt buffer. (closes #7281)
12450Files: src/edit.c, src/testdir/test_prompt_buffer.vim
12451
12452Patch 8.2.1977
12453Problem: Vim9: error for using a string in a condition is confusing.
12454Solution: Give a more specific error. Also adjust the compile time type
12455 checking for || and &&.
12456Files: src/vim9compile.c, src/vim9execute.c, src/proto/vim9execute.pro,
12457 src/typval.c, src/errors.h, src/testdir/test_vim9_cmd.vim,
12458 src/testdir/test_vim9_disassemble.vim,
12459 src/testdir/test_vim9_expr.vim
12460
12461Patch 8.2.1978
12462Problem: Making a mapping work in all modes is complicated.
12463Solution: Add the <Cmd> special key. (Yegappan Lakshmanan, closes #7282,
12464 closes 4784, based on patch by Bjorn Linse)
12465Files: runtime/doc/autocmd.txt, runtime/doc/eval.txt,
12466 runtime/doc/map.txt, src/edit.c, src/errors.h, src/ex_docmd.c,
12467 src/ex_getln.c, src/getchar.c, src/insexpand.c, src/keymap.h,
12468 src/map.c, src/misc2.c, src/normal.c, src/ops.c,
12469 src/proto/getchar.pro, src/screen.c, src/terminal.c,
12470 src/testdir/test_mapping.vim
12471
12472Patch 8.2.1979
12473Problem: "term_opencmd" option of term_start() is truncated. (Sergey
12474 Vlasov)
12475Solution: Allocate the buffer to hold the command. (closes #7284)
12476Files: src/terminal.c, src/testdir/test_terminal.vim
12477
12478Patch 8.2.1980
12479Problem: Vim9: some tests are not done at the script level.
12480Solution: Use CheckDefAndScriptSuccess() in more places. Fix uncovered
12481 problems.
12482Files: src/eval.c, src/list.c, src/scriptfile.c,
12483 src/testdir/test_vim9_expr.vim
12484
12485Patch 8.2.1981
12486Problem: MinGW: parallel compilation might fail.
12487Solution: Add dependencies on $(OUTDIR). (Masamichi Abe, closes #7287)
12488Files: src/Make_cyg_ming.mak
12489
12490Patch 8.2.1982
12491Problem: Quickfix window not updated when adding invalid entries.
12492Solution: Update the quickfix buffer properly. (Yegappan Lakshmanan, closes
12493 #7291, closes #7271)
12494Files: src/quickfix.c, src/testdir/test_quickfix.vim
12495
12496Patch 8.2.1983
12497Problem: ml_get error when using <Cmd> to open a terminal.
12498Solution: If the window changed reset the incsearch state. (closes #7289)
12499Files: src/ex_getln.c, src/testdir/test_terminal.vim,
12500 src/testdir/dumps/Test_terminal_from_cmd.dump
12501
12502Patch 8.2.1984
12503Problem: Cannot use :vimgrep in omni completion, causing C completion to
12504 fail.
12505Solution: Add the EX_LOCK_OK flag to :vimgrep. (closes #7292)
12506Files: src/ex_cmds.h, src/testdir/test_quickfix.vim
12507
12508Patch 8.2.1985
12509Problem: Crash when closing terminal popup with <Cmd> mapping.
12510Solution: Check b_term is not NULL. (closes #7294)
12511Files: src/terminal.c, src/testdir/test_terminal.vim
12512
12513Patch 8.2.1986
12514Problem: Expression test is flaky on Appveyor.
12515Solution: Temporarily disable the test in MS-Windows.
12516Files: src/testdir/test_vim9_expr.vim
12517
12518Patch 8.2.1987
12519Problem: MS-Windows: Win32.mak is no longer needed.
12520Solution: Do not include Win32.mak. (Jason McHugh, closes #7290)
12521Files: src/Make_mvc.mak, src/INSTALLpc.txt
12522
12523Patch 8.2.1988
12524Problem: Still in Insert mode when opening terminal popup with a <Cmd>
12525 mapping in Insert mode.
12526Solution: Exit Insert mode. (closes #7295)
12527Files: src/edit.c, src/testdir/test_terminal.vim
12528
12529Patch 8.2.1989
12530Problem: Info popup triggers WinEnter and WinLeave autocommands.
12531Solution: Suppress autocommands for the info popup. (closes #7296)
12532Files: src/popupmenu.c, src/testdir/test_popupwin.vim
12533
12534Patch 8.2.1990
12535Problem: Cursor position wrong in terminal popup with finished job.
12536Solution: Only add the top and left offset when not done already.
12537 (closes #7298)
12538Files: src/popupwin.c, src/structs.h, src/drawline.c, src/move.c,
12539 src/terminal.c, src/testdir/dumps/Test_terminal_popup_m1.dump
12540
12541Patch 8.2.1991
12542Problem: Coverity warns for not using the ga_grow() return value.
12543Solution: Bail out if ga_grow() fails. (Yegappan Lakshmanan, closes #7303)
12544Files: src/getchar.c
12545
12546Patch 8.2.1992
12547Problem: Build fails with small features.
12548Solution: Add #ifdef.
12549Files: src/move.c
12550
12551Patch 8.2.1993
12552Problem: Occasional failure of the netbeans test.
12553Solution: Add "silent!". (Yegappan Lakshmanan, closes #7304)
12554Files: src/testdir/test_netbeans.vim
12555
12556Patch 8.2.1994 (after 8.2.1981)
12557Problem: MS-Windows: MinGW always does a full build.
12558Solution: Only check if $OUTDIR exists. (Masamichi Abe, closes #7311)
12559Files: src/Make_cyg_ming.mak
12560
12561Patch 8.2.1995
12562Problem: The popup menu can cause too much redrawing.
12563Solution: Reduce the length of the displayed text. (Yasuhiro Matsumoto,
12564 closes #7306)
12565Files: src/popupmenu.c
12566
12567Patch 8.2.1996
12568Problem: Vim9: invalid error for argument of extend().
12569Solution: Check if the type could match. (closes #7299)
12570Files: src/evalfunc.c, src/vim9compile.c, src/proto/vim9compile.pro,
12571 src/vim9type.c, src/proto/vim9type.pro,
12572 src/testdir/test_vim9_builtin.vim
12573
12574Patch 8.2.1997
12575Problem: Window changes when using bufload() while in a terminal popup.
12576Solution: When searching for a window by ID also find a popup window.
12577 (closes #7307)
12578Files: src/window.c, src/testdir/test_terminal.vim
12579
12580Patch 8.2.1998
12581Problem: Terminal Cmd test sometimes fails to close popup.
12582Solution: Add "term_finish" option.
12583Files: src/testdir/test_terminal.vim
12584
12585Patch 8.2.1999
12586Problem: Terminal popup test sometimes fails.
12587Solution: Wait for the popup to close.
12588Files: src/testdir/test_terminal.vim
12589
12590Patch 8.2.2000
12591Problem: Vim9: dict.key assignment not implemented yet.
12592Solution: Implement dict.key assignment. (closes #7312)
12593Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
12594
12595Patch 8.2.2001
12596Problem: Vim9: :def function does not apply 'maxfuncdepth'.
12597Solution: Use 'maxfuncdepth'. (issue #7313)
12598Files: src/vim9execute.c, src/userfunc.c, src/proto/userfunc.pro,
12599 src/testdir/test_vim9_func.vim
12600
12601Patch 8.2.2002
12602Problem: Vim9: lambda argument shadowed by function name.
12603Solution: Let function name be shadowed by lambda argument. (closes #7313)
12604Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
12605
12606Patch 8.2.2003
12607Problem: Build error with +conceal but without +popupwin.
12608Solution: Add #ifdef. (Tom Ryder, closes #7316)
12609Files: src/drawline.c
12610
12611Patch 8.2.2004 (after 8.2.2002)
12612Problem: Compiler warning for uninitialized variable.
12613Solution: Initialize "ufunc". (John Marriott)
12614Files: src/vim9compile.c
12615
12616Patch 8.2.2005
12617Problem: Redoing a mapping with <Cmd> doesn't work properly.
12618Solution: Fill the redo buffer. Use "<SNR>" instead of a key code.
12619 (closes #7282)
12620Files: src/ops.c, src/getchar.c, src/testdir/test_mapping.vim
12621
12622Patch 8.2.2006
12623Problem: .pbtxt files are not recognized.
12624Solution: Recognize .pbtxt as protobuf text buffers. (closes #7326)
12625Files: runtime/filetype.vim, src/testdir/test_filetype.vim
12626
12627Patch 8.2.2007
12628Problem: Test for insert mode in popup is not reliable.
12629Solution: Wait for the popup to disappear. (Ozaki Kiichi, closes #7321)
12630Files: src/testdir/test_terminal.vim
12631
12632Patch 8.2.2008
12633Problem: MS-Windows GUI: handling channel messages lags.
12634Solution: Reduce the wait time from 100 to 10 msec. (closes #7097)
12635Files: src/gui_w32.c
12636
12637Patch 8.2.2009
12638Problem: MS-Windows: setting $LANG in gvimext only causes problems.
12639Solution: Do not set $LANG. (Ken Takata, closes #7325)
12640Files: src/GvimExt/gvimext.cpp
12641
12642Patch 8.2.2010
12643Problem: Vim9: compiling fails for unreachable return statement.
12644Solution: Fix it. (closes #7319)
12645Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
12646
12647Patch 8.2.2011
12648Problem: "syn sync" reports a very large number.
12649Solution: Use "at the first line".
12650Files: src/syntax.c, src/testdir/test_syntax.vim
12651
12652Patch 8.2.2012
12653Problem: Vim9: confusing error message when using bool wrongly.
12654Solution: Mention "Bool" instead of "Special". (closes #7323)
12655Files: src/typval.c, src/errors.h, src/testdir/test_vim9_expr.vim
12656
12657Patch 8.2.2013
12658Problem: Vim9: not skipping white space after unary minus.
12659Solution: Skip whitespace. (closes #7324)
12660Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
12661
12662Patch 8.2.2014
12663Problem: Using CTRL-O in a prompt buffer moves cursor to start of the line.
12664Solution: Do not move the cursor when restarting edit. (closes #7330)
12665Files: src/job.c, src/testdir/test_prompt_buffer.vim
12666
12667Patch 8.2.2015
12668Problem: Vim9: literal dict #{} is not like any other language.
12669Solution: Support the JavaScript syntax.
12670Files: runtime/doc/vim9.txt, src/vim9compile.c,
12671 src/proto/vim9compile.pro, src/errors.h,
12672 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_builtin.vim,
12673 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
12674
12675Patch 8.2.2016
12676Problem: Swap file test is a little flaky.
12677Solution: Don't set a byte to a fixed value, increment it.
12678Files: src/testdir/test_swap.vim
12679
12680Patch 8.2.2017 (after 8.2.2015)
12681Problem: Missing part of the dict change.
12682Solution: Also change the script level dict.
12683Files: src/dict.c
12684
12685Patch 8.2.2018
12686Problem: Vim9: script variable not found from lambda.
12687Solution: In a lambda also check the script hashtab for a variable without a
12688 scope. (closes #7329)
12689Files: src/evalvars.c, src/testdir/test_vim9_func.vim
12690
12691Patch 8.2.2019 (after 8.2.2016)
12692Problem: Swap file test fails on MS-Windows.
12693Solution: Add four to the process ID. (Ken Takata, closes #7333)
12694Files: src/testdir/test_swap.vim
12695
12696Patch 8.2.2020
12697Problem: Some compilers do not like the "namespace" argument.
12698Solution: Rename to "use_namespace". (closes #7332)
12699Files: src/vim9compile.c, src/proto/vim9compile.pro
12700
12701Patch 8.2.2021
12702Problem: Vim9: get E1099 when autocommand resets did_emsg.
12703Solution: Add did_emsg_cumul. (closes #7336)
12704Files: src/globals.h, src/ex_docmd.c, src/vim9execute.c,
12705 src/testdir/test_vim9_func.vim
12706
12707Patch 8.2.2022
Bram Moolenaar1588bc82022-03-08 21:35:07 +000012708Problem: Vim9: star command recognized erroneously.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012709Solution: Give an error for missing colon. (issue #7335)
12710Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
12711
12712Patch 8.2.2023
12713Problem: Vim: memory leak when :execute fails.
12714Solution: Clear the growarray.
12715Files: src/vim9execute.c
12716
12717Patch 8.2.2024
12718Problem: Flicker when redrawing a popup with a title and border.
12719Solution: Do not redraw the border where the title is displayed. (Naruhiko
12720 Nishino, closes #7334)
12721Files: src/popupwin.c
12722
12723Patch 8.2.2025
12724Problem: Amiga: Not all colors are used on OS4.
12725Solution: Adjust the #ifdef to include __amigaos4__. (Ola Söder,
12726 closes #7328)
12727Files: src/term.c
12728
12729Patch 8.2.2026
12730Problem: Coverity warns for possibly using not NUL terminated string.
12731Solution: Put a NUL in b0_hname just in case.
12732Files: src/memline.c
12733
12734Patch 8.2.2027
12735Problem: Coverity warns for uninitialized field.
12736Solution: Set "v_lock".
12737Files: src/list.c
12738
12739Patch 8.2.2028
12740Problem: Coverity warns for using an uninitialized variable.
12741Solution: Initialize to NULL.
12742Files: src/eval.c
12743
12744Patch 8.2.2029
12745Problem: Coverity warns for not checking return value.
12746Solution: Check that u_save_cursor() returns OK.
12747Files: src/ops.c
12748
12749Patch 8.2.2030
12750Problem: Some tests fail on Mac.
12751Solution: Avoid Mac test failures. Add additional test for wildmenu.
12752 (Yegappan Lakshmanan, closes #7341)
12753Files: src/testdir/runtest.vim, src/testdir/test_cmdline.vim,
12754 src/testdir/test_options.vim, src/testdir/test_popupwin.vim
12755
12756Patch 8.2.2031
12757Problem: Some tests fail when run under valgrind.
12758Solution: Avoid timing problems.
12759Files: src/testdir/test_vim9_func.vim, src/testdir/test_channel.vim,
12760 src/testdir/test_clientserver.vim, src/testdir/test_debugger.vim,
12761 src/testdir/test_quotestar.vim
12762
12763Patch 8.2.2032
12764Problem: Cabalconfig and cabalproject filetypes not recognized.
12765Solution: Detect more cabal files. (Marcin Szamotulski, closes #7339)
12766Files: runtime/filetype.vim, src/testdir/test_filetype.vim
12767
12768Patch 8.2.2033
12769Problem: Vim9: :def without argument gives compilation error.
12770Solution: Add the DEF instruction. (closes #7344)
12771Files: src/ex_docmd.c, src/vim9.h, src/vim9compile.c, src/vim9execute.c,
12772 src/userfunc.c, src/proto/userfunc.pro,
12773 src/testdir/test_vim9_disassemble.vim,
12774 src/testdir/test_vim9_func.vim
12775
12776Patch 8.2.2034
12777Problem: Vim9: list unpack in for statement not compiled yet.
12778Solution: Compile list unpack. (closes #7345)
12779Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/errors.h,
12780 src/eval.c, src/testdir/test_vim9_disassemble.vim,
12781 src/testdir/test_vim9_script.vim
12782
12783Patch 8.2.2035
12784Problem: MS-Windows: some tests may fail.
12785Solution: Avoid test failures. (Yegappan Lakshmanan, closes #7346)
12786Files: src/testdir/test_channel.vim, src/testdir/test_ex_mode.vim,
12787 src/testdir/test_functions.vim
12788
12789Patch 8.2.2036
12790Problem: Current buffer is messed up if creating a new buffer for the
12791 quickfix window fails.
12792Solution: Check that creating the buffer succeeds. (closes #7352)
12793Files: src/quickfix.c, src/testdir/test_quickfix.vim,
12794 src/testdir/dumps/Test_quickfix_window_fails.dump
12795
12796Patch 8.2.2037
12797Problem: Compiler test depends on list of compiler plugins.
12798Solution: Compare with the actual list of compiler plugins.
12799Files: src/testdir/test_compiler.vim
12800
12801Patch 8.2.2038
12802Problem: Compiler test fails on MS-Windows.
12803Solution: Sort the found compiler plugin names.
12804Files: src/testdir/test_compiler.vim
12805
12806Patch 8.2.2039
12807Problem: Viminfo is not written when creating a new file.
12808Solution: Set "b_marks_read" in the new buffer. (Christian Brabandt,
12809 closes #7350)
12810Files: src/bufwrite.c, src/testdir/test_viminfo.vim
12811
12812Patch 8.2.2040
12813Problem: Terminal buffer disappears even when 'bufhidden' is "hide".
12814 (Sergey Vlasov)
12815Solution: Check 'bufhiddden' when a terminal buffer becomes hidden.
12816 (closes #7358)
12817Files: src/buffer.c, src/testdir/test_terminal.vim
12818
12819Patch 8.2.2041
12820Problem: Haskell filetype not optimally recognized.
12821Solution: Recognize all *.hsc files as Haskell. (Marcin Szamotulski,
12822 closes #7354)
12823Files: runtime/filetype.vim, src/testdir/test_filetype.vim
12824
12825Patch 8.2.2042
12826Problem: Build failure with +profile but without +reltime.
12827Solution: Adjust #ifdef. (Christian Brabandt, closes #7361)
12828Files: src/syntax.c
12829
12830Patch 8.2.2043
12831Problem: GTK3: white border around text stands out.
12832Solution: Use current theme color. (closes #7357, issue #349)
12833Files: src/gui_gtk_x11.c
12834
12835Patch 8.2.2044
12836Problem: MS-Windows: swap file test sometimes fails.
12837Solution: Use a more reliable way to change the process ID. When "timeout"
12838 fails use "ping" to wait up to ten minutes. (Ken Takata,
12839 closes #7365)
12840Files: .github/workflows/ci-windows.yaml, src/testdir/test_swap.vim
12841
12842Patch 8.2.2045
12843Problem: Highlighting a character too much with incsearch.
12844Solution: Check "search_match_endcol". (Christian Brabandt, closes #7360)
12845Files: src/drawline.c, src/testdir/test_search.vim,
12846 src/testdir/dumps/Test_incsearch_newline1.dump,
12847 src/testdir/dumps/Test_incsearch_newline2.dump,
12848 src/testdir/dumps/Test_incsearch_newline3.dump,
12849 src/testdir/dumps/Test_incsearch_newline4.dump,
12850 src/testdir/dumps/Test_incsearch_newline5.dump
12851
12852Patch 8.2.2046
12853Problem: Some test failures don't give a clear error.
12854Solution: Use assert_match() and assert_fails() instead of assert_true().
12855 (Ken Takata, closes #7368)
12856Files: src/testdir/test_autocmd.vim, src/testdir/test_backspace_opt.vim
12857
12858Patch 8.2.2047
12859Problem: Amiga: FEAT_ARP defined when it should not.
12860Solution: Adjust #ifdef. (Ola Söder, closes #7370)
12861Files: src/feature.h
12862
12863Patch 8.2.2048
12864Problem: Amiga: obsolete code.
12865Solution: Remove the unused lines. (Ola Söder, closes #7373)
12866Files: src/gui.c
12867
12868Patch 8.2.2049
12869Problem: Amiga: obsolete function.
12870Solution: Remove the function. (Ola Söder, closes #7374)
12871Files: src/memfile.c
12872
12873Patch 8.2.2050
12874Problem: Search test contains unneeded sleeps.
12875Solution: Rename the function, remove sleeps. (Christian Brabandt,
12876 closes #7369)
12877Files: src/testdir/test_search.vim
12878
12879Patch 8.2.2051
12880Problem: Vim9: crash when aborting a user function call.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000012881Solution: Do not use the return value when aborting. (closes #7372)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012882Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
12883
12884Patch 8.2.2052
12885Problem: Vim9: "edit +4 fname" gives an error. (Naruhiko Nishino)
12886Solution: Allow using a range in the +cmd argument. (closes #7364)
12887Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/vim.h, src/ex_cmds.c,
12888 src/testdir/test_vim9_cmd.vim
12889
12890Patch 8.2.2053
Bram Moolenaar1588bc82022-03-08 21:35:07 +000012891Problem: Vim9: lambda doesn't accept argument types.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012892Solution: Optionally accept argument types at the script level.
12893Files: src/eval.c, src/testdir/test_vim9_expr.vim
12894
12895Patch 8.2.2054
12896Problem: Amiga: FEAT_ARP defined when it should not.
12897Solution: Adjust "||" to "&&" in #ifdef. (Ola Söder, closes #7375)
12898Files: src/feature.h
12899
12900Patch 8.2.2055
12901Problem: MS-Windows: two Vim instances may use the same temp file.
12902Solution: Use the process ID for the temp name. (Ken Takata, closes #7378)
12903Files: src/fileio.c
12904
12905Patch 8.2.2056
12906Problem: Configure fails when building with the
12907 "implicit-function-declaration" error enabled, specifically on Mac.
12908Solution: Declear the functions like in the source code. (suggestion by
12909 Clemens Lang, closes #7380)
12910Files: src/configure.ac, src/auto/configure
12911
12912Patch 8.2.2057
12913Problem: Getting the selection may trigger TextYankPost autocmd.
12914Solution: Only trigger the autocommand when yanking in Vim, not for getting
12915 the selection. (closes #7367)
12916Files: src/clipboard.c, src/normal.c, src/register.c,
12917 src/testdir/test_autocmd.vim
12918
12919Patch 8.2.2058
12920Problem: Using mkview/loadview changes the jumplist.
12921Solution: Use ":keepjumps". Don't let ":badd" or ":balt" change the
12922 jumplist. (closes #7371)
12923Files: src/session.c, src/ex_docmd.c, src/testdir/test_mksession.vim
12924
12925Patch 8.2.2059
12926Problem: Amiga: can't find plugins.
12927Solution: Do not use "**" in the pattern. (Ola Söder, closes #7384)
12928Files: src/main.c
12929
12930Patch 8.2.2060
12931Problem: Check for features implemented with "if".
12932Solution: Use the Check commands. (Ken Takata, closes #7383)
12933Files: src/testdir/test_autocmd.vim, src/testdir/test_compiler.vim,
12934 src/testdir/test_delete.vim, src/testdir/test_diffmode.vim,
12935 src/testdir/test_expr.vim, src/testdir/test_fold.vim
12936
12937Patch 8.2.2061
12938Problem: Vim9: E1030 error when using empty string for term_sendkeys().
12939Solution: Don't check for an invalid type unless the terminal can't be
12940 found. (closes #7382)
12941Files: src/terminal.c, src/testdir/test_termcodes.vim
12942
12943Patch 8.2.2062
12944Problem: <Cmd> does not handle CTRL-V.
12945Solution: Call get_literal() after encountering CTRL-V. (closes #7387)
12946Files: src/getchar.c, src/testdir/test_mapping.vim
12947
12948Patch 8.2.2063
12949Problem: Vim9: only one level of indexing supported.
12950Solution: Handle more than one index in an assignment.
12951Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_assign.vim
12952
12953Patch 8.2.2064
12954Problem: terminal: cursor is on while redrawing, causing flicker.
12955Solution: Switch the cursor off while redrawing. Always add the top and
12956 left offset to the cursor position when not done already.
12957 (closes #5943)
12958Files: src/terminal.c, src/popupwin.c
12959
12960Patch 8.2.2065
12961Problem: Using map() and filter() on a range() is inefficient.
12962Solution: Do not materialize the range. (closes #7388)
12963Files: src/list.c, src/testdir/test_functions.vim
12964
12965Patch 8.2.2066
12966Problem: Vim9: assignment with += doesn't work.
12967Solution: Do not see the "+" as an addition operator.
12968Files: src/eval.c, src/ex_docmd.c, src/testdir/test_vim9_assign.vim
12969
12970Patch 8.2.2067 (after 8.2.2064)
12971Problem: Cursor position in popup terminal is wrong.
12972Solution: Don't check the flags.
12973Files: src/terminal.c, src/testdir/test_popupwin.vim
12974
12975Patch 8.2.2068
12976Problem: Transparent syntax item uses start/end of containing region.
12977Solution: Do not change the startpos and endpos of a transparent region to
12978 that of its containing region. (Adrian Ghizaru, closes #7349,
12979 closes #7391)
12980Files: src/syntax.c, src/testdir/test_syntax.vim
12981
12982Patch 8.2.2069
12983Problem: The quickfix window is not updated after setqflist().
12984Solution: Update the quickfix buffer. (Yegappan Lakshmanan, closes #7390,
12985 closes #7385)
12986Files: src/quickfix.c, src/testdir/test_quickfix.vim
12987
12988Patch 8.2.2070
12989Problem: Can't get the exit value in VimLeave or VimLeavePre autocommands.
12990Solution: Add v:exiting like in Neovim. (Yegappan Lakshmanan, closes #7395)
12991Files: runtime/doc/autocmd.txt, runtime/doc/eval.txt, src/evalvars.c,
12992 src/main.c, src/testdir/test_exit.vim, src/vim.h
12993
12994Patch 8.2.2071
12995Problem: Vim9: list assign doesn't accept an empty remainder list.
12996Solution: Recognize list assignment with ";".
12997Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim
12998
12999Patch 8.2.2072
13000Problem: Vim9: list assign not well tested.
13001Solution: Test with different destinations. Fix white space error.
13002Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
13003
13004Patch 8.2.2073
13005Problem: Vim9: for with unpack only works for local variables.
13006Solution: Recognize different destinations.
13007Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
13008
13009Patch 8.2.2074
13010Problem: Vim9: using :normal from Vim9 script can't handle range.
13011Solution: Execute a :normal command in legacy script context. (closes #7401)
13012Files: src/structs.h, src/ex_docmd.c, src/testdir/test_vim9_script.vim
13013
13014Patch 8.2.2075
13015Problem: Error for const argument to mapnew().
13016Solution: Don't give an error. (closes #7400)
13017Files: src/list.c, src/testdir/test_filter_map.vim
13018
13019Patch 8.2.2076
13020Problem: MS-Windows console: sometimes drops typed characters.
13021Solution: Do not wait longer than 10 msec for input. (issue #7164)
13022Files: src/os_win32.c
13023
13024Patch 8.2.2077
13025Problem: Build failure with small features.
13026Solution: Add #ifdef.
13027Files: src/structs.h, src/ex_docmd.c
13028
13029Patch 8.2.2078
13030Problem: Illegal memory access when using :print on invalid text. (Dhiraj
13031 Mishra)
13032Solution: Check for more composing characters than supported. (closes #7399)
13033Files: src/message.c, src/testdir/test_utf8.vim
13034
13035Patch 8.2.2079
13036Problem: Vim9: cannot put a linebreak before or after "in" of ":for".
13037Solution: Skip over linebreak.
13038Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
13039
13040Patch 8.2.2080
13041Problem: Vim9: no proper error message for using s:var in for loop.
13042Solution: Give a specific error.
13043Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
13044
13045Patch 8.2.2081
13046Problem: Vim9: cannot handle a linebreak after "=" in assignment.
13047Solution: Skip over linebreak. (closes #7407)
13048Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
13049 src/testdir/test_vim9_expr.vim
13050
13051Patch 8.2.2082
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013052Problem: Vim9: can still use the deprecated #{} dict syntax.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013053Solution: Remove support for #{} in Vim9 script. (closes #7406, closes #7405)
13054Files: src/dict.c, src/proto/dict.pro, src/eval.c, src/vim9compile.c,
13055 src/testdir/test_vim9_assign.vim,
13056 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
13057 src/testdir/test_vim9_disassemble.vim,
13058 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
13059 src/testdir/test_vim9_script.vim, src/testdir/test_popupwin.vim,
13060 src/testdir/test_textprop.vim
13061
13062Patch 8.2.2083
13063Problem: Vim9: crash when using ":silent!" and getting member fails.
13064Solution: Jump to on_fatal_error. (closes #7412)
13065Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
13066
13067Patch 8.2.2084
13068Problem: CTRL-V U doesn't work to enter a Unicode character when
13069 modifyOtherKeys is effective. (Ken Takata)
13070Solution: Add a flag to get_literal() for the shift key. (closes #7413)
13071Files: src/edit.c, src/proto/edit.pro, src/ex_getln.c, src/getchar.c,
13072 src/normal.c, src/testdir/test_termcodes.vim
13073
13074Patch 8.2.2085
13075Problem: Qt translation file is recognized as typescript.
13076Solution: Check the first line for "<?xml". (closes #7418)
13077Files: runtime/filetype.vim, src/testdir/test_filetype.vim
13078
13079Patch 8.2.2086
13080Problem: Libvterm tests are only run on Linux.
13081Solution: Use static libraries. (Ozaki Kiichi, closes #7419)
13082Files: .travis.yml, src/Makefile, src/libvterm/Makefile,
13083 src/libvterm/t/run-test.pl
13084
13085Patch 8.2.2087
13086Problem: Vim9: memory leak when statement is truncated.
13087Solution: Increment the number of local variables.
13088Files: src/vim9compile.c
13089
13090Patch 8.2.2088
13091Problem: Vim9: script test sometimes fails.
13092Solution: Unlet variables.
13093Files: src/testdir/test_vim9_script.vim
13094
13095Patch 8.2.2089
13096Problem: Libvterm test fails to build on Mac.
13097Solution: Adjust configure to remove a space between -L and the path that
13098 follows.
13099Files: src/configure.ac, src/auto/configure
13100
13101Patch 8.2.2090
13102Problem: Vim9: dict does not accept a key in quotes.
13103Solution: Recognize a key in single or double quotes.
13104Files: runtime/doc/vim9.txt, src/dict.c, src/proto/dict.pro,
13105 src/vim9compile.c, src/testdir/test_vim9_expr.vim
13106
13107Patch 8.2.2091
13108Problem: MS-Windows: build warnings.
13109Solution: Add a #pragma to suppress the deprecation warning. (Ken Takata)
13110 Avoid using a non-ASCII character. (closes #7421)
13111Files: src/message.c, src/os_win32.c
13112
13113Patch 8.2.2092
13114Problem: Vim9: unpredictable errors for script tests.
13115Solution: Use a different script file name for each run.
13116Files: src/testdir/vim9.vim, src/testdir/test_vim9_script.vim,
13117 src/testdir/test_vim9_func.vim, src/testdir/test_quickfix.vim,
13118 src/testdir/test_vim9_assign.vim
13119
13120Patch 8.2.2093
13121Problem: Vim9: script test sometimes fails.
13122Solution: Do not find a script variable by its typval if the name was
13123 cleared.
13124Files: src/vim9script.c
13125
13126Patch 8.2.2094
13127Problem: When an expression fails getting the next command may be wrong.
13128Solution: Do not check for a next command after :eval fails. (closes #7415)
13129Files: src/eval.c, src/testdir/test_vim9_cmd.vim
13130
13131Patch 8.2.2095
13132Problem: Vim9: crash when failed dict member is followed by concatenation.
13133Solution: Remove the dict from the stack. (closes #7416)
13134Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
13135
13136Patch 8.2.2096
13137Problem: Vim9: command modifiers not restored after assignment.
13138Solution: Jump to nextline instead of using continue.
13139Files: src/vim9compile.c, src/vim9execute.c,
13140 src/testdir/test_vim9_func.vim
13141
13142Patch 8.2.2097
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013143Problem: Vim9: using :silent! when calling a function prevents aborting
13144 that function.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013145Solution: Add emsg_silent_def and did_emsg_def.
13146Files: src/globals.h, src/message.c, src/vim9execute.c,
13147 src/testdir/test_vim9_func.vim
13148
13149Patch 8.2.2098
13150Problem: Vim9: function argument of sort() and map() not tested.
13151Solution: Add a couple of tests.
13152Files: src/testdir/test_vim9_builtin.vim
13153
13154Patch 8.2.2099
13155Problem: Vim9: some checks are not tested.
13156Solution: Add a few more tests. Give better error messages.
13157Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
13158 src/testdir/test_vim9_expr.vim
13159
13160Patch 8.2.2100
13161Problem: Insufficient testing for function range and dict.
13162Solution: Add a few tests. (Dominique Pellé, closes #7428)
13163Files: src/testdir/test_functions.vim, src/testdir/test_lambda.vim,
13164 src/testdir/test_signals.vim, src/testdir/test_user_func.vim
13165
13166Patch 8.2.2101
13167Problem: Vim9: memory leak when literal dict has an error and when an
13168 expression is not complete.
13169Solution: Clear the typval and the growarray.
13170Files: src/dict.c, src/vim9compile.c
13171
13172Patch 8.2.2102
13173Problem: Vim9: not all error messages tested.
13174Solution: Add a few test cases.
13175Files: src/testdir/test_vim9_func.vim
13176
13177Patch 8.2.2103
13178Problem: Vim9: unreachable code.
13179Solution: Remove the code to prepend s: to the variable name
13180Files: src/vim9compile.c
13181
13182Patch 8.2.2104
13183Problem: Build problem with Ruby 2.7.
13184Solution: Adjust function declarations. (Ozaki Kiichi, closes #7430)
13185Files: src/configure.ac, src/auto/configure, src/if_ruby.c
13186
13187Patch 8.2.2105
13188Problem: Sound test is a bit flaky.
13189Solution: Use WaitForAssert(). (Dominique Pellé, closes #7429)
13190Files: src/testdir/test_sound.vim
13191
13192Patch 8.2.2106
13193Problem: TOML files are not recognized.
13194Solution: Match *.toml. (issue #7432)
13195Files: runtime/filetype.vim, src/testdir/test_filetype.vim
13196
13197Patch 8.2.2107
13198Problem: Vim9: some errors not tested.
13199Solution: Add tests. Fix getting the right error.
13200Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
13201 src/testdir/test_vim9_expr.vim
13202
13203Patch 8.2.2108
13204Problem: Vim9: no test to check for :let error.
13205Solution: Add a test. Rename tests from _let_ to _var_.
13206Files: src/testdir/test_vim9_assign.vim
13207
13208Patch 8.2.2109
13209Problem: "vim -" does not work well when modifyOtherKeys is enabled and a
13210 shell command is executed on startup.
13211Solution: Only change modifyOtherKeys when executing a shell command in raw
13212 mode.
13213Files: src/os_unix.c
13214
13215Patch 8.2.2110
13216Problem: Cannot use ":shell" when reading from stdin. (Gary Johnson)
13217Solution: Revert patch 8.2.1833.
13218Files: src/main.c
13219
13220Patch 8.2.2111
13221Problem: GTK: Menu background is the same color as the main window.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013222Solution: Fix white space around the text in another way. (closes #7437,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013223 closes #7427)
13224Files: src/gui_gtk_x11.c
13225
13226Patch 8.2.2112
13227Problem: Running tests may leave some files behind.
13228Solution: Delete the right files. Fix a few typos. (Dominique Pellé,
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013229 closes #7436)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013230Files: src/testdir/test_filetype.vim, src/testdir/test_messages.vim,
13231 src/testdir/test_mksession.vim
13232
13233Patch 8.2.2113
13234Problem: MS-Windows GUI: crash after using ":set guifont=" four times.
13235Solution: Check for NULL pointer. (Ken Takata, closes #7434)
13236Files: src/gui_dwrite.cpp, src/testdir/test_gui.vim
13237
13238Patch 8.2.2114
13239Problem: Vim9: unreachable code in assignment.
13240Solution: Remove impossible condition and code.
13241Files: src/vim9compile.c
13242
13243Patch 8.2.2115
13244Problem: Vim9: some errors not tested for; dead code.
13245Solution: Add a test. Remove dead code.
13246Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
13247
13248Patch 8.2.2116
13249Problem: MS-Windows GUI: test for 'guifont' is incomplete.
13250Solution: Set 'renderoptions'. (Christian Brabandt)
13251Files: src/testdir/test_gui.vim
13252
13253Patch 8.2.2117
13254Problem: Some functions use any value as a string.
13255Solution: Check that the value is a non-empty string.
13256Files: src/typval.c, src/proto/typval.pro, src/mbyte.c, src/filepath.c,
13257 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim
13258
13259Patch 8.2.2118
13260Problem: Dead code in the job support. (Dominique Pellé)
13261Solution: Define USE_ARGV before checking for it.
13262Files: src/job.c
13263
13264Patch 8.2.2119
13265Problem: GTK3: status line background color is wrong.
13266Solution: Don't change the code for earlier GTK3 versions. (closes #7444)
13267Files: src/gui_gtk_x11.c
13268
13269Patch 8.2.2120
13270Problem: Not all Perl functionality is tested.
13271Solution: Add a few more test cases. (Dominique Pellé, closes #7440)
13272Files: src/testdir/test_perl.vim
13273
13274Patch 8.2.2121
13275Problem: Internal error when using \ze before \zs in a pattern.
13276Solution: Check the end is never before the start. (closes #7442)
13277Files: src/regexp_bt.c, src/regexp_nfa.c,
13278 src/testdir/test_regexp_latin.vim
13279
13280Patch 8.2.2122
13281Problem: Vim9: crash when sourcing vim9script early.
13282Solution: Use set_option_value() instead of setting p_cpo directly.
13283 (closes #7441)
13284Files: src/scriptfile.c, src/testdir/test_vim9_script.vim
13285
13286Patch 8.2.2123
13287Problem: After using a complete popup the buffer is listed. (Boris
13288 Staletic)
13289Solution: Make the buffer unlisted.
13290Files: src/popupmenu.c, src/testdir/test_popupwin.vim
13291
13292Patch 8.2.2124
13293Problem: Vim9: a range cannot be computed at runtime.
13294Solution: Add the ISN_RANGE instruction.
13295Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
13296 src/testdir/test_vim9_script.vim,
13297 src/testdir/test_vim9_disassemble.vim
13298
13299Patch 8.2.2125 (after 8.2.2122)
13300Problem: Vim9: leaking memory.
13301Solution: Free the saved 'cpo' value.
13302Files: src/scriptfile.c
13303
13304Patch 8.2.2126
13305Problem: Ruby: missing function prototype.
13306Solution: Add the prototype.
13307Files: src/if_ruby.c
13308
13309Patch 8.2.2127
13310Problem: Vim9: executing user command defined in Vim9 script not tested.
13311Solution: Add a test.
13312Files: src/testdir/test_vim9_script.vim
13313
13314Patch 8.2.2128
13315Problem: There is no way to do something on CTRL-Z.
13316Solution: Add VimSuspend and VimResume autocommand events. (closes #7450)
13317Files: runtime/doc/autocmd.txt, src/autocmd.c, src/ex_docmd.c,
13318 src/normal.c, src/testdir/test_suspend.vim, src/vim.h
13319
13320Patch 8.2.2129
13321Problem: MS-Windows: Checking if a file name is absolute is slow.
13322Solution: Do not use mch_FullName(). (closes #7033)
13323Files: src/os_mswin.c
13324
13325Patch 8.2.2130
13326Problem: Insert mode completion messages end up in message history.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013327Solution: Set msg_hist_off. (closes #7452)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013328Files: src/insexpand.c, src/testdir/test_ins_complete.vim
13329
13330Patch 8.2.2131
13331Problem: Vim9: crash when lambda uses same var as assignment.
13332Solution: Do not let lookup_local change lv_from_outer, make a copy.
13333 (closes #7461)
13334Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
13335 src/evalvars.c, src/proto/evalvars.pro,
13336 src/testdir/test_vim9_func.vim
13337
13338Patch 8.2.2132
13339Problem: Padding not drawn properly for popup window with title.
13340Solution: Draw the padding below the title. (closes #7460)
13341Files: src/popupwin.c, src/testdir/test_popupwin.vim,
13342 src/testdir/dumps/Test_popupwin_longtitle_3.dump,
13343 src/testdir/dumps/Test_popupwin_longtitle_4.dump
13344
13345Patch 8.2.2133
13346Problem: Vim9: checking for a non-empty string is too strict.
13347Solution: Check for any string. (closes #7447)
13348Files: src/typval.c, src/proto/typval.pro, src/errors.h, src/filepath.c,
13349 src/testdir/test_vim9_builtin.vim
13350
13351Patch 8.2.2134
13352Problem: Vim9: get E1099 when autocmd triggered in builtin function.
13353Solution: Check that did_emsg increased instead of checking that it changed.
13354 (closes #7448)
13355Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
13356
13357Patch 8.2.2135
13358Problem: Vim9: #{ still seen as start of dict in some places.
13359Solution: Remove check for { after #. (closes #7456)
13360Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
13361
13362Patch 8.2.2136
13363Problem: Vim9: Using uninitialized variable.
13364Solution: Initialize "len" to zero. Clean up fnamemodify().
13365Files: src/filepath.c
13366
13367Patch 8.2.2137
13368Problem: Vim9: :echo and :execute give error for empty argument.
13369Solution: Ignore an empty argument. (closes #7468)
13370Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_script.vim,
13371 src/testdir/test_vim9_disassemble.vim
13372
13373Patch 8.2.2138
13374Problem: Vim9: "exit_cb" causes Vim to exit.
13375Solution: Require white space after a command in Vim9 script. (closes #7467)
13376 Also fix that Vim9 style heredoc was not always recognized.
13377Files: src/ex_cmds.h, src/ex_docmd.c, src/errors.h, src/userfunc.c,
13378 src/testdir/test_vim9_assign.vim,
13379 src/testdir/test_vim9_script.vim, src/testdir/test_let.vim
13380
13381Patch 8.2.2139
13382Problem: Vim9: unreachable code in assignment.
13383Solution: Don't check "new_local" when "has_index" is set. Add test for
13384 wrong type of list index.
13385Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
13386
13387Patch 8.2.2140
13388Problem: Build failure with tiny features.
13389Solution: Add #ifdef.
13390Files: src/ex_docmd.c
13391
13392Patch 8.2.2141
13393Problem: A user command with try/catch may not catch an expression error.
13394Solution: When an expression fails check for following "|". (closes #7469)
13395Files: src/eval.c, src/testdir/test_trycatch.vim,
13396 src/testdir/test_vimscript.vim
13397
13398Patch 8.2.2142
13399Problem: Memory leak when heredoc is not terminated.
13400Solution: Free heredoc_trimmed.
13401Files: src/userfunc.c
13402
13403Patch 8.2.2143
13404Problem: Vim9: dead code in compiling :unlet.
13405Solution: Don't check for "!" a second time.
13406Files: src/vim9compile.c
13407
13408Patch 8.2.2144
13409Problem: Vim9: some corner cases not tested.
13410Solution: Add a few tests.
13411Files: src/testdir/test_vim9_script.vim, src/testdir/test_vim9_cmd.vim
13412
13413Patch 8.2.2145
13414Problem: Vim9: concatenating lists does not adjust type of result.
13415Solution: When list member types differ use "any" member type.
13416 (closes #7473)
13417Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
13418
13419Patch 8.2.2146
13420Problem: Vim9: automatic conversion of number to string for dict key.
13421Solution: Do not convert number to string. (closes #7474)
13422Files: src/dict.c, src/testdir/test_vim9_expr.vim
13423
13424Patch 8.2.2147
13425Problem: Quickfix window title not updated in all tab pages.
13426Solution: Update the quickfix window title in all tab pages. (Yegappan
13427 Lakshmanan, closes #7481, closes #7466)
13428Files: src/quickfix.c, src/testdir/test_quickfix.vim
13429
13430Patch 8.2.2148
13431Problem: Vim9: crash when user command doesn't match.
13432Solution: Adjust command index. (closes #7479)
13433Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
13434
13435Patch 8.2.2149
13436Problem: Popupwin test for latin1 sometimes fails.
13437Solution: Wait for the script to finish.
13438Files: src/testdir/test_popupwin.vim
13439
13440Patch 8.2.2150
13441Problem: Github actions CI isn't used for all available platforms.
13442Solution: Update the github workflows. (Ozaki Kiichi, closes #7433)
13443Files: .coveralls.yml, .github/workflows/ci-windows.yaml,
13444 .github/workflows/ci.yml, .travis.yml, README.md,
13445 ci/build-snd-dummy.sh, ci/setup-xvfb.sh
13446
13447Patch 8.2.2151
13448Problem: $dir not expanded when configure checks for moonjit.
13449Solution: Use double quotes instead of single quotes. (closes #7478)
13450Files: src/configure.ac, src/auto/configure
13451
13452Patch 8.2.2152
13453Problem: screenpos() does not include the WinBar offset.
13454Solution: Use W_WINROW() instead of directly using w_window. (closes #7487)
13455Files: src/move.c, src/testdir/test_cursor_func.vim
13456
13457Patch 8.2.2153
13458Problem: Popupwin test for latin1 still fails sometimes.
13459Solution: Wait for the "cat" command to finish.
13460Files: src/testdir/test_popupwin.vim
13461
13462Patch 8.2.2154
13463Problem: Popupwin test for terminal buffer fails sometimes.
13464Solution: Wait for the prompt to appear.
13465Files: src/testdir/test_popupwin.vim
13466
13467Patch 8.2.2155
13468Problem: Warning from Github actions for code analysis.
13469Solution: Remove the "git checkout HEAD^2" block.
13470Files: .github/workflows/codeql-analysis.yml
13471
13472Patch 8.2.2156
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013473Problem: Github actions run on pushing a tag.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013474Solution: Don't run CI on tag push. Omit coveralls on pull-request.
13475 (Ozaki Kiichi, closes #7489)
13476Files: .github/workflows/ci.yml, .github/workflows/codeql-analysis.yml
13477
13478Patch 8.2.2157
13479Problem: Vim9: can delete a Vim9 script variable from a function.
13480Solution: Check the variable is defined in Vim9 script. (closes #7483)
13481Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
13482
13483Patch 8.2.2158
13484Problem: CI on cirrus times out, coveralls doesn't always run.
13485Solution: Set timeout to 20 minutes. Adjust condition. (closes #7493)
13486Files: .cirrus.yml, .github/workflows/ci.yml
13487
13488Patch 8.2.2159
13489Problem: Vim9: when declaring a list it is not allocated yet, causing a
13490 following extend() to fail.
13491Solution: When fetching a variable value for a list or dict that is null
13492 allocate the list or dict, so it can be used. (closes #7491)
13493Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
13494
13495Patch 8.2.2160
13496Problem: Various typos.
13497Solution: Fix spelling mistakes. (closes #7494)
13498Files: src/bufwrite.c, src/cindent.c, src/cmdexpand.c, src/eval.c,
13499 src/ex_cmds.c, src/feature.h, src/getchar.c, src/gui_haiku.cc,
13500 src/gui_xmdlg.c, src/help.c, src/if_ole.cpp, src/insexpand.c,
13501 src/list.c, src/map.c, src/memline.c, src/normal.c,
13502 src/os_win32.c, src/search.c, src/term.c,
13503 src/testdir/test_arglist.vim, src/testdir/test_autocmd.vim,
13504 src/testdir/test_debugger.vim, src/testdir/test_increment.vim,
13505 src/testdir/test_menu.vim, src/testdir/test_netbeans.vim,
13506 src/testdir/test_popupwin.vim, src/testdir/test_python2.vim,
13507 src/testdir/test_python3.vim, src/testdir/test_sort.vim,
13508 src/testdir/test_terminal2.vim, src/testdir/test_terminal3.vim,
13509 src/testdir/test_vartabs.vim, src/testdir/test_vimscript.vim,
13510 src/textprop.c, src/userfunc.c, src/vim9.h, src/vim9compile.c,
13511 src/vim9execute.c
13512
13513Patch 8.2.2161
13514Problem: Arguments -T and -x not tested yet.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013515Solution: Add a test. (Dominique Pellé, closes #7490)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013516Files: src/testdir/test_startup.vim
13517
13518Patch 8.2.2162
13519Problem: Vim9: Cannot load or store autoload variables.
13520Solution: Add ISN_LOADAUTO and ISN_STOREAUTO. (closes #7485)
13521Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/dict.c,
13522 src/eval.c, src/evalvars.c, src/proto/evalvars.pro,
13523 src/testdir/test_vim9_disassemble.vim,
13524 src/testdir/test_vim9_script.vim
13525
13526Patch 8.2.2163
13527Problem: Crash when discarded exception is the current exception.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013528Solution: Compare the exception with current_exception. (closes #7499)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013529Files: src/ex_eval.c
13530
13531Patch 8.2.2164
13532Problem: Vim9: autoload function doesn't work in script that starts with
13533 an upper case letter.
13534Solution: Check for the autoload character. (closes #7502)
13535Files: src/userfunc.c, src/testdir/test_vim9_script.vim
13536
13537Patch 8.2.2165
13538Problem: Vim9: assignment to dict member does not work.
13539Solution: Fix recognizing dict member. (closes #7484)
13540Files: src/ex_docmd.c, src/eval.c, src/evalvars.c, src/vim.h
13541
13542Patch 8.2.2166
13543Problem: Auto format doesn't work when deleting text.
13544Solution: Make "x" trigger auto format. (closes #7504)
13545Files: src/ops.c, src/testdir/test_textformat.vim
13546
13547Patch 8.2.2167
13548Problem: Vim9: assign test fails. (Elimar Riesebieter)
13549Solution: Adjust the test for dict assignment.
13550Files: src/testdir/test_vim9_assign.vim
13551
13552Patch 8.2.2168
13553Problem: Vim9: error for assigning to dict of dict.
13554Solution: Remember the destination type. (closes #7506)
13555Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
13556
13557Patch 8.2.2169
13558Problem: Vim9: test leaves file behind.
13559Solution: Rename script files. (Dominique Pellé, closes #7511)
13560 Use try/finally.
13561Files: src/testdir/test_vim9_script.vim, src/testdir/vim9.vim
13562
13563Patch 8.2.2170
13564Problem: Vim9: a global function defined in a :def function fails if it
13565 uses the context.
13566Solution: Create a partial to store the closure context. (see #7410)
13567Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9execute.c,
13568 src/structs.h, src/testdir/test_vim9_func.vim
13569
13570Patch 8.2.2171
13571Problem: Valgrind warning for using uninitialized value.
13572Solution: Do not use "startp" or "endp" unless there is a match.
13573Files: src/regexp_nfa.c
13574
13575Patch 8.2.2172
13576Problem: Vim9: number of arguments is not always checked. (Yegappan
13577 Lakshmanan)
13578Solution: Check number of arguments when calling function by name.
13579Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9execute.c,
13580 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
13581
13582Patch 8.2.2173
13583Problem: Vim9: get internal error when assigning to undefined variable.
13584Solution: Add error message. (closes #7475)
13585Files: src/vim9compile.c, src/vim9execute.c, src/errors.h,
13586 src/testdir/test_vim9_cmd.vim
13587
13588Patch 8.2.2174
13589Problem: Mac version doesn't specify the CPU architecture.
13590Solution: Add "arm64" or "x86_64". (Yee Cheng Chin, closes #7519)
13591Files: src/version.c
13592
13593Patch 8.2.2175
13594Problem: Github actions: clang-11 handling suboptimal.
13595Solution: Separate step of installing clang-11. Get ubuntu release name
13596 dynamically. (Ozaki Kiichi, closes #7514)
13597Files: .github/workflows/ci.yml
13598
13599Patch 8.2.2176
13600Problem: Crash with a sequence of fold commands.
13601Solution: Bail out when there are no folds at all. Add a test (Dominique
13602 Pellé) (closes #7515)
13603Files: src/fold.c, src/testdir/test_fold.vim
13604
13605Patch 8.2.2177
13606Problem: Pattern "^" does not match if the first character in the line is
13607 combining. (Rene Kita)
13608Solution: Do accept a match at the start of the line. (closes #6963)
13609Files: src/regexp_nfa.c, src/testdir/test_regexp_utf8.vim
13610
13611Patch 8.2.2178
13612Problem: Python 3: non-utf8 character cannot be handled.
13613Solution: Change the string decode. (Björn Linse, closes #1053)
13614Files: src/if_py_both.h, src/if_python.c, src/if_python3.c,
13615 src/testdir/test_python3.vim, src/testdir/test_python2.vim
13616
13617Patch 8.2.2179
13618Problem: Vim9: crash when indexing a dict with a number.
13619Solution: Add ISN_STOREINDEX. (closes #7513)
13620Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
13621 src/errors.h, src/testdir/test_vim9_assign.vim,
13622 src/testdir/test_vim9_disassemble.vim
13623
13624Patch 8.2.2180
13625Problem: Vim9: test for error after error is flaky.
13626Solution: Wait for job to finish instead of a fixed delay.
13627Files: src/testdir/test_vim9_script.vim
13628
13629Patch 8.2.2181
13630Problem: Valgrind warnings for using uninitialized value.
13631Solution: Do not use "start" or "end" unless there is a match.
13632Files: src/regexp_nfa.c, src/regexp_bt.c
13633
13634Patch 8.2.2182
13635Problem: Vim9: value of 'magic' is still relevant.
13636Solution: Always behave like 'magic' is on in Vim9 script (closes #7509)
13637Files: src/option.c, src/proto/option.pro, src/arglist.c, src/buffer.c,
13638 src/cmdexpand.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c,
13639 src/insexpand.c, src/normal.c, src/search.c, src/tag.c,
13640 src/structs.h, src/globals.h, src/ex_cmds.h,
13641 src/testdir/test_vim9_cmd.vim
13642
13643Patch 8.2.2183
13644Problem: Vim9: value of 'edcompatible' and 'gdefault' are used.
13645Solution: Ignore these deprecated options in Vim9 script. (closes #7508)
13646Files: src/ex_cmds.c, src/testdir/test_vim9_cmd.vim
13647
13648Patch 8.2.2184
13649Problem: Vim9: no error when using "2" for a line number.
13650Solution: Give an error message if the line number is invalid. (closes #7492)
13651Files: src/typval.c, src/evalfunc.c, src/testdir/test_vim9_builtin.vim,
13652 src/testdir/test_cursor_func.vim
13653
13654Patch 8.2.2185
13655Problem: BufUnload is not triggered for the quickfix dummy buffer.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013656Solution: Do trigger BufUnload. (Pontus Leitzler, closes #7518, closes #7517)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013657 Fix white space around "=".
13658Files: src/quickfix.c, src/testdir/test_autocmd.vim
13659
13660Patch 8.2.2186
13661Problem: Vim9: error when using 'opfunc'.
13662Solution: Do not expect a return value from 'opfunc'. (closes #7510)
13663Files: src/eval.c, src/proto/eval.pro, src/ops.c,
13664 src/testdir/test_vim9_func.vim
13665
13666Patch 8.2.2187
13667Problem: Python 3 test fails sometimes. (Christian Brabandt)
13668Solution: Accept two SystemError messages.
13669Files: src/testdir/test_python3.vim
13670
13671Patch 8.2.2188
13672Problem: Vim9: crash when calling global function from :def function.
13673Solution: Set the outer context. Define the partial for the context on the
13674 original function. Use a refcount to keep track of which ufunc is
13675 using a dfunc. (closes #7525)
13676Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9execute.c,
13677 src/proto/vim9execute.pro, src/userfunc.c, src/proto/userfunc.pro,
13678 src/structs.h, src/vim9.h, src/testdir/test_vim9_func.vim
13679
13680Patch 8.2.2189
13681Problem: Cannot repeat a command that uses the small delete register.
13682Solution: Store the register name instead of the contents. (Christian
13683 Brabandt, closes #7527)
13684Files: src/ops.c, src/register.c, src/testdir/test_registers.vim
13685
13686Patch 8.2.2190
13687Problem: Vim9: crash when compiled with EXITFREE.
13688Solution: Check that df_ufunc is not NULL.
13689Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
13690
13691Patch 8.2.2191
13692Problem: Vim9: using wrong name with lambda in nested function.
13693Solution: Copy the lambda name earlier. (closes #7525)
13694Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
13695
13696Patch 8.2.2192
13697Problem: Codecov on github actions fails.
13698Solution: Revert to codecov script. (Ozaki Kiichi, closes #7529)
13699Files: Filelist, .github/workflows/ci.yml
13700
13701Patch 8.2.2193
13702Problem: Vim9: can change constant in :def function.
13703Solution: Check if a variable is locked. (issue #7526)
13704Files: src/evalvars.c, src/proto/evalvars.pro, src/vim9execute.c,
13705 src/testdir/test_vim9_func.vim
13706
13707Patch 8.2.2194
13708Problem: Vim9: cannot use :const or :final at the script level.
13709Solution: Support using :const and :final. (closes #7526)
13710Files: src/vim.h, src/evalvars.c, src/testdir/test_vim9_assign.vim,
13711 src/testdir/test_vim9_func.vim
13712
13713Patch 8.2.2195
13714Problem: Failing tests for :const.
13715Solution: Add missing check for ASSIGN_FINAL.
13716Files: src/eval.c, src/evalvars.c, src/testdir/test_vim9_func.vim
13717
13718Patch 8.2.2196
13719Problem: :version output has extra spaces in compile and link command.
13720Solution: Adjust QUOTESED. (closes #7505)
13721Files: src/configure.ac, src/auto/configure
13722
13723Patch 8.2.2197
13724Problem: Assert arguments order reversed.
13725Solution: Swap the arguments. (Christian Brabandt, closes #7531)
13726Files: src/testdir/test_registers.vim
13727
13728Patch 8.2.2198
13729Problem: ml_get error when resizing window and using text property.
13730Solution: Validate botline of the right window. (closes #7528)
13731Files: src/move.c, src/proto/move.pro, src/textprop.c,
13732 src/testdir/test_textprop.vim
13733
13734Patch 8.2.2199
13735Problem: First write after setting 'eol' does not have NL added. (Tomáš
13736 Janoušek)
13737Solution: Only use b_no_eol_lnum when doing a binary write. (closes #7535)
13738Files: src/bufwrite.c, src/testdir/test_writefile.vim
13739
13740Patch 8.2.2200
13741Problem: Vim9: lambda without white space around -> is confusing.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013742Solution: Require white space in a :def function. (issue #7503)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013743Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
13744 src/testdir/test_vim9_disassemble.vim
13745
13746Patch 8.2.2201
13747Problem: Write file test fails on MS-Windows.
13748Solution: Force edit after setting 'fileformat'.
13749Files: src/testdir/test_writefile.vim
13750
13751Patch 8.2.2202
13752Problem: Write file test still fails on MS-Windows.
13753Solution: Set fileformat with the :edit command
13754Files: src/testdir/test_writefile.vim
13755
13756Patch 8.2.2203
13757Problem: Moodle gift files are not recognized.
13758Solution: Add a filetype pattern. (Delim Temizer)
13759Files: runtime/filetype.vim, src/testdir/test_filetype.vim
13760
13761Patch 8.2.2204
13762Problem: Vim9: using -> both for method and lambda is confusing.
13763Solution: Use => for lambda in :def function.
13764Files: runtime/doc/vim9.txt, src/vim9compile.c, src/userfunc.c,
13765 src/testdir/test_vim9_expr.vim
13766
13767Patch 8.2.2205
13768Problem: Vim9: memory leak when parsing lambda fails.
13769Solution: Clear growarrays.
13770Files: src/userfunc.c
13771
13772Patch 8.2.2206
13773Problem: :exe command line completion only works for first argument.
13774Solution: Skip over text if more is following. (closes #7546)
13775Files: src/eval.c, src/testdir/test_cmdline.vim
13776
13777Patch 8.2.2207
13778Problem: Illegal memory access if popup menu items are changed while the
13779 menu is visible. (Tomáš Janoušek)
13780Solution: Make a copy of the text. (closes #7537)
13781Files: src/popupmenu.c, src/testdir/test_popup.vim,
13782 src/testdir/dumps/Test_popup_command_04.dump,
13783 src/testdir/dumps/Test_popup_command_05.dump
13784
13785Patch 8.2.2208
13786Problem: Vim9: after reloading a script variable index may be invalid.
13787Solution: When the sequence number doesn't match give an error for using a
13788 script-local variable from a compiled function. (closes #7547)
13789Files: src/vim9.h, src/structs.h, src/errors.h, src/vim9compile.c,
13790 src/vim9execute.c, src/scriptfile.c,
13791 src/testdir/test_vim9_script.vim
13792
13793Patch 8.2.2209
13794Problem: Vim9: return type of => lambda not parsed.
13795Solution: Parse and use the return type.
13796Files: src/vim9compile.c, src/userfunc.c, src/vim9type.c,
Bram Moolenaar47c532e2022-03-19 15:18:53 +000013797 src/proto/vim9type.pro, src/vim9script.c, src/eval.c,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013798 src/testdir/test_vim9_expr.vim
13799
13800Patch 8.2.2210
13801Problem: Vim9: allocating a type to set TTFLAG_BOOL_OK.
13802Solution: Add t_number_bool.
13803Files: src/globals.h, src/vim9type.c, src/vim9compile.c
13804
13805Patch 8.2.2211
13806Problem: MS-Windows: can't load Python dll if not in the path.
13807Solution: Use the InstallPath registry entry. (Kelvin Lee, closes #7540)
13808Files: src/if_python3.c
13809
13810Patch 8.2.2212
13811Problem: Vim9: lambda with => does not work at the script level.
13812Solution: Make it work.
13813Files: src/eval.c, src/vim9type.c, src/userfunc.c,
13814 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_expr.vim
13815
13816Patch 8.2.2213
13817Problem: Checking white space around -> is not backwards compatible.
13818Solution: Only check white space around =>.
13819Files: src/userfunc.c
13820
13821Patch 8.2.2214
13822Problem: ":e#" does not give a warning for missing white space.
13823Solution: Adjust the check for white space. (closes #7545)
13824Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
13825
13826Patch 8.2.2215
13827Problem: Vim9: `=expr` not recognized in global command.
13828Solution: Skip over pattern. (issue #7541)
13829Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
13830
13831Patch 8.2.2216
13832Problem: Vim9: range with missing colon can be hard to spot.
13833Solution: Include the start of the range in the error. (closes #7543)
13834Files: src/errors.h, src/ex_docmd.c, src/vim9compile.c,
13835 src/testdir/test_vim9_cmd.vim
13836
13837Patch 8.2.2217
13838Problem: Vim9: command modifiers not restored in catch block.
13839Solution: Restore command modifiers. (closes #7542)
13840Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
13841
13842Patch 8.2.2218
13843Problem: Vim9: failure if passing more arguments to a lambda than expected.
13844Solution: Only put expected arguments on the stack. (closes #7548)
13845Files: src/vim9execute.c, src/testdir/test_vim9_builtin.vim
13846
13847Patch 8.2.2219
13848Problem: Vim9: method call with expression not supported.
13849Solution: Implement expr->(expr)().
13850Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
13851
13852Patch 8.2.2220
13853Problem: Vim9: memory leak when parsing nested parenthesis.
13854Solution: Clear newargs.
13855Files: src/userfunc.c
13856
13857Patch 8.2.2221
13858Problem: If <Down> is mapped on the command line 'wildchar' is inserted.
13859Solution: Set KeyTyped when using 'wildchar'. (closes #7552)
13860Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
13861
13862Patch 8.2.2222
13863Problem: Vim9: cannot keep script variables when reloading.
13864Solution: Add the "noclear" argument to :vim9script.
13865Files: runtime/doc/vim9.txt, src/structs.h, src/scriptfile.c,
13866 src/vim9script.c, src/ex_cmds.h, src/ex_docmd.c,
13867 src/testdir/test_vim9_script.vim
13868
13869Patch 8.2.2223
13870Problem: Vim9: Reloading marks a :def function as deleted.
13871Solution: Clear the function contents but keep the index.
13872Files: runtime/doc/vim9.txt, src/vim9compile.c, src/userfunc.c,
13873 src/testdir/test_vim9_script.vim
13874
13875Patch 8.2.2224
13876Problem: Vim9: crash if script reloaded with different variable type.
13877Solution: Check the type when accessing the variable.
13878Files: src/vim9execute.c, src/vim9compile.c, src/vim9.h, src/vim9type.c,
13879 src/proto/vim9type.pro, src/errors.h, src/evalvars.c,
13880 src/vim9script.c, src/proto/vim9script.pro,
13881 src/testdir/test_vim9_script.vim
13882
13883Patch 8.2.2225
13884Problem: Vim9: error when using :import in legacy script twice.
13885Solution: Make it possible to redefine an import when reloading.
13886Files: src/vim9script.c, src/proto/vim9script.pro, src/structs.h,
13887 src/evalvars.c, src/vim9compile.c,
13888 src/testdir/test_vim9_script.vim
13889
13890Patch 8.2.2226
13891Problem: Vim9: script test fails.
13892Solution: Add missing change.
13893Files: src/scriptfile.c
13894
13895Patch 8.2.2227
13896Problem: Vim9: recognizing lambda is too complicated.
13897Solution: Call compile_lambda() and check for NOTDONE.
13898Files: src/vim9compile.c, src/userfunc.c, src/testdir/test_vim9_expr.vim
13899
13900Patch 8.2.2228
13901Problem: Vim9: cannot use ":e #" because # starts a comment.
13902Solution: Support using %% instead of #.
13903Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
13904
13905Patch 8.2.2229
13906Problem: build failure without the +eval feature.
13907Solution: Add #ifdef.
13908Files: src/ex_docmd.c
13909
13910Patch 8.2.2230
13911Problem: Vim9: insert completion runs into error.
13912Solution: Insert colon before range. (closes #7556)
13913Files: src/insexpand.c, src/testdir/test_vim9_cmd.vim
13914
13915Patch 8.2.2231
13916Problem: When "--remote file" is used "file" is not reloaded.
13917Solution: When a :drop command is used for a file that is already displayed
13918 in a window and it has not been changed, check if it needs to be
13919 reloaded. (closes #7560)
13920Files: src/ex_cmds.c, src/testdir/test_clientserver.vim
13921
13922Patch 8.2.2232
13923Problem: Compiler error for falling through into next case.
13924Solution: Move FALLTHROUGH below the #endif
13925Files: src/ex_docmd.c
13926
13927Patch 8.2.2233
13928Problem: Cannot convert a byte index into a character index.
13929Solution: Add charidx(). (Yegappan Lakshmanan, closes #7561)
13930Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
13931 src/testdir/test_functions.vim
13932
13933Patch 8.2.2234
13934Problem: Command line wildmenu test often fails with Unix GUI.
13935Solution: Skip the test where it is expected to fail.
13936Files: src/testdir/test_cmdline.vim
13937
13938Patch 8.2.2235
13939Problem: Build failure with some Ruby versions.
13940Solution: Adjust the code for Ruby 3.0. (Ozaki Kiichi, closes #7564)
13941Files: ci/config.mk.clang.sed, src/if_ruby.c
13942
13943Patch 8.2.2236
13944Problem: 'scroll' option can change when setting the statusline or tabline
13945 but the option context is not updated.
13946Solution: Update the script context when the scroll option is changed as a
13947 side effect. (Christian Brabandt, closes #7533)
13948Files: runtime/doc/options.txt, src/scriptfile.c,
13949 src/testdir/test_options.vim, src/vim.h, src/window.c
13950
13951Patch 8.2.2237
13952Problem: CI on Mac fails in sed command.
13953Solution: Set LC_ALL to "C". (Ozaki Kiichi, closes #7565)
13954Files: .github/workflows/ci.yml
13955
13956Patch 8.2.2238
13957Problem: Vim9: cannot load a Vim9 script without the +eval feature.
13958Solution: Support Vim9 script syntax without the +eval feature.
13959Files: src/ex_docmd.c, src/vim9script.c, src/globals.h, src/main.c,
13960 src/autocmd.c, src/buffer.c, src/structs.h, src/menu.c,
13961 src/scriptfile.c, src/usercmd.c, src/proto.h, src/errors.h
13962
13963Patch 8.2.2239
13964Problem: Vim9: concatenating lines with backslash is inconvenient.
13965Solution: Support concatenating lines starting with '|', useful for
13966 :autocmd, :command, etc. (closes #6702)
13967Files: runtime/doc/vim9.txt, src/scriptfile.c, src/vim9script.c,
13968 src/proto/vim9script.pro, src/vim9compile.c,
13969 src/proto/vim9compile.pro, src/userfunc.c, src/structs.h,
13970 src/testdir/test_vim9_cmd.vim
13971
13972Patch 8.2.2240
13973Problem: Clientserver test fails if full path is used.
13974Solution: Ignore the path preceding the file name.
13975Files: src/testdir/test_clientserver.vim
13976
13977Patch 8.2.2241
13978Problem: Build with Ruby and clang may fail.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013979Solution: Adjust configure and sed script. (Ozaki Kiichi, closes #7566)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013980Files: ci/config.mk.clang.sed, src/auto/configure, src/configure.ac
13981
13982Patch 8.2.2242
13983Problem: Vim9: line continuation with bar does not work at script level.
13984Solution: Check for Vim9 script.
13985Files: src/structs.h, src/ex_docmd.c, src/userfunc.c, src/scriptfile.c,
13986 src/testdir/test_vim9_cmd.vim
13987
13988Patch 8.2.2243
13989Problem: Crash when popup mask contains zeroes.
13990Solution: Check boundaries properly. (closes #7569)
13991Files: src/popupwin.c, src/testdir/test_popupwin.vim
13992
13993Patch 8.2.2244
13994Problem: Crash when making the window width of the not-current window
13995 negative.
13996Solution: Make sure the window width is not negative. (closes #7568)
13997Files: src/window.c, src/testdir/test_window_cmd.vim
13998
13999Patch 8.2.2245
14000Problem: Vim9: return value of winrestcmd() cannot be executed.
14001Solution: Put colons before each range. (closes #7571)
14002Files: src/evalwindow.c, src/testdir/test_vim9_builtin.vim
14003
14004Patch 8.2.2246
14005Problem: Cursor keys not recognized at the hit-Enter prompt after executing
14006 an external command.
14007Solution: Change the codes for the extra cursor keys. (closes #7562)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014008 Tune the delays to avoid test flakiness.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014009Files: runtime/doc/term.txt, src/term.c, src/testdir/test_terminal3.vim
14010
14011Patch 8.2.2247
14012Problem: VMS: various smaller problems.
14013Solution: Fix VMS building and other problems. (Zoltan Arpadffy)
14014Files: src/term.c, src/gui_gtk_vms.h, src/os_vms_conf.h, src/gui_x11.c,
14015 src/Make_vms.mms, src/macros.h, src/gui.h, src/os_unix.h
14016
14017Patch 8.2.2248
14018Problem: ASAN error on exit with GUI.
14019Solution: Check the window still has lines. (Christian Brabandt,
14020 closes #7573)
14021Files: src/term.c
14022
14023Patch 8.2.2249
Bram Moolenaar47c532e2022-03-19 15:18:53 +000014024Problem: Termcodes test is flaky when used over ssh with X forwarding.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014025Solution: Set 'mousetime' to a larger value. (Dominique Pellé, closes #7576,
14026 closes #7563)
14027Files: src/testdir/test_termcodes.vim
14028
14029Patch 8.2.2250
14030Problem: Vim9: sublist is ambiguous.
14031Solution: Require white space around the colon. (closes #7409)
14032Files: src/vim9compile.c, src/eval.c, src/testdir/test_vim9_expr.vim,
14033 src/testdir/test_vim9_disassemble.vim
14034
14035Patch 8.2.2251
14036Problem: Test failures in legacy script.
14037Solution: Check for Vim9 script.
14038Files: src/eval.c
14039
14040Patch 8.2.2252
14041Problem: Vim9: crash when using lambda without return type in dict.
14042Solution: Without a return type use t_unknown. (closes #7587)
14043Files: src/vim9type.c, src/vim9compile.c, src/testdir/test_vim9_expr.vim
14044
14045Patch 8.2.2253
14046Problem: Vim9: expr test fails.
14047Solution: Add missing assignment.
14048Files: src/userfunc.c
14049
14050Patch 8.2.2254
14051Problem: Vim9: bool option type is number.
14052Solution: Have get_option_value() return a different value for bool and
14053 number options. (closes #7583)
14054Files: src/option.h, src/option.c, src/proto/option.pro, src/evalvars.c,
14055 src/if_mzsch.c, src/if_ruby.c, src/spell.c, src/typval.c,
14056 src/vim9compile.c, src/testdir/test_vim9_assign.vim,
14057 src/testdir/test_vim9_cmd.vim
14058
14059Patch 8.2.2255 (after 8.2.2254)
14060Problem: Tcl test fails.
14061Solution: Change option handling.
14062Files: src/if_tcl.c
14063
14064Patch 8.2.2256
14065Problem: Vim9: cannot use function( after line break in :def function.
14066Solution: Check for "(" after "function". (closes #7581)
14067Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14068
14069Patch 8.2.2257
14070Problem: Vim9: using -> for lambda is ambiguous.
14071Solution: Stop supporting ->, must use =>.
14072Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_assign.vim,
14073 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
14074 src/testdir/test_vim9_disassemble.vim,
14075 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
14076 src/testdir/test_vim9_script.vim
14077
14078Patch 8.2.2258
14079Problem: Not all OCaml related files are detected.
14080Solution: Update OCaml file type detection. (Markus Mottl, closes #7590)
14081Files: runtime/filetype.vim, src/testdir/test_filetype.vim
14082
14083Patch 8.2.2259
14084Problem: Test_Executable() fails when using chroot.
14085Solution: Ignore the difference between "sbin" and "bin".
14086Files: src/testdir/test_functions.vim
14087
14088Patch 8.2.2260
14089Problem: Window resize test fails in very wide terminal.
14090Solution: Resize using the 'columns' option. (Vladimir Lomov, closes #7592)
14091Files: src/testdir/test_window_cmd.vim
14092
14093Patch 8.2.2261
14094Problem: Vim9: boolean option gets string type.
14095Solution: Check for VAR_BOOL. (closes #7588)
14096Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14097
14098Patch 8.2.2262
14099Problem: Vim9: converting bool to string prefixes v:.
14100Solution: Do not use the v: prefix.
14101Files: src/evalvars.c, src/testdir/test_vim9_expr.vim,
14102 src/testdir/test_vim9_disassemble.vim
14103
14104Patch 8.2.2263
14105Problem: Vim9: compilation error with try-catch in skipped block.
14106Solution: Do not bail out when generate_instr() returns NULL. (closes #7584)
14107Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
14108
14109Patch 8.2.2264
14110Problem: Vim9: no error for mismatched :endfunc or :enddef.
14111Solution: Check for the mismatch. (issue #7582)
14112Files: src/errors.h, src/userfunc.c, src/testdir/test_vim9_func.vim
14113
14114Patch 8.2.2265
14115Problem: Error message for missing endfunc/enddef is last line.
14116Solution: Report the line where the function starts. (closes #7582)
14117Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14118
14119Patch 8.2.2266
14120Problem: Vim9: it can be hard to see where white space is missing.
14121Solution: Mention the text where the error was seen. (closes #7580)
14122Files: src/errors.h, src/eval.c, src/evalvars.c, src/userfunc.c,
14123 src/vim9compile.c, src/testdir/test_vim9_expr.vim
14124
14125Patch 8.2.2267
14126Problem: Vim9: cannot use unlet for a dict member.
14127Solution: Pass GLV_NO_DECL to get_lval(). (closes #7585)
14128Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
14129
14130Patch 8.2.2268
14131Problem: Vim9: list unpack seen as declaration.
14132Solution: Check for "var". (closes #7594)
14133Files: src/vim9compile.c, src/evalvars.c, src/eval.c, src/vim.h,
14134 src/vim9execute.c, src/testdir/test_vim9_assign.vim
14135
14136Patch 8.2.2269
14137Problem: Not all :hardcopy code covered by tests.
14138Solution: Test more combinations. (Dominique Pellé, closes #7595)
14139Files: src/testdir/test_hardcopy.vim
14140
14141Patch 8.2.2270
14142Problem: Warning for size_t to int conversion. (Randall W. Morris)
14143Solution: Add a type cast.
14144Files: src/vim9execute.c
14145
14146Patch 8.2.2271
14147Problem: ml_get error when changing hidden buffer in Python.
14148Solution: Block updating folds. (closes #7598)
14149Files: src/evalbuffer.c, src/testdir/test_python3.vim
14150
14151Patch 8.2.2272
14152Problem: Vim9: extend() can violate the type of a variable.
14153Solution: Add the type to the dictionary or list and check items against it.
14154 (closes #7593)
14155Files: src/structs.h, src/evalvars.c, src/dict.c, src/list.c,
14156 src/vim9script.c, src/proto/vim9script.pro, src/vim9compile.c,
14157 src/vim9execute.c, src/testdir/test_vim9_builtin.vim,
14158 src/testdir/test_vim9_disassemble.vim
14159
14160Patch 8.2.2273
14161Problem: Build failure.
14162Solution: Add missing changes to header file.
14163Files: src/vim9.h
14164
14165Patch 8.2.2274
14166Problem: badge for Travis is outdated.
14167Solution: Update badge for move from travis-ci.org to travis-ci.com.
14168Files: README.md
14169
14170Patch 8.2.2275
14171Problem: CTRL-C not recognized in Mintty.
14172Solution: Recognize the modifyOtherKeys code ending in "u". (Christian
14173 Brabandt, closes #7575)
14174Files: src/ui.c
14175
14176Patch 8.2.2276
14177Problem: List of distributed files is outdated.
14178Solution: Update the file list. Minor comment updates.
14179Files: Filelist, src/clipboard.c, src/fileio.c, src/option.c,
14180 src/screen.c, src/testdir/test_signals.vim,
14181 src/testdir/Make_vms.mms
14182
14183Patch 8.2.2277
14184Problem: Missing backslash.
14185Solution: Add backslash.
14186Files: Filelist
14187
14188Patch 8.2.2278
14189Problem: Falling back to old regexp engine can some patterns.
14190Solution: Do not fall back once [[:lower:]] or [[:upper:]] is used.
14191 (Christian Brabandt, closes #7572)
14192Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test_regexp_utf8.vim
14193
14194Patch 8.2.2279
14195Problem: Vim9: memory leak with catch in skipped block.
14196Solution: Free the pattern if not used.
14197Files: src/vim9compile.c
14198
14199Patch 8.2.2280
14200Problem: Fuzzy matching doesn't give access to the scores.
14201Solution: Return the scores with a third list. (Yegappan Lakshmanan,
14202 closes #7596)
14203Files: runtime/doc/eval.txt, src/search.c,
14204 src/testdir/test_matchfuzzy.vim
14205
14206Patch 8.2.2281
14207Problem: Vim9: compiled "wincmd" cannot be followed by bar.
14208Solution: Check for bar after "wincmd". (closes #7599)
14209Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
14210
14211Patch 8.2.2282
14212Problem: Length check mismatch with argument of strncmp(). (Christian
14213 Brabandt)
14214Solution: Adjust length check.
14215Files: src/ui.c
14216
14217Patch 8.2.2283
14218Problem: Vim9: crash when lambda has fewer arguments than expected.
14219Solution: Don't check arguments when already failed. (closes #7606)
14220Files: src/vim9type.c, src/testdir/test_vim9_func.vim
14221
14222Patch 8.2.2284
14223Problem: Vim9: cannot set an option to a boolean value.
14224Solution: Check for VAR_BOOL. (closes #7603)
14225Files: src/evalvars.c, src/testdir/test_vim9_builtin.vim
14226
14227Patch 8.2.2285
14228Problem: Vim9: cannot set an option to a false.
14229Solution: For VAR_BOOL use string "0". (closes #7603)
14230Files: src/evalvars.c, src/testdir/test_vim9_builtin.vim
14231
14232Patch 8.2.2286
14233Problem: Sort test fails when locale is Canadian English. (Neil H Watson)
14234Solution: Expect a different sort order. (closes #7609)
14235Files: src/testdir/test_sort.vim
14236
14237Patch 8.2.2287
14238Problem: Sort test fails when locale is French Canadian.
14239Solution: Expect a different sort order. (Dominique Pellé, closes #7609)
14240Files: src/testdir/test_sort.vim
14241
14242Patch 8.2.2288
14243Problem: Vim9: line break and comment not always skipped.
14244Solution: Skip over white space and then line break more consistently.
14245 (closes #7610)
14246Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14247
14248Patch 8.2.2289
14249Problem: Vim9: 'cpo' can become empty.
14250Solution: Use empty_option instead of an empty string. Update quickfix
14251 buffer after restoring 'cpo'. (closes #7608)
14252Files: src/evalfunc.c, src/syntax.c, src/eval.c, src/quickfix.c,
14253 src/evalbuffer.c, src/ex_eval.c, src/gui_motif.c, src/map.c,
14254 src/testdir/test_quickfix.vim
14255
14256Patch 8.2.2290
14257Problem: Vim9: unlet of global variable cannot be compiled.
14258Solution: Skip over variables that might be defined later. Give an error if
14259 a subscript is found. (closes #7585)
14260Files: src/eval.c, src/vim9compile.c, src/vim.h,
14261 src/testdir/test_vim9_assign.vim
14262
14263Patch 8.2.2291
14264Problem: Vim9: cannot use "null" for v:null.
14265Solution: Support "null" like "true" and "false". (closes #7495)
14266Files: runtime/doc/vim9.txt, src/vim9compile.c, src/evalvars.c,
14267 src/testdir/test_vim9_expr.vim
14268
14269Patch 8.2.2292
14270Problem: Vim: expr test fails.
14271Solution: Add missing part of "null" support.
14272Files: src/eval.c
14273
14274Patch 8.2.2293
14275Problem: Build failure with Motif. (Tony Mechelynck)
14276Solution: Use empty_option instead of empty_options.
14277Files: src/gui_motif.c
14278
14279Patch 8.2.2294
14280Problem: VMS: a few remaining problems.
14281Solution: Add VMS specific changes. Add Lua support. (Zoltan Arpadffy)
14282Files: src/fileio.c, src/os_vms_conf.h, src/Make_vms.mms, src/macros.h,
14283 src/os_vms.c, src/vim9execute.c, src/gui_xmebw.c, src/os_unix.h
14284
14285Patch 8.2.2295
14286Problem: Incsearch does not detect empty pattern properly.
14287Solution: Return magic state when skipping over a pattern. (Christian
14288 Brabandt, closes #7612, closes #6420)
14289Files: src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c, src/globals.h,
14290 src/option.c, src/tag.c, src/proto/regexp.pro, src/regexp.c,
14291 src/search.c, src/structs.h, src/vim9compile.c,
14292 src/testdir/dumps/Test_incsearch_sub_01.dump,
14293 src/testdir/dumps/Test_incsearch_sub_02.dump,
14294 src/testdir/test_search.vim
14295
14296Patch 8.2.2296
14297Problem: Cannot use CTRL-N and CTRL-P in a popup menu.
14298Solution: Use CTRL-N like <Down> and CTRL-P like <Up>. (closes #7614)
14299Files: runtime/doc/popup.txt, src/popupwin.c,
14300 src/testdir/test_popupwin.vim
14301
14302Patch 8.2.2297
14303Problem: Vim9: cannot set 'number' to a boolean value.
14304Solution: Use tv_get_bool(). (closes #7615)
14305Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
14306
14307Patch 8.2.2298
14308Problem: Vim9: comment right after "(" of function not recognized.
14309Solution: Do not skip over white space before calling get_function_args().
14310 (closes #7613)
14311Files: src/userfunc.c, src/proto/userfunc.pro,
14312 src/testdir/test_vim9_func.vim
14313
14314Patch 8.2.2299
14315Problem: Vim9: invalid memory access making error message flaky.
14316Solution: Do not check cmd_argt for CMD_USER. (issue #7467)
14317Files: src/ex_docmd.c, src/vim9execute.c, src/errors.h,
14318 src/vim9compile.c, src/testdir/test_vim9_cmd.vim
14319
14320Patch 8.2.2300
14321Problem: Vim9: wrong order on type stack when using dict.
14322Solution: Generate constants before a dict. (closes #7619)
14323Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14324
14325Patch 8.2.2301
14326Problem: Vim9: cannot unlet a dict or list item.
14327Solution: Add ISN_UNLETINDEX. Refactor assignment code to use for unlet.
14328Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c,
14329 src/testdir/test_vim9_assign.vim
14330
14331Patch 8.2.2302
14332Problem: Vim9: using an option value may use uninitialized memory.
14333Solution: Clear v_lock. (closes #7620)
14334Files: src/typval.c, src/testdir/test_vim9_expr.vim
14335
14336Patch 8.2.2303
14337Problem: Vim9: backtick expansion doesn't work for :foldopen.
14338Solution: Do recognize backtick expansion. (closes #7621)
14339Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
14340
14341Patch 8.2.2304
14342Problem: Vim9: no test for unletting an imported variable.
14343Solution: Add a test. Fix line number in error.
14344Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
14345
14346Patch 8.2.2305
14347Problem: Vim9: "++var" and "--var" are silently accepted.
14348Solution: Give an error message.
14349Files: src/vim9compile.c, src/eval.c, src/proto/eval.pro,
14350 src/testdir/test_vim9_expr.vim
14351
14352Patch 8.2.2306
14353Problem: Vim9: when using function reference type is not checked.
14354Solution: When using a function reference lookup the type and check the
14355 argument types. (issue #7629)
14356Files: src/userfunc.c, src/proto/userfunc.pro, src/eval.c, src/structs.h,
14357 src/vim9type.c, src/proto/vim9type.pro, src/vim9compile.c,
14358 src/vim9execute.c, src/evalvars.c, src/evalfunc.c,
14359 src/testdir/test_vim9_func.vim
14360
14361Patch 8.2.2307
14362Problem: A shell command in the vimrc causes terminal output.
14363Solution: Do not call starttermcap() after a shell command if the termcap
14364 wasn't active before.
14365Files: src/ex_cmds.c
14366
14367Patch 8.2.2308
14368Problem: Vim9: no error when assigning lambda to funcref without return
14369 value.
14370Solution: Default return value to "any". (closes #7629)
14371Files: src/userfunc.c, src/vim9compile.c,
14372 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_func.vim
14373
14374Patch 8.2.2309
14375Problem: 0o777 not recognized as octal.
14376Solution: Use vim_isodigit(). (Ken Takata, closes #7633, closes #7631)
14377Files: src/charset.c, src/testdir/test_eval_stuff.vim
14378
14379Patch 8.2.2310
14380Problem: Vim9: winsaveview() return type is too generic.
14381Solution: use dict<number> instead of dict<any>. (closes #7626)
14382Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
14383
14384Patch 8.2.2311
14385Problem: Vim9: cannot assign to a variable that shadows a command modifier.
14386Solution: Check for assignment after possible command modifier.
14387 (closes #7632)
14388Files: src/vim9compile.c, src/ex_docmd.c,
14389 src/testdir/test_vim9_assign.vim
14390
14391Patch 8.2.2312
14392Problem: Build failure with Ruby 3.0 and 32 bits.
14393Solution: Add #ifdef. (closes #7638)
14394Files: src/if_ruby.c
14395
14396Patch 8.2.2313
14397Problem: Vim9: using uninitialized field when parsing range. ":silent!" not
14398 respected when parsing range fails.
14399Solution: Initialize ea.skip. On pattern failure handle it like an error.
14400 (closes #7636)
14401Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
14402
14403Patch 8.2.2314
14404Problem: Vim9: returning zero takes two instructions.
14405Solution: Add ISN_RETURN_ZERO.
14406Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
14407 src/testdir/test_vim9_disassemble.vim
14408
14409Patch 8.2.2315
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014410Problem: Vim9: "enddef" as dict key misinterpreted as function end.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014411Solution: Check for following colon. (closes #7640)
14412Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14413
14414Patch 8.2.2316
14415Problem: Vim9: cannot list a lambda function.
14416Solution: Support the <lambda>9 notation, like :disassemble. (closes #7634)
14417Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14418
14419Patch 8.2.2317
14420Problem: Vim9: command modifier before list unpack doesn't work.
14421Solution: Only recognize "[" directly after the name. (closes #7641)
14422Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim
14423
14424Patch 8.2.2318
14425Problem: Vim9: string and list index work differently.
14426Solution: Make string index work like list index. (closes #7643)
14427Files: src/eval.c, src/proto/eval.pro, src/vim9execute.c, src/list.c,
14428 src/proto/vim9execute.pro, src/testdir/test_vim9_expr.vim
14429
14430Patch 8.2.2319
14431Problem: "exptype_T" can be read as "expected type".
14432Solution: Rename to "exprtype_T", expression type.
14433Files: src/eval.c, src/typval.c, src/proto/typval.pro, src/vim9compile.c,
14434 src/proto/vim9compile.pro, src/vim9execute.c, src/structs.h,
14435 src/vim9.h
14436
14437Patch 8.2.2320
14438Problem: Vim9: no error for comparing bool with string.
14439Solution: Check for wrong types when comparing. (closes #7639)
14440Files: src/typval.c, src/errors.h, src/testdir/test_vim9_expr.vim
14441
14442Patch 8.2.2321
14443Problem: Vim9: cannot nest closures.
14444Solution: Add the nesting level to ISN_LOADOUTER and ISN_STOREOUTER.
14445 (closes #7150, closes #7635)
14446Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/structs.h,
14447 src/testdir/test_vim9_disassemble.vim,
14448 src/testdir/test_vim9_func.vim
14449
14450Patch 8.2.2322
14451Problem: Vim9: closure nested limiting to one level.
14452Solution: Add outer_T. Also make STOREOUTER work.
14453Files: src/vim9execute.c, src/vim9.h, src/structs.h,
14454 src/testdir/test_vim9_func.vim
14455
14456Patch 8.2.2323
14457Problem: Vim9: error when inferring type from empty dict/list.
14458Solution: When the member is t_unknown use t_any. (closes #7009)
14459Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14460
14461Patch 8.2.2324
14462Problem: Not easy to get mark en cursor position by character count.
14463Solution: Add functions that use character index. (Yegappan Lakshmanan,
14464 closes #7648)
14465Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/eval.c,
14466 src/evalfunc.c, src/proto/eval.pro, src/tag.c,
14467 src/testdir/test_cursor_func.vim, src/typval.c
14468
14469Patch 8.2.2325
14470Problem: Vim9: crash if map() changes the item type.
14471Solution: Check that the item type is still OK. (closes #7652)
14472 Fix problem with mapnew() on range list.
14473Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9compile.c,
14474 src/list.c, src/testdir/test_vim9_builtin.vim,
14475 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim
14476
14477Patch 8.2.2326
14478Problem: Build error with +eval feature but without +spell.
14479Solution: Adjust #ifdef. (John Marriott)
14480Files: src/mbyte.c
14481
14482Patch 8.2.2327
14483Problem: Debugging code included.
14484Solution: Remove the debugging code.
14485Files: src/vim9execute.c
14486
14487Patch 8.2.2328
14488Problem: Some test files may not be deleted.
14489Solution: Add a delete() call, correct name. (Dominique Pellé, closes #7654)
14490Files: src/testdir/test_clientserver.vim,
14491 src/testdir/test_vim9_script.vim
14492
14493Patch 8.2.2329
14494Problem: Not all ways Vim can be started are tested.
14495Solution: Add a test for different program names. (Dominique Pellé,
14496 closes #7651)
14497Files: src/testdir/test_startup.vim
14498
14499Patch 8.2.2330
14500Problem: Vim9: crash when using :trow in a not executed block.
14501Solution: Don't generate the instruction when skipping. (closes #7659)
14502Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
14503
14504Patch 8.2.2331
14505Problem: Vim9: wrong error when modifying dict declared with :final.
14506Solution: Do not check for writable variable when an index follows.
14507 (closes #7657)
14508Files: src/vim9compile.c, src/structs.h, src/vim9script.c,
14509 src/proto/vim9script.pro, src/evalvars.c,
14510 src/testdir/test_vim9_assign.vim
14511
14512Patch 8.2.2332
14513Problem: Vim9: missing :endif not reported when using :windo.
14514Solution: Pass a getline function to do_cmdline(). (closes #7650)
14515Files: src/vim9execute.c, src/structs.h, src/scriptfile.c,
14516 src/testdir/test_vim9_cmd.vim
14517
14518Patch 8.2.2333
14519Problem: Vim9: warning for uninitialized variable. (Tony Mechelynck)
14520Solution: Initialize "res".
14521Files: src/vim9execute.c
14522
14523Patch 8.2.2334
14524Problem: Pascal-like filetypes not always detected.
14525Solution: Improved Puppet, InstantFPC and Pascal detection. (Doug Kearns,
14526 closes #7662)
14527Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
14528 runtime/scripts.vim, src/testdir/test_filetype.vim
14529
14530Patch 8.2.2335
14531Problem: Vim9: "silent return" does not restore command modifiers.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014532Solution: Restore command modifiers before returning. (closes #7649)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014533Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
14534
14535Patch 8.2.2336
14536Problem: Vim9: it is not possible to extend a dictionary with different
14537 item types.
14538Solution: Add extendnew(). (closes #7666)
14539Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
14540 src/list.c, src/proto/list.pro, src/testdir/test_listdict.vim,
14541 src/testdir/test_vim9_builtin.vim
14542
14543Patch 8.2.2337
14544Problem: Configure test for GTK only says "no". (Harm te Hennepe)
14545Solution: Hint that a -def package is needed. (closes #5229)
14546Files: src/configure.ac, src/auto/configure
14547
14548Patch 8.2.2338
14549Problem: Vim9: no error if using job_info() result wrongly.
14550Solution: Adjust return type on number of arguments. (closes #7667)
14551Files: src/evalfunc.c, src/globals.h, src/testdir/test_vim9_builtin.vim
14552
14553Patch 8.2.2339
14554Problem: Cannot get the type of a value as a string.
14555Solution: Add typename().
14556Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
14557 src/vim9type.c, src/proto/vim9type.pro,
14558 src/testdir/test_vimscript.vim, src/testdir/test_vim9_builtin.vim
14559
14560Patch 8.2.2340
14561Problem: win_execute() unexpectedly returns number zero when failing.
14562Solution: Return an empty string. (closes #7665)
14563Files: src/evalwindow.c, src/testdir/test_vim9_builtin.vim,
14564 src/testdir/test_execute_func.vim
14565
14566Patch 8.2.2341
14567Problem: Expression command line completion shows variables but not
14568 functions after "g:". (Gary Johnson)
14569Solution: Prefix "g:" when needed to a global function.
14570Files: src/evalfunc.c, src/evalvars.c, src/proto/evalvars.pro,
14571 src/testdir/test_cmdline.vim
14572
14573Patch 8.2.2342
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014574Problem: "char" functions return the wrong column in Insert mode when the
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014575 cursor is beyond the end of the line.
14576Solution: Compute the column correctly. (Yegappan Lakshmanan, closes #7669)
14577Files: src/eval.c, src/evalfunc.c, src/testdir/test_cursor_func.vim
14578
14579Patch 8.2.2343
14580Problem: Vim9: return type of readfile() is any.
14581Solution: Add readblob() so that readfile() can be expected to always
14582 return a list of strings. (closes #7671)
14583Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
14584 src/filepath.c, src/proto/filepath.pro,
14585 src/testdir/test_vim9_builtin.vim
14586
14587Patch 8.2.2344
14588Problem: Using inclusive index for slice is not always desired.
14589Solution: Add the slice() method, which has an exclusive index. (closes
14590 #7408)
14591Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
14592 src/eval.c, src/proto/eval.pro, src/vim9execute.c,
14593 src/proto/vim9execute.pro, src/list.c, src/proto/list.pro,
14594 src/testdir/test_vim9_builtin.vim
14595
14596Patch 8.2.2345
14597Problem: No focus events in a terminal.
14598Solution: Add the t_fd and t_fe termcap entries and implement detecting
14599 focus events. (Hayaki Saito, Magnus Groß, closes #7673,
14600 closes #609, closes #5526)
14601Files: runtime/doc/term.txt, src/optiondefs.h, src/term.c, src/term.h
14602
14603Patch 8.2.2346
14604Problem: Codecov reports every little coverage drop.
14605Solution: Tolerate a 0.05% drop. Hide the appveyor config file. (Ozaki
14606 Kiichi, closes #7678)
14607Files: .appveyor.yml, appveyor.yml, .codecov.yml
14608
14609Patch 8.2.2347
14610Problem: Build failure without GUI.
14611Solution: Add #ifdef.
14612Files: src/term.c
14613
14614Patch 8.2.2348 (after 8.2.2345)
14615Problem: No check for modified files after focus gained. (Mathias Stearn)
14616Solution: Call ui_focus_change().
14617Files: src/term.c, src/ui.c
14618
14619Patch 8.2.2349
14620Problem: Vim9: cannot handle line break after parenthesis at line end.
14621Solution: Skip over line break. (closes #7677)
14622Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14623
14624Patch 8.2.2350
14625Problem: Using "void" for no reason.
14626Solution: Use "char *".
14627Files: src/ex_docmd.c
14628
14629Patch 8.2.2351
14630Problem: Vim9: error message for "throw" in function that was called with
14631 "silent!".
14632Solution: Do not throw the exception when not caught or displayed.
14633 (closes #7672)
14634Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
14635
14636Patch 8.2.2352
14637Problem: If the focus lost/gained escape sequence is received twice it is
14638 not ignored. (Christ van Willigen)
14639Solution: Adjust the logic to ignore the escape code.
14640Files: src/term.c
14641
14642Patch 8.2.2353
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014643Problem: Sparql files are not detected.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014644Solution: Add the sparql filetype. (closes #7679)
14645Files: runtime/filetype.vim, src/testdir/test_filetype.vim
14646
14647Patch 8.2.2354
14648Problem: Crash with a weird combination of autocommands.
14649Solution: Increment b_nwindows when needed. (closes #7674)
14650Files: src/ex_cmds.c, src/buffer.c, src/proto/buffer.pro,
14651 src/testdir/test_autocmd.vim
14652
14653Patch 8.2.2355
14654Problem: Stray test failure on Appveyor.
14655Solution: Finish insert command.
14656Files: src/testdir/test_autocmd.vim
14657
14658Patch 8.2.2356
14659Problem: Vim9: ":put =expr" does not handle a list properly.
14660Solution: Use the same logic as eval_to_string_eap(). (closes #7684)
14661Files: src/vim9execute.c, src/eval.c, src/proto/eval.pro,
14662 src/testdir/test_vim9_cmd.vim
14663
14664Patch 8.2.2357
14665Problem: Vim9: crash when parsing function return type fails.
14666Solution: Bail out and set return type to "unknown". (closes #7685)
14667Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14668
14669Patch 8.2.2358
14670Problem: Wrong #ifdef for use_xterm_like_mouse().
14671Solution: Use FEAT_MOUSE_XTERM.
14672Files: src/term.c
14673
14674Patch 8.2.2359
14675Problem: Strange test failure with MS-Windows.
14676Solution: Skip the system() call for now.
14677Files: src/testdir/test_autocmd.vim
14678
14679Patch 8.2.2360
14680Problem: Test leaves file behind.
14681Solution: Delete the right file. (Dominique Pellé, closes #7689)
14682Files: src/testdir/test_filetype.vim
14683
14684Patch 8.2.2361
14685Problem: Vim9: no highlight for "s///gc" when using 'opfunc'.
14686Solution: Reset 'lazyredraw' temporarily. (closes #7687)
14687Files: src/ex_cmds.c
14688
14689Patch 8.2.2362
14690Problem: Vim9: check of builtin function argument type is incomplete.
14691Solution: Use need_type() instead of check_arg_type().
14692Files: src/vim9compile.c, src/proto/vim9compile.pro, src/evalfunc.c,
14693 src/proto/evalfunc.pro, src/vim9type.c, src/proto/vim9type.pro,
14694 src/testdir/test_vim9_builtin.vim
14695
14696Patch 8.2.2363
14697Problem: curpos() does not accept a string argument as before.
14698solution: Make a string argument work again. (Yegappan Lakshmanan,
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014699 closes #7690)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014700Files: src/evalfunc.c, src/testdir/test_cursor_func.vim
14701
14702Patch 8.2.2364
14703Problem: Vim9: line break in lambda accesses freed memory.
14704Solution: Make a copy of the return type. (closes #7664)
14705Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14706
14707Patch 8.2.2365
14708Problem: Vim9: no check for map() changing item type at script level.
14709Solution: Check the new value type.
14710Files: src/list.c, src/testdir/test_vim9_builtin.vim,
14711 src/testdir/test_vim9_assign.vim
14712
14713Patch 8.2.2366
14714Problem: When using ":sleep" the cursor is always displayed.
14715Solution: Do not display the cursor when using ":sleep!". (Jeremy Lerner,
14716 closes #7688)
14717Files: runtime/doc/index.txt, runtime/doc/various.txt, src/ex_cmds.h,
14718 src/ex_docmd.c, src/normal.c, src/proto/ex_docmd.pro, src/term.c,
14719 src/testdir/Make_all.mak, src/testdir/test_sleep.vim
14720
14721Patch 8.2.2367
14722Problem: Test failures on some less often used systems.
14723Solution: Adjust printf formats and types. (James McCoy, closes #7691)
14724Files: src/errors.h, src/evalfunc.c, src/list.c, src/vim9execute.c
14725
14726Patch 8.2.2368
14727Problem: Insufficient tests for setting options.
14728Solution: Add a few tests. (Dominique Pellé, closes #7695)
14729Files: src/testdir/test_options.vim
14730
14731Patch 8.2.2369
14732Problem: Vim9: functions return true/false but can't be used as bool.
14733Solution: Add ret_number_bool(). (closes #7693)
14734Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim,
14735 src/testdir/test_vim9_disassemble.vim
14736
14737Patch 8.2.2370
14738Problem: Vim9: command fails in catch block.
14739Solution: Reset force_abort and need_rethrow. (closes #7692)
14740Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
14741
14742Patch 8.2.2371
14743Problem: Vim9: crash when using types in :for with unpack.
14744Solution: Check for skip_var_list() failing. Pass include_type to
14745 skip_var_one(). Skip type when compiling. (closes #7694)
14746Files: src/vim9compile.c, src/evalvars.c,
14747 src/testdir/test_vim9_script.vim
14748
14749Patch 8.2.2372 (after 8.2.2371)
14750Problem: Confusing error message for wrong :let command.
14751Solution: Only check for type in Vim9 script.
14752Files: src/evalvars.c
14753
14754Patch 8.2.2373
14755Problem: Vim9: list assignment only accepts a number index.
14756Solution: Accept "any" and do a runtime type check. (closes #7694)
14757Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
14758
14759Patch 8.2.2374
14760Problem: Accessing uninitialized memory in test_undo.
14761Solution: Do not look in typebuf.tb_buf if it is empty. (Dominique Pellé,
14762 closes #7697)
14763Files: src/edit.c
14764
14765Patch 8.2.2375
14766Problem: Test for RGB color skipped in the terminal.
14767Solution: Run the GUI if possible.
14768Files: src/testdir/test_highlight.vim
14769
14770Patch 8.2.2376
14771Problem: Vim9: crash when dividing by zero in compiled code using
14772 constants.
14773Solution: Call num_divide() and num_modulus(). (closes #7704)
14774Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14775
14776Patch 8.2.2377
14777Problem: Vim9: crash when using a range after another expression.
14778Solution: Set the variable type to number. Fix using :put with a range and
14779 the "=" register. (closes #7706)
14780Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
14781
14782Patch 8.2.2378
14783Problem: Vim9: no error message for dividing by zero.
14784Solution: Give an error message. (issue #7704)
14785Files: src/errors.h, src/eval.c, src/vim9execute.c,
14786 src/testdir/test_vim9_expr.vim
14787
14788Patch 8.2.2379
14789Problem: Finding spell suggestions twice if 'spellsuggest' contains number.
14790Solution: Only do internal suggestions once. (closes #7713)
14791Files: src/spellsuggest.c
14792
14793Patch 8.2.2380
14794Problem: Vim9: occasional crash when using try/catch and a timer.
14795Solution: Save and restore "need_rethrow" when invoking a timer callback.
14796 (closes #7708)
14797Files: src/time.c
14798
14799Patch 8.2.2381
14800Problem: Vim9: divide by zero does not abort expression execution.
14801Solution: Use a "failed" flag. (issue #7704)
14802Files: src/eval.c, src/proto/eval.pro, src/evalvars.c, src/vim9compile.c,
14803 src/testdir/vim9.vim, src/testdir/test_vim9_assign.vim
14804
14805Patch 8.2.2382 (after 8.2.2381)
14806Problem: Build failure.
14807Solution: Add missing changes.
14808Files: src/vim9execute.c
14809
14810Patch 8.2.2383
14811Problem: Focus escape sequences are not named in ":set termcap" output.
14812Solution: Add the names to the list. (closes #7718)
14813Files: src/misc2.c
14814
14815Patch 8.2.2384
14816Problem: Turtle filetype not recognized.
14817Solution: Add a rule to detect turtle files. (closes #7722)
14818Files: runtime/filetype.vim, src/testdir/test_filetype.vim
14819
14820Patch 8.2.2385
14821Problem: "gj" and "gk" do not work correctly when inside a fold.
14822Solution: Move check for folding. (closes #7724, closes #4095)
14823Files: src/normal.c, src/testdir/test_fold.vim
14824
14825Patch 8.2.2386
14826Problem: Vim9: crash when using ":silent! put".
14827Solution: When ignoring an error for ":silent!" rewind the stack and skip
14828 ahead to restoring the cmdmod. (closes #7717)
14829Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
14830
14831Patch 8.2.2387
14832Problem: Runtime type check does not mention argument index.
14833Solution: Add ct_arg_idx. (closes #7720)
14834Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
14835 src/testdir/test_vim9_builtin.vim,
14836 src/testdir/test_vim9_disassemble.vim,
14837 src/testdir/test_vim9_func.vim
14838
14839Patch 8.2.2388
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014840Problem: No easy way to get the maximum or minimum number value.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014841Solution: Add v:numbermax and v:numbermin.
14842Files: src/evalvars.c, src/vim.h, src/testdir/test_eval_stuff.vim,
14843 runtime/doc/eval.txt
14844
14845Patch 8.2.2389
14846Problem: Test failure on a few systems.
14847Solution: Avoid that "char" value is negative.
14848Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h
14849
14850Patch 8.2.2390
14851Problem: Vim9: using positive offset is unexpected.
14852Solution: Use int8_T instead of char. (James McCoy)
14853Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c
14854
14855Patch 8.2.2391
14856Problem: Memory leak when creating a global function with closure.
14857Solution: Create a separate partial for every instantiated function.
14858Files: src/userfunc.c, src/vim9execute.c
14859
14860Patch 8.2.2392
14861Problem: Fennel filetype not recognized.
14862Solution: Detect with pattern and hashbang. (Chinmay Dalal, closes #7729)
14863Files: runtime/filetype.vim, runtime/scripts.vim,
14864 src/testdir/test_filetype.vim
14865
14866Patch 8.2.2393
14867Problem: Vim9: error message when script line starts with "[{".
14868Solution: Do not give an error for checking for end of list.
14869Files: src/dict.c, src/testdir/test_vim9_script.vim
14870
14871Patch 8.2.2394
14872Problem: Vim9: min() and max() return type is "any".
14873Solution: Use return type "number". (closes #7728)
14874Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
14875
14876Patch 8.2.2395
14877Problem: Vim9: error for wrong type may report wrong line number.
14878Solution: Save and restore the line number when evaluating the expression.
14879 (closes #7727)
14880Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
14881
14882Patch 8.2.2396
14883Problem: Vim9: no white space allowed before "->".
14884Solution: Allow for white space. (closes #7725)
14885Files: src/ex_docmd.c, src/eval.c, src/testdir/test_vim9_cmd.vim
14886
14887Patch 8.2.2397
14888Problem: Vim9: "%%" not seen as alternate file name for commands with a
14889 buffer name argument.
14890Solution: Recognize "%%" like "#". (closes #7732)
14891Files: src/buffer.c, src/testdir/test_vim9_cmd.vim
14892
14893Patch 8.2.2398 (after 8.2.2396)
14894Problem: Method test fails.
14895Solution: Adjust test for allowed white space.
14896Files: src/testdir/test_method.vim
14897
14898Patch 8.2.2399 (after 8.2.2385)
14899Problem: Fold test fails in wide terminal.
14900Solution: Adjust the test. (Dominique Pelle, closes #7731, closes #7739)
14901Files: src/testdir/test_fold.vim
14902
14903Patch 8.2.2400
14904Problem: Vim9: compiled functions are not profiled.
14905Solution: Add initial changes to profile compiled functions. Fix that a
14906 script-local function was hard to debug.
14907Files: runtime/doc/repeat.txt, src/vim9.h, src/vim9compile.c,
14908 src/vim9execute.c, src/userfunc.c, src/proto/vim9compile.pro,
14909 src/structs.h, src/vim9type.c, src/debugger.c, src/ex_cmds.h,
14910 src/ex_docmd.c, src/profiler.c, src/proto/profiler.pro,
14911 src/testdir/test_vim9_disassemble.vim,
14912 src/testdir/test_profile.vim
14913
14914Patch 8.2.2401
14915Problem: Build fails without +profiling feature.
14916Solution: Add #ifdefs.
14917Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/structs.h,
14918 src/testdir/test_vim9_disassemble.vim
14919
14920Patch 8.2.2402
14921Problem: Some filetypes not detected.
14922Solution: Detect Ruby Signature and Puppet related files. (Doug Kearns)
14923Files: runtime/filetype.vim, src/testdir/test_filetype.vim
14924
14925Patch 8.2.2403
14926Problem: Vim9: profiling if/elseif/endif not correct.
14927Solution: Add profile instructions. Fix that "elseif" was wrong.
14928Files: src/vim9compile.c, src/testdir/test_profile.vim,
14929 src/testdir/test_vim9_script.vim,
14930 src/testdir/test_vim9_disassemble.vim
14931
14932Patch 8.2.2404
14933Problem: Vim9: profiling try/catch not correct.
14934Solution: Add profile instructions. Fix that "entry" did not rethrow an
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014935 exception.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014936Files: src/vim9compile.c, src/vim9execute.c, src/testdir/test_profile.vim
14937
14938Patch 8.2.2405
14939Problem: Vim9: no need to allow white space before "(" for :def.
14940Solution: Give an error for stray white space. (issue #7734)
14941Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14942
14943Patch 8.2.2406
14944Problem: Vim9: profiled :def function leaks memory.
14945Solution: Delete the profiled instructions.
14946Files: src/vim9compile.c
14947
14948Patch 8.2.2407
14949Problem: Old jumplist code is never used.
14950Solution: Delete the dead code. (Yegappan Lakshmanan, closes #7740)
14951Files: src/mark.c
14952
14953Patch 8.2.2408
14954Problem: MinGW: "--preprocessor" flag no longer supported.
14955Solution: Remove the flag, use the defaults. (Christopher Wellons,
14956 closes #7741)
14957Files: src/GvimExt/Make_ming.mak, src/Make_cyg_ming.mak
14958
14959Patch 8.2.2409
14960Problem: Vim9: profiling only works for one function.
14961Solution: Select the right instructions when calling and returning.
14962 (closes #7743)
14963Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
14964 src/testdir/test_profile.vim
14965
14966Patch 8.2.2410
14967Problem: Build failure without the +profiling feature.
14968Solution: Add dummy argument to macro.
14969Files: src/vim9.h
14970
14971Patch 8.2.2411
14972Problem: Profile test fails on MS-Windows.
14973Solution: Do the profiling in a separate Vim command.
14974Files: src/testdir/test_profile.vim
14975
14976Patch 8.2.2412
14977Problem: Not all fields in "cstack" are initialized which might cause a
14978 crash.
14979Solution: Use CLEAR_FIELD().
14980Files: src/ex_docmd.c
14981
14982Patch 8.2.2413
14983Problem: Crash when using :all while using a cmdline window. (Zdenek Dohnal)
14984Solution: Disallow :all from the cmdline window.
14985Files: src/arglist.c, src/ex_getln.c, src/testdir/test_arglist.vim
14986
14987Patch 8.2.2414
14988Problem: Using freed memory when closing the cmdline window.
14989Solution: Check the window is still valid.
14990Files: src/ex_getln.c
14991
14992Patch 8.2.2415
14993Problem: No way to check for the cmdwin feature, cmdline_hist is now always
14994 enabled.
14995Solution: Add has('cmdwin') support. Skip arglist test on Windows
14996 temporarily.
14997Files: runtime/doc/cmdline.txt, src/evalfunc.c,
14998 src/testdir/test_autocmd.vim, src/testdir/test_arglist.vim,
14999 src/testdir/test_cmdline.vim, src/testdir/test_ins_complete.vim,
15000 src/testdir/test_normal.vim, src/testdir/test_tabpage.vim,
15001 src/testdir/test_termcodes.vim, src/testdir/test_window_cmd.vim
15002
15003Patch 8.2.2416
15004Problem: May get stuck in command line window state.
15005Solution: Reset "cmdwin_type" when editing buffer fails. Make arglist test
15006 pass on MS-Windows.
15007Files: src/ex_getln.c, src/testdir/test_arglist.vim
15008
15009Patch 8.2.2417
15010Problem: Condition stack values may be used when not set.
15011Solution: Clear cs_script_var_len and cs_block_id just in case they get used
15012 later. (issue #7733)
15013Files: src/ex_eval.c
15014
15015Patch 8.2.2418
15016Problem: Color not changed if ModeMsg highlight is set in InsertEnter
15017 autocmd event. (Paul Swanson)
15018Solution: Call highlight_changed() after triggering InsertEnter.
15019 (closes #7751)
15020Files: src/edit.c
15021
15022Patch 8.2.2419
15023Problem: Autocmd test was failing on MS-Windows with GUI.
15024Solution: Remove stray feedkeys().
15025Files: src/testdir/test_autocmd.vim
15026
15027Patch 8.2.2420
15028Problem: Too many problems with using all autocommand events.
15029Solution: Disallow defining an autocommand for all events.
15030Files: src/autocmd.c, src/errors.h, src/testdir/test_autocmd.vim,
15031 src/testdir/test_quickfix.vim, src/testdir/test_window_cmd.vim
15032
15033Patch 8.2.2421
15034Problem: Double free when using autocommand with "argdel". (Houyunsong)
15035Solution: Add the arglist_locked flag.
15036Files: src/arglist.c, src/testdir/test_autocmd.vim
15037
15038Patch 8.2.2422
15039Problem: Crash when deleting with line number out of range. (Houyunsong)
15040Solution: Avoid using a negative line number.
15041Files: src/normal.c, src/testdir/test_ex_mode.vim
15042
15043Patch 8.2.2423 (after 8.2.2422)
15044Problem: Missing error message.
15045Solution: Add the error message.
15046Files: src/errors.h
15047
15048Patch 8.2.2424
15049Problem: Some tests are known to cause an error with ASAN.
15050Solution: Add CheckNotAsan.
15051Files: src/testdir/check.vim, src/testdir/test_ins_complete.vim,
15052 src/testdir/test_memory_usage.vim, src/testdir/test_ex_mode.vim
15053
15054Patch 8.2.2425
15055Problem: Cursor on invalid line with range and :substitute.
15056Solution: Do not move the cursor when skipping commands. (closes #3434)
15057Files: src/ex_cmds.c, src/testdir/test_eval_stuff.vim
15058
15059Patch 8.2.2426
15060Problem: Allowing 'completefunc' to switch windows causes trouble.
15061Solution: use "textwinlock" instead of "textlock".
15062Files: src/insexpand.c, src/testdir/test_ins_complete.vim,
15063 src/testdir/test_popup.vim
15064
15065Patch 8.2.2427
15066Problem: Can still switch windows for 'completefunc'.
15067Solution: Also disallow switching windows for other completions.
15068Files: src/insexpand.c, src/testdir/test_ins_complete.vim,
15069 src/testdir/test_popup.vim
15070
15071Patch 8.2.2428
15072Problem: FocusGained does not work when 'ttymouse' is empty.
15073Solution: Don't use the short mouse code if there is a longer matching code.
15074 (closes #7755) Add a test.
15075Files: src/term.c, src/testdir/test_termcodes.vim
15076
15077Patch 8.2.2429
15078Problem: :goto does not work correctly with text properties. (Sam McCall)
15079Solution: Add a test. (Andrew Radev) Also use the text property size when
15080 computing the remaining offset. (closes #5930)
15081Files: src/memline.c, src/testdir/test_textprop.vim
15082
15083Patch 8.2.2430
15084Problem: :vimgrep expands wildcards twice.
15085Solution: Do not expand wildcards a second time.
15086Files: src/quickfix.c, src/arglist.c, src/testdir/test_quickfix.vim
15087
15088Patch 8.2.2431
15089Problem: Warning for -fno-strength-reduce with Clang 11.
15090Solution: Adjust check for clang version number.
15091Files: src/configure.ac, src/auto/configure
15092
15093Patch 8.2.2432
15094Problem: Libvterm tests are executed even when libtool doesn't work.
15095Solution: Only run libvterm tests if /usr/bin/gcc exists.
15096Files: src/Makefile
15097
15098Patch 8.2.2433
15099Problem: Opening cmdline window gives error in BufLeave autocommand.
15100Solution: Reset cmdwin_type when triggering the autocommand.
15101Files: src/ex_cmds.c, src/testdir/test_cmdline.vim
15102
15103Patch 8.2.2434
15104Problem: Vim9: no error when compiling str2nr() with a number.
15105Solution: Add argument type checks. (closes #7759)
15106Files: src/evalfunc.c, src/typval.c, src/proto/typval.pro,
15107 src/testdir/test_vim9_builtin.vim
15108
15109Patch 8.2.2435
15110Problem: setline() gives an error for some types.
15111Solution: Allow any type, convert each item to a string.
15112Files: runtime/doc/eval.txt, src/evalbuffer.c, src/typval.c,
15113 src/proto/typval.pro, src/debugger.c, src/vim9execute.c,
15114 src/testdir/test_bufline.vim, src/testdir/test_vim9_builtin.vim
15115
15116Patch 8.2.2436
15117Problem: Vim9 script test is a bit flaky.
15118Solution: Wait longer for exit callback.
15119Files: src/testdir/test_vim9_script.vim
15120
15121Patch 8.2.2437
15122Problem: Deprecation warnings with default configuration.
15123Solution: Add -Wno-deprecated-declarations.
15124Files: src/configure.ac, src/auto/configure
15125
15126Patch 8.2.2438
15127Problem: Out of bounds compiler warning.
15128Solution: Increase the size of uf_name.
15129Files: src/structs.h
15130
15131Patch 8.2.2439
15132Problem: Not easy to figure out what packages to get when installing Vim on
15133 a new Ubuntu system.
15134Solution: Mention explicit commands that are easy to follow.
15135Files: src/INSTALL
15136
15137Patch 8.2.2440
15138Problem: Documentation based on patches is outdated.
15139Solution: Add changes to documentation in a patch.
15140Files: runtime/doc/arabic.txt, runtime/doc/autocmd.txt,
15141 runtime/doc/change.txt, runtime/doc/channel.txt,
15142 runtime/doc/cmdline.txt, runtime/doc/debugger.txt,
15143 runtime/doc/develop.txt, runtime/doc/digraph.txt,
15144 runtime/doc/editing.txt, runtime/doc/eval.txt,
15145 runtime/doc/filetype.txt, runtime/doc/ft_sql.txt,
15146 runtime/doc/gui.txt, runtime/doc/gui_w32.txt,
15147 runtime/doc/gui_x11.txt, runtime/doc/hangulin.txt,
15148 runtime/doc/helphelp.txt, runtime/doc/help.txt,
15149 runtime/doc/if_lua.txt, runtime/doc/if_mzsch.txt,
15150 runtime/doc/if_tcl.txt, runtime/doc/indent.txt,
15151 runtime/doc/index.txt, runtime/doc/insert.txt,
15152 runtime/doc/intro.txt, runtime/doc/map.txt, runtime/doc/mbyte.txt,
15153 runtime/doc/message.txt, runtime/doc/mlang.txt,
15154 runtime/doc/motion.txt, runtime/doc/netbeans.txt,
15155 runtime/doc/options.txt, runtime/doc/os_dos.txt,
15156 runtime/doc/os_haiku.txt, runtime/doc/os_unix.txt,
15157 runtime/doc/os_vms.txt, runtime/doc/os_win32.txt,
15158 runtime/doc/pattern.txt, runtime/doc/pi_getscript.txt,
15159 runtime/doc/pi_logipat.txt, runtime/doc/pi_netrw.txt,
15160 runtime/doc/pi_tar.txt, runtime/doc/pi_vimball.txt,
15161 runtime/doc/pi_zip.txt, runtime/doc/popup.txt,
15162 runtime/doc/print.txt, runtime/doc/quickfix.txt,
15163 runtime/doc/quickref.txt, runtime/doc/recover.txt,
15164 runtime/doc/remote.txt, runtime/doc/repeat.txt,
15165 runtime/doc/rileft.txt, runtime/doc/sign.txt,
15166 runtime/doc/spell.txt, runtime/doc/starting.txt,
15167 runtime/doc/syntax.txt, runtime/doc/tabpage.txt,
15168 runtime/doc/tagsrch.txt, runtime/doc/terminal.txt,
15169 runtime/doc/term.txt, runtime/doc/testing.txt,
15170 runtime/doc/textprop.txt, runtime/doc/tips.txt,
15171 runtime/doc/todo.txt, runtime/doc/uganda.txt,
15172 runtime/doc/undo.txt, runtime/doc/usr_02.txt,
15173 runtime/doc/usr_03.txt, runtime/doc/usr_04.txt,
15174 runtime/doc/usr_05.txt, runtime/doc/usr_07.txt,
15175 runtime/doc/usr_08.txt, runtime/doc/usr_10.txt,
15176 runtime/doc/usr_11.txt, runtime/doc/usr_20.txt,
15177 runtime/doc/usr_22.txt, runtime/doc/usr_23.txt,
15178 runtime/doc/usr_24.txt, runtime/doc/usr_27.txt,
15179 runtime/doc/usr_30.txt, runtime/doc/usr_31.txt,
15180 runtime/doc/usr_40.txt, runtime/doc/usr_41.txt,
15181 runtime/doc/usr_42.txt, runtime/doc/usr_44.txt,
15182 runtime/doc/usr_45.txt, runtime/doc/usr_46.txt,
15183 runtime/doc/usr_90.txt, runtime/doc/usr_toc.txt,
15184 runtime/doc/various.txt, runtime/doc/version5.txt,
15185 runtime/doc/version6.txt, runtime/doc/version7.txt,
15186 runtime/doc/version8.txt, runtime/doc/vi_diff.txt,
15187 runtime/doc/vim9.txt, runtime/doc/visual.txt,
15188 runtime/doc/windows.txt
15189
15190Patch 8.2.2441
15191Problem: Vim9: extend() does not give an error for a type mismatch.
15192Solution: Check the type of the second argument. (closes #7760)
15193Files: src/list.c, src/testdir/test_vim9_builtin.vim
15194
15195Patch 8.2.2442
15196Problem: Automatic GUI selection does not check for GTK 3.
15197Solution: Make SKIP_GTK3 empty for automatic GUI support. Set SKIP_GTK3 to
15198 YES when checking for GTK2.
15199Files: src/configure.ac, src/auto/configure
15200
15201Patch 8.2.2443
15202Problem: Vim9: no compile time error for wrong str2float argument.
15203Solution: Check argument type. (closes #7759)
15204Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
15205
15206Patch 8.2.2444
15207Problem: Vim9: compile error with combination of operator and list.
15208Solution: Generate constants before parsing a list or dict. (closes #7757)
15209Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
15210
15211Patch 8.2.2445
15212Problem: Vim9: no proper error for lambda missing return type.
15213Solution: Check for this error. (closes #7758)
15214Files: src/errors.h, src/userfunc.c, src/testdir/test_vim9_func.vim
15215
15216Patch 8.2.2446
15217Problem: Setting 'term' empty has different error if compiled with GUI.
15218Solution: Insert "else". (closes #7766)
15219Files: src/optionstr.c, src/testdir/test_options.vim
15220
15221Patch 8.2.2447
15222Problem: 'foldlevel' not applied to folds restored from session.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000015223Solution: Set 'foldlevel' after creating the folds. (closes #7767)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000015224Files: src/fold.c, src/testdir/test_mksession.vim
15225
15226Patch 8.2.2448
15227Problem: Compilation error with Ruby 3.0.
15228Solution: Adjust #ifdefs and declaration. (Ken Takata, closes #7761)
15229Files: src/if_ruby.c
15230
15231Patch 8.2.2449
15232Problem: Vim9: flatten() always changes the list type.
15233Solution: Disallow using flatten() and add flattennew().
15234Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
15235 src/list.c, src/proto/list.pro, src/errors.h, src/vim9compile.c,
15236 src/testdir/test_flatten.vim, src/testdir/test_vim9_builtin.vim
15237
15238Patch 8.2.2450
15239Problem: MS-Windows: ADS was not preserved if 'backupcopy' is "yes".
15240Solution: Copy ADS before truncating the file. (Ken Takata, closes #7762)
15241Files: src/bufwrite.c
15242
15243Patch 8.2.2451
15244Problem: MS-Windows: Extended Attributes not preserved.
15245Solution: Preserve Extended Attributes when writing a file. (Ken Takata,
15246 closes #7765)
15247Files: src/os_win32.c
15248
15249Patch 8.2.2452
15250Problem: No completion for the 'filetype' option.
15251Solution: Add filetype completion. (Martin Tournoij, closes #7747)
15252Files: src/option.c, src/optiondefs.h, src/testdir/test_options.vim
15253
15254Patch 8.2.2453
15255Problem: Vim9: a variable name with "->" in the next line doesn't work.
15256Solution: Recognize a variable name by itself. (closes #7770)
15257Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
15258
15259Patch 8.2.2454
15260Problem: Leading space can not be made visible.
15261Solution: Add "lead:" to 'listchars'. (closes #7772)
15262Files: runtime/doc/options.txt, src/drawline.c, src/globals.h,
15263 src/message.c, src/screen.c, src/testdir/test_listchars.vim
15264
15265Patch 8.2.2455
15266Problem: Vim9: key type that can be used for literal dict and indexing is
15267 inconsistent.
15268Solution: Allow using number and bool as key for a literal dict. (#7771)
15269Files: runtime/doc/vim9.txt, src/dict.c, src/eval.c, src/vim9compile.c,
15270 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_builtin.vim,
15271 src/testdir/test_vim9_script.vim
15272
15273Patch 8.2.2456
15274Problem: Coverity warning for strcpy() into fixed size array.
15275Solution: Add a type cast to hopefully silence the bogus warning.
15276Files: src/userfunc.c
15277
15278Patch 8.2.2457
15279Problem: Coverity warns for memory leak.
15280Solution: Free memory when out of memory.
15281Files: src/if_cscope.c
15282
15283Patch 8.2.2458
15284Problem: Coverity warns for :retab using freed memory.
15285Solution: Use the updated line pointer when moving text properties.
15286Files: src/indent.c
15287
15288Patch 8.2.2459
15289Problem: Coverity reports dead code.
15290Solution: Remove the dead code.
15291Files: src/eval.c
15292
15293Patch 8.2.2460
15294Problem: Coverity warns for unused value.
15295Solution: Do not reset the return value to OK.
15296Files: src/vim9compile.c
15297
15298Patch 8.2.2461
15299Problem: Coverity warns for unchecked return value.
15300Solution: Add "(void)" to avoid the warning.
15301Files: src/vim9execute.c
15302
15303Patch 8.2.2462
15304Problem: Coverity warns for not checking for fseek() error.
15305Solution: Give an error message if fseek() fails.
15306Files: src/spellfile.c
15307
15308Patch 8.2.2463
15309Problem: Using :arglocal in an autocommand may use freed memory.
15310 (houyunsong)
15311Solution: Check if the arglist is locked.
15312Files: src/arglist.c, src/testdir/test_autocmd.vim
15313
15314Patch 8.2.2464
15315Problem: Using freed memory if window closed in autocommand. (houyunsong)
15316Solution: Check the window still exists.
15317Files: src/ex_cmds.c, src/testdir/test_autocmd.vim
15318
15319Patch 8.2.2465
15320Problem: Using freed memory in :psearch. (houyunsong)
15321Solution: Check the current window is still valid. Fix flaky test.
15322Files: src/search.c, src/testdir/test_autocmd.vim
15323
15324Patch 8.2.2466
15325Problem: Max() and min() can give many error messages.
15326Solution: Bail out at the first error. (closes #1039, closes #7778)
15327Files: src/evalfunc.c, src/testdir/test_functions.vim
15328
15329Patch 8.2.2467
15330Problem: Script generated by :mkview changes alternate file.
15331Solution: Only write :balt in the session file. (Harish Rajagopal,
15332 closes #7779)
15333Files: src/session.c, src/testdir/test_mksession.vim
15334
15335Patch 8.2.2468
15336Problem: Not easy to get the full command name from a shortened one.
15337Solution: Add fullcommand(). (Martin Tournoij, closes #7777)
15338Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
15339 src/ex_docmd.c, src/proto/evalfunc.pro,
15340 src/testdir/test_cmdline.vim
15341
15342Patch 8.2.2469
15343Problem: Confusing error if :winsize has a wrong argument.
15344Solution: Quote the argument in the error. (closes #2523)
15345Files: src/ex_docmd.c, src/testdir/test_excmd.vim
15346
15347Patch 8.2.2470
15348Problem: Popup_getoptions() does not get textprop from other tab.
15349Solution: use win_valid_any_tab(). (closes #7786)
15350Files: src/popupwin.c, src/testdir/test_popupwin.vim
15351
15352Patch 8.2.2471
15353Problem: Popup_setoptions() does not set textprop in other tab.
15354Solution: use win_valid_any_tab(). (closes #7788)
15355Files: src/popupwin.c, src/testdir/test_popupwin.vim
15356
15357Patch 8.2.2472
15358Problem: Crash when using command line window in an autocommand.
15359 (houyunsong)
15360Solution: Save and restore au_new_curbuf.
15361Files: src/ex_cmds.c, src/testdir/test_autocmd.vim
15362
15363Patch 8.2.2473
15364Problem: Crash when leaving command line window triggers autocommand.
15365 (houyunsong)
15366Solution: Make sure not to close the current window or buffer.
15367Files: src/ex_getln.c, src/testdir/test_autocmd.vim
15368
15369Patch 8.2.2474
15370Problem: Using freed memory when window is closed by autocommand.
15371 (houyunsong)
15372Solution: Check the window pointer is still valid.
15373Files: src/quickfix.c, src/testdir/test_autocmd.vim
15374
15375Patch 8.2.2475
15376Problem: Autocommand tests hangs on MS-Windows.
15377Solution: Skip one test.
15378Files: src/testdir/test_autocmd.vim
15379
15380Patch 8.2.2476
15381Problem: Using freed memory when using an autocommand to split a window
15382 while a buffer is being closed.
15383Solution: Disallow splitting when the buffer has b_locked_split set.
15384Files: src/buffer.c, src/window.c, src/errors.h, src/structs.h,
15385 src/popupwin.c, src/testdir/test_autocmd.vim
15386
15387Patch 8.2.2477
15388Problem: Autocommand tests hang on MS-Windows.
15389Solution: Skip a couple of tests. Fix file name.
15390Files: src/testdir/test_autocmd.vim
15391
15392Patch 8.2.2478
15393Problem: MS-Windows: backup files for plugins are loaded.
15394Solution: Do not use the alternate file name for files ending in "~".
15395Files: src/filepath.c
15396
15397Patch 8.2.2479
15398Problem: set/getbufline test fails without the job feature.
15399Solution: Check whether the job feature is supported. (Dominique Pellé,
15400 closes #7790)
15401Files: src/testdir/test_bufline.vim, src/testdir/test_vim9_builtin.vim
15402
15403Patch 8.2.2480
15404Problem: Vim9: some errors for white space do not show context.
15405Solution: Include the text at the error.
15406Files: src/errors.h, src/dict.c, src/list.c, src/userfunc.c,
15407 src/vim9compile.c, src/vim9script.c, src/vim9type.c
15408
15409Patch 8.2.2481
15410Problem: Vim9: confusing error when variable arguments have a default
15411 value.
15412Solution: Give a specific error message. (closes #7793)
15413Files: src/userfunc.c, src/testdir/test_vim9_func.vim
15414
15415Patch 8.2.2482
15416Problem: Build error.
15417Solution: Add new error message.
15418Files: src/errors.h
15419
15420Patch 8.2.2483
Bram Moolenaar1588bc82022-03-08 21:35:07 +000015421Problem: Vim9: type error for malformed expression.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000015422Solution: Check for end of command before checking type. (closes #7795)
15423Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
15424
15425Patch 8.2.2484
15426Problem: Vim9: Cannot use a comment starting with #{ after an expression.
15427Solution: Remove the check for "{" since #{ dictionaries are not supported.
15428Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
15429
15430Patch 8.2.2485
15431Problem: When sourcing a script again the script version isn't reset.
15432Solution: Set sn_version to one when sourcing a script again. Clear
15433 sn_save_cpo properly. (closes #7608)
15434Files: src/scriptfile.c, src/testdir/test_vim9_script.vim
15435
15436Patch 8.2.2486
15437Problem: Vim9: some errors for white space do not show context.
15438Solution: Include the text at the error.
15439Files: src/errors.h, src/dict.c, src/list.c, src/userfunc.c,
15440 src/vim9compile.c, src/vim9type.c
15441
15442Patch 8.2.2487
15443Problem: Terminal shows garbage after double-wide character with a
15444 combining character. (Kyoichiro Yamada)
15445Solution: Libvterm: do not add the width of the combining character to the
15446 glyph width. (closes #7801)
15447Files: src/libvterm/src/state.c, src/testdir/test_terminal.vim,
15448 src/testdir/dumps/Test_terminal_combining.dump
15449
15450Patch 8.2.2488
15451Problem: json_encode() gives generic argument error.
15452Solution: Mention the type that can't be encoded. (issue #7802)
15453Files: src/json.c, src/errors.h, src/testdir/test_json.vim
15454
15455Patch 8.2.2489
15456Problem: current buffer is wrong after deletebufline() fails to delete a
15457 line in another buffer.
15458Solution: Restore the current buffer.
15459Files: src/evalbuffer.c, src/testdir/test_bufline.vim
15460
15461Patch 8.2.2490
15462Problem: 'wrap' option is always reset when starting diff mode.
15463Solution: Add the "followwrap" item in 'diffopt'. (Rick Howe, closes #7797)
15464Files: runtime/doc/diff.txt, runtime/doc/options.txt, src/diff.c,
15465 src/testdir/test_diffmode.vim
15466
15467Patch 8.2.2491
15468Problem: Popup window for text property may show in first screen line.
15469Solution: If the text position is invisible do not show the popup window.
15470 (closes #7807)
15471Files: src/popupwin.c, src/testdir/test_popupwin.vim,
15472 src/testdir/dumps/Test_popup_prop_not_visible_01.dump,
15473 src/testdir/dumps/Test_popup_prop_not_visible_02.dump,
15474 src/testdir/dumps/Test_popup_prop_not_visible_03.dump
15475
15476Patch 8.2.2492
15477Problem: Command line buffer name cannot be translated.
15478Solution: Add _(). (Gabriel Dupras, closes #7812)
15479Files: src/ex_getln.c
15480
15481Patch 8.2.2493
15482Problem: Text property for text left of window shows up.
15483Solution: Check if the text property ends before the current column.
15484 (closes #7806)
15485Files: src/drawline.c, src/testdir/test_textprop.vim,
15486 src/testdir/dumps/Test_textprop_nowrap_01.dump,
15487 src/testdir/dumps/Test_textprop_nowrap_02.dump
15488
15489Patch 8.2.2494
15490Problem: ":rviminfo!" clears most of oldfiles.
15491Solution: Add VIF_ONLY_CURBUF to read_viminfo(). (closes #1781)
15492Files: src/viminfo.c, src/vim.h
15493
15494Patch 8.2.2495
15495Problem: Text jumps up and down when moving the cursor in a small window
15496 with wrapping text and 'scrolloff' set.
15497Solution: Adjust the computation of w_skipcol. (partly by Ghjuvan Lacambre,
15498 closes #7813)
15499Files: src/move.c, src/testdir/test_breakindent.vim
15500
15501Patch 8.2.2496 (after 8.2.2495)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000015502Problem: Insufficient testing for text jumping fix.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000015503Solution: Add another test case.
15504Files: src/testdir/test_breakindent.vim
15505
15506Patch 8.2.2497
15507Problem: No error when using more than one character for a register name.
15508Solution: In Vim9 script check for a single character string. (closes #7814)
15509 Fix that VAR_BOOL and VAR_SPECIAL are not considered equal.
15510Files: src/errors.h, src/evalfunc.c, src/typval.c,
15511 src/testdir/test_vim9_builtin.vim
15512
15513Patch 8.2.2498
15514Problem: No test for what 8.2.2494 fixes.
15515Solution: Add a simple change to test the fix. (closes #7818)
15516Files: src/testdir/test_viminfo.vim
15517
15518Patch 8.2.2499
15519Problem: "vim -g --version" does not redirect output.
15520Solution: Reset gui.starting when showing version info. (closes #7815)
15521Files: src/main.c, src/testdir/test_version.vim
15522
15523Patch 8.2.2500 (after 8.2.2499)
15524Problem: Build fails without the GUI feature.
15525Solution: Add #ifdef.
15526Files: src/main.c
15527
15528Patch 8.2.2501
15529Problem: Not always clear where an error is reported.
15530Solution: Add the where_T structure and pass it around. (closes #7796)
15531Files: src/structs.h, src/vim9type.c, src/proto/vim9type.pro,
15532 src/errors.h, src/evalvars.c, src/proto/evalvars.pro, src/eval.c,
15533 src/proto/eval.pro, src/vim9execute.c, src/vim9script.c,
15534 src/proto/vim9script.pro, src/dict.c, src/list.c,
15535 src/vim9compile.c, src/testdir/test_vim9_assign.vim
15536
15537Patch 8.2.2502
15538Problem: A few github actions are failing.
15539Solution: Install setuptools-rust. (closes #7823)
15540Files: .github/workflows/ci.yml
15541
15542Patch 8.2.2503
15543Problem: Vim9: a caught error may leave something on the stack.
15544Solution: Drop items from the stack if needed. (closes #7826)
15545Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
15546
15547Patch 8.2.2504
15548Problem: Vim9: crash when using an argument from a closure.
15549Solution: Check if gen_load_outer is NULL. (closes #7821)
15550Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
15551
15552Patch 8.2.2505
15553Problem: Vim9: crash after defining function with invalid return type.
15554Solution: Clear function growarrays. Fix memory leak.
15555Files: src/userfunc.c, src/testdir/test_vim9_func.vim
15556
15557Patch 8.2.2506
15558Problem: Vim9: :continue does not work correctly in a :try block
15559Solution: Add the TRYCLEANUP instruction. (closes #7827)
15560Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
15561 src/testdir/test_vim9_script.vim,
15562 src/testdir/test_vim9_disassemble.vim
15563
15564Patch 8.2.2507
15565Problem: Github build may fail if Ubuntu 20.04 is used. Installing rust is
15566 not needed.
15567Solution: Specify ubuntu-18.04 instead of latest. Update "pip" instead of
15568 installing rust. (Ozaki Kiichi, closes #7820)
15569Files: .github/workflows/ci.yml
15570
15571Patch 8.2.2508
15572Problem: Cannot change the character displayed in non existing lines.
15573Solution: Add the "eob" item to 'fillchars'. (closes #7832, closes #3820)
15574Files: runtime/doc/options.txt, runtime/doc/todo.txt,
15575 runtime/doc/windows.txt, src/drawscreen.c, src/globals.h,
15576 src/optiondefs.h, src/screen.c, src/testdir/test_display.vim
15577
15578Patch 8.2.2509
15579Problem: Tests fail on s390 build.
15580Solution: Initialize trycmd_T.
15581Files: src/vim9execute.c
15582
15583Patch 8.2.2510
15584Problem: Internal error when popup with mask is zero height or width.
15585Solution: Bail out if width or height is zero. (closes #7831)
15586Files: src/popupwin.c, src/testdir/test_popupwin.vim
15587
15588Patch 8.2.2511
15589Problem: Vim9: cannot use Vim9 script syntax in some places.
15590Solution: Add the :vim9cmd command modifier. Incompatible: Makes ":vim9"
15591 mean ":vim9cmd" instead of ":vim9script".
15592Files: runtime/doc/vim9.txt, runtime/doc/repeat.txt, src/ex_docmd.c,
15593 src/ex_cmds.h, src/structs.h, src/ex_cmdidxs.h, src/errors.h,
15594 src/testdir/test_vim9_cmd.vim, src/testdir/test_cmdline.vim,
15595 src/testdir/dumps/Test_wildmenu_1.dump,
15596 src/testdir/dumps/Test_wildmenu_2.dump,
15597 src/testdir/dumps/Test_wildmenu_3.dump,
15598 src/testdir/dumps/Test_wildmenu_4.dump,
15599 src/testdir/test_quickfix.vim
15600
15601Patch 8.2.2512
15602Problem: Vim9: compiling error test sometimes fails.
15603Solution: use WaitForAssert() instead of sleeping for a bit. (Dominique
15604 Pellé, closes #7837)
15605Files: src/testdir/term_util.vim, src/testdir/test_vim9_func.vim,
15606 src/testdir/test_vim9_script.vim
15607
15608Patch 8.2.2513 (after 8.2.2511)
15609Problem: Vim9: missing part of :vim9cmd change.
15610Solution: Use command modifier in in_vim9script().
15611Files: src/vim9script.c
15612
15613Patch 8.2.2514 (after 8.2.2511)
15614Problem: Vim9: build error in tiny version.
15615Solution: Add #ifdef.
15616Files: src/ex_docmd.c
15617
15618Patch 8.2.2515
15619Problem: Memory access error when truncating an empty message.
15620Solution: Check for an empty string. (Dominique Pellé, closes #7841)
15621Files: src/message.c, src/message_test.c
15622
15623Patch 8.2.2516
15624Problem: Test failure on s390. (analyses by James McCoy)
15625Solution: Only set the try_finally label when not skipping.
15626Files: src/vim9compile.c
15627
15628Patch 8.2.2517
15629Problem: Vim9: fix for s390 not tested on other systems.
15630Solution: Add a test.
15631Files: src/testdir/test_vim9_script.vim
15632
15633Patch 8.2.2518
15634Problem: 'listchars' should be window-local.
15635Solution: Make 'listchars' global-local. (Yegappan Lakshmanan, Marco Hinz,
15636 closes #5206, closes #7850)
15637Files: runtime/doc/options.txt, src/buffer.c, src/charset.c,
15638 src/drawline.c, src/drawscreen.c, src/evalfunc.c, src/globals.h,
15639 src/indent.c, src/message.c, src/misc1.c, src/option.c,
15640 src/option.h, src/optiondefs.h, src/optionstr.c,
15641 src/proto/screen.pro, src/screen.c, src/structs.h,
15642 src/testdir/test_listchars.vim, src/testdir/test_listlbr.vim
15643
15644Patch 8.2.2519
15645Problem: Vim9: no reason to keep strange Vi behavior.
15646Solution: ":3" and ":3|" both go to line 3. ":|" does not print the line.
15647 (closes #7840)
15648Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
15649
15650Patch 8.2.2520
15651Problem: Missing tests for 'listchars'.
15652Solution: Add a few more checks. (Yegappan Lakshmanan, closes #7854)
15653Files: src/testdir/test_listchars.vim
15654
15655Patch 8.2.2521
15656Problem: Some compilers can't handle pointer initialization. (John
15657 Marriott)
15658Solution: Use a local struct and assign it afterwards.
15659Files: src/screen.c
15660
15661Patch 8.2.2522
15662Problem: Beancount filetype not recognized.
15663Solution: Add a detection rule. (Brian Ryall, closes #7859)
15664Files: runtime/filetype.vim, src/testdir/test_filetype.vim
15665
15666Patch 8.2.2523
15667Problem: Svelte filetype not recognized.
15668Solution: Add a detection rule. (Brian Ryall, closes #7858)
15669Files: runtime/filetype.vim, src/testdir/test_filetype.vim
15670
15671Patch 8.2.2524
15672Problem: Cannot change the characters displayed in the foldcolumn.
15673Solution: Add fields to 'fillchars'. (Yegappan Lakshmanan, Matthieu Coudron,
15674 closes #7860)
15675Files: runtime/doc/options.txt, src/globals.h, src/mouse.c, src/screen.c,
15676 src/testdir/test_display.vim
15677
15678Patch 8.2.2525
15679Problem: Vim9: only local variables checked for a name.
15680Solution: Also check arguments and script variables. (closes #7838)
15681Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
15682 src/testdir/test_vim9_cmd.vim
15683
15684Patch 8.2.2526 (after 8.2.2525)
15685Problem: Build failure.
15686Solution: Change lookup_scriptvar() arguments.
15687Files: src/evalvars.c, src/proto/evalvars.pro
15688
15689Patch 8.2.2527
15690Problem: Vim9: lambda return type is not determined at script level.
15691Solution: Compile the lambda to get the return type. (closes #7843)
15692Files: src/eval.c, src/vim.h, src/vim9.h,
15693 src/testdir/test_vim9_assign.vim
15694
15695Patch 8.2.2528
15696Problem: Vim9: crash when compiling lambda fails.
15697Solution: Bail out after compilation fails. (closes #7862)
15698Files: src/eval.c, src/testdir/test_vim9_assign.vim
15699
15700Patch 8.2.2529
15701Problem: Vim9: Not possible to use legacy and Vim9 script in one file.
15702Solution: Vim9: allow for "if false" before :vim9script. (closes #7851)
15703Files: runtime/doc/vim9.txt, src/ex_docmd.c,
15704 src/testdir/test_vim9_script.vim
15705
15706Patch 8.2.2530
15707Problem: Vim9: not enough testing for profiling.
15708Solution: Add a test with nested functions and a lambda. Fix profiling
15709 for calling a compiled function.
15710Files: src/profiler.c, src/proto/profiler.pro, src/userfunc.c,
15711 src/vim9execute.c, src/testdir/test_profile.vim
15712
15713Patch 8.2.2531
15714Problem: Vim9: the :k command is obscure.
15715Solution: Disallow using :k, can use :mark instead. (closes #7874)
15716Files: runtime/doc/vim9.txt, src/ex_docmd.c, src/vim9script.c,
15717 src/vim9compile.c, src/ex_cmds.h, src/testdir/test_vim9_script.vim
15718
15719Patch 8.2.2532
15720Problem: Vim9: confusing error if :k is used with a range.
15721Solution: Give an error about the range. (issue #7874)
15722Files: src/vim9script.c, src/vim9compile.c,
15723 src/testdir/test_vim9_script.vim
15724
15725Patch 8.2.2533
15726Problem: Vim9: cannot use a range with :unlet.
15727Solution: Implement ISN_UNLETRANGE.
15728Files: src/errors.h, src/eval.c, src/evalvars.c, src/list.c,
15729 src/proto/evalvars.pro, src/proto/list.pro, src/vim9.h,
Bram Moolenaar47c532e2022-03-19 15:18:53 +000015730 src/vim9compile.c, src/vim9execute.c,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000015731 src/testdir/test_vim9_assign.vim
15732
15733Patch 8.2.2534
15734Problem: Missing test coverage.
15735Solution: Improve test coverage for completion with different encodings,
15736 mapset(), and term function failures. (Dominique Pellé,
15737 closes #7877)
15738Files: src/testdir/test_edit.vim, src/testdir/test_maparg.vim,
15739 src/testdir/test_terminal3.vim
15740
15741Patch 8.2.2535
15742Problem: MS-Windows: cannot run all vim9 tests.
15743Solution: Make test_vim9 target work.
15744Files: src/Make_mvc.mak
15745
15746Patch 8.2.2536
15747Problem: Coverity complains about unchecked return value.
15748Solution: Add (void).
15749Files: src/userfunc.c
15750
15751Patch 8.2.2537
15752Problem: Vim9: crash when map() fails.
15753Solution: Clear typval before using it. (closes #7884)
15754Files: src/list.c, src/testdir/test_vim9_builtin.vim
15755
15756Patch 8.2.2538
15757Problem: Crash when using Python list iterator.
15758Solution: Increment the list reference count. (closes #7886)
15759Files: src/if_py_both.h, src/testdir/test_python3.vim
15760
15761Patch 8.2.2539
15762Problem: Vim9: return from finally block causes a hang.
15763Solution: Store both the finally and endtry indexes. (closes #7885)
15764Files: src/vim9execute.c, src/vim9compile.c, src/vim9.h,
15765 src/testdir/test_vim9_script.vim,
Bram Moolenaar47c532e2022-03-19 15:18:53 +000015766
Bram Moolenaarc51cf032022-02-26 12:25:45 +000015767Patch 8.2.2540
15768Problem: Vim9: no error for using script var name for argument.
15769Solution: Check for this error. (closes #7868)
15770Files: src/userfunc.c, src/vim9compile.c, src/proto/vim9compile.pro,
15771 src/testdir/test_vim9_func.vim
15772
15773Patch 8.2.2541
15774Problem: Popup_create() does not allow boolean for "cursorline".
15775Solution: Use dict_get_bool(). (issue #7869)
15776Files: src/popupwin.c, src/testdir/test_popupwin.vim
15777
15778Patch 8.2.2542
15779Problem: Highlight of char beyond line end is not correct. (Chuan Wei Foo)
15780Solution: Fix counting NUL as one cell. Draw one more character if the EOL
15781 is part of the match. (closes #7883)
15782Files: src/match.c, src/testdir/test_search.vim,
15783 src/testdir/dumps/Test_hlsearch_1.dump,
15784 src/testdir/dumps/Test_hlsearch_2.dump
15785
15786Patch 8.2.2543
15787Problem: Vim9: a return inside try/catch does not restore exception state
15788 properly.
15789Solution: When there is no ":finally" jump to ":endtry". (closes #7882)
15790Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
15791
15792Patch 8.2.2544
15793Problem: Vim9: error for argument when checking for lambda.
15794Solution: Respect the skip flag. (closes #7887)
15795Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
15796
15797Patch 8.2.2545
15798Problem: Errors and crash when terminal window is zero height. (Leonid V.
15799 Fedorenchik)
15800Solution: Do not resize when width or height is zero. (closes #7890)
15801Files: src/terminal.c, src/testdir/test_terminal.vim
15802
15803Patch 8.2.2546
15804Problem: Typo in mouse key name.
15805Solution: Fix the typo. (issue #4725)
15806Files: src/misc2.c
15807
15808Patch 8.2.2547
15809Problem: "%" command not accurate for big files.
15810Solution: Make it more accurate for files up to 21M lines. (Dominique Pellé,
15811 closes #7889)
15812Files: src/normal.c
15813
15814Patch 8.2.2548
15815Problem: May get stuck in the cmdline window using :normal.
15816Solution: Have nv_esc() return K_IGNORE.
15817Files: src/normal.c
15818
15819Patch 8.2.2549
15820Problem: Crash after using "g:" in a for loop.
15821Solution: Increment the reference count. (closes #7892)
15822Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
15823
15824Patch 8.2.2550
15825Problem: Signal stack size is wrong with latest glibc 2.34.
15826Solution: Use sysconf(_SC_SIGSTKSZ) if available. (Zdenek Dohnal, closes
15827 #7895)
15828Files: src/config.h.in, src/configure.ac, src/os_unix.c,
15829 src/auto/configure
15830
15831Patch 8.2.2551
15832Problem: MS-Windows: colors test file is not installed.
15833Solution: Also copy runtime/colors/tools. (Ken Takata, closes #7902)
15834Files: nsis/gvim.nsi
15835
15836Patch 8.2.2552
15837Problem: Vim9: no reason to consider "{{{{{{{{" a command.
15838Solution: Just use "{". (issue #7904)
15839Files: src/ex_cmds.h
15840
15841Patch 8.2.2553
15842Problem: Vim9: Cannot put "|" after "{".
15843Solution: Add the EX_TRLBAR flag. (issue #7904)
15844Files: src/ex_cmds.h, src/ex_eval.c
15845
15846Patch 8.2.2554
15847Problem: Vim9: exporting a final is not tested.
15848Solution: Add a test.
15849Files: src/testdir/test_vim9_script.vim
15850
15851Patch 8.2.2555
15852Problem: Vim9: missing test for 8.2.2553.
15853Solution: Add a simple test.
15854Files: src/testdir/test_vim9_script.vim
15855
15856Patch 8.2.2556
15857Problem: Vim9: :import with "as" not fully supported.
15858Solution: Implement "as" for more cases.
15859Files: src/vim9script.c, src/testdir/test_vim9_script.vim
15860
15861Patch 8.2.2557
15862Problem: Compiler warning for shadowed variable.
15863Solution: Declare "p" only once.
15864Files: src/vim9script.c
15865
15866Patch 8.2.2558
15867Problem: No error if a lambda argument shadows a variable.
15868Solution: Check that the argument name shadows a local, argument or script
15869 variable. (closes #7898)
15870Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
15871 src/vim9script.c, src/errors.h, src/testdir/test_vim9_func.vim,
15872 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim
15873
15874Patch 8.2.2559
15875Problem: MS-Windows: guifont test fails on Windows XP.
15876Solution: Check windowsversion().
15877Files: src/testdir/test_gui.vim
15878
15879Patch 8.2.2560
15880Problem: Setting 'winminheigt' does not take tabline into account.
15881Solution: Subtract the tabline from the available height. (closes #7899)
15882Files: src/window.c, src/testdir/test_options.vim
15883
15884Patch 8.2.2561
15885Problem: Not all textprop code is covered by tests.
15886Solution: Add a few more test cases. (Dominique Pellé, closes #7908)
15887Files: src/testdir/test_textprop.vim
15888
15889Patch 8.2.2562
Bram Moolenaar1588bc82022-03-08 21:35:07 +000015890Problem: GUI: star register changed when 'clipboard' is "unnamedplus". (Ingo
Bram Moolenaarc51cf032022-02-26 12:25:45 +000015891 Karkat)
15892Solution: Do not change the star register when 'clipboard' contains
15893 "unnamedplus" and not "unnamed". (closes #1516)
15894Files: src/register.c
15895
15896Patch 8.2.2563
15897Problem: Cannot use multibyte characters for folding in 'fillchars'.
15898Solution: Port pull request 11568 to Vim. (Yegappan Lakshmanan,
15899 closes #7924)
15900Files: src/drawline.c, src/drawscreen.c, src/macros.h,
15901 src/proto/screen.pro, src/screen.c, src/testdir/test_fold.vim,
15902 src/testdir/test_profile.vim
15903
15904Patch 8.2.2564
15905Problem: Focus events end Insert mode if 'esckeys' is not set.
15906Solution: Do not enable focus events when 'esckeys' is off. (closes #7926)
15907Files: src/term.c
15908
15909Patch 8.2.2565
15910Problem: Vim9: "..=" not always recognized.
15911Solution: Do not consider "..=" to be string concatenation. (closes #7905)
15912Files: src/eval.c, src/testdir/test_vim9_assign.vim
15913
15914Patch 8.2.2566
15915Problem: Vim9: Function name is not recognized.
15916Solution: Change lookup_scriptvar() to also find function names.
15917 (closes #7770)
15918Files: src/vim9script.c, src/evalvars.c, src/proto/evalvars.pro,
15919 src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
15920
15921Patch 8.2.2567
15922Problem: Vim9: no error if variable is defined for existing function.
15923Solution: Check if name isn't already in use. (closes #7897)
15924Files: src/evalvars.c, src/testdir/test_vim9_script.vim
15925
15926Patch 8.2.2568
15927Problem: Second time a preview popup is opened highlight is not set.
15928 (Gabriel Dupras)
15929Solution: Apply 'previewpopup' after getting the file. (closes #7928)
15930Files: src/tag.c, src/testdir/test_popupwin.vim,
15931 src/testdir/dumps/Test_popupwin_previewpopup_2.dump,
15932 src/testdir/dumps/Test_popupwin_previewpopup_3.dump,
15933 src/testdir/dumps/Test_popupwin_previewpopup_4.dump,
15934 src/testdir/dumps/Test_popupwin_previewpopup_5.dump
15935
15936Patch 8.2.2569
15937Problem: 'fillchars' "stl" and "stlnc" items must be single byte.
15938Solution: Accept multi-byte characters. (Christian Wellenbrock, Yegappan
15939 Lakshmanan, closes #7927)
15940Files: runtime/doc/options.txt, src/buffer.c, src/macros.h, src/screen.c,
15941 src/testdir/test_fold.vim, src/testdir/test_statusline.vim
15942
15943Patch 8.2.2570
15944Problem: Tests fail when run as root.
15945Solution: Add a comment mentioning the expected failure. (issue #7919)
15946Files: src/testdir/test_edit.vim, src/testdir/test_excmd.vim,
15947 src/testdir/test_help.vim, src/testdir/test_writefile.vim
15948
15949Patch 8.2.2571
15950Problem: Test may leave file behind.
15951Solution: Delete the temporary file. Don't profile in the running Vim
15952 instance.
15953Files: src/testdir/test_quickfix.vim, src/testdir/test_profile.vim
15954
15955Patch 8.2.2572
15956Problem: Vim9: crash when getting the types for a legacy function.
15957Solution: Initialize the type list growarray. (closes #7929)
15958Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
15959
15960Patch 8.2.2573
15961Problem: Vim9: using invalid pointer for error message.
15962Solution: Use the right pointer. (closes #7921)
15963Files: src/eval.c, src/testdir/test_vim9_expr.vim
15964
15965Patch 8.2.2574
15966Problem: Vim9: crash when calling partial with wrong function.
15967Solution: Check argument types of called function. (closes #7912)
15968Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
15969
15970Patch 8.2.2575
15971Problem: Vim9: a function name with "->" in the next line doesn't work.
15972Solution: Recognize a function name by itself. (closes #7770)
15973Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
15974
15975Patch 8.2.2576
15976Problem: Vim9: defining a :func function checks for white space after a
15977 comma in the arguments.
15978Solution: Only check for white space in a :def function. (closes #7930)
15979Files: src/userfunc.c, src/testdir/test_vim9_func.vim
15980
15981Patch 8.2.2577
15982Problem: Compiler warning for type conversion.
15983Solution: Add a typecast. (Mike Williams)
15984Files: src/drawline.c
15985
15986Patch 8.2.2578
15987Problem: Lua cannot handle a passed in lambda.
15988Solution: Handle VAR_PARTIAL. (Prabir Shrestha, closes #7937, closes #7936)
15989Files: src/if_lua.c, src/testdir/test_lua.vim
15990
15991Patch 8.2.2579
15992Problem: Vim9: crash in garbagecollect after for loop.
15993Solution: Do not set a reference in script item when the name was cleared.
15994 (closes #7935)
15995Files: src/evalvars.c
15996
15997Patch 8.2.2580
15998Problem: Vim9: checking vararg type is wrong when function is auto-loaded.
15999Solution: Use the member type. (closes #7933)
16000Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
16001
16002Patch 8.2.2581
16003Problem: Vim9: sourcing Vim9 script triggers a redraw.
16004Solution: Do not let setting/restoring 'cpoptions' cause a redraw.
16005 (closes #7920)
16006Files: src/vim.h, src/option.c, src/optionstr.c, src/scriptfile.c,
16007 src/vim9script.c, src/testdir/test_vim9_script.vim,
16008 src/testdir/dumps/Test_vim9_no_redraw.dump
16009
16010Patch 8.2.2582 (after 8.2.2581)
16011Problem: Vim9: screendump test fails on MS-Windows.
16012Solution: Use :function instead of :def.
16013Files: src/testdir/test_vim9_script.vim
16014
16015Patch 8.2.2583
16016Problem: Vim9: cannot compare result of getenv() with null.
16017Solution: Make the return type of getenv() "any". (closes #7943)
16018Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
16019
16020Patch 8.2.2584
16021Problem: Vim9: type error for assigning the result of list concatenation to
16022 a list.
16023Solution: Do not consider concatenation result in a constant. (closes #7942)
16024Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
16025
16026Patch 8.2.2585
16027Problem: Vim9: illegal memory access.
16028Solution: Check byte right after "null", not one more.
16029Files: src/vim9compile.c
16030
16031Patch 8.2.2586
16032Problem: Process id may be invalid.
16033Solution: Use sysinfo.uptime to check for recent reboot. (suggested by Hugo
16034 van der Sanden, closes #7947)
16035Files: src/configure.ac, src/auto/configure, src/config.h.in,
16036 src/memline.c, src/testing.c, src/globals.h,
16037 src/testdir/test_recover.vim
16038
16039Patch 8.2.2587 (after 8.2.2586)
16040Problem: Recover test fails on FreeBSD.
16041Solution: Check for Linux.
16042Files: src/testdir/check.vim, src/testdir/test_recover.vim
16043
16044Patch 8.2.2588 (after 8.2.2586)
16045Problem: Build failure with tiny features.
16046Solution: Add #ifdef. Run recover test separately.
16047Files: src/memline.c, src/testdir/Make_all.mak, src/testdir/test_alot.vim
16048
16049Patch 8.2.2589 (after 8.2.2586)
16050Problem: Recover test hangs in the GUI.
16051Solution: Add g:skipped_reason to skip a _nocatch_ test.
16052Files: src/testdir/runtest.vim, src/testdir/test_recover.vim
16053
16054Patch 8.2.2590
16055Problem: Vim9: default argument value may cause internal error.
16056Solution: Hide later function arguments when compiling the expression.
16057 (closes #7948)
16058Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
16059
16060Patch 8.2.2591
16061Problem: Poke files are not recognized.
16062Solution: Add a filetype entry. (Matt Ihlenfield)
16063Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16064
16065Patch 8.2.2592
16066Problem: Code coverage could be improved.
16067Solution: Add a few more tests. (Dominique Pellé, closes #7957)
16068Files: src/testdir/test_fileformat.vim, src/testdir/test_normal.vim,
16069 src/testdir/test_sleep.vim, src/testdir/test_textformat.vim,
16070 src/testdir/test_viminfo.vim
16071
16072Patch 8.2.2593
16073Problem: List of distributed files is incomplete.
16074Solution: Add a file and rename another.
16075Files: Filelist
16076
16077Patch 8.2.2594
16078Problem: Alternate buffer added to session file even when it's hidden.
16079Solution: Check the 'buflisted' option. (closes #7951)
16080Files: src/session.c, src/testdir/test_mksession.vim
16081
16082Patch 8.2.2595
16083Problem: Setting 'winminheight' may cause 'lines' to change.
16084Solution: Also take minimal height of other tabpages into account. (#7899)
16085Files: src/window.c, src/testdir/test_options.vim
16086
16087Patch 8.2.2596
16088Problem: :doautocmd may confuse scripts listening to WinEnter.
16089Solution: Do the current buffer last. (closes #7958)
16090Files: src/autocmd.c, src/testdir/test_autocmd.vim
16091
16092Patch 8.2.2597
16093Problem: Vim9: "import * as" does not work at script level.
16094Solution: Implement using an imported namespace.
16095Files: src/vim.h, src/eval.c, src/evalvars.c, src/proto/evalvars.pro,
16096 src/vim9execute.c, src/errors.h, src/vim9script.c,
16097 src/proto/vim9script.pro, src/testdir/test_vim9_script.vim
16098
16099Patch 8.2.2598
16100Problem: Vim9: :open does not need to be supported.
16101Solution: Do not support :open in Vim9 script.
16102Files: src/ex_docmd.c, src/vim9script.c, src/testdir/test_vim9_script.vim
16103
16104Patch 8.2.2599 (after 8.2.2597)
16105Problem: Build failure.
16106Solution: Add missing change.
16107Files: src/vim9compile.c
16108
16109Patch 8.2.2600
16110Problem: Vim9: crash when putting an unknown type in a dictionary.
16111 (Yegappan Lakshmanan)
16112Solution: Handle a NULL type pointer.
16113Files: src/vim9type.c, src/testdir/test_vim9_builtin.vim
16114
16115Patch 8.2.2601
16116Problem: Memory usage test often fails on FreeBSD.
16117Solution: Increase multiplier for upper limit.
16118Files: src/testdir/test_memory_usage.vim
16119
16120Patch 8.2.2602
16121Problem: Vim9: continue doesn't work if :while is very first command.
16122 (Yegappan Lakshmanan)
16123Solution: Add one to the continue instruction index.
16124Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
16125
16126Patch 8.2.2603
16127Problem: Vim9: no effect if user command is also a function.
16128Solution: Check for paren following. (closes #7960)
16129Files: src/evalvars.c, src/proto/evalvars.pro, src/ex_docmd.c,
16130 src/proto/ex_docmd.pro, src/vim9compile.c,
16131 src/testdir/test_vim9_cmd.vim
16132
16133Patch 8.2.2604
16134Problem: GUI-specific command line arguments not tested.
16135Solution: Add tests for several arguments. (Dominique Pellé, closes #7962)
16136Files: src/testdir/test_startup.vim
16137
16138Patch 8.2.2605
16139Problem: Vim9: string index and slice does not include composing chars.
16140Solution: Include composing characters. (issue #6563)
16141Files: runtime/doc/vim9.txt, src/vim9execute.c,
16142 src/testdir/test_vim9_expr.vim
16143
16144Patch 8.2.2606
16145Problem: strchars() defaults to counting composing characters.
16146Solution: Add strcharlen() which ignores composing characters.
16147Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
16148 src/testdir/test_utf8.vim
16149
16150Patch 8.2.2607
16151Problem: strcharpart() cannot include composing characters.
16152Solution: Add the {skipcc} argument.
16153Files: runtime/doc/eval.txt, src/evalfunc.c,
16154 src/testdir/test_expr_utf8.vim
16155
16156Patch 8.2.2608
16157Problem: Character input not fully tested.
16158Solution: Add more tests. (Yegappan Lakshmanan, closes #7963)
16159Files: src/testdir/test_functions.vim, src/testdir/test_messages.vim,
16160 src/testdir/test_paste.vim, src/testdir/test_registers.vim,
16161 src/testdir/test_undo.vim
16162
16163Patch 8.2.2609
16164Problem: Test disabled on MS-Windows even though it should work.
16165Solution: Restore the condition for skipping the test. (Ken Takata,
16166 closes #7970)
16167Files: src/testdir/test_startup.vim
16168
16169Patch 8.2.2610
16170Problem: Mouse click test fails when using remote connection.
16171Solution: Use a larger 'mousetime'. (Dominique Pellé, closes #7968)
16172Files: src/testdir/test_selectmode.vim
16173
16174Patch 8.2.2611
16175Problem: Conditions for startup tests are not exactly right.
16176Solution: Check for type of GUI instead of MS-Windows. (Ozaki Kiichi,
16177 closes #7976)
16178Files: src/main.c, src/testdir/check.vim, src/testdir/test_startup.vim
16179
16180Patch 8.2.2612
16181Problem: col('.') may get outdated column value.
16182Solution: Add a note to the help how to make this work and add a test for
16183 it. (closes #7971)
16184Files: runtime/doc/map.txt, src/testdir/test_mapping.vim
16185
16186Patch 8.2.2613 (after 8.2.2612)
16187Problem: New test throws exception.
16188Solution: Adjust the function cleanup.
16189Files: src/testdir/test_mapping.vim
16190
16191Patch 8.2.2614
16192Problem: Vim9: function is deleted while executing.
16193Solution: increment the call count, when more than zero do not delete the
16194 function but mark it as dead. (closes #7977)
16195Files: src/vim9execute.c, src/userfunc.c,
16196 src/testdir/test_vim9_script.vim
16197
16198Patch 8.2.2615 (after 8.2.2614)
16199Problem: Test is sourcing the wrong file.
16200Solution: Correct the file name.
16201Files: src/testdir/test_vim9_script.vim
16202
16203Patch 8.2.2616
16204Problem: Vim9: if 'cpo' is changed in Vim9 script it may be restored.
16205Solution: Apply the changes to 'cpo' to the restored value.
16206Files: runtime/doc/vim9.txt, src/scriptfile.c,
16207 src/testdir/test_vim9_script.vim
16208
16209Patch 8.2.2617
16210Problem: Vim9: script variable in a block scope not found by a nested
16211 function.
16212Solution: Copy the block scope IDs before compiling the function.
16213Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
16214 src/testdir/test_vim9_disassemble.vim
16215
16216Patch 8.2.2618
16217Problem: Vim9: cannot use a normal list name to store function refs.
16218Solution: Allow a lower case name if it is indexed.
16219Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
16220
16221Patch 8.2.2619
16222Problem: Vim9: no test for return type of lambda.
16223Solution: Add a test.
16224Files: src/testdir/test_vim9_func.vim
16225
16226Patch 8.2.2620
16227Problem: Vim9: Using #{ for a dictionary gives strange errors.
16228Solution: Give an error when using #{ for a comment after a command.
16229Files: src/vim9compile.c, src/vim9script.c, src/proto/vim9script.pro,
16230 src/errors.h, src/testdir/test_vim9_expr.vim,
16231 src/testdir/test_vim9_script.vim
16232
16233Patch 8.2.2621
16234Problem: typval2type() cannot handle recursive structures.
16235Solution: Use copyID. (closes #7979)
16236Files: src/list.c, src/vim9script.c, src/vim9type.c,
16237 src/proto/vim9type.pro, src/testdir/test_vimscript.vim
16238
16239Patch 8.2.2622
16240Problem: GTK: error when starting up and -geometry is given. (Dominique
16241 Pellé)
16242Solution: Use another function to get the monitor if the window has not been
16243 created yet. (closes #7978)
16244Files: src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro, src/gui_beval.c,
16245 src/gui_xim.c
16246
16247Patch 8.2.2623
16248Problem: Some tests fail when run as root.
16249Solution: Use CheckNotRoot.
16250Files: src/testdir/test_edit.vim, src/testdir/test_excmd.vim,
16251 src/testdir/test_help.vim, src/testdir/test_writefile.vim
16252
16253Patch 8.2.2624
16254Problem: Atom files not recognized.
16255Solution: Recognize .atom as XML. (Kivin Locke, closes #7986)
16256Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16257
16258Patch 8.2.2625
16259Problem: Rss files not recognized.
16260Solution: Recognize .rss as XML. (Kivin Locke, closes #7987)
16261Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16262
16263Patch 8.2.2626
16264Problem: GTK3: error when starting up and -geometry is given. (Dominique
16265 Pellé)
16266Solution: Use another function to get the monitor if the window has not been
16267 created yet. (closes #7978)
16268Files: src/gui_gtk_x11.c
16269
16270Patch 8.2.2627
16271Problem: No need to check for BSD after checking for not root.
16272Solution: Remove CheckNotBSD. (Ozaki Kiichi, closes #7989)
16273Files: src/testdir/test_excmd.vim, src/testdir/test_help.vim,
16274 src/testdir/check.vim
16275
16276Patch 8.2.2628
16277Problem: Vim9: #{ can still be used at the script level.
16278Solution: Give an error for #{ like in a :def function.
16279Files: src/eval.c, src/ex_docmd.c, src/testdir/test_vim9_expr.vim
16280
16281Patch 8.2.2629
16282Problem: Vim9: error for #{{ is not desired.
16283Solution: Adjust the checks. (closes #7990)
16284Files: src/errors.h, src/vim9script.c, src/ex_docmd.c,
16285 src/testdir/test_vim9_expr.vim
16286
16287Patch 8.2.2630
16288Problem: Hard to see where a test gets stuck.
16289Solution: Print the executed test function. (Dominique Pellé, closes #7975)
16290Files: src/testdir/Makefile
16291
16292Patch 8.2.2631
16293Problem: Commands from winrestcmd() do not always work properly. (Leonid V.
16294 Fedorenchik)
16295Solution: Repeat the size commands twice. (closes #7988)
16296Files: src/evalwindow.c, src/testdir/test_window_cmd.vim
16297
16298Patch 8.2.2632
16299Problem: Not all command line arguments are tested.
16300Solution: Add tests for -D and -serverlist. (Dominique Pellé, closes #7992)
16301Files: src/testdir/test_clientserver.vim, src/testdir/test_startup.vim
16302
16303Patch 8.2.2633
16304Problem: Multi-byte 'fillchars' for folding do not show properly.
16305Solution: Handle multi-byte characters correctly. (Yegappan Lakshmanan,
16306 closes #7983, closes #7955)
16307Files: src/screen.c, src/testdir/test_fold.vim
16308
16309Patch 8.2.2634
16310Problem: 'tagfunc' does not indicate using a pattern.
16311Solution: Add the "r" flag. (Andy Massimino, closes #7982)
16312Files: runtime/doc/tagsrch.txt, src/tag.c, src/testdir/test_tagfunc.vim
16313
16314Patch 8.2.2635
16315Problem: Vim9: cannot define an inline function.
16316Solution: Make an inline function mostly work.
16317Files: src/userfunc.c, src/errors.h, src/vim9compile.c, src/misc2.c,
16318 src/proto/vim9compile.pro, src/testdir/test_vim9_expr.vim
16319
16320Patch 8.2.2636 (after 8.2.2635)
16321Problem: Memory leak when compiling inline function.
16322Solution: Free the prefetched line.
16323Files: src/userfunc.c, src/vim9compile.c, src/structs.h, src/globals.h,
16324 src/eval.c
16325
16326Patch 8.2.2637
16327Problem: prop_remove() causes a redraw even when nothing changed.
16328Solution: Only redraw if a property was removed. (Dominique Pellé)
16329Files: src/textprop.c
16330
16331Patch 8.2.2638
16332Problem: Cannot write a message to the terminal from the GUI.
16333Solution: Add :echoconsole and use it in the test runner. (issue #7975)
16334Files: runtime/doc/eval.txt, runtime/doc/index.txt, src/ex_cmds.h,
16335 src/ex_cmdidxs.h, src/eval.c, src/ui.c, src/proto/ui.pro,
16336 src/term.c, src/testdir/runtest.vim
16337
16338Patch 8.2.2639 (after 8.2.2638)
16339Problem: Build failure when fsync() is not available.
16340Solution: Add #ifdef.
16341Files: src/ui.c
16342
16343Patch 8.2.2640
16344Problem: screenstring() returns non-existing composing characters.
16345Solution: Only use composing characters if there is a base character.
16346Files: src/evalfunc.c, src/testdir/test_listchars.vim
16347
16348Patch 8.2.2641
16349Problem: Display test fails because of lacking redraw.
16350Solution: Add a redraw command.
16351Files: src/testdir/test_display.vim
16352
16353Patch 8.2.2642
16354Problem: Vim9: no clear error for wrong inline function.
16355Solution: Check for something following the "{".
16356Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
16357
16358Patch 8.2.2643
16359Problem: Various code not covered by tests.
16360Solution: Add a few more test. (Yegappan Lakshmanan, closes #7995)
16361Files: src/testdir/test_edit.vim, src/testdir/test_functions.vim,
16362 src/testdir/test_mapping.vim, src/testdir/test_termcodes.vim,
16363 src/testdir/test_undo.vim
16364
16365Patch 8.2.2644
16366Problem: prop_clear() causes a screen update even when nothing changed.
16367Solution: Only redraw when a property was cleared. (Dominique Pellé)
16368Files: src/textprop.c
16369
16370Patch 8.2.2645
16371Problem: Using inline function is not properly tested.
16372Solution: Add test cases, esp. for errors. Minor code improvements.
16373Files: src/userfunc.c, src/errors.h, src/testdir/test_vim9_expr.vim,
16374 src/testdir/test_vim9_func.vim
16375
16376Patch 8.2.2646
16377Problem: Vim9: error for not using string doesn't mention argument.
16378Solution: Add argument number.
16379Files: src/filepath.c, src/typval.c, src/proto/typval.pro, src/errors.h,
16380 src/mbyte.c, src/testdir/test_vim9_builtin.vim
16381
16382Patch 8.2.2647
16383Problem: Terminal test sometimes hangs.
16384Solution: Wait for the shell to display a prompt.
16385Files: src/testdir/test_terminal.vim
16386
16387Patch 8.2.2648
16388Problem: Terminal resize test sometimes hangs.
16389Solution: Wait for the shell to display a prompt and other output.
16390Files: src/testdir/test_terminal2.vim
16391
16392Patch 8.2.2649
16393Problem: Vim9: some wincmd arguments cause a white space error.
16394Solution: Insert a space before the count. (closes #8001)
16395Files: src/window.c, src/testdir/test_vim9_cmd.vim
16396
16397Patch 8.2.2650
16398Problem: Vim9: command modifiers not handled in nested function.
16399Solution: Keep function-local info in a structure and save it on the stack.
16400Files: src/vim9execute.c, src/vim9.h, src/testdir/test_vim9_func.vim
16401
16402Patch 8.2.2651
16403Problem: Vim9: restoring command modifiers happens after jump.
16404Solution: Move the restore instruction to before the jump. (closes #8006)
16405 Also handle for and while.
16406Files: src/vim9compile.c, src/vim9execute.c,
16407 src/testdir/test_vim9_disassemble.vim
16408
16409Patch 8.2.2652
16410Problem: Vim9: can use command modifier without an effect.
16411Solution: Give an error for a misplaced command modifier. Fix error message
16412 number.
16413Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
16414 src/ex_eval.c, src/testdir/test_vim9_cmd.vim,
16415 src/testdir/test_vim9_builtin.vim,
16416 src/testdir/test_vim9_disassemble.vim
16417
16418Patch 8.2.2653
16419Problem: Build failure.
16420Solution: Add missing changes.
16421Files: src/errors.h
16422
16423Patch 8.2.2654
16424Problem: Vim9: getting a character from a string can be slow.
16425Solution: Avoid a function call to get the character byte size. (#8000)
16426Files: src/vim9execute.vim
16427
16428Patch 8.2.2655
16429Problem: The -w command line argument doesn't work.
16430Solution: Don't set 'window' when set with the -w argument. (closes #8011)
16431Files: src/term.c, src/testdir/test_startup.vim
16432
16433Patch 8.2.2656
16434Problem: Some command line arguments and regexp errors not tested.
16435Solution: Add a few test cases. (Dominique Pellé, closes #8013)
16436Files: src/testdir/test_regexp_latin.vim, src/testdir/test_startup.vim
16437
16438Patch 8.2.2657
16439Problem: Vim9: error message for declaring variable in for loop.
16440Solution: Clear variables when entering block again. (closes #8012)
16441Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
16442
16443Patch 8.2.2658
16444Problem: :for cannot loop over a string.
16445Solution: Accept a string argument and iterate over its characters.
16446Files: runtime/doc/eval.txt, src/eval.c, src/vim9compile.c,
16447 src/vim9execute.c, src/errors.h, src/testdir/test_vimscript.vim,
16448 src/testdir/test_vim9_disassemble.vim,
16449 src/testdir/test_vim9_script.vim
16450
16451Patch 8.2.2659 (after 8.2.2658)
16452Problem: Eval test fails because for loop on string works.
16453Solution: Check looping over function reference fails.
16454Files: src/testdir/test_eval_stuff.vim
16455
16456Patch 8.2.2660
16457Problem: Vim9: no error for declaration with trailing text.
16458Solution: Give an error. (closes #8014)
16459Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
16460
16461Patch 8.2.2661
16462Problem: Leaking memory when looping over a string.
16463Solution: Free the memory.
16464Files: src/eval.c
16465
16466Patch 8.2.2662
16467Problem: There is no way to avoid some escape sequences.
16468Solution: Suppress escape sequences when the --not-a-term argument is used.
16469 (Gary Johnson)
16470Files: src/main.c, src/os_unix.c, src/testdir/test_startup.vim
16471
16472Patch 8.2.2663
16473Problem: Vim9: leaking memory when inline function has an error.
16474Solution: Free the partially allocated function.
16475Files: src/userfunc.c
16476
16477Patch 8.2.2664
16478Problem: Vim9: not enough function arguments checked for string.
16479Solution: Check in balloon functions. Refactor function arguments.
16480Files: src/typval.c, src/proto/typval.pro, src/filepath.c,
16481 src/evalfunc.c, src/mbyte.c, src/testdir/test_vim9_builtin.vim
16482
16483Patch 8.2.2665 (after 8.2.2664)
16484Problem: Test failures.
16485Solution: Check more specific feature. Add missing change.
16486Files: src/testdir/test_vim9_builtin.vim, src/evalbuffer.c
16487
16488Patch 8.2.2666
16489Problem: Vim9: not enough function arguments checked for string.
16490Solution: Check in ch_logfile(), char2nr() and others.
16491Files: src/channel.c, src/evalfunc.c, src/filepath.c, src/eval.c,
16492 src/testdir/test_vim9_builtin.vim
16493
16494Patch 8.2.2667
16495Problem: prop_find() cannot find item matching both id and type.
16496Solution: Add the "both" argument. (Naohiro Ono, closes #8019)
16497Files: runtime/doc/textprop.txt, src/testdir/test_textprop.vim,
16498 src/textprop.c
16499
16500Patch 8.2.2668
16501Problem: Vim9: omitting "call" for "confirm()" does not give an error.
16502Solution: Do not recognize a modifier followed by "(".
16503Files: src/ex_docmd.c, src/testdir/test_vim9_builtin.vim
16504
16505Patch 8.2.2669
16506Problem: Command line completion does not work after "vim9".
16507Solution: Include the "9". (Naohiro Ono, closes #8025)
16508Files: src/cmdexpand.c, src/ex_docmd.c, src/testdir/test_cmdline.vim
16509
16510Patch 8.2.2670
16511Problem: Vim9: error for append(0, text).
16512Solution: Check for negative number. (closes #8022)
16513Files: src/typval.c, src/testdir/test_vim9_builtin.vim
16514
16515Patch 8.2.2671 (after 8.2.2670)
16516Problem: Error for line number in legacy script.
16517Solution: Check for number type.
16518Files: src/typval.c
16519
16520Patch 8.2.2672
16521Problem: Vim9: cannot use :lockvar and :unlockvar in compiled script.
16522Solution: Implement locking support.
16523Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_cmd.vim
16524
16525Patch 8.2.2673
16526Problem: Vim9: script-local funcref can have lower case name.
16527Solution: Require an upper case name.
16528Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
16529
16530Patch 8.2.2674
16531Problem: Motif: cancelling the font dialog resets the font.
16532Solution: When no font is selected to not change the font. (closes #7825,
16533 closes #8035) Fix compiler warnings.
16534Files: src/gui_x11.c, src/gui_motif.c
16535
16536Patch 8.2.2675
16537Problem: Directory change in a terminal window shell is not followed.
16538Solution: Add the 'autoshelldir' option. (closes #6290)
16539Files: runtime/doc/options.txt, runtime/doc/quickref.txt,
16540 runtime/optwin.vim, src/charset.c, src/feature.h, src/option.h,
16541 src/optiondefs.h, src/terminal.c, src/testdir/check.vim,
16542 src/testdir/test_terminal3.vim
16543
16544Patch 8.2.2676
16545Problem: Missing error message.
16546Solution: Add new error message.
16547Files: src/errors.h
16548
16549Patch 8.2.2677
16550Problem: Vim9: cannot use only some of the default arguments.
16551Solution: Use v:none to use default argument value. Remove
16552 uf_def_arg_idx[], use JUMP_IF_ARG_SET. (closes #6504)
16553Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9execute.c,
16554 src/userfunc.c, src/structs.h, src/vim9.h,
16555 src/testdir/test_vim9_disassemble.vim,
16556 src/testdir/test_vim9_func.vim
16557
16558Patch 8.2.2678
16559Problem: Test for 'autoshelldir' does not reset the option.
16560Solution: Reset the option after testing.
16561Files: src/testdir/test_terminal3.vim
16562
16563Patch 8.2.2679
16564Problem: Winbar drawn over status line for non-current window with winbar
16565 if frame is zero height. (Leonid V. Fedorenchik)
16566Solution: Do not draw the window if the frame height is zero. (closes #8037)
16567Files: src/drawscreen.c, src/testdir/test_winbar.vim,
16568 src/testdir/dumps/Test_winbar_not_visible.dump
16569
16570Patch 8.2.2680
16571Problem: Vim9: problem defining a script variable from legacy function.
16572Solution: Check if the script is Vim9, not the current syntax.
16573 (closes #8032)
16574Files: src/vim9script.c, src/proto/vim9script.pro, src/evalvars.c,
16575 src/testdir/test_vim9_script.vim
16576
16577Patch 8.2.2681
16578Problem: Vim9: test fails for redeclaring script variable.
16579Solution: It's OK to assign to an existing script variable in legacy.
16580Files: src/evalvars.c
16581
16582Patch 8.2.2682
16583Problem: Vim9: cannot find Name.Func from "import * as Name". (Alexander
16584 Goussas)
16585Solution: When no variable found try finding a function. (closes #8045)
16586 Check that the function was exported.
16587Files: src/vim9compile.c, src/vim9script.c,
16588 src/testdir/test_vim9_script.vim
16589
16590Patch 8.2.2683
16591Problem: Build failure without the +eval feature.
16592Solution: Add #ifdef.
16593Files: src/vim9script.c
16594
16595Patch 8.2.2684
16596Problem: Not enough folding code is tested.
16597Solution: Add more test cases. (Yegappan Lakshmanan, closes #8046)
16598Files: src/testdir/test_fold.vim, src/testdir/test_mksession.vim,
16599 src/testdir/test_source.vim
16600
16601Patch 8.2.2685 (after 8.2.2152)
16602Problem: Custom statusline not drawn correctly with WinBar.
16603Solution: Also adjust the column for the custom status line. (Yee Cheng
16604 Chin, closes #8047)
16605Files: src/drawscreen.c, src/proto/drawscreen.pro, src/screen.c,
16606 src/testdir/dumps/Test_winbar_not_visible_custom_statusline.dump,
16607 src/testdir/test_winbar.vim
16608
16609Patch 8.2.2686
16610Problem: Status line is not updated when going to cmdline mode.
16611Solution: Redraw status lines if 'statusline' is set and going to status
16612 line mode. (based on patch from Justin M. Keyes et al.,
16613 closes #8044)
16614Files: src/ex_getln.c, src/testdir/test_statusline.vim,
16615 src/testdir/dumps/Test_statusline_mode_1.dump,
16616 src/testdir/dumps/Test_statusline_mode_2.dump
16617
16618Patch 8.2.2687
16619Problem: Vim9: cannot use "const" for global variable in :def function.
16620Solution: Do allow using :const for a global variable. (closes #8030)
16621Files: src/vim9compile.c, src/vim9execute.c,
16622 src/testdir/test_vim9_assign.vim
16623
16624Patch 8.2.2688
16625Problem: Vim9: crash when using s: for script variable.
16626Solution: Pass the end pointer. (closes #8045)
16627Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
16628
16629Patch 8.2.2689
16630Problem: Tiny build fails.
16631Solution: Add #ifdef around use of p_stl.
16632Files: src/ex_getln.c
16633
16634Patch 8.2.2690
16635Problem: PowerShell files are not recognized.
16636Solution: Recognize several PowerShell extension. (Heath Stewart,
16637 closes #8051)
16638Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16639
16640Patch 8.2.2691
16641Problem: Autoconf may mess up compiler flags.
16642Solution: Handle removing FORTIFY_SOURCE a bit better. (Vladimir Lomov,
16643 closes #8049)
16644Files: src/configure.ac, src/auto/configure
16645
16646Patch 8.2.2692
16647Problem: Vim9: locked script variable can be changed.
16648Solution: Check for locked value. (closes #8031)
16649Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
16650
16651Patch 8.2.2693
16652Problem: Vim9: locked script variable can be changed.
16653Solution: Check legacy script variable for being locked. (issue #8031)
16654Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
16655
16656Patch 8.2.2694
16657Problem: When 'matchpairs' is empty every character beeps. (Marco Hinz)
16658Solution: Bail out when no character in 'matchpairs' was found.
16659 (closes #8053) Add assert_nobeep().
16660Files: runtime/doc/testing.txt, runtime/doc/eval.txt, src/search.c,
16661 src/testing.c, src/proto/testing.pro, src/evalfunc.c,
16662 src/testdir/test_textformat.vim
16663
16664Patch 8.2.2695
16665Problem: Cursor position reset with nested autocommands.
16666Solution: Only check and reset line numbers for not nested autocommands.
16667 (closes #5820)
16668Files: src/autocmd.c, src/testdir/test_terminal.vim
16669
16670Patch 8.2.2696
16671Problem: Lua test fails with Lua 5.4.3 and later.
16672Solution: Check for different error messages. (Yegappan Lakshmanan,
16673 closes #8050)
16674Files: src/testdir/test_lua.vim
16675
16676Patch 8.2.2697
16677Problem: Function list test fails.
16678Solution: Add missing function. (Yegappan Lakshmanan)
16679Files: runtime/doc/usr_41.txt
16680
16681Patch 8.2.2698 (after 8.2.2696)
16682Problem: Lua test fails on MS-Windows.
16683Solution: Fall back to old method if "lua -v" doesn't work.
16684Files: src/testdir/test_lua.vim
16685
16686Patch 8.2.2699
16687Problem: Lua test fails.
16688Solution: Fix condition. (Yegappan Lakshmanan, closes #8060)
16689Files: src/testdir/test_lua.vim
16690
16691Patch 8.2.2700
16692Problem: Nested autocmd test fails sometimes.
16693Solution: Wait for the job to finish.
16694Files: src/testdir/test_terminal.vim
16695
16696Patch 8.2.2701
16697Problem: Order of removing FORTIFY_SOURCE is wrong.
16698Solution: Use the more specific pattern first.
16699Files: src/configure.ac, src/auto/configure
16700
16701Patch 8.2.2702
16702Problem: Compiler completion test fails when more scripts are added.
16703Solution: Add a more generic pattern.
16704Files: src/testdir/test_compiler.vim
16705
16706Patch 8.2.2703
16707Problem: Vim9: memory leak when failing on locked variable.
16708Solution: Free the memory.
16709Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
16710
16711Patch 8.2.2704
16712Problem: Adding a lot of completions can be a bit slow.
16713Solution: Use fast_breakcheck() instead of ui_breakcheck() when adding a
16714 list of completions. (Ben Jackson, closes #8061)
16715Files: src/insexpand.c
16716
16717Patch 8.2.2705
16718Problem: Vim9: misleading reported line number for wrong type.
16719Solution: Remember and use the line number at the start. (closes #8059)
16720Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
16721
16722Patch 8.2.2706
16723Problem: Vim9: wrong line number reported for boolean operator.
16724Solution: Use the line number before skipping over line break.
16725 (closes #8058)
16726Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
16727
16728Patch 8.2.2707 (after 8.2.2704)
16729Problem: Adding a lot of completions can still be a bit slow.
16730Solution: Add the check for CP_FAST. (Ben Jackson)
16731Files: src/insexpand.c
16732
16733Patch 8.2.2708
16734Problem: Test sometimes fails waiting for shell in terminal.
16735Solution: Use WaitForAssert() so we can see the actual job status. Use
16736 Run_shell_in_terminal().
16737Files: src/testdir/term_util.vim, src/testdir/test_mksession.vim
16738
16739Patch 8.2.2709
16740Problem: The GTK GUI has a gap next to the scrollbar.
16741Solution: Calculate the scrollbar padding for GTK. (closes #8027)
16742Files: src/gui_gtk.c
16743
16744Patch 8.2.2710
16745Problem: Vim9: not all tests cover script and :def function.
16746Solution: Run tests in both if possible. Fix differences.
16747Files: src/eval.c, src/vim9compile.c, src/vim9execute.c,
16748 src/testdir/vim9.vim, src/testdir/test_vim9_expr.vim
16749
16750Patch 8.2.2711
16751Problem: "gj" in a closed fold does not move out of the fold. (Marco Hinz)
16752Solution: Add a check for being in a closed fold. (closes #8062)
16753Files: src/normal.c, src/testdir/test_fold.vim
16754
16755Patch 8.2.2712
16756Problem: Memory leak when adding to a blob fails.
16757Solution: Clear the second typval before returning.
16758Files: src/eval.c
16759
16760Patch 8.2.2713
16761Problem: Folding code not sufficiently tested.
16762Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #8064)
16763Files: src/testdir/test_fold.vim
16764
16765Patch 8.2.2714
16766Problem: Filetype pattern ending in star is too far up.
16767Solution: Move down to where patterns ending in star belong. (closes #8065)
16768Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16769
16770Patch 8.2.2715
16771Problem: Vim9: tests fail without the channel feature. (Dominique Pellé)
16772Solution: Check for the channel feature. (closes #8063)
16773Files: src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim
16774
16775Patch 8.2.2716
16776Problem: The equivalent class regexp is missing some characters.
16777Solution: Update the list of equivalent characters. (Dominique Pellé,
16778 closes #8029)
16779Files: src/regexp_bt.c, src/regexp_nfa.c,
16780 src/testdir/test_regexp_utf8.vim
16781
16782Patch 8.2.2717
16783Problem: GTK menu items don't show a tooltip.
16784Solution: Add a callback to show the tooltip. (Leonid V. Fedorenchik,
16785 closes #8067, closes #7810)
16786Files: src/gui_gtk.c
16787
16788Patch 8.2.2718
16789Problem: Vim9: no explicit test for using a global function without the g:
16790 prefix.
16791Solution: Add a test case.
16792Files: src/testdir/test_vim9_func.vim
16793
16794Patch 8.2.2719
16795Problem: Vim9: appending to dict item doesn't work in a :def function.
16796Solution: Implement assignment with operator on indexed item.
16797Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
16798
16799Patch 8.2.2720
16800Problem: GTK menu tooltip moves the cursor.
16801Solution: Position the cursor after displaying the tooltip. Do not show the
16802 tooltip when editing the command line.
16803Files: src/gui_gtk.c
16804
16805Patch 8.2.2721
16806Problem: Vim9: cannot have a linebreak inside a lambda.
16807Solution: Compile the expression before the arguments.
16808Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
16809
16810Patch 8.2.2722
16811Problem: Vim9: crash when using LHS with double index.
16812Solution: Handle lhs_dest which is "dest_expr". (closes #8068)
16813 Fix confusing error message for missing dict item.
16814Files: src/vim9compile.c, src/eval.c, src/testdir/test_vim9_assign.vim
16815
16816Patch 8.2.2723 (after 8.2.2722)
16817Problem: Assignment test fails.
16818Solution: Adjust error number.
16819Files: src/testdir/test_let.vim
16820
16821Patch 8.2.2724 (after 8.2.2722)
16822Problem: Vim9: concatenating to list in dict not tested.
16823Solution: Add a test. (issue #8068)
16824Files: src/testdir/test_vim9_assign.vim
16825
16826Patch 8.2.2725
16827Problem: Vim9: message about compiling is wrong when using try/catch.
16828Solution: Store the compiling flag with the message. (closes #8071)
16829Files: src/ex_docmd.c, src/ex_eval.c, src/structs.h,
16830 src/testdir/test_vim9_func.vim
16831
16832Patch 8.2.2726
16833Problem: Confusing error message with white space before comma in the
16834 arguments of a function declaration.
16835Solution: Give a specific error message. (closes #2235)
16836Files: src/userfunc.c, src/testdir/test_vim9_func.vim
16837
16838Patch 8.2.2727 (after 8.2.2726)
16839Problem: Function test fails.
16840Solution: Adjust expected error number.
16841Files: src/testdir/test_user_func.vim
16842
16843Patch 8.2.2728
16844Problem: Special key names don't work if 'isident' is cleared.
16845Solution: Add vim_isNormalIDc() and use it for special key names.
16846 (closes #2389)
16847Files: src/charset.c, src/proto/charset.pro, src/misc2.c,
16848 src/testdir/test_mapping.vim
16849
16850Patch 8.2.2729
16851Problem: Vim9: wrong error message for referring to legacy script variable.
16852Solution: Do allow referring to a variable in legacy script without "s:" if
16853 it exists at compile time. (closes #8076)
16854Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
16855
16856Patch 8.2.2730
16857Problem: Coverity complains about not restoring character.
16858Solution: Also restore the character in case of an error.
16859Files: src/vim9compile.c
16860
16861Patch 8.2.2731
16862Problem: Mac: SF symbols are not displayed properly.
16863Solution: Add custom range to list of double-width characters. (Yee Cheng
16864 Chin, closes #8077)
16865Files: src/mbyte.c
16866
16867Patch 8.2.2732
16868Problem: Prompt for s///c in Ex mode can be wrong.
16869Solution: Position the cursor before showing the prompt. (closes #8073)
16870Files: src/ex_cmds.c, src/testdir/test_ex_mode.vim
16871
16872Patch 8.2.2733
16873Problem: Detecting Lua version is not reliable.
16874Solution: Add "vim.lua_version". (Ozaki Kiichi, closes #8080)
16875Files: runtime/doc/if_lua.txt, ci/if_ver-1.vim, src/if_lua.c,
16876 src/testdir/test_lua.vim
16877
16878Patch 8.2.2734
16879Problem: Vim9: cannot use legacy script-local var from :def function.
16880Solution: Do not insist on using "s:" prefix. (closes #8076)
16881Files: src/vim9compile.c, src/proto/vim9compile.pro,
16882 src/testdir/test_vim9_expr.vim
16883
16884Patch 8.2.2735
16885Problem: Vim9: function reference found with prefix, not without.
16886Solution: Also find function reference without prefix.
16887Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
16888
16889Patch 8.2.2736
16890Problem: Vim9: for loop over string is a bit slow.
16891Solution: Avoid using strlen().
16892Files: src/vim9execute.c
16893
16894Patch 8.2.2737
16895Problem: Status line not updated when local 'statusline' option set.
16896Solution: Check the 'statusline' option of each window.
16897Files: src/ex_getln.c, src/testdir/test_statusline.vim,
16898 src/testdir/dumps/Test_statusline_mode_1.dump,
16899 src/testdir/dumps/Test_statusline_mode_2.dump
16900
16901Patch 8.2.2738
16902Problem: Extending a list with itself can give wrong result.
16903Solution: Remember the item before where the insertion happens and skip to
16904 after the already inserted items. (closes #1112)
16905Files: src/list.c, src/testdir/test_listdict.vim
16906
16907Patch 8.2.2739
16908Problem: Vim9: a lambda accepts too many arguments at the script level.
16909Solution: Do not set uf_varargs in Vim9 script.
16910Files: src/userfunc.c, src/testdir/test_vim9_func.vim,
16911 src/testdir/test_vim9_script.vim
16912
16913Patch 8.2.2740
16914Problem: Vim9: lambda with varargs doesn't work.
16915Solution: Make "...name" work. Require type to be a list.
16916Files: src/userfunc.c, src/vim9compile.c, src/vim9execute.c,
16917 src/errors.h, src/testdir/test_vim9_func.vim,
16918 src/testdir/test_vim9_script.vim
16919
16920Patch 8.2.2741
16921Problem: Vim9: Partial call does not check right arguments.
16922Solution: Adjust the offset for whether the partial is before or after the
16923 arguments. (closes #8091)
16924Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
16925
16926Patch 8.2.2742
16927Problem: Vim9: when compiling a function fails it is cleared.
16928Solution: Keep the function lines, prevent execution with a different
16929 status. (closes #8093)
16930Files: src/vim9compile.c, src/structs.h, src/vim9execute.c,
16931 src/testdir/test_vim9_func.vim
16932
16933Patch 8.2.2743
16934Problem: Vim9: function state stuck when compiling with ":silent!".
16935Solution: Check for uf_def_status to be UF_COMPILING.
16936Files: src/vim9compile.c, src/message.c, src/globals.h,
16937 src/testdir/test_vim9_func.vim
16938
16939Patch 8.2.2744
16940Problem: Vim9: no way to explicitly ignore an argument.
16941Solution: Use the underscore as the name for an ignored argument.
16942Files: runtime/doc/vim9.txt, src/vim9compile.c, src/eval.c,
16943 src/evalvars.c, src/errors.h, src/testdir/test_vim9_func.vim
16944
16945Patch 8.2.2745 (after 8.2.2744)
16946Problem: Vim9: missing part of the argument change.
16947Solution: Add missing changes.
16948Files: src/userfunc.c
16949
16950Patch 8.2.2746 (after 8.2.2745)
16951Problem: Check for duplicate arguments does not work.
16952Solution: Correct condition.
16953Files: src/userfunc.c
16954
16955Patch 8.2.2747
16956Problem: Vim9: not always an error for too many function arguments.
16957Solution: Check for getting too many arguments.
16958Files: src/vim9execute.c, src/testdir/test_vim9_func.vim,
16959 src/testdir/test_vim9_builtin.vim
16960
16961Patch 8.2.2748
16962Problem: Vim9: memory leak when calling :def function fails.
16963Solution: Jump to failed_early instead of returning.
16964Files: src/vim9execute.c
16965
16966Patch 8.2.2749
16967Problem: Vim9: test for error can be a bit flaky.
16968Solution: Increase the wait time a bit.
16969Files: src/testdir/test_vim9_script.vim
16970
16971Patch 8.2.2750
16972Problem: Vim9: error for using underscore in nested function.
16973Solution: Do not consider "_" already defined. (closes #8096)
16974Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
16975
16976Patch 8.2.2751
16977Problem: Coverity warns for using NULL pointer.
16978Solution: Check for NULL in calling function.
16979Files: src/userfunc.c
16980
16981Patch 8.2.2752
16982problem: coverity reports unreachable code.
16983Solution: Remove check for positive index.
16984Files: src/typval.c
16985
16986Patch 8.2.2753
16987Problem: Vim9: cannot ignore an item in assignment unpack.
16988Solution: Allow using an underscore.
16989Files: runtime/doc/vim9.txt, src/vim.h, src/evalvars.c, src/eval.c,
16990 src/vim9compile.c, src/testdir/test_vim9_assign.vim
16991
16992Patch 8.2.2754
16993Problem: :sleep! does not always hide the cursor.
16994Solution: Add the cursor_is_asleep flag. (Jeremy Lerner, closes #8097,
16995 closes #7998)
16996Files: src/drawscreen.c, src/ex_docmd.c, src/gui.c, src/proto/term.pro,
16997 src/term.c
16998
16999Patch 8.2.2755
17000Problem: Vim9: no error for using a number in a condition.
17001Solution: Also use ISN_COND2BOOL if the type is t_number_bool.
17002 (closes #7644)
17003Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
17004 src/testdir/test_vim9_disassemble.vim
17005
17006Patch 8.2.2756
17007Problem: Vim9: blob index and slice not implemented yet.
17008Solution: Implement blob index and slice.
17009Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/eval.c,
17010 src/blob.c, src/proto/blob.pro, src/testdir/test_vim9_expr.vim
17011
17012Patch 8.2.2757
17013Problem: Vim9: blob tests for legacy and Vim9 script are separate.
17014Solution: Add CheckLegacyAndVim9Success(). Make blob index assign work.
17015Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/errors.h,
17016 src/blob.c, src/proto/blob.pro, src/eval.c, src/ex_docmd.c,
17017 src/testdir/vim9.vim, src/testdir/test_blob.vim
17018
17019Patch 8.2.2758
17020Problem: Vim9: wrong line number for autoload function with wrong name.
17021Solution: Set and restore SOURCING_LNUM. (closes #8100)
17022Files: src/userfunc.c, src/testdir/test_vim9_func.vim
17023
17024Patch 8.2.2759
17025Problem: Vim9: for loop infers type of loop variable.
17026Solution: Do not get the member type. (closes #8102)
17027Files: src/vim9type.c, src/proto/vim9type.pro, src/list.c,
17028 src/vim9script.c, src/proto/vim9script.pro, src/vim.h,
17029 src/testdir/test_vim9_script.vim
17030
17031Patch 8.2.2760
17032Problem: Vim9: no error for changing a for loop variable.
17033Solution: Make the loop variable read-only. (issue #8102)
17034Files: src/eval.c, src/evalvars.c, src/vim9compile.c, src/vim.h,
17035 src/testdir/test_vim9_script.vim
17036
17037Patch 8.2.2761
17038Problem: Using "syn include" does not work properly.
17039Solution: Don't add current_syn_inc_tag to topgrp. (Jaehwang Jerry Jung,
17040 closes #8104)
17041Files: src/syntax.c, src/testdir/test_syntax.vim
17042
17043Patch 8.2.2762
17044Problem: Vim9: function line truncated when compiling.
17045Solution: Copy the line before processing it. (closes #8101)
17046Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
17047
17048Patch 8.2.2763
17049Problem: Vim9: cannot use type in for loop unpack at script level.
17050Solution: Advance over the type name.
17051Files: src/evalvars.c, src/testdir/test_vim9_script.vim
17052
17053Patch 8.2.2764
17054Problem: Memory leak when default function argument is allocated.
17055Solution: Free the expression result.
17056Files: src/userfunc.c, src/testdir/test_functions.vim
17057
17058Patch 8.2.2765
17059Problem: Vim9: not all blob operations work.
17060Solution: Run more tests also with Vim9 script and :def functions. Fix what
17061 doesn't work.
17062Files: src/eval.c, src/blob.c, src/proto/blob.pro, src/vim9execute.c,
17063 src/errors.h, src/testdir/vim9.vim, src/testdir/test_blob.vim
17064
17065Patch 8.2.2766 (after 8.2.2765)
17066Problem: Test failure.
17067Solution: Add change to Vim9 compilation error message.
17068Files: src/vim9compile.c
17069
17070Patch 8.2.2767 (after 8.2.2765)
17071Problem: Compiler warning for unused argument.
17072Solution: Remove the argument.
17073Files: src/blob.c, src/proto/blob.pro, src/vim9execute.c, src/eval.c
17074
17075Patch 8.2.2768
17076Problem: Vim9: memory leak with blob range error.
17077Solution: Jump to end instead of returning.
17078Files: src/vim9compile.c
17079
17080Patch 8.2.2769
17081Problem: Modula-3 config files are not recognized.
17082Solution: Add filetype patterns. (Doug Kearns)
17083Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17084
17085Patch 8.2.2770
17086Problem: Vim9: type of loop variable is not used.
17087Solution: Parse and check the variable type. (closes #8107)
17088Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
17089
17090Patch 8.2.2771
17091Problem: Vim9: assignment not recognized if declaration was skipped.
17092Solution: Also recognized an assignment if the variable does not exist.
17093 (closes #8108)
17094Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim
17095
17096Patch 8.2.2772
17097Problem: Problems when restoring 'runtimepath' from a session file.
17098Solution: Add the "skiprtp" item in 'sessionoptions'.
17099Files: runtime/doc/options.txt, src/session.c, src/optionstr.c,
17100 src/option.h, src/vim.h, src/option.c,
17101 src/testdir/test_mksession.vim
17102
17103Patch 8.2.2773
17104Problem: PSL filetype not recognized.
17105Solution: Add a filetype pattern. (Daniel Kho, closes #8117)
17106Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17107
17108Patch 8.2.2774
17109Problem: Vim9: cannot import an existing name even when using "as".
17110Solution: Do not check for an existing name when using "as". (closes #8113)
17111Files: src/vim9script.c, src/testdir/test_vim9_script.vim
17112
17113Patch 8.2.2775
17114Problem: Vim9: wrong line number used for some commands.
17115Solution: For :exe, :echo and the like use the line number of the start of
17116 the command. When calling a function set the line number in the
17117 script context.
17118Files: src/vim9compile.c, src/vim9execute.c, src/structs.h,
17119 src/testdir/test_vim9_script.vim
17120
17121Patch 8.2.2776
17122Problem: :mksession uses current value of 'splitbelow' and 'splitright'
17123 even though "options" is not in 'sessionoptions'. (Maxim Kim)
17124Solution: Save and restore the values, instead of setting to the current
17125 value. (closes #8119)
17126Files: src/session.c, src/testdir/test_mksession.vim
17127
17128Patch 8.2.2777
17129Problem: Vim9: blob operations not tested in all ways.
17130Solution: Run tests with CheckLegacyAndVim9Success(). Make blob assign with
17131 index work.
17132Files: src/vim9compile.c, src/vim9execute.c, src/errors.h, src/blob.c,
17133 src/proto/blob.pro, src/testdir/test_blob.vim,
17134 src/testdir/test_vim9_disassemble.vim
17135
17136Patch 8.2.2778
17137Problem: Problem restoring 'packpath' in session.
17138Solution: Let "skiprtp" also apply to 'packpath'.
17139Files: runtime/doc/options.txt, src/option.c,
17140 src/testdir/test_mksession.vim
17141
17142Patch 8.2.2779
17143Problem: Memory access error in remove() for blob.
17144Solution: Adjust length for memmove().
17145Files: src/blob.c
17146
17147Patch 8.2.2780
17148Problem: Vim9: for loop over blob doesn't work.
17149Solution: Make it work.
17150Files: src/vim9compile.c, src/vim9execute.c, src/testdir/test_blob.vim
17151
17152Patch 8.2.2781
17153Problem: Add() silently skips when adding to null list or blob.
17154Solution: Give an error in Vim9 script. Allocate blob when it is NULL like
17155 with list and dict.
17156Files: src/list.c, src/evalvars.c, src/vim9execute.c,
17157 src/testdir/test_blob.vim, src/testdir/test_vim9_builtin.vim
17158
17159Patch 8.2.2782
17160Problem: Vim9: blob operations not fully tested.
17161Solution: Make more blob tests run in Vim9 script. Fix filter(). Make
17162 insert() give an error for a null blob, like add().
17163Files: src/list.c, src/testdir/test_blob.vim,
17164 src/testdir/test_vim9_builtin.vim
17165
17166Patch 8.2.2783
17167Problem: Duplicate code for setting byte in blob, blob test may fail.
17168Solution: Call blob_set_append(). Test sort failure with "N".
17169Files: src/eval.c, src/testdir/test_blob.vim
17170
17171Patch 8.2.2784
17172Problem: Vim9: cannot use \=expr in :substitute.
17173Solution: Compile the expression into instructions and execute them when
17174 invoked.
17175Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
17176 src/proto/vim9execute.pro, src/regexp.c, src/ex_cmds.c,
17177 src/proto/ex_cmds.pro, src/globals.h,
17178 src/testdir/test_vim9_cmd.vim,
17179 src/testdir/test_vim9_disassemble.vim
17180
17181Patch 8.2.2785
17182Problem: Vim9: cannot redirect to local variable.
17183Solution: Compile :redir when redirecting to a variable.
17184Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/errors.h,
17185 src/evalvars.c, src/proto/evalvars.pro,
17186 src/testdir/test_vim9_cmd.vim,
17187 src/testdir/test_vim9_disassemble.vim
17188
17189Patch 8.2.2786
17190Problem: Vim9: memory leak when using :s with expression.
17191Solution: Clean up the instruction list.
17192Files: src/vim9compile.c
17193
17194Patch 8.2.2787
17195Problem: MS-Windows: crash when using :echoconsole.
17196Solution: Do not write a NUL when it's already there.
17197Files: src/os_win32.c
17198
17199Patch 8.2.2788
17200Problem: Raku is now the only name what once was called perl6.
17201Solution: Adjust the filetype detection. (closes #8120)
17202Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17203
17204Patch 8.2.2789
17205Problem: Vim9: using \=expr in :substitute does not handle jumps.
17206Solution: Start with instruction count zero. (closes #8128)
17207Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
17208
17209Patch 8.2.2790 (after 8.2.2788)
17210Problem: filetype test fails
17211Solution: Also update the scripts detection
17212Files: runtime/scripts.vim
17213
17214Patch 8.2.2791
17215Problem: Vim9: memory leak when using \=expr in :substitute.
17216Solution: Do not allocate a new instruction list.
17217Files: src/vim9compile.c
17218
17219Patch 8.2.2792
17220Problem: Vim9: :disas shows instructions for default args but no text.
17221Solution: Show the expression test above the default argument instructions.
17222 (closes #8129)
17223Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim
17224
17225Patch 8.2.2793
17226Problem: MS-Windows: string literals are writable with MSVC.
17227Solution: Add the /GF compiler flag. Make mch_write() safer. (Ken Takata,
17228 closes #8133)
17229Files: src/Make_mvc.mak, src/os_win32.c
17230
17231Patch 8.2.2794
17232Problem: Linux users don't know how to get ncurses.
17233Solution: Add the name of the package. (closes #8132)
17234Files: src/configure.ac, src/auto/configure
17235
17236Patch 8.2.2795
17237Problem: Coverity warns for not using return value.
17238Solution: Check the return value of compiling the substitute expression.
17239Files: src/vim9compile.c
17240
17241Patch 8.2.2796
17242Problem: Vim9: redir to variable does not accept an index.
17243Solution: Make the index work.
17244Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
17245
17246Patch 8.2.2797
17247Problem: Search highlight disappears in the Visual area.
17248Solution: Combine the search attributes. (closes #8134)
17249Files: src/drawline.c, src/testdir/test_search.vim,
17250 src/testdir/dumps/Test_hlsearch_visual_1.dump
17251
17252Patch 8.2.2798
17253Problem: Vim9: redir to variable with append does not accept an index.
17254Solution: Make the appending work.
17255Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
17256
17257Patch 8.2.2799
17258Problem: Vim9: type casts don't fully work at the script level.
17259Solution: Implement the missing piece.
17260Files: src/eval.c, src/testdir/test_vim9_expr.vim
17261
17262Patch 8.2.2800
17263Problem: After a timer displays text a hit-enter prompt is given.
17264Solution: Reset msg_didany and need_wait_return. (closes #8136)
17265Files: src/drawscreen.c, src/testdir/test_timers.vim
17266
17267Patch 8.2.2801
17268Problem: Free Pascal makefile not recognized.
17269Solution: Add the fpcmake filetype. (Doug Kearns)
17270Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17271
17272Patch 8.2.2802
17273Problem: Vim9: illegal memory access.
17274Solution: Check for comment before checking for white space. (closes #8142)
17275Files: src/eval.c, src/testdir/test_vim9_func.vim
17276
17277Patch 8.2.2803
17278Problem: Flicker when the popup menu has an info popup.
17279Solution: Avoid drawing over the popup when it's going to be redrawn in the
17280 same position. (closes #8131) Also avoid redrawing the scrollbar.
17281Files: src/popupmenu.c, src/proto/popupmenu.pro, src/drawscreen.c,
17282 src/globals.h
17283
17284Patch 8.2.2804
17285Problem: Setting buffer local mapping with mapset() changes global mapping.
17286Solution: Only set the local mapping. (closes #8143)
17287Files: src/map.c, src/testdir/test_maparg.vim
17288
17289Patch 8.2.2805
17290Problem: Vim9: cannot use legacy syntax in Vim9 script.
17291Solution: Add the :legacy command.
17292Files: src/ex_cmds.h, runtime/doc/vim9.txt, runtime/doc/index.txt
17293 src/ex_cmdidxs.h, src/ex_docmd.c, src/structs.h, src/vim9script.c,
17294 src/vim9compile.c, src/testdir/test_vim9_func.vim,
17295 src/testdir/test_vim9_assign.vim
17296
17297Patch 8.2.2806
17298Problem: Vim9: using "++nr" as a command might not work.
17299Solution: Do not recognize "++" and "--" in a following line as addition or
17300 subtraction.
17301Files: src/vim9compile.c, src/ex_docmd.c, src/ex_cmds.h, src/ex_cmdidxs.h,
17302 src/vim9script.c, src/proto/vim9script.pro, src/eval.c,
17303 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_expr.vim
17304
17305Patch 8.2.2807
17306Problem: Build fails with tiny features.
17307Solution: Use a dummy function for ex_incdec().
17308Files: src/ex_docmd.c
17309
17310Patch 8.2.2808
17311Problem: Vim9: increment and decrement not sufficiently tested.
17312Solution: Add assertions.
17313Files: src/testdir/test_vim9_assign.vim
17314
17315Patch 8.2.2809
17316Problem: Vim9: :def function compilation fails when using :legacy.
17317Solution: Reset CMOD_LEGACY when compiling a function. (closes #8137)
17318Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
17319
17320Patch 8.2.2810
17321Problem: Vim9: crash when calling a function in a substitute expression.
17322Solution: Set the instructions back to the substitute expression
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017323 instructions. (closes #8148)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017324Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
17325
17326Patch 8.2.2811
17327Problem: Vim9: error for missing white space doesn't say where it is
17328 missing
17329Solution: Mention the command. (closes #8149)
17330Files: src/ex_docmd.c, src/errors.h, src/testdir/test_vim9_cmd.vim
17331
17332Patch 8.2.2812
17333Problem: Vim9: still crash when using substitute expression.
17334Solution: Put the instruction list in the stack frame. (closes #8154)
17335Files: src/vim9execute.c, src/vim9.h, src/testdir/test_vim9_cmd.vim
17336
17337Patch 8.2.2813
17338Problem: Cannot grep using fuzzy matching.
17339Solution: Add the "f" flag to :vimgrep. (Yegappan Lakshmanan, closes #8152)
17340Files: runtime/doc/quickfix.txt, src/ex_cmds.c, src/proto/search.pro,
17341 src/quickfix.c, src/search.c, src/vim.h,
17342 src/testdir/test_quickfix.vim
17343
17344Patch 8.2.2814 (after 8.2.2812)
17345Problem: Vim9: unused variable. (John Marriott)
17346Solution: Adjust #ifdef.
17347Files: src/vim9execute.c
17348
17349Patch 8.2.2815
17350Problem: Status line flickers when redrawing popup menu info.
17351Solution: Do not redraw the status line when the focus is in the popup
17352 window. (issue #8144)
17353Files: src/popupmenu.c
17354
17355Patch 8.2.2816
17356Problem: Vim9: comment below expression in lambda causes problems.
17357Solution: Use a single space for empty and comment lines. (closes #8156)
17358Files: src/eval.c, src/testdir/test_vim9_expr.vim
17359
17360Patch 8.2.2817
17361Problem: Vim9: script sourcing continues after an error.
17362Solution: Make an error in any command in "vim9script" abort sourcing.
17363Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim,
17364 src/testdir/test_vim9_assign.vim,
17365 src/testdir/test_vim9_func.vim
17366
17367Patch 8.2.2818
17368Problem: No jump added to jumplist when opening terminal in current window.
17369Solution: Call setpcmark(). (closes #8158)
17370Files: src/terminal.c, src/testdir/test_terminal.vim
17371
17372Patch 8.2.2819
17373Problem: Finishing an abbreviation with a multi-byte char may not work.
17374Solution: Escape K_SPECIAL in the typed character. (closes #8160)
17375Files: src/map.c, src/testdir/test_mapping.vim
17376
17377Patch 8.2.2820
17378Problem: Session file may divide by zero.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017379Solution: Avoid writing divide by zero. (closes #8162)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017380Files: src/session.c, src/testdir/test_mksession.vim
17381
17382Patch 8.2.2821
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017383Problem: MS-Windows: unnecessarily loading libraries when registering OLE.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017384Solution: Skip loading libraries when invoked with "-register".
17385Files: src/main.c, src/globals.h, src/os_win32.c
17386
17387Patch 8.2.2822 (after 8.2.2821)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017388Problem: MS-Windows: unnecessarily loading libraries when unregistering OLE.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017389Solution: Also skip loading libraries when invoked with "-unregister". Run
17390 Vim for README.txt with user privileges.
17391Files: src/main.c, nsis/gvim.nsi, nsis/README.txt
17392
17393Patch 8.2.2823
17394Problem: MS-Windows: launching Vim from installer doesn't open README.
17395Solution: Adjust the quotes.
17396Files: nsis/gvim.nsi
17397
17398Patch 8.2.2824
17399Problem: MS-Windows: build failure with MSVC.
17400Solution: Adjust the list of distributed files. Add hint about python.
17401 Adjust path for reading runtime files.
17402Files: Filelist, src/testdir/shared.vim,
17403 src/testdir/test_function_lists.vim
17404
17405Patch 8.2.2825
17406Problem: Code in checkreadonly() not fully tested.
17407Solution: Add more tests. (Dominique Pellé, closes #8169)
17408Files: src/testdir/test_excmd.vim
17409
17410Patch 8.2.2826
17411Problem: Compiler warnings for int to size_t conversion. (Randall W.
17412 Morris)
17413Solution: Add type casts.
17414Files: src/map.c, src/quickfix.c
17415
17416Patch 8.2.2827
17417Problem: Test file was not deleted.
17418Solution: Uncomment the delete() call. (Dominique Pellé, closes #8172)
17419Files: src/testdir/test_mksession.vim
17420
17421Patch 8.2.2828
17422Problem: Coverity complains about not checking the rename() return value.
17423Solution: Add "(void)", can't do anything in case of a failure.
17424Files: src/fileio.c
17425
17426Patch 8.2.2829
17427Problem: Some comments are not correct or clear.
17428Solution: Adjust the comments. Add test for cursor position.
17429Files: src/regexp_bt.c, src/regexp_nfa.c,
17430 src/testdir/test_exec_while_if.vim,
17431 src/testdir/test_substitute.vim
17432
17433Patch 8.2.2830
17434Problem: Terminal colors are not updated when 'background' is set.
17435Solution: Call term_update_colors() for all terminals. (Marcin Szamotulski,
17436 closes #8171, closes #8150)
17437Files: src/terminal.c, src/proto/terminal.pro, src/optionstr.c
17438
17439Patch 8.2.2831
17440Problem: Vim9: expandcmd() not tested.
17441Solution: Add a test.
17442Files: src/testdir/test_vim9_builtin.vim
17443
17444Patch 8.2.2832
17445Problem: Operator cancelled by moving mouse when using popup. (Sergey
17446 Vlasov)
17447Solution: Do not trigger an operator for a mouse move events. (closes #8176)
17448Files: src/normal.c
17449
17450Patch 8.2.2833
17451Problem: Two key command cancelled by moving mouse when using popup.
17452 (Sergey Vlasov)
17453Solution: Ignore K_MOUSEMOVE in plain_vgetc().
17454Files: src/getchar.c
17455
17456Patch 8.2.2834
17457Problem: Vim9: :cexpr does not work with local variables.
17458Solution: Compile :cexpr.
17459Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/quickfix.c,
17460 src/proto/quickfix.pro, src/testdir/test_quickfix.vim,
17461 src/testdir/test_vim9_disassemble.vim
17462
17463Patch 8.2.2835 (after 8.2.2834)
17464Problem: Vim9: leaking memory in :cexpr.
17465Solution: Also free the command line copy.
17466Files: src/vim9compile.c
17467
17468Patch 8.2.2836 (after 8.2.2834)
17469Problem: Build failure without the +quickfix feature. (John Marriott)
17470Solution: Add #ifdef.
17471Files: src/vim9compile.c, src/vim9execute.c, src/tag.c
17472
17473Patch 8.2.2837
17474Problem: Various code lines not covered by tests.
17475Solution: Add test cases. (Dominique Pellé, closes #8178)
17476Files: src/testdir/test_excmd.vim, src/testdir/test_functions.vim,
17477 src/testdir/test_options.vim, src/testdir/test_startup.vim,
17478 src/testdir/test_syntax.vim, src/testdir/test_vim9_cmd.vim
17479
17480Patch 8.2.2838
17481Problem: File extension .wrap not recognized.
17482Solution: Use dosini filetype for .wrap files. (Liam Beguin, closes #8177)
17483Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17484
17485Patch 8.2.2839
17486Problem: Default redirection missing "ash" and "dash".
17487Solution: Recognize "ash" and "dash". (Natanael Copa, closes #8180)
17488Files: runtime/doc/options.txt, src/option.c
17489
17490Patch 8.2.2840
17491Problem: Vim9: member operation not fully tested.
17492Solution: Add a few tests.
17493Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
17494
17495Patch 8.2.2841
17496Problem: MS-Windows: cursor in wrong position when 'lazyredraw' and
Bram Moolenaar47c532e2022-03-19 15:18:53 +000017497 'statusline' are set.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017498Solution: Call compute_cmdrow(). (closes #8170, closes #8184)
17499Files: src/os_win32.c
17500
17501Patch 8.2.2842
17502Problem: Vim9: skip argument to searchpair() is not compiled.
17503Solution: Add VAR_INSTR.
17504Files: src/structs.h, src/vim9.h, src/vim9compile.c, src/vim9execute.c,
17505 src/proto/vim9execute.pro, src/eval.c, src/evalfunc.c, src/vim.h,
17506 src/evalvars.c, src/typval.c, src/vim9type.c, src/testing.c,
17507 src/viminfo.c, src/if_py_both.h, src/json.c,
17508 src/testdir/test_vim9_disassemble.vim,
17509 src/testdir/test_vim9_builtin.vim
17510
17511Patch 8.2.2843 (after 8.2.2842)
17512Problem: Vim9: skip argument to searchpairpos() is not compiled.
17513Solution: Handle like searchpair(). Also for search() and searchpos().
17514Files: src/vim9compile.c, src/testdir/test_vim9_builtin.vim
17515
17516Patch 8.2.2844
17517Problem: Vim9: memory leak when using searchpair().
17518Solution: Free the v_instr field.
17519Files: src/typval.c
17520
17521Patch 8.2.2845
17522Problem: MS-Windows: warning for signed/unsigned comparison.
17523Solution: Add type cast.
17524Files: src/terminal.c
17525
17526Patch 8.2.2846
17527Problem: Vim9: "echo Func()" does not give an error for a function without
17528 a return value.
17529Solution: Give an error. Be more specific about why a value is invalid.
17530Files: src/globals.h, src/errors.h, src/eval.c, src/evalfunc.c,
17531 src/typval.c, src/vim9compile.c, src/vim9execute.c,
17532 src/testdir/test_vim9_cmd.vim
17533
17534Patch 8.2.2847
17535Problem: Perl not tested sufficiently.
17536Solution: Add test. Also test W17. (Dominique Pellé, closes #8193)
17537Files: src/testdir/test_arabic.vim, src/testdir/test_perl.vim
17538
17539Patch 8.2.2848
17540Problem: Crash when calling partial.
17541Solution: Check for NULL pointer. (Dominique Pellé, closes #8202)
17542Files: src/eval.c, src/evalfunc.c, src/testdir/test_functions.vim,
17543 src/testdir/test_listdict.vim
17544
17545Patch 8.2.2849
17546Problem: Bufwrite not sufficiently tested.
17547Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8192)
17548Files: src/testdir/test_startup.vim, src/testdir/test_writefile.vim
17549
17550Patch 8.2.2850
17551Problem: Recalling commands from history is not tested.
17552Solution: Add tests. (closes #8194)
17553Files: src/testdir/test_cmdline.vim
17554
17555Patch 8.2.2851
17556Problem: Using <Cmd> mapping on the command line triggers CmdlineChanged.
17557 (Naohiro Ono)
17558Solution: Jump to cmdline_not_changed if the command line didn't change.
17559 (closes #8208)
17560Files: src/ex_getln.c, src/testdir/test_cmdline.vim
17561
17562Patch 8.2.2852
17563Problem: Configure can add --as-needed a second time.
17564Solution: Only add --as-needed if not already there. (Natanael Copa,
17565 closes #8189, closes #8181)
17566Files: src/configure.ac, src/auto/configure
17567
17568Patch 8.2.2853 (after 8.2.2851)
17569Problem: Window is not updated after using <Cmd> mapping.
17570Solution: So jump to cmdline_changed but skip autocommand.
17571Files: src/ex_getln.c
17572
17573Patch 8.2.2854
17574Problem: Custom statusline cannot contain % items.
17575Solution: Add "%{% expr %}". (closes #8190)
17576Files: runtime/doc/options.txt, src/buffer.c, src/optionstr.c,
17577 src/testdir/test_statusline.vim
17578
17579Patch 8.2.2855
17580Problem: White space after "->" does not give E274.
17581Solution: Do not skip white space in legacy script. (closes #8212)
17582Files: src/eval.c, src/testdir/test_method.vim
17583
17584Patch 8.2.2856
17585Problem: Get readonly error for device that can't be written to.
17586Solution: Check for being able to write first. (closes #8205)
17587Files: src/ex_cmds.c, src/testdir/test_writefile.vim
17588
17589Patch 8.2.2857
17590Problem: Vim9: exception in ISN_INSTR caught at wrong level.
17591Solution: Set the starting trylevel in exec_instructions(). (closes #8214)
17592Files: src/vim9compile.c, src/vim9execute.c, src/globals.h,
17593 src/testdir/test_vim9_builtin.vim
17594
17595Patch 8.2.2858 (after 8.2.2857)
17596Problem: Test fails because of changed error message.
17597Solution: Adjust the expected error message.
17598Files: src/testdir/test_ex_mode.vim
17599
17600Patch 8.2.2859 (after 8.2.2857)
17601Problem: Tcl test fails because of changed error message.
17602Solution: Adjust the expected error message.
17603Files: src/testdir/test_tcl.vim
17604
17605Patch 8.2.2860
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017606Problem: Adding a text property causes the whole window to be redrawn.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017607Solution: Use changed_lines_buf() to only redraw the affected lines.
17608Files: src/change.c, src/proto/change.pro, src/textprop.c
17609
17610Patch 8.2.2861
17611Problem: Vim9: "legacy return" is not recognized as a return statement.
17612Solution: Specifically check for a return command. (closes #8213)
17613Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
17614 src/testdir/test_vim9_expr.vim
17615
17616Patch 8.2.2862
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017617Problem: Removing a text property causes the whole window to be redrawn.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017618Solution: Use changed_lines_buf() to only redraw the affected lines.
17619Files: src/textprop.c
17620
17621Patch 8.2.2863 (after 8.2.2862)
17622Problem: Removing a text property does not redraw optimally.
17623Solution: Only redraw the lines that mithg actually have been changed.
17624Files: src/textprop.c
17625
17626Patch 8.2.2864
17627Problem: Vim9: crash when using inline function.
17628Solution: Check for NULL pointer. Make using inline function work inside
17629 lambda. (closes #8217)
17630Files: src/userfunc.c, src/testdir/test_vim9_func.vim
17631
17632Patch 8.2.2865 (after 8.2.2864)
17633Problem: Skipping over function body fails.
17634Solution: Do not define the function when skipping.
17635Files: src/userfunc.c
17636
17637Patch 8.2.2866
17638Problem: Vim9: memory leak when using inline function.
17639Solution: Remember what strings to free.
17640Files: src/userfunc.c, src/structs.h, src/eval.c
17641
17642Patch 8.2.2867 (after 8.2.2866)
17643Problem: Build failure.
17644Solution: Add missing part of the change.
17645Files: src/globals.h
17646
17647Patch 8.2.2868
17648Problem: Vim9: When executing a compiled expression the trylevel at start
17649 is changed but not restored. (closes #8214)
17650Solution: Restore the trylevel at start.
17651Files: src/vim9execute.c, src/testdir/test_vim9_builtin.vim
17652
17653Patch 8.2.2869
17654Problem: Using unified diff is not tested.
17655Solution: Test all cases also with unified diff. (issue #8197)
17656Files: src/testdir/test_diffmode.vim
17657
17658Patch 8.2.2870
17659Problem: CmdlineChange event triggered twice for CTRL-R.
17660Solution: Return CMDLINE_NOT_CHANGED from cmdline_insert_reg().
17661 (closes #8219)
17662Files: src/ex_getln.c, src/testdir/test_cmdline.vim
17663
17664Patch 8.2.2871
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017665Problem: Unnecessary VIM_ISDIGIT() calls, badly indented code.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017666Solution: Call skipdigits() on the next character. Improve indenting.
17667 (Dominique Pellé, closes #8227)
17668Files: src/charset.c, src/evalfunc.c, src/ex_docmd.c, src/json.c,
17669 src/ops.c, src/tag.c, src/vim9compile.c
17670
17671Patch 8.2.2872
17672Problem: Python tests fail without the channel feature.
17673Solution: Add a feature check. (Dominique Pellé, closes #8226)
17674Files: src/testdir/test_python2.vim, src/testdir/test_python3.vim
17675
17676Patch 8.2.2873
17677Problem: Not enough tests for writing buffers.
17678Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8229)
17679Files: src/testdir/test_buffer.vim, src/testdir/test_cmdline.vim,
17680 src/testdir/test_functions.vim, src/testdir/test_writefile.vim
17681
17682Patch 8.2.2874
17683Problem: MS-Windows: screen redraws too often.
17684Solution: Do not redraw when peeking for a character. (closes #8230,
17685 closes #8211)
17686Files: src/os_win32.c
17687
17688Patch 8.2.2875
17689Problem: Cancelling inputlist() after a digit does not return zero.
17690Solution: Always return zero when cancelling. (closes #8231)
17691Files: src/misc1.c, src/testdir/test_functions.vim
17692
17693Patch 8.2.2876
17694Problem: Configure cannot detect Python 3.10.
17695Solution: Use sys.version_info. (closes #8233)
17696Files: src/configure.ac, src/auto/configure
17697
17698Patch 8.2.2877
17699Problem: Insufficient tests for popup menu rightleft.
17700Solution: Add tests. (Yegappan Lakshmanan, closes #8235)
17701Files: src/testdir/test_popup.vim,
17702 src/testdir/dumps/Test_pum_rightleft_01.dump,
17703 src/testdir/dumps/Test_pum_rightleft_02.dump,
17704 src/testdir/dumps/Test_pum_scrollbar_01.dump,
17705 src/testdir/dumps/Test_pum_scrollbar_02.dump
17706
17707Patch 8.2.2878
17708Problem: Vim9: for loop list unpack only allows for one "_".
17709Solution: Drop the value when the variable is "_". (closes #8232)
17710Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
17711
17712Patch 8.2.2879
17713Problem: File extension .hsig not recognized.
17714Solution: Use Haskell filetype for .hsig files. (Marcin Szamotulski,
17715 closes #8236)
17716Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17717
17718Patch 8.2.2880
17719Problem: Unified diff fails if actually used.
17720Solution: Invoke :diffupdate in the test. Fix the check for working external
17721 diff. (Ghjuvan Lacambre, Christian Brabandt, closes #8197)
17722Files: src/diff.c, src/testdir/test_diffmode.vim
17723
17724Patch 8.2.2881
17725Problem: Various pieces of code not covered by tests.
17726Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8245)
17727Files: src/testdir/test_const.vim, src/testdir/test_functions.vim,
17728 src/testdir/test_python2.vim, src/testdir/test_python3.vim,
17729 src/testdir/test_user_func.vim, src/testdir/test_vim9_expr.vim,
17730 src/testdir/test_vim9_func.vim
17731
17732Patch 8.2.2882
17733Problem: Vim9: memory leak when lambda has an error.
17734Solution: Free the list of argument types on failure.
17735Files: src/userfunc.c
17736
17737Patch 8.2.2883
17738Problem: MS-Windows manifest file name is misleading.
17739Solution: Rename the file. (closes #8241)
17740Files: .gitignore, .hgignore, Filelist, Makefile, src/Make_cyg_ming.mak,
17741 src/Make_mvc.mak, src/gvim.exe.mnf, src/vim.manifest, src/vim.rc
17742
17743Patch 8.2.2884
17744Problem: Not enough cscope code is covered by tests.
17745Solution: Add a few test cases. (Dominique Pellé, closes #8246)
17746Files: src/testdir/test_cscope.vim
17747
17748Patch 8.2.2885
17749Problem: searching for \%'> does not match linewise end of line. (Tim Chase)
17750Solution: Match end of line if column is MAXCOL. (closes #8238)
17751Files: src/regexp_nfa.c, src/regexp_bt.c, src/testdir/test_search.vim
17752
17753Patch 8.2.2886
17754Problem: Various pieces of code not covered by tests.
17755Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8255)
17756Files: src/testdir/test_expr.vim, src/testdir/test_functions.vim,
17757 src/testdir/test_listdict.vim, src/testdir/test_registers.vim,
17758 src/testdir/test_user_func.vim, src/testdir/test_vim9_builtin.vim,
17759 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim
17760
17761Patch 8.2.2887
17762Problem: Crash when passing null string to fullcommand().
17763Solution: Check for NULL pointer. (closes #8256)
17764Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
17765
17766Patch 8.2.2888
17767Problem: Vim9: "k" command recognized in Vim9 script.
17768Solution: Do not recognize "k" or "s" and "d" with flags.
17769Files: src/ex_docmd.c, src/testdir/test_vim9_builtin.vim,
17770 src/testdir/test_vim9_script.vim
17771
17772Patch 8.2.2889
17773Problem: Typo and verbose comment in Makefiles.
17774Solution: Fix typo. Use @#. (Ken Takata, closes #8252)
17775Files: Makefile, src/testdir/Makefile
17776
17777Patch 8.2.2890
17778Problem: Text property duplicated when data block splits.
17779Solution: Do not continue text prop from previous line. (closes #8261)
17780Files: src/memline.c, src/structs.h, src/testdir/test_textprop.vim
17781
17782Patch 8.2.2891
17783Problem: Cannot build with Perl 5.34.
17784Solution: Add Perl_SvTRUE_common(). (Ozaki Kiichi, closes #8266,
17785 closes #8250)
17786Files: src/if_perl.xs
17787
17788Patch 8.2.2892
17789Problem: Error message contains random characters.
17790Solution: Pass the right pointer to error_white_both(). (closes #8272,
17791 closes #8263)
17792Files: src/eval.c, src/testdir/test_vim9_expr.vim
17793
17794Patch 8.2.2893
17795Problem: Multi-byte text in popup title shows up wrong.
17796Solution: Use the character width instead of the byte length. (Ralf Schandl,
17797 closes #8267, closes #8264)
17798Files: src/popupwin.c, src/message_test.c, src/testdir/test_popupwin.vim,
17799 src/testdir/dumps/Test_popupwin_multibytetitle.dump
17800
17801Patch 8.2.2894
17802Problem: MS-Windows: using enc_locale() for strftime() might not work.
17803Solution: Use wcsftime(). (Ken Takata, closes #8271)
17804Files: src/time.c
17805
17806Patch 8.2.2895
17807Problem: Vim9: random characters appear in some error messages.
17808Solution: Pass the correct pointer. (closes #8277)
17809Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_expr.vim
17810
17811Patch 8.2.2896
17812Problem: Spellfile functionality not fully tested.
17813Solution: Add tests for CHECKCOMPOUNDPATTERN and COMMON. (Dominique Pellé,
17814 closes #8270)
17815Files: src/testdir/test_spellfile.vim
17816
17817Patch 8.2.2897
17818Problem: Vim9: can use reserved words at the script level.
17819Solution: Check variable names for reserved words. (closes #8253)
17820Files: src/vim9compile.c, src/vim9script.c, src/proto/vim9script.pro,
17821 src/eval.c, src/testdir/test_vim9_assign.vim
17822
17823Patch 8.2.2898
17824Problem: QuitPre and ExitPre not triggered when GUI window is closed.
17825Solution: Call before_quit_autocmds(). (closes #8242)
17826Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/gui.c
17827
17828Patch 8.2.2899
17829Problem: Appveyor script does not detect nmake failure.
17830Solution: Explicitly check for executable. (Ken Takata, closes #8281)
17831Files: ci/appveyor.bat
17832
17833Patch 8.2.2900
17834Problem: QuitPre is triggered before :wq writes the file, which is
17835 different from other commands.
17836Solution: Trigger QuitPre after writing the file. (closes #8279)
17837Files: src/ex_docmd.c, src/testdir/test_writefile.vim
17838
17839Patch 8.2.2901
17840Problem: Some operators not fully tested.
17841Solution: Add a few test cases. (Yegappan Lakshmanan, closes #8282)
17842Files: src/testdir/test_cpoptions.vim, src/testdir/test_increment.vim,
17843 src/testdir/test_normal.vim, src/testdir/test_virtualedit.vim,
17844 src/testdir/test_visual.vim
17845
17846Patch 8.2.2902
17847Problem: Spellfile functionality not fully tested.
17848Solution: Add tests for CIRCUMFIX, NOBREAK and others. (Dominique Pellé,
17849 closes #8283)
17850Files: src/testdir/test_spellfile.vim
17851
17852Patch 8.2.2903
17853Problem: Cursor position wrong on wrapped line with 'signcolumn'.
17854Solution: Don't add space for showbreak twice. (Christian Brabandt,
17855 closes #8262)
17856Files: src/drawline.c, src/testdir/test_display.vim
17857
17858Patch 8.2.2904
17859Problem: "g$" causes scroll if half a double width char is visible.
17860Solution: Advance to the last fully visible character. (closes #8254)
17861Files: src/normal.c, src/testdir/test_normal.vim
17862
17863Patch 8.2.2905
17864Problem: No error when defaults.vim cannot be loaded.
17865Solution: Add an error message. (Christian Brabandt, closes #8248)
17866Files: runtime/doc/starting.txt, src/errors.h, src/main.c,
17867 src/testdir/test_startup.vim
17868
17869Patch 8.2.2906 (after 8.2.2905)
17870Problem: ASAN reports errors for test_startup for unknown reasons.
17871Solution: Temporarily disable the new test.
17872Files: src/testdir/test_startup.vim
17873
17874Patch 8.2.2907
17875Problem: Memory leak when running out of memory.
17876Solution: Free the allocated memory. (Dominique Pellé, closes #8284)
17877Files: src/term.c
17878
17879Patch 8.2.2908
17880Problem: Crash when using a terminal popup window from the cmdline window.
17881Solution: Instead of checking cmdwin_type call cmdwin_is_active().
17882 (closes #8286)
17883Files: src/terminal.c, src/errors.h, src/testdir/test_cmdline.vim,
17884 src/testdir/dumps/Test_cmdwin_no_terminal.dump
17885
17886Patch 8.2.2909
17887Problem: Build error with non-Unix system.
17888Solution: Always include limits.h.
17889Files: src/vim.h
17890
17891Patch 8.2.2910
17892Problem: Test for cmdline window and terminal fails on MS-Windows.
17893Solution: Skip the test on MS-Windows.
17894Files: src/testdir/test_cmdline.vim
17895
17896Patch 8.2.2911
17897Problem: Pattern "\%V" does not match all of block selection. (Rick Howe)
17898Solution: Use the value of vi_curswant. (closes #8285)
17899Files: src/regexp.c, src/testdir/test_search.vim,
17900 src/testdir/dumps/Test_hlsearch_block_visual_match.dump
17901
17902Patch 8.2.2912
17903Problem: MS-Windows: most users expect using Unicode.
17904Solution: Default 'encoding' to utf-8 on MS-Windows. (Ken Takata,
17905 closes #3907)
17906Files: runtime/doc/options.txt, src/mbyte.c, src/option.c, src/option.h,
17907 src/testdir/test_writefile.vim
17908
17909Patch 8.2.2913
17910Problem: MS-Windows conpty supports using mouse events.
17911Solution: When enabling the mouse enable mouse input and disable quick edit
17912 mode. (Wez Furlong, closes #8280)
17913Files: src/os_win32.c
17914
17915Patch 8.2.2914
17916Problem: Cannot paste a block without adding padding.
17917Solution: Add "zp" and "zP" which paste without adding padding. (Christian
17918 Brabandt, closes #8289)
17919Files: runtime/doc/change.txt, runtime/doc/index.txt, src/normal.c,
17920 src/register.c, src/vim.h, src/testdir/test_normal.vim,
17921 src/testdir/test_visual.vim
17922
17923Patch 8.2.2915
17924Problem: MS-Windows: when using "default" for encoding utf-8 is used.
17925Solution: Use the system encoding. (Ken Takata, closes #8300)
17926Files: src/mbyte.c, runtime/doc/options.txt
17927
17928Patch 8.2.2916
17929Problem: Operators are not fully tested.
17930Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8290)
17931Files: src/ops.c, src/testdir/test_netbeans.vim,
17932 src/testdir/test_normal.vim, src/testdir/test_visual.vim
17933
17934Patch 8.2.2917
17935Problem: Spellfile functionality not fully tested.
17936Solution: Add tests for SFX with removal of characters, spelling
17937 suggestions with NOBREAK and others. (Dominique Pellé,
17938 closes #8293)
17939Files: src/testdir/test_spellfile.vim
17940
17941Patch 8.2.2918
17942Problem: Builtin function can be shadowed by global variable.
17943Solution: Check for builtin function before variable. (Yasuhiro Matsumoto,
17944 closes #8302)
17945Files: src/eval.c, src/testdir/test_functions.vim
17946
17947Patch 8.2.2919
17948Problem: Using ":!command" does not work if the command uses posix_spawn().
17949Solution: Do not call ioctl() with TIOCSCTTY. (Felipe Contreras)
17950Files: src/os_unix.c
17951
17952Patch 8.2.2920
17953Problem: Still a way to shadow a builtin function. (Yasuhiro Matsumoto)
17954Solution: Check the key when using extend(). (issue #8302)
17955Files: src/eval.c, src/dict.c, src/proto/dict.pro,
17956 src/testdir/test_functions.vim
17957
17958Patch 8.2.2921
17959Problem: E704 for script local variable is not backwards compatible.
17960 (Yasuhiro Matsumoto)
17961Solution: Only give the error in Vim9 script. Also check for function-local
17962 variable.
17963Files: src/dict.c, src/testdir/test_functions.vim
17964
17965Patch 8.2.2922
17966Problem: Computing array length is done in various ways.
17967Solution: Use ARRAY_LENGTH everywhere. (Ken Takata, closes #8305)
17968Files: src/arabic.c, src/blowfish.c, src/cindent.c, src/cmdexpand.c,
17969 src/cmdhist.c, src/dosinst.c, src/eval.c, src/evalfunc.c,
17970 src/ex_docmd.c, src/fileio.c, src/gui_athena.c, src/gui_gtk_x11.c,
17971 src/gui_haiku.cc, src/gui_photon.c, src/gui_w32.c,
17972 src/gui_xmebw.c, src/hardcopy.c, src/help.c, src/highlight.c,
17973 src/if_mzsch.c, src/macros.h, src/main.c, src/map.c, src/mbyte.c,
17974 src/memline.c, src/menu.c, src/misc2.c, src/normal.c, src/ops.c,
17975 src/option.c, src/optiondefs.h, src/os_win32.c, src/popupwin.c,
17976 src/quickfix.c, src/regexp.c, src/screen.c, src/search.c,
17977 src/syntax.c, src/term.c, src/terminal.c, src/time.c,
17978 src/usercmd.c, src/version.c
17979
17980Patch 8.2.2923
17981Problem: EBCDIC build is broken.
17982Solution: Move sortFunctions() to evalfunc.c. (Ken Takata, closes #8306)
17983Files: src/eval.c, src/evalfunc.c, src/proto/evalfunc.pro
17984
17985Patch 8.2.2924
17986Problem: Superfluous extern declaration.
17987Solution: Delete the declaration. (Ken Takata, closes #8307)
17988Files: src/main.c
17989
17990Patch 8.2.2925
17991Problem: Vim9: line continuation comment uses legacy syntax.
17992Solution: Check for #\ instead of "\. (closes #8295)
17993Files: src/scriptfile.c, src/testdir/test_vim9_script.vim
17994
17995Patch 8.2.2926
17996Problem: Vim9: no good error for using :legacy in a :def function.
17997Solution: Give an explicit error where :legacy is not working.
17998 (closes #8309)
17999Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_func.vim
18000
18001Patch 8.2.2927
18002Problem: Test commented out because it fails with ASAN.
18003Solution: Only skip the test when running with ASAN.
18004Files: src/testdir/test_startup.vim
18005
18006Patch 8.2.2928
18007Problem: The evalfunc.c file is too big.
18008Solution: Move float related functionality to a separate file. (Yegappan
18009 Lakshmanan, closes #8287)
18010Files: Filelist, src/Make_ami.mak, src/Make_cyg_ming.mak,
18011 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
18012 src/eval.c, src/evalfunc.c, src/float.c, src/proto.h,
18013 src/proto/eval.pro, src/proto/float.pro
18014
18015Patch 8.2.2929
18016Problem: Accidentally enable tcl by default.
18017Solution: Revert change to Makefile
18018Files: src/Makefile
18019
18020Patch 8.2.2930
18021Problem: When a popup is visible a mouse move my restart Visual mode.
18022Solution: Reset held_button when ending Visual mode. (closes #8318)
18023Files: src/mouse.c, src/proto/mouse.pro, src/normal.c
18024
18025Patch 8.2.2931
18026Problem: Vim9: line continuation comment still uses legacy syntax in one
18027 place.
18028Solution: Check for #\ instead of "\ earlier. (closes #8316)
18029Files: src/scriptfile.c, src/testdir/test_vim9_script.vim
18030
18031Patch 8.2.2932 (after 8.2.2930)
18032Problem: Select mode test fails.
18033Solution: Do not always reset the held mouse button.
18034Files: src/mouse.c, src/normal.c, src/proto/normal.pro
18035
18036Patch 8.2.2933
18037Problem: When 'clipboard' is "unnamed" zp and zP do not work correctly.
18038Solution: Pass -1 to str_to_reg() and fix computing the character width
18039 instead of using the byte length. (Christian Brabandt,
18040 closes #8301, closes #8317)
18041Files: src/clipboard.c, src/mbyte.c, src/register.c
18042
18043Patch 8.2.2934 (after 8.2.2933)
18044Problem: ASAN error when using text from the clipboard.
18045Solution: Get width of each character.
18046Files: src/register.c
18047
18048Patch 8.2.2935 (after 8.2.2934)
18049Problem: Calculating register width is not always needed. (Christian
18050 Brabandt)
18051Solution: Only calculate the width when the type is MBLOCK.
18052Files: src/register.c
18053
18054Patch 8.2.2936
18055Problem: Vim9: converting number to bool uses wrong stack offset. (Salman
18056 Halim)
18057Solution: Include the offset in the 2BOOL command.
18058Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c,
18059 src/testdir/test_vim9_expr.vim,
18060 src/testdir/test_vim9_disassemble.vim
18061
18062Patch 8.2.2937
18063Problem: Popup test fails if rightleft feature not enabled.
18064Solution: Check that the rightleft feature is available. (Dominique Pellé,
18065 closes #8321)
18066Files: src/testdir/test_popup.vim
18067
18068Patch 8.2.2938
18069Problem: After using motion force from feedkeys() it may not be reset.
18070Solution: Clear motion_force in clearop(). (closes #8323)
18071Files: src/normal.c, src/testdir/test_visual.vim
18072
18073Patch 8.2.2939
18074Problem: GTK: righthand scrollbar does not show with split window.
18075Solution: Adjust padding when two scrollbars are used. (Matt Wozniski,
18076 closes #8324)
18077Files: src/gui_gtk.c
18078
18079Patch 8.2.2940
18080Problem: MS-Windows: cannot see the size of the text area when resizing the
18081 gvim window.
18082Solution: Show a tooltip with the text size. (Ken Takata, closes #8326)
18083Files: src/gui_w32.c
18084
18085Patch 8.2.2941
18086Problem: Vim9: using `=expr` does not handle a list of strings.
18087Solution: Convert a list to a string and escape each item. (closes #8310)
18088Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
18089
18090Patch 8.2.2942
18091Problem: Vim9: internal error when calling function with too few arguments
18092Solution: Check for argument count to be too few. (closes #8325)
18093Files: src/errors.h, src/vim9execute.c, src/testdir/test_vim9_builtin.vim
18094
18095Patch 8.2.2943
18096Problem: Vim9: check for argument count ignores default values.
18097Solution: Take default argument values into account.
18098Files: src/vim9execute.c
18099
18100Patch 8.2.2944
18101Problem: Vim9: no error when using job or channel as a string.
18102Solution: Be more strict about conversion to string. (closes #8312)
18103Files: src/typval.c, src/job.c, src/proto/job.pro, src/channel.c,
18104 src/proto/channel.pro, src/eval.c, src/vim9execute.c,
18105 src/testdir/test_vim9_builtin.vim
18106
18107Patch 8.2.2945
18108Problem: Some buffer related code is not tested.
18109Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8320)
18110Files: src/termlib.c, src/testdir/test_excmd.vim,
18111 src/testdir/test_recover.vim, src/testdir/test_swap.vim,
18112 src/testdir/test_visual.vim
18113
18114Patch 8.2.2946
18115Problem: Vim9: substitute expression cannot be a List in a :def function.
18116Solution: Use typval2string(). (closes #8330)
18117Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
18118
18119Patch 8.2.2947
18120Problem: Build failure without the channel feature.
18121Solution: Add back #ifdef. (John Marriott)
18122Files: src/eval.c
18123
18124Patch 8.2.2948
18125Problem: Substitute() accepts a number but not a float expression.
18126Solution: Also accept a float. (closes #8331)
18127Files: src/typval.c, src/testdir/test_substitute.vim
18128
18129Patch 8.2.2949 (after 8.2.2948)
18130Problem: Tests failing because there is no error for float to string
18131 conversion.
18132Solution: Change the check for failure to check for correct result. Make
18133 some conversions strict in Vim9 script.
18134Files: src/evalfunc.c, src/float.c, src/findfile.c, src/json.c,
18135 src/filepath.c, src/testdir/test_eval_stuff.vim,
18136 src/testdir/test_execute_func.vim,
18137 src/testdir/test_float_func.vim, src/testdir/test_functions.vim,
18138 src/testdir/test_listdict.vim, src/testdir/test_glob2regpat.vim
18139
18140Patch 8.2.2950
18141Problem: Sound code not fully tested.
18142Solution: Add more sound tests. (Dominique Pellé, closes #8332)
18143Files: src/testdir/test_sound.vim
18144
18145Patch 8.2.2951
18146Problem: Vim9: cannot use heredoc in :def function for :python, :lua, etc.
18147Solution: Concatenate the heredoc lines and pass them in the ISN_EXEC_SPLIT
18148 instruction.
18149Files: src/userfunc.c, src/vim9compile.c, src/vim9.h, src/vim9execute.c,
18150 src/testdir/test_vim9_func.vim,
18151 src/testdir/test_vim9_disassemble.vim
18152
18153Patch 8.2.2952
18154Problem: Recover test fails on big endian systems.
18155Solution: Disable the failing test on big endian systems. (Yegappan
18156 Lakshmanan, closes #8335)
18157Files: src/testdir/test_recover.vim, src/testdir/test_swap.vim
18158
18159Patch 8.2.2953 (after 8.2.2951)
18160Problem: Vim9: leaking memory when using heredoc script.
18161Solution: Free the first line.
18162Files: src/vim9execute.c
18163
18164Patch 8.2.2954
18165Problem: Short file name extension for Scala not recognized.
18166Solution: Recognize *.sc. (closes #8337)
18167Files: runtime/filetype.vim, src/testdir/test_filetype.vim
18168
18169Patch 8.2.2955
18170Problem: Vim9: using filter in compiled command does not work.
18171Solution: Generate EXEC including the command modifier.
18172Files: src/vim9compile.c, src/ex_docmd.c, src/ex_cmds.c,
18173 src/proto/ex_cmds.pro, src/testdir/test_vim9_cmd.vim
18174
18175Patch 8.2.2956
18176Problem: Vim9: need to plan for future additions.
18177Solution: Reserve commands for future use: :type, :class, :enum.
18178Files: src/ex_cmds.h, src/ex_cmdidxs.h
18179
18180Patch 8.2.2957
18181Problem: Using getchar() in Vim9 script is problematic.
18182Solution: Add getcharstr(). (closes #8343)
18183Files: runtime/doc/eval.txt, src/evalfunc.c, src/getchar.c,
Bram Moolenaar47c532e2022-03-19 15:18:53 +000018184 src/proto/getchar.pro, src/testdir/test_functions.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018185
18186Patch 8.2.2958 (after 8.2.2957)
18187Problem: Function list test fails.
18188Solution: Add newly added function to the list. Fix typo.
18189Files: runtime/doc/usr_41.txt, src/testdir/test_function_lists.vim
18190
18191Patch 8.2.2959
18192Problem: sound_playfile() is not tested on MS-Windows.
18193Solution: Make it work and enable the test. (Dominique Pellé, closes #8338)
18194Files: src/sound.c, src/testdir/test_sound.vim
18195
18196Patch 8.2.2960
18197Problem: Swap file recovery not sufficiently tested.
18198Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8339)
18199Files: src/testdir/test_recover.vim
18200
18201Patch 8.2.2961
18202Problem: Keys typed during a :normal command are discarded.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018203Solution: Concatenate saved typeahead and typed keys. (closes #8340)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018204Files: src/getchar.c, src/proto/getchar.pro, src/ex_docmd.c,
18205 src/evalfunc.c, src/debugger.c, src/ui.c, src/proto/ui.pro
18206
18207Patch 8.2.2962
18208Problem: MS-Windows command line arguments have wrong encoding.
18209Solution: Always use utf-8 in get_cmd_argsW(). (Ken Takata, closes #8347)
18210Files: src/os_win32.c
18211
18212Patch 8.2.2963
18213Problem: GUI: mouse move may start Visual mode with a popup visible.
18214Solution: Add special code for mouse move. (closes #8318)
18215Files: src/vim.h, src/gui.c, src/keymap.h, src/term.c
18216
18217Patch 8.2.2964
18218Problem: Vim9: hang when using space after ->. (Naohiro Ono)
18219Solution: Skip over white space to find the function name. (closes #8341)
18220Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_expr.vim
18221
18222Patch 8.2.2965
18223Problem: Vim9: crash when calling function that failed to compile.
18224Solution: Fail when trying to call the function. (closes #8344)
18225Files: src/errors.h, src/vim9compile.c, src/testdir/test_vim9_func.vim
18226
18227Patch 8.2.2966
18228Problem: ml_get errors after recovering a file. (Yegappan Lakshmanan)
18229Solution: Fix the cursor position after deleting lines.
18230Files: src/memline.c
18231
18232Patch 8.2.2967
18233Problem: Vim9: crash when using two levels of partials.
18234Solution: Add outer_ref_T and use it in the execution context.
18235Files: src/structs.h, src/vim9execute.c, src/testdir/test_vim9_func.vim
18236
18237Patch 8.2.2968 (after 8.2.2967)
18238Problem: Vim9: memory leak
18239Solution: Unreference pt_outer of partial.
18240Files: src/eval.c
18241
18242Patch 8.2.2969
18243Problem: Subtracting from number option fails when result is zero. (Ingo
18244 Karkat)
18245Solution: Reset the string value when using the numeric value.
18246 (closes #8351)
18247Files: src/evalvars.c, src/testdir/test_vimscript.vim
18248
18249Patch 8.2.2970
18250Problem: Python configure check uses deprecated command.
18251Solution: Use sysconfig instead of distutils if possible. (Zdenek Dohnal,
18252 closes #8354)
18253Files: src/configure.ac, src/auto/configure
18254
18255Patch 8.2.2971
18256Problem: Cannot yank a block without trailing spaces.
18257Solution: Add the "zy" command. (Christian Brabandt, closes #8292)
18258Files: runtime/doc/change.txt, runtime/doc/index.txt, src/normal.c,
18259 src/ops.c, src/register.c, src/structs.h,
18260 src/testdir/test_visual.vim
18261
18262Patch 8.2.2972
18263Problem: "%bd" tries to delete popup window buffers, which fails. (Ralf
18264 Schandl)
18265Solution: Do not try to delete a popup window buffer. (closes #8349)
18266Files: src/buffer.c, src/vim.h, src/testdir/test_popupwin.vim
18267
18268Patch 8.2.2973
18269Problem: Fix for recovery and diff mode not tested.
18270Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8352)
18271Files: src/testdir/test_diffmode.vim, src/testdir/test_prompt_buffer.vim,
18272 src/testdir/test_recover.vim
18273
18274Patch 8.2.2974
18275Problem: Greek spell checking uses wrong case folding.
18276Solution: Fold capital sigma depending on whether it is at the end of a
18277 word or not. (closes #299)
18278Files: src/spell.c, src/proto/spell.pro, src/spellfile.c,
18279 src/spellsuggest.c
18280
18281Patch 8.2.2975
18282Problem: Vim9: can only use an autoload function name as a string.
18283Solution: Load the autoload script when encountered. (closes #8124)
18284Files: src/vim9compile.c, src/evalvars.c, src/scriptfile.c,
18285 src/testdir/test_vim9_func.vim
18286
18287Patch 8.2.2976 (after 8.2.2975)
18288Problem: Build failure without the +eval feature.
18289Solution: Add #ifdefs.
18290Files: src/scriptfile.c
18291
18292Patch 8.2.2977
18293Problem: Crash when using a null function reference. (Naohiro Ono)
18294Solution: Check for an invalid function name. (closes #8367)
18295Files: src/eval.c, src/errors.h, src/testdir/test_functions.vim
18296
18297Patch 8.2.2978 (after 8.2.2977)
18298Problem: Warning for uninitialized variable.
18299Solution: Set return value to FAIL.
18300Files: src/eval.c
18301
18302Patch 8.2.2979
18303Problem: Not all options code is covered by tests.
18304Solution: Add more tests for options. (Yegappan Lakshmanan, closes #8369)
18305Files: src/testdir/test_edit.vim, src/testdir/test_excmd.vim,
18306 src/testdir/test_help.vim, src/testdir/test_mksession.vim,
18307 src/testdir/test_options.vim, src/testdir/test_vartabs.vim,
18308 src/testdir/test_window_cmd.vim
18309
18310Patch 8.2.2980
18311Problem: Popup window test is a bit flaky.
18312Solution: Add a redraw command.
18313Files: src/testdir/test_popupwin.vim
18314
18315Patch 8.2.2981
18316Problem: Recovery test is not run on big-endian systems.
18317Solution: Make it work on big-endian systems. (James McCoy, closes #8368)
18318Files: src/testdir/test_recover.vim
18319
18320Patch 8.2.2982
18321Problem: Vim9: future commands are not reserved yet.
18322Solution: Add commands to be implemented later. Make "this" a reserved
18323 name.
18324Files: runtime/doc/vim9.txt, src/ex_cmds.h, src/ex_cmdidxs.h,
18325 src/vim9script.c, src/testdir/test_vim9_assign.vim
18326
18327Patch 8.2.2983
18328Problem: Vim9: an inline function requires specifying the return type.
18329Solution: Make the return type optional.
18330Files: src/eval.c, src/vim9compile.c, src/userfunc.c,
18331 src/testdir/test_vim9_func.vim
18332
18333Patch 8.2.2984 (after 8.2.2983)
18334Problem: Vim9: Test fails because of missing return statement.
18335Solution: When type is unknown set type to void.
18336Files: src/vim9compile.c
18337
18338Patch 8.2.2985
18339Problem: Vim9: a compiled function cannot be debugged.
18340Solution: Add initial debugging support.
18341Files: src/vim9.h, src/vim9compile.c, src/proto/vim9compile.pro,
18342 src/vim.h, src/eval.c, src/vim9execute.c, src/userfunc.c,
18343 src/vim9type.c, src/testdir/test_debugger.vim,
18344 src/testdir/test_vim9_disassemble.vim
18345
18346Patch 8.2.2986
18347Problem: Build failure without the profile feature.
18348Solution: Add #ifdef.
18349Files: src/vim9compile.c
18350
18351Patch 8.2.2987
18352Problem: Build failure with normal features.
18353Solution: Remove #define.
18354Files: src/vim9execute.c
18355
18356Patch 8.2.2988
18357Problem: Vim9: debugger test fails.
18358Solution: Get the debugger instructions when needed.
18359Files: src/vim.h, src/vim9.h
18360
18361Patch 8.2.2989
18362Problem: Vim9: memory leak when debugging a :def function.
18363Solution: Free the debug instructions.
18364Files: src/vim9compile.c
18365
18366Patch 8.2.2990
18367Problem: Jupyter Notebook files are not recognized.
18368Solution: Recognize *.ipynb. (closes #8375)
18369Files: runtime/filetype.vim, src/testdir/test_filetype.vim
18370
18371Patch 8.2.2991
18372Problem: Vim9: no completion for :vim9 and :legacy.
18373Solution: Expand argument as a command. (closes #8377)
18374Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
18375
18376Patch 8.2.2992
18377Problem: Vim9: completion for :disassemble is incomplete.
18378Solution: Recognize the "debug" and "profile" arguments.
18379Files: src/cmdexpand.c, src/vim9execute.c, src/proto/vim9execute.pro,
18380 src/vim.h, src/testdir/test_cmdline.vim
18381
18382Patch 8.2.2993
18383Problem: 'fileencodings' default value should depend on 'encoding'. (Gary
18384 Johnson)
18385Solution: When 'encoding' is "utf-8" use a different default value for
18386 'fileencodings'.
18387Files: src/mbyte.c, src/option.c, src/proto/option.pro,
18388 src/testdir/test_options.vim
18389
18390Patch 8.2.2994
18391Problem: Various code is not fully tested.
18392Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8378)
18393Files: src/testdir/test_excmd.vim, src/testdir/test_mapping.vim,
18394 src/testdir/test_modeline.vim, src/testdir/test_options.vim,
18395 src/testdir/test_paste.vim, src/vim9compile.c
18396
18397Patch 8.2.2995
18398Problem: Linker errors with dynamic Python 3.10.
18399Solution: Add a couple of library entries. (Zdenek Dohnal, closes #8381,
18400 closes #8356)
18401Files: src/if_python3.c
18402
18403Patch 8.2.2996
18404Problem: Vim9: when debugging cannot inspect local variables.
18405Solution: Make local variables available when debugging.
18406Files: src/vim9execute.c, src/proto/vim9execute.pro, src/vim9compile.c,
18407 src/vim9.h, src/debugger.c, src/testdir/test_debugger.vim
18408
18409Patch 8.2.2997 (after 8.2 2996)
18410Problem: Vim9: disassemble test fails.
18411Solution: Adjust expected output.
18412Files: src/testdir/test_vim9_disassemble.vim
18413
18414Patch 8.2.2998 (after 8.2 2996)
18415Problem: Vim9: disassemble test fails.
18416Solution: Add missing call to lookup_debug_var().
18417Files: src/evalvars.c
18418
18419Patch 8.2.2999
18420Problem: Balloon sometimes does not hide with GTK 3.
18421Solution: Also listen to GDK_LEAVE_NOTIFY. (Johannes Stezenbach)
18422Files: src/gui_beval.c
18423
18424Patch 8.2.3000
18425Problem: Vim9: warning for uninitialized variable.
18426Solution: Add initialization. (John Marriott)
18427Files: src/vim9compile.c
18428
18429Patch 8.2.3001
18430Problem: Vim9: memory leak when compilation fails.
18431Solution: Free the list of variable names.
18432Files: src/vim9compile.c
18433
18434Patch 8.2.3002
18435Problem: Vim doesn't abort on a fatal Tcl error.
18436Solution: Change emsg() to iemsg(). (Dominique Pellé, closes #8383)
18437Files: src/if_tcl.c
18438
18439Patch 8.2.3003
18440Problem: Vim9: closure compiled with wrong compile type.
18441Solution: Use COMPILE_TYPE() when calling a function. (closes #8384)
18442Files: src/vim9execute.c, src/testdir/test_debugger.vim
18443
18444Patch 8.2.3004
18445Problem: Vim9: error for missing colon given while skipping.
18446Solution: Do not give the error when skipping. (closes #8385)
18447Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
18448
18449Patch 8.2.3005
18450Problem: Vim9: using a void value does not give a proper error message.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018451Solution: Give a clear error message. (closes #8387)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018452Files: src/typval.c, src/vim9compile.c, src/vim9.h, src/vim9execute.c,
18453 src/testdir/test_vim9_expr.vim,
18454 src/testdir/test_vim9_disassemble.vim
18455
18456Patch 8.2.3006
18457Problem: Crash when echoing a value very early. (Naruhiko Nishino)
18458Solution: Do not use a NUL to truncate the message, make a copy.
18459 (closes #8388)
18460Files: src/message.c, src/testdir/test_startup.vim
18461
18462Patch 8.2.3007 (after 8.2.3005)
18463Problem: Vim9: test for void value fails.
18464Solution: Adjust expected error. Do not make a copy of void.
18465Files: src/typval.c, src/testdir/test_functions.vim
18466
18467Patch 8.2.3008 (after 8.2.3006)
18468Problem: Startup test may hang.
18469Solution: Add quit command in the script.
18470Files: src/testdir/test_startup.vim
18471
18472Patch 8.2.3009 (after 8.2.3006)
18473Problem: Startup test may hang.
18474Solution: Do not run the test in the GUI.
18475Files: src/testdir/test_startup.vim
18476
18477Patch 8.2.3010
18478Problem: Not enough testing for viminfo code.
18479Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8390)
18480Files: src/register.c, src/testdir/test_fileformat.vim,
18481 src/testdir/test_smartindent.vim, src/testdir/test_viminfo.vim
18482
18483Patch 8.2.3011
18484Problem: Vim9: cannot get argument values during debugging.
18485Solution: Lookup names in the list of arguments. Put debug instruction
18486 halfway for command.
18487Files: src/vim9compile.c, src/vim9execute.c,
18488 src/testdir/test_debugger.vim
18489
18490Patch 8.2.3012
18491Problem: When 'rightleft' is set the line number is sometimes drawn
18492 reversed.
18493Solution: Adjust how space is handled. (Christian Brabandt, closes #8389,
18494 closes #8391)
18495Files: src/drawline.c, src/testdir/test_number.vim
18496
18497Patch 8.2.3013
18498Problem: Vim: when debugging only the first line of a command using line
18499 continuation is displayed.
18500Solution: Find the next command and concatenate lines until that one.
18501 (closes #8392)
18502Files: src/vim9execute.c, src/testdir/test_debugger.vim
18503
18504Patch 8.2.3014
18505Problem: Coverity warns for freeing static string.
18506Solution: Do not assign static string to pointer. (Dominique Pellé,
18507 closes #8397)
18508Files: src/vim9execute.c
18509
18510Patch 8.2.3015
18511Problem: Vim9: Assigning to @# requires a string. (Naohiro Ono)
18512Solution: Accent a number or a string. (closes #8396)
18513Files: src/vim9compile.c, src/vim9execute.c, src/globals.h,
18514 src/testdir/test_vim9_assign.vim
18515
18516Patch 8.2.3016
18517Problem: Confusing error when expression is followed by comma.
18518Solution: Give a different error for trailing text. (closes #8395)
18519Files: src/eval.c, src/testdir/test_let.vim,
18520 src/testdir/test_eval_stuff.vim, src/testdir/test_vim9_expr.vim,
18521 src/testdir/test_vim9_script.vim, src/testdir/test_viminfo.vim,
18522 src/testdir/test_vimscript.vim
18523
18524Patch 8.2.3017
18525Problem: Vim9: debugger shows too many lines.
18526Solution: Truncate at a comment, "enddef", etc. (closes #8392)
18527Files: src/vim9execute.c, src/testdir/test_debugger.vim
18528
18529Patch 8.2.3018
18530Problem: Formatting using quickfixtextfunc is lost when updating location
18531 lists for different buffers. (Yorick Peterse)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018532Solution: Use the right window for the location list. (Yegappan Lakshmanan,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018533 closes #8400, closes #8403)
18534Files: src/quickfix.c, src/testdir/test_quickfix.vim
18535
18536Patch 8.2.3019
18537Problem: Location list only has the start position.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018538Solution: Make it possible to add an end position. (thinca, closes #8393)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018539Files: runtime/doc/eval.txt, src/quickfix.c,
18540 src/testdir/dumps/Test_quickfix_cwindow_1.dump,
18541 src/testdir/dumps/Test_quickfix_cwindow_2.dump,
18542 src/testdir/test_quickfix.vim, src/testdir/test_tagjump.vim,
18543 src/testdir/test_vim9_expr.vim
18544
18545Patch 8.2.3020
18546Problem: Unreachable code.
18547Solution: Remove the code. (closes #8406)
18548Files: src/ex_docmd.c
18549
18550Patch 8.2.3021
18551Problem: Spaces allowed between option name and "!", "?", etc.
18552Solution: Disallow spaces in Vim9 script, it was not documented.
18553 (closes #8408)
18554Files: src/option.c, src/testdir/test_vim9_script.vim
18555
18556Patch 8.2.3022
18557Problem: Available encryption methods are not strong enough.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018558Solution: Add initial support for xchacha20. (Christian Brabandt,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018559 closes #8394)
18560Files: .github/workflows/ci.yml, runtime/doc/eval.txt,
18561 runtime/doc/options.txt, runtime/doc/various.txt,
18562 src/INSTALLpc.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak,
18563 src/auto/configure, src/blowfish.c, src/bufwrite.c,
18564 src/config.h.in, src/configure.ac, src/crypt.c, src/crypt_zip.c,
18565 src/errors.h, src/evalfunc.c, src/feature.h, src/fileio.c,
18566 src/memline.c, src/option.c, src/optionstr.c,
18567 src/proto/blowfish.pro, src/proto/crypt.pro,
18568 src/proto/crypt_zip.pro, src/structs.h,
18569 src/testdir/samples/crypt_sodium_invalid.txt,
18570 src/testdir/test_crypt.vim, src/undo.c, src/version.c
18571
18572Patch 8.2.3023
18573Problem: Vim9: arguments for execute() not checked at compile time.
18574Solution: Add a function to check the argument types.
18575Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
18576
18577Patch 8.2.3024 (after 8.2.3023)
18578Problem: execute() function test fails.
18579Solution: Adjust test for different error.
18580Files: src/testdir/test_execute_func.vim
18581
18582Patch 8.2.3025
18583Problem: Not enough tests for quickfix end_col and end_lnum.
18584Solution: Add a few more test cases. (Shane-XB-Qian, closes #8409)
18585Files: src/testdir/test_quickfix.vim
18586
18587Patch 8.2.3026
18588Problem: Vim9: cannot set breakpoint in compiled function.
18589Solution: Check for breakpoint when calling a function.
18590Files: src/vim9execute.c, src/structs.h, src/vim.h, src/vim9.h,
18591 src/debugger.c, src/testdir/test_debugger.vim
18592
18593Patch 8.2.3027
18594Problem: Vim9: breakpoint in compiled function not always checked.
18595Solution: Check for breakpoint when calling compiled function from compiled
18596 function.
18597Files: src/vim9execute.c, src/testdir/test_debugger.vim
18598
18599Patch 8.2.3028
18600Problem: GUI mouse events not tested.
18601Solution: Add test_gui_mouse_event(). Add mouse tests. Also add a few
18602 viminfo tests. (Yegappan Lakshmanan, closes #8407)
18603Files: runtime/doc/eval.txt, runtime/doc/testing.txt,
18604 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/testing.pro,
18605 src/testdir/test_gui.vim, src/testdir/test_viminfo.vim,
18606 src/testing.c
18607
18608Patch 8.2.3029
18609Problem: Vim9: crash when using operator and list unpack assignment.
18610 (Naohiro Ono)
18611Solution: Get variable value before operation. (closes #8416)
18612Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/ex_docmd.c,
18613 src/testdir/test_vim9_assign.vim,
18614 src/testdir/test_vim9_disassemble.vim
18615
18616Patch 8.2.3030
18617Problem: Coverity reports a memory leak.
18618Solution: Fix the leak and a few typos. (Dominique Pellé, closes #8418)
18619Files: src/crypt.c, src/errors.h
18620
18621Patch 8.2.3031
18622Problem: No error if a function name starts with an underscore. (Naohiro
18623 Ono)
18624Solution: In Vim9 script disallow a function name starting with an
18625 underscore, as is mentioned in the help. (closes #8414)
18626Files: src/userfunc.c, src/testdir/test_vim9_func.vim
18627
18628Patch 8.2.3032
18629Problem: Build problems with MSVC, other crypt issues with libsodium.
18630Solution: Adjust MSVC makefile. Disable swap file only when 'key' is set.
18631 Adjust error message used when key is wrong. Fix Coverity issues.
18632 (Christian Brabandt, closes #8420, closes #8411)
18633Files: src/Make_mvc.mak, src/crypt.c, src/errors.h, src/fileio.c,
18634 src/memline.c, src/proto/crypt.pro
18635
18636Patch 8.2.3033
18637Problem: No error when using alpha delimiter with :global.
18638Solution: Check the delimiter like with :substitute. (closes #8415)
18639Files: src/ex_cmds.c, src/testdir/test_global.vim
18640
18641Patch 8.2.3034
18642Problem: Installing packages on github CI sometimes fails.
18643Solution: Update package information first. (Christian Brabandt,
18644 closes #8432)
18645Files: .github/workflows/ci.yml
18646
18647Patch 8.2.3035
18648Problem: Vim9: crash when calling :def function with partial and return
18649 type is not set.
18650Solution: When the return type is not set handle like the return type is
18651 unknown. (closes #8422)
18652Files: src/vim9type.c, src/testdir/test_vim9_func.vim
18653
18654Patch 8.2.3036
18655Problem: Vim9: builtin function arguments not checked at compile time.
18656Solution: Add more argument type specs. Check arguments to test_setmouse()
18657 and test_gui_mouse_event(). (Yegappan Lakshmanan, closes #8425)
18658Files: src/evalfunc.c, src/testdir/test_assert.vim,
18659 src/testdir/test_gui.vim, src/testdir/test_popupwin.vim,
18660 src/testdir/test_vim9_builtin.vim, src/testing.c
18661
18662Patch 8.2.3037
18663Problem: Configure reports libcanberra when checking for libsodium.
18664Solution: Adjust the message. (Ozaki Kiichi, closes #8435)
18665Files: src/configure.ac, src/auto/configure
18666
18667Patch 8.2.3038
18668Problem: Amiga built-in version string doesn't include build date.
18669Solution: Add the build date if available. (Ola Söder, closes #8437)
18670Files: src/os_amiga.c
18671
18672Patch 8.2.3039
18673Problem: Vim9: breakpoint at a comment line does not work.
18674Solution: Add the comment line number to the debug instruction.
18675 (closes #8429)
18676Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
18677 src/testdir/test_debugger.vim,
18678 src/testdir/test_vim9_disassemble.vim
18679
18680Patch 8.2.3040
18681Problem: GUI: dropping files not tested.
18682Solution: Add test_gui_drop_files() and tests. (Yegappan Lakshmanan,
18683 closes #8434)
18684Files: runtime/doc/eval.txt, runtime/doc/testing.txt,
18685 runtime/doc/usr_41.txt, src/evalfunc.c, src/gui.c,
18686 src/proto/testing.pro, src/testdir/test_gui.vim, src/testing.c
18687
18688Patch 8.2.3041
18689Problem: Detecting if the process of a swap file is running fails if the
18690 process is owned by another user.
18691Solution: Check for the ESRCH error. (closes #8436)
18692Files: src/os_unix.c
18693
18694Patch 8.2.3042 (after 8.2.3041)
18695Problem: Swap file test fails.
18696Solution: Check for a very high process ID instead of one, which should be
18697 running.
18698Files: src/testdir/test_swap.vim
18699
18700Patch 8.2.3043
18701Problem: Amiga: cannot get the shell size on MorphOS and AROS.
18702Solution: Use control sequences. (Ola Söder, closes #8438)
18703Files: src/os_amiga.c
18704
18705Patch 8.2.3044
18706Problem: Amiga MorphOS and AROS: process ID is not valid.
18707Solution: Use FindTask to return something which is unique to all processes.
18708 (Ola Söder, closes #8444)
18709Files: src/os_amiga.c
18710
18711Patch 8.2.3045
18712Problem: Minor typos.
18713Solution: Fix the typos. (Christian Brabandt, closes #8441)
18714Files: src/VisVim/README_VisVim.txt, src/evalfunc.c, src/testdir/vim9.vim
18715
18716Patch 8.2.3046
18717Problem: Amiga MorphOS: Term mode is set using DOS packets.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018718Solution: Use the same way of setting term mode on all next gen Amiga-like
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018719 systems. (Ola Söder, closes #8445)
18720Files: src/os_amiga.c
18721
18722Patch 8.2.3047
18723Problem: Increment and decrement don't allow for next command.
18724Solution: Allow for comment and next command. (closes #8442)
18725Files: src/ex_cmds.h, src/vim9script.c, src/testdir/test_vim9_assign.vim
18726
18727Patch 8.2.3048
18728Problem: Strange error for white space after ++ command.
18729Solution: Check for white space explicitly. (closes #8440)
18730Files: src/vim9script.c, src/errors.h, src/vim9compile.c,
18731 src/testdir/test_vim9_assign.vim
18732
18733Patch 8.2.3049
18734Problem: JSON patch file not recognized.
18735Solution: Recognize json-patch as json. (Kevin Locke, closes #8450)
18736Files: runtime/filetype.vim, src/testdir/test_filetype.vim
18737
18738Patch 8.2.3050
18739Problem: Cannot recognize elixir files.
18740Solution: Recognize Elixir-specific files. Check if an .ex file is Euphoria
18741 or Elixir. (Austin Gatlin, closes #8401, closes #8446)
18742Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
18743 src/testdir/test_filetype.vim
18744
18745Patch 8.2.3051
18746Problem: Vim9: for loop with one list variable does not work.
18747Solution: Use a separate flag for unpacking a list. (closes #8452)
18748Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
18749
18750Patch 8.2.3052
18751Problem: Vim9: "legacy call" does not work.
18752Solution: Do not skip "call" after "legacy". (closes #8454)
18753Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
18754
18755Patch 8.2.3053
18756Problem: Vim9: cannot assign to @@ in :def function
18757Solution: Handle '@' like '"'. (closes #8456)
18758Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
18759
18760Patch 8.2.3054
18761Problem: Vim9: unpack assignment using "_" after semicolon fails.
18762Solution: Drop the expression result. (closes #8453)
18763Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_assign.vim
18764
18765Patch 8.2.3055
18766Problem: Strange error for assigning to "x.key" on non-dictionary.
18767Solution: Add a specific error message. (closes #8451)
18768Files: src/eval.c, src/errors.h, src/testdir/test_vim9_assign.vim,
18769 src/testdir/test_listdict.vim, src/testdir/test_let.vim
18770
18771Patch 8.2.3056
18772Problem: Vim9: using default value in lambda gives confusing error.
18773Solution: Pass "default_args" on the first pass to get the arguments.
18774 (closes #8455)
18775Files: src/userfunc.c, src/testdir/test_vim9_func.vim
18776
18777Patch 8.2.3057
18778Problem: Vim9: debugger test fails with normal features and +terminal.
18779 (Dominique Pellé)
18780Solution: Adjust the INSTRUCTIONS macro. (closes #8460)
18781Files: src/vim9.h
18782
18783Patch 8.2.3058 (after 8.2.3056)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018784Problem: Vim9: cannot use ternary operator in parentheses.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018785Solution: Do not use "==" for a default argument value. (closes #8462)
18786Files: src/userfunc.c, src/testdir/test_vim9_func.vim
18787
18788Patch 8.2.3059 (after 8.2.3056)
18789Problem: Vim9: memory leak when using lambda.
18790Solution: Do not store the default value strings when skipping.
18791Files: src/userfunc.c
18792
18793Patch 8.2.3060 (after 8.2.3056)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018794Problem: Vim9: cannot use ternary operator in parentheses.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018795Solution: Do not use "=~" for a default argument value. (closes #8462)
18796Files: src/userfunc.c, src/testdir/test_vim9_func.vim
18797
18798Patch 8.2.3061
18799Problem: Testing the shell option is incomplete and spread out.
18800Solution: Move shell tests to one file and increase coverage. (Yegappan
18801 Lakshmanan, closes #8464)
18802Files: src/testdir/Make_all.mak, src/testdir/test_functions.vim,
18803 src/testdir/test_options.vim, src/testdir/test_shell.vim,
18804 src/testdir/test_system.vim
18805
18806Patch 8.2.3062
18807Problem: Internal error when adding several text properties.
18808Solution: Do not handle text properties when deleting a line for splitting a
18809 data block. (closes #8466)
18810Files: src/structs.h, src/memline.c, src/testdir/test_textprop.vim
18811
18812Patch 8.2.3063
18813Problem: Crash when switching 'cryptmethod' to xchaha20 with an existing
18814 undo file. (Martin Tournoij)
18815Solution: Disable reading undo file when decoding can't be done inplace.
18816 (issue #8467)
18817Files: src/fileio.c, src/bufwrite.c
18818
18819Patch 8.2.3064
18820Problem: Vim9: in script cannot set item in uninitialized list.
18821Solution: When a list is NULL allocate an empty one. (closes #8461)
18822Files: src/eval.c, src/testdir/test_vim9_assign.vim
18823
18824Patch 8.2.3065
18825Problem: Vim9: error when sourcing script twice and reusing a function
18826 name.
18827Solution: Check if the function is dead. (closes #8463)
18828Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
18829
18830Patch 8.2.3066
18831Problem: Vim9: debugging lambda does not work.
18832Solution: Use the compile type of the function when compiling a lambda.
18833 (closes #8412)
18834Files: src/vim9compile.c, src/testdir/test_debugger.vim
18835
18836Patch 8.2.3067
18837Problem: Building fails with Athena. (Elimar Riesebieter)
18838Solution: Adjust #ifdefs and add the 'drop_file' feature.
18839Files: src/evalfunc.c, src/testing.c, src/testdir/test_gui.vim
18840
18841Patch 8.2.3068
18842Problem: Unicode tables are slightly outdated.
18843Solution: Update the tables for Unicode release 13. (Christian Brabandt
18844 closes #8430)
18845Files: runtime/tools/unicode.vim, src/mbyte.c
18846
18847Patch 8.2.3069
18848Problem: Error messages are spread out.
18849Solution: Move some error messages to errors.h. Use clearer names.
18850Files: src/errors.h, src/globals.h, src/arglist.c, src/buffer.c,
18851 src/channel.c, src/eval.c, src/evalfunc.c, src/evalvars.c,
18852 src/evalwindow.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c,
18853 src/filepath.c, src/fold.c, src/getchar.c, src/indent.c,
18854 src/list.c, src/map.c, src/mark.c, src/normal.c, src/ops.c,
18855 src/optionstr.c, src/popupwin.c, src/quickfix.c, src/spellfile.c,
18856 src/textprop.c, src/typval.c, src/undo.c, src/userfunc.c,
18857 src/vim9compile.c, src/window.c
18858
18859Patch 8.2.3070
18860Problem: Not enough testing for shell use.
18861Solution: Add a bit more testing. (Yegappan Lakshmanan, closes #8469)
18862Files: src/testdir/test_shell.vim, src/testdir/test_startup.vim
18863
18864Patch 8.2.3071
18865Problem: Shell options are not set properly for PowerShell.
18866Solution: Use better option defaults. (Mike Williams, closes #8459)
18867Files: runtime/doc/eval.txt, runtime/doc/options.txt,
18868 runtime/doc/os_dos.txt, src/fileio.c, src/misc2.c, src/option.c,
18869 src/os_win32.c, src/testdir/test_shell.vim
18870
18871Patch 8.2.3072
18872Problem: The "zy" command does not work well when 'virtualedit' is set to
18873 "block". (Johann Höchtl)
18874Solution: Make endspaces zero. (Christian Brabandt, closes #8468,
18875 closes #8448)
18876Files: src/register.c, src/testdir/test_visual.vim
18877
18878Patch 8.2.3073
18879Problem: When cursor is moved for block append wrong text is inserted.
18880Solution: Calculate an offset. (Christian Brabandt, closes #8433,
18881 closes #8288)
18882Files: src/ops.c, src/testdir/test_blockedit.vim,
18883 src/testdir/test_visual.vim
18884
18885Patch 8.2.3074
18886Problem: popup_atcursor() uses wrong position with concealing.
18887Solution: Keep w_wcol in conceal_check_cursor_line(). (closes #8476)
18888Files: src/screen.c, src/proto/screen.pro, src/normal.c, src/edit.c,
18889 src/ui.c, src/testdir/test_popupwin.vim,
18890 src/testdir/dumps/Test_popupwin_atcursor_pos.dump
18891
18892Patch 8.2.3075
18893Problem: Xxd always reports an old version string. (Ã…smund Ervik)
18894Solution: Update the version string with the last known change date.
18895 (Jürgen Weigert, closes #8475)
18896Files: src/xxd/xxd.c, src/testdir/test_xxd.vim
18897
18898Patch 8.2.3076
18899Problem: Vim9: using try in catch block causes a hang.
18900Solution: Save and restore the ec_in_catch flag. (closes #8478)
18901Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
18902
18903Patch 8.2.3077
18904Problem: Vim9: an error in a catch block is not reported.
18905Solution: Put the "in catch" flag in the try stack. (closes #8478)
18906Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
18907
18908Patch 8.2.3078
18909Problem: Vim9: profile test fails.
18910Solution: Make throw in :catch jump to :finally.
18911Files: src/vim9compile.c, src/vim9execute.c,
18912 src/testdir/test_vim9_script.vim
18913
18914Patch 8.2.3079
18915Problem: Powershell core not supported by default.
18916Solution: Set option defaults for "pwsh". (Mike Williams, closes #8481)
18917Files: runtime/doc/eval.txt, runtime/doc/options.txt,
18918 runtime/doc/os_dos.txt, runtime/doc/os_win32.txt, src/fileio.c,
18919 src/misc2.c, src/option.c, src/os_win32.c,
18920 src/testdir/test_shell.vim
18921
18922Patch 8.2.3080
18923Problem: Recover test fails on 32bit systems. (Ondřej Súkup)
18924Solution: Detect 32/64 bit systems. (Yegappan Lakshmanan, closes #8485,
18925 closes #8479)
18926Files: src/testdir/test_recover.vim
18927
18928Patch 8.2.3081
18929Problem: Cannot catch errors in a channel command.
18930Solution: Instead of skipping the error make it silent. (closes #8477)
18931Files: src/channel.c
18932
18933Patch 8.2.3082
18934Problem: A channel command "echoerr" does not show anything.
18935Solution: Do not use silent errors when using an "echoerr" command.
18936 (closes #8494)
18937Files: src/channel.c, src/testdir/test_channel.py,
18938 src/testdir/test_channel.vim
18939
18940Patch 8.2.3083
18941Problem: Crash when passing null string to charclass().
18942Solution: Bail out when string pointer is NULL. (Christian Brabandt,
18943 closes #8498, closes #8260)
18944Files: src/mbyte.c, src/testdir/test_functions.vim
18945
18946Patch 8.2.3084
18947Problem: Vim9: builtin function argument types are not checked at compile
18948 time.
18949Solution: Add argument types. (Yegappan Lakshmanan, closes #8503)
18950Files: src/evalfunc.c, src/testdir/test_functions.vim,
18951 src/testdir/test_glob2regpat.vim,
18952 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim
18953
18954Patch 8.2.3085
18955Problem: JSONC files are not recognized.
18956Solution: Recognize .jsonc files. (Izhak Jakov, closes #8500)
18957Files: runtime/filetype.vim, src/testdir/test_filetype.vim
18958
18959Patch 8.2.3086
18960Problem: Vim9: breakpoint on "for" does not work.
18961Solution: Use the right line number in ISN_DEBUG. (closes #8486)
18962Files: src/vim9compile.c, src/testdir/test_debugger.vim
18963
18964Patch 8.2.3087
18965Problem: Gemtext files are not recognized.
18966Solution: Recognize .gmi and .gemini files. (closes #8427)
18967Files: runtime/filetype.vim, src/testdir/test_filetype.vim
18968
18969Patch 8.2.3088
18970Problem: With 'virtualedit' set to "block" Visual highlight is wrong after
18971 using "$". (Marco Trosi)
18972Solution: Do not set w_old_cursor_lcol to MAXCOL. (closes #8495)
18973Files: src/drawscreen.c, src/testdir/test_visual.vim,
18974 src/testdir/dumps/Test_visual_block_with_virtualedit.dump
18975
18976Patch 8.2.3089
18977Problem: Garbage collection has useless code.
18978Solution: Bail out when aborting. (closes #8504)
18979Files: src/userfunc.c
18980
18981Patch 8.2.3090
18982Problem: With concealing enabled and indirectly closing a fold the cursor
18983 may be somewhere in a folded line.
18984Solution: Recompute the cursor position when the cursor line can be
18985 concealed. (closes #8480)
18986Files: src/drawscreen.c
18987
18988Patch 8.2.3091
18989Problem: Vim9: default argument expression cannot use previous argument
18990Solution: Correct argument index. (closes #8496)
18991Files: src/vim9compile.c, src/structs.h, src/testdir/test_vim9_func.vim
18992
18993Patch 8.2.3092
18994Problem: Vim9: builtin function test fails without the +channel feature.
18995Solution: Check the +channel feature is supported. (Dominique Pellé,
18996 closes #8507)
18997Files: runtime/doc/eval.txt, src/testdir/test_vim9_builtin.vim
18998
18999Patch 8.2.3093
19000Problem: tablabel_tooltip test fails with Athena. (Dominique Pellé)
19001Solution: Skip the test when using Athena. (closes #8508)
19002Files: src/testdir/test_gui.vim, src/testdir/check.vim
19003
19004Patch 8.2.3094
19005Problem: Test_popup_atcursor_pos() fails without the conceal feature.
19006Solution: Add a check for the conceal feature. (Dominique Pellé,
19007 closes #8505)
19008Files: src/testdir/test_popupwin.vim
19009
19010Patch 8.2.3095 (after 8.2.3088)
19011Problem: With 'virtualedit' set to "block" block selection is wrong after
19012 using "$". (Marco Trosi)
19013Solution: Compute the longest selected line. (closes #8495)
19014Files: src/drawscreen.c, src/testdir/test_visual.vim,
19015 src/testdir/dumps/Test_visual_block_with_virtualedit2.dump
19016
19017Patch 8.2.3096
19018Problem: Temp files remain after running tests.
19019Solution: Delete the right files. (Dominique Pellé, closes #8509)
19020Files: src/testdir/test_debugger.vim, src/testdir/test_lambda.vim,
19021 src/testdir/test_visual.vim
19022
19023
19024Patch 8.2.3097
19025Problem: Crash when using "quit" at recovery prompt and autocommands are
19026 triggered.
19027Solution: Block autocommands when creating an empty buffer to use as the
19028 current buffer. (closes #8506)
19029Files: src/buffer.c, src/testdir/test_swap.vim
19030
19031Patch 8.2.3098
19032Problem: Popup window test is flaky on MS-Windows with GUI.
19033Solution: Skip the check in this situation.
19034Files: src/testdir/test_popupwin.vim
19035
19036Patch 8.2.3099
19037Problem: Vim9: missing catch/finally not reported at script level.
19038Solution: Give an error. (closes #8487)
19039Files: src/structs.h, src/ex_eval.c, src/testdir/test_vim9_script.vim
19040
19041Patch 8.2.3100
19042Problem: Vim9: no error when using type with unknown number of arguments.
19043Solution: Do not ignore argument count of -1. (closes #8492)
19044Files: src/vim9type.c, src/evalfunc.c, src/proto/evalfunc.pro,
19045 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_expr.vim,
19046 src/testdir/test_vim9_func.vim
19047
19048Patch 8.2.3101
19049Problem: Missing function prototype for vim_round().
19050Solution: Add the prototype.
19051Files: src/proto/float.pro
19052
19053Patch 8.2.3102 (after 8.2.3097)
19054Problem: Test for crash fix does not fail without the fix.
19055Solution: Adjust the test sequence. (closes #8506)
19056Files: src/testdir/test_swap.vim
19057
19058Patch 8.2.3103 (after 8.2.3102)
19059Problem: Swap test may fail on some systems when jobs take longer to exit.
19060Solution: Use different file names.
19061Files: src/testdir/test_swap.vim
19062
19063Patch 8.2.3104
19064Problem: Vim9: unspecified function type causes type error.
19065Solution: Don't check type when min_argcount is negative. (issue #8492)
19066Files: src/globals.h, src/vim9type.c, src/testdir/test_vim9_assign.vim
19067
19068Patch 8.2.3105
19069Problem: Vim9: type of partial is wrong when it has arguments.
19070Solution: Subtract arguments from the count. (issue #8492)
19071Files: src/vim9type.c, src/userfunc.c, src/testdir/test_vim9_assign.vim
19072
19073Patch 8.2.3106
19074Problem: Vim9: confusing line number reported for error.
19075Solution: Use the start line number for the store instruction.
19076 (closes #8488)
19077Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
19078
19079Patch 8.2.3107
19080Problem: Vim9: error for arguments while type didn't specify arguments.
19081Solution: Do not update that type to check when no argument count is
19082 specified. (closes #8492)
19083Files: src/userfunc.c, src/testdir/test_vim9_assign.vim
19084
19085Patch 8.2.3108
19086Problem: Test for remote_foreground() fails. (Elimar Riesebieter)
19087Solution: Check that $DISPLAY is set. (Christian Brabandt)
19088Files: src/testdir/check.vim, src/testdir/test_clientserver.vim,
19089 src/testdir/test_vim9_builtin.vim
19090
19091Patch 8.2.3109
19092Problem: Check for $DISPLAY never fails.
19093Solution: Use eval().
19094Files: src/testdir/check.vim
19095
19096Patch 8.2.3110
Bram Moolenaar47c532e2022-03-19 15:18:53 +000019097Problem: A pattern that matches the cursor position is a bit complicated.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019098Solution: Use a dot to indicate the cursor line and column. (Christian
19099 Brabandt, closes #8497, closes #8179)
19100Files: runtime/doc/pattern.txt, src/errors.h, src/regexp_bt.c,
19101 src/regexp_nfa.c, src/testdir/test_regexp_latin.vim
19102
19103Patch 8.2.3111
19104Problem: Vim9: confusing error with extra whitespace before colon.
19105Solution: Check for colon after white space. (closes #8513)
19106Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_script.vim
19107
19108Patch 8.2.3112 (after 8.2.3090)
19109Problem: With concealing enabled and indirectly closing a fold the cursor
19110 may be somewhere in a folded line when it is not on the first line
19111 of the fold.
Bram Moolenaar47c532e2022-03-19 15:18:53 +000019112Solution: Check if the cursor is somewhere in the folded text.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019113Files: src/drawscreen.c
19114
19115Patch 8.2.3113
19116Problem: No error when for loop variable shadows script variable.
19117Solution: Check for the error. (closes #8512)
19118Files: src/eval.c, src/testdir/test_vim9_script.vim
19119
19120Patch 8.2.3114
19121Problem: Amiga-like systems: build error checking for running process
19122Solution: Only build swapfile_process_running() on systems where it is
19123 actually used. (Ola Söder, closes #8519)
19124Files: src/memline.c
19125
19126Patch 8.2.3115
19127Problem: Coverity complains about free_wininfo() use.
19128Solution: Add a condition that "wip2" is not equal to "wip". (Neovim #14996)
19129Files: src/window.c
19130
19131Patch 8.2.3116
19132Problem: Vim9: crash when debugging a function with line continuation.
19133Solution: Check for a NULL pointer. (closes #8521)
19134Files: src/vim9execute.c, src/testdir/test_debugger.vim
19135
19136Patch 8.2.3117
19137Problem: Vim9: type not properly checked in for loop.
19138Solution: Have items() return a list of lists. Add runtime type checks.
19139 (closes #8515)
19140Files: src/evalfunc.c, src/globals.h, src/vim9compile.c,
19141 src/testdir/test_vim9_script.vim
19142
19143Patch 8.2.3118
19144Problem: Vim9: "any" type not handled correctly in for loop.
19145Solution: Change compile time check into runtime check. (closes #8516)
19146Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
19147
19148Patch 8.2.3119
19149Problem: Compiler warning for unused argument.
19150Solution: Add UNUSED.
19151Files: src/evalfunc.c
19152
19153Patch 8.2.3120
19154Problem: Crypt with sodium test fails on MS-Windows.
19155Solution: Make the tests pass. (closes #8428)
19156Files: src/testdir/test_crypt.vim
19157
19158Patch 8.2.3121
19159Problem: 'listchars' "exceeds" character appears in foldcolumn. Window
19160 separator is missing. (Leonid V. Fedorenchik)
19161Solution: Only draw the "exceeds" character in the text area. Break the
19162 loop when not drawing the text. (closes #8524)
19163Files: src/drawline.c, src/testdir/test_listchars.vim,
19164 src/testdir/dumps/Test_listchars_01.dump,
19165 src/testdir/dumps/Test_listchars_02.dump,
19166 src/testdir/dumps/Test_listchars_03.dump,
19167 src/testdir/dumps/Test_listchars_04.dump,
19168 src/testdir/dumps/Test_listchars_05.dump
19169
19170Patch 8.2.3122
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019171Problem: With 'nowrap' cursor position is unexpected in narrow window.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019172 (Leonid V. Fedorenchik)
19173Solution: Put cursor on the last non-empty line. (closes #8525)
19174Files: src/move.c, src/testdir/test_listchars.vim,
19175 src/testdir/dumps/Test_listchars_06.dump,
19176 src/testdir/dumps/Test_listchars_07.dump
19177
19178Patch 8.2.3123
19179Problem: Vim9: confusing error when using white space after option, before
19180 one of "!&<".
19181Solution: Give a specific error. (issue #8408)
19182Files: src/errors.h, src/option.c, src/testdir/test_vim9_script.vim
19183
19184Patch 8.2.3124
19185Problem: Vim9: no error for white space between option and "=9".
19186Solution: Check for extraneous white space. (issue #8408)
19187Files: src/option.c, src/testdir/test_vim9_script.vim
19188
19189Patch 8.2.3125
19190Problem: Variables are set but not used.
19191Solution: Move the declarations to the block where they are used.
19192 (closes #8527)
19193Files: src/regexp_nfa.c
19194
19195Patch 8.2.3126
19196Problem: Vim9: for loop error reports wrong line number.
19197Solution: Save and restore the line number when evaluating the expression.
19198 (closes #8514)
19199Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
19200
19201Patch 8.2.3127
19202Problem: Vim9: no error when adding number to list of string.
19203Solution: Check the value type. (closes #8529)
19204Files: src/list.c, src/testdir/test_vim9_builtin.vim
19205
19206Patch 8.2.3128
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019207Problem: Vim9: uninitialized list does not get type checked.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019208Solution: Set the type when initializing the variable. (closes #8529)
19209Files: src/eval.c, src/evalvars.c, src/vim9script.c,
19210 src/userfunc.c, src/proto/vim9script.pro,
19211 src/testdir/test_vim9_builtin.vim
19212
19213Patch 8.2.3129
19214Problem: Vim9: imported uninitialized list does not get type checked.
19215Solution: Get type from imported variable.
19216Files: src/eval.c, src/evalvars.c, src/vim9script.c,
19217 src/proto/vim9script.pro, src/userfunc.c,
19218 src/testdir/test_vim9_script.vim
19219
19220Patch 8.2.3130
19221Problem: Vim9: import test fails.
19222Solution: Rename directory back to "import", use "p" to avoid an error when
19223 the directory already exists.
19224Files: src/testdir/test_vim9_script.vim
19225
19226Patch 8.2.3131
19227Problem: MS-Windows: ipv6 channel test is very flaky in the GUI.
19228Solution: Skip the test.
19229Files: src/testdir/test_channel.vim
19230
19231Patch 8.2.3132
19232Problem: Compiler warns for size_t to colnr_T conversion. (Randall W.
19233 Morris)
19234Solution: Add a type cast.
19235Files: src/drawscreen.c
19236
19237Patch 8.2.3133
19238Problem: Vim9: memory leak when add() fails.
19239Solution: Allocate listitem_T after type check.
19240Files: src/list.c
19241
19242Patch 8.2.3134
19243Problem: Crash when using typename() on a function reference. (Naohiro Ono)
19244Solution: Initialize pointer to NULL. (closes #8531)
19245Files: src/vim9type.c, src/testdir/test_vim9_builtin.vim
19246
19247Patch 8.2.3135
19248Problem: Vim9: builtin function arguments not checked at compile time.
19249Solution: Add more type checks. (Yegappan Lakshmanan, closes #8539)
19250Files: src/channel.c, src/errors.h, src/evalfunc.c, src/proto/typval.pro,
19251 src/terminal.c, src/testdir/test_search.vim,
19252 src/testdir/test_textprop.vim, src/testdir/test_vim9_builtin.vim,
19253 src/testing.c, src/textprop.c, src/typval.c
19254
19255Patch 8.2.3136
19256Problem: No test for E187 and "No swap file".
19257Solution: Add a test. (Dominique Pellé, closes #8540)
19258Files: src/testdir/test_cd.vim, src/testdir/test_swap.vim
19259
19260Patch 8.2.3137
19261Problem: Vim9: no error when a line only has a variable name.
19262Solution: Give an error when an expression is evaluated without an effect.
19263 (closes #8538)
19264Files: src/ex_eval.c, src/errors.h, src/vim9compile.c,
19265 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_expr.vim,
19266 src/testdir/test_vim9_func.vim
19267
19268Patch 8.2.3138 (after 8.2.3137)
19269Problem: Debugger test fails.
19270Solution: Adjust eval command.
19271Files: src/testdir/test_debugger.vim
19272
19273Patch 8.2.3139
19274Problem: Functions for string manipulation are spread out.
19275Solution: Move string related functions to a new source file. (Yegappan
19276 Lakshmanan, closes #8470)
19277Files: Filelist, src/Make_ami.mak, src/Make_cyg_ming.mak,
19278 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
19279 src/eval.c, src/evalfunc.c, src/mbyte.c, src/misc1.c, src/misc2.c,
19280 src/proto.h, src/proto/eval.pro, src/proto/evalfunc.pro,
19281 src/proto/mbyte.pro, src/proto/misc1.pro, src/proto/misc2.pro,
19282 src/proto/strings.pro, src/strings.c
19283
19284Patch 8.2.3140 (after 8.2.3131)
19285Problem: MS-Windows: ipv6 channel test is very flaky also without the GUI.
19286Solution: Skip the test also without the GUI.
19287Files: src/testdir/test_channel.vim
19288
19289Patch 8.2.3141
19290Problem: No error when using :complete for :command without -nargs.
19291Solution: Give an error. (Martin Tournoij, closes #8544, closes #8541)
19292Files: src/usercmd.c, src/errors.h, src/testdir/test_usercommands.vim
19293
19294Patch 8.2.3142
19295Problem: Vim9: type check for has_key() argument is too strict.
19296Solution: Also allow for a number key argument. (closes #8542)
19297Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
19298
19299Patch 8.2.3143
19300Problem: Vim9: A lambda may be compiled with the wrong context if it is
19301 called from a profiled function.
19302Solution: Compile the lambda with and without profiling. (closes #8543)
19303Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
19304
19305Patch 8.2.3144
19306Problem: Vim9: no error when using an invalid value for a line number.
19307Solution: Give an error if the string value is not recognized.
19308 (closes #8536)
19309Files: src/errors.h, src/eval.c, src/testdir/test_vim9_builtin.vim
19310
19311Patch 8.2.3145
19312Problem: Vim9: profile test fails without profile feature.
19313Solution: Check the profile feature is present.
19314Files: src/testdir/test_vim9_script.vim
19315
19316Patch 8.2.3146
19317Problem: Vim9: line number wrong for :execute argument.
19318Solution: Use the line number of the :execute command itself. (closes #8537)
19319Files: src/eval.c, src/testdir/test_vim9_script.vim
19320
19321Patch 8.2.3147
19322Problem: Vim9: profiling does not work with a nested function.
19323Solution: Also compile a nested function without profiling. (closes #8543)
19324 Handle that compiling may cause the table of compiled functions to
19325 change.
19326Files: src/vim9compile.c, src/vim9execute.c,
19327 src/testdir/test_vim9_script.vim
19328
19329Patch 8.2.3148
19330Problem: Vim9: function arg type check does not handle base offset.
19331Solution: Take the base offset into account when checking builtin function
19332 argument types.
19333Files: src/evalfunc.c, src/vim9compile.c,
19334 src/testdir/test_vim9_builtin.vim
19335
19336Patch 8.2.3149 (after 8.2.3141)
19337Problem: Some plugins have a problem with the error check for using
19338 :command with -complete but without -nargs.
19339Solution: In legacy script only give a warning message.
19340Files: src/usercmd.c, src/message.c, src/proto/message.pro,
19341 src/testdir/test_usercommands.vim
19342
19343Patch 8.2.3150
19344Problem: Vim9: argument types are not checked at compile time.
19345Solution: Add more type checks. (Yegappan Lakshmanan, closes #8545)
19346Files: src/evalfunc.c, src/testing.c, src/testdir/test_vim9_builtin.vim
19347
19348Patch 8.2.3151
19349Problem: Vim9: profiling fails if nested function is also profiled.
19350Solution: Use the compile type from the outer function. (closes #8543)
19351Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
19352
19353Patch 8.2.3152
19354Problem: Vim9: accessing "s:" results in an error.
19355Solution: Do not try to lookup a script variable for "s:". (closes #8549)
19356Files: src/evalvars.c, src/testdir/test_vim9_expr.vim
19357
19358Patch 8.2.3153
19359Problem: URLs with a dash in the scheme are not recognized.
19360Solution: Allow for a scheme with a dash, but not at the start or end.
19361 (Tsuyoshi CHO, closes #8299)
19362Files: src/misc1.c, src/testdir/test_buffer.vim
19363
19364Patch 8.2.3154
19365Problem: Vim9: some type checks for builtin functions fail.
19366Solution: Correct the type checks. (Yegappan Lakshmanan, closes #8551,
19367 closes #8550)
19368Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
19369
19370Patch 8.2.3155
19371Problem: Some option related code not covered by tests.
19372Solution: Add a few test cases. (Dominique Pellé, closes #8552)
19373Files: src/testdir/test_options.vim, src/testdir/test_set.vim
19374
19375Patch 8.2.3156
19376Problem: Vim9: term_getansicolors() test fails without +termguicolors.
19377Solution: Add a check for the feature. (Dominique Pellé, closes #8555)
19378Files: src/testdir/test_vim9_builtin.vim
19379
19380Patch 8.2.3157
19381Problem: Crypt test may fail on MS-Windows.
19382Solution: Ignore "[unix]" in the file message. (Christian Brabandt,
19383 closes #8561)
19384Files: src/testdir/test_crypt.vim
19385
19386Patch 8.2.3158
19387Problem: Strange error message when using islocked() with a number.
19388 (Yegappan Lakshmanan)
19389Solution: Check that the name is empty.
19390Files: src/evalfunc.c, src/testdir/test_functions.vim
19391
19392Patch 8.2.3159
19393Problem: Cursor displayed in wrong position after deleting line.
19394Solution: When deleting lines do not approximate botline. (fixes #8559)
19395Files: src/change.c
19396
19397Patch 8.2.3160
19398Problem: 'breakindent' does not work well for bulleted and numbered lists.
19399Solution: Add the "list" entry to 'breakindentopt'. (Christian Brabandt,
19400 closes #8564, closes #1661)
19401Files: runtime/doc/options.txt, src/indent.c, src/structs.h,
19402 src/testdir/test_breakindent.vim
19403
19404Patch 8.2.3161
19405Problem: Vim9: no error when reltime() has invalid arguments.
19406Solution: Add an error. (closes #8562)
19407Files: src/time.c, src/testdir/test_vim9_builtin.vim
19408
19409Patch 8.2.3162
19410Problem: Vim9: argument types are not checked at compile time.
19411Solution: Add more type checks. (Yegappan Lakshmanan, closes #8560)
19412Files: runtime/doc/channel.txt, src/clientserver.c, src/cmdhist.c,
19413 src/errors.h, src/evalfunc.c, src/evalwindow.c, src/filepath.c,
19414 src/globals.h, src/popupwin.c, src/proto/typval.pro, src/sign.c,
19415 src/strings.c, src/terminal.c, src/testdir/test_normal.vim,
19416 src/testdir/test_reltime.vim, src/testdir/test_vim9_builtin.vim,
19417 src/testdir/test_vim9_expr.vim, src/testing.c, src/textprop.c,
19418 src/time.c, src/typval.c
19419
19420Patch 8.2.3163
19421Problem: Location list window may open a wrong file.
19422Solution: Also update the qf_ptr field. (Wei-Chung Wen, closes #8565,
19423 closes #8566)
19424Files: src/quickfix.c, src/testdir/test_quickfix.vim
19425
19426Patch 8.2.3164
19427Problem: MS-Windows: reported version lacks patchlevel, causing some update
19428 tools to update too often. (Klaus Frank)
19429Solution: Add the patchlevel to the version. (Christian Brabandt)
19430Files: src/dosinst.c
19431
19432Patch 8.2.3165
19433Problem: Vim9: in a || expression the error line number may be wrong.
19434Solution: Save and restore the line number when checking the type.
19435 (closes #8569)
19436Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
19437
19438Patch 8.2.3166
19439Problem: Vim9: nested autoload call error overruled by "Unknown error".
19440Solution: Check need_rethrow before giving an "Unknown error".
19441 (closes #8568)
19442Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
19443
19444Patch 8.2.3167
19445Problem: Get E12 in a job callback when searching for tags. (Andy Stewart)
19446Solution: Use the sandbox only for executing a command, not for searching.
19447 (closes #8511)
19448Files: src/tag.c
19449
19450Patch 8.2.3168
19451Problem: Vim9: type error for constant of type any.
19452Solution: Do add a runtime type check if a constant has type any.
19453 (closes #8570)
19454Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
19455
19456Patch 8.2.3169
19457Problem: Vim9: cannot handle nested inline function.
19458Solution: Check for nested inline function. (closes #8575)
19459Files: src/userfunc.c, src/testdir/test_vim9_func.vim,
19460 src/testdir/test_vim9_expr.vim
19461
19462Patch 8.2.3170
19463Problem: Illegal memory access in test.
19464Solution: Check pointer is not before the start of the line.
19465Files: src/userfunc.c
19466
19467Patch 8.2.3171
19468Problem: Another illegal memory access in test.
19469Solution: Check pointer is after the start of the line.
19470Files: src/userfunc.c
19471
19472Patch 8.2.3172
19473Problem: MzScheme test fails. (Christian Brabandt)
19474Solution: Correct function name.
19475Files: src/testdir/test_vim9_builtin.vim
19476
19477Patch 8.2.3173
19478Problem: Vim9: argument types are not checked at compile time.
19479Solution: Add more type checks. (Yegappan Lakshmanan, closes #8581)
19480Files: src/diff.c, src/errors.h, src/evalfunc.c, src/globals.h,
19481 src/job.c, src/proto/typval.pro, src/strings.c, src/terminal.c,
19482 src/testdir/test_vim9_builtin.vim, src/typval.c
19483
19484Patch 8.2.3174
19485Problem: Vim9: "legacy undo" finds "undo" variable.
19486Solution: Do not pass lookup function to find_ex_command(). (closes #8563)
19487Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
19488
19489Patch 8.2.3175
19490Problem: Vim9: using illegal pointer with inline function inside a lambda.
19491Solution: Clear eval_tofree_cmdline when advancing to the next line.
19492 (closes #8578)
19493Files: src/eval.c, src/testdir/test_vim9_func.vim
19494
19495Patch 8.2.3176
19496Problem: Vim9: no type error for comparing number with string.
19497Solution: Add a runtime type check. (closes #8571)
19498Files: src/typval.c, src/errors.h, src/testdir/test_vim9_expr.vim
19499
19500Patch 8.2.3177
19501Problem: Vim9: can not use "for _ in expr" at script level.
19502Solution: Skip assignment if the loop variable is "_".
19503Files: src/eval.c, src/testdir/test_vim9_script.vim
19504
19505Patch 8.2.3178
19506Problem: Vim9: the file name of an :import cannot be an expression.
19507Solution: Accept an expression that results in a string. Do not support
19508 :import in a function.
19509Files: runtime/doc/vim9.txt, src/vim9script.c, src/vim9compile.c,
19510 src/testdir/test_vim9_script.vim
19511
19512Patch 8.2.3179
19513Problem: Vim9: cannot assign to an imported variable at script level.
19514Solution: Lookup imported items when assigning.
19515Files: src/evalvars.c, src/errors.h, src/eval.c,
19516 src/testdir/test_vim9_script.vim
19517
19518Patch 8.2.3180
19519Problem: Vim9: memory leak when concatenating to an imported string.
19520Solution: Clear the destination.
19521Files: src/evalvars.c
19522
19523Patch 8.2.3181
19524Problem: Vim9: builtin function test fails without channel feature.
19525Solution: Add feature checks. (Dominique Pellé, closes #8586) Make feature
19526 checks more consistent.
19527Files: src/testdir/test_vim9_builtin.vim
19528
19529Patch 8.2.3182
19530Problem: Vim9: crash when using removing items from a constant list.
19531 (Yegappan Lakshmanan)
19532Solution: When a list was allocated with items copy them.
19533Files: src/list.c, src/testdir/test_vim9_builtin.vim
19534
19535Patch 8.2.3183
19536Problem: Duplicate error numbers.
19537Solution: Adjust the error numbers.
19538Files: src/errors.h, src/testdir/test_vim9_builtin.vim
19539
19540Patch 8.2.3184
19541Problem: Cannot add a digraph with a leading space. It is not easy to list
19542 existing digraphs.
19543Solution: Add setdigraph(), setdigraphlist(), getdigraph() and
19544 getdigraphlist(). (closes #8580)
19545Files: runtime/doc/digraph.txt, runtime/doc/eval.txt,
19546 runtime/doc/usr_41.txt, src/digraph.c, src/evalfunc.c,
19547 src/ex_docmd.c, src/globals.h, src/errors.h,
19548 src/proto/digraph.pro, src/testdir/test_digraph.vim
19549
19550Patch 8.2.3185
19551Problem: Vim9: start of inline function found in comment line.
19552Solution: Do not check for inline function in comment line. (closes #8589)
19553Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
19554
19555Patch 8.2.3186
19556Problem: Vim9: not all failures for import tested
19557Solution: Test more import failures
19558Files: src/errors.h, src/evalvars.c, src/testdir/test_vim9_script.vim
19559
19560Patch 8.2.3187
19561Problem: Vim9: popup timer callback is not compiled.
19562Solution: Compile the callback when creating the timer.
19563Files: src/vim9compile.c, src/proto/vim9compile.pro, src/popupwin.c
19564
19565Patch 8.2.3188
19566Problem: Vim9: argument types are not checked at compile time.
19567Solution: Add several more type checks, also at runtime. (Yegappan
19568 Lakshmanan, closes #8587)
19569Files: src/blob.c, src/channel.c, src/clientserver.c, src/cmdexpand.c,
19570 src/cmdhist.c, src/dict.c, src/diff.c, src/errors.h, src/eval.c,
19571 src/evalbuffer.c, src/evalfunc.c, src/evalvars.c,
19572 src/evalwindow.c, src/filepath.c, src/globals.h, src/insexpand.c,
19573 src/job.c, src/list.c, src/map.c, src/match.c,
19574 src/proto/typval.pro, src/quickfix.c, src/search.c, src/sign.c,
19575 src/strings.c, src/terminal.c, src/testdir/test_blob.vim,
19576 src/testdir/test_gui.vim, src/testdir/test_vim9_builtin.vim,
19577 src/testing.c, src/textprop.c, src/time.c, src/typval.c
19578
19579Patch 8.2.3189
19580Problem: Vim9: error when using "try|".
19581Solution: Allow for "|" right after a command.
19582Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
19583
19584Patch 8.2.3190
19585Problem: Error messages are spread out.
19586Solution: Move error messages to errors.h and give them a clear name.
19587Files: src/globals.h, src/errors.h, src/buffer.c, src/debugger.c,
19588 src/digraph.c, src/edit.c, src/ex_cmds.c, src/ex_cmds2.c,
19589 src/ex_docmd.c, src/ex_eval.c, src/gui.c, src/list.c, src/main.c,
19590 src/map.c, src/match.c, src/quickfix.c, src/regexp.c,
19591 src/regexp_bt.c, src/regexp_nfa.c, src/register.c, src/search.c,
19592 src/session.c, src/spell.c, src/syntax.c, src/time.c,
19593 src/userfunc.c, src/vim9execute.c, src/window.c
19594
19595Patch 8.2.3191
19596Problem: Vim9: not enough code is tested.
19597Solution: Use CheckLegacyAndVim9Success() in more places. Fix uncovered
19598 problems.
19599Files: src/vim9compile.c, src/vim9execute.c,
19600 src/testdir/test_listdict.vim
19601
19602Patch 8.2.3192 (after 8.2.3190)
19603Problem: Build failure with small version (Tony Mechelynck).
19604Solution: Remove stray #ifdef.
19605Files: src/errors.h
19606
19607Patch 8.2.3193
19608Problem: screenpos() is wrong when the last line is partially visible and
19609 'display' is "lastline".
19610Solution: Also compute the position for a partially visible line.
19611 (closes #8599)
19612Files: src/move.c, src/testdir/test_cursor_func.vim
19613
19614Patch 8.2.3194
19615Problem: Vim9: argument types are not checked at compile time.
19616Solution: Add several more type checks, simplify some. (Yegappan
19617 Lakshmanan, closes #8598)
19618Files: src/diff.c, src/evalbuffer.c, src/evalfunc.c, src/job.c,
19619 src/proto/typval.pro, src/sign.c, src/terminal.c,
19620 src/testdir/test_vim9_builtin.vim, src/typval.c
19621
19622Patch 8.2.3195
19623Problem: Vim9: unclear error when passing too many arguments to lambda.
19624Solution: Pass the expression itself instead of "[expression]".
19625 (closes #8604)
19626Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
19627
19628Patch 8.2.3196
19629Problem: Vim9: bool expression with numbers only fails at runtime.
19630Solution: Check constant to be bool at compile time. (closes #8603)
19631Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
19632
19633Patch 8.2.3197
19634Problem: Error messages are spread out.
19635Solution: Move a few more error messages to errors.h.
19636Files: src/globals.h, src/errors.h, src/edit.c, src/ex_cmds.c,
19637 src/ex_docmd.c, src/evalvars.c, src/option.c, src/quickfix.c,
19638 src/regexp_bt.c, src/regexp_nfa.c, src/regexp.c, src/undo.c,
19639 src/vim9compile.c, src/vim9script.c
19640
19641Patch 8.2.3198
19642Problem: Cannot use 'formatlistpat' for breakindent.
19643Solution: Use a negative list indent. (Maxim Kim, closes #8594)
19644Files: runtime/doc/options.txt, src/indent.c,
19645 src/testdir/test_breakindent.vim
19646
19647Patch 8.2.3199
19648Problem: Vim9: execution speed can be improved.
19649Solution: Make the break counter static.
19650Files: src/vim9execute.c
19651
19652Patch 8.2.3200
19653Problem: Vim9: hard to guess where a type error is given.
19654Solution: Add the function name where possible. (closes #8608)
19655Files: src/dict.c, src/proto/dict.pro, src/eval.c, src/list.c,
19656 src/vim9compile.c, src/vim9execute.c, src/structs.h,
19657 src/vim9type.c, src/proto/vim9type.pro, src/if_py_both.h,
19658 src/errors.h, src/testdir/test_vim9_builtin.vim
19659
19660Patch 8.2.3201 (after 8.2.3200)
19661Problem: Crash in test.
19662Solution: Initialize "where".
19663Files: src/eval.c, src/evalvars.c
19664
19665Patch 8.2.3202
19666Problem: Vim9: tests are only executed for legacy script.
19667Solution: Run more tests also for Vim9 script. Fix uncovered problems.
19668Files: src/vim9execute.c, src/ex_docmd.c, src/testdir/test_listdict.vim
19669
19670Patch 8.2.3203
19671Problem: Vim9: compiled string expression causes type error. (Yegappan
19672 Lakshmanan)
19673Solution: Remove the string type from the stack.
19674Files: src/vim9compile.c, src/evalfunc.c
19675
19676Patch 8.2.3204
19677Problem: Display garbled when 'cursorline' is set and lines wrap. (Gabriel
19678 Dupras)
19679Solution: Avoid inserting lines twice. (closes #7255)
19680Files: src/drawscreen.c, src/testdir/test_cursorline.vim,
19681 src/testdir/dumps/Test_cursorline_redraw_1.dump,
19682 src/testdir/dumps/Test_cursorline_redraw_2.dump
19683
19684Patch 8.2.3205
19685Problem: Coverity reports a null pointer dereference.
19686Solution: Change the logic to avoid Coverity gets confused.
19687Files: src/vim9compile.c
19688
19689Patch 8.2.3206
19690Problem: Vim9: argument types are not checked at compile time.
19691Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8611)
19692Files: runtime/doc/eval.txt, src/blob.c, src/cmdhist.c, src/dict.c,
19693 src/errors.h, src/evalfunc.c, src/filepath.c, src/globals.h,
19694 src/job.c, src/list.c, src/match.c, src/misc1.c, src/popupwin.c,
19695 src/proto/typval.pro, src/sign.c, src/terminal.c,
19696 src/testdir/test_blob.vim, src/testdir/test_vim9_builtin.vim,
19697 src/typval.c
19698
19699Patch 8.2.3207
19700Problem: Vim9: crash when compiling string fails. (Yegappan Lakshmanan)
19701Solution: Adjust the type stack length.
19702Files: src/vim9compile.c, src/testdir/test_vim9_builtin.vim
19703
19704Patch 8.2.3208
19705Problem: Dynamic library load error does not mention why it failed.
19706Solution: Add the error message. (Martin Tournoij, closes #8621)
19707Files: src/globals.h, src/if_cscope.c, src/if_lua.c, src/if_mzsch.c,
19708 src/if_perl.xs, src/if_python.c, src/if_python3.c, src/if_ruby.c,
19709 src/if_tcl.c, src/mbyte.c, src/os_win32.c, src/proto/os_win32.pro,
19710 src/terminal.c
19711
19712Patch 8.2.3209
19713Problem: Vim9: lambda doesn't find block-local variable.
19714Solution: Adjust how a script-local variable is found. (closes #8614)
19715Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
19716
19717Patch 8.2.3210
19718Problem: Vim9: searchpair() sixth argument is compiled. (Yegappan
19719 Lakshmanan)
19720Solution: Only compile the fifth argument.
19721Files: src/vim9compile.c, src/testdir/test_vim9_builtin.vim
19722
19723Patch 8.2.3211
19724Problem: Vim9: argument types are not checked at compile time.
19725Solution: Add several more type checks. Fix type check for matchaddpos().
19726 (Yegappan Lakshmanan, closes #8619)
19727Files: src/channel.c, src/evalfunc.c, src/evalvars.c, src/if_cscope.c,
19728 src/job.c, src/proto/typval.pro,
19729 src/testdir/test_vim9_builtin.vim, src/time.c, src/typval.c
19730
19731Patch 8.2.3212
19732Problem: Vim9: execution speed can be improved.
19733Solution: Use __builtin_expect() to have the compiler produce better code.
19734 (Dominique Pellé, closes #8613)
19735Files: src/vim9execute.c
19736
19737Patch 8.2.3213
19738Problem: NOCOMPOUNDSUGS entry in spell file not tested.
19739Solution: Add a test. (Dominique Pellé, closes #8624)
19740Files: src/testdir/test_spellfile.vim
19741
19742Patch 8.2.3214
19743Problem: MS-Windows: passing /D does not set the install location.
19744Solution: Adjust how the installer uses $VIM. Update the documentation.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019745 (Christian Brabandt, Ken Takata, closes #8605)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019746Files: nsis/gvim.nsi, runtime/doc/os_win32.txt
19747
19748Patch 8.2.3215
19749Problem: Vim9: argument types are not checked at compile time.
19750Solution: Add several more type checks. Sort the argument lists.
19751 (Yegappan Lakshmanan, closes #8626)
19752Files: src/change.c, src/evalfunc.c, src/filepath.c, src/sound.c,
19753 src/testdir/test_gui.vim, src/testdir/test_vim9_builtin.vim,
19754 src/testing.c
19755
19756Patch 8.2.3216
19757Problem: Vim9: crash when using variable in a loop at script level.
19758Solution: Do not clear the variable if a function was defined.
19759 Do not create a new entry in sn_var_vals every time.
19760 (closes #8628)
19761Files: src/eval.c, src/ex_eval.c, src/vim9script.c, src/userfunc.c,
19762 src/evalvars.c, src/structs.h
19763
19764Patch 8.2.3217 (after 8.2.3216)
19765Problem: Build failure.
19766Solution: Add missing changes.
19767Files: src/globals.h
19768
19769Patch 8.2.3218
19770Problem: When using xchaha20 crypt undo file is not removed.
19771Solution: Reset 'undofile' and delete the file. (Christian Brabandt,
19772 closes #8630, closes #8467)
19773Files: src/bufwrite.c, src/crypt.c, src/proto/undo.pro,
19774 src/testdir/test_crypt.vim, src/undo.c
19775
19776Patch 8.2.3219
19777Problem: :find searches non-existing directories.
19778Solution: Check the path is not "..". Update help. (Christian Brabandt,
19779 closes #8612, closes #8533)
19780Files: runtime/doc/editing.txt, src/findfile.c,
19781 src/testdir/test_findfile.vim
19782
19783Patch 8.2.3220
19784Problem: Test_term_setansicolors() fails in some configurations.
19785Solution: Check available features. (Dominique Pellé, closes #8636)
19786Files: src/testdir/test_vim9_builtin.vim
19787
19788Patch 8.2.3221
19789Problem: Vim9: argument types are not checked at compile time.
19790Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8632)
19791Files: src/evalfunc.c, src/popupwin.c, src/proto/typval.pro,
19792 src/testdir/test_assert.vim, src/testdir/test_vim9_builtin.vim,
19793 src/testdir/test_vim9_script.vim, src/testing.c, src/typval.c
19794
19795Patch 8.2.3222
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019796Problem: Vim9: cannot use loop variable later as lambda argument.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019797Solution: When not in function context check the current block ID.
19798 (closes #8637)
19799Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
19800
19801Patch 8.2.3223
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019802Problem: Vim: using {} block in autoloaded omnifunc fails.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019803Solution: Allow using {} block when text is locked. (closes #8631)
19804Files: src/ex_cmds.h, src/testdir/test_ins_complete.vim
19805
19806Patch 8.2.3224
19807Problem: Cannot call script-local function after :vim9cmd. (Christian J.
19808 Robinson)
19809Solution: Skip over "<SNR>123".
19810Files: src/vim9compile.c, src/eval.c, src/testdir/test_vim9_cmd.vim
19811
19812Patch 8.2.3225
19813Problem: Incsearch highlighting is attempted halfway a mapping.
19814Solution: Only do incsearch highlighting if keys were typed or there is no
19815 more typeahead.
19816Files: src/ex_getln.c
19817
19818Patch 8.2.3226
19819Problem: New digraph functions use old naming scheme.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019820Solution: Use the digraph_ prefix. (Hirohito Higashi, closes #8642)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019821Files: runtime/doc/digraph.txt, runtime/doc/eval.txt,
19822 runtime/doc/usr_41.txt, src/digraph.c, src/edit.c, src/errors.h,
19823 src/evalfunc.c, src/proto/digraph.pro,
19824 src/testdir/test_digraph.vim
19825
19826Patch 8.2.3227
19827Problem: 'virtualedit' can only be set globally.
19828Solution: Make 'virtualedit' global-local. (Gary Johnson, closes #8638)
19829Files: runtime/doc/options.txt, src/buffer.c, src/change.c,
19830 src/drawscreen.c, src/edit.c, src/misc2.c, src/normal.c,
19831 src/ops.c, src/option.c, src/option.h, src/optiondefs.h,
19832 src/optionstr.c, src/proto/option.pro, src/register.c,
19833 src/structs.h, src/testdir/test_virtualedit.vim
19834
19835Patch 8.2.3228
19836Problem: Cannot use a simple block for the :command argument. (Maarten
19837 Tournoij)
19838Solution: Recognize a simple {} block. (issue #8623)
19839Files: runtime/doc/map.txt, src/misc2.c, src/proto/misc2.pro,
19840 src/usercmd.c, src/testdir/test_usercommands.vim
19841
19842Patch 8.2.3229
19843Problem: Vim9: runtime and compile time type checks are not the same.
19844Solution: Add more runtime type checks for builtin functions. (Yegappan
19845 Lakshmanan, closes #8646)
19846Files: src/arglist.c, src/change.c, src/channel.c, src/cindent.c,
19847 src/clientserver.c, src/cmdhist.c, src/dict.c, src/diff.c,
19848 src/digraph.c, src/errors.h, src/eval.c, src/evalbuffer.c,
19849 src/evalfunc.c, src/evalwindow.c, src/ex_docmd.c, src/ex_getln.c,
19850 src/filepath.c, src/findfile.c, src/float.c, src/fold.c,
19851 src/getchar.c, src/indent.c, src/insexpand.c, src/job.c,
19852 src/json.c, src/list.c, src/mark.c, src/match.c, src/mbyte.c,
19853 src/menu.c, src/misc1.c, src/move.c, src/popupwin.c,
19854 src/proto/typval.pro, src/quickfix.c, src/search.c, src/sign.c,
19855 src/sound.c, src/strings.c, src/terminal.c,
19856 src/testdir/test_assert.vim, src/testdir/test_blob.vim,
19857 src/testdir/test_execute_func.vim,
19858 src/testdir/test_float_func.vim, src/testdir/test_functions.vim,
19859 src/testdir/test_glob2regpat.vim, src/testdir/test_listdict.vim,
19860 src/testdir/test_vim9_builtin.vim,
19861 src/testdir/test_vim9_script.vim, src/testing.c, src/textprop.c,
19862 src/time.c, src/typval.c, src/undo.c
19863
19864Patch 8.2.3230
19865Problem: Vim9: type error when function return type is not known yet.
19866Solution: When return type is unknown, use "any". (closes #8644)
19867Files: src/vim9compile.c, src/testdir/test_vim9_builtin.vim
19868
19869Patch 8.2.3231
19870Problem: Build failure with small features.
19871Solution: Adjust #ifdef.
19872Files: src/errors.h
19873
19874Patch 8.2.3232 (after 8.2.3229)
19875Problem: system() does not work without a second argument.
19876Solution: Do not require a second argument. (Yegappan Lakshmanan,
19877 closes #8651, closes #8650)
19878Files: src/misc1.c, src/proto/typval.pro,
19879 src/testdir/test_vim9_builtin.vim, src/typval.c
19880
19881Patch 8.2.3233
19882Problem: prop_list() and prop_find() do not indicate the buffer for the
19883 used type.
19884Solution: Add "type_bufnr" to the results. (closes #8647)
19885Files: runtime/doc/textprop.txt, src/testdir/test_textprop.vim,
19886 src/textprop.c
19887
19888Patch 8.2.3234
19889Problem: Crash when printing long string with Lua.
19890Solution: Remove lua_pop(). (Martin Tournoij, closes #8648)
19891Files: src/if_lua.c, src/testdir/test_lua.vim
19892
19893Patch 8.2.3235
19894Problem: Cannot use lambda in {} block in user command. (Martin Tournoij)
19895Solution: Do not go over the end of the lambda.
19896Files: src/userfunc.c, src/testdir/test_usercommands.vim
19897
19898Patch 8.2.3236
19899Problem: mode() does not indicate using CTRL-O in Select mode.
19900Solution: Use "vs" and similar. (closes #8640)
19901Files: runtime/doc/eval.txt, src/globals.h, src/misc1.c, src/normal.c,
19902 src/testdir/test_functions.vim
19903
19904Patch 8.2.3237
19905Problem: When a builtin function gives an error processing continues.
19906Solution: In Vim9 script return FAIL in get_func_tv().
19907Files: src/userfunc.c, src/testdir/test_vim9_assign.vim
19908
19909Patch 8.2.3238
19910Problem: Vim9: error message does not indicate the location.
19911Solution: Add the relevant text. (issue #8634)
19912Files: src/errors.h, src/vim9compile.c, src/testdir/test_vim9_expr.vim
19913
19914Patch 8.2.3239
19915Problem: Vim9: no error using heredoc for a number variable.
19916Solution: Add a type check. (closes #8627)
19917Files: src/vim9compile.c, src/evalvars.c,
19918 src/testdir/test_vim9_assign.vim
19919
19920Patch 8.2.3240
19921Problem: Lua print() does not work properly.
19922Solution: Put back lua_pop().
19923Files: src/if_lua.c, src/testdir/test_lua.vim
19924
19925Patch 8.2.3241
19926Problem: Vim9: memory leak when function reports an error.
19927Solution: Clear the return value.
19928Files: src/userfunc.c
19929
19930Patch 8.2.3242
19931Problem: Vim9: valgrind reports leaks in builtin function test.
19932Solution: Do not start a job.
19933Files: src/testdir/test_vim9_builtin.vim
19934
19935Patch 8.2.3243
19936Problem: MS-Windows: the "edit with multiple Vim" choice is not that
19937 useful.
19938Solution: Change it to "Edit with multiple tabs". (Michael Soyka,
19939 closes #8645)
19940Files: src/GvimExt/gvimext.cpp, src/GvimExt/gvimext.h
19941
19942Patch 8.2.3244
19943Problem: Lua 5.3 print() with a long string crashes.
19944Solution: Use a growarray instead of a Lua buffer. (Yegappan Lakshmanan,
19945 closes #8655)
19946Files: src/if_lua.c, src/misc2.c, src/proto/misc2.pro
19947
19948Patch 8.2.3245
19949Problem: The crypt key may appear in a swap partition.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019950Solution: When using xchacha20 use sodium_mlock(). (Christian Brabandt,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019951 closes #8657)
19952Files: src/buffer.c, src/crypt.c, src/errors.h, src/fileio.c,
19953 src/memline.c, src/vim.h
19954
19955Patch 8.2.3246
19956Problem: Memory use after free.
19957Solution: When clearing a string option set the pointer to "empty_option".
19958Files: src/option.c
19959
19960Patch 8.2.3247
19961Problem: Using uninitialized memory when checking for crypt method.
19962Solution: Check the header length before using the salt and seed.
19963Files: src/fileio.c
19964
19965Patch 8.2.3248
19966Problem: Vim9: error message for wrong input uses wrong line number.
19967Solution: Use the line number of the start of the command. (issue #8653)
19968Files: src/vim9script.c, src/testdir/test_vim9_script.vim
19969
19970Patch 8.2.3249
19971Problem: Vim9: error for re-imported function with default argument.
19972Solution: Do not check argument type if it is still unknown. (closes #8653)
19973Files: src/vim9type.c, src/proto/vim9type.pro, src/vim9script.c,
19974 src/vim.h, src/eval.c, src/vim9execute.c,
19975 src/testdir/test_vim9_script.vim
19976
19977Patch 8.2.3250
19978Problem: MS-Windows: cannot build with libsodium.
19979Solution: Change FEAT_SODIUM into HAVE_SODIUM. (Christian Brabandt,
19980 closes #8668, closes #8663)
19981Files: src/Make_mvc.mak
19982
19983Patch 8.2.3251
19984Problem: Listing builtin_gui as an available terminal is confusing.
19985Solution: Do not list builtin_gui. (Christian Brabandt, closes #8669,
19986 closes #8661)
19987Files: src/term.c, src/testdir/test_termcodes.vim
19988
19989Patch 8.2.3252
19990Problem: Duplicated code for adding buffer lines.
19991Solution: Move code to a common function. Also move map functions to map.c.
19992 (Yegappan Lakshmanan, closes #8665)
19993Files: src/evalbuffer.c, src/evalfunc.c, src/map.c, src/proto/map.pro
19994
19995Patch 8.2.3253
19996Problem: Channel test fails randomly.
19997Solution: Add a sleep after sending the "echoerr" command. (Michael Soyka)
19998Files: src/testdir/test_channel.vim, src/testdir/test_channel.py
19999
20000Patch 8.2.3254
20001Problem: win_gettype() does not recognize a quickfix window.
20002Solution: Add "quickfix" and "loclist". (Yegappan Lakshmanan, closes #8676)
20003Files: runtime/doc/eval.txt, src/evalwindow.c, src/misc2.c,
20004 src/testdir/test_quickfix.vim
20005
20006Patch 8.2.3255
20007Problem: ci" finds following string but ci< and others don't.
20008Solution: When not inside an object find the start. (Connor Lane Smit,
20009 closes #8670)
20010Files: src/search.c, src/testdir/test_textobjects.vim, src/textobject.c
20011
20012Patch 8.2.3256
20013Problem: Executable test may fail on new Ubuntu system.
20014Solution: Consider /usr/bin/cat and /bin/cat the same.
20015Files: src/testdir/test_functions.vim
20016
20017Patch 8.2.3257
Bram Moolenaar1588bc82022-03-08 21:35:07 +000020018Problem: Calling prop_find() with -1 for ID gives erroneous error. (Naohiro
Bram Moolenaarc51cf032022-02-26 12:25:45 +000020019 Ono)
20020Solution: When passing -1 use -2. (closes #8674)
20021Files: src/textprop.c, src/testdir/test_textprop.vim
20022
20023Patch 8.2.3258
20024Problem: Error messages have the wrong text.
20025Solution: Adjust the error message.
20026Files: src/errors.h, src/typval.c, src/testdir/test_vim9_builtin.vim
20027
20028Patch 8.2.3259
20029Problem: When 'indentexpr' causes an error the did_throw flag may remain
20030 set.
20031Solution: Reset did_throw and show the error. (closes #8677)
20032Files: src/indent.c, src/ex_docmd.c, src/proto/ex_docmd.pro
20033
20034Patch 8.2.3260
20035Problem: Build failure with small features.
20036Solution: Add #ifdef.
20037Files: src/ex_docmd.c
20038
20039Patch 8.2.3261
20040Problem: Vim9: when compiling repeat(123, N) return type is number.
20041Solution: Make return type a string. (closes #8664)
20042Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
20043
20044Patch 8.2.3262
20045Problem: Build failure when ABORT_ON_INTERNAL_ERROR is defined.
20046Solution: Adjust how estack_len_before is used.
20047Files: src/ex_docmd.c
20048
20049Patch 8.2.3263
20050Problem: Vim9: "..=" does not accept same types as the ".." operator.
20051Solution: Convert value to string like ".." does. (issue #8664)
20052Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
20053 src/testdir/test_vim9_disassemble.vim
20054
20055Patch 8.2.3264 (after 8.2.3263)
20056Problem: Vim9: assign test fails.
20057Solution: Add missing change.
20058Files: src/eval.c
20059
20060Patch 8.2.3265
20061Problem: Smartcase does not work correctly in very magic pattern.
20062Solution: Take the magicness into account when skipping over regexp items.
20063 (Christian Brabandt, closes #8682, closes #7845)
20064Files: src/search.c, src/testdir/test_search.vim
20065
20066Patch 8.2.3266
20067Problem: Vim9: assignment with two indexes may check next line.
20068Solution: Limit the number of lines to avoid checking the next line when
Bram Moolenaar1588bc82022-03-08 21:35:07 +000020069 assigning to a LHS subscript. (closes #8660)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000020070Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
20071
20072Patch 8.2.3267
20073Problem: Vim9: crash when disassembling a function that uses a deleted
20074 script variable.
20075Solution: Check the variable still exists. (closes #8683)
20076Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim
20077
20078Patch 8.2.3268
20079Problem: Cannot use a block with :autocmd like with :command.
20080Solution: Add support for a {} block after :autocmd. (closes #8620)
20081Files: runtime/doc/autocmd.txt, runtime/doc/map.txt, src/autocmd.c,
20082 src/proto/autocmd.pro, src/usercmd.c, src/proto/usercmd.pro,
20083 src/ex_docmd.c, src/vim.h, src/testdir/test_autocmd.vim
20084
20085Patch 8.2.3269
20086Problem: Vim9: wrong argument check for partial. (Naohiro Ono)
20087Solution: Handle getting return type without arguments. Correct the minimal
20088 number of arguments for what is included in the partial.
20089 (closes #8667)
20090Files: src/evalfunc.c, src/vim9type.c, src/testdir/test_vim9_func.vim
20091
20092Patch 8.2.3270
20093Problem: prop_find() finds property with ID -2.
20094Solution: Use a separate flag to indicate an ID was specified. (issue #8674)
20095Files: src/textprop.c
20096
20097Patch 8.2.3271
20098Problem: Vim9: cannot use :command or :au with a block in a :def function.
20099Solution: Recognize the start of the block.
20100Files: src/userfunc.c, src/usercmd.c, src/ex_docmd.c,
20101 src/proto/ex_docmd.pro, src/vim9compile.c,
20102 src/testdir/test_vim9_script.vim
20103
20104Patch 8.2.3272
20105Problem: Cannot use id zero with prop_find(). (Naohiro Ono)
20106Solution: Also accept id zero.
20107Files: src/textprop.c, src/testdir/test_textprop.vim
20108
20109Patch 8.2.3273
20110Problem: Autocmd test fails.
20111Solution: Require white space before the "{" that starts a block.
20112Files: src/userfunc.c
20113
20114Patch 8.2.3274
20115Problem: Macro for printf format check can be simplified.
20116Solution: Add ATTRIBUTE_FORMAT_PRINTF(). (Dominique Pellé, issue #8635)
20117Files: src/channel.c, src/gui_xim.c, src/if_mzsch.c, src/nbdebug.c,
20118 src/nbdebug.h, src/netbeans.c, src/proto.h, src/term.c, src/vim.h,
20119 src/vim9execute.c
20120
20121Patch 8.2.3275
20122Problem: Optimizer can use hints about ga_grow() normally succeeding.
20123Solution: Use GA_GROW_FAILS() and GA_GROW_OK() in several places. (Dominique
20124 Pellé, issue #8635)
20125Files: src/arglist.c, src/macros.h, src/vim9execute.c, src/vim9compile.c
20126
20127Patch 8.2.3276
20128Problem: Vim9: exists() can only be evaluated at runtime.
20129Solution: Evaluate at compile time for option name literals. (closes #8437)
20130Files: src/vim9compile.c, src/evalfunc.c, src/proto/evalfunc.pro,
20131 src/testdir/test_vim9_builtin.vim
20132
20133Patch 8.2.3277 (after 8.2.3276)
20134Problem: Vim9: compiled has() does not work properly.
20135Solution: Fix check for has() vs exists().
20136Files: src/vim9compile.c
20137
20138Patch 8.2.3278
20139Problem: Vim9: error when adding 1 to float.
20140Solution: Accept t_number_bool. (closes #8687)
20141Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
20142
20143Patch 8.2.3279
20144Problem: Vim9: cannot use block in cmdline window.
20145Solution: Add EX_CMDWIN to the CMD_block flags. (closes #8689)
20146Files: src/ex_cmds.h, src/testdir/test_vim9_cmd.vim
20147
20148Patch 8.2.3280
20149Problem: 'virtualedit' local to buffer is not the best solution.
20150Solution: Make it window-local. (Gary Johnson, closes #8685)
20151Files: runtime/doc/options.txt, src/buffer.c, src/drawscreen.c,
20152 src/ops.c, src/option.c, src/option.h, src/optionstr.c,
20153 src/structs.h, src/testdir/test_virtualedit.vim
20154
20155Patch 8.2.3281
20156Problem: Vim9: TODO items in tests can be taken care of.
20157Solution: Update test for now working functionality. (closes #8694)
20158Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_func.vim,
20159 src/testdir/test_vim9_script.vim
20160
20161Patch 8.2.3282
20162Problem: Vim9: error about using -complete without -nargs is confusing.
20163Solution: Change the wording.
20164Files: src/usercmd.c, src/errors.h
20165
20166Patch 8.2.3283
20167Problem: Julia filetype is not recognized
20168Solution: Add filetype detection. (Christian Clason, closes #8700)
20169Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20170
20171Patch 8.2.3284
20172Problem: No error for insert() or remove() changing a locked blob.
20173Solution: Check a blob is not locked before changing it. (Sean Dewar,
20174 closes #8696)
20175Files: src/blob.c, src/errors.h, src/eval.c, src/list.c,
20176 src/proto/blob.pro, src/testdir/test_blob.vim,
20177 src/testdir/test_eval_stuff.vim
20178
20179Patch 8.2.3285
20180Problem: Scdoc filetype is not recognized.
20181Solution: Add filetype detection. (Gregory Anders, closes #8701)
20182Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20183
20184Patch 8.2.3286
20185Problem: win_enter_ext() has too many boolean arguments.
20186Solution: use one flags argument with defined values.
20187Files: src/window.c
20188
20189Patch 8.2.3287
20190Problem: Channel events not handled in BufEnter autocommand.
20191Solution: Decrement dont_parse_messages earlier. (Tim Pope, closes #8697)
20192Files: src/window.c, src/testdir/test_channel.vim
20193
20194Patch 8.2.3288
20195Problem: Cannot easily access namespace dictionaries from Lua.
20196Solution: Add vim.g, vim.b, etc. (Yegappan Lakshmanan, closes #8693,
20197 from NeoVim)
20198Files: runtime/doc/if_lua.txt, src/if_lua.c, src/testdir/test_lua.vim
20199
20200Patch 8.2.3289 (after 8.2.3287)
20201Problem: Compiler warning for unused variable with small features.
20202Solution: Rearrange #ifdefs.
20203Files: src/window.c
20204
20205Patch 8.2.3290
20206Problem: Vim9: compiling dict may use pointer after free and leak memory on
20207 failure.
20208Solution: Pass a pointer to generate_PUSHS(). (Zdenek Dohnal, closes #8699)
20209Files: src/vim9compile.c
20210
20211Patch 8.2.3291
20212Problem: Coverity warns for not checking return value.
20213Solution: If dict_add() fails give an error message.
20214Files: src/if_lua.c, src/testdir/test_lua.vim
20215
20216Patch 8.2.3292
20217Problem: Underscore in very magic pattern causes a hang. Pattern with \V
20218 are case sensitive. (Yutao Yuan)
20219Solution: Adjust condition for magicness and advance pointer. (Christian
20220 Brabandt, closes #8707, closes #8704, closes #8705)
20221Files: src/search.c, src/testdir/test_search.vim
20222
20223Patch 8.2.3293
20224Problem: Finding completions may cause an endless loop.
20225Solution: Use a better way to check coming back where the search started.
20226 (Andy Gozas, closes #8672, closes #8671)
20227Files: src/insexpand.c, src/testdir/Make_all.mak,
20228 src/testdir/test_ins_complete_no_halt.vim
20229
20230Patch 8.2.3294
20231Problem: Lua: memory leak when adding dict item fails.
20232Solution: Free the typval and the dict item.
20233Files: src/if_lua.c
20234
20235Patch 8.2.3295
20236Problem: 'cursorline' should not apply to 'breakindent'.
20237Solution: Make 'cursorline' apply to 'breakindent' and 'showbreak'
20238 consistently. (closes #8684)
20239Files: src/drawline.c, src/testdir/dumps/Test_Xcursorline_19.dump,
20240 src/testdir/dumps/Test_Xcursorline_20.dump,
20241 src/testdir/dumps/Test_Xcursorline_21.dump,
20242 src/testdir/dumps/Test_Xcursorline_22.dump,
20243 src/testdir/dumps/Test_Xcursorline_23.dump,
20244 src/testdir/dumps/Test_Xcursorline_24.dump,
20245 src/testdir/dumps/Test_diff_with_cul_bri_01.dump,
20246 src/testdir/dumps/Test_diff_with_cul_bri_02.dump,
20247 src/testdir/dumps/Test_diff_with_cul_bri_03.dump,
20248 src/testdir/dumps/Test_diff_with_cul_bri_04.dump,
20249 src/testdir/test_cursorline.vim, src/testdir/test_diffmode.vim
20250
20251Patch 8.2.3296
20252Problem: Vim9: cannot add a number to a float.
20253Solution: Accept a number if the destination is a float. (closes #8703)
20254Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
20255
20256Patch 8.2.3297
20257Problem: Cannot use all commands inside a {} block after :command and
20258 :autocmd.
20259Solution: Do consider \n to separate commands. (closes #8620)
20260Files: runtime/doc/map.txt, src/ex_docmd.c, src/proto/ex_docmd.pro,
20261 src/ex_eval.c, src/proto/ex_eval.pro, src/eval.c, src/evalvars.c,
20262 src/ex_cmds.c, src/syntax.c, src/userfunc.c, src/vim9compile.c,
20263 src/vim9script.c, src/errors.h, src/testdir/test_autocmd.vim,
20264 src/testdir/test_usercommands.vim
20265
20266Patch 8.2.3298
20267Problem: Build failure with small features.
20268Solution: Add #ifdef.
20269Files: src/ex_docmd.c
20270
20271Patch 8.2.3299
20272Problem: Vim9: exists() does not handle much at compile time.
20273Solution: Handle variable names. (closes #8688)
20274Files: src/vim9compile.c, src/evalfunc.c,
20275 src/testdir/test_vim9_builtin.vim
20276
20277Patch 8.2.3300
20278Problem: Lua: can only execute one Vim command at a time. Not easy to get
20279 the Vim version.
20280Solution: Make vim.command() accept multiple lines. Add vim.version().
20281 (Yegappan Lakshmanan, closes #8716)
20282Files: runtime/doc/if_lua.txt, src/evalfunc.c, src/if_lua.c,
20283 src/proto/evalfunc.pro, src/testdir/test_lua.vim,
20284 src/testdir/test_shell.vim
20285
20286Patch 8.2.3301
20287Problem: Memory allocation functions don't have their own place.
20288Solution: Move memory allocation functions to alloc.c. (Yegappan
20289 Lakshmanan, closes #8717)
20290Files: Filelist, src/Make_ami.mak, src/Make_cyg_ming.mak,
20291 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
20292 src/alloc.c, src/misc2.c, src/proto.h, src/proto/alloc.pro,
20293 src/proto/misc2.pro
20294
20295Patch 8.2.3302
20296Problem: Coverity is not run from github.
20297Solution: Add a coverity script. (James McCoy, closes #8714)
20298Files: .github/workflows/coverity.yml, Filelist
20299
20300Patch 8.2.3303
20301Problem: Some structures could be smaller.
20302Solution: Rearrange members to reduce size. (Dominique Pellé, closes #8725)
20303Files: src/structs.h, src/vim9.h, src/vim9execute.c
20304
20305Patch 8.2.3304
20306Problem: Popup window title with wide characters is truncated.
20307Solution: Use vim_strsize() instead of MB_CHARLEN(). (Naruhiko Nishino,
20308 closes #8721)
20309Files: src/popupwin.c, src/testdir/test_popupwin.vim,
20310 src/testdir/dumps/Test_popupwin_multibytetitle.dump
20311
20312Patch 8.2.3305
20313Problem: Vim9: :finally in skipped block not handled correctly.
20314Solution: Check whether :finally is in a skipped block. (Naruhiko Nishino,
20315 closes #8724)
20316Files: src/ex_eval.c, src/vim9compile.c, src/testdir/test_vim9_script.vim
20317
20318Patch 8.2.3306
20319Problem: Unexpected "No matching autocommands".
20320Solution: Do not give the message when aborting. Mention the arguments in
20321 the message. (closes #8690)
20322Files: src/autocmd.c,
20323
20324Patch 8.2.3307
20325Problem: Vim9: :echoconsole cannot access local variables.
20326Solution: Handle like other :echo commands. (closes #8708)
20327Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c,
20328 src/testdir/test_vim9_script.vim,
20329 src/testdir/test_vim9_disassemble.vim
20330
20331Patch 8.2.3308
20332Problem: Vim9: no runtime check for argument type if a function only has
20333 varargs.
20334Solution: Also check argument types if uf_va_type is set. (closes #8715)
20335Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
20336
20337Patch 8.2.3309
20338Problem: Vim9: divide by zero causes a crash.
20339Solution: Give an error message. (closes #8727)
20340Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
20341
20342Patch 8.2.3310
20343Problem: Vim9: unpack assignment does not mention source of type error.
20344Solution: Mention the argument number. (closes #8719)
20345Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
20346 src/testdir/test_vim9_disassemble.vim
20347
20348Patch 8.2.3311
20349Problem: Vim9: check for DO_NOT_FREE_CNT is very slow.
20350Solution: Move to a separate function so it can be skipped by setting
20351 $TEST_SKIP_PAT.
20352Files: src/testdir/test_vim9_expr.vim, src/testdir/runtest.vim
20353
20354Patch 8.2.3312
20355Problem: Vim9: after "if false" line breaks in expression not skipped.
20356Solution: Do parse the expression. (closes #8723)
20357Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
20358
20359Patch 8.2.3313
20360Problem: Unused code in win_exchange() and frame_remove().
20361Solution: Remove the code. (closes #8728)
20362Files: src/window.c
20363
20364Patch 8.2.3314
20365Problem: Behavior of exists() in a :def function is unpredictable.
20366Solution: Add exists_compiled().
20367Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
20368 src/errors.h, src/vim9compile.c, src/testdir/test_vim9_builtin.vim
20369
20370Patch 8.2.3315
20371Problem: Cannot use single quote in a float number for readability.
20372Solution: Support single quotes like in numbers. (closes #8713)
20373Files: src/typval.c, src/float.c, src/proto/float.pro, src/json.c,
20374 src/viminfo.c, src/testdir/test_float_func.vim
20375
20376Patch 8.2.3316 (after 8.2.3315)
20377Problem: Float test fails.
20378Solution: Add missing change.
20379Files: src/evalfunc.c
20380
20381Patch 8.2.3317
20382Problem: Vim9: No error for missing white space before return type.
20383Solution: Check for white space. (closes #8733)
20384Files: src/userfunc.c, src/testdir/test_vim9_func.vim
20385
20386Patch 8.2.3318
20387Problem: Vim9: cannot ignore quotes in number at the command line.
20388Solution: Use in_vim9script() so that after ":vim9" quotes are ignored.
20389Files: src/typval.c, src/testdir/test_float_func.vim
20390
20391Patch 8.2.3319
20392Problem: Coverity action on github does not work.
20393Solution: Remove undefined $SRCDIR. (James McCoy, closes #8739)
20394Files: .github/workflows/coverity.yml
20395
20396Patch 8.2.3320
20397Problem: Some local functions are not static.
20398Solution: Add "static". Move snprintf() related code to strings.c.
20399 (Yegappan Lakshmanan, closes #8734)
20400Files: src/alloc.c, src/channel.c, src/dict.c, src/digraph.c, src/edit.c,
20401 src/ex_docmd.c, src/getchar.c, src/job.c, src/list.c,
20402 src/message.c, src/profiler.c, src/proto/channel.pro,
20403 src/proto/dict.pro, src/proto/digraph.pro, src/proto/edit.pro,
20404 src/proto/ex_docmd.pro, src/proto/getchar.pro, src/proto/job.pro,
20405 src/proto/list.pro, src/proto/profiler.pro, src/proto/spell.pro,
20406 src/proto/vim9compile.pro, src/proto/vim9script.pro,
20407 src/proto/vim9type.pro, src/spell.c, src/strings.c,
20408 src/vim9compile.c, src/vim9script.c, src/vim9type.c, src/window.c
20409
20410Patch 8.2.3321
20411Problem: Some code is not tested.
20412Solution: Add some more tests. (Dominique Pellé, closes #8735)
20413Files: src/testdir/test_excmd.vim, src/testdir/test_writefile.vim
20414
20415Patch 8.2.3322
20416Problem: Vim9: checking type of dict does not check member type.
20417Solution: When getting the type of a typval use dv_type and lv_type.
20418 (closes #8732)
20419Files: src/vim9type.c, src/testdir/test_vim9_builtin.vim
20420
20421Patch 8.2.3323
20422Problem: Help tag for exists_compiled() is wrong. (Maxim Kim)
20423Solution: Adjust the help tag.
20424Files: runtime/doc/eval.txt
20425
20426Patch 8.2.3324
20427Problem: Vim9: Cannot use :silent with :endwhile.
20428Solution: Allow for using the :silent modifier. (closes #8737)
20429Files: src/ex_eval.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
20430 src/vim9compile.c, src/testdir/test_vim9_cmd.vim
20431
20432Patch 8.2.3325
20433Problem: Digraph test fails when LC_ALL is set to "C".
20434Solution: When restoring 'encoding' set it to "utf-8". (closes #8742)
20435Files: src/testdir/test_digraph.vim
20436
20437Patch 8.2.3326
20438Problem: Vim9: no error passing an empty list of the wrong type.
20439Solution: Use ISN_SETTYPE also for "list<any>". (closes #8732)
20440Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
20441 src/testdir/test_vim9_disassemble.vim
20442
20443Patch 8.2.3327
20444Problem: No check for sysconf() failing.
20445Solution: If sysconf() fails use SIGSTKSZ for the signal stack size.
20446 (Zdenek Dohnal, closes #8743)
20447Files: src/os_unix.c
20448
20449Patch 8.2.3328
20450Problem: Coverity error for not checking return value.
20451Solution: Check value is not negative.
20452Files: src/spellfile.c
20453
20454Patch 8.2.3329
20455Problem: v_lock not set when getting value of environment variable.
20456Solution: Set v_lock to zero.
20457Files: src/typval.c
20458
20459Patch 8.2.3330
20460Problem: Coverity reports using uninitialized field.
20461Solution: Initialize the field early.
20462Files: src/tag.c
20463
20464Patch 8.2.3331
20465Problem: Coverity warns for using value without boundary check.
20466Solution: Add a boundary check.
20467Files: src/viminfo.c
20468
20469Patch 8.2.3332
20470Problem: Vim9: cannot assign to range in list.
20471Solution: Implement overwriting a list range.
20472Files: src/vim9compile.c, src/vim9execute.c, src/list.c,
20473 src/proto/list.pro, src/eval.c, src/proto/eval.pro,
20474 src/testdir/test_listdict.vim, src/testdir/test_vim9_assign.vim
20475
20476Patch 8.2.3333
20477Problem: Vim9: not enough tests run with Vim9.
20478Solution: Run a few more tests in Vim9 script and :def function.
20479Files: src/testdir/test_listdict.vim, src/testdir/vim9.vim
20480
20481Patch 8.2.3334
20482Problem: Vim9: not enough tests run with Vim9.
20483Solution: Run a few more tests in Vim9 script and :def function. Fix
20484 islocked(). Fix error for locking local variable.
20485Files: src/evalfunc.c, src/vim9compile.c, src/testdir/test_listdict.vim
20486
20487Patch 8.2.3335
20488Problem: Vim9: not enough tests run with Vim9.
20489Solution: Run a few more tests in Vim9 script and :def function. Fix that
Bram Moolenaar1588bc82022-03-08 21:35:07 +000020490 items(), keys() and values() return zero for a NULL dict.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000020491 Make join() return an empty string for a NULL list. Make sort()
20492 return an empty list for a NULL list.
20493Files: src/dict.c, src/list.c, src/testdir/test_listdict.vim,
20494 src/testdir/vim9.vim
20495
20496Patch 8.2.3336
20497Problem: Behavior of negative index in list change changed. (Naruhiko
20498 Nishino)
20499Solution: Only change it for Vim9 script. (closes #8749)
20500Files: src/list.c, src/testdir/test_listdict.vim
20501
20502Patch 8.2.3337
20503Problem: Completing "call g:" returns entries with just "g:". (Naohiro Ono)
20504Solution: Skip empty strings returned by get_user_func_name(). (closes #8753)
20505Files: src/evalfunc.c, src/testdir/test_cmdline.vim
20506
20507Patch 8.2.3338
20508Problem: Vim9: no type check when assigning a list range. (Naohiro Ono)
20509Solution: Check the member type. (closes #8750)
20510Files: src/list.c, src/testdir/test_listdict.vim
20511
20512Patch 8.2.3339
20513Problem: Vim9: cannot lock a member in a local dict.
20514Solution: Get the local dict from the stack and pass it to get_lval().
20515Files: src/eval.c, src/vim9execute.c, src/vim9compile.c, src/vim9.h,
20516 src/globals.h, src/testdir/test_vim9_cmd.vim,
20517 src/testdir/test_vim9_disassemble.vim
20518
20519Patch 8.2.3340 (after 8.2.3339)
20520Problem: Accessing uninitialized pointer.
20521Solution: Set pointer to NULL.
20522Files: src/eval.c
20523
20524Patch 8.2.3341
20525Problem: Vim9: function call aborted despite try/catch. (Naohiro Ono)
20526Solution: Ignore error caught by try/catch. (closes #8755)
20527Files: src/evalvars.c, src/vim9execute.c, src/message.c, src/time.c,
20528 src/globals.h, src/testdir/vim9.vim, src/testdir/test_vim9_func.vim
20529
20530Patch 8.2.3342 (after 8.2.3341)
20531Problem: Test for :let errors fails.
20532Solution: Adjust the test and how to avoid a second error message.
20533Files: src/evalvars.c, src/testdir/test_let.vim
20534
20535Patch 8.2.3343 (after 8.2.3342)
20536Problem: Vim9: autoload test fails.
20537Solution: Adjust the way the second message is avoided
20538Files: src/evalvars.c
20539
20540Patch 8.2.3344 (after 8.2.3343)
20541Problem: Vimscript test fails.
20542Solution: Have test verify first error instead of second
20543Files: src/testdir/test_vimscript.vim
20544
20545Patch 8.2.3345
20546Problem: Some code not covered by tests.
20547Solution: Add a few more tests. (Dominique Pellé, closes #8757)
20548Files: src/testdir/test_arglist.vim, src/testdir/test_cmdline.vim,
20549 src/testdir/test_spellfile.vim, src/testdir/test_substitute.vim
20550
20551Patch 8.2.3346
20552Problem: Vim9: no error for using "." for concatenation after ":vim9cmd".
20553 (Naohiro Ono)
20554Solution: Check for Vim9 script syntax. (closes #8756)
20555Files: src/eval.c, src/testdir/test_vim9_cmd.vim
20556
20557Patch 8.2.3347
20558Problem: Check for legacy script is incomplete. (Naohiro Ono)
20559Solution: Also check the :legacy modifier. Use for string concatenation
20560 with "." and others (issue #8756)
20561Files: src/vim9script.c, src/proto/vim9script.pro, src/eval.c,
20562 src/typval.c, src/evalvars.c, src/errors.h, src/ex_docmd.c,
20563 src/testdir/test_vim9_cmd.vim
20564
20565Patch 8.2.3348
20566Problem: line2byte() returns wrong value after adding textprop. (Yuto
20567 Kimura)
20568Solution: Reduce the length by the size of the text property. (closes #8759)
20569Files: src/memline.c, src/testdir/test_textprop.vim
20570
20571Patch 8.2.3349 (after 8.2.3347)
20572Problem: Eval test for scriptversion fails.
20573Solution: Fix off-by-one error.
20574Files: src/vim9script.c
20575
20576Patch 8.2.3350 (after 8.2.3348)
20577Problem: Text properties test fails on MS-Windows.
20578Solution: Set fileformat to unix.
20579Files: src/testdir/test_textprop.vim
20580
20581Patch 8.2.3351
20582Problem: Vim9: using a function by name may delete it. (Naohiro Ono)
20583Solution: Increment the reference count when using a function by name.
20584 (closes #8760)
20585Files: src/evalvars.c, src/testdir/test_vim9_func.vim
20586
20587Patch 8.2.3352
20588Problem: Vim9: error for nested :enddef has wrong line number.
20589Solution: Compute the line number.
20590Files: src/userfunc.c, src/testdir/test_vim9_func.vim
20591
20592Patch 8.2.3353
20593Problem: Vim9: type of argument for negate not checked at compile time.
20594Solution: Add a compile time check.
20595Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
20596 src/testdir/test_vim9_script.vim,
20597 src/testdir/test_vim9_disassemble.vim
20598
20599Patch 8.2.3354
20600Problem: Build failure with +byte_offset but without +textprop. (John
20601 Marriott)
20602Solution: Adjust the #ifdef.
20603Files: src/memline.c
20604
20605Patch 8.2.3355
20606Problem: MS-Windows: compiler warning for 64-32 bit conversion.
20607Solution: Add type casts.
20608Files: src/memline.c
20609
20610Patch 8.2.3356
20611Problem: Adding many text properties requires a lot of function calls.
20612Solution: Add the prop_add_list() function. (Yegappan Lakshmanan,
20613 closes #8751)
20614Files: runtime/doc/eval.txt, runtime/doc/textprop.txt,
20615 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/textprop.pro,
20616 src/testdir/test_textprop.vim, src/testdir/test_vim9_builtin.vim,
20617 src/textprop.c
20618
20619Patch 8.2.3357
20620Problem: Crash when 'virtualedit' is set and window is narrow.
20621Solution: Check that width is not zero. (closes #8767)
20622Files: src/misc2.c, src/testdir/test_number.vim
20623
20624Patch 8.2.3358
20625Problem: Structurizr files are not recognized.
20626Solution: Recognize the file by contents. (Bastian Venthur, closes #8764)
20627Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20628
20629Patch 8.2.3359
20630Problem: Vim9: error for type when variable is not set.
20631Solution: Give a specific error for a NULL function. (closes #8773)
20632Files: src/vim9type.c, src/errors.h, src/testdir/test_vim9_func.vim
20633
20634Patch 8.2.3360
20635Problem: User function completion fails with dict function.
20636Solution: Do not stop sequencing through the list if user functions when
20637 encountering an empty name. (Naohiro Ono, closes #8765,
20638 closes #8774)
20639Files: src/evalfunc.c, src/testdir/test_cmdline.vim
20640
20641Patch 8.2.3361
20642Problem: Vim9: crash with nested :while.
20643Solution: Handle skipping better. (Naruhiko Nishino, closes #8778)
20644Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
20645
20646Patch 8.2.3362
20647Problem: Buffer overflow when completing long tag name.
20648Solution: Allocate the buffer dynamically. (Gregory Anders, closes #8769)
20649Files: src/tag.c, src/testdir/test_tagjump.vim
20650
20651Patch 8.2.3363
20652Problem: When :edit reuses the current buffer the alternate file is set to
20653 the same buffer.
20654Solution: Only set the alternate file when not reusing the buffer.
20655 (closes #8783)
20656Files: src/ex_cmds.c, src/testdir/test_undo.vim,
20657 src/testdir/test_cmdline.vim, src/testdir/test_vim9_builtin.vim,
20658 src/testdir/test_vim9_script.vim
20659
20660Patch 8.2.3364
20661Problem: Vim9: crash when :for is skipped.
20662Solution: Skip more code generation. (Naruhiko Nishino, closes #8777)
20663Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
20664
20665Patch 8.2.3365
20666Problem: Vim9: cannot use option for all operations.
20667Solution: Recognize more operations. (closes #8779)
20668Files: src/vim9compile.c, src/proto/vim9compile.pro, src/ex_docmd.c,
20669 src/testdir/test_vim9_cmd.vim
20670
20671Patch 8.2.3366
20672Problem: Vim9: debugging elseif does not stop before condition.
20673Solution: Move debug statement to after the jump. (closes #8781)
20674Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
20675
20676Patch 8.2.3367
20677Problem: Vim9: :@r executing a register is inconsistent.
20678Solution: Use "@r" as the start of an expression. (issue #8779)
20679Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
20680
20681Patch 8.2.3368
20682Problem: Not all Racket files are recognized.
20683Solution: Also recognize .rktl and .rktd files. (Doug Kearns)
20684Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20685
20686Patch 8.2.3369
20687Problem: Auto formatting after "cw" leaves cursor in wrong spot.
20688Solution: Do not auto-format after the delete. (closes #8789)
20689Files: src/ops.c, src/testdir/test_textformat.vim
20690
20691Patch 8.2.3370
20692Problem: Vim9: no check for white space before type in declaration.
20693 (Naohiro Ono)
20694Solution: Check for white space like in a compiled function. (closes #8785)
20695Files: src/eval.c, src/testdir/test_vim9_assign.vim
20696
20697Patch 8.2.3371
20698Problem: Vim9: :$ENV cannot be followed by ->func() in next line.
20699Solution: Use "$ENV" as the start of an expression. (closes #8790)
20700Files: src/ex_docmd.c, src/vim9compile.c, src/testdir/test_vim9_cmd.vim
20701
20702Patch 8.2.3372
20703Problem: line2byte() value wrong when adding a text property. (Yuto Kimura)
20704Solution: Adjust length for text property. (closes #8772) Also fix it for
20705 deleting a line.
20706Files: src/memline.c, src/testdir/test_textprop.vim
20707
20708Patch 8.2.3373 (after 8.2.3372)
20709Problem: text property test fails on MS-Windows.
20710Solution: Set fileformat to "unix"
20711Files: src/testdir/test_textprop.vim
20712
20713Patch 8.2.3374
20714Problem: Pyret files are not recognized.
20715Solution: Recognize .arr files as Pyret. (Doug Kearns)
20716Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20717
20718Patch 8.2.3375
20719Problem: Using uninitialized memory.
20720Solution: Initialize textprop_save_len.
20721Files: src/memline.c
20722
20723Patch 8.2.3376
20724Problem: Vim9: no warning that "@r" does not do anything.
20725Solution: Give a "no effect" error. (closes #8779)
20726Files: src/ex_eval.c, src/proto/ex_eval.pro, src/vim9compile.c,
20727 src/testdir/test_vim9_cmd.vim
20728
20729Patch 8.2.3377
20730Problem: Vim9: :disass completion does not understand "s:".
20731Solution: Expand "s:" to a pattern. (closes #8780)
20732Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
20733
20734Patch 8.2.3378
20735Problem: MS-Windows: completing environment variables with % is wrong.
20736Solution: Only complete environment variables with $. (Albert Liu,
20737 closes #8791)
20738Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
20739
20740Patch 8.2.3379
20741Problem: Crash when using NULL job.
20742Solution: Copy static string into buffer. (issue #8260)
20743Files: src/job.c, src/testdir/test_channel.vim
20744
20745Patch 8.2.3380
20746Problem: Crash when using NULL string for funcref().
20747Solution: Check for NULL argument. (issue #8260)
20748Files: src/evalfunc.c, src/testdir/test_expr.vim
20749
20750Patch 8.2.3381
20751Problem: Crash when using NULL list with sign functions.
20752Solution: Handle a NULL list like an empty list. (issue #8260)
20753Files: src/globals.h, src/testdir/test_signs.vim
20754
20755Patch 8.2.3382
20756Problem: Crash when getting the type of a NULL partial.
20757Solution: Check for NULL. (closes #8260)
20758Files: src/vim9type.c, src/testdir/test_vim9_builtin.vim
20759
20760Patch 8.2.3383
20761Problem: Vim9: completion for :disassemble adds parenthesis.
20762Solution: Don't add parenthesis. (Naohiro Ono, closes #8802)
20763Files: src/userfunc.c, src/testdir/test_cmdline.vim
20764
20765Patch 8.2.3384
20766Problem: Cannot disable modeline for an individual file.
20767Solution: Recognize "nomodeline" in a modeline. (Hu Jialun, closes #8798)
20768Files: runtime/doc/options.txt, src/buffer.c,
20769 src/testdir/test_modeline.vim
20770
20771Patch 8.2.3385
20772Problem: Escaping for fish shell does not work properly.
20773Solution: Insert a backslash before a backslash. (Jason Cox, closes #8810)
20774Files: runtime/doc/eval.txt, src/strings.c, src/testdir/test_shell.vim
20775
20776Patch 8.2.3386
20777Problem: Using uninitialized memory.
20778Solution: Initialize the rm_ic field. (Dominique Pellé, closes #8800)
20779Files: src/indent.c
20780
20781Patch 8.2.3387
20782Problem: Compiler warning for non-static function.
20783Solution: Make the function static. (Dominique Pellé, closes #8816)
20784Files: src/strings.c
20785
20786Patch 8.2.3388
20787Problem: fnamemodify('path/..', ':p') differs from using 'path/../'. (David
20788 Briscoe)
20789Solution: Include the "/.." in the directory name. (closes #8808)
20790Files: src/os_unix.c, src/testdir/test_fnamemodify.vim
20791
20792Patch 8.2.3389
20793Problem: Cannot stop insert mode completion without side effects.
20794Solution: Add CTRL-X CTRL-Z. (closes #8821)
20795Files: runtime/doc/index.txt, runtime/doc/insert.txt, src/insexpand.c,
20796 src/testdir/test_ins_complete.vim
20797
20798Patch 8.2.3390
20799Problem: Included xdiff code is outdated.
20800Solution: Sync with xdiff in git 2.33. (Christian Brabandt, closes #8431)
20801Files: src/diff.c, src/xdiff/README.txt, src/xdiff/xdiff.h,
20802 src/xdiff/xdiffi.c, src/xdiff/xdiffi.h, src/xdiff/xemit.c,
20803 src/xdiff/xemit.h, src/xdiff/xhistogram.c, src/xdiff/xinclude.h,
20804 src/xdiff/xmacros.h, src/xdiff/xpatience.c, src/xdiff/xprepare.h,
20805 src/xdiff/xtypes.h, src/xdiff/xutils.c, src/xdiff/xutils.h
20806
20807Patch 8.2.3391
20808Problem: Crash with combination of 'linebreak' and other options.
20809Solution: Avoid n_extra to become negative. (Christian Brabandt,
20810 closes #8817)
20811Files: src/drawline.c
20812
20813Patch 8.2.3392
20814Problem: augroup completion escapes regexp pattern characters.
20815Solution: Do not escape the augroup name. (closes #8826)
20816Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
20817
20818Patch 8.2.3393
20819Problem: Escaping for fish shell is skipping some characters.
20820Solution: Escape character after backslash if needed. (Jason Cox,
20821 closes #8827)
20822Files: src/strings.c, src/testdir/test_shell.vim
20823
20824Patch 8.2.3394
20825Problem: Filler lines are wrong when changing text in diff mode.
20826Solution: Don't change the filler lines on every change. Check
20827 scrollbinding when updating the filler lines. (closes #8809)
20828Files: src/move.c, src/diff.c, src/testdir/test_diffmode.vim,
20829 src/testdir/dumps/Test_diff_scroll_change_01.dump,
20830 src/testdir/dumps/Test_diff_scroll_change_02.dump
20831
20832Patch 8.2.3395
20833Problem: Vim9: expression breakpoint not checked in :def function.
20834Solution: Always compile a function for debugging if there is an expression
20835 breakpoint. (closes #8803)
20836Files: src/vim9execute.c, src/proto/vim9execute.pro, src/debugger.c,
20837 src/proto/debugger.pro, src/vim.h, src/vim9.h,
20838 src/testdir/test_debugger.vim
20839
20840Patch 8.2.3396
20841Problem: When libcall() fails invalid pointer may be used.
20842Solution: Initialize the string to NULL. (Yasuhiro Matsumoto, closes #8829)
20843Files: src/evalfunc.c
20844
20845Patch 8.2.3397
20846Problem: No test for what 8.2.3391 fixes.
20847Solution: Add a test. (Yegappan Lakshmanan, closes #8828)
20848Files: src/testdir/test_breakindent.vim
20849
20850Patch 8.2.3398
20851Problem: Html text objects are not fully tested.
20852Solution: Add tests for dbcs encoding and different number of backslashes.
20853 (Dominique Pellé, closes #8831)
20854Files: src/testdir/test_textobjects.vim
20855
20856Patch 8.2.3399
20857Problem: Octave files are not recognized.
20858Solution: Detect Octave files. (Doug Kearns)
20859Files: runtime/autoload/dist/ft.vim, runtime/doc/filetype.txt,
20860 runtime/filetype.vim, src/testdir/test_filetype.vim
20861
20862Patch 8.2.3400
20863Problem: ":z!" is not supported.
20864Solution: Make ":z!" work and add tests. (Dominique Pellé, closes #8836)
20865 Use display height instead of current window height.
20866Files: runtime/doc/various.txt, src/ex_cmds.h, src/ex_cmds.c,
20867 src/testdir/test_ex_z.vim
20868
20869Patch 8.2.3401
20870Problem: Vim9: cannot use a negative count with finddir() and findfile().
20871Solution: Adjust the return type. (closes #8776)
20872Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
20873
20874Patch 8.2.3402
20875Problem: Invalid memory access when using :retab with large value.
20876Solution: Check the number is positive.
20877Files: src/indent.c, src/option.c, src/optionstr.c,
20878 src/testdir/test_retab.vim
20879
20880Patch 8.2.3403 (after 8.2.3402)
20881Problem: Memory leak for :retab with invalid argument.
20882Solution: Free the memory. Make error messages consistent.
20883Files: src/indent.c
20884
20885Patch 8.2.3404
20886Problem: Vim9: no error for white space before "(".
20887Solution: Give an error, like in a compiled function.
20888Files: src/userfunc.c, src/testdir/test_vim9_func.vim
20889
20890Patch 8.2.3405
20891Problem: Cannot have a comment line in a {} block of a user command.
20892Solution: Continue after the line break. (closes #8837)
20893Files: src/ex_docmd.c, src/testdir/test_usercommands.vim
20894
20895Patch 8.2.3406
20896Problem: On some systems tests fail without _REENTRANT. (Elimar
20897 Riesebieter)
20898Solution: Add -D_REENTRANT in configure. (closes #7402)
20899Files: src/configure.ac, src/auto/configure
20900
20901Patch 8.2.3407
20902Problem: Using uninitialized memory with "let g:['bar'] = 2".
20903Solution: Initialize v_type of a new dict item.
20904Files: src/dict.c
20905
20906Patch 8.2.3408
20907Problem: Can delete a numbered function. (Naohiro Ono)
20908Solution: Disallow deleting a numbered function. (closes #8760)
20909Files: src/userfunc.c, src/testdir/test_user_func.vim
20910
20911Patch 8.2.3409
20912Problem: Reading beyond end of line with invalid utf-8 character.
20913Solution: Check for NUL when advancing.
20914Files: src/regexp_nfa.c, src/testdir/test_regexp_utf8.vim
20915
20916Patch 8.2.3410
20917Problem: Crash with linebreak, listchars and large tabstop.
20918Solution: Account for different size listchars for a tab. (closes #8841)
20919Files: src/drawline.c, src/testdir/test_listlbr_utf8.vim
20920
20921Patch 8.2.3411
20922Problem: Vim9: crash when using base name of import. (Naohiro Ono)
20923Solution: Check the import flags. (closes #8843)
20924Files: src/evalvars.c, src/errors.h, src/testdir/test_vim9_script.vim
20925
20926Patch 8.2.3412 (after 8.2.3411)
20927Problem: Vim9: importing the wrong file.
20928Solution: Correct the file name. Delete the file afterwards.
20929Files: src/testdir/test_vim9_script.vim
20930
20931Patch 8.2.3413
20932Problem: Vim9: too many characters are allowed in import name.
20933Solution: Disallow ':' and '#', check for white space. (closes #8845)
20934Files: src/vim9script.c, src/errors.h, src/testdir/test_vim9_script.vim
20935
20936Patch 8.2.3414
20937Problem: fullcommand() gives the wrong name if there is a buffer-local user
20938 command. (Naohiro Ono)
20939Solution: Use a separate function to get the user command name.
20940 (closes #8840)
20941Files: src/usercmd.c, src/proto/usercmd.pro, src/ex_docmd.c,
20942 src/testdir/test_cmdline.vim
20943
20944Patch 8.2.3415
20945Problem: Vim9: Not all function argument types are properly checked.
20946Solution: Add and improve argument type checks. (Yegappan Lakshmanan,
20947 closes #8839)
20948Files: src/channel.c, src/digraph.c, src/evalfunc.c, src/terminal.c,
20949 src/testdir/test_digraph.vim, src/testdir/test_vim9_builtin.vim
20950
20951Patch 8.2.3416
20952Problem: Second error is reported while exception is being thrown.
20953Solution: Do not check for trailing characters when already aborting.
20954 (closes #8842)
20955Files: src/userfunc.c, src/testdir/test_trycatch.vim
20956
20957Patch 8.2.3417
20958Problem: Vim9: a failing debug expression aborts script sourcing.
20959Solution: Do not let expression failure abort script sourcing. (closes #8848)
20960Files: src/debugger.c, src/testdir/test_debugger.vim
20961
20962Patch 8.2.3418
20963Problem: Garbage collection while evaluating may cause trouble.
20964Solution: Disable garbage collection while evaluating an expression.
20965 (Christian Brabandt, issue #8848)
20966Files: src/eval.c
20967
20968Patch 8.2.3419
20969Problem: A failing debug expression may make Vim unusable.
20970Solution: Suppress error messages. (closes #8848)
20971Files: src/debugger.c, src/testdir/test_debugger.vim
20972
20973Patch 8.2.3420
20974Problem: _REENTRANT defined more than once.
20975Solution: Fix configure script. (Christian Brabandt, closes #8852)
20976Files: src/configure.ac, src/auto/configure
20977
20978Patch 8.2.3421
20979Problem: A bit of code is not covered by tests.
20980Solution: Add a few more test cases. (Dominique Pellé, closes #8857)
20981Files: src/testdir/test_functions.vim, src/testdir/test_history.vim,
20982 src/testdir/test_startup.vim
20983
20984Patch 8.2.3422
20985Problem: Vim9: no failure if return type differs from returned variable.
20986Solution: Copy type when copying a list. (closes #8847)
20987Files: src/list.c, src/testdir/test_vim9_func.vim
20988
20989Patch 8.2.3423
20990Problem: Vim9: list += list creates a new list in :def function.
20991Solution: Append to the existing list.
20992Files: src/structs.h, src/vim9compile.c, src/vim9execute.c,
20993 src/testdir/test_vim9_assign.vim
20994
20995Patch 8.2.3424
20996Problem: A sequence of spaces is hard to see in list mode.
20997Solution: Add the "multispace" option to 'listchars'. (closes #8834)
20998Files: runtime/doc/options.txt, src/drawline.c, src/message.c,
20999 src/screen.c, src/structs.h, src/testdir/test_listchars.vim
21000
21001Patch 8.2.3425
21002Problem: Warning for using uninitialized variable.
21003Solution: Initialize it. (John Marriott)
21004Files: src/screen.c
21005
21006Patch 8.2.3426
21007Problem: Crash when deleting a listener in a listener callback. (Naohiro
21008 Ono)
21009Solution: Mark the listener and delete it later. (closes #8863)
21010Files: src/change.c, src/testdir/test_listener.vim
21011
21012Patch 8.2.3427
21013Problem: Double free when list is copied.
21014Solution: Allocate the type when making a copy. (closes #8862)
21015 Clear the type for flattennew(). Avoid a memory leak when
21016 flattennew() fails.
21017Files: src/list.c, src/testdir/test_vim9_builtin.vim
21018
21019Patch 8.2.3428
21020Problem: Using freed memory when replacing. (Dhiraj Mishra)
21021Solution: Get the line pointer after calling ins_copychar().
21022Files: src/normal.c, src/testdir/test_edit.vim
21023
21024Patch 8.2.3429
21025Problem: Leaking memory when assigning to list or dict.
21026Solution: Free the list or dict type before overwriting it.
21027Files: src/vim9type.c, src/evalvars.c
21028
21029Patch 8.2.3430
21030Problem: No generic way to trigger an autocommand on mode change.
21031Solution: Add the ModeChanged autocommand event. (Magnus Gross, closes #8856)
21032Files: runtime/doc/autocmd.txt, src/autocmd.c, src/edit.c,
21033 src/ex_docmd.c, src/ex_getln.c, src/globals.h, src/misc1.c,
21034 src/normal.c, src/proto/autocmd.pro, src/proto/misc1.pro,
21035 src/testdir/test_edit.vim, src/vim.h
21036
21037Patch 8.2.3431
21038Problem: Completion for :disas sorts local functions first.
21039Solution: Sort local functions last, like with :delfunc. (Naohiro Ono,
21040 closes #8860)
21041Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
21042
21043Patch 8.2.3432
21044Problem: Octave/Matlab filetype detection does not work properly.
21045Solution: Update the patterns used for matching. (Doug Kearns)
21046Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim
21047
21048Patch 8.2.3433
21049Problem: :delcommand does not take a -buffer option.
21050Solution: Add the -buffer option.
21051Files: runtime/doc/map.txt, src/usercmd.c, src/errors.h,
21052 src/testdir/test_usercommands.vim
21053
21054Patch 8.2.3434 (after 8.2.3430)
21055Problem: Function prototype for trigger_modechanged() is incomplete.
21056Solution: Add "void".
21057Files: src/proto/misc1.pro
21058
21059Patch 8.2.3435
21060Problem: Vim9: dict is not passed to dict function.
21061Solution: Keep the dict used until a function call.
21062Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
21063 src/testdir/test_vim9_func.vim,
21064 src/testdir/test_vim9_disassemble.vim
21065
21066Patch 8.2.3436
21067Problem: Check for optional bool type has confusing return type.
21068Solution: Explicitly return OK.
21069Files: src/typval.c
21070
21071Patch 8.2.3437
21072Problem: Compiler warnings for 32/64 bit usage.
21073Solution: Add type casts. (Mike Williams, closes #8870)
21074Files: src/screen.c, src/xdiff/xemit.c, src/xdiff/xutils.c
21075
21076Patch 8.2.3438
21077Problem: Cannot manipulate blobs.
21078Solution: Add blob2list() and list2blob(). (Yegappan Lakshmanan,
21079 closes #8868)
21080Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/blob.c,
21081 src/errors.h, src/evalfunc.c, src/proto/blob.pro,
21082 src/proto/typval.pro, src/testdir/test_blob.vim,
21083 src/testdir/test_vim9_builtin.vim, src/typval.c
21084
21085Patch 8.2.3439
21086Problem: Deleted lines go to wrong yank register.
21087Solution: Reset y_append when not calling get_yank_register(). (Christian
21088 Brabandt, closes #8872)
21089Files: src/ops.c, src/proto/register.pro, src/register.c,
21090 src/testdir/test_registers.vim
21091
21092Patch 8.2.3440
21093Problem: Recover test fails if there is an old swap file.
21094Solution: Delete old swap files.
21095Files: src/testdir/test_recover.vim
21096
21097Patch 8.2.3441
21098Problem: MS-Windows: vimtutor can't handle path with spaces.
21099Solution: Add double quotes. (Christian Brabandt, closes #8871)
21100Files: vimtutor.bat
21101
21102Patch 8.2.3442
21103Problem: Vim9: || and && are not handled at compile time when possible.
21104Solution: When using constants generate fewer instructions.
21105Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
21106 src/testdir/test_vim9_disassemble.vim
21107
21108Patch 8.2.3443
21109Problem: Vim9: memory leak when and/or fails.
21110Solution: Also clear the growarray when the length is zero.
21111Files: src/vim9compile.c
21112
21113Patch 8.2.3444
21114Problem: concealed text not revealed when leaving insert mode. (Michael
21115 Soyka)
21116Solution: Check if concealing changed when leaving insert mode.
21117 (closes #8880)
21118Files: src/edit.c, src/testdir/test_conceal.vim,
21119 src/testdir/dumps/Test_conceal_two_windows_07in.dump
21120
21121Patch 8.2.3445
21122Problem: On Solaris longVersion may be declared twice. (Vladimir Marek)
21123Solution: Always declare longVersion in version.c
21124Files: src/globals.h, src/version.c
21125
21126Patch 8.2.3446
21127Problem: Not enough tests for empty string arguments.
21128Solution: Add tests, fix type check. (Yegappan Lakshmanan, closes #8881)
21129Files: runtime/doc/sign.txt, runtime/doc/textprop.txt, src/sign.c,
21130 src/testdir/test_blob.vim, src/testdir/test_vim9_builtin.vim
21131
21132Patch 8.2.3447
21133Problem: A couple of declarations are not ANSI C.
21134Solution: Put argument type inside (). (Yegappan Lakshmanan, closes #8890)
21135Files: src/os_unix.h
21136
21137Patch 8.2.3448
21138Problem: :endtry after function call that throws not found.
21139Solution: Do check for following :endtry if an exception is being thrown.
21140 (closes #8889)
21141Files: src/userfunc.c, src/testdir/test_trycatch.vim
21142
21143Patch 8.2.3449
21144Problem: Sort fails if the sort compare function returns 999.
21145Solution: Adjust value to -1 / 0 / 1. (Yasuhiro Matsumoto, closes #8884)
21146Files: src/list.c, src/testdir/test_sort.vim
21147
21148Patch 8.2.3450
21149Problem: Coveralls action fails.
21150Solution: Disable it for now.
21151Files: .github/workflows/ci.yml
21152
21153Patch 8.2.3451
21154Problem: Not all apache files are recognized.
21155Solution: Adjust the filetype pattern. (Zdenek Dohnal, closes #8882)
21156Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21157
21158Patch 8.2.3452
21159Problem: MPD files are not recognized.
21160Solution: Recognize MPD files as XML. (Steven Penny, closes #8893)
21161Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21162
21163Patch 8.2.3453
21164Problem: Autocmd not executed when editing a directory ending in a path
21165 separator inside try block.
21166Solution: Return NOTDONE instead of FAIL. (closes #8885)
21167Files: src/fileio.c, src/testdir/test_autocmd.vim
21168
21169Patch 8.2.3454
21170Problem: Using a count with "gp" leaves cursor in wrong position. (Naohiro
21171 Ono)
21172Solution: Count the inserted lines. (closes #8899)
21173Files: src/register.c, src/testdir/test_put.vim
21174
21175Patch 8.2.3455 (after 8.2.3454)
21176Problem: Using a count with "gp" leaves '] in wrong position. (Naohiro Ono)
21177Solution: Correct the mark position. (closes #8899)
21178Files: src/register.c, src/testdir/test_put.vim
21179
21180Patch 8.2.3456
21181Problem: Vim9: Not all functions are tested with an empty string argument.
21182Solution: Add tests with empty strings. (Yegappan Lakshmanan, closes #8915)
21183Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
21184
21185Patch 8.2.3457
21186Problem: MS-Windows Vim9: test executed and fails.
21187Solution: Add extra check for not being on MS-Windows.
21188Files: src/testdir/test_vim9_script.vim
21189
21190Patch 8.2.3458
21191Problem: Not all dictdconf files are recognized.
21192Solution: Adjust the pattern. (Doug Kearns)
21193Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21194
21195Patch 8.2.3459
21196Problem: Vim9: need more tests for empty string arguments.
21197Solution: Add more tests. Also use empty argument with menu_info() to get
21198 the top-level menu names. (Yegappan Lakshmanan, closes #8925)
21199Files: runtime/doc/eval.txt, src/menu.c, src/testdir/test_menu.vim,
21200 src/testdir/test_vim9_builtin.vim
21201
21202Patch 8.2.3460
21203Problem: Some type casts are not needed.
21204Solution: Remove unnecessary type casts. (closes #8934)
21205Files: src/autocmd.c, src/buffer.c, src/debugger.c, src/getchar.c,
21206 src/hardcopy.c, src/if_cscope.c, src/move.c, src/tag.c,
21207 src/version.c
21208
21209Patch 8.2.3461
21210Problem: Cannot distinguish Normal and Terminal-Normal mode.
21211Solution: Make mode() return "nt" for Terminal-Normal mode. (issue #8856)
21212Files: runtime/doc/eval.txt, src/misc1.c, src/testdir/test_functions.vim
21213
21214Patch 8.2.3462
21215Problem: The ModeChanged event only uses one character for the new_mode and
21216 old_mode values.
21217Solution: Pass one as first argument to mode(). (issue #8856)
21218Files: src/misc1.c, src/testdir/test_edit.vim
21219
21220Patch 8.2.3463
21221Problem: Pattern matching with ModeChanged not tested.
21222Solution: Add a few more test lines. (issue #8856)
21223Files: src/testdir/test_edit.vim
21224
21225Patch 8.2.3464
21226Problem: nginx files are not recognized.
21227Solution: Add several file patterns. (Chris Aumann, closes #8922)
21228Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21229
21230Patch 8.2.3465
21231Problem: Cannot detect insert scroll mode.
21232Solution: Add "scroll" to complete_info(). (closes #8943)
21233Files: runtime/doc/eval.txt, src/insexpand.c, src/testdir/test_popup.vim
21234
21235Patch 8.2.3466
21236Problem: Completion submode not indicated for virtual replace.
21237Solution: Add submode to "Rv". (closes #8945)
21238Files: runtime/doc/eval.txt, src/misc1.c, src/testdir/test_functions.vim
21239
21240Patch 8.2.3467
21241Problem: CursorHoldI event interferes with "CTRL-G U". (Naohiro Ono)
21242Solution: Restore the flag for "CTRL-G U" after triggering CursorHoldI.
21243 (closes #8937)
21244Files: src/edit.c, src/testdir/test_autocmd.vim
21245
21246Patch 8.2.3468
21247Problem: Problem with :cd when editing file in non-existent directory. (Yee
21248 Cheng Chin)
21249Solution: Prepend the current directory to get the full path. (closes #8903)
21250Files: src/os_unix.c, src/testdir/test_cd.vim
21251
21252Patch 8.2.3469
21253Problem: Some files with json syntax are not recognized.
21254Solution: Add a few file patterns. (Emiliano Ruiz Carletti, closes #8947)
21255Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21256
21257Patch 8.2.3470
21258Problem: Crash with error in :catch and also in :finally.
21259Solution: Only discard an exception if there is one. (closes #8954)
21260Files: src/ex_eval.c, src/testdir/test_trycatch.vim
21261
21262Patch 8.2.3471
21263Problem: Crash when using CTRL-T after an empty search pattern.
21264Solution: Bail out when there is no previous search pattern. (closes #8953)
21265Files: src/ex_getln.c, src/testdir/test_search.vim
21266
21267Patch 8.2.3472
21268Problem: Other crashes with empty search pattern not tested.
21269Solution: Add a few more test lines. (Dominique Pellé)
21270Files: src/testdir/test_search.vim
21271
21272Patch 8.2.3473
21273Problem: Some files with tcl syntax are not recognized.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021274Solution: Add a few file patterns. (Doug Kearns)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021275Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21276
21277Patch 8.2.3474
21278Problem: Some places use "Vimscript" instead of "Vim script".
21279Solution: Consistently use "Vim script". (Hirohito Higashi, closes #8910)
21280Files: runtime/doc/if_lua.txt, src/getchar.c, src/if_lua.c
21281
21282Patch 8.2.3475
21283Problem: Expression register set by not executed put command.
21284Solution: Do not set the register if the command is skipped. (closes #8909)
21285Files: src/ex_docmd.c, src/testdir/test_excmd.vim
21286
21287Patch 8.2.3476
21288Problem: Renaming a buffer on startup may cause using freed memory.
21289Solution: Check if the buffer is used in a window. (closes #8955)
21290Files: src/buffer.c, src/testdir/test_startup.vim
21291
21292Patch 8.2.3477 (after 8.2.3476)
21293Problem: Startup test fails on MS-Windows.
21294Solution: Skip the test if not on Unix.
21295Files: src/testdir/test_startup.vim
21296
21297Patch 8.2.3478 (after 8.2.3470)
21298Problem: Still crash with error in :catch and also in :finally.
21299Solution: Only call finish_exception() once. (closes #8954)
21300Files: src/ex_eval.c, src/structs.h
21301
21302Patch 8.2.3479
21303Problem: Crash when calling job_start with an invalid argument. (Virginia
21304 Senioria)
21305Solution: Clear the first item in argv. (closes #8957)
21306Files: src/misc2.c, src/testdir/test_channel.vim
21307
21308Patch 8.2.3480 (after 8.2.3478)
21309Problem: Test does not fail without the fix for a crash.
21310Solution: Write the bad code in a file and source it. (Dominique Pellé,
21311 closes #8961)
21312Files: src/testdir/test_trycatch.vim
21313
21314Patch 8.2.3481
21315Problem: Failures when char is unsigned.
21316Solution: Use int8_T. Make a CI run with unsigned char. (James McCoy,
21317 closes #8936)
21318Files: src/structs.h, .github/workflows/ci.yml
21319
21320Patch 8.2.3482
21321Problem: Reading beyond end of line ending in quote and backslash.
21322Solution: Check for non-NUL after backslash. (closes #8964)
21323Files: src/cindent.c, src/testdir/test_cindent.vim
21324
21325Patch 8.2.3483
21326Problem: #ifdef for using sysinfo() is incomplete.
21327Solution: Also check for HAVE_SYSINFO. Make autoconf check use TRY_LINK.
21328 (closes #8952)
21329Files: src/memline.c, src/configure.ac, src/auto/configure
21330
21331Patch 8.2.3484
21332Problem: Crash when going through spell suggestions.
21333Solution: Limit the text length for finding suggestions to the original
21334 length. Do not update buffers when exiting. (closes #8965)
21335Files: src/spellsuggest.c, src/clipboard.c,
21336 src/testdir/test_spell_utf8.vim
21337
21338Patch 8.2.3485
21339Problem: Python 3 test fails with Python 3.10.
21340Solution: Adjust expected error message. (zdohnal Dohnal, closes #8969)
21341Files: src/testdir/test_python3.vim
21342
21343Patch 8.2.3486
21344Problem: Illegal memory access with invalid sequence of commands.
21345Solution: Do not call leave_block() when not in a try block. (closes #8966)
21346 Reset did_emsg so that exception is shown as an error.
21347Files: src/ex_eval.c, src/testdir/test_trycatch.vim
21348
21349Patch 8.2.3487
21350Problem: Illegal memory access if buffer name is very long.
21351Solution: Make sure not to go over the end of the buffer.
21352Files: src/drawscreen.c, src/testdir/test_statusline.vim
21353
21354Patch 8.2.3488
21355Problem: Issue template is not easy to use.
21356Solution: Use a yaml template. (closes #8928)
21357Files: .github/ISSUE_TEMPLATE/bug_report.md,
21358 .github/ISSUE_TEMPLATE/bug_report.yml
21359
21360Patch 8.2.3489
21361Problem: ml_get error after search with range.
21362Solution: Limit the line number to the buffer line count.
21363Files: src/ex_docmd.c, src/testdir/test_search.vim
21364
21365Patch 8.2.3490
21366Problem: Superfluous return statements.
21367Solution: Remove superfluous return statements from void functions.
21368 (closes #8977)
21369Files: src/buffer.c, src/getchar.c, src/memline.c, src/move.c,
21370 src/option.c
21371
21372Patch 8.2.3491
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021373Problem: xpm2 filetype detection is not so good.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021374Solution: Adjust the check for xpm2. (closes #8914)
21375Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21376
21377Patch 8.2.3492
21378Problem: Crash when pasting too many times.
21379Solution: Limit the size to what fits in an int. (closes #8962)
21380Files: src/register.c, src/errors.h, src/testdir/test_put.vim
21381
21382Patch 8.2.3493 (after 8.2.3492)
21383Problem: Large count test fails on MS-Windows.
21384Solution: Skip the test on MS-Windows.
21385Files: src/testdir/test_put.vim
21386
21387Patch 8.2.3494
21388Problem: Illegal memory access in utf_head_off.
21389Solution: Check cursor position when reselecting the Visual area.
21390 (closes #8963)
21391Files: src/normal.c, src/testdir/test_visual.vim
21392
21393Patch 8.2.3495
21394Problem: GUI geometry startup test fails on some systems. (Drew Vogel)
21395Solution: Add tolerance to the size check. (closes #8815)
21396Files: src/testdir/test_startup.vim
21397
21398Patch 8.2.3496
21399Problem: Crypt test fails on MS-Windows if xxd was not installed yet.
21400Solution: Use the just built xxd executable if it exists. (James McCoy,
21401 closes #8929)
21402Files: src/testdir/test_crypt.vim
21403
21404Patch 8.2.3497
21405Problem: Put test fails when run by itself.
21406Solution: Source check.vim. (Dominique Pellé, closes #8990)
21407Files: src/testdir/test_put.vim
21408
21409Patch 8.2.3498
21410Problem: Recover test may fail on some systems.
21411Solution: Adjust the little endian and 64 bit detection. (James McCoy,
21412 closes #8941)
21413Files: src/testdir/test_recover.vim
21414
21415Patch 8.2.3499
21416Problem: GUI geometry startup test fails.
21417Solution: Check string values instead of numbers
21418Files: src/testdir/test_startup.vim
21419
21420Patch 8.2.3500
21421Problem: Github CI fails to install clang.
21422Solution: Install llvm-11 explicitly. (Christian Brabandt, closes #8993)
21423Files: .github/workflows/ci.yml
21424
21425Patch 8.2.3501
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021426Problem: tmux filetype detection is incomplete
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021427Solution: Also use tmux for files having text after .conf. (Eric Pruitt,
21428 closes #8971)
21429Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21430
21431Patch 8.2.3502 (after 8.2.2919)
21432Problem: Cannot enter password in shell command.
21433Solution: Revert patch 8.2.2919.
21434Files: src/os_unix.c
21435
21436Patch 8.2.3503
21437Problem: Vim9: using g:pat:cmd is confusing.
21438Solution: Do not recognize g: as the :global command. Also for s:pat:repl.
21439 (closes #8982)
21440Files: runtime/doc/vim9.txt, src/ex_docmd.c, src/ex_cmds.c, src/errors.h,
21441 src/vim9compile.c, src/proto/vim9compile.pro,
21442 src/testdir/test_vim9_cmd.vim
21443
21444Patch 8.2.3504 (after 8.2.3503)
21445Problem: Vim9: warning for signed vs unsigned.
21446Solution: Add type cast.
21447Files: src/vim9compile.c
21448
21449Patch 8.2.3505 (after 8.2.3503)
21450Problem: Vim9: build failure without the +eval feature.
21451Solution: Add #ifdef.
21452Files: src/ex_cmds.c
21453
21454Patch 8.2.3506 (after 8.2.3503)
21455Problem: Vim9: special cases for "g" and "s" insufficiently tested.
21456Solution: Add a few more test cases.
21457Files: src/testdir/test_vim9_cmd.vim
21458
21459Patch 8.2.3507
21460Problem: Generating proto files may fail.
21461Solution: Define __attribute().
21462Files: src/Makefile
21463
21464Patch 8.2.3508 (after 8.2.3503)
21465Problem: Vim9: bad separators for "g" and "s" insufficiently tested.
21466Solution: Add a few more test cases.
21467Files: src/testdir/test_vim9_cmd.vim
21468
21469Patch 8.2.3509
21470Problem: Undo file is not synced. (Sami Farin)
21471Solution: Sync the undo file if 'fsync' is set. (Christian Brabandt,
21472 closes #8879, closes #8920)
21473Files: runtime/doc/options.txt, src/undo.c
21474
21475Patch 8.2.3510
21476Problem: Changes are only detected with one second accuracy.
21477Solution: Use the nanosecond time if possible. (Leah Neukirchen,
21478 closes #8873, closes #8875)
21479Files: runtime/doc/eval.txt, src/auto/configure, src/bufwrite.c,
21480 src/config.h.in, src/configure.ac, src/fileio.c,
21481 src/proto/fileio.pro, src/memline.c, src/netbeans.c,
21482 src/structs.h, src/evalfunc.c, src/testdir/test_stat.vim
21483
21484Patch 8.2.3511
21485Problem: Vim9: entry for loop variable is created every round.
21486Solution: Only create the entry once. (closes #8996)
21487Files: src/evalvars.c, src/vim9script.c
21488
21489Patch 8.2.3512
21490Problem: Timestamp test fails on some systems.
21491Solution: Sleep for a short while.
21492Files: src/testdir/test_stat.vim
21493
21494Patch 8.2.3513
21495Problem: Using freed memory when using a timer and searching. (Dominique
21496 Pellé)
21497Solution: Allocated mr_pattern.
21498Files: src/search.c
21499
21500Patch 8.2.3514
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021501Problem: Autoread test with nanosecond time sometimes fails.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021502Solution: Mark the test as being flaky.
21503Files: src/testdir/test_stat.vim
21504
21505Patch 8.2.3515
21506Problem: Nano time test fails on Mac and FreeBSD.
21507Solution: Also check nano time when not on Linux. (Ozaki Kiichi,
21508 closes #9000)
21509Files: src/fileio.c
21510
21511Patch 8.2.3516
21512Problem: Terminal window does not have transparent background when
21513 'termguicolors' is used.
21514Solution: Fix the background color. (closes #2361, closes #9002)
21515Files: runtime/doc/terminal.txt, src/highlight.c, src/proto/terminal.pro,
21516 src/terminal.c
21517
21518Patch 8.2.3517
21519Problem: TextChanged does not trigger after TextChangedI.
21520Solution: Store the tick separately for TextChangedI. (Christian Brabandt,
21521 closes #8968, closes #8932)
21522Files: src/buffer.c, src/bufwrite.c, src/edit.c, src/structs.h,
21523 src/testdir/test_autocmd.vim
21524
21525Patch 8.2.3518
21526Problem: Test_xrestore sometimes fails.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021527Solution: Mark the test as flaky. Move marking test as flaky to the test
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021528 instead of listing them in runtest.
21529Files: src/testdir/test_paste.vim, src/testdir/runtest.vim,
21530 src/testdir/test_autocmd.vim, src/testdir/test_channel.vim,
21531 src/testdir/test_clientserver.vim, src/testdir/test_diffmode.vim,
21532 src/testdir/test_functions.vim, src/testdir/test_gui.vim,
21533 src/testdir/test_mapping.vim, src/testdir/test_popup.vim,
21534 src/testdir/test_quotestar.vim, src/testdir/test_reltime.vim,
21535 src/testdir/test_terminal.vim, src/testdir/test_terminal2.vim,
21536 src/testdir/test_timers.vim
21537
21538Patch 8.2.3519
21539Problem: TOML files are not recognized.
21540Solution: Add filetype patterns for TOML. (Aman Verma, closes #8984)
21541Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21542
21543Patch 8.2.3520
21544Problem: Cannot define a function for thesaurus completion.
21545Solution: Add 'thesaurusfunc'. (Yegappan Lakshmanan, closes #8987,
21546 closes 8950)
21547Files: runtime/doc/insert.txt, runtime/doc/options.txt,
21548 runtime/doc/quickref.txt, src/buffer.c, src/insexpand.c,
21549 src/option.c, src/option.h, src/optiondefs.h, src/optionstr.c,
21550 src/structs.h, src/testdir/test_edit.vim
21551
21552Patch 8.2.3521 (after 8.2.3520)
21553Problem: Options completion test fails.
21554Solution: Add 'thesaurusfunc' to the results.
21555Files: src/testdir/test_options.vim
21556
21557Patch 8.2.3522
21558Problem: Cannot use \x and \u when setting 'listchars'.
21559Solution: Support hex and unicode in hex form. (closes #9006)
21560Files: runtime/doc/options.txt, src/screen.c, src/charset.c,
21561 src/testdir/test_listchars.vim
21562
21563Patch 8.2.3523
21564Problem: Duplicated code in xxd.
21565Solution: Remove duplicated lines. (closes #8972)
21566Files: src/xxd/xxd.c
21567
21568Patch 8.2.3524
21569Problem: GUI: ligatures are not used.
21570Solution: Add the 'guiligatures' option. (Dusan Popovic, closes #8933)
21571Files: runtime/doc/options.txt, src/gui.c, src/gui.h, src/gui_gtk_x11.c,
21572 src/option.h, src/optiondefs.h, src/optionstr.c, src/errors.h,
21573 src/proto/gui.pro, src/proto/gui_gtk_x11.pro,
21574 src/testdir/test_gui.vim
21575
21576Patch 8.2.3525
21577Problem: Option variable name does not match option name. (Christ van
21578 Willigen)
21579Solution: Rename the variable.
21580Files: src/buffer.c, src/insexpand.c, src/option.c, src/optionstr.c,
21581 src/structs.h
21582
21583Patch 8.2.3526
21584Problem: Tests have clumsy check for X11 based GUI.
21585Solution: Add CheckX11BasedGui.
21586Files: src/testdir/check.vim, src/testdir/test_gui.vim,
21587 src/testdir/test_gui_init.vim, src/testdir/setup_gui.vim
21588
21589Patch 8.2.3527
21590Problem: Gcc complains about uninitialized variable. (Tony Mechelynck)
21591Solution: Initialize it.
21592Files: src/gui_gtk_x11.c
21593
21594Patch 8.2.3528
21595Problem: 'thesaurus' and 'thesaurusfunc' do not have the same scope.
21596Solution: Make 'thesaurusfunc' global-local.
21597Files: runtime/doc/options.txt, runtime/doc/insert.txt,
21598 src/optiondefs.h, src/option.h, src/option.c, src/structs.h,
21599 src/insexpand.c, src/testdir/test_edit.vim
21600
21601Patch 8.2.3529
21602Problem: Xxd usage output is incomplete.
21603Solution: Add "bytes" to "-g" flag. (Atsushi Sugawara, closes #8944)
21604Files: src/xxd/xxd.c
21605
21606Patch 8.2.3530
21607Problem: ":buf \{a}" fails while ":edit \{a}" works.
21608Solution: Unescape "\{". (closes #8917)
21609Files: src/vim.h, src/cmdexpand.c, src/evalfunc.c, src/ex_getln.c,
21610 src/proto/ex_getln.pro, src/normal.c, src/session.c,
21611 src/terminal.c, src/vim9execute.c, src/testdir/test_cmdline.vim
21612
21613Patch 8.2.3531 (after 8.2.3530)
21614Problem: Command line completion test fails on MS-Windows.
21615Solution: Do not test with "\{" on MS-Windows.
21616Files: src/testdir/test_cmdline.vim
21617
21618Patch 8.2.3532
21619Problem: The previous '' mark is restored after moving the cursor to the
21620 original jump position. (Tony Chen)
21621Solution: Forget the previous position after checking. (closes #8985)
21622Files: src/mark.c, src/testdir/test_marks.vim
21623
21624Patch 8.2.3533
21625Problem: Inefficient code in xxd.
21626Solution: Don't use "p" when "hextype" is non-zero. (closes #9013)
21627Files: src/xxd/xxd.c
21628
21629Patch 8.2.3534
21630Problem: Autoread test is a bit flaky.
21631Solution: Wait a brief moment before overwriting the file.
21632Files: src/testdir/test_stat.vim
21633
21634Patch 8.2.3535
21635Problem: If-else indenting is confusing.
21636Solution: Add curly brackets and indent. (Dominique Pellé, closes #9010)
21637Files: src/drawscreen.c
21638
21639Patch 8.2.3536
21640Problem: The do_highlight() function is way too long.
21641Solution: Split it into several functions. (Yegappan Lakshmanan,
21642 closes #9011)
21643Files: src/highlight.c
21644
21645Patch 8.2.3537
21646Problem: mode() does not return the right value in 'operatorfunc'.
21647Solution: Reset finish_op while calling 'operatorfunc'.
21648Files: src/ops.c, src/testdir/test_functions.vim
21649
21650Patch 8.2.3538
21651Problem: Else-if indenting is confusing.
21652Solution: Add curly brackets. (Yegappan Lakshmanan, closes #9017)
21653Files: src/highlight.c
21654
21655Patch 8.2.3539
21656Problem: GTK3: with 'rightleft' set scrollbar may move unintentionally.
21657Solution: Ignore events while moving the scrollbar thumb. (closes #8958)
21658Files: src/gui_gtk.c
21659
21660Patch 8.2.3540
21661Problem: The mark '] is wrong after put with a count. (Naohiro Ono)
21662Solution: Use the right line number. (closes #8956)
21663Files: src/register.c, src/testdir/test_put.vim
21664
21665Patch 8.2.3541
21666Problem: Compiler warning for unused variable in tiny version.
21667Solution: Add #ifdef. (John Marriott)
21668Files: src/highlight.c
21669
21670Patch 8.2.3542
21671Problem: Too many comments are old style.
21672Solution: Change comments to // style. (closes #9021)
21673Files: src/buffer.c
21674
21675Patch 8.2.3543
21676Problem: Swapname has double slash when 'directory' ends in double slash.
21677 (Shane Smith)
21678Solution: Remove the superfluous slash. (closes #8876)
21679Files: src/memline.c, src/testdir/test_swap.vim
21680
21681Patch 8.2.3544
21682Problem: Unix: may leak file descriptor when using a non-existing
21683 directory.
21684Solution: Always close the file. (closes #9023)
21685Files: src/os_unix.c
21686
21687Patch 8.2.3545
21688Problem: setcellwidths() may make 'listchars' or 'fillchars' invalid.
21689Solution: Check the value and give an error. (closes #9024)
21690Files: runtime/doc/eval.txt, src/optionstr.c, src/errors.h, src/mbyte.c,
21691 src/testdir/test_utf8.vim
21692
21693Patch 8.2.3546 (after 8.2.3545)
21694Problem: Build failure without the +eval feature.
21695Solution: Add #ifdef. (closes #9025)
21696Files: src/errors.h
21697
21698Patch 8.2.3547
21699Problem: Opening the quickfix window triggers BufWinEnter twice. (Yorick
21700 Peterse)
21701Solution: Only trigger BufWinEnter with "quickfix". (closes #9022)
21702Files: src/ex_cmds.c, src/vim.h, src/quickfix.c, src/buffer.c,
21703 src/testdir/test_quickfix.vim
21704
21705Patch 8.2.3548
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021706Problem: GTK GUI crashes when reading from stdin.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021707Solution: Do not overwrite the NUL after the string. (closes #9028)
21708Files: src/gui_gtk_x11.c, src/testdir/test_gui.vim
21709
21710Patch 8.2.3549
21711Problem: Mistakes in test comments.
21712Solution: Fix the comments. (closes #9029)
21713Files: src/testdir/test_autocmd.vim
21714
21715Patch 8.2.3550
21716Problem: completion() does not work properly.
21717Solution: Set xp_line and add WILD_HOME_REPLACE. (Shougo Matsushita,
21718 closes #9016)
21719Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
21720
21721Patch 8.2.3551
21722Problem: Checking first character of url twice.
21723Solution: Only check once. (closes #9026)
21724Files: src/misc1.c
21725
21726Patch 8.2.3552
21727Problem: Xxd revert does not handle end of line correctly.
21728Solution: Check for newline first. (closes #9034)
21729Files: src/xxd/xxd.c, src/testdir/test_xxd.vim
21730
21731Patch 8.2.3553 (after 8.2.3552)
21732Problem: Xxd test fails on MS-Windows.
21733Solution: Split shell command in two.
21734Files: src/testdir/test_xxd.vim
21735
21736Patch 8.2.3554
21737Problem: Xxd has various way to exit.
21738Solution: Add function to print error and exit. (closes #9035)
21739Files: src/xxd/xxd.c
21740
21741Patch 8.2.3555
21742Problem: ModeChanged is not triggered on every mode change.
21743Solution: Also trigger on minor mode changes. (Maguns Gross, closes #8999)
21744Files: runtime/doc/autocmd.txt, src/autocmd.c, src/insexpand.c,
21745 src/misc1.c, src/normal.c, src/terminal.c,
21746 src/testdir/test_edit.vim
21747
21748Patch 8.2.3556
21749Problem: Filler lines are incorrect for other window in diff mode after
21750 making a change.
21751Solution: Copy filler lines from the current window. (closes #8809)
21752Files: src/diff.c, src/testdir/test_diffmode.vim,
21753 src/testdir/dumps/Test_diff_scroll_change_03.dump
21754
21755Patch 8.2.3557
21756Problem: Vim9: cannot call imported funcref at script level.
21757Solution: Check for an imported function. (closes #9007)
21758Files: src/userfunc.c, src/testdir/test_vim9_script.vim
21759
21760Patch 8.2.3558 (after 8.2.3557)
21761Problem: Vim9: asserting the wrong variable.
21762Solution: Don't use Foo, use Goo.
21763Files: src/testdir/test_vim9_script.vim
21764
21765Patch 8.2.3559
21766Problem: Loop variable recreated every time.
21767Solution: Keep the loop variable when looping.
21768Files: src/ex_eval.c
21769
21770Patch 8.2.3560
21771Problem: Using freed memory with lambda.
21772Solution: Do not free lines early, keep them until the expression is
21773 finished. (closes #9020)
21774Files: src/eval.c, src/proto/eval.pro, src/userfunc.c, src/vim9compile.c,
21775 src/structs.h, src/globals.h, src/testdir/test_vim9_func.vim
21776
21777Patch 8.2.3561
21778Problem: Cscope has a complicated way of giving an error message.
21779Solution: Use semsg(). (James McCoy, closes #9038)
21780Files: src/if_cscope.c
21781
21782Patch 8.2.3562
21783Problem: Cannot add color names.
21784Solution: Add the v:colornames dictionary. (Drew Vogel, closes #8761)
21785Files: Filelist, READMEdir/README_extra.txt, nsis/gvim.nsi,
21786 runtime/colors/README.txt, runtime/colors/lists/csscolors.vim,
21787 runtime/colors/lists/default.vim, runtime/doc/eval.txt,
21788 runtime/doc/gui_w32.txt, runtime/doc/message.txt,
21789 runtime/doc/os_haiku.txt, runtime/doc/syntax.txt,
21790 runtime/doc/usr_06.txt, src/Makefile, src/evalvars.c,
21791 src/gui_haiku.cc, src/highlight.c, src/gui.c, src/job.c,
21792 src/proto/highlight.pro, src/proto/term.pro, src/term.c,
21793 src/vim.h, src/globals.h, src/errors.h,
21794 src/testdir/test_highlight.vim
21795
21796Patch 8.2.3563 (after 8.2.3562)
21797Problem: Build failure with +eval but without GUI or +termguicolors
21798Solution: Adjust #ifdef. (John Marriott)
21799Files: src/highlight.c
21800
21801Patch 8.2.3564
21802Problem: Invalid memory access when scrolling without a valid screen.
21803Solution: Do not set VALID_BOTLINE in w_valid.
21804Files: src/move.c, src/testdir/test_normal.vim
21805
21806Patch 8.2.3565
21807Problem: Makefile dependencies are outdated. (Gary Johnson)
21808Solution: Run "make depend" and add missing dependencies.
21809Files: src/Makefile
21810
21811Patch 8.2.3566
21812Problem: Build failure on old systems when using nano timestamp.
21813Solution: Define _BSD_SOURCE, _SVID_SOURCE and _DEFAULT_SOURCE. (Gary
21814 Johnson, closes #9054)
21815Files: src/vim.h
21816
21817Patch 8.2.3567
21818Problem: CTRL-I in Insert mode is not tested
21819Solution: Add a test case. (Dominique Pellé, closes #8866)
21820Files: src/testdir/test_edit.vim
21821
21822Patch 8.2.3568
21823Problem: Ctrl-hat test fails with Athena and Motif. (Elimar Riesebieter)
21824Solution: Run the test only with GTK. (Dominique Pellé, closes #9069)
21825Files: src/testdir/test_edit.vim
21826
21827Patch 8.2.3569
21828Problem: Error for :let when vimrc is Vim 9 script.
21829Solution: Prepend :legacy in the code for converting arguments. (Christian
21830 Brabandt, closes #9068, closes #9077)
21831Files: src/os_win32.c
21832
21833Patch 8.2.3570
21834Problem: Test_very_large_count fails on 32bit systems.
21835Solution: Bail out when using 32 bit numbers. (closes #9072)
21836Files: src/testdir/test_put.vim
21837
21838Patch 8.2.3571
21839Problem: Some unicode control characters are considered printable.
21840Solution: Make 0x2060 - 0x2069 not printable.
21841Files: src/mbyte.c
21842
21843Patch 8.2.3572
21844Problem: Memory leak when closing window and using "multispace" in
21845 'listchars'.
21846Solution: Free the memory. (closes #9071)
21847Files: src/window.c, src/testdir/test_listchars.vim
21848
21849Patch 8.2.3573
21850Problem: Cannot decide whether to skip test that fails with 64 bit ints.
21851 (closes #9072)
21852Solution: Add v:sizeofint, v:sizeoflong and v:sizeofpointer. Improve the
21853 check for multiply overflow.
21854Files: runtime/doc/eval.txt, src/vim.h, src/evalvars.c, src/register.c,
21855 src/testdir/test_put.vim
21856
21857Patch 8.2.3574 (after 8.2.3573)
21858Problem: Divide by zero.
21859Solution: Don't check for overflow if multiplicand is zero.
21860Files: src/register.c
21861
21862Patch 8.2.3575 (after 8.2.3574)
21863Problem: Overflow check still fails when sizeof(int) == sizeof(long).
21864Solution: Use a float to check the result.
21865Files: src/register.c
21866
21867Patch 8.2.3576
21868Problem: Some functions are not documented for use with a method.
21869Solution: Add examples. Fix that sign_unplacelist() only takes one
21870 argument. (Sean Dewar, closes #9081)
21871Files: src/evalfunc.c, runtime/doc/eval.txt
21872
21873Patch 8.2.3577 (after 8.2.3574)
21874Problem: Overflow check fails with 32 bit ints.
21875Solution: Only test with 64 bit ints.
21876Files: src/testdir/test_put.vim
21877
21878Patch 8.2.3578
21879Problem: Manipulating highlighting is complicated.
21880Solution: Add the hlget() and hlset() functions. (Yegappan Lakshmanan,
21881 closes #9039)
21882Files: runtime/doc/eval.txt, runtime/doc/syntax.txt,
21883 runtime/doc/usr_41.txt, runtime/doc/windows.txt, src/evalfunc.c,
21884 src/highlight.c, src/proto/highlight.pro,
21885 src/testdir/test_highlight.vim, src/testdir/test_vim9_builtin.vim
21886
21887Patch 8.2.3579
21888Problem: CI sometimes fails for MinGW.
21889Solution: Use backslashes in HandleSwapExists(). (Christian Brabandt,
21890 closes #9078)
21891Files: src/testdir/runtest.vim
21892
21893Patch 8.2.3580
21894Problem: gj does not move properly with a wide character.
21895Solution: Move one to the right. (Christian Brabandt, closes #8702)
21896Files: src/normal.c, src/testdir/test_normal.vim
21897
21898Patch 8.2.3581
21899Problem: Reading character past end of line.
21900Solution: Correct the cursor column.
21901Files: src/ex_docmd.c, src/testdir/test_put.vim
21902
21903Patch 8.2.3582
21904Problem: Reading uninitialized memory when giving spell suggestions.
21905Solution: Check that preword is not empty.
21906Files: src/spellsuggest.c, src/testdir/test_spell.vim
21907
21908Patch 8.2.3583
21909Problem: The "gd" and "gD" commands do not update search stats. (Gary
21910 Johnson)
21911Solution: Clear search stats.
21912Files: src/normal.c, src/testdir/test_search_stat.vim,
21913 src/testdir/dumps/Test_searchstatgd_1.dump,
21914 src/testdir/dumps/Test_searchstatgd_2.dump
21915
21916Patch 8.2.3584
21917Problem: "verbose set efm" reports the location of the :compiler command.
21918 (Gary Johnson)
21919Solution: Add the "-keepscript" argument to :command and use it when
21920 defining CompilerSet.
21921Files: runtime/doc/map.txt, src/ex_cmds2.c, src/usercmd.c, src/ex_cmds.h,
21922 src/testdir/test_compiler.vim
21923
21924Patch 8.2.3585
21925Problem: Crash when passing float to "term_rows" in the options argument of
21926 term_start(). (Virginia Senioria)
21927Solution: Bail out if the argument is not a number. (closes #9116)
21928Files: src/job.c, src/terminal.c, src/testdir/test_terminal.vim
21929
21930Patch 8.2.3586 (after 8.2.3584)
21931Problem: Command completion test fails.
21932Solution: Add new argument to expected output
21933Files: src/testdir/test_usercommands.vim
21934
21935Patch 8.2.3587 (after 8.2.3584)
21936Problem: Compiler test fails with backslash file separator.
21937Solution: Accept slash and backslash.
21938Files: src/testdir/test_compiler.vim
21939
21940Patch 8.2.3588
21941Problem: Break statement is never reached.
21942Solution: Rely on return value of set_chars_option() not changing.
21943 (closes #9103)
21944Files: src/optionstr.c
21945
21946Patch 8.2.3589
21947Problem: Failure when the "term_rows" argument of term_start() is an
21948 unusual value.
21949Solution: Limit to range of zero to 1000. (closes #9116)
21950Files: runtime/doc/terminal.txt, src/job.c, src/testdir/test_terminal.vim
21951
21952Patch 8.2.3590
21953Problem: Test for v:colornames sometimes fails. (Dominique Pellé)
21954Solution: Check features. Clear v:colornames between tests. (Drew Vogel,
21955 closes #9105, closes #9073)
21956Files: runtime/doc/eval.txt, src/highlight.c, src/proto/highlight.pro,
21957 src/testdir/test_highlight.vim
21958
21959Patch 8.2.3591
21960Problem: No event is triggered when closing a window.
21961Solution: Add the WinClosed event. (Naohiro Ono, closes #9110)
21962Files: runtime/doc/autocmd.txt, src/autocmd.c,
21963 src/testdir/test_autocmd.vim, src/vim.h, src/window.c
21964
21965Patch 8.2.3592
21966Problem: Test_hlset fails when terminal has many columns.
21967Solution: Set the number of columns to 80. (Dominique Pellé, closes #9101,
21968 closes #9100)
21969Files: src/testdir/test_highlight.vim
21970
21971Patch 8.2.3593
21972Problem: Directory is wrong after executing "lcd" with win_execute().
21973Solution: Correct the directory when going back to the original window.
21974 (closes #9132)
21975Files: src/evalwindow.c, src/window.c, src/proto/window.pro,
21976 src/testdir/test_execute_func.vim
21977
21978Patch 8.2.3594
21979Problem: Xxd code is a bit difficult to understand.
21980Solution: Move some lines to a separate function. (closes #9037)
21981Files: src/xxd/xxd.c
21982
21983Patch 8.2.3595
21984Problem: Check for signed overflow might not work everywhere.
21985Solution: Limit to 32 bit int. (closes #9043, closes #9067)
21986Files: src/getchar.c
21987
21988Patch 8.2.3596
21989Problem: Crash when using :pedit in Vim9 script.
21990Solution: Move check for arguments to after checking there are arguments.
21991 (Yegappan Lakshmanan, closes #9134, closes #9135)
21992Files: src/popupwin.c, src/testdir/test_vim9_cmd.vim
21993
21994Patch 8.2.3597
21995Problem: Vim seems to hang when writing a very long text to a terminal
21996 window.
21997Solution: Limit the amount of text based on 'termwinscroll'. (issue #9080)
21998Files: runtime/doc/options.txt, src/terminal.c
21999
22000Patch 8.2.3598
22001Problem: RouterOS filetype is not recognized.
22002Solution: Add file and script patterns. (closes #9097)
22003Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22004
22005Patch 8.2.3599
22006Problem: Not all gdbinit files are recognized.
22007Solution: Add "gdbinit". (Doug Kearns)
22008Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22009
22010Patch 8.2.3600 (after 8.2.3598)
22011Problem: Filetype test fails.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000022012Solution: Add missing change.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000022013Files: runtime/scripts.vim
22014
22015Patch 8.2.3601
22016Problem: Check for overflow in put count does not work well.
22017Solution: Improve the overflow check. (Ozaki Kiichi, closes #9102)
22018Files: src/register.c, src/testdir/test_put.vim
22019
22020Patch 8.2.3602
22021Problem: Python3 test fails with Python 3.10 on MS-Windows.
22022Solution: Adjust the expected error. (Ken Takata, closes #9118)
22023Files: src/testdir/test_python3.vim
22024
22025Patch 8.2.3603
22026Problem: Fish filetype not recognized.
22027Solution: Add a file pattern and match script line. (Doug Kearns)
22028Files: runtime/filetype.vim, runtime/scripts.vim,
22029 src/testdir/test_filetype.vim
22030
22031Patch 8.2.3604
22032Problem: Not all sudoers files are recognized.
22033Solution: Add a file pattern. (Doug Kearns, closes #1192)
22034Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22035
22036Patch 8.2.3605
22037Problem: Cannot clear and unlink a highlight group with hlset() in a
22038 single call.
22039Solution: Add the "force" option. (Yegappan Lakshmanan, closes #9117)
22040Files: runtime/doc/eval.txt, src/highlight.c,
22041 src/testdir/test_highlight.vim, src/testdir/test_vim9_builtin.vim,
22042 src/testdir/test_vim9_cmd.vim
22043
22044Patch 8.2.3606
22045Problem: File missing from list of distributed files.
22046Solution: Add the file.
22047Files: Filelist
22048
22049Patch 8.2.3607
22050Problem: GTK3 screen updating is slow.
22051Solution: Remove some of the GTK3-specific code. (closes #9052)
22052Files: src/gui.h, src/gui_gtk_x11.c
22053
22054Patch 8.2.3608
22055Problem: Users who type "q:" instead of ":q" are confused.
22056Solution: Add an autocmd to give a message that explains this is the
22057 command-line window. (Egor Zvorykin, closes #9146)
22058Files: runtime/defaults.vim, src/testdir/test_autocmd.vim,
22059 src/testdir/test_cmdline.vim
22060
22061Patch 8.2.3609
22062Problem: Internal error when ModeChanged is triggered when v:event is
22063 already in use.
22064Solution: Save and restore v:event if needed.
22065Files: src/misc1.c, src/proto/misc1.pro, src/testdir/test_edit.vim,
22066 src/insexpand.c, src/structs.h, src/register.c
22067
22068Patch 8.2.3610
22069Problem: Crash when ModeChanged triggered too early.
22070Solution: Trigger ModeChanged after setting VIsual.
22071Files: src/normal.c, src/testdir/test_edit.vim
22072
22073Patch 8.2.3611
22074Problem: Crash when using CTRL-W f without finding a file name.
22075Solution: Bail out when the file name length is zero.
22076Files: src/findfile.c, src/normal.c, src/testdir/test_visual.vim
22077
22078Patch 8.2.3612
22079Problem: Using freed memory with regexp using a mark.
22080Solution: Get the line again after getting the mark position.
22081Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test_regexp_latin.vim
22082
22083Patch 8.2.3613
22084Problem: :find test fails.
22085Solution: Put length check inside if block.
22086Files: src/findfile.c
22087
22088Patch 8.2.3614
22089Problem: zindex of popup windows not used when redrawing popup menu.
22090Solution: Check the zindex when redrawing the popup menu. (closes #9129,
22091 closes #9089)
22092Files: src/popupmenu.c, src/popupwin.c, src/proto/popupmenu.pro,
22093 src/screen.c, src/testdir/test_popupwin.vim,
22094 src/testdir/dumps/Test_popupwin_popupmenu_masking_1.dump,
22095 src/testdir/dumps/Test_popupwin_popupmenu_masking_2.dump
22096
22097Patch 8.2.3615
22098Problem: When re-formatting with an indent expression the first line of a
22099 paragraph may get the wrong indent. (Martin F. Krafft)
22100Solution: Apply the correct indenting function for the first line.
22101 (Christian Brabandt, closes #9150, closes #9056)
22102Files: src/textformat.c, src/testdir/test_indent.vim
22103
22104Patch 8.2.3616
22105Problem: Arglist test does not clear the argument list consistently.
22106Solution: Call Reset_arglist(). (Shougo Matsushita, closes #9154)
22107Files: src/testdir/test_arglist.vim
22108
22109Patch 8.2.3617
22110Problem: ":verbose pwd" does not mention 'autochdir' was applied.
22111Solution: Remember the last chdir was done by 'autochdir'. (issue #9142)
22112Files: src/globals.h, src/buffer.c, src/ex_docmd.c, src/window.c,
22113 src/main.c, src/netbeans.c, src/os_win32.c,
22114 src/testdir/test_autochdir.vim
22115
22116Patch 8.2.3618
22117Problem: getcwd() is unclear about how 'autochdir' is used.
22118Solution: Update the help for getcwd(). Without any arguments always return
22119 the actual current directory. (closes #9142)
22120Files: runtime/doc/eval.txt, src/filepath.c, src/testdir/test_cd.vim
22121
22122Patch 8.2.3619
22123Problem: Cannot use a lambda for 'operatorfunc'.
22124Solution: Support using a lambda or partial. (Yegappan Lakshmanan,
22125 closes #8775)
22126Files: runtime/doc/map.txt, runtime/doc/options.txt, src/ops.c,
22127 src/option.c, src/optionstr.c, src/proto/ops.pro,
22128 src/proto/option.pro, src/quickfix.c, src/testdir/test_normal.vim
22129
22130Patch 8.2.3620
22131Problem: Memory leak reported in libtlib.
22132Solution: Call del_curterm() when cleaning up memory. Rename term.h to
22133 termdefs.h to avoid a name clash.
22134Files: src/term.c, src/proto/term.pro, src/alloc.c, src/configure.ac,
22135 src/auto/configure, src/config.h.in, src/Makefile,
22136 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms,
22137 src/term.h, src/termdefs.h
22138
22139Patch 8.2.3621 (after 8.2.3620)
22140Problem: Build failure.
22141Solution: Add missing change.
22142Files: src/vim.h
22143
22144Patch 8.2.3622
22145Problem: "verbose pwd" shows confusing info when :lcd does not change
22146 directory.
22147Solution: Clear last_chdir_reason also when the directory does not change.
22148 (closes #9160)
22149Files: src/ex_docmd.c, src/testdir/test_autochdir.vim
22150
22151Patch 8.2.3623
22152Problem: "$*" is expanded to "nonomatch".
22153Solution: Only add "set nonomatch" when using a csh-like shell. (Christian
22154 Brabandt, closes #9159, closes #9153)
22155Files: src/os_unix.c, src/testdir/test_expand.vim
22156
22157Patch 8.2.3624
22158Problem: When renaming a terminal buffer the status text is not updated.
22159Solution: Clear the cached status text when renaming a terminal buffer.
22160 (closes #9162)
22161Files: src/buffer.c, src/terminal.c, src/proto/terminal.pro,
22162 src/testdir/test_terminal.vim
22163
22164Patch 8.2.3625
22165Problem: Illegal memory access when C-indenting.
22166Solution: Also set the cursor column.
22167Files: src/cindent.c, src/testdir/test_cindent.vim
22168
22169Patch 8.2.3626
22170Problem: "au!" and "au! event" cannot be followed by another command as
22171 documented.
22172Solution: When a bar is found set nextcmd.
22173Files: src/autocmd.c, src/testdir/test_autocmd.vim
22174
22175Patch 8.2.3627
22176Problem: difficult to know where the text starts in a window. (Sergey
22177 Vlasov)
22178Solution: Add the "textoff" entry in the result of getwininfo().
22179 (closes #9163)
22180Files: runtime/doc/eval.txt, src/evalwindow.c,
22181 src/testdir/test_bufwintabinfo.vim
22182
22183Patch 8.2.3628
22184Problem: Looking up terminal colors is a bit slow.
22185Solution: Cache the terminal colors. (closes #9130, closes #9058)
22186Files: src/highlight.c, src/libvterm/include/vterm.h, src/option.c,
22187 src/optionstr.c, src/popupwin.c, src/proto/terminal.pro,
22188 src/structs.h, src/terminal.c, src/window.c,
22189 src/testdir/test_terminal3.vim,
22190 src/testdir/dumps/Test_terminal_color_MyTermCol.dump,
22191 src/testdir/dumps/Test_terminal_color_MyTermCol_over_Terminal.dump,
22192 src/testdir/dumps/Test_terminal_color_MyWinCol.dump,
22193 src/testdir/dumps/Test_terminal_color_MyWinCol_over_group.dump,
22194 src/testdir/dumps/Test_terminal_color_Terminal.dump,
22195 src/testdir/dumps/Test_terminal_color_gui_MyTermCol.dump,
22196 src/testdir/dumps/Test_terminal_color_gui_MyWinCol.dump,
22197 src/testdir/dumps/Test_terminal_color_gui_Terminal.dump,
22198 src/testdir/dumps/Test_terminal_color_gui_transp_MyTermCol.dump,
22199 src/testdir/dumps/Test_terminal_color_gui_transp_MyWinCol.dump,
22200 src/testdir/dumps/Test_terminal_color_gui_transp_Terminal.dump,
22201 src/testdir/dumps/Test_terminal_color_transp_MyTermCol.dump,
22202 src/testdir/dumps/Test_terminal_color_transp_MyWinCol.dump,
22203 src/testdir/dumps/Test_terminal_color_transp_Terminal.dump,
22204 src/testdir/dumps/Test_terminal_popup_MyPopupHlCol.dump,
22205 src/testdir/dumps/Test_terminal_popup_MyTermCol_over_Terminal.dump,
22206 src/testdir/dumps/Test_terminal_popup_MyWinCol.dump,
22207 src/testdir/dumps/Test_terminal_popup_MyWinCol_over_group.dump,
22208 src/testdir/dumps/Test_terminal_popup_gui_MyPopupHlCol.dump,
22209 src/testdir/dumps/Test_terminal_popup_gui_MyTermCol.dump,
22210 src/testdir/dumps/Test_terminal_popup_gui_MyWinCol.dump,
22211 src/testdir/dumps/Test_terminal_popup_gui_Terminal.dump,
22212 src/testdir/dumps/Test_terminal_popup_gui_transp_MyPopupHlCol.dump,
22213 src/testdir/dumps/Test_terminal_popup_gui_transp_MyTermCol.dump,
22214 src/testdir/dumps/Test_terminal_popup_gui_transp_MyWinCol.dump,
22215 src/testdir/dumps/Test_terminal_popup_gui_transp_Terminal.dump,
22216 src/testdir/dumps/Test_terminal_popup_transp_MyPopupHlCol.dump,
22217 src/testdir/dumps/Test_terminal_popup_transp_MyTermCol.dump,
22218 src/testdir/dumps/Test_terminal_popup_transp_MyWinCol.dump,
22219 src/testdir/dumps/Test_terminal_popup_transp_Terminal.dump,
22220 src/testdir/dumps/Test_terminal_wincolor_split_MyWinCol.dump,
22221 src/testdir/dumps/Test_terminal_wincolor_split_MyWinCol2.dump
22222
22223Patch 8.2.3629
22224Problem: Command completion in cmdline window uses global user commands,
22225 not local commands for the window where it was opened from.
22226Solution: Use local commands. (closes #9168)
22227Files: src/ex_getln.c, src/proto/ex_getln.pro, src/evalvars.c,
22228 src/usercmd.c, src/testdir/test_ins_complete.vim
22229
22230Patch 8.2.3630
22231Problem: Printf() with %S does not handle multi-byte correctly.
22232Solution: Count cells instead of bytes. (closes #9169, closes #7486)
22233Files: src/strings.c, src/testdir/test_expr.vim
22234
22235Patch 8.2.3631
22236Problem: "syntax enable" does not work properly in Vim9 context.
22237Solution: Also handle Vim9 context. (closes #9161)
22238Files: src/syntax.c, src/testdir/test_vim9_cmd.vim
22239
22240Patch 8.2.3632
22241Problem: GTK3: undercurl does not get removed properly.
22242Solution: Set the cairo cursor first. (closes #9170)
22243Files: src/gui_gtk_x11.c
22244
22245Patch 8.2.3633
22246Problem: Vim9: line number of lambda is off by one.
22247Solution: Add one to the line number. (closes #9083)
22248Files: src/userfunc.c, src/testdir/test_vim9_func.vim
22249
22250Patch 8.2.3634
22251Problem: Error for already defined function uses wrong line number.
22252Solution: Set SOURCING_LNUM before giving the error message. (closes #9085)
22253Files: src/userfunc.c, src/testdir/test_vim9_func.vim
22254
22255Patch 8.2.3635
22256Problem: GTK: composing underline does not show.
22257Solution: Include composing character in pango call. A few more
22258 optimizations for ligatures. (Dusan Popovic, closes #9171,
22259 closes #9147)
22260Files: src/gui_gtk_x11.c
22261
22262Patch 8.2.3636
22263Problem: Coverity warns for unreachable code.
22264Solution: Remove unreachable else block.
22265Files: src/gui_gtk_x11.c
22266
22267Patch 8.2.3637
22268Problem: Typos in test files.
22269Solution: Correct the typos. (Dominique Pellé, closes #9175)
22270Files: src/testdir/runtest.vim, src/testdir/test_debugger.vim,
22271 src/testdir/test_diffmode.vim, src/testdir/test_edit.vim,
22272 src/testdir/test_excmd.vim, src/testdir/test_flatten.vim,
22273 src/testdir/test_ins_complete.vim, src/testdir/test_normal.vim,
22274 src/testdir/test_options.vim, src/testdir/test_python2.vim,
22275 src/testdir/test_python3.vim, src/testdir/test_quickfix.vim,
22276 src/testdir/test_recover.vim, src/testdir/test_spellfile.vim,
22277 src/testdir/test_syntax.vim, src/testdir/test_termcodes.vim,
22278 src/testdir/test_textobjects.vim, src/testdir/test_trycatch.vim,
22279 src/testdir/test_vim9_script.vim, src/testdir/test_viminfo.vim
22280
22281Patch 8.2.3638
22282Problem: getcompletion() always passes zero as position to custom
22283 completion function.
22284Solution: Pass the pattern length. (closes #9173)
22285Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
22286
22287Patch 8.2.3639 (after 8.2.2922)
22288Problem: Line commented out accidentally.
22289Solution: Uncomment. (Volodymyr Kot, closes #9172)
22290Files: src/main.c
22291
22292Patch 8.2.3640
22293Problem: Freeze when calling term_wait() in a close callback.
22294Solution: Set a "closing" flag to tell term_wait() to return. (closes #9152)
22295Files: src/channel.c, src/terminal.c, src/proto/terminal.pro,
22296 src/testdir/test_terminal.vim
22297
22298Patch 8.2.3641
22299Problem: Xxd code has duplicate expressions.
22300Solution: Refactor to avoid duplication. (closes #9185)
22301Files: src/xxd/xxd.c
22302
22303Patch 8.2.3642
22304Problem: List of distributed files is outdated.
22305Solution: Rename term.h to termdefs.h.
22306Files: Filelist
22307
22308Patch 8.2.3643
22309Problem: Header for source file is outdated.
22310Solution: Make the header more accurate. (closes #9186)
22311Files: src/map.c, src/getchar.c
22312
22313Patch 8.2.3644
22314Problem: Count for 'operatorfunc' in Visual mode is not redone.
22315Solution: Add the count to the redo buffer. (closes #9174)
22316Files: src/normal.c, src/proto/normal.pro, src/ops.c,
22317 src/testdir/test_normal.vim
22318
22319Patch 8.2.3645
22320Problem: Vim9: The "no effect" error is not given for all registers.
22321Solution: Include any character following '@'. (closes #8779)
22322Files: src/ex_eval.c, src/testdir/test_vim9_cmd.vim
22323
22324Patch 8.2.3646
22325Problem: Using <sfile> in a function gives an unexpected result.
22326Solution: Give an error in a Vim9 function. (issue #9189)
22327Files: src/scriptfile.c, src/errors.h, src/testdir/test_vim9_builtin.vim
22328
22329Patch 8.2.3647
22330Problem: GTK: when using ligatures the cursor is drawn wrong.
22331Solution: Clear more characters when ligatures are used. (Dusan Popovic,
22332 closes #9190)
22333Files: src/gui.c
22334
22335Patch 8.2.3648
22336Problem: "verbose pwd" is incorrect after dropping files on Vim.
22337Solution: Set the chdir reason to "drop".
22338Files: src/gui.c
22339
22340Patch 8.2.3649
22341Problem: Vim9: error for variable declared in while loop.
22342Solution: Do not keep the first variable. (closes #9191)
22343Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
22344
22345Patch 8.2.3650
22346Problem: Vim9: for loop variable can be a list member.
22347Solution: Check for valid variable name. (closes #9179)
22348Files: src/vim9compile.c, src/dict.c, src/eval.c, src/evalvars.c,
22349 src/proto/evalvars.pro, src/testdir/test_vim9_script.vim
22350
22351Patch 8.2.3651
22352Problem: Vim9: no error for :lock or :unlock with unknown variable.
22353Solution: Give an error. (closes #9188)
22354Files: src/evalvars.c, src/errors.h, src/testdir/test_vim9_cmd.vim
22355
22356Patch 8.2.3652
22357Problem: Can only get text properties one line at a time.
22358Solution: Add options to prop_list() to use a range of lines and filter by
22359 types. (Yegappan Lakshmanan, closes #9138)
22360Files: runtime/doc/textprop.txt, src/textprop.c,
22361 src/testdir/test_textprop.vim
22362
22363Patch 8.2.3653
22364Problem: Terminal ANSI colors may be wrong.
22365Solution: Initialize the color type. (closes #9198, closes #9197)
22366Files: src/terminal.c
22367
22368Patch 8.2.3654
22369Problem: GTK: a touch-drag does not update the selection.
22370Solution: Add GDK_BUTTON1_MASK to the state. (Chris Dalton, close #9196,
22371 closes #9194)
22372Files: src/gui_gtk_x11.c
22373
22374Patch 8.2.3655
22375Problem: Compiler warning for using size_t for int.
22376Solution: Add a type cast. (Mike Williams, closes #9199)
22377Files: src/vim9compile.c
22378
22379Patch 8.2.3656
Bram Moolenaar1588bc82022-03-08 21:35:07 +000022380Problem: Vim9: no error for an environment variable by itself.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000022381Solution: Give a "without effect" error. (closes #9166)
22382Files: src/ex_eval.c, src/testdir/test_vim9_cmd.vim
22383
22384Patch 8.2.3657
22385Problem: Vim9: debug text misses one line of return statement.
22386Solution: Add a line when not at a debug instruction. (closes #9137)
22387Files: src/vim9execute.c, src/testdir/test_debugger.vim
22388
22389Patch 8.2.3658
22390Problem: Duplicate code in xxd.
22391Solution: Merge duplicated code. Add more tests. (closes #9192)
22392Files: src/xxd/xxd.c, src/testdir/test_xxd.vim
22393
22394Patch 8.2.3659
22395Problem: Integer overflow with large line number.
22396Solution: Check for overflow. (closes #9202)
22397Files: src/errors.h, src/ex_docmd.c, src/testdir/test_excmd.vim
22398 src/normal.c, src/testdir/test_normal.vim
22399
22400Patch 8.2.3660 (after 8.2.3659)
22401Problem: Overflow check uses wrong number.
22402Solution: Divide by ten.
22403Files: src/normal.c
22404
22405Patch 8.2.3661 (after 8.2.3659)
22406Problem: Test for put with large count fails.
22407Solution: Adjust the counts in the test.
22408Files: src/testdir/test_put.vim
22409
22410Patch 8.2.3662
22411Problem: Illegal memory access if malloc() fails.
22412Solution: Check 'foldmethod' is not empty. (closes #9207)
22413Files: src/fold.c
22414
22415Patch 8.2.3663
22416Problem: Using %S in printf() does not work correctly.
22417Solution: Fix the problem and add more tests. (closes #9208)
22418Files: src/strings.c, src/testdir/test_expr.vim
22419
22420Patch 8.2.3664
22421Problem: Cannot adjust sign highlighting for 'cursorline'.
22422Solution: Add CursorLineSign and CursorLineFold highlight groups.
22423 (Gregory Anders, closes #9201)
22424Files: runtime/doc/sign.txt, runtime/doc/syntax.txt, src/drawline.c,
22425 src/highlight.c, src/optiondefs.h, src/popupwin.c,
22426 src/proto/sign.pro, src/sign.c, src/structs.h, src/vim.h,
22427 src/testdir/test_signs.vim
22428
22429Patch 8.2.3665
22430Problem: Cannot use a lambda for 'tagfunc'.
22431Solution: Use 'tagfunc' like 'opfunc'. (Yegappan Lakshmanan, closes #9204)
22432Files: runtime/doc/options.txt, src/buffer.c, src/option.c,
22433 src/optionstr.c, src/proto/tag.pro, src/structs.h, src/tag.c,
22434 src/testdir/test_tagfunc.vim
22435
22436Patch 8.2.3666
22437Problem: Libvterm is outdated.
22438Solution: Include patches from revision 769 to revision 789.
22439Files: Filelist, src/libvterm/Makefile, src/libvterm/doc/seqs.txt,
22440 src/libvterm/include/vterm.h, src/libvterm/src/mouse.c,
22441 src/libvterm/src/parser.c, src/libvterm/src/state.c,
22442 src/libvterm/src/vterm.c, src/libvterm/src/vterm_internal.h,
22443 src/libvterm/t/02parser.test, src/libvterm/t/17state_mouse.test,
22444 src/libvterm/t/29state_fallback.test,
22445 src/libvterm/t/40state_selection.test, src/libvterm/t/harness.c,
22446 src/libvterm/t/run-test.pl, src/libvterm/vterm.pc.in,
22447 src/terminal.c
22448
22449Patch 8.2.3667
22450Problem: Building libvterm fails with MSVC.
22451Solution: Don't use C99 construct.
22452Files: src/libvterm/src/state.c
22453
22454Patch 8.2.3668
22455Problem: Messages may be corrupted.
22456Solution: Use another buffer instead of IObuff. (Yegappan Lakshmanan,
22457 closes #9195)
22458Files: src/highlight.c, src/testdir/test_highlight.vim
22459
22460Patch 8.2.3669
22461Problem: Buffer overflow with long help argument.
22462Solution: Use snprintf().
22463Files: src/help.c, src/testdir/test_help.vim
22464
22465Patch 8.2.3670
22466Problem: Error checks repeated several times.
22467Solution: Move the checks to functions. (closes #9213)
22468Files: src/xxd/xxd.c
22469
22470Patch 8.2.3671
22471Problem: Restarting Insert mode in prompt buffer too often when a callback
22472 switches windows and comes back. (Sean Dewar)
22473Solution: Do not set "restart_edit" when already in Insert mode.
22474 (closes #9212)
22475Files: src/window.c, src/testdir/test_prompt_buffer.vim
22476
22477Patch 8.2.3672 (after 8.2.3670)
22478Problem: Build failure with unsigned char.
22479Solution: Use int instead of char.
22480Files: src/xxd/xxd.c
22481
22482Patch 8.2.3673
22483Problem: Crash when allocating signal stack fails.
22484Solution: Only using sourcing info when available. (closes #9215)
22485Files: src/globals.h, src/message.c
22486
22487Patch 8.2.3674
22488Problem: When ml_get_buf() fails it messes up IObuff.
22489Solution: Return a local pointer. (closes #9214)
22490Files: src/memline.c
22491
22492Patch 8.2.3675
22493Problem: Using freed memory when vim_strsave() fails.
22494Solution: Clear "last_sourcing_name". Check for msg_source() called
22495 recursively. (closes #8217)
22496Files: src/message.c
22497
22498Patch 8.2.3676
22499Problem: Unused runtime file.
22500Solution: Remove rgb.txt.
22501Files: runtime/rgb.txt
22502
22503Patch 8.2.3677
22504Problem: After a put the '] mark is on the last byte of a multi-byte
22505 character.
22506Solution: Move it to the first byte. (closes #9047)
22507Files: src/register.c, src/testdir/test_put.vim
22508
22509Patch 8.2.3678 (after 8.2.3677)
22510Problem: Illegal memory access.
22511Solution: Ignore changed indent when computing byte offset.
22512Files: src/register.c
22513
22514Patch 8.2.3679
22515Problem: objc file detected as Octave. (Antony Lee)
22516Solution: Detect objc by preprocessor lines. (Doug Kearns, closes #9223,
22517 closes #9220)
22518Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim
22519
22520Patch 8.2.3680
22521Problem: Repeated code in xxd.
22522Solution: Change exit_on_ferror() to getc_or_die(). (closes #9226)
22523Files: src/xxd/xxd.c
22524
22525Patch 8.2.3681
22526Problem: Cannot drag popup window after click on a status line. (Sergey
22527 Vlasov)
22528Solution: Reset on_status_line. (closes #9221)
22529Files: src/mouse.c, src/testdir/test_popupwin.vim,
22530 src/testdir/dumps/Test_popupwin_drag_04.dump
22531
22532Patch 8.2.3682
22533Problem: Vim9: assigning to a script variable drops the required type.
22534Solution: Lookup the type of the variable and use it. (closes #9219)
22535Files: src/evalvars.c, src/vim9script.c, src/proto/vim9script.pro,
22536 src/testdir/test_vim9_assign.vim
22537
22538Patch 8.2.3683
22539Problem: Vim9: cannot use `=expr` in :...do commands.
22540Solution: Add EX_EXPAND to the commands. (closes #9232)
22541Files: src/ex_cmds.h, src/testdir/test_vim9_cmd.vim
22542
22543Patch 8.2.3684
22544Problem: Blockwise insert does not handle autoindent properly.
22545Solution: Adjust text column for indent. (closes #9229)
22546Files: src/ops.c, src/testdir/test_blockedit.vim
22547
22548Patch 8.2.3685
Bram Moolenaar1588bc82022-03-08 21:35:07 +000022549Problem: Visual Studio project files are not recognized.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000022550Solution: Use the xml file type. (Doug Kearns)
22551Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22552
22553Patch 8.2.3686
22554Problem: Filetype detection often mixes up Forth and F#.
22555Solution: Add a function to inspect the file contents. (Doug Kearns)
22556Files: runtime/autoload/dist/ft.vim, runtime/doc/filetype.txt,
22557 runtime/doc/syntax.txt, runtime/filetype.vim, runtime/scripts.vim,
22558 src/testdir/test_filetype.vim
22559
22560Patch 8.2.3687
22561Problem: Blockwise insert does not handle autoindent properly when tab is
22562 inserted.
22563Solution: Adjust text column for indent before computing column.
22564 (closes #9229)
22565Files: src/ops.c, src/testdir/test_blockedit.vim
22566
22567Patch 8.2.3688
22568Problem: The window title is not updated when dragging the scrollbar.
22569Solution: Call maketitle(). (Christian Brabandt, closes #9238, closes #5383)
22570Files: src/gui.c
22571
22572Patch 8.2.3689
22573Problem: ex_let_one() is too long.
22574Solution: Split into multiple functions.
22575Files: src/evalvars.c
22576
22577Patch 8.2.3690
22578Problem: Vim9: "filter #pat# cmd" does not work.
22579Solution: Do not see #pat# as a comment.
22580Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
22581
22582Patch 8.2.3691
22583Problem: Build failure with small features.
22584Solution: Add #ifdef. (Dominique Pellé)
22585Files: src/gui.c
22586
22587Patch 8.2.3692
22588Problem: Vim9: cannot use :func inside a :def function.
22589Solution: Make it work.
22590Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/errors.h,
22591 src/structs.h, src/userfunc.c, src/testdir/test_vim9_func.vim
22592
22593Patch 8.2.3693
22594Problem: Coverity warns for possibly using a NULL pointer.
22595Solution: Check for NULL and give an error.
22596Files: src/vim9execute.c, src/errors.h
22597
22598Patch 8.2.3694
22599Problem: Cannot use quotes in the count of an Ex command.
22600Solution: Add getdigits_quoted(). Give an error when misplacing a quote in
22601 a range. (closes #9240)
22602Files: src/ex_docmd.c, src/charset.c, src/proto/charset.pro,
22603 src/testdir/test_usercommands.vim
22604
22605Patch 8.2.3695
22606Problem: Confusing error for missing key.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000022607Solution: Use the actual key for the error. (closes #9241)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000022608Files: src/eval.c, src/testdir/test_listdict.vim
22609
22610Patch 8.2.3696
22611Problem: Vim9: error for invalid assignment when skipping.
22612Solution: Do not check white space when skipping. (closes #9243)
22613Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
22614
22615Patch 8.2.3697
22616Problem: Cannot drag a popup without a border.
22617Solution: Add the "dragall" option. (closes #9218)
22618Files: runtime/doc/popup.txt, src/mouse.c, src/popupwin.c, src/vim.h,
22619 src/testdir/test_popupwin.vim,
22620 src/testdir/dumps/Test_popupwin_drag_05.dump,
22621 src/testdir/dumps/Test_popupwin_drag_06.dump
22622
22623Patch 8.2.3698
22624Problem: Match highlighting continues over breakindent.
22625Solution: Stop before the end column. (closes #9242)
22626Files: src/match.c, src/proto/match.pro, src/drawline.c,
22627 src/testdir/test_match.vim,
22628 src/testdir/dumps/Test_match_linebreak.dump
22629
22630Patch 8.2.3699
22631Problem: The +title feature adds a lot of #ifdef but little code.
22632Solution: Graduate the +title feature.
22633Files: src/feature.h, src/alloc.c, src/arglist.c, src/autocmd.c,
22634 src/buffer.c, src/bufwrite.c, src/change.c, src/drawscreen.c,
22635 src/evalfunc.c, src/ex_cmds.c, src/ex_docmd.c, src/gui.c,
22636 src/gui_gtk_x11.c, src/if_xcmdsrv.c, src/locale.c, src/main.c,
22637 src/misc2.c, src/netbeans.c, src/option.c, src/optionstr.c,
22638 src/os_amiga.c, src/os_mswin.c, src/os_unix.c, src/os_win32.c,
22639 src/regexp.c, src/term.c, src/ui.c, src/version.c, src/window.c,
22640 src/globals.h, src/option.h, src/optiondefs.h,
22641 runtime/doc/options.txt, runtime/doc/various.txt
22642
22643Patch 8.2.3700
22644Problem: Text property highlighting continues over breakindent.
22645Solution: Stop before the end column. (closes #9242)
22646Files: src/drawline.c, src/testdir/test_textprop.vim,
22647 src/testdir/dumps/Test_prop_linebreak.dump
22648
22649Patch 8.2.3701
22650Problem: Vim9: invalid LHS is not possible.
22651Solution: Remove unreachable error message.
22652Files: src/vim9compile.c
22653
22654Patch 8.2.3702
22655Problem: First key in dict is seen as curly expression and fails.
22656Solution: Ignore failure of curly expression. (closes #9247)
22657Files: src/typval.c, src/dict.c, src/testdir/test_listdict.vim
22658
22659Patch 8.2.3703 (after 8.2.3686)
22660Problem: Most people call F# "fsharp" and not "fs".
22661Solution: Rename filetype "fs" to "fsharp".
22662Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
22663 src/testdir/test_filetype.vim
22664
22665Patch 8.2.3704
22666Problem: Vim9: cannot use a list declaration in a :def function.
22667Solution: Make it work.
22668Files: runtime/doc/vim9.txt, src/vim9compile.c, src/errors.h,
22669 src/testdir/test_vim9_assign.vim
22670
22671Patch 8.2.3705
22672Problem: Cannot pass a lambda name to function() or funcref(). (Yegappan
22673 Lakshmanan)
22674Solution: Handle a lambda name differently.
22675Files: src/userfunc.c, src/proto/userfunc.pro, src/evalfunc.c,
22676 src/testdir/test_expr.vim
22677
22678Patch 8.2.3706 (after 8.2.3700)
22679Problem: Text property highlighting is used on Tab.
22680Solution: Only set in_linebreak when not on a Tab. (closes #9242)
22681Files: src/drawline.c, src/testdir/test_textprop.vim,
22682 src/testdir/dumps/Test_prop_after_tab.dump
22683
22684Patch 8.2.3707
22685Problem: Vim9: constant expression of elseif not recognized.
22686Solution: Set instruction count before generating the expression.
22687Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
22688
22689Patch 8.2.3708 (after 8.2.3707)
22690Problem: Vim9: test fails with different error.
22691Solution: Correct the error number.
22692Files: src/testdir/test_vim9_cmd.vim
22693
22694Patch 8.2.3709
22695Problem: Vim9: backtick expression expanded when not desired.
22696Solution: Only expand a backtick expression for commands that expand their
22697 argument. Remove a few outdated TODO comments.
22698Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
22699
22700Patch 8.2.3710
22701Problem: Vim9: backtick expression expanded for :global.
22702Solution: Check the following command.
22703Files: runtime/doc/vim9.txt, src/vim9compile.c,
22704 src/testdir/test_vim9_cmd.vim
22705
22706Patch 8.2.3711
22707Problem: Vim9: memory leak when compiling :elseif fails.
22708Solution: Cleanup ppconst.
22709Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
22710
22711Patch 8.2.3712
22712Problem: Cannot use Vim9 lambda for 'tagfunc'.
22713Solution: Make it work, add more tests. (Yegappan Lakshmanan, closes #9250)
22714Files: runtime/doc/options.txt, src/insexpand.c, src/option.c,
22715 src/testdir/test_tagfunc.vim
22716
22717Patch 8.2.3713
22718Problem: MS-Windows: No error message if vimgrep pattern is not matching.
22719Solution: Give an error message. (Christian Brabandt, closes #9245,
22720 closes #8762)
22721Files: src/quickfix.c, src/testdir/test_quickfix.vim
22722
22723Patch 8.2.3714
22724Problem: Some unused assignments and ugly code in xxd.
22725Solution: Leave out assignments. Use marcro for fprintf(). (closes #9246)
22726Files: src/xxd/xxd.c
22727
22728Patch 8.2.3715
22729Problem: Vim9: valgrind reports spurious problems for a test.
22730Solution: Move the test to the set that is known to fail.
22731Files: src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_fails.vim
22732
22733Patch 8.2.3716
22734Problem: Vim9: range without a command is not compiled.
22735Solution: Add the ISN_EXECRANGE byte code.
22736Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/vim9compile.c,
22737 src/vim9execute.c, src/vim9.h,
22738 src/testdir/test_vim9_disassemble.vim
22739
22740Patch 8.2.3717
22741Problem: Vim9: error for constant list size is only given at runtime.
22742Solution: Give the error at compile time if possible.
22743Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
22744 src/testdir/test_vim9_script.vim,
22745 src/testdir/test_vim9_disassemble.vim
22746
22747Patch 8.2.3718
22748Problem: Compiler warns for unused variable without the +textprop feature.
22749 (John Marriott)
22750Solution: Adjust #ifdefs.
22751Files: src/drawline.c
22752
22753Patch 8.2.3719
22754Problem: MS-Windows: test sometimes runs into existing swap file.
22755Solution: Use a different file name.
22756Files: src/testdir/test_buffer.vim
22757
22758Patch 8.2.3720
22759Problem: Vim9: Internal error when invoking closure in legacy context.
22760Solution: Give a more appropriate error message. (closes #9251)
22761Files: src/errors.h, src/vim9execute.c, src/testdir/test_vim9_func.vim
22762
22763Patch 8.2.3721
22764Problem: Using memory freed by losing the clipboard selection. (Dominique
22765 Pellé)
22766Solution: Check y_array is still valid after calling changed_lines().
22767 (closes #9253)
22768Files: src/errors.h, src/register.c
22769
22770Patch 8.2.3722
22771Problem: Amiga: superfluous messages for freeing lots of yanked text.
22772Solution: Assume that the machine isn't that slow these days.
22773Files: src/register.c
22774
22775Patch 8.2.3723
22776Problem: When using 'linebreak' a text property starts too early.
22777Solution: Decrement "bcol" when looking for property start. (closes #9242)
22778Files: src/drawline.c, src/testdir/test_textprop.vim,
22779 src/testdir/dumps/Test_prop_after_linebreak.dump
22780
22781Patch 8.2.3724
22782Problem: Build error for missing error message in small build.
22783Solution: Correct #ifdef.
22784Files: src/errors.h
22785
22786Patch 8.2.3725
22787Problem: Cannot use a lambda for 'completefunc' and 'omnifunc'.
22788Solution: Implement lambda support. (Yegappan Lakshmanan, closes #9257)
22789Files: runtime/doc/options.txt, src/buffer.c, src/insexpand.c,
22790 src/option.c, src/optionstr.c, src/proto/insexpand.pro,
22791 src/proto/tag.pro, src/proto/userfunc.pro, src/structs.h,
22792 src/tag.c, src/userfunc.c, src/testdir/test_ins_complete.vim,
22793 src/testdir/test_tagfunc.vim
22794
22795Patch 8.2.3726
22796Problem: README file in a config directory gets wrong filetype.
22797Solution: Match README before patterns that match everything in a directory.
22798Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22799
22800Patch 8.2.3727
22801Problem: In a gnome terminal keys are recognized as mouse events.
22802Solution: Only recognize DEC mouse events when four numbers are following.
22803 (closes #9256)
22804Files: src/term.c, src/testdir/test_termcodes.vim
22805
22806Patch 8.2.3728
22807Problem: Internal error when passing range() to list2blob().
22808Solution: Materialize the list first. (closes #9262)
22809Files: src/blob.c, src/testdir/test_blob.vim
22810
22811Patch 8.2.3729
22812Problem: No support for squirrels.
22813Solution: Recognize nuts. (closes #9259)
22814Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22815
22816Patch 8.2.3730
22817Problem: "/etc/Muttrc.d/README" gets filetype muttrc.
22818Solution: Move the Muttrc.d pattern down, add exception for *.rc files.
22819Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22820
22821Patch 8.2.3731
22822Problem: "set! termcap" shows codes in one column, but not keys.
22823Solution: Also use one column for keys. (closes #9258)
22824Files: src/option.c, src/term.c, src/proto/term.pro,
22825 src/testdir/test_set.vim
22826
22827Patch 8.2.3732 (after 8.2.3731)
22828Problem: "set! termcap" test fails.
22829Solution: Account for keys without a t_xx entry.
22830Files: src/testdir/test_set.vim
22831
22832Patch 8.2.3733
22833Problem: Vim9: using "legacy" before range does not work.
22834Solution: Skip over range before parsing command. (closes #9270)
22835Files: src/vim9compile.c, src/usercmd.c, src/testdir/test_vim9_cmd.vim
22836
22837Patch 8.2.3734
22838Problem: Vim9: crash when no pattern match found.
22839Solution: Check for error.
22840Files: src/vim9execute.c
22841
22842Patch 8.2.3735
22843Problem: Cannot use a lambda for 'imactivatefunc'.
22844Solution: Add lambda support for 'imactivatefunc' and 'imstatusfunc'.
22845 (Yegappan Lakshmanan, closes #9275)
22846Files: runtime/doc/options.txt, src/alloc.c, src/gui_xim.c,
22847 src/optionstr.c, src/proto/gui_xim.pro,
22848 src/testdir/test_iminsert.vim, src/testdir/test_ins_complete.vim
22849
22850Patch 8.2.3736
22851Problem: Test fails without the channel feature. (Dominique Pellé)
22852Solution: Source the check.vim script. (closes #9277)
22853Files: src/testdir/test_vim9_fails.vim
22854
22855Patch 8.2.3737
22856Problem: Test fails without the 'autochdir' option.
22857Solution: Check that the option is available. (Dominique Pellé, closes #9272)
22858Files: src/testdir/test_cd.vim
22859
22860Patch 8.2.3738
22861Problem: Screen is cleared when a FocusLost autocommand triggers.
22862Solution: Do not redraw when at the hit-enter or more prompt. (closes #9274)
22863Files: src/misc1.c
22864
22865Patch 8.2.3739
22866Problem: In wrong directory when using win_execute() with 'acd' set.
22867Solution: Restore the directory when returning to the window. (closes #9276)
22868Files: src/window.c, src/testdir/test_autochdir.vim
22869
22870Patch 8.2.3740
22871Problem: Memory left allocated on exit when using Tcl.
22872Solution: Call Tcl_Finalize().
22873Files: src/if_tcl.c, src/proto/if_tcl.pro, src/alloc.c
22874
22875Patch 8.2.3741
22876Problem: Using freed memory in open command.
22877Solution: Make a copy of the current line.
22878Files: src/ex_docmd.c, src/testdir/test_ex_mode.vim
22879
22880Patch 8.2.3742
22881Problem: Dec mouse test fails without gnome terminfo entry.
22882Solution: Check if there is a gnome entry. Also fix 'acd' test on
22883 MS-Windows. (Ozaki Kiichi, closes #9282)
22884Files: src/testdir/test_termcodes.vim, src/testdir/test_autochdir.vim
22885
22886Patch 8.2.3743
22887Problem: ":sign" can add a highlight group without a name.
22888Solution: Give an error if the group name is missing. (closes #9280)
22889Files: src/sign.c, src/errors.h, src/testdir/test_signs.vim
22890
22891Patch 8.2.3744
22892Problem: E854 is not tested; some spelling suggestions are not tested.
22893Solution: Add a couple of tests. (Dominique Pellé, closes #9279)
22894Files: src/testdir/test_options.vim, src/testdir/test_spell.vim
22895
22896Patch 8.2.3745
22897Problem: Autochdir test fails without the +channel feature.
22898Solution: Remove the ch_logfile() call. (Dominique Pellé, closes #9281)
22899Files: src/testdir/test_autochdir.vim
22900
22901Patch 8.2.3746
22902Problem: Cannot disassemble function starting with "debug" or "profile".
22903Solution: Check for white space following. (closes #9273)
22904Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
22905
22906Patch 8.2.3747 (after 8.2.3743)
22907Problem: Cannot remove highlight from an existing sign. (James McCoy)
22908Solution: Only reject empty argument for a new sign.
22909Files: src/sign.c, src/testdir/test_signs.vim
22910
22911Patch 8.2.3748 (after 8.2.3747)
22912Problem: Giving an error for an empty sign argument breaks a plugin.
22913Solution: Do not give an error.
22914Files: src/sign.c, src/errors.h, src/testdir/test_signs.vim
22915
22916Patch 8.2.3749
22917Problem: Error messages are everywhere.
22918Solution: Move more error messages to errors.h and adjust the names.
22919Files: src/errors.h, src/regexp_bt.c, src/regexp.c, src/regexp_nfa.c,
22920 src/globals.h, src/memfile.c, src/tag.c, src/getchar.c,
22921 src/bufwrite.c, src/cmdexpand.c
22922
22923Patch 8.2.3750
22924Problem: Error messages are everywhere.
22925Solution: Move more error messages to errors.h and adjust the names.
22926Files: src/globals.h, src/errors.h, src/blob.c, src/buffer.c,
22927 src/channel.c, src/ex_docmd.c, src/job.c, src/list.c, src/mark.c,
22928 src/misc1.c, src/os_unix.c, src/popupwin.c, src/register.c,
22929 src/session.c, src/spellfile.c, src/term.c, src/userfunc.c
22930
22931Patch 8.2.3751
22932Problem: Cannot assign a lambda to an option that takes a function.
22933Solution: Automatically convert the lambda to a string. (Yegappan
22934 Lakshmanan, closes #9286)
22935Files: runtime/doc/options.txt, src/eval.c, src/proto/eval.pro,
22936 src/evalvars.c, src/if_mzsch.c, src/if_ruby.c, src/if_tcl.c,
22937 src/option.c, src/option.h, src/optiondefs.h,
22938 src/proto/option.pro, src/spell.c, src/typval.c,
22939 src/vim9compile.c, src/testdir/test_iminsert.vim,
22940 src/testdir/test_ins_complete.vim, src/testdir/test_tagfunc.vim
22941
22942Patch 8.2.3752
22943Problem: Build error when using Photon GUI.
22944Solution: Adjust #ifdef. (closes #9288)
22945Files: src/beval.c
22946
22947Patch 8.2.3753
22948Problem: Vim9: function unreferenced while called is never deleted.
22949Solution: Delete a function when no longer referenced.
22950Files: src/vim9execute.c, src/userfunc.c, src/proto/userfunc.pro
22951
22952Patch 8.2.3754 (after 8.2.3615)
22953Problem: Undesired changing of the indent of the first formatted line.
22954Solution: Do not indent the first formatted line.
22955Files: src/textformat.c, src/testdir/test_indent.vim
22956
22957Patch 8.2.3755
22958Problem: Coverity warns for using a buffer in another scope.
22959Solution: Declare the buffer in a common scope.
22960Files: src/evalvars.c
22961
22962Patch 8.2.3756
22963Problem: might crash when callback is not valid.
22964Solution: Check for valid callback. (Yegappan Lakshmanan, closes #9293)
22965Files: src/insexpand.c, src/option.c, src/tag.c, src/job.c,
22966 src/userfunc.c, src/testdir/test_iminsert.vim,
22967 src/testdir/test_ins_complete.vim, src/testdir/test_tagfunc.vim
22968
22969Patch 8.2.3757
22970Problem: An overlong highlight group name is silently truncated.
22971Solution: Give an error if the name is too long. (closes #9289)
22972Files: src/errors.h, src/highlight.c, src/testdir/test_highlight.vim
22973
22974Patch 8.2.3758
22975Problem: Options that take a function insufficiently tested.
22976Solution: Add additional tests and enhance existing tests. (Yegappan
22977 Lakshmanan, closes #9298)
22978Files: src/testdir/test_ins_complete.vim, src/testdir/test_normal.vim,
22979 src/testdir/test_tagfunc.vim
22980
22981Patch 8.2.3759
22982Problem: Quickfix buffer becomes hidden while still in a window.
22983Solution: Check if the closed window is the last window showing the quickfix
22984 buffer. (Yegappan Lakshmanan, closes #9303, closes #9300)
22985Files: src/quickfix.c, src/testdir/test_quickfix.vim, src/window.c
22986
22987Patch 8.2.3760
22988Problem: Not automatically handling gnome terminal mouse like xterm.
22989Solution: Default 'ttymouse' to "xterm" and recognize Focus events.
22990 (issue #9296)
22991Files: src/os_unix.c
22992
22993Patch 8.2.3761
22994Problem: Focus change is not passed on to a terminal window.
22995Solution: If the current window is a terminal and focus events are enabled
22996 send a focus event escape sequence to the terminal.
22997Files: src/ui.c, src/terminal.c, src/proto/terminal.pro,
22998 src/testdir/test_terminal.vim,
22999 src/testdir/dumps/Test_terminal_focus_1.dump,
23000 src/testdir/dumps/Test_terminal_focus_2.dump
23001
23002Patch 8.2.3762
23003Problem: If the quickfix buffer is wiped out getqflist() still returns its
23004 number.
23005Solution: Use zero if the buffer is no longer present. (Yegappan Lakshmanan,
23006 closes #9306)
23007Files: src/quickfix.c, src/testdir/test_quickfix.vim
23008
23009Patch 8.2.3763
23010Problem: When editing the command line a FocusLost callback may cause the
23011 screen to scroll up.
23012Solution: Do not redraw at the last line but at the same place where the
23013 command line was before. (closes #9295)
23014Files: src/ex_getln.c, src/ui.c, src/beval.c, src/channel.c,
23015 src/drawscreen.c, src/proto/drawscreen.pro, src/job.c,
23016 src/popupwin.c, src/sound.c, src/terminal.c, src/time.c,
23017 src/testdir/test_terminal.vim,
23018 src/testdir/dumps/Test_terminal_focus_1.dump,
23019 src/testdir/dumps/Test_terminal_focus_2.dump,
23020 src/testdir/dumps/Test_terminal_focus_3.dump
23021
23022Patch 8.2.3764
23023Problem: Cannot see any text when window was made zero lines or zero
23024 columns.
23025Solution: Ensure there is at least one line and column. (fixes #9307)
23026Files: src/window.c, src/proto/window.pro, src/normal.c, src/edit.c,
23027 src/testdir/test_window_cmd.vim
23028
23029Patch 8.2.3765
23030Problem: Vim9: cannot use a lambda for 'opfunc' and others.
23031Solution: Convert the lambda to a string.
23032Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c,
23033 src/testdir/test_vim9_func.vim,
23034 src/testdir/test_vim9_disassemble.vim
23035
23036Patch 8.2.3766
23037Problem: Converting a funcref to a string leaves out "g:", causing the
23038 meaning of the name depending on the context.
23039Solution: Prepend "g:" for a global function.
23040Files: src/eval.c, src/testdir/test_functions.vim
23041
23042Patch 8.2.3767 (after 8.2.3766)
23043Problem: Crash when using NULL partial.
23044Solution: Check for NULL.
23045Files: src/eval.c
23046
23047Patch 8.2.3768
23048Problem: timer_info() has the wrong repeat value in a timer callback.
23049 (Sergey Vlasov)
23050Solution: Do not add one to the repeat value when in the callback.
23051 (closes #9294)
23052Files: src/time.c, src/testdir/test_timers.vim
23053
23054Patch 8.2.3769
23055Problem: Zig files are not recognized.
23056Solution: Add *.zig. (Gregory Anders, closes #9313)
23057Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23058
23059Patch 8.2.3770
23060Problem: New compiler warnings from clang-12 and clang-13.
23061Solution: Adjust CI and suppress some warnings. (Ozaki Kiichi, closes #9314)
23062Files: .github/workflows/ci.yml, ci/config.mk.clang-12.sed,
23063 src/os_unix.c, src/spellfile.c
23064
23065Patch 8.2.3771
23066Problem: Vim9: accessing freed memory when checking type.
23067Solution: Make a copy of a function type.
23068Files: src/structs.h, src/evalvars.c, src/vim9script.c,
23069 src/testdir/test_vim9_func.vim
23070
23071Patch 8.2.3772
23072Problem: Timer info test fails on slow machine.
23073Solution: Use WaitForAssert().
23074Files: src/testdir/test_timers.vim
23075
23076Patch 8.2.3773
23077Problem: Wrong window size when a modeline changes 'columns' and there is
23078 more than one tabpage. (Michael Soyka)
23079Solution: Adjust the frames of all tabpages. (closes #9315)
23080Files: src/window.c
23081
23082Patch 8.2.3774 (after 8.2.3773)
23083Problem: Test for command line height fails.
23084Solution: Use another way to handle window size change.
23085Files: src/structs.h, src/window.c
23086
23087Patch 8.2.3775
23088Problem: Vim9: lambda compiled without outer context when debugging.
23089Solution: When compiling a lambda for debugging also compile it without.
23090 (closes #9302)
23091Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
23092
23093Patch 8.2.3776
23094Problem: When a tags file line is long a tag may not be found.
23095Solution: When increasing the buffer size read the same line again.
23096Files: src/tag.c, src/testdir/test_taglist.vim
23097
23098Patch 8.2.3777
23099Problem: Spell file write error not checked.
23100Solution: Check writing the prefix conditions. (Bjorn Linse, closes #9323)
23101Files: src/spellfile.c
23102
23103Patch 8.2.3778
23104Problem: Lambda debug test fails in some configurations.
23105Solution: Check feature in a legacy function.
23106Files: src/testdir/test_vim9_script.vim
23107
23108Patch 8.2.3779
23109Problem: Using freed memory when defining a user command from a user
23110 command.
23111Solution: Do not use the command pointer after executing the command.
23112 (closes #9318)
23113Files: src/usercmd.c, src/testdir/test_usercommands.vim
23114
23115Patch 8.2.3780
23116Problem: ":cd" works differently on MS-Windows.
23117Solution: Add the 'cdhome' option. (closes #9324)
23118Files: runtime/doc/editing.txt, runtime/doc/options.txt,
23119 runtime/doc/quickref.txt, runtime/optwin.vim, src/ex_docmd.c,
23120 src/option.h, src/optiondefs.h, src/testdir/runtest.vim,
23121 src/testdir/test_options.vim
23122
23123Patch 8.2.3781
23124Problem: The option window script is outdated.
23125Solution: Add several changes.
23126Files: runtime/optwin.vim
23127
23128Patch 8.2.3782
23129Problem: Vim9: no error if a function shadows a script variable.
23130Solution: Check the function doesn't shadow a variable. (closes #9310)
23131Files: src/userfunc.c, src/evalvars.c, src/vim.h,
23132 src/testdir/test_vim9_script.vim
23133
23134Patch 8.2.3783
23135Problem: Confusing error for using a variable as a function.
23136Solution: If a function is not found but there is a variable, give a more
23137 useful error. (issue #9310)
23138Files: src/eval.c, src/userfunc.c, src/proto/userfunc.pro,
23139 src/structs.h, src/vim9execute.c, src/testdir/test_functions.vim,
23140 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_func.vim
23141
23142Patch 8.2.3784
23143Problem: The help for options is outdated.
23144Solution: Include all the recent changes.
23145Files: runtime/doc/options.txt
23146
23147Patch 8.2.3785
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023148Problem: Running CI on macOS with gcc is not useful.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023149Solution: Only use clang. (Ozaki Kiichi, closes #9326) Also build with
23150 normal features.
23151Files: .github/workflows/ci.yml
23152
23153Patch 8.2.3786
23154Problem: Test fails because of using Vim9 syntax in legacy function.
23155Solution: Add "call".
23156Files: src/testdir/test_functions.vim
23157
23158Patch 8.2.3787
23159Problem: No proper formatting of a C line comment after a statement.
23160Solution: Find the start of the line comment, insert the comment leader and
23161 indent the comment properly.
23162Files: src/change.c, src/proto/change.pro, src/search.c,
23163 src/proto/search.pro, src/cindent.c, src/edit.c, src/normal.c,
23164 src/textformat.c, src/testdir/test_textformat.vim,
23165 src/testdir/test_cindent.vim
23166
23167Patch 8.2.3788
23168Problem: Lambda for option that is a function may be garbage collected.
23169Solution: Set a reference in the funcref. (Yegappan Lakshmanan,
23170 closes #9330)
23171Files: src/eval.c, src/evalbuffer.c, src/evalvars.c, src/gui_xim.c,
23172 src/insexpand.c, src/ops.c, src/proto/eval.pro,
23173 src/proto/gui_xim.pro, src/proto/insexpand.pro, src/proto/ops.pro,
23174 src/proto/tag.pro, src/quickfix.c, src/tag.c,
23175 src/testdir/test_iminsert.vim, src/testdir/test_ins_complete.vim,
23176 src/testdir/test_normal.vim, src/testdir/test_quickfix.vim,
23177 src/testdir/test_tagfunc.vim
23178
23179Patch 8.2.3789
23180Problem: Test_window_minimal_size can fail on a slow machine.
23181Solution: Do not rely on timers firing at the expected time. (Ozaki Kiichi,
23182 closes #9335)
23183Files: src/testdir/test_window_cmd.vim
23184
23185Patch 8.2.3790
23186Problem: Test for term_gettitle() fails in some environments.
23187Solution: Make the digits after "VIM" optional. (Kenta Sato, closes #9334)
23188Files: src/testdir/test_terminal2.vim
23189
23190Patch 8.2.3791
23191Problem: Build error with +cindent but without +smartindent.
23192Solution: Move declaration of "do_cindent". (John Marriott)
23193Files: src/change.c
23194
23195Patch 8.2.3792
23196Problem: Setting *func options insufficiently tested.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023197Solution: Improve tests. (Yegappan Lakshmanan, closes #9337)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023198Files: src/testdir/test_iminsert.vim, src/testdir/test_ins_complete.vim,
23199 src/testdir/test_normal.vim, src/testdir/test_quickfix.vim,
23200 src/testdir/test_tagfunc.vim
23201
23202Patch 8.2.3793
23203Problem: Using "g:Func" as a funcref does not work in script context
23204 because "g:" is dropped.
23205Solution: Keep "g:" in the name. Also add parenthesis to avoid confusing
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023206 operator precedence. (closes #9336)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023207Files: src/evalvars.c, src/testdir/test_vim9_func.vim
23208
23209Patch 8.2.3794
23210Problem: Vim9: cannot find script-local func using "s:". (Yegappan
23211 Lakshmanan)
23212Solution: Skip the "s:".
23213Files: src/userfunc.c, src/testdir/test_vim9_func.vim
23214
23215Patch 8.2.3795
23216Problem: Too many #ifdefs.
23217Solution: Graduate the jumplist feature.
23218Files: runtime/doc/various.txt, runtime/doc/motion.txt, src/feature.h,
23219 src/buffer.c, src/change.c, src/evalfunc.c, src/ex_docmd.c,
23220 src/mark.c, src/normal.c, src/undo.c, src/version.c,
23221 src/viminfo.c, src/window.c, src/structs.h,
23222 src/testdir/test_changelist.vim, src/testdir/test_jumplist.vim,
23223 src/testdir/test_normal.vim
23224
23225Patch 8.2.3796
23226Problem: The funcexe_T struct members are not named consistently.
23227Solution: Prefix "fe_" to all the members.
23228Files: src/structs.h, src/eval.c, src/list.c, src/regexp.c,
23229 src/terminal.c, src/userfunc.c, src/vim9execute.c
23230
23231Patch 8.2.3797
23232Problem: No good reason to limit the message history in the tiny version.
23233Solution: Always use 200.
23234Files: runtime/doc/message.txt, src/feature.h
23235
23236Patch 8.2.3798
23237Problem: A :def callback function postpones an error message.
23238Solution: Display the error after calling the function. (closes #9340)
23239Files: src/userfunc.c, src/testdir/test_vim9_func.vim,
23240 src/testdir/dumps/Test_opfunc_error.dump
23241
23242Patch 8.2.3799 (after 8.2.3798)
23243Problem: Edit test hangs or fails.
23244Solution: Do not rethrow an exception when inside try/catch.
23245Files: src/userfunc.c
23246
23247Patch 8.2.3800
23248Problem: When cross compiling the output of "uname" cannot be set. (Ben
23249 Reeves)
23250Solution: Use cache variables. (closes #9338)
23251Files: src/configure.ac, src/auto/configure
23252
23253Patch 8.2.3801
23254Problem: If a terminal shows in two windows, only one is redrawn.
23255Solution: Reset the dirty row range only after redrawing all windows.
23256 (closes #9341)
23257Files: src/terminal.c, src/proto/terminal.pro, src/drawscreen.c,
23258 src/testdir/test_terminal.vim
23259
23260Patch 8.2.3802
23261Problem: Terminal in two windows test fails on some systems.
23262Solution: Wait a bit between commands.
23263Files: src/testdir/test_terminal.vim
23264
23265Patch 8.2.3803
23266Problem: Crash when 'writedelay' is set and using a terminal window to
23267 execute a shell command.
23268Solution: Check that "tl_vterm" isn't NULL. (closes #9346)
23269Files: src/terminal.c
23270
23271Patch 8.2.3804
23272Problem: Script context not set when copying 'swf' and 'ts'.
23273Solution: Use COPY_OPT_SCTX with the right argument. (closes #9347)
23274Files: src/option.c
23275
23276Patch 8.2.3805
23277Problem: i3config files are not recognized.
23278Solution: Add patterns to match i3config files. (Quentin Hibon,
23279 closes #7969)
23280Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23281
23282Patch 8.2.3806
23283Problem: Terminal focus test fails sometimes.
23284Solution: Run the test function before others.
23285Files: src/testdir/test_terminal.vim
23286
23287Patch 8.2.3807
23288Problem: Vim9: can call import with star directly.
23289Solution: Check that the import used star.
23290Files: src/userfunc.c, src/eval.c, src/testdir/test_vim9_script.vim
23291
23292Patch 8.2.3808
23293Problem: Vim9: obsolete TODO items
23294Solution: Remove the comments.
23295Files: src/vim9execute.c
23296
23297Patch 8.2.3809
23298Problem: Vim9: crash when garbage collecting a nested partial. (Virginia
23299 Senioria)
23300Solution: Set references in all the funcstacks. (closes #9348)
23301Files: src/vim9execute.c, src/proto/vim9execute.pro, src/structs.h,
23302 src/eval.c, src/testdir/test_vim9_func.vim
23303
23304Patch 8.2.3810
23305Problem: Vim9: expr4 test fails on MS-Windows.
23306Solution: Do not give an error for a missing function name when skipping.
23307Files: src/eval.c, src/testdir/test_vim9_expr.vim
23308
23309Patch 8.2.3811
23310Problem: The opfunc error test fails on a slow machine.
23311Solution: Use WaitForAssert().
23312Files: src/testdir/test_vim9_func.vim
23313
23314Patch 8.2.3812
23315Problem: Vim9: leaking memory in numbered function test.
23316Solution: Skip "g:" when checking for numbered function. Clean up after
23317 errors properly.
23318Files: src/userfunc.c
23319
23320Patch 8.2.3813
23321Problem: confusing error when using :cc without error list. (Gary Johnson)
23322Solution: Give the "no errors" error.
23323Files: src/ex_docmd.c, src/testdir/test_quickfix.vim
23324
23325Patch 8.2.3814
23326Problem: .csx files and .sln files are not recognized.
23327Solution: Add filetype patterns. (Doug Kearns)
23328Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23329
23330Patch 8.2.3815
23331Problem: Vim9: cannot have a multi-line dict inside a block.
23332Solution: Do not split the command at a line break, handle NL characters
23333 as white space.
23334Files: src/ex_docmd.c, src/charset.c, src/proto/charset.pro,
23335 src/eval.c, src/testdir/test_vim9_expr.vim
23336
23337Patch 8.2.3816
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023338Problem: Compiler warning for possible loss of data on MS-Windows.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023339Solution: Add type cast. (Mike Williams, closes #9349)
23340Files: src/userfunc.c
23341
23342Patch 8.2.3817 (after 8.2.3815)
23343Problem: Vim9: Not using NL as command end does not work for :autocmd.
23344Solution: Only ignore NL for commands with an expression argument.
23345Files: src/ex_cmds.h, src/ex_docmd.c, src/testdir/test_usercommands.vim
23346
23347Patch 8.2.3818
23348Problem: Cannot filter or map characters in a string.
23349Solution: Make filter() and map() work on a string. (Naruhiko Nishino,
23350 closes #9327)
23351Files: runtime/doc/eval.txt, src/errors.h, src/list.c,
23352 src/testdir/test_filter_map.vim
23353
23354Patch 8.2.3819 (after 8.2.3818)
23355Problem: Test fails because error message changed.
23356Solution: Update screendumps.
23357Files: src/testdir/dumps/Test_popupwin_three_errors_1.dump,
23358 src/testdir/dumps/Test_popupwin_three_errors_2.dump
23359
23360Patch 8.2.3820
23361Problem: "vrc" does not replace composing characters, while "rc" does.
23362Solution: Check the byte length including composing characters.
23363 (closes #9351)
23364Files: src/ops.c, src/testdir/test_visual.vim
23365
23366Patch 8.2.3821
23367Problem: ASAN test run fails.
23368Solution: Use asan_symbolize-13 instead of asan_symbolize-11.
23369Files: .github/workflows/ci.yml
23370
23371Patch 8.2.3822
23372Problem: Leaking memory in map() and filter(), cannot use a string argument
23373 in Vim9 script.
23374Solution: Fix the leak, adjust the argument check, also run the tests as
23375 Vim9 script. (Yegappan Lakshmanan, closes #9354)
23376Files: src/errors.h, src/evalfunc.c, src/list.c, src/proto/typval.pro,
23377 src/testdir/test_filter_map.vim,
23378 src/testdir/test_vim9_builtin.vim, src/typval.c
23379
23380Patch 8.2.3823
23381Problem: Test for visual replace is in wrong function.
23382Solution: Move it to another function.
23383Files: src/testdir/test_visual.vim
23384
23385Patch 8.2.3824
23386Problem: No ASAN support for MSVC.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023387Solution: Add ASAN support and fix a couple of uncovered problems. (Yegappan
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023388 Lakshmanan, closes #9357)
23389Files: src/Make_mvc.mak, src/findfile.c, src/os_mswin.c,
23390 src/testdir/test_fnamemodify.vim
23391
23392Patch 8.2.3825
23393Problem: Various comments could be improved.
23394Solution: Improve the comments.
23395Files: src/getchar.c, src/mbyte.c, src/regexp_nfa.c,
23396 src/testdir/test_edit.vim, src/gui_motif.c
23397
23398Patch 8.2.3826
23399Problem: Vim9: using "g:Func" as a funcref does not work in a :def
23400 function.
23401Solution: Include "g:" in the function name. (closes #9336)
23402Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
23403 src/testdir/test_vim9_disassemble.vim
23404
23405Patch 8.2.3827
23406Problem: Huntr badge does not really fit in the list.
23407Solution: Move the link to Huntr to the issue template.
23408Files: Filelist, .github/ISSUE_TEMPLATE/bug_report.yml, README.md
23409
23410Patch 8.2.3828
23411Problem: when opening a terminal from a timer the first typed character
23412 is lost. (Virginia Senioria)
23413Solution: When opening a terminal while waiting for a character put K_IGNORE
23414 in the input buffer.
23415Files: src/terminal.c, src/edit.c, src/testdir/test_terminal.vim
23416
23417Patch 8.2.3829
23418Problem: No error when setting a func option to a script-local function.
23419Solution: Give an error if the name starts with "s:". (closes #9358)
23420Files: src/option.c, src/testdir/test_tagfunc.vim,
23421 src/testdir/dumps/Test_set_tagfunc_on_cmdline.dump
23422
23423Patch 8.2.3830
23424Problem: Error messages are spread out.
23425Solution: Move more error messages to errors.h.
23426Files: src/globals.h, src/errors.h, src/buffer.c, src/dict.c, src/diff.c,
23427 src/digraph.c, src/eval.c, src/evalfunc.c, src/evalvars.c,
23428 src/misc2.c, src/quickfix.c, src/typval.c, src/ui.c,
23429 src/userfunc.c, src/vim9compile.c, src/vim9execute.c,
23430 src/vim9type.c, src/window.c
23431
23432Patch 8.2.3831
23433Problem: Opfunc test fails when missing feature changes function name.
23434 (Dominique Pellé)
23435Solution: Check the relevant screen line instead of using a screendump.
23436 (closes #9360)
23437Files: src/testdir/test_vim9_func.vim,
23438 src/testdir/dumps/Test_opfunc_error.dump
23439
23440Patch 8.2.3832 (after 8.2.3830)
23441Problem: Test fails because of changed error message.
23442Solution: Adjust the expected error message.
23443Files: src/testdir/test_vimscript.vim
23444
23445Patch 8.2.3833
23446Problem: Error from term_start() not caught by try/catch.
23447Solution: save and restore did_emsg when applying autocommands. (Ozaki
23448 Kiichi, closes #9361)
23449Files: src/autocmd.c, src/testdir/test_terminal3.vim
23450
23451Patch 8.2.3834
23452Problem: Test_out_cb often fails on Mac.
23453Solution: Increase the timeout with every retry.
23454Files: src/testdir/test_channel.vim
23455
23456Patch 8.2.3835
23457Problem: The inline-function example does not work.
23458Solution: Drop ":let". Add EX_EXPR_ARG to CMD_var. (issue #9352)
23459Files: runtime/doc/vim9.txt, src/ex_cmds.h,
23460 src/testdir/test_vim9_expr.vim
23461
23462Patch 8.2.3836
23463Problem: Vim9: comment after expression not skipped to find NL.
23464Solution: After evaluating an expression look for a newline after a #
23465 comment.
23466Files: src/eval.c
23467
23468Patch 8.2.3837
23469Problem: QNX: crash when compiled with GUI but using terminal.
23470Solution: Check gui.in_use is set. (Hirohito Higashi, closes #9363)
23471Files: src/autocmd.c
23472
23473Patch 8.2.3838
23474Problem: Cannot use script-local function for setting *func options.
23475Solution: Use the script context. (Yegappan Lakshmanan, closes #9362)
23476Files: src/option.c, src/testdir/dumps/Test_set_tagfunc_on_cmdline.dump,
23477 src/testdir/test_ins_complete.vim, src/testdir/test_normal.vim,
23478 src/testdir/test_quickfix.vim, src/testdir/test_tagfunc.vim
23479
23480Patch 8.2.3839
23481Problem: Using \z() with \z1 not tested for syntax highlighting.
23482Solution: Add a test. (Dominique Pellé, closes #9365)
23483Files: src/testdir/test_syntax.vim
23484
23485Patch 8.2.3840
23486Problem: Useless test for negative index in check functions.
23487Solution: Remove the test for negative index. (Naruhiko Nishino,
23488 closes #9364)
23489Files: src/typval.c
23490
23491Patch 8.2.3841
23492Problem: Vim9: outdated TODO items, disabled tests that work.
23493Solution: Remove TODO items, run tests that work now. Check that a dict
23494 item isn't locked.
23495Files: src/vim9execute.c, src/evalvars.c, src/errors.h, src/globals.h,
23496 src/testdir/test_listdict.vim, src/testdir/test_vim9_assign.vim
23497
23498Patch 8.2.3842
23499Problem: Vim9: can change locked list and list items.
23500Solution: Check that a list and list item isn't locked.
23501Files: src/vim9execute.c, src/testdir/test_listdict.vim
23502
23503Patch 8.2.3843
23504Problem: Dep3patch files are not recognized.
23505Solution: Recognize dep3patch files by their location and content. (James
23506 McCoy, closes #9367)
23507Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
23508 src/testdir/test_filetype.vim
23509
23510Patch 8.2.3844
23511Problem: Vim9: no type error if assigning a value with type func(number) to
23512 a variable of type func(string).
23513Solution: Use check_type_maybe(): return MAYBE if a runtime type check is
23514 useful. (issue #8492)
23515Files: src/vim9type.c, src/proto/vim9type.pro, src/vim9compile.c,
23516 src/testdir/test_vim9_assign.vim
23517
23518Patch 8.2.3845
23519Problem: Vim9: test fails when the channel feature is missing.
23520Solution: Check for the channel feature. (Dominique Pellé, closes #9368)
23521Files: src/testdir/test_vim9_builtin.vim
23522
23523Patch 8.2.3846
23524Problem: No error when using control character for 'lcs' or 'fcs'.
23525Solution: Use char2cells() to check the width. (closes #9369)
23526Files: src/screen.c, src/testdir/test_display.vim,
23527 src/testdir/test_listchars.vim
23528
23529Patch 8.2.3847
23530Problem: Illegal memory access when using a lambda with an error.
23531Solution: Avoid skipping over the NUL after a string.
23532Files: src/eval.c, src/testdir/test_lambda.vim
23533
23534Patch 8.2.3848
23535Problem: Cannot use reduce() for a string.
23536Solution: Make reduce() work with a string. (Naruhiko Nishino, closes #9366)
23537Files: runtime/doc/eval.txt, src/errors.h, src/evalfunc.c, src/list.c,
23538 src/typval.c, src/proto/typval.pro, src/testdir/test_listdict.vim,
23539 src/testdir/test_vim9_builtin.vim
23540
23541Patch 8.2.3849
23542Problem: Functions implementing reduce and map are too long.
23543Solution: Use a function for each type of value. Add a few more test cases
23544 and add to the help. (Yegappan Lakshmanan, closes #9370)
23545Files: runtime/doc/eval.txt, src/list.c, src/testdir/test_listdict.vim
23546
23547Patch 8.2.3850
23548Problem: Illegal memory access when displaying a partial.
23549Solution: Terminate the string with a NUL. (closes #9371)
23550Files: src/eval.c, src/testdir/test_messages.vim
23551
23552Patch 8.2.3851
23553Problem: Vim9: overhead when comparing string, dict or function.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023554Solution: Call the intended compare function directly. Refactor to avoid
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023555 duplicated code.
23556Files: src/vim9execute.c, src/typval.c, src/proto/typval.pro
23557
23558Patch 8.2.3852
23559Problem: Vim9: not enough tests.
23560Solution: Also run existing tests for Vim9 script. Make errors more
23561 consistent.
23562Files: src/testdir/test_listdict.vim, src/eval.c, src/vim9compile.c,
23563 src/errors.h
23564
23565Patch 8.2.3853
23566Problem: Vim9: not enough tests.
23567Solution: Run more existing tests for Vim9 script.
23568Files: src/testdir/test_listdict.vim
23569
23570Patch 8.2.3854
23571Problem: Vim9: inconsistent arguments for test functions.
23572Solution: When :def function and script have different arguments use a list
23573 with two items instead of a separate function.
23574Files: src/testdir/vim9.vim, src/testdir/test_execute_func.vim,
23575 src/testdir/test_float_func.vim, src/testdir/test_functions.vim,
23576 src/testdir/test_glob2regpat.vim, src/testdir/test_listdict.vim,
23577 src/testdir/test_vim9_assign.vim,
23578 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
23579 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
23580 src/testdir/test_vim9_script.vim
23581
23582Patch 8.2.3855
23583Problem: Illegal memory access when displaying a blob.
23584Solution: Append a NUL at the end. (Yegappan Lakshmanan, closes #9372)
23585Files: src/blob.c, src/regexp_nfa.c, src/testdir/test_blob.vim,
23586 src/testdir/test_messages.vim
23587
23588Patch 8.2.3856
23589Problem: Vim9: not enough tests.
23590Solution: Run more expression tests also with Vim9. Fix an uncovered
23591 problem.
23592Files: src/vim9compile.c, src/testdir/test_expr.vim, src/testdir/vim9.vim
23593
23594Patch 8.2.3857
23595Problem: Vim9: inconsistent error for using function().
23596Solution: Use a runtime type check for the result of function().
23597 (closes #8492)
23598Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
23599
23600Patch 8.2.3858
23601Problem: Vim9: not enough tests.
23602Solution: Add tests for :try/:catch and :redir. Add missing type check.
23603Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
23604 src/testdir/test_vim9_cmd.vim
23605
23606Patch 8.2.3859
23607Problem: Vim9: some code lines not tested.
23608Solution: Add a few specific tests.
23609Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim, src/errors.h,
23610 src/testdir/test_vim9_script.vim
23611
23612Patch 8.2.3860
23613Problem: Vim9: codecov struggles with the file size.
23614Solution: Split vim9compile.c into four files.
23615Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9instr.c,
23616 src/proto/vim9instr.pro, src/vim9expr.c, src/proto/vim9expr.pro,
23617 src/vim9cmds.c, src/proto/vim9cmds.pro, src/vim9.h,
23618 src/vim9execute.c, src/vim9script.c, src/proto.h,
23619 src/Makefile, src/Make_ami.mak, src/Make_cyg_ming.mak,
23620 src/Make_mvc.mak, src/Make_vms.mms
23621
23622Patch 8.2.3861
23623Problem: List of distributed files is outdated.
23624Solution: Add new files.
23625Files: Filelist
23626
23627Patch 8.2.3862
23628Problem: Crash on exit with EXITFREE and using win_execute().
23629Solution: Also save and restore tp_topframe. (issue #9374)
23630Files: src/evalwindow.c, src/testdir/test_execute_func.vim
23631
23632Patch 8.2.3863 (after 8.2.3860)
23633Problem: Various build flags accidentally enabled.
23634Solution: Revert several lines in Makefile.
23635Files: src/Makefile
23636
23637Patch 8.2.3864
23638Problem: Cannot disable requesting key codes from xterm.
23639Solution: Add the 'xtermcodes' option, default on.
23640Files: runtime/doc/options.txt, runtime/doc/term.txt, src/option.h,
23641 src/optiondefs.h, src/term.c, runtime/optwin.vim
23642
23643Patch 8.2.3865
23644Problem: Vim9: compiler complains about using "try" as a struct member.
23645Solution: Rename "try" to "tryref".
23646Files: src/vim9.h, src/vim9cmds.c, src/vim9execute.c, src/vim9instr.c
23647
23648Patch 8.2.3866
23649Problem: Vim9: type checking global variables is inconsistent.
23650Solution: Use the "unknown" type in more places.
23651Files: src/globals.h, src/vim9expr.c, src/vim9instr.c, src/vim9cmds.c,
23652 src/evalfunc.c, src/testdir/test_vim9_func.vim
23653
23654Patch 8.2.3867
23655Problem: Implementation of some list functions too complicated.
23656Solution: Refactor do_sort_uniq(), f_count() and extend() (Yegappan
23657 Lakshmanan, closes #9378)
23658Files: src/list.c
23659
23660Patch 8.2.3868 (after 8.2.3866)
23661Problem: Vim9: function test fails.
23662Solution: Add missing changes. Add test for earlier patch.
23663Files: src/vim9type.c, src/testdir/test_vim9_disassemble.vim
23664
23665Patch 8.2.3869
23666Problem: Vim9: type checking for "any" is inconsistent.
23667Solution: Always use a runtime type check for using "any" for a more
23668 specific type.
23669Files: src/vim9type.c, src/vim9compile.c, src/vim9expr.c,
23670 src/testdir/test_vim9_func.vim
23671
23672Patch 8.2.3870
23673Problem: MS-Windows: wrong working directory when opening two files with
23674 right-click context menu. (Gabriel Dupras)
23675Solution: Use the working directory and pass it on to the process creation.
23676 (Nir Lichtman, closes #9382, closes #8874)
23677Files: src/GvimExt/gvimext.cpp, src/GvimExt/gvimext.h
23678
23679Patch 8.2.3871
23680Problem: List.c contains code for dict and blob.
23681Solution: Refactor to put code where it belongs. (Yegappan Lakshmanan,
23682 closes #9386)
23683Files: src/blob.c, src/dict.c, src/list.c, src/proto/blob.pro,
23684 src/proto/dict.pro, src/proto/list.pro, src/proto/strings.pro,
23685 src/strings.c, src/structs.h, src/testdir/test_filter_map.vim,
23686 src/testdir/test_listdict.vim, src/testdir/test_sort.vim
23687
23688Patch 8.2.3872
23689Problem: Vim9: finddir() and uniq() return types can be more specific.
23690Solution: Adjust the return type.
23691Files: src/evalfunc.c, src/testdir/vim9.vim,
23692 src/testdir/test_vim9_builtin.vim
23693
23694Patch 8.2.3873
23695Problem: go.mod files are not recognized.
23696Solution: Check for the file name. (closes #9380)
23697Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23698
23699Patch 8.2.3874
23700Problem: Cannot highlight the number column for a sign.
23701Solution: Add the "numhl" argument. (James McCoy, closes #9381)
23702Files: runtime/doc/options.txt, runtime/doc/sign.txt, src/drawline.c,
23703 src/popupwin.c, src/proto/sign.pro, src/sign.c, src/structs.h,
23704 src/testdir/test_signs.vim
23705
23706Patch 8.2.3875
23707Problem: gcc complains about buffer overrun.
23708Solution: Use mch_memmove() instead of STRCPY(). (John Marriott)
23709Files: src/dict.c
23710
23711Patch 8.2.3876
23712Problem: 'cindent' does not recognize inline namespace.
23713Solution: Skip over "inline" to find "namespace". (closes #9383)
23714Files: src/cindent.c, src/testdir/test_cindent.vim
23715
23716Patch 8.2.3877
23717Problem: Function does not abort after a type error in compare
23718Solution: Check getting number fails. (closes #9384)
23719Files: src/typval.c, src/testdir/test_vim9_expr.vim
23720
23721Patch 8.2.3878
23722Problem: Vim9: debugger tries to read more lines than there are.
23723Solution: Check the number of lines. (closes #9394)
23724Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
23725
23726Patch 8.2.3879
23727Problem: getreg() and getregtype() contain dead code.
23728Solution: Remove the needless check. (closes #9392) Also refactor to put
23729 common code in a shared function.
23730Files: src/evalfunc.c
23731
23732Patch 8.2.3880
23733Problem: Solution filter files are not recognized.
23734Solution: Add pattern *.slnf and use json. (Doug Kearns)
23735Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23736
23737Patch 8.2.3881
23738Problem: QNX: crash when compiled with GUI but using terminal.
23739Solution: Check the gui.in_use flag. (Hirohito Higashi, closes #9391)
23740Files: src/main.c
23741
23742Patch 8.2.3882 (after 8.2.3879)
23743Problem: More duplicated code in f_getreginfo().
23744Solution: Also use getreg_get_regname(). (closes #9398)
23745Files: src/evalfunc.c
23746
23747Patch 8.2.3883
23748Problem: Crash when switching to other regexp engine fails.
23749Solution: Check for regprog being NULL.
23750Files: src/ex_cmds.c
23751
23752Patch 8.2.3884
23753Problem: Crash when clearing the argument list while using it.
23754Solution: Lock the argument list for ":all".
23755Files: src/arglist.c, src/testdir/test_arglist.vim
23756
23757Patch 8.2.3885
23758Problem: Arglist test fails.
23759Solution: Adjust for locking the arglist for ":all".
23760Files: src/testdir/test_arglist.vim
23761
23762Patch 8.2.3886
23763Problem: Can define autocmd for every event by using "au!".
23764Solution: Check if a command is present also for "au!".
23765Files: src/autocmd.c, src/testdir/test_autocmd.vim,
23766 src/testdir/test_arglist.vim
23767
23768Patch 8.2.3887
23769Problem: E1135 is used for two different errors.
23770Solution: Renumber one error.
23771Files: src/errors.h, src/testdir/test_mapping.vim
23772
23773Patch 8.2.3888
23774Problem: The argument list may contain duplicates.
23775Solution: Add the :argdedeupe command. (Nir Lichtman, closes #6235)
23776Files: runtime/doc/editing.txt, runtime/doc/index.txt, src/arglist.c,
23777 src/ex_cmdidxs.h, src/ex_cmds.h, src/proto/arglist.pro,
23778 src/testdir/test_arglist.vim
23779
23780Patch 8.2.3889
23781Problem: Duplicate code for translating script-local function name.
23782Solution: Move the code to get_scriptlocal_funcname(). (Yegappan Lakshmanan,
23783 closes #9393)
23784Files: src/evalfunc.c, src/evalvars.c, src/option.c, src/userfunc.c,
23785 src/proto/userfunc.pro, src/testdir/test_expr.vim,
23786 src/testdir/test_normal.vim
23787
23788Patch 8.2.3890
23789Problem: Vim9: type check for using v: variables is basic.
23790Solution: Specify a more precise type.
23791Files: src/evalvars.c, src/proto/evalvars.pro, src/vim9instr.c,
23792 src/testdir/test_vim9_expr.vim
23793
23794Patch 8.2.3891
23795Problem: Github CI: workflows may overlap.
23796Solution: Cancel previous workflows when starting a new one. (Yegappan
23797 Lakshmanan, closes #9400)
23798Files: .github/workflows/ci.yml, .github/workflows/codeql-analysis.yml
23799
23800Patch 8.2.3892
23801Problem: When modifyOtherKeys is used CTRL-C is not recognized.
23802Solution: Check for uppercase C as well, fix minimum length.
23803Files: src/ui.c
23804
23805Patch 8.2.3893
23806Problem: Vim9: many local variables are initialized with an instruction.
23807Solution: Initialize local variables to zero to avoid the instructions.
23808Files: src/vim9execute.c, src/vim9compile.c, src/vim9instr.c,
23809 src/proto/vim9instr.pro, src/vim9cmds.c,
23810 src/testdir/test_vim9_disassemble.vim
23811
23812Patch 8.2.3894
23813Problem: Vim9: no proper type check for first argument of call().
23814Solution: Add specific type check.
23815Files: src/evalfunc.c, src/typval.c, src/proto/typval.pro,
23816 src/errors.h, src/testdir/test_vim9_builtin.vim
23817
23818Patch 8.2.3895
23819Problem: Vim9: confusing error when using function() with a number.
23820Solution: Check for a function or string argument.
23821Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
23822
23823Patch 8.2.3896
23824Problem: Vim9: no test for nested function not available later.
23825Solution: Add a test.
23826Files: src/testdir/test_vim9_func.vim
23827
23828Patch 8.2.3897
23829Problem: Vim9: the second argument of map() and filter() is not checked at
23830 compile time.
23831Solution: Add more specific type check for the second argument.
23832Files: src/evalfunc.c, src/globals.h, src/list.c,
23833 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim,
23834 src/testdir/test_vim9_script.vim
23835
23836Patch 8.2.3898
23837Problem: Vim9: not sufficient testing for variable initialization.
23838Solution: Add another test case.
23839Files: src/testdir/test_vim9_disassemble.vim
23840
23841Patch 8.2.3899 (after 8.2.3897)
23842Problem: Vim9: test for map() on string fails.
23843Solution: Expect string return type.
23844Files: src/evalfunc.c
23845
23846Patch 8.2.3900
23847Problem: It is not easy to use a script-local function for an option.
23848Solution: recognize s: and <SID> at the start of the expression. (Yegappan
23849 Lakshmanan, closes #9401)
23850Files: runtime/doc/diff.txt, runtime/doc/fold.txt,
23851 runtime/doc/options.txt, runtime/doc/print.txt, src/optionstr.c,
23852 src/testdir/test_diffmode.vim, src/testdir/test_edit.vim,
23853 src/testdir/test_fold.vim, src/testdir/test_gf.vim,
23854 src/testdir/test_gui.vim, src/testdir/test_hardcopy.vim,
23855 src/testdir/test_normal.vim
23856
23857Patch 8.2.3901
23858Problem: Vim9: Cannot set 'cpo' in main .vimrc if using Vim9 script.
23859Solution: Do not restore 'cpo' at the end of the main .vimrc.
23860Files: runtime/doc/vim9.txt, runtime/doc/options.txt, src/scriptfile.c,
23861 src/structs.h, src/testdir/test_vim9_script.vim
23862
23863Patch 8.2.3902
23864Problem: Vim9: double free with nested :def function.
23865Solution: Pass "line_to_free" from compile_def_function() and make sure
23866 cmdlinep is valid.
23867Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro,
23868 src/vim9execute.c, src/testdir/test_vim9_func.vim
23869
23870Patch 8.2.3903
23871Problem: "gM" does not count tabs as expected.
23872Solution: Use linetabsize() instead of mb_string2cells(). (closes #9409)
23873Files: src/normal.c, src/testdir/test_normal.vim
23874
23875Patch 8.2.3904
23876Problem: Vim9: skip expression type is not checked at compile time.
23877Solution: Add argument type checks.
23878Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
23879
23880Patch 8.2.3905
23881Problem: Dockerfile using prefix name not recognized.
23882Solution: Recognize Dockerfile.*. (closes #9410)
23883Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23884
23885Patch 8.2.3906
23886Problem: Vim9 help still contains "under development" warnings.
23887Solution: Remove the explicit warning.
23888Files: runtime/doc/vim9.txt
23889
23890Patch 8.2.3907
23891Problem: Error messages are spread out.
23892Solution: Move error messages to errors.h. Avoid duplicates.
23893Files: src/userfunc.c, src/ex_cmds.c, src/viminfo.c, src/errors.h,
23894 src/testdir/test_user_func.vim
23895
23896Patch 8.2.3908
23897Problem: Cannot use a script-local function for 'foldtext'.
23898Solution: Expand "s:" and "<SID>". (Yegappan Lakshmanan, closes #9411)
23899Files: runtime/doc/fold.txt, src/optionstr.c, src/strings.c,
23900 src/testdir/test_blob.vim, src/testdir/test_expr.vim,
23901 src/testdir/test_filter_map.vim, src/testdir/test_fold.vim,
23902 src/testdir/test_listdict.vim
23903
23904Patch 8.2.3909
23905Problem: Containerfile using prefix name not recognized.
23906Solution: Recognize Containerfile.*.
23907Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23908
23909Patch 8.2.3910
23910Problem: When the compare function of sort() produces and error then sort()
23911 does not abort.
23912Solution: Check if did_emsg was incremented.
23913Files: src/list.c, src/testdir/test_vim9_builtin.vim
23914
23915Patch 8.2.3911
23916Problem: Vim9: type check for filter() does not accept unknown.
23917Solution: Also accept unknown for the return type. (closes #9413)
23918Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
23919
23920Patch 8.2.3912
23921Problem: The ins_complete() function is much too long.
23922Solution: Split it up into multiple functions. (Yegappan Lakshmanan,
23923 closes #9414)
23924Files: src/insexpand.c
23925
23926Patch 8.2.3913
23927Problem: Help for expressions does not mention Vim9 syntax.
23928Solution: Add the rules for Vim9 to the expression help. Rename functions
23929 to match the help.
23930Files: runtime/doc/vim9.txt, runtime/doc/eval.txt, src/vim9expr.c
23931
23932Patch 8.2.3914
23933Problem: Various spelling mistakes in comments.
23934Solution: Fix the mistakes. (Dominique Pellé, closes #9416)
23935Files: src/alloc.c, src/blowfish.c, src/buffer.c, src/cindent.c,
23936 src/clipboard.c, src/diff.c, src/drawline.c, src/edit.c,
23937 src/ex_cmds.c, src/ex_docmd.c, src/findfile.c, src/fold.c,
23938 src/getchar.c, src/gui.c, src/gui_athena.c, src/gui_gtk.c,
23939 src/gui_motif.c, src/gui_photon.c, src/gui_w32.c, src/gui_xmebw.c,
23940 src/if_python.c, src/if_python3.c, src/if_xcmdsrv.c, src/main.c,
23941 src/memline.c, src/menu.c, src/message.c, src/misc1.c, src/move.c,
23942 src/option.c, src/os_amiga.c, src/os_mac.h, src/os_mac_conv.c,
23943 src/os_mswin.c, src/os_unix.c, src/os_win32.c, src/os_win32.h,
23944 src/quickfix.c, src/regexp_nfa.c, src/screen.c, src/scriptfile.c,
23945 src/spell.c, src/spellfile.c, src/spellsuggest.c, src/strings.c,
23946 src/term.c, src/terminal.c, src/testdir/test_debugger.vim,
23947 src/testdir/test_source.vim, src/textformat.c, src/userfunc.c,
23948 src/vim.h, src/vim9.h, src/vim9cmds.c, src/vim9execute.c,
23949 src/winclip.c, src/window.c
23950
23951Patch 8.2.3915
23952Problem: illegal memory access when completing with invalid bytes.
23953Solution: Avoid going over the end of the completion text.
23954Files: src/insexpand.c, src/testdir/test_ins_complete.vim
23955
23956Patch 8.2.3916
23957Problem: No error for passing an invalid line number to append().
23958Solution: In Vim9 script check for a non-negative number. (closes #9417)
23959Files: src/evalbuffer.c, src/textprop.c, src/errors.h, src/indent.c,
23960 src/eval.c, src/testdir/test_vim9_builtin.vim
23961
23962Patch 8.2.3917
23963Problem: The eval.txt help file is way too big.
23964Solution: Move the builtin function details to a separate file.
23965Files: runtime/doc/eval.txt, runtime/doc/builtin.txt,
23966 runtime/doc/Makefile, runtime/doc/help.txt, runtime/doc/remote.txt
23967
23968Patch 8.2.3918 (after 8.2.3916)
23969Problem: Function list test fails.
23970Solution: Adjust the test for the new location of the function list.
23971Files: src/testdir/test_function_lists.vim
23972
23973Patch 8.2.3919
23974Problem: Vim9: wrong argument for append() results in two errors.
23975Solution: Check did_emsg. Also for setline(). Adjust the help for
23976 appendbufline().
23977Files: runtime/doc/builtin.txt, src/evalbuffer.c, src/typval.c,
23978 src/testdir/test_vim9_builtin.vim
23979
23980Patch 8.2.3920
23981Problem: Restoring directory after using another window is inefficient.
23982Solution: Only restore the directory for win_execute(). Apply 'autochdir'
23983 only when needed.
23984Files: src/evalwindow.c, src/testdir/test_autochdir.vim
23985
23986Patch 8.2.3921
23987Problem: The way xdiff is used is inefficient.
23988Solution: Use hunk_func instead of the out_line callback. (Lewis Russell,
23989 closes #9344)
23990Files: src/diff.c
23991
23992Patch 8.2.3922
23993Problem: Cannot build with dynamic Ruby 3.1.
23994Solution: Add "_EXTRA" variables for CI. Add missing functions. (Ozaki
23995 Kiichi, closes #9420)
23996Files: ci/config.mk.clang-12.sed, ci/config.mk.clang.sed,
23997 ci/config.mk.sed, src/Makefile, src/auto/configure,
23998 src/config.mk.in, src/configure.ac, src/if_ruby.c, src/vim.h
23999
24000Patch 8.2.3923
24001Problem: Vim9: double free if a nested function has a line break in the
24002 argument list.
24003Solution: Set cmdlinep when freeing the previous line.
24004Files: src/userfunc.c, src/testdir/test_vim9_func.vim
24005
24006Patch 8.2.3924
24007Problem: Vim9: no error if something follows :enddef in a nested function.
24008Solution: Give an error. Move common code to a function.
24009Files: src/userfunc.c, src/vim9compile.c, src/errors.h,
24010 src/testdir/test_vim9_func.vim
24011
24012Patch 8.2.3925
24013Problem: Diff mode confused by NUL bytes.
24014Solution: Handle NUL bytes differently. (Christian Brabandt, closes #9421,
24015 closes #9418)
24016Files: src/diff.c, src/testdir/test_diffmode.vim,
24017 src/testdir/dumps/Test_diff_bin_01.dump,
24018 src/testdir/dumps/Test_diff_bin_02.dump,
24019 src/testdir/dumps/Test_diff_bin_03.dump,
24020 src/testdir/dumps/Test_diff_bin_04.dump
24021
24022Patch 8.2.3926 (after 8.2.3920)
24023Problem: Build failure without the 'autochdir' option. (John Marriott)
24024Solution: Add #ifdefs.
24025Files: src/evalwindow.c
24026
24027Patch 8.2.3927
24028Problem: Vim9: double free when using lambda.
24029Solution: Don't free both cmdline and line_to_free.
24030Files: src/userfunc.c
24031
24032Patch 8.2.3928
24033Problem: Heredoc test fails.
24034Solution: Correct order of function arguments.
24035Files: src/userfunc.c
24036
24037Patch 8.2.3929
Bram Moolenaar1588bc82022-03-08 21:35:07 +000024038Problem: Using uninitialized variable.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024039Solution: Set the option flags to zero for a terminal option.
24040Files: src/option.c
24041
24042Patch 8.2.3930
24043Problem: getcmdline() argument has a misleading type.
24044Solution: Use the correct type, even though the value is not used.
24045Files: src/ex_getln.c, src/proto/ex_getln.pro, src/ex_docmd.c,
24046 src/normal.c, src/register.c, src/userfunc.c
24047
24048Patch 8.2.3931
24049Problem: Coverity reports a memory leak.
24050Solution: Free memory in case of failure.
24051Files: src/diff.c
24052
24053Patch 8.2.3932
24054Problem: C line comment not formatted properly.
24055Solution: If a line comment follows after "#if" the next line is not the end
24056 of a paragraph.
24057Files: src/textformat.c, src/testdir/test_textformat.vim
24058
24059Patch 8.2.3933
24060Problem: After ":cd" fails ":cd -" is incorrect.
24061Solution: Set the previous directory only after successfully changing
24062 directory. (Richard Doty, closes #9419, closes #8983)
24063Files: src/ex_docmd.c, src/testdir/test_cd.vim
24064
24065Patch 8.2.3934
24066Problem: Repeating line comment is undesired for "O" command.
24067Solution: Do not copy line comment leader for "O". (closes #9426)
24068Files: src/change.c, src/testdir/test_textformat.vim
24069
24070Patch 8.2.3935
24071Problem: CTRL-U in Insert mode does not fix the indent.
24072Solution: Fix the indent when 'cindent' is set.
24073Files: src/edit.c, src/testdir/test_textformat.vim
24074
24075Patch 8.2.3936
24076Problem: No proper test for maintaining change mark in diff mode.
24077Solution: Run the test with internal and external diff. (Sean Dewar,
24078 closes #9424)
24079Files: src/testdir/test_diffmode.vim
24080
24081Patch 8.2.3937
24082Problem: Insert mode completion function is too long.
24083Solution: Refactor into multiple functions. (Yegappan Lakshmanan,
24084 closes #9423)
24085Files: src/insexpand.c, src/testdir/test_ins_complete.vim
24086
24087Patch 8.2.3938
24088Problem: Line comment start is also found in a string.
24089Solution: Skip line comments in a string.
24090Files: src/cindent.c, src/proto/cindent.pro, src/search.c,
24091 src/testdir/test_textformat.vim
24092
24093Patch 8.2.3939
24094Problem: MS-Windows: fnamemodify('', ':p') does not work.
24095Solution: Do not consider an empty string a full path. (Yegappan Lakshmanan,
24096 closes #9428, closes #9427)
24097Files: src/os_mswin.c, src/testdir/test_fnamemodify.vim
24098
24099Patch 8.2.3940
24100Problem: Match highlight disappears when doing incsearch for ":s/pat".
24101Solution: Only use line limit for incsearch highlighting. (closes #9425)
24102Files: src/match.c, src/testdir/test_match.vim,
24103 src/testdir/dumps/Test_match_with_incsearch_1.dump,
24104 src/testdir/dumps/Test_match_with_incsearch_2.dump
24105
24106Patch 8.2.3941
24107Problem: SIGTSTP is not handled.
24108Solution: Handle SIGTSTP like pressing CTRL-Z. (closes #9422)
24109Files: runtime/doc/autocmd.txt, src/ex_docmd.c, src/os_unix.c,
24110 src/proto/ex_docmd.pro, src/testdir/test_signals.vim
24111
24112Patch 8.2.3942
24113Problem: Coverity reports a possible memory leak.
24114Solution: Free the array if allocation fails.
24115Files: src/insexpand.c
24116
24117Patch 8.2.3943
24118Problem: Compiler warning from gcc for uninitialized variable.
24119Solution: Initialize variable. (closes #9429)
24120Files: src/diff.c
24121
24122Patch 8.2.3944
24123Problem: Insert mode completion functions are too long.
24124Solution: Split up into multiple functions. (Yegappan Lakshmanan,
24125 closes #9431)
24126Files: src/insexpand.c, src/testdir/test_ins_complete.vim
24127
24128Patch 8.2.3945
24129Problem: Vim9: partial variable argument types are wrong, leading to a
24130 crash.
24131Solution: When adjusting the argument count also adjust the argument types.
24132 (closes #9433)
24133Files: src/vim9type.c, src/userfunc.c, src/testdir/test_vim9_assign.vim
24134
24135Patch 8.2.3946
24136Problem: When an internal error makes Vim exit the error is not seen.
24137Solution: Add the error to the test output.
24138Files: src/message.c, src/testdir/runtest.vim
24139
24140Patch 8.2.3947
24141Problem: Unnecessary check for NULL pointer.
24142Solution: Remove the check. (closes #9434)
24143Files: src/ex_docmd.c
24144
24145Patch 8.2.3948
24146Problem: Vim9: failure with partial with unknown argument count.
24147Solution: Do not copy argument types if there aren't any.
24148Files: src/vim9type.c
24149
24150Patch 8.2.3949
24151Problem: Using freed memory with /\%V.
24152Solution: Get the line again after getvvcol().
24153Files: src/regexp.c, src/testdir/test_regexp_latin.vim
24154
24155Patch 8.2.3950
24156Problem: Going beyond the end of the line with /\%V.
24157Solution: Check for valid column in getvcol().
24158Files: src/charset.c, src/testdir/test_regexp_latin.vim
24159
24160Patch 8.2.3951
24161Problem: Vim9: memory leak when text after a nested function.
24162Solution: Free the function if text is found after "enddef".
24163Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
24164
24165Patch 8.2.3952
24166Problem: First line not redrawn when adding lines to an empty buffer.
24167Solution: Adjust the argument to appended_lines(). (closes #9439,
24168 closes #9438)
24169Files: src/ex_cmds.c, src/testdir/test_excmd.vim
24170
24171Patch 8.2.3953
24172Problem: Insert completion code is too complicated.
24173Solution: More refactoring. Move function arguments into a struct.
24174 (Yegappan Lakshmanan, closes #9437)
24175Files: src/insexpand.c
24176
24177Patch 8.2.3954
24178Problem: Vim9: no error for shadowing if script var is declared later.
24179Solution: Check argument names when compiling a function.
24180Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
24181 src/testdir/test_vim9_assign.vim
24182
24183Patch 8.2.3955
24184Problem: Error messages are spread out.
24185Solution: Move more errors to errors.h.
24186Files: src/errors.h, src/globals.h, src/debugger.c, src/ex_cmds.c,
24187 src/help.c, src/sign.c, src/spellfile.c
24188
24189Patch 8.2.3956
24190Problem: Duplicate assignment.
24191Solution: Remove the second assignment. (closes #9442)
24192Files: src/evalfunc.c
24193
24194Patch 8.2.3957
24195Problem: Error messages are spread out.
24196Solution: Move more errors to errors.h.
24197Files: src/errors.h, src/globals.h, src/arglist.c, src/bufwrite.c,
Bram Moolenaar47c532e2022-03-19 15:18:53 +000024198 src/evalvars.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_eval.c,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024199 src/help.c, src/scriptfile.c, src/usercmd.c, src/userfunc.c,
24200 src/vim9cmds.c, src/vim9compile.c
24201
24202Patch 8.2.3958
24203Problem: Build failure compiling xxd with "-std=c2x".
24204Solution: define _XOPEN_SOURCE. (Yegappan Lakshmanan, closes #9444)
24205Files: src/xxd/xxd.c
24206
24207Patch 8.2.3959
24208Problem: Error messages are spread out.
24209Solution: Move more errors to errors.h.
24210Files: src/errors.h, src/autocmd.c, src/bufwrite.c, src/evalvars.c,
24211 src/ex_docmd.c, src/ex_eval.c, src/ex_getln.c, src/fileio.c,
24212 src/getchar.c, src/gui.c, src/locale.c, src/map.c
24213
24214Patch 8.2.3960
24215Problem: Error messages are spread out.
24216Solution: Move more errors to errors.h.
24217Files: src/errors.h, src/alloc.c, src/arglist.c, src/autocmd.c,
24218 src/blob.c, src/blowfish.c, src/buffer.c, src/bufwrite.c
24219
24220Patch 8.2.3961
24221Problem: Error messages are spread out.
24222Solution: Move more errors to errors.h.
Bram Moolenaar47c532e2022-03-19 15:18:53 +000024223Files: src/errors.h, src/globals.h, src/arglist.c, src/autocmd.c,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024224 src/blob.c, src/bufwrite.c, src/channel.c, src/clipboard.c,
24225 src/cmdexpand.c, src/debugger.c, src/dict.c, src/eval.c,
24226 src/evalfunc.c, src/evalvars.c, src/evalwindow.c, src/ex_cmds.c,
24227 src/ex_docmd.c, src/ex_eval.c, src/ex_getln.c, src/fileio.c,
24228 src/filepath.c, src/gui_gtk_x11.c, src/gui_haiku.cc,
24229 src/gui_photon.c, src/gui_w32.c, src/gui_x11.c, src/highlight.c,
24230 src/indent.c, src/insexpand.c, src/job.c, src/json.c, src/list.c,
24231 src/map.c, src/mark.c, src/match.c, src/mbyte.c, src/menu.c,
24232 src/message.c, src/misc2.c, src/ops.c, src/option.c,
24233 src/optionstr.c, src/popupwin.c, src/quickfix.c, src/screen.c,
24234 src/scriptfile.c, src/search.c, src/sign.c, src/spell.c,
24235 src/spellfile.c, src/strings.c, src/syntax.c, src/terminal.c,
24236 src/testing.c, src/textprop.c, src/time.c, src/userfunc.c,
24237 src/vim9cmds.c, src/vim9execute.c, src/vim9script.c, src/window.c
24238
24239Patch 8.2.3962 (after 8.2.3961)
24240Problem: Build fails for missing error message.
24241Solution: Add changes in missed file.
24242Files: src/regexp_bt.c
24243
24244Patch 8.2.3963
24245Problem: Build failure with tiny and small features. (Tony Mechelynck)
24246Solution: Adjust #ifdefs.
24247Files: src/errors.h, src/message.c
24248
24249Patch 8.2.3964
24250Problem: Some common lisp and scheme files not recognized.
24251Solution: Recognize *.asd as lisp and *.sld as scheme. (Alex Vear,
24252 closes #9447)
24253Files: runtime/filetype.vim, src/testdir/test_filetype.vim
24254
24255Patch 8.2.3965
24256Problem: Vim9: no easy way to check if Vim9 script is supported.
24257Solution: Add has('vim9script').
24258Files: runtime/doc/vim9.txt, src/evalfunc.c,
24259 src/testdir/test_vim9_script.vim
24260
24261Patch 8.2.3966
24262Problem: When using feedkeys() abbreviations may be blocked.
24263Solution: Reset tb_no_abbr_cnt when running out of characters.
24264 (closes #9448)
24265Files: src/getchar.c, src/testdir/test_feedkeys.vim
24266
24267Patch 8.2.3967
24268Problem: Error messages are spread out.
24269Solution: Move more errors to errors.h.
24270Files: src/errors.h, src/globals.h, src/feature.h, src/arglist.c,
24271 src/autocmd.c, src/blob.c, src/bufwrite.c, src/channel.c,
24272 src/cmdexpand.c, src/dict.c, src/diff.c, src/eval.c,
24273 src/evalfunc.c, src/evalvars.c, src/ex_cmds.c, src/ex_docmd.c,
24274 src/fileio.c, src/filepath.c, src/getchar.c, src/gui_gtk_x11.c,
24275 src/gui_x11.c, src/hardcopy.c, src/help.c, src/highlight.c,
24276 src/if_cscope.c, src/if_lua.c, src/if_mzsch.c, src/if_perl.xs,
24277 src/if_python.c, src/if_python3.c, src/if_ruby.c, src/if_tcl.c,
24278 src/if_xcmdsrv.c, src/indent.c, src/insexpand.c, src/job.c,
24279 src/list.c, src/main.c, src/map.c, src/match.c, src/mbyte.c,
24280 src/message.c, src/misc1.c, src/option.c, src/optionstr.c,
24281 src/os_mswin.c, src/os_unix.c, src/os_win32.c, src/popupwin.c,
24282 src/profiler.c, src/quickfix.c, src/scriptfile.c, src/search.c,
24283 src/session.c, src/sign.c, src/spell.c, src/spellfile.c,
24284 src/spellsuggest.c, src/syntax.c, src/tag.c, src/terminal.c,
24285 src/testing.c, src/textprop.c, src/typval.c, src/userfunc.c,
24286 src/vim9execute.c, src/vim9expr.c, src/vim9instr.c,
24287 src/vim9script.c
24288
24289Patch 8.2.3968
24290Problem: Build failure.
24291Solution: Add missing changes.
24292Files: src/strings.c, src/vim9compile.c
24293
24294Patch 8.2.3969
24295Problem: Value of MAXCOL not available in Vim script.
24296Solution: Add v:maxcol. (Naohiro Ono, closes #9451)
24297Files: runtime/doc/builtin.txt, runtime/doc/eval.txt, src/evalvars.c,
24298 src/testdir/test_cursor_func.vim, src/testdir/test_normal.vim,
24299 src/testdir/test_put.vim, src/vim.h
24300
24301Patch 8.2.3970
24302Problem: Error messages are spread out.
24303Solution: Move more errors to errors.h.
24304Files: src/errors.h, src/globals.h, src/buffer.c, src/bufwrite.c,
24305 src/clientserver.c, src/cmdhist.c, src/dict.c, src/edit.c,
24306 src/eval.c, src/evalfunc.c, src/evalvars.c, src/ex_cmds.c,
24307 src/ex_docmd.c, src/ex_eval.c, src/ex_getln.c, src/gui_w32.c,
24308 src/gui_x11.c, src/if_xcmdsrv.c, src/insexpand.c, src/json.c,
24309 src/match.c, src/menu.c, src/option.c, src/optionstr.c,
24310 src/os_mswin.c, src/quickfix.c, src/regexp_bt.c, src/regexp_nfa.c,
24311 src/scriptfile.c, src/sign.c, src/spellfile.c, src/undo.c,
24312 src/userfunc.c, src/vim9cmds.c, src/vim9compile.c,
24313 src/vim9execute.c, src/vim9expr.c, src/window.c
24314
24315Patch 8.2.3971
24316Problem: Build fails.
24317Solution: Use the right error message name.
24318Files: src/typval.c
24319
24320Patch 8.2.3972
24321Problem: Error messages are spread out.
24322Solution: Move the last errors from globals.h to errors.h.
24323Files: src/errors.h, src/globals.h, src/eval.c, src/evalfunc.c,
24324 src/evalvars.c, src/evalwindow.c, src/ex_eval.c, src/list.c,
24325 src/match.c, src/menu.c, src/popupmenu.c, src/search.c,
24326 src/vim9cmds.c, src/vim9expr.c
24327
24328Patch 8.2.3973
24329Problem: Tiny build fails.
24330Solution: Adjust #ifdefs
24331Files: src/errors.h
24332
24333Patch 8.2.3974
24334Problem: Vim9: LISTAPPEND instruction does not check for a locked list.
24335Solution: Check whether the list is locked. (closes #9452)
24336Files: src/vim9execute.c, src/testdir/test_vim9_builtin.vim
24337
24338Patch 8.2.3975
24339Problem: Error messages are spread out.
24340Solution: Move more error messages to errors.h.
24341Files: src/errors.h, src/clientserver.c, src/fileio.c, src/gui.c,
24342 src/gui_beval.c, src/gui_w32.c, src/gui_x11.c, src/if_cscope.c,
24343 src/if_xcmdsrv.c, src/os_mswin.c, src/sign.c, src/viminfo.c,
24344 src/window.c
24345
24346Patch 8.2.3976
24347Problem: FEARG_LAST is never used. (Dominique Pellé)
24348Solution: Remove FEARG_LAST and the related code.
24349Files: src/evalfunc.c
24350
24351Patch 8.2.3977
24352Problem: Error messages are spread out.
24353Solution: Move more error messages to errors.h.
24354Files: src/errors.h, src/change.c, src/clientserver.c, src/eval.c,
24355 src/gui_xim.c, src/if_cscope.c, src/if_py_both.h, src/if_python.c,
24356 src/if_python3.c, src/if_ruby.c, src/if_tcl.c, src/main.c,
24357 src/mark.c, src/match.c, src/memfile.c, src/memline.c,
24358 src/terminal.c, src/textprop.c, src/userfunc.c
24359
24360Patch 8.2.3978
Bram Moolenaar1588bc82022-03-08 21:35:07 +000024361Problem: Build error when using dynamically loaded Python 3.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024362Solution: Adjust #ifdef.
24363Files: src/errors.h
24364
24365Patch 8.2.3979
24366Problem: Vim9: the feature is not mentioned in the right places.
24367Solution: Add +vim9script to the help and :version output.
24368Files: runtime/doc/builtin.txt, runtime/doc/various.txt, src/version.c
24369
24370Patch 8.2.3980
24371Problem: If 'operatorfunc' invokes an operator the remembered Visual mode
24372 may be changed. (Naohiro Ono)
24373Solution: Save and restore the information for redoing the Visual area.
24374 (closes #9455)
24375Files: src/ops.c, src/testdir/test_normal.vim
24376
24377Patch 8.2.3981
24378Problem: Vim9: debugging a for loop doesn't stop before it starts.
24379Solution: Keep the DEBUG instruction before the expression is evaluated.
24380 (closes #9456)
24381Files: src/vim9cmds.c, src/testdir/test_vim9_disassemble.vim
24382
24383Patch 8.2.3982
24384Problem: Some lines of code not covered by tests.
24385Solution: Add a few more test cases. (Dominique Pellé, closes #9453)
24386Files: src/testdir/test_filter_map.vim, src/testdir/test_highlight.vim,
24387 src/testdir/test_regexp_latin.vim, src/testdir/test_search.vim,
24388 src/testdir/test_vim9_builtin.vim
24389
24390Patch 8.2.3983
24391Problem: Error messages are spread out.
24392Solution: Move more error messages to errors.h.
24393Files: src/errors.h, src/ex_docmd.c, src/fileio.c, src/filepath.c,
24394 src/findfile.c, src/hardcopy.c, src/memfile.c, src/memline.c,
24395 src/menu.c, src/normal.c, src/regexp_bt.c
24396
24397Patch 8.2.3984 (after 8.2.3981)
24398Problem: Debugger test fails.
24399Solution: Adjust the test for modified debugging of a for loop.
24400Files: src/testdir/test_debugger.vim
24401
24402Patch 8.2.3985
24403Problem: Error messages are spread out.
24404Solution: Move more error messages to errors.h.
24405Files: src/errors.h, src/findfile.c, src/fold.c, src/hardcopy.c,
24406 src/highlight.c, src/map.c, src/message.c, src/normal.c,
24407 src/option.c, src/os_amiga.c, src/os_unix.c, src/os_win32.c,
24408 src/quickfix.c, src/regexp.c, src/register.c, src/search.c,
24409 src/syntax.c, src/tag.c, src/term.c, src/typval.c, src/undo.c,
24410 src/window.c
24411
24412Patch 8.2.3986
24413Problem: Error messages are spread out.
24414Solution: Move more error messages to errors.h.
24415Files: src/errors.h, src/evalvars.c, src/ex_cmds.c, src/ex_docmd.c,
24416 src/fileio.c, src/fold.c, src/gui_x11.c, src/hardcopy.c,
24417 src/help.c, src/highlight.c, src/if_cscope.c, src/json.c,
24418 src/map.c, src/netbeans.c, src/popupwin.c, src/usercmd.c,
24419 src/userfunc.c
24420
24421Patch 8.2.3987
24422Problem: Error messages are spread out.
24423Solution: Move more error messages to errors.h.
24424Files: src/errors.h, src/digraph.c, src/ex_eval.c, src/gui.c,
24425 src/hardcopy.c, src/if_cscope.c, src/if_tcl.c, src/if_xcmdsrv.c,
24426 src/mbyte.c, src/misc2.c, src/netbeans.c, src/option.c,
24427 src/optionstr.c, src/quickfix.c, src/regexp.c, src/tag.c,
24428 src/term.c, src/viminfo.c
24429
24430Patch 8.2.3988 (after 8.2.3987)
24431Problem: Tiny build fails.
24432Solution: Fix misplaced #ifdef.
24433Files: src/errors.h
24434
24435Patch 8.2.3989
24436Problem: Some insert completion code is not tested.
24437Solution: Add a few tests. Refactor thesaurus completion. (Yegappan
24438 Lakshmanan, closes #9460)
24439Files: src/insexpand.c, src/testdir/test_edit.vim,
24440 src/testdir/test_ins_complete.vim
24441
24442Patch 8.2.3990
24443Problem: Testing wrong operator.
24444Solution: Test "g@" instead of "r_". (Naohiro Ono, closes #9463)
24445Files: src/testdir/test_normal.vim
24446
24447Patch 8.2.3991
24448Problem: Vim9: error when extending dict<any> with another type that it was
24449 initialized with.
24450Solution: Also set the type for dict<any> if the initializer has a more
24451 specific type. (closes #9461)
24452Files: src/vim9compile.c, src/vim9type.c, src/vim9.h, src/eval.c,
24453 src/list.c, src/vim9script.c, src/testdir/test_vim9_assign.vim,
24454 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_func.vim
24455
24456Patch 8.2.3992
24457Problem: Wrong local-additions in the help with language mix.
24458Solution: Adjust how the local additions list is generated. (Hirohito
24459 Higashi, closes #9464)
24460Files: src/help.c, src/testdir/test_help.vim
24461
24462Patch 8.2.3993
24463Problem: When recording a change in Select mode the first typed character
24464 appears twice.
24465Solution: When putting the character back into typeahead remove it from
24466 recorded characters. (closes #9462)
24467Files: src/getchar.c, src/proto/getchar.pro, src/normal.c,
24468 src/testdir/test_registers.vim
24469
24470Patch 8.2.3994
24471Problem: Vim9: extend() complains about the type even when it was not
24472 declared.
24473Solution: Only check the list or dict type when it was declared.
24474Files: src/list.c, src/testdir/test_vim9_builtin.vim
24475
24476Patch 8.2.3995
24477Problem: Not all sshconfig files are detected as such.
24478Solution: Adjust the patterns used for sshconfig detection. (David Auer,
24479 closes #9322)
24480Files: runtime/filetype.vim, src/testdir/test_filetype.vim
24481
24482Patch 8.2.3996
24483Problem: Vim9: type checking for list and dict lacks information about
24484 declared type.
24485Solution: Add dv_decl_type and lv_decl_type. Refactor the type stack to
24486 store two types in each entry.
24487Files: src/structs.h, src/dict.c, src/list.c, src/vim9type.c,
24488 src/proto/vim9type.pro, src/vim9instr.c, src/proto/vim9instr.pro,
24489 src/vim9compile.c, src/evalfunc.c, src/proto/evalfunc.pro,
24490 src/evalbuffer.c, src/proto/evalbuffer.pro, src/vim9expr.c,
24491 src/vim9cmds.c, src/testdir/test_vim9_assign.vim,
24492 src/testdir/test_vim9_builtin.vim
24493
24494Patch 8.2.3997
24495Problem: Vim9: not enough testing for extend() and map().
24496Solution: Add more test cases. Fix uncovered problems. Remove unused type
24497 fields.
24498Files: src/structs.h, src/dict.c, src/list.c, src/vim9compile.c,
24499 src/testdir/test_vim9_builtin.vim,
24500 src/testdir/test_vim9_disassemble.vim
24501
24502Patch 8.2.3998
24503Problem: Asan error for adding zero to NULL.
24504Solution: Do not compute pointer if there are no entries.
24505Files: src/vim9type.c
24506
24507Patch 8.2.3999
24508Problem: Redundant check for NUL byte.
24509Solution: Remove the check for a NUL byte. (closes #9471)
24510Files: src/ex_docmd.c
24511
24512Patch 8.2.4000
24513Problem: Coverity warns for checking for NULL pointer after using it.
24514Solution: Remove check for NULL.
24515Files: src/help.c
24516
24517Patch 8.2.4001
24518Problem: Insert complete code uses global variables.
24519Solution: Make variables local to the file and use accessor functions.
24520 (Yegappan Lakshmanan, closes #9470)
24521Files: src/edit.c, src/getchar.c, src/globals.h, src/insexpand.c,
24522 src/proto/insexpand.pro, src/search.c
24523
24524Patch 8.2.4002
24525Problem: First char typed in Select mode can be wrong.
24526Solution: Escape special bytes in the input buffer. (closes #9469)
24527Files: src/getchar.c, src/testdir/test_utf8.vim
24528
24529Patch 8.2.4003
24530Problem: Error messages are spread out.
24531Solution: Move more error messages to errors.h.
24532Files: src/errors.h, src/channel.c, src/ex_docmd.c, src/ex_eval.c,
24533 src/gui_at_fs.c, src/hardcopy.c, src/if_cscope.c, src/menu.c,
24534 src/netbeans.c, src/optionstr.c, src/os_mswin.c, src/sign.c,
24535 src/typval.c
24536
24537Patch 8.2.4004
24538Problem: Old compiler complains about struct init with variable.
Bram Moolenaar47c532e2022-03-19 15:18:53 +000024539Solution: Set the struct member later. (John Marriott)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024540Files: src/evalfunc.c
24541
24542Patch 8.2.4005
24543Problem: Error messages are spread out.
24544Solution: Move more error messages to errors.h.
24545Files: src/errors.h, src/dict.c, src/eval.c, src/evalfunc.c,
24546 src/evalvars.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_eval.c,
24547 src/filepath.c, src/gui.c, src/gui_w32.c, src/hardcopy.c,
24548 src/help.c, src/highlight.c, src/if_python.c, src/list.c,
24549 src/misc1.c, src/normal.c, src/quickfix.c, src/regexp.c,
24550 src/regexp_bt.c, src/regexp_nfa.c, src/typval.c, src/userfunc.c
24551
24552Patch 8.2.4006
24553Problem: Vim9: crash when declaring variable on the command line.
24554Solution: Use a temporary type list. (closes #9474)
24555Files: src/eval.c, src/testdir/test_vim9_assign.vim
24556
24557Patch 8.2.4007
24558Problem: Session does not restore help buffer properly when "options' is
24559 missing from 'sessionoptions'.
24560Solution: Use a ":help" command to create the help window. (closes #9475,
24561 closes #9458, closes #9472)
24562Files: src/session.c, src/testdir/test_mksession.vim
24563
24564Patch 8.2.4008
24565Problem: Error messages are spread out.
24566Solution: Move more error messages to errors.h.
24567Files: src/errors.h, src/diff.c, src/digraph.c, src/evalfunc.c,
24568 src/evalvars.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c,
24569 src/insexpand.c, src/match.c, src/memline.c, src/menu.c,
24570 src/ops.c, src/profiler.c, src/quickfix.c, src/regexp.c,
24571 src/regexp_bt.c, src/regexp_nfa.c, src/register.c, src/spell.c,
24572 src/spell.h, src/spellfile.c, src/strings.c, src/syntax.c,
24573 src/typval.c, src/undo.c, src/userfunc.c
24574
24575Patch 8.2.4009
24576Problem: Reading one byte beyond the end of the line.
24577Solution: Check for NUL byte first.
24578Files: src/vim9compile.c, src/ex_docmd.c, src/testdir/test_vim9_func.vim
24579
24580Patch 8.2.4010
24581Problem: Error messages are spread out.
24582Solution: Move more error messages to errors.h.
24583Files: src/errors.h, src/crypt.c, src/diff.c, src/ex_docmd.c,
24584 src/ex_getln.c, src/fileio.c, src/findfile.c, src/float.c,
24585 src/gui.c, src/highlight.c, src/if_mzsch.c, src/if_py_both.h,
24586 src/if_python.c, src/if_python3.c, src/insexpand.c, src/match.c,
24587 src/memline.c, src/option.c, src/popupwin.c, src/regexp.c,
24588 src/regexp_nfa.c, src/spellfile.c, src/strings.c, src/syntax.c,
24589 src/textprop.c, src/typval.c, src/undo.c, src/usercmd.c,
24590 src/userfunc.c, src/window.c
24591
24592Patch 8.2.4011
24593Problem: Test fails because of changed error number.
24594Solution: Restore old duplicate error message.
24595Files: src/errors.h, src/match.c
24596
24597Patch 8.2.4012
24598Problem: Error messages are spread out.
24599Solution: Move the last error messages to errors.h.
24600Files: src/errors.h, src/channel.c, src/clientserver.c, src/diff.c,
24601 src/evalfunc.c, src/evalvars.c, src/ex_cmds2.c, src/ex_docmd.c,
24602 src/gui_w32.c, src/help.c, src/if_mzsch.c, src/if_py_both.h,
24603 src/if_python.c, src/job.c, src/json.c, src/list.c, src/option.c,
24604 src/optionstr.c, src/quickfix.c, src/regexp.c, src/regexp_nfa.c,
24605 src/register.c, src/scriptfile.c, src/sign.c, src/syntax.c,
24606 src/tag.c, src/terminal.c, src/textprop.c, src/typval.c,
24607 src/undo.c, src/userfunc.c, src/vim9compile.c, src/viminfo.c
24608
24609Patch 8.2.4013
24610Problem: Build failure without the spell feature.
24611Solution: Adjust #ifdefs.
24612Files: src/errors.h
24613
24614Patch 8.2.4014
24615Problem: Git and gitcommit file types not properly recognized.
24616Solution: Adjust filetype detection. (Tim Pope, closes #9477)
24617Files: runtime/filetype.vim, runtime/scripts.vim,
24618 src/testdir/test_filetype.vim
24619
24620Patch 8.2.4015
24621Problem: Build failure with tiny features. (Tony Mechelynck)
24622Solution: Adjust #ifdefs.
24623Files: src/errors.h
24624
24625Patch 8.2.4016
24626Problem: Vim9: incorrect error for argument that is shadowing var.
24627Solution: Ignore variable that is not in block where the function was
24628 defined.
24629Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
24630
24631Patch 8.2.4017
24632Problem: Gcc warns for misleading indent in Athena menu code.
24633Solution: Add curlies around the two statements. (Dominique Pellé,
24634 closes #9480)
24635Files: src/gui_athena.c
24636
24637Patch 8.2.4018
24638Problem: ml_get error when win_execute redraws with Visual selection.
24639Solution: Disable Visual area temporarily. (closes #9479)
24640Files: src/evalwindow.c, src/proto/evalwindow.pro, src/structs.h,
24641 src/evalbuffer.c, src/proto/evalbuffer.pro, src/evalvars.c,
24642 src/if_py_both.h, src/evalfunc.c,
24643 src/testdir/test_execute_func.vim
24644
24645Patch 8.2.4019
24646Problem: Vim9: import mechanism is too complicated.
24647Solution: Do not use the Javascript mechanism but a much simpler one.
24648Files: runtime/doc/vim9.txt, src/vim9script.c, src/proto/vim9script.pro,
24649 src/errors.h, src/structs.h, src/eval.c, src/proto/eval.pro,
24650 src/evalvars.c, src/proto/evalvars.pro, src/userfunc.c,
24651 src/vim9expr.c, src/vim9compile.c, src/vim9execute.c,
24652 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_script.vim
24653
24654Patch 8.2.4020 (after 8.2.4019)
24655Problem: Debugger test fails.
24656Solution: Fix import statement.
24657Files: src/testdir/test_debugger.vim
24658
24659Patch 8.2.4021 (after 8.2.4019)
24660Problem: Missing part of the :import changes.
24661Solution: Add changes in vim9cmds.c.
24662Files: src/vim9cmds.c
24663
24664Patch 8.2.4022
24665Problem: Two error messages in the wrong file.
24666Solution: Use the error message from errors.h.
24667Files: src/popupwin.c, src/usercmd.c
24668
24669Patch 8.2.4023
24670Problem: Using uninitialized variable.
24671Solution: Initialize "ufunc" also when an item is not exported.
24672Files: src/vim9script.c
24673
24674Patch 8.2.4024
24675Problem: Confusing error message if imported name is used directly.
24676Solution: Give a better error message.
24677Files: src/eval.c, src/proto/eval.pro, src/evalvars.c, src/userfunc.c,
24678 src/testdir/test_vim9_script.vim
24679
24680Patch 8.2.4025
24681Problem: Error for import not ending in .vim does not work for .vimrc.
24682Solution: Check that .vim is the end. (closes #9484)
24683Files: src/vim9script.c, src/errors.h, src/testdir/test_vim9_script.vim
24684
24685Patch 8.2.4026
24686Problem: ml_get error with specific win_execute() command. (Sean Dewar)
24687Solution: Check cursor and Visual area are OK.
24688Files: src/evalwindow.c, src/testdir/test_execute_func.vim
24689
24690Patch 8.2.4027
24691Problem: Import test fails on MS-Windows.
24692Solution: Use a different directory name.
24693Files: src/testdir/test_vim9_script.vim
24694
24695Patch 8.2.4028
24696Problem: ml_get error with :doautoall and Visual area. (Sean Dewar)
24697Solution: Disable Visual mode while executing autocommands.
24698Files: src/structs.h, src/autocmd.c, src/testdir/test_autocmd.vim
24699
24700Patch 8.2.4029
24701Problem: Debugging NFA regexp my crash, cached indent may be wrong.
24702Solution: Fix some debug warnings in the NFA regexp code. Make sure log_fd
24703 is set when used. Fix breakindent and indent caching. (Christian
24704 Brabandt, closes #9482)
24705Files: src/indent.c, src/optionstr.c, src/regexp_nfa.c
24706
24707Patch 8.2.4030
24708Problem: A script local funcref is not found from a mapping.
24709Solution: When looking for a function, also find a script-local funcref.
24710 (closes #9485)
24711Files: src/evalvars.c, src/proto/evalvars.pro, src/userfunc.c,
24712 src/testdir/test_vim9_script.vim
24713
24714Patch 8.2.4031
24715Problem: Crash in xterm with only two lines. (Dominique Pellé)
24716Solution: Only perform xterm compatibility test if possible. (closes #9488)
24717Files: src/term.c, src/testdir/test_startup.vim
24718
24719Patch 8.2.4032
24720Problem: ATTRIBUTE_NORETURN is not needed.
24721Solution: Use NORETURN(). (Ozaki Kiichi, closes #9487)
24722Files: src/if_ruby.c, src/vim.h
24723
24724Patch 8.2.4033
24725Problem: Running filetype tests leaves directory behind.
24726Solution: Delete the top directory. (closes #9483)
24727Files: src/testdir/test_filetype.vim
24728
24729Patch 8.2.4034
24730Problem: Coverity warns for possibly using a NULL pointer.
24731Solution: Check v_partial is not NULL.
24732Files: src/vim9type.c
24733
24734Patch 8.2.4035
24735Problem: Timer triggered at the debug prompt may cause trouble.
24736Solution: Do not trigger any timer at the debug prompt. (closes #9481)
24737Files: src/time.c
24738
24739Patch 8.2.4036
24740Problem: Vim9: script test file is getting too long.
24741Solution: Split the import/export functionality to a separate file.
Bram Moolenaar47c532e2022-03-19 15:18:53 +000024742Files: src/testdir/test_vim9_script.vim, src/testdir/test_vim9_import.vim,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024743 src/testdir/Make_all.mak
24744
24745Patch 8.2.4037
24746Problem: Insert mode completion is insufficiently tested.
24747Solution: Add more tests. Fix uncovered memory leak. (Yegappan Lakshmanan,
24748 closes #9489)
24749Files: src/insexpand.c, src/testdir/test_ins_complete.vim
24750
24751Patch 8.2.4038
24752Problem: Various code not used when features are disabled.
24753Solution: Add #ifdefs. (Dominique Pellé, closes #9491)
24754Files: src/alloc.c, src/buffer.c, src/charset.c, src/clipboard.c,
24755 src/cmdhist.c, src/crypt.c, src/edit.c, src/eval.c,
24756 src/evalbuffer.c, src/evalfunc.c, src/ex_docmd.c, src/globals.h,
24757 src/gui_xim.c, src/hashtab.c, src/highlight.c, src/insexpand.c,
24758 src/main.c, src/mark.c, src/message.c, src/misc1.c, src/misc2.c,
24759 src/ops.c, src/option.c, src/option.h, src/optionstr.c,
24760 src/register.c, src/scriptfile.c, src/tag.c, src/term.c,
24761 src/typval.c, src/usercmd.c, src/userfunc.c, src/vim9script.c,
24762 src/vim9type.c
24763
24764Patch 8.2.4039
24765Problem: The xdiff library is linked in even when not used.
24766Solution: Use configure to decide whether xdiff object files are included.
24767Files: src/Makefile, src/config.mk.in, src/configure.ac,
24768 src/auto/configure, src/feature.h
24769
24770Patch 8.2.4040
24771Problem: Keeping track of allocated lines in user functions is too
24772 complicated.
24773Solution: Instead of freeing individual lines keep them all until the end.
24774Files: src/alloc.c, src/proto/alloc.pro, src/vim9compile.c,
24775 src/userfunc.c, src/proto/userfunc.pro, src/message.c,
24776 src/usercmd.c, src/viminfo.c, src/testdir/test_vim9_func.vim
24777
24778Patch 8.2.4041
Bram Moolenaar1588bc82022-03-08 21:35:07 +000024779Problem: Using uninitialized pointer.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024780Solution: Store "ht" when variable is in another script.
24781Files: src/evalvars.c
24782
24783Patch 8.2.4042
24784Problem: Vim9: build error.
24785Solution: Use grow array instead of character pointer.
24786Files: src/vim9execute.c
24787
24788Patch 8.2.4043
24789Problem: Using int for second argument of ga_init2().
Bram Moolenaar1588bc82022-03-08 21:35:07 +000024790Solution: Remove unnecessary type cast (int) when using sizeof().
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024791Files: src/arglist.c, src/channel.c, src/cmdexpand.c, src/dict.c,
24792 src/digraph.c, src/eval.c, src/evalfunc.c, src/evalvars.c,
24793 src/evalwindow.c, src/ex_docmd.c, src/fileio.c, src/filepath.c,
24794 src/findfile.c, src/fold.c, src/hardcopy.c, src/help.c,
24795 src/job.c, src/list.c, src/menu.c, src/os_win32.c, src/register.c,
24796 src/scriptfile.c, src/spellfile.c, src/spellsuggest.c,
24797 src/strings.c, src/syntax.c, src/tag.c, src/terminal.c,
24798 src/undo.c, src/usercmd.c, src/userfunc.c, src/vim9execute.c,
24799 src/viminfo.c, src/window.c, src/if_py_both.h
24800
24801Patch 8.2.4044
24802Problem: Vim9: no error when importing the same script twice.
24803Solution: Give an error, unless it is a reload.
24804Files: src/vim9script.c, src/errors.h, src/testdir/test_vim9_import.vim
24805
24806Patch 8.2.4045
24807Problem: Some global functions are only used in one file.
24808Solution: Make the functions static. (Yegappan Lakshmanan, closes #9492)
24809Files: src/ex_getln.c, src/highlight.c, src/proto/ex_getln.pro,
24810 src/proto/highlight.pro, src/proto/vim9compile.pro,
24811 src/proto/vim9instr.pro, src/proto/window.pro, src/vim9compile.c,
24812 src/vim9instr.c, src/window.c
24813
24814Patch 8.2.4046
24815Problem: Some error messages not in the right place.
24816Solution: Adjust the errors file. Fix typo.
24817Files: src/errors.h, src/regexp_bt.c, src/typval.c,
24818
24819Patch 8.2.4047
24820Problem: Depending on the build features error messages are unused.
24821Solution: Add #ifdefs. (Dominique Pellé, closes #9493)
24822Files: src/errors.h
24823
24824Patch 8.2.4048
24825Problem: gcc complains about use of "%p" in printf.
24826Solution: Add (void *) typecast. (Dominique Pellé, closes #9494)
24827Files: src/if_py_both.h
24828
24829Patch 8.2.4049
24830Problem: Vim9: reading before the start of the line with "$" by itself.
24831Solution: Do not subtract one when reporting the error.
24832Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim
24833
24834Patch 8.2.4050
24835Problem: Vim9: need to prefix every item in an autoload script.
24836Solution: First step in supporting "vim9script autoload" and "import
24837 autoload".
24838Files: runtime/doc/repeat.txt, runtime/doc/vim9.txt, src/structs.h,
24839 src/errors.h, src/vim9script.c, src/scriptfile.c,
24840 src/proto/scriptfile.pro, src/userfunc.c, src/eval.c,
24841 src/evalvars.c, src/vim9compile.c, src/proto/vim9compile.pro,
24842 src/vim9expr.c, src/testdir/test_vim9_script.vim
24843
24844Patch 8.2.4051
24845Problem: Compiler complains about possibly uninitialized variable.
24846Solution: Add code to avoid a compiler warning. (John Marriott)
24847Files: src/scriptfile.c
24848
24849Patch 8.2.4052
24850Problem: Not easy to resize a window from a plugin.
24851Solution: Add win_move_separator() and win_move_statusline() functions.
24852 (Daniel Steinberg, closes #9486)
24853Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
24854 src/evalwindow.c, src/proto/evalwindow.pro,
24855 src/testdir/test_window_cmd.vim
24856
24857Patch 8.2.4053
24858Problem: Vim9: autoload mechanism doesn't fully work yet.
24859Solution: Define functions and variables with their autoload name, add the
24860 prefix when calling a function, find the variable in the table of
24861 script variables.
24862Files: src/structs.h, src/scriptfile.c, src/proto/scriptfile.pro,
24863 src/vim9script.c, src/proto/vim9script.pro, src/userfunc.c,
24864 src/evalvars.c, src/testdir/test_vim9_script.vim
24865
24866Patch 8.2.4054 (after 8.2.4053)
24867Problem: Vim9 script test fails.
24868Solution: Add missing change.
24869Files: src/vim9compile.c
24870
24871Patch 8.2.4055
24872Problem: Vim9: line break in expression causes v:errmsg to be filled.
24873 (Yegappan Lakshmanan)
24874Solution: Do not give an error when skipping over an expression.
24875Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
24876
24877Patch 8.2.4056
24878Problem: Vim9: memory leak when exporting function in autoload script.
24879Solution: Free the name if replacing it.
24880Files: src/scriptfile.c
24881
24882Patch 8.2.4057
24883Problem: Vim9: not fully implementing the autoload mechanism.
24884Solution: Allow for exporting a legacy function. Improve test coverage.
24885Files: src/vim9script.c, src/testdir/test_vim9_import.vim,
24886 src/testdir/test_vim9_script.vim
24887
24888Patch 8.2.4058
24889Problem: Vim9: import test failure in wrong line.
24890Solution: Adjust line number.
24891Files: src/testdir/test_vim9_import.vim
24892
24893Patch 8.2.4059
24894Problem: Vim9: an expression of a map cannot access script-local items.
24895 (Maxim Kim)
24896Solution: Use the script ID of where the map was defined.
24897Files: src/getchar.c, src/map.c, src/proto/map.pro,
24898 src/testdir/test_vim9_import.vim
24899
24900Patch 8.2.4060
24901Problem: win_execute() is slow on systems where getcwd() or chdir() is
24902 slow. (Rick Howe)
24903Solution: Avoid using getcwd() and chdir() if no local directory is used and
24904 'acd' is not set. (closes #9504)
24905Files: src/evalwindow.c
24906
24907Patch 8.2.4061
24908Problem: Codecov bash script is deprecated.
24909Solution: Use the codecov action. (Ozaki Kiichi, closes #9505)
24910Files: .github/workflows/ci.yml
24911
24912Patch 8.2.4062
24913Problem: Match highlighting of tab too short.
24914Solution: Do not stop match highlighting if on a Tab. (Christian Brabandt,
24915 closes #9507, closes #9500)
24916Files: src/drawline.c, src/testdir/test_match.vim,
24917 src/testdir/dumps/Test_match_tab_linebreak.dump
24918
24919Patch 8.2.4063
24920Problem: Vim9: exported function in autoload script not found. (Yegappan
24921 Lakshmanan)
24922Solution: Use the autoload prefix to search for the function.
24923Files: src/userfunc.c, src/testdir/test_vim9_import.vim
24924
24925Patch 8.2.4064
24926Problem: Foam files are not detected.
24927Solution: Detect the foam filetype by the path and file contents. (Mohammed
24928 Elwardi Fadeli, closes #9501)
24929Files: runtime/filetype.vim, runtime/autoload/dist/ft.vim,
24930 src/testdir/test_filetype.vim
24931
24932Patch 8.2.4065
24933Problem: Computation overflow with large count for :yank.
24934Solution: Avoid an overflow.
24935Files: src/ex_docmd.c, src/testdir/test_excmd.vim
24936
24937Patch 8.2.4066
24938Problem: Vim9: imported autoload script loaded again.
24939Solution: Do not create a new imported_T every time.
24940Files: src/vim9script.c, src/vim9compile.c,
24941 src/testdir/test_vim9_import.vim
24942
24943Patch 8.2.4067
24944Problem: Vim9: cannot call imported function with :call. (Drew Vogel)
24945Solution: Translate the function name. (closes #9510)
24946Files: src/userfunc.c, src/testdir/test_vim9_import.vim
24947
24948Patch 8.2.4068 (after 8.2.4066)
24949Problem: Vim9: import test fails.
24950Solution: Add missing change.
24951Files: src/scriptfile.c
24952
24953Patch 8.2.4069
24954Problem: Vim9: import test fails on MS-Windows.
24955Solution: Ignore case. Adjust test to avoid name that only differs in case.
24956Files: src/eval.c, src/scriptfile.c, src/testdir/test_vim9_import.vim
24957
24958Patch 8.2.4070
24959Problem: Using uninitialized memory when reading empty file.
24960Solution: Check for empty file before checking for NL. (Dominique Pellé,
24961 closes #9511)
24962Files: src/filepath.c, src/testdir/test_eval_stuff.vim
24963
24964Patch 8.2.4071
24965Problem: Vim9: no detection of return in try/endtry. (Dominique Pellé)
24966Solution: Check if any of the blocks inside try/endtry did not end in
24967 return.
24968Files: src/vim9.h, src/vim9compile.c, src/vim9cmds.c,
24969 src/testdir/test_vim9_script.vim
24970
24971Patch 8.2.4072
24972Problem: Vim9: compiling function fails when autoload script is not loaded
24973 yet.
24974Solution: Depend on runtime loading.
24975Files: src/vim9expr.c, src/vim9script.c, src/vim9instr.c,
24976 src/vim9execute.c, src/testdir/test_vim9_import.vim
24977
24978Patch 8.2.4073
24979Problem: Coverity warns for using NULL pointer.
24980Solution: Bail out when running out of memory. Check for running over end of
24981 a string.
24982Files: src/userfunc.c,
24983
24984Patch 8.2.4074
24985Problem: Going over the end of NameBuff.
24986Solution: Check length when appending a space.
24987Files: src/drawscreen.c, src/testdir/test_edit.vim
24988
24989Patch 8.2.4075 (after 8.2.4073)
24990Problem: Test failures.
24991Solution: Change check for NULL pointer.
24992Files: src/userfunc.c
24993
24994Patch 8.2.4076
24995Problem: Memory leak in autoload import.
24996Solution: Do not overwrite the autoload prefix.
24997Files: src/vim9script.c
24998
24999Patch 8.2.4077
25000Problem: Not all Libsensors files are recognized.
25001Solution: Add "sensors.d/*" pattern. (Doug Kearns)
25002Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25003
25004Patch 8.2.4078
25005Problem: Terminal test for current directory not used on FreeBSD.
25006Solution: Make it work on FreeBSD. (Ozaki Kiichi, closes #9516) Add
25007 TermWait() inside Run_shell_in_terminal() as a generic solution.
25008Files: src/testdir/test_terminal3.vim, src/testdir/term_util.vim,
25009 src/testdir/test_terminal.vim, src/testdir/test_terminal2.vim,
25010 src/testdir/test_mapping.vim
25011
25012Patch 8.2.4079
25013Problem: MS-Windows: "gvim --version" didn't work when build with VIMDLL.
25014Solution: Adjust #ifdef. (Ken Takata, closes #9517)
25015Files: src/main.c
25016
25017Patch 8.2.4080
25018Problem: Not sufficient test coverage for xxd.
25019Solution: Add a few more test cases. (Erki Auerswald, closes #9515)
25020Files: src/testdir/test_xxd.vim
25021
25022Patch 8.2.4081
25023Problem: CodeQL reports problem in if_cscope causing it to fail.
25024Solution: Use execvp() instead of execl(). Merge the header file into the
25025 source file. (Ozaki Kiichi, closes #9519)
25026Files: Filelist, src/Make_cyg_ming.mak, src/Make_mvc.mak,
25027 src/Make_vms.mms, src/Makefile, src/if_cscope.c, src/if_cscope.h,
25028 src/testdir/test_cscope.vim
25029
25030Patch 8.2.4082
25031Problem: Check for autoload file name and prefix fails. (Christian J.
25032 Robinson)
25033Solution: Only lower case the prefix on systems where the file name is not
25034 case sensitive.
25035Files: src/scriptfile.c, src/testdir/test_vim9_import.vim
25036
25037Patch 8.2.4083
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025038Problem: Vim9: no test for "vim9script autoload" and using script variable
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025039 in the same script.
25040Solution: Add a simple test. Fix uncovered problem.
25041Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25042
25043Patch 8.2.4084
25044Problem: Memory leak when looking for autoload prefixed variable.
25045Solution: Free the concatenated string.
25046Files: src/evalvars.c
25047
25048Patch 8.2.4085
25049Problem: Vim9: no test for using import in legacy script.
25050Solution: Add a test.
25051Files: src/testdir/test_vim9_import.vim
25052
25053Patch 8.2.4086
25054Problem: "cctx" argument of find_func_even_dead() is unused.
25055Solution: Remove the argument.
25056Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9compile.c,
25057 src/vim9instr.c, src/evalfunc.c, src/evalvars.c, src/testing.c,
25058 src/vim9execute.c, src/vim9expr.c, src/vim9script.c,
25059 src/vim9type.c
25060
25061Patch 8.2.4087
25062Problem: Cannot test items from an autoload script easily.
25063Solution: Add the "autoload" value for test_override().
25064Files: runtime/doc/testing.txt, src/testing.c, src/globals.h,
25065 src/vim9script.c, src/testdir/test_vim9_import.vim
25066
25067Patch 8.2.4088
25068Problem: Xxd cannot output everything in one line.
25069Solution: Make zero columns mean infinite columns. (Erik Auerswald,
25070 closes #9524)
25071Files: runtime/doc/xxd.1, runtime/doc/xxd.man, src/testdir/test_xxd.vim,
25072 src/xxd/xxd.c
25073
25074Patch 8.2.4089 (after 8.2.4078)
25075Problem: Terminal test for current directory fails on FreeBSD.
25076Solution: Skip the test.
25077Files: src/testdir/test_terminal3.vim
25078
25079Patch 8.2.4090
25080Problem: After restoring a session buffer order can be quite different.
25081Solution: Create buffers first. (Evgeni Chasnovski, closes #9520)
25082Files: src/session.c, src/testdir/test_mksession.vim
25083
25084Patch 8.2.4091
25085Problem: Virtcol is recomputed for statusline unnecessarily.
25086Solution: Just use "w_virtcol". (closes #9523)
25087Files: src/buffer.c, src/testdir/test_statusline.vim
25088
25089Patch 8.2.4092
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025090Problem: macOS CI: unnecessarily doing "Install packages".
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025091Solution: Only do "Install packages" for huge build. (Ozaki Kiichi,
25092 closes #9521)
25093Files: .github/workflows/ci.yml
25094
25095Patch 8.2.4093
25096Problem: Cached breakindent values not initialized properly.
25097Solution: Initialize and cache formatlistpat. (Christian Brabandt,
25098 closes #9526, closes #9512)
25099Files: runtime/doc/options.txt, src/indent.c, src/option.c,
25100 src/proto/option.pro, src/testdir/test_breakindent.vim
25101
25102Patch 8.2.4094
25103Problem: 'virtualedit' is window-local but using buffer-local enum.
25104Solution: Use window-local enum. (closes #9529)
25105Files: src/option.h, src/optiondefs.h
25106
25107Patch 8.2.4095
25108Problem: Sed script not recognized by the first line.
25109Solution: Recognize a sed script starting with "#n". (Doug Kearns)
25110Files: runtime/scripts.vim, src/testdir/test_filetype.vim
25111
25112Patch 8.2.4096
25113Problem: Linux CI: unnecessarily installing packages
25114Solution: Only install packages for huge build. (Ozaki Kiichi,
25115 closes #9530)
25116Files: .github/workflows/ci.yml
25117
25118Patch 8.2.4097
25119Problem: Wrong number in error message on 32 bit system. (John Paul Adrian
25120 Glaubitz)
25121Solution: Add type cast. (closes #9527)
25122Files: src/vim9compile.c
25123
25124Patch 8.2.4098
25125Problem: Typing "interrupt" at debug prompt may keep exception around,
25126 causing function calls to fail.
25127Solution: Discard any exception at the toplevel. (closes #9532)
25128Files: src/main.c
25129
25130Patch 8.2.4099
25131Problem: Vim9: cannot use Vim9 syntax in mapping.
25132Solution: Add <ScriptCmd> to use the script context for a command.
25133Files: runtime/doc/map.txt, src/normal.c, src/getchar.c,
25134 src/proto/getchar.pro, src/ex_getln.c, src/edit.c, src/terminal.c,
25135 src/keymap.h, src/insexpand.c, src/misc2.c, src/ops.c,
25136 src/testdir/test_vim9_import.vim
25137
25138Patch 8.2.4100
25139Problem: Early return when getting the 'formatlistpat' value.
25140Solution: Remove the first line. (Christian Brabandt)
25141Files: src/option.c, src/testdir/test_breakindent.vim
25142
25143Patch 8.2.4101
25144Problem: Warning for unused argument in tiny version.
25145Solution: Add "UNUSED".
25146Files: src/getchar.c
25147
25148Patch 8.2.4102
25149Problem: Vim9: import cannot be used after method.
25150Solution: Recognize an imported function name. (closes #9496)
25151Files: src/eval.c, src/testdir/test_vim9_import.vim
25152
25153Patch 8.2.4103
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025154Problem: Vim9: variable declared in for loop not initialized.
25155Solution: Always initialize the variable. (closes #9535)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025156Files: src/vim9instr.c, src/proto/vim9instr.pro, src/vim9compile.c,
25157 src/testdir/test_vim9_assign.vim
25158
25159Patch 8.2.4104
25160Problem: Vim9: lower casing the autoload prefix causes problems.
25161Solution: Always store the prefix with case preserved.
25162Files: src/scriptfile.c, src/testdir/test_vim9_import.vim
25163
25164Patch 8.2.4105
25165Problem: Translation related comment in the wrong place.
25166Solution: Move it back with the text. (Ken Takata, closes #9537)
25167Files: src/errors.h, src/ex_docmd.c
25168
25169Patch 8.2.4106
25170Problem: Going over the end of the w_lines array.
25171Solution: Break out of the loop when "idx" is too big. (issue #9540)
25172Files: src/drawscreen.c
25173
25174Patch 8.2.4107
25175Problem: Script context not restored after using <ScriptCmd>.
25176Solution: Also restore context when not in a script. (closes #9536)
25177 Add the 'c' flag to feedkeys() to be able to test this.
25178Files: runtime/doc/builtin.txt, src/getchar.c, src/evalfunc.c,
25179 src/testdir/test_mapping.vim
25180
25181Patch 8.2.4108
25182Problem: Going over the end of the w_lines array.
25183Solution: Check not going over the end and limit to Rows. (issue #9540)
25184Files: src/drawscreen.c
25185
25186Patch 8.2.4109
25187Problem: MS-Windows: high dpi support is outdated.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025188Solution: Improve High DPI support by using PerMonitorV2. (Ken Takata
25189 closes #9525, closes #3102)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025190Files: src/gui.c, src/gui.h, src/gui_w32.c, src/vim.manifest
25191
25192Patch 8.2.4110
25193Problem: Coverity warns for using NULL pointer.
25194Solution: Check "evalarg" is not NULL. Skip errors when "verbose" is false.
25195Files: src/eval.c
25196
25197Patch 8.2.4111
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025198Problem: Potential problem when map is deleted while executing.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025199Solution: Reset last used map pointer when deleting a mapping.
25200Files: src/map.c
25201
25202Patch 8.2.4112
25203Problem: Function not deleted at end of test.
25204Solution: Delete the function.
25205Files: src/testdir/test_diffmode.vim
25206
25207Patch 8.2.4113
25208Problem: Typo on DOCMD_RANGEOK results in not recognizing command.
25209Solution: Correct the typo. (closes #9539)
25210Files: src/vim.h, src/testdir/test_mapping.vim
25211
25212Patch 8.2.4114
25213Problem: Vim9: type checking for a funcref does not work for when it is
25214 used in a method.
25215Solution: Pass the base to where the type is checked.
25216Files: src/vim9type.c, src/proto/vim9type.pro, src/userfunc.c,
25217 src/testdir/test_vim9_expr.vim
25218
25219Patch 8.2.4115
25220Problem: Cannot use a method with a complex expression.
25221Solution: Evaluate the expression after "->" and use the result.
25222Files: src/eval.c, src/errors.h, src/testdir/test_vim9_expr.vim
25223
25224Patch 8.2.4116
25225Problem: Vim9: cannot use a method with a complex expression in a :def
25226 function.
25227Solution: Implement compiling the expression.
25228Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim
25229
25230Patch 8.2.4117
25231Problem: Vim9: wrong white space error after using imported item.
25232Solution: Don't skip over white space. (closes #9544)
25233Files: src/eval.c, src/testdir/test_vim9_import.vim
25234
25235Patch 8.2.4118
25236Problem: Using UNUSED for argument that is used.
25237Solution: Remove UNUSED.
25238Files: src/usercmd.c
25239
25240Patch 8.2.4119
25241Problem: Build failure when disabling the channel feature.
25242Solution: Adjust #ifdef. (Dominique Pellé, closes #9545)
25243Files: src/misc2.c
25244
25245Patch 8.2.4120
25246Problem: Block insert goes over the end of the line.
25247Solution: Handle invalid byte better. Fix inserting the wrong text.
25248Files: src/ops.c, src/testdir/test_visual.vim
25249
25250Patch 8.2.4121
25251Problem: Visual test fails on MS-Windows.
25252Solution: Set 'isprint' so that the character used is not printable.
25253Files: src/testdir/test_visual.vim
25254
25255Patch 8.2.4122
25256Problem: ":command Cmd" does not show custom completion argument.
25257Solution: Show the completion argument when using ":verbose".
25258Files: src/usercmd.c, src/testdir/test_usercommands.vim
25259
25260Patch 8.2.4123
25261Problem: Complete function cannot be import.Name.
25262Solution: Dereference the function name if needed. Also: do not see
25263 "import.Name" as a builtin function. (closes #9541)
25264Files: src/userfunc.c, src/eval.c, src/testdir/test_vim9_import.vim
25265
25266Patch 8.2.4124
25267Problem: Vim9: method in compiled function may not see script item.
25268Solution: Make sure not to skip to the next line. (closes #9496)
25269Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim
25270
25271Patch 8.2.4125
25272Problem: Completion tests fail.
25273Solution: Disable error messages while dereferencing the function name.
25274Files: src/eval.c
25275
25276Patch 8.2.4126
25277Problem: Crash on exit when built with dynamic Tcl and EXITFREE is defined.
25278 (Dominique Pellé)
25279Solution: Only call Tcl_Finalize() when initialized. (closes #9546)
25280Files: src/if_tcl.c
25281
25282Patch 8.2.4127
25283Problem: Build failure without the +eval feature.
25284Solution: Add #ifdef.
25285Files: src/usercmd.c
25286
25287Patch 8.2.4128
25288Problem: Crash when method cannot be found. (Christian J. Robinson)
25289Solution: Don't mix up pointer names.
25290Files: src/eval.c, src/testdir/test_vim9_expr.vim
25291
25292Patch 8.2.4129
25293Problem: Building with +sound but without +eval fails. (Dominique Pellé)
25294Solution: Disable canberra in tiny and small build. (closes #9548)
25295Files: src/configure.ac, src/auto/configure
25296
25297Patch 8.2.4130
25298Problem: MS-Windows: MSVC build may have libraries duplicated.
25299Solution: Improve the MSVC Makefile. (Ken Takata, closes #9547)
25300Files: src/Make_mvc.mak
25301
25302Patch 8.2.4131
25303Problem: Vim9: calling function in autoload import does not work in a :def
25304 function.
25305Solution: When a variable is not found and a PCALL follows use a funcref.
25306 (closes #9550)
25307Files: src/vim9execute.c, src/testdir/test_vim9_import.vim
25308
25309Patch 8.2.4132
25310Problem: Vim9: wrong error message when autoload script can't be found.
25311Solution: Correct check for using autoload with wrong name.
25312Files: src/vim9script.c, src/testdir/test_vim9_import.vim
25313
25314Patch 8.2.4133
25315Problem: output of ":scriptnames" goes into the message history, while this
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025316 does not happen for other commands, such as ":ls".
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025317Solution: Use msg_outtrans() instead of smsg(). (closes #9551)
25318Files: src/scriptfile.c, src/testdir/test_scriptnames.vim
25319
25320Patch 8.2.4134
25321Problem: MS-Windows: test for import with absolute path fails.
25322Solution: Handle path starting with slash as an absolute path.
25323Files: src/vim9script.c
25324
25325Patch 8.2.4135
25326Problem: Vim9: ":scriptnames" shows unloaded imported autoload script.
25327Solution: Mark the unloaded script with "A". (closes #9552)
25328Files: runtime/doc/repeat.txt, src/scriptfile.c,
25329 src/testdir/test_vim9_import.vim
25330
25331Patch 8.2.4136
25332Problem: Vim9: the "autoload" argument of ":vim9script" is not useful.
25333Solution: Remove the argument. (closes #9555)
25334Files: runtime/doc/vim9.txt, runtime/doc/repeat.txt, src/vim9script.c,
25335 src/errors.h, src/testdir/test_vim9_import.vim
25336
25337Patch 8.2.4137
25338Problem: Vim9: calling import with and without method is inconsistent.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025339Solution: Set a flag that a parenthesis follows to compile_load_scriptvar().
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025340 Add some more tests. Improve error message.
25341Files: src/vim9expr.c, src/vim9execute.c, src/vim9script.c,
25342 src/testdir/test_vim9_import.vim
25343
25344Patch 8.2.4138
25345Problem: Vim9: no error for return with argument when the function does not
25346 return anything.
25347Solution: Give an error for the invalid argument. (issue #9497)
25348Files: src/vim9cmds.c, src/testdir/test_vim9_func.vim
25349
25350Patch 8.2.4139
25351Problem: Using freed memory if an expression abbreviation deletes the
25352 abbreviation.
25353Solution: Do not access the pointer after evaluating the expression.
25354Files: src/map.c, src/testdir/test_mapping.vim
25355
25356Patch 8.2.4140
25357Problem: maparg() does not indicate the type of script where it was defined.
25358Solution: Add "scriptversion".
25359Files: runtime/doc/builtin.txt, src/map.c, src/testdir/test_maparg.vim
25360
25361Patch 8.2.4141 (after 8.2.4140)
25362Problem: Vim9 builtin functions test fails.
25363Solution: Add "scriptversion" item to maparg() result.
25364Files: src/testdir/test_vim9_builtin.vim
25365
25366Patch 8.2.4142
25367Problem: Build failure with normal features without persistent undo.
25368Solution: Adjust #ifdef. (closes #9557)
25369Files: src/fileio.c
25370
25371Patch 8.2.4143
25372Problem: MS-Windows: IME support for Win9x is obsolete.
25373Solution: Remove the Win9x code. (Ken Takata, closes #9559)
25374Files: src/gui_w32.c
25375
25376Patch 8.2.4144
25377Problem: Cannot load libsodium dynamically.
25378Solution: Support dynamic loading on MS-Windows. (Ken Takata, closes #9554)
25379Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/buffer.c,
25380 src/crypt.c, src/memline.c, src/proto/crypt.pro
25381
25382Patch 8.2.4145
25383Problem: Confusing error when using name of import for a function.
25384Solution: Pass a flag to trans_function_name().
25385Files: src/vim.h, src/userfunc.c, src/proto/userfunc.pro, src/eval.c,
25386 src/testdir/test_vim9_import.vim
25387
25388Patch 8.2.4146
25389Problem: Vim9: shadowed function can be used in compiled function but not
25390 at script level.
25391Solution: Also give an error in a compiled function. (closes #9563)
25392Files: src/vim9expr.c
25393
25394Patch 8.2.4147
25395Problem: E464 does not always include the offending command.
25396Solution: Add another error message with "%s". (closes #9564)
25397Files: src/errors.h, src/vim9compile.c, src/ex_docmd.c,
25398 src/testdir/test_vim9_script.vim
25399
25400Patch 8.2.4148
25401Problem: Deleting any mapping may cause <ScriptCmd> to not set the script
25402 context.
25403Solution: Only reset last_used_map if it is the deleted mapping.
25404 (closes #9568)
25405Files: src/map.c, src/getchar.c, src/proto/getchar.pro,
25406 src/testdir/test_mapping.vim
25407
25408Patch 8.2.4149
25409Problem: Test override not restored, autocommand left behind.
25410Solution: Correct restoring test override. Delete autocommand afterwards.
25411Files: src/testdir/test_autocmd.vim, src/testdir/test_mapping.vim
25412
25413Patch 8.2.4150
25414Problem: Coverity warns for using pointer after free.
25415Solution: Swap statements, even though using the pointer is no problem.
25416Files: src/map.c
25417
25418Patch 8.2.4151
25419Problem: Reading beyond the end of a line.
25420Solution: For block insert only use the offset for correcting the length.
25421Files: src/ops.c, src/testdir/test_visual.vim
25422
25423Patch 8.2.4152
25424Problem: Block insert with double wide character fails.
25425Solution: Adjust the expected output.
25426Files: src/testdir/test_utf8.vim
25427
25428Patch 8.2.4153
25429Problem: MS-Windows: Global IME is no longer supported.
25430Solution: Remove the Global IME implementation. (Ken Takata, closes #9562)
25431Files: Filelist, runtime/doc/mbyte.txt, src/Make_mvc.mak, src/dimm.idl,
25432 src/glbl_ime.cpp, src/glbl_ime.h, src/gui_w32.c, src/vim.h
25433
25434Patch 8.2.4154
25435Problem: ml_get error when exchanging windows in Visual mode.
25436Solution: Correct end of Visual area when entering another buffer.
25437Files: src/window.c, src/testdir/test_visual.vim
25438
25439Patch 8.2.4155
25440Problem: Translating strftime() argument results in check error.
25441Solution: Add gettext comment.
25442Files: src/time.c
25443
25444Patch 8.2.4156
25445Problem: Fileinfo message overwrites echo'ed message.
25446Solution: Reset need_fileinfo when displaying a message. (Rob Pilling,
25447 closes #9569)
25448Files: src/message.c, src/testdir/test_messages.vim,
25449 src/testdir/dumps/Test_fileinfo_after_echo.dump
25450
25451Patch 8.2.4157
25452Problem: Terminal test fails because Windows sets the title.
25453Solution: Add the "vterm_title" testing override and use it in the test.
25454 (Ozaki Kiichi, closes #9556)
25455Files: runtime/doc/testing.txt, src/globals.h, src/terminal.c,
25456 src/testing.c, src/testdir/test_terminal.vim
25457
25458Patch 8.2.4158
25459Problem: MS-Windows: memory leak in :browse.
25460Solution: Free stuff before returning. (Ken Takata, closes #9574)
25461Files: src/gui_w32.c
25462
25463Patch 8.2.4159
25464Problem: MS-Windows: _WndProc() is very long.
25465Solution: Move code to separate functions. (Ken Takata, closes #9573)
25466Files: src/gui_w32.c
25467
25468Patch 8.2.4160
25469Problem: Cannot change the register used for Select mode delete.
25470Solution: Make CTRL-R set the register to be used when deleting text for
25471 Select mode. (Shougo Matsushita, closes #9531)
25472Files: runtime/doc/visual.txt, src/globals.h, src/normal.c, src/ops.c,
25473 src/testdir/test_selectmode.vim
25474
25475Patch 8.2.4161
25476Problem: Vim9: warning for missing white space after imported variable.
25477Solution: Do not skip white space. (closes #9567)
25478Files: src/vim9expr.c, src/testdir/test_vim9_import.vim
25479
25480Patch 8.2.4162
25481Problem: Vim9: no error for redefining function with export.
25482Solution: Check for existing function with/without prefix. (closes #9577)
25483Files: src/userfunc.c, src/scriptfile.c, src/testdir/test_vim9_import.vim
25484
25485Patch 8.2.4163
25486Problem: No error for omitting function name after autoload prefix.
25487Solution: Check for missing function name. (issue #9577)
25488Files: src/userfunc.c, src/testdir/test_vim9_import.vim
25489
25490Patch 8.2.4164 (after 8.2.4162)
25491Problem: Error in legacy code for function shadowing variable.
25492Solution: Only give the error in Vim9 script.
25493Files: src/userfunc.c
25494
25495Patch 8.2.4165
25496Problem: The nv_g_cmd() function is too long.
25497Solution: Move code to separate functions. (Yegappan Lakshmanan,
25498 closes #9576)
25499Files: src/normal.c
25500
25501Patch 8.2.4166
25502Problem: Undo synced when switching buffer in another window.
25503Solution: Do not sync undo when not needed. (closes #9575)
25504Files: src/buffer.c, src/testdir/test_timers.vim
25505
25506Patch 8.2.4167
25507Problem: Vim9: error message for old style import.
25508Solution: Use another error message. Add a test.
25509Files: src/evalvars.c, src/errors.h, src/testdir/test_vim9_import.vim
25510
25511Patch 8.2.4168 (after 8.2.4163)
25512Problem: Disallowing empty function name breaks existing plugins.
25513Solution: Allow empty function name in legacy script.
25514Files: src/userfunc.c, src/testdir/test_autoload.vim,
25515 src/testdir/sautest/autoload/foo.vim
25516
25517Patch 8.2.4169
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025518Problem: MS-Windows: unnecessary casts and other minor things.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025519Solution: Clean up the MS-Windows code. (Ken Takata, closes #9583)
25520Files: src/gui_w32.c
25521
25522Patch 8.2.4170
25523Problem: MS-Windows: still using old message API calls.
25524Solution: Call the "W" functions directly. (Ken Takata, closes #9582)
25525Files: src/gui_w32.c, src/os_mswin.c, src/os_win32.c, src/os_win32.h
25526
25527Patch 8.2.4171
25528Problem: Cannot invoke option function using autoload import.
25529Solution: Expand the import to an autoload function name. (closes #9578)
25530Files: src/userfunc.c, src/evalvars.c, src/proto/evalvars.pro,
25531 src/option.c, src/testdir/test_vim9_import.vim
25532
25533Patch 8.2.4172
25534Problem: Filetype detection for BASIC is not optimal.
25535Solution: Improve BASIC filetype detection. (Doug Kearns)
25536Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
25537 src/testdir/test_filetype.vim
25538
25539Patch 8.2.4173
25540Problem: Cannot use an import in 'foldexpr'.
25541Solution: Set the script context to where 'foldexpr' was set. (closes #9584)
25542 Fix that the script context was not set for all buffers.
25543Files: src/eval.c, src/proto/eval.pro, src/fold.c, src/structs.h,
25544 src/option.c, src/testdir/test_vim9_import.vim
25545
25546Patch 8.2.4174
25547Problem: Vim9: can use an autoload name in normal script.
25548Solution: Disallow using an autoload name.
25549Files: src/userfunc.c, src/errors.h, src/testdir/test_vim9_import.vim
25550
25551Patch 8.2.4175
25552Problem: MS-Windows: runtime check for multi-line balloon is obsolete.
25553Solution: Remove the obsolete code. (Ken Takata, closes #9592)
25554Files: src/evalfunc.c, src/gui_w32.c, src/proto/gui_w32.pro
25555
25556Patch 8.2.4176
25557Problem: Vim9: cannot use imported function with call().
25558Solution: Translate the function name. (closes #9590)
25559Files: src/evalfunc.c, src/testdir/test_vim9_import.vim
25560
25561Patch 8.2.4177
25562Problem: Vim9: autoload script not loaded after "vim9script noclear".
25563Solution: Check IMP_FLAGS_AUTOLOAD properly. (closes #9593)
25564Files: src/vim9compile.c, src/testdir/test_vim9_import.vim
25565
25566Patch 8.2.4178
25567Problem: Vim9: invalid error for return type of lambda when debugging.
25568Solution: Do not check the return type of a lambda. (closes #9589)
25569Files: src/vim9cmds.c
25570
25571Patch 8.2.4179
25572Problem: 'foldtext' is evaluated in the current script context.
25573Solution: Use the script context where the option was set.
25574Files: src/fold.c, src/buffer.c, src/eval.c, src/proto/eval.pro,
25575 src/findfile.c, src/testdir/test_vim9_import.vim
25576
25577Patch 8.2.4180
25578Problem: 'balloonexpr' is evaluated in the current script context.
25579Solution: Use the script context where the option was set.
25580Files: src/beval.c, src/option.c, src/proto/option.pro,
25581 src/testdir/test_balloon.vim,
25582 src/testdir/dumps/Test_balloon_eval_term_01.dump,
25583 src/testdir/dumps/Test_balloon_eval_term_01a.dump,
25584 src/testdir/dumps/Test_balloon_eval_term_02.dump
25585
25586Patch 8.2.4181
25587Problem: Vim9: cannot use an import in 'diffexpr'.
25588Solution: Set the script context when evaluating 'diffexpr'. Do not require
25589 'diffexpr' to return a bool, it was ignored anyway.
25590Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25591
25592Patch 8.2.4182 (after 8.2.4182)
25593Problem: Memory leak when evaluating 'diffexpr'.
25594Solution: Use free_tv() instead of clear_tv().
25595Files: src/evalvars.c
25596
25597Patch 8.2.4183
25598Problem: Cannot use an import in 'formatexpr'.
25599Solution: Set the script context when evaluating 'formatexpr'.
25600Files: src/textformat.c, src/testdir/test_vim9_import.vim
25601
25602Patch 8.2.4184
25603Problem: Cannot use an import in 'includeexpr'.
25604Solution: Set the script context when evaluating 'includeexpr'
25605Files: src/findfile.c, src/testdir/test_vim9_import.vim
25606
25607Patch 8.2.4185
25608Problem: Cannot use an import in 'indentexpr'.
25609Solution: Set the script context when evaluating 'indentexpr'
25610Files: src/indent.c, src/testdir/test_vim9_import.vim
25611
25612Patch 8.2.4186
25613Problem: Cannot use an import in 'patchexpr'.
25614Solution: Set the script context when evaluating 'patchexpr'. Do not
25615 require 'patchexpr' to return a bool, it was ignored anyway.
25616Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25617
25618Patch 8.2.4187
25619Problem: Gnuplot file not recognized.
25620Solution: Recognize ".gnuplot". (closes #9588)
25621Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25622
25623Patch 8.2.4188
25624Problem: Not all gitconfig files are recognized.
25625Solution: Add a few more patterns. (Tim Pope, closes #9597)
25626Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25627
25628Patch 8.2.4189
25629Problem: MS-Windows: code for "old look" is obsolete.
25630Solution: Delete obsolete code. Use "MS Shell Dlg" font. (Ken Takata,
25631 closes #9596)
25632Files: src/gui_w32.c
25633
25634Patch 8.2.4190
25635Problem: All conceal tests are skipped without the screendumps feature.
25636Solution: Only skip the tests that use screendumps. (closes #9599)
25637Files: src/testdir/test_conceal.vim
25638
25639Patch 8.2.4191
25640Problem: json5 files are not recognized.
25641Solution: Add a pattern for json5 files. (closes #9601)
25642Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25643
25644Patch 8.2.4192
25645Problem: Cannot use an import in 'printexpr'.
25646Solution: Set the script context when evaluating 'printexpr'.
25647Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25648
25649Patch 8.2.4193
25650Problem: Cannot use an import in 'charconvert'.
25651Solution: Set the script context when evaluating 'charconvert'. Also expand
25652 script-local functions in 'charconvert'.
25653Files: src/evalvars.c, src/optionstr.c, src/testdir/test_vim9_import.vim
25654
25655Patch 8.2.4194
25656Problem: MS-Windows: code for calculating font size is duplicated.
25657Solution: Move the code to a function. (Ken Takata, closes #9603)
25658Files: src/gui_w32.c
25659
25660Patch 8.2.4195
25661Problem: Resizing terminal may cause to behave like CTRL-Z.
25662Solution: Set "got_tstp" only when in_mch_suspend is set. (Dorian Bivolaru,
25663 closes #9602, closes #9586)
25664Files: src/os_unix.c
25665
25666Patch 8.2.4196
25667Problem: Various file types not recognized.
25668Solution: Add patterns to recognize more file types (closes #9607)
25669Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25670
25671Patch 8.2.4197
25672Problem: Cannot use an import in the "expr" part of 'spellsuggest'.
25673Solution: Set the script context when evaluating "expr" of 'spellsuggest'.
25674Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25675
25676Patch 8.2.4198
25677Problem: Vim9: the switch for executing instructions is too long.
25678Solution: Move some code to separate functions.
25679Files: src/vim9execute.c
25680
25681Patch 8.2.4199
25682Problem: MS-Windows: Support for MSVC before 2003 is not useful.
25683Solution: Remove the exceptions for MSVC 6.0. (Ken Takata, closes #9616)
25684Files: src/GvimExt/gvimext.h, src/ex_docmd.c, src/feature.h,
25685 src/gui_w32.c, src/if_cscope.c, src/if_ole.cpp, src/if_ruby.c,
25686 src/macros.h, src/os_mswin.c, src/os_win32.c, src/os_win32.h,
25687 src/proto/os_win32.pro, src/time.c, src/vim.h
25688
25689Patch 8.2.4200
25690Problem: Some tests do not clean up properly.
25691Solution: Delete created files. (Yegappan Lakshmanan, closes #9611)
25692Files: src/testdir/test_filetype.vim, src/testdir/test_messages.vim,
25693 src/testdir/test_vim9_import.vim
25694
25695Patch 8.2.4201
25696Problem: When using the GUI CTRL-Z does not stop gvim.
25697Solution: When using the GUI set SIGTSTP to SIG_DFL. (Andrew Maltsev,
25698 closes #9570)
25699Files: src/os_unix.c
25700
25701Patch 8.2.4202
25702Problem: Vim9: cannot export function that exists globally.
25703Solution: When checking if a function already exists only check for
25704 script-local functions. (closes #9615)
Bram Moolenaar47c532e2022-03-19 15:18:53 +000025705Files: src/userfunc.c, src/proto/userfunc.pro, src/vim.h,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025706 src/vim9compile.c, src/vim9instr.c,
25707 src/testdir/test_vim9_import.vim
25708
25709Patch 8.2.4203
25710Problem: Entering a character with CTRL-V may include modifiers.
25711Solution: Reset "mod_mask" when entering a character with digits after
25712 CTRL-V. (closes #9610)
25713Files: src/edit.c, src/testdir/test_edit.vim
25714
25715Patch 8.2.4204
25716Problem: screenpos() has non-zero row for invisible text.
25717Solution: Only add the window row when the text is visible. (closes #9618)
25718Files: src/move.c, src/testdir/test_cursor_func.vim
25719
25720Patch 8.2.4205
25721Problem: The normal_cmd() function is too long.
25722Solution: Move parts to separate functions. (Yegappan Lakshmanan,
25723 closes #9608)
25724Files: src/normal.c
25725
25726Patch 8.2.4206
25727Problem: Condition with many "(" causes a crash.
25728Solution: Limit recursion to 1000.
25729Files: src/errors.h, src/eval.c, src/testdir/test_eval_stuff.vim
25730
25731Patch 8.2.4207 (after 8.2.4206)
25732Problem: Recursion test fails with MSVC.
25733Solution: Use a smaller limit for MSVC.
25734Files: src/eval.c
25735
25736Patch 8.2.4208
25737Problem: Using setbufvar() may change the window title.
25738Solution: Do not redraw when creating the autocommand window. (closes #9613)
25739Files: src/autocmd.c, src/testdir/test_functions.vim
25740
25741Patch 8.2.4209
25742Problem: partial in 'opfunc' cannot use an imported function.
25743Solution: Also expand the function name in a partial. (closes #9614)
25744Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25745
25746Patch 8.2.4210 (after 8.2.4208)
25747Problem: Window title test fails in some configurations.
25748Solution: Only run the test if the title can be obtained.
25749Files: src/testdir/test_functions.vim
25750
25751Patch 8.2.4211 (after 8.2.4208)
25752Problem: Window title test still fails in some configurations.
25753Solution: Use WaitForAssert().
25754Files: src/testdir/test_functions.vim
25755
25756Patch 8.2.4212 (after 8.2.4208)
25757Problem: Window title test still fails in some configurations.
25758Solution: Explicitly set the 'title' option.
25759Files: src/testdir/test_functions.vim
25760
25761Patch 8.2.4213
25762Problem: Too much code for supporting old MSVC versions.
25763Solution: Remove MSVC 2003 support. (Ken Takata, closes #9623)
25764Files: Filelist, src/INSTALLpc.txt, src/Make_mvc.mak, src/gui_w32.c,
25765 src/msvcsetup.bat, src/os_win32.c
25766
25767Patch 8.2.4214
25768Problem: Illegal memory access with large 'tabstop' in Ex mode.
25769Solution: Allocate enough memory.
25770Files: src/ex_getln.c, src/testdir/test_ex_mode.vim
25771
25772Patch 8.2.4215
25773Problem: Illegal memory access when copying lines in Visual mode.
25774Solution: Adjust the Visual position after copying lines.
25775Files: src/ex_cmds.c, src/testdir/test_visual.vim
25776
25777Patch 8.2.4216
25778Problem: Vim9: cannot use a function from an autoload import directly.
25779Solution: Add the AUTOLOAD instruction to figure out at runtime.
25780 (closes #9620)
25781Files: src/vim9expr.c, src/vim9.h, src/vim9execute.c, src/vim9instr.c,
25782 src/proto/vim9instr.pro, src/testdir/test_vim9_import.vim,
25783 src/testdir/test_vim9_disassemble.vim
25784
25785Patch 8.2.4217
25786Problem: Illegal memory access when undo makes Visual area invalid.
25787Solution: Correct the Visual area after undo.
25788Files: src/undo.c, src/testdir/test_visual.vim
25789
25790Patch 8.2.4218
25791Problem: Illegal memory access with bracketed paste in Ex mode.
25792Solution: Reserve space for the trailing NUL.
25793Files: src/edit.c, src/testdir/test_paste.vim
25794
25795Patch 8.2.4219
25796Problem: Reading before the start of the line.
25797Solution: Check boundary before trying to read the character.
25798Files: src/register.c, src/testdir/test_visual.vim
25799
25800Patch 8.2.4220
25801Problem: MS-Windows: some old compiler support remains.
25802Solution: Remove obsolete compiler support. (Ken Takata, closes #9627)
25803Files: src/Make_mvc.mak, src/vim.h
25804
25805Patch 8.2.4221
25806Problem: Some functions in normal.c are very long.
25807Solution: Move code to separate functions. (Yegappan Lakshmanan,
25808 closes #9628)
25809Files: src/normal.c
25810
25811Patch 8.2.4222
25812Problem: MS-Windows: clumsy way to suppress progress on CI.
25813Solution: Check for "$CI" in the Makefile itself. (Ken Takata, closes #9631)
25814Files: .github/workflows/ci.yml, ci/appveyor.bat, src/Make_mvc.mak
25815
25816Patch 8.2.4223
25817Problem: Long/int compiler warnings; function arguments swapped.
25818Solution: Add type casts. Swap arguments. (Ken Takata, closes #9632)
25819Files: src/alloc.c, src/eval.c, src/vim9script.c
25820
25821Patch 8.2.4224
25822Problem: Vim9: no error when using a number for map() second argument
25823Solution: Disallow number to string conversion. (closes #9630)
25824Files: src/eval.c, src/evalfunc.c, src/testdir/test_vim9_builtin.vim
25825
25826Patch 8.2.4225
25827Problem: Vim9: depth argument of :lockvar not parsed in :def function.
25828Solution: Parse the optional depth argument. (closes #9629)
25829 Fix that locking doesn't work for a non-materialize list.
25830Files: src/vim9cmds.c, src/evalvars.c, src/structs.h, src/evalfunc.c,
25831 src/errors.h, src/vim9execute.c, src/testdir/test_vim9_cmd.vim,
25832 src/testdir/test_vim9_disassemble.vim
25833
25834Patch 8.2.4226 (after 8.2.4224)
25835Problem: Filter-map test fails.
25836Solution: Only reject number argument in Vim9 script.
25837Files: src/eval.c
25838
25839Patch 8.2.4227
25840Problem: Vim9: using "lockvar!" in :def function does not work.
25841Solution: Add "!" instead of "-1". (closes #9634)
25842Files: src/vim9cmds.c, src/testdir/test_vim9_cmd.vim
25843
25844Patch 8.2.4228
25845Problem: No tests for clicking in the GUI tabline.
25846Solution: Add test functions to generate the events. Add tests using the
25847 functions. (Yegappan Lakshmanan, closes #9638)
25848Files: runtime/doc/builtin.txt, runtime/doc/testing.txt,
25849 runtime/doc/usr_41.txt, src/evalfunc.c, src/normal.c,
25850 src/proto/testing.pro, src/testdir/test_diffmode.vim,
25851 src/testdir/test_gui.vim, src/testdir/test_normal.vim,
25852 src/testing.c
25853
25854Patch 8.2.4229
25855Problem: Possible crash when invoking timer callback fails.
25856Solution: Initialize the typval. Give an error for an empty callback.
25857 (closes #9636)
25858Files: src/time.c, src/testdir/test_vim9_builtin.vim
25859
25860Patch 8.2.4230
25861Problem: MS-Windows: set_guifontwide() is included but won't work.
25862Solution: Include set_guifontwide() only for X11. (Ken Takata, closes #9640)
25863Files: src/gui.c
25864
25865Patch 8.2.4231
25866Problem: Vim9: map() gives type error when type was not declared.
25867Solution: Only check the type when it was declared, like extend() does.
25868 (closes #9635)
25869Files: src/list.c, src/evalfunc.c, src/vim9instr.c,
25870 src/testdir/test_vim9_builtin.vim,
25871 src/testdir/test_vim9_assign.vim
25872
25873Patch 8.2.4232 (after 8.2.4231)
25874Problem: Some compilers don't like a goto label without statement.
25875Solution: Return instead of using a goto.
25876Files: src/list.c
25877
25878Patch 8.2.4233
25879Problem: Crash when recording and using Select mode.
25880Solution: When deleting the last recorded character check there is something
25881 to delete.
25882Files: src/getchar.c, src/testdir/test_registers.vim
25883
25884Patch 8.2.4234
25885Problem: test_garbagecollect_now() does not check v:testing as documented.
25886Solution: Give an error if v:testing is not set.
25887Files: src/testing.c, src/errors.h, src/testdir/test_functions.vim
25888
25889Patch 8.2.4235
25890Problem: Invalid check for NULL pointer.
25891Solution: Remove the check.
25892Files: src/getchar.c
25893
25894Patch 8.2.4236
25895Problem: Accessing freed memory.
25896Solution: Set the bh_curr pointer to NULL.
25897Files: src/getchar.c
25898
25899Patch 8.2.4237
25900Problem: Record buffer wrong if character in Select mode was not typed.
25901Solution: Only delete the tail from the record buffer if the character was
25902 typed. (closes #9650)
25903Files: src/normal.c, src/testdir/test_registers.vim
25904
25905Patch 8.2.4238
25906Problem: *.tf file could be fileytpe "tf" or "terraform".
25907Solution: Detect the type from the file contents. (closes #9642)
25908Files: runtime/filetype.vim, runtime/autoload/dist/ft.vim,
25909 src/testdir/test_filetype.vim
25910
25911Patch 8.2.4239
25912Problem: Build fails with unusual configuration.
25913Solution: Adjust #ifdef. (closes #9651)
25914Files: src/testing.c
25915
25916Patch 8.2.4240
25917Problem: Error for using flatten() in Vim9 script is unclear.
25918Solution: Add a remark to use flattennew().
25919Files: src/errors.h
25920
25921Patch 8.2.4241
25922Problem: Some type casts are redundant.
25923Solution: Remove the type casts. (closes #9643)
25924Files: src/blob.c, src/buffer.c, src/channel.c, src/clientserver.c,
25925 src/clipboard.c, src/drawline.c, src/drawscreen.c, src/edit.c,
25926 src/evalfunc.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_eval.c,
25927 src/fold.c, src/if_cscope.c, src/json.c, src/match.c,
25928 src/memline.c, src/message.c, src/misc1.c, src/normal.c,
25929 src/ops.c, src/option.c, src/optionstr.c, src/os_unix.c,
25930 src/register.c, src/sign.c, src/spellfile.c, src/tag.c, src/ui.c,
25931 src/undo.c, src/window.c
25932
25933Patch 8.2.4242
25934Problem: Put in Visual mode cannot be repeated.
25935Solution: Use "P" to put without yanking the deleted text into the unnamed
25936 register. (Shougo Matsushita, closes #9591)
25937Files: runtime/doc/visual.txt, src/normal.c, src/register.c,
25938 src/testdir/test_visual.vim
25939
25940Patch 8.2.4243
25941Problem: Lua tests fail with Lua 5.4.4.
25942Solution: Check messages like before Lua 5.4.3. (Jakub Kulík, closes #9652)
25943Files: src/testdir/test_lua.vim
25944
25945Patch 8.2.4244
25946Problem: MS-Windows: warning from MSVC on debug build.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025947Solution: Adjust "/opt" options. Remove unused variables. Make variables
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025948 uppercase for consistency. (Ken Takata, closes #9647)
25949Files: src/Make_mvc.mak
25950
25951Patch 8.2.4245
25952Problem: ":retab 0" may cause illegal memory access.
25953Solution: Limit the value of 'tabstop' to 10000.
25954Files: src/option.c, src/vim.h, src/indent.c,
25955 src/testdir/test_options.vim
25956
25957Patch 8.2.4246
25958Problem: One error message not in errors.h. (Antonio Colombo)
25959Solution: Move the message and rename.
25960Files: src/errors.h, src/if_perl.xs
25961
25962Patch 8.2.4247
25963Problem: Stack corruption when looking for spell suggestions.
25964Solution: Prevent the depth increased too much. Add a five second time
25965 limit to finding suggestions.
25966Files: src/spellsuggest.c, src/testdir/test_spell.vim
25967
25968Patch 8.2.4248
25969Problem: No proper test for moving the window separator.
25970Solution: Add a test. Add comment in code. (closes #9656)
25971Files: src/window.c, src/testdir/test_window_cmd.vim
25972
25973Patch 8.2.4249
25974Problem: The timeout limit for spell suggestions is always 5000 milli
25975 seconds.
25976Solution: Add the "timeout" entry to 'spellsuggest'.
25977Files: runtime/doc/options.txt, src/spellsuggest.c,
25978 src/testdir/test_spell.vim
25979
25980Patch 8.2.4250
25981Problem: Channel out callback test is flaky on Mac.
25982Solution: Assign high priority to the test process. (Ozaki Kiichi,
25983 closes #9653)
25984Files: src/testdir/test_channel_pipe.py, src/testdir/thread_util.py
25985
25986Patch 8.2.4251
25987Problem: Vala files are not recognized.
25988Solution: Add the *.vala pattern. (closes #9654)
25989Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25990
25991Patch 8.2.4252
25992Problem: Generating the normal command table at runtime is inefficient.
25993Solution: Generate the table with a Vim script and put it in a header file.
25994 (Yegappan Lakshmanan, closes #9648)
25995Files: Filelist, runtime/doc/builtin.txt, runtime/doc/usr_41.txt,
25996 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms,
25997 src/Makefile, src/create_nvcmdidxs.vim, src/evalfunc.c,
25998 src/main.c, src/normal.c, src/nv_cmdidxs.h, src/proto/normal.pro
25999
26000Patch 8.2.4253
26001Problem: Using freed memory when substitute uses a recursive function call.
26002Solution: Make a copy of the substitute text.
26003Files: src/ex_cmds.c, src/testdir/test_substitute.vim
26004
26005Patch 8.2.4254
26006Problem: Using short instead of int.
26007Solution: Use int. (closes #9658)
26008Files: src/if_cscope.c
26009
26010Patch 8.2.4255
26011Problem: Theoretical computation overflow.
26012Solution: Perform multiplication in a wider type. (closes #9657)
26013Files: src/alloc.c, src/drawline.c, src/eval.c, src/evalfunc.c,
26014 src/ex_docmd.c, src/hardcopy.c, src/list.c, src/memfile.c,
26015 src/memline.c, src/popupwin.c
26016
26017Patch 8.2.4256
26018Problem: MS-Windows: compiler warnings when compiled with /W4.
26019Solution: Small adjustments to the code. (Ken Takata, closes #9659)
26020Files: src/gui_w32.c, src/os_win32.c
26021
26022Patch 8.2.4257
26023Problem: Vim9: finding global function without g: prefix but not finding
26024 global variable is inconsistent.
26025Solution: Require using g: for a global function. Change the vim9.vim
26026 script into a Vim9 script with exports. Fix that import in legacy
26027 script does not work.
26028Files: src/vim9expr.c, src/evalfunc.c, src/eval.c, src/userfunc.c,
26029 src/testdir/vim9.vim, src/testdir/test_vim9_assign.vim,
26030 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
26031 src/testdir/test_vim9_disassemble.vim,
26032 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
26033 src/testdir/test_vim9_import.vim,
26034 src/testdir/test_vim9_script.vim, src/testdir/test_blob.vim,
26035 src/testdir/test_execute_func.vim, src/testdir/test_debugger.vim,
26036 src/testdir/test_expr.vim, src/testdir/test_filter_map.vim,
26037 src/testdir/test_float_func.vim, src/testdir/test_functions.vim,
26038 src/testdir/test_glob2regpat.vim, src/testdir/test_highlight.vim,
26039 src/testdir/test_iminsert.vim, src/testdir/test_ins_complete.vim,
26040 src/testdir/test_listdict.vim, src/testdir/test_mapping.vim,
26041 src/testdir/test_normal.vim, src/testdir/test_popupwin.vim,
26042 src/testdir/test_profile.vim, src/testdir/test_quickfix.vim,
26043 src/testdir/test_tagfunc.vim, src/testdir/test_textprop.vim,
26044 src/testdir/test_usercommands.vim
26045
26046Patch 8.2.4258
26047Problem: Coverity warns for array overrun.
26048Solution: Restrict depth to MAXWLEN - 1.
26049Files: src/spellsuggest.c
26050
26051Patch 8.2.4259
26052Problem: Number of test functions for GUI events is growing.
26053Solution: Use one function with a dictionary. (Yegappan Lakshmanan,
26054 closes #9660)
26055Files: runtime/doc/builtin.txt, runtime/doc/testing.txt,
26056 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/testing.pro,
26057 src/testdir/test_gui.vim, src/testdir/test_vim9_builtin.vim,
26058 src/testing.c
26059
26060Patch 8.2.4260
26061Problem: Vim9: can still use a global function without g: at the script
26062 level.
26063Solution: Also check for g: at the script level. (issue #9637)
26064Files: src/userfunc.c, src/proto/userfunc.pro, src/evalvars.c,
26065 src/vim9expr.c, src/testdir/test_vim9_assign.vim,
26066 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
26067 src/testdir/test_vim9_disassemble.vim,
26068 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
26069 src/testdir/test_vim9_import.vim,
26070 src/testdir/test_ins_complete.vim, src/testdir/test_popupwin.vim,
26071 src/testdir/dumps/Test_popupwin_scroll_11.dump,
26072 src/testdir/dumps/Test_popupwin_scroll_12.dump
26073
26074Patch 8.2.4261
26075Problem: Accessing invalid memory when a regular expression checks the
26076 Visual area while matching in a string.
26077Solution: Do not try matching the Visual area in a string.
26078Files: src/regexp.c, src/testdir/test_help.vim
26079
26080Patch 8.2.4262 (after 8.2.4261)
26081Problem: Some search tests fail.
26082Solution: Use a better way to reject searching for the Visual area.
26083Files: src/regexp.c
26084
26085Patch 8.2.4263
26086Problem: No test for the GUI find/replace dialog.
26087Solution: Add a test function and a test. (Yegappan Lakshmanan,
26088 closes #9662)
26089Files: runtime/doc/testing.txt, src/testdir/test_gui.vim, src/testing.c
26090
26091Patch 8.2.4264
26092Problem: Vim9: can use old style autoload function name.
26093Solution: Give an error for old style autoload function name.
26094Files: src/errors.h, src/userfunc.c, src/testdir/test_vim9_import.vim,
26095 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
26096
26097Patch 8.2.4265 (after 8.2.4264)
26098Problem: Autoload tests fails.
26099Solution: Use export instead of name with #.
26100Files: src/testdir/sautest/autoload/auto9.vim,
Bram Moolenaar47c532e2022-03-19 15:18:53 +000026101 src/testdir/test_autoload.vim, src/testdir/test_ins_complete.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +000026102
26103Patch 8.2.4266
26104Problem: Compiler warning for uninitialized variable.
26105Solution: Initialize saved_did_emsg.
26106Files: src/userfunc.c
26107
26108Patch 8.2.4267
26109Problem: Unused entry in keymap enum.
26110Solution: Remove the entry.
26111Files: src/keymap.h
26112
26113Patch 8.2.4268
26114Problem: CI log output is long.
26115Solution: Group output in sections. (Ozaki Kiichi, closes #9670)
26116Files: .github/workflows/ci.yml
26117
26118Patch 8.2.4269
26119Problem: Coverity warns for using a NULL pointer.
26120Solution: Check for "name" to not be NULL.
26121Files: src/userfunc.c
26122
26123Patch 8.2.4270
26124Problem: Generating nv_cmdidxs.h requires building Vim twice.
26125Solution: Move the table into a separate file and use a separate executable
26126 to extract the command characters. (Ozaki Kiichi, closes #9669)
26127Files: src/normal.c, src/nv_cmds.h, Filelist, runtime/doc/builtin.txt,
26128 runtime/doc/usr_41.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak,
26129 src/Make_vms.mms, src/Makefile, src/create_nvcmdidxs.c,
26130 src/create_nvcmdidxs.vim, src/evalfunc.c, src/proto/normal.pro
26131
26132Patch 8.2.4271
26133Problem: MS-Windows: cannot build with Ruby 3.1.0.
26134Solution: Adjust the DLL name and include directory. (Ken Takata,
26135 closes #9666)
26136Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
26137
26138Patch 8.2.4272
26139Problem: Vim9 expr test fails without the channel feature. (Dominique
26140 Pellé)
26141Solution: Remove "g:" before "CheckFeature". (closes #9671)
26142Files: src/testdir/test_vim9_expr.vim
26143
26144Patch 8.2.4273
26145Problem: The EBCDIC support is outdated.
26146Solution: Remove the EBCDIC support.
26147Files: src/ascii.h, src/charset.c, src/cindent.c, src/digraph.c,
26148 src/edit.c, src/eval.c, src/evalfunc.c, src/ex_cmds.c,
26149 src/feature.h, src/filepath.c, src/findfile.c, src/getchar.c,
26150 src/gui.c, src/gui_motif.c, src/hardcopy.c, src/help.c,
26151 src/macros.h, src/map.c, src/mark.c, src/misc2.c, src/normal.c,
26152 src/ops.c, src/option.c, src/option.h, src/optiondefs.h,
26153 src/os_unix.c, src/proto/evalfunc.pro, src/regexp.c,
26154 src/regexp_bt.c, src/regexp_nfa.c, src/register.c, src/screen.c,
26155 src/spell.c, src/strings.c, src/structs.h, src/term.c,
26156 src/version.c, src/viminfo.c, src/testdir/test_edit.vim,
26157 src/testdir/test_exec_while_if.vim, src/testdir/test_expr.vim,
26158 src/testdir/test_gf.vim, src/testdir/test_regexp_utf8.vim
26159
26160Patch 8.2.4274
26161Problem: Basic and form filetype detection is incomplete.
26162Solution: Add a separate function for .frm files. (Doug Kearns, closes #9675)
26163Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
26164 src/testdir/test_filetype.vim
26165
26166Patch 8.2.4275
26167Problem: Cannot use an autoload function from a package under start.
26168Solution: Also look in the "start" package directory. (Bjorn Linse,
26169 closes #7193)
26170Files: src/scriptfile.c, src/testdir/test_packadd.vim
26171
26172Patch 8.2.4276
26173Problem: Separate test function for the GUI scrollbar.
26174Solution: Use test_gui_event(). (Yegappan Lakshmanan, closes #9674)
26175Files: runtime/doc/builtin.txt, runtime/doc/testing.txt,
26176 runtime/doc/usr_41.txt, src/evalfunc.c, src/testing.c,
26177 src/proto/testing.pro, src/testdir/test_gui.vim,
26178 src/testdir/test_vim9_builtin.vim
26179
26180Patch 8.2.4277
26181Problem: Vim9: an import does not shadow a command modifier.
26182Solution: Do not accept a command modifier followed by a dot.
26183Files: src/ex_docmd.c, src/testdir/test_vim9_import.vim
26184
26185Patch 8.2.4278
26186Problem: Build with Athena GUI fails. (Elimar Riesebieter)
26187Solution: Add #ifdef.
26188Files: src/testing.c
26189
26190Patch 8.2.4279
26191Problem: Vim9: cannot change item type with map() after range().
26192Solution: Split the return type in current type and declared type.
26193 (closes #9665)
26194Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9instr.c,
26195 src/vim9type.c, src/proto/vim9type.pro,
26196 src/testdir/test_vim9_builtin.vim
26197
26198Patch 8.2.4280 (after 8.2.4279)
26199Problem: list-dict test crashes.
26200Solution: Check declared type for add().
26201Files: src/vim9expr.vim
26202
26203Patch 8.2.4281
26204Problem: Using freed memory with :lopen and :bwipe.
26205Solution: Do not use a wiped out buffer.
26206Files: src/buffer.c, src/testdir/test_quickfix.vim
26207
26208Patch 8.2.4282
26209Problem: Restricted mode requires the -Z command line option.
26210Solution: Use restricted mode when $SHELL ends in "nologin" or "false".
26211 (closes #9681)
26212Files: runtime/doc/starting.txt, src/option.c,
26213 src/testdir/test_restricted.vim
26214
26215Patch 8.2.4283
26216Problem: Using a variable for the return value is not needed.
26217Solution: Return the value directly. (closes #9687)
26218Files: src/ex_docmd.c, src/misc2.c
26219
26220Patch 8.2.4284
26221Problem: Old mac resources files are no longer used.
26222Solution: Delete the unused files. (Ozaki Kiichi, closes #9688)
26223Files: Filelist, src/Makefile, src/dehqx.py, src/infplist.xml,
26224 src/os_mac.rsr.hqx, src/os_mac_rsrc/app.icns,
26225 src/os_mac_rsrc/doc-txt.icns, src/os_mac_rsrc/doc.icns
26226
26227Patch 8.2.4285
26228Problem: Vim9: type of item in for loop not checked properly.
26229Solution: Adjust the type checking. (closes #9683)
26230Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9cmds.c,
26231 src/testdir/test_vim9_script.vim
26232
26233Patch 8.2.4286
26234Problem: Vim9: strict type checking after copy() and deepcopy().
26235Solution: Allow type to change after making a copy. (closes #9644)
26236Files: src/eval.c, src/proto/eval.pro, src/dict.c, src/proto/dict.pro,
26237 src/list.c, src/proto/list.pro, src/evalfunc.c, src/vim9execute.c,
26238 src/vim9type.c, src/proto/vim9type.pro, src/evalvars.c,
26239 src/testdir/test_vim9_builtin.vim,
26240 src/testdir/test_vim9_assign.vim
26241
26242Patch 8.2.4287
26243Problem: Cannot assign empty list with any list type to variable with
26244 specific list type.
26245Solution: Use unknown list type for empty list if the specified type is any.
26246Files: src/vim9type.c, src/testdir/test_vim9_assign.vim,
26247 src/testdir/test_vim9_func.vim
26248
26249Patch 8.2.4288
26250Problem: Preprocessor indents are inconsistent.
26251Solution: Fix preprocessor indents. (Ken Takata, closes #9691)
26252Files: src/arglist.c, src/change.c, src/ex_cmds.c, src/gui.c,
26253 src/hashtab.c, src/indent.c, src/ops.c, src/os_win32.c
26254
26255Patch 8.2.4289
26256Problem: Warnings reported by MSVC.
26257Solution: Rename variables and other fixes. (Ken Takata, closes #9689)
26258Files: src/cmdexpand.c, src/drawscreen.c, src/filepath.c, src/getchar.c,
26259 src/menu.c, src/os_win32.c, src/version.c
26260
26261Patch 8.2.4290
26262Problem: MS-Windows: using type casts for timer IDs.
26263Solution: Remove type casts and use the right type. (Ken Takata,
26264 closes #9690) Remove old debug comments. Rename variables and
26265 functions.
26266Files: src/gui_w32.c
26267
26268Patch 8.2.4291
26269Problem: Error number used twice.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000026270Solution: Renumber the errors.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000026271Files: src/errors.h
26272
26273Patch 8.2.4292 (after 8.2.4291)
26274Problem: Test fails.
26275Solution: Adjust the expected error number.
26276Files: src/testdir/test_vim9_cmd.vim
26277
26278Patch 8.2.4293
26279Problem: Vim9: when copying a list it gets type list<any> even when the
26280 original list did not have a type.
26281Solution: Only set the type when the original list has a type. (closes #9692)
26282Files: src/list.c, src/testdir/test_vim9_expr.vim
26283
26284Patch 8.2.4294
26285Problem: MS-Windows: #ifdefs for Cygwin are too complicated.
26286Solution: Simplify the conditions. (Ken Takata, closes #9693)
26287Files: src/evalfunc.c, src/main.c, src/os_unix.c, src/os_win32.c,
26288 src/os_win32.h
26289
26290Patch 8.2.4295
26291Problem: Vim9: concatenating two lists may result in wrong type.
26292Solution: Remove the type instead of using list<any>. (closes #9692)
26293Files: src/list.c, src/testdir/test_vim9_expr.vim
26294
26295Patch 8.2.4296
26296Problem: Vim9: not all code covered by tests.
26297Solution: Add a few more tests for corner cases. Fix hang when single quote
26298 is missing.
26299Files: src/vim9expr.c, src/testdir/test_vim9_assign.vim,
26300 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_expr.vim
26301
26302Patch 8.2.4297
26303Problem: Vim9: not all code covered by tests.
26304Solution: Add a couple more tests.
26305Files: src/testdir/test_vim9_script.vim,
26306 src/testdir/test_vim9_disassemble.vim
26307
26308Patch 8.2.4298
26309Problem: Divide by zero with huge tabstop value.
26310Solution: Reject tabstop value that overflows to zero.
26311Files: src/indent.c, src/testdir/test_vartabs.vim
26312
26313Patch 8.2.4299
26314Problem: SafeState autocommand interferes with debugging.
26315Solution: Do not trigger SafeState while debugging. (closes #9697)
26316Files: src/main.c
26317
26318Patch 8.2.4300 (after 8.2.4299)
26319Problem: Cannot build tiny version. (Tony Mechelynck)
26320Solution: Add #ifdef.
26321Files: src/main.c
26322
26323Patch 8.2.4301
26324Problem: Vim9: type error for copy of dict.
26325Solution: Do not use dict<any> but no type. (closes #9696)
26326Files: src/dict.c, src/testdir/test_vim9_builtin.vim
26327
26328Patch 8.2.4302
26329Problem: Vim9: return type of getline() is too strict.
26330Solution: Make the declared type list<any>. Also do this for other
26331 functions returning a list of a specific type.
26332Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
26333
26334Patch 8.2.4303
26335Problem: A few messages should not be translated.
26336Solution: Remove _(). (Dominique Pellé, closes #9702)
26337Files: src/syntax.c
26338
26339Patch 8.2.4304
26340Problem: Vim9: slice() makes a copy but doesn't change the type.
26341Solution: Change the declared type like copy(). (closes #9696)
26342Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
26343
26344Patch 8.2.4305
26345Problem: Tex filetype detection fails.
26346Solution: Check value to be positive. (closes #9704)
26347Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim
26348
26349Patch 8.2.4306
26350Problem: No test for fixed perl filetype check.
26351Solution: Add a test. Sort test functions.
26352Files: src/testdir/test_filetype.vim
26353
26354Patch 8.2.4307
26355Problem: A few more messages should not be translated.
26356Solution: Remove _().
26357Files: src/syntax.c
26358
26359Patch 8.2.4308
26360Problem: Vim9: cannot list autoload function.
26361Solution: Don't give an error for using # when listing a function.
26362 (closes #9703)
26363Files: src/userfunc.c, src/testdir/test_vim9_import.vim
26364
26365Patch 8.2.4309
26366Problem: Vim9: crash when using a partial in the wrong context.
26367Solution: Don't use an NULL outer pointer. (closes #9706)
26368Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
26369
26370Patch 8.2.4310
26371Problem: Vim9: constant list and dict get a declaration type other than
26372 "any".
26373Solution: A constant list and dict have a declared member type "any".
26374 (closes #9701)
26375Files: src/vim9instr.c, src/vim9type.c, src/proto/vim9type.pro,
26376 src/testdir/test_vim9_builtin.vim
26377
26378Patch 8.2.4311
26379Problem: Vim9: changing script variable type not caught at compile time.
26380Solution: Set the declared type.
26381Files: src/vim9instr.c, src/testdir/test_vim9_assign.vim
26382
26383Patch 8.2.4312
26384Problem: No error for using :vim9script in a :def function.
26385Solution: Give an error when compiling.
26386Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
26387
26388Patch 8.2.4313
26389Problem: Vim9: cannot change type of list after making a slice.
26390Solution: Adjust the declared member type. (closes #9696)
26391Files: src/vim9expr.c, src/testdir/test_vim9_builtin.vim
26392
26393Patch 8.2.4314 (after 8.2.4312)
26394Problem: Test fails where lines are skipped.
26395Solution: Only give an error when not skipping commands.
26396Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
26397
26398Patch 8.2.4315
26399Problem: Put in Visual mode not fully tested.
26400Solution: Add a few more test cases. (closes #9708)
26401Files: src/testdir/test_visual.vim
26402
26403Patch 8.2.4316
26404Problem: __CYGWIN32__ is not defined on 64 bit systems.
26405Solution: Update #ifdefs. (Ken Takata, closes #9709)
26406Files: src/main.c, src/os_unix.c, src/pty.c, src/vim.h
26407
26408Patch 8.2.4317
26409Problem: MS-Windows: Vim exits when Python 3 initialisation fails.
26410Solution: Hook into the exit() function to recover from the failure.
26411 (Ken Takata, closes #9710)
26412Files: runtime/doc/if_pyth.txt, src/if_python3.c, src/os_win32.c,
26413 src/errors.h, src/proto/os_win32.pro
26414
26415Patch 8.2.4318
26416Problem: Various comment and indent mistakes, returning wrong zero.
26417Solution: Fix the mistakes. Return NULL instead of FAIL.
26418Files: src/clientserver.c, src/eval.c, src/evalvars.c, src/vim9cmds.c,
26419 src/window.c
26420
26421Patch 8.2.4319
26422Problem: :put does not work properly in compiled function. (John Beckett)
26423Solution: Adjust the direction when using line zero.
26424Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
26425
26426Patch 8.2.4320
26427Problem: Athena and Motif: when maximized scrollbar position is wrong.
26428Solution: Implement the scrollbar padding functions. (closes #9712)
26429Files: src/gui_athena.c, src/gui_motif.c
26430
26431Patch 8.2.4321
26432Problem: Vim9: crash when using a funcref to a closure.
26433Solution: Copy pt_outer to the new partial. (closes #9714)
26434Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
26435
26436Patch 8.2.4322
26437Problem: Vim9: crash when using funcref with closure.
26438Solution: Keep a reference to the funcref that has the outer context.
26439 (closes #9716)
26440Files: src/evalfunc.c, src/structs.h, src/eval.c, src/vim9execute.c,
26441 src/testdir/test_vim9_func.vim
26442
26443Patch 8.2.4323
26444Problem: Vim9: nested function name can start with "_".
26445Solution: Use same rule for function name for nested functions.
26446 (closes #9713)
26447Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
26448
26449Patch 8.2.4324
26450Problem: Vim9: script-local function name can start with "_".
26451Solution: Check for leading capital after "s:". Correct error message.
26452Files: src/userfunc.c, src/errors.h, src/vim9compile.c,
26453 src/testdir/test_vim9_func.vim
26454
26455Patch 8.2.4325
26456Problem: 'wildmenu' only shows few matches.
26457Solution: Add the "pum" option: use a popup menu to show the matches.
26458 (Yegappan Lakshmanan et al., closes #9707)
26459Files: runtime/doc/options.txt, src/vim.h, src/cmdexpand.c,
26460 src/drawscreen.c, src/evalfunc.c, src/ex_getln.c, src/option.h,
26461 src/optionstr.c, src/popupmenu.c, src/proto/cmdexpand.pro,
26462 src/testdir/test_cmdline.vim,
26463 src/testdir/dumps/Test_wildmenu_pum_01.dump,
26464 src/testdir/dumps/Test_wildmenu_pum_02.dump,
26465 src/testdir/dumps/Test_wildmenu_pum_03.dump,
26466 src/testdir/dumps/Test_wildmenu_pum_04.dump,
26467 src/testdir/dumps/Test_wildmenu_pum_05.dump,
26468 src/testdir/dumps/Test_wildmenu_pum_06.dump,
26469 src/testdir/dumps/Test_wildmenu_pum_07.dump,
26470 src/testdir/dumps/Test_wildmenu_pum_08.dump,
26471 src/testdir/dumps/Test_wildmenu_pum_09.dump,
26472 src/testdir/dumps/Test_wildmenu_pum_10.dump,
26473 src/testdir/dumps/Test_wildmenu_pum_11.dump,
26474 src/testdir/dumps/Test_wildmenu_pum_12.dump,
26475 src/testdir/dumps/Test_wildmenu_pum_13.dump,
26476 src/testdir/dumps/Test_wildmenu_pum_14.dump,
26477 src/testdir/dumps/Test_wildmenu_pum_15.dump,
26478 src/testdir/dumps/Test_wildmenu_pum_16.dump,
26479 src/testdir/dumps/Test_wildmenu_pum_17.dump,
26480 src/testdir/dumps/Test_wildmenu_pum_18.dump,
26481 src/testdir/dumps/Test_wildmenu_pum_19.dump,
26482 src/testdir/dumps/Test_wildmenu_pum_20.dump,
26483 src/testdir/dumps/Test_wildmenu_pum_21.dump,
26484 src/testdir/dumps/Test_wildmenu_pum_22.dump,
26485 src/testdir/dumps/Test_wildmenu_pum_23.dump,
26486 src/testdir/dumps/Test_wildmenu_pum_24.dump,
26487 src/testdir/dumps/Test_wildmenu_pum_25.dump,
26488 src/testdir/dumps/Test_wildmenu_pum_26.dump,
26489 src/testdir/dumps/Test_wildmenu_pum_27.dump,
26490 src/testdir/dumps/Test_wildmenu_pum_28.dump,
26491 src/testdir/dumps/Test_wildmenu_pum_29.dump
26492
26493Patch 8.2.4326
26494Problem: "o" and "O" copying comment not sufficiently tested.
26495Solution: Add a test case. (closes #9718)
26496Files: src/testdir/test_textformat.vim
26497
26498Patch 8.2.4327
26499Problem: May end up with no current buffer.
26500Solution: When deleting the current buffer to not pick a quickfix buffer as
26501 the new current buffer.
26502Files: src/buffer.c, src/testdir/test_quickfix.vim
26503
26504Patch 8.2.4328
Bram Moolenaar1588bc82022-03-08 21:35:07 +000026505Problem: Command line complete matches cleared when typing character.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000026506 (Dominique Pellé)
26507Solution: Only remove a popup menu if there is one.
26508Files: src/ex_getln.c, src/testdir/test_cmdline.vim,
26509 src/testdir/dumps/Test_wildmenu_pum_30.dump,
26510 src/testdir/dumps/Test_wildmenu_pum_31.dump
26511
26512Patch 8.2.4329
26513Problem: No support for end line number and column in 'errorformat'.
26514Solution: Add %e and %k. (closes #9624)
26515Files: runtime/doc/quickfix.txt, src/quickfix.c,
26516 src/testdir/test_quickfix.vim
26517
26518Patch 8.2.4330
26519Problem: Vim9: no error if script imports itself.
26520Solution: Give an error when a script imports itself.
26521Files: src/vim9script.c, src/errors.h, src/testdir/test_vim9_import.vim
26522
26523Patch 8.2.4331
26524Problem: Vim9: no test for existing script variable in block.
26525Solution: Add a test.
26526Files: src/testdir/test_vim9_func.vim
26527
26528Patch 8.2.4332
26529Problem: Vim9: incomplete test for existing script variable in block.
26530Solution: Add a couple more tests. Fix uncovered problem.
26531Files: src/userfunc.c, src/vim9compile.c, src/proto/vim9compile.pro,
26532 src/vim9script.c, src/vim9expr.c, src/testdir/test_vim9_func.vim
26533
26534Patch 8.2.4333
26535Problem: cstack not always passed to where it is needed.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000026536Solution: Pass cstack through functions.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000026537Files: src/eval.c, src/vim9expr.c, src/vim9script.c,
26538 src/proto/vim9script.pro, src/vim9compile.c,
26539 src/proto/vim9compile.pro
26540
26541Patch 8.2.4334
26542Problem: Command line popup menu not positioned correctly.
26543Solution: Also use vim_strsize() on the existing text. (Naruhiko Nishino,
26544 closes #9727)
26545Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
26546 src/testdir/dumps/Test_wildmenu_pum_32.dump
26547
26548Patch 8.2.4335
26549Problem: No autocommand event triggered before changing directory. (Ronnie
26550 Magatti)
26551Solution: Add DirChangedPre. (closes #9721)
26552Files: runtime/doc/autocmd.txt, src/ex_docmd.c, src/proto/ex_docmd.pro,
26553 src/vim.h, src/autocmd.c, src/misc2.c,
26554 src/testdir/test_autocmd.vim
26555
26556Patch 8.2.4336
26557Problem: Using :filter for :scriptnames does not work. (Ben Jackson)
26558Solution: Call message_filtered(). (closes #9720)
26559Files: src/scriptfile.c, src/testdir/test_filter_cmd.vim
26560
26561Patch 8.2.4337
26562Problem: Part of condition is always true.
26563Solution: Remove that part of the condition. (closes #9729)
26564Files: src/filepath.c
26565
26566Patch 8.2.4338
26567Problem: An error from an expression mapping messes up the display.
26568Solution: When the expression results in an empty string return K_IGNORE.
26569 In cmdline mode redraw the command line. (closes #9726)
26570Files: src/getchar.c, src/testdir/test_mapping.vim,
26571 src/testdir/dumps/Test_map_expr_2.dump,
26572 src/testdir/dumps/Test_map_expr_3.dump,
26573 src/testdir/dumps/Test_map_expr_4.dump
26574
26575Patch 8.2.4339
26576Problem: CTRL-A does not work properly with the cmdline popup menu.
26577Solution: Fix issues with CTRL-A. Add more tests for the cmdline popup
26578 menu. Remove TermWait() before VeriryScreenDump(). Refactor the
26579 cmdline popup code. (Yegappan Lakshmanan, closes #9735)
26580Files: src/cmdexpand.c, src/ex_getln.c, src/popupmenu.c,
26581 src/testdir/screendump.vim, src/testdir/test_bufline.vim,
26582 src/testdir/test_cmdline.vim, src/testdir/test_conceal.vim,
26583 src/testdir/test_cursorline.vim, src/testdir/test_diffmode.vim,
26584 src/testdir/test_display.vim, src/testdir/test_highlight.vim,
26585 src/testdir/test_match.vim, src/testdir/test_popup.vim,
26586 src/testdir/test_search_stat.vim, src/testdir/test_terminal.vim,
26587 src/testdir/test_textprop.vim,
26588 src/testdir/dumps/Test_wildmenu_pum_33.dump,
26589 src/testdir/dumps/Test_wildmenu_pum_34.dump,
26590 src/testdir/dumps/Test_wildmenu_pum_35.dump,
26591 src/testdir/dumps/Test_wildmenu_pum_36.dump,
26592 src/testdir/dumps/Test_wildmenu_pum_37.dump
26593
26594Patch 8.2.4340
26595Problem: Amiga: mch_can_exe() is not implemented.
26596Solution: Implement mch_can_exe() for Amiga OS 4. (Ola Söder, closes #9731)
26597Files: src/os_amiga.c
26598
26599Patch 8.2.4341
26600Problem: Command line not redrawn when finishing popup menu and the screen
26601 has scrolled up.
26602Solution: Redraw the command line after updating the screen. (closes #9722)
26603Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
26604 src/testdir/dumps/Test_wildmenu_pum_38.dump
26605
26606Patch 8.2.4342
26607Problem: CI will soon switch to other windows version.
26608Solution: Use "windows-2019" instead of "windows-latest". (Ozaki Kiichi,
26609 closes #9740)
26610Files: .github/workflows/ci.yml
26611
26612Patch 8.2.4343
26613Problem: When reloading not all properties are detected.
26614Solution: Add the "edit" value to v:fcs_choice. (Rob Pilling, closes #9579)
26615Files: runtime/doc/editing.txt, runtime/doc/eval.txt, src/fileio.c,
26616 src/proto/fileio.pro, src/message.c, src/spellfile.c,
26617 src/testdir/test_filechanged.vim
26618
26619Patch 8.2.4344
26620Problem: Amiga: header file included twice.
26621Solution: Remove #include. (Ola Söder, closes #9733)
26622Files: src/memfile.c
26623
26624Patch 8.2.4345
26625Problem: <amatch> is expanded like a file name for DirChangedPre.
26626Solution: Do not expand <amatch>. (closes #9742) Also for the User event.
26627Files: src/autocmd.c, src/testdir/test_autocmd.vim
26628
26629Patch 8.2.4346
26630Problem: A custom statusline may cause Esc to work like Enter on the
26631 command line when the popup menu is displayed.
26632Solution: Save and restore KeyTyped. (closes #9749)
26633Files: src/drawscreen.c, src/testdir/test_cmdline.vim,
26634 src/testdir/dumps/Test_wildmenu_pum_39.dump
26635
26636Patch 8.2.4347
26637Problem: In some build setups UNUSED is not defined.
26638Solution: Change the logic of how UNUSED is defined. (Ola Söder,
26639 closes #9734)
26640Files: src/vim.h
26641
26642Patch 8.2.4348
26643Problem: "legacy exe cmd" does not do what one would expect.
26644Solution: Apply the "legacy" and "vim9script" command modifiers to the
26645 argument of ":execute".
26646Files: runtime/doc/vim9.txt, src/globals.h, src/eval.c, src/ex_docmd.c,
26647 src/testdir/test_vim9_cmd.vim
26648
26649Patch 8.2.4349
26650Problem: FileChangedShell test fails on MS-Windows.
26651Solution: Skip the test on MS-Windows.
26652Files: src/testdir/test_filechanged.vim
26653
26654Patch 8.2.4350
26655Problem: FEAT_GUI_ENABLED defined but never used.
26656Solution: Remove the #define. (Ola Söder, closes #9732)
26657Files: src/vim.h
26658
26659Patch 8.2.4351
26660Problem: No coverage is measured on MS-Windows CI.
26661Solution: Enable coverage on MS-Windows. (Ozaki Kiichi, closes #9750)
26662Files: .github/workflows/ci.yml
26663
26664Patch 8.2.4352
26665Problem: ReScript files are not recognized.
26666Solution: Add the *.res and *.resi patterns. (Ananda Umamil, closes #9752)
26667Files: runtime/filetype.vim, src/testdir/test_filetype.vim
26668
26669Patch 8.2.4353
26670Problem: CI does not use the latest Lua and Python.
26671Solution: Use Lua 5.4.2 and Python 3.10. (closes #9744)
26672Files: .github/workflows/ci.yml
26673
26674Patch 8.2.4354
26675Problem: Dynamic loading of libsodium not handled properly.
26676Solution: Fix has() and :version. Show an error message when loading fails.
26677 Fix memory leaks. (Ken Takata, closes #9754)
26678Files: src/crypt.c, src/evalfunc.c, src/gui_dwrite.cpp, src/if_cscope.c,
26679 src/os_win32.c, src/proto/crypt.pro, src/proto/os_win32.pro,
26680 src/version.c
26681
26682Patch 8.2.4355
26683Problem: Unnecessary call to check_colorcolumn().
26684Solution: Remove the call. (Sean Dewar, closes #9748)
26685Files: src/option.c, src/window.c
26686
26687Patch 8.2.4356
26688Problem: Command line completion functions are very long.
26689Solution: Refactor into multiple functions. (Yegappan Lakshmanan,
26690 closes #9753)
26691Files: src/cmdexpand.c
26692
26693Patch 8.2.4357 (after 8.2.4348)
26694Problem: sticky command modifiers are too sticky.
26695Solution: Do not apply command modifiers to a sourced script. (closes #9751)
26696Files: src/scriptfile.c, src/testdir/test_vim9_cmd.vim
26697
26698Patch 8.2.4358
26699Problem: Vim9: line number of exception is not set.
26700Solution: Set the line number before throwing an exception. (closes #9755)
26701Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
26702
26703Patch 8.2.4359
26704Problem: crash when repeatedly using :retab.
26705Solution: Bail out when the line is getting too long.
26706Files: src/indent.c, src/testdir/test_retab.vim
26707
26708Patch 8.2.4360
26709Problem: Vim9: allowing use of "s:" leads to inconsistencies.
26710Solution: Disallow using "s:" in Vim9 script at the script level.
26711Files: src/userfunc.c, src/proto/userfunc.pro, src/errors.h,
26712 src/vim9compile.c, src/eval.c, src/testdir/vim9.vim,
26713 src/testdir/test_vim9_assign.vim,
26714 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
26715 src/testdir/test_vim9_disassemble.vim,
26716 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
26717 src/testdir/test_vim9_import.vim, src/testdir/test_vim9_script.vim
26718
26719Patch 8.2.4361 (after 8.2.4360)
26720Problem: Vim9: some tests fail.
26721Solution: Fix the tests, mostly by removing "s:".
26722Files: src/testdir/test_expr.vim, src/testdir/test_functions.vim,
26723 src/testdir/test_ins_complete.vim, src/testdir/test_normal.vim,
26724 src/testdir/test_tagfunc.vim
26725
26726Patch 8.2.4362
26727Problem: :retab may allocate too much memory.
26728Solution: Bail out when allocating more than MAXCOL bytes.
26729Files: src/indent.c
26730
26731Patch 8.2.4363
26732Problem: MS-Windows: running out of memory for a very long line.
26733Solution: Use a 32 bit value for MAXCOL also when ints are 64 bits.
26734Files: src/vim.h
26735
26736Patch 8.2.4364
26737Problem: MS-Windows: still running out of memory for a very long line.
26738Solution: Check for negative length.
26739Files: src/indent.c
26740
26741Patch 8.2.4365 (after 8.2.4348)
26742Problem: sticky command modifiers are too sticky.
26743Solution: Do not apply command modifiers to a called function. (closes #9751)
26744Files: src/userfunc.c, src/testdir/test_vim9_cmd.vim
26745
26746Patch 8.2.4366
26747Problem: Not enough tests for command line completion.
26748Solution: Add a few more tests. (Yegappan Lakshmanan, closes #9760)
26749Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
26750 src/testdir/test_usercommands.vim
26751
26752Patch 8.2.4367
26753Problem: Calling in_vim9script() multiple times.
26754Solution: Call it once and keep the result.
26755Files: src/userfunc.c, src/eval.c
26756
26757Patch 8.2.4368
26758Problem: Amiga: a few compiler warnings.
26759Solution: Adjust #ifdefs. Add "UNUSED". (Ola Söder, closes #9756,
26760 closes #9757)
26761Files: src/term.c, src/os_amiga.c
26762
26763Patch 8.2.4369
26764Problem: Redundant #ifdef argument.
26765Solution: Remove unused MSWIN. (Ola Söder, closes #9758)
26766Files: src/feature.h
26767
26768Patch 8.2.4370
26769Problem: MS-Windows: libsodium.dll not included with the installer.
26770Solution: Add the file to the installer if it exists. (Christian Brabandt,
26771 closes #9762)
26772Files: nsis/gvim.nsi
26773
26774Patch 8.2.4371
26775Problem: Vim9: can create a script variable from a legacy function.
26776Solution: Disallow creating a script variable from a function.
26777Files: src/evalvars.c, src/errors.h, src/testdir/test_vim9_script.vim
26778
26779Patch 8.2.4372
26780Problem: Filetype detection from file contents is in legacy script.
26781Solution: Use a compiled function for filetype detection.
26782Files: runtime/scripts.vim, runtime/autoload/dist/script.vim
26783
26784Patch 8.2.4373
26785Problem: Expression test fails.
26786Solution: Make the test work with latest Vim9 syntax.
26787Files: src/testdir/test_expr.vim
26788
26789Patch 8.2.4374
26790Problem: Unreachable code.
26791Solution: Remove outdated code lines.
26792Files: src/vim9compile.c
26793
26794Patch 8.2.4375
26795Problem: ctx_imports is not used.
26796Solution: Delete ctx_imports. Add missing dependency.
26797Files: src/vim9.h, src/vim9compile.c, src/proto/vim9compile.pro,
26798 src/eval.c, src/evalfunc.c, src/evalvars.c, src/userfunc.c,
26799 src/vim9expr.c, src/vim9script.c, src/Makefile
26800
26801Patch 8.2.4376
26802Problem: Not enough tests for command line completion.
26803Solution: Add a few more tests. (Yegappan Lakshmanan, closes #9771)
26804Files: src/testdir/test_cmdline.vim, src/testdir/test_usercommands.vim
26805
26806Patch 8.2.4377
26807Problem: CI steps for Windows are a bit unorganized.
26808Solution: Organize CI test steps on Windows. (Ozaki Kiichi, closes #9764)
26809Files: .github/workflows/ci.yml
26810
26811Patch 8.2.4378
26812Problem: Incsearch highlight broken when calling searchcount() in 'tabLine'
26813 function. (Mirko Palmer)
26814Solution: Save and restore the incsearch state. (Christian Brabandt,
26815 closes #9763, closes #9633)
26816Files: src/search.c, src/testdir/test_search_stat.vim,
26817 src/testdir/dumps/Test_searchstat_inc_1.dump,
26818 src/testdir/dumps/Test_searchstat_inc_2.dump,
26819 src/testdir/dumps/Test_searchstat_inc_3.dump
26820
26821Patch 8.2.4379
26822Problem: An empty change is reported to a listener.
26823Solution: Do not report an empty change. (closes #9768) Remove unused
26824 return value.
26825Files: src/undo.c, src/change.c, src/testdir/test_listener.vim
26826
26827Patch 8.2.4380
26828Problem: Small differences between Chinese translation files.
26829Solution: Add rule for converting UTF-8 to gb2312. (closes #9773)
26830Files: src/po/Makefile, src/po/Make_all.mak
26831
26832Patch 8.2.4381 (after 8.2.4380)
26833Problem: Translation file listed twice.
26834Solution: Remove one entry.
26835Files: src/po/Make_all.mak
26836
26837Patch 8.2.4382 (after 8.2.4346)
26838Problem: A custom 'tabline' may cause Esc to work like Enter on the
26839 command line when the popup menu is displayed.
26840Solution: Save and restore KeyTyped. (closes #9776)
26841Files: src/drawscreen.c, src/screen.c, src/testdir/test_cmdline.vim,
26842 src/testdir/dumps/Test_wildmenu_pum_40.dump
26843
26844Patch 8.2.4383
26845Problem: Vim9: unused code lines.
26846Solution: Rely on either "cctx" or "cstack" to not be NULL.
26847Files: src/vim9compile.c
26848
26849Patch 8.2.4384
26850Problem: Vim9: error message not tested, some code not tested.
26851Solution: Add a couple of test cases. Give an error for a command modifier
26852 without a command.
26853Files: src/errors.h, src/vim9compile.c, src/ex_docmd.c,
26854 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_cmd.vim
26855
26856Patch 8.2.4385 (after 8.2.4384)
26857Problem: Cannot build tiny version.
26858Solution: Adjust #ifdefs.
26859Files: src/errors.h
26860
26861Patch 8.2.4386 (after 8.2.4384)
26862Problem: Still cannot build tiny version.
26863Solution: Adjust #ifdefs.
26864Files: src/ex_docmd.c
26865
26866Patch 8.2.4387
26867Problem: Command line completion doesn't always work properly.
26868Solution: Adjust triggering after a "|". Add more tests. (Yegappan
26869 Lakshmanan, closes #9779)
26870Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
26871
26872Patch 8.2.4388
26873Problem: Dead code in op_insert().
26874Solution: Remove condition and else block. (closes #9782)
26875Files: src/ops.c
26876
26877Patch 8.2.4389
26878Problem: screenpos() does not handle a position in a closed fold.
26879Solution: Check if the position is inside a closed fold. (closes #9778)
26880Files: src/move.c, src/testdir/test_cursor_func.vim
26881
26882Patch 8.2.4390
26883Problem: Vim9: list from declaration with inferred type does not set the
26884 type on the value.
26885Solution: When inferring the type in a variable declaration also set the
26886 type of the list or dictionary. (closes #9705) Do not set the
26887 type when the member is "any".
26888Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
26889 src/testdir/test_vim9_builtin.vim,
26890 src/testdir/test_vim9_disassemble.vim
26891
26892Patch 8.2.4391
26893Problem: Command line executed when typing Esc in the GUI.
26894Solution: Move saving/restoring KeyTyped to build_stl_str_hl().
26895 (closes #9783)
26896Files: src/buffer.c, src/screen.c
26897
26898Patch 8.2.4392 (after 8.2.4002)
26899Problem: MS-Windows with VIMDLL: Escaping CSI is wrong.
26900Solution: Put back #ifdef. (Ken Takata, closes #9769)
26901Files: src/getchar.c
26902
26903Patch 8.2.4393
26904Problem: Possible number overflow with nested folds.
26905Solution: Avoid a negative line number.
26906Files: src/fold.c
26907
26908Patch 8.2.4394 (after 8.2.4392)
26909Problem: UTF8 select mode test fails on MS-Windows.
26910Solution: Revert the #ifdef change.
26911Files: src/getchar.c
26912
26913Patch 8.2.4395
26914Problem: Some code lines not covered by tests.
26915Solution: Add a few more test cases. Fix getting more than one error for
26916 invalid assignment.
26917Files: src/evalvars.c, src/errors.h, src/vim9compile.c,
26918 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_cmd.vim,
26919 src/testdir/test_vim9_func.vim
26920
26921Patch 8.2.4396 (after 8.2.4395)
26922Problem: Python3 test fails.
26923Solution: Remove "let".
26924Files: src/testdir/test_vim9_func.vim
26925
26926Patch 8.2.4397
26927Problem: Crash when using many composing characters in error message.
26928Solution: Use mb_cptr2char_adv() instead of mb_ptr2char_adv().
26929Files: src/testing.c, src/testdir/test_assert.vim
26930
26931Patch 8.2.4398
26932Problem: Some command completion functions are too long.
26933Solution: Refactor code into separate functions. Add a few more tests.
26934 (Yegappan Lakshmanan, closes #9785)
26935Files: src/cmdexpand.c, src/ex_getln.c, src/usercmd.c,
26936 src/proto/usercmd.pro, src/testdir/test_cmdline.vim
26937
26938Patch 8.2.4399
26939Problem: Crash after ml_get error.
26940Solution: When returning "???" flush the line and set ml_line_lnum.
26941Files: src/memline.c
26942
26943Patch 8.2.4400 (after 8.2.4394)
26944Problem: MS-Windows: cannot use the mouse in the console with VIMDLL.
26945Solution: use add_char2buf() instead of fix_input_buffer(). (closes #9784,
26946 closes #9769)
26947Files: src/getchar.c
26948
26949Patch 8.2.4401
26950Problem: Map listing does not clear the rest of the command line.
26951Solution: Call msg_clear_eos(). (closes #5623, closes #5962)
26952Files: src/map.c, src/testdir/test_mapping.vim,
26953 src/testdir/dumps/Test_map_list_1.dump
26954
26955Patch 8.2.4402
26956Problem: Missing parenthesis may cause unexpected problems.
26957Solution: Add more parenthesis is macros. (closes #9788)
26958Files: src/autocmd.c, src/charset.c, src/drawline.c, src/drawscreen.c,
26959 src/evalfunc.c, src/fileio.c, src/fold.c, src/getchar.c,
26960 src/highlight.c, src/memline.c, src/normal.c, src/quickfix.c,
26961 src/regexp.c, src/search.c, src/sha256.c, src/spell.c,
26962 src/spellfile.c, src/spellsuggest.c, src/syntax.c, src/window.c
26963
26964Patch 8.2.4403
26965Problem: ml_get error with nested folds and deleting lines.
26966Solution: Correct the last line number before calling hasFoldingWin().
26967Files: src/change.c
26968
26969Patch 8.2.4404
26970Problem: Vim9: some code not covered by tests.
26971Solution: Add a few specific test cases.
26972Files: src/vim9execute.c, src/testdir/test_vim9_func.vim,
26973 src/testdir/test_vim9_import.vim
26974
26975Patch 8.2.4405
26976Problem: Compiler warning for unused variable without the +folding feature.
26977 (Tony Mechelynck)
26978Solution: Add #ifdef.
26979Files: src/change.c
26980
26981Patch 8.2.4406
26982Problem: Expand functions use confusing argument names.
26983Solution: Rename "file" to "match". Refactor some completion code. Add a
26984 few more tests. (Yegappan Lakshmanan, closes #9790)
26985Files: src/cmdexpand.c, src/testdir/test_usercommands.vim
26986
26987Patch 8.2.4407
26988Problem: Vim9: some code not covered by tests.
26989Solution: Add more tests. Avoid giving two errors. Remove dead code.
26990Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim,
26991 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_func.vim
26992
26993Patch 8.2.4408
26994Problem: Vim9: some code not covered by tests.
26995Solution: Add a few more tests. Correct error message. Allow unlet on dict
26996 with a number key.
26997Files: src/vim9execute.c, src/errors.h, src/testdir/test_vim9_assign.vim
26998
26999Patch 8.2.4409
27000Problem: Vim9: some code not covered by tests.
27001Solution: Add a few more tests. Fix reported line number.
27002Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
27003
27004Patch 8.2.4410
27005Problem: Vim9: some code not covered by tests.
27006Solution: Add a few more tests. Remove dead code.
27007Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim,
27008 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_expr.vim,
27009 src/testdir/test_vim9_script.vim
27010
27011Patch 8.2.4411
27012Problem: Bicep files are not recognized.
27013Solution: Match *.bicep files. (Dundar Goc, closes #9791)
27014Files: runtime/filetype.vim, src/testdir/test_filetype.vim
27015
27016Patch 8.2.4412
27017Problem: Translation cleanup script does not remove empty lines at end.
27018Solution: Remove empty lines at the end. (Ken Takata, closes #9794)
27019Files: src/po/cleanup.vim
27020
27021Patch 8.2.4413
27022Problem: Vim9: Coverity warns for using NULL pointer.
27023Solution: Give an internal error when funcref function can't be found.
27024Files: src/vim9execute.c
27025
27026Patch 8.2.4414
27027Problem: Solidity files are not recognized.
27028Solution: Add the *.sol pattern. (Dundar Goc, closes #9792)
27029Files: runtime/filetype.vim, src/testdir/test_filetype.vim
27030
27031Patch 8.2.4415
27032Problem: Function argument name conflicts with C++ keyword.
27033Solution: Rename the argument.
27034Files: src/usercmd.c, src/proto/usercmd.pro
27035
27036Patch 8.2.4416
27037Problem: Vim9: using a script-local function requires using "s:" when
27038 setting 'completefunc'.
27039Solution: Do not require "s:" in Vim9 script. (closes #9796)
27040Files: runtime/doc/options.txt, src/userfunc.c,
27041 src/testdir/test_ins_complete.vim
27042
27043Patch 8.2.4417 (after 8.2.4416)
27044Problem: Using NULL pointer.
27045Solution: Set offset after checking for NULL pointer.
27046Files: src/userfunc.c
27047
27048Patch 8.2.4418
27049Problem: Crash when using special multi-byte character.
27050Solution: Don't use isalpha() for an arbitrary character.
27051Files: src/charset.c, src/proto/charset.pro, src/filepath.c,
27052 src/testdir/test_autochdir.vim
27053
27054Patch 8.2.4419
27055Problem: Illegal memory access when using exactly 20 highlights.
27056Solution: Add one more item in the array. (Brandon Richardson,
27057 closes #9800)
27058Files: src/buffer.c, src/testdir/test_tabline.vim
27059
27060Patch 8.2.4420
27061Problem: Menu translations are inconsistent.
27062Solution: Add a Makefile to convert between encodings. (Ada (Haowen) Yu,
27063 closes #9801)
27064Files: runtime/lang/Makefile, runtime/lang/menu_af_af.latin1.vim,
27065 runtime/lang/menu_ca_es.latin1.vim,
27066 runtime/lang/menu_chinese_gb.936.vim,
27067 runtime/lang/menu_chinese_taiwan.950.vim,
27068 runtime/lang/menu_cs_cz.iso_8859-2.vim,
27069 runtime/lang/menu_cs_cz.utf-8.vim,
27070 runtime/lang/menu_czech_czech_republic.1250.vim,
27071 runtime/lang/menu_czech_czech_republic.ascii.vim,
27072 runtime/lang/menu_da.utf-8.vim,
27073 runtime/lang/menu_de_de.latin1.vim,
27074 runtime/lang/menu_eo.utf-8.vim,
27075 runtime/lang/menu_es_es.latin1.vim,
27076 runtime/lang/menu_fi_fi.latin1.vim,
27077 runtime/lang/menu_fr_fr.latin1.vim,
27078 runtime/lang/menu_hu_hu.iso_8859-2.vim,
27079 runtime/lang/menu_hu_hu.utf-8.vim,
27080 runtime/lang/menu_is_is.latin1.vim,
27081 runtime/lang/menu_it_it.latin1.vim,
27082 runtime/lang/menu_ja_jp.euc-jp.vim,
27083 runtime/lang/menu_ja_jp.utf-8.vim,
27084 runtime/lang/menu_japanese_japan.932.vim,
27085 runtime/lang/menu_ko_kr.euckr.vim,
27086 runtime/lang/menu_ko_kr.utf-8.vim,
27087 runtime/lang/menu_nl_nl.latin1.vim,
27088 runtime/lang/menu_no_no.latin1.vim,
27089 runtime/lang/menu_pl_pl.iso_8859-2.vim,
27090 runtime/lang/menu_pl_pl.utf-8.vim,
27091 runtime/lang/menu_polish_poland.1250.vim,
27092 runtime/lang/menu_pt_br.vim, runtime/lang/menu_pt_pt.vim,
27093 runtime/lang/menu_ru.utf-8.vim,
27094 runtime/lang/menu_ru_ru.koi8-r.vim,
27095 runtime/lang/menu_ru_ru.utf-8.vim, runtime/lang/menu_ru_ru.vim,
27096 runtime/lang/menu_sk_sk.iso_8859-2.vim,
27097 runtime/lang/menu_sl_si.cp1250.vim,
27098 runtime/lang/menu_sl_si.latin2.vim,
27099 runtime/lang/menu_sl_si.utf-8.vim,
27100 runtime/lang/menu_slovak_slovak_republic.1250.vim,
27101 runtime/lang/menu_sr_rs.ascii.vim,
27102 runtime/lang/menu_sr_rs.iso_8859-2.vim,
27103 runtime/lang/menu_sr_rs.iso_8859-5.vim,
27104 runtime/lang/menu_sr_rs.utf-8.vim,
27105 runtime/lang/menu_sv_se.latin1.vim,
27106 runtime/lang/menu_tr_tr.cp1254.vim,
27107 runtime/lang/menu_tr_tr.iso_8859-9.vim,
27108 runtime/lang/menu_tr_tr.utf-8.vim,
27109 runtime/lang/menu_uk_ua.cp1251.vim,
27110 runtime/lang/menu_uk_ua.koi8-u.vim,
27111 runtime/lang/menu_uk_ua.utf-8.vim, runtime/lang/menu_vi_vn.vim,
27112 runtime/lang/menu_zh_cn.utf-8.vim,
27113 runtime/lang/menu_zh_tw.utf-8.vim
27114
27115Patch 8.2.4421
27116Problem: Some installed files and directories have wrong permissions.
27117Solution: Adjust the Makefile and shell to set permissions. (closes #9793)
27118Files: src/Makefile, src/installman.sh
27119
27120Patch 8.2.4422
27121Problem: Autochdir test fails on MS-Windows.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000027122Solution: Expect another error on MS-Windows.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000027123Files: src/testdir/test_autochdir.vim
27124
27125Patch 8.2.4423
27126Problem: "make nvcmdidxs" fails.
27127Solution: Use "-S" instead of "-u" to source the script.
27128Files: src/Makefile
27129
27130Patch 8.2.4424
27131Problem: ".gts" and ".gjs" files are not recognized.
27132Solution: Recognize Glimmer flavored typescript and javascript.
27133 (closes #9799)
27134Files: runtime/filetype.vim, src/testdir/test_filetype.vim
27135
27136Patch 8.2.4425
27137Problem: map() function does not check function arguments at compile time.
27138Solution: Give an error if the arguments of a map() function are wrong.
27139Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim,
27140 src/testdir/test_vim9_func.vim
27141
27142Patch 8.2.4426
27143Problem: map() function on string and blob does not check argument types at
27144 compile time.
27145Solution: Check string and blob argument types. Support "0z1234->func()".
27146Files: src/vim9compile.c, src/evalfunc.c, src/ex_docmd.c,
27147 src/testdir/test_vim9_builtin.vim
27148
27149Patch 8.2.4427
27150Problem: getchar() may return modifiers if no character is available.
27151Solution: Do not process modifiers when there is no character. (closes #9806)
27152Files: src/getchar.c, src/testdir/test_functions.vim
27153
27154Patch 8.2.4428
27155Problem: Crash when switching tabpage while in the cmdline window.
27156Solution: Disallow switching tabpage when in the cmdline window.
27157Files: src/window.c, src/proto/window.pro, src/evalvars.c,
27158 src/evalvars.c, src/usercmd.c
27159
27160Patch 8.2.4429
27161Problem: Using script-local function from the wrong script when using a
27162 partial. (Yegappan Lakshmanan)
27163Solution: Include the script ID in the partial name.
27164Files: src/userfunc.c, src/proto/userfunc.pro, src/evalfunc.c,
27165 src/vim9type.c, src/testdir/test_vim9_import.vim
27166
Bram Moolenaard799daa2022-06-20 11:17:32 +010027167Patch 8.2.4430
27168Problem: GTK: crash when using 'guiligatures' and reading from stdin.
27169Solution: Make a copy of the message. (Amon Sha, closes #9719, closes #9814)
27170Files: src/fileio.c
27171
27172Patch 8.2.4431
27173Problem: Unnecessary condition when assigning to a variable.
27174Solution: Remove the condition.
27175Files: src/evalvars.c
27176
27177Patch 8.2.4432 (after 8.2.4428)
27178Problem: Cannot use settabvar() while the cmdline window is open.
27179Solution: Only give an error when actually switching tabpage.
27180 (closes #9813)
27181Files: src/window.c
27182
27183Patch 8.2.4433
27184Problem: CI: cannot see interface versions for MS-Windows.
27185Solution: List the interface versions. (Ken Takata, closes #9811)
27186Files: .github/workflows/ci.yml
27187
27188Patch 8.2.4434
27189Problem: Duplicate check for cmdline window.
27190Solution: Remove the second check. (Sean Dewar, closes #9816)
27191Files: src/window.c
27192
27193Patch 8.2.4435
27194Problem: Dead code in checking map() arguments. (Dominique Pellé)
27195Solution: Remove the first return statement. (closes #9815)
27196Files: src/evalfunc.c
27197
27198Patch 8.2.4436
27199Problem: Crash with weird 'vartabstop' value.
27200Solution: Check for running into the end of the line.
27201Files: src/indent.c, src/testdir/test_vartabs.vim
27202
27203Patch 8.2.4437
27204Problem: Vartabs test fails on MS-Windows.
27205Solution: Use iso8859-1 'encoding'. (Ken Takata, closes #9818)
27206Files: src/testdir/test_vartabs.vim
27207
27208Patch 8.2.4438
27209Problem: Crash on exit when using cmdline window.
27210Solution: Reset "cmdwin_type" before exiting. (closes #9817)
27211Files: src/ui.c, src/testdir/test_exit.vim
27212
27213Patch 8.2.4439
27214Problem: Accepting "iso8859" 'encoding' as "iso-8859-".
27215Solution: use "iso8859" as "iso-8859-1".
27216Files: src/mbyte.c, src/testdir/test_options.vim
27217
27218Patch 8.2.4440
27219Problem: Crash with specific regexp pattern and string.
27220Solution: Stop at the start of the string.
27221Files: src/regexp_bt.c, src/testdir/test_regexp_utf8.vim
27222
27223Patch 8.2.4441
27224Problem: Vim9: function argument of filter() not checked like map().
27225Solution: Also check the function argument of filter().
27226Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
27227
27228Patch 8.2.4442 (after 8.2.4438)
27229Problem: Test for error reading input fails on MS-Windows.
27230Solution: Don't run the test on MS-Windows.
27231Files: src/testdir/test_exit.vim
27232
27233Patch 8.2.4443 (after 8.2.4440)
27234Problem: Regexp pattern test fails on Mac.
27235Solution: Do not use a swapfile for the buffer.
27236Files: src/testdir/test_regexp_utf8.vim
27237
27238Patch 8.2.4444
27239Problem: Beep caused by test. ASAN reports leaks.
27240Solution: Do not put a NL at the end of the script. Make the text work on
27241 MS-Windows. Do not run the test with ASAN.
27242Files: src/testdir/test_exit.vim
27243
27244Patch 8.2.4445
27245Problem: Exit test fails on MS-Windows anyway.
27246Solution: Skip the test on MS-Windows.
27247Files: src/testdir/test_exit.vim
27248
27249Patch 8.2.4446
27250Problem: Vim9: cannot refer to a global function like a local one.
27251Solution: When g:name is not a variable but a function, use a function
27252 reference. (closes #9826)
27253Files: src/vim9execute.c, src/testdir/test_vim9_builtin.vim
27254
27255Patch 8.2.4447
27256Problem: Vim9: can still use s:var in a compiled function.
27257Solution: Disallow using s:var for Vim9 script. (closes #9824)
27258Files: runtime/doc/vim9.txt, src/vim9expr.c, src/vim9compile.c,
27259 src/testdir/test_vim9_assign.vim
27260
27261Patch 8.2.4448 (after 8.2.4447)
27262Problem: Filetype detection is failing.
27263Solution: Do not use "s:" where it is no longer allowed.
27264Files: runtime/autoload/dist/ft.vim,
27265
27266Patch 8.2.4449
27267Problem: vim9: function argument of sort() not checked at compile time.
27268Solution: Add a compile time check.
27269Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
27270
27271Patch 8.2.4450 (after 8.2.4449)
27272Problem: List sort test fails.
27273Solution: Pass a valid "how" argument.
27274Files: src/testdir/test_listdict.vim
27275
27276Patch 8.2.4451 (after 8.2.4450)
27277Problem: sort() fails when ignoring case.
27278Solution: Accept a number one argument in sort().
27279Files: src/evalfunc.c, src/testdir/test_listdict.vim
27280
27281Patch 8.2.4452
27282Problem: Test for what 8.2.4436 fixes does not check for regression.
27283Solution: Set several options. (Ken Takata, closes #9830)
27284Files: src/testdir/test_vartabs.vim
27285
27286Patch 8.2.4453
27287Problem: :helpgrep may free an option that was not allocated. (Yegappan
27288 Lakshmanan)
27289Solution: Check if the value was allocated.
27290Files: src/option.c, src/proto/option.pro, src/quickfix.c,
27291 src/testdir/test_quickfix.vim
27292
27293Patch 8.2.4454
27294Problem: Resetting cmdwin_type only for one situation.
27295Solution: Reset cmdwin_type before closing windows. (closes #9822)
27296Files: src/ui.c, src/window.c, src/testdir/test_exit.vim
27297
27298Patch 8.2.4455
27299Problem: Accepting one and zero for the second sort() argument is strange.
27300Solution: Disallow using one and zero in Vim9 script.
27301Files: runtime/doc/builtin.txt, src/evalfunc.c, src/list.c,
27302 src/testdir/test_listdict.vim
27303
27304Patch 8.2.4456
27305Problem: Terminal test may fail on some machines.
27306Solution: Increase wait time. (Zdenek Dohnal, closes #9834)
27307Files: src/testdir/test_terminal.vim
27308
27309Patch 8.2.4457
27310Problem: The GPM library can only be linked statically.
27311Solution: Make it possible to load the GPM library dynamically. (Damien)
27312Files: runtime/doc/various.txt, src/config.h.in, src/configure.ac,
27313 src/Makefile, src/evalfunc.c, src/feature.h, src/os_unix.c,
27314 src/proto/os_unix.pro, src/version.c
27315
27316Patch 8.2.4458
27317Problem: Vim9: compiling filter() call fails with funcref that has unknown
27318 arguments.
27319Solution: Do not check the arguments if they are unknown at compile time.
27320 (closes #9835)
27321Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
27322
27323Patch 8.2.4459
27324Problem: Vim9: compiling sort() call fails with a funcref that has unknown
27325 arguments.
27326Solution: Do not check the arguments if they are unknown at compile time.
27327 (closes #9835)
27328Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
27329
27330Patch 8.2.4460
27331Problem: Vim9: wrong error for defining dict function.
27332Solution: Explicitly check for trying to define a dict function.
27333 (closes 9827)
27334Files: src/errors.h, src/userfunc.c, src/vim9compile.c,
27335 src/testdir/test_vim9_func.vim
27336
27337Patch 8.2.4461
27338Problem: MS-Windows: garbage characters on stdout with VIMDLL.
27339Solution: Don't call gui_focus_change() when about to quit. (Ken Takata,
27340 closes #9840)
27341Files: src/gui_w32.c
27342
27343Patch 8.2.4462
27344Problem: Not enough testing for quickfix code.
27345Solution: Add more tests. Fix uncovered problem. (Yegappan Lakshmanan,
27346 closes #9839)
27347Files: src/quickfix.c, src/window.c, src/testdir/test_makeencoding.vim,
27348 src/testdir/test_quickfix.vim
27349
27350Patch 8.2.4463
27351Problem: Completion only uses strict matching.
27352Solution: Add the "fuzzy" item for 'wildoptions'. (Yegappan Lakshmanan,
27353 closes #9803)
27354Files: runtime/doc/options.txt, src/buffer.c, src/cmdexpand.c,
27355 src/option.c, src/option.h, src/optionstr.c,
27356 src/proto/cmdexpand.pro, src/proto/option.pro,
27357 src/proto/search.pro, src/search.c, src/structs.h,
27358 src/testdir/gen_opt_test.vim, src/testdir/test_cmdline.vim
27359
27360Patch 8.2.4464
27361Problem: Dtrace files are recognized as filetype D.
27362Solution: Add a pattern for Dtrace files. (Teubel György, closes #9841)
27363 Add some more testing.
27364Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
27365 src/testdir/test_filetype.vim
27366
27367Patch 8.2.4465
27368Problem: Fuzzy completion does not order matches properly.
27369Solution: Do not use regular expression match. (Yegappan Lakshmanan,
27370 closes #9843)
27371Files: src/cmdexpand.c, src/search.c, src/testdir/test_cmdline.vim
27372
27373Patch 8.2.4466
27374Problem: MS-Windows: illegal memory access in installer when using
27375 "create-directories" as the final argument.
27376Solution: Check the argument count. (Cam Sinclair, closes #9844)
27377Files: src/dosinst.c
27378
27379Patch 8.2.4467
27380Problem: Running filetype test leaves file behind.
27381Solution: Delete the file.
27382Files: src/testdir/test_filetype.vim
27383
27384Patch 8.2.4468
27385Problem: Coverity warns for uninitialized struct member.
27386Solution: Set color.index to zero.
27387Files: src/terminal.c
27388
27389Patch 8.2.4469
27390Problem: Coverity warns for uninitialized variable.
27391Solution: Set the value to zero.
27392Files: src/ex_getln.c
27393
27394Patch 8.2.4470
27395Problem: Coverity warns for uninitialized variable.
27396Solution: Set can_spell to zero.
27397Files: src/drawline.c
27398
27399Patch 8.2.4471
27400Problem: Coverity warns for uninitialized variable.
27401Solution: Set flags to zero.
27402Files: src/vim9cmds.c
27403
27404Patch 8.2.4472
27405Problem: Coverity warns for use of a freed function name.
27406Solution: Only check an autoload name when is prefixed.
27407Files: src/userfunc.c
27408
27409Patch 8.2.4473
27410Problem: Coverity warnds for not checking return value of ftell().
27411Solution: Bail out if ftell() returns a negative value.
27412Files: src/spellfile.c
27413
27414Patch 8.2.4474
27415Problem: Memory allocation failures not tested in quickfix code.
27416Solution: Add alloc IDs and tests. (Yegappan Lakshmanan, closes #9848)
27417Files: src/alloc.h, src/quickfix.c, src/vim.h,
27418 src/testdir/test_quickfix.vim
27419
27420Patch 8.2.4475
27421Problem: Fuzzy cmdline completion does not work for lower case.
27422Solution: Also use fuzzy completion for lower case input. (Yegappan
27423 Lakshmanan, closes #9849)
27424Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
27425
27426Patch 8.2.4476
27427Problem: Operator name spelled wrong.
27428Solution: Change trinary to ternary. (Goc Dundar, closes #9850)
27429Files: src/testdir/test_expr.vim, src/testdir/test_vim9_expr.vim,
27430 src/testdir/test_vimscript.vim
27431
27432Patch 8.2.4477
27433Problem: Crash when using fuzzy completion.
27434Solution: Temporary fix: put back regexp. (closes #9851)
27435Files: src/cmdexpand.c
27436
27437Patch 8.2.4478
27438Problem: Crash when using fuzzy completion.
27439Solution: Temporary fix: put back regexp. (closes #9852, closes #9851)
27440Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
27441
27442Patch 8.2.4479
27443Problem: No fuzzy completieon for maps and abbreviations.
27444Solution: Fuzzy complete maps and abbreviations. (Yegappan Lakshmanan,
27445 closes #9856)
27446Files: src/cmdexpand.c, src/map.c, src/proto/map.pro, src/search.c,
27447 src/testdir/test_cmdline.vim
27448
27449Patch 8.2.4480
27450Problem: Suspending with CTRL-Z does not work on Android.
27451Solution: Do not handle SIGTSTP. (closes #9854)
27452Files: src/os_unix.c
27453
27454Patch 8.2.4481
27455Problem: Cmdline popup menu not removed when 'lazyredraw' is set.
27456Solution: Temporarily reset 'lazyredraw' when removing the popup menu.
27457 (closes #9857)
27458Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
27459 src/testdir/dumps/Test_wildmenu_pum_41.dump
27460
27461Patch 8.2.4482
27462Problem: No fuzzy cmdline completion for user defined completion.
27463Solution: Add fuzzy completion for user defined completion. (Yegappan
27464 Lakshmanan, closes #9858)
27465Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
27466
27467Patch 8.2.4483
27468Problem: Command completion makes two rounds to collect matches.
27469Solution: Use a growarray to collect matches. (Yegappan Lakshmanan,
27470 closes #9860)
27471Files: src/buffer.c, src/cmdexpand.c, src/map.c,
27472 src/testdir/test_cmdline.vim
27473
27474Patch 8.2.4484
27475Problem: Vim9: some error messages are not tested.
27476Solution: Add a few more test cases. Delete dead code.
27477Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim,
27478 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim
27479
27480Patch 8.2.4485
27481Problem: Compiler warning for uninitialized variable.
27482Solution: Initialize the variable. (John Marriott)
27483Files: src/cmdexpand.c
27484
27485Patch 8.2.4486
27486Problem: MS-Windows GUI: slow scrolling with maximized window.
27487Solution: Use a better way to check the window is on screen. (Ken Takata,
27488 closes #9865)
27489Files: src/gui_w32.c
27490
27491Patch 8.2.4487
27492Problem: Vim9: cannot compare with v:null.
27493Solution: Allow comparing anything with v:null. (closes #9866)
27494Files: src/vim9instr.c, src/typval.c, src/proto/typval.pro,
27495 src/vim9.h, src/vim9execute.c, src/evalvars.c,
27496 src/testdir/test_vim9_expr.vim,
27497 src/testdir/test_vim9_disassemble.vim
27498
27499Patch 8.2.4488 (after 8.2.4487)
27500Problem: Build error with +eval but without +channel or +job.
27501Solution: Add #ifdef. (John Marriott)
27502Files: src/typval.c
27503
27504Patch 8.2.4489 (after 8.2.4487)
27505Problem: Failing test for comparing v:null with number.
27506Solution: Allow comparing v:null with number in legacy script.
27507 (Ken Takata, closes #9873) Also do this for float.
27508Files: src/typval.c, src/testdir/test_vimscript.vim
27509
27510Patch 8.2.4490
27511Problem: Terminal focus reporting only works for xterm-like terminals.
27512 (Jonathan Rascher)
27513Solution: Remove the "focus_mode" flag. (closes #9859)
27514Files: src/term.c
27515
27516Patch 8.2.4491
27517Problem: MS-Windows makefile dependencies are outdated.
27518Solution: Update dependencies. (Ken Takata, closes #9876)
27519Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
27520
27521Patch 8.2.4492
27522Problem: No error if an option is given an invalid value with
27523 ":let &opt = val".
27524Solution: Give the error. (closes #9864)
27525Files: src/evalvars.c, src/testdir/test_options.vim
27526
27527Patch 8.2.4493 (after 8.2.4492)
27528Problem: Options test fails in the GUI.
27529Solution: Do not save and restore 'term'.
27530Files: src/testdir/gen_opt_test.vim
27531
27532Patch 8.2.4494
27533Problem: The find_tags() function is much too long.
27534Solution: Refactor the function. (Yegappan Lakshmanan, closes #9869)
27535Files: src/quickfix.c, src/tag.c, src/testdir/test_tagjump.vim
27536
27537Patch 8.2.4495
27538Problem: Help test fails in 24 line terminal.
27539Solution: Use up to 23 lines for text.
27540Files: src/testdir/test_help.vim
27541
27542Patch 8.2.4496 (after 8.2.4494)
27543Problem: Coverity gives warnings after tags code refactoring.
27544Solution: Avoid the warnings. (Yegappan Lakshmanan, closes #9882)
27545Files: src/tag.c
27546
27547Patch 8.2.4497
27548Problem: Wrong color for half of wide character next to pum scrollbar.
27549Solution: Redraw the screen cell with the right color. (closes #9874)
27550Files: src/screen.c, src/testdir/test_ins_complete.vim,
27551 src/testdir/dumps/Test_scrollbar_on_wide_char.dump
27552
27553Patch 8.2.4498
27554Problem: Using <Plug> with "noremap" does not work.
27555Solution: Always remap <Plug>. (closes #9879, closes #9789)
27556Files: runtime/doc/map.txt, src/getchar.c, src/testdir/test_mapping.vim
27557
27558Patch 8.2.4499
27559Problem: Vim9: at the script level declarations leak from try block to
27560 catch and finally block.
27561Solution: End the block and start a new one. (closes #9883)
27562Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
27563
27564Patch 8.2.4500
27565Problem: Vim9: can declare a global variable on the command line.
27566Solution: Disallow declaring a variable on the command line. (closes #9881)
27567Files: src/errors.h, src/evalvars.c, src/testdir/test_vim9_assign.vim,
27568 src/testdir/test_vim9_script.vim,
27569 src/testdir/dumps/Test_vim9_reject_declaration.dump
27570
27571Patch 8.2.4501
27572Problem: With 'showbreak' set and after the end of the line the cursor
27573 may be displayed in the wrong position.
27574Solution: Do not apply 'showbreak' after the end of the line. (closes #9884)
27575Files: src/charset.c, src/testdir/test_breakindent.vim,
27576 src/testdir/dumps/Test_cursor_position_with_showbreak.dump
27577
27578Patch 8.2.4502
27579Problem: In the GUI a modifier is not recognized for the key typed after
27580 CTRL-X, which may result in a mapping to be used. (Daniel
27581 Steinberg)
27582Solution: Recognize a modifier starting with CSI. (closes #9889)
27583Files: src/getchar.c, src/testdir/test_ins_complete.vim
27584
27585Patch 8.2.4503
27586Problem: Vim9: there is no point in supporting :Print and :mode.
27587Solution: Do not recognize :Print and :mode as commands. (closes #9870)
27588Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
27589
27590Patch 8.2.4504
27591Problem: When there is a partially matching map and modifyOtherKeys is
27592 active a full map may not work.
27593Solution: Only simplify modifiers when there is no matching mapping.
27594 (closes #8792)
27595Files: src/getchar.c, src/testdir/test_termcodes.vim
27596
27597Patch 8.2.4505
27598Problem: Vim9: outdated "autocmd nested" still works.
27599Solution: Do not accept the :autocmd argument "nested" without "++" in Vim9
27600 script.
27601Files: src/autocmd.c, src/errors.h, src/testdir/test_autocmd.vim
27602
27603Patch 8.2.4506
27604Problem: "pattern not found" for :global is not an error message.
27605Solution: In Vim9 script make this an actual error, so that try/catch can be
27606 used as expected.
27607Files: src/ex_cmds.c, src/errors.h, src/testdir/test_global.vim
27608
27609Patch 8.2.4507 (after 8.2.4506)
27610Problem: Test fails because of new error message.
27611Solution: Avoid the test fails.
27612Files: src/testdir/test_vim9_cmd.vim
27613
27614Patch 8.2.4508
27615Problem: Vim9: cannot assign to a global variable on the command line.
27616Solution: Allow using :vim9cmd for assignment on the command line.
27617Files: src/evalvars.c, src/testdir/test_vim9_script.vim,
27618 src/testdir/dumps/Test_vim9_reject_declaration.dump,
27619 src/testdir/dumps/Test_vim9_reject_declaration_1.dump,
27620 src/testdir/dumps/Test_vim9_reject_declaration_2.dump
27621
27622Patch 8.2.4509
27623Problem: Vim9: can declare a variable with ":va".
27624Solution: Disallow using ":va", require using ":var".
27625Files: src/evalvars.c, src/errors.h, src/vim9compile.c,
27626 src/testdir/test_vim9_assign.vim
27627
27628Patch 8.2.4510
27629Problem: Vim9: shortening commands leads to confusing script.
27630Solution: In Vim9 script require at least ":cont" for ":continue", "const"
27631 instead of "cons", "break" instead of "brea", "catch" instead of
27632 "cat", "else" instead of "el" "elseif" instead of "elsei" "endfor"
27633 instead of "endfo" "endif" instead of "en" "endtry" instead of
27634 "endt", "finally" instead of "fina", "throw" instead of "th",
27635 "while" instead of "wh".
27636Files: src/ex_cmds.h, src/ex_docmd.c, src/errors.h, src/evalvars.c,
27637 src/vim9compile.c, src/testdir/test_vim9_script.vim
27638
27639Patch 8.2.4511
27640Problem: Filetype test fails.
27641Solution: Change "endw" to "endwhile".
27642Files: runtime/autoload/dist/ft.vim
27643
27644Patch 8.2.4512
27645Problem: The find_tags_in_file() function is much too long.
27646Solution: Refactor into multiple smaller functions. (Yegappan Lakshmanan,
27647 closes #9892)
27648Files: Filelist, src/Makefile, src/quickfix.c, src/tag.c,
27649 src/testdir/test83-tags2, src/testdir/test83-tags3,
27650 src/testdir/test_tagjump.vim
27651
27652Patch 8.2.4513
27653Problem: Window-local directory is not applied if 'acd' fails.
27654Solution: Don't call do_autochdir(). (closes #9891)
27655Files: src/window.c, src/testdir/test_autochdir.vim
27656
27657Patch 8.2.4514
27658Problem: Vim9: some flow commands can be shortened.
27659Solution: Also require using the full name for ":return", ":enddef",
27660 ":continue", ":export" and ":import".
27661Files: src/ex_cmds.h, src/ex_docmd.c, src/errors.h, src/userfunc.c,
27662 src/testdir/test_vim9_script.vim
27663
27664Patch 8.2.4515
27665Problem: Old subsitute syntax is still supported.
27666Solution: Disallow using backslash after ":s" in Vim9 script.
27667Files: src/ex_cmds.c, src/errors.h, src/testdir/test_substitute.vim
27668
27669Patch 8.2.4516 (after 8.2.4515)
27670Problem: Build failure without the +eval feature.
27671Solution: Move error message outside of #ifdef.
27672Files: src/errors.h
27673
27674Patch 8.2.4517
27675Problem: MS-Windows: cannot specify location of sodium library.
27676Solution: Allow for using a path for SODIUM. (Ken Takata, closes #9896)
27677Files: src/Make_cyg_ming.mak
27678
27679Patch 8.2.4518
27680Problem: The binary tag search feature is always enabled.
27681Solution: Remove the #ifdefs. Add a few more tests. (Yegappan Lakshmanan,
27682 closes #9893)
27683Files: src/evalfunc.c, src/feature.h, src/tag.c, src/version.c,
27684 src/testdir/test_tagjump.vim, src/testdir/test_taglist.vim
27685
27686Patch 8.2.4519
27687Problem: Vim9: Can still use ":fini" and ":finis" for ":finish".
27688Solution: Require using ":finish".
27689Files: src/ex_cmds.h, src/testdir/test_vim9_script.vim
27690
27691Patch 8.2.4520
27692Problem: Using wrong highlight for cursor line number.
27693Solution: Take filler lines into account when using CursorLineNr.
27694 (closes #9897)
27695Files: src/drawline.c, src/testdir/test_diffmode.vim,
27696 src/testdir/dumps/Test_diff_with_cursorline_number_01.dump,
27697 src/testdir/dumps/Test_diff_with_cursorline_number_02.dump
27698
27699Patch 8.2.4521 (after 8.2.4520)
27700Problem: Build failure without the +diff feature. (John Marriott)
27701Solution: Define filler+lines if not declaring it.
27702Files: src/drawline.c
27703
27704Patch 8.2.4522 (after 8.2.4492)
27705Problem: GUI test fails with Motif. (Dominique Pellé)
27706Solution: Remove using an invalid value for 'guifontset'.
27707Files: src/testdir/test_gui.vim
27708
27709Patch 8.2.4523
27710Problem: When gvim is started maximized the 'window' option isn't set
27711 properly. (Christian J. Robinson)
27712Solution: Check if 'windows' was already set or not. (Ken Takata,
27713 closes #9904)
27714Files: src/term.c
27715
27716Patch 8.2.4524
27717Problem: MS-Windows: cannot build with some sodium libraries.
27718Solution: Make the DLL name configuragle. Add build instructions.
27719 (Ken Takata, closes #9905)
27720Files: src/INSTALLpc.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak,
27721 src/crypt.c
27722
27723Patch 8.2.4525
27724Problem: Some GUI tests don't work on Athena.
27725Solution: Skip tests that won't work. (Yegappan Lakshmanan, closes #9902)
27726Files: src/testdir/test_gui.vim
27727
27728Patch 8.2.4526
27729Problem: Vim9: cannot set variables to a null value.
27730Solution: Add null_list, null_job, etc.
27731Files: runtime/doc/vim9.txt, src/eval.c, src/proto/eval.pro,
27732 src/vim9expr.c, src/vim9script.c, src/vim9instr.c,
27733 src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/vim9type.c,
27734 src/evalvars.c, src/testdir/test_vim9_assign.vim,
27735 src/testdir/test_vim9_disassemble.vim,
27736 src/testdir/test_vim9_func.vim, src/testdir/test_expr.vim
27737
27738Patch 8.2.4527
27739Problem: The Athena GUI is old and does not work well.
27740Solution: Remove the Athena GUI from configure to find out who still wants
27741 support for this GUI.
27742Files: src/configure.ac, src/auto/configure, src/Makefile
27743
27744Patch 8.2.4528
27745Problem: Crash when using null_function for a partial.
27746Solution: Don't call fname_trans_sid() with NULL. (closes #9908)
27747Files: src/userfunc.c, src/testdir/test_vim9_func.vim
27748
27749Patch 8.2.4529
27750Problem: Vim9: comparing partial with function fails.
27751Solution: Support this comparison. Avoid a crash. (closes #9909)
27752 Add more test cases.
27753Files: src/vim9instr.c, src/userfunc.c, src/vim9type.c,
27754 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim,
27755 src/testdir/test_vim9_func.vim, src/testdir/test_vimscript.vim
27756
27757Patch 8.2.4530
27758Problem: Making comparison with null work changes legacy behavior.
27759Solution: Only use the better comparison in Vim9 script. (closes #9910)
27760Files: src/typval.c, src/testdir/test_expr.vim
27761
27762Patch 8.2.4531
27763Problem: LGTM warnings for condition always true and buffer size too small.
27764Solution: Remove the useless condition. Make the buffer larger. (Goc
27765 Dundar, closes #9914)
27766Files: src/charset.c, src/term.c
27767
27768Patch 8.2.4532
27769Problem: Suspending with CTRL-Z does not work on OpenBSD.
27770Solution: Adjust #ifdef for SIGTSTP. (Stuart Henderson, closes #9912)
27771Files: src/os_unix.c
27772
27773Patch 8.2.4533
27774Problem: Vim9: no test that after assigning null the type is still checked.
27775Solution: Add a test.
27776Files: src/testdir/test_vim9_assign.vim
27777
27778Patch 8.2.4534
27779Problem: Vim9: "is" operator with empty string and null returns true.
27780Solution: Consider empty string and null to be different for "is".
27781Files: src/typval.c, src/vim9execute.c, src/testdir/test_vim9_expr.vim
27782
27783Patch 8.2.4535
27784Problem: Filename modifer ":8" removes the filename.
27785Solution: Use strncpy() instead of vim_strncpy(). (Christian Brabandt,
27786 closes #9918, closes #8600)
27787Files: src/filepath.c, src/testdir/test_shortpathname.vim
27788
27789Patch 8.2.4536 (after 8.2.4534)
27790Problem: Debugger test fails when breaking on expression.
27791Solution: Compare strings with "==" instead of "is".
27792Files: src/debugger.c
27793
27794Patch 8.2.4537
27795Problem: Output from linter and language server shows up in git.
27796Solution: Add patterns to .gitignore. (Goc Dundar, closes #9925)
27797Files: .gitignore
27798
27799Patch 8.2.4538
27800Problem: The find_tags_in_file() function is too long.
27801Solution: Refactor into smaller functions. (Yegappan Lakshmanan,
27802 closes #9920)
27803Files: src/tag.c, src/testdir/test_tagjump.vim
27804
27805Patch 8.2.4539
27806Problem: When comparing special v:none and v:null are handled the same when
27807 compiling.
27808Solution: Pass more information so that v:none can be handled differently at
27809 compile time. (issue #9923)
27810Files: src/vim9instr.c, src/vim9compile.c, src/globals.h,
27811 src/testdir/test_vim9_expr.vim
27812
27813Patch 8.2.4540
27814Problem: Line number for error is off by one.
27815Solution: Remember the line number of the comparison. (closes #9923)
27816Files: src/eval.c, src/testdir/test_vim9_expr.vim
27817
27818Patch 8.2.4541
27819Problem: Crash in debugger when a variable is not available in the current
27820 block.
27821Solution: Check for a NULL name. (closes #9926)
27822Files: src/vim9execute.c, src/testdir/test_debugger.vim
27823
27824Patch 8.2.4542
27825Problem: Vim9: "break" inside try/catch not handled correctly.
27826Solution: First jump to :endtry. (closes #9927)
27827Files: src/vim9cmds.c, src/vim9.h, src/testdir/test_vim9_script.vim
27828
27829Patch 8.2.4543
27830Problem: Coverity warning for refactored tag search code.
27831Solution: Avoid the warnings. Update comments. Add one more test case.
27832 (Yegappan Lakshmanan, closes #9928)
27833Files: src/tag.c, src/testdir/test_tagjump.vim
27834
27835Patch 8.2.4544
27836Problem: Coverity warnings for not using returned value.
27837Solution: Assign to vim_ignored.
27838Files: src/tag.c
27839
27840Patch 8.2.4545
27841Problem: MS-Windows: the installed icon is low resolution.
27842Solution: Use a better icon. Install vim.ico. (Christian Brabandt,
27843 closes #9931, closes #9930)
27844Files: Filelist, nsis/gvim.nsi, src/vim.ico, runtime/bitmaps/vim.ico
27845
27846Patch 8.2.4546
27847Problem: Duplicate #undef.
27848Solution: Remove one #undef. (closes #9932)
27849Files: src/regexp_nfa.c
27850
27851Patch 8.2.4547
27852Problem: The neXTaw GUI is old and does not work well.
27853Solution: Remove the neXTaw GUI from configure to find out who still wants
27854 support for this GUI.
27855Files: src/configure.ac, src/auto/configure, src/Makefile
27856
27857Patch 8.2.4548
27858Problem: Script-local function is deleted when used in a funcref.
27859Solution: Do not consider a function starting with "<SNR>" reference
27860 counted. (closes #9916, closes #9820)
27861Files: src/userfunc.c, src/testdir/test_vim9_func.vim
27862
27863Patch 8.2.4549
27864Problem: Cannot build with Motif and editres. (Tony Mechelynck)
27865Solution: Fix configure mistake.
27866Files: src/configure.ac, src/auto/configure
27867
27868Patch 8.2.4550
27869Problem: Motif: cannot set the color of the scrollbar thumb.
27870Solution: Remove #ifdef.
27871Files: src/gui_motif.c
27872
27873Patch 8.2.4551
27874Problem: When mapping <Esc> terminal codes are not recognized.
27875Solution: Specifically recognize a mapping with just <Esc> and check for
27876 terminal codes even though there is no partial mapping.
27877 (closes #9903)
27878Files: src/getchar.c, src/testdir/test_termcodes.vim
27879
27880Patch 8.2.4552
27881Problem: In a :def function "put = expr" does not work.
27882Solution: Skip over white space. (closes #9936)
27883Files: src/vim9cmds.c, src/testdir/test_vim9_cmd.vim
27884
27885Patch 8.2.4553
27886Problem: Linear tag search is a bit slow.
27887Solution: Remove a vim_ftell() call. (Yegappan Lakshmanan, closes #9937)
27888Files: src/tag.c, src/testdir/test_taglist.vim
27889
27890Patch 8.2.4554
27891Problem: Vim9: using null values not sufficiently tested.
27892Solution: Add more tests. Fix uncovered problem.
27893Files: src/vim9type.c, src/testdir/test_vim9_assign.vim,
27894 src/testdir/test_vim9_func.vim
27895
27896Patch 8.2.4555
27897Problem: getmousepos() returns the wrong column. (Ernie Rael)
27898Solution: Limit to the text size, not the number of bytes.
27899Files: src/mouse.c, src/testdir/test_functions.vim
27900
27901Patch 8.2.4556
27902Problem: Test fails without the +job or +channel feature. (Dominique Pellé)
27903Solution: Adjust #ifdefs. Pass on skip flag. (closes #9942)
27904Files: src/eval.c, src/vim9compile.c
27905
27906Patch 8.2.4557
27907Problem: Confusing comment about 'cursorlineopt'.
27908Solution: Adjust comment. (closes #9939) Add parenthesis around logical
27909 OR.
27910Files: src/drawline.c
27911
27912Patch 8.2.4558
27913Problem: Motif: using default colors does not work as expected.
27914Solution: Do not try to store the default colors, use the resources.
27915 (closes #9933)
27916Files: src/gui_motif.c, src/gui.h
27917
27918Patch 8.2.4559 (after 8.24555)
27919Problem: getmousepos() returns the screen column. (Ernie Rael)
27920Solution: Return the text column, as documented.
27921Files: src/mouse.c, src/testdir/test_functions.vim
27922
27923Patch 8.2.4560
27924Problem: Suspending with CTRL-Z does not work on DragonFlyBSD.
27925Solution: Adjust #ifdef. (Ozaki Kiichi, closes #9943)
27926Files: src/os_unix.c
27927
27928Patch 8.2.4561
27929Problem: Build failure with some combination of features. (John Marriott)
27930Solution: Adjust #ifdef.
27931Files: src/mouse.c
27932
27933Patch 8.2.4562
27934Problem: Linear tag search is not optimal.
27935Solution: Improve linear tag search performance. (Yegappan Lakshmanan,
27936 closes #9944)
27937Files: src/tag.c
27938
27939Patch 8.2.4563
27940Problem: "z=" in Visual mode may go beyond the end of the line.
27941Solution: Adjust "badlen".
27942Files: src/spellsuggest.c, src/testdir/test_spell.vim
27943
27944Patch 8.2.4564
27945Problem: Running test leaves file behind. (Dominique Pellé)
27946Solution: Run the profiling in a separate Vim instance. (closes #9952)
27947Files: src/testdir/test_vim9_script.vim
27948
27949Patch 8.2.4565
27950Problem: No command line completion for :breakadd and :breakdel.
27951Solution: Add completion for :breakadd and :breakdel. (Yegappan Lakshmanan,
27952 closes #9950)
27953Files: runtime/doc/builtin.txt, src/cmdexpand.c, src/spellsuggest.c,
27954 src/usercmd.c, src/vim.h, src/testdir/test_cmdline.vim,
27955 src/testdir/test_writefile.vim
27956
27957Patch 8.2.4566
27958Problem: Check for existing buffer in session file does not work for files
27959 in the home directory.
27960Solution: Use fnamemodify(). (James Cherti, closes #9945) Add a test.
27961Files: src/session.c, src/testdir/test_mksession.vim
27962
27963Patch 8.2.4567
27964Problem: Bracketed paste doesn't work well in Visual linewise mode.
27965Solution: Handle linewise Visual mode differently. (closes #9947)
27966Files: src/normal.c, src/testdir/test_paste.vim
27967
27968Patch 8.2.4568
27969Problem: getmousepos() does not compute the column below the last line.
27970Solution: Also compute the column when the mouse is below the last line.
27971 (Sean Dewar, closes #9946)
27972Files: src/mouse.c, src/testdir/test_functions.vim
27973
27974Patch 8.2.4569
27975Problem: Coverity warning for not using a return value.
27976Solution: Add "(void)".
27977Files: src/popupwin.c
27978
27979Patch 8.2.4570
27980Problem: No command line completion for :profile and :profdel.
27981Solution: Implement completion. (Yegappan Lakshmanan, closes #9955)
27982Files: src/cmdexpand.c, src/profiler.c, src/testdir/test_cmdline.vim,
27983 src/testdir/test_profile.vim
27984
27985Patch 8.2.4571
27986Problem: Not all gdb files are recognized.
27987Solution: Add a few more patterns for gdb. (Jade Lovelace, closes #9956)
27988Files: runtime/filetype.vim, src/testdir/test_filetype.vim
27989
27990Patch 8.2.4572
27991Problem: Vim9: return type "any" is sometimes changed to first returned
27992 type. (Virginia Senioria)
27993Solution: Do not change the return type if declared as "any". (closes #9949)
27994Files: src/vim9cmds.c, src/testdir/test_vim9_func.vim
27995
27996Patch 8.2.4573
27997Problem: A nested function (closure) is compiled for debugging without
27998 context.
27999Solution: Check if a nested function is marked for debugging before
28000 compiling it. Give an error when trying to compile a closure
28001 without its context. (closes #9951)
28002Files: src/vim9compile.c, src/vim9execute.c, src/proto/vim9execute.pro,
28003 src/vim9expr.c, src/errors.h
28004
28005Patch 8.2.4574
28006Problem: Vim9: test for profiling fails.
28007Solution: Mark function for profiling earlier to avoid E1271.
28008Files: src/testdir/test_vim9_script.vim
28009
28010Patch 8.2.4575
28011Problem: Vim9: test for profiling still fails.
28012Solution: Update flags for profiling and breakpoints when obtaining the
28013 compile type. Do not set the FC_CLOSURE flag for a toplevel
28014 function.
28015Files: src/vim.h, src/vim9compile.c, src/proto/vim9compile.pro,
28016 src/eval.c, src/vim9execute.c, src/vim9expr.c, src/vim9instr.c,
28017 src/vim9.h
28018
28019Patch 8.2.4576
28020Problem: Vim9: error for comparing with null can be annoying.
28021Solution: Allow comparing anything with null. (closes #9948)
28022Files: src/vim9instr.c, src/typval.c, src/testdir/test_vim9_expr.vim
28023
28024Patch 8.2.4577
28025Problem: Message test is flaky. (Elimar Riesebieter)
28026Solution: Trigger the autocommand event only after startup is finished.
28027Files: src/testdir/test_messages.vim
28028
28029Patch 8.2.4578
28030Problem: No warning when an autoload script for completion function has an
28031 error.
28032Solution: Do not ignore errors when a function name is given with a dot or
28033 '#' character. (closes #9958)
28034Files: src/eval.c, src/testdir/test_cmdline.vim
28035
28036Patch 8.2.4579
28037Problem: Cannot use page-up and page-down in the command line completion
28038 popup menu.
28039Solution: Check for to page-up and page-down keys. (Yegappan Lakshmanan,
28040 closes #9960)
28041Files: src/cmdexpand.c, src/ex_getln.c, src/spellsuggest.c, src/vim.h,
28042 src/testdir/test_cmdline.vim,
28043 src/testdir/dumps/Test_wildmenu_pum_42.dump,
28044 src/testdir/dumps/Test_wildmenu_pum_43.dump,
28045 src/testdir/dumps/Test_wildmenu_pum_44.dump,
28046 src/testdir/dumps/Test_wildmenu_pum_45.dump,
28047 src/testdir/dumps/Test_wildmenu_pum_46.dump,
28048 src/testdir/dumps/Test_wildmenu_pum_47.dump,
28049 src/testdir/dumps/Test_wildmenu_pum_48.dump,
28050 src/testdir/dumps/Test_wildmenu_pum_49.dump,
28051 src/testdir/dumps/Test_wildmenu_pum_50.dump
28052
28053Patch 8.2.4580
28054Problem: Vim9: incorrect error for shadowing variable.
28055Solution: Do not pass the context when compiling a referenced function.
28056Files: src/vim9expr.c, src/testdir/test_vim9_func.vim
28057
28058Patch 8.2.4581
28059Problem: Null types not fully tested.
28060Solution: Add some more tests using null types.
28061Files: src/testdir/test_vim9_expr.vim
28062
28063Patch 8.2.4582
28064Problem: Useless code handling a type declaration.
28065Solution: Remove the code and give an error.
28066Files: src/eval.c, src/errors.h, src/testdir/test_vim9_script.vim,
28067 src/testdir/dumps/Test_misplaced_type.dump
28068
28069Patch 8.2.4583 (after 8.2.4582)
28070Problem: Screendump test fails.
28071Solution: Check that making a screendump is possible.
28072Files: src/testdir/test_vim9_script.vim
28073
28074Patch 8.2.4584 (after 8.2.4578)
28075Problem: Error for using autoload function in custom completion.
28076Solution: Do not check for errors when using an autoload function.
28077 (closes #9962)
28078Files: src/eval.c, src/testdir/test_cmdline.vim
28079
28080Patch 8.2.4585
28081Problem: Cannot use keypad page-up/down for completion menu.
28082Solution: Recognize the keypad keys. (Yegappan Lakshmanan, closes #9963)
28083Files: src/ex_getln.c, src/testdir/test_cmdline.vim
28084
28085Patch 8.2.4586
28086Problem: Vim9: no error for using lower case name for "func" argument.
28087 (Ernie Rael)
28088Solution: Check the name as soon as the type is known.
28089Files: src/userfunc.c, src/testdir/test_vim9_func.vim
28090
28091Patch 8.2.4587
28092Problem: Vim9: double free after unpacking a list.
28093Solution: Make a copy of the value instead of moving it. (closes #9968)
28094Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
28095
28096Patch 8.2.4588
28097Problem: Mapping with key code after other matching mapping does not work.
28098Solution: Change ">" to ">=". (closes #9903)
28099Files: src/getchar.c, src/testdir/test_termcodes.vim
28100
28101Patch 8.2.4589
28102Problem: Cannot index the g: dictionary.
28103Solution: Recognize using "g:[key]". (closes #9969)
28104Files: src/ex_docmd.c, src/eval.c, src/vim9compile.c,
28105 src/testdir/test_vim9_assign.vim
28106
28107Patch 8.2.4590
28108Problem: Vim9: range type check has wrong offset.
28109Solution: Adjust offset for CHECKTYPE. Remove other type check.
28110Files: src/vim9compile.c, src/vim9execute.c,
28111 src/testdir/test_vim9_assign.vim
28112
28113Patch 8.2.4591
28114Problem: Cursor line not updated when a callback moves the cursor.
28115Solution: Check if the cursor moved. (closes #9970)
28116Files: src/main.c, src/drawscreen.c, src/proto/drawscreen.pro,
28117 src/testdir/test_cursorline.vim,
28118 src/testdir/dumps/Test_cursorline_callback_1.dump
28119
28120Patch 8.2.4592
28121Problem: Search continues after giving E1204.
28122Solution: Return failure after giving E1204. (closes #9972)
28123Files: src/regexp_nfa.c
28124
28125Patch 8.2.4593
28126Problem: Unnecessary call to redraw_later().
28127Solution: Remove the call to redraw_later() in op_yank(). (closes #9971)
28128Files: src/register.c
28129
28130Patch 8.2.4594
28131Problem: Need to write script to a file to be able to source them.
28132Solution: Make ":source" use lines from the current buffer. (Yegappan
28133 Lakshmanan et al., closes #9967)
28134Files: runtime/doc/repeat.txt, runtime/doc/todo.txt, src/alloc.c,
28135 src/digraph.c, src/eval.c, src/ex_cmds.h, src/scriptfile.c,
28136 src/proto/scriptfile.pro, src/vim9script.c,
28137 src/testdir/test_source.vim
28138
28139Patch 8.2.4595
28140Problem: X11: using --remote-wait may keep the CPU busy.
28141Solution: Set the timeout for select() on every call. (Jacopo Secchiero,
28142 closes #9973)
28143Files: src/if_xcmdsrv.c
28144
28145Patch 8.2.4596
28146Problem: Installing tutor binary may fail.
28147Solution: Fix the dependency. (Sergei Trofimovich, closes #9978)
28148Files: src/Makefile
28149
28150Patch 8.2.4597
28151Problem: LuaV_debug() not covered by tests.
28152Solution: Add a test. (Dominique Pellé, closes #9980)
28153Files: src/testdir/test_lua.vim
28154
28155Patch 8.2.4598
28156Problem: Profile completion test sometimes fails.
28157Solution: Delete the .res file before running tests.
28158Files: src/testdir/runtest.vim
28159
28160Patch 8.2.4599
28161Problem: GTK: get assertion errors when scrolling a split window.
28162Solution: Use GDK_IS_DRAWABLE() on the scrollbar window. (closes #9982)
28163Files: src/gui_gtk.c
28164
28165Patch 8.2.4600
28166Problem: Vim9: not enough test coverage for executing :def function.
28167Solution: Add a few more tests. Fix inconsistencies.
28168Files: src/vim9execute.c, src/evalvars.c, src/proto/evalvars.pro,
28169 src/testdir/test_listdict.vim, src/testdir/test_vim9_assign.vim,
28170 src/testdir/test_vim9_cmd.vim
28171
28172Patch 8.2.4601
28173Problem: Vim9: not enough test coverage for executing :def function.
28174Solution: Add a few more tests.
28175Files: src/testdir/test_vim9_script.vim, src/testdir/test_vim9_func.vim,
28176 src/testdir/test_vim9_cmd.vim
28177
28178Patch 8.2.4602
28179Problem: Vim9: not enough test coverage for executing :def function.
28180Solution: Add a few more tests. Fix uncovered problem. Remove dead code.
28181Files: src/vim9execute.c, src/vim9.h, src/vim9instr.c,
28182 src/proto/vim9instr.pro, src/vim9compile.c,
28183 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_expr.vim
28184
28185Patch 8.2.4603
28186Problem: Sourcing buffer lines is too complicated.
28187Solution: Simplify the code. Make it possible to source Vim9 script lines.
28188 (Yegappan Lakshmanan, closes #9974)
28189Files: runtime/doc/repeat.txt, src/ex_docmd.c, src/proto/scriptfile.pro,
28190 src/scriptfile.c, src/structs.h, src/testdir/test_source.vim
28191
28192Patch 8.2.4604
28193Problem: Error for redefining a script item may be confusing.
28194Solution: Put quotes around the name.
28195Files: src/errors.h
28196
28197Patch 8.2.4605
28198Problem: Error for arguments of remote_expr() even when the +clientserver
28199 feature is not included.
28200Solution: Move #ifdef.
28201Files: src/clientserver.c
28202
28203Patch 8.2.4606 (after 8.2.4605)
28204Problem: Test fails because of changed error message.
28205Solution: Update the expected error message
28206Files: src/testdir/test_vim9_import.vim
28207
28208Patch 8.2.4607
28209Problem: Sourcing buffer lines may lead to errors for conflicts.
28210Solution: Add the ++clear argument. (Yegappan Lakshmanan, closes #9991)
28211Files: runtime/doc/repeat.txt, src/scriptfile.c, src/vim9script.c,
28212 src/proto/vim9script.pro, src/testdir/test_source.vim
28213
28214Patch 8.2.4608
28215Problem: getcompletion() does not work properly when 'wildoptions
28216 contains "fuzzy".
28217Solution: Do not use addstar(). (Yegappan Lakshmanan, closes #9992,
28218 closes #9986)
28219Files: runtime/doc/builtin.txt, src/cmdexpand.c,
28220 src/testdir/test_cmdline.vim
28221
28222Patch 8.2.4609
28223Problem: :unhide does not check for failing to close a window.
28224Solution: When closing a window fails continue with the next one. Do not
28225 try closing the autocmd window. (closes #9984)
28226Files: src/buffer.c, src/window.c, src/proto/window.pro,
28227 src/testdir/test_autocmd.vim
28228
28229Patch 8.2.4610
28230Problem: Some conditions are always true.
28231Solution: Remove the useless conditions. (closes #9993)
28232Files: src/clientserver.c, src/drawline.c, src/drawscreen.c,
28233 src/ex_cmds.c, src/fileio.c, src/message.c, src/misc2.c,
28234 src/ops.c, src/sign.c, src/spell.c, src/vim9cmds.c, src/window.c
28235
28236Patch 8.2.4611
28237Problem: Typos in tests; one lua line not covered by test.
28238Solution: Fix typos. Add test case. (Dominique Pellé, closes #9994)
28239Files: src/testdir/test_breakindent.vim, src/testdir/test_crypt.vim,
28240 src/testdir/test_cursorline.vim, src/testdir/test_digraph.vim,
28241 src/testdir/test_gui.vim, src/testdir/test_lua.vim,
28242 src/testdir/test_regexp_latin.vim, src/testdir/test_signals.vim,
28243 src/testdir/test_spell.vim, src/testdir/test_statusline.vim,
28244 src/testdir/test_vim9_disassemble.vim,
28245 src/testdir/test_vim9_expr.vim, src/testdir/test_vimscript.vim
28246
28247Patch 8.2.4612
28248Problem: Vim9: cannot use a recursive call in a nested function. (Sergey
28249 Vlasov)
28250Solution: Define the funcref before compiling the function. (closes #9989)
28251Files: src/vim9compile.c, src/vim9instr.c, src/proto/vim9instr.pro,
28252 src/vim9expr.c, src/testdir/test_vim9_func.vim
28253
28254Patch 8.2.4613
28255Problem: Return type of swapfile_unchanged() is wrong.
28256Solution: Use "int". (closes #10000 Yeah!)
28257Files: src/memline.c
28258
28259Patch 8.2.4614
28260Problem: Redrawing too much when 'cursorline' is set and jumping around.
28261Solution: Rely on win_update() to redraw the current and previous cursor
28262 line, do not mark lines as modified. (closes #9996)
28263Files: src/drawline.c, src/drawscreen.c, src/move.c, src/proto/move.pro,
28264 src/option.c
28265
28266Patch 8.2.4615
28267Problem: Mapping with escaped bar does not work in :def function. (Sergey
28268 Vlasov)
28269Solution: Do not remove the backslash. (closes #10002)
28270Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/syntax.c,
28271 src/vim9cmds.c, src/testdir/test_vim9_cmd.vim
28272
28273Patch 8.2.4616
28274Problem: Vim9: Declarations in a {} block of a user command do not use Vim9
28275 rules if defined in a legacy script. (Yegappan Lakshmanan)
28276Solution: Pretend the script is Vim9 script.
28277Files: src/usercmd.c, src/testdir/test_usercommands.vim
28278
28279Patch 8.2.4617
28280Problem: No completion for :scriptnames.
28281Solution: Implement :scriptnames completion. (Yegappan Lakshmanan,
28282 closes #10005)
28283Files: runtime/doc/builtin.txt, src/cmdexpand.c, src/ex_cmds.h,
28284 src/scriptfile.c, src/usercmd.c, src/vim.h,
28285 src/testdir/test_cmdline.vim, src/testdir/test_quickfix.vim
28286
28287Patch 8.2.4618
28288Problem: Command line completion does not recognize single letter commands.
28289Solution: Use the condition from find_ex_command().
28290Files: src/ex_docmd.c
28291
28292Patch 8.2.4619
28293Problem: Mapping is cancelled when mouse moves and popup is visible.
28294Solution: Only generate mouse moved events when a popup may use them.
28295 (closes #10004)
28296Files: src/gui.c, src/globals.h, src/popupwin.c
28297
28298Patch 8.2.4620 (after 8.2.4618)
28299Problem: Two letter substitute commands don't work. (Yegappan Lakshmanan)
28300Solution: Invert condition.
28301Files: src/ex_docmd.c
28302
28303Patch 8.2.4621
28304Problem: Crash when using the tabline right-click menu.
28305Solution: Use XtPointer for XmNuserData. (closes #10009)
28306Files: src/gui_motif.c
28307
28308Patch 8.2.4622
28309Problem: Vim9: Crash with :execute and :finish. (Sergey Vlasov)
28310Solution: Check for NULL. (closes #10011)
28311Files: src/eval.c, src/testdir/test_vim9_script.vim
28312
28313Patch 8.2.4623
28314Problem: Coverity warns for using uninitialized field.
28315Solution: Initialize he field to zero.
28316Files: src/ex_docmd.c
28317
28318Patch 8.2.4624
28319Problem: Old Coverity warning for resource leak.
28320Solution: Close the file if memory allocation fails.
28321Files: src/diff.c
28322
28323Patch 8.2.4625
28324Problem: Old Coverity warning for resource leak.
28325Solution: Call FreeWild() if expanding matches did not fail.
28326Files: src/help.c
28327
28328Patch 8.2.4626
28329Problem: Visual area not fully updated when removing sign in Visual mode
28330 while scrolling.
28331Solution: Adjust check for topline. (closes #10017)
28332Files: src/drawscreen.c, src/testdir/test_display.vim,
28333 src/testdir/dumps/Test_display_scroll_update_visual.dump
28334
28335Patch 8.2.4627
28336Problem: flatten() does not use maxdepth correctly.
28337Solution: Use a recursive implementation. (closes #10020)
28338Files: src/list.c, src/testdir/test_flatten.vim
28339
28340Patch 8.2.4628
28341Problem: Not enough testing for 2/3 letter substitute commands.
28342Solution: Add more tests. (Yegappan Lakshmanan, closes #10019)
28343Files: src/testdir/test_cmdline.vim, src/testdir/test_substitute.vim
28344
28345Patch 8.2.4629
28346Problem: flattennew() makes a deep copy unnecessarily.
28347Solution: Use a shallow copy. (issue #10012)
28348Files: src/list.c
28349
28350Patch 8.2.4630
28351Problem: 'cursorline' not always updated with 'cursorlineopt' is
28352 "screenline".
28353Solution: Call check_redraw_cursorline() more often. (closes #10013)
28354Files: src/normal.c, src/edit.c, src/testdir/test_cursorline.vim,
28355 src/testdir/dumps/Test_cursorline_screenline_1.dump,
28356 src/testdir/dumps/Test_cursorline_screenline_2.dump
28357
28358Patch 8.2.4631
28359Problem: Crash when switching window in BufWipeout autocommand.
28360Solution: Put any buffer in the window to avoid it being NULL.
28361 (closes #10024)
28362Files: src/window.c, src/buffer.c, src/testdir/test_autocmd.vim
28363
28364Patch 8.2.4632
28365Problem: Using freed memory in flatten().
28366Solution: Clear typval after recursing into list.
28367Files: src/list.c
28368
28369Patch 8.2.4633
28370Problem: Visual range does not work before command modifiers.
28371Solution: Move Visual range to after command modifiers.
28372Files: src/ex_docmd.c, src/testdir/test_source.vim
28373
28374Patch 8.2.4634
28375Problem: Vim9: cannot initialize a variable to null_list.
28376Solution: Give negative count to NEWLIST. (closes #10027)
28377 Also fix inconsistencies in comparing with null values.
28378Files: src/vim9instr.c, src/proto/vim9instr.pro, src/vim9.h,
28379 src/vim9compile.c, src/vim9expr.c, src/vim9execute.c,
28380 src/evalvars.c, src/typval.c, src/testdir/test_vim9_expr.vim,
28381 src/testdir/test_vim9_builtin.vim,
28382 src/testdir/test_vim9_disassemble.vim
28383
28384Patch 8.2.4635 (after 8.2.4634)
28385Problem: Tests using null list or dict fail.
28386Solution: Only use the new rules for Vim9 script.
28387Files: src/evalvars.c
28388
28389Patch 8.2.4636 (after 8.2.4633)
28390Problem: Not using Visual range.
28391Solution: Put the command pointer back to the range.
28392Files: src/ex_docmd.c
28393
28394Patch 8.2.4637
28395Problem: Warning for using uninitialized variable. (Tony Mechelynck)
28396Solution: Initialize it.
28397Files: src/ex_docmd.c
28398
28399Patch 8.2.4638
28400Problem: Superfluous check if a redraw is needed for 'cursorline'.
28401Solution: Remove check_redraw_cursorline(). (closes #10030, closes #10029)
28402Files: src/drawscreen.c, src/proto/drawscreen.pro, src/edit.c,
28403 src/main.c, src/normal.c, src/move.c,
28404 src/testdir/dumps/Test_cursorcolumn_callback_1.dump,
28405 src/testdir/dumps/Test_relativenumber_callback_1.dump,
28406 src/testdir/test_highlight.vim, src/testdir/test_number.vim
28407
28408Patch 8.2.4639
28409Problem: Not sufficient parenthesis in preprocessor macros.
28410Solution: Add more parenthesis. (closes #10031)
28411Files: src/globals.h, src/gui.h, src/if_py_both.h, src/macros.h,
28412 src/option.h, src/regexp.h, src/spell.h, src/structs.h, src/vim.h,
28413 src/vim9.h
28414
28415Patch 8.2.4640
28416Problem: Some boolean options use "long" instead of "int".
28417Solution: Adjust the type. (James McCoy, closes #10033)
28418Files: src/option.h
28419
28420Patch 8.2.4641
28421Problem: May mark the wrong window for redrawing.
28422Solution: Use redraw_win_later(). (closes #10032)
28423Files: src/move.c
28424
28425Patch 8.2.4642
28426Problem: Vim9: in :def function script var cannot be null.
28427Solution: Only initialize a script variable when not set to a null value.
28428 (closes #10034)
28429Files: src/vim9execute.c, src/vim9type.c, src/globals.h, src/evalvars.c,
28430 src/vim.h, src/vim9script.c, src/testdir/test_vim9_expr.vim
28431
28432Patch 8.2.4643
28433Problem: Vim9: variable may be locked unintentionally.
28434Solution: Clear "v_lock". (closes #10036)
28435Files: src/vim9execute.c, src/testdir/test_vim9_builtin.vim
28436
28437Patch 8.2.4644
28438Problem: Redrawing too often when 'relativenumber' is set.
28439Solution: Only redraw when the cursor line changed. (Lewis Russell,
28440 closes #10040)
28441Files: src/change.c, src/drawscreen.c, src/structs.h
28442
28443Patch 8.2.4645
28444Problem: 'shortmess' changed when session does not store options.
28445Solution: Save and restore 'shortmess' if needed. (James Charti,
28446 closes #10037)
28447Files: src/session.c, src/testdir/test_mksession.vim
28448
28449Patch 8.2.4646
28450Problem: Using buffer line after it has been freed in old regexp engine.
28451Solution: After getting mark get the line again.
28452Files: src/regexp_bt.c, src/testdir/test_regexp_latin.vim
28453
28454Patch 8.2.4647
28455Problem: "source" can read past end of copied line.
28456Solution: Add a terminating NUL.
28457Files: src/scriptfile.c, src/testdir/test_source.vim
28458
28459Patch 8.2.4648
28460Problem: Handling LSP messages is a bit slow.
28461Solution: Included support for LSP messages. (Yegappan Lakshmanan,
28462 closes #10025)
28463Files: runtime/doc/channel.txt, src/channel.c, src/job.c, src/json.c,
28464 src/proto/json.pro, src/structs.h, src/testdir/test_channel.vim,
28465 src/testdir/test_channel_lsp.py
28466
28467Patch 8.2.4649
28468Problem: Various formatting problems.
28469Solution: Improve the code formatting.
28470Files: src/mark.c, src/quickfix.c, src/regexp_nfa.c, src/register.c,
28471 src/testdir/test_filechanged.vim, src/gui_athena.c,
28472 src/gui_motif.c, src/os_unix.c
28473
28474Patch 8.2.4650
28475Problem: "import autoload" only works with using 'runtimepath'.
28476Solution: Also support a relative and absolute file name.
28477Files: runtime/doc/vim9.txt, src/structs.h, src/scriptfile.c,
28478 src/proto/scriptfile.pro, src/vim9script.c, src/vim9expr.c,
28479 src/vim9.h, src/vim9execute.c, src/vim9instr.c,
28480 src/proto/vim9instr.pro, src/vim.h, src/userfunc.c,
28481 src/proto/userfunc.pro, src/testdir/test_vim9_import.vim,
28482 src/testdir/test_vim9_disassemble.vim
28483
28484Patch 8.2.4651 (after 8.2.4650)
28485Problem: Test fails because path differs.
28486Solution: Only compare the tail of the path.
28487Files: src/testdir/test_vim9_disassemble.vim
28488
28489Patch 8.2.4652 (after 8.2.4650)
28490Problem: Leaking memory if assignment fails.
28491Solution: Clear assigned value on failure.
28492Files: src/vim9execute.c
28493
28494Patch 8.2.4653
28495Problem: "import autoload" does not check the file name.
28496Solution: Give an error if the file is not readable. (closes #10049)
28497Files: src/filepath.c, src/proto/filepath.pro, src/errors.h,
28498 src/ex_cmds.c, src/ex_docmd.c, src/spellfile.c,
28499 src/testdir/test_vim9_import.vim
28500
28501Patch 8.2.4654 (after 8.2.4653)
28502Problem: Missing changes for import check.
28503Solution: Add missing changes.
28504Files: src/vim9script.c
28505
28506Patch 8.2.4655
28507Problem: Command line completion popup menu positioned wrong when using a
28508 terminal window.
28509Solution: Position the popup menu differently when editing the command line.
28510 (Yegappan Lakshmanan, closes #10050, closes #10035)
28511Files: src/popupmenu.c, src/testdir/test_cmdline.vim,
28512 src/testdir/test_terminal.vim,
28513 src/testdir/dumps/Test_wildmenu_pum_term_01.dump
28514
28515Patch 8.2.4656
28516Problem: Vim9: can't use items from "import autoload" with autoload
28517 directory name.
28518Solution: Let sn_autoload_prefix overrule sn_import_autoload.
28519 (closes #10054)
28520Files: src/structs.h, src/vim9instr.c, src/vim9expr.c, src/vim9script.c,
28521 src/testdir/test_vim9_import.vim
28522
28523Patch 8.2.4657
28524Problem: Errors for functions are sometimes hard to read.
28525Solution: Use printable_func_name() in more places.
28526Files: src/vim9execute.c, src/userfunc.c, src/proto/userfunc.pro,
28527 src/vim9expr.c, src/eval.c, src/vim9instr.c, src/vim9type.c,
28528 src/testdir/test_vim9_expr.vim
28529
28530Patch 8.2.4658
28531Problem: Org-mode files are not recognized.
28532Solution: Add patterns to recognize "org" files. (closes #10046)
28533Files: runtime/filetype.vim, src/testdir/test_filetype.vim
28534
28535Patch 8.2.4659
28536Problem: Invalid memory access when using printable function name.
28537Solution: Adjust copied name length.
28538Files: src/userfunc.c
28539
28540Patch 8.2.4660
28541Problem: Cursorcolumn is sometimes not correct.
28542Solution: Recompute the cursor column when entering Insert mode and the
28543 cursor is on a character wider than a screen cell. (closes #10057)
28544Files: src/edit.c, src/testdir/test_highlight.vim,
28545 src/testdir/dumps/Test_cursorcolumn_insert_on_tab_1.dump,
28546 src/testdir/dumps/Test_cursorcolumn_insert_on_tab_2.dump
28547
28548Patch 8.2.4661
28549Problem: Coverity warning for using uninitialized variable.
28550Solution: Initialize variable to NULL.
28551Files: src/vim9expr.c
28552
28553Patch 8.2.4662
28554Problem: No error for using out of range list index.
28555Solution: Check list index at script level like in compiled function.
28556 (closes #10051)
28557Files: src/vim.h, src/evalvars.c, src/list.c, src/proto/list.pro,
28558 src/eval.c, src/vim9execute.c, src/testdir/test_vim9_assign.vim
28559
28560Patch 8.2.4663
28561Problem: Occasional crash when running the GUI tests.
28562Solution: Check that the line index is not too high. (closes #8681)
28563Files: src/screen.c
28564
28565Patch 8.2.4664
28566Problem: Elvish files are not recognized.
28567Solution: Recognize .elv files. (Bruno Roque, closes #10058)
28568Files: runtime/filetype.vim, src/testdir/test_filetype.vim
28569
28570Patch 8.2.4665
28571Problem: Popup with "minwidth" and scrollbar not updated properly.
28572Solution: Adjust the computation if the window width. (closes #10061)
28573Files: src/popupwin.c, src/testdir/test_popupwin.vim,
28574 src/testdir/dumps/Test_popupwin_previewpopup_4.dump,
28575 src/testdir/dumps/Test_popupwin_previewpopup_5.dump,
28576 src/testdir/dumps/Test_popupwin_previewpopup_7.dump,
28577 src/testdir/dumps/Test_popupwin_previewpopup_8.dump,
28578 src/testdir/dumps/Test_popupwin_previewpopup_9.dump,
28579 src/testdir/dumps/Test_popupwin_previewpopup_10.dump,
28580 src/testdir/dumps/Test_popupwin_drag_minwidth_1.dump,
28581 src/testdir/dumps/Test_popupwin_drag_minwidth_2.dump,
28582 src/testdir/dumps/Test_popupwin_drag_minwidth_3.dump
28583
28584Patch 8.2.4666
28585Problem: Vim9: assignment not recognized in skipped block.
28586Solution: When skipping assume identifier exists. (closes #10059)
28587Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9cmds.c,
28588 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_script.vim
28589
28590Patch 8.2.4667
28591Problem: expandcmd() fails on an error.
28592Solution: On failure return the command unmodified. (yegappan Lakshmanan,
28593 closes #10063)
28594Files: runtime/doc/builtin.txt, src/evalfunc.c,
28595 src/testdir/test_expand.vim
28596
28597Patch 8.2.4668
28598Problem: Buffer allocation failures insufficiently tested.
28599Solution: Add tests for memory allocation failures. (Yegappan Lakshmanan,
28600 closes #10064)
28601Files: src/alloc.h, src/buffer.c, src/popupwin.c, src/window.c,
28602 src/testdir/test_buffer.vim, src/testdir/test_swap.vim
28603
28604Patch 8.2.4669
28605Problem: In compiled code len('string') is not inlined.
28606Solution: Compute the length at compile time if possible. (closes #10065)
28607Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9expr.c,
28608 src/testdir/test_vim9_disassemble.vim
28609
28610Patch 8.2.4670
28611Problem: Memory allocation failures for new tab page not tested.
28612Solution: Add tests with failing memory allocation. (Yegappan Lakshmanan,
28613 closes #10067)
28614Files: src/alloc.h, src/blob.c, src/buffer.c, src/window.c,
28615 src/testdir/test_blob.vim, src/testdir/test_buffer.vim,
28616 src/testdir/test_tabpage.vim, src/testdir/test_window_cmd.vim
28617
28618Patch 8.2.4671
28619Problem: 'wildignorecase' is sometimes not used for glob().
28620Solution: Also use 'wildignorecase' when there are no wildcards.
28621 (closes #10066, closes #8350)
28622Files: src/filepath.c, src/testdir/test_functions.vim
28623
28624Patch 8.2.4672
28625Problem: Using :normal with Ex mode may make :substitute hang.
28626Solution: When getting an empty line behave like 'q' was typed.
28627 (closes #10070)
28628Files: src/ex_cmds.c, src/testdir/test_normal.vim
28629
28630Patch 8.2.4673
28631Problem: Redrawing a vertically split window is slow when using CTRL-F and
28632 CTRL-B.
28633Solution: When deciding on USE_REDRAW bail out if scrolling more than three
28634 lines. (issue #8002)
28635Files: src/screen.c
28636
28637Patch 8.2.4674
28638Problem: Cannot force getting MouseMove events.
28639Solution: Add the 'mousemoveevent' option with implementaiton for the GUI.
28640 (Ernie Rael, closes #10044)
28641Files: runtime/doc/gui.txt, runtime/doc/options.txt,
28642 runtime/doc/testing.txt, src/gui.c, src/option.h,
28643 src/optiondefs.h, src/testing.c, src/testdir/test_gui.vim
28644
28645Patch 8.2.4675
28646Problem: No error for missing expression after :elseif. (Ernie Rael)
28647Solution: Check for missing expression. (closes #10068)
28648Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
28649
28650Patch 8.2.4676 (after 8.2.4675)
28651Problem: Test fails with different error.
28652Solution: Add argument to :elseif.
28653Files: src/testdir/test_vimscript.vim
28654
28655Patch 8.2.4677
28656Problem: The Athena GUI support is outdated.
28657Solution: Remove the Athena GUI code.
28658Files: Filelist, src/Makefile, src/proto.h, src/clipboard.c,
28659 src/gui_athena.c, src/proto/gui_athena.pro, src/gui_at_sb.c,
28660 src/gui_at_sb.h, src/gui_at_fs.c, src/gui_motif.c, src/evalfunc.c,
28661 src/gui.c, src/gui_beval.c, src/gui_x11.c, src/if_mzsch.c,
28662 src/main.c, src/menu.c, src/mouse.c, src/version.c, src/feature.h,
28663 src/gui.h, src/structs.h, src/vim.h, src/testdir/gui_init.vim,
28664 src/testdir/setup_gui.vim, src/testdir/test_clientserver.vim,
28665 src/testdir/test_edit.vim, src/testdir/test_gui.vim,
28666 src/testdir/test_highlight.vim, src/testdir/test_quotestar.vim,
28667 src/testdir/test_startup.vim, runtime/doc/gui.txt,
28668 runtime/doc/gui_x11.txt
28669
28670Patch 8.2.4678
28671Problem: Vim9: not all code is tested.
28672Solution: Add a few more tests.
28673Files: src/vim9execute.c, src/testdir/test_vim9_script.vim,
28674 src/testdir/test_vim9_import.vim, src/testdir/test_vim9_cmd.vim
28675
28676Patch 8.2.4679
28677Problem: Cannot have expandcmd() give an error message for mistakes.
28678Solution: Add an optional argument to give errors. Fix memory leak when
28679 expanding files fails. (Yegappan Lakshmanan, closes #10071)
28680Files: runtime/doc/builtin.txt, src/evalfunc.c, src/filepath.c,
28681 src/testdir/test_expand.vim, src/testdir/test_vim9_builtin.vim
28682
28683Patch 8.2.4680
28684Problem: Build failure without +postscript.
28685Solution: Use another error message.
28686Files: src/vim9execute.c, src/testdir/test_vim9_import.vim
28687
28688Patch 8.2.4681
28689Problem: Build fails with a combination of features.
28690Solution: Remove #ifdef for alloc_clear_id(). (John Marriott)
28691Files: src/alloc.c
28692
28693Patch 8.2.4682
28694Problem: Vim9: can use :unlockvar for const variable. (Ernie Rael)
28695Solution: Check whether the variable is a const.
28696Files: src/ex_docmd.c, src/evalvars.c, src/vim9script.c,
28697 src/proto/vim9script.pro, src/eval.c, src/userfunc.c,
28698 src/testdir/test_vim9_cmd.vim
28699
28700Patch 8.2.4683
28701Problem: Verbose check with dict_find() to see if a key is present.
28702Solution: Add dict_has_key(). (Yegappan Lakshmanan, closes #10074)
28703Files: src/channel.c, src/dict.c, src/evalwindow.c, src/filepath.c,
28704 src/highlight.c, src/json.c, src/match.c, src/popupwin.c,
28705 src/proto/dict.pro, src/quickfix.c, src/search.c, src/sign.c,
28706 src/tag.c, src/terminal.c, src/testing.c, src/textprop.c,
28707 src/time.c
28708
28709Patch 8.2.4684
28710Problem: Cannot open a channel on a Unix domain socket.
28711Solution: Add Unix domain socket support. (closes #10062)
28712Files: runtime/doc/channel.txt, src/channel.c, src/testdir/check.vim,
28713 src/testdir/shared.vim, src/testdir/test_channel.py,
28714 src/testdir/test_channel.vim, src/testdir/test_channel_unix.py,
28715 src/testdir/test_cmdline.vim
28716
28717Patch 8.2.4685
28718Problem: When a swap file is found for a popup there is no dialog and the
28719 buffer is loaded anyway.
28720Solution: Silently load the buffer read-only. (closes #10073)
28721Files: runtime/doc/popup.txt, src/memline.c, src/popupwin.c, src/vim.h,
28722 src/buffer.c, src/testdir/test_popupwin.vim
28723
28724Patch 8.2.4686
28725Problem: Configure doesn't find the Motif library with Cygwin.
28726Solution: Check for libXm.dll.a. (Kelvin Lee, closes #10077)
28727Files: src/configure.ac, src/auto/configure
28728
28729Patch 8.2.4687
28730Problem: "vimgrep /\%v/ *" may cause a crash.
28731Solution: When compiling the pattern with the old engine fails, restore the
28732 regprog of the new engine instead of leaving it NULL.
28733 (closes #10079)
28734Files: src/regexp.c
28735
28736Patch 8.2.4688
28737Problem: New regexp engine does not give an error for "\%v".
28738Solution: Check for a value argument. (issue #10079)
28739Files: src/regexp_nfa.c, src/errors.h, src/regexp_bt.c,
28740 src/testdir/test_regexp_latin.vim
28741
28742Patch 8.2.4689
28743Problem: Using <Cmd> in a mapping does not work for mouse keys in Insert
28744 mode. (Sergey Vlasov)
28745Solution: When reading the <Cmd> argument do not use the stuff buffer.
28746 (closes #10080)
28747Files: src/getchar.c
28748
28749Patch 8.2.4690
28750Problem: Channel tests fail on MS-Windows.
28751Solution: Check if the AF_UNIX attribute exists. (closes #10083)
28752Files: src/testdir/test_channel.py, src/testdir/test_channel_unix.py
28753
28754Patch 8.2.4691 (after 8.2.4689)
28755Problem: Solution for <Cmd> in a mapping causes trouble.
28756Solution: Use another solution: put back CTRL-O after reading the <Cmd>
28757 sequence.
28758Files: src/getchar.c
28759
28760Patch 8.2.4692
28761Problem: No test for what 8.2.4691 fixes.
28762Solution: Add a test. Use a more generic sotlution. (closes #10090)
28763Files: src/getchar.c, src/mouse.c, src/testdir/test_mapping.vim
28764
28765Patch 8.2.4693 (after 8.2.4688)
28766Problem: new regexp does not accept pattern "\%>0v".
28767Solution: Do accept digit zero.
28768Files: src/regexp_bt.c, src/regexp_nfa.c,
28769 src/testdir/test_regexp_latin.vim
28770
28771Patch 8.2.4694
28772Problem: Avoidance of #elif causes more preproc nesting.
28773Solution: Use #elif where it is useful. (Ozaki Kiichi, closes #10081)
28774Files: src/option.c, src/optiondefs.h, src/optionstr.c, src/version.c
28775
28776Patch 8.2.4695
28777Problem: JSON encoding could be faster.
28778Solution: Optimize encoding JSON strings. (closes #10086)
28779Files: src/json.c, src/testdir/test_json.vim
28780
28781Patch 8.2.4696
28782Problem: delete() with "rf" argument does not report a failure.
28783Solution: Return -1 if the directory could not be removed. (closes #10078)
28784Files: src/fileio.c, src/testdir/test_functions.vim
28785
28786Patch 8.2.4697
28787Problem: Vim9: crash when adding a duplicate key to a dictionary.
28788Solution: Clear the stack item when it has been moved into the dictionary.
28789 (closes #10087)
28790Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
28791
28792Patch 8.2.4698
28793Problem: Vim9: script variable has no flag that it was set.
28794Solution: Add a flag that it was set, to avoid giving it a value when used.
28795 (closes #10088)
28796Files: src/structs.h, src/vim9script.c, src/vim9execute.c,
28797 src/evalvars.c, src/testdir/test_vim9_assign.vim,
28798 src/testdir/test_vim9_builtin.vim
28799
28800Patch 8.2.4699
28801Problem: Hard to reproduce hang when reading from a channel.
28802Solution: Check for readahead before starting to wait. (closes #10093,
28803 closes #7781, closes #6364)
28804Files: src/channel.c
28805
28806Patch 8.2.4700
28807Problem: Buffer remains active if a WinClosed event throws an exception.
28808Solution: Ignore aborting() when closing the buffer. (closes #10097)
28809Files: src/window.c, src/testdir/test_autocmd.vim
28810
28811Patch 8.2.4701
28812Problem: Kuka Robot Language files not recognized.
28813Solution: Recognize *.src and *.dat files. (Patrick Meiser-Knosowski,
28814 closes #10096)
28815Files: runtime/filetype.vim, src/testdir/test_filetype.vim,
28816 runtime/autoload/dist/ft.vim
28817
28818Patch 8.2.4702
28819Problem: C++ scope labels are hard-coded.
28820Solution: Add 'cinscopedecls' to define the labels. (Rom Praschan,
28821 closes #10109)
28822Files: runtime/doc/indent.txt, runtime/doc/options.txt,
28823 runtime/doc/quickref.txt, runtime/optwin.vim, src/buffer.c,
28824 src/cindent.c, src/option.c, src/option.h, src/optiondefs.h,
28825 src/optionstr.c, src/structs.h, src/testdir/test_cindent.vim
28826
28827Patch 8.2.4703 (after 8.2.4702)
28828Problem: Memory leak in handling 'cinscopedecls'.
28829Solution: Free the memory before returning.
28830Files: src/cindent.c
28831
28832Patch 8.2.4704
28833Problem: Using "else" after return or break increases indent.
28834Solution: Remove "else" and reduce indent. (Goc Dundar, closes #10099)
28835Files: src/fileio.c, src/memline.c, src/option.c, src/syntax.c
28836
28837Patch 8.2.4705
28838Problem: reg_executing may not be cleared.
28839Solution: Reset reg_executing later. (closes #10111, closes #10110)
28840Files: src/ex_docmd.c, src/getchar.c, src/globals.h, src/structs.h,
28841 src/testdir/test_registers.vim
28842
28843Patch 8.2.4706
28844Problem: Buffer remains active if a WinClosed event throws an exception
28845 when there are multiple tabpages.
28846Solution: Ignore aborting() when closing the buffer. (closes #10101)
28847Files: src/window.c, src/testdir/test_autocmd.vim
28848
28849Patch 8.2.4707
28850Problem: Redrawing could be a bit more efficient.
28851Solution: Optimize redrawing. (closes #10105)
28852Files: src/change.c, src/edit.c, src/testdir/test_highlight.vim,
28853 src/testdir/dumps/Test_cursorcolumn_insert_on_tab_3.dump
28854
28855Patch 8.2.4708
28856Problem: PHP test files are not recognized.
28857Solution: Add the *.phpt pattern. (Julien Voisin, closes #10112)
28858Files: runtime/filetype.vim, src/testdir/test_filetype.vim
28859
28860Patch 8.2.4709
28861Problem: After :redraw the statusline highlight might be used.
28862Solution: Clear the screen attribute after redrawing the screen.
28863 (closes #10108)
28864Files: src/ex_docmd.c
28865
28866Patch 8.2.4710
28867Problem: Smart indenting does not work after completion.
28868Solution: Set "can_si". (Christian Brabandt, closes #10113, closes #558)
28869Files: src/edit.c, src/testdir/test_ins_complete.vim
28870
28871Patch 8.2.4711
28872Problem: When 'insermode' is set :edit from <Cmd> mapping misbehaves.
28873Solution: Don't set "need_start_insertmode" when already in Insert mode.
28874 (closes #10116)
28875Files: src/ex_cmds.c, src/testdir/test_edit.vim
28876
28877Patch 8.2.4712
28878Problem: Only get profiling information after exiting.
28879Solution: Add "profile dump" and "profile stop". (Marco Hinz, Yegappan
28880 Lakshmanan, closes #10107)
28881Files: runtime/doc/repeat.txt, src/profiler.c,
28882 src/testdir/test_profile.vim
28883
28884Patch 8.2.4713
28885Problem: Plugins cannot track text scrolling.
28886Solution: Add the WinScrolled event. (closes #10102)
28887Files: runtime/doc/autocmd.txt, src/autocmd.c, src/proto/autocmd.pro,
28888 src/edit.c, src/gui.c, src/main.c, src/structs.h, src/vim.h,
28889 src/window.c, src/proto/window.pro, src/testdir/test_autocmd.vim
28890
28891Patch 8.2.4714
28892Problem: Using g:filetype_dat and g:filetype_src not tested.
28893Solution: Add a test. (Patrick Meiser-Knosowski, closes #10117)
28894Files: src/testdir/test_filetype.vim
28895
28896Patch 8.2.4715
28897Problem: Vagrantfile not recognized.
28898Solution: Recognize Vagrantfile as ruby. (Julien Voisin, closes #10119)
28899Files: runtime/filetype.vim, src/testdir/test_filetype.vim
28900
28901Patch 8.2.4716
28902Problem: Memory allocation failure not tested when defining a function.
28903Solution: Add a test. (Yegappan Lakshmanan, closes #10127)
28904Files: src/alloc.c, src/alloc.h, src/proto/alloc.pro, src/userfunc.c,
28905 src/testdir/test_user_func.vim, src/testdir/test_vim9_func.vim
28906
28907Patch 8.2.4717
28908Problem: For TextYankPost v:event does not contain information about the
28909 operation being inclusive or not.
28910Solution: Add "inclusive" to v:event. (Justn M. Keyes, Yegappan Lakshmanan,
28911 closes #10125)
28912Files: runtime/doc/autocmd.txt, src/register.c,
28913 src/testdir/test_autocmd.vim
28914
28915Patch 8.2.4718
28916Problem: @@@ in the last line sometimes drawn in the wrong place.
28917Solution: Make sure the column is valid. (closes #10130)
28918Files: src/drawscreen.c, src/screen.c, src/testdir/test_display.vim
28919 src/testdir/dumps/Test_display_lastline_1.dump,
28920 src/testdir/dumps/Test_display_lastline_2.dump,
28921 src/testdir/dumps/Test_display_lastline_3.dump,
28922 src/testdir/dumps/Test_display_lastline_4.dump
28923
28924Patch 8.2.4719
28925Problem: ">" marker sometimes not displayed in the jumplist.
28926Solution: If the buffer no longer exists show "-invalid-". (Christian
28927 Brabandt, closes #10131, closes #10100)
28928Files: runtime/doc/motion.txt, src/mark.c, src/testdir/Make_all.mak,
28929 src/testdir/test_alot.vim, src/testdir/test_jumplist.vim,
28930 src/testdir/test_jumps.vim
28931
28932Patch 8.2.4720
28933Problem: ABB Rapid files are not recognized properly.
28934Solution: Add checks for ABB Rapid files. (Patrick Meiser-Knosowski,
28935 closes #10104)
28936Files: runtime/autoload/dist/ft.vim, runtime/doc/filetype.txt,
28937 runtime/filetype.vim, src/testdir/test_filetype.vim
28938
28939Patch 8.2.4721
28940Problem: Cooklang files are not recognized.
28941Solution: recognize *.cook files. (Goc Dundar, closes #10120)
28942Files: runtime/filetype.vim, src/testdir/test_filetype.vim
28943
28944Patch 8.2.4722
28945Problem: When a recording is ended with a mapped key that key is also
28946 recorded.
28947Solution: Remember the previous last_recorded_len. (closes #10122)
28948Files: src/getchar.c, src/testdir/test_registers.vim
28949
28950Patch 8.2.4723
28951Problem: The ModeChanged autocmd event is inefficient.
28952Solution: Avoid allocating memory. (closes #10134) Rename
28953 trigger_modechanged() to may_trigger_modechanged().
28954Files: src/misc1.c, src/proto/misc1.pro, src/edit.c, src/ex_docmd.c,
28955 src/ex_getln.c, src/insexpand.c, src/normal.c, src/terminal.c,
28956 src/autocmd.c
28957
28958Patch 8.2.4724
28959Problem: Current instance of last search pattern not easily spotted.
28960Solution: Add CurSearch highlighting. (closes #10133)
28961Files: runtime/doc/options.txt, runtime/doc/syntax.txt, src/highlight.c,
28962 src/match.c, src/normal.c, src/optiondefs.h, src/structs.h,
28963 src/vim.h, src/normal.c, src/testdir/test_search.vim,
28964 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line.dump,
28965 src/testdir/dumps/Test_hlsearch_cursearch_single_line_1.dump,
28966 src/testdir/dumps/Test_hlsearch_cursearch_single_line_2.dump,
28967 src/testdir/dumps/Test_hlsearch_cursearch_single_line_3.dump
28968
28969Patch 8.2.4725 (after 8.2.4724)
28970Problem: Unused variable in tiny build.
28971Solution: Add #ifdef.
28972Files: src/normal.c
28973
28974Patch 8.2.4726
28975Problem: Cannot use expand() to get the script name.
28976Solution: Support expand('<script>'). (closes #10121)
28977Files: runtime/doc/cmdline.txt, src/errors.h, src/ex_docmd.c,
28978 src/scriptfile.c, src/vim.h, src/testdir/test_expand.vim
28979
28980Patch 8.2.4727
28981Problem: Unused code.
28982Solution: Remove code and add #ifdefs. (Dominique Pellé, closes #10136)
28983Files: runtime/doc/editing.txt, runtime/doc/eval.txt,
28984 runtime/doc/vim9.txt, src/errors.h, src/option.c, src/search.c,
28985 src/proto/search.pro
28986
28987Patch 8.2.4728
28988Problem: No test that v:event cannot be modified.
28989Solution: Add a test. (closes #10139)
28990Files: src/testdir/test_autocmd.vim
28991
28992Patch 8.2.4729
28993Problem: HEEx and Surface templates do not need a separate filetype.
28994Solution: Use Eelixir for the similar filetypes. (Aaron Tinio, closes #10124)
28995Files: runtime/filetype.vim, src/testdir/test_filetype.vim
28996
28997Patch 8.2.4730
28998Problem: MS-Windows GUI: cannot use CTRL-/.
28999Solution: Handle the WM_KEYUP event. (Yasuhiro Matsumoto, closes #10141)
29000Files: src/gui_w32.c
29001
29002Patch 8.2.4731
29003Problem: The changelist index is not remembered per buffer.
29004Solution: Keep the changelist index per window and buffer. (closes #10135,
29005 closes #2173)
29006Files: src/buffer.c, src/evalfunc.c, src/structs.h,
29007 src/testdir/test_changelist.vim
29008
29009Patch 8.2.4732
29010Problem: Duplicate code to free fuzzy matches.
29011Solution: Bring back fuzmatch_str_free().
29012Files: src/search.c, src/proto/search.pro, src/cmdexpand.c
29013
29014Patch 8.2.4733 (after 8.2.4729)
29015Problem: HEEx and Surface do need a separate filetype.
29016Solution: Revert 8.2.4729. (closes #10147)
29017Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29018
29019Patch 8.2.4734
29020Problem: getcharpos() may change a mark position.
29021Solution: Copy the mark position. (closes #10148)
29022Files: src/eval.c, src/testdir/test_cursor_func.vim
29023
29024Patch 8.2.4735
29025Problem: Quickfix tests can be a bit hard to read.
29026Solution: Use heredoc instead of strings and line continuation. (Yegappan
29027 Lakshmanan, closes #10145)
29028Files: src/testdir/test_quickfix.vim
29029
29030Patch 8.2.4736
29031Problem: Build problem for Cygwin with Motif.
29032Solution: Undefine ControlMask. (Kelvin Lee, closes #10152)
29033Files: src/mbyte.c
29034
29035Patch 8.2.4737
29036Problem: // in JavaScript string recognized as comment.
29037Solution: Only check for linecomment if 'cindent' is set. (closes #10151)
29038Files: src/change.c, src/testdir/test_textformat.vim
29039
29040Patch 8.2.4738
29041Problem: Esc on commandline executes command instead of abandoning it.
29042Solution: Save and restore KeyTyped when removing the popup menu.
29043 (closes #10154)
29044Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
29045 src/testdir/dumps/Test_wildmenu_with_pum_foldexpr_1.dump,
29046 src/testdir/dumps/Test_wildmenu_with_pum_foldexpr_2.dump
29047
29048Patch 8.2.4739
29049Problem: Accessing freed memory after WinScrolled autocmd event.
29050Solution: Check the window pointer is still valid. (closes #10156)
29051 Remove the argument from may_trigger_winscrolled().
29052Files: src/window.c, src/proto/window.pro, src/edit.c, src/gui.c,
29053 src/main.c, src/testdir/test_autocmd.vim
29054
29055Patch 8.2.4740
29056Problem: When expand() fails there is no error message.
29057Solution: When 'verbose' is set give an error message.
29058Files: runtime/doc/builtin.txt, src/evalfunc.c,
29059 src/testdir/test_expand.vim
29060
29061Patch 8.2.4741 (after 8.2.4740)
29062Problem: Startup test fails.
29063Solution: Avoid an error for verbose expansion. Fix that the "0verbose"
29064 command modifier doesn't work.
29065Files: runtime/syntax/syntax.vim, runtime/syntax/synload.vim,
29066 src/structs.h, src/ex_docmd.c, src/testdir/test_excmd.vim
29067
29068Patch 8.2.4742
29069Problem: There is no way to start logging very early in startup.
29070Solution: Add the --log argument. Include the date in the start message in
29071 the log file. Avoid a duplicate message when forking. Log an
29072 executed shell command.
29073Files: runtime/doc/starting.txt, runtime/doc/channel.txt,
29074 src/main.c, src/channel.c, src/os_unix.c, src/os_win32.c,
29075 src/testdir/test_startup.vim
29076
29077Patch 8.2.4743
29078Problem: Clang 14 is available on CI.
29079Solution: Switch from clang 13 to 14. (closes #10157)
29080Files: .github/workflows/ci.yml
29081
29082Patch 8.2.4744
29083Problem: A terminal window can't use the bell.
29084Solution: Add bell support for the terminal window. (closes #10178)
29085Files: runtime/doc/options.txt, src/gui_w32.c, src/option.h,
29086 src/optionstr.c, src/terminal.c
29087
29088Patch 8.2.4745 (after 8.2.4744)
29089Problem: Using wrong flag for using bell in the terminal.
29090Solution: Change to use BO_TERM.
29091Files: src/terminal.c, src/misc1.c
29092
29093Patch 8.2.4746
29094Problem: Supercollider filetype not recognized.
29095Solution: Match file extentions and check file contents to detect
29096 supercollider. (closes #10142)
29097Files: runtime/filetype.vim, runtime/autoload/dist/ft.vim,
29098 src/testdir/test_filetype.vim
29099
29100Patch 8.2.4747
29101Problem: No filetype override for .sys files.
29102Solution: Add g:filetype_sys. (Patrick Meiser-Knosowski, closes #10181)
29103Files: runtime/doc/filetype.txt, runtime/autoload/dist/ft.vim,
29104 src/testdir/test_filetype.vim
29105
29106Patch 8.2.4748
29107Problem: Cannot use an imported function in a mapping.
29108Solution: Recognize <SID>name.Func.
29109Files: runtime/doc/vim9.txt, src/term.c, src/vim9execute.c,
29110 src/proto/vim9execute.pro, src/scriptfile.c,
29111 src/testdir/test_vim9_import.vim
29112
29113Patch 8.2.4749
29114Problem: <script> is not expanded in autocmd context.
29115Solution: Add the context to the pattern struct. (closes #10144)
29116 Rename AutoPatCmd to AutoPatCmd_T.
29117Files: src/autocmd.c, src/proto/autocmd.pro, src/scriptfile.c,
29118 src/structs.h, src/testdir/test_expand.vim
29119
29120Patch 8.2.4750
29121Problem: Small pieces of dead code.
29122Solution: Remove the dead code. (Goc Dundar, closes #10190) Rename the
29123 qftf_cb struct member to avoid confusion.
29124Files: src/ex_cmds.c, src/misc1.c, src/optionstr.c, src/quickfix.c
29125
29126Patch 8.2.4751 (after 8.2.4748)
29127Problem: Mapping <SID>name.Func does not work for script in autoload
29128 directory.
29129Solution: Use the # form for a script in the autoload directory.
29130 (closes #10186)
29131Files: src/term.c, src/testdir/test_vim9_import.vim
29132
29133Patch 8.2.4752
29134Problem: Wrong 'statusline' value can cause illegal memory access.
29135Solution: Properly check the value. (closes #10192)
29136Files: src/optionstr.c, src/testdir/test_options.vim
29137
29138Patch 8.2.4753
29139Problem: Error from setting an option is silently ignored.
29140Solution: Handle option value errors better. Fix uses of N_().
29141Files: src/option.c, src/proto/option.pro, src/optionstr.c,
29142 src/channel.c, src/crypt.c, src/diff.c, src/edit.c,
29143 src/eval.c, src/evalfunc.c, src/evalvars.c, src/ex_cmds2.c,
29144 src/ex_docmd.c, src/ex_getln.c, src/getchar.c, src/gui.c,
29145 src/gui_gtk_x11.c, src/help.c, src/highlight.c, src/if_tcl.c,
29146 src/main.c, src/memline.c, src/message_test.c,
29147 src/popupmenu.c, src/quickfix.c, src/scriptfile.c, src/spell.c,
29148 src/spellfile.c, src/term.c, src/undo.c, src/vim9script.c
29149
29150Patch 8.2.4754
29151Problem: Still using cached values after unsetting some known environment
29152 variables.
29153Solution: Take care of the side effects. (closes #10194)
29154Files: src/evalfunc.c, src/evalvars.c, src/misc1.c, src/proto/misc1.pro,
29155 src/vim9execute.c, src/optionstr.c, src/testdir/test_environ.vim
29156
29157Patch 8.2.4755
29158Problem: Cannot use <SID>FuncRef in completion spec.
29159Solution: Dereference a function name in another way. (closes #10197)
29160Files: src/eval.c, src/testdir/test_vim9_import.vim
29161
29162Patch 8.2.4756 (after 8.2.4754)
29163Problem: Build error without the +eval feature.
29164Solution: Adjust #ifdefs.
29165Files: src/misc1.c
29166
29167Patch 8.2.4757
29168Problem: List of libraries to suppress lsan errors is outdated.
29169Solution: Add another library. (closes #10201)
29170Files: src/testdir/lsan-suppress.txt
29171
29172Patch 8.2.4758
29173Problem: When using an LSP channel want to get the message ID.
29174Solution: Have ch_sendexpr() return the ID. (Yegappan Lakshmanan,
29175 closes #10202)
29176Files: runtime/doc/channel.txt, src/channel.c, src/evalfunc.c,
29177 src/testdir/test_channel.vim
29178
29179Patch 8.2.4759
29180Problem: CurSearch highlight does not work for multi-line match.
29181Solution: Check cursor position before adjusting columns. (closes #10133)
29182Files: src/structs.h, src/match.c, src/testdir/test_search.vim,
29183 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line.dump,
29184 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line_1.dump,
29185 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line_2.dump,
29186 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line_3.dump,
29187 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line_4.dump,
29188 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line_5.dump
29189
29190Patch 8.2.4760
29191Problem: Using matchfuzzy() on a long list can take a while.
29192Solution: Add a limit to the number of matches. (Yasuhiro Matsumoto,
29193 closes #10189)
29194Files: runtime/doc/builtin.txt, src/search.c,
29195 src/testdir/test_matchfuzzy.vim
29196
29197Patch 8.2.4761
29198Problem: Documentation for using LSP messages is incomplete.
29199Solution: Update the documentation. (Yegappan Lakshmanan, closes #10206)
29200Files: runtime/doc/channel.txt
29201
29202Patch 8.2.4762
29203Problem: Using freed memory when using synstack() and synID() in WinEnter.
29204Solution: Check using the syntax window. (closes #10204)
29205Files: src/syntax.c, src/testdir/test_syntax.vim
29206
29207Patch 8.2.4763
29208Problem: Using invalid pointer with "V:" in Ex mode.
29209Solution: Correctly handle the command being changed to "+".
29210Files: src/ex_docmd.c, src/testdir/test_ex_mode.vim
29211
29212Patch 8.2.4764
29213Problem: CI uses an older gcc version.
29214Solution: Use GCC 11. (closes #10185)
29215Files: .github/workflows/ci.yml, src/testdir/lsan-suppress.txt
29216
29217Patch 8.2.4765
29218Problem: Function matchfuzzy() sorts too many items.
29219Solution: Only put matches in the array. (Yegappan Lakshmanan,
29220 closes #10208)
29221Files: src/search.c
29222
29223Patch 8.2.4766
29224Problem: KRL files using "deffct" not recognized.
29225Solution: Adjust the pattern used for matching. (Patrick Meiser-Knosowski,
29226 closes #10200)
29227Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim
29228
29229Patch 8.2.4767
29230Problem: Openscad files are not recognized.
29231Solution: Add a filetype pattern. (Niklas Adam, closes #10199)
29232Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29233
29234Patch 8.2.4768
29235Problem: CI: codecov upload sometimes does not work.
29236Solution: Use action v3 instead of v2. (closes #10209)
29237Files: .github/workflows/ci.yml
29238
29239Patch 8.2.4769
29240Problem: Build warning with UCRT.
29241Solution: Adjust #ifdef for _wenviron. (John Marriott)
29242Files: src/evalfunc.c
29243
29244Patch 8.2.4770
29245Problem: Cannot easily mix expression and heredoc.
29246Solution: Support `=expr` in heredoc. (Yegappan Lakshmanan, closes #10138)
29247Files: runtime/doc/eval.txt, src/evalvars.c, src/userfunc.c,
29248 src/testdir/test_let.vim, src/testdir/test_vim9_assign.vim
29249
29250Patch 8.2.4771
29251Problem: Coverity warns for not checking return value.
29252Solution: Check return value of rettv_dict_alloc().
29253Files: src/channel.c
29254
29255Patch 8.2.4772
29256Problem: Old Coverity warning for not checking ftell() return value.
29257Solution: Check return value of fseek() and ftell().
29258Files: src/misc1.c
29259
29260Patch 8.2.4773
29261Problem: Build failure without the +eval feature.
29262Solution: Use other error message. Avoid warnings.
29263Files: src/misc1.c, src/cindent.c, src/term.c
29264
29265Patch 8.2.4774
29266Problem: Crash when using a number for lambda name.
29267Solution: Check the type of the lambda reference.
29268Files: src/eval.c, src/errors.h, src/testdir/test_lambda.vim
29269
29270Patch 8.2.4775
29271Problem: SpellBad highlighting does not work in Konsole.
29272Solution: Do not keep t_8u defined for Konsole. Redraw when t_8u is reset.
29273 (closes #10177)
29274Files: src/term.c
29275
29276Patch 8.2.4776
29277Problem: GTK: 'lines' and 'columns' may change during startup.
29278Solution: Ignore stale GTK resize events. (Ernie Rael, closes #10179)
29279Files: src/gui_gtk_x11.c
29280
29281Patch 8.2.4777 (after 8.2.4775)
29282Problem: Screendump tests fail because of a redraw.
29283Solution: Do not output t_8u before receiving termresponse. Redraw only
29284 when t_8u is not reset and termresponse is received.
29285Files: src/term.c
29286
29287Patch 8.2.4778
29288Problem: Pacman files use dosini filetype.
29289Solution: Use conf instead. (Chaoren Lin, closes #10213)
29290Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29291
29292Patch 8.2.4779
29293Problem: lsan suppression is too version specific.
29294Solution: Leave out the version number. (Christian Brabandt, closes #10214)
29295Files: src/testdir/lsan-suppress.txt
29296
29297Patch 8.2.4780
29298Problem: Parsing an LSP message fails when it is split.
29299Solution: Collapse the received data before parsing. (Yegappan Lakshmanan,
29300 closes #10215)
29301Files: runtime/doc/channel.txt, src/channel.c,
29302 src/testdir/test_channel.vim, src/testdir/test_channel_lsp.py
29303
29304Patch 8.2.4781
29305Problem: Maxima files are not recognized.
29306Solution: Add patterns to detect Maxima files. (Doron Behar, closes #10211)
29307Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29308
29309Patch 8.2.4782
29310Problem: Accessing freed memory.
29311Solution: Clear evalarg after checking for trailing characters.
29312 (issue #10218)
29313Files: src/userfunc.c, src/testdir/test_lambda.vim
29314
29315Patch 8.2.4783
29316Problem: Coverity warns for leaking memory.
29317Solution: Use another strategy freeing "theline".
29318Files: src/evalvars.c
29319
29320Patch 8.2.4784
29321Problem: Lamba test with timer is flaky.
29322Solution: Adjust sleep time on retry.
29323Files: src/testdir/test_lambda.vim
29324
29325Patch 8.2.4785
29326Problem: Visual mode not stopped early enough if win_gotoid() goes to
29327 another buffer. (Sergey Vlasov)
29328Solution: Stop Visual mode before jumping to another buffer. (closes #10217)
29329Files: src/evalwindow.c, src/testdir/test_vim9_builtin.vim,
29330 src/testdir/dumps/Test_win_gotoid_1.dump,
29331 src/testdir/dumps/Test_win_gotoid_2.dump,
29332 src/testdir/dumps/Test_win_gotoid_3.dump
29333
29334Patch 8.2.4786 (after 8.2.4785)
29335Problem: Test for win_gotoid() in Visual mode fails on Mac.
29336Solution: Skip the test on MacOS.
29337Files: src/testdir/test_vim9_builtin.vim
29338
29339Patch 8.2.4787
29340Problem: prop_find() does not find the right property.
29341Solution: Fix the scan order. (closes #10220)
29342Files: src/textprop.c, src/testdir/test_textprop.vim
29343
29344Patch 8.2.4788
29345Problem: Large payload for LSP message not tested.
29346Solution: Add a test with a large LSP payload. (Yegappan Lakshmanan,
29347 closes #10223)
29348Files: src/channel.c, src/testdir/test_channel.vim,
29349 src/testdir/test_channel_lsp.py
29350
29351Patch 8.2.4789
29352Problem: The cursor may be in the in wrong place when using :redraw while
29353 editing the cmdline.
29354Solution: When editing the command line let :redraw update the command line
29355 too. (closes #10210)
29356Files: src/ex_docmd.c, src/testdir/test_cmdline.vim,
29357 src/testdir/dumps/Test_redraw_in_autocmd_1.dump,
29358 src/testdir/dumps/Test_redraw_in_autocmd_2.dump
29359
29360Patch 8.2.4790
29361Problem: Lilypond filetype not recognized.
29362Solution: Add patterns for lilypond. (Doug Kearns)
29363Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29364
29365Patch 8.2.4791
29366Problem: Autocmd events triggered in different order when reusing an empty
29367 buffer.
29368Solution: Call buff_freeall() earlier. (Charlie Groves, closes #10198)
29369Files: src/buffer.c, src/testdir/test_autocmd.vim
29370
29371Patch 8.2.4792
29372Problem: Indent operator creates an undo entry for every line.
29373Solution: Create one undo entry for all lines. (closes #10227)
29374Files: src/indent.c, src/testdir/test_indent.vim
29375
29376Patch 8.2.4793
29377Problem: Recognizing Maxima filetype even though it might be another.
29378Solution: Remove *.mc and *.dem patterns from Maxima files
29379Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29380
29381Patch 8.2.4794
29382Problem: Compiler warning for not initialized variable.
29383Solution: Initialize the variable. (John Marriott)
29384Files: src/indent.c
29385
29386Patch 8.2.4795
29387Problem: 'cursorbind' scrolling depends on whether 'cursorline' is set.
29388Solution: Always call validate_cursor(). (Christian Brabandt, closes #10230,
29389 closes #10014)
29390Files: src/move.c, src/testdir/README.txt,
29391 src/testdir/test_cursorline.vim,
29392 src/testdir/dumps/Test_hor_scroll_1.dump,
29393 src/testdir/dumps/Test_hor_scroll_2.dump,
29394 src/testdir/dumps/Test_hor_scroll_3.dump,
29395 src/testdir/dumps/Test_hor_scroll_4.dump
29396
29397Patch 8.2.4796 (after 8.2.4795)
29398Problem: File left behind after running cursorline tests.
29399Solution: Uncomment the line that deletes the file.
29400Files: src/testdir/test_cursorline.vim
29401
29402Patch 8.2.4797
29403Problem: getwininfo() may get oudated values.
29404Solution: Make sure w_botline is up-to-date. (closes #10226)
29405Files: src/evalwindow.c, src/testdir/test_bufwintabinfo.vim
29406
29407Patch 8.2.4798
29408Problem: t_8u option was reset even when set by the user.
29409Solution: Only reset t_8u when using the default value. (closes #10239)
29410Files: src/term.c
29411
29412Patch 8.2.4799
29413Problem: Popup does not use correct topline.
29414Solution: Also add one when firstline is negative. (closes #10229)
29415Files: src/popupwin.c, src/testdir/test_popupwin.vim
29416
29417Patch 8.2.4800 (after 8.2.4798)
29418Problem: Missing test update for adjusted t_8u behavior.
29419Solution: Update and extend the test.
29420Files: src/testdir/test_termcodes.vim
29421
29422Patch 8.2.4801 (after 8.2.4795)
29423Problem: Fix for cursorbind fix not fully tested.
29424Solution: Add another test case. (Christian Brabandt, closes #10240)
29425Files: src/testdir/test_cursorline.vim,
29426 src/testdir/dumps/Test_hor_scroll_5.dump
29427
29428Patch 8.2.4802
29429Problem: Test is not cleaned up.
29430Solution: Make test clean up after itself. Avoid NUL. (closes #10233)
29431Files: src/testdir/test_autocmd.vim
29432
29433Patch 8.2.4803
29434Problem: WinScrolled not always triggered when scrolling with the mouse.
29435Solution: Add calls to may_trigger_winscrolled(). (closes #10246)
29436Files: src/mouse.c, src/testdir/test_autocmd.vim
29437
29438Patch 8.2.4804
29439Problem: Expression in heredoc doesn't work for compiled function.
29440Solution: Implement compiling the heredoc expressions. (Yegappan Lakshmanan,
29441 closes #10232)
29442Files: runtime/doc/eval.txt, src/evalvars.c, src/proto/evalvars.pro,
29443 src/ex_getln.c, src/vim9compile.c, src/proto/vim9compile.pro,
29444 src/testdir/test_vim9_assign.vim
29445
29446Patch 8.2.4805
29447Problem: CurSearch used for all matches in current line.
29448Solution: Don't use the non-zero line count. (closes #10247)
29449Files: src/match.c, src/testdir/test_search.vim,
29450 src/testdir/dumps/Test_hlsearch_cursearch_single_line_1.dump,
29451 src/testdir/dumps/Test_hlsearch_cursearch_single_line_2.dump,
29452 src/testdir/dumps/Test_hlsearch_cursearch_single_line_2a.dump,
29453 src/testdir/dumps/Test_hlsearch_cursearch_single_line_2b.dump
29454
29455Patch 8.2.4806
29456Problem: A mapping using <LeftDrag> does not start Select mode.
29457Solution: When checking for starting select mode with the mouse also do this
29458 when there is typeahead. (closes #10249)
29459Files: src/normal.c
29460
29461Patch 8.2.4807
29462Problem: Processing key events in Win32 GUI is not ideal.
29463Solution: Improve processing of key events. (closes #10155)
29464Files: src/gui_w32.c
29465
29466Patch 8.2.4808
29467Problem: Unused item in engine struct.
29468Solution: Remove "expr". Add comment with tags.
29469Files: src/regexp.h
29470
29471Patch 8.2.4809
29472Problem: Various things not properly tested.
29473Solution: Add various test cases. (Yegappan Lakshmanan, closes #10259)
29474Files: src/testdir/test_blob.vim, src/testdir/test_debugger.vim,
29475 src/testdir/test_listdict.vim, src/testdir/test_vim9_builtin.vim,
29476 src/testdir/test_vim9_import.vim, src/testdir/test_vim9_script.vim
29477
29478Patch 8.2.4810 (after 8.2.4808)
29479Problem: Missing changes in one file.
29480Solution: Also change the struct initializers.
29481Files: src/regexp.c
29482
29483Patch 8.2.4811 (after 8.2.4807)
29484Problem: Win32 GUI: caps lock doesn't work.
29485Solution: Handle VK_CAPITAL. (closes #10260, closes #10258)
29486Files: src/gui_w32.c
29487
29488Patch 8.2.4812
29489Problem: Unused struct item.
29490Solution: Remove "lines" match_T. Simplify the code. (closes #10256)
29491Files: src/match.c, src/structs.h
29492
29493Patch 8.2.4813
29494Problem: Pasting text while indent folding may mess up folds.
29495Solution: Adjust the way folds are split. (Brandon Simmons, closes #10254)
29496Files: src/fold.c, src/testdir/test_fold.vim
29497
29498Patch 8.2.4814
29499Problem: Possible to leave a popup window with win_gotoid().
29500Solution: Give an error when trying to leave a popup window with
29501 win_gotoid(). (closes #10253)
29502Files: src/evalwindow.c, src/testdir/test_terminal3.vim
29503
29504Patch 8.2.4815 (after 8.2.4776)
29505Problem: Cannot build with older GTK version.
29506Solution: Use gtk_window_get_size() instead of gdk_window_get_width() and
29507 gdk_window_get_height(). (Ernie Rael, closes #10257)
29508Files: src/gui_gtk_x11.c
29509
29510Patch 8.2.4816
29511Problem: Still using older codecov app in some places of CI.
29512Solution: Use v3.1.0. (closes #10209)
29513Files: .github/workflows/ci.yml
29514
29515Patch 8.2.4817
29516Problem: Win32 GUI: modifiers are not always used.
29517Solution: Handle more modifiers. (closes #10269)
29518Files: src/gui_w32.c
29519
29520Patch 8.2.4818 (after 8.2 4806)
29521Problem: No test for what 8.2.4806 fixes.
29522Solution: Add a test. (closes #10272)
29523Files: src/testdir/test_mapping.vim
29524
29525Patch 8.2.4819
29526Problem: Unmapping simplified keys also deletes other mapping.
29527Solution: Only unmap a mapping with m_simplified set. (closes #10270)
29528Files: src/map.c, src/testdir/test_mapping.vim
29529
29530Patch 8.2.4820
29531Problem: No simple programmatic way to find a specific mapping.
29532Solution: Add getmappings(). (Ernie Rael, closes #10273)
29533Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
29534 src/map.c, src/proto/map.pro, src/testdir/test_maparg.vim
29535
29536Patch 8.2.4821
29537Problem: Crash when imported autoload script was deleted.
29538Solution: Initialize local variable. (closes #10274) Give a more meaningful
29539 error message.
29540Files: src/eval.c, src/vim9script.c, src/testdir/test_vim9_import.vim
29541
29542Patch 8.2.4822
29543Problem: Setting ufunc to NULL twice.
29544Solution: Set ufunc to NULL in find_exported(). (closes #19275)
29545Files: src/eval.c, src/vim9script.c
29546
29547Patch 8.2.4823
29548Problem: Concatenating more than 2 strings in a :def function is
29549 inefficient.
29550Solution: Add a count to the CONCAT instruction. (closes #10276)
29551Files: src/vim9.h, src/vim9cmds.c, src/vim9compile.c, src/vim9execute.c,
29552 src/vim9expr.c, src/vim9instr.c, src/proto/vim9instr.pro,
29553 src/testdir/test_vim9_disassemble.vim
29554
29555Patch 8.2.4824
29556Problem: Expression is evaluated multiple times.
29557Solution: Evaluate expression once and store the result. (closes #10278)
29558Files: src/map.c
29559
29560Patch 8.2.4825
29561Problem: Can only get a list of mappings.
29562Solution: Add the optional {abbr} argument. (Ernie Rael, closes #10277)
29563 Rename to maplist(). Rename test file.
29564Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
29565 src/map.c, src/proto/map.pro, src/testdir/test_maparg.vim,
29566 src/testdir/test_map_functions.vim, src/testdir/Make_all.mak
29567
29568Patch 8.2.4826
29569Problem: .cshtml files are not recognized.
29570Solution: Use html filetype for .cshtml files. (Julien Voisin, closes #10212)
29571Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29572
29573Patch 8.2.4827
29574Problem: Typo in variable name. (Gabriel Dupras)
29575Solution: Rename the variable.
29576Files: src/map.c
29577
29578Patch 8.2.4828
29579Problem: Fix for unmapping simplified key not fully tested.
29580Solution: Add a test case. (closes #10292)
29581Files: src/map.c, src/testdir/test_mapping.vim
29582
29583Patch 8.2.4829
29584Problem: A key may be simplified to NUL.
29585Solution: Use K_ZERO instead. Use macros instead of hard coded values.
29586 (closes #10290)
29587Files: src/getchar.c, src/misc2.c, src/testdir/test_termcodes.vim
29588
29589Patch 8.2.4830
29590Problem: Possible endless loop if there is unused typahead.
29591Solution: Only loop when the typeahead changed.
29592Files: src/channel.c
29593
29594Patch 8.2.4831
29595Problem: Crash when using maparg() and unmapping simplified keys.
29596Solution: Do not keep a mapblock pointer. (closes #10294)
29597Files: src/map.c, src/testdir/test_map_functions.vim
29598
29599Patch 8.2.4832
29600Problem: Passing zero instead of NULL to a pointer argument.
29601Solution: Use NULL. (closes #10296)
29602Files: src/getchar.c, src/term.c
29603
29604Patch 8.2.4833
29605Problem: Failure of mapping not checked for.
29606Solution: Check return value of ins_typebuf(). (closes #10299)
29607Files: src/getchar.c, src/term.c, src/testdir/test_termcodes.vim
29608
29609Patch 8.2.4834
29610Problem: Vim9: some lines not covered by tests.
29611Solution: Add a few more tests. Remove dead code.
29612Files: src/vim9execute.c, src/vim9instr.c, src/vim9.h,
29613 src/testdir/test_vim9_expr.vim
29614
29615Patch 8.2.4835
29616Problem: Vim9: some lines not covered by tests.
29617Solution: Add a few more tests. Fix disassemble output.
29618Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim,
29619 src/testdir/test_vim9_script.vim,
29620 src/testdir/test_vim9_disassemble.vim
29621
29622Patch 8.2.4836
29623Problem: Vim9: some lines not covered by tests.
29624Solution: Remove dead code. Add disassemble tests.
29625Files: src/vim9execute.c, src/vim9.h,
29626 src/testdir/test_vim9_disassemble.vim
29627
29628Patch 8.2.4837 (after patch 8.2.0919
29629Problem: Modifiers not simplified when timed out or using feedkeys() with
29630 'n" flag.
29631Solution: Adjust how mapped flag and timeout are used. (closes #10305)
29632Files: src/getchar.c, src/testdir/test_paste.vim,
29633 src/testdir/test_termcodes.vim
29634
29635Patch 8.2.4838
29636Problem: Checking for absolute path is not trivial.
29637Solution: Add isabsolutepath(). (closes #10303)
29638Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
29639 src/filepath.c, src/proto/filepath.pro,
29640 src/testdir/test_functions.vim
29641
29642Patch 8.2.4839
29643Problem: Compiler warning for unused argument.
29644Solution: Add "UNUSED".
29645Files: src/gui_gtk_x11.c
29646
29647Patch 8.2.4840
29648Problem: Heredoc expression evaluated even when skipping.
29649Solution: Don't evaluate when "skip" is set. (closes #10306)
29650Files: src/evalvars.c, src/testdir/test_let.vim
29651
29652Patch 8.2.4841
29653Problem: Empty string considered an error for expand() when 'verbose' is
29654 set. (Christian Brabandt)
29655Solution: Do not give an error for an empty result. (closes #10307)
29656Files: src/evalfunc.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
29657 src/filepath.c, src/testdir/test_expand_func.vim
29658
29659Patch 8.2.4842 (after 8.2.4841)
29660Problem: expand("%:p") is not empty when there is no buffer name.
29661Solution: When ignoring errors still return NULL. (closes #10311)
29662Files: src/ex_docmd.c, src/testdir/test_expand_func.vim
29663
29664Patch 8.2.4843 (after 8.2.4807)
29665Problem: Win32 GUI: Treating CTRL + ALT as AltGr is not backwards
29666 compatible. (Axel Bender)
29667Solution: Make a difference between left and right menu keys.
29668 (closes #10308)
29669Files: src/gui_w32.c
29670
29671Patch 8.2.4844
29672Problem: <C-S-I> is simplified to <S-Tab>.
29673Solution: Do not simplify CTRL if there is also SHIFT. (closes #10313)
29674Files: src/getchar.c, src/testdir/test_gui.vim
29675
29676Patch 8.2.4845
29677Problem: Duplicate code.
29678Solution: Move code below if/else. (closes #10314)
29679Files: src/misc1.c
29680
29681Patch 8.2.4846 (after 8.2.4844)
29682Problem: Termcodes test fails.
29683Solution: use CTRL-SHIFT-V to insert an unsimplified key. (closes #10316)
29684Files: runtime/doc/cmdline.txt, src/edit.c, src/getchar.c,
29685 src/testdir/test_gui.vim
29686
29687Patch 8.2.4847
29688Problem: Crash when using uninitialized function pointer.
29689Solution: Check for NULL pointer. (closes #10319, closes #10319)
29690Files: src/eval.c, src/testdir/test_vim9_script.vim
29691
29692Patch 8.2.4848
29693Problem: Local completion with mappings and simplification not working.
29694Solution: Fix local completion <C-N>/<C-P> mappings not ignored if keys are
29695 not simplified. (closes #10323)
29696Files: src/getchar.c, src/testdir/test_popup.vim
29697
29698Patch 8.2.4849
29699Problem: Gleam filetype not detected.
29700Solution: Add a pattern for Gleam files. (Mathias Jean Johansen,
29701 closes #10326)
29702Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29703
29704Patch 8.2.4850
29705Problem: Mksession mixes up "tabpages" and "curdir" arguments.
29706Solution: Correct logic for storing tabpage in session. (closes #10312)
29707Files: src/session.c, src/testdir/test_mksession.vim
29708
29709Patch 8.2.4851
29710Problem: Compiler warning for uninitialized variable.
29711Solution: Use another variable to decide to restore option values.
29712Files: src/session.c
29713
29714Patch 8.2.4852
29715Problem: ANSI color index to RGB value not correct.
29716Solution: Convert the cterm index to ANSI index. (closes #10321,
29717 closes #9836))
29718Files: src/term.c
29719
29720Patch 8.2.4853
29721Problem: CI with FreeBSD is a bit outdated.
29722Solution: Use 12.3 instead of 12.1. (closes #10333)
29723Files: .cirrus.yml
29724
29725Patch 8.2.4854
29726Problem: Array size does not match usage.
29727Solution: Make array size 3 instead of 4. (Christian Brabandt, closes #10336)
29728Files: src/term.c
29729
29730Patch 8.2.4855
29731Problem: Robot files are not recognized.
29732Solution: Add patterns for robot files. (Zoe Roux, closes #10339)
29733Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29734
29735Patch 8.2.4856
29736Problem: MinGW compiler complains about unknown escape sequence.
29737Solution: Avoid using a backslash in path. (Christian Brabandt,
29738 closes #10337)
29739Files: .github/workflows/ci.yml
29740
29741Patch 8.2.4857
29742Problem: Yaml indent for multiline is wrong.
29743Solution: Adjust patterns. (closes #10328, closes #8740)
29744Files: runtime/indent/yaml.vim, runtime/indent/testdir/yaml.in,
29745 runtime/indent/testdir/yaml.ok
29746
29747Patch 8.2.4858
29748Problem: K_SPECIAL may be escaped twice.
29749Solution: Avoid double escaping. (closes #10340)
29750Files: src/highlight.c, src/misc2.c, src/proto/misc2.pro, src/term.c,
29751 src/typval.c, src/testdir/test_eval_stuff.vim,
29752 src/testdir/test_feedkeys.vim, src/testdir/test_functions.vim,
29753 src/testdir/test_mapping.vim
29754
29755Patch 8.2.4859
29756Problem: wget2 files are not recognized.
29757Solution: Add patterns to recognize wget2. (Doug Kearns)
29758Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29759
29760Patch 8.2.4860
29761Problem: MS-Windows: always uses current directory for executables.
29762Solution: Check the NoDefaultCurrentDirectoryInExePath environment variable.
29763 (Yasuhiro Matsumoto, closes #10341)
29764Files: runtime/doc/builtin.txt, src/os_win32.c,
29765 src/testdir/test_functions.vim
29766
29767Patch 8.2.4861
29768Problem: It is not easy to restore saved mappings.
29769Solution: Make mapset() accept a dict argument. (Ernie Rael, closes #10295)
29770Files: runtime/doc/builtin.txt, src/errors.h, src/evalfunc.c, src/map.c,
29771 src/typval.c, src/proto/typval.pro,
29772 src/testdir/test_map_functions.vim,
29773 src/testdir/test_vim9_builtin.vim
29774
29775Patch 8.2.4862
29776Problem: Vim9: test may fail when run with valgrind.
29777Solution: Wait longer for callback if needed.
29778Files: src/testdir/test_vim9_script.vim
29779
29780Patch 8.2.4863
29781Problem: Accessing freed memory in test without the +channel feature.
29782 (Dominique Pellé)
29783Solution: Do not generted PUSHCHANNEL or PUSHJOB if they are not
29784 implemented. (closes #10350)
29785Files: src/vim9instr.c, src/errors.h, src/vim9compile.c,
29786 src/testdir/test_vim9_script.vim
29787
29788Patch 8.2.4864 (after 8.2.4863)
29789Problem: Vim9: script test fails.
29790Solution: Remove "if" around declaration.
29791Files: src/testdir/test_vim9_script.vim
29792
29793Patch 8.2.4865
29794Problem: :startinsert right after :stopinsert does not work when popup menu
29795 is still visible.
29796Solution: Use ins_compl_active() instead of pum_visible(). (closes #10352)
29797Files: src/edit.c, src/testdir/test_ins_complete.vim
29798
29799Patch 8.2.4866
29800Problem: Duplicate code in "get" functions.
29801Solution: Use get_var_from() for getwinvar(), gettabvar(), gettabwinvar()
29802 and getbufvar(). (closes #10335)
29803Files: src/evalvars.c
29804
29805Patch 8.2.4867
29806Problem: Listing of mapping with K_SPECIAL is wrong.
29807Solution: Adjust escaping of special characters. (closes #10351)
29808Files: src/map.c, src/message.c, src/testdir/test_mapping.vim
29809
29810Patch 8.2.4868
29811Problem: When closing help window autocmds triggered for the wrong window.
29812Solution: Figure out the new current window earlier. (closes #10348)
29813Files: src/window.c, src/testdir/test_help.vim
29814
29815Patch 8.2.4869
29816Problem: Expression in command block does not look after NL.
29817Solution: Skip over NL to check what follows. (closes #10358)
29818Files: src/eval.c, src/proto/eval.pro, src/vim9script.c,
29819 src/testdir/test_usercommands.vim
29820
29821Patch 8.2.4870
29822Problem: Vim9: expression in :substitute is not compiled.
29823Solution: Use an INSTR instruction if possible. (closes #10334)
29824Files: src/evalfunc.c, src/regexp.c, src/vim9execute.c, src/vim9expr.c,
29825 src/testdir/test_vim9_builtin.vim,
29826 src/testdir/test_vim9_disassemble.vim
29827
29828Patch 8.2.4871
29829Problem: Vim9: in :def function no error for using a range with a command
29830 that does not accept one.
29831Solution: Check for the command to accept a range. (closes #10330)
29832Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
29833
29834Patch 8.2.4872
29835Problem: Vim9: no error for using an expression only at the script level
29836 when followed by an empty line.
29837Solution: Do not check the line number but whether something follows.
29838 (closes #10357)
29839Files: src/ex_eval.c, src/testdir/test_vim9_cmd.vim
29840
29841Patch 8.2.4873
29842Problem: Vim9: using "else" differs from using "endif/if !cond".
29843Solution: Leave the block and enter another one. (closes #10320)
29844Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
29845
29846Patch 8.2.4874
29847Problem: Win32 GUI: horizontal scroll wheel not handled properly.
29848Solution: Also handle WM_MOUSEHWHEEL. (closes #10309)
29849Files: src/gui_w32.c
29850
29851Patch 8.2.4875
29852Problem: MS-Windows: some .exe files are not recognized.
29853Solution: Parse APPEXECLINK junctions. (closes #10302)
29854Files: src/os_mswin.c, src/proto/os_mswin.pro, src/os_win32.c,
29855 src/os_win32.h, src/testdir/test_functions.vim
29856
29857Patch 8.2.4876
29858Problem: MS-Windows: Shift-BS results in strange character in powershell.
29859Solution: Add K_S_BS. (Christian Brabandt, closes #10283, closes #10279)
29860Files: src/edit.c, src/keymap.h, src/term.c, src/testdir/shared.vim,
29861 src/testdir/test_edit.vim
29862
29863Patch 8.2.4877
29864Problem: MS-Windows: Using Normal colors for termguicolors causes problems.
29865Solution: Do not use Normal colors to set sg_gui_fg and sg_gui_bg.
29866 (Christian Brabandt, closes #10317, closes #10241)
29867Files: src/highlight.c
29868
29869Patch 8.2.4878
29870Problem: Valgrind warning for using uninitialized variable.
29871Solution: Initialize the type of newtv.
29872Files: src/strings.c
29873
29874Patch 8.2.4879
29875Problem: Screendump test may fail when using valgrind.
29876Solution: Wait longer for the first screendump.
29877Files: src/testdir/test_vim9_builtin.vim, src/testdir/screendump.vim
29878
29879Patch 8.2.4880
29880Problem: Vim9: misplaced elseif causes invalid memory access.
29881Solution: Check cs_idx not to be negative.
29882Files: src/ex_eval.c
29883
29884Patch 8.2.4881
29885Problem: "P" in Visual mode still changes some registers.
29886Solution: Make "P" in Visual mode not change any register. (Shougo
29887 Matsushita, closes #10349)
29888Files: runtime/doc/change.txt, runtime/doc/index.txt,
29889 runtime/doc/visual.txt, src/normal.c, src/testdir/test_visual.vim
29890
29891Patch 8.2.4882
29892Problem: Cannot make 'breakindent' use a specific column.
29893Solution: Add the "column" entry in 'breakindentopt'. (Christian Brabandt,
29894 closes #10362, closes #10325)
29895Files: runtime/doc/options.txt, src/indent.c, src/structs.h,
29896 src/testdir/test_breakindent.vim
29897
29898Patch 8.2.4883
29899Problem: String interpolation only works in heredoc.
29900Solution: Support interpolated strings. Use syntax for heredoc consistent
29901 with strings, similar to C#. (closes #10327)
29902Files: runtime/doc/eval.txt, src/errors.h, src/eval.c, src/evalvars.c,
29903 src/proto/evalvars.pro, src/typval.c, src/proto/typval.pro,
29904 src/vim9compile.c, src/proto/vim9compile.pro, src/vim9expr.c,
29905 src/testdir/test_debugger.vim, src/testdir/test_expr.vim,
29906 src/testdir/test_let.vim, src/testdir/test_vim9_assign.vim,
29907 src/testdir/test_vim9_disassemble.vim
29908
29909Patch 8.2.4884
29910Problem: Test fails without the job/channel feature. (Dominique Pellé)
29911Solution: Add condition.
29912Files: src/testdir/test_vim9_script.vim
29913
29914Patch 8.2.4885 (after 8.2.4884)
29915Problem: Test fails with the job/channel feature.
29916Solution: Move check for job/channel separately.
29917Files: src/testdir/test_vim9_script.vim
29918
29919Patch 8.2.4886
29920Problem: Vim9: redir in skipped block seen as assignment.
29921Solution: Check for valid assignment.
29922Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim
29923
29924Patch 8.2.4887
29925Problem: Channel log does not show invoking a timer callback.
29926Solution: Add a ch_log() call.
29927Files: src/time.c
29928
29929Patch 8.2.4888
29930Problem: Line number of lambda ignores line continuation.
29931Solution: Use the line number of where the arguments are. Avoid outputting
29932 "..." twice. (closes #10364)
29933Files: src/userfunc.c
29934
29935Patch 8.2.4889
29936Problem: CI only tests with FreeBSD 12.
29937Solution: Also test with FreeBSD 13. (closes #10366)
29938Files: .cirrus.yml
29939
29940Patch 8.2.4890
29941Problem: Inconsistent capitalization in error messages.
29942Solution: Make capitalization consistent. (Doug Kearns)
29943Files: src/errors.h
29944
29945Patch 8.2.4891
29946Problem: Vim help presentation could be better.
29947Solution: Add an imported file for extra Vim help support. Show highlight
29948 names in the color they have.
29949Files: Filelist, runtime/import/dist/vimhelp.vim
29950
29951Patch 8.2.4892
29952Problem: Test failures because of changed error messages.
29953Solution: Adjust the exptected error messages.
29954Files: src/testdir/test_vim9_assign.vim,
29955 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim,
29956 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim,
29957 src/testdir/test_expand.vim, src/testdir/test_tcl.vim,
29958 src/testdir/test_vimscript.vim
29959
29960Patch 8.2.4893 (after 8.2.4891)
29961Problem: Distributed import files are not installed.
29962Solution: Add rules to Makefile and NSIS.
29963Files: src/Makefile, nsis/gvim.nsi
29964
29965Patch 8.2.4894
29966Problem: MS-Windows: not using italics.
29967Solution: Use italics. Simplify the code. (closes #10359)
29968Files: src/term.c
29969
29970Patch 8.2.4895
29971Problem: Buffer overflow with invalid command with composing chars.
29972Solution: Check that the whole character fits in the buffer.
29973Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
29974
29975Patch 8.2.4896 (after 8.2.4869)
29976Problem: Expression in command block does not look after NL when command is
29977 typed.
29978Solution: Skip over NL also when not in a script. (closes #10358)
29979Files: src/eval.c, src/testdir/test_usercommands.vim
29980
29981Patch 8.2.4897
29982Problem: Comment inside an expression in lambda ignores the rest of the
29983 expression.
29984Solution: Truncate the line at the comment. (closes #10367)
29985Files: src/eval.c, src/testdir/test_lambda.vim
29986
29987Patch 8.2.4898
29988Problem: Coverity complains about pointer usage.
29989Solution: Move code for increment/decerment.
29990Files: src/vim9compile.c
29991
29992Patch 8.2.4899
29993Problem: With latin1 encoding CTRL-W might go before the start of the
29994 command line.
29995Solution: Check already being at the start of the command line.
29996Files: src/ex_getln.c, src/testdir/test_cmdline.vim
29997
29998Patch 8.2.4900
29999Problem: Vim9 expression test fails without the job feature.
30000Solution: Add a check for the job feature. (Dominique Pellé, closes #10373)
30001Files: src/testdir/test_vim9_expr.vim
30002
30003Patch 8.2.4901
30004Problem: NULL pointer access when using invalid pattern.
30005Solution: Check for failed regexp program.
30006Files: src/buffer.c, src/testdir/test_buffer.vim
30007
30008Patch 8.2.4902
30009Problem: Mouse wheel scrolling is inconsistent.
30010Solution: Use the MS-Winows system setting. (closes #10368)
30011Files: runtime/doc/scroll.txt, src/gui_w32.c, src/mouse.c,
30012 src/proto/mouse.pro, src/testing.c, src/testdir/test_gui.vim
30013
30014Patch 8.2.4903
30015Problem: Cannot get the current cmdline completion type and position.
30016Solution: Add getcmdcompltype() and getcmdscreenpos(). (Shougo Matsushita,
30017 closes #10344)
30018Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/cmdexpand.c,
30019 src/proto/cmdexpand.pro, src/evalfunc.c, src/ex_getln.c,
30020 src/proto/ex_getln.pro, src/usercmd.c, src/proto/usercmd.pro,
30021 src/testdir/test_cmdline.vim
30022
30023Patch 8.2.4904
30024Problem: codecov includes MS-Windows install files.
30025Solution: Ignore dosinst.c and uninstall.c.
30026Files: .codecov.yml
30027
30028Patch 8.2.4905
30029Problem: codecov includes MS-Windows install header file.
30030Solution: Ignore dosinst.h.
30031Files: .codecov.yml
30032
30033Patch 8.2.4906
30034Problem: MS-Windows: cannot use transparent background.
30035Solution: Make transparent background work with 'termguicolors' and NONE
30036 background color. (Yasuhiro Matsumoto, closes #10310, closes #7162)
30037Files: runtime/doc/options.txt, src/os_win32.c, src/term.c
30038
30039Patch 8.2.4907
30040Problem: Some users do not want a line comment always inserted.
30041Solution: Add the '/' flag to 'formatoptions' to not repeat the comment
30042 leader after a statement when using "o".
30043Files: runtime/doc/change.txt, src/option.h, src/change.c,
30044 src/testdir/test_textformat.vim
30045
30046Patch 8.2.4908
30047Problem: No text formatting for // comment after a statement.
30048Solution: format a comment when the 'c' flag is in 'formatoptions'.
30049Files: src/textformat.c, src/testdir/test_textformat.vim
30050
30051Patch 8.2.4909
30052Problem: MODE_ enum entries names are too generic.
30053Solution: use CH_MODE_.
30054Files: src/structs.h, src/channel.c, src/job.c, src/terminal.c
30055
30056Patch 8.2.4910
30057Problem: Imperfect coding.
30058Solution: Make code nicer.
30059Files: src/ex_getln.c
30060
30061Patch 8.2.4911
30062Problem: The mode #defines are not clearly named.
30063Solution: Prepend MODE_. Renumber them to put the mapped modes first.
30064Files: src/vim.h, src/autocmd.c, src/buffer.c, src/change.c,
30065 src/charset.c, src/cindent.c, src/clipboard.c, src/debugger.c,
30066 src/digraph.c, src/drawline.c, src/drawscreen.c, src/edit.c,
30067 src/evalfunc.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c,
30068 src/fileio.c, src/fold.c, src/getchar.c, src/globals.h, src/gui.c,
30069 src/gui_gtk.c, src/gui_w32.c, src/gui_xim.c, src/indent.c,
30070 src/insexpand.c, src/macros.h, src/main.c, src/map.c, src/menu.c,
30071 src/message.c, src/misc1.c, src/misc2.c, src/mouse.c,
30072 src/netbeans.c, src/normal.c, src/ops.c, src/option.c,
30073 src/os_unix.c, src/os_win32.c, src/popupmenu.c, src/search.c,
30074 src/tag.c, src/screen.c, src/term.c, src/terminal.c,
30075 src/textformat.c, src/window.c
30076
30077Patch 8.2.4912
30078Problem: Using execute() to define a lambda doesn't work. (Ernie Rael)
30079Solution: Put the getline function in evalarg. (closes #10375)
30080Files: src/eval.c, src/evalfunc.c, src/proto/evalfunc.pro,
30081 src/testdir/test_vim9_func.vim
30082
30083Patch 8.2.4913
30084Problem: Popup_hide() does not always have effect.
30085Solution: Add the POPF_HIDDEN_FORCE flag. (closes #10376)
30086Files: src/popupwin.c, src/vim.h, src/testdir/test_popupwin.vim,
30087 src/testdir/dumps/Test_popup_prop_not_visible_01a.dump,
30088 src/testdir/dumps/Test_popup_prop_not_visible_01b.dump
30089
30090Patch 8.2.4914
30091Problem: String interpolation in :def function may fail.
30092Solution: Do not terminate the expression. (closes #10377)
30093Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
30094
30095Patch 8.2.4915
30096Problem: Sometimes the cursor is in the wrong position.
30097Solution: When the cursor moved to another line, recompute w_botline.
30098 (closes #9736)
30099Files: src/move.c
30100
30101Patch 8.2.4916 (after 8.2.4915)
30102Problem: Mouse in Insert mode test fails.
30103Solution: Fix the test and check relevant positions.
30104Files: src/testdir/test_edit.vim
30105
30106Patch 8.2.4917
30107Problem: Fuzzy expansion of option names is not right.
30108Solution: Pass the fuzzy flag down the call chain. (Christian Brabandt,
30109 closes #10380, closes #10318)
30110Files: src/cmdexpand.c, src/option.c, src/proto/option.pro,
30111 src/testdir/test_options.vim
30112
30113Patch 8.2.4918
30114Problem: Conceal character from matchadd() displayed too many times.
30115Solution: Check the syntax flag. (closes #10381, closes #7268)
30116Files: src/drawline.c, src/testdir/test_matchadd_conceal.vim
30117
30118Patch 8.2.4919
30119Problem: Can add invalid bytes with :spellgood.
30120Solution: Check for a valid word string.
30121Files: src/mbyte.c, src/spellfile.c, src/errors.h,
30122 src/testdir/test_spell_utf8.vim
30123
30124Patch 8.2.4920 (after 8.2.4902)
30125Problem: MS-Windows GUI: unused variables.
30126Solution: Delete the variables. (John Marriott)
30127Files: src/gui_w32.c
30128
30129Patch 8.2.4921
30130Problem: Spell test fails because of new illegal byte check.
30131Solution: Remove the test.
30132Files: src/testdir/test_spell.vim
30133
30134Patch 8.2.4922 (after 8.2.4916)
30135Problem: Mouse test fails on MS-Windows.
30136Solution: Set 'mousemodel' to "extend".
30137Files: src/testdir/test_edit.vim
30138
30139Patch 8.2.4923
30140Problem: Test checks for terminal feature unnecessarily.
30141Solution: Remove CheckRunVimInTerminal. (closes #10383)
30142Files: src/testdir/test_matchadd_conceal.vim
30143
30144Patch 8.2.4924
30145Problem: maparg() may return a string that cannot be reused.
30146Solution: use msg_outtrans_special() instead of str2special().
30147 (closes #10384)
30148Files: src/message.c, src/option.c, src/testdir/test_map_functions.vim,
30149 src/testdir/test_mapping.vim, src/testdir/test_options.vim
30150
30151Patch 8.2.4925
30152Problem: Trailing backslash may cause reading past end of line.
30153Solution: Check for NUL after backslash.
30154Files: src/textobject.c, src/testdir/test_textobjects.vim
30155
30156Patch 8.2.4926
30157Problem: #ifdef for crypt feature around too many lines.
30158Solution: Move code outside of #ifdef. (closes #10388)
30159Files: src/option.c
30160
30161Patch 8.2.4927
30162Problem: Return type of remove() incorrect when using three arguments.
30163Solution: Use first argument type when there are three arguments.
30164 (closes #10387)
30165Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
30166
30167Patch 8.2.4928
30168Problem: Various white space and cosmetic mistakes.
30169Solution: Change spaces to tabs, improve comments.
30170Files: src/bufwrite.c, src/channel.c, src/cindent.c, src/crypt.c,
30171 src/debugger.c, src/digraph.c, src/edit.c, src/evalwindow.c,
30172 src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c, src/fileio.c,
30173 src/filepath.c, src/gui.c, src/highlight.c, src/indent.c,
30174 src/insexpand.c, src/job.c, src/keymap.h, src/macros.h,
30175 src/menu.c, src/misc1.c, src/misc2.c, src/mouse.c, src/move.c,
30176 src/normal.c, src/ops.c, src/option.c, src/option.h, src/search.c,
30177 src/session.c, src/spellsuggest.c, src/structs.h, src/tag.c,
30178 src/term.c, src/terminal.c, src/textformat.c, src/typval.c,
30179 src/ui.c, src/userfunc.c, src/vim.h, src/vim9.h,
30180 src/vim9compile.c, src/vim9execute.c, src/window.c,
30181 src/testdir/test_cursorline.vim, src/os_unix.c, src/if_lua.c,
30182 src/if_py_both.h, src/os_amiga.c, src/os_win32.c, src/os_mswin.c,
30183 src/os_vms.c, src/os_vms_conf.h
30184
30185Patch 8.2.4929
30186Problem: Off-by-one error in in statusline item.
30187Solution: Subtrace one less. (closes #10394, closes #5599)
30188Files: src/buffer.c, src/testdir/test_statusline.vim,
30189 src/testdir/dumps/Test_statusline_hl.dump
30190
30191Patch 8.2.4930
30192Problem: Interpolated string expression requires escaping.
30193Solution: Do not require escaping in the expression.
30194Files: runtime/doc/eval.txt, src/typval.c, src/proto/typval.pro,
30195 src/dict.c, src/eval.c, src/evalvars.c, src/proto/evalvars.pro,
30196 src/vim9compile.c, src/proto/vim9compile.pro, src/vim9expr.c,
30197 src/vim9instr.c, src/alloc.c, src/proto/alloc.pro,
30198 src/testdir/test_expr.vim, src/testdir/test_let.vim
30199
30200Patch 8.2.4931
30201Problem: Crash with sequence of Perl commands.
30202Solution: Move PUTBACK to another line. (closes #10386)
30203Files: src/if_perl.xs
30204
30205Patch 8.2.4932
30206Problem: Not easy to filter the output of maplist().
30207Solution: Add mode_bits to the dictionary. (Ernie Rael, closes #10356)
30208Files: runtime/doc/builtin.txt, src/map.c,
30209 src/testdir/test_map_functions.vim,
30210 src/testdir/test_vim9_builtin.vim
30211
30212Patch 8.2.4933
30213Problem: A few more capitalization mistakes in error messages.
30214Solution: Adjust capitalization. (Doug Kearns)
30215Files: src/errors.h
30216
30217Patch 8.2.4934
30218Problem: String interpolation fails when not evaluating.
30219Solution: Skip the expression when not evaluating. (closes #10398)
30220Files: src/typval.c, src/evalvars.c, src/proto/evalvars.pro,
30221 src/testdir/test_vim9_expr.vim
30222
30223Patch 8.2.4935
30224Problem: With 'foldmethod' "indent" some lines are not included in the
30225 fold. (Oleg Koshovetc)
30226Solution: Fix it. (Brandon Simmons, closes #10399, closes #3214)
30227Files: src/fold.c, src/testdir/test_fold.vim
30228
30229Patch 8.2.4936
30230Problem: MS-Windows: mouse coordinates for scroll event are wrong.
30231Solution: Convert coordinates to the text area coordinates. (closes #10400)
30232Files: src/gui_w32.c
30233
30234Patch 8.2.4937 (after 8.2.4931)
30235Problem: No test for what 8.2.4931 fixes.
30236Solution: Add a test that triggers a valgrind error.
30237Files: src/testdir/test_perl.vim
30238
30239Patch 8.2.4938
30240Problem: Crash when matching buffer with invalid pattern.
30241Solution: Check for NULL regprog.
30242Files: src/buffer.c, src/testdir/test_buffer.vim
30243
30244Patch 8.2.4939
30245Problem: matchfuzzypos() with "matchseq" does not have all positions.
30246Solution: Also add a position for white space. (closes #10404)
30247Files: runtime/doc/builtin.txt, src/search.c,
30248 src/testdir/test_matchfuzzy.vim
30249
30250Patch 8.2.4940
30251Problem: Some code is never used.
30252Solution: Remove dead code. Add a few more test cases.
30253Files: src/vim9expr.c, src/proto/vim9expr.pro, src/vim9compile.c,
30254 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim
30255
30256Patch 8.2.4941
30257Problem: '[ and '] marks may be wrong after undo.
30258Solution: Adjust the '[ and '] marks if needed. (closes #10407, closes #1281)
30259Files: src/undo.c, src/testdir/test_undo.vim
30260
30261Patch 8.2.4942
30262Problem: Error when setting 'filetype' in help file again.
30263Solution: Deal with text property type already existing. (closes #10409)
30264Files: runtime/import/dist/vimhelp.vim
30265
30266Patch 8.2.4943
30267Problem: Changing 'switchbuf' may have no effect.
30268Solution: Handle 'switchbuf' in didset_string_options(). (Sean Dewar,
30269 closes #10406)
30270Files: src/optionstr.c, src/testdir/test_options.vim
30271
30272Patch 8.2.4944
30273Problem: Text properties are wrong after "cc". (Axel Forsman)
30274Solution: Pass the deleted byte count to inserted_bytes(). (closes #10412,
30275 closes #7737, closes #5763)
30276Files: src/change.c, src/testdir/test_textprop.vim
30277
30278Patch 8.2.4945
30279Problem: Inconsistent use of white space.
30280Solution: Use Tabs and Spaces consistently.
30281Files: src/os_amiga.c, src/if_py_both.h, src/os_win32.c, src/os_mswin.c,
30282 src/os_vms.c, src/os_vms_conf.h
30283
30284Patch 8.2.4946
30285Problem: Vim9: some code not covered by tests.
30286Solution: Add a few more test cases. Remove dead code.
30287Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim,
30288 src/testdir/test_vim9_builtin.vim
30289
30290Patch 8.2.4947
30291Problem: Text properties not adjusted when accepting spell suggestion.
30292Solution: Adjust text properties when text changes. (closes #10414)
30293Files: src/spell.c, src/spellsuggest.c, src/testdir/test_textprop.vim
30294
30295Patch 8.2.4948
30296Problem: Cannot use Perl heredoc in nested :def function. (Virginia
30297 Senioria)
30298Solution: Only concatenate heredoc lines when not in a nested function.
30299 (closes #10415)
30300Files: src/userfunc.c, src/testdir/test_vim9_func.vim
30301
30302Patch 8.2.4949
30303Problem: Vim9: some code not covered by tests.
30304Solution: Add a few more test cases. Fix double error message.
30305Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim
30306
30307Patch 8.2.4950
30308Problem: Text properties position wrong after shifting text.
30309Solution: Adjust the text properties when shifting a block of text.
30310 (closes #10418)
30311Files: src/ops.c, src/testdir/test_textprop.vim
30312
30313Patch 8.2.4951
30314Problem: Smart indenting done when not enabled.
30315Solution: Check option values before setting can_si. (closes #10420)
30316Files: src/indent.c, src/proto/indent.pro, src/change.c, src/edit.c,
30317 src/ops.c, src/testdir/test_smartindent.vim
30318
30319Patch 8.2.4952
30320Problem: GUI test will fail if color scheme changes.
30321Solution: Reduce the test for now.
30322Files: src/testdir/test_gui.vim
30323
30324Patch 8.2.4953
30325Problem: With 'smartindent' inserting '}' after completion goes wrong.
30326Solution: Check the cursor is in indent. (closes #10420)
30327Files: src/indent.c, src/testdir/test_smartindent.vim
30328
30329Patch 8.2.4954
30330Problem: Inserting line breaks text property spanning more then one line.
30331Solution: Check TP_FLAG_CONT_PREV and TP_FLAG_CONT_NEXT. (closes #10423)
30332Files: src/textprop.c, src/testdir/test_textprop.vim
30333
30334Patch 8.2.4955
30335Problem: Text property in wrong position after auto-indent.
30336Solution: Adjust text property columns. (closes #10422, closes #7719)
30337Files: src/change.c, src/testdir/test_textprop.vim
30338
30339Patch 8.2.4956
30340Problem: Reading past end of line with "gf" in Visual block mode.
30341Solution: Do not include the NUL in the length.
30342Files: src/normal.c, src/testdir/test_gf.vim
30343
30344Patch 8.2.4957
30345Problem: Text properties in a wrong position after a block change.
30346Solution: Adjust the properties columns. (closes #10427)
30347Files: src/ops.c, src/testdir/test_textprop.vim
30348
30349Patch 8.2.4958
30350Problem: A couple conditions are always true.
30351Solution: Remove the conditions. (Goc Dundar, closes #10428)
30352Files: src/evalfunc.c, src/quickfix.c
30353
30354Patch 8.2.4959
30355Problem: Using NULL regexp program.
30356Solution: Check for regexp program becoming NULL in more places.
30357Files: src/buffer.c, src/testdir/test_buffer.vim
30358
30359Patch 8.2.4960
30360Problem: Text properties that cross line boundary are not correctly updated
30361 for a deleted line.
30362Solution: Correct computing location of text property entry. (Paul Ollis,
30363 closes #10431, closes #10430)
30364Files: src/memline.c, src/testdir/test_textprop.vim
30365
30366Patch 8.2.4961
30367Problem: Build error with a certain combination of features.
30368Solution: Adjust #if. (John Marriott)
30369Files: src/memline.c
30370
30371Patch 8.2.4962
30372Problem: Files show up in git status.
30373Solution: Adjust the list of ignored files. Clean up more test files.
30374 (Shane xb Qian, closes #9929)
30375Files: .gitignore, src/testdir/Makefile
30376
30377Patch 8.2.4963
30378Problem: Expanding path with "/**" may overrun end of buffer.
30379Solution: Use vim_snprintf().
30380Files: src/filepath.c
30381
30382Patch 8.2.4964
30383Problem: MS-Windows GUI: mouse event test is flaky.
30384Solution: Add a short delay after generating a mouse event.
30385Files: src/testdir/test_gui.vim
30386
30387Patch 8.2.4965
30388Problem: GUI: testing mouse move event depends on screen cell size.
30389Solution: Multiply the row and column with the screen cell size.
30390Files: runtime/doc/testing.txt, src/testing.c, src/testdir/test_gui.vim
30391
30392Patch 8.2.4966
30393Problem: MS-Windows GUI: mouse event test gets extra event.
30394Solution: Ignore one move event.
30395Files: src/testdir/test_gui.vim
30396
30397Patch 8.2.4967 (after 8.2.4966)
30398Problem: MS-Windows GUI: mouse event test sometimes fails.
30399Solution: Ignore one move event only if there is an extra event.
30400Files: src/testdir/test_gui.vim
30401
30402Patch 8.2.4968
30403Problem: Reading past end of the line when C-indenting.
30404Solution: Check for NUL.
30405Files: src/cindent.c, src/testdir/test_cindent.vim
30406
30407Patch 8.2.4969
30408Problem: Changing text in Visual mode may cause invalid memory access.
30409Solution: Check the Visual position after making a change.
30410Files: src/change.c, src/edit.c, src/misc2.c, src/proto/misc2.pro,
30411 src/testdir/test_visual.vim
30412
30413Patch 8.2.4970
30414Problem: "eval 123" gives an error, "eval 'abc'" does not.
30415Solution: Also give an error when evaluating only a string. (closes #10434)
30416Files: src/ex_eval.c, src/testdir/test_vim9_cmd.vim
30417
30418Patch 8.2.4971
30419Problem: Vim9: interpolated string seen as range.
30420Solution: Recognize an interpolated string at the start of a command line.
30421 (closes #10434)
30422Files: src/ex_docmd.c, src/testdir/test_vim9_expr.vim
30423
30424Patch 8.2.4972
30425Problem: Vim9: compilation fails when using dict member when skipping.
30426Solution: Do not generate ISN_USEDICT when skipping. (closes #10433)
30427Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim
30428
30429Patch 8.2.4973
30430Problem: Vim9: type error for list unpack mentions argument.
30431Solution: Mention variable. (close #10435)
30432Files: src/vim9.h, src/vim9execute.c, src/vim9instr.c,
30433 src/proto/vim9instr.pro, src/vim9compile.c,
30434 src/testdir/test_vim9_script.vim,
30435 src/testdir/test_vim9_disassemble.vim
30436
30437Patch 8.2.4974
30438Problem: ":so" command may read after end of buffer.
30439Solution: Compute length of text properly.
30440Files: src/scriptfile.c, src/testdir/test_source.vim
30441
30442Patch 8.2.4975
30443Problem: Recursive command line loop may cause a crash.
30444Solution: Limit recursion of getcmdline().
30445Files: src/ex_getln.c, src/testdir/test_cmdline.vim
30446
30447Patch 8.2.4976
30448Problem: Coverity complains about not restoring a saved value.
30449Solution: Restore value before handling error.
30450Files: src/vim9execute.c
30451
30452Patch 8.2.4977
30453Problem: Memory access error when substitute expression changes window.
30454Solution: Disallow changing window in substitute expression.
30455Files: src/ex_cmds.c, src/testdir/test_substitute.vim
30456
30457Patch 8.2.4978
30458Problem: No error if engine selection atom is not at the start.
30459Solution: Give an error. (Christian Brabandt, closes #10439)
30460Files: runtime/doc/pattern.txt, src/errors.h, src/regexp_bt.c,
30461 src/regexp_nfa.c, src/testdir/test_regexp_latin.vim
30462
30463Patch 8.2.4979
30464Problem: Accessing freed memory when line is flushed.
30465Solution: Make a copy of the pattern to search for.
30466Files: src/window.c, src/testdir/test_tagjump.vim
30467
30468Patch 8.2.4980
30469Problem: When 'shortmess' contains 'A' loading a session may still warn for
30470 an existing swap file. (Melker Österberg)
30471Solution: Keep the 'A' flag to 'shortmess' in the session file.
30472 (closes #10443)
30473Files: src/session.c, src/testdir/test_mksession.vim
30474
30475Patch 8.2.4981
30476Problem: It is not possible to manipulate autocommands.
30477Solution: Add functions to add, get and set autocommands. (Yegappan
30478 Lakshmanan, closes #10291)
30479Files: runtime/doc/autocmd.txt, runtime/doc/builtin.txt,
30480 runtime/doc/usr_41.txt, src/autocmd.c, src/evalfunc.c,
30481 src/proto/autocmd.pro, src/testdir/test_autocmd.vim,
30482 src/testdir/test_vim9_builtin.vim
30483
30484Patch 8.2.4982
30485Problem: Colors in terminal window are not 100% correct.
30486Solution: Use g:terminal_ansi_colors as documented. (closes #10429,
30487 closes #7227 closes #10347)
30488Files: src/job.c, src/option.c, src/proto/term.pro,
30489 src/terminal.c, src/proto/terminal.pro, src/term.c,
30490 src/testdir/test_functions.vim, src/testdir/test_terminal.vim
30491
30492Patch 8.2.4983 (after 8.2.4982)
30493Problem: Colors test fails in the GUI.
30494Solution: Reset g:terminal_ansi_colors.
30495Files: src/testdir/test_functions.vim
30496
30497Patch 8.2.4984
30498Problem: Dragging statusline fails for window with winbar.
30499Solution: Fix off-by-one error. (closes #10448)
30500Files: src/mouse.c, src/testdir/test_winbar.vim
30501
30502Patch 8.2.4985
30503Problem: PVS warns for possible array underrun.
30504Solution: Add a check for a positive value. (Goc Dundar, closes #10451)
30505Files: src/spell.c
30506
30507Patch 8.2.4986
30508Problem: Some github actions are outdated.
30509Solution: Update CodeQl to v2, update checkout to v3. (closes #10450)
30510Files: .github/workflows/ci.yml, .github/workflows/codeql-analysis.yml,
30511 .github/workflows/coverity.yml
30512
30513Patch 8.2.4987
30514Problem: After deletion a small fold may be closable.
30515Solution: Check for a reverse range. (Brandon Simmons, closes #10457)
30516Files: src/fold.c, src/testdir/test_fold.vim
30517
30518Patch 8.2.4988
30519Problem: Textprop in wrong position when replacing multi-byte chars.
30520Solution: Adjust textprop position. (closes #10461)
30521Files: src/change.c, src/testdir/test_textprop.vim
30522
30523Patch 8.2.4989
30524Problem: Cannot specify a function name for :defcompile.
30525Solution: Implement a function name argument for :defcompile.
30526Files: runtime/doc/vim9.txt, src/userfunc.c, src/proto/userfunc.pro,
30527 src/vim9execute.c, src/ex_cmds.h, src/testdir/test_vim9_cmd.vim,
30528 src/testdir/test_vim9_disassemble.vim
30529
30530Patch 8.2.4990 (after 8.2.4989)
30531Problem: Memory leak when :defcompile fails.
30532Solution: Free fname when returning early.
30533Files: src/userfunc.c
30534
30535Patch 8.2.4991
30536Problem: No test for what patch 8.1.0535 fixes.
30537Solution: Add a test. (closes #10462)
30538Files: src/testdir/test_fold.vim
30539
30540Patch 8.2.4992 (after 8.2.4989)
30541Problem: Compiler warning for possibly uninitialized variable. (Tony
30542 Mechelynck)
30543Solution: Initialize variable in the caller instead of in the function.
30544Files: src/userfunc.c, src/vim9execute.c
30545
30546Patch 8.2.4993
30547Problem: smart/C/lisp indenting is optional, which makes the code more
30548 complex, while it only reduces the executable size a bit.
30549Solution: Graduate FEAT_CINDENT, FEAT_SMARTINDENT and FEAT_LISP.
30550Files: runtime/doc/builtin.txt, runtime/doc/indent.txt,
30551 runtime/doc/options.txt, runtime/doc/various.txt, src/feature.h,
30552 src/buffer.c, src/change.c, src/cindent.c, src/charset.c,
30553 src/edit.c, src/evalfunc.c, src/indent.c, src/insexpand.c,
30554 src/main.c, src/mouse.c, src/ops.c, src/option.c, src/optionstr.c,
30555 src/register.c, src/search.c, src/textformat.c, src/version.c,
30556 src/option.h, src/optiondefs.h, src/structs.h, src/globals.h,
30557 src/testdir/test_edit.vim
30558
30559Patch 8.2.4994
30560Problem: Tests are using legacy functions.
30561Solution: Convert a few tests to use :def functions.
30562Files: src/testdir/test_cindent.vim
30563
30564Patch 8.2.4995 (after 8.2.4992)
30565Problem: Still a compiler warning for possibly uninitialized variable.
30566 (Tony Mechelynck)
30567Solution: Initialize variables.
30568Files: src/vim9execute.c
30569
30570Patch 8.2.4996 (after 8.2.4969)
30571Problem: setbufline() may change Visual selection. (Qiming Zhao)
30572Solution: Disable Visual mode when using another buffer. (closes #10466)
30573Files: src/evalbuffer.c, src/testdir/test_bufline.vim
30574
30575Patch 8.2.4997
30576Problem: Python: changing hidden buffer can cause the display to be messed
30577 up.
30578Solution: Do not mark changed lines when using another buffer. (Paul Ollis,
30579 closes #10437, closes #7972)
30580Files: src/if_py_both.h, src/testdir/test_python3.vim
30581
30582Patch 8.2.4998
30583Problem: Vim9: crash when using multiple funcref().
30584Solution: Check if varargs type is NULL. (closes #10467)
30585Files: src/vim9type.c, src/testdir/test_vim9_func.vim
30586
30587Patch 8.2.4999
30588Problem: Filetype test table is not properly sorted.
30589Solution: Sort by filetype. (Doug Kearns)
30590Files: src/testdir/test_filetype.vim
30591
30592Patch 8.2.5000
30593Problem: No patch for documentation updates.
30594Solution: Update documentation files.
30595Files: runtime/doc/arabic.txt, runtime/doc/autocmd.txt,
30596 runtime/doc/builtin.txt, runtime/doc/change.txt,
30597 runtime/doc/channel.txt, runtime/doc/cmdline.txt,
30598 runtime/doc/diff.txt, runtime/doc/digraph.txt,
30599 runtime/doc/editing.txt, runtime/doc/eval.txt,
30600 runtime/doc/filetype.txt, runtime/doc/fold.txt,
30601 runtime/doc/ft_ada.txt, runtime/doc/ft_ps1.txt,
30602 runtime/doc/ft_raku.txt, runtime/doc/ft_rust.txt,
30603 runtime/doc/ft_sql.txt, runtime/doc/gui.txt,
30604 runtime/doc/gui_w32.txt, runtime/doc/helphelp.txt,
30605 runtime/doc/help.txt, runtime/doc/if_cscop.txt,
30606 runtime/doc/if_lua.txt, runtime/doc/if_perl.txt,
30607 runtime/doc/if_pyth.txt, runtime/doc/if_tcl.txt,
30608 runtime/doc/indent.txt, runtime/doc/index.txt,
30609 runtime/doc/insert.txt, runtime/doc/intro.txt,
30610 runtime/doc/map.txt, runtime/doc/mbyte.txt,
30611 runtime/doc/message.txt, runtime/doc/motion.txt,
30612 runtime/doc/netbeans.txt, runtime/doc/options.txt,
30613 runtime/doc/os_dos.txt, runtime/doc/os_vms.txt,
30614 runtime/doc/os_win32.txt, runtime/doc/pattern.txt,
30615 runtime/doc/pi_netrw.txt, runtime/doc/pi_zip.txt,
30616 runtime/doc/popup.txt, runtime/doc/print.txt,
30617 runtime/doc/quickfix.txt, runtime/doc/quickref.txt,
30618 runtime/doc/remote.txt, runtime/doc/repeat.txt,
30619 runtime/doc/rileft.txt, runtime/doc/scroll.txt,
30620 runtime/doc/sign.txt, runtime/doc/spell.txt,
30621 runtime/doc/sponsor.txt, runtime/doc/starting.txt,
30622 runtime/doc/syntax.txt, runtime/doc/tabpage.txt,
30623 runtime/doc/tagsrch.txt, runtime/doc/terminal.txt,
30624 runtime/doc/term.txt, runtime/doc/testing.txt,
30625 runtime/doc/textprop.txt, runtime/doc/tips.txt,
30626 runtime/doc/todo.txt, runtime/doc/uganda.txt,
30627 runtime/doc/undo.txt, runtime/doc/usr_02.txt,
30628 runtime/doc/usr_04.txt, runtime/doc/usr_05.txt,
30629 runtime/doc/usr_06.txt, runtime/doc/usr_08.txt,
30630 runtime/doc/usr_09.txt, runtime/doc/usr_12.txt,
30631 runtime/doc/usr_20.txt, runtime/doc/usr_29.txt,
30632 runtime/doc/usr_40.txt, runtime/doc/usr_41.txt,
30633 runtime/doc/usr_45.txt, runtime/doc/usr_46.txt,
30634 runtime/doc/usr_50.txt, runtime/doc/usr_51.txt,
30635 runtime/doc/usr_52.txt, runtime/doc/usr_90.txt,
30636 runtime/doc/usr_toc.txt, runtime/doc/various.txt,
30637 runtime/doc/version5.txt, runtime/doc/version6.txt,
30638 runtime/doc/version7.txt, runtime/doc/version8.txt,
30639 runtime/doc/version9.txt, runtime/doc/vi_diff.txt,
30640 runtime/doc/vim9.txt, runtime/doc/visual.txt,
30641 runtime/doc/windows.txt, runtime/doc/tags, runtime/doc/Makefile
30642
30643Patch 8.2.5001
30644Problem: Checking translations affects the search pattern history.
30645Solution: Use "keeppatterns". (Doug Kearns)
30646Files: src/po/check.vim
30647
30648Patch 8.2.5002
30649Problem: deletebufline() may change Visual selection.
30650Solution: Disable Visual mode when using another buffer. (closes #10469)
30651Files: src/evalbuffer.c, src/testdir/test_bufline.vim
30652
30653Patch 8.2.5003
30654Problem: Cannot do bitwise shifts.
30655Solution: Add the >> and << operators. (Yegappan Lakshmanan, closes #8457)
30656Files: runtime/doc/eval.txt, src/errors.h, src/eval.c, src/structs.h,
30657 src/vim.h, src/vim9execute.c, src/vim9expr.c,
30658 src/testdir/test_expr.vim, src/testdir/test_vim9_disassemble.vim,
30659 src/testdir/test_vim9_expr.vim
30660
30661Patch 8.2.5004
30662Problem: Right shift on negative number does not work as documented.
30663Solution: Use a uvarnumber_T type cast.
30664Files: runtime/doc/eval.txt, src/eval.c, src/vim9expr.c,
30665 src/vim9execute.c, src/charset.c, src/testdir/test_expr.vim
30666
30667Patch 8.2.5005 (after 8.2.5003)
30668Problem: Compiler warning for uninitialized variable. (John Marriott)
30669Solution: Initialize the pointer to NULL.
30670Files: src/vim9expr.vim
30671
30672Patch 8.2.5006 (after 8.2.5003)
30673Problem: Asan warns for undefined behavior.
30674Solution: Cast the shifted value to unsigned.
30675Files: src/eval.c, src/vim9expr.c, src/vim9execute.c
30676
30677Patch 8.2.5007
30678Problem: Spell suggestion may use uninitialized memory. (Zdenek Dohnal)
30679Solution: Avoid going over the end of the word.
30680Files: src/spellsuggest.c, src/testdir/test_spell_utf8.vim
30681
30682Patch 8.2.5008
30683Problem: When 'formatoptions' contains "/" wrongly wrapping a long trailing
30684 comment.
30685Solution: Pass the OPENLINE_FORMAT flag.
30686Files: src/change.c, src/vim.h, src/textformat.c,
30687 src/testdir/test_textformat.vim
30688
30689Patch 8.2.5009
30690Problem: Fold may not be closeable after appending.
30691Solution: Set the fd_small flag to MAYBE. (Brandon Simmons, closes #10471)
30692Files: src/fold.c, src/testdir/test_fold.vim
30693
30694Patch 8.2.5010
30695Problem: The terminal debugger uses various global variables.
30696Solution: Add a dictionary to hold the terminal debugger preferences.
30697Files: runtime/doc/terminal.txt,
30698 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
30699
30700Patch 8.2.5011
30701Problem: Replacing an autocommand requires several lines.
30702Solution: Add the "replace" flag to autocmd_add(). (Yegappan Lakshmanan,
30703 closes #10473)
30704Files: runtime/doc/autocmd.txt, runtime/doc/builtin.txt, src/autocmd.c,
30705 src/testdir/test_autocmd.vim
30706
30707Patch 8.2.5012
30708Problem: Cannot select one character inside ().
30709Solution: Do not try to extend the area if it is empty. (closes #10472,
30710 closes #6616)
30711Files: src/textobject.c, src/testdir/test_textobjects.vim
30712
30713Patch 8.2.5013
30714Problem: After text formatting the cursor may be in an invalid position.
30715Solution: Correct the cursor position after formatting.
30716Files: src/textformat.c, src/testdir/test_textformat.vim
30717
30718Patch 8.2.5014
30719Problem: Byte offsets are wrong when using text properties.
30720Solution: Make sure text properties do not affect the byte counts.
30721 (Paul Ollis, closes #10474)
30722Files: src/memline.c, src/textprop.c, src/testdir/test_textprop.vim
30723
30724Patch 8.2.5015
30725Problem: Hoon and Moonscript files are not recognized.
30726Solution: Add filetype patterns. (Goc Dundar, closes #10478)
30727Files: runtime/filetype.vim, src/testdir/test_filetype.vim
30728
30729Patch 8.2.5016
30730Problem: Access before start of text with a put command.
30731Solution: Check the length is more than zero.
30732Files: src/register.c, src/testdir/test_put.vim
30733
30734Patch 8.2.5017
30735Problem: Gcc 12.1 warns for uninitialized variable.
30736Solution: Initialize the variable. (closes #10476)
30737Files: src/evalvars.c
30738
30739Patch 8.2.5018
30740Problem: Vim9: some code is not covered by tests.
30741Solution: Delete dead code.
30742Files: src/vim9instr.c, src/proto/vim9instr.pro, src/vim9compile.c,
30743 src/vim9expr.c,
30744
30745Patch 8.2.5019
30746Problem: Cannot get the first screen column of a character.
30747Solution: Let virtcol() optionally return a list. (closes #10482,
30748 closes #7964)
30749Files: runtime/doc/builtin.txt, src/evalfunc.c,
30750 src/testdir/test_functions.vim, src/testdir/test_vim9_builtin.vim
30751
30752Patch 8.2.5020
30753Problem: Using 'imstatusfunc' and 'imactivatefunc' breaks 'foldopen'.
30754Solution: Save and restore the KeyTyped flag. (closes #10479)
30755Files: src/gui_xim.c, src/testdir/test_iminsert.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +000030756
30757
Bram Moolenaard799daa2022-06-20 11:17:32 +010030758Patch 8.2.5021
30759Problem: Build fails with normal features and +terminal. (Dominique Pellé)
30760Solution: Add #ifdefs. (closes #10484)
30761Files: src/terminal.c
30762
30763Patch 8.2.5022
30764Problem: 'completefunc'/'omnifunc' error does not end completion.
30765Solution: Check if there was an error or exception. (closes #10486,
30766 closes #4218)
30767Files: src/insexpand.c, src/testdir/test_ins_complete.vim
30768
30769Patch 8.2.5023
30770Problem: Substitute overwrites allocated buffer.
30771Solution: Disallow undo when in a substitute command.
30772Files: src/normal.c, src/undo.c, src/testdir/test_substitute.vim
30773
30774Patch 8.2.5024
30775Problem: Using freed memory with "]d".
30776Solution: Copy the pattern before searching.
30777Files: src/normal.c, src/testdir/test_tagjump.vim
30778
30779Patch 8.2.5025
30780Problem: Vim9: a few lines not covered by tests.
30781Solution: Add a few tests.
30782Files: src/vim9script.c, src/testdir/test_vim9_assign.vim,
30783 src/testdir/test_vim9_import.vim
30784
30785Patch 8.2.5026
30786Problem: Vim9: a few lines not covered by tests.
30787Solution: Delete dead code. Add a few test cases. make "12->func()" work.
30788Files: src/vim9type.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
30789 src/vim9compile.c, src/testdir/test_vim9_assign.vim,
30790 src/testdir/test_vim9_func.vim
30791
30792Patch 8.2.5027
30793Problem: Error for missing :endif when an exception was thrown. (Dani
30794 Dickstein)
30795Solution: Do not give an error when aborting. (closes #10490)
30796Files: src/ex_docmd.c, src/testdir/test_trycatch.vim
30797
30798Patch 8.2.5028
30799Problem: Syntax regexp matching can be slow.
30800Solution: Adjust the counters for checking the timeout to check about once
30801 per msec. (closes #10487, closes #2712)
30802Files: src/regexp_bt.c, src/regexp_nfa.c
30803
30804Patch 8.2.5029
30805Problem: "textlock" is always zero.
30806Solution: Remove "textlock" and rename "textwinlock" to "textlock".
30807 (closes #10489)
30808Files: runtime/doc/insert.txt, runtime/doc/tags, src/beval.c,
30809 src/change.c, src/edit.c, src/errors.h, src/eval.c, src/ex_cmds.c,
30810 src/ex_getln.c, src/proto/ex_getln.pro, src/globals.h,
30811 src/indent.c, src/insexpand.c, src/map.c, src/register.c,
30812 src/undo.c, src/window.c, src/testdir/test_edit.vim,
30813 src/testdir/test_ins_complete.vim, src/testdir/test_popup.vim,
30814 src/testdir/test_quickfix.vim
30815
30816Patch 8.2.5030
30817Problem: autocmd_add() can only handle one event and pattern.
30818Solution: Support a list of events and patterns. (Yegappan Lakshmanan,
30819 closes #10483)
30820Files: runtime/doc/builtin.txt, src/autocmd.c, src/errors.h,
30821 src/testdir/test_autocmd.vim
30822
30823Patch 8.2.5031
30824Problem: Cannot easily run the benchmarks.
30825Solution: Have "make benchmark" in the src directory work.
30826Files: src/Makefile, src/testdir/Makefile
30827
30828Patch 8.2.5032
30829Problem: Python 3 test fails without the GUI.
30830Solution: Check the balloon_eval feature is available.
30831Files: src/testdir/test_python3.vim
30832
30833Patch 8.2.5033 (after 8.2.5030)
30834Problem: Build error with +eval but without +quickfix. Warning for
30835 uninitialized variable.
30836Solution: Adjust #ifdefs. (John Marriott)
30837Files: src/errors.h, src/autocmd.c
30838
30839Patch 8.2.5034
30840Problem: There is no way to get the byte index from a virtual column.
30841Solution: Add virtcol2col(). (Yegappan Lakshmanan, closes #10477,
30842 closes #10098)
30843Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
30844 src/move.c, src/proto/move.pro, src/testdir/test_cursor_func.vim
30845
30846Patch 8.2.5035
30847Problem: When splitting a window the changelist position moves.
30848Solution: Set the changelist index a bit later. (closes #10493)
30849Files: src/window.c, src/testdir/test_changelist.vim,
30850 src/testdir/test_normal.vim
30851
30852Patch 8.2.5036 (after 8.2.5028)
30853Problem: Using two counters for timeout check in NFA engine.
30854Solution: Use only one counter. Tune the counts based on guessing.
30855Files: src/regexp_nfa.c
30856
30857Patch 8.2.5037
30858Problem: Cursor position may be invalid after "0;" range.
30859Solution: Check the cursor position when it was set by ";" in the range.
30860Files: src/ex_docmd.c, src/testdir/test_excmd.vim
30861
30862Patch 8.2.5038
30863Problem: A finished terminal in a popup window does not show a scrollbar.
30864Solution: Show the scrollbar if the terminal job is finished. (closes
30865 #10497)
30866Files: src/popupwin.c, src/testdir/test_popupwin.vim,
30867 src/testdir/dumps/Test_popupwin_poptermscroll_1.dump,
30868 src/testdir/dumps/Test_popupwin_poptermscroll_2.dump,
30869 src/testdir/dumps/Test_popupwin_poptermscroll_3.dump
30870
30871Patch 8.2.5039
30872Problem: Confusing error if first argument of popup_create() is wrong.
30873Solution: Give a more informative error.
30874Files: src/popupwin.c, src/testdir/test_popupwin.vim, src/errors.h,
30875 src/testdir/dumps/Test_popup_settext_07.dump
30876
30877Patch 8.2.5040
30878Problem: Scrollbar thumb in scrolled popup not visible.
30879Solution: Show at least one thumb character. (fixes 10492)
30880Files: src/popupwin.c, src/testdir/test_popupwin.vim,
30881 src/testdir/dumps/Test_popupwin_scroll_13.dump
30882
30883Patch 8.2.5041
30884Problem: Cannot close a terminal popup with "NONE" job.
30885Solution: Adjust the conditions for whether a job is running.
30886 (closes #10498)
30887Files: src/buffer.c, src/terminal.c, src/proto/terminal.pro,
30888 src/undo.c, src/testdir/test_popupwin.vim
30889
30890Patch 8.2.5042
30891Problem: Scrollbar thumb in tall scrolled popup not visible.
30892Solution: Show at least one thumb character. (fixes 10492)
30893Files: src/popupwin.c, src/testdir/test_popupwin.vim,
30894 src/testdir/dumps/Test_popupwin_scroll_13.dump
30895
30896Patch 8.2.5043
30897Problem: Can open a cmdline window from a substitute expression.
30898Solution: Disallow opening a command line window when text or buffer is
30899 locked.
30900Files: src/buffer.c, src/ex_getln.c, src/proto/ex_getln.pro,
30901 src/window.c, src/testdir/test_substitute.vim
30902
30903Patch 8.2.5044 (after 8.2.5043)
30904Problem: Command line test fails.
30905Solution: Also beep when cmdline win can't be opened because of locks.
30906 Make the test not beep. Make the test pass on MS-Windows.
30907Files: src/ex_getln.c, src/testdir/test_substitute.vim
30908
30909Patch 8.2.5045
30910Problem: Can escape a terminal popup window when the job is finished.
30911Solution: Only check for a finished job where it is relevant.
30912 (closes #10253)
30913Files: src/popupwin.c, src/testdir/test_popupwin.vim,
30914 src/testdir/dumps/Test_popupwin_poptermscroll_1.dump,
30915 src/testdir/dumps/Test_popupwin_poptermscroll_2.dump,
30916 src/testdir/dumps/Test_popupwin_poptermscroll_3.dump,
30917 src/testdir/dumps/Test_popupwin_poptermscroll_4.dump
30918
30919Patch 8.2.5046
30920Problem: vim_regsub() can overwrite the destination.
30921Solution: Pass the destination length, give an error when it doesn't fit.
30922Files: src/regexp.h, src/regexp.c, src/proto/regexp.pro, src/eval.c,
30923 src/ex_cmds.c
30924
30925Patch 8.2.5047
30926Problem: CurSearch highlight is often wrong.
30927Solution: Remember the last highlighted position and redraw when needed.
30928Files: src/globals.h, src/match.c, src/drawscreen.c, src/change.c,
30929 src/testdir/test_search.vim,
30930 src/testdir/dumps/Test_hlsearch_cursearch_changed_1.dump
30931
30932Patch 8.2.5048
30933Problem: When using XIM the gui test may fail.
30934Solution: Only use --not-a-term when not using XIM.
30935Files: src/testdir/test_gui.vim
30936
30937Patch 8.2.5049
30938Problem: Insufficient tests for autocommands.
30939Solution: Add a few more tests. (Yegappan Lakshmanan, closes #10507)
30940Files: src/autocmd.c, src/testdir/gen_opt_test.vim,
30941 src/testdir/test_autocmd.vim, src/testdir/test_cmdline.vim
30942
30943Patch 8.2.5050
30944Problem: Using freed memory when searching for pattern in path.
30945Solution: Make a copy of the line.
30946Files: src/search.c, src/testdir/test_tagjump.vim
30947
30948Patch 8.2.5051
30949Problem: Check for autocmd_add() event argument is confusing.
30950Solution: Make the code more straightforward.
30951Files: src/autocmd.c
30952
30953Patch 8.2.5052
30954Problem: CI checkout step title is a bit cryptic.
30955Solution: Add a better title. (closes #10509)
30956Files: .github/workflows/ci.yml, .github/workflows/coverity.yml,
30957 .github/workflows/codeql-analysis.yml
30958
30959Patch 8.2.5053
30960Problem: Cannot have a comment halfway an expression in an autocmd command
30961 block.
30962Solution: When skipping over the NL also skip over comments. (closes #10519)
30963Files: src/eval.c, src/testdir/test_autocmd.vim
30964
30965Patch 8.2.5054
30966Problem: No good filetype for conf files similar to dosini.
30967Solution: Add the confini filetype. (closes #10518)
30968Files: runtime/filetype.vim, src/testdir/test_filetype.vim
30969
30970Patch 8.2.5055
30971Problem: Statusline is not updated when terminal title changes.
30972Solution: Redraw the status line when the title changes. (issue #10425)
30973Files: src/terminal.c
30974
30975Patch 8.2.5056
30976Problem: The channel log only contains some of the raw terminal output.
30977Solution: Add the "o" flag to log all terminal output. Use it for "--log".
30978Files: runtime/doc/channel.txt, runtime/doc/starting.txt, src/main.c,
30979 src/channel.c, src/vim.h, src/term.c, src/edit.c, src/normal.c,
30980 src/optionstr.c
30981
30982Patch 8.2.5057
30983Problem: Using gettimeofday() for timeout is very inefficient.
30984Solution: Set a platform dependent timer. (Paul Ollis, closes #10505)
30985Files: src/auto/configure, src/config.h.in, src/configure.ac,
30986 src/drawscreen.c, src/errors.h, src/evalfunc.c, src/ex_cmds.c,
30987 src/ex_getln.c, src/match.c, src/os_mac.h, src/os_macosx.m,
30988 src/os_unix.c, src/os_win32.c, src/proto/os_unix.pro,
30989 src/proto/os_win32.pro, src/proto/regexp.pro, src/quickfix.c,
30990 src/regexp.c, src/regexp.h, src/regexp_bt.c, src/regexp_nfa.c,
30991 src/screen.c, src/search.c, src/structs.h, src/syntax.c,
30992 src/testdir/test_hlsearch.vim, src/testdir/test_search.vim,
30993 src/testdir/test_syntax.vim
30994
30995Patch 8.2.5058
30996Problem: input() does not handle composing characters properly.
30997Solution: Use mb_cptr2char_adv() instead of mb_ptr2char_adv().
30998 (closes #10527)
30999Files: src/getchar.c, src/testdir/test_functions.vim
31000
31001Patch 8.2.5059
31002Problem: Autoconf 2.71 produces many obsolete warnings.
31003Solution: Replace obsolete macros with non-obsolete ones, where the
31004 functionality does not change. (issue #10528)
31005Files: src/configure.ac, src/auto/configure
31006
31007Patch 8.2.5060 (after 8.2.5059)
31008Problem: Running configure fails.
31009Solution: Remove line break.
31010Files: src/configure.ac, src/auto/configure
31011
31012Patch 8.2.5061
31013Problem: C89 requires signal handlers to return void.
31014Solution: Drop RETSIGTYPE and hard-code a void return value.
31015Files: src/configure.ac, src/auto/configure, src/if_cscope.c,
31016 src/os_unix.c, src/pty.c, src/os_mac.h, src/os_vms_conf.h,
31017 src/config.h.in, src/osdef1.h.in
31018
31019Patch 8.2.5062
31020Problem: Coverity warns for dead code.
31021Solution: Remove the dead code.
31022Files: src/os_unix.c, src/match.c
31023
31024Patch 8.2.5063
31025Problem: Error for a command may go over the end of IObuff.
31026Solution: Truncate the message.
31027Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
31028
31029Patch 8.2.5064
31030Problem: No test for what 8.1.0052 fixes.
31031Solution: Add a test. (closes #10531)
31032Files: src/getchar.c, src/testdir/test_mapping.vim
31033
31034Patch 8.2.5065
31035Problem: Wrong return type for main() in tee.c.
31036Solution: Use "int" instead of "void". Remove unused variable.
31037Files: src/tee/tee.c
31038
31039Patch 8.2.5066
31040Problem: Can specify multispace listchars only for whole line.
31041Solution: Add "leadmultispace". (Christian Brabandt, closes #10496)
31042Files: runtime/doc/options.txt, src/drawline.c, src/message.c,
31043 src/screen.c, src/structs.h, src/window.c,
31044 src/testdir/test_listchars.vim
31045
31046Patch 8.2.5067
31047Problem: Timer_create is not available on every Mac system. (Hisashi T
31048 Fujinaka)
31049Solution: Adjust #ifdef.
31050Files: src/os_unix.c
31051
31052Patch 8.2.5068
31053Problem: Gcc 12.1 warning when building tee.
31054Solution: Change type to size_t. (John Marriott)
31055Files: src/tee/tee.c
31056
31057Patch 8.2.5069
31058Problem: Various warnings from clang on MS-Windows.
31059Solution: Fix the code to avoid the warnings. (Yegappan Lakshmanan,
31060 closes #10538)
31061Files: src/dosinst.c, src/fileio.c, src/gui_w32.c, src/os_mswin.c,
31062 src/os_win32.c
31063
31064Patch 8.2.5070
31065Problem: Unnecessary code.
31066Solution: Remove code that isn't needed. (closes #10534)
31067Files: src/message.c, src/screen.c
31068
31069Patch 8.2.5071
31070Problem: With some Mac OS version clockid_t is redefined.
31071Solution: Adjust #ifdefs. (Ozaki Kiichi, closes #10549)
31072Files: src/os_mac.h
31073
31074Patch 8.2.5072
31075Problem: Using uninitialized value and freed memory in spell command.
31076Solution: Initialize "attr". Check for empty line early.
31077Files: src/spell.c, src/testdir/test_spell_utf8.vim
31078
31079Patch 8.2.5073
31080Problem: Clang on MS-Windows produces warnings.
31081Solution: Avoid the warnings. (Yegappan Lakshmanan, closes #10546)
31082Files: src/dosinst.c, src/dosinst.h, src/gui_dwrite.cpp, src/gui_w32.c,
31083 src/iscygpty.c, src/libvterm/src/vterm_internal.h, src/mbyte.c,
31084 src/os_win32.c, src/os_win32.h, src/term.c, src/xdiff/xinclude.h
31085
31086Patch 8.2.5074
31087Problem: Spell test fails on MS-Windows.
31088Solution: Do not change 'encoding'
31089Files: src/testdir/test_spell_utf8.vim
31090
31091Patch 8.2.5075
31092Problem: Clang gives an out of bounds warning.
31093Solution: adjust conditional expression (John Marriott)
31094Files: src/ui.c
31095
31096Patch 8.2.5076
31097Problem: Unnecessary code.
31098Solution: Remove code and replace with function call. (closes #10552)
31099Files: src/drawline.c, src/getchar.c
31100
31101Patch 8.2.5077
31102Problem: Various warnings from clang on MS-Windows.
31103Solution: Avoid the warnings. (Yegappan Lakshmanan, closes #10553)
31104Files: src/dosinst.c, src/dosinst.h, src/filepath.c, src/gui_w32.c,
31105 src/misc1.c, src/os_win32.c
31106
31107Patch 8.2.5078
31108Problem: Substitute test has a one second delay.
31109Solution: Use ":silent!". Add another test case. (closes #10558)
31110Files: src/testdir/test_substitute.vim
31111
31112Patch 8.2.5079
31113Problem: DirChanged autocommand may use freed memory. (Shane-XB Qian)
31114Solution: Free the memory later. (closes #10555)
31115Files: src/ex_docmd.c, src/testdir/test_autocmd.vim
31116
31117Patch 8.2.5080
31118Problem: When indenting gets out of hand it is hard to stop.
31119Solution: When line gets too long set got_int.
31120Files: src/indent.c
31121
31122Patch 8.2.5081
31123Problem: Autocmd test fails on MS-Windows.
31124Solution: Set shellslash to get forward slashes.
31125Files: src/testdir/test_autocmd.vim
31126
31127Patch 8.2.5082 (after 8.2.5080)
31128Problem: Retab test fails.
31129Solution: Disable the test for now.
31130Files: src/testdir/test_retab.vim
31131
31132Patch 8.2.5083
31133Problem: Autocmd test still fails on MS-Windows.
31134Solution: Change backward to forward slashes.
31135Files: src/testdir/test_autocmd.vim
31136
31137Patch 8.2.5084
31138Problem: When the GUI shows a dialog tests get stuck.
31139Solution: Add the --gui-dialog-file argument.
31140Files: runtime/doc/starting.txt, src/Make_mvc.mak, src/gui.c, src/main.c,
31141 src/message.c, src/os_mswin.c, src/proto/gui.pro,
31142 src/proto/main.pro, src/structs.h, src/testdir/Make_dos.mak,
31143 src/testdir/Make_ming.mak, src/testdir/Makefile,
31144 src/testdir/runtest.vim, src/testdir/shared.vim
31145
31146Patch 8.2.5085
31147Problem: Gcc gives warning for signed/unsigned difference.
31148Solution: Use a different pointer type. (John Marriott)
31149Files: src/os_mswin.c
31150
31151Patch 8.2.5086
31152Problem: CI runs on Windows 2019.
31153Solution: Switch to Windows 2022. (closes #10566)
31154Files: .github/workflows/ci.yml
31155
31156Patch 8.2.5087
31157Problem: Cannot build with clang on MS-Windows.
31158Solution: Add support for building with clang. (Yegappan Lakshmanan,
31159 closes #10557)
31160Files: src/GvimExt/Make_ming.mak, src/INSTALLpc.txt,
31161 src/Make_cyg_ming.mak
31162
31163Patch 8.2.5088
31164Problem: Value of cmod_verbose is a bit complicated to use.
31165Solution: Use zero for not set, value + 1 when set. (closes #10564)
31166Files: src/ex_docmd.c, src/ex_getln.c, src/globals.h, src/structs.h
31167
31168Patch 8.2.5089
31169Problem: Some functions return a different value on failure.
31170Solution: Initialize the return value earlier. (Yegappan Lakshmanan,
31171 closes #10568)
31172Files: src/autocmd.c, src/dict.c, src/evalfunc.c, src/list.c
31173
31174Patch 8.2.5090
31175Problem: MS-Windows: vim.def is no longer used.
31176Solution: Delete vim.def. (Ken Takata, closes #10569)
31177Files: Filelist, Makefile, src/vim.def
31178
31179Patch 8.2.5091
31180Problem: Terminal test fails with some shell commands.
31181Solution: Disable setting the window title. (closes #10530)
31182Files: src/testdir/test_terminal.vim
31183
31184Patch 8.2.5092
31185Problem: Using "'<,'>" in Ex mode may compare unrelated pointers.
31186Solution: Set eap->cmd to "+" only later.
31187Files: src/ex_docmd.c
31188
31189Patch 8.2.5093
31190Problem: Error message for unknown command may mention the command twice.
31191 (Malcolm Rowe)
31192Solution: Add the did_append_cmd flag. (closes #10570)
31193Files: src/ex_docmd.c
31194
31195Patch 8.2.5094
31196Problem: MS-Windows GUI: empty command may cause a dialog.
31197Solution: Delete the dialog file. Improve the message.
31198Files: src/testdir/runtest.vim, src/testdir/test_ex_mode.vim
31199
31200Patch 8.2.5095
31201Problem: Terminal test still fails with some shell commands.
31202Solution: Disable setting the window title in the Vim instance running in a
31203 terminal window. (closes #10530)
31204Files: src/testdir/test_terminal.vim
31205
31206Patch 8.2.5096 (after 8.2.5095)
31207Problem: Terminal test still fails with some shell commands.
31208Solution: Add missing "call". (closes #10530)
31209Files: src/testdir/test_terminal.vim
31210
31211Patch 8.2.5097
31212Problem: Using uninitialized memory when using 'listchars'.
31213Solution: Use the length returned by mb_char2bytes(). (closes #10576)
31214Files: src/message.c
31215
31216Patch 8.2.5098
31217Problem: Spelldump test sometimes hangs.
31218Solution: Catch the problem of the spell file not being found to avoid
31219 hanging in the download dialog.
31220Files: src/testdir/test_spell.vim
31221
31222Patch 8.2.5099
31223Problem: Some terminal tests are not retried.
31224Solution: Mark terminal tests as flaky.
31225Files: src/testdir/test_terminal.vim
31226
31227Patch 8.2.5100
31228Problem: Memory usage tests are not retried.
31229Solution: Mark memory usage tests as flaky.
31230Files: src/testdir/test_memory_usage.vim
31231
31232Patch 8.2.5101
31233Problem: MS-Windows with MinGW: $CC may be "cc" instead of "gcc".
31234Solution: Set $CC if it is not matching "clang". (Yegappan Lakshmanan,
31235 closes #10578)
31236Files: src/INSTALLpc.txt, src/Make_cyg_ming.mak
31237
31238Patch 8.2.5102
31239Problem: Interrupt not caught in test.
31240Solution: Consider an exception thrown in the current try/catch when got_int
31241 is set. Also catch early exit when not using try/catch.
31242Files: src/indent.c, src/testing.c, src/testdir/test_retab.vim,
31243 src/testdir/runtest.vim
31244
31245Patch 8.2.5103
31246Problem: Build fails with small features.
31247Solution: Add #ifdef. Skip test on MS-Windows.
31248Files: src/indent.c, src/testdir/test_retab.vim
31249
31250Patch 8.2.5104 (after 8.2.5103)
31251Problem: Test hangs on MS-Windows.
31252Solution: Skip another test on MS-Windows.
31253Files: src/testdir/test_retab.vim
31254
31255Patch 8.2.5105 (after 8.2.5104)
31256Problem: Test still hangs on MS-Windows.
31257Solution: Skip "nocatch" test the right way.
31258Files: src/testdir/test_retab.vim
31259
31260Patch 8.2.5106
31261Problem: Default cmdwin mappings are re-mappable.
31262Solution: Make the default mappings not re-mappable. (closes #10580) Use
31263 symbols for the first do_map() argument.
31264Files: src/vim.h, src/ex_getln.c, src/map.c, src/proto/map.pro,
31265 src/digraph.c, src/netbeans.c
31266
31267Patch 8.2.5107
31268Problem: Some callers of rettv_list_alloc() check for not OK. (Christ van
31269 Willegen)
31270Solution: Use "==" instead of "!=" when checking the return value.
31271Files: src/evalbuffer.c, src/channel.c, src/cmdexpand.c, src/evalfunc.c,
31272 src/evalwindow.c, src/insexpand.c, src/job.c, src/list.c,
31273 src/map.c, src/menu.c, src/mouse.c, src/move.c, src/sign.c,
31274 src/textprop.c, src/term.c, src/time.c
31275
31276Patch 8.2.5108
31277Problem: Retab test disabled because it hangs on MS-Windows.
31278Solution: Also set got_int at the other place a overlong text is detected.
31279Files: src/indent.c, src/testdir/test_retab.vim
31280
31281Patch 8.2.5109
31282Problem: Mode not updated after CTRL-O CTRL-C in Insert mode.
31283Solution: Set redraw_mode and use it. (closes #10581)
31284Files: src/main.c, src/normal.c, src/testdir/test_normal.vim,
31285 src/testdir/dumps/Test_mode_updated_1.dump
31286
31287Patch 8.2.5110
31288Problem: Icon filetype not recognized from the first line.
31289Solution: Add a check for the first line. (Doug Kearns)
31290Files: runtime/autoload/dist/script.vim, src/testdir/test_filetype.vim
31291
31292Patch 8.2.5111
31293Problem: No test for --gui-dialog-file.
31294Solution: Add a test.
31295Files: src/testdir/test_gui.vim
31296
31297Patch 8.2.5112 (after 8.2.5111)
31298Problem: Gui test hangs on MS-Windows.
31299Solution: Use "!start" to start Vim.
31300Files: src/testdir/test_gui.vim
31301
31302Patch 8.2.5113
31303Problem: Timer becomes invalid after fork/exec, :gui gives errors. (Gabriel
31304 Dupras)
31305Solution: Delete the timer befor forking. (closes #10584)
31306Files: src/os_unix.c, src/proto/os_unix.pro, src/gui.c
31307
31308Patch 8.2.5114
31309Problem: Time limit on searchpair() does not work properly.
31310Solution: Set the time limit once instead of for each regexp. (closes #10562)
31311Files: src/search.c, src/evalfunc.c, src/testdir/test_search.vim
31312
31313Patch 8.2.5115
31314Problem: Search timeout is overrun with some patterns.
31315Solution: Check for timeout in more places. Make the flag volatile and
31316 atomic. Use assert_inrange() to see what happened.
31317Files: src/regexp_nfa.c, src/regexp_bt.c, src/regexp.c, src/os_unix.c,
31318 src/proto/os_unix.pro, src/testdir/test_search.vim
31319
31320Patch 8.2.5116
31321Problem: "limit" option of matchfuzzy() not always respected.
31322Solution: Remove "else". (Kazuyuki Miyagi, closes #10586)
31323Files: runtime/doc/builtin.txt, src/search.c,
31324 src/testdir/test_matchfuzzy.vim
31325
31326Patch 8.2.5117
31327Problem: Crash when calling a Lua callback from a :def function. (Bohdan
31328 Makohin)
31329Solution: Handle FC_CFUNC in call_user_func_check(). (closes #10587)
31330Files: src/userfunc.c, src/testdir/test_lua.vim
31331
31332Patch 8.2.5118
31333Problem: MS-Windows: sending a message to another Vim may hang if that Vim
31334 is halted.
31335Solution: Add a timeout to serverSendToVim(). (Ken Takata, closes #10585)
31336Files: runtime/pack/dist/opt/editexisting/plugin/editexisting.vim,
31337 src/os_mswin.c
31338
31339Patch 8.2.5119
31340Problem: CI uses cache v2.
31341Solution: Use cache v3. (closes #10588)
31342Files: .github/workflows/ci.yml
31343
31344Patch 8.2.5120
31345Problem: Searching for quotes may go over the end of the line.
31346Solution: Check for running into the NUL.
31347Files: src/textobject.c
31348
31349Patch 8.2.5121
31350Problem: Interrupt test sometimes fails.
31351Solution: Use a different file name.
31352Files: src/testdir/test_interrupt.vim
31353
31354Patch 8.2.5122
31355Problem: Lisp indenting my run over the end of the line.
31356Solution: Check for NUL earlier.
31357Files: src/indent.c, src/testdir/test_indent.vim
31358
31359Patch 8.2.5123
31360Problem: Using invalid index when looking for spell suggestions.
31361Solution: Do not decrement the index when it is zero.
31362Files: src/spellsuggest.c, src/testdir/test_spell.vim
31363
31364Patch 8.2.5124
31365Problem: When syntax timeout test fails it does not show the time.
31366Solution: Use assert_inrange().
31367Files: src/testdir/test_syntax.vim
31368
31369Patch 8.2.5125
31370Problem: MS-Windows: warnings from MinGW compyler.
31371Solution: Use "volatile". (Yasuhiro Matsumoto, closes #10589) Initialize
31372 variable.
31373Files: src/os_win32.c, src/proto/os_win32.pro, src/map.c
31374
31375Patch 8.2.5126
31376Problem: Substitute may overrun destination buffer.
31377Solution: Disallow switching buffers in a substitute expression.
31378Files: src/ex_docmd.c, src/testdir/test_substitute.vim
31379
31380Patch 8.2.5127
31381Problem: Using assert_true() does not show value on failure.
31382Solution: Use assert_inrange(). (closes #10593)
31383Files: src/testdir/test_channel.vim, src/testdir/test_hlsearch.vim
31384
31385Patch 8.2.5128
31386Problem: Syntax highlighting disabled when using synID() in searchpair()
31387 skip expression and it times out. (Jaehwang Jung)
31388Solution: Add the redrawtime_limit_set flag. (closes #10562)
31389Files: src/globals.h, src/drawscreen.c, src/syntax.c
31390
31391Patch 8.2.5129
31392Problem: Timeout handling is not optimal.
31393Solution: Avoid setting timeout_flag twice. Adjust the pointer when
31394 stopping the regexp timeout. Adjust variable name.
31395Files: src/os_unix.c, src/os_win32.c, src/regexp.c
Bram Moolenaarc51cf032022-02-26 12:25:45 +000031396
31397
31398
31399 vim:tw=78:ts=8:noet:ft=help:norl: