blob: d53754a3fd5e2cc1b1ecb6b30b6f917371295eb5 [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
251|language-server-protocol|.
252
253Support for sourcing lines from the current buffer. |:source-range|
254
255Support for stopping profiling a Vim script: `:profile stop` and dumping the
256report to a file: `:profile dump` . |:profile|
257
258Argument completion support for the |:scriptnames|, |:profile|, |:profdel|,
259|:breakadd| and |:breakdel| commands.
260
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100261Support for setting the 'foldtext', 'completefunc', 'omnifunc',
262'operatorfunc', 'thesaurusfunc', 'quickfixtextfunc', 'tagfunc',
263'imactivatefunc' and 'imstatusfunc' options to a function reference or a
264lambda function or a script-local function.
Bram Moolenaard799daa2022-06-20 11:17:32 +0100265
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100266Support directly setting the 'balloonexpr', 'charconvert' 'foldexpr',
267'formatexpr', 'includeexpr', 'printexpr', 'patchexpr', 'indentexpr',
268'modelineexpr', 'diffexpr' and 'printexpr' options to a script-local function.
Bram Moolenaard799daa2022-06-20 11:17:32 +0100269
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100270Support for configuring the character used to mark the beginning of a fold,
271show a closed fold and show a fold separator using "foldopen", "foldclose" and
272"foldsep" respectively in 'fillchars'.
273
274Support for configuring the character displayed in non existing lines using
275"eob" in 'fillchars'.
276
277Support for using multibyte items with the "stl", "stlnc", "foldopen",
278"foldclose" and "foldsep" items in the 'fillchars' option.
279
280Support for the XChaCha20 encryption method. 'cryptmethod'
Bram Moolenaard799daa2022-06-20 11:17:32 +0100281
282Spell check current word with |z=| even when 'spell' is off.
283
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100284Add "timeout" to 'spellsuggest' to limit the searching time for spell
285suggestions.
286
Bram Moolenaard799daa2022-06-20 11:17:32 +0100287Support for executing Ex commands in a map without changing the current mode
288|<Cmd>| and |<ScriptCmd>|.
289
290A large number of tests have been added to verify the Vim functionality. Most
291of the old style tests have been converted to new style tests using the new
292style assert_* functions.
293
294Add optional error code to |:cquit|.
295
296Support for using a Unix domain socket with a |channel|.
297
298IPv6 support in channels |channel-address|.
299
300Call Vim functions from Lua (vim.call('func', 'arg')).
301
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100302Recognize numbers as unsigned when "unsigned" is set in 'nrformats'.
Bram Moolenaard799daa2022-06-20 11:17:32 +0100303
304Allow setting underline color in terminal.
305
306Expand script ID using expand('<SID>'). |expand()|
307
308Jump to the last accessed tab page using |g<Tab>|.
309
310Locale aware sorting using |:sort| and |sort()|.
311
312Hide cursor when sleeping using |:sleep!|.
313
314Detect focus events in terminal (|FocusGained| and |FocusLost|).
315
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100316Add "multispace" to 'listchars' to show two or more spaces no matter where
317they appear. Add "leadmultispace" to 'listchars' to show two or more leading
318spaces. Add "lead" to 'listchars' to set the character used to show leading
319spaces.
320
321Make 'listchars', 'virtualedit' and 'thesaurusfunc' global-local options.
Bram Moolenaard799daa2022-06-20 11:17:32 +0100322
323Support for looping over a string using |:for|.
324
325Don't reset 'wrap' for diff windows when "followwrap" is set in 'diffopt'.
326
327Support for re-evaluating the 'statusline' expression as a statusline format
328string (%{expr})
329
330Add |zp| and |zP| to paste in block mode without adding trailing white space.
331Add |zy| to yank without trailing white space in block mode.
332
333Add \%.l, \%<.l and \%>.l atoms to match the line the cursor is currently on.
334See |/\%l| for more information.
335
336Add "list" to 'breakindentopt' to add additional indent for lines that match
337a numbered or bulleted list. Add "column" to 'breakindentopt' to indent
338soft-wrapped lines at a specific column.
339
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100340Add the |hl-CursorLineSign| and |hl-CursorLineFold| default highlight groups to
Bram Moolenaard799daa2022-06-20 11:17:32 +0100341adjust sign highlighting for 'cursorline'.
342
343Add the |hl-CurSearch| default highlight group for the current search match.
344
Bram Moolenaard799daa2022-06-20 11:17:32 +0100345Add the 'P' command in visual mode to paste text in visual mode without
346yanking the deleted text to the unnamed register.
347
Bram Moolenaard799daa2022-06-20 11:17:32 +0100348Add support for parsing the end line number (%e) and end column number
349(%k) using 'errorformat'.
350
351Add support for logging on Vim startup (|--log|).
352
353Add "/" in 'formatoptions' to stop inserting // when using "o" on a line with
354inline comment.
355
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100356Display every option in a separate line when "!" is used with |:set|.
357
358Add "nostop" to 'backspace' to allow backspacing over the start of insert for
359|CTRL-W| and |CTRL-U| also.
360
361Add bell support for the terminal window. ('belloff')
362
363Sync the undo file if 'fsync' is set.
364
365Support excluding the 'runtimepath' and 'packpath' options from a session file
366using "skiprtp" in 'sessionoptions'.
367
368Stop insert mode completion without changing text (|i_CTRL-X_CTRL-Z|).
Bram Moolenaard799daa2022-06-20 11:17:32 +0100369
370TODO: more
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000371
372==============================================================================
373COMPILE TIME CHANGES *compile-changes-9*
374
Bram Moolenaar8cc5b552022-06-23 13:04:20 +0100375The following features are now enabled in all the builds:
376 |+cindent|
377 |+jumplist|
378 |+lispindent|
379 |+num64|
380 |+smartindent|
381 |+tag_binary|
382 |+title|
383
384The following features have been removed. They are either obsolete or didn't
385work properly:
386 - Athena GUI support (use Motif instead)
387 - EBCDIC support
388 - Atari MiNT
389 - Mac Carbon GUI (use MacVim instead)
390
391The rgb.txt file is no longer included, use colors/lists/default.vim instead.
392
393Several source files were split, mainly to make it easier to inspect code
394coverage information.
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000395
396==============================================================================
397PATCHES *patches-9* *bug-fixes-9*
398 *patches-after-8.2*
399
400The list of patches that got included since 8.2.0. This includes all the new
401features, but does not include runtime file changes (syntax, indent, help,
402etc.)
403
404Patch 8.2.0001
405Problem: #endif comments do not reflect corresponding #ifdef.
406Solution: Update the comments. (Rene Nyffenegger, closes #5351)
407Files: src/ui.c
408
409Patch 8.2.0002
410Problem: "dj" only deletes first line of closed fold.
411Solution: Adjust last line of operator for linewise motion. (closes #5354)
412Files: src/ops.c, src/testdir/test_fold.vim
413
414Patch 8.2.0003
415Problem: Build file dependencies are incomplete.
416Solution: Fix the dependencies. (Ken Takata, closes #5356)
417Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms,
418 src/Makefile
419
420Patch 8.2.0004
421Problem: Get E685 and E931 if buffer reload is interrupted.
422Solution: Do not abort deleting a dummy buffer. (closes #5361)
423Files: src/buffer.c, src/proto/buffer.pro, src/testdir/test_trycatch.vim,
424 src/ex_cmds.c, src/ex_getln.c, src/misc2.c, src/quickfix.c,
425 src/window.c, src/vim.h
426
427Patch 8.2.0005
428Problem: Duplication in version info.
429Solution: Use preprocessor string concatenation. (Ken Takata, closes #5357)
430Files: src/version.h
431
432Patch 8.2.0006
433Problem: Test using long file name may fail. (Vladimir Lomov)
434Solution: Limit the name length. (Christian Brabandt, closes #5358)
435Files: src/testdir/test_display.vim
436
437Patch 8.2.0007
438Problem: Popup menu positioned wrong with folding in two tabs.
439Solution: Update the cursor line height. (closes #5353)
440Files: src/move.c, src/proto/move.pro, src/popupmenu.c,
441 src/testdir/test_ins_complete.vim,
442 src/testdir/dumps/Test_pum_with_folds_two_tabs.dump
443
444Patch 8.2.0008
445Problem: Test72 is old style.
446Solution: Convert to new style test. (Yegappan Lakshmanan, closes #5362)
447Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
448 src/testdir/test72.in, src/testdir/test72.ok,
449 src/testdir/test_undo.vim
450
451Patch 8.2.0009
452Problem: VMS: terminal version doesn't build.
453Solution: Move MIN definition. Adjust #ifdefs. (Zoltan Arpadffy)
454Files: src/bufwrite.c, src/fileio.c, src/ui.c, src/xxd/Make_vms.mms
455
456Patch 8.2.0010
457Problem: Test64 is old style.
458Solution: Convert to new style test. (Yegappan Lakshmanan, closes #5363)
459Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
460 src/testdir/test64.in, src/testdir/test64.ok,
461 src/testdir/test95.in, src/testdir/test_regexp_latin.vim
462
463Patch 8.2.0011
464Problem: Screen updating wrong when opening preview window.
465Solution: Redraw the window when the preview window opens.
466Files: src/popupmenu.c, src/testdir/test_ins_complete.vim,
467 src/testdir/dumps/Test_pum_with_preview_win.dump
468
469Patch 8.2.0012
470Problem: Some undo functionality is not tested.
471Solution: Add a few more test cases. (Dominique Pellé, closes #5364)
472Files: src/testdir/test_undo.vim
473
474Patch 8.2.0013
475Problem: Not using a typedef for condstack.
476Solution: Add a typedef.
477Files: src/structs.h, src/ex_docmd.c, src/ex_eval.c, src/userfunc.c,
478 src/ex_cmds.h, src/proto/ex_eval.pro
479
480Patch 8.2.0014
481Problem: Test69 and test95 are old style.
482Solution: Convert to new style tests. (Yegappan Lakshmanan, closes #5365)
483Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
484 src/testdir/test69.in, src/testdir/test69.ok,
485 src/testdir/test95.in, src/testdir/test95.ok,
486 src/testdir/test_regexp_utf8.vim, src/testdir/test_textformat.vim
487
488Patch 8.2.0015
489Problem: Not all modeline variants are tested.
490Solution: Add modeline tests. (Dominique Pellé, closes #5369)
491Files: src/testdir/test_modeline.vim
492
493Patch 8.2.0016
494Problem: Test name used twice, option not restored properly.
495Solution: Rename function, restore option with "&".
496Files: src/testdir/test_textformat.vim
497
498Patch 8.2.0017
499Problem: OS/2 and MS-DOS are still mentioned, even though support was
500 removed long ago.
501Solution: Update documentation. (Yegappan Lakshmanan, closes #5368)
502Files: runtime/doc/autocmd.txt, runtime/doc/change.txt,
503 runtime/doc/cmdline.txt, runtime/doc/editing.txt,
504 runtime/doc/eval.txt, runtime/doc/gui.txt, runtime/doc/insert.txt,
505 runtime/doc/options.txt, runtime/doc/print.txt,
506 runtime/doc/quickfix.txt, runtime/doc/repeat.txt,
507 runtime/doc/starting.txt, runtime/doc/usr_01.txt,
508 runtime/doc/usr_05.txt, runtime/doc/usr_41.txt,
509 runtime/doc/vi_diff.txt, runtime/gvimrc_example.vim,
510 runtime/tools/README.txt, runtime/vimrc_example.vim, src/feature.h
511
512Patch 8.2.0018
513Problem: :join does not add white space where it should. (Zdenek Dohnal)
514Solution: Handle joining multiple lines properly.
515Files: src/ops.c, src/testdir/test_join.vim
516
517Patch 8.2.0019
518Problem: Cannot get number of lines of another buffer.
519Solution: Add "linecount" to getbufinfo(). (Yasuhiro Matsumoto,
520 closes #5370)
521Files: src/evalbuffer.c, src/testdir/test_bufwintabinfo.vim,
522 runtime/doc/eval.txt
523
524Patch 8.2.0020
525Problem: Mouse clicks in the command line not tested.
526Solution: Add tests. (Dominique Pellé, closes #5366)
527Files: src/testdir/test_termcodes.vim
528
529Patch 8.2.0021
Bram Moolenaar1588bc82022-03-08 21:35:07 +0000530Problem: Timer test fails too often on Travis with macOS.
Bram Moolenaarc51cf032022-02-26 12:25:45 +0000531Solution: Be less strict with the time.
532Files: src/testdir/test_timers.vim
533
534Patch 8.2.0022
535Problem: Click in popup window doesn't close it in the GUI. (Sergey Vlasov)
536Solution: When processing the selection also send a button release event.
537 (closes #5367)
538Files: src/gui.c
539
540Patch 8.2.0023
541Problem: Command line editing not sufficiently tested.
542Solution: Add more tests. (Dominique Pellé, closes #5374)
543Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim,
544 src/testdir/test_cmdline.vim, src/testdir/test_ex_mode.vim
545
546Patch 8.2.0024
547Problem: Filetype Rego not recognized.
548Solution: Add *.rego. (Matt Dunford, closes #5376)
549Files: runtime/filetype.vim, src/testdir/test_filetype.vim
550
551Patch 8.2.0025
552Problem: Repeated word in comment.
553Solution: Remove one. (Rene Nyffenegger, closes #5384)
554Files: src/structs.h
555
556Patch 8.2.0026
557Problem: Still some /* */ comments.
558Solution: Convert to // comments.
559Files: src/message.c, src/message_test.c, src/misc1.c, src/misc2.c,
560 src/move.c
561
562Patch 8.2.0027
563Problem: Still some /* */ comments.
564Solution: Convert to // comments.
565Files: src/iid_ole.c, src/indent.c, src/insexpand.c, src/iscygpty.c,
566 src/version.c
567
568Patch 8.2.0028
569Problem: Searchpairpos() is not tested.
570Solution: Add tests. Also improve searchpair() testing. (Dominique Pellé,
571 closes #5388)
572Files: src/testdir/test_search.vim
573
574Patch 8.2.0029
575Problem: MS-Windows: crash with empty job command.
576Solution: Check for NULL result. (Yasuhiro Matsumoto, closes #5390)
577Files: src/channel.c, src/testdir/test_channel.vim
578
579Patch 8.2.0030
580Problem: "gF" does not work on output of "verbose command".
581Solution: Recognize " line " and translations. (closes #5391)
582Files: src/globals.h, src/eval.c, src/findfile.c, src/testdir/test_gf.vim
583
584Patch 8.2.0031 (after 8.2.0029)
585Problem: MS-Windows: test for empty job fails
586Solution: Check for error message, make it also fail on Unix.
587Files: src/channel.c, src/testdir/test_channel.vim
588
589Patch 8.2.0032 (after 8.2.0031)
590Problem: MS-Windows: test for blank job fails
591Solution: Check before escaping.
592Files: src/channel.c, src/testdir/test_channel.vim
593
594Patch 8.2.0033
595Problem: Crash when make_extmatch() runs out of memory.
596Solution: Check for NULL. (Dominique Pellé, closes #5392)
597Files: src/regexp_bt.c, src/regexp_nfa.c
598
599Patch 8.2.0034
600Problem: Missing check for out of memory.
601Solution: Check for NULL after vim_strsave(). (Dominique Pellé,
602 closes #5393)
603Files: src/filepath.c
604
605Patch 8.2.0035
606Problem: Saving and restoring called_emsg is clumsy.
607Solution: Count the number of error messages.
608Files: src/message.c, src/buffer.c, src/channel.c, src/drawscreen.c,
609 src/ex_cmds2.c, src/gui.c, src/highlight.c, src/main.c,
610 src/regexp.c, src/search.c, src/testing.c, src/globals.h
611
612Patch 8.2.0036
613Problem: Not enough test coverage for match functions.
614Solution: Add a few more test cases. (Dominique Pellé, closes #5394)
615 Add error number.
616Files: src/testdir/test_match.vim
617
618Patch 8.2.0037
619Problem: Missing renamed message.
620Solution: Now really add the error number.
621Files: src/highlight.c
622
623Patch 8.2.0038
624Problem: Spell suggestions insufficiently tested.
625Solution: Add spell suggestion tests. (Dominique Pellé, closes #5398)
626Files: src/testdir/test_spell.vim
627
628Patch 8.2.0039
629Problem: Memory access error when "z=" has no suggestions.
630Solution: Check for negative index.
631Files: src/testdir/test_spell.vim, src/spellsuggest.c
632
633Patch 8.2.0040
634Problem: Timers test is still flaky on Travis for Mac.
635Solution: Run separately instead of as part of test_alot.
636Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim
637
638Patch 8.2.0041
639Problem: Leaking memory when selecting spell suggestion.
640Solution: Free previous value at the right time.
641Files: src/spellsuggest.c
642
643Patch 8.2.0042
644Problem: Clearing funccal values twice.
645Solution: Remove clearing individual fields.
646Files: src/userfunc.c
647
648Patch 8.2.0043
649Problem: Timers test is still flaky on Travis for Mac.
650Solution: Increase maximum expected time.
651Files: src/testdir/test_timers.vim
652
653Patch 8.2.0044
654Problem: Expression type is used inconsistently.
655Solution: Add "ETYPE_IS" and "ETYPE_ISNOT" as separate enum values. Rename
656 "TYPE_" to "ETYPE_" to avoid confusion.
657Files: src/structs.h, src/eval.c, src/proto/eval.pro, src/debugger.c
658
659Patch 8.2.0045 (after 8.2.0044)
660Problem: Script test fails.
661Solution: For numbers "is" and "isnot" work like "==" and "!=".
662Files: src/eval.c
663
664Patch 8.2.0046
665Problem: Tests for spell suggestions are slow.
666Solution: Use shorter words. Test with latin1 and utf-8 to cover more code.
667 (Dominique Pellé, closes #5399)
668Files: src/testdir/test_spell.vim
669
670Patch 8.2.0047
671Problem: Cannot skip tests for specific MS-Windows platform.
672Solution: Add windowsversion().
673Files: src/os_win32.c, src/globals.h, src/evalfunc.c,
674 runtime/doc/eval.txt, src/testdir/gen_opt_test.vim,
675 src/testdir/test_options.vim
676
677Patch 8.2.0048
678Problem: Another timers test is flaky on Travis for Mac.
679Solution: Increase maximum expected time.
680Files: src/testdir/test_timers.vim
681
682Patch 8.2.0049
683Problem: Command line completion not fully tested.
684Solution: Add more test cases. Make help sorting stable. (Dominique Pellé,
685 closes #5402)
686Files: src/ex_cmds.c, src/testdir/test_cd.vim,
687 src/testdir/test_cmdline.vim, src/testdir/test_help.vim,
688 src/testdir/test_menu.vim, src/testdir/test_options.vim,
689 src/testdir/test_syntax.vim
690
691Patch 8.2.0050
692Problem: After deleting a file mark it is still in viminfo.
693Solution: When a file mark was deleted more recently than the mark in the
694 merged viminfo file was updated, do not store the mark. (Pavol
695 Juhas, closes #5401, closes #1339)
696Files: src/mark.c, src/testdir/test_marks.vim,
697 src/testdir/test_viminfo.vim, src/viminfo.c
698
699Patch 8.2.0051 (after 8.2.0049)
700Problem: Command line completion test skipped. (Christian Brabandt)
701Solution: Invert condition.
702Files: src/testdir/test_cmdline.vim
703
704Patch 8.2.0052
705Problem: More-prompt not properly tested.
706Solution: Add a test case. (Dominique Pellé, closes #5404)
707Files: src/testdir/test_messages.vim
708
709Patch 8.2.0053
710Problem: windowsversion() does not always return the right value.
711Solution: Add a compatibility section in the manifest. (Ken Takata,
712 closes #5407)
713Files: src/gvim.exe.mnf
714
715Patch 8.2.0054
716Problem: :diffget and :diffput don't have good completion.
717Solution: Add proper completion. (Dominique Pellé, closes #5409)
718Files: runtime/doc/eval.txt, src/buffer.c, src/cmdexpand.c,
719 src/testdir/test_diffmode.vim, src/usercmd.c, src/vim.h
720
721Patch 8.2.0055
722Problem: Cannot use ":gui" in vimrc with VIMDLL enabled.
723Solution: Change the logic, check "gui.starting". (Ken Takata, closes #5408)
724Files: src/gui.c
725
726Patch 8.2.0056
727Problem: Execution stack is incomplete and inefficient.
728Solution: Introduce a proper execution stack and use it instead of
729 sourcing_name/sourcing_lnum. Create a string only when used.
730Files: src/structs.h, src/globals.h, src/autocmd.c, src/buffer.c
731 src/debugger.c, src/ex_docmd.c, src/ex_eval.c, src/highlight.c,
732 src/main.c, src/map.c, src/message.c, src/proto/scriptfile.pro,
733 src/scriptfile.c, src/option.c, src/profiler.c, src/spellfile.c,
734 src/term.c, src/testing.c, src/usercmd.c, src/userfunc.c,
735 src/kword_test.c, src/testdir/test_debugger.vim
736
737Patch 8.2.0057 (after 8.2.0056)
738Problem: Cannot build with small features.
739Solution: Add #ifdefs.
740Files: src/scriptfile.c
741
742Patch 8.2.0058
743Problem: Running tests changes ~/.viminfo.
744Solution: Make 'viminfo' empty when summarizing tests results. (closes #5414)
745Files: src/testdir/summarize.vim
746
747Patch 8.2.0059
748Problem: Compiler warnings for unused variables in small build. (Tony
749 Mechelynck)
750Solution: Add #ifdef.
751Files: src/scriptfile.c
752
753Patch 8.2.0060
754Problem: Message test only runs with one encoding. (Dominique Pellé)
755Solution: Run the test with "utf-8" and "latin1". Fix underflow. (related
756 to #5410)
757Files: src/message_test.c, src/message.c
758
759Patch 8.2.0061
760Problem: The execute stack can grow big and never shrinks.
761Solution: Reduce the size in garbage collect.
762Files: src/eval.c
763
764Patch 8.2.0062
765Problem: Memory test is flaky on FreeBSD.
766Solution: Add a short sleep before getting the first size.
767Files: src/testdir/test_memory_usage.vim
768
769Patch 8.2.0063
770Problem: Wrong size argument to vim_snprintf(). (Dominique Pellé)
771Solution: Reduce the size by the length. (related to #5410)
772Files: src/ops.c
773
774Patch 8.2.0064
775Problem: Diffmode completion doesn't use per-window setting.
776Solution: Check if a window is in diff mode. (Dominique Pellé, closes #5419)
777Files: src/buffer.c, src/testdir/test_diffmode.vim
778
779Patch 8.2.0065
780Problem: Amiga and alikes: autoopen only used on Amiga OS4.
781Solution: Adjust #ifdefs. (Ola Söder, closes #5413)
782Files: src/os_amiga.c
783
784Patch 8.2.0066
785Problem: Some corners of vim_snprintf() are not tested.
786Solution: Add a test in C. (Dominique Pellé, closes #5422)
787Files: src/message_test.c
788
789Patch 8.2.0067
790Problem: ERROR_UNKNOWN clashes on some systems.
791Solution: Rename ERROR_ to FCERR_. (Ola Söder, closes #5415)
792Files: src/evalfunc.c, src/userfunc.c, src/vim.h
793
794Patch 8.2.0068
795Problem: Crash when using Python 3 with "utf32" encoding. (Dominique Pellé)
796Solution: Use "utf-8" whenever enc_utf8 is set. (closes #5423)
797Files: src/testdir/test_python3.vim, src/if_py_both.h
798
799Patch 8.2.0069
800Problem: ETYPE_ is used for two different enums.
801Solution: Rename one to use EXPR_.
802Files: src/structs.h, src/eval.c, src/debugger.c
803
804Patch 8.2.0070
805Problem: Crash when using Python 3 with "debug" encoding. (Dominique Pellé)
806Solution: Use "euc-jp" whenever enc_dbcs is set.
807Files: src/testdir/test_python3.vim, src/if_py_both.h
808
809Patch 8.2.0071
810Problem: Memory test often fails on Cirrus CI.
811Solution: Allow for more tolerance in the upper limit. Remove sleep.
812Files: src/testdir/test_memory_usage.vim
813
814Patch 8.2.0072 (after 8.2.0071)
815Problem: Memory test still fails on Cirrus CI.
816Solution: Allow for a tiny bit more tolerance in the upper limit.
817Files: src/testdir/test_memory_usage.vim
818
819Patch 8.2.0073
820Problem: Initializing globals with COMMA is clumsy.
821Solution: Use INIT2(), INIT3(), etc.
822Files: src/vim.h, src/globals.h
823
824Patch 8.2.0074
825Problem: Python 3 unicode test sometimes fails.
826Solution: Make 'termencoding' empty. Correct number of error message.
827Files: src/change.c, runtime/doc/options.txt, runtime/doc/message.txt,
828 src/testdir/test_python3.vim
829
830Patch 8.2.0075
831Problem: Python 3 unicode test still sometimes fails.
832Solution: Skip the test when 'termencoding' is not empty.
833Files: src/testdir/test_python3.vim
834
835Patch 8.2.0076
836Problem: Python 3 unicode test fails on MS-Windows.
837Solution: Do not set 'encoding' to "debug" on MS-Windows.
838Files: src/testdir/test_python3.vim
839
840Patch 8.2.0077
841Problem: settagstack() cannot truncate at current index.
842Solution: Add the "t" action. (Yegappan Lakshmanan, closes #5417)
843Files: runtime/doc/eval.txt, src/evalfunc.c, src/tag.c,
844 src/testdir/test_tagjump.vim
845
846Patch 8.2.0078
847Problem: Expanding <sfile> works differently the second time.
848Solution: Keep the expanded name when redefining a function. (closes #5425)
849Files: src/testdir/test_vimscript.vim, src/userfunc.c
850
851Patch 8.2.0079
852Problem: Python 3 unicode test still fails on MS-Windows.
853Solution: Do not set 'encoding' to "euc-tw" on MS-Windows.
854Files: src/testdir/test_python3.vim
855
856Patch 8.2.0080
857Problem: Globals using INIT4() are not in the tags file.
858Solution: Adjust the tags command.
859Files: src/configure.ac, src/auto/configure
860
861Patch 8.2.0081
862Problem: MS-Windows also need the change to support INIT4().
863Solution: Add the ctags arguments. (Ken Takata)
864Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
865
866Patch 8.2.0082
867Problem: When reusing a buffer listeners are not cleared. (Axel Forsman)
868Solution: Clear listeners when reusing a buffer. (closes #5431)
869Files: src/testdir/test_listener.vim, src/buffer.c
870
871Patch 8.2.0083
872Problem: Text properties wrong when tabs and spaces are exchanged.
873Solution: Take text properties into account. (Nobuhiro Takasaki,
874 closes #5427)
875Files: src/edit.c, src/testdir/test_textprop.vim
876
877Patch 8.2.0084
878Problem: Complete item "user_data" can only be a string.
879Solution: Accept any type of variable. (closes #5412)
880Files: src/testdir/test_ins_complete.vim, src/insexpand.c, src/dict.c,
881 src/proto/dict.pro, src/eval.c, runtime/doc/insert.txt
882
883Patch 8.2.0085
884Problem: Dead code in builtin functions.
885Solution: Clean up the code.
886Files: src/evalvars.c, src/sound.c, src/textprop.c
887
888Patch 8.2.0086 (after 8.2.0084)
889Problem: Build error for small version. (Tony Mechelynck)
890Solution: Only use "user_data" with the +eval feature. Remove unused
891 variable.
892Files: src/insexpand.c, src/dict.c
893
894Patch 8.2.0087
895Problem: Crash in command line expansion when out of memory.
896Solution: Check for NULL pointer. Also make ExpandGeneric() static.
897 (Dominique Pellé, closes #5437)
898Files: src/cmdexpand.c, src/proto/cmdexpand.pro
899
900Patch 8.2.0088
901Problem: Insufficient tests for tags; bug in using extra tag field when
902 using an ex command to position the cursor.
903Solution: Fix the bug, add more tests. (Yegappan Lakshmanan, closes #5439)
904Files: runtime/doc/tagsrch.txt, src/tag.c,
905 src/testdir/test_ins_complete.vim, src/testdir/test_tagfunc.vim,
906 src/testdir/test_tagjump.vim, src/testdir/test_taglist.vim
907
908Patch 8.2.0089
909Problem: Crash when running out of memory in :setfiletype completion.
910Solution: Do not allocate memory. (Dominique Pellé, closes #5438)
911Files: src/cmdexpand.c
912
913Patch 8.2.0090
914Problem: Generated files show up in git status.
915Solution: Ignore a few more files.
916Files: .gitignore
917
918Patch 8.2.0091
919Problem: Compiler warnings for size_t / int types.
920Solution: Change type to size_t. (Mike Williams)
921Files: src/scriptfile.c
922
923Patch 8.2.0092
924Problem: Tags functionality insufficiently tested.
925Solution: Add more tags tests. (Yegappan Lakshmanan, closes #5446)
926Files: src/testdir/test_tagjump.vim
927
928Patch 8.2.0093
929Problem: win_splitmove() can make Vim hang.
930Solution: Check windows exists in the current tab page. (closes #5444)
931Files: src/testdir/test_window_cmd.vim, src/evalwindow.c
932
933Patch 8.2.0094
934Problem: MS-Windows: cannot build with Strawberry Perl 5.30.
935Solution: Define __builtin_expect() as a workaround. (Ken Takata,
936 closes #5267)
937Files: src/if_perl.xs
938
939Patch 8.2.0095
940Problem: Cannot specify exit code for :cquit.
941Solution: Add optional argument. (Thinca, Yegappan Lakshmanan, closes #5442)
942Files: runtime/doc/quickfix.txt, src/ex_cmds.h, src/ex_docmd.c,
943 src/testdir/test_quickfix.vim
944
945Patch 8.2.0096
946Problem: Cannot create tiny popup window in last column. (Daniel Steinberg)
947Solution: Remove position limit. (closes #5447)
948Files: src/popupwin.c, src/testdir/test_popupwin.vim,
949 src/testdir/dumps/Test_popupwin_20.dump,
950 src/testdir/dumps/Test_popupwin_21.dump
951
952Patch 8.2.0097
953Problem: Crash with autocommand and spellfile. (Tim Pope)
954Solution: Do not pop exestack when not pushed. (closes #5450)
955Files: src/testdir/test_autocmd.vim, src/spellfile.c
956
957Patch 8.2.0098
958Problem: Exe stack length can be wrong without being detected.
959Solution: Add a check when ABORT_ON_INTERNAL_ERROR is defined.
960Files: src/macros.h, src/autocmd.c, src/buffer.c, src/ex_docmd.c,
961 src/main.c, src/map.c, src/scriptfile.c, src/spellfile.c,
962 src/userfunc.c
963
964Patch 8.2.0099
965Problem: Use of NULL pointer when out of memory.
966Solution: Check for NULL pointer. (Dominique Pellé, closes #5449)
967Files: src/cmdexpand.c
968
969Patch 8.2.0100
970Problem: Macros for Ruby are too complicated.
971Solution: Do not use DYNAMIC_RUBY_VER, use RUBY_VERSION. (Ken Takata,
972 closes #5452)
973Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/auto/configure,
974 src/configure.ac, src/if_ruby.c
975
976Patch 8.2.0101
977Problem: Crash when passing null object to ":echomsg".
978Solution: Check for NULL pointer. (Yasuhiro Matsumoto, closes #5460)
979Files: src/eval.c, src/testdir/test_messages.vim
980
981Patch 8.2.0102
982Problem: Messages test fails in small version.
983Solution: Only use test_null_job() when available.
984Files: src/testdir/test_messages.vim
985
986Patch 8.2.0103
987Problem: Using null object with execute() has strange effects.
988Solution: Give an error message for Job and Channel.
989Files: src/testdir/test_execute_func.vim, src/globals.h, src/eval.c,
990 src/evalfunc.c
991
992Patch 8.2.0104
993Problem: Using channel or job with ":execute" has strange effects.
994Solution: Give an error message for Job and Channel.
995Files: src/testdir/test_eval_stuff.vim, src/eval.c
996
997Patch 8.2.0105
998Problem: Vim license not easy to find on github.
999Solution: Add a separate LICENCE file. (closes #5458)
1000Files: LICENSE, Filelist
1001
1002Patch 8.2.0106
1003Problem: Printf formats are not exactly right.
1004Solution: Adjust signed/unsigned conversions. (Frazer Clews, closes #5456)
1005Files: runtime/tools/ccfilter.c, src/libvterm/src/parser.c,
1006 src/libvterm/src/pen.c, src/ui.c
1007
1008Patch 8.2.0107
1009Problem: Hgignore is out of sync from gitignore.
1010Solution: Add lines to hgignore. (Ken Takata)
Bram Moolenaar47c532e2022-03-19 15:18:53 +00001011Files: .hgignore
Bram Moolenaarc51cf032022-02-26 12:25:45 +00001012
1013Patch 8.2.0108
1014Problem: When sign text is changed a manual redraw is needed. (Pontus
1015 Lietzler)
1016Solution: Redraw automatically. (closes #5455)
1017Files: src/testdir/test_signs.vim, src/sign.c,
1018 src/testdir/dumps/Test_sign_cursor_1.dump,
1019 src/testdir/dumps/Test_sign_cursor_2.dump,
1020 src/testdir/dumps/Test_sign_cursor_3.dump,
1021 src/testdir/dumps/Test_sign_cursor_01.dump,
1022 src/testdir/dumps/Test_sign_cursor_02.dump
1023
1024Patch 8.2.0109
1025Problem: Corrupted text properties when expanding spaces.
1026Solution: Reallocate the line. (Nobuhiro Takasaki, closes #5457)
1027Files: src/edit.c, src/testdir/test_textprop.vim
1028
1029Patch 8.2.0110
1030Problem: prop_find() is not implemented.
1031Solution: Implement prop_find(). (Ryan Hackett, closes #5421, closes #4970)
1032Files: src/evalfunc.c, src/proto/textprop.pro,
1033 src/testdir/test_textprop.vim, src/textprop.c,
1034 runtime/doc/textprop.txt
1035
1036Patch 8.2.0111
1037Problem: VAR_SPECIAL is also used for booleans.
1038Solution: Add VAR_BOOL for better type checking.
1039Files: src/structs.h, src/dict.c, src/eval.c, src/evalfunc.c,
1040 src/evalvars.c, src/if_lua.c, src/if_mzsch.c, src/if_py_both.h,
1041 src/if_ruby.c, src/json.c, src/popupmenu.c, src/proto/dict.pro,
1042 src/testing.c, src/vim.h, src/viminfo.c
1043
1044Patch 8.2.0112
1045Problem: Illegal memory access when using 'cindent'.
1046Solution: Check for NUL byte. (Dominique Pellé, closes #5470)
1047Files: src/cindent.c, src/testdir/test_cindent.vim
1048
1049Patch 8.2.0113 (after 8.2.0095)
1050Problem: "make cmdidxs" fails.
1051Solution: Allow address for ":cquit". Add --not-a-term to avoid a delay.
1052Files: src/ex_cmds.h, src/Makefile, src/Make_cyg_ming.mak,
1053 src/Make_mvc.mak
1054
1055Patch 8.2.0114
1056Problem: Info about sourced scripts is scattered.
1057Solution: Use scriptitem_T for info about a script, including s: variables.
1058 Drop ga_scripts.
1059Files: src/structs.h, src/evalvars.c, src/scriptfile.c, src/eval.c
1060
1061Patch 8.2.0115
1062Problem: Byte2line() does not work correctly with text properties. (Billie
1063 Cleek)
1064Solution: Take the bytes of the text properties into account.
1065 (closes #5334)
1066Files: src/testdir/test_textprop.vim, src/memline.c
1067
1068Patch 8.2.0116
1069Problem: BufEnter autocmd not triggered on ":tab drop". (Andy Stewart)
1070Solution: Decrement autocmd_no_enter for the last file. (closes #1660,
1071 closes #5473)
1072Files: src/arglist.c, src/testdir/test_tabpage.vim
1073
1074Patch 8.2.0117
1075Problem: Crash when using gettabwinvar() with invalid arguments. (Yilin
1076 Yang)
1077Solution: Use "curtab" if "tp" is NULL. (closes #5475)
1078Files: src/evalwindow.c, src/testdir/test_getvar.vim
1079
1080Patch 8.2.0118
1081Problem: Crash when cycling to buffers involving popup window .
1082Solution: Do not decrement buffer reference count.
1083Files: src/popupwin.c, src/testdir/test_popupwin.vim,
1084 src/testdir/dumps/Test_popupwin_infopopup_7.dump
1085
1086Patch 8.2.0119
1087Problem: Message test fails on some platforms. (Elimar Riesebieter)
1088Solution: Add type cast to vim_snprintf() argument. (Dominique Pellé)
1089Files: src/message_test.c
1090
1091Patch 8.2.0120
1092Problem: virtcol() does not check arguments to be valid, which may lead to
1093 a crash.
1094Solution: Check the column to be valid. Do not decrement MAXCOL.
1095 (closes #5480)
1096Files: src/evalfunc.c, src/testdir/test_marks.vim
1097
1098Patch 8.2.0121
1099Problem: filter() and map() on blob don't work.
1100Solution: Correct the code. (closes #5483)
1101Files: src/list.c, src/testdir/test_blob.vim
1102
1103Patch 8.2.0122
1104Problem: Readme files still mention MS-DOS.
1105Solution: Update readme files. (Ken Takata, closes #5486)
1106Files: README.md, README.txt, READMEdir/README_dos.txt,
1107 READMEdir/README_srcdos.txt, READMEdir/README_w32s.txt,
1108 runtime/doc/os_win32.txt
1109
1110Patch 8.2.0123
1111Problem: complete_info() does not work when CompleteDone is triggered.
1112Solution: Trigger CompleteDone before clearing the info.
1113Files: src/insexpand.c, runtime/doc/autocmd.txt,
1114 src/testdir/test_ins_complete.vim
1115
1116Patch 8.2.0124
1117Problem: Compiler warnings for variable types.
1118Solution: Change type, add type cast. (Mike Williams)
1119Files: src/memline.c
1120
1121Patch 8.2.0125
1122Problem: :mode no longer works for any system.
1123Solution: Always give an error message.
1124Files: src/ex_docmd.c, runtime/doc/quickref.txt, src/os_amiga.c,
1125 src/proto/os_amiga.pro, src/os_mswin.c, src/proto/os_mswin.pro,
1126 src/os_unix.c, src/proto/os_unix.pro
1127
1128Patch 8.2.0126 (after 8.2.0124)
1129Problem: Textprop test fails.
1130Solution: Fix sign in computation.
1131Files: src/memline.c
1132
1133Patch 8.2.0127
1134Problem: Some buffer commands work in a popup window.
1135Solution: Disallow :bnext, :bprev, etc. (Naruhiko Nishino, closes #5494)
1136Files: src/ex_docmd.c, src/testdir/test_popupwin.vim
1137
1138Patch 8.2.0128
1139Problem: Cannot list options one per line.
1140Solution: Use ":set!" to list one option per line.
1141Files: src/ex_docmd.c, src/option.c, src/proto/option.pro, src/vim.h,
1142 src/ex_cmds.h, src/optiondefs.h, src/testdir/test_options.vim,
1143 runtime/doc/options.txt
1144
1145Patch 8.2.0129
1146Problem: MS-Windows installer doesn't use Turkish translations.
1147Solution: Enable the Turkish translations and fix a few. (Emir Sarı,
1148 closes #5493)
1149Files: nsis/gvim.nsi, nsis/lang/turkish.nsi
1150
1151Patch 8.2.0130
1152Problem: Python3 ranges are not tested.
1153Solution: Add test. (Dominique Pellé, closes #5498)
1154Files: src/testdir/test_python3.vim
1155
1156Patch 8.2.0131
1157Problem: Command line is not cleared when switching tabs and the command
1158 line height differs.
1159Solution: Set the "clear_cmdline" flag when needed. (Naruhiko Nishino,
1160 closes #5495)
1161Files: src/testdir/dumps/Test_cmdlineclear_tabenter.dump,
1162 src/testdir/test_cmdline.vim, src/window.c
1163
1164Patch 8.2.0132
1165Problem: Script may be re-used when deleting and creating a new one.
1166Solution: When the inode matches, also check the file name.
1167Files: src/scriptfile.c, src/testdir/test_source.vim
1168
1169Patch 8.2.0133
1170Problem: Invalid memory access with search command.
1171Solution: When :normal runs out of characters in bracketed paste mode break
1172 out of the loop.(closes #5511)
1173Files: src/testdir/test_search.vim, src/edit.c
1174
1175Patch 8.2.0134
1176Problem: Some map functionality not covered by tests.
1177Solution: Add tests. (Yegappan Lakshmanan, closes #5504)
1178Files: src/testdir/test_maparg.vim, src/testdir/test_mapping.vim
1179
1180Patch 8.2.0135 (after 8.2.0133)
1181Problem: Bracketed paste can still cause invalid memory access. (Dominique
1182 Pellé)
1183Solution: Check for NULL pointer.
1184Files: src/edit.c, src/testdir/test_search.vim
1185
1186Patch 8.2.0136
1187Problem: Stray ch_logfile() call.
1188Solution: Remove it. (closes #5503)
1189Files: src/testdir/test_source.vim
1190
1191Patch 8.2.0137
1192Problem: Crash when using win_execute() from a new tab.
1193Solution: Set the tp_*win pointers. (Ozaki Kiichi, closes #5512)
1194Files: src/testdir/test_winbuf_close.vim, src/window.c
1195
1196Patch 8.2.0138
1197Problem: Memory leak when starting a job fails.
1198Solution: Free the list of arguments. (Ozaki Kiichi, closes #5510)
1199Files: src/channel.c, src/testdir/test_channel.vim
1200
1201Patch 8.2.0139
1202Problem: MS-Windows: default for IME is inconsistent.
1203Solution: Also make IME default enabled with MVC. (Ken Takata, closes #5508)
1204Files: src/Make_mvc.mak
1205
1206Patch 8.2.0140
1207Problem: CI does not test building doc tags.
1208Solution: Add the vimtags/gcc build. Cleanup showing version. (Ozaki Kiichi,
1209 closes #5513)
1210Files: .travis.yml, Filelist, ci/if_ver-1.vim, ci/if_ver-2.vim,
1211 ci/if_ver-cmd.vim, runtime/doc/Makefile, runtime/doc/doctags.vim,
1212 src/testdir/if_ver-1.vim, src/testdir/if_ver-2.vim
1213
1214Patch 8.2.0141
1215Problem: No swift filetype detection.
1216Solution: Add swift, swiftgyb and sil. (Emir Sarı, closes #5517)
1217Files: runtime/filetype.vim, src/testdir/test_filetype.vim
1218
1219Patch 8.2.0142
1220Problem: Possible to enter popup window with CTRL-W p. (John Devin)
1221Solution: Check entered window is not a popup window. (closes #5515)
1222Files: src/window.c, src/popupwin.c, src/testdir/test_popupwin.vim,
1223 src/testdir/dumps/Test_popupwin_previewpopup_9.dump,
1224 src/testdir/dumps/Test_popupwin_previewpopup_10.dump
1225
1226Patch 8.2.0143
1227Problem: Coverity warning for possible use of NULL pointer.
1228Solution: Check argv is not NULL.
1229Files: src/channel.c
1230
1231Patch 8.2.0144
1232Problem: Some mapping code is not fully tested.
1233Solution: Add more test cases. (Yegappan Lakshmanan, closes #5519)
1234Files: src/testdir/test_langmap.vim, src/testdir/test_maparg.vim,
1235 src/testdir/test_mapping.vim
1236
1237Patch 8.2.0145
1238Problem: Using #error for compilation errors should be OK now.
1239Solution: Use #error. (Ken Takata, closes #5299)
1240Files: src/blowfish.c, src/vim.h
1241
1242Patch 8.2.0146
1243Problem: Wrong indent when 'showbreak' and 'breakindent' are set and
1244 'briopt' includes "sbr".
1245Solution: Reset "need_showbreak" where needed. (Ken Takata, closes #5523)
1246Files: src/drawline.c, src/testdir/test_breakindent.vim
1247
1248Patch 8.2.0147
1249Problem: Block Visual mode operators not correct when 'linebreak' set.
1250Solution: Set w_p_lbr to lbr_saved more often. (Ken Takata, closes #5524)
1251Files: src/ops.c, src/testdir/test_listlbr.vim
1252
1253Patch 8.2.0148
1254Problem: Mapping related function in wrong source file.
1255Solution: Move the function. Add a few more test cases. (Yegappan
1256 Lakshmanan, closes #5528)
1257Files: src/map.c, src/proto/term.pro, src/term.c,
1258 src/testdir/test_mapping.vim
1259
1260Patch 8.2.0149
1261Problem: Maintaining a Vim9 branch separately is more work.
1262Solution: Merge the Vim9 script changes.
1263Files: README.md, README_VIM9.md, runtime/doc/Makefile,
1264 runtime/doc/eval.txt, runtime/doc/options.txt, runtime/doc/tags,
1265 runtime/doc/vim9.txt, runtime/ftplugin/vim.vim,
1266 runtime/indent/vim.vim, runtime/syntax/vim.vim,
1267 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Makefile, src/blob.c,
1268 src/channel.c, src/dict.c, src/eval.c, src/evalbuffer.c,
1269 src/evalfunc.c, src/evalvars.c, src/ex_cmdidxs.h, src/ex_cmds.h,
1270 src/ex_docmd.c, src/ex_eval.c, src/filepath.c, src/globals.h,
1271 src/gui.c, src/if_lua.c, src/if_py_both.h, src/insexpand.c,
1272 src/json.c, src/list.c, src/macros.h, src/main.c, src/message.c,
1273 src/misc1.c, src/proto.h, src/proto/blob.pro, src/proto/eval.pro,
1274 src/proto/evalfunc.pro, src/proto/evalvars.pro,
1275 src/proto/ex_docmd.pro, src/proto/ex_eval.pro, src/proto/list.pro,
1276 src/proto/message.pro, src/proto/scriptfile.pro,
1277 src/proto/userfunc.pro, src/proto/vim9compile.pro,
1278 src/proto/vim9execute.pro, src/proto/vim9script.pro,
1279 src/scriptfile.c, src/session.c, src/structs.h, src/syntax.c,
1280 src/testdir/Make_all.mak, src/testdir/test_vim9_expr.vim,
1281 src/testdir/test_vim9_script.vim, src/testing.c, src/userfunc.c,
1282 src/vim.h, src/vim9.h, src/vim9compile.c, src/vim9execute.c,
1283 src/vim9script.c, src/viminfo.c
1284
1285Patch 8.2.0150
1286Problem: Cannot define python function when using :execute. (Yasuhiro
1287 Matsumoto)
1288Solution: Do not recognize "def" inside "function.
1289Files: src/testdir/test_vim9_script.vim, src/userfunc.c
1290
1291Patch 8.2.0151
1292Problem: Detecting a script was already sourced is unreliable.
1293Solution: Do not use the inode number.
1294Files: src/scriptfile.c, src/structs.h, src/testdir/test_vim9_script.vim
1295
1296Patch 8.2.0152
1297Problem: Restoring ctrl_x_mode is not needed.
1298Solution: Remove restoring the old value, it's changed again soon.
1299Files: src/insexpand.c
1300
1301Patch 8.2.0153
1302Problem: Warning shows when listing version info.
1303Solution: Use "-u NONE". (Ozaki Kiichi, closes #5534)
1304Files: .travis.yml
1305
1306Patch 8.2.0154
1307Problem: Reallocating the list of scripts is inefficient.
1308Solution: Instead of using a growarray of scriptitem_T, store pointers and
1309 allocate each scriptitem_T separately. Also avoids that the
1310 growarray pointers change when sourcing a new script.
1311Files: src/globals.h, src/eval.c, src/evalvars.c, src/ex_docmd.c,
1312 src/profiler.c, src/scriptfile.c, src/vim9compile.c,
1313 src/vim9execute.c, src/vim9script.c
1314
1315Patch 8.2.0155
1316Problem: Warnings from MinGW compiler. (John Marriott) Json test fails when
1317 building without +float feature.
1318Solution: Init variables. Fix Json parsing. Skip a few tests that require
1319 the +float feature.
1320Files: src/vim9script.c, src/vim9compile.c, src/vim9execute.c,
1321 src/if_py_both.h, src/json.c, src/testdir/test_method.vim
1322
1323Patch 8.2.0156
1324Problem: Various typos in source files and tests.
1325Solution: Fix the typos. (Emir Sarı, closes #5532)
1326Files: Makefile, src/INSTALLvms.txt, src/Make_vms.mms, src/beval.h,
1327 src/buffer.c, src/charset.c, src/evalvars.c, src/ex_cmds.c,
1328 src/ex_docmd.c, src/getchar.c, src/gui.c, src/gui_mac.c,
1329 src/gui_photon.c, src/if_perl.xs,
1330 src/libvterm/t/11state_movecursor.test,
1331 src/libvterm/t/41screen_unicode.test, src/mbyte.c, src/memline.c,
1332 src/normal.c, src/ops.c, src/option.c, src/option.h,
1333 src/os_unix.c, src/os_win32.c, src/quickfix.c, src/register.c,
1334 src/spell.c, src/tag.c, src/term.c,
1335 src/testdir/test_breakindent.vim, src/testdir/test_channel.vim,
1336 src/testdir/test_cindent.vim, src/testdir/test_digraph.vim,
1337 src/testdir/test_edit.vim, src/testdir/test_netbeans.vim,
1338 src/testdir/test_quickfix.vim, src/testdir/test_registers.vim,
1339 src/testdir/test_stat.vim, src/ui.c, src/xxd/xxd.c
1340
1341Patch 8.2.0157
1342Problem: Vim9 script files not in list of distributed files.
1343Solution: Add the entries.
1344Files: Filelist
1345
1346Patch 8.2.0158 (after 8.2.0123)
1347Problem: Triggering CompleteDone earlier is not backwards compatible.
1348 (Daniel Hahler)
1349Solution: Add CompleteDonePre instead.
1350Files: src/insexpand.c, runtime/doc/autocmd.txt, src/autocmd.c,
1351 src/vim.h, src/testdir/test_ins_complete.vim
1352
1353Patch 8.2.0159
1354Problem: Non-materialized range() list causes problems. (Fujiwara Takuya)
1355Solution: Materialize the list where needed.
1356Files: src/testdir/test_functions.vim, src/testdir/test_python3.vim,
1357 src/userfunc.c, src/evalfunc.c, src/highlight.c, src/evalvars.c,
1358 src/popupmenu.c, src/insexpand.c, src/json.c, src/channel.c,
1359 src/eval.c
1360
1361Patch 8.2.0160 (after 8.2.0159)
1362Problem: Range test fails.
1363Solution: Include change in list code. (#5541)
1364Files: src/list.c
1365
1366Patch 8.2.0161
1367Problem: Not recognizing .gv file as dot filetype.
1368Solution: Add *.gv to dot pattern. (closes #5544)
1369Files: runtime/filetype.vim, src/testdir/test_filetype.vim
1370
1371Patch 8.2.0162
1372Problem: Balloon test fails in the GUI.
1373Solution: Skip test in the GUI.
1374Files: src/testdir/test_functions.vim
1375
1376Patch 8.2.0163
1377Problem: Test hangs on MS-Windows console.
1378Solution: use feedkeys() instead of test_feedinput(). (Ken Takata)
1379Files: src/testdir/test_functions.vim, src/testing.c
1380
1381Patch 8.2.0164
1382Problem: Test_alot takes too long.
1383Solution: Run several tests individually.
1384Files: src/testdir/test_alot.vim, src/testdir/Make_all.mak
1385
1386Patch 8.2.0165
1387Problem: Coverity warning for using NULL pointer.
1388Solution: Add missing "else".
1389Files: src/vim9compile.c
1390
1391Patch 8.2.0166
1392Problem: Coverity warning for using uninitialized variable.
1393Solution: Check for failure.
1394Files: src/vim9execute.c
1395
1396Patch 8.2.0167
1397Problem: Coverity warning for ignoring return value.
1398Solution: Check the return value and jump if failed.
1399Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
1400
1401Patch 8.2.0168
1402Problem: Coverity warning for assigning NULL to an option.
1403Solution: Use empty string instead of NULL.
1404Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
1405
1406Patch 8.2.0169
1407Problem: Coverity warning for dead code.
1408Solution: Check if inside try-finally.
1409Files: src/vim9execute.c
1410
1411Patch 8.2.0170
1412Problem: Coverity warning for ignoring return value.
1413Solution: Check the return value and return if failed.
1414Files: src/vim9compile.c
1415
1416Patch 8.2.0171
1417Problem: Coverity warning for using uninitialized buffer.
1418Solution: Check the skip flag.
1419Files: src/userfunc.c
1420
1421Patch 8.2.0172
1422Problem: Coverity warning for not restoring character.
1423Solution: Restore the character also in case of failure.
1424Files: src/vim9script.c
1425
1426Patch 8.2.0173
1427Problem: Build fails with old compiler.
1428Solution: Do not use anonymous unions. (John Marriott)
1429Files: src/vim9compile.c, src/evalvars.c, src/list.c, src/structs.h,
1430 src/evalfunc.c, src/channel.c, src/if_mzsch.c, src/if_py_both.h
1431
1432Patch 8.2.0174
1433Problem: Various commands not completely tested.
1434Solution: Add more test cases. (Yegappan Lakshmanan, closes #5551)
1435Files: src/testdir/test_excmd.vim, src/testdir/test_fnameescape.vim,
1436 src/testdir/test_ga.vim, src/testdir/test_global.vim,
1437 src/testdir/test_move.vim, src/testdir/test_options.vim,
1438 src/testdir/test_packadd.vim, src/testdir/test_sort.vim,
1439 src/testdir/test_substitute.vim, src/testdir/test_textformat.vim,
1440 src/testdir/test_writefile.vim
1441
1442Patch 8.2.0175
1443Problem: Crash when removing list element in map().
1444Solution: Lock the list. (closes #2652)
1445Files: src/testdir/test_filter_map.vim, src/list.c
1446
1447Patch 8.2.0176
1448Problem: Generating os headers does not work for Swedish.
1449Solution: Set the locale to C. (Christian Brabandt, closes #5258)
1450Files: src/osdef.sh
1451
1452Patch 8.2.0177
1453Problem: Memory leak in get_tags().
1454Solution: Free matches when finding a pseudo-tag line. (Dominique Pellé,
1455 closes #5553)
1456Files: src/tag.c
1457
1458Patch 8.2.0178
1459Problem: With VTP the screen may not be restored properly.
1460Solution: Add another set of saved RGB values. (Nobuhiro Takasaki,
1461 closes #5548)
1462Files: src/os_win32.c
1463
1464Patch 8.2.0179
1465Problem: Still a few places where range() does not work.
1466Solution: Fix using range() causing problems.
1467Files: src/terminal.c, src/testdir/test_functions.vim,
1468 src/testdir/test_popupwin.vim, src/popupwin.c, src/tag.c,
1469 src/testdir/dumps/Test_popupwin_20.dump,
1470 src/testdir/dumps/Test_popupwin_21.dump,
1471 src/testdir/dumps/Test_popup_settext_07.dump, src/globals.h
1472
1473Patch 8.2.0180
1474Problem: Test for wrapmargin fails if terminal is not 80 columns.
1475Solution: Vertical split the window. (Ken Takata, closes #5554)
1476Files: src/testdir/test_textformat.vim
1477
1478Patch 8.2.0181
1479Problem: Problems parsing :term arguments.
1480Solution: Improve parsing, fix memory leak, add tests. (Ozaki Kiichi,
1481 closes #5536)
1482Files: src/channel.c, src/proto/channel.pro, src/structs.h,
1483 src/terminal.c, src/testdir/test_terminal.vim
1484
1485Patch 8.2.0182
1486Problem: Min() and max() materialize a range() list.
1487Solution: Compute the result without materializing the list. (#5541)
1488Files: src/evalfunc.c
1489
1490Patch 8.2.0183
1491Problem: Tests fail when the float feature is disabled.
1492Solution: Skip tests that don't work without float support.
1493Files: src/testdir/shared.vim, src/testdir/test_blob.vim,
1494 src/testdir/test_channel.vim, src/testdir/test_cscope.vim,
1495 src/testdir/test_execute_func.vim, src/testdir/test_expr.vim,
1496 src/testdir/test_functions.vim, src/testdir/test_lambda.vim,
1497 src/testdir/test_listdict.vim, src/testdir/test_lua.vim,
1498 src/testdir/test_options.vim, src/testdir/test_partial.vim,
1499 src/testdir/test_ruby.vim, src/testdir/test_sort.vim,
1500 src/testdir/test_timers.vim, src/testdir/test_true_false.vim,
1501 src/testdir/test_user_func.vim, src/testdir/test_vim9_expr.vim,
1502 src/testdir/test_vimscript.vim, src/testdir/test_regexp_latin.vim,
1503 src/testdir/test_glob2regpat.vim
1504
1505Patch 8.2.0184
1506Problem: Blob test fails.
1507Solution: Check for different error when float feature is missing.
1508Files: src/testdir/test_blob.vim
1509
1510Patch 8.2.0185
1511Problem: Vim9 script: cannot use "if has()" to skip lines.
1512Solution: Evaluate constant expression at runtime.
1513Files: src/vim9compile.c, src/evalfunc.c, src/proto/evalfunc.pro,
1514 src/userfunc.c, src/testdir/test_vim9_script.vim
1515
1516Patch 8.2.0186
1517Problem: A couple of tests may fail when features are missing.
1518Solution: Check for features. (Dominique Pellé, closes #5561)
1519Files: src/testdir/test_functions.vim, src/testdir/test_highlight.vim
1520
1521Patch 8.2.0187
1522Problem: Redundant code.
1523Solution: Remove unused assignments. (Dominique Pellé, closes #5557)
1524Files: src/vim9compile.c
1525
1526Patch 8.2.0188
1527Problem: Check commands don't work well with Vim9 script.
1528Solution: Improve constant expression handling.
1529Files: src/vim9compile.c, src/testdir/check.vim,
1530 src/testdir/test_vim9_expr.vim
1531
1532Patch 8.2.0189
1533Problem: cd() with NULL argument crashes.
1534Solution: Check for NULL. (Ken Takata, closes #5558)
1535Files: src/testdir/test_cd.vim, src/ex_docmd.c
1536
1537Patch 8.2.0190
1538Problem: Kotlin files are not recognized.
1539Solution: Detect Kotlin files. (Alkeryn, closes #5560)
1540Files: runtime/filetype.vim, src/testdir/test_filetype.vim
1541
1542Patch 8.2.0191
1543Problem: Cannot put a terminal in a popup window.
1544Solution: Allow opening a terminal in a popup window. It will always have
1545 keyboard focus until closed.
1546Files: src/popupwin.c, src/proto/popupwin.pro, src/terminal.c,
1547 src/proto/terminal.pro, src/macros.h, src/mouse.c,
1548 src/highlight.c, src/drawline.c, src/optionstr.c, src/window.c,
1549 src/testdir/test_terminal.vim,
1550 src/testdir/dumps/Test_terminal_popup_1.dump,
1551 src/testdir/dumps/Test_terminal_popup_2.dump,
1552 src/testdir/dumps/Test_terminal_popup_3.dump
1553
1554Patch 8.2.0192 (after 8.2.0191)
1555Problem: Build failure without +terminal feature.
1556Solution: Add #ifdefs.
1557Files: src/popupwin.c
1558
1559Patch 8.2.0193 (after 8.2.0191)
1560Problem: Still build failure without +terminal feature.
1561Solution: Add more #ifdefs.
1562Files: src/macros.h
1563
1564Patch 8.2.0194 (after 8.2.0193)
1565Problem: Some commands can cause problems in terminal popup.
1566Solution: Disallow more commands.
1567Files: src/macros.h, src/popupwin.c, src/proto/popupwin.pro,
1568 src/arglist.c, src/ex_docmd.c, src/window.c,
1569 src/testdir/test_terminal.vim
1570
1571Patch 8.2.0195
1572Problem: Some tests fail when run in the GUI.
1573Solution: Make sure the window width is enough. In the GUI run terminal Vim
1574 in the terminal, if possible.
1575Files: src/testdir/test_highlight.vim, src/testdir/check.vim,
1576 src/testdir/test_terminal.vim
1577
1578Patch 8.2.0196
1579Problem: Blocking commands for a finished job in a popup window.
1580Solution: Do not block commands if the job has finished. Adjust test.
1581Files: src/popupwin.c, src/testdir/test_popupwin.vim, src/window.c,
1582 src/terminal.c, src/proto/terminal.pro
1583
1584Patch 8.2.0197
1585Problem: Some Ex commands not sufficiently tested.
1586Solution: Add more tests. (Yegappan Lakshmanan, closes #5565)
1587Files: src/testdir/test_global.vim, src/testdir/test_help.vim,
1588 src/testdir/test_help_tagjump.vim, src/testdir/test_options.vim,
1589 src/testdir/test_substitute.vim, src/testdir/test_textformat.vim,
1590 src/testdir/test_writefile.vim
1591
1592Patch 8.2.0198
1593Problem: No tests for y/n prompt.
1594Solution: Add tests. (Dominique Pellé, closes #5564)
1595Files: src/testdir/test_messages.vim
1596
1597Patch 8.2.0199
1598Problem: Vim9 script commands not sufficiently tested.
1599Solution: Add more tests. Fix script-local function use.
1600Files: src/vim9execute.c, src/testdir/test_vim9_script.vim,
1601 src/userfunc.c
1602
1603Patch 8.2.0200
1604Problem: Vim9 script commands not sufficiently tested.
1605Solution: Add more tests. Fix storing global variable. Make script
1606 variables work.
1607Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/evalvars.c,
1608 src/proto/evalvars.pro, src/testdir/test_vim9_script.vim,
1609 src/misc1.c, src/proto/misc1.pro
1610
1611Patch 8.2.0201
1612Problem: Cannot assign to an imported variable.
1613Solution: Make it work.
1614Files: src/evalvars.c, src/vim9compile.c, src/proto/vim9compile.pro,
1615 src/userfunc.c, src/testdir/test_vim9_script.vim
1616
1617Patch 8.2.0202
1618Problem: When 'lazyredraw' is set the window title may not be updated.
1619Solution: Set "do_redraw" before entering the main loop. (Jason Franklin)
1620Files: src/main.c
1621
1622Patch 8.2.0203
1623Problem: :helptags and some other functionality not tested.
1624Solution: Add more tests. (Yegappan Lakshmanan, closes #5567)
1625Files: src/testdir/test_compiler.vim, src/testdir/test_ex_mode.vim,
1626 src/testdir/test_excmd.vim, src/testdir/test_filechanged.vim,
1627 src/testdir/test_help.vim, src/testdir/test_help_tagjump.vim,
1628 src/testdir/test_timers.vim, src/testdir/test_window_cmd.vim
1629
1630Patch 8.2.0204
1631Problem: Crash when using winnr('j') in a popup window.
1632Solution: Do not search for neighbors in a popup window. (closes #5568)
1633Files: src/window.c, src/testdir/test_popupwin.vim, src/evalwindow.c
1634
1635Patch 8.2.0205
1636Problem: Error code E899 used twice.
1637Solution: Use E863 for the terminal in popup error.
1638Files: src/popupwin.c
1639
1640Patch 8.2.0206
1641Problem: Calling Vim9 function using default argument fails.
1642Solution: Give an appropriate error. (closes #5572)
1643Files: src/testdir/test_vim9_script.vim, src/vim9compile.c,
1644 src/vim9execute.c
1645
1646Patch 8.2.0207
1647Problem: Crash when missing member type on list argument.
1648Solution: Check for invalid type. (closes #5572)
1649Files: src/userfunc.c, src/testdir/test_vim9_script.vim
1650
1651Patch 8.2.0208
1652Problem: Fnamemodify() does not apply ":~" when followed by ":.".
1653Solution: Don't let a failing ":." cause the ":~" to be skipped. (Yasuhiro
1654 Matsumoto, closes #5577)
1655Files: runtime/doc/cmdline.txt, src/filepath.c,
1656 src/testdir/test_fnamemodify.vim
1657
1658Patch 8.2.0209
1659Problem: Function a bit far away from where it's used.
1660Solution: Move function close to where it's used. (Ken Takata, closes #5569)
1661Files: src/fileio.c, src/filepath.c
1662
1663Patch 8.2.0210
1664Problem: Coverity complains about uninitialized field.
1665Solution: Initialize the field.
1666Files: src/vim9compile.c
1667
1668Patch 8.2.0211
1669Problem: Test for ANSI colors fails without an "ls" command.
1670Solution: Use "dir". (Ken Takata, closes #5582)
1671Files: src/testdir/test_functions.vim
1672
1673Patch 8.2.0212
1674Problem: Missing search/substitute pattern hardly tested.
1675Solution: Add test_clear_search_pat() and tests. (Yegappan Lakshmanan,
1676 closes #5579)
1677Files: runtime/doc/eval.txt, runtime/doc/testing.txt,
1678 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/regexp.pro,
1679 src/proto/search.pro, src/proto/testing.pro, src/regexp.c,
1680 src/search.c, src/testdir/test_quickfix.vim,
1681 src/testdir/test_search.vim, src/testdir/test_sort.vim,
1682 src/testdir/test_substitute.vim, src/testing.c
1683
1684Patch 8.2.0213
1685Problem: Configure does not recognize gcc 10.0 and later.
1686Solution: Adjust the pattern matching the version number. (Sergei
1687 Trofimovich, closes #5580)
1688Files: src/configure.ac, src/auto/configure
1689
1690Patch 8.2.0214
1691Problem: A popup window with a terminal can be made hidden.
1692Solution: Disallow hiding a terminal popup.
1693Files: src/testdir/test_terminal.vim, src/popupwin.c,
1694 src/testdir/dumps/Test_terminal_popup_4.dump
1695
1696Patch 8.2.0215 (after 8.2.0208)
1697Problem: Wrong file name shortening. (Ingo Karkat)
1698Solution: Better check for path separator. (Yasuhiro Matsumoto,
1699 closes #5583, closes #5584)
1700Files: src/filepath.c, src/testdir/test_fnamemodify.vim
1701
1702Patch 8.2.0216
1703Problem: Several Vim9 instructions are not tested.
1704Solution: Add more tests. Fix :disassemble output. Make catch with pattern
1705 work.
1706Files: src/testdir/test_vim9_script.vim, src/vim9execute.c,
1707 src/vim9compile.c
1708
1709Patch 8.2.0217 (after 8.2.0214)
1710Problem: Terminal test fails on Mac.
1711Solution: Add a short wait.
1712Files: src/testdir/test_terminal.vim
1713
1714Patch 8.2.0218
1715Problem: Several Vim9 instructions are not tested.
1716Solution: Add more tests.
1717Files: src/testdir/test_vim9_script.vim
1718
1719Patch 8.2.0219 (after 8.2.0217)
1720Problem: Terminal test still fails on Mac.
1721Solution: Skip part of the test on Mac.
1722Files: src/testdir/test_terminal.vim
1723
1724Patch 8.2.0220
1725Problem: Terminal test did pass on Mac.
1726Solution: Remove the skip again.
1727Files: src/testdir/test_terminal.vim
1728
1729Patch 8.2.0221
1730Problem: No test for Vim9 += and ..=.
1731Solution: Add tests.
1732Files: src/testdir/test_vim9_script.vim
1733
1734Patch 8.2.0222
1735Problem: Vim9: optional function arguments don't work yet.
1736Solution: Implement optional function arguments.
1737Files: src/userfunc.c, src/vim9compile.c, src/vim9execute.c,
1738 src/structs.h, src/testdir/test_vim9_script.vim
1739
1740Patch 8.2.0223
1741Problem: Some instructions not yet tested.
1742Solution: Disassemble more instructions. Move tests to a new file. Compile
1743 call to s:function().
1744Files: src/testdir/test_vim9_script.vim, src/testdir/Make_all.mak,
1745 src/testdir/test_vim9_disassemble.vim, src/vim9compile.c,
1746 src/userfunc.c, src/proto/userfunc.pro, src/vim.h
1747
1748Patch 8.2.0224
1749Problem: compiling :elseif not tested yet.
1750Solution: Add test for :elseif. Fix generating jumps.
1751Files: src/testdir/test_vim9_script.vim, src/vim9compile.c,
1752 src/testdir/test_vim9_disassemble.vim
1753
1754Patch 8.2.0225
1755Problem: compiling lambda not tested yet.
1756Solution: Add test for lambda and funcref. Drop unused instruction arg.
1757Files: src/testdir/test_vim9_disassemble.vim, src/vim9.h,
1758 src/vim9execute.c
1759
1760Patch 8.2.0226
1761Problem: Compiling for loop not tested.
1762Solution: Add a test. Make variable initialization work for more types.
1763Files: src/testdir/test_vim9_disassemble.vim, src/vim9compile.c
1764
1765Patch 8.2.0227
1766Problem: Compiling a few instructions not tested.
1767Solution: Add more test cases.
1768Files: src/testdir/test_vim9_disassemble.vim
1769
1770Patch 8.2.0228
1771Problem: Configure does not recognize gcc version on BSD.
1772Solution: Do not use "\+" in the pattern matching the version number. (Ozaki
1773 Kiichi, closes #5590)
1774Files: src/configure.ac, src/auto/configure
1775
1776Patch 8.2.0229
1777Problem: Compare instructions not tested.
1778Solution: Add test cases. Fix disassemble with line continuation.
1779Files: src/testdir/test_vim9_disassemble.vim, src/vim9execute.c,
1780 src/vim9compile.c
1781
1782Patch 8.2.0230
1783Problem: Terminal popup test is flaky.
1784Solution: Increase wait time a bit.
1785Files: src/testdir/test_terminal.vim
1786
1787Patch 8.2.0231
1788Problem: Silent system command may clear the screen.
1789Solution: Do not clear the screen in t_te.
1790Files: src/term.c
1791
1792Patch 8.2.0232
1793Problem: The :compiler command causes a crash. (Daniel Steinberg)
1794Solution: Do not use the script index if it isn't set.
1795Files: src/ex_docmd.c, src/testdir/test_compiler.vim
1796
1797Patch 8.2.0233
1798Problem: Crash when using garbagecollect() in between rand().
1799Solution: Redesign the rand() and srand() implementation. (Yasuhiro
1800 Matsumoto, closes #5587, closes #5588)
1801Files: src/evalfunc.c, src/testdir/test_random.vim,
1802 runtime/doc/testing.txt, runtime/doc/eval.txt
1803
1804Patch 8.2.0234
1805Problem: Message test fails on SunOS.
1806Solution: Adjust expectation for printf "%p". (Ozaki Kiichi, closes #5595)
1807Files: src/message_test.c
1808
1809Patch 8.2.0235
1810Problem: Draw error when an empty group is removed from 'statusline'.
1811Solution: Do not use highlighting from a removed group.
1812Files: src/buffer.c, src/testdir/test_statusline.vim,
1813 src/testdir/dumps/Test_statusline_1.dump
1814
1815Patch 8.2.0236
1816Problem: MS-Windows uninstall doesn't delete vimtutor.bat.
1817Solution: Change directory before deletion. (Ken Takata, closes #5603)
1818Files: src/uninstall.c
1819
1820Patch 8.2.0237
1821Problem: Crash when setting 'wincolor' on finished terminal window.
1822 (Bakudankun)
1823Solution: Check that the vterm is not NULL. (Yasuhiro Matsumoto, closes
1824 #5607, closes #5610)
1825Files: src/terminal.c, src/testdir/test_terminal.vim
1826
1827Patch 8.2.0238
1828Problem: MS-Windows: job_stop() results in exit value zero.
1829Solution: Call TerminateJobObject() with -1 instead of 0. (Yasuhiro
1830 Matsumoto, closes #5150, closes #5614)
1831Files: src/os_win32.c, src/testdir/test_channel.vim
1832
1833Patch 8.2.0239
1834Problem: MS-Windows: 'env' job option does not override existing
1835 environment variables. (Tim Pope)
1836Solution: Set the environment variables later. (Yasuhiro Matsumoto,
1837 closes #5485, closes #5608)
1838Files: src/os_win32.c, src/testdir/test_channel.vim
1839
1840Patch 8.2.0240
1841Problem: Using memory after it was freed. (Dominique Pellé)
1842Solution: Do not mix conversion buffer with other buffer.
1843Files: src/viminfo.c, src/vim.h
1844
1845Patch 8.2.0241
1846Problem: Crash when setting 'buftype' to "quickfix".
1847Solution: Check that error list is not NULL. (closes #5613)
1848Files: src/quickfix.c, src/testdir/test_quickfix.vim
1849
1850Patch 8.2.0242
1851Problem: Preview popup window test fails with long directory name. (Jakub
1852 Kądziołka)
1853Solution: Use "silent cd". (closes #5615)
1854Files: src/testdir/test_popupwin.vim
1855
1856Patch 8.2.0243
1857Problem: Insufficient code coverage for ex_docmd.c functions.
1858Solution: Add more tests. (Yegappan Lakshmanan, closes #5618)
1859Files: src/testdir/Make_all.mak, src/testdir/test_arglist.vim,
1860 src/testdir/test_buffer.vim, src/testdir/test_cd.vim,
1861 src/testdir/test_cmdline.vim, src/testdir/test_ex_mode.vim,
1862 src/testdir/test_excmd.vim, src/testdir/test_mapping.vim,
1863 src/testdir/test_quickfix.vim, src/testdir/test_search.vim,
1864 src/testdir/test_sort.vim, src/testdir/test_source.vim,
1865 src/testdir/test_substitute.vim, src/testdir/test_undo.vim,
1866 src/testdir/test_vimscript.vim, src/testdir/test_window_cmd.vim,
1867 src/testdir/test_writefile.vim
1868
1869Patch 8.2.0244
1870Problem: Compiler warning in Lua interface.
1871Solution: Add type cast. (Ken Takata, closes #5621)
1872Files: src/if_lua.c
1873
1874Patch 8.2.0245
1875Problem: MSVC: error message if the auto directory already exists.
1876Solution: Add "if not exists". (Ken Takata, closes #5620)
1877Files: src/Make_mvc.mak
1878
1879Patch 8.2.0246
1880Problem: MSVC: deprecation warnings with Ruby.
1881Solution: Move _CRT_SECURE_NO_DEPRECATE to build file. (Ken Takata,
1882 closes #5622)
1883Files: src/Make_mvc.mak, src/if_ruby.c, src/os_win32.h, src/vim.h,
1884 src/vimio.h
1885
1886Patch 8.2.0247
1887Problem: Misleading comment in NSIS installer script.
1888Solution: Negate the meaning of the comment. (Ken Takata, closes #5627)
1889Files: nsis/gvim.nsi
1890
1891Patch 8.2.0248
1892Problem: MS-Windows: dealing with deprecation is too complicated.
1893Solution: Use io.h directly. Move _CRT_SECURE_NO_DEPRECATE to the build
1894 file. Suppress C4091 warning by setting "_WIN32_WINNT". (Ken
1895 Takata, closes #5626)
1896Files: src/Make_mvc.mak, src/dosinst.h, src/vim.h, src/vimio.h,
1897 src/winclip.c, Filelist
1898
1899Patch 8.2.0249
1900Problem: MS-Windows: various warnings.
1901Solution: Set the charset to utf-8. Add _WIN32_WINNT and _USING_V110_SDK71_.
1902 (Ken Takata, closes #5625)
1903Files: src/GvimExt/Makefile, src/Make_mvc.mak
1904
1905Patch 8.2.0250
1906Problem: test_clear_search_pat() is unused.
1907Solution: Remove the function. (Yegappan Lakshmanan, closes #5624)
1908Files: runtime/doc/eval.txt, runtime/doc/testing.txt,
1909 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/regexp.pro,
1910 src/proto/search.pro, src/proto/testing.pro, src/regexp.c,
1911 src/search.c, src/testdir/test_writefile.vim, src/testing.c
1912
1913Patch 8.2.0251
1914Problem: A couple of function return types can be more specific.
1915Solution: Use a better return type. (Ken Takata, closes #5629)
1916Files: src/evalfunc.c, src/globals.h
1917
1918Patch 8.2.0252
1919Problem: Windows compiler warns for using size_t.
1920Solution: Change to int. (Mike Williams)
1921Files: src/vim9compile.c
1922
1923Patch 8.2.0253
1924Problem: Crash when using :disassemble without argument. (Dhiraj Mishra)
1925Solution: Check for missing argument. (Dominique Pellé, closes #5635,
1926 closes #5637)
1927Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim,
1928 src/ex_cmds.h
1929
1930Patch 8.2.0254
1931Problem: Compiler warning for checking size_t to be negative.
1932Solution: Only check for zero. (Zoltan Arpadffy)
1933Files: src/vim9compile.c
1934
1935Patch 8.2.0255
1936Problem: VMS: missing files in build.
1937Solution: Add the files. (Zoltan Arpadffy)
1938Files: src/Make_vms.mms
1939
1940Patch 8.2.0256
1941Problem: Time and timer related code is spread out.
1942Solution: Move time and timer related code to a new file. (Yegappan
1943 Lakshmanan, closes #5604)
1944Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
1945 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
1946 src/evalfunc.c, src/ex_cmds.c, src/ex_cmds2.c, src/main.c,
1947 src/memline.c, src/misc1.c, src/misc2.c, src/proto.h,
1948 src/proto/ex_cmds.pro, src/proto/ex_cmds2.pro, src/proto/main.pro,
1949 src/proto/memline.pro, src/proto/misc1.pro, src/proto/misc2.pro,
1950 src/proto/time.pro, src/time.c
1951
1952Patch 8.2.0257
1953Problem: Cannot recognize a terminal in a popup window.
1954Solution: Add the win_gettype() function.
1955Files: runtime/doc/eval.txt, src/evalfunc.c, src/evalwindow.c,
1956 src/proto/evalwindow.pro, src/testdir/test_cmdline.vim,
1957 src/testdir/test_terminal.vim,
1958 src/testdir/dumps/Test_terminal_popup_1.dump
1959
1960Patch 8.2.0258
1961Problem: ModifyOtherKeys cannot be temporarily disabled.
1962Solution: Add echoraw() with an example for modifyOtherKeys.
1963Files: runtime/doc/eval.txt, src/evalfunc.c,
1964 src/testdir/test_functions.vim,
1965 src/testdir/dumps/Test_functions_echoraw.dump
1966
1967Patch 8.2.0259
1968Problem: Terminal in popup test sometimes fails.
1969Solution: Clear the command line.
1970Files: src/testdir/test_terminal.vim,
1971 src/testdir/dumps/Test_terminal_popup_1.dump
1972
1973Patch 8.2.0260
1974Problem: Several lines of code are duplicated.
1975Solution: Move duplicated code to a function. (Yegappan Lakshmanan,
1976 closes #5330)
1977Files: src/option.c, src/os_unix.c, src/os_win32.c, src/proto/term.pro,
1978 src/quickfix.c, src/regexp.c, src/regexp_bt.c, src/regexp_nfa.c,
1979 src/term.c
1980
1981Patch 8.2.0261
1982Problem: Some code not covered by tests.
1983Solution: Add test cases. (Yegappan Lakshmanan, closes #5645)
1984Files: src/testdir/test_buffer.vim, src/testdir/test_cmdline.vim,
1985 src/testdir/test_exists.vim, src/testdir/test_filechanged.vim,
1986 src/testdir/test_fileformat.vim, src/testdir/test_mapping.vim,
1987 src/testdir/test_marks.vim, src/testdir/test_normal.vim,
1988 src/testdir/test_plus_arg_edit.vim, src/testdir/test_quickfix.vim,
1989 src/testdir/test_tabpage.vim, src/testdir/test_visual.vim,
1990 src/testdir/test_window_cmd.vim, src/testdir/test_writefile.vim
1991
1992Patch 8.2.0262 (after 8.2.0261)
1993Problem: Fileformat test fails on MS-Windows.
1994Solution: Set fileformat of buffer.
1995Files: src/testdir/test_fileformat.vim
1996
1997Patch 8.2.0263
1998Problem: A few new Vim9 messages are not localized.
1999Solution: Add the gettext wrapper. (Dominique Pellé, closes #5647)
2000Files: src/vim9compile.c, src/vim9execute.c
2001
2002Patch 8.2.0264 (after 8.2.0262)
2003Problem: Fileformat test still fails on MS-Windows.
2004Solution: Set fileformat of buffer in the right place.
2005Files: src/testdir/test_fileformat.vim
2006
2007Patch 8.2.0265
2008Problem: "eval" after "if 0" doesn't check for following command.
2009Solution: Add "eval" to list of commands that check for a following command.
2010 (closes #5640)
2011Files: src/ex_docmd.c, src/testdir/test_expr.vim
2012
2013Patch 8.2.0266
2014Problem: Terminal in popup test sometimes fails on Mac.
2015Solution: Add a short delay.
2016Files: src/testdir/test_terminal.vim
2017
2018Patch 8.2.0267
2019Problem: No check for a following command when calling a function fails.
2020Solution: Also check for a following command when inside a try block.
2021 (closes #5642)
2022Files: src/userfunc.c, src/testdir/test_user_func.vim
2023
2024Patch 8.2.0268 (after 8.2.0267)
2025Problem: Trycatch test fails.
2026Solution: When calling function fails only check for following command, do
2027 not give another error.
2028Files: src/userfunc.c
2029
2030Patch 8.2.0269
2031Problem: Vim9: operator after list index does not work. (Yasuhiro
2032 Matsumoto)
2033Solution: After indexing a list change the type to the list member type.
2034 (closes #5651)
2035Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
2036
2037Patch 8.2.0270
2038Problem: Some code not covered by tests.
2039Solution: Add test cases. (Yegappan Lakshmanan, closes #5649)
2040Files: src/testdir/test_autocmd.vim, src/testdir/test_buffer.vim,
2041 src/testdir/test_edit.vim, src/testdir/test_ex_mode.vim,
2042 src/testdir/test_excmd.vim, src/testdir/test_expand.vim,
2043 src/testdir/test_filetype.vim, src/testdir/test_findfile.vim,
2044 src/testdir/test_join.vim, src/testdir/test_move.vim,
2045 src/testdir/test_normal.vim, src/testdir/test_registers.vim,
2046 src/testdir/test_source.vim, src/testdir/test_tabpage.vim,
2047 src/testdir/test_tagjump.vim, src/testdir/test_vimscript.vim,
2048 src/testdir/test_visual.vim, src/testdir/test_window_cmd.vim,
2049 src/testdir/test_writefile.vim
2050
2051Patch 8.2.0271
2052Problem: The "num64" feature is available everywhere and building without
2053 it causes problems.
2054Solution: Graduate the "num64" feature. (James McCoy, closes #5650)
2055Files: src/evalfunc.c, src/feature.h, src/message.c, src/structs.h,
2056 src/testdir/test_expr.vim, src/testdir/test_largefile.vim,
2057 src/testdir/test_sort.vim, src/testdir/test_vimscript.vim,
2058 src/version.c
2059
2060Patch 8.2.0272
2061Problem: ":helptags ALL" gives error for directories without write
2062 permission. (Matěj Cepl)
2063Solution: Ignore errors for ":helptags ALL". (Ken Takata, closes #5026,
2064 closes #5652)
2065Files: src/ex_cmds.c, src/testdir/test_help.vim
2066
2067Patch 8.2.0273
2068Problem: MS-Windows uninstall may delete wrong batch file.
2069Solution: Add specific marker in the generated batch file. (Ken Takata,
2070 closes #5654)
2071Files: src/Make_mvc.mak, src/dosinst.c, src/dosinst.h, src/uninstall.c
2072
2073Patch 8.2.0274
2074Problem: Hang with combination of feedkeys(), Ex mode and :global.
2075 (Yegappan Lakshmanan)
2076Solution: Add the pending_exmode_active flag.
2077Files: src/ex_docmd.c, src/globals.h, src/getchar.c,
2078 src/testdir/test_ex_mode.vim
2079
2080Patch 8.2.0275
2081Problem: Some Ex code not covered by tests.
2082Solution: Add test cases. (Yegappan Lakshmanan, closes #5659)
2083Files: src/testdir/test_arglist.vim, src/testdir/test_autocmd.vim,
2084 src/testdir/test_excmd.vim, src/testdir/test_quickfix.vim,
2085 src/testdir/test_search.vim, src/testdir/test_swap.vim,
2086 src/testdir/test_window_cmd.vim
2087
2088Patch 8.2.0276
2089Problem: Vim9: not allowing space before ")" in function call is too
2090 restrictive. (Ben Jackson)
2091Solution: Skip space before the ")". Adjust other space checks.
2092Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
2093
2094Patch 8.2.0277
2095Problem: Vim9: not all instructions covered by tests.
2096Solution: Add more test cases.
2097Files: src/testdir/test_vim9_disassemble.vim
2098
2099Patch 8.2.0278
2100Problem: Channel test is flaky on Mac.
2101Solution: Reset variable before sending message.
2102Files: src/testdir/test_channel.vim
2103
2104Patch 8.2.0279
2105Problem: Vim9: no test for deleted :def function.
2106Solution: Add a test. Clear uf_cleared flag when redefining a function.
2107Files: src/userfunc.c, src/testdir/test_vim9_script.vim
2108
2109Patch 8.2.0280
2110Problem: Vim9: throw in :def function not caught higher up.
2111Solution: Set "need_rethrow".
2112Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
2113
2114Patch 8.2.0281
2115Problem: Two placed signs in the same line are not combined. E.g. in the
2116 terminal debugger a breakpoint and the PC cannot be both be
2117 displayed.
2118Solution: Combine the sign column and line highlight attributes.
2119Files: src/sign.c, src/testdir/test_signs.vim,
2120 src/testdir/dumps/Test_sign_cursor_3.dump,
2121 src/testdir/dumps/Test_sign_cursor_4.dump
2122
2123Patch 8.2.0282
2124Problem: Vim9: setting number option not tested.
2125Solution: Add more tests. Fix assigning to global variable.
2126Files: src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim,
2127 src/vim9execute.c
2128
2129Patch 8.2.0283
2130Problem: Vim9: failing to load script var not tested.
2131Solution: Add more tests. Fix using s: in old script.
2132Files: src/testdir/test_vim9_expr.vim, src/vim9compile.c,
2133 src/testdir/test_vim9_script.vim
2134
2135Patch 8.2.0284
2136Problem: Vim9: assignment test fails.
2137Solution: Avoid duplicating "s:".
2138Files: src/vim9compile.c
2139
2140Patch 8.2.0285
2141Problem: Unused error message. Cannot create s:var.
2142Solution: Remove the error message. Make assignment to s:var work.
2143Files: src/vim9compile.c, src/vim9execute.c,
2144 src/testdir/test_vim9_script.vim
2145
2146Patch 8.2.0286
2147Problem: Cannot use popup_close() for a terminal popup.
2148Solution: Allow using popup_close(). (closes #5666)
2149Files: src/popupwin.c, runtime/doc/popup.txt,
2150 src/testdir/test_terminal.vim,
2151 src/testdir/dumps/Test_terminal_popup_5.dump,
2152 src/testdir/dumps/Test_terminal_popup_6.dump
2153
2154Patch 8.2.0287
2155Problem: Vim9: return in try block not tested; catch with pattern not
2156 tested.
2157Solution: Add tests. Make it work.
2158Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
2159
2160Patch 8.2.0288
2161Problem: Vim9: some float and blob operators not tested.
2162Solution: Add float and blob tests. Fix addition.
2163Files: src/testdir/test_vim9_expr.vim, src/vim9compile.c
2164
2165Patch 8.2.0289
2166Problem: Vim9: :echo did not clear the rest of the line.
2167Solution: Call msg_clr_eos(). (Ken Takata, closes #5668)
2168Files: src/vim9execute.c
2169
2170Patch 8.2.0290
2171Problem: Running individual test differs from all tests.
2172Solution: Pass on environment variables. (Yee Cheng Chin, closes #5672)
2173Files: src/testdir/Makefile, src/testdir/README.txt
2174
2175Patch 8.2.0291
2176Problem: Vim9: assigning [] to list<string> doesn't work.
2177Solution: Use void for empty list and dict. (Ken Takata, closes #5669)
2178Files: src/vim9compile.c, src/globals.h, src/testdir/test_vim9_script.vim
2179
2180Patch 8.2.0292
2181Problem: Vim9: CHECKNR and CHECKTYPE instructions not tested.
2182Solution: Add tests.
2183Files: src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim
2184
2185Patch 8.2.0293
2186Problem: Various Ex commands not sufficiently tested.
2187Solution: Add more test cases. (Yegappan Lakshmanan, closes #5673)
2188Files: src/testdir/test_arglist.vim, src/testdir/test_cmdline.vim,
2189 src/testdir/test_ex_mode.vim, src/testdir/test_excmd.vim,
2190 src/testdir/test_expand.vim, src/testdir/test_filetype.vim,
2191 src/testdir/test_filter_cmd.vim, src/testdir/test_global.vim,
2192 src/testdir/test_normal.vim, src/testdir/test_plus_arg_edit.vim,
2193 src/testdir/test_quickfix.vim, src/testdir/test_trycatch.vim,
2194 src/testdir/test_vimscript.vim
2195
2196Patch 8.2.0294
2197Problem: Cannot use Ex command that is also a function name.
2198Solution: Recognize an Ex command by a colon prefix.
2199Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
2200 runtime/doc/vim9.txt
2201
2202Patch 8.2.0295
2203Problem: Highlighting for :s wrong when using different separator.
2204Solution: Use separate argument for search direction and separator. (Rob
2205 Pilling, closes #5665)
2206Files: src/ex_docmd.c, src/ex_getln.c, src/gui.c, src/normal.c,
2207 src/proto/search.pro, src/quickfix.c, src/search.c, src/spell.c,
2208 src/tag.c, src/testdir/dumps/Test_incsearch_substitute_15.dump,
2209 src/testdir/test_search.vim
2210
2211Patch 8.2.0296
2212Problem: Mixing up "long long" and __int64 may cause problems. (John
2213 Marriott)
2214Solution: Pass varnumber_T to vim_snprintf(). Add v:numbersize.
2215Files: src/message.c, src/eval.c, src/fileio.c, src/json.c, src/ops.c,
2216 src/vim.h, src/structs.h, src/evalvars.c, runtime/doc/eval.txt,
2217 runtime/doc/various.txt, src/testdir/test_eval_stuff.vim
2218
2219Patch 8.2.0297
2220Problem: Compiler warnings for the Ruby interface.
2221Solution: Undefine a few macros, fix initialization. (Ozaki Kiichi,
2222 closes #5677)
2223Files: src/if_ruby.c
2224
2225Patch 8.2.0298
2226Problem: Vim9 script: cannot start command with a string constant.
2227Solution: Recognize expression starting with '('.
2228Files: src/ex_docmd.c, src/vim9compile.c,
2229 src/testdir/test_vim9_script.vim, runtime/doc/vim9.txt
2230
2231Patch 8.2.0299
2232Problem: Vim9: ISN_STORE with argument not tested. Some cases in tv2bool()
2233 not tested.
2234Solution: Add tests. Add test_unknown() and test_void().
2235Files: src/testing.c, src/proto/testing.pro, src/evalfunc.c,
2236 src/testdir/test_vim9_disassemble.vim,
2237 src/testdir/test_vim9_expr.vim, runtime/doc/eval.txt,
2238 runtime/doc/testing.txt
2239
2240Patch 8.2.0300
2241Problem: Vim9: expression test fails without channel support.
2242Solution: Add has('channel') check.
2243Files: src/testdir/test_vim9_expr.vim
2244
2245Patch 8.2.0301
2246Problem: Insufficient testing for exception handling and the "attention"
2247 prompt.
2248Solution: Add test cases. (Yegappan Lakshmanan, closes #5681)
2249Files: src/testdir/test_swap.vim, src/testdir/test_trycatch.vim
2250
2251Patch 8.2.0302
2252Problem: Setting 'term' may cause error in TermChanged autocommand.
2253Solution: Use aucmd_prepbuf() to switch to the buffer where the autocommand
2254 is to be executed. (closes #5682)
2255Files: src/term.c, src/testdir/test_autocmd.vim
2256
2257Patch 8.2.0303
2258Problem: TermChanged test fails in the GUI.
2259Solution: Skip the test when running the GUI.
2260Files: src/testdir/test_autocmd.vim
2261
2262Patch 8.2.0304
2263Problem: Terminal test if failing on some systems.
2264Solution: Wait for the job to finish. (James McCoy)
2265Files: src/testdir/test_terminal.vim
2266
2267Patch 8.2.0305
2268Problem: Relativenumber test fails on some systems. (James McCoy)
2269Solution: Clear the command line.
2270Files: src/testdir/test_number.vim,
2271 src/testdir/dumps/Test_relnr_colors_2.dump,
2272 src/testdir/dumps/Test_relnr_colors_3.dump
2273
2274Patch 8.2.0306
2275Problem: Vim9: :substitute(pat(repl does not work in Vim9 script.
2276Solution: Remember starting with a colon. (closes #5676)
2277Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
2278
2279Patch 8.2.0307
2280Problem: Python 3 vim.eval not well tested.
2281Solution: Add a test. (Dominique Pellé, closes #5680)
2282Files: src/testdir/test_python3.vim
2283
2284Patch 8.2.0308
2285Problem: 'showbreak' does not work for a very long line. (John Little)
2286Solution: Check whether 'briopt' contains "sbr". (Ken Takata, closes #5523,
2287 closes #5684)
2288Files: src/drawline.c, src/testdir/test_breakindent.vim
2289
2290Patch 8.2.0309
2291Problem: Window-local values have confusing name.
2292Solution: Rename w_p_bri* to w_briopt_*.
2293Files: src/structs.h, src/indent.c, src/drawline.c
2294
2295Patch 8.2.0310
2296Problem: Autocmd test fails on a slow system.
2297Solution: Adjust the expectations. (James McCoy, closes #5685)
2298Files: src/testdir/test_autocmd.vim
2299
2300Patch 8.2.0311
2301Problem: Vim9: insufficient script tests.
2302Solution: Add tests. Free imports when re-using a script.
2303Files: src/testdir/test_vim9_script.vim, src/scriptfile.c
2304
2305Patch 8.2.0312
2306Problem: Vim9: insufficient script tests.
2307Solution: Add more tests. Make "import * as Name" work.
2308Files: src/testdir/test_vim9_script.vim, src/vim9script.c,
2309 src/proto/vim9script.pro, src/vim9compile.c
2310
2311Patch 8.2.0313
2312Problem: Vim9: insufficient script tests.
2313Solution: Add tests. Make import of alphanumeric name work.
2314Files: src/testdir/test_vim9_script.vim, src/vim9script.c
2315
2316Patch 8.2.0314
2317Problem: Short name not set for terminal buffer.
2318Solution: Set the short name. (closes #5687)
2319Files: src/terminal.c, src/testdir/test_terminal.vim
2320
2321Patch 8.2.0315
2322Problem: Build failure on HP-UX system.
2323Solution: Use LONG_LONG_MIN instead of LLONG_MIN. Add type casts for switch
2324 statement. (John Marriott)
2325Files: src/structs.h, src/json.c
2326
2327Patch 8.2.0316
2328Problem: ex_getln.c code has insufficient test coverage.
2329Solution: Add more tests. Fix a problem. (Yegappan Lakshmanan, closes #5693)
2330Files: src/cmdhist.c, src/testdir/test_cmdline.vim,
2331 src/testdir/test_functions.vim, src/testdir/test_history.vim,
2332 src/testdir/test_menu.vim
2333
2334Patch 8.2.0317
2335Problem: MSVC: _CRT_SECURE_NO_DEPRECATE not defined on DEBUG build.
2336Solution: Move where CFLAGS is updated. (Ken Takata, closes #5692)
2337Files: src/Make_mvc.mak
2338
2339Patch 8.2.0318
2340Problem: Vim9: types not sufficiently tested.
2341Solution: Add tests with more types.
2342Files: src/globals.h, src/vim9compile.c,
2343 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_expr.vim
2344
2345Patch 8.2.0319
2346Problem: File missing in distribution, comments outdated.
2347Solution: Correct path of README file. Update comments.
2348Files: Filelist, src/evalvars.c, src/register.c, src/if_python3.c
2349
2350Patch 8.2.0320
2351Problem: No Haiku support.
2352Solution: Add support for Haiku. (Emir Sarı, closes #5605)
2353Files: Filelist, runtime/doc/Makefile, runtime/doc/eval.txt,
2354 runtime/doc/gui.txt, runtime/doc/help.txt,
2355 runtime/doc/options.txt, runtime/doc/os_haiku.txt,
2356 runtime/doc/starting.txt, runtime/doc/tags,
2357 runtime/gvimrc_example.vim, runtime/vimrc_example.vim,
2358 src/INSTALL, src/Makefile, src/auto/configure, src/configure.ac,
2359 src/evalfunc.c, src/feature.h, src/fileio.c, src/globals.h,
2360 src/gui.c, src/gui.h, src/gui_haiku.cc, src/gui_haiku.h,
2361 src/mbyte.c, src/menu.c, src/misc1.c, src/mouse.c, src/option.h,
2362 src/os_haiku.h, src/os_haiku.rdef, src/os_unix.c, src/os_unix.h,
2363 src/osdef1.h.in, src/proto.h, src/proto/gui_haiku.pro, src/pty.c,
2364 src/screen.c, src/structs.h, src/term.c, src/version.c, src/vim.h
2365
2366Patch 8.2.0321
2367Problem: Vim9: ":execute" does not work yet.
2368Solution: Add ISN_EXECUTE. (closes #5699) Also make :echo work with more
2369 than one argument.
2370Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
2371 src/testdir/test_vim9_disassemble.vim,
2372 src/testdir/test_vim9_script.vim
2373
2374Patch 8.2.0322
2375Problem: Vim9: error checks not tested.
2376Solution: Add more test cases. Avoid error for function loaded later.
2377Files: src/vim9compile.c, src/evalvars.c, src/testdir/test_vim9_script.vim
2378
2379Patch 8.2.0323
2380Problem: Vim9: calling a function that is defined later is slow.
2381Solution: Once the function is found update the instruction so it can be
2382 called directly.
2383Files: src/vim9execute.c, src/testdir/test_vim9_script.vim,
2384 src/testdir/test_vim9_disassemble.vim
2385
2386Patch 8.2.0324
2387Problem: Text property not updated correctly when inserting/deleting.
2388Solution: Use the right column when deleting. Make zero-width text
2389 properties respect start_incl and end_incl. (Axel Forsman,
2390 closes #5696, closes #5679)
2391Files: src/change.c, src/textprop.c, src/testdir/test_listener.vim,
2392 src/testdir/test_textprop.vim
2393
2394Patch 8.2.0325
2395Problem: Ex_getln.c code not covered by tests.
2396Solution: Add a few more tests. (Yegappan Lakshmanan, closes #5702)
2397Files: src/testdir/test_cmdline.vim, src/testdir/test_ex_mode.vim,
2398 src/testdir/test_functions.vim, src/testdir/test_history.vim,
2399 src/testdir/test_options.vim
2400
2401Patch 8.2.0326
2402Problem: Compiler warning for using uninitialized variable. (Yegappan
2403 Lakshmanan)
2404Solution: Do not jump to failed but return.
2405Files: src/vim9execute.c
2406
2407Patch 8.2.0327
2408Problem: Crash when opening and closing two popup terminal windows.
2409Solution: Check that prevwin is valid. (closes #5707)
2410Files: src/popupwin.c, src/testdir/test_terminal.vim
2411
2412Patch 8.2.0328
2413Problem: No redraw when leaving terminal-normal mode in a terminal popup
2414 window.
2415Solution: Redraw the popup window. (closes #5708)
2416Files: src/macros.h, src/vim.h, src/terminal.c, src/drawscreen.c,
2417 src/move.c, src/popupwin.c, src/testdir/test_terminal.vim,
2418 src/testdir/dumps/Test_terminal_popup_7.dump,
2419 src/testdir/dumps/Test_terminal_popup_8.dump
2420
2421Patch 8.2.0329
2422Problem: Popup filter converts 0x80 bytes.
2423Solution: Keep 0x80 bytes as-is. (Ozaki Kiichi, closes #5706)
2424Files: src/popupwin.c, src/testdir/test_popupwin.vim
2425
2426Patch 8.2.0330
2427Problem: Build error with popup window but without terminal.
2428Solution: Add #ifdef.
2429Files: src/popupwin.c
2430
2431Patch 8.2.0331
2432Problem: Internal error when using test_void() and test_unknown().
2433 (Dominique Pellé)
2434Solution: Give a normal error.
2435Files: src/evalfunc.c, src/testdir/test_functions.vim,
2436 src/testdir/test_vimscript.vim
2437
2438Patch 8.2.0332
2439Problem: Some code in ex_getln.c not covered by tests.
2440Solution: Add a few more tests. (Yegappan Lakshmanan, closes #5710)
2441Files: src/testdir/test_arabic.vim, src/testdir/test_cmdline.vim
2442
2443Patch 8.2.0333
2444Problem: Terminal in popup test is flaky.
2445Solution: Make sure redraw is done before opening the popup.
2446Files: src/testdir/test_terminal.vim,
2447 src/testdir/dumps/Test_terminal_popup_1.dump
2448
2449Patch 8.2.0334
2450Problem: Abort called when using test_void(). (Dominique Pellé)
2451Solution: Only give an error, don't abort.
2452Files: src/message.c, src/proto/message.pro, src/evalfunc.c,
2453 src/eval.c, src/json.c, src/testdir/test_functions.vim
2454
2455Patch 8.2.0335
2456Problem: No completion for :disassemble.
2457Solution: Make completion work. Also complete script-local functions if the
2458 name starts with "s:".
2459Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
2460 runtime/doc/vim9.txt
2461
2462Patch 8.2.0336
2463Problem: Vim9: insufficient test coverage for compiling.
2464Solution: Add more tests.
2465Files: src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim,
2466 src/vim9.h, src/vim9compile.c, src/vim9execute.c
2467
2468Patch 8.2.0337
2469Problem: Build fails on a few systems.
2470Solution: Use vim_snprintf() instead of snprintf().
2471Files: src/cmdexpand.c
2472
2473Patch 8.2.0338
2474Problem: Build failure without the channel feature.
2475Solution: Add #ifdef
2476Files: src/vim9compile.c
2477
2478Patch 8.2.0339
2479Problem: Vim9: function return type may depend on arguments.
2480Solution: Instead of a fixed return type use a function to figure out the
2481 return type.
2482Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9compile.c,
2483 src/evalbuffer.c, src/proto/evalbuffer.pro,
2484 src/testdir/test_vim9_script.vim
2485
2486Patch 8.2.0340
2487Problem: Vim9: function and partial types not tested.
2488Solution: Support more for partial, add tests.
2489Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
2490 src/testdir/test_vim9_script.vim
2491
2492Patch 8.2.0341
2493Problem: Using ":for" in Vim9 script gives an error.
2494Solution: Pass the LET_NO_COMMAND flag. (closes #5715)
2495Files: src/eval.c, src/testdir/test_vim9_script.vim
2496
2497Patch 8.2.0342
2498Problem: Some code in ex_getln.c not covered by tests.
2499Solution: Add more tests. (Yegappan Lakshmanan, closes #5717)
2500Files: src/testdir/test_cmdline.vim, src/testdir/test_ex_mode.vim,
2501 src/testdir/test_history.vim, src/testdir/test_iminsert.vim
2502
2503Patch 8.2.0343
2504Problem: Vim9: using wrong instruction, limited test coverage.
2505Solution: Use ISN_PUSHJOB. Add a few more tests.
2506Files: src/vim9compile.c, src/vim9execute.c,
2507 src/testdir/test_vim9_script.vim,
2508 src/testdir/test_vim9_disassemble.vim
2509
2510Patch 8.2.0344
2511Problem: ":def" not skipped properly.
2512Solution: Add CMD_def to list of commands the require evaluation even when
2513 not being executed.
2514Files: src/ex_docmd.c
2515
2516Patch 8.2.0345
2517Problem: Compiler warning when building without the float feature.
2518Solution: Add #ifdef. (John Marriott)
2519Files: src/evalfunc.c
2520
2521Patch 8.2.0346
2522Problem: Vim9: finding common list type not tested.
2523Solution: Add more tests. Fix listing function. Fix overwriting type.
2524Files: src/vim9compile.c, src/userfunc.c,
2525 src/testdir/test_vim9_script.vim, src/testdir/runtest.vim,
2526 src/testdir/test_vim9_disassemble.vim
2527
2528Patch 8.2.0347
2529Problem: Various code not covered by tests.
2530Solution: Add more test coverage. (Yegappan Lakshmanan, closes #5720)
2531Files: src/testdir/gen_opt_test.vim, src/testdir/test86.in,
2532 src/testdir/test_cmdline.vim, src/testdir/test_digraph.vim,
2533 src/testdir/test_ex_mode.vim, src/testdir/test_history.vim
2534
2535Patch 8.2.0348
2536Problem: Vim9: not all code tested.
2537Solution: Add a few more tests. fix using "b:" in literal dictionary.
2538Files: src/testdir/test_vim9_expr.vim, src/vim9compile.c,
2539 src/proto/vim9compile.pro, src/testdir/test_vim9_script.vim
2540
2541Patch 8.2.0349
2542Problem: Vim9: constant expression not well tested.
2543Solution: Add tests for "if" with constant expression.
2544Files: src/testdir/test_vim9_script.vim
2545
2546Patch 8.2.0350
2547Problem: Vim9: expression tests don't use recognized constants.
2548Solution: Recognize "true" and "false" as constants. Make skipping work for
2549 assignment and expression evaluation.
2550Files: src/vim9compile.c
2551
2552Patch 8.2.0351
2553Problem: Terminal in popup test is still a bit flaky.
2554Solution: Clear and redraw before opening the popup.
2555Files: src/testdir/test_terminal.vim
2556
2557Patch 8.2.0352
2558Problem: FreeBSD: test for sourcing utf-8 is skipped.
2559Solution: Run the matchadd_conceal test separately to avoid that setting
2560 'term' to "ansi" causes problems for other tests. (Ozaki Kiichi,
2561 closes #5721)
2562Files: src/testdir/Make_all.mak, src/testdir/test_alot_utf8.vim,
2563 src/testdir/test_source_utf8.vim
2564
2565Patch 8.2.0353
2566Problem: Vim9: while loop not tested.
2567Solution: Add test with "while", "break" and "continue"
2568Files: src/testdir/test_vim9_script.vim
2569
2570Patch 8.2.0354
2571Problem: Python 3.9 does not define _Py_DEC_REFTOTAL. (Zdenek Dohnal)
2572Solution: Remove it, it was only for debugging.
2573Files: src/if_python3.c
2574
2575Patch 8.2.0355
2576Problem: Vim9: str_val is confusing, it's a number
2577Solution: Rename to stnr_val.
2578Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c
2579
2580Patch 8.2.0356
2581Problem: MS-Windows: feedkeys() with VIMDLL cannot handle CSI correctly.
2582Solution: Modify mch_inchar() to encode CSI bytes. (Ozaki Kiichi, Ken
2583 Takata, closes #5726)
2584Files: src/getchar.c, src/os_win32.c, src/testdir/test_popupwin.vim
2585
2586Patch 8.2.0357
2587Problem: Cannot delete a text property matching both id and type. (Axel
2588 Forsman)
2589Solution: Add the "both" argument.
2590Files: src/textprop.c, runtime/doc/textprop.txt,
2591 src/testdir/test_textprop.vim
2592
2593Patch 8.2.0358
2594Problem: Insufficient testing for indent.c.
2595Solution: Add indent tests. (Yegappan Lakshmanan, closes #5736)
2596Files: src/testdir/Make_all.mak, src/testdir/test_ex_mode.vim,
2597 src/testdir/test_expand_func.vim, src/testdir/test_indent.vim,
2598 src/testdir/test_lispwords.vim, src/testdir/test_smartindent.vim,
2599 src/testdir/test_vartabs.vim
2600
2601Patch 8.2.0359
2602Problem: popup_atcursor() may hang. (Yasuhiro Matsumoto)
2603Solution: Take the decoration into account. (closes #5728)
2604Files: src/popupwin.c, src/testdir/test_popupwin.vim
2605
2606Patch 8.2.0360
2607Problem: Yaml files are only recognized by the file extension.
2608Solution: Check for a line starting with "%YAML". (Jason Franklin)
2609Files: runtime/scripts.vim, src/testdir/test_filetype.vim
2610
2611Patch 8.2.0361
2612Problem: Internal error when using "0" for a callback.
2613Solution: Give a normal error. (closes #5743)
2614Files: src/evalvars.c, src/testdir/test_timers.vim
2615
2616Patch 8.2.0362
2617Problem: MS-Windows: channel test fails if grep is not available.
2618Solution: Use another command. (Ken Takata, closes #5739)
2619Files: src/testdir/test_channel.vim
2620
2621Patch 8.2.0363
2622Problem: Some Normal mode commands not tested.
2623Solution: Add more tests. (Yegappan Lakshmanan, closes #5746)
2624Files: src/testdir/test_cindent.vim, src/testdir/test_cmdline.vim,
2625 src/testdir/test_edit.vim, src/testdir/test_indent.vim,
2626 src/testdir/test_normal.vim, src/testdir/test_prompt_buffer.vim,
2627 src/testdir/test_virtualedit.vim, src/testdir/test_visual.vim
2628
2629Patch 8.2.0364
2630Problem: Printf test failing on Haiku.
2631Solution: Make a difference between int and short. (Dominique Pellé,
2632 closes #5749)
2633Files: src/message.c
2634
2635Patch 8.2.0365
2636Problem: Tag kind can't be a multibyte character. (Marcin Szamotulski)
2637Solution: Recognize multibyte character. (closes #5724)
2638Files: src/tag.c, src/testdir/test_taglist.vim
2639
2640Patch 8.2.0366
2641Problem: Hardcopy command not tested enough.
2642Solution: Add tests for printing. (Dominique Pellé, closes #5748)
2643Files: src/testdir/test_hardcopy.vim
2644
2645Patch 8.2.0367
2646Problem: Can use :pedit in a popup window.
2647Solution: Disallow it.
Bram Moolenaar47c532e2022-03-19 15:18:53 +00002648Files: src/ex_docmd.c, src/testdir/test_popupwin.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +00002649
2650Patch 8.2.0368
2651Problem: Vim9: import that redefines local variable does not fail.
2652Solution: Check for already defined symbols.
2653Files: src/vim9script.c, src/proto/vim9script.pro, src/vim9compile.c,
2654 src/proto/vim9compile.pro, src/testdir/test_vim9_script.vim
2655
2656Patch 8.2.0369
2657Problem: Various Normal mode commands not fully tested.
2658Solution: Add more tests. (Yegappan Lakshmanan, closes #5751)
2659Files: src/testdir/test_arglist.vim, src/testdir/test_changelist.vim,
2660 src/testdir/test_charsearch.vim, src/testdir/test_cmdline.vim,
2661 src/testdir/test_edit.vim, src/testdir/test_ex_mode.vim,
2662 src/testdir/test_excmd.vim, src/testdir/test_gf.vim,
2663 src/testdir/test_iminsert.vim, src/testdir/test_increment.vim,
2664 src/testdir/test_marks.vim, src/testdir/test_normal.vim,
2665 src/testdir/test_prompt_buffer.vim, src/testdir/test_put.vim,
2666 src/testdir/test_registers.vim, src/testdir/test_tagjump.vim,
2667 src/testdir/test_visual.vim
2668
2669Patch 8.2.0370
2670Problem: The typebuf_was_filled flag is sometimes not reset, which may
2671 cause a hang.
2672Solution: Make sure typebuf_was_filled is reset when the typeahead buffer is
2673 empty.
2674Files: src/edit.c, src/getchar.c,
2675
2676Patch 8.2.0371
2677Problem: Crash with combination of terminal popup and autocmd.
2678Solution: Disallow closing a popup that is the current window. Add a check
2679 that the current buffer is valid. (closes #5754)
2680Files: src/macros.h, src/buffer.c, src/popupwin.c, src/terminal.c,
2681 src/testdir/test_terminal.vim
2682
2683Patch 8.2.0372
2684Problem: Prop_find() may not find text property at start of the line.
2685Solution: Adjust the loop to find properties. (Axel Forsman, closes #5761,
2686 closes #5663)
Bram Moolenaar47c532e2022-03-19 15:18:53 +00002687Files: src/textprop.c, src/testdir/test_textprop.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +00002688
2689Patch 8.2.0373
2690Problem: Type of term_sendkeys() is unknown.
2691Solution: Just return zero. (closes #5762)
2692Files: src/terminal.c, src/testdir/test_terminal.vim
2693
2694Patch 8.2.0374
2695Problem: Using wrong printf directive for jump location.
2696Solution: Change "%lld" to "%d". (James McCoy, closes #5773)
2697Files: src/vim9execute.c
2698
2699Patch 8.2.0375
2700Problem: Coverity warning for not using return value.
2701Solution: Move error message to separate function.
2702Files: src/popupwin.c
2703
2704Patch 8.2.0376
2705Problem: Nasty callback test fails on some systems.
2706Solution: Increase the sleep time.
2707Files: src/testdir/test_terminal.vim
2708
2709Patch 8.2.0377
2710Problem: No CI test for a big-endian system.
2711Solution: Test with s390x. (James McCoy, closes #5772)
2712Files: .travis.yml
2713
2714Patch 8.2.0378
2715Problem: prop_find() does not find all props.
2716Solution: Check being in the start line. (Axel Forsman, closes #5776)
2717Files: src/textprop.c, src/testdir/test_textprop.vim
2718
2719Patch 8.2.0379
2720Problem: Gcc warns for ambiguous else.
2721Solution: Add braces. (Dominique Pellé, closes #5778)
2722Files: src/textprop.c
2723
2724Patch 8.2.0380
2725Problem: Tiny popup when creating a terminal popup without minwidth.
2726Solution: Use a default minimum size of 5 lines of 20 characters.
2727Files: src/popupwin.c, src/testdir/test_terminal.vim,
2728 src/testdir/dumps/Test_terminal_popup_m1.dump
2729
2730Patch 8.2.0381
2731Problem: Using freed memory with :lvimgrep and autocommand. (extracted from
2732 POC by Dominique Pellé)
2733Solution: Avoid deleting a dummy buffer used in a window. (closes #5777)
2734Files: src/quickfix.c, src/testdir/test_quickfix.vim
2735
2736Patch 8.2.0382
2737Problem: Some tests fail when run under valgrind.
2738Solution: Increase timeouts.
2739Files: src/testdir/test_autocmd.vim, src/testdir/test_debugger.vim,
2740 src/testdir/test_channel.vim, src/testdir/test_ins_complete.vim,
2741 src/testdir/test_terminal.vim,
2742 src/testdir/dumps/Test_terminal_popup_1.dump,
2743 src/testdir/dumps/Test_terminal_popup_2.dump,
2744 src/testdir/dumps/Test_terminal_popup_3.dump,
2745 src/testdir/dumps/Test_terminal_popup_5.dump,
2746 src/testdir/dumps/Test_terminal_popup_6.dump,
2747 src/testdir/dumps/Test_terminal_popup_7.dump,
2748 src/testdir/dumps/Test_terminal_popup_8.dump,
2749 src/testdir/dumps/Test_terminal_popup_m1.dump
2750
2751Patch 8.2.0383
2752Problem: Wrong feature check causes test not to be run.
2753Solution: Use CheckFunction instead of CheckFeature. (Ozaki Kiichi,
2754 closes #5781)
2755Files: src/testdir/test_channel.vim
2756
2757Patch 8.2.0384
2758Problem: Travis CI has warnings.
2759Solution: Avoid warnings, clean up the config. (Ozaki Kiichi, closes #5779)
2760Files: .travis.yml
2761
2762Patch 8.2.0385
2763Problem: Menu functionality insufficiently tested.
2764Solution: Add tests. Add menu_info(). (Yegappan Lakshmanan, closes #5760)
2765Files: runtime/doc/eval.txt, runtime/doc/gui.txt, runtime/doc/usr_41.txt,
2766 src/evalfunc.c, src/menu.c, src/proto/menu.pro,
2767 src/testdir/test_menu.vim, src/testdir/test_popup.vim,
2768 src/testdir/test_termcodes.vim
2769
2770Patch 8.2.0386 (after 8.2.0385)
2771Problem: Part from unfinished patch got included.
2772Solution: Undo that part.
2773Files: src/evalfunc.c
2774
2775Patch 8.2.0387
2776Problem: Error for possible NULL argument to qsort().
2777Solution: Don't call qsort() when there is nothing to sort. (Dominique
2778 Pellé, closes #5780)
2779Files: src/spellsuggest.c
2780
2781Patch 8.2.0388
2782Problem: Printmbcharset option not tested.
2783Solution: Add a test. Enable PostScript for AppVeyor build. (Dominique
2784 Pellé, closes #5783)
2785Files: appveyor.yml, src/testdir/test_hardcopy.vim
2786
2787Patch 8.2.0389
2788Problem: Delayed redraw when shifting text from Insert mode.
2789Solution: Use msg_attr_keep() instead of msg(). (closes #5782)
2790Files: src/ops.c
2791
2792Patch 8.2.0390
2793Problem: Terminal postponed scrollback test is flaky.
2794Solution: Add delay in between sending keys. Rename dump files.
2795Files: src/testdir/test_terminal.vim,
2796 src/testdir/dumps/Test_terminal_01.dump,
2797 src/testdir/dumps/Test_terminal_02.dump,
2798 src/testdir/dumps/Test_terminal_03.dump,
2799 src/testdir/dumps/Test_terminal_scrollback_1.dump,
2800 src/testdir/dumps/Test_terminal_scrollback_2.dump,
2801 src/testdir/dumps/Test_terminal_scrollback_3.dump
2802
2803Patch 8.2.0391 (after 8.2.0377)
2804Problem: CI test coverage dropped.
2805Solution: Set $DISPLAY also for non-GUI builds. (James McCoy, closes #5788)
2806Files: .travis.yml
2807
2808Patch 8.2.0392
2809Problem: Coverity warns for using array index out of range.
2810Solution: Add extra "if" to avoid warning.
2811Files: src/menu.c
2812
2813Patch 8.2.0393
2814Problem: Coverity warns for not using return value.
2815Solution: Add (void).
2816Files: src/popupmenu.c
2817
2818Patch 8.2.0394
2819Problem: Coverity complains about using NULL pointer.
2820Solution: Use empty string when option value is NULL.
2821Files: src/optionstr.c
2822
2823Patch 8.2.0395
2824Problem: Build fails with FEAT_EVAL but without FEAT_MENU.
2825Solution: Add #ifdef. (John Marriott)
2826Files: src/evalfunc.c
2827
2828Patch 8.2.0396
2829Problem: Cmdexpand.c insufficiently tested.
2830Solution: Add more tests. (Yegappan Lakshmanan, closes #5789)
2831Files: src/testdir/test_cmdline.vim, src/testdir/test_taglist.vim,
2832 src/testdir/test_terminal.vim, src/testdir/test_usercommands.vim
2833
2834Patch 8.2.0397
2835Problem: Delayed screen update when using undo from Insert mode.
2836Solution: Update w_topline and cursor shape before sleeping. (closes #5790)
2837Files: src/normal.c
2838
2839Patch 8.2.0398
2840Problem: Profile test fails when two functions take same time.
2841Solution: Add a short sleep in once function. (closes #5797)
2842Files: src/testdir/test_profile.vim
2843
2844Patch 8.2.0399
2845Problem: Various memory leaks.
2846Solution: Avoid the leaks. (Ozaki Kiichi, closes #5803)
2847Files: src/ex_docmd.c, src/ex_getln.c, src/menu.c, src/message.c,
2848 src/scriptfile.c, src/userfunc.c
2849
2850Patch 8.2.0400
2851Problem: Not all tests using a terminal are in the list of flaky tests.
2852Solution: Introduce the test_is_flaky flag.
2853Files: src/testdir/runtest.vim, src/testdir/term_util.vim,
2854 src/testdir/screendump.vim, src/testdir/test_autocmd.vim
2855
2856Patch 8.2.0401
2857Problem: Not enough test coverage for evalvars.c.
2858Solution: Add more tests. (Yegappan Lakshmanan, closes #5804)
2859Files: src/testdir/test_cmdline.vim, src/testdir/test_const.vim,
2860 src/testdir/test_diffmode.vim, src/testdir/test_excmd.vim,
2861 src/testdir/test_functions.vim, src/testdir/test_let.vim,
2862 src/testdir/test_listdict.vim, src/testdir/test_spell.vim,
2863 src/testdir/test_unlet.vim, src/testdir/test_user_func.vim,
2864 src/testdir/test_vimscript.vim
2865
2866Patch 8.2.0402 (after 8.2.0401)
2867Problem: Setting local instead of global flag.
2868Solution: Prepend "g:" to "test_is_flaky".
2869Files: src/testdir/term_util.vim, src/testdir/screendump.vim,
2870 src/testdir/test_autocmd.vim
2871
2872Patch 8.2.0403
2873Problem: When 'buftype' is "nofile" there is no overwrite check.
2874Solution: Also check for existing file when 'buftype' is set.
2875 (closes #5807)
2876Files: src/ex_cmds.c, src/testdir/test_options.vim
2877
2878Patch 8.2.0404
2879Problem: Writefile() error does not give a hint.
2880Solution: Add remark about first argument.
2881Files: src/filepath.c, src/testdir/test_writefile.vim
2882
2883Patch 8.2.0405
2884Problem: MSVC: build fails with some combination of features.
2885Solution: Enable CHANNEL if TERMINAL is enabled. (Mike Williams)
2886Files: src/Make_mvc.mak
2887
2888Patch 8.2.0406
2889Problem: FileReadCmd event not well tested.
2890Solution: Add a test.
2891Files: src/testdir/test_autocmd.vim
2892
2893Patch 8.2.0407
2894Problem: No early check if :find and :sfind have an argument.
2895Solution: Add EX_NEEDARG.
2896Files: src/ex_cmds.h, src/testdir/test_findfile.vim,
2897 src/testdir/test_find_complete.vim
2898
2899Patch 8.2.0408
2900Problem: Delete() commented out for testing.
2901Solution: Undo commenting-out.
2902Files: src/testdir/test_vim9_disassemble.vim
2903
2904Patch 8.2.0409
2905Problem: Search test leaves file behind.
2906Solution: Delete the file. Also use Check commands.
2907Files: src/testdir/test_search.vim
2908
2909Patch 8.2.0410
2910Problem: Channel test fails too often on slow Mac.
2911Solution: Increase waiting time to 10 seconds.
2912Files: src/testdir/test_channel.vim
2913
2914Patch 8.2.0411
2915Problem: Mac: breakcheck is using a value from the stone ages.
2916Solution: Delete BREAKCHECK_SKIP from the Mac header file. (Ben Jackson)
2917Files: src/os_mac.h
2918
2919Patch 8.2.0412
2920Problem: MS-Windows: cannot use vimtutor from the start menu.
2921Solution: Better check for writable directory. Use the right path for the
2922 executable. (Wu Yongwei, closes #5774, closes #5756)
2923Files: vimtutor.bat
2924
2925Patch 8.2.0413
2926Problem: Buffer menu does not handle special buffers properly.
2927Solution: Keep a dictionary with buffer names to reliably keep track of
2928 entries.
2929 Also trigger BufFilePre and BufFilePost for command-line and
2930 terminal buffers when the name changes.
2931Files: src/testdir/test_alot.vim, src/testdir/Make_all.mak,
2932 runtime/menu.vim, src/ex_getln.c, src/terminal.c,
2933 src/testdir/test_menu.vim
2934
2935Patch 8.2.0414
2936Problem: Channel connect_waittime() test is flaky.
2937Solution: Set the test_is_flaky flag. Use test_is_flaky for more tests.
2938Files: src/testdir/test_channel.vim, src/testdir/test_terminal.vim,
2939 src/testdir/runtest.vim
2940
2941Patch 8.2.0415
2942Problem: Bsdl filetype is not detected.
2943Solution: Add an entry in the filetype list. (Daniel Kho, closes #5810)
2944Files: runtime/filetype.vim, src/testdir/test_filetype.vim
2945
2946Patch 8.2.0416
2947Problem: Test leaves file behind.
2948Solution: Delete the file.
2949Files: src/testdir/test_indent.vim
2950
2951Patch 8.2.0417
2952Problem: Travis CI config can be improved.
2953Solution: Remove COVERAGE variable. Add load-snd-dummy script. add "-i NONE"
2954 to avoid messages about viminfo. (Ozaki Kiichi, closes #5813)
2955Files: .travis.yml, ci/load-snd-dummy.sh
2956
2957Patch 8.2.0418
2958Problem: Code in eval.c not sufficiently covered by tests.
2959Solution: Add more tests. (Yegappan Lakshmanan, closes #5815)
2960Files: src/testdir/test_blob.vim, src/testdir/test_channel.vim,
2961 src/testdir/test_cmdline.vim, src/testdir/test_eval_stuff.vim,
2962 src/testdir/test_expr.vim, src/testdir/test_functions.vim,
2963 src/testdir/test_job_fails.vim, src/testdir/test_lambda.vim,
2964 src/testdir/test_let.vim, src/testdir/test_listdict.vim,
2965 src/testdir/test_marks.vim, src/testdir/test_method.vim,
2966 src/testdir/test_normal.vim, src/testdir/test_unlet.vim,
2967 src/testdir/test_usercommands.vim, src/testdir/test_vimscript.vim,
2968 src/testdir/test_window_cmd.vim
2969
2970Patch 8.2.0419
2971Problem: Various memory leaks in Vim9 script code.
2972Solution: Fix the leaks. (Ozaki Kiichi, closes #5814)
2973Files: src/proto/vim9compile.pro, src/scriptfile.c, src/structs.h,
2974 src/testdir/test_vim9_script.vim, src/vim9.h, src/vim9compile.c,
2975 src/vim9execute.c, src/vim9script.c
2976
2977Patch 8.2.0420
2978Problem: Vim9: cannot interrupt a loop with CTRL-C.
2979Solution: Check for CTRL-C once in a while. Doesn't fully work yet.
2980Files: src/misc1.c, src/proto/misc1.pro,
2981 src/testdir/test_vim9_script.vim
2982
2983Patch 8.2.0421
2984Problem: Interrupting with CTRL-C does not always work.
2985Solution: Recognize CTRL-C while modifyOtherKeys is set.
2986Files: src/ui.c, src/testdir/test_vim9_script.vim, src/evalfunc.c
2987
2988Patch 8.2.0422
2989Problem: Crash when passing popup window to win_splitmove(). (john Devin)
2990Solution: Disallow moving a popup window. (closes #5816)
2991Files: src/testdir/test_popupwin.vim, src/evalwindow.c
2992
2993Patch 8.2.0423
2994Problem: In some environments a few tests are expected to fail.
2995Solution: Add $TEST_MAY_FAIL to list tests that should not cause make to
2996 fail.
2997Files: src/testdir/runtest.vim
2998
2999Patch 8.2.0424
3000Problem: Checking for wrong return value. (Tom)
3001Solution: Invert the check and fix the test.
3002Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
3003
3004Patch 8.2.0425
3005Problem: Code for modeless selection not sufficiently tested.
3006Solution: Add tests. Move mouse code functionality to a common script file.
3007 (Yegappan Lakshmanan, closes #5821)
3008Files: src/testdir/Make_all.mak, src/testdir/gen_opt_test.vim,
3009 src/testdir/mouse.vim, src/testdir/test_edit.vim,
3010 src/testdir/test_global.vim, src/testdir/test_modeless.vim,
3011 src/testdir/test_normal.vim, src/testdir/test_selectmode.vim,
3012 src/testdir/test_termcodes.vim, src/testdir/test_visual.vim,
3013 src/ui.c
3014
3015Patch 8.2.0426
3016Problem: Some errors were not tested for.
3017Solution: Add tests. (Dominique Pellé, closes #5824)
3018Files: src/testdir/test_buffer.vim, src/testdir/test_options.vim,
3019 src/testdir/test_tcl.vim, src/testdir/test_terminal.vim,
3020 src/testdir/test_window_cmd.vim
3021
3022Patch 8.2.0427
3023Problem: It is not possible to check for a typo in a feature name.
3024Solution: Add an extra argument to has().
3025Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/check.vim,
3026 src/testdir/test_functions.vim
3027
3028Patch 8.2.0428
3029Problem: Buffer name may leak.
3030Solution: Free the buffer name before overwriting it.
3031Files: src/terminal.c
3032
3033Patch 8.2.0429
3034Problem: No warning when test checks for option that never exists.
3035Solution: In tests check that the option can exist.
3036Files: src/testdir/check.vim
3037
3038Patch 8.2.0430
3039Problem: Window creation failure not properly tested.
3040Solution: Improve the test. (Yegappan Lakshmanan, closes #5826)
3041Files: src/testdir/test_cmdline.vim, src/testdir/test_window_cmd.vim
3042
3043Patch 8.2.0431
3044Problem: Some compilers don't support using \e for Esc. (Yegappan
3045 Lakshmanan)
3046Solution: use \033 instead.
3047Files: src/ui.c
3048
3049Patch 8.2.0432
3050Problem: A few tests fail in a huge terminal.
3051Solution: Make the tests pass. (Dominique Pellé, closes #5829)
3052Files: src/testdir/test_autocmd.vim, src/testdir/test_options.vim,
3053 src/testdir/test_termcodes.vim, src/testdir/test_terminal.vim,
3054 src/testdir/test_window_cmd.vim
3055
3056Patch 8.2.0433
3057Problem: INT signal not properly tested.
3058Solution: Add a test. Also clean up some unnecessary lines. (Dominique
3059 Pellé, closes #5828)
3060Files: src/testdir/test_display.vim, src/testdir/test_ex_mode.vim,
3061 src/testdir/test_excmd.vim, src/testdir/test_messages.vim,
3062 src/testdir/test_signals.vim
3063
3064Patch 8.2.0434
3065Problem: MS-Windows with VTP: Normal color not working.
3066Solution: After changing the Normal color update the VTP console color.
3067 (Nobuhiro Takasaki, closes #5836)
3068Files: src/highlight.c
3069
3070Patch 8.2.0435
3071Problem: Channel contents might be freed twice.
3072Solution: Call either channel_free_channel() or channel_free(), not both.
3073 (Nobuhiro Takasaki, closes #5835)
3074Files: src/channel.c
3075
3076Patch 8.2.0436
3077Problem: No warnings for incorrect printf arguments.
3078Solution: Fix attribute in declaration. Fix uncovered mistakes. (Dominique
3079 Pellé, closes #5834)
3080Files: src/proto.h, src/eval.c, src/ops.c, src/spellfile.c,
3081 src/vim9compile.c, src/vim9execute.c, src/viminfo.c, src/gui.c
3082
3083Patch 8.2.0437
3084Problem: MS-Windows installer contains old stuff.
3085Solution: Rely on Windows NT. (Ken Takata, closes #5832)
3086Files: src/dosinst.c
3087
3088Patch 8.2.0438
3089Problem: Terminal noblock test is very flaky on BSD.
3090Solution: Change WaitFor() to WaitForAssert() to be able to see why it
3091 failed. Add a short wait in between sending keys.
3092Files: src/testdir/test_terminal.vim
3093
3094Patch 8.2.0439
3095Problem: :disassemble has minor flaws.
3096Solution: Format the code. Use (int) instead of (char) for %c.
3097 (also by James McCoy, closes #5831)
3098Files: src/vim9execute.c
3099
3100Patch 8.2.0440
3101Problem: Terminal noblock test is still very flaky on BSD.
3102Solution: Increase the waiting time.
3103Files: src/testdir/test_terminal.vim
3104
3105Patch 8.2.0441
3106Problem: Terminal noblock test is still failing on BSD.
3107Solution: Reduce the amount of text.
3108Files: src/testdir/test_terminal.vim
3109
3110Patch 8.2.0442
3111Problem: Channel contents might be used after being freed.
3112Solution: Reset the job channel before freeing the channel.
3113Files: src/channel.c
3114
3115Patch 8.2.0443
3116Problem: Clipboard code is spread out.
3117Solution: Move clipboard code to its own file. (Yegappan Lakshmanan,
3118 closes #5827)
3119Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
3120 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
3121 src/clipboard.c, src/ops.c, src/proto.h, src/proto/clipboard.pro,
3122 src/proto/ops.pro, src/proto/register.pro, src/proto/ui.pro,
3123 src/register.c, src/ui.c
3124
3125Patch 8.2.0444
3126Problem: Swap file test fails on some systems.
3127Solution: Preserve the swap file. Send NL terminated keys.
3128Files: src/testdir/test_swap.vim
3129
3130Patch 8.2.0445
3131Problem: Png and xpm files not in MS-Windows zip file.
3132Solution: Move files to shared between Unix and Windows target.
3133Files: Filelist
3134
3135Patch 8.2.0446
3136Problem: Listener with undo of deleting all lines not tested.
3137Solution: Add a test.
3138Files: src/testdir/test_listener.vim
3139
3140Patch 8.2.0447
3141Problem: Terminal scroll tests fails on some systems.
3142Solution: Remove the fixed 100msec wait for Win32. Add a loop to wait until
3143 scrolling has finished. (James McCoy, closes #5842)
3144Files: src/testdir/test_terminal.vim
3145
3146Patch 8.2.0448
3147Problem: Various functions not properly tested.
3148Solution: Add more tests, especially for failures. (Yegappan Lakshmanan,
3149 closes #5843)
3150Files: runtime/doc/eval.txt, src/testdir/test_blob.vim,
3151 src/testdir/test_breakindent.vim, src/testdir/test_charsearch.vim,
3152 src/testdir/test_clientserver.vim, src/testdir/test_cmdline.vim,
3153 src/testdir/test_exists.vim, src/testdir/test_expand_func.vim,
3154 src/testdir/test_expr.vim, src/testdir/test_file_perm.vim,
3155 src/testdir/test_functions.vim, src/testdir/test_gui.vim,
3156 src/testdir/test_listdict.vim, src/testdir/test_marks.vim,
3157 src/testdir/test_partial.vim, src/testdir/test_registers.vim,
3158 src/testdir/test_search.vim, src/testdir/test_spell.vim,
3159 src/testdir/test_substitute.vim, src/testdir/test_syn_attr.vim,
3160 src/testdir/test_syntax.vim, src/testdir/test_taglist.vim,
3161 src/testdir/test_utf8.vim, src/testdir/test_vartabs.vim,
3162 src/testdir/test_window_cmd.vim
3163
3164Patch 8.2.0449
3165Problem: Vim9: crash if return type is invalid. (Yegappan Lakshmanan)
3166Solution: Always return some type, not NULL.
3167Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
3168
3169Patch 8.2.0450
3170Problem: Not enough testing for restricted mode and function calls.
3171Solution: Add more tests. (Yegappan Lakshmanan, closes #5847)
3172Files: src/testdir/test_method.vim, src/testdir/test_restricted.vim,
3173 src/testdir/test_vim9_script.vim
3174
3175Patch 8.2.0451
3176Problem: Win32: double-width character displayed incorrectly.
3177Solution: First move the cursor to the first column. (Nobuhiro Takasaki,
3178 closes #5848)
3179Files: src/os_win32.c
3180
3181Patch 8.2.0452
3182Problem: channel_parse_messages() fails when called recursively.
3183Solution: Return for a recursive call. (closes #5835)
3184Files: src/channel.c
3185
3186Patch 8.2.0453
3187Problem: Trailing space in job_start() command causes empty argument.
3188Solution: Ignore trailing space. (closes #5851)
3189Files: src/misc2.c, src/testdir/test_channel.vim
3190
3191Patch 8.2.0454
3192Problem: Some tests fail when the system is slow.
3193Solution: Make the run number global, use in the test to increase the
3194 waiting time. (closes #5841)
3195Files: src/testdir/runtest.vim, src/testdir/test_functions.vim
3196
3197Patch 8.2.0455
3198Problem: Cannot set the highlight group for a specific terminal.
3199Solution: Add the "highlight" option to term_start(). (closes #5818)
3200Files: src/terminal.c, src/structs.h, src/channel.c,
3201 src/testdir/test_terminal.vim, runtime/doc/terminal.txt,
3202 src/testdir/dumps/Test_terminal_popup_Terminal.dump,
3203 src/testdir/dumps/Test_terminal_popup_MyTermCol.dump
3204
3205Patch 8.2.0456
3206Problem: Test_confirm_cmd is flaky.
3207Solution: Add a term_wait() call. (closes #5854)
3208Files: src/testdir/test_excmd.vim
3209
3210Patch 8.2.0457
3211Problem: Test_quotestar() often fails when run under valgrind.
3212Solution: Wait longer for the GUI to start.
3213Files: src/testdir/test_quotestar.vim
3214
3215Patch 8.2.0458
3216Problem: Missing feature check in test function.
3217Solution: Add check commands.
3218Files: src/testdir/test_excmd.vim
3219
3220Patch 8.2.0459
3221Problem: Cannot check if a function name is correct.
3222Solution: Add "?funcname" to exists().
3223Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_exists.vim,
3224 src/testdir/check.vim
3225
3226Patch 8.2.0460 (after 8.2.0459)
3227Problem: Build failure because of wrong feature name.
3228Solution: Correct feature name.
3229Files: src/evalfunc.c
3230
3231Patch 8.2.0461
3232Problem: Confirm test fails on amd64 system. (Alimar Riesebieter)
3233Solution: Add an extra WaitForAssert(). (Dominique Pellé)
3234Files: src/testdir/test_excmd.vim
3235
3236Patch 8.2.0462
3237Problem: Previewwindow test fails on some systems. (James McCoy)
3238Solution: Wait a bit after sending the "o". (closes #5849)
3239Files: src/testdir/test_popup.vim,
3240 src/testdir/dumps/Test_popup_and_previewwindow_01.dump
3241
3242Patch 8.2.0463
3243Problem: Build error without float and channel feature. (John Marriott)
3244Solution: Define return types always.
3245Files: src/globals.h, src/evalfunc.c
3246
3247Patch 8.2.0464
3248Problem: Typos and other small problems.
3249Solution: Fix the typos. Add missing files to the distribution.
3250Files: Filelist, src/buffer.c, src/drawline.c, src/gui_gtk_x11.c,
3251 src/os_unixx.h, src/proto/popupwin.pro
3252
3253Patch 8.2.0465
3254Problem: Vim9: dead code and wrong return type.
3255Solution: Remove dead code. Fix return type. Add more tests.
3256Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
3257
3258Patch 8.2.0466 (after 8.2.0452)
3259Problem: Not parsing messages recursively breaks the govim plugin.
3260Solution: When called recursively do handle messages but do not close
3261 channels.
3262Files: src/channel.c
3263
3264Patch 8.2.0467
3265Problem: Vim9: some errors are not tested
3266Solution: Add more tests. Fix that Vim9 script flag is not reset.
3267Files: src/vim9compile.c, src/scriptfile.c, src/dict.c,
3268 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim
3269
3270Patch 8.2.0468
3271Problem: GUI: pixel dust with some fonts and characters.
3272Solution: Always redraw the character before the cursor. (Nir Lichtman,
3273 closes #5549, closes #5856)
3274Files: src/gui.c, src/proto/gui.pro, src/screen.c
3275
3276Patch 8.2.0469
3277Problem: Vim9: no error for missing ] after list.
3278Solution: Add error message. Add more tests.
3279Files: src/globals.h, src/list.c, src/userfunc.c,
3280 src/testdir/test_vim9_expr.vim, src/testdir/test_lambda.vim
3281
3282Patch 8.2.0470
3283Problem: Test_confirm_cmd_cancel() can fail on a slow system.
3284Solution: Use WaitForAssert(). (Ozaki Kiichi, closes #5861)
3285Files: src/testdir/test_excmd.vim
3286
3287Patch 8.2.0471
3288Problem: Missing change to compile_list().
3289Solution: Add error message.
3290Files: src/vim9compile.c
3291
3292Patch 8.2.0472
3293Problem: Terminal highlight name is set twice, leaking memory.
3294Solution: Delete one.
3295Files: src/terminal.c
3296
3297Patch 8.2.0473
3298Problem: Variables declared in an outer scope.
3299Solution: Declare variables only in the scope where they are used.
3300Files: src/evalvars.c
3301
3302Patch 8.2.0474 (after 8.2.0403)
3303Problem: Cannot use :write when using a plugin with BufWriteCmd.
3304Solution: Reset BF_NOTEDITED after BufWriteCmd. (closes #5807)
3305Files: src/fileio.c, src/testdir/test_autocmd.vim
3306
3307Patch 8.2.0475
3308Problem: Channel out_cb test still fails sometimes on Mac.
3309Solution: Use an even longer timeout.
3310Files: src/testdir/test_channel.vim
3311
3312Patch 8.2.0476
3313Problem: Terminal nasty callback test fails sometimes.
3314Solution: use term_wait() instead of a sleep. (Yee Cheng Chin, closes #5865)
3315Files: src/testdir/test_terminal.vim
3316
3317Patch 8.2.0477
3318Problem: Vim9: error messages not tested.
3319Solution: Add more tests.
3320Files: src/testdir/test_vim9_expr.vim, src/vim9execute.c
3321
3322Patch 8.2.0478
3323Problem: New buffers are not added to the Buffers menu.
3324Solution: Turn number into string. (Yee Cheng Chin, closes #5864)
3325Files: runtime/menu.vim, src/testdir/test_menu.vim
3326
3327Patch 8.2.0479
3328Problem: Unloading shared libraries on exit has no purpose.
3329Solution: Do not unload shared libraries on exit.
3330Files: src/if_lua.c, src/if_perl.xs, src/if_python.c, src/if_python3.c,
3331 src/if_ruby.c, src/if_tcl.c
3332
3333Patch 8.2.0480
3334Problem: Vim9: some code is not tested.
3335Solution: Add more tests.
3336Files: src/testdir/test_vim9_expr.vim, src/vim9compile.c
3337
3338Patch 8.2.0481
3339Problem: Travis is still using trusty.
3340Solution: Adjust config to use bionic. (Ozaki Kiichi, closes #5868)
3341Files: .travis.yml, src/testdir/lsan-suppress.txt
3342
3343Patch 8.2.0482
3344Problem: Channel and sandbox code not sufficiently tested.
3345Solution: Add more tests. (Yegappan Lakshmanan, closes #5855)
3346Files: src/option.h, src/testdir/test_channel.vim,
3347 src/testdir/test_clientserver.vim, src/testdir/test_cmdline.vim,
3348 src/testdir/test_edit.vim, src/testdir/test_excmd.vim,
3349 src/testdir/test_normal.vim, src/testdir/test_prompt_buffer.vim,
3350 src/testdir/test_restricted.vim, src/testdir/test_smartindent.vim,
3351 src/testdir/test_substitute.vim, src/testdir/test_terminal.vim,
3352 src/testdir/test_textformat.vim, src/testdir/test_visual.vim
3353
3354Patch 8.2.0483
3355Problem: Vim9: "let x = x + 1" does not give an error.
3356Solution: Hide the variable when compiling the expression.
3357Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
3358
3359Patch 8.2.0484
3360Problem: Vim9: some error messages not tested.
3361Solution: Add more tests.
3362Files: src/testdir/test_vim9_expr.vim
3363
3364Patch 8.2.0485 (after 8.2.0483)
3365Problem: Vim9 script test fails.
3366Solution: Stricter condition for adding new local variable.
3367Files: Stricter condition for adding new local variable.
3368
3369Patch 8.2.0486
3370Problem: Vim9: some code and error messages not tested.
3371Solution: Add more tests.
3372Files: src/vim9compile.c, src/evalvars.c, src/testdir/test_vim9_expr.vim,
3373 src/testdir/test_vim9_script.vim
3374
3375Patch 8.2.0487
3376Problem: Vim9: compiling not sufficiently tested.
3377Solution: Add more tests. Fix bug with PCALL.
3378Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
3379 src/testdir/test_vim9_script.vim,
3380 src/testdir/test_vim9_disassemble.vim
3381
3382Patch 8.2.0488
3383Problem: Vim9: Compiling can break when using a lambda inside :def.
3384Solution: Do not keep a pointer to the dfunc_T for longer time.
3385Files: src/vim9compile.c, src/vim9.h
3386
3387Patch 8.2.0489
3388Problem: Vim9: memory leaks.
3389Solution: Free memory in the right place. Add hints for using asan.
3390Files: src/vim9compile.c, src/testdir/lsan-suppress.txt, src/Makefile
3391
3392Patch 8.2.0490
3393Problem: Win32: VTP doesn't respect 'restorescreen'.
3394Solution: Use escape codes to switch to alternate screen. (Nobuhiro
3395 Takasaki, closes #5872)
3396Files: src/os_win32.c
3397
3398Patch 8.2.0491
3399Problem: Cannot recognize a <script> mapping using maparg().
3400Solution: Add the "script" key. (closes #5873)
3401Files: src/map.c, runtime/doc/eval.txt, src/testdir/test_maparg.vim
3402
3403Patch 8.2.0492
3404Problem: Vim9: some error messages not tested.
3405Solution: Add more tests. Remove dead code. Fix uncovered bugs.
3406Files: src/vim9compile.c, src/vim9execute.c,
3407 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim
3408
3409Patch 8.2.0493
3410Problem: Vim9: some error messages not tested.
3411Solution: Add more tests. Fix uncovered bugs.
3412Files: src/vim9compile.c, src/vim9execute.c, src/testing.c, src/eval.c,
3413 src/proto/testing.pro, src/evalfunc.c, runtime/doc/eval.txt,
3414 runtime/doc/testing.txt, src/testdir/test_vim9_script.vim
3415
3416Patch 8.2.0494
3417Problem: Vim9: asan error.
3418Solution: Only get the type when there is one.
3419Files: src/vim9compile.c
3420
3421Patch 8.2.0495
3422Problem: Vim9: some code not tested.
3423Solution: Add more tests. Support more const expressions.
3424Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
3425
3426Patch 8.2.0496
3427Problem: Vim9: disassemble test fails.
3428Solution: Separate test cases with recognized constant expressions.
3429Files: src/testdir/test_vim9_disassemble.vim
3430
3431Patch 8.2.0497
3432Problem: Too verbose output from the asan build in Travis.
3433Solution: Filter out suppression messages. (Ozaki Kiichi, closes #5874)
3434Files: .travis.yml
3435
3436Patch 8.2.0498
3437Problem: Coverity complains about uninitialized field.
3438Solution: Initialize the whole typval_T.
3439Files: src/vim9compile.c
3440
3441Patch 8.2.0499
3442Problem: Calling a lambda is slower than evaluating a string.
3443Solution: Make calling a lambda faster. (Ken Takata, closes #5727)
3444Files: src/userfunc.c
3445
3446Patch 8.2.0500
3447Problem: Using the same loop in many places.
3448Solution: Define more FOR_ALL macros. (Yegappan Lakshmanan, closes #5339)
3449Files: src/arglist.c, src/autocmd.c, src/buffer.c, src/change.c,
3450 src/channel.c, src/cmdexpand.c, src/diff.c, src/eval.c,
3451 src/evalbuffer.c, src/evalfunc.c, src/evalvars.c,
3452 src/evalwindow.c, src/ex_cmds2.c, src/filepath.c, src/globals.h,
3453 src/gui.c, src/if_py_both.h, src/if_ruby.c, src/insexpand.c,
3454 src/list.c, src/misc2.c, src/netbeans.c, src/popupwin.c,
3455 src/quickfix.c, src/screen.c, src/sign.c, src/spell.c,
3456 src/spellfile.c, src/spellsuggest.c, src/tag.c, src/terminal.c,
3457 src/userfunc.c, src/window.c
3458
3459Patch 8.2.0501
3460Problem: Vim9: script test fails when channel feature is missing.
3461Solution: Add a has() condition.
3462Files: src/testdir/test_vim9_script.vim
3463
3464Patch 8.2.0502
3465Problem: Vim9: some code is not tested.
3466Solution: Add more tests. Fix uncovered problems.
3467Files: src/vim9compile.c, src/regexp.c, src/proto/regexp.pro,
3468 src/cmdexpand.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_eval.c,
3469 src/ex_getln.c, src/highlight.c, src/search.c, src/syntax.c,
3470 src/tag.c, src/userfunc.c, src/testdir/test_vim9_script.vim,
3471 src/testdir/test_vim9_disassemble.vim
3472
3473Patch 8.2.0503
3474Problem: Vim9: some code is not tested.
3475Solution: Add tests. Fix uncovered problems.
3476Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
3477
3478Patch 8.2.0504
3479Problem: Vim9: leaking scope memory when compilation fails.
3480Solution: Cleanup the scope list.
3481Files: src/vim9compile.c
3482
3483Patch 8.2.0505
3484Problem: term_gettty() not sufficiently tested.
3485Solution: Add more asserts. (Dominique Pellé, closes #5877)
3486Files: src/testdir/test_terminal.vim
3487
3488Patch 8.2.0506
3489Problem: Coverity complains about ignoring return value.
3490Solution: Add (void).
3491Files: src/userfunc.c
3492
3493Patch 8.2.0507 (after 8.2.0472)
3494Problem: Getbufvar() may get the wrong dictionary. (David le Blanc)
3495Solution: Check for empty name. (closes #5878)
3496Files: src/evalvars.c, src/testdir/test_functions.vim
3497
3498Patch 8.2.0508
3499Problem: Vim9: func and partial types not done yet
3500Solution: Fill in details about func declaration, drop a separate partial
3501 declaration.
3502Files: runtime/doc/vim9.txt, src/vim9compile.c, src/globals.h,
3503 src/structs.h, src/evalfunc.c, src/testdir/test_vim9_expr.vim,
3504 src/testdir/test_vim9_script.vim,
3505 src/testdir/test_vim9_disassemble.vim
3506
3507Patch 8.2.0509
3508Problem: various code is not properly tested.
3509Solution: Add more tests. (Yegappan Lakshmanan, closes #5871)
3510Files: src/main.c, src/testdir/check.vim, src/testdir/shared.vim,
3511 src/testdir/term_util.vim, src/testdir/test_clientserver.vim,
3512 src/testdir/test_ex_mode.vim, src/testdir/test_expand.vim,
3513 src/testdir/test_functions.vim, src/testdir/test_options.vim,
3514 src/testdir/test_startup.vim, src/testdir/test_textformat.vim,
3515 src/testdir/test_trycatch.vim, src/testdir/test_viminfo.vim
3516
3517Patch 8.2.0510
3518Problem: Coverity complains about using uninitialized variable.
3519Solution: Assign a value to "scol". Move code inside NULL check.
3520Files: src/beval.c, src/popupwin.c
3521
3522Patch 8.2.0511
3523Problem: Cscope code not fully tested.
3524Solution: Add more test cases. (Dominique Pellé, closes #5886)
3525Files: src/testdir/test_cscope.vim
3526
3527Patch 8.2.0512
3528Problem: Vim9: no optional arguments in func type.
3529Solution: Check for question mark after type. Find function reference
3530 without function().
3531Files: src/vim9compile.c, src/vim9execute.c, src/structs.h,
3532 src/globals.h, src/vim.h, src/vim9.h, src/userfunc.c,
3533 src/testdir/Make_all.mak, src/testdir/test_vim9_script.vim,
3534 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
3535 src/testdir/test_vim9_disassemble.vim
3536
3537Patch 8.2.0513
3538Problem: Reading past allocated memory when using varargs.
3539Solution: Fix copying function argument types.
3540Files: src/vim9compile.c
3541
3542Patch 8.2.0514
3543Problem: Several global functions are used in only one file.
3544Solution: Make the functions static. (Yegappan Lakshmanan, closes #5884)
3545Files: src/drawscreen.c, src/evalvars.c, src/getchar.c, src/list.c,
3546 src/proto/drawscreen.pro, src/proto/evalvars.pro,
3547 src/proto/getchar.pro, src/proto/list.pro, src/proto/version.pro,
3548 src/version.c
3549
3550Patch 8.2.0515
3551Problem: Some compilers cannot add to "void *".
3552Solution: Cast to "char *".
3553Files: src/vim9compile.c
3554
3555Patch 8.2.0516
3556Problem: Client-server code is spread out.
3557Solution: Move client-server code to a new file. (Yegappan Lakshmanan,
3558 closes #5885)
3559Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
3560 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
3561 src/clientserver.c, src/evalfunc.c, src/main.c, src/proto.h,
3562 src/proto/clientserver.pro, src/proto/main.pro
3563
3564Patch 8.2.0517
3565Problem: Vim9: cannot separate "func" and "func(): void".
3566Solution: Use VAR_ANY for "any" and VAR_UNKNOWN for "no type".
3567Files: src/structs.h, src/globals.h, src/eval.c, src/evalfunc.c,
3568 src/evalvars.c, src/testing.c, src/vim9compile.c,
3569 src/vim9execute.c, src/viminfo.c, src/if_py_both.h, src/json.c,
3570 src/testdir/test_vim9_func.vim
3571
3572Patch 8.2.0518
3573Problem: A terminal falls back to setting $TERM to "xterm".
3574Solution: Use "xterm-color" if more than 16 colors are supported and
3575 "xterm-256color" if at least 256 colors are supported.
3576 (closes #5887)
3577Files: src/os_unix.c
3578
3579Patch 8.2.0519
3580Problem: Vim9: return type not properly checked.
3581Solution: Check type properly, also at runtime.
3582Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
3583
3584Patch 8.2.0520
3585Problem: Tests are not listed in sorted order.
3586Solution: Move test_ex_mode. (Doug Richardson, closes #5889)
3587Files: src/testdir/Make_all.mak
3588
3589Patch 8.2.0521
3590Problem: Crash when reading a blob fails.
3591Solution: Avoid keeping a pointer to a freed blob object. (Dominique Pellé,
3592 closes #5890) Adjust error messages.
3593Files: src/filepath.c, src/testdir/test_blob.vim
3594
3595Patch 8.2.0522
3596Problem: Several errors are not tested for.
3597Solution: Add tests. (Yegappan Lakshmanan, closes #5892)
3598Files: src/testdir/test_autocmd.vim, src/testdir/test_clientserver.vim,
3599 src/testdir/test_digraph.vim, src/testdir/test_expand.vim,
3600 src/testdir/test_expr.vim, src/testdir/test_functions.vim,
3601 src/testdir/test_gui.vim, src/testdir/test_highlight.vim,
3602 src/testdir/test_ins_complete.vim, src/testdir/test_lambda.vim,
3603 src/testdir/test_listdict.vim, src/testdir/test_normal.vim,
3604 src/testdir/test_options.vim, src/testdir/test_preview.vim,
3605 src/testdir/test_user_func.vim, src/testdir/test_vim9_func.vim,
3606 src/testdir/test_vim9_script.vim, src/testdir/test_viminfo.vim,
3607 src/testdir/test_vimscript.vim, src/testdir/test_window_cmd.vim
3608
3609Patch 8.2.0523
3610Problem: Loops are repeated.
3611Solution: Use FOR_ALL_ macros. (Yegappan Lakshmanan, closes #5882)
3612Files: src/buffer.c, src/drawscreen.c, src/evalfunc.c, src/evalwindow.c,
3613 src/globals.h, src/gui_athena.c, src/gui_gtk.c, src/gui_motif.c,
3614 src/gui_w32.c, src/list.c, src/menu.c, src/popupmenu.c,
3615 src/popupwin.c, src/quickfix.c, src/syntax.c, src/time.c,
3616 src/userfunc.c, src/vim9compile.c
3617
3618Patch 8.2.0524
3619Problem: Win32: searching for file matches is slow.
3620Solution: Instead of making another round to find any short filename, check
3621 for the short name right away. Avoid using an ordinary file like a
3622 directory. (Nir Lichtman, closes #5883)
3623Files: src/filepath.c
3624
3625Patch 8.2.0525 (after 8.2.0524)
3626Problem: Win32: typo in assignment and misplaced paren.
3627Solution: Fix the syntax.
3628Files: src/filepath.c
3629
3630Patch 8.2.0526
3631Problem: Gcc 9 complains about empty statement.
3632Solution: Add {}. (Dominique Pellé, closes #5894)
3633Files: src/evalfunc.c
3634
3635Patch 8.2.0527
3636Problem: Vim9: function types insufficiently tested.
3637Solution: Add more tests. Fix white space check. Add "test_vim9" target.
3638Files: src/vim9compile.c, src/testdir/test_vim9_func.vim, src/Makefile,
3639 src/testdir/Makefile, src/testdir/Make_all.mak
3640
3641Patch 8.2.0528
3642Problem: Vim9: function arguments insufficiently tested.
3643Solution: Check types. Add more tests. Fix function with varargs only.
3644Files: src/vim9compile.c, src/userfunc.c, src/testdir/test_vim9_func.vim
3645
3646Patch 8.2.0529
3647Problem: Vim9: function argument with default not checked.
3648Solution: Check type of argument with default value.
3649Files: src/vim9compile.c, src/userfunc.c, src/testdir/test_vim9_func.vim
3650
3651Patch 8.2.0530
3652Problem: Test crashes on s390. (James McCoy)
3653Solution: Explicitly define an 8 big signed type. (closes #5897)
3654Files: src/structs.h
3655
3656Patch 8.2.0531
3657Problem: Various errors not tested.
3658Solution: Add tests. (Yegappan Lakshmanan, closes #5895)
3659Files: src/testdir/test_search.vim, src/testdir/test_source.vim,
3660 src/testdir/test_syntax.vim, src/testdir/test_user_func.vim,
3661 src/testdir/test_vimscript.vim
3662
3663Patch 8.2.0532
3664Problem: Cannot use simplify() as a method.
3665Solution: Add FEARG_1. (closes #5896)
3666Files: runtime/doc/eval.txt, src/evalfunc.c,
3667 src/testdir/test_functions.vim
3668
3669Patch 8.2.0533
3670Problem: Tests using term_wait() can still be flaky.
3671Solution: Increase the wait time when rerunning a test. (James McCoy,
3672 closes #5899) Halve the initial times to make tests run faster
3673 when there is no rerun.
3674Files: src/testdir/term_util.vim, src/testdir/test_arglist.vim,
3675 src/testdir/test_autocmd.vim, src/testdir/test_balloon.vim,
3676 src/testdir/test_bufline.vim, src/testdir/test_channel.vim,
3677 src/testdir/test_cmdline.vim, src/testdir/test_conceal.vim,
3678 src/testdir/test_cursorline.vim, src/testdir/test_debugger.vim,
3679 src/testdir/test_diffmode.vim, src/testdir/test_display.vim,
3680 src/testdir/test_functions.vim, src/testdir/test_highlight.vim,
3681 src/testdir/test_ins_complete.vim, src/testdir/test_mapping.vim,
3682 src/testdir/test_match.vim, src/testdir/test_matchadd_conceal.vim,
3683 src/testdir/test_messages.vim, src/testdir/test_number.vim,
3684 src/testdir/test_popup.vim, src/testdir/test_popupwin.vim,
3685 src/testdir/test_profile.vim, src/testdir/test_search.vim,
3686 src/testdir/test_search_stat.vim, src/testdir/test_startup.vim,
3687 src/testdir/test_startup_utf8.vim,
3688 src/testdir/test_statusline.vim, src/testdir/test_suspend.vim,
3689 src/testdir/test_swap.vim, src/testdir/test_tagjump.vim,
3690 src/testdir/test_terminal.vim, src/testdir/test_terminal_fail.vim,
3691 src/testdir/test_timers.vim, src/testdir/test_vimscript.vim
3692
3693Patch 8.2.0534
3694Problem: Client-server test fails under valgrind.
3695Solution: Use WaitForAssert().
3696Files: src/testdir/test_clientserver.vim
3697
3698Patch 8.2.0535
3699Problem: Regexp patterns not fully tested.
3700Solution: Add more regexp tests and others. (Yegappan Lakshmanan,
3701 closes #5901)
3702Files: src/testdir/test_marks.vim, src/testdir/test_options.vim,
3703 src/testdir/test_regexp_latin.vim, src/testdir/test_search.vim
3704
3705Patch 8.2.0536
3706Problem: Vim9: some compilation code not tested.
3707Solution: Add more test cases.
3708Files: src/evalvars.c, src/proto/evalvars.pro, src/vim9compile.c,
3709 src/testdir/test_vim9_expr.vim
3710
3711Patch 8.2.0537
3712Problem: Vim9: no check for sandbox when setting v:var.
3713Solution: Check for sandbox.
3714Files: src/evalvars.c, src/testdir/test_vim9_script.vim
3715
3716Patch 8.2.0538
3717Problem: Vim9: VAR_PARTIAL is not used during compilation.
3718Solution: Remove VAR_PARTIAL.
3719Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c
3720
3721Patch 8.2.0539
3722Problem: Comparing two NULL list fails.
3723Solution: Change the order of comparing two lists.
3724Files: src/list.c, src/testdir/test_assert.vim
3725
3726Patch 8.2.0540
3727Problem: Regexp and other code not tested.
3728Solution: Add more tests. (Yegappan Lakshmanan, closes #5904)
3729Files: src/testdir/test_backspace_opt.vim, src/testdir/test_expr.vim,
3730 src/testdir/test_increment.vim, src/testdir/test_normal.vim,
3731 src/testdir/test_options.vim, src/testdir/test_regexp_latin.vim,
3732 src/testdir/test_search.vim, src/testdir/test_substitute.vim,
3733 src/testdir/test_terminal.vim, src/testdir/test_virtualedit.vim
3734
3735Patch 8.2.0541
3736Problem: Travis CI does not give compiler warnings.
3737Solution: Add flags for warnings. Fix uncovered problems. (Ozaki Kiichi,
3738 closes #5898)
3739Files: .travis.yml, ci/config.mk.clang.sed, ci/config.mk.gcc.sed,
3740 ci/config.mk.sed, src/if_perl.xs, src/if_ruby.c,
3741 src/libvterm/t/harness.c
3742
3743Patch 8.2.0542
3744Problem: No test for E386.
3745Solution: Add a test. (Dominique Pellé, closes #5911)
3746Files: src/testdir/test_search.vim
3747
3748Patch 8.2.0543
3749Problem: Vim9: function with varargs does not work properly.
3750Solution: Improve function type spec and add tests. Fix bugs.
3751Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9execute.c,
3752 src/structs.h, src/testdir/test_vim9_func.vim
3753
3754Patch 8.2.0544
3755Problem: Memory leak in search test.
3756Solution: Free msgbuf. (Dominique Pellé, closes #5912)
3757Files: src/search.c
3758
3759Patch 8.2.0545
3760Problem: Unused arguments ignored in non-standard way.
3761Solution: Add UNUSED instead of (void).
3762Files: src/libvterm/t/harness.c
3763
3764Patch 8.2.0546
3765Problem: Vim9: varargs implementation is inefficient.
3766Solution: Create list without moving the arguments.
3767Files: src/vim9compile.c, src/vim9execute.c
3768
3769Patch 8.2.0547
3770Problem: Win32: restoring screen not always done right.
3771Solution: Use a more appropriate method. (Nobuhiro Takasaki, closes #5909)
3772Files: src/os_win32.c
3773
3774Patch 8.2.0548
3775Problem: Vim9: not all possible func type errors tested.
3776Solution: Add more tests.
3777Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
3778
3779Patch 8.2.0549
3780Problem: User systemd files not recognized.
3781Solution: Add filetype patterns. (Kevin Locke, closes #5914)
3782Files: runtime/filetype.vim, src/testdir/test_filetype.vim
3783
3784Patch 8.2.0550
3785Problem: Some changes in the libvterm upstream code.
3786Solution: Include some changes.
3787Files: src/libvterm/t/harness.c
3788
3789Patch 8.2.0551
3790Problem: Not all code for options is tested.
3791Solution: Add more tests. (Yegappan Lakshmanan, closes #5913)
3792Files: src/testdir/test_options.vim, src/testdir/test_python3.vim,
3793 src/testdir/test_undo.vim, src/testdir/test_vimscript.vim
3794
3795Patch 8.2.0552
3796Problem: Vim9: some errors not covered by tests.
3797Solution: Add more tests. Check Funcref argument types.
3798Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
3799
3800Patch 8.2.0553 (after 8.2.0550)
3801Problem: Error for unused argument.
3802Solution: Add UNUSED.
3803Files: src/libvterm/t/harness.c
3804
3805Patch 8.2.0554
3806Problem: The GUI doesn't set t_Co.
3807Solution: In the GUI set t_Co to 256 * 256 * 256. (closes #5903)
3808Files: src/term.c, src/proto/term.pro, src/gui.c,
3809 src/testdir/test_gui.vim
3810
3811Patch 8.2.0555
3812Problem: Vim9: line continuation is not always needed.
3813Solution: Recognize continuation lines automatically in list and dict.
3814Files: runtime/doc/vim9.txt, src/vim9compile.c,
3815 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim
3816
3817Patch 8.2.0556
3818Problem: Vim9: memory leak when finding common type.
3819Solution: Store allocated memory in type growarray.
3820Files: src/vim9compile.c
3821
3822Patch 8.2.0557
3823Problem: No IPv6 support for channels.
3824Solution: Add IPv6 support. (Ozaki Kiichi, closes #5893)
3825Files: .travis.yml, runtime/doc/channel.txt, runtime/doc/various.txt,
3826 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/auto/configure,
3827 src/channel.c, src/config.h.in, src/configure.ac, src/evalfunc.c,
3828 src/proto/channel.pro, src/testdir/check.vim,
3829 src/testdir/runtest.vim, src/testdir/test_cdo.vim,
3830 src/testdir/test_channel.py, src/testdir/test_channel.vim,
3831 src/testdir/test_channel_6.py, src/testdir/test_escaped_glob.vim,
3832 src/testdir/test_getcwd.vim, src/testdir/test_hide.vim
3833
3834Patch 8.2.0558
3835Problem: Vim9: dict code not covered by tests.
3836Solution: Remove dead code, adjust test case.
3837Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
3838
3839Patch 8.2.0559
3840Problem: Clearing a struct is verbose.
3841Solution: Define and use CLEAR_FIELD() and CLEAR_POINTER().
3842Files: src/vim.h, src/blowfish.c, src/channel.c, src/charset.c,
3843 src/clipboard.c, src/diff.c, src/eval.c, src/evalfunc.c,
3844 src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c, src/findfile.c,
3845 src/gui_gtk_f.c, src/gui_mac.c, src/gui_motif.c, src/gui_w32.c,
3846 src/gui_x11.c, src/hardcopy.c, src/hashtab.c, src/highlight.c,
3847 src/if_mzsch.c, src/insexpand.c, src/kword_test.c, src/list.c,
3848 src/main.c, src/map.c, src/memfile.c, src/message_test.c,
3849 src/misc1.c, src/netbeans.c, src/normal.c, src/ops.c,
3850 src/option.c, src/os_mswin.c, src/os_win32.c, src/popupmenu.c,
3851 src/quickfix.c, src/regexp.c, src/regexp_bt.c, src/regexp_nfa.c,
3852 src/search.c, src/sign.c, src/spell.c, src/spellfile.c,
3853 src/spellsuggest.c, src/syntax.c, src/tag.c, src/terminal.c,
3854 src/time.c, src/undo.c, src/userfunc.c, src/vim9compile.c,
3855 src/vim9execute.c, src/if_py_both.h
3856
3857Patch 8.2.0560
3858Problem: Compiler warning in tiny build.
3859Solution: Move declaration inside #ifdef. (Dominique Pellé, closes #5915)
3860Files: src/ex_docmd.c
3861
3862Patch 8.2.0561
3863Problem: Vim9: cannot split function call in multiple lines.
3864Solution: Find more arguments in following lines.
3865Files: runtime/doc/vim9.txt, src/vim9compile.c,
3866 src/testdir/test_vim9_script.vim
3867
3868Patch 8.2.0562
3869Problem: Vim9: cannot split an expression into multiple lines.
3870Solution: Continue in next line after an operator.
3871Files: runtime/doc/vim9.txt, src/macros.h, src/vim9compile.c,
3872 src/testdir/test_vim9_expr.vim
3873
3874Patch 8.2.0563
3875Problem: Vim9: cannot split a function line.
3876Solution: Continue in next line so long as the function isn't done.
3877Files: runtime/doc/vim9.txt, src/userfunc.c, src/proto/userfunc.pro,
3878 src/vim9compile.c, src/testdir/test_vim9_func.vim
3879
3880Patch 8.2.0564
3881Problem: Vim9: calling a def function from non-vim9 may fail.
3882Solution: Convert varargs to a list.
3883Files: src/testdir/test_vim9_func.vim, src/vim9execute.c
3884
3885Patch 8.2.0565
3886Problem: Vim9: tests contain superfluous line continuation.
3887Solution: Remove line continuation no longer needed. Skip empty lines.
3888Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
3889 src/testdir/test_vim9_disassemble.vim
3890
3891Patch 8.2.0566
3892Problem: Vim9: variable can be used uninitialized.
3893Solution: Jump to after where variable is used.
3894Files: src/vim9execute.c
3895
3896Patch 8.2.0567
3897Problem: Vim9: cannot put comments halfway expressions.
3898Solution: Support # comments in many places.
3899Files: runtime/doc/vim9.txt, src/vim9compile.c, src/userfunc.c,
3900 src/ex_docmd.c, src/testdir/test_vim9_func.vim,
3901 src/testdir/test_vim9_script.vim
3902
3903Patch 8.2.0568
3904Problem: The man filetype plugin overwrites the unnamed register.
3905Solution: Use the black hole register. (Jason Franklin)
3906Files: runtime/ftplugin/man.vim, src/testdir/test_man.vim
3907
3908Patch 8.2.0569
3909Problem: Build failure with tiny version.
3910Solution: Add #ifdef.
3911Files: src/ex_docmd.c
3912
3913Patch 8.2.0570
3914Problem: Vim9: no error when omitting type from argument.
3915Solution: Enforce specifying argument types.
3916Files: src/userfunc.c, src/ex_eval.c, src/testdir/test_vim9_script.vim,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00003917 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_expr.vim,
Bram Moolenaarc51cf032022-02-26 12:25:45 +00003918 src/testdir/test_vim9_disassemble.vim
3919
3920Patch 8.2.0571
3921Problem: Double free when passing invalid argument to job_start().
3922Solution: Clear the argument when freed. (Masato Nishihata, closes #5926)
3923Files: src/misc2.c, src/testdir/test_channel.vim
3924
3925Patch 8.2.0572 (after 8.2.0571)
3926Problem: Using two lines for free and reset.
3927Solution: Use VIM_CLEAR() instead. (Yegappan Lakshmanan)
3928Files: src/misc2.c
3929
3930Patch 8.2.0573
3931Problem: using :version twice leaks memory
3932Solution: Only initialize variables once. (Dominique Pellé, closes #5917)
3933Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim,
3934 src/testdir/test_version.vim, src/version.c, src/globals.h
3935
3936Patch 8.2.0574
3937Problem: Ipv6 feature not shown in :version output.
3938Solution: Add ipv6 in :version output. (Ozaki Kiichi, closes #5924)
3939Files: runtime/doc/eval.txt, src/version.c
3940
3941Patch 8.2.0575
3942Problem: :digraph! not tested.
3943Solution: Add a test. (Dominique Pellé, closes #5925)
3944Files: src/testdir/test_digraph.vim
3945
3946Patch 8.2.0576
3947Problem: Some errors are not covered by tests.
3948Solution: Add a few more tests. (Dominique Pellé, closes #5920)
3949Files: src/testdir/test_buffer.vim, src/testdir/test_digraph.vim,
3950 src/testdir/test_expr.vim, src/testdir/test_messages.vim
3951
3952Patch 8.2.0577
3953Problem: Not all modifiers supported for :options.
3954Solution: Use all cmdmod.split flags. (closes #4401)
3955Files: src/usercmd.c, src/proto/usercmd.pro, src/scriptfile.c,
3956 src/testdir/test_options.vim, src/testdir/test_usercommands.vim
3957
3958Patch 8.2.0578
3959Problem: Heredoc for interfaces does not support "trim".
3960Solution: Update the script heredoc support to be same as the :let command.
3961 (Yegappan Lakshmanan, closes #5916)
3962Files: runtime/doc/if_lua.txt, runtime/doc/if_mzsch.txt,
3963 runtime/doc/if_perl.txt, runtime/doc/if_pyth.txt,
3964 runtime/doc/if_ruby.txt, runtime/doc/if_tcl.txt, src/evalvars.c,
3965 src/ex_getln.c, src/proto/evalvars.pro, src/testdir/test86.in,
3966 src/testdir/test87.in, src/testdir/test_lua.vim,
3967 src/testdir/test_perl.vim, src/testdir/test_python2.vim,
3968 src/testdir/test_python3.vim, src/testdir/test_pyx2.vim,
3969 src/testdir/test_pyx3.vim, src/testdir/test_ruby.vim,
3970 src/testdir/test_tcl.vim, src/userfunc.c, src/vim9compile.c
3971
3972Patch 8.2.0579
3973Problem: Coverity warns for unused value.
3974Solution: Change order and use "else if".
3975Files: src/os_unix.c
3976
3977Patch 8.2.0580
3978Problem: Window size wrong if 'ea' is off and 'splitright' is on and
3979 splitting then closing a window.
3980Solution: Put abandoned window space in the right place. (Mark Waggoner)
3981Files: src/testdir/test_winbuf_close.vim, src/window.c
3982
3983Patch 8.2.0581 (after 8.2.0547)
3984Problem: Win32 console: the cursor position is always top-left.
3985Solution: Revert the patch for restoring screen.
3986Files: src/os_win32.c
3987
3988Patch 8.2.0582
3989Problem: Color ramp test does not show text colors.
3990Solution: Add a row of 16 text colors and 16 bold text colors.
3991Files: src/testdir/color_ramp.vim
3992
3993Patch 8.2.0583
3994Problem: Vim9: # comment not recognized in :def function.
3995Solution: Recognize and skip # comment.
3996Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
3997
3998Patch 8.2.0584
3999Problem: Viminfo file uses obsolete function file_readable().
4000Solution: Use filereadable(). (closes #5934)
4001Files: src/session.c
4002
4003Patch 8.2.0585
4004Problem: Vim9: # comment not recognized after :vim9script.
4005Solution: Check script type. Make comment after ":echo" work. And in
4006 several other places.
4007Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/eval.c,
4008 src/vim9compile.c, src/testdir/test_vim9_script.vim
4009
4010Patch 8.2.0586
4011Problem: Vim9: # comment not sufficiently tested
4012Solution: Check for preceding white space.
4013Files: src/eval.c, src/testdir/test_vim9_script.vim
4014
4015Patch 8.2.0587
4016Problem: Compiler warning for unused variable.
4017Solution: Add UNUSED.
4018Files: src/ex_docmd.c
4019
4020Patch 8.2.0588
4021Problem: Putty does not use "sgr" 'ttymouse' by default.
4022Solution: Make "sgr" the default for Putty. (Christian Brabandt,
4023 closes #5942)
4024Files: src/term.c
4025
4026Patch 8.2.0589
4027Problem: .bsd file type not recognized.
4028Solution: Recognize .bsd as BSDL. (Daniel Kho, closes #5945)
4029Files: runtime/filetype.vim, src/testdir/test_filetype.vim
4030
4031Patch 8.2.0590
4032Problem: No 'backspace' value allows ignoring the insertion point.
4033Solution: Add the "nostop" and 3 values. (Christian Brabandt, closes #5940)
4034Files: runtime/doc/options.txt, src/edit.c, src/option.c, src/option.h,
4035 src/optionstr.c, src/testdir/gen_opt_test.vim,
4036 src/testdir/test_backspace_opt.vim
4037
4038Patch 8.2.0591
4039Problem: MS-Windows: should always support IPv6
4040Solution: Add build flag. (Ozaki Kiichi, closes #5944)
4041Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
4042
4043Patch 8.2.0592
4044Problem: MS-Windows with VTP: cursor is not made invisible.
4045Solution: Output the code to make the cursor visible or invisible. (Nobuhiro
4046 Takasaki, closes #5941)
4047Files: src/os_win32.c
4048
4049Patch 8.2.0593
4050Problem: Finding a user command is not optimal.
4051Solution: Start further down in the list of commands.
4052Files: src/ex_cmds.h, src/ex_docmd.c
4053
4054Patch 8.2.0594
4055Problem: MS-Windows: cannot build with WINVER set to 0x0501.
4056Solution: Only use inet_ntop() when available. (Ozaki Kiichi, closes #5946)
4057Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/auto/configure,
4058 src/channel.c, src/config.h.in, src/configure.ac
4059
4060Patch 8.2.0595
4061Problem: Vim9: not all commands using ends_excmd() tested.
4062Solution: Find # comment after regular commands. Add more tests. Report
4063 error for where it was caused.
4064Files: src/ex_docmd.c, src/vim9compile.c, src/vim9execute.c, src/usercmd.c,
4065 src/evalfunc.c, src/userfunc.c, src/proto/userfunc.pro,
4066 src/testdir/test_vim9_script.vim,
4067 src/testdir/test_vim9_disassemble.vim
4068
4069Patch 8.2.0596
4070Problem: Crash in test49.
4071Solution: Check the right pointer.
4072Files: src/userfunc.c, src/testdir/test_eval.ok
4073
4074Patch 8.2.0597
4075Problem: Test_eval is old style.
4076Solution: Change some tests to a new style test.
4077Files: src/testdir/test_eval.in, src/testdir/test_eval.ok,
4078 src/testdir/test_eval_stuff.vim
4079
4080Patch 8.2.0598
4081Problem: Test_eval_stuff fails in normal terminal.
4082Solution: Close the new window.
4083Files: src/testdir/test_eval_stuff.vim
4084
4085Patch 8.2.0599
4086Problem: Netbeans interface insufficiently tested.
4087Solution: Add more tests. (Yegappan Lakshmanan, closes #5921)
4088Files: runtime/doc/netbeans.txt, src/netbeans.c, src/os_win32.c,
4089 src/testdir/runtest.vim, src/testdir/test_netbeans.py,
4090 src/testdir/test_netbeans.vim
4091
4092Patch 8.2.0600
4093Problem: Vim9: cannot read or write w:, t: and b: variables.
4094Solution: Implement load and store for w:, t: and b: variables.
Bram Moolenaar47c532e2022-03-19 15:18:53 +00004095 (closes #5950)
Bram Moolenaarc51cf032022-02-26 12:25:45 +00004096Files: src/testdir/test_vim9_disassemble.vim,
4097 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim,
4098 src/vim9.h, src/vim9compile.c, src/vim9execute.c
4099
4100Patch 8.2.0601
4101Problem: Vim9: :unlet is not compiled.
4102Solution: Implement :unlet instruction and check for errors.
4103Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9.h,
4104 src/vim9execute.c, src/evalvars.c, src/proto/evalvars.pro,
4105 src/eval.c, src/testdir/test_vim9_script.vim,
4106 src/testdir/test_vim9_disassemble.vim
4107
4108Patch 8.2.0602
4109Problem: :unlet $VAR does not work properly.
4110Solution: Make ":lockvar $VAR" fail. Check the "skip" flag.
4111Files: src/evalvars.c, src/globals.h, src/testdir/test_vimscript.vim
4112
4113Patch 8.2.0603
4114Problem: Configure does not detect moonjit.
4115Solution: Add check for moonjit. (Shlomi Fish, closes #5947)
4116Files: src/configure.ac, src/auto/configure
4117
4118Patch 8.2.0604
4119Problem: :startinsert in a terminal window used later.
4120Solution: Ignore :startinsert in a terminal window. (closes #5952)
4121Files: src/ex_docmd.c, src/testdir/test_terminal.vim
4122
4123Patch 8.2.0605
4124Problem: Vim9: cannot unlet an environment variable.
4125Solution: Implement unlet for $VAR.
4126Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
4127 src/testdir/test_vim9_script.vim,
4128 src/testdir/test_vim9_disassemble.vim
4129
4130Patch 8.2.0606
4131Problem: Several syntax HL errors not checked.
4132Solution: Add tests. (Yegappan Lakshmanan, closes #5954)
4133Files: src/testdir/test_syntax.vim
4134
4135Patch 8.2.0607
4136Problem: Gcc warns for using uninitialized variable. (John Marriott)
4137Solution: Set name_end also for environment variables.
4138Files: src/evalvars.c
4139
4140Patch 8.2.0608
4141Problem: Warning from clang when building message test.
4142Solution: Use a void pointer. (Dominique Pellé, closes #5958)
4143Files: src/message_test.c
4144
4145Patch 8.2.0609
4146Problem: Configure does not detect moonjit correctly.
4147Solution: Double the brackets. (Ozaki Kiichi)
4148Files: src/configure.ac, src/auto/configure
4149
4150Patch 8.2.0610
4151Problem: Some tests are still old style.
4152Solution: Convert to new style tests. (Yegappan Lakshmanan, closes #5957)
4153Files: src/testdir/test_blob.vim, src/testdir/test_cursor_func.vim,
4154 src/testdir/test_eval.in, src/testdir/test_eval.ok,
4155 src/testdir/test_eval_func.vim, src/testdir/test_eval_stuff.vim,
4156 src/testdir/test_expr.vim, src/testdir/test_filter_map.vim,
4157 src/testdir/test_functions.vim, src/testdir/test_listdict.vim,
4158 src/testdir/test_sort.vim, src/testdir/test_syntax.vim,
4159 src/testdir/test_utf8.vim, src/testdir/test_vimscript.vim
4160
4161Patch 8.2.0611
4162Problem: Vim9: no check for space before #comment.
4163Solution: Add space checks.
4164Files: src/eval.c, src/evalvars.c, src/ex_docmd.c,
4165 src/testdir/test_vim9_script.vim
4166
4167Patch 8.2.0612
4168Problem: Vim9: no check for space before #comment.
4169Solution: Add space checks.
4170Files: src/ex_eval.c, src/ex_cmds.c, src/regexp.c, src/proto/regexp.pro,
4171 src/gui.c, src/highlight.c, src/testdir/test_vim9_script.vim,
4172 src/testdir/test_sort.vim
4173
4174Patch 8.2.0613
4175Problem: Vim9: no check for space before #comment.
4176Solution: Add space checks.
4177Files: src/highlight.c, src/menu.c, src/syntax.c,
4178 src/testdir/test_vim9_script.vim,
4179 runtime/lang/menu_de_de.latin1.vim
4180
4181Patch 8.2.0614
4182Problem: Get ml_get error when deleting a line in 'completefunc'. (Yegappan
4183 Lakshmanan)
4184Solution: Lock the text while evaluating 'completefunc'.
4185Files: src/insexpand.c, src/globals.h, src/edit.c, src/ex_getln.c,
4186 src/undo.c, src/testdir/test_edit.vim, src/testdir/test_excmd.vim,
4187 src/testdir/test_gf.vim, src/testdir/test_popup.vim,
4188 src/testdir/test_ex_mode.vim, runtime/doc/insert.txt
4189
4190Patch 8.2.0615
4191Problem: Regexp benchmark test is old style.
4192Solution: Make it a new style test. Fix using a NULL list. Add more tests.
4193 (Yegappan Lakshmanan, closes #5963)
4194Files: src/evalbuffer.c, src/testdir/Make_dos.mak,
4195 src/testdir/Make_ming.mak, src/testdir/Makefile,
4196 src/testdir/bench_re_freeze.in, src/testdir/bench_re_freeze.vim,
4197 src/testdir/test_autocmd.vim, src/testdir/test_bench_regexp.vim,
4198 src/testdir/test_blob.vim, src/testdir/test_bufline.vim,
4199 src/testdir/test_channel.vim, src/testdir/test_cmdline.vim,
4200 src/testdir/test_functions.vim, src/testdir/test_ins_complete.vim,
4201 src/testdir/test_popupwin.vim, src/testdir/test_prompt_buffer.vim,
4202 src/testdir/test_tagjump.vim, src/testdir/test_window_cmd.vim
4203
4204Patch 8.2.0616
4205Problem: Build error when disabling the diff feature.
4206Solution: Move parenthesis outside of #ifdef. (Tom Ryder)
4207Files: src/drawline.c
4208
4209Patch 8.2.0617
4210Problem: New error check triggers in Swedish menu.
4211Solution: Insert backslash. (Mats Tegner, closes #5966)
4212Files: runtime/lang/menu_sv_se.latin1.vim
4213
4214Patch 8.2.0618
4215Problem: Echoing a null list results in no output. (Yegappan Lakshmanan)
Bram Moolenaar47c532e2022-03-19 15:18:53 +00004216Solution: Return "[]" instead of NULL in echo_string_core().
Bram Moolenaarc51cf032022-02-26 12:25:45 +00004217Files: src/eval.c, src/testdir/test_messages.vim
4218
4219Patch 8.2.0619
4220Problem: Null dict is not handled like an empty dict.
4221Solution: Fix the code and add tests. (Yegappan Lakshmanan, closes #5968)
4222Files: src/dict.c, src/eval.c, src/testdir/test_blob.vim,
4223 src/testdir/test_expr.vim, src/testdir/test_filter_map.vim,
4224 src/testdir/test_let.vim, src/testdir/test_listdict.vim,
4225 src/testdir/test_search.vim, src/testdir/test_unlet.vim,
4226 src/testdir/test_usercommands.vim, src/testdir/test_vimscript.vim
4227
4228Patch 8.2.0620
4229Problem: Error in menu translations.
4230Solution: Insert a backslash before a space.
4231Files: runtime/lang/menu_it_it.latin1.vim,
4232 runtime/lang/menu_chinese_gb.936.vim
4233
4234Patch 8.2.0621
4235Problem: After running tests asan files may remain.
4236Solution: Clean up asan files with "make testclean".
4237Files: src/testdir/Makefile, src/Makefile
4238
4239Patch 8.2.0622
4240Problem: Haiku: GUI does not compile.
4241Solution: Various fixes. (Emir Sarı, closes #5961)
4242Files: Filelist, README.md, READMEdir/README_haiku.txt,
4243 runtime/doc/os_haiku.txt, src/Makefile, src/beval.h,
4244 src/gui_haiku.cc, src/proto/gui_haiku.pro
4245
4246Patch 8.2.0623
4247Problem: Typo in test comment. (Christ van Willegen)
4248Solution: Avoid mixing up a data structure with a body part.
4249Files: src/testdir/test_listdict.vim
4250
4251Patch 8.2.0624
4252Problem: Vim9: no check for space before #comment.
4253Solution: Add space checks. Fix :throw with double quoted string.
4254Files: src/usercmd.c, src/userfunc.c, src/vim9compile.c,
4255 src/testdir/test_vim9_script.vim
4256
4257Patch 8.2.0625
4258Problem: Vim9: confusing error when calling unknown function.
4259Solution: Give error while compiling.
4260Files: src/vim9compile.c, src/vim9execute.c,
4261 src/testdir/test_vim9_func.vim
4262
4263Patch 8.2.0626
4264Problem: Vim9: wrong syntax of function in Vim9 script.
4265Solution: Give error for missing space. Implement :echomsg and :echoerr.
4266 (closes #5670)
4267Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/userfunc.c,
4268 src/eval.c, src/globals.h, src/testdir/test_vim9_func.vim,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00004269 src/testdir/test_vim9_disassemble.vim,
Bram Moolenaarc51cf032022-02-26 12:25:45 +00004270 src/testdir/test_vim9_script.vim
4271
4272Patch 8.2.0627
4273Problem: Vim9: error message does not work. (Yegappan Lakshmanan)
4274Solution: Swap lines.
4275Files: src/userfunc.c
4276
4277Patch 8.2.0628
4278Problem: Error in menu translations.
4279Solution: Insert a backslash before a space in one more file. (Shun Bai,
4280 Emir Sarı)
4281Files: runtime/lang/menu_zh_cn.utf-8.vim,
4282 runtime/lang/menu_ca_es.latin1.vim,
4283 runtime/lang/menu_cs_cz.iso_8859-2.vim,
4284 runtime/lang/menu_cs_cz.utf-8.vim,
4285 runtime/lang/menu_czech_czech_republic.1250.vim,
4286 runtime/lang/menu_czech_czech_republic.ascii.vim,
4287 runtime/lang/menu_da.utf-8.vim,
4288 runtime/lang/menu_fi_fi.latin1.vim,
4289 runtime/lang/menu_hu_hu.iso_8859-2.vim,
4290 runtime/lang/menu_hu_hu.utf-8.vim,
4291 runtime/lang/menu_is_is.latin1.vim,
4292 runtime/lang/menu_no_no.latin1.vim, runtime/lang/menu_pt_br.vim,
4293 runtime/lang/menu_pt_pt.vim,
4294 runtime/lang/menu_sk_sk.iso_8859-2.vim,
4295 runtime/lang/menu_sl_si.latin2.vim,
4296 runtime/lang/menu_slovak_slovak_republic.1250.vim,
4297 runtime/lang/menu_tr_tr.cp1254.vim,
4298 runtime/lang/menu_tr_tr.iso_8859-9.vim,
4299 runtime/lang/menu_tr_tr.utf-8.vim, runtime/lang/menu_vi_vn.vim
4300
4301Patch 8.2.0629
4302Problem: Setting a boolean option to v:false does not work.
4303Solution: Do not use the string representation of the value. (Christian
4304 Brabandt, closes #5974)
4305Files: src/evalvars.c, src/testdir/test_options.vim
4306
4307Patch 8.2.0630
4308Problem: "make tags" does not cover Haiku GUI file.
4309Solution: Add *.cc files.
4310Files: src/Make_all.mak
4311
4312Patch 8.2.0631
4313Problem: Haiku file formatted with wrong tabstop.
4314Solution: Use normal tabstop. Fix white space.
4315Files: src/gui_haiku.cc
4316
4317Patch 8.2.0632
4318Problem: Crash when using Haiku.
4319Solution: Lock the screen. (closes #5975, closes #5973)
4320Files: src/screen.c
4321
4322Patch 8.2.0633
4323Problem: Crash when using null partial in filter().
4324Solution: Fix crash. Add more tests. (Yegappan Lakshmanan, closes #5976)
4325Files: src/eval.c, src/testdir/test_blob.vim,
4326 src/testdir/test_channel.vim, src/testdir/test_eval_stuff.vim,
4327 src/testdir/test_execute_func.vim, src/testdir/test_expr.vim,
4328 src/testdir/test_filter_map.vim, src/testdir/test_fold.vim,
4329 src/testdir/test_functions.vim, src/testdir/test_let.vim,
4330 src/testdir/test_listdict.vim, src/testdir/test_partial.vim,
4331 src/testdir/test_usercommands.vim
4332
4333Patch 8.2.0634
4334Problem: Crash with null partial and blob.
4335Solution: Check for NULL pointer. Add more tests. (Yegappan Lakshmanan,
4336 closes #5984)
4337Files: src/eval.c, src/list.c, src/testdir/test_blob.vim,
4338 src/testdir/test_bufwintabinfo.vim, src/testdir/test_cd.vim,
4339 src/testdir/test_channel.vim, src/testdir/test_cursor_func.vim,
4340 src/testdir/test_eval_stuff.vim, src/testdir/test_expr.vim,
4341 src/testdir/test_filter_map.vim, src/testdir/test_fnamemodify.vim,
4342 src/testdir/test_functions.vim, src/testdir/test_getvar.vim,
4343 src/testdir/test_listdict.vim, src/testdir/test_messages.vim,
4344 src/testdir/test_partial.vim, src/testdir/test_quickfix.vim,
4345 src/testdir/test_tabpage.vim, src/testdir/test_vimscript.vim,
4346 src/testdir/test_window_cmd.vim, src/testdir/test_window_id.vim,
4347 src/testdir/test_writefile.vim
4348
4349Patch 8.2.0635
4350Problem: When using 256 colors DarkYellow does not show expected color.
4351Solution: Use color 3 instead of 130. (Romain Lafourcade, closes #5985)
4352Files: src/highlight.c
4353
4354Patch 8.2.0636
4355Problem: :messages does not show the maintainer when $LANG is unset.
4356Solution: Call get_mess_lang() if available. (closes #5978)
4357Files: src/message.c
4358
4359Patch 8.2.0637
4360Problem: Incsearch highlighting does not work for ":sort!".
4361Solution: Skip over the exclamation point. (closes #5983)
4362Files: src/ex_getln.c, src/testdir/test_search.vim,
4363 src/testdir/dumps/Test_incsearch_sort_02.dump
4364
4365Patch 8.2.0638
4366Problem: MS-Windows: messages test fails.
4367Solution: Clear environment variables.
4368Files: src/testdir/test_messages.vim
4369
4370Patch 8.2.0639
4371Problem: MS-Windows: messages test still fails.
4372Solution: Filter out the maintainer message.
4373Files: src/testdir/test_messages.vim
4374
4375Patch 8.2.0640
4376Problem: Vim9: expanding `=expr` does not work.
4377Solution: Find wildcards in not compiled commands. Reorganize test files.
4378Files: Filelist, src/vim9.h, src/vim9compile.c, src/vim9execute.c,
4379 src/testdir/vim9.vim, src/testdir/test_vim9_cmd.vim,
4380 src/testdir/test_vim9_disassemble.vim,
4381 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim,
4382 src/testdir/Make_all.mak
4383
4384Patch 8.2.0641
4385Problem: Vim9: `=expr` not expanded in :hardcopy and "syntax include".
4386Solution: Add the EX_EXPAND flag. Expend "syntax include".
4387Files: src/ex_cmds.h, src/vim9compile.c, src/vim9execute.c,
4388 src/testdir/test_vim9_cmd.vim
4389
4390Patch 8.2.0642
4391Problem: Vim9: using invalid index.
4392Solution: Check index for being valid. Fix memory leak.
4393Files: src/vim9compile.c, src/clientserver.c
4394
4395Patch 8.2.0643 (after 8.2.0635)
4396Problem: Terminal uses brown instead of dark yellow. (Romain Lafourcade)
4397Solution: Use color index 3 instead of 130. (closes #5993)
4398Files: src/terminal.c
4399
4400Patch 8.2.0644
4401Problem: Insufficient testing for invalid function arguments.
4402Solution: Add more tests. (Yegappan Lakshmanan, closes #5988)
4403Files: runtime/doc/eval.txt, src/testdir/test_bufline.vim,
4404 src/testdir/test_channel.vim, src/testdir/test_clientserver.vim,
4405 src/testdir/test_expr.vim, src/testdir/test_functions.vim,
4406 src/testdir/test_listener.vim, src/testdir/test_match.vim,
4407 src/testdir/test_menu.vim, src/testdir/test_quickfix.vim,
4408 src/testdir/test_registers.vim, src/testdir/test_reltime.vim,
4409 src/testdir/test_terminal.vim, src/testdir/test_textprop.vim,
4410 src/testdir/test_window_cmd.vim, src/testdir/test_window_id.vim,
4411 src/testdir/test_writefile.vim
4412
4413Patch 8.2.0645
4414Problem: MS-Windows terminal: CTRL-C does not get to child job.
4415Solution: Remove CREATE_NEW_PROCESS_GROUP from CreateProcessW(). (Nobuhiro
4416 Takasaki, closes #5987)
4417Files: src/terminal.c
4418
4419Patch 8.2.0646
4420Problem: t_Co uses the value of $COLORS in the GUI. (Masato Nishihata)
4421Solution: Ignore $COLORS for the GUI. (closes #5992)
4422Files: src/os_unix.c, src/term.c
4423
4424Patch 8.2.0647
4425Problem: MS-Windows: repeat count for events was not used.
4426Solution: Check the repeat count. (Nobuhiro Takasaki, closes #5989)
4427Files: src/os_win32.c
4428
4429Patch 8.2.0648
4430Problem: Semicolon search does not work in first line.
4431Solution: Allow the cursor to be in line zero. (Christian Brabandt,
4432 closes #5996)
4433Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
4434
4435Patch 8.2.0649
4436Problem: Undo problem when an InsertLeave autocommand resets undo. (Kutsan
4437 Kaplan)
4438Solution: Do not create a new undo block when leaving Insert mode.
4439Files: src/edit.c, src/testdir/test_edit.vim
4440
4441Patch 8.2.0650
4442Problem: Vim9: script function can be deleted.
4443Solution: Disallow deleting script function. Delete functions when sourcing
4444 a script again.
4445Files: src/userfunc.c, src/proto/userfunc.pro, src/evalfunc.c,
4446 src/vim9compile.c, src/vim9execute.c, src/vim9script.c,
4447 src/scriptfile.c, src/testing.c, src/testdir/test_vim9_expr.vim,
4448 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
4449
4450Patch 8.2.0651
4451Problem: Old style benchmark test still in list of distributed files.
4452Solution: Remove the files from the list.
4453Files: Filelist
4454
4455Patch 8.2.0652 (after 8.2.0650)
4456Problem: Compiler warning for char conversion.
4457Solution: Use unsigned char buffer.
4458Files: src/userfunc.c
4459
4460Patch 8.2.0653 (after 8.2.0650)
4461Problem: using uninitialized pointer.
4462Solution: Move assignment up. (John Marriott)
4463Files: src/userfunc.c, src/testdir/test_vim9_script.vim
4464
4465Patch 8.2.0654
4466Problem: Building with Python fails.
4467Solution: Add missing argument.
4468Files: src/if_py_both.h
4469
4470Patch 8.2.0655
4471Problem: Search code not sufficiently tested.
4472Solution: Add more tests. (Yegappan Lakshmanan, closes #5999)
4473Files: src/testdir/test_charsearch.vim, src/testdir/test_gn.vim,
4474 src/testdir/test_goto.vim, src/testdir/test_ins_complete.vim,
4475 src/testdir/test_normal.vim, src/testdir/test_search.vim,
4476 src/testdir/test_textformat.vim, src/testdir/test_textobjects.vim,
4477 src/testdir/test_visual.vim
4478
4479Patch 8.2.0656
4480Problem: MS-Windows: redrawing right screen edge may not be needed.
4481Solution: Check the build version. (Nobuhiro Takasaki, closes #6002)
4482Files: src/drawscreen.c, src/os_win32.c, src/proto/os_win32.pro
4483
4484Patch 8.2.0657
4485Problem: Vim9: no check if called variable is a FuncRef.
4486Solution: Add a type check.
4487Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
4488 src/testdir/test_vim9_expr.vim
4489
4490Patch 8.2.0658 (after 8.2.0646)
4491Problem: HP-UX build fails when setenv() is not defined.
4492Solution: Change "colors" to "t_colors". (John Marriott)
4493Files: src/os_unix.c
4494
4495Patch 8.2.0659
4496Problem: Vim9: no test for equal func type.
4497Solution: Add a test. Improve type check.
4498Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
4499
4500Patch 8.2.0660
4501Problem: The search.c file is a bit big.
4502Solution: Split off the text object code to a separate file. (Yegappan
4503 Lakshmanan, closes #6007)
4504Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
4505 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
4506 src/proto.h, src/proto/search.pro, src/proto/textobject.pro,
4507 src/search.c, src/textobject.c
4508
4509Patch 8.2.0661
4510Problem: Eval test is still old style.
4511Solution: Change into new style tests. (Yegappan Lakshmanan, closes #6009)
4512Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
4513 src/testdir/test_eval.in, src/testdir/test_eval.ok,
4514 src/testdir/test_eval_stuff.vim
4515
4516Patch 8.2.0662
4517Problem: Cannot use input() in a channel callback.
4518Solution: Reset vgetc_busy. (closes #6010)
4519Files: src/globals.h, src/ex_getln.c, src/evalfunc.c,
4520 src/testdir/test_channel.vim
4521
4522Patch 8.2.0663
4523Problem: Not all systemd temp files are recognized.
4524Solution: Add two more patterns. (Jamie Macdonald, closes #6003)
4525Files: runtime/filetype.vim, src/testdir/test_filetype.vim
4526
4527Patch 8.2.0664
4528Problem: Included undesired changes in Makefile.
4529Solution: Revert the changes.
4530Files: src/Makefile
4531
4532Patch 8.2.0665
4533Problem: Wrongly assuming Python executable is called "python".
4534Solution: Use detected python command. (Ken Takata, closes #6016)
4535 Also use CheckFunction if possible.
4536Files: src/testdir/test_terminal.vim, src/testdir/check.vim
4537
4538Patch 8.2.0666
4539Problem: Ruby test fails on MS-Windows.
4540Solution: Remove the "maintainer" line. (Ken Takata, closes #6015)
4541Files: src/testdir/shared.vim, src/testdir/test_messages.vim,
4542 src/testdir/test_ruby.vim
4543
4544Patch 8.2.0667
4545Problem: Cannot install Haiku version from source.
4546Solution: Update Makefile and rdef file. (Emir Sarı, closes #6013)
4547Files: Filelist, READMEdir/README_haiku.txt, runtime/doc/os_haiku.txt,
4548 src/Makefile, src/os_haiku.rdef.in, src/os_haiku.rdef
4549
4550Patch 8.2.0668
4551Problem: Compiler warning for int/size_t usage.
4552Solution: Change "int" to "size_t". (Mike Williams)
4553Files: src/vim9execute.c
4554
4555Patch 8.2.0669
4556Problem: MS-Windows: display in VTP is a bit slow.
4557Solution: Optimize the code. (Nobuhiro Takasaki, closes #6014)
4558Files: src/os_win32.c, src/screen.c
4559
4560Patch 8.2.0670
4561Problem: Cannot change window when evaluating 'completefunc'.
4562Solution: Make a difference between not changing text or buffers and also
4563 not changing window.
4564Files: src/ex_getln.c, src/beval.c, src/change.c, src/edit.c, src/eval.c,
4565 src/ex_docmd.c, src/insexpand.c, src/globals.h, src/indent.c,
4566 src/map.c, src/window.c, src/proto/ex_getln.pro, src/register.c,
4567 src/undo.c, src/testdir/test_edit.vim,
4568 src/testdir/test_ins_complete.vim, src/testdir/test_popup.vim
4569
4570Patch 8.2.0671
4571Problem: Haiku: compiler warnings.
4572Solution: Avoid the warnings. Drop display_errors() copy. (Emir Sarı,
4573 closes #6018)
4574Files: .gitignore, src/gui.c, src/gui_haiku.cc
4575
4576Patch 8.2.0672
4577Problem: Heredoc in scripts does not accept lower case marker.
4578Solution: Allow lower case only in non-Vim scripts. (Ken Takata,
4579 closes #6019)
4580Files: src/evalvars.c, src/testdir/test_lua.vim,
4581 src/testdir/test_perl.vim, src/testdir/test_python2.vim,
4582 src/testdir/test_python3.vim, src/testdir/test_pyx2.vim,
4583 src/testdir/test_pyx3.vim, src/testdir/test_ruby.vim
4584
4585Patch 8.2.0673
4586Problem: Cannot build Haiku in shadow directory.
4587Solution: Add symlink. (Ozaki Kiichi, closes #6023)
4588Files: src/Makefile
4589
4590Patch 8.2.0674
4591Problem: Some source files are too big.
4592Solution: Move text formatting functions to a new file. (Yegappan
4593 Lakshmanan, closes #6021)
4594Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
4595 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
4596 src/edit.c, src/getchar.c, src/ops.c, src/option.c, src/proto.h,
4597 src/proto/edit.pro, src/proto/getchar.pro, src/proto/ops.pro,
4598 src/proto/option.pro, src/proto/textformat.pro, src/textformat.c
4599
4600Patch 8.2.0675
4601Problem: Vim9: no support for closures.
4602Solution: Do not re-use stack entries.
4603Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
4604 src/evalvars.c, src/proto/evalvars.pro
4605
4606Patch 8.2.0676
4607Problem: Pattern in list of distributed files does not match.
4608Solution: Drop "testdir/test_[a-z]*.ok". Add CI sed files.
4609Files: Filelist
4610
4611Patch 8.2.0677
4612Problem: Vim9: no support for closures.
4613Solution: Find variables in the outer function scope, so long as the scope
4614 exists.
4615Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
4616 src/vim9execute.c, src/structs.h, src/vim9.h,
4617 src/testdir/test_vim9_func.vim
4618
4619Patch 8.2.0678
4620Problem: Rare crash for popup menu.
4621Solution: Check for NULL pointer. (Nobuhiro Takasaki, closes #6027)
4622Files: src/popupmenu.c
4623
4624Patch 8.2.0679
4625Problem: Vim9: incomplete support for closures.
4626Solution: At the end of a function copy arguments and local variables if
4627 they are still used by a referenced closure.
4628Files: src/structs.h, src/vim9.h, src/vim9compile.c, src/vim9execute.c,
4629 src/testdir/test_vim9_func.vim
4630
4631Patch 8.2.0680
4632Problem: PTYGROUP and PTYMODE are unused.
4633Solution: Remove from autoconf. (closes #6024)
4634Files: src/configure.ac, src/auto/configure, src/config.h.in
4635
4636Patch 8.2.0681
4637Problem: Pattern for 'hlsearch' highlighting may leak. (Dominique Pellé)
4638Solution: Call end_search_hl() to make sure the previous pattern is freed.
4639 (closes #6028)
4640Files: src/screen.c
4641
4642Patch 8.2.0682
4643Problem: Vim9: parsing function argument type can get stuck.
4644Solution: Bail out when not making progress.
4645Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
4646
4647Patch 8.2.0683
4648Problem: Vim9: parsing type does not always work.
4649Solution: Handle func type without return value. Test more closures.
4650 Fix type check offset. Fix garbage collection.
4651Files: src/vim9compile.c, src/vim9execute.c, src/proto/vim9execute.pro,
4652 src/userfunc.c, src/testdir/test_vim9_func.vim
4653
4654Patch 8.2.0684
4655Problem: Vim9: memory leak when using lambda.
4656Solution: Move the funccal context to the partial. Free the function when
4657 exiting.
4658Files: src/vim9.h, src/structs.h, src/vim9execute.c, src/userfunc.c,
4659 src/eval.c, src/testdir/test_vim9_func.vim
4660
4661Patch 8.2.0685 (after 8.2.0684)
4662Problem: Build failure.
4663Solution: Include missing changes.
4664Files: src/vim9compile.c
4665
4666Patch 8.2.0686
4667Problem: Formatoptions not sufficiently tested.
4668Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6031)
4669Files: src/testdir/test_normal.vim, src/testdir/test_textformat.vim
4670
4671Patch 8.2.0687
4672Problem: Some tests do not work on FreeBSD.
4673Solution: Enable modeline. Use WaitFor() in more cases. (Ozaki Kiichi,
4674 closes #6036)
4675Files: src/testdir/test_quickfix.vim, src/testdir/test_terminal.vim
4676
4677Patch 8.2.0688
4678Problem: Output clobbered if setting 'verbose' to see shell commands.
4679Solution: Only output "Searching for" when 'verbose' is 11 or higher.
4680Files: src/scriptfile.c, runtime/doc/options.txt
4681
4682Patch 8.2.0689
4683Problem: When using getaddrinfo() the error message is unclear.
4684Solution: Use gai_strerror() to get the message. (Ozaki Kiichi,
4685 closes #6034)
4686Files: src/channel.c
4687
4688Patch 8.2.0690
4689Problem: Line number of option set by modeline is wrong.
4690Solution: Do not double the line number. (Ozaki Kiichi, closes #6035)
4691Files: src/option.c, src/testdir/test_modeline.vim
4692
4693Patch 8.2.0691
4694Problem: Startup test fails.
4695Solution: Adjust expected output from -V2 argument.
4696Files: src/testdir/test_startup.vim
4697
4698Patch 8.2.0692
4699Problem: Startup test fails on MS-Windows.
4700Solution: Allow for any path.
4701Files: src/testdir/test_startup.vim
4702
4703Patch 8.2.0693
4704Problem: Closure using argument not tested.
4705Solution: Add a test, make it work.
4706Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
4707
4708Patch 8.2.0694
4709Problem: Haiku: channel and terminal do not work.
4710Solution: Close files when the job has finished. (Ozaki Kiichi,
4711 closes #6039)
4712Files: src/channel.c, src/getchar.c, src/gui_haiku.cc, src/misc1.c
4713
4714Patch 8.2.0695
4715Problem: Vim9: cannot define a function inside a function.
4716Solution: Initial support for :def inside :def.
4717Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9compile.c,
4718 src/vim9execute.c, src/testdir/test_vim9_func.vim
4719
4720Patch 8.2.0696
4721Problem: Vim9: nested function does not work properly
4722Solution: Create a function reference. Check argument count.
4723Files: src/vim9compile.c, src/vim9execute.c,
4724 src/testdir/test_vim9_func.vim
4725
4726Patch 8.2.0697
4727Problem: Vim9: memory leak when using nested function.
4728Solution: Unreference function when deleting instructions. Adjust reference
4729 count for local variables.
4730Files: src/vim9compile.c, src/vim9execute.c
4731
4732Patch 8.2.0698
4733Problem: Insert mode completion not fully tested.
4734Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6041)
4735Files: src/testdir/test_edit.vim, src/testdir/test_ins_complete.vim,
4736 src/testdir/test_textformat.vim
4737
4738Patch 8.2.0699
4739Problem: Vim9: not all errors tested.
4740Solution: Add test for deleted function. Bail out on first error.
4741Files: src/vim9execute.c, src/testdir/test_vim9_func.vim,
4742 src/testdir/test_vim9_expr.vim, src/testdir/vim9.vim
4743
4744Patch 8.2.0700
4745Problem: Vim9: converting error message to exception not tested.
4746Solution: Test exception from error. Do not continue after :echoerr.
4747Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
4748
4749Patch 8.2.0701
4750Problem: Vim9 test fails without job feature.
4751Solution: Add feature check.
4752Files: src/testdir/test_vim9_script.vim
4753
4754Patch 8.2.0702
4755Problem: Running channel tests may leave running process behind.
4756Solution: Make Python client exit when running into EOF. (Kurtis Rader,
4757 part of #6046)
4758Files: src/testdir/test_channel_pipe.py
4759
4760Patch 8.2.0703
4761Problem: Vim9: closure cannot store value in outer context.
4762Solution: Make storing value in outer context work. Make :disassemble
4763 accept a function reference.
4764Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/eval.c,
4765 src/structs.h, src/testdir/test_vim9_disassemble.vim,
4766 src/testdir/test_vim9_func.vim
4767
4768Patch 8.2.0704
4769Problem: Vim9: memory leak in disassemble test.
4770Solution: Decrement refcount when creating funccal.
4771Files: src/vim9execute.c
4772
4773Patch 8.2.0705
4774Problem: Indent tests don't run on CI for FreeBSD.
4775Solution: Set modeline. (Ozaki Kiichi, closes #6048)
4776Files: .cirrus.yml, runtime/indent/testdir/runtest.vim
4777
4778Patch 8.2.0706
4779Problem: Vim9: using assert_fails() causes function to finish.
4780Solution: Check did_emsg instead of called_emsg.
4781Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim,
4782 src/testdir/test_vim9_script.vim
4783
4784Patch 8.2.0707
4785Problem: Vim9 function test fails.
4786Solution: Adjust expected error code.
4787Files: src/testdir/test_vim9_func.vim
4788
4789Patch 8.2.0708
4790Problem: Vim9: constant expressions are not simplified.
4791Solution: Simplify string concatenation.
4792Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim,
4793 src/testdir/test_vim9_expr.vim
4794
4795Patch 8.2.0709
4796Problem: MS-Windows: compiler warning for int vs size_t.
4797Solution: Add type cast. (Mike Williams)
4798Files: src/channel.c
4799
4800Patch 8.2.0710
4801Problem: Netbeans test sometimes fails.
4802Solution: Mark any test using an external command as flaky.
4803Files: src/testdir/shared.vim
4804
4805Patch 8.2.0711
4806Problem: With a long running Vim the temp directory might be cleared on
4807 some systems.
4808Solution: Lock the temp directory. (closes #6044)
4809Files: src/config.h.in, src/configure.ac, src/auto/configure,
4810 src/fileio.c, src/globals.h, src/os_unix.h
4811
4812Patch 8.2.0712
4813Problem: Various code not fully tested.
4814Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6049)
4815Files: src/testdir/test_functions.vim, src/testdir/test_options.vim,
4816 src/testdir/test_system.vim, src/testdir/test_termcodes.vim
4817
4818Patch 8.2.0713
4819Problem: The pam_environment file is not recognized.
4820Solution: Add a filetype pattern for pamenv. (closes #6051)
4821Files: runtime/filetype.vim, src/testdir/test_filetype.vim
4822
4823Patch 8.2.0714
4824Problem: Vim9: handling constant expression does not scale.
4825Solution: Use another solution, passing typval_T.
4826Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
4827
4828Patch 8.2.0715
4829Problem: Vim9: leaking memory.
4830Solution: Free strings after concatenating them.
4831Files: src/vim9compile.c
4832
4833Patch 8.2.0716
4834Problem: Vim9: another memory leak.
4835Solution: Clear typval when failing.
4836Files: src/vim9compile.c
4837
4838Patch 8.2.0717
4839Problem: Vim9: postponed constant expressions does not scale.
4840Solution: Add a structure to pass around postponed constants.
4841Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
4842
4843Patch 8.2.0718
4844Problem: Gcc warning for returning pointer to local variable. (John
4845 Marriott)
4846Solution: Return another pointer.
4847Files: src/evalvars.c
4848
4849Patch 8.2.0719
4850Problem: Vim9: more expressions can be evaluated at compile time
4851Solution: Recognize has('name').
4852Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim,
4853 src/testdir/test_vim9_expr.vim
4854
4855Patch 8.2.0720
4856Problem: Occasional exit when encountering an X error. (Manfred Lotz)
4857Solution: On an X error do not exit, do preserve files.
4858Files: src/os_unix.c
4859
4860Patch 8.2.0721
4861Problem: Vim9: leaking memory when skipping.
4862Solution: Disable skipping in generate_ppconst().
4863Files: src/vim9compile.c
4864
4865Patch 8.2.0722
4866Problem: Vim9: not handling constant expression for elseif.
4867Solution: Use postponed constants. Delete the code for evaluating a
4868 constant expression.
4869Files: src/vim9compile.c
4870
4871Patch 8.2.0723
4872Problem: Vim9: nested constant expression not evaluated compile time.
4873Solution: Use compile_expr1() for parenthesis.
4874Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
4875
4876Patch 8.2.0724
4877Problem: Vim9: appending to buffer/window/tab variable not tested
4878Solution: Add a test.
4879Files: src/testdir/test_vim9_script.vim
4880
4881Patch 8.2.0725
4882Problem: Vim9: cannot call a function declared later in Vim9 script.
4883Solution: Make two passes through the script file.
4884Files: src/scriptfile.c, src/proto/scriptfile.pro, src/vim9script.c,
4885 src/vim9compile.c, src/vim9execute.c, src/proto/vim9compile.pro,
4886 src/userfunc.c, src/proto/userfunc.pro, src/evalvars.c,
4887 src/proto/evalvars.pro, src/vim.h,
4888 src/testdir/test_vim9_disassemble.vim
4889
4890Patch 8.2.0726
4891Problem: Vim9: leaking memory when calling not compiled :def function.
4892Solution: Check if function is compiled earlier.
4893Files: src/vim9execute.c
4894
4895Patch 8.2.0727
4896Problem: MS-Windows: new gcc compiler does not support scanf format.
4897Solution: Use "%ll" instead of "%I". (Ken Takata)
4898Files: src/vim.h
4899
4900Patch 8.2.0728
4901Problem: Messages about a deadly signal are not left aligned.
4902Solution: Output a CR before the NL. (Dominique Pellé, #6055)
4903Files: src/misc1.c, src/os_unix.c
4904
4905Patch 8.2.0729
4906Problem: Vim9: When reloading a script variables are not cleared.
4907Solution: When sourcing a script again clear all script-local variables.
4908Files: src/dict.c, src/proto/dict.pro, src/scriptfile.c,
4909 src/testdir/test_vim9_script.vim
4910
4911Patch 8.2.0730
4912Problem: Vim9: Assignment to dict member does not work.
4913Solution: Parse dict assignment. Implement getting dict member.
4914Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/globals.h,
4915 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_cmd.vim,
4916 src/testdir/test_vim9_script.vim
4917
4918Patch 8.2.0731
4919Problem: Vim9: parsing declarations continues after :finish.
4920Solution: Bail out when encountering :finish.
4921Files: src/vim9script.c, src/testdir/test_vim9_script.vim
4922
4923Patch 8.2.0732
4924Problem: Vim9: storing value in dict messes up stack.
4925Solution: Correct item count of stack.
4926Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
4927
4928Patch 8.2.0733
4929Problem: Vim9: assigning to dict or list argument does not work.
4930Solution: Recognize an argument as assignment target.
4931Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
4932
4933Patch 8.2.0734
4934Problem: Vim9: leaking memory when using :finish.
4935Solution: Do not check for next line in third pass.
4936Files: src/scriptfile.c
4937
4938Patch 8.2.0735
4939Problem: Vim9: using uninitialized memory.
4940Solution: Clear the arg_lvar field.
4941Files: src/vim9compile.c
4942
4943Patch 8.2.0736
4944Problem: Some files not recognized as pamenv.
4945Solution: Add pam_inv.conf. (closes #6065)
4946Files: runtime/filetype.vim, src/testdir/test_filetype.vim
4947
4948Patch 8.2.0737
4949Problem: When shell doesn't support CTRL-Z Vim still handles it.
4950Solution: Ignore the STOP signal if it was ignored on startup.
4951 (Kurtis Rader, closes #5990, closes #6058)
4952Files: src/os_unix.c
4953
4954Patch 8.2.0738
4955Problem: Mouse handling in a terminal window not well tested.
4956Solution: Add tests. (Yegappan Lakshmanan, closes #6052)
4957Files: src/testdir/term_util.vim, src/testdir/test_gui.vim,
4958 src/testdir/test_modeless.vim, src/testdir/test_terminal.vim
4959
4960Patch 8.2.0739
4961Problem: Incomplete profiling when exiting because of a deadly signal.
4962Solution: Call __gcov_flush() if available.
4963Files: src/os_unix.c, src/Makefile, .travis.yml
4964
4965Patch 8.2.0740
4966Problem: Minor message mistakes.
4967Solution: Change vim to Vim and other fixes.
4968Files: src/if_py_both.h, src/if_tcl.c, src/main.c
4969
4970Patch 8.2.0741
4971Problem: Python tests fail because of changed message.
4972Solution: Adjust the expected messages (Dominique Pellé, closes #6066)
4973Files: src/testdir/test86.ok, src/testdir/test87.ok
4974
4975Patch 8.2.0742
4976Problem: Handling of a TERM signal not tested.
4977Solution: Add a test for SIGTERM. (Dominique Pellé, closes #6055)
4978Files: src/testdir/test_signals.vim
4979
4980Patch 8.2.0743
4981Problem: Can move to another buffer from a terminal in popup window.
4982Solution: Do not allow "gf" or editing a file. (closes #6072)
4983Files: src/normal.c, src/ex_cmds.c, src/testdir/test_popupwin.vim
4984
4985Patch 8.2.0744
4986Problem: The name vim is not capitalized in a message.
4987Solution: Use "Vim" instead of "vim".
4988Files: src/main.c
4989
4990Patch 8.2.0745
4991Problem: Crash on exit when not all popups are closed.
4992Solution: Close popups when freeing all memory. Disable checking for popup
4993 when editing a file for now.
4994Files: src/misc2.c, src/ex_cmds.c
4995
4996Patch 8.2.0746
4997Problem: popup_clear() hangs when a popup can't be closed.
4998Solution: Bail out when a popup can't be closed.
4999Files: src/popupwin.c, src/proto/popupwin.pro
5000
5001Patch 8.2.0747
5002Problem: Cannot forcefully close all popups.
5003Solution: Add the "force" argument to popup_clear(). Use it after running a
5004 test. Put back the check for a popup when editing a file.
5005Files: runtime/doc/popup.txt, src/evalfunc.c, src/popupwin.c,
5006 src/proto/popupwin.pro, src/tag.c, src/window.c, src/misc2.c,
5007 src/ex_cmds.c, src/channel.c, src/testdir/runtest.vim,
5008 src/testdir/test_terminal.vim
5009
5010Patch 8.2.0748
5011Problem: Cannot get a list of all popups.
5012Solution: Add popup_list(). Use it in the test runner.
5013Files: runtime/doc/eval.txt, runtime/doc/popup.txt, src/popupwin.c,
5014 src/proto/popupwin.pro, src/evalfunc.c,
5015 src/testdir/test_popupwin.vim, src/testdir/runtest.vim
5016
5017Patch 8.2.0749
5018Problem: TERM signal test fails on FreeBSD.
5019Solution: Do not check the messages, the may appear anywhere. (Dominique
5020 Pellé, closes #6075)
5021Files: src/testdir/test_signals.vim
5022
5023Patch 8.2.0750
5024Problem: Netbeans test is a bit flaky.
5025Solution: Allow for standard sign to be defined. Use WaitForAssert().
5026Files: src/testdir/test_netbeans.vim
5027
5028Patch 8.2.0751
5029Problem: Vim9: performance can be improved.
5030Solution: Don't call break. Inline check for list materialize. Make an
5031 inline version of ga_grow().
5032Files: src/macros.h, src/evalfunc.c, src/misc2.c,
5033 src/proto/misc2.pro, src/channel.c, src/eval.c, src/evalbuffer.c,
5034 src/evalvars.c, src/filepath.c, src/highlight.c, src/insexpand.c,
5035 src/json.c, src/list.c, src/popupmenu.c, src/popupwin.c,
5036 src/userfunc.c, src/if_py_both.h
5037
5038Patch 8.2.0752
5039Problem: Terminal in popup window test is a bit flaky.
5040Solution: Wait for shell job status to be "run". Mark as flaky test.
5041Files: src/testdir/test_popupwin.vim
5042
5043Patch 8.2.0753
5044Problem: Vim9: expressions are evaluated in the discovery phase.
5045Solution: Bail out if an expression is not a constant. Require a type for
5046 declared constants.
5047Files: src/vim.h, src/evalvars.c, src/eval.c, src/ex_eval.c,
5048 src/evalfunc.c, src/userfunc.c, src/dict.c, src/list.c,
5049 src/vim9compile.c, src/testdir/test_vim9_script.vim,
5050 src/testdir/test_vim9_disassemble.vim
5051
5052Patch 8.2.0754
5053Problem: Vim9: No test for forward declaration.
5054Solution: Add a test.
5055Files: src/testdir/test_vim9_script.vim
5056
5057Patch 8.2.0755
5058Problem: Vim9: No error when variable initializer is not a constant.
5059Solution: Return FAIL when trying to get a variable value. Do not execute a
5060 script when an error is detected in the first or second phase.
5061Files: src/eval.c, src/vim9script.c, src/testdir/test_vim9_script.vim
5062
5063Patch 8.2.0756 (after 8.2.0249)
5064Problem: MS-Windows: still a compiler warning.
5065Solution: Move flag to another place in the Makefile. (Ken Takata,
5066 closes #6083)
5067Files: src/Make_mvc.mak
5068
5069Patch 8.2.0757
5070Problem: Vim9: no test for MEMBER instruction.
5071Solution: Add a test. Make matches stricter.
5072Files: src/testdir/test_vim9_disassemble.vim
5073
5074Patch 8.2.0758
5075Problem: Vim9: no test for STORELIST and STOREDICT.
5076Solution: Add a test. Make matches stricter.
5077Files: src/testdir/test_vim9_disassemble.vim
5078
5079Patch 8.2.0759 (after 8.2.0751)
5080Problem: Vim9: missing changes for performance improvements
5081Solution: Use GA_GROW(). Don't call breakcheck so often.
5082Files: src/vim9execute.c
5083
5084Patch 8.2.0760
5085Problem: Vim9: dict member errors not tested.
5086Solution: Delete unreachable error. Add tests.
5087Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
5088
5089Patch 8.2.0761
5090Problem: Vim9: instructions not tested
5091Solution: Use a variable instead of a constant.
5092Files: src/testdir/test_vim9_expr.vim
5093
5094Patch 8.2.0762
5095Problem: Buffer is not considered modified after setting crypt key.
5096Solution: Set the modified flag. (Christian Brabandt, closes #6082)
5097Files: src/optionstr.c, src/testdir/test_crypt.vim
5098
5099Patch 8.2.0763
5100Problem: GUI test fails without the terminal feature.
5101Solution: Check the terminal feature is supported. (Ken Takata,
5102 closes #6084)
5103Files: src/testdir/test_gui.vim
5104
5105Patch 8.2.0764
5106Problem: Vim9: assigning to option not fully tested.
5107Solution: Add more test cases. Allow using any type for assignment.
5108Files: src/vim9compile.c, src/vim9execute.c,
5109 src/testdir/test_vim9_script.vim
5110
5111Patch 8.2.0765
5112Problem: In the GUI can't use all the modifiers. (Andri Möll)
5113Solution: Do not apply Alt/Meta early, do it later like with the terminal.
5114 Avoid the Motif test from crashing.
5115Files: src/gui_gtk_x11.c, src/gui_x11.c, src/gui_mac.c, src/gui_w32.c,
5116 src/gui_motif.c
5117
5118Patch 8.2.0766
5119Problem: Display error when using 'number' and 'breakindent'.
5120Solution: Adjust extra spaces in the first row. (Ken Takata, closes #6089,
5121 closes #5986)
5122Files: src/drawline.c, src/testdir/test_breakindent.vim
5123
5124Patch 8.2.0767
5125Problem: ModifyOtherKeys active when using a shell command in autocmd.
5126Solution: Output T_CTE when going to cooked mode. (closes 5617)
5127Files: src/term.c
5128
5129Patch 8.2.0768
5130Problem: Vim9: memory leak in script test.
5131Solution: Clear typval before giving an error message.
5132Files: src/vim9execute.c
5133
5134Patch 8.2.0769
5135Problem: VimLeavePre not triggered when Vim is terminated.
5136Solution: Unblock autocommands.
5137Files: src/main.c, src/testdir/test_signals.vim
5138
5139Patch 8.2.0770
5140Problem: Cannot map CTRL-B when using the GUI.
5141Solution: Reset the CTRL modifier when used. (closes #6092)
5142Files: src/gui_gtk_x11.c
5143
5144Patch 8.2.0771
5145Problem: Vim9: cannot call a compiled closure from not compiled code.
5146Solution: Pass funcexe to call_user_func().
5147Files: src/userfunc.c, src/vim9execute.c, src/proto/vim9execute.pro,
5148 src/eval.c, src/testdir/test_vim9_func.vim
5149
5150Patch 8.2.0772
5151Problem: Vim9: some variable initializations not tested.
5152Solution: Add a few more tests
5153Files: src/testdir/test_vim9_script.vim
5154
5155Patch 8.2.0773
5156Problem: Switching to raw mode every time ":" is used.
5157Solution: When executing a shell set cur_tmode to TMODE_UNKNOWN, so that the
5158 next time TMODE_RAW is used it is set, but not every time.
5159Files: src/term.h, src/os_unix.c, src/term.c, src/os_amiga.c,
5160 src/os_win32.c
5161
5162Patch 8.2.0774
5163Problem: t_TI and t_TE are output when using 'visualbell'. (Dominique
5164 Pellé)
5165Solution: Do not change the terminal mode for a short sleep. Do not output
5166 t_TI and t_TE when switching to/from TMODE_SLEEP. Make tmode an
5167 enum.
5168Files: src/os_unix.c, src/proto/os_unix.pro, src/os_amiga.c,
5169 src/proto/os_amiga.pro, src/os_mswin.c, src/proto/os_mswin.pro,
5170 src/os_vms.c, src/proto/os_vms.pro, src/os_win32.c,
5171 src/proto/os_win32.pro, src/term.c, src/term.h, src/globals.h
5172
5173Patch 8.2.0775
5174Problem: Not easy to call a Vim function from Lua.
5175Solution: Add vim.call() and vim.fn(). (Prabir Shrestha, closes #6063)
5176Files: runtime/doc/if_lua.txt, src/if_lua.c, src/testdir/test_lua.vim
5177
5178Patch 8.2.0776
5179Problem: Libvterm code lags behind the upstream version.
5180Solution: Include revision 719.
5181Files: Filelist, src/libvterm/README, src/libvterm/Makefile,
5182 src/libvterm/find-wide-chars.pl, src/libvterm/src/fullwidth.inc,
5183 src/libvterm/src/unicode.c
5184
5185Patch 8.2.0777 (after 8.2.0776)
5186Problem: Terminal test fails.
5187Solution: Adjust character position for double-wide characters.
5188Files: src/testdir/test_terminal.vim
5189
5190Patch 8.2.0778
5191Problem: Libvterm code lags behind the upstream version.
5192Solution: Include revisions 720 - 723.
5193Files: src/libvterm/t/10state_putglyph.test, src/libvterm/Makefile,
5194 src/libvterm/t/run-test.pl, src/libvterm/src/state.c,
5195 src/libvterm/t/92lp1805050.test
5196
5197Patch 8.2.0779
5198Problem: Tmode_T not used everywhere.
5199Solution: Also use tmode_T for settmode().
5200Files: src/term.c, src/proto/term.pro
5201
5202Patch 8.2.0780
5203Problem: Libvterm code lags behind the upstream version.
5204Solution: Include revisions 724 - 726.
5205Files: Filelist, src/libvterm/t/40screen_ascii.test,
5206 src/libvterm/t/60screen_ascii.test,
5207 src/libvterm/t/41screen_unicode.test,
5208 src/libvterm/t/61screen_unicode.test,
5209 src/libvterm/t/42screen_damage.test,
5210 src/libvterm/t/62screen_damage.test,
5211 src/libvterm/t/43screen_resize.test,
5212 src/libvterm/t/63screen_resize.test,
5213 src/libvterm/t/44screen_pen.test,
5214 src/libvterm/t/64screen_pen.test,
5215 src/libvterm/t/45screen_protect.test,
5216 src/libvterm/t/65screen_protect.test,
5217 src/libvterm/t/46screen_extent.test,
5218 src/libvterm/t/66screen_extent.test,
5219 src/libvterm/t/47screen_dbl_wh.test,
5220 src/libvterm/t/67screen_dbl_wh.test,
5221 src/libvterm/t/48screen_termprops.test,
5222 src/libvterm/t/68screen_termprops.test, src/libvterm/t/30pen.test,
5223 src/libvterm/t/30state_pen.test, src/libvterm/t/92lp1805050.test,
5224 src/libvterm/t/31state_rep.test, src/libvterm/doc/seqs.txt
5225
5226Patch 8.2.0781 (after 8.2.0775)
5227Problem: Compiler warning for not using value in Lua.
5228Solution: Add "(void)".
5229Files: src/if_lua.c
5230
5231Patch 8.2.0782
5232Problem: Cannot build with Lua on MS-Windows.
5233Solution: Add DLL symbol for luaL_Loadstring. (Ken Takata)
5234Files: src/if_lua.c
5235
5236Patch 8.2.0783
5237Problem: Libvterm code lags behind the upstream version.
5238Solution: Include revisions 728 - 729.
5239Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Makefile,
5240 src/libvterm/src/keyboard.c, src/libvterm/t/25state_input.test,
5241 src/libvterm/t/harness.c, src/libvterm/src/vterm.c,
5242 src/libvterm/src/vterm_internal.h,
5243 src/libvterm/t/26state_query.test
5244
5245Patch 8.2.0784
5246Problem: Libvterm code lags behind the upstream version.
5247Solution: Include revisions 730 - 733.
5248Files: src/libvterm/src/vterm.c, src/libvterm/src/state.c,
5249 src/libvterm/include/vterm.h, src/libvterm/src/vterm_internal.h,
5250 src/libvterm/t/harness.c
5251
5252Patch 8.2.0785
5253Problem: Libvterm code lags behind the upstream version.
5254Solution: Include revisions 734 - 740.
5255Files: src/libvterm/include/vterm.h, src/libvterm/src/pen.c,
5256 src/libvterm/src/vterm.c, src/libvterm/doc/seqs.txt,
5257 src/libvterm/t/30state_pen.test, src/libvterm/t/run-test.pl,
5258 src/libvterm/Makefile, src/libvterm/CONTRIBUTING
5259
5260Patch 8.2.0786
5261Problem: Channel test is flaky on FreeBSD.
5262Solution: Set the socket TCP_NODELAY option. Adjust expected line count in
5263 netbeans test. (Ozaki Kiichi, closes #6097)
5264Files: src/testdir/test_channel.py, src/testdir/test_netbeans.vim
5265
5266Patch 8.2.0787
5267Problem: Libvterm code lags behind the upstream version.
5268Solution: Include revisions 741 - 742.
5269Files: Filelist, src/libvterm/src/screen.c
5270
5271Patch 8.2.0788
5272Problem: Memory leak in libvterm.
5273Solution: free tmpbuffer.
5274Files: src/libvterm/src/vterm.c
5275
5276Patch 8.2.0789
5277Problem: Vim9: expression testing lost coverage using constants.
5278Solution: Use a few variables instead of constants.
5279Files: src/testdir/test_vim9_expr.vim
5280
5281Patch 8.2.0790
5282Problem: Vim9: list index not well tested.
5283Solution: Add a few more tests.
5284Files: src/testdir/test_vim9_script.vim
5285
5286Patch 8.2.0791
5287Problem: A second popup window with terminal causes trouble.
5288Solution: Disallow opening a second terminal-popup window. (closes #6101,
5289 closes #6103) Avoid defaulting to an invalid line number.
5290Files: runtime/doc/popup.txt, src/popupwin.c, src/ex_docmd.c,
5291 src/testdir/test_popupwin.vim, src/testdir/test_terminal.vim
5292
5293Patch 8.2.0792
5294Problem: Build failure with small features.
5295Solution: Add #ifdef.
5296Files: src/popupwin.c
5297
5298Patch 8.2.0793
5299Problem: MS-Windows: cannot build GUI with small features. (Michael Soyka)
5300Solution: Add #ifdef around use of windowsVersion. (Ken Takata)
5301Files: src/os_win32.c
5302
5303Patch 8.2.0794
5304Problem: Libvterm code lags behind the upstream version.
5305Solution: Include revisions 743 - 747.
5306Files: src/libvterm/src/state.c, src/libvterm/src/screen.c,
5307 src/libvterm/src/vterm_internal.h, src/libvterm/include/vterm.h,
5308 src/libvterm/t/67screen_dbl_wh.test, src/libvterm/t/run-test.pl
5309
5310Patch 8.2.0795
5311Problem: Libvterm code lags behind the upstream version.
5312Solution: Include revisions 748 - 754.
5313Files: src/libvterm/include/vterm.h, src/libvterm/src/screen.c,
5314 src/libvterm/src/state.c, src/libvterm/t/32state_flow.test,
5315 src/libvterm/t/60screen_ascii.test,
5316 src/libvterm/t/62screen_damage.test,
5317 src/libvterm/t/63screen_resize.test, src/libvterm/t/harness.c,
5318 src/libvterm/t/run-test.pl
5319
5320Patch 8.2.0796
5321Problem: MS-Windows: compiler can't handle C99 construct in libvterm.
5322Solution: Change to C90 construct.
5323Files: src/libvterm/src/state.c
5324
5325Patch 8.2.0797
5326Problem: MS-Windows: compiler still can't handle C99 construct.
5327Solution: Change to C90 construct. (Dominique Pellé, closes #6106)
5328Files: src/libvterm/src/state.c
5329
5330Patch 8.2.0798
5331Problem: Libvterm code lags behind the upstream version.
5332Solution: Include revisions 755 - 758.
5333Files: src/libvterm/t/run-test.pl, src/libvterm/src/screen.c,
5334 src/libvterm/t/harness.c, src/libvterm/include/vterm.h,
5335 src/libvterm/src/parser.c, src/libvterm/src/state.c,
5336 src/libvterm/src/vterm.c, src/libvterm/src/vterm_internal.h,
5337 src/libvterm/t/02parser.test,
5338 src/libvterm/t/18state_termprops.test,
5339 src/libvterm/t/29state_fallback.test,
5340 src/libvterm/t/68screen_termprops.test, src/terminal.c
5341
5342Patch 8.2.0799
5343Problem: Build fails if snprintf is not available.
5344Solution: Use vim_snprintf().
5345Files: src/libvterm/src/state.c
5346
5347Patch 8.2.0800
5348Problem: Errors from failing test are unclear.
5349Solution: Include text where parsing failed.
5350Files: src/json.c, src/testdir/test_json.vim
5351
5352Patch 8.2.0801
5353Problem: Terminal test fails on Mac.
5354Solution: Concatenate OSC pieces.
5355Files: src/terminal.c
5356
5357Patch 8.2.0802
5358Problem: Libvterm code lags behind the upstream version.
5359Solution: Include revisions 759 - 762.
5360Files: src/terminal.c, src/libvterm/doc/seqs.txt,
5361 src/libvterm/include/vterm.h, src/libvterm/src/pen.c,
5362 src/libvterm/src/screen.c, src/libvterm/src/state.c,
5363 src/libvterm/src/vterm.c, src/libvterm/src/vterm_internal.h,
5364 src/libvterm/t/harness.c, src/libvterm/t/12state_scroll.test
5365
5366Patch 8.2.0803
5367Problem: Libvterm code lags behind the upstream version.
5368Solution: Include revisions 764 - 767
5369Files: src/Makefile, src/libvterm/src/parser.c,
5370 src/libvterm/src/vterm_internal.h, src/libvterm/t/02parser.test,
5371 src/libvterm/t/run-test.pl, src/libvterm/find-wide-chars.pl,
5372 src/libvterm/src/fullwidth.inc
5373
5374Patch 8.2.0804
5375Problem: Libvterm code lags behind the upstream version.
5376Solution: Include revision 727, but add the index instead of switching
5377 between RGB and indexed.
5378Files: src/terminal.c, src/term.c, src/libvterm/include/vterm.h,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00005379 src/libvterm/src/pen.c, src/libvterm/src/screen.c,
5380 src/libvterm/src/vterm_internal.h,
5381 src/libvterm/t/30state_pen.test,
Bram Moolenaarc51cf032022-02-26 12:25:45 +00005382 src/libvterm/t/harness.c, src/libvterm/src/state.c,
5383 src/libvterm/t/26state_query.test,
5384 src/libvterm/t/64screen_pen.test
5385
5386Patch 8.2.0805
5387Problem: Terminal key codes test fails on some systems.
5388Solution: Skip keypad 3 and 9. (Yegappan Lakshmanan, closes #6070)
5389Files: src/testdir/test_terminal.vim
5390
5391Patch 8.2.0806
5392Problem: using "func!" after vim9script gives confusing error.
5393Solution: Give E477. (closes #6107)
5394Files: src/vim9script.c, src/testdir/test_vim9_script.vim
5395
5396Patch 8.2.0807
5397Problem: Cannot easily restore a mapping.
5398Solution: Add mapset().
5399Files: runtime/doc/eval.txt, src/map.c, src/proto/map.pro, src/evalfunc.c
5400 src/testdir/test_maparg.vim
5401
5402Patch 8.2.0808
5403Problem: Not enough testing for the terminal window.
5404Solution: Add more tests. (Yegappan Lakshmanan, closes #6069) Fix memory
5405 leak.
5406Files: src/testdir/test_gui.vim, src/testdir/test_terminal.vim,
5407 src/terminal.c
5408
5409Patch 8.2.0809
5410Problem: Build failure with small features. (Tony Mechelynck)
5411Solution: Move "expr" inside #ifdef.
5412Files: src/map.c
5413
5414Patch 8.2.0810
5415Problem: Error when appending "tagfile" to 'wildoptions'.
5416Solution: use flags P_ONECOMMA and P_NODUP. (Dmitri Vereshchagin,
5417 closes #6105)
5418Files: src/optiondefs.h, src/testdir/test_options.vim
5419
5420Patch 8.2.0811
5421Problem: Terminal keycode test is flaky.
5422Solution: Use WaitForAssert()
5423Files: src/testdir/test_terminal.vim
5424
5425Patch 8.2.0812
5426Problem: mapset() does not properly handle <> notation.
5427Solution: Convert <> codes. (closes #6116)
5428Files: src/map.c, src/testdir/test_maparg.vim
5429
5430Patch 8.2.0813
5431Problem: libvterm code is slightly different from upstream.
5432Solution: Use upstream text to avoid future merge problems. Mainly comment
5433 style changes.
5434Files: src/libvterm/include/vterm.h, src/libvterm/src/rect.h,
5435 src/libvterm/src/utf8.h, src/libvterm/src/vterm_internal.h,
5436 src/libvterm/src/encoding.c, src/libvterm/src/keyboard.c,
5437 src/libvterm/src/mouse.c, src/libvterm/src/parser.c,
5438 src/libvterm/src/pen.c, src/libvterm/src/screen.c,
5439 src/libvterm/src/state.c, src/libvterm/src/unicode.c,
5440 src/libvterm/src/vterm.c
5441
5442Patch 8.2.0814
5443Problem: Clang warning for implicit conversion.
5444Solution: Add type cast. (Dominique Pellé, closes #6124)
5445Files: src/evalfunc.c
5446
5447Patch 8.2.0815
5448Problem: maparg() does not provide enough information for mapset().
5449Solution: Add "lhsraw" and "lhsrawalt" items. Drop "simplified"
5450Files: src/map.c, runtime/doc/eval.txt, src/testdir/test_maparg.vim
5451
5452Patch 8.2.0816
5453Problem: Terminal test fails when compiled with Athena.
5454Solution: Do give an error when the GUI is not running. (hint by Dominique
5455 Pellé, closes #5928, closes #6132)
5456Files: src/globals.h, src/gui.c, src/term.c, src/channel.c,
5457 src/testdir/test_terminal.vim
5458
5459Patch 8.2.0817
5460Problem: Not enough memory allocated when converting string with special
5461 character.
5462Solution: Reserve space for modifier code. (closes #6130)
5463Files: src/eval.c, src/testdir/test_functions.vim
5464
5465Patch 8.2.0818
5466Problem: Vim9: using a discovery phase doesn't work well.
5467Solution: Remove the discovery phase, instead compile a function only when
5468 it is used. Add :defcompile to compile def functions earlier.
5469Files: runtime/doc/vim9.txt, src/vim9script.c, src/structs.h,
5470 src/userfunc.c, src/proto/userfunc.pro, src/eval.c,
5471 src/evalvars.c, src/proto/evalvars.pro, src/vim9compile.c,
5472 src/proto/vim9compile.pro, src/vim9execute.c, src/ex_cmds.h,
5473 src/ex_docmd.c, src/ex_cmdidxs.h, src/vim.h, src/testdir/vim9.vim,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00005474 src/testdir/test_vim9_disassemble.vim,
Bram Moolenaarc51cf032022-02-26 12:25:45 +00005475 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
5476
5477Patch 8.2.0819
5478Problem: Compiler warning for unused variable.
5479Solution: Remove the variable.
5480Files: src/evalvars.c
5481
5482Patch 8.2.0820
5483Problem: Vim9: function type isn't set until compiled.
5484Solution: Set function type early.
5485Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
5486 src/testdir/test_vim9_func.vim
5487
5488Patch 8.2.0821
5489Problem: Vim9: memory leak in expr test.
5490Solution: Do not decrement the length of the list of functions if the
5491 current function is not at the end.
5492Files: src/vim9compile.c
5493
5494Patch 8.2.0822
5495Problem: Vim9: code left over from discovery phase.
5496Solution: Remove the dead code.
5497Files: src/scriptfile.c, src/proto/scriptfile.pro, src/ex_cmds.h,
5498 src/evalvars.c, src/proto/evalvars.pro, src/ex_docmd.c
5499
5500Patch 8.2.0823
5501Problem: Vim9: script reload test is disabled.
5502Solution: Compile a function in the context of the script where it was
5503 defined. Set execution stack for compiled function. Add a test
5504 that an error is reported for the right file/function.
5505Files: src/vim9compile.c, src/vim9execute.c, src/scriptfile.c,
5506 src/proto/scriptfile.pro, src/userfunc.c, src/globals.h,
5507 src/structs.h, src/ex_docmd.c, src/ex_eval.c,
5508 src/testdir/test_vim9_script.vim
5509
5510Patch 8.2.0824 (after 8.2.0817)
5511Problem: Still not enough memory allocated when converting string with
5512 special character.
5513Solution: Reserve space for expanding K_SPECIAL. (closes #6130)
5514Files: src/eval.c, src/testdir/test_functions.vim
5515
5516Patch 8.2.0825
5517Problem: def_function() may return pointer that was freed.
5518Solution: Set "fp" to NULL after freeing it.
5519Files: src/userfunc.c
5520
5521Patch 8.2.0826
5522Problem: Vim9: crash in :defcompile.
5523Solution: Restart the loop after a call to compile_def_function() caused the
5524 hash table to resize.
5525Files: src/userfunc.c
5526
5527Patch 8.2.0827
5528Problem: Vim9: crash in :defcompile.
5529Solution: Fix off-by-one error.
5530Files: src/userfunc.c
5531
5532Patch 8.2.0828
5533Problem: Travis: regexp pattern doesn't work everywhere.
5534Solution: Use [:blank:] instead of \b. (Ozaki Kiichi, closes #6146)
5535Files: .travis.yml, ci/config.mk.clang.sed, ci/config.mk.gcc.sed,
5536 ci/config.mk.sed, src/if_ruby.c
5537
5538Patch 8.2.0829
5539Problem: filter() may give misleading error message.
5540Solution: Also mention Blob as an allowed argument.
5541Files: src/list.c, src/testdir/test_filter_map.vim
5542
5543Patch 8.2.0830
5544Problem: Motif: can't map "!". (Ben Jackson)
5545Solution: Remove the shift modifier if it's already included in the key.
5546 (closes #6147)
5547Files: src/gui_x11.c
5548
5549Patch 8.2.0831
5550Problem: Compiler warnings for integer sizes.
5551Solution: Add type casts. (Mike Williams)
5552Files: src/libvterm/src/pen.c, src/terminal.c
5553
5554Patch 8.2.0832
5555Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
5556Solution: Add initial value.
5557Files: src/map.c
5558
5559Patch 8.2.0833
5560Problem: Mapping <C-bslash> doesn't work in the GUI.
5561Solution: Reset seenModifyOtherKeys when starting the GUI. (closes #6150)
5562Files: src/gui.c
5563
5564Patch 8.2.0834
5565Problem: :drop command in terminal popup causes problems.
5566Solution: Check for using a popup window. (closes #6151)
5567Files: src/ex_cmds.c, src/testdir/test_popupwin.vim
5568
5569Patch 8.2.0835
5570Problem: Motif: mapping <C-bslash> still doesn't work.
5571Solution: Accept CSI for K_SPECIAL. Do not apply CTRL to the character
5572 early. (closes #6150)
5573Files: src/getchar.c, src/gui_x11.c
5574
5575Patch 8.2.0836
5576Problem: Not all :cdo output is visible.
5577Solution: Reset 'shortmess' temporarily. (Yegappan Lakshmanan, closes #6155)
5578Files: src/ex_cmds2.c, src/testdir/test_cdo.vim
5579
5580Patch 8.2.0837
5581Problem: Compiler warning for value set but not used.
5582Solution: Move variable inside #ifdef.
5583Files: src/channel.c
5584
5585Patch 8.2.0838
5586Problem: MS-Windows: compiler warning for uninitialized variables.
5587Solution: Initialize variables.
5588Files: src/screen.c
5589
5590Patch 8.2.0839
5591Problem: Dropping modifier when putting a character back in typeahead.
5592Solution: Add modifier to ins_char_typebuf(). (closes #6158)
5593Files: src/getchar.c, src/proto/getchar.pro, src/message.c, src/normal.c,
5594 src/terminal.c, src/globals.h, src/testdir/test_messages.vim
5595
5596Patch 8.2.0840
5597Problem: Search match count wrong when only match is in fold.
5598Solution: Update search stats when in a closed fold. (Christian Brabandt,
5599 closes #6160, closes #6152)
5600Files: src/search.c, src/testdir/dumps/Test_searchstat_3.dump,
5601 src/testdir/test_search_stat.vim
5602
5603Patch 8.2.0841
5604Problem: 'verbose' value 16 causes duplicate output.
5605Solution: Combine levels 15 and 16 into one message. (Christian Brabandt,
5606 closes #6153)
5607Files: runtime/doc/options.txt, src/ex_docmd.c
5608
5609Patch 8.2.0842 (after 8.2.0837)
5610Problem: MS-Windows: channel tests fail.
5611Solution: Adjust #ifdefs. (closes #6162)
5612Files: src/channel.c
5613
5614Patch 8.2.0843
5615Problem: Filetype elm not detected.
5616Solution: Recognize *.elm files. (closes #6157)
5617Files: runtime/filetype.vim, src/testdir/test_filetype.vim
5618
5619Patch 8.2.0844
5620Problem: Text properties crossing lines not handled correctly.
5621Solution: When saving for undo include an extra line when needed and do not
5622 adjust properties when undoing. (Axel Forsman, closes #5875)
5623Files: src/memline.c, src/proto/memline.pro, src/undo.c, src/structs.h
5624
5625Patch 8.2.0845
5626Problem: Text properties crossing lines not handled correctly.
5627Solution: When joining lines merge text properties if possible.
5628 (Axel Forsman, closes #5839, closes #5683)
5629Files: src/testdir/test_textprop.vim, src/memline.c, src/ops.c,
5630 src/proto/textprop.pro, src/textprop.c,
5631 src/testdir/dumps/Test_textprop_01.dump
5632
5633Patch 8.2.0846
5634Problem: Build failure with small features.
5635Solution: Add #ifdef.
5636Files: src/undo.c
5637
5638Patch 8.2.0847
5639Problem: Typval related code is spread out.
5640Solution: Move code to new typval.c file. (Yegappan Lakshmanan, closes #6093)
5641Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
5642 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
5643 src/eval.c, src/evalfunc.c, src/globals.h, src/proto.h,
5644 src/proto/eval.pro, src/proto/evalfunc.pro, src/proto/typval.pro,
5645 src/typval.c
5646
5647Patch 8.2.0848
5648Problem: MS-Windows: the Windows terminal code has some flaws.
5649Solution: Do not redraw the right edge of the screen. Remove the background
5650 color trick. Flush the screen output buffer often. (Nobuhiro
5651 Takasaki, #5546)
5652Files: src/os_win32.c, src/proto/os_win32.pro, src/term.c
5653
5654Patch 8.2.0849
5655Problem: BeOS code is not maintained and probably unused.
5656Solution: Remove the BeOS code. (Emir Sarı, closes #5817)
5657Files: Filelist, src/Makefile, src/configure.ac, src/auto/configure,
5658 src/evalfunc.c, src/normal.c, src/os_beos.c, src/os_beos.h,
5659 src/os_beos.rsrc, src/os_unix.c, src/proto.h,
5660 src/proto/os_beos.pro, src/pty.c, src/screen.c, src/term.c,
5661 src/testdir/test_functions.vim, src/ui.c, src/vim.h
5662
5663Patch 8.2.0850
5664Problem: MS-Windows: exepath() works differently from cmd.exe.
5665Solution: Make exepath() work better on MS-Windows. (closes #6115)
5666Files: runtime/doc/eval.txt, src/os_win32.c,
5667 src/testdir/test_functions.vim
5668
5669Patch 8.2.0851 (after 8.2.0833)
5670Problem: Can't distinguish <M-a> from accented "a" in the GUI.
5671Solution: Use another way to make mapping <C-bslash> work. (closes #6163)
5672Files: src/gui.c, src/gui_gtk_x11.c, src/getchar.c
5673
5674Patch 8.2.0852
5675Problem: Cannot map CTRL-S on some systems.
5676Solution: Do not use CTRL-S for flow control.
5677Files: src/os_unix.c
5678
5679Patch 8.2.0853
5680Problem: ml_delete() often called with FALSE argument.
5681Solution: Use ml_delete_flags(x, ML_DEL_MESSAGE) when argument is TRUE.
5682Files: src/buffer.c, src/change.c, src/diff.c, src/evalbuffer.c,
5683 src/ex_cmds.c, src/ex_docmd.c, src/fileio.c, src/if_lua.c,
5684 src/if_mzsch.c, src/if_ruby.c, src/if_tcl.c, src/normal.c,
5685 src/popupmenu.c, src/popupwin.c, src/quickfix.c, src/spell.c,
5686 src/terminal.c, src/if_perl.xs, src/if_py_both.h, src/memline.c,
5687 src/proto/memline.pro
5688
5689Patch 8.2.0854
5690Problem: Xxd cannot show offset as a decimal number.
5691Solution: Add the "-d" flag. (Aapo Rantalainen, closes #5616)
5692Files: src/testdir/test_xxd.vim, src/xxd/xxd.c
5693
5694Patch 8.2.0855
5695Problem: GUI tests fail because the test doesn't use a modifier.
5696Solution: Add "\{xxx}" to be able to encode a modifier.
5697Files: runtime/doc/eval.txt, src/typval.c, src/misc2.c, src/vim.h,
5698 src/proto/misc2.pro, src/gui_mac.c, src/option.c, src/highlight.c,
5699 src/term.c, src/testdir/test_backspace_opt.vim,
5700 src/testdir/test_mapping.vim, src/testdir/test_messages.vim
5701
5702Patch 8.2.0856 (after 8.2.0852)
5703Problem: CTRL-S stops output.
5704Solution: Invert the IXON flag. (closes #6166)
5705Files: src/os_unix.c
5706
5707Patch 8.2.0857
5708Problem: GTK cell height can be a pixel too much.
5709Solution: Subtract 3 instead of 1 when rounding. (closes #6168)
5710Files: src/gui_gtk_x11.c
5711
5712Patch 8.2.0858
5713Problem: Not easy to require Lua modules.
5714Solution: Improve use of Lua path. (Prabir Shrestha, closes #6098)
5715Files: Filelist, src/if_lua.c, src/optionstr.c, src/proto/if_lua.pro,
5716 src/testdir/test_lua.vim,
5717 src/testdir/testluaplugin/lua/testluaplugin/hello.lua,
5718 src/testdir/testluaplugin/lua/testluaplugin/init.lua
5719
5720Patch 8.2.0859
5721Problem: No Turkish translation of the manual.
5722Solution: Add Turkish translations. (Emir Sarı, closes #5641)
5723Files: Filelist, runtime/doc/Makefile, runtime/doc/evim-tr.1,
5724 runtime/doc/evim-tr.UTF-8.1, runtime/doc/vim-tr.1,
5725 runtime/doc/vim-tr.UTF-8.1, runtime/doc/vimdiff-tr.1,
5726 runtime/doc/vimdiff-tr.UTF-8.1, runtime/doc/vimtutor-tr.1,
5727 runtime/doc/vimtutor-tr.UTF-8.1, src/Makefile
5728
5729Patch 8.2.0860
5730Problem: Cannot use CTRL-A and CTRL-X on unsigned numbers.
5731Solution: Add "unsigned" to 'nrformats'. (Naruhiko Nishino, closes #6144)
5732Files: runtime/doc/options.txt, src/ops.c, src/optionstr.c,
5733 src/testdir/test_increment.vim
5734
5735Patch 8.2.0861
5736Problem: Cannot easily get all the current marks.
5737Solution: Add getmarklist(). (Yegappan Lakshmanan, closes #6032)
5738Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
5739 src/mark.c, src/proto/mark.pro, src/testdir/test_marks.vim
5740
5741Patch 8.2.0862
5742Problem: ":term ++curwin" makes the current buffer hidden. (Harm te
5743 Hennepe)
5744Solution: Do not hide the current buffer. (closes #6170)
5745Files: src/terminal.c, src/testdir/test_terminal.vim
5746
5747Patch 8.2.0863
5748Problem: Cannot set a separate color for underline/undercurl.
5749Solution: Add the t_AU and t_8u termcap codes. (Timur Celik, closes #6011)
5750Files: runtime/doc/syntax.txt, runtime/doc/term.txt, src/globals.h,
5751 src/highlight.c, src/optiondefs.h, src/proto/term.pro,
5752 src/screen.c, src/structs.h, src/term.c, src/term.h,
5753 src/testdir/test_options.vim
5754
5755Patch 8.2.0864
5756Problem: Pragmas are indented all the way to the left.
5757Solution: Add an option to indent pragmas like normal code. (Max Rumpf,
5758 closes #5468)
5759Files: runtime/doc/indent.txt, src/cindent.c, src/structs.h,
5760 src/testdir/test_cindent.vim
5761
5762Patch 8.2.0865
5763Problem: Syntax foldlevel is taken from the start of the line.
5764Solution: Add ":syn foldlevel" to be able to use the minimal foldlevel in
5765 the line. (Brad King, closes #6087)
5766Files: runtime/doc/syntax.txt, src/structs.h, src/syntax.c,
5767 src/testdir/test_syntax.vim
5768
5769Patch 8.2.0866
5770Problem: Not enough tests for buffer writing.
5771Solution: Add more tests. Use CheckRunVimInTerminal in more places.
5772 (Yegappan Lakshmanan, closes #6167)
5773Files: src/testdir/test_arglist.vim, src/testdir/test_match.vim,
5774 src/testdir/test_messages.vim, src/testdir/test_netbeans.py,
5775 src/testdir/test_netbeans.vim, src/testdir/test_search.vim,
5776 src/testdir/test_signals.vim, src/testdir/test_signs.vim,
5777 src/testdir/test_startup.vim, src/testdir/test_startup_utf8.vim,
5778 src/testdir/test_syntax.vim, src/testdir/test_tabpage.vim,
5779 src/testdir/test_timers.vim, src/testdir/test_vimscript.vim,
5780 src/testdir/test_writefile.vim
5781
5782Patch 8.2.0867
5783Problem: Using \{xxx} for encoding a modifier is not nice.
5784Solution: Use \<*xxx> instead, since it's the same as \<xxx> but producing a
5785 different code.
5786Files: runtime/doc/eval.txt, src/typval.c, src/misc2.c, src/vim.h,
5787 src/testdir/test_backspace_opt.vim, src/testdir/test_mapping.vim,
5788 src/testdir/test_messages.vim
5789
5790Patch 8.2.0868
5791Problem: trim() always trims both ends.
5792Solution: Add an argument to only trim the beginning or end. (Yegappan
5793 Lakshmanan, closes #6126)
5794Files: runtime/doc/eval.txt, src/evalfunc.c,
5795 src/testdir/test_functions.vim
5796
5797Patch 8.2.0869
5798Problem: It is not possible to customize the quickfix window contents.
5799Solution: Add 'quickfixtextfunc'. (Yegappan Lakshmanan, closes #5465)
5800Files: runtime/doc/eval.txt, runtime/doc/options.txt,
5801 runtime/doc/quickfix.txt, src/option.h, src/optiondefs.h,
5802 src/quickfix.c, src/testdir/test_quickfix.vim
5803
5804Patch 8.2.0870
5805Problem: MS-Windows: Control keys don't work in the GUI.
5806Solution: Don't set seenModifyOtherKeys for now. (Yasuhiro Matsumoto,
5807 closes #6175)
5808Files: src/gui.c
5809
5810Patch 8.2.0871
5811Problem: Cannot use getmarklist() as a method.
5812Solution: Make getmarklist() work as a method. Add one to the column
5813 number to match getpos(). (Yegappan Lakshmanan, closes #6176)
5814Files: runtime/doc/eval.txt, src/evalfunc.c, src/mark.c,
5815 src/testdir/test_marks.vim
5816
5817Patch 8.2.0872
5818Problem: XIM code is mixed with multibyte code.
5819Solution: Move the XIM code to a separate file. (Yegappan Lakshmanan,
5820 closes #6177)
5821Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
5822 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/gui_xim.c,
5823 src/mbyte.c, src/proto.h, src/proto/gui_xim.pro,
5824 src/proto/mbyte.pro
5825
5826Patch 8.2.0873
5827Problem: A .jl file can be sawfish (lisp) or Julia.
5828Solution: Do not recognize *.jl as lisp, since it might be Julia.
5829 (closes #6178)
5830Files: runtime/filetype.vim, src/testdir/test_filetype.vim
5831
5832Patch 8.2.0874
5833Problem: Signals test is a bit flaky.
5834Solution: Flush the XautoOut file. Delete files that may be left behind
5835 from a failure. (Dominique Pellé, closes #6179)
5836Files: src/testdir/test_signals.vim
5837
5838Patch 8.2.0875
5839Problem: Getting attributes for directory entries is slow.
5840Solution: Add readdirex(). (Ken Takata, closes #5619)
5841Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00005842 src/fileio.c, src/filepath.c, src/proto/fileio.pro,
Bram Moolenaarc51cf032022-02-26 12:25:45 +00005843 src/proto/filepath.pro, src/testdir/test_functions.vim
5844
5845Patch 8.2.0876
5846Problem: :pwd does not give a hint about the scope of the directory
5847Solution: Make ":verbose pwd" show the scope. (Takuya Fujiwara, closes #5469)
5848Files: runtime/doc/editing.txt, src/ex_docmd.c, src/testdir/test_cd.vim
5849
5850Patch 8.2.0877
5851Problem: Cannot get the search statistics.
5852Solution: Add the searchcount() function. (Fujiwara Takuya, closes #4446)
5853Files: runtime/doc/eval.txt, src/evalfunc.c, src/macros.h,
5854 src/proto/search.pro, src/search.c,
5855 src/testdir/test_search_stat.vim
5856
5857Patch 8.2.0878
5858Problem: No reduce() function.
5859Solution: Add a reduce() function. (closes #5481)
5860Files: runtime/doc/eval.txt, src/evalfunc.c, src/globals.h, src/list.c,
5861 src/proto/list.pro, src/testdir/test_listdict.vim
5862
5863Patch 8.2.0879
5864Problem: Compiler warning for unused function argument.
5865Solution: Add UNUSED.
5866Files: src/search.c
5867
5868Patch 8.2.0880 (after 8.2.0877)
5869Problem: Leaking memory when using searchcount().
5870Solution: Free the last used search pattern.
5871Files: src/search.c
5872
5873Patch 8.2.0881
5874Problem: Compiler warning for argument type.
5875Solution: Add type cast. (Mike Williams)
5876Files: src/ops.c
5877
5878Patch 8.2.0882
5879Problem: Leaking memory when using reduce().
5880Solution: Free the intermediate value.
5881Files: src/list.c
5882
5883Patch 8.2.0883
5884Problem: Memory leak in test 49.
5885Solution: Free "sfile" from the exception.
5886Files: src/ex_docmd.c
5887
5888Patch 8.2.0884
5889Problem: Searchcount() test fails on slower systems.
5890Solution: Set a longer timeout.
5891Files: src/search.c, src/testdir/test_search_stat.vim
5892
5893Patch 8.2.0885
5894Problem: "make shadow" does not link new lua test dir.
5895Solution: Also link testdir/testluaplugin. (Elimar Riesebieter)
5896Files: src/Makefile
5897
5898Patch 8.2.0886
5899Problem: Cannot use octal numbers in scriptversion 4.
5900Solution: Add the "0o" notation. (Ken Takata, closes #5304)
5901Files: runtime/doc/eval.txt, src/charset.c, src/evalfunc.c,
5902 src/testdir/test_eval_stuff.vim, src/testdir/test_functions.vim,
5903 src/vim.h
5904
5905Patch 8.2.0887
5906Problem: Searchcount().exact_match is 1 right after a match.
5907Solution: Use LT_POS() instead of LTOREQ_POS(). (closes #6189)
5908Files: src/search.c, src/testdir/test_search_stat.vim
5909
5910Patch 8.2.0888
5911Problem: Readdirex() returns size -2 for a directory.
5912Solution: Add missing "else". (Ken Takata, closes #6185)
5913Files: src/fileio.c, src/testdir/test_functions.vim
5914
5915Patch 8.2.0889
5916Problem: Using old style comments.
5917Solution: Use // comments. (Yegappan Lakshmanan, closes #6190)
5918Files: src/gui_xim.c
5919
5920Patch 8.2.0890
5921Problem: No color in terminal window when 'termguicolors' is set.
5922Solution: Clear the underline color. (closes #6186)
5923Files: src/highlight.c
5924
5925Patch 8.2.0891
5926Problem: Clang warns for invalid conversion.
5927Solution: Use zero instead of INVALCOLOR.
5928Files: src/highlight.c
5929
5930Patch 8.2.0892
5931Problem: Ubsan warns for undefined behavior.
5932Solution: Use unsigned instead of signed variable. (Dominique Pellé,
5933 closes #6193)
5934Files: src/regexp_nfa.c
5935
5936Patch 8.2.0893
5937Problem: Assert_equalfile() does not take a third argument.
5938Solution: Implement the third argument. (Gary Johnson)
5939Files: runtime/doc/eval.txt, runtime/doc/testing.txt, src/evalfunc.c,
5940 src/testdir/test_assert.vim, src/testing.c
5941
5942Patch 8.2.0894
5943Problem: :mkspell can take very long if the word count is high.
5944Solution: Use long to avoid negative numbers. Increase the limits by 20% if
5945 the compression did not have effect.
5946Files: src/spellfile.c
5947
5948Patch 8.2.0895
5949Problem: :mkspell output does not mention the tree type.
5950Solution: Back out increasing the limits, it has no effect. Mention the
5951 tree being compressed. Only give a message once per second.
5952Files: src/spellfile.c
5953
5954Patch 8.2.0896
5955Problem: Crash when calling searchcount() with a string.
5956Solution: Check the argument is a dict. (closes #6192)
5957Files: src/search.c, src/testdir/test_search_stat.vim
5958
5959Patch 8.2.0897
5960Problem: List of functions in patched version is outdated.
5961Solution: Update the function lists only.
5962Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt
5963
5964Patch 8.2.0898
5965Problem: Missing help for a function goes unnoticed.
5966Solution: Add a test. (Gary Johnson)
5967Files: src/testdir/test_function_lists.vim, src/testdir/Make_all.mak
5968
5969Patch 8.2.0899
5970Problem: Assert_equalfile() does not give a hint about the difference.
5971Solution: Display the last seen text.
5972Files: src/testing.c, src/testdir/test_assert.vim
5973
5974Patch 8.2.0900
5975Problem: Function list test fails on MS-Windows.
5976Solution: Make sure the fileformat is "unix"
5977Files: src/testdir/test_function_lists.vim
5978
5979Patch 8.2.0901
5980Problem: Formatting CJK text isn't optimal.
5981Solution: Properly break CJK lines. (closes #3875)
5982Files: runtime/doc/change.txt, src/mbyte.c, src/ops.c, src/option.h,
5983 src/proto/mbyte.pro, src/testdir/Make_all.mak, src/textformat.c,
5984 src/testdir/test_cjk_linebreak.vim
5985
5986Patch 8.2.0902
5987Problem: Using searchcount() in 'statusline' causes an error.
5988Solution: Avoid saving/restoring the search pattern recursively.
5989 (closes #6194)
5990Files: src/search.c, src/testdir/test_search_stat.vim,
5991 src/testdir/dumps/Test_searchstat_4.dump
5992
5993Patch 8.2.0903
5994Problem: comparing WINVER does not work correctly.
5995Solution: Use arithmetic expansion. (Ozaki Kiichi, closes #6197)
5996Files: src/Make_cyg_ming.mak
5997
5998Patch 8.2.0904
5999Problem: Assuming modifyOtherKeys for rhs of mapping.
6000Solution: Ignore seenModifyOtherKeys for mapped characters. (closes #6200)
6001Files: src/getchar.c, src/testdir/test_gui.vim
6002
6003Patch 8.2.0905
6004Problem: Test coverage could be better.
6005Solution: Add a couple of tests. (Dominique Pellé, closes #6202)
6006Files: src/testdir/test_cmdline.vim, src/testdir/test_ga.vim
6007
6008Patch 8.2.0906
6009Problem: When setting 'termguicolors' SpellBad is no longer red.
6010Solution: Only use the RGB guisp color for cterm when using the "underline"
6011 or "undercurl" attributes to avoid the background color to be
6012 cleared. Also make t_8u empty when the termresponse indicates a
6013 real xterm. (closes #6207)
6014Files: src/highlight.c, src/term.c
6015
6016Patch 8.2.0907
6017Problem: When using :global clipboard isn't set correctly.
6018Solution: Set "clip_unnamed_saved" instead of "clip_unnamed". (Christian
6019 Brabandt, closes #6203, closes #6198)
6020Files: src/clipboard.c, src/testdir/test_global.vim
6021
6022Patch 8.2.0908
6023Problem: Crash when changing the function table while listing it.
6024Solution: Bail out when the function table changes. (closes #6209)
6025Files: src/userfunc.c, src/testdir/test_timers.vim
6026
6027Patch 8.2.0909
6028Problem: Cannot go back to the previous local directory.
6029Solution: Add "tcd -" and "lcd -". (Yegappan Lakshmanan, closes #4362)
6030Files: runtime/doc/editing.txt, src/filepath.c, src/ex_docmd.c,
6031 src/structs.h, src/testdir/test_cd.vim, src/window.c
6032
6033Patch 8.2.0910
6034Problem: Vim is not reproducibly buildable.
6035Solution: Use the $SOURCE_DATE_EPOCH environment variable in configure.
6036 (James McCoy, closes #513) Give a warning about using it.
6037Files: src/config.h.in, src/config.mk.in, src/configure.ac,
6038 src/auto/configure, src/version.c, src/Makefile
6039
6040Patch 8.2.0911
6041Problem: Crash when opening a buffer for the cmdline window fails. (Chris
6042 Barber)
6043Solution: Check do_ecmd() succeeds. Reset got_int if "q" was used at the
6044 more prompt. (closes #6211)
6045Files: src/ex_getln.c, src/testdir/test_cmdline.vim,
6046 src/testdir/dumps/Test_cmdwin_interrupted.dump
6047
6048Patch 8.2.0912
6049Problem: A few test cases for CJK formatting are disabled.
6050Solution: Fix the tests and enable them. (closes #6212)
6051Files: src/testdir/test_cjk_linebreak.vim
6052
6053Patch 8.2.0913
6054Problem: Code for resetting v:register is duplicated.
6055Solution: Add reset_reg_var().
6056Files: src/evalvars.c, src/proto/evalvars.pro, src/main.c, src/normal.c
6057
6058Patch 8.2.0914
6059Problem: MS-Windows: cannot specify a "modified by" text.
6060Solution: Add MODIFIED_BY in the MSVC build file. (Chen Lei, closes #1275)
6061Files: src/Make_mvc.mak
6062
6063Patch 8.2.0915
6064Problem: Search() cannot skip over matches like searchpair() can.
6065Solution: Add an optional "skip" argument. (Christian Brabandt, closes #861)
6066Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_syntax.vim,
6067 src/structs.h, src/evalvars.c, src/proto/evalvars.pro
6068
6069Patch 8.2.0916
6070Problem: Mapping with partly modifyOtherKeys code does not work.
6071Solution: If there is no mapping with a separate modifier include the
6072 modifier in the key and then try mapping again. (closes #6200)
6073Files: src/getchar.c, src/proto/getchar.pro, src/edit.c, src/term.c,
6074 src/proto/term.pro, src/testdir/test_termcodes.vim
6075
6076Patch 8.2.0917
6077Problem: Quickfix entries do not support a "note" type.
6078Solution: Add support for "note". (partly by Yegappan Lakshmanan,
6079 closes #5527, closes #6216)
6080Files: runtime/doc/quickfix.txt, src/quickfix.c,
6081 src/testdir/test_quickfix.vim
6082
6083Patch 8.2.0918
6084Problem: Duplicate code for evaluating expression argument.
6085Solution: Merge the code and make the use more flexible.
6086Files: src/evalfunc.c, src/eval.c, src/proto/eval.pro, src/evalvars.c,
6087 src/proto/evalvars.pro, src/structs.h
6088
6089Patch 8.2.0919
6090Problem: Merging modifier for modifyOtherKeys is done twice.
6091Solution: Remove the merging done in vgetc().
6092Files: src/getchar.c, src/ex_getln.c
6093
6094Patch 8.2.0920
6095Problem: Writing viminfo fails with a circular reference.
6096Solution: Use copyID to detect the cycle. (closes #6217)
6097Files: src/testdir/test_viminfo.vim, src/viminfo.c
6098
6099Patch 8.2.0921
6100Problem: CTRL-W T in cmdline window causes trouble.
6101Solution: Disallow CTRL-W T in the cmdline window. Add more tests.
6102 (Naruhiko Nishino, closes #6219)
6103Files: src/testdir/test_cmdline.vim, src/window.c
6104
6105Patch 8.2.0922
6106Problem: Search test fails.
6107Solution: Remove failure tests for calls that no longer fail.
6108Files: src/testdir/test_search.vim
6109
6110Patch 8.2.0923
6111Problem: Cmdline test is slow.
6112Solution: Use WaitForAssert().
6113Files: src/testdir/test_cmdline.vim
6114
6115Patch 8.2.0924
6116Problem: Cannot save and restore a register properly.
6117Solution: Add getreginfo() and make setreg() accept a dictionary. (Andy
6118 Massimino, closes #3370)
6119Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
6120 src/proto/register.pro, src/register.c,
6121 src/testdir/test_eval_stuff.vim, src/testdir/test_registers.vim
6122
6123Patch 8.2.0925
6124Problem: Getcompletion() does not return command line arguments.
6125Solution: Add the "cmdline" option. (Shougo, closes #1140)
6126Files: runtime/doc/eval.txt, src/cmdexpand.c,
6127 src/testdir/test_cmdline.vim
6128
6129Patch 8.2.0926
6130Problem: Cmdline test fails on Appveyor.
6131Solution: Add CR to the commands. (Naruhiko Nishino, closes #6220)
6132Files: src/testdir/test_cmdline.vim
6133
6134Patch 8.2.0927
6135Problem: Some sshconfig and ssdhconfig files are not recognized.
6136Solution: Add filetype patterns.
6137Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6138
6139Patch 8.2.0928
6140Problem: Many type casts are used for vim_strnsave().
6141Solution: Make the length argument size_t instead of int. (Ken Takata,
6142 closes #5633) Remove some type casts.
6143Files: src/misc2.c, src/proto/misc2.pro, src/autocmd.c, src/channel.c,
6144 src/cmdexpand.c, src/dict.c, src/diff.c, src/digraph.c,
6145 src/eval.c, src/evalfunc.c, src/highlight.c, src/syntax.c
6146
6147Patch 8.2.0929
6148Problem: v:register is not cleared after an operator was executed.
6149Solution: Clear v:register after finishing an operator (Andy Massimino,
6150 closes #5305)
6151Files: src/normal.c, src/testdir/test_registers.vim
6152
6153Patch 8.2.0930
6154Problem: Script filetype detection trips over env -S argument.
6155Solution: Remove "-S" and "--ignore-environment". (closes #5013)
6156 Add tests.
6157Files: runtime/scripts.vim, src/testdir/test_filetype.vim
6158
6159Patch 8.2.0931
6160Problem: Some remarks about BeOS remain.
6161Solution: Remove BeOS remarks from the help and other files. (Emir Sarı,
6162 closes #6221)
6163Files: READMEdir/README_extra.txt, runtime/doc/options.txt,
6164 runtime/doc/os_beos.txt, runtime/doc/os_vms.txt,
6165 runtime/doc/vi_diff.txt, src/INSTALL
6166
6167Patch 8.2.0932
6168Problem: Misspelling spelllang.
6169Solution: Add an "l". (Dominique Pellé)
6170Files: src/optionstr.c, src/proto/spell.pro, src/spell.c
6171
6172Patch 8.2.0933
6173Problem: 'quickfixtextfunc' does not get window ID of location list.
6174Solution: Add "winid" to the dict argument. (Yegappan Lakshmanan,
6175 closes #6222)
6176Files: runtime/doc/quickfix.txt, src/quickfix.c,
6177 src/testdir/test_quickfix.vim
6178
6179Patch 8.2.0934
6180Problem: Running lhelpgrep twice in a help window doesn't jump to the help
6181 topic.
6182Solution: Check whether any window with the location list is present.
6183 (Yegappan Lakshmanan, closes #6215)
6184Files: src/quickfix.c, src/testdir/test_quickfix.vim
6185
6186Patch 8.2.0935
6187Problem: Flattening a list with existing code is slow.
6188Solution: Add flatten(). (Mopp, closes #3676)
6189Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
6190 src/list.c, src/proto/list.pro, src/testdir/Make_all.mak,
6191 src/testdir/test_flatten.vim
6192
6193Patch 8.2.0936
6194Problem: Some terminals misinterpret the code for getting cursor style.
6195Solution: Send a sequence to the terminal and check the result. (IWAMOTO
6196 Kouichi, closes #2126) Merged with current code.
6197Files: src/main.c, src/term.c, src/proto/term.pro,
6198 src/testdir/term_util.vim, src/testdir/test_quickfix.vim,
6199 src/testdir/test_terminal.vim, src/testdir/test_startup_utf8.vim,
6200 src/testdir/dumps/Test_balloon_eval_term_01.dump,
6201 src/testdir/dumps/Test_balloon_eval_term_01a.dump,
6202 src/testdir/dumps/Test_balloon_eval_term_02.dump,
6203 src/testdir/dumps/Test_terminal_all_ansi_colors.dump
6204
6205Patch 8.2.0937
6206Problem: Asan failure in the flatten() test.
6207Solution: Free the flattened list.
6208Files: src/list.c
6209
6210Patch 8.2.0938
6211Problem: NFA regexp uses tolower() to compare ignore-case. (Thayne McCombs)
6212Solution: Use utf_fold() when possible. (ref. neovim #12456)
6213Files: src/macros.h, src/diff.c, src/regexp_nfa.c,
6214 src/testdir/test_regexp_utf8.vim
6215
6216Patch 8.2.0939
6217Problem: checking for term escape sequences is long and confusing
6218Solution: Refactor code into separate functions.
6219Files: src/term.c
6220
6221Patch 8.2.0940 (after 8.2.0939)
6222Problem: Build failure with tiny features.
6223Solution: Add #ifdef. Add UNUSED. A bit more cleaning up.
6224Files: src/term.c
6225
6226Patch 8.2.0941
6227Problem: Detecting terminal properties is unstructured.
6228Solution: Add a table with terminal properties. Set properties when a
6229 terminal is detected.
6230Files: src/term.c
6231
6232Patch 8.2.0942
6233Problem: Expanding to local dir after homedir keeps "~/".
6234Solution: Adjust modify_fname(). (Christian Brabandt, closes #6205,
6235 closes #5979)
6236Files: src/filepath.c, src/testdir/test_fnamemodify.vim
6237
6238Patch 8.2.0943
6239Problem: Displaying ^M or ^J depends on current buffer.
6240Solution: Pass the displayed buffer to transchar(). (closes #6225)
6241Files: src/drawline.c, src/charset.c, src/proto/charset.pro,
6242 src/ex_cmds.c, src/gui_beval.c, src/message.c,
6243 src/testdir/test_display.vim,
6244 src/testdir/dumps/Test_display_unprintable_01.dump,
6245 src/testdir/dumps/Test_display_unprintable_02.dump
6246
6247Patch 8.2.0944
6248Problem: Xxd test leaves file behind.
6249Solution: Delete the file "XXDfile". (Christian Brabandt, closes #6228)
6250Files: src/testdir/test_xxd.vim
6251
6252Patch 8.2.0945
6253Problem: Cannot use "z=" when 'spell' is off.
6254Solution: Make "z=" work even when 'spell' is off. (Christian Brabandt,
6255 Gary Johnson, closes #6227)
6256Files: runtime/doc/eval.txt, src/evalfunc.c, src/spell.c,
6257 src/spellsuggest.c, src/testdir/test_spell.vim, src/globals.h
6258
6259Patch 8.2.0946
6260Problem: Cannot use "q" to cancel a number prompt.
6261Solution: Recognize "q" instead of ignoring it.
6262Files: src/misc1.c, src/testdir/test_functions.vim
6263
6264Patch 8.2.0947
6265Problem: Readdirex() doesn't handle broken link properly.
6266Solution: Small fixes to readdirex(). (Christian Brabandt, closes #6226,
6267 closes #6213)
6268Files: src/fileio.c, src/testdir/test_functions.vim
6269
6270Patch 8.2.0948
6271Problem: Spell test fails.
6272Solution: Adjust expected text of the prompt.
6273Files: src/testdir/test_spell.vim
6274
6275Patch 8.2.0949
6276Problem: Strptime() does not use DST.
6277Solution: Set the tm_isdst field to -1. (Tomáš Janoušek, closes #6230)
6278Files: src/time.c, src/testdir/test_functions.vim
6279
6280Patch 8.2.0950
6281Problem: Tagjump test fails.
6282Solution: Adjust expected text of the prompt.
6283Files: src/testdir/test_tagjump.vim
6284
6285Patch 8.2.0951
6286Problem: Search stat test has leftover from debugging.
6287Solution: Remove line that writes a file. (Christian Brabandt, closes #6224)
6288Files: src/testdir/test_search_stat.vim
6289
6290Patch 8.2.0952
6291Problem: No simple way to interrupt Vim.
6292Solution: Add the SigUSR1 autocommand, triggered by SIGUSR1. (Jacob Hayes,
6293 closes #1718)
6294Files: runtime/doc/autocmd.txt, src/vim.h, src/autocmd.c, src/getchar.c,
6295 src/globals.h, src/os_unix.c, src/testdir/test_autocmd.vim
6296
6297Patch 8.2.0953
6298Problem: Spell checking doesn't work for CamelCased words.
6299Solution: Add the "camel" value in the new option 'spelloptions'.
6300 (closes #1235)
6301Files: runtime/doc/options.txt, runtime/doc/spell.txt, src/optiondefs.h,
6302 src/option.h, src/option.c, src/buffer.c, src/optionstr.c,
6303 src/testdir/gen_opt_test.vim, src/testdir/test_spell.vim
6304
6305Patch 8.2.0954
6306Problem: Not all desktop files are recognized.
6307Solution: Add the *.directory pattern. (Eisuke Kawashima, closes #3317)
6308Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6309
6310Patch 8.2.0955 (after 8.2.0953)
6311Problem: Build fails.
6312Solution: Add missing struct change.
6313Files: src/structs.h
6314
6315Patch 8.2.0956 (after 8.2.0953)
6316Problem: Spell test fails.
6317Solution: Add missing change the spell checking.
6318Files: src/spell.c
6319
6320Patch 8.2.0957
6321Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
6322Solution: Initialize one variable.
6323Files: src/spell.c
6324
6325Patch 8.2.0958
6326Problem: Not sufficient testing for buffer writing.
6327Solution: Add a few tests. (Yegappan Lakshmanan, closes #6238)
6328Files: src/testdir/test_backup.vim, src/testdir/test_writefile.vim
6329
6330Patch 8.2.0959
6331Problem: Using 'quickfixtextfunc' is a bit slow.
6332Solution: Process a list of entries. (Yegappan Lakshmanan, closes #6234)
6333Files: runtime/doc/quickfix.txt, src/quickfix.c,
6334 src/testdir/test_quickfix.vim
6335
6336Patch 8.2.0960
6337Problem: Cannot use :import in legacy Vim script.
6338Solution: Support :import in any Vim script.
6339Files: src/vim9script.c, src/evalvars.c, src/userfunc.c,
6340 src/testdir/test_vim9_script.vim
6341
6342Patch 8.2.0961
6343Problem: MS-Windows: no completion for locales.
6344Solution: Use the directories in $VIMRUNTIME/lang to complete locales.
6345 (Christian Brabandt, closes 36248)
6346Files: src/cmdexpand.c, src/ex_cmds2.c, src/testdir/test_cmdline.vim
6347
6348Patch 8.2.0962
6349Problem: Terminal test sometimes hangs on Travis.
6350Solution: Do show output for this test temporarily.
6351Files: src/testdir/Makefile
6352
6353Patch 8.2.0963
6354Problem: Number increment/decrement does not work with 'virtualedit'.
6355Solution: Handle coladd changing. (Christian Brabandt, closes #6240,
6356 closes #923)
6357Files: runtime/doc/options.txt, runtime/doc/various.txt, src/ops.c,
6358 src/testdir/test_increment.vim
6359
6360Patch 8.2.0964
6361Problem: TextYankPost does not provide info about Visual selection.
6362Solution: Add the 'visual' key in v:event. (closes #6249)
6363Files: runtime/doc/autocmd.txt, src/register.c,
6364 src/testdir/test_autocmd.vim
6365
6366Patch 8.2.0965
6367Problem: Has_funcundefined() is not used.
6368Solution: Delete the function. (Dominique Pellé, closes #6242)
6369Files: src/autocmd.c, src/proto/autocmd.pro
6370
6371Patch 8.2.0966
6372Problem: 'shortmess' flag "n" not used in two places.
6373Solution: Make use of the "n" flag consistent. (Nick Jensen, closes #6245,
6374 closes #6244)
6375Files: src/bufwrite.c, src/proto/bufwrite.pro, src/buffer.c,
6376 src/fileio.c, src/testdir/dumps/Test_popup_textprop_corn_5.dump,
6377 src/testdir/dumps/Test_start_with_tabs.dump
6378
6379Patch 8.2.0967
6380Problem: Unnecessary type casts for vim_strnsave().
6381Solution: Remove the type casts.
6382Files: src/evalvars.c, src/ex_cmds.c, src/ex_eval.c, src/fileio.c,
6383 src/filepath.c, src/findfile.c, src/highlight.c, src/if_ruby.c,
6384 src/insexpand.c, src/json.c, src/mark.c, src/memline.c,
6385 src/menu.c, src/misc1.c, src/ops.c, src/os_win32.c, src/regexp.c,
6386 src/regexp_bt.c, src/regexp_nfa.c, src/register.c, src/search.c,
6387 src/sign.c, src/syntax.c, src/term.c, src/terminal.c, src/undo.c,
6388 src/usercmd.c, src/userfunc.c, src/vim9compile.c, src/if_perl.xs
6389
6390Patch 8.2.0968
6391Problem: No proper testing of the 'cpoptions' flags.
6392Solution: Add tests. (Yegappan Lakshmanan, closes #6251)
6393Files: src/testdir/Make_all.mak, src/testdir/test_cpoptions.vim,
6394 src/testdir/test_edit.vim, src/testdir/test_normal.vim
6395
6396Patch 8.2.0969
6397Problem: Assert_equal() output for dicts is hard to figure out.
6398Solution: Only show the different items.
6399Files: src/testing.c, src/testdir/test_assert.vim
6400
6401Patch 8.2.0970
6402Problem: Terminal properties are not available in Vim script.
6403Solution: Add the terminalprops() function.
6404Files: src/term.c, src/proto/term.pro, src/evalfunc.c, src/main.c,
6405 src/testing.c, src/globals.h, src/testdir/test_termcodes.vim,
6406 runtime/doc/usr_41.txt, runtime/doc/eval.txt,
6407 runtime/doc/testing.txt
6408
6409Patch 8.2.0971
6410Problem: Build with tiny features fails.
6411Solution: Add #ifdef.
6412Files: src/term.c
6413
6414Patch 8.2.0972
6415Problem: Vim9 script variable declarations need a type.
6416Solution: Make "let var: type" declare a script-local variable.
6417Files: src/evalvars.c, src/vim9script.c, src/proto/vim9script.pro,
6418 src/globals.h, src/vim9compile.c, src/testdir/test_vim9_script.vim
6419
6420Patch 8.2.0973
6421Problem: Vim9: type is not checked when assigning to a script variable.
6422Solution: Check the type.
6423Files: src/evalvars.c, src/vim9script.c, src/proto/vim9script.pro,
6424 src/vim9compile.c, src/proto/vim9compile.pro,
6425 src/testdir/test_vim9_script.vim
6426
6427Patch 8.2.0974
6428Problem: Vim9: memory leak when script var has wrong type.
6429Solution: Free the variable name.
6430Files: src/vim9script.vim
6431
6432Patch 8.2.0975
6433Problem: Vim9: script variable does not accept optional s: prefix.
6434Solution: Adjust the accepted syntax.
6435Files: src/vim9script.c, src/testdir/test_vim9_script.vim
6436
6437Patch 8.2.0976
6438Problem: Some 'cpoptions' not tested.
6439Solution: Add more tests. (Yegappan Lakshmanan, closes #6253)
6440Files: src/testdir/test_cd.vim, src/testdir/test_charsearch.vim,
6441 src/testdir/test_cpoptions.vim, src/testdir/test_normal.vim
6442
6443Patch 8.2.0977
6444Problem: t_8u is made empty for the wrong terminals. (Dominique Pelle)
6445Solution: Invert the check for TPR_YES. (closes #6254)
6446Files: src/term.c, src/testdir/test_termcodes.vim
6447
6448Patch 8.2.0978
6449Problem: Leaking memory in termcodes test.
6450Solution: Set t_8u with set_option_value().
6451Files: src/term.c
6452
6453Patch 8.2.0979
6454Problem: A couple of screendump tests fail.
6455Solution: Do not redraw when clearing t_8u.
6456Files: src/term.c
6457
6458Patch 8.2.0980
6459Problem: Raku file extension not recognized. (Steven Penny)
6460Solution: Recognize .raku and .rakumod. (closes #6255)
6461Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6462
6463Patch 8.2.0981
6464Problem: Vim9: cannot compile "[var, var] = list".
6465Solution: Implement list assignment.
6466Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/evalvars.c,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00006467 src/proto/evalvars.pro, src/eval.c, src/testdir/test_vim9_script.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +00006468
6469Patch 8.2.0982
6470Problem: Insufficient testing for reading/writing files.
6471Solution: Add more tests. (Yegappan Lakshmanan, closes #6257)
6472 Add "ui_delay" to test_override() and use it for the CTRL-O test.
6473Files: src/testing.c, src/globals.h, src/ui.c, runtime/doc/testing.txt,
6474 src/testdir/test_autocmd.vim, src/testdir/test_edit.vim,
6475 src/testdir/test_filechanged.vim, src/testdir/test_writefile.vim
6476
6477Patch 8.2.0983
6478Problem: SConstruct file type not recognized.
6479Solution: Use python for SConstruct files. (Roland Hieber)
6480Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6481
6482Patch 8.2.0984
6483Problem: Not using previous window when closing a shell popup window.
6484Solution: Use "prevwin" if it was set. (closes #6267)
6485Files: src/popupwin.c, src/testdir/test_popupwin.vim
6486
6487Patch 8.2.0985
6488Problem: Simplify() does not remove slashes from "///path".
6489Solution: Reduce > 2 slashes to one. (closes #6263)
6490Files: src/findfile.c, src/testdir/test_functions.vim
6491
6492Patch 8.2.0986 (after 8.2.0985)
6493Problem: MS-Windows: functions test fails.
6494Solution: Only simplify ///path on Unix.
6495Files: src/testdir/test_functions.vim
6496
6497Patch 8.2.0987
6498Problem: Vim9: cannot assign to [var; var].
6499Solution: Assign rest of items to a list.
6500Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/list.c,
6501 src/proto/list.pro, src/eval.c, src/testdir/test_vim9_script.vim
6502
6503Patch 8.2.0988
6504Problem: Getting directory contents is always case sorted.
6505Solution: Add sort options and v:collate. (Christian Brabandt, closes #6229)
6506Files: runtime/doc/eval.txt, runtime/doc/mlang.txt, src/auto/configure,
6507 src/cmdexpand.c, src/config.h.in, src/configure.ac,
6508 src/evalfunc.c, src/evalvars.c, src/ex_cmds2.c, src/fileio.c,
6509 src/filepath.c, src/globals.h, src/proto/fileio.pro,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00006510 src/testdir/test_cmdline.vim, src/testdir/test_functions.vim,
Bram Moolenaarc51cf032022-02-26 12:25:45 +00006511 src/vim.h
6512
6513Patch 8.2.0989
6514Problem: Crash after resizing a terminal window. (August Masquelier)
6515Solution: Add check for valid row in libvterm. (closes #6273)
6516Files: src/libvterm/src/state.c, src/libvterm/src/screen.c
6517
6518Patch 8.2.0990 (after 8.2.0988)
6519Problem: Using duplicate error number.
6520Solution: Use an unused error number. Add a test for it.
6521Files: src/globals.h, src/testdir/test_functions.vim
6522
6523Patch 8.2.0991
6524Problem: Cannot get window type for autocmd and preview window.
6525Solution: Add types to win_gettype(). (Yegappan Lakshmanan, closes #6277)
6526Files: runtime/doc/eval.txt, src/evalwindow.c,
6527 src/testdir/test_autocmd.vim, src/testdir/test_preview.vim
6528
6529Patch 8.2.0992
6530Problem: Vim9: crash when using :import in the Vim command.
6531Solution: Give an error when using :import outside of a script.
6532 (closes #6271)
6533Files: src/vim9script.c, src/testdir/test_vim9_script.vim,
6534 src/testdir/term_util.vim
6535
6536Patch 8.2.0993
6537Problem: Vim9 script test fails with normal features.
6538Solution: Use :func instead of :def for now.
6539Files: src/testdir/test_vim9_script.vim
6540
6541Patch 8.2.0994
6542Problem: Vim9: missing function causes compilation error.
6543Solution: Call test function indirectly.
6544Files: src/testdir/test_vim9_script.vim
6545
6546Patch 8.2.0995
6547Problem: Insufficient testing for the readdir() sort option.
6548Solution: Add a few more tests. (Christian Brabandt, closes #6278)
6549Files: src/testdir/test_functions.vim
6550
6551Patch 8.2.0996
6552Problem: Using "aucmdwin" in win_gettype() is not ideal.
6553Solution: Rename to "autocmd".
6554Files: runtime/doc/eval.txt, src/evalwindow.c,
6555 src/testdir/test_autocmd.vim
6556
6557Patch 8.2.0997
6558Problem: Cannot execute a register containing line continuation.
6559Solution: Concatenate lines where needed. (Yegappan Lakshmanan,
6560 closes #6272)
6561Files: runtime/doc/repeat.txt, src/register.c,
6562 src/testdir/test_registers.vim
6563
6564Patch 8.2.0998
6565Problem: Not all tag code is tested.
6566Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #6284)
6567Files: src/testdir/test_tagjump.vim
6568
6569Patch 8.2.0999
6570Problem: Moving to next sentence gets stuck on quote.
6571Solution: When moving to the next sentence doesn't result in moving, advance
6572 a character and try again. (closes #6291)
6573Files: src/textobject.c, src/testdir/test_textobjects.vim
6574
6575Patch 8.2.1000
6576Problem: Get error when leaving Ex mode with :visual and a CmdLineEnter
6577 autocommand was used.
6578Solution: Reset ex_pressedreturn. (closes #6293)
6579Files: src/ex_docmd.c, src/testdir/test_ex_mode.vim
6580
6581Patch 8.2.1001
6582Problem: Vim9: crash with nested "if" and assignment.
6583Solution: Skip more of the assignment. Do not set ctx_skip when code is
6584 reachable.
6585Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
6586
6587Patch 8.2.1002
6588Problem: Test may fail when run directly.
6589Solution: Check if g:run_nr exists. (Christian Brabandt, closes #6285)
6590Files: src/testdir/term_util.vim
6591
6592Patch 8.2.1003
6593Problem: Vim9: return type of sort() is too generic.
6594Solution: Get type from the first argument. (closes #6292)
6595Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
6596
6597Patch 8.2.1004
6598Problem: Line numbers below filler lines not always updated.
6599Solution: Don't break out of the win_line() loop too early. (Christian
6600 Brabandt, closes #6294, closes #6138)
6601Files: src/drawline.c, src/testdir/dumps/Test_diff_rnu_01.dump,
6602 src/testdir/dumps/Test_diff_rnu_02.dump,
6603 src/testdir/dumps/Test_diff_rnu_03.dump,
6604 src/testdir/test_diffmode.vim
6605
6606Patch 8.2.1005
6607Problem: Vim9: using TRUE/FALSE/MAYBE for ctx_skip is confusing.
6608Solution: Use an enum value.
6609Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
6610
6611Patch 8.2.1006
6612Problem: Vim9: require unnecessary return statement.
6613Solution: Improve the use of the had_return flag. (closes #6270)
6614Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim,
6615 src/testdir/test_vim9_func.vim
6616
6617Patch 8.2.1007
6618Problem: Completion doesn't work after ":r ++arg !".
6619Solution: Skip over "++arg". (Christian Brabandt, closes #6275,
6620 closes #6258)
6621Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
6622
6623Patch 8.2.1008
6624Problem: Vim9: no test for disassembling newly added instructions.
6625Solution: Add a function and check disassembly.
6626Files: src/testdir/test_vim9_disassemble.vim
6627
6628Patch 8.2.1009
6629Problem: Vim9: some failures not checked for.
6630Solution: Add test cases. Remove unused code.
6631Files: src/testdir/test_vim9_script.vim, src/vim9execute.c
6632
6633Patch 8.2.1010
6634Problem: Build failure in libvterm with debug enabled. (John Little)
6635Solution: Use "->" instead of ".".
6636Files: src/libvterm/src/state.c
6637
6638Patch 8.2.1011
6639Problem: Vim9: some code not tested.
6640Solution: Add a few more test cases. Reorder checks for clearer error.
6641 Remove unreachable code.
6642Files: src/evalvars.c, src/vim9script.c, src/vim9execute.c,
6643 src/proto/vim9script.pro, src/testdir/test_vim9_script.vim,
6644 src/testdir/test_vim9_expr.vim
6645
6646Patch 8.2.1012
6647Problem: Vim9: cannot declare single character script variables.
6648Solution: Don't see "b:", "s:", etc. as namespace. Fix item size of
6649 sn_var_vals.
6650Files: src/vim9script.c, src/scriptfile.c,
6651 src/testdir/test_vim9_script.vim
6652
6653Patch 8.2.1013
6654Problem: Channel tests can be a bit flaky.
6655Solution: Set the g:test_is_flaky flag in SetUp().
6656Files: src/testdir/test_channel.vim
6657
6658Patch 8.2.1014
6659Problem: Using "name" for a string result is confusing.
6660Solution: Rename to "end".
6661Files: src/typval.c
6662
6663Patch 8.2.1015
6664Problem: Popup filter gets key with modifier prepended when using
6665 modifyOtherKeys.
6666Solution: Remove the shift modifier when it is included in the key, also
6667 when the Alt or Meta modifier is used.
6668Files: src/term.c, src/misc2.c, src/testdir/test_popupwin.vim
6669
6670Patch 8.2.1016
6671Problem: Vim9: test fails when channel feature is missing.
6672Solution: Process an :if command when skipping
6673Files: src/vim9compile.c
6674
6675Patch 8.2.1017
6676Problem: Appveyor output doesn't show MinGW console features.
6677Solution: List the features of the console build.
6678Files: ci/appveyor.bat
6679
6680Patch 8.2.1018
6681Problem: Typo in enum value. (James McCoy)
6682Solution: Fix the typo.
6683Files: src/vim9compile.c
6684
6685Patch 8.2.1019
6686Problem: Mapping <M-S-a> does not work in the GUI.
6687Solution: Move the logic to remove the shift modifier to
6688 may_remove_shift_modifier() and also use it in the GUI.
6689Files: src/gui_gtk_x11.c, src/misc2.c, src/proto/misc2.pro, src/term.c
6690
6691Patch 8.2.1020
6692Problem: Popupwin test fails in the GUI.
6693Solution: Send GUI byte sequence for <C-S-a>.
6694Files: src/testdir/test_popupwin.vim
6695
6696Patch 8.2.1021
6697Problem: Ruby interface not tested enough.
6698Solution: Add a couple more tests. (Dominique Pellé, closes #6301)
6699Files: src/testdir/test_ruby.vim
6700
6701Patch 8.2.1022
6702Problem: Various parts of code not covered by tests.
6703Solution: Add more tests. (Yegappan Lakshmanan, closes #6300)
6704Files: src/testdir/test_blob.vim, src/testdir/test_cpoptions.vim,
6705 src/testdir/test_digraph.vim, src/testdir/test_edit.vim,
6706 src/testdir/test_iminsert.vim, src/testdir/test_paste.vim,
6707 src/testdir/test_prompt_buffer.vim,
6708 src/testdir/test_selectmode.vim, src/testdir/test_tabpage.vim,
6709 src/testdir/test_tagjump.vim, src/testdir/test_textformat.vim,
6710 src/testdir/test_viminfo.vim, src/testdir/test_virtualedit.vim,
6711 src/testdir/test_visual.vim
6712
6713Patch 8.2.1023
6714Problem: Vim9: redefining a function uses a new index every time.
6715Solution: When redefining a function clear the contents and re-use the
6716 index.
6717Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
6718 src/structs.h, src/eval.c, src/evalvars.c, src/vim9execute.c
6719
6720Patch 8.2.1024
6721Problem: Vim9: no error for using "let g:var = val".
6722Solution: Add an error.
6723Files: src/evalvars.c, src/globals.h, src/structs.h, src/vim9compile.c,
6724 src/scriptfile.c, src/userfunc.c, src/testdir/test_vim9_script.vim,
6725 src/testdir/test_vim9_disassemble.vim,
6726 src/testdir/test_vim9_func.vim
6727
6728Patch 8.2.1025
6729Problem: Tabpage menu and tabline not sufficiently tested.
6730Solution: Add tests. (Yegappan Lakshmanan, closes #6307)
6731Files: src/testdir/test_digraph.vim, src/testdir/test_tabpage.vim
6732
6733Patch 8.2.1026
6734Problem: Vim9: cannot break the line after "->".
6735Solution: Check for a continuation line after "->", "[" and ".". Ignore
6736 trailing white space.
6737Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
6738
6739Patch 8.2.1027
6740Problem: GUI: multibyte characters do not work in a terminal.
6741Solution: Do not assume a key is one byte. (closes #6304)
6742Files: src/gui_gtk_x11.c, src/gui_x11.c
6743
6744Patch 8.2.1028
6745Problem: Vim9: no error for declaring buffer, window, etc. variable.
6746Solution: Give an error. Unify the error messages.
6747Files: src/evalvars.c, src/globals.h, src/vim9compile.c,
6748 src/proto/vim9compile.pro, src/testdir/test_vim9_expr.vim,
6749 src/testdir/test_vim9_script.vim
6750
6751Patch 8.2.1029
6752Problem: Vim9: cannot chain function calls with -> at line start.
6753Solution: Peek ahead for a following line starting with "->". (closes #6306)
6754Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
6755
6756Patch 8.2.1030
6757Problem: Reducing size of a terminal window may cause a crash.
6758Solution: Make sure the row and column don't become negative. (closes #6273)
6759Files: src/libvterm/src/state.c, src/libvterm/src/screen.c
6760
6761Patch 8.2.1031
6762Problem: Build failure with Perl5.32.
6763Solution: Define a few more functions. (Felix Yan, closes #6310)
6764Files: src/if_perl.xs
6765
6766Patch 8.2.1032
6767Problem: Error message for declaring a variable cannot be translated.
6768Solution: Enclose in _(). Make environment variable a separate message.
6769Files: src/globals.h, src/vim9compile.c
6770
6771Patch 8.2.1033
6772Problem: Not easy to read the test time in the test output.
6773Solution: Align the times. Make slow tests bold.
6774Files: src/testdir/runtest.vim
6775
6776Patch 8.2.1034
6777Problem: Compiler warning for uninitialized variables.
6778Solution: Add initializations. (John Marriott)
6779Files: src/vim9compile.c
6780
6781Patch 8.2.1035
6782Problem: setreg() does not always clear the register.
6783Solution: Clear the register if the dict argument is empty. (Andy Massimino,
6784 closes #3370)
6785Files: src/evalfunc.c, src/testdir/test_registers.vim
6786
6787Patch 8.2.1036
6788Problem: Popupwin test fails sometimes.
6789Solution: Use WaitForAssert() instead of a sleep.
6790Files: src/testdir/test_popupwin.vim
6791
6792Patch 8.2.1037
6793Problem: Vim9: crash when using line continuation inside :def.
6794Solution: Check for no more lines available.
6795Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
6796
6797Patch 8.2.1038
6798Problem: Popupwin test fails.
6799Solution: Fix WaitForAssert() argument.
6800Files: src/testdir/test_popupwin.vim
6801
6802Patch 8.2.1039
6803Problem: Cannot put NUL byte on clipboard.
6804Solution: Use the text length. (Christian Brabandt, closes #6312,
6805 closes #6149)
6806Files: src/winclip.c, src/testdir/test_registers.vim
6807
6808Patch 8.2.1040
6809Problem: Not enough testing for movement commands.
6810Solution: Add more tests. (Yegappan Lakshmanan, closes #6313)
6811Files: src/testdir/test_cursor_func.vim, src/testdir/test_functions.vim,
6812 src/testdir/test_gf.vim, src/testdir/test_normal.vim,
6813 src/testdir/test_options.vim, src/testdir/test_quickfix.vim
6814
6815Patch 8.2.1041
6816Problem: Test summary is missing executed count.
6817Solution: Adjust pattern used for counting.
6818Files: src/testdir/summarize.vim
6819
6820Patch 8.2.1042
6821Problem: Vim9: cannot put an operator on the next line.
6822Solution: Require a colon before a range to see if that causes problems.
6823Files: runtime/doc/vim9.txt, src/vim9compile.c, src/ex_docmd.c,
6824 src/globals.h, src/testdir/test_vim9_script.vim,
6825 src/testdir/test_vim9_expr.vim
6826
6827Patch 8.2.1043
6828Problem: %a item in 'statusline' not tested.
6829Solution: Add a test. (Dominique Pellé, closes #6318)
6830Files: src/testdir/test_statusline.vim
6831
6832Patch 8.2.1044
6833Problem: Not all systemd file types are recognized.
6834Solution: Match several more files. (Guido Cella, closes #6319)
6835Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6836
6837Patch 8.2.1045
6838Problem: Vim9: line break before operator does not work.
6839Solution: Peek the next line for an operator.
6840Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
6841
6842Patch 8.2.1046
6843Problem: Insufficient tests for src/buffer.c.
6844Solution: Add more tests. Move comments related tests to a separate file.
6845 (Yegappan Lakshmanan, closes #6325)
6846Files: src/testdir/Make_all.mak, src/testdir/test_buffer.vim,
6847 src/testdir/test_cmdline.vim, src/testdir/test_comments.vim,
6848 src/testdir/test_normal.vim, src/testdir/test_textformat.vim
6849
6850Patch 8.2.1047
6851Problem: Vim9: script cannot use line continuation like in a :def function.
6852Solution: Pass the getline function pointer to the eval() functions. Use it
6853 for addition and multiplication operators.
6854Files: src/vim.h, src/structs.h, src/globals.h, src/ex_eval.c,
6855 src/eval.c, src/proto/eval.pro, src/dict.c, src/evalfunc.c,
6856 src/evalvars.c, src/list.c, src/userfunc.c, src/scriptfile.c,
6857 src/proto/scriptfile.pro, src/testdir/test_vim9_expr.vim
6858
6859Patch 8.2.1048 (after 8.2.1047)
6860Problem: Build failure without the eval feature.
6861Solution: Add dummy typedef.
6862Files: src/structs.h
6863
6864Patch 8.2.1049 (after 8.2.1047)
6865Problem: Vim9: leaking memory when using continuation line.
6866Solution: Keep a pointer to the continuation line in evalarg_T. Centralize
6867 checking for a next command.
6868Files: src/structs.h, src/eval.c, src/proto/eval.pro, src/beval.c,
6869 src/buffer.c, src/clientserver.c, src/evalvars.c, src/ex_docmd.c,
6870 src/ex_eval.c, src/filepath.c, src/findfile.c, src/fold.c,
6871 src/globals.h, src/if_ole.cpp, src/if_perl.xs, src/if_tcl.c,
6872 src/map.c, src/quickfix.c, src/regexp.c, src/register.c,
6873 src/screen.c, src/userfunc.c
6874
6875Patch 8.2.1050 (after 8.2.1049)
6876Problem: Missing change in struct.
6877Solution: Add missing change.
6878Files: src/ex_cmds.h
6879
6880Patch 8.2.1051
6881Problem: Crash when changing a list while using reduce() on it.
6882Solution: Lock the list. (closes #6330)
6883Files: src/list.c, src/testdir/test_listdict.vim
6884
6885Patch 8.2.1052
6886Problem: Build failure with older compilers.
6887Solution: Move declaration to start of block.
6888Files: src/eval.c
6889
6890Patch 8.2.1053
6891Problem: Insufficient testing for 'statusline' and 'tabline'.
6892Solution: Add more tests. (Yegappan Lakshmanan, closes #6333)
6893Files: src/testdir/test_autocmd.vim, src/testdir/test_statusline.vim,
6894 src/testdir/test_tabline.vim
6895
6896Patch 8.2.1054
6897Problem: Not so easy to pass a lua function to Vim.
6898Solution: Convert a Lua function and closure to a Vim funcref. (Prabir
6899 Shrestha, closes #6246)
6900Files: runtime/doc/if_lua.txt, src/if_lua.c, src/proto/userfunc.pro,
6901 src/structs.h, src/testdir/test_lua.vim, src/userfunc.c
6902
6903Patch 8.2.1055
6904Problem: No filetype set for pacman config files.
6905Solution: Recognize pacman.conf and *.hook. (Guido Cella, closes #6335)
6906Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6907
6908Patch 8.2.1056
6909Problem: Wrong display when mixing match conceal and syntax conceal.
6910Solution: Adjust how conceal flags are used. (closes #6327, closes #6303)
6911Files: src/drawline.c, src/highlight.c,
6912 src/testdir/test_matchadd_conceal.vim
6913
6914Patch 8.2.1057 (after 8.2.1054)
6915Problem: Cannot build with dynamic Lua.
6916Solution: Add dll variables.
6917Files: src/if_lua.c
6918
6919Patch 8.2.1058
6920Problem: Multiline conceal causes display errors.
6921Solution: Do not allow conceal cross over EOL. (closes #6326, closes #4854,
6922 closes #6302)
6923Files: src/drawline.c, src/testdir/test_conceal.vim,
6924 src/testdir/test_diffmode.vim
6925
6926Patch 8.2.1059
6927Problem: Crash when using :tabonly in an autocommand. (Yegappan Lakshmanan)
6928Solution: Do not allow the autocommand window to be closed.
6929Files: src/ex_docmd.c, src/window.c, src/globals.h,
6930 src/testdir/test_autocmd.vim
6931
6932Patch 8.2.1060
6933Problem: Not all elinks files are recognized.
6934Solution: Just check for "elinks.conf". (Guido Cella, closes #6337)
6935Files: runtime/filetype.vim, src/testdir/test_filetype.vim
6936
6937Patch 8.2.1061
6938Problem: Insufficient testing for src/window.c.
6939Solution: Add more tests. (Yegappan Lakshmanan, closes #6345)
6940Files: src/testdir/test_excmd.vim, src/testdir/test_gf.vim,
6941 src/testdir/test_options.vim, src/testdir/test_popupwin.vim,
6942 src/testdir/test_quickfix.vim, src/testdir/test_tabpage.vim,
6943 src/testdir/test_tagjump.vim, src/testdir/test_window_cmd.vim,
6944 src/window.c
6945
6946Patch 8.2.1062
6947Problem: Vim9: no line break allowed inside "cond ? val1 : val2".
6948Solution: Check for operator after line break.
6949Files: src/eval.c, src/testdir/test_vim9_expr.vim
6950
6951Patch 8.2.1063
6952Problem: Vim9: no line break allowed before || or &&.
6953Solution: Check for operator after line break.
6954Files: src/eval.c, src/testdir/test_vim9_expr.vim
6955
6956Patch 8.2.1064
6957Problem: Vim9: no line break allowed before comparators.
6958Solution: Check for comparator after line break.
6959Files: src/eval.c, src/testdir/test_vim9_expr.vim
6960
6961Patch 8.2.1065
6962Problem: Vim9: no line break allowed inside a list.
6963Solution: Handle line break inside a list in Vim9 script.
6964Files: src/eval.c, src/proto/eval.pro, src/list.c, src/proto/list.pro,
6965 src/vim9compile.c, src/testdir/test_vim9_expr.vim,
6966 src/testdir/test_arglist.vim
6967
6968Patch 8.2.1066
6969Problem: Lua arrays are zero based.
6970Solution: Make Lua arrays one based. (Prabir Shrestha, closes #6347)
6971 Note: this is not backwards compatible.
6972Files: runtime/doc/if_lua.txt, src/if_lua.c, src/testdir/test_lua.vim
6973
6974Patch 8.2.1067
6975Problem: Expression "!expr->func()" does not work.
6976Solution: Apply plus and minus earlier. (closes #6348)
6977Files: src/eval.c, src/proto/eval.pro, src/evalvars.c, src/userfunc.c,
6978 src/testdir/test_expr.vim, src/testdir/test_vim9_expr.vim
6979
6980Patch 8.2.1068
6981Problem: Vim9: no line break allowed inside a dict.
6982Solution: Handle line break inside a dict in Vim9 script.
6983Files: src/eval.c, src/dict.c, src/proto/dict.pro,
6984 src/vim9compile.c, src/testdir/test_vim9_expr.vim
6985
6986Patch 8.2.1069
6987Problem: Vim9: fail to check for white space in list.
6988Solution: Add check for white space.
6989Files: src/list.c
6990
6991Patch 8.2.1070
6992Problem: Vim9: leaking memory when lacking white space in dict.
6993Solution: Clear the typval.
6994Files: src/dict.c
6995
6996Patch 8.2.1071
6997Problem: Vim9: no line break allowed inside a lambda.
6998Solution: Handle line break inside a lambda in Vim9 script.
6999Files: src/eval.c, src/proto/eval.pro, src/evalvars.c, src/userfunc.c,
7000 src/proto/userfunc.pro, src/popupwin.c, src/vim9compile.c,
7001 src/ex_eval.c, src/globals.h, src/structs.h,
7002 src/testdir/test_vim9_expr.vim
7003
7004Patch 8.2.1072
7005Problem: Missing libvterm test.
7006Solution: Sync with libvterm revision 768.
7007Files: src/libvterm/src/state.c, src/libvterm/t/63screen_resize.test
7008
7009Patch 8.2.1073
7010Problem: Vim9: no line break allowed in () expression.
7011Solution: Skip a line break.
7012Files: src/eval.c, src/testdir/test_vim9_expr.vim
7013
7014Patch 8.2.1074
7015Problem: Vim9: no line break allowed after some operators.
7016Solution: Skip a line break after the operator. Add
7017 eval_may_get_next_line() to simplify checking for a line break.
7018Files: src/eval.c, src/proto/eval.pro, src/dict.c, src/list.c,
7019 src/userfunc.c, src/testdir/test_vim9_expr.vim
7020
7021Patch 8.2.1075
7022Problem: Vim9: no line break allowed in :echo expression.
7023Solution: Skip linebreak.
7024Files: src/eval.c, src/testdir/test_vim9_cmd.vim
7025
7026Patch 8.2.1076
7027Problem: Vim9: no line break allowed in :if expression.
7028Solution: Skip linebreak.
7029Files: src/eval.c, src/proto/eval.pro, src/evalvars.c,
7030 src/testdir/test_vim9_cmd.vim
7031
7032Patch 8.2.1077
7033Problem: No enough test coverage for highlighting.
7034Solution: Add more tests. (Yegappan Lakshmanan, closes #6351)
7035Files: runtime/doc/syntax.txt, src/testdir/test_cmdline.vim,
7036 src/testdir/test_highlight.vim, src/testdir/test_match.vim
7037
7038Patch 8.2.1078
7039Problem: Highlight and match functionality together in one file.
7040Solution: Move match functionality to a separate file. (Yegappan Lakshmanan,
7041 closes #6352)
7042Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
7043 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
7044 src/highlight.c, src/match.c, src/proto.h,
7045 src/proto/highlight.pro, src/proto/match.pro
7046
7047Patch 8.2.1079
7048Problem: Vim9: no line break allowed in a while loop.
7049Solution: Update stored loop lines when finding line breaks.
7050Files: src/structs.h, src/globals.h, src/eval.c, src/evalvars.c,
7051 src/ex_docmd.c, src/proto/ex_docmd.pro,
7052 src/testdir/test_vim9_cmd.vim
7053
7054Patch 8.2.1080
7055Problem: Vim9: no line break allowed in a for loop.
7056Solution: Skip line breaks in for command.
7057Files: src/eval.c, src/ex_eval.c, src/proto/eval.pro, src/userfunc.c,
7058 src/structs.h, src/globals.h, src/testdir/test_vim9_cmd.vim
7059
7060Patch 8.2.1081
7061Problem: Lua: cannot use table.insert() and table.remove().
7062Solution: Add the list functions. (Prabir Shrestha, closes #6353)
7063Files: runtime/doc/if_lua.txt, src/if_lua.c, src/testdir/test_lua.vim
7064
7065Patch 8.2.1082
7066Problem: Coverity complains about ignoring dict_add() return value.
7067Solution: Add (void).
7068Files: src/evalfunc.c
7069
7070Patch 8.2.1083
7071Problem: Crash when using reduce() on a NULL list.
7072Solution: Only access the list when not NULL.
7073Files: src/list.c, src/testdir/test_listdict.vim
7074
7075Patch 8.2.1084
7076Problem: Lua: registering function has useless code.
7077Solution: Remove clearing grow arrays.
7078Files: src/userfunc.c
7079
7080Patch 8.2.1085
7081Problem: Coverity complains about ignoring dict_add() return value.
7082Solution: Add (void).
7083Files: src/register.c
7084
7085Patch 8.2.1086
7086Problem: Possibly using freed memory when text properties used when
7087 changing indent of a line.
7088Solution: Compute the offset before calling ml_replace().
7089Files: src/indent.c
7090
7091Patch 8.2.1087
7092Problem: Possible memory leak when file expansion fails.
7093Solution: Clear the grow array when returning FAIL. Use an error message
7094 instead of an empty string.
7095Files: src/filepath.c
7096
7097Patch 8.2.1088
7098Problem: A very long translation might cause a buffer overflow.
7099Solution: Truncate the message if needed.
7100Files: src/fileio.c
7101
7102Patch 8.2.1089
7103Problem: Coverity warns for pointer computation.
7104Solution: Avoid computing a pointer to invalid memory.
7105Files: src/spellfile.c
7106
7107Patch 8.2.1090
7108Problem: May use NULL pointer when skipping over name.
7109Solution: Always set ll_name_end.
7110Files: src/eval.c
7111
7112Patch 8.2.1091
7113Problem: No check if opening a pty works.
7114Solution: Check for invalid file descriptor.
7115Files: src/os_unix.c
7116
7117Patch 8.2.1092
7118Problem: Not checking if saving for undo succeeds.
7119Solution: Bail out if u_savesub() returns FAIL.
7120Files: src/textprop.c
7121
7122Patch 8.2.1093
7123Problem: Python: double free when adding item to dict fails.
7124Solution: Remove vim_free() call.
7125Files: src/if_py_both.h
7126
7127Patch 8.2.1094
7128Problem: Dead code in libvterm.
7129Solution: Remove condition that is always true.
7130Files: src/libvterm/src/pen.c
7131
7132Patch 8.2.1095
7133Problem: May use pointer after freeing it when text properties are used.
7134Solution: Update redo buffer before calling ml_replace().
7135Files: src/spellsuggest.c
7136
7137Patch 8.2.1096
7138Problem: Vim9: return type of getqflist() is wrong.
7139Solution: Let the return type depend on the arguments. Also for
7140 getloclist(). (closes #6357)
7141Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7142
7143Patch 8.2.1097
7144Problem: Highlight code not sufficiently tested.
7145Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6359)
7146Files: src/testdir/test_filter_cmd.vim, src/testdir/test_highlight.vim
7147
7148Patch 8.2.1098
7149Problem: Vim9: cannot use line break in :throw argument.
7150Solution: Check for line break.
7151Files: src/eval.c, src/testdir/test_vim9_script.vim
7152
7153Patch 8.2.1099
7154Problem: Vim9: cannot use line break in :cexpr argument.
7155Solution: Check for line break.
7156Files: src/eval.c, src/testdir/test_vim9_script.vim
7157
7158Patch 8.2.1100
7159Problem: Vim9: cannot use line break in :execute, :echomsg and :echoerr
7160 argument.
7161Solution: Check for line break.
7162Files: src/eval.c, src/testdir/test_vim9_script.vim
7163
7164Patch 8.2.1101
7165Problem: No error when using wrong arguments for setqflist() or
7166 setloclist().
7167Solution: Check for the error.
7168Files: src/quickfix.c, src/testdir/test_quickfix.vim
7169
7170Patch 8.2.1102
7171Problem: Coverity gets confused by an unnecessary NULL check.
7172Solution: Remove the check for NULL.
7173Files: src/quickfix.c
7174
7175Patch 8.2.1103
7176Problem: Coverity reports an unnecessary NULL check.
7177Solution: Remove the check for NULL.
7178Files: src/eval.c
7179
7180Patch 8.2.1104
7181Problem: Coverity warns for possible NULL pointer use.
7182Solution: Check "pbyts" is not NULL.
7183Files: src/spellsuggest.c
7184
7185Patch 8.2.1105
7186Problem: Insufficient test coverage for Lua.
7187Solution: Add tests. (Yegappan Lakshmanan, closes #6368) Fix uncovered
7188 memory leak. Avoid unnecessary copy/free.
7189Files: src/if_lua.c, src/testdir/test_lua.vim
7190
7191Patch 8.2.1106
7192Problem: Crash when trying to use s: variable in typed command.
7193Solution: Don't use the script index when not set. (Ken Takata,
7194 closes #6366)
7195Files: src/vim9compile.c, src/testdir/test_vimscript.vim
7196
7197Patch 8.2.1107
7198Problem: 'imactivatefunc' and 'imstatusfunc' are not used in the GUI.
7199Solution: Adjust the #ifdefs. (closes #6367)
7200Files: runtime/doc/options.txt, src/gui_xim.c,
7201 src/testdir/test_iminsert.vim
7202
7203Patch 8.2.1108
7204Problem: Mouse left-right scroll is not supported in terminal window.
7205Solution: Implement mouse codes 6 and 7. (Trygve Aaberge, closes #6363)
7206Files: src/libvterm/src/mouse.c, src/mouse.c, src/terminal.c,
7207 src/testdir/mouse.vim, src/testdir/test_termcodes.vim
7208
7209Patch 8.2.1109 (after 8.2.1106)
7210Problem: Still crashing when using s:variable.
7211Solution: Remove assignment. (Ken Takata)
7212Files: src/vim9compile.c
7213
7214Patch 8.2.1110
7215Problem: Vim9: line continuation does not work in function arguments.
7216Solution: Pass "evalarg" to get_func_tv(). Fix seeing double quoted string
7217 as comment.
7218Files: src/userfunc.c, src/proto/userfunc.pro, src/eval.c, src/ex_eval.c,
7219 src/list.c, src/dict.c, src/proto/eval.pro,
7220 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim
7221
7222Patch 8.2.1111
7223Problem: Inconsistent naming of get_list_tv() and eval_dict().
7224Solution: Rename get_list_tv() to eval_list(). Similarly for eval_number(),
7225 eval_string(), eval_lit_string() and a few others.
7226Files: src/eval.c, src/list.c, src/proto/list.pro, src/vim9compile.c,
7227 src/typval.c, src/proto/typval.pro, src/vim9script.c,
7228 src/evalfunc.c, src/evalvars.c, src/proto/evalvars.pro,
7229 src/vim9execute.c
7230
7231Patch 8.2.1112
7232Problem: Vim9: no line continuation allowed in method call.
7233Solution: Handle line continuation in expression before method call.
7234Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim,
7235 src/testdir/test_vim9_script.vim,
7236 src/testdir/test_vim9_expr.vim
7237
7238Patch 8.2.1113
7239Problem: No test for verbose output of :call.
7240Solution: Add a test.
7241Files: src/testdir/test_user_func.vim
7242
7243Patch 8.2.1114
7244Problem: Terminal test sometimes times out.
7245Solution: Split the test in two parts.
7246Files: src/testdir/Makefile, src/testdir/Make_all.mak,
7247 src/testdir/term_util.vim, src/testdir/test_terminal.vim,
7248 src/testdir/test_terminal2.vim
7249
7250Patch 8.2.1115
7251Problem: Iminsert test fails when compiled with VIMDLL.
7252Solution: Change condition. (Ken Takata, closes #6376)
7253Files: src/testdir/test_iminsert.vim
7254
7255Patch 8.2.1116
7256Problem: Vim9: parsing command checks for list twice.
7257Solution: Adjust how a command is parsed.
7258Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
7259
7260Patch 8.2.1117
7261Problem: Coverity warns for using uninitialized field.
7262Solution: Initialize v_lock.
7263Files: src/if_lua.c
7264
7265Patch 8.2.1118
7266Problem: Condition can never be true, dead code.
7267Solution: Remove the dead code.
7268Files: src/move.c
7269
7270Patch 8.2.1119
7271Problem: Configure fails with Xcode 12 beta.
7272Solution: use "return" instead of "exit()". (Nico Weber, closes #6381)
7273Files: src/configure.ac, src/auto/configure
7274
7275Patch 8.2.1120
7276Problem: Python code not tested properly.
7277Solution: Add more tests and convert old-style test into new-style test.
7278 (Yegappan Lakshmanan, closes #6370)
7279Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
7280 src/testdir/test86.in, src/testdir/test86.ok,
7281 src/testdir/test_python2.vim
7282
7283Patch 8.2.1121
7284Problem: Command completion not working after ++arg.
7285Solution: Move skipping up. (Christian Brabandt, closes #6382)
7286Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
7287
7288Patch 8.2.1122
7289Problem: Vim9: line continuation in dict member not recognized.
7290Solution: Check for line continuation.
7291Files: src/eval.c, src/testdir/test_vim9_expr.vim
7292
7293Patch 8.2.1123
7294Problem: Python 3 test is old style.
7295Solution: Turn into new style test. (Yegappan Lakshmanan, closes #6385)
7296Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
7297 src/testdir/test87.in, src/testdir/test87.ok,
7298 src/testdir/test_python2.vim, src/testdir/test_python3.vim
7299
7300Patch 8.2.1124
7301Problem: Vim9: no line break allowed in :import command.
7302Solution: Skip over line breaks.
7303Files: src/vim9script.c, src/proto/vim9script.pro, src/vim9compile.c,
7304 src/testdir/test_vim9_script.vim
7305
7306Patch 8.2.1125
7307Problem: Vim9: double quote can be a string or a comment.
7308Solution: Only support comments starting with # to avoid confusion.
7309Files: src/eval.c, src/proto/eval.pro, src/dict.c, src/list.c,
7310 src/vim9script.c
7311
7312Patch 8.2.1126
7313Problem: Vim9: using :copen causes an error.
7314Solution: Add flag LET_NO_COMMAND in set_var().
7315Files: src/evalvars.c, src/testdir/test_vim9_script.vim
7316
7317Patch 8.2.1127
7318Problem: Vim9: getting a dict member may not work.
7319Solution: Clear the dict only after copying the item. (closes #6390)
7320Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
7321
7322Patch 8.2.1128
7323Problem: The write message mentions characters, but it's actually bytes.
7324Solution: Change "C" to "B" and "characters" to "bytes".
7325Files: runtime/doc/options.txt, src/fileio.c,
7326 src/testdir/test_cscope.vim, src/testdir/test_netbeans.vim,
7327 src/testdir/dumps/Test_diff_syntax_1.dump,
7328 src/testdir/dumps/Test_long_file_name_1.dump,
7329 src/testdir/dumps/Test_display_unprintable_01.dump,
7330 src/testdir/dumps/Test_tselect_1.dump
7331
7332Patch 8.2.1129
7333Problem: Vim9: bar not recognized after not compiled command.
7334Solution: Check for bar for commands where this is possible. (closes #6391)
7335Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
7336
7337Patch 8.2.1130
7338Problem: Vim9: bar not recognized after function call
7339Solution: Skip whitespace. (closes #6391)
7340Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
7341
7342Patch 8.2.1131
7343Problem: Vim9: error message for returning a value in a function that does
7344 not return anything is not clear.
7345Solution: Add a specific message.
7346Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
7347
7348Patch 8.2.1132
7349Problem: Vim9: return type of repeat() is not specific enough.
7350Solution: Return the type of the first argument. (closes #6395)
7351Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7352
7353Patch 8.2.1133
7354Problem: Vim9: return type of add() is not specific enough.
7355Solution: Return the type of the first argument. (closes #6395)
7356Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7357
7358Patch 8.2.1134
7359Problem: Vim9: getting a list member may not work.
7360Solution: Clear the list only after copying the item. (closes #6393)
7361Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
7362
7363Patch 8.2.1135
7364Problem: Vim9: getting a dict member may not work.
7365Solution: Clear the dict only after copying the item.
7366Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
7367
7368Patch 8.2.1136
7369Problem: Vim9: return type of argv() is always any.
7370Solution: Use list<string> if there is no argument.
7371Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7372
7373Patch 8.2.1137
7374Problem: Vim9: modifiers not cleared after compiling function.
7375Solution: Clear command modifiers. (closes #6396)
7376Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
7377 src/testdir/test_vim9_func.vim,
7378 src/testdir/dumps/Test_vim9_silent_echo.dump
7379
7380Patch 8.2.1138
7381Problem: Vim9: return type of copy() and deepcopy() is any.
7382Solution: Use type of the argument.
7383Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7384
7385Patch 8.2.1139 (after 8.2.1137)
7386Problem: Vim9: test for silent echo fails in some environments.
7387Solution: Use :function instead of :def.
7388Files: src/testdir/test_vim9_func.vim
7389
7390Patch 8.2.1140
7391Problem: Vim9: return type of extend() is any.
7392Solution: Use type of the argument.
7393Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7394
7395Patch 8.2.1141
7396Problem: Vim9: return type of filter() is any.
7397Solution: Use type of the argument.
7398Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7399
7400Patch 8.2.1142
7401Problem: Vim9: return type of insert() is any.
7402Solution: Use type of the first argument.
7403Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7404
7405Patch 8.2.1143
7406Problem: Vim9: return type of remove() is any.
7407Solution: Use the member type of the first argument, if known.
7408Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7409
7410Patch 8.2.1144
7411Problem: Vim9: return type of reverse() is any.
7412Solution: Use the type of the first argument.
7413Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
7414
7415Patch 8.2.1145
7416Problem: Vim9: "for" only accepts a list at compile time.
7417Solution: Also accept a list at runtime.
7418Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
7419 src/testdir/test_vim9_disassemble.vim
7420
7421Patch 8.2.1146
7422Problem: Not enough testing for Python.
7423Solution: Add more tests. Fix uncovered problems. (Yegappan Lakshmanan,
7424 closes #6392)
7425Files: src/if_py_both.h, src/if_python3.c, src/testdir/shared.vim,
7426 src/testdir/test_python2.vim, src/testdir/test_python3.vim
7427
7428Patch 8.2.1147
7429Problem: :confirm may happen in cooked mode. (Jason Franklin)
7430Solution: Switch to raw mode before prompting. (Brandon Pfeifer)
7431Files: src/message.c, src/testdir/test_excmd.vim
7432
7433Patch 8.2.1148
7434Problem: Warning for using int instead of size_t.
7435Solution: Change "len" argument to size_t. (Mike Williams)
7436Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9script.c
7437
7438Patch 8.2.1149
7439Problem: Vim9: :eval command not handled properly.
7440Solution: Compile the :eval command. (closes #6408)
7441Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
7442
7443Patch 8.2.1150
7444Problem: ml_get error when using Python. (Yegappan Lakshmanan)
7445Solution: Check the line number is not out of range. Call "Check" with
7446 "fromObj" instead of "from".
7447Files: src/if_py_both.h, src/testdir/test_python2.vim,
7448 src/testdir/test_python3.vim
7449
7450Patch 8.2.1151
7451Problem: Insufficient test coverage for Python.
7452Solution: Add more test cases. (Yegappan Lakshmanan, closes #6415)
7453Files: src/testdir/test_python2.vim, src/testdir/test_python3.vim
7454
7455Patch 8.2.1152
7456Problem: Vim9: function reference is missing script prefix.
7457Solution: Use the actual function name instead of the name searched for in
7458 the script context. (closes #6412)
7459Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
7460
7461Patch 8.2.1153
7462Problem: Vim9: script test fails on some systems.
7463Solution: Return proper value from Compare().
7464Files: src/testdir/test_vim9_script.vim
7465
7466Patch 8.2.1154
7467Problem: Vim9: crash when using imported function.
7468Solution: Check for a function type. Set the script context when calling a
7469 function. (closes #6412)
7470Files: src/evalvars.c, src/scriptfile.c, src/proto/scriptfile.pro,
7471 src/vim9execute.c, src/structs.h, src/testdir/test_vim9_script.vim
7472
7473Patch 8.2.1155
7474Problem: Vim9: cannot handle line break inside lambda.
7475Solution: Pass the compilation context through. (closes #6407, closes #6409)
7476Files: src/structs.h, src/vim9compile.c, src/proto/vim9compile.pro,
7477 src/eval.c, src/testdir/test_vim9_func.vim
7478
7479Patch 8.2.1156
7480Problem: Vim9: No error for invalid command in compiled function.
7481Solution: Handle CMD_SIZE.
7482Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
7483
7484Patch 8.2.1157
7485Problem: Vim9: dict.name is not recognized as an expression.
7486Solution: Recognize ".name". (closes #6418)
7487Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
7488
7489Patch 8.2.1158 (after 8.2.1155)
7490Problem: Build error.
7491Solution: Add missing change to globals.
7492Files: src/globals.h
7493
7494Patch 8.2.1159
7495Problem: Vim9: no error for missing space after a comma.
7496Solution: Check for white space.
7497Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
7498 src/testdir/test_vim9_script.vim
7499
7500Patch 8.2.1160
7501Problem: Vim9: memory leak in allocated types.
7502Solution: Free the type pointers.
7503Files: src/vim9script.c, src/userfunc.c, src/vim9compile.c,
7504 src/proto/vim9compile.pro
7505
7506Patch 8.2.1161
7507Problem: Vim9: using freed memory.
7508Solution: Put pointer back in evalarg instead of freeing it.
7509Files: src/userfunc.c, src/vim9compile.c, src/eval.c, src/proto/eval.pro,
7510 src/structs.h
7511
7512Patch 8.2.1162
7513Problem: Crash when using a lambda.
7514Solution: Check for evalarg to be NULL.
7515Files: src/userfunc.c
7516
7517Patch 8.2.1163 (after 8.2.1161)
7518Problem: Build error.
7519Solution: Add missing change to globals.
7520Files: src/globals.h
7521
7522Patch 8.2.1164
7523Problem: Text cleared by checking terminal properties not redrawn. (Alexey
7524 Radkov)
7525Solution: Mark the screen characters as invalid. (closes #6422)
7526Files: src/screen.c, src/proto/screen.pro, src/term.c
7527
7528Patch 8.2.1165
7529Problem: Insufficient testing for the Tcl interface.
7530Solution: Add more tests. (Yegappan Lakshmanan, closes #6423)
7531Files: src/testdir/test_tcl.vim
7532
7533Patch 8.2.1166
7534Problem: Once mouse move events are enabled getchar() returns them.
7535Solution: Ignore K_MOUSEMOVE in getchar(). (closes #6424)
7536Files: runtime/doc/eval.txt, src/getchar.c
7537
7538Patch 8.2.1167
7539Problem: Vim9: builtin function method call only supports first argument.
7540Solution: Shift arguments when needed. (closes #6305, closes #6419)
7541Files: src/evalfunc.c, src/vim9compile.c, src/vim9execute.c,
7542 src/vim9.h, src/testdir/test_vim9_expr.vim,
7543 src/testdir/test_vim9_disassemble.vim
7544
7545Patch 8.2.1168
7546Problem: Wrong method argument for appendbufline().
7547Solution: Use FEARG_3.
7548Files: src/evalfunc.c
7549
7550Patch 8.2.1169
7551Problem: Write NUL past allocated space using corrupted spell file.
7552 (Markus Vervier)
7553Solution: Init "c" every time.
7554Files: src/spellfile.c
7555
7556Patch 8.2.1170
7557Problem: Cursor off by one with block paste while 'virtualedit' is "all".
7558Solution: Adjust condition. (Hugo Gualandi, closes #6430)
7559Files: src/register.c, src/testdir/test_registers.vim
7560
7561Patch 8.2.1171
7562Problem: Possible crash when out of memory.
7563Solution: Check for NULL pointer. (Dominique Pellé, closes #6432)
7564Files: src/syntax.c
7565
7566Patch 8.2.1172
7567Problem: Error messages when doing "make clean" in the runtime/doc or
7568 src/tee directories.
7569Solution: Use "rm -f".
7570Files: runtime/doc/Makefile, src/tee/Makefile
7571
7572Patch 8.2.1173
7573Problem: Tee doesn't build on some systems.
7574Solution: Include header files. (Dominique Pelle, closes #6431)
7575Files: src/tee/tee.c
7576
7577Patch 8.2.1174
7578Problem: No test for the "recording @x" message.
7579Solution: Add a test. (Dominique Pellé, closes #6427)
7580Files: src/testdir/test_registers.vim
7581
7582Patch 8.2.1175
7583Problem: Vim9: Cannot split a line before ".member".
7584Solution: Check for ".member" after line break.
7585Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
7586
7587Patch 8.2.1176
7588Problem: Vim9: not enough type checking in Vim9 script.
7589Solution: Use same type checking as in a :def function.
7590Files: src/vim9compile.c, src/proto/vim9compile.pro,
7591 src/eval.c, src/testdir/test_vim9_expr.vim
7592
7593Patch 8.2.1177
7594Problem: Terminal2 test sometimes hangs in the GUI.
7595Solution: Move some tests to other files to further locate the problem.
7596 Set the GUI to a fixed screen size.
7597Files: src/testdir/test_terminal.vim, src/testdir/test_terminal2.vim,
7598 src/testdir/test_terminal3.vim, src/testdir/Make_all.mak,
7599 src/testdir/runtest.vim
7600
7601Patch 8.2.1178
7602Problem: Vim9: filter function recognized as command modifier, leading to a
7603 crash.
7604Solution: Clear cmdmod after freeing items. Do not recognize a command
7605 modifier followed by non-white space. (closes #6434)
7606Files: src/ex_docmd.c, src/vim9compile.c, src/testdir/test_vim9_cmd.vim
7607
7608Patch 8.2.1179
7609Problem: Test_termwinscroll() sometimes hangs in the GUI.
7610Solution: Skip the test in the GUI.
7611Files: src/testdir/test_terminal2.vim
7612
7613Patch 8.2.1180
7614Problem: Build failure in small version.
7615Solution: Add #ifdef.
7616Files: src/ex_docmd.c
7617
7618Patch 8.2.1181
7619Problem: Json code not fully tested.
7620Solution: Add more test coverage. (Dominique Pellé, closes #6433)
7621Files: src/testdir/test_json.vim
7622
7623Patch 8.2.1182
7624Problem: Vim9: no check for whitespace after comma in lambda.
7625Solution: Give error if white space is missing.
7626Files: src/userfunc.c, src/testdir/test_vim9_expr.vim,
7627 src/testdir/test_vim9_func.vim
7628
7629Patch 8.2.1183
7630Problem: assert_fails() checks the last error message.
7631Solution: Check the first error, it is more relevant. Fix all the tests
7632 that rely on the old behavior.
7633Files: runtime/doc/testing.txt, src/message.c, src/globals.h,
7634 src/testing.c, src/testdir/test_autocmd.vim,
7635 src/testdir/test_buffer.vim, src/testdir/test_cd.vim,
7636 src/testdir/test_channel.vim, src/testdir/test_clientserver.vim,
7637 src/testdir/test_cmdline.vim, src/testdir/test_cpoptions.vim,
7638 src/testdir/test_cscope.vim, src/if_cscope.c,
7639 src/testdir/test_excmd.vim, src/evalvars.c,
7640 src/testdir/test_expr.vim, src/testdir/test_functions.vim,
7641 src/testdir/test_json.vim, src/testdir/test_let.vim,
7642 src/testdir/test_listdict.vim, src/testdir/test_listener.vim,
7643 src/testdir/test_match.vim, src/testdir/test_menu.vim,
7644 src/testdir/test_method.vim, src/testdir/test_normal.vim,
7645 src/testdir/test_popup.vim, src/testdir/test_python2.vim,
7646 src/testdir/test_python3.vim, src/testdir/test_quickfix.vim,
7647 src/testdir/test_random.vim, src/testdir/test_search.vim,
7648 src/testdir/test_signs.vim, src/testdir/test_spell.vim,
7649 src/testdir/test_substitute.vim, src/testdir/test_syntax.vim,
7650 src/testdir/test_tagjump.vim, src/testdir/test_taglist.vim,
7651 src/testdir/test_terminal.vim, src/testdir/test_textprop.vim,
7652 src/testdir/test_trycatch.vim,
7653 src/testdir/test_vim9_disassemble.vim,
7654 src/testdir/test_vim9_func.vim, src/vim9compile.c,
7655 src/testdir/test_vim9_script.vim, src/testdir/test_viminfo.vim,
7656 src/testdir/test_winbuf_close.vim,
7657 src/testdir/test_window_cmd.vim, src/testdir/test_writefile.vim,
7658 src/testdir/test_regexp_latin.vim, src/testdir/test_utf8.vim,
7659 src/testdir/test_global.vim, src/testdir/test_tagfunc.vim
7660
7661Patch 8.2.1184 (after 8.2.1183)
7662Problem: Some tests fail.
7663Solution: Adjust tests for different assert_fails() behavior. Remove unused
7664 variable.
7665Files: src/testdir/test_assert.vim, src/testdir/test_eval_stuff.vim,
7666 src/evalvars.c
7667
7668Patch 8.2.1185 (after 8.2.1183)
7669Problem: Some other tests fail.
7670Solution: Adjust tests for different assert_fails() behavior.
7671Files: src/testdir/test_lua.vim, src/testdir/test_tcl.vim
7672
7673Patch 8.2.1186
7674Problem: With SGR mouse codes balloon doesn't show up after click.
7675Solution: Add the MOUSE_RELEASE bits to mouse_code.
7676Files: src/mouse.c
7677
7678Patch 8.2.1187
7679Problem: Terminal2 test sometimes hangs in the GUI on Travis.
7680Solution: Disable Test_zz2_terminal_guioptions_bang() for now.
7681Files: src/testdir/test_terminal2.vim
7682
7683Patch 8.2.1188
7684Problem: Memory leak with invalid json input.
7685Solution: Free all keys at the end. (Dominique Pellé, closes #6443,
7686 closes #6442)
7687Files: src/json.c, src/testdir/test_json.vim
7688
7689Patch 8.2.1189
7690Problem: Vim9: line continuation in lambda doesn't always work.
7691Solution: Do not use a local evalarg unless there isn't one. (closes #6439)
7692Files: src/eval.c, src/testdir/test_vim9_expr.vim
7693
7694Patch 8.2.1190
7695Problem: Vim9: checking for Vim9 syntax is spread out.
7696Solution: Use in_vim9script().
7697Files: src/vim9script.c, src/dict.c, src/eval.c, src/evalvars.c,
7698 src/ex_docmd.c, src/list.c, src/scriptfile.c, src/userfunc.c
7699
7700Patch 8.2.1191
7701Problem: Vim9: crash when function calls itself.
7702Solution: Add status UF_COMPILING. (closes #6441)
7703Files: src/structs.h, src/vim9compile.c, src/testdir/test_vim9_func.vim
7704
7705Patch 8.2.1192
7706Problem: Lua test fails with older Lua version.
7707Solution: Adjust expected error messages. (closes #6444)
7708Files: src/testdir/test_lua.vim
7709
7710Patch 8.2.1193
7711Problem: Terminal window not redrawn when dragging a popup window over it.
7712Solution: Redraw terminal window. (fixes #6438)
7713Files: src/popupwin.c, src/testdir/test_popupwin.vim,
7714 src/testdir/dumps/Test_popupwin_term_01.dump,
7715 src/testdir/dumps/Test_popupwin_term_02.dump
7716
7717Patch 8.2.1194
7718Problem: Test failure because shell prompt differs.
7719Solution: Set the shell prompt.
7720Files: src/testdir/test_popupwin.vim,
7721 src/testdir/dumps/Test_popupwin_term_01.dump,
7722 src/testdir/dumps/Test_popupwin_term_02.dump
7723
7724Patch 8.2.1195
7725Problem: Clientserver test fails on MS-Windows.
7726Solution: Expect a different error message.
7727Files: src/testdir/test_clientserver.vim
7728
7729Patch 8.2.1196
7730Problem: Build failure with normal features.
7731Solution: Add #ifdef.
7732Files: src/popupwin.c
7733
7734Patch 8.2.1197
7735Problem: Clientserver test still fails on MS-Windows.
7736Solution: Expect a different error message.
7737Files: src/testdir/test_clientserver.vim
7738
7739Patch 8.2.1198
7740Problem: Terminal2 test sometimes hangs in the GUI on Travis.
7741Solution: Move test function to terminal3 to see if the problem moves too.
7742Files: src/testdir/test_terminal2.vim, src/testdir/test_terminal3.vim
7743
7744Patch 8.2.1199
7745Problem: Not all assert functions are fully tested.
7746Solution: Test more assert functions.
7747Files: src/testing.c, src/testdir/test_assert.vim
7748
7749Patch 8.2.1200
7750Problem: Vim9: cannot disassemble a lambda function.
7751Solution: Recognize "<lambda>123" as a function name.
7752Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim
7753
7754Patch 8.2.1201
7755Problem: Vim9: crash when passing number as dict key.
7756Solution: Check key type to be string. (closes #6449)
7757Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
7758
7759Patch 8.2.1202
7760Problem: Vim9: crash when calling a closure from a builtin function.
7761Solution: Use the current execution context. (closes #6441)
7762Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
7763
7764Patch 8.2.1203
7765Problem: Unused assignments in expression evaluation.
7766Solution: Move declarations and assignments to inner blocks where possible.
7767Files: src/eval.c
7768
7769Patch 8.2.1204
7770Problem: Vim9: true and false not recognized in Vim9 script.
7771Solution: Recognize true and false.
7772Files: src/eval.c, src/testdir/test_vim9_expr.vim
7773
7774Patch 8.2.1205
7775Problem: Vim9: && and || work differently when not compiled.
7776Solution: Keep the value.
7777Files: src/eval.c, src/testdir/test_vim9_expr.vim
7778
7779Patch 8.2.1206
7780Problem: Vim9: crash in expr test when run in the GUI.
7781Solution: Temporarily comment out two test lines.
7782Files: src/testdir/test_vim9_expr.vim
7783
7784Patch 8.2.1207
7785Problem: Vim9: crash in expr test when run in the GUI.
7786Solution: Break out of loop over hashtab also when function got removed and
7787 added.
7788Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
7789
7790Patch 8.2.1208
7791Problem: Build failure.
7792Solution: Add missing change.
7793Files: src/structs.h
7794
7795Patch 8.2.1209
7796Problem: Vim9: test failure.
7797Solution: Add missing changes to hashtab.
7798Files: src/hashtab.c
7799
7800Patch 8.2.1210
7801Problem: Using ht_used when looping through a hashtab is less reliable.
7802Solution: Use ht_changed in a few more places.
7803Files: src/userfunc.c, src/if_py_both.h
7804
7805Patch 8.2.1211 (after 8.2.1118)
7806Problem: Removed more than dead code.
7807Solution: Put back the decrement.
7808Files: src/move.c, src/testdir/test_diffmode.vim
7809
7810Patch 8.2.1212
7811Problem: Cannot build with Lua 5.4.
7812Solution: Use luaL_typeerror instead defining it. (closes #6454)
7813Files: src/if_lua.c
7814
7815Patch 8.2.1213
7816Problem: Mouse codes not tested sufficiently.
7817Solution: Add more tests for mouse codes. (closes #6436)
7818Files: src/testdir/test_termcodes.vim
7819
7820Patch 8.2.1214
7821Problem: MS-Windows: default _vimrc not correct in silent install mode.
7822Solution: Add the LoadDefaultVimrc macro. (Ken Takata, closes #6451)
7823Files: nsis/gvim.nsi
7824
7825Patch 8.2.1215
7826Problem: Atari MiNT support is outdated.
7827Solution: Nobody responded this code is still useful, so let's delete it.
7828Files: Filelist, src/os_mint.h, src/vim.h, src/Make_mint.mak,
7829 src/digraph.c, src/fileio.c, src/memfile.c, src/os_unix.c,
7830 src/term.c, READMEdir/README_extra.txt, runtime/doc/os_mint.txt,
7831 src/INSTALL
7832
7833Patch 8.2.1216
7834Problem: Startup test fails.
7835Solution: Adjust expected values for deleted lines.
7836Files: src/testdir/test_startup.vim
7837
7838Patch 8.2.1217
7839Problem: Startup test depends on random source file.
7840Solution: Write a test file to find quickfix errors in.
7841Files: src/testdir/test_startup.vim
7842
7843Patch 8.2.1218
7844Problem: Vim9: cannot use 'text'->func().
7845Solution: Recognize string at start of command.
7846Files: src/vim9compile.c, src/ex_docmd.c, src/testdir/test_vim9_func.vim
7847
7848Patch 8.2.1219
7849Problem: Symlink not followed if dirname ends in //.
7850Solution: Resolve symlink earlier. (Tomáš Janoušek, closes #6454)
7851Files: src/memline.c, src/testdir/test_swap.vim
7852
7853Patch 8.2.1220
7854Problem: memory access error when dragging a popup window over a buffer
7855 with folding.
7856Solution: Avoid going over the end of the cache. (closes #6438)
7857Files: src/mouse.c, src/testdir/test_popupwin.vim,
7858 src/testdir/dumps/Test_popupwin_term_01.dump,
7859 src/testdir/dumps/Test_popupwin_term_02.dump,
7860 src/testdir/dumps/Test_popupwin_term_03.dump,
7861 src/testdir/dumps/Test_popupwin_term_04.dump
7862
7863Patch 8.2.1221
7864Problem: Memory leak when updating popup window.
7865Solution: Clear search highlighting.
7866Files: src/popupwin.c
7867
7868Patch 8.2.1222
7869Problem: When using valgrind a Vim command started by a test uses the same
7870 log file name which gets overwritten.
7871Solution: Fix regexp to rename the log file.
7872Files: src/testdir/shared.vim
7873
7874Patch 8.2.1223
7875Problem: Vim9: invalid type error for function default value.
7876Solution: Use right argument index. (closes #6458)
7877Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
7878
7879Patch 8.2.1224
7880Problem: Vim9: arguments from partial are not used.
7881Solution: Put the partial arguments on the stack. (closes #6460)
7882Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
7883
7884Patch 8.2.1225
7885Problem: Linker errors when building with dynamic Python 3.9.
7886Solution: Add #defined items. (closes #6461)
7887Files: src/if_python3.c
7888
7889Patch 8.2.1226
7890Problem: MS-Windows: windows positioning wrong when the taskbar is placed
7891 at the top or left of the screen.
7892Solution: Use GetWindowRect and MoveWindow APIs. (Yukihiro Nakadaira,
7893 Ken Takata, closes #6455)
7894Files: src/gui_w32.c
7895
7896Patch 8.2.1227
7897Problem: Vim9: allowing both quoted and # comments is confusing.
7898Solution: Only support # comments in Vim9 script.
7899Files: runtime/doc/vim9.txt, src/ex_docmd.c, src/proto/ex_docmd.pro,
7900 src/vim9compile.c, src/testdir/test_vim9_disassemble.vim,
7901 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
7902 src/testdir/test_vim9_script.vim
7903
7904Patch 8.2.1228
7905Problem: Scrollbars not flush against the window edges when maximised.
7906Solution: Add padding. (Ken Takata, closes #5602, closes #6466)
7907Files: src/gui.c, src/gui_athena.c, src/gui_gtk.c, src/gui_haiku.cc,
7908 src/gui_mac.c, src/gui_motif.c, src/gui_photon.c, src/gui_w32.c,
7909 src/proto/gui_athena.pro, src/proto/gui_gtk.pro,
7910 src/proto/gui_haiku.pro, src/proto/gui_mac.pro,
7911 src/proto/gui_motif.pro, src/proto/gui_photon.pro,
7912 src/proto/gui_w32.pro
7913
7914Patch 8.2.1229
7915Problem: Build error without the eval feature.
7916Solution: Declare starts_with_colon. Make function local.
7917Files: src/ex_docmd.c, src/proto/ex_docmd.pro
7918
7919Patch 8.2.1230
7920Problem: Vim9: list index error not caught by try/catch.
7921Solution: Do not bail out if an error is inside try/catch. (closes #6462)
7922Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
7923
7924Patch 8.2.1231
7925Problem: MS-Windows: GUI code can be cleaned up.
7926Solution: Do a bit of cleaning up. (Ken Takata, closes #6465)
7927Files: src/gui_w32.c, src/proto/gui_w32.pro
7928
7929Patch 8.2.1232
7930Problem: MS-Windows GUI: Snap cancelled by split command.
7931Solution: Do not cancel Snap when splitting a window. (Ken Takata,
7932 closes #6467)
7933Files: src/gui_w32.c
7934
7935Patch 8.2.1233
7936Problem: Vim9: various errors not caught by try/catch.
7937Solution: Do not bail out if an error is inside try/catch.
7938Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
7939
7940Patch 8.2.1234
7941Problem: Lua build problem with old compiler.
7942Solution: Move declarations to start of the block. (Taro Muraoka,
7943 closes #6477)
7944Files: src/if_lua.c
7945
7946Patch 8.2.1235
7947Problem: Not all mouse codes covered by tests.
7948Solution: Add more tests for the mouse. (Yegappan Lakshmanan, closes #6472)
7949Files: src/testdir/mouse.vim, src/testdir/test_termcodes.vim
7950
7951Patch 8.2.1236
7952Problem: Vim9: a few errors not caught by try/catch.
7953Solution: Do not bail out if an error is inside try/catch. Fix that a not
7954 matching catch doesn't jump to :endtry.
7955Files: src/vim9compile.c, src/vim9execute.c,
7956 src/testdir/test_vim9_script.vim
7957
7958Patch 8.2.1237
7959Problem: Changing 'completepopup' after opening a popup has no effect. (Jay
7960 Sitter)
7961Solution: Close the popup when the options are changed. (closes #6471)
7962Files: runtime/doc/options.txt, src/popupwin.c, src/proto/popupwin.pro,
7963 src/optionstr.c, src/testdir/test_popupwin.vim,
7964 src/testdir/dumps/Test_popupwin_infopopup_8.dump
7965
7966Patch 8.2.1238
7967Problem: Vim9: a few remaining errors not caught by try/catch.
7968Solution: Do not bail out if an error is inside try/catch.
7969Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
7970
7971Patch 8.2.1239
7972Problem: "maxwidth" in 'completepopup' not obeyed. (Jay Sitter)
7973Solution: Add separate field for value from option. (closes #6470)
7974Files: src/structs.h, src/popupwin.c, src/popupmenu.c,
7975 src/testdir/dumps/Test_popupwin_infopopup_9.dump
7976
7977Patch 8.2.1240
7978Problem: GUI tests sometimes fail because of translations.
7979Solution: Reload the menus without translation. (Taro Muraoka, closes #6486)
7980Files: src/testdir/runtest.vim
7981
7982Patch 8.2.1241
7983Problem: Cannot use getbufinfo() as a method.
7984Solution: Support using getbufinfo() as a method. (closes #6458)
7985Files: runtime/doc/eval.txt, src/evalfunc.c,
7986 src/testdir/test_bufwintabinfo.vim
7987
7988Patch 8.2.1242
7989Problem: Vim9: no error if calling a function with wrong argument type.
7990Solution: Check types of arguments. (closes #6469)
7991Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9execute.c,
7992 src/testdir/test_vim9_func.vim
7993
7994Patch 8.2.1243
7995Problem: Vim9: cannot have a comment or empty line halfway a list at script
7996 level.
7997Solution: Skip more than one line if needed.
7998Files: src/vim9compile.c, src/proto/vim9compile.pro, src/eval.c,
7999 src/scriptfile.c
8000
8001Patch 8.2.1244
8002Problem: Vim9: in lambda index assumes a list.
8003Solution: Use the value type to decide about list or dict. (closes #6479)
8004Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8005
8006Patch 8.2.1245
8007Problem: Build failure in tiny version.
8008Solution: Add #ifdef.
8009Files: src/scriptfile.c
8010
8011Patch 8.2.1246
8012Problem: Vim9: comment after assignment doesn't work.
8013Solution: Skip over white space. (closes #6481)
8014Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8015
8016Patch 8.2.1247
8017Problem: Vim9: cannot index a character in a string.
8018Solution: Add ISN_STRINDEX instruction. (closes #6478)
8019Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
8020 src/testdir/test_vim9_expr.vim
8021
8022Patch 8.2.1248
8023Problem: Netbeans test is flaky in the GUI.
8024Solution: Filter out geometry messages. (Taro Muraoka, closes #6487)
8025Files: src/testdir/test_netbeans.vim
8026
8027Patch 8.2.1249
8028Problem: Vim9: disassemble test fails.
8029Solution: Change INDEX to LISTINDEX. Add test for STRINDEX.
8030Files: src/testdir/test_vim9_disassemble.vim
8031
8032Patch 8.2.1250
8033Problem: Vim9: cannot use the g:, b:, t: and w: namespaces.
8034Solution: Add instructions to push a dict for the namespaces. (closes #6480)
8035Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
8036 src/testdir/test_vim9_disassemble.vim,
8037 src/testdir/test_vim9_expr.vim
8038
8039Patch 8.2.1251
8040Problem: Vim9: warning for pointer usage, test failure undetected.
8041Solution: Fix pointer indirection. Give error when executing function
8042 failed for any reason. Fix instruction names.
8043Files: src/vim9execute.c, src/userfunc.c, src/proto/userfunc.pro
8044
8045Patch 8.2.1252
8046Problem: ":marks" may show '< and '> mixed up.
8047Solution: Show the mark position as where '< and '> would jump.
8048Files: src/mark.c, src/testdir/test_marks.vim
8049
8050Patch 8.2.1253
8051Problem: CTRL-K in Insert mode gets <CursorHold> inserted. (Roland
8052 Puntaier)
8053Solution: Do not reset did_cursorhold, restore it. (closes #6447)
8054Files: src/normal.c
8055
8056Patch 8.2.1254
8057Problem: MS-Windows: regexp test may fail if 'iskeyword' set wrongly.
8058Solution: Override the 'iskeyword' value. (Taro Muraoka, closes #6502)
8059Files: src/testdir/test_regexp_utf8.vim
8060
8061Patch 8.2.1255
8062Problem: Cannot use a lambda with quickfix functions.
8063Solution: Add support for lambda. (Yegappan Lakshmanan, closes #6499)
8064Files: runtime/doc/eval.txt, runtime/doc/options.txt,
8065 runtime/doc/quickfix.txt, src/channel.c, src/evalvars.c,
8066 src/optionstr.c, src/proto/evalvars.pro, src/proto/quickfix.pro,
8067 src/quickfix.c, src/testdir/test_quickfix.vim
8068
8069Patch 8.2.1256
8070Problem: Vim9: type wrong after getting dict item in lambda.
8071Solution: Set the type to "any" after enforcing dict type. (closes #6491)
8072Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8073
8074Patch 8.2.1257
8075Problem: Vim9: list unpack doesn't work at the script level.
8076Solution: Detect unpack assignment better. (closes #6494)
8077Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
8078
8079Patch 8.2.1258 (after 8.2.1253)
8080Problem: CursorHold does not work well.a (Shane-XB-Qian)
8081Solution: Only restore did_cursorhold when using :normal.
8082Files: src/normal.c
8083
8084Patch 8.2.1259
8085Problem: Empty group in 'tabline' may cause using an invalid pointer.
8086Solution: Set the group start position. (closes #6505)
8087Files: src/buffer.c, src/testdir/test_tabline.vim
8088
8089Patch 8.2.1260
8090Problem: There is no good test for CursorHold.
8091Solution: Add a test. Remove duplicated test. (Yegappan Lakshmanan,
8092 closes #6503)
8093Files: src/testdir/test_autocmd.vim, src/testdir/test_buffer.vim,
8094 src/testdir/test_normal.vim
8095
8096Patch 8.2.1261
8097Problem: Vim9: common type of function not tested.
8098Solution: Add a test. Fix uncovered problems.
8099Files: src/vim9compile.c, src/vim9execute.c,
8100 src/testdir/test_vim9_expr.vim
8101
8102Patch 8.2.1262
8103Problem: src/ex_cmds.c file is too big.
8104Solution: Move help related code to src/help.c. (Yegappan Lakshmanan,
8105 closes #6506)
8106Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
8107 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
8108 src/cmdexpand.c, src/ex_cmds.c, src/help.c, src/proto.h,
8109 src/proto/ex_cmds.pro, src/proto/help.pro
8110
8111Patch 8.2.1263
8112Problem: Vim9: comparators use 'ignorecase' in Vim9 script.
8113Solution: Ignore 'ignorecase'. Use true and false instead of 1 and 0.
8114 (closes #6497)
8115Files: src/eval.c, src/typval.c, src/vim9execute.c,
8116 src/testdir/test_vim9_expr.vim
8117
8118Patch 8.2.1264
8119Problem: Terminal getwinpos() test is a bit flaky.
8120Solution: Call getwinpos() a bit later.
8121Files: src/testdir/test_terminal3.vim
8122
8123Patch 8.2.1265
8124Problem: Crash with EXITFREE when split() fails.
8125Solution: Restore 'cpoptions'.
8126Files: src/evalfunc.c
8127
8128Patch 8.2.1266 (after 8.2.1262)
8129Problem: Makefile preference were accidentally included.
8130Solution: Revert the Makefile changes.
8131Files: src/Makefile
8132
8133Patch 8.2.1267
8134Problem: MS-Windows: tests may fail due to $PROMPT value.
8135Solution: Set $PROMPT for testing. (Taro Muraoka, closes #6510)
8136Files: src/testdir/runtest/vim
8137
8138Patch 8.2.1268
8139Problem: Vim9: no error for using double quote comment after :func or :def.
8140Solution: Only accept double quote when not in Vim9 script and not after
8141 :def. (closes #6483)
8142Files: src/userfunc.c, src/testdir/test_vim9_script.vim
8143
8144Patch 8.2.1269
8145Problem: Language and locale code spread out.
8146Solution: Move relevant code to src/locale.c. (Yegappan Lakshmanan,
8147 closes #6509)
8148Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
8149 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
8150 src/ex_cmds2.c, src/locale.c, src/main.c, src/proto.h,
8151 src/proto/ex_cmds2.pro, src/proto/locale.pro
8152
8153Patch 8.2.1270
8154Problem: Vim9: not skipping over function type declaration with only a
8155 return type.
8156Solution: Skip over the return type. (issue #6507)
8157Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8158
8159Patch 8.2.1271
8160Problem: Vim9: Error for Funcref function argument type.
8161Solution: Find the actual function type if possible. (issue #6507)
8162Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8163
8164Patch 8.2.1272
8165Problem: Vim9: type not checked if declaration also assigns value.
8166Solution: Check the type. (issue #6507)
8167Files: src/eval.c, src/vim9compile.c, src/proto/vim9compile.pro,
8168 src/vim9script.c, src/vim9execute.c,
8169 src/testdir/test_vim9_script.vim
8170
8171Patch 8.2.1273
8172Problem: MS-Windows: terminal test may leave file behind.
8173Solution: Wait a moment for process to end before deleting the file.
8174 (Taro Muraoka, closes #6513)
8175Files: src/testdir/test_terminal.vim
8176
8177Patch 8.2.1274
8178Problem: Vim9: no error for missing white space in assignment at script
8179 level.
8180Solution: Check for white space. (closes #6495)
8181Files: src/eval.c, src/evalvars.c, src/testdir/test_vim9_script.vim,
8182 src/testdir/test_let.vim
8183
8184Patch 8.2.1275
8185Problem: Vim9: compiler warning for buffer size.
8186Solution: Change the offset from 10 to 15. (Dominique Pellé, closes #6518)
8187Files: src/vim9script.c
8188
8189Patch 8.2.1276
8190Problem: MS-Windows: system test may fail if more.exe is installed.
8191Solution: Explicitly use more.com. (Taro Muraoka, Ken Takata, closes #6517)
8192Files: src/testdir/test_system.vim
8193
8194Patch 8.2.1277
8195Problem: Tests on Travis do not run with EXITFREE.
8196Solution: Add EXITFREE to all builds to uncover any mistakes.
8197Files: .travis.yml
8198
8199Patch 8.2.1278
8200Problem: Vim9: line break after "->" only allowed in :def function.
8201Solution: Only allow line break after "->". (closes #6492)
8202Files: src/vim9compile.c, src/globals.h, src/testdir/test_vim9_expr.vim
8203
8204Patch 8.2.1279
8205Problem: Some tests on Travis have EXITFREE duplicated.
8206Solution: Remove EXITFREE from shadowopt. Add "shadow" to job name.
8207Files: .travis.yml
8208
8209Patch 8.2.1280
8210Problem: Ex command error cannot contain an argument.
8211Solution: Add ex_errmsg() and translate earlier. Use e_trailing_arg where
8212 possible.
8213Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/buffer.c,
8214 src/ex_eval.c, src/match.c, src/testdir/test_tabpage.vim
8215
8216Patch 8.2.1281
8217Problem: The "trailing characters" error can be hard to understand.
8218Solution: Add the trailing characters to the message.
8219Files: src/cmdhist.c, src/eval.c, src/evalfunc.c, src/evalvars.c,
8220 src/ex_cmds.c, src/ex_docmd.c, src/ex_eval.c, src/json.c,
8221 src/menu.c, src/quickfix.c, src/sign.c, src/userfunc.c
8222
8223Patch 8.2.1282
8224Problem: Vim9: crash when using CheckScriptFailure() in
8225 Test_vim9script_call_fail_decl().
8226Solution: Do not decrement the def_functions len unless the function was
8227 newly added.
8228Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8229
8230Patch 8.2.1283
8231Problem: Vim9: error for misplaced -> lacks argument.
8232Solution: Use the pointer before it was advanced.
8233Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8234
8235Patch 8.2.1284
8236Problem: Vim9: skipping over type includes following white space, leading
8237 to an error for missing white space.
8238Solution: Do not skip over white space after the type.
8239Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8240
8241Patch 8.2.1285
8242Problem: Vim9: argument types are not checked on assignment.
8243Solution: Check function argument types. (issue #6507)
8244Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8245
8246Patch 8.2.1286
8247Problem: Vim9: No error when using a type on a window variable
8248Solution: Recognize the syntax and give an error. (closes #6521)
8249Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
8250
8251Patch 8.2.1287
8252Problem: Vim9: crash when using an imported function.
8253Solution: Add the function type to the imported entry. (closes #6522)
8254Files: src/vim9script.c, src/vim9compile.c,
8255 src/testdir/test_vim9_script.vim
8256
8257Patch 8.2.1288
8258Problem: Vim9: cannot use mark in range.
8259Solution: Use the flag that a colon was seen. (closes #6528)
8260Files: src/ex_docmd.c, src/testdir/test_vim9_func.vim
8261
8262Patch 8.2.1289
8263Problem: Crash when using a custom completion function.
8264Solution: Initialize all of the expand_T. (closes #6532)
8265Files: src/cmdexpand.c
8266
8267Patch 8.2.1290
8268Problem: Vim9: cannot replace a global function.
8269Solution: Allow for "!" on a global function. (closes #6524) Also fix that
8270 :delfunc on a :def function only made it empty.
8271Files: src/userfunc.c, src/testdir/test_vim9_script.vim
8272
8273Patch 8.2.1291
8274Problem: Vim9: type of varargs items is not checked.
8275Solution: Check the list item types. (closes #6523)
8276Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
8277
8278Patch 8.2.1292
8279Problem: AIDL filetype not recognized.
8280Solution: Add filetype detection. (Dominique Pellé, closes #6533)
8281Files: runtime/filetype.vim, src/testdir/test_filetype.vim
8282
8283Patch 8.2.1293
8284Problem: Vim9: :execute mixes up () expression and function call.
8285Solution: Do not skip white space when looking for the "(". (closes #6531)
8286Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8287
8288Patch 8.2.1294
8289Problem: Vim9: error when using vim9script in TextYankPost.
8290Solution: Use EX_LOCKOK instead of the EX_CMDWIN flag for command that can
8291 be used when text is locked. (closes #6529)
8292Files: src/ex_cmds.h, src/ex_docmd.c
8293
8294Patch 8.2.1295
8295Problem: Tests 44 and 99 are old style.
8296Solution: Convert to new style tests. (Yegappan Lakshmanan, closes #6536)
8297Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms,
8298 src/testdir/test44.in, src/testdir/test44.ok,
8299 src/testdir/test99.in, src/testdir/test99.ok,
8300 src/testdir/test_regexp_utf8.vim
8301
8302Patch 8.2.1296
8303Problem: Some part of using 'smartcase' was not tested.
8304Solution: Add more tests. (Dominique Pellé, closes #6538)
8305Files: src/testdir/test_search.vim
8306
8307Patch 8.2.1297
8308Problem: When a test fails it's often not easy to see what the call stack
8309 is.
8310Solution: Add more entries from the call stack in the exception message.
8311Files: runtime/doc/cmdline.txt, src/scriptfile.c,
8312 src/proto/scriptfile.pro, src/debugger.c, src/ex_docmd.c,
8313 src/ex_eval.c, src/message.c, src/testing.c,
8314 src/testdir/test_expand_func.vim
8315
8316Patch 8.2.1298
8317Problem: Compiler warning for unused argument in small version.
8318Solution: Add UNUSED.
8319Files: src/scriptfile.c
8320
8321Patch 8.2.1299
8322Problem: Compiler warning for using size_t for int and void pointer.
8323Solution: Add type casts.
8324Files: src/scriptfile.c
8325
8326Patch 8.2.1300
8327Problem: Vim9: optional argument type not parsed properly.
8328Solution: Skip over the "?". (issue #6507)
8329Files: src/vim9compile.c, src/proto/vim9compile.pro, src/evalvars.c,
8330 src/userfunc.c, src/testdir/test_vim9_func.vim
8331
8332Patch 8.2.1301
8333Problem: Vim9: varargs argument type not parsed properly.
8334Solution: Skip over the "...". (issue #6507)
8335Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8336
8337Patch 8.2.1302
8338Problem: Vim9: varargs arg after optional arg does not work
8339Solution: Check for the "..." first. (issue #6507)
8340Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8341
8342Patch 8.2.1303
8343Problem: Calling popup_setoptions() resets 'signcolumn'.
8344Solution: Only set 'signcolumn' when creating the popup. (closes #6542)
8345Files: src/popupwin.c, src/testdir/test_popupwin.vim
8346
8347Patch 8.2.1304
8348Problem: Debug backtrace isn't tested much.
8349Solution: Add more specific tests. (Ben Jackson, closes #6540)
8350Files: src/testdir/runtest.vim, src/testdir/test_debugger.vim
8351
8352Patch 8.2.1305
8353Problem: Some tests are still old style.
8354Solution: Convert tests 52 and 70 to new style. (Yegappan Lakshmanan,
8355 closes #6544) Fix error in FinishTesting().
8356Files: src/testdir/runtest.vim, src/Makefile, src/testdir/Make_all.mak,
8357 src/testdir/Make_amiga.mak, src/testdir/Make_vms.mms,
8358 src/testdir/test52.in, src/testdir/test52.ok,
8359 src/testdir/test70.in, src/testdir/test70.ok,
8360 src/testdir/test_mzscheme.vim, src/testdir/test_writefile.vim
8361
8362Patch 8.2.1306
8363Problem: Checking for first character of dict key is inconsistent.
8364Solution: Add eval_isdictc(). (closes #6546)
8365Files: src/eval.c, src/proto/eval.pro, src/vim9compile.c,
8366 src/testdir/test_listdict.vim, src/testdir/test_vim9_expr.vim,
8367 src/testdir/test_let.vim
8368
8369Patch 8.2.1307
8370Problem: popup window width does not include number, fold of sign column
8371 width.
8372Solution: Take number, fold and sign column with into account.
8373Files: src/popupwin.c, src/testdir/test_popupwin.vim,
8374 src/testdir/dumps/Test_popupwin_sign_2.dump
8375
8376Patch 8.2.1308
8377Problem: Vim9: accidentally using "x" causes Vim to exit.
8378Solution: Disallow using ":x" or "xit" in Vim9 script. (closes #6399)
8379Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9script.c,
8380 src/proto/vim9script.pro, src/ex_docmd.c, src/ex_cmds.c,
8381 src/testdir/test_vim9_script.vim
8382
8383Patch 8.2.1309
8384Problem: Build failure with tiny version.
8385Solution: Add #ifdef.
8386Files: src/ex_cmds.c, src/ex_docmd.c
8387
8388Patch 8.2.1310
8389Problem: Configure with Xcode 12 fails to check for tgetent.
8390Solution: Declare tgetent(). (Ozaki Kiichi, closes #6558)
8391Files: src/configure.ac, src/auto/configure
8392
8393Patch 8.2.1311
8394Problem: Test failures with legacy Vim script.
8395Solution: Actually check for Vim9 script.
8396Files: src/vim9script.c
8397
8398Patch 8.2.1312
8399Problem: MS-Windows: terminal test may fail if dir.exe exists.
8400Solution: Use dir.com. (Ken Takata, closes #6557)
8401Files: src/testdir/test_terminal3.vim
8402
8403Patch 8.2.1313
8404Problem: Vim9 script: cannot assign to environment variable.
8405Solution: Recognize environment variable assignment. (closes #6548)
8406 Also options and registers.
8407Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
8408
8409Patch 8.2.1314
8410Problem: Vim9: rule for comment after :function is confusing.
8411Solution: Allow double quoted comment after :function in vim9script.
8412 (closes #6556)
8413Files: src/userfunc.c, src/testdir/test_vim9_script.vim
8414
8415Patch 8.2.1315
8416Problem: MS-Windows: test log contains escape sequences.
8417Solution: Do not use t_md and t_me but ANSI escape sequences. (Ken Takata,
8418 closes #6559)
8419Files: src/testdir/runtest.vim
8420
8421Patch 8.2.1316
8422Problem: Test 42 is still old style.
8423Solution: Turn it into a new style test. (Yegappan Lakshmanan, closes #6561)
8424Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_dos.mak,
8425 src/testdir/Make_ming.mak, src/testdir/Make_vms.mms,
8426 src/testdir/test42.in, src/testdir/test42.ok,
8427 src/testdir/test_writefile.vim
8428
8429Patch 8.2.1317
8430Problem: MS-Windows tests on AppVeyor are slow.
8431Solution: Use GitHub Actions. (Ken Takata, closes #6569)
8432Files: Filelist, .github/workflows/ci-windows.yaml, appveyor.yml,
8433 ci/appveyor.bat
8434
8435Patch 8.2.1318
8436Problem: No status badge for Github CI.
8437Solution: Add a badge.
8438Files: README.md
8439
8440Patch 8.2.1319
8441Problem: Status badge for Github CI has wrong link.
8442Solution: Rename and use the right link
8443Files: README.md, .github/workflows/ci-windows.yaml
8444
8445Patch 8.2.1320
8446Problem: Vim9: cannot declare some single letter variables.
8447Solution: Do not recognize a colon for a namespace for single letter
8448 variables. (closes #6547)
8449Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8450
8451Patch 8.2.1321
8452Problem: GitHub CI also runs on tag push.
8453Solution: Skip CI on push. (Ken Takata, closes #6571)
8454Files: .github/workflows/ci-windows.yaml
8455
8456Patch 8.2.1322
8457Problem: Vim9: method on double quoted string doesn't work.
8458Solution: Recognize double quoted string. (closes #6562)
8459Files: src/ex_docmd.c, src/testdir/test_vim9_func.vim,
8460 src/testdir/test_vim9_expr.vim
8461
8462Patch 8.2.1323
8463Problem: Vim9: invalid operators only rejected in :def function.
8464Solution: Also reject them at script level. (closes #6564)
8465Files: src/eval.c, src/vim9compile.c, src/proto/vim9compile.pro,
8466 src/testdir/test_vim9_expr.vim
8467
8468Patch 8.2.1324
8469Problem: Vim9: line break after "=" does not work.
8470Solution: Also allow for NUL after "=". (closes #6549)
8471Files: src/evalvars.c, src/testdir/test_vim9_script.vim
8472
8473Patch 8.2.1325
8474Problem: Vim9: using Vim9 script for autoload not tested.
8475Solution: Add a test. Update help.
8476Files: runtime/doc/vim9.txt, src/testdir/test_autoload.vim,
8477 src/testdir/sautest/autoload/auto9.vim
8478
8479Patch 8.2.1326
8480Problem: Vim9: skipping over white space after list.
8481Solution: Do not skip white space, a following [] would be misinterpreted.
8482 (closes #6552) Fix a few side effects.
8483Files: src/list.c, src/dict.c, src/eval.c, src/userfunc.c,
8484 src/testdir/test_functions.vim, src/testdir/test_gn.vim,
8485 src/testdir/test_popupwin.vim, src/testdir/test_tabpage.vim,
8486 src/testdir/test_textprop.vim, src/testdir/test_textobjects.vim
8487
8488Patch 8.2.1327
8489Problem: Mac: configure can't find Tcl libraries.
8490Solution: Adjust configure check. (closes #6575)
8491Files: src/configure.ac, src/auto/configure
8492
8493Patch 8.2.1328
8494Problem: No space allowed before comma in list.
8495Solution: Legacy Vim script allows it. (closes #6577)
8496Files: src/dict.c, src/list.c, src/testdir/test_listdict.vim
8497
8498Patch 8.2.1329
8499Problem: Vim9: cannot define global function inside :def function.
8500Solution: Assign to global variable instead of local. (closes #6584)
8501Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro,
8502 src/vim9.h, src/vim9execute.c, src/structs.h,
8503 src/misc2.c, src/proto/misc2.pro, src/testdir/test_vim9_func.vim,
8504 src/testdir/test_vim9_disassemble.vim
8505
8506Patch 8.2.1330
8507Problem: Github workflow takes longer than needed.
8508Solution: Do two test runs in parallel instead of sequentially. (Ken Takata,
8509 closes #6579)
8510Files: .github/workflows/ci-windows.yaml
8511
8512Patch 8.2.1331
8513Problem: Vim9: :echo with two lists doesn't work.
8514Solution: Do not skip white space before []. (closes #6552)
8515Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8516
8517Patch 8.2.1332
8518Problem: Vim9: memory leak when using nested global function.
8519Solution: Delete the function when deleting the instruction. Disable test
8520 that still causes a leak.
8521Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro,
8522 src/testdir/test_vim9_func.vim
8523
8524Patch 8.2.1333
8525Problem: Vim9: memory leak when using nested global function.
8526Solution: Swap from and to when copying the lines.
8527Files: src/userfunc.c, src/testdir/test_vim9_func.vim
8528
8529Patch 8.2.1334
8530Problem: Github workflow timeout needs tuning
8531Solution: Use a 10 minute timeout. Fail when timing out. (Ken Takata,
8532 closes #6590)
8533Files: .github/workflows/ci-windows.yaml
8534
8535Patch 8.2.1335
8536Problem: CTRL-C in the GUI doesn't interrupt. (Sergey Vlasov)
8537Solution: Recognize "C" with CTRL modifier as CTRL-C. (issue #6565)
8538Files: src/gui.c, src/proto/gui.pro, src/gui_gtk_x11.c, src/gui_x11.c,
8539 src/gui_photon.c
8540
8541Patch 8.2.1336 (after 8.2.1335)
8542Problem: Build failure on non-Unix systems.
8543Solution: Add #ifdef.
8544Files: src/gui.c
8545
8546Patch 8.2.1337
8547Problem: Vim9: cannot use empty key in dict assignment.
8548Solution: Allow empty key. (closes #6591)
8549Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
8550
8551Patch 8.2.1338
8552Problem: Vim9: assigning to script-local variable doesn't check type.
8553Solution: Use the type. (issue #6591)
8554Files: src/vim9compile.c, src/vim9execute.c,
8555 src/testdir/test_vim9_script.vim
8556
8557Patch 8.2.1339
8558Problem: Vim9: assigning to global dict variable doesn't work.
8559Solution: Guess variable type based in index type. (issue #6591)
8560Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8561
8562Patch 8.2.1340
8563Problem: Some tests fail on Cirrus CI and/or with FreeBSD.
8564Solution: Make 'backupskip' empty. Do not run tests as root. Check for
8565 directory when using viminfo. (Ozaki Kiichi, closes #6596)
8566Files: .cirrus.yml, src/testdir/test_backup.vim,
8567 src/testdir/test_edit.vim, src/testdir/test_viminfo.vim,
8568 src/testdir/test_writefile.vim, src/viminfo.c
8569
8570Patch 8.2.1341
8571Problem: Build failures.
8572Solution: Add missing error message.
8573Files: src/globals.h
8574
8575Patch 8.2.1342
8576Problem: Vim9: accidentally using "x" gives a confusing error.
8577Solution: Disallow using ":t" in Vim9 script. (issue #6399)
8578Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9script.c,
8579 src/ex_docmd.c, src/testdir/test_vim9_script.vim
8580
8581Patch 8.2.1343
8582Problem: Vim9: cannot find global function when using g: when local
8583 function with the same name exists.
8584Solution: Find global function when using g:.
8585Files: src/userfunc.c, src/testdir/test_vim9_func.vim
8586
8587Patch 8.2.1344
8588Problem: Vim9: No test for trying to redefine global function.
8589Solution: Add a test.
8590Files: src/testdir/test_vim9_func.vim
8591
8592Patch 8.2.1345
8593Problem: Redraw error when using visual block and scroll.
8594Solution: Add check for w_topline. (closes #6597)
8595Files: src/drawscreen.c, src/testdir/test_display.vim,
8596 src/testdir/dumps/Test_display_visual_block_scroll.dump
8597
8598Patch 8.2.1346
8599Problem: Small build fails.
8600Solution: Add #ifdef.
8601Files: src/ex_docmd.c
8602
8603Patch 8.2.1347
8604Problem: Cannot easily get the script ID.
8605Solution: Support expand('<SID>').
8606Files: runtime/doc/map.txt, src/ex_docmd.c,
8607 src/testdir/test_expand_func.vim
8608
8609Patch 8.2.1348
8610Problem: Build failure without the eval feature.
8611Solution: Add #ifdef.
8612Files: src/ex_docmd.c
8613
8614Patch 8.2.1349
8615Problem: Vim9: can define a function with the name of an import.
8616Solution: Disallow using an existing name. (closes #6585)
8617Files: src/userfunc.c, src/vim9compile.c, src/globals.h,
8618 src/testdir/test_vim9_script.vim
8619
8620Patch 8.2.1350
8621Problem: Vim9: no test for error message when redefining function.
8622Solution: Add a test.
8623Files: src/testdir/test_vim9_script.vim
8624
8625Patch 8.2.1351
8626Problem: Vim9: no proper error if using namespace for nested function.
8627Solution: Specifically check for a namespace. (closes #6582)
8628Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8629
8630Patch 8.2.1352
8631Problem: Vim9: no error for shadowing a script-local function by a nested
8632 function.
8633Solution: Check for script-local function. (closes #6586)
8634Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8635
8636Patch 8.2.1353
8637Problem: Crash when drawing double-wide character in terminal window.
8638 (Masato Nishihata)
8639Solution: Check getcell() returning NULL. (issue #6141)
8640Files: src/libvterm/src/screen.c, src/testdir/test_terminal.vim
8641
8642Patch 8.2.1354
8643Problem: Test 59 is old style.
8644Solution: Convert into a new style test. (Yegappan Lakshmanan, closes #6604)
8645Files: runtime/doc/eval.txt, src/Makefile, src/testdir/Make_all.mak,
8646 src/testdir/Make_vms.mms, src/testdir/test59.in,
8647 src/testdir/test59.ok, src/testdir/test_spell_utf8.vim
8648
8649Patch 8.2.1355
8650Problem: Vim9: no error using :let for options and registers.
8651Solution: Give an error. (closes #6568)
8652Files: src/evalvars.c, src/vim9compile.c,
8653 src/testdir/test_vim9_script.vim
8654
8655Patch 8.2.1356
8656Problem: Vim9: cannot get the percent register.
8657Solution: Check for readable registers instead of writable. (closes #6566)
8658Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8659
8660Patch 8.2.1357
8661Problem: Vim9: cannot assign to / register.
8662Solution: Adjust check for assignment. (issue #6566)
8663Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
8664 src/testdir/test_vim9_script.vim
8665
8666Patch 8.2.1358
8667Problem: Vim9: test fails with +dnd is not available.
8668Solution: Add condition.
8669Files: src/testdir/test_vim9_script.vim
8670
8671Patch 8.2.1359
8672Problem: Vim9: cannot assign to / register in Vim9 script.
8673Solution: Adjust check for assignment in Vim9 script. (closes #6567)
8674Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
8675
8676Patch 8.2.1360
8677Problem: Stray error for white space after expression.
8678Solution: Ignore trailing white space. (closes #6608)
8679Files: src/eval.c, src/testdir/test_filter_map.vim
8680
8681Patch 8.2.1361
8682Problem: Error for white space after expression in assignment.
8683Solution: Skip over white space. (closes #6617)
8684Files: src/eval.c, src/testdir/test_expr.vim
8685
8686Patch 8.2.1362
8687Problem: Last entry of ":set term=xxx" overwritten by error message when
8688 'cmdheight' is two or more. (Tony Mechelynck)
8689Solution: Output extra line breaks.
8690Files: src/term.c, src/testdir/test_termcodes.vim
8691
8692Patch 8.2.1363
8693Problem: Test trying to run terminal when it is not supported.
8694Solution: Check if Vim can be run in a terminal.
8695Files: src/testdir/test_termcodes.vim
8696
8697Patch 8.2.1364
8698Problem: Invalid memory access when searching for raw string.
8699Solution: Check for delimiter match before following quote. (closes #6578)
8700Files: src/search.c
8701
8702Patch 8.2.1365
8703Problem: Vim9: no error for missing white space around operator.
8704Solution: Check for white space. (closes #6618)
8705Files: src/eval.c, src/vim9compile.c, src/proto/vim9compile.pro,
8706 src/evalvars.c, src/testdir/test_vim9_expr.vim,
8707 src/testdir/test_vim9_func.vim
8708
8709Patch 8.2.1366
8710Problem: Test 49 is old style.
8711Solution: Convert several tests to new style. (Yegappan Lakshmanan,
8712 closes #6629)
8713Files: src/testdir/script_util.vim, src/testdir/test49.ok,
8714 src/testdir/test49.vim, src/testdir/test_vimscript.vim
8715
8716Patch 8.2.1367
8717Problem: Vim9: no error for missing white space around operator.
8718Solution: Check for white space around *, / and %.
8719Files: src/eval.c, src/testdir/test_vim9_expr.vim
8720
8721Patch 8.2.1368
8722Problem: Vim9: no error for missing white space around operator.
8723Solution: Check for white space around <, !=, etc.
8724Files: src/eval.c, src/testdir/test_vim9_expr.vim
8725
8726Patch 8.2.1369
8727Problem: MS-Windows: autocommand test sometimes fails.
8728Solution: Do not rely on the cat command.
8729Files: src/testdir/test_autocmd.vim
8730
8731Patch 8.2.1370
8732Problem: MS-Windows: warning for using fstat() with stat_T.
8733Solution: use _fstat64() if available. (Naruhiko Nishino, closes #6625)
8734Files: src/macros.h
8735
8736Patch 8.2.1371
8737Problem: Vim9: no error for missing white space around operator.
8738Solution: Check for white space around && and ||.
8739Files: src/eval.c, src/testdir/test_vim9_expr.vim
8740
8741Patch 8.2.1372
8742Problem: Vim9: no error for missing white space around operator.
8743Solution: Check for white space around ? and :.
8744Files: src/eval.c, src/testdir/test_vim9_expr.vim
8745
8746Patch 8.2.1373
8747Problem: Vim9: no error for assigning to non-existing script var.
8748Solution: Check that in Vim9 script the variable was defined. (closes #6630)
8749Files: src/vim9compile.c, src/userfunc.c, src/structs.h,
8750 src/testdir/test_vim9_script.vim
8751
8752Patch 8.2.1374
8753Problem: Vim9: error for assigning empty list to script variable.
8754Solution: Use t_unknown for empty list member. (closes #6595)
8755Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8756
8757Patch 8.2.1375
8758Problem: Vim9: method name with digit not accepted.
8759Solution: Use eval_isnamec() instead of eval_isnamec1(). (closes #6613)
8760Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
8761
8762Patch 8.2.1376
8763Problem: Vim9: expression mapping causes error for using :import.
8764Solution: Add EX_LOCK_OK to :import and :export. (closes #6606)
8765Files: src/ex_cmds.h, src/testdir/test_vim9_script.vim
8766
8767Patch 8.2.1377
8768Problem: Triggering the ATTENTION prompt causes typeahead to be messed up.
8769Solution: Increment tb_change_cnt. (closes #6541)
8770Files: src/getchar.c
8771
8772Patch 8.2.1378
8773Problem: Cannot put space between function name and paren.
8774Solution: Allow this for backwards compatibility.
8775Files: src/eval.c, src/testdir/test_expr.vim,
8776 src/testdir/test_vim9_expr.vim
8777
8778Patch 8.2.1379
8779Problem: Curly braces expression ending in " }" does not work.
8780Solution: Skip over white space when checking for "}". (closes #6634)
8781Files: src/dict.c, src/testdir/test_eval_stuff.vim
8782
8783Patch 8.2.1380
8784Problem: Vim9: return type of getreg() is always a string.
8785Solution: Use list of strings when there are three arguments. (closes #6633)
8786Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
8787
8788Patch 8.2.1381
8789Problem: MS-Windows: crash with Python 3.5 when stdin is redirected.
8790Solution: Reconnect stdin. (Yasuhiro Matsumoto, Ken Takata, closes #6641)
8791Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/if_python3.c
8792
8793Patch 8.2.1382
8794Problem: Vim9: using :import in filetype plugin gives an error.
8795Solution: Allow commands with the EX_LOCK_OK flag. (closes #6636)
8796Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
8797
8798Patch 8.2.1383
8799Problem: Test 49 is old style.
8800Solution: Convert test cases to new style. (Yegappan Lakshmanan,
8801 closes #6638)
8802Files: src/testdir/test49.ok, src/testdir/test49.vim,
8803 src/testdir/test_vimscript.vim
8804
8805Patch 8.2.1384
8806Problem: No ATTENTION prompt for :vimgrep first match file.
8807Solution: When there is an existing swap file do not keep the dummy buffer.
8808 (closes #6649)
8809Files: src/quickfix.c, src/testdir/runtest.vim,
8810 src/testdir/test_quickfix.vim
8811
8812Patch 8.2.1385
8813Problem: No testing on ARM.
8814Solution: Add a test on Travis for ARM. (Ozaki Kiichi, closes #6615)
8815Files: .travis.yml
8816
8817Patch 8.2.1386
8818Problem: Backslash not removed after space in option with space in
8819 'isfname'.
8820Solution: Do remove backslash before space, also when it is in 'isfname'.
8821 (Yasuhiro Matsumoto, closes #6651)
8822Files: src/option.c, src/testdir/test_options.vim
8823
8824Patch 8.2.1387
8825Problem: Vim9: cannot assign to single letter variable with type.
8826Solution: Exclude the colon from the variable name. (closes #6647)
8827Files: src/eval.c, src/testdir/test_vim9_script.vim
8828
8829Patch 8.2.1388
8830Problem: Vim9: += only works for numbers.
8831Solution: Use += as concatenate for a list. (closes #6646)
8832Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8833
8834Patch 8.2.1389
8835Problem: File missing from the distribution.
8836Solution: Add script_util.vim to the list of distributes files.
8837Files: Filelist
8838
8839Patch 8.2.1390
8840Problem: Vim9: type error after storing an option value.
8841Solution: Drop the type after a STOREOPT instruction. (closes #6632)
8842Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8843
8844Patch 8.2.1391
8845Problem: Vim9: no error for shadowing a script function.
8846Solution: Check for already defined items. (closes #6652)
8847Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
8848
8849Patch 8.2.1392
8850Problem: Vim9: error line number incorrect after skipping over comment
8851 lines.
8852Solution: Insert empty lines for skipped lines.
8853Files: src/userfunc.c, src/testdir/test_vim9_func.vim
8854
8855Patch 8.2.1393
8856Problem: Insufficient testing for script debugging.
8857Solution: Add more tests. (Ben Jackson)
8858Files: src/testdir/test_debugger.vim
8859
8860Patch 8.2.1394
8861Problem: Vim9: compiling a function interferes with command modifiers.
8862Solution: Save and restore command modifiers. (closes #6658)
8863Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
8864 src/testdir/test_vim9_script.vim
8865
8866Patch 8.2.1395
8867Problem: Vim9: no error if declaring a funcref with a lower case letter.
8868Solution: Check the name after the type is inferred. Fix confusing name.
8869Files: src/vim9compile.c, src/dict.c, src/eval.c, src/evalvars.c,
8870 src/proto/evalvars.pro, src/testdir/test_vim9_script.vim,
8871 src/testdir/test_vim9_expr.vim
8872
8873Patch 8.2.1396
8874Problem: Vim9: no error for unexpectedly returning a value.
8875Solution: Only set the return type for lambda's. Make using function type
8876 in a function reference work.
8877Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
8878
8879Patch 8.2.1397
8880Problem: Vim9: return type of maparg() not adjusted for fourth argument.
8881Solution: Check if fourth argument is present. (closes #6645)
8882Files: src/evalfunc.c, src/testdir/test_maparg.vim
8883
8884Patch 8.2.1398
8885Problem: Autoload script sourced twice if sourced directly.
8886Solution: Do not source an autoload script again. (issue #6644)
8887Files: src/scriptfile.c, src/testdir/sautest/autoload/sourced.vim
8888
8889Patch 8.2.1399
8890Problem: Vim9: may find imported item in wrong script.
8891Solution: When looking up script-local function use the embedded script ID.
8892 (issue #6644)
8893Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
8894 src/testdir/test_vim9_script.vim
8895
8896Patch 8.2.1400
8897Problem: Vim9: test does not delete written files.
8898Solution: Correct file names.
8899Files: src/testdir/test_vim9_script.vim
8900
8901Patch 8.2.1401
8902Problem: Cannot jump to the last used tabpage.
8903Solution: Add g<Tab> and tabpagnr('#'). (Yegappan Lakshmanan, closes #6661,
8904 neovim #11626)
8905Files: runtime/doc/eval.txt, runtime/doc/index.txt,
8906 runtime/doc/tabpage.txt, src/evalwindow.c, src/globals.h,
8907 src/normal.c, src/proto/window.pro, src/testdir/test_tabpage.vim,
8908 src/window.c
8909
8910Patch 8.2.1402
8911Problem: s390x tests always fail.
8912Solution: Temporarily disable s390x tests.
8913Files: .travis.yml
8914
8915Patch 8.2.1403
8916Problem: Vim9: Vim highlighting fails in cmdline window if it uses Vim9
8917 commands.
8918Solution: Allow using :vim9script, :import and :export while in the cmdline
8919 window. (closes #6656)
8920Files: src/ex_cmds.h, src/testdir/test_vim9_script.vim
8921
8922Patch 8.2.1404
8923Problem: Vim9: script test fails in the GUI.
8924Solution: Use another key to map. Improve cleanup.
8925Files: src/testdir/test_vim9_script.vim
8926
8927Patch 8.2.1405
8928Problem: Vim9: vim9compile.c is getting too big.
8929Solution: Split off type code to vim9type.c.
8930Files: Filelist, src/vim9compile.c, src/proto/vim9compile.pro,
8931 src/vim9type.c, src/proto/vim9type.pro, src/proto.h,
8932 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Makefile
8933
8934Patch 8.2.1406
8935Problem: Popupwindow lacks scrollbar if no "maxheight" is used.
8936Solution: Compute the max height depending on the position. (closes #6664)
8937Files: src/popupwin.c, src/testdir/test_popupwin.vim,
8938 src/testdir/dumps/Test_popupwin_toohigh_1.dump,
8939 src/testdir/dumps/Test_popupwin_toohigh_2.dump
8940
8941Patch 8.2.1407
8942Problem: Vim9: type of list and dict only depends on first item.
8943Solution: Use all items to decide about the type.
8944Files: src/vim9compile.c, src/vim9type.c, src/proto/vim9type.pro,
8945 src/testdir/test_vim9_expr.vim, runtime/doc/vim9.txt
8946
8947Patch 8.2.1408
8948Problem: Vim9: type casting not supported.
8949Solution: Introduce type casting.
8950Files: runtime/doc/vim9.txt, src/vim9compile.c,
8951 src/testdir/test_vim9_expr.vim,
8952 src/testdir/test_vim9_disassemble.vim
8953
8954Patch 8.2.1409
Bram Moolenaar1588bc82022-03-08 21:35:07 +00008955Problem: Npmrc and php.ini filetypes not recognized.
Bram Moolenaarc51cf032022-02-26 12:25:45 +00008956Solution: Add filetype detection. (Doug Kearns)
8957Files: runtime/filetype.vim, src/testdir/test_filetype.vim
8958
8959Patch 8.2.1410
8960Problem: Adding compiler plugin requires test change.
8961Solution: Include compiler plugin and adjust test.
8962Files: src/testdir/test_compiler.vim, runtime/compiler/xo.vim
8963
8964Patch 8.2.1411
8965Problem: when splitting a window localdir is copied but prevdir is not.
8966Solution: Also copy prevdir. (closes #6667)
8967Files: src/window.c, src/testdir/test_cd.vim
8968
8969Patch 8.2.1412
8970Problem: Vim: not operator does not result in boolean.
8971Solution: Make type depend on operator. (issue 6678) Fix using "false" and
8972 "true" in Vim9 script.
8973Files: src/eval.c, src/testdir/test_vim9_expr.vim
8974
8975Patch 8.2.1413 (after 8.2.1401)
8976Problem: Previous tab page not usable from an Ex command.
8977Solution: Add the "#" argument for :tabnext et al. (Yegappan Lakshmanan,
8978 closes #6677)
8979Files: runtime/doc/tabpage.txt, src/ex_docmd.c, src/window.c,
8980 src/testdir/test_tabpage.vim
8981
8982Patch 8.2.1414
8983Problem: Popupwindow missing last couple of lines when cursor is in the
8984 first line.
8985Solution: Compute the max height also when top aligned. (closes #6664)
8986Files: src/popupwin.c, src/testdir/test_popupwin.vim,
8987 src/testdir/dumps/Test_popupwin_toohigh_3.dump,
8988 src/testdir/dumps/Test_popupwin_nospace.dump
8989
8990Patch 8.2.1415
8991Problem: Closing a popup window with CTRL-C interrupts 'statusline' if it
8992 calls a function.
8993Solution: Reset got_int while redrawing. (closes #6675)
8994Files: src/popupwin.c, src/testdir/test_popupwin.vim,
8995 src/testdir/dumps/Test_popupwin_ctrl_c.dump
8996
8997Patch 8.2.1416
8998Problem: Vim9: boolean evaluation does not work as intended.
8999Solution: Use tv2bool() in Vim9 script. (closes #6681)
9000Files: src/eval.c, src/testdir/test_vim9_expr.vim, src/testdir/vim9.vim
9001
9002Patch 8.2.1417
9003Problem: Test 49 is old style.
9004Solution: Convert more parts to new style test. (Yegappan Lakshmanan,
9005 closes #6682)
9006Files: src/testdir/test49.ok, src/testdir/test49.vim,
9007 src/testdir/test_vimscript.vim
9008
9009Patch 8.2.1418
9010Problem: Vim9: invalid error for missing white space after function.
9011Solution: Do not skip over white space. (closes #6679)
9012Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
9013
9014Patch 8.2.1419
9015Problem: Vim9: not operator applied too early.
9016Solution: Implement the "numeric_only" argument. (closes #6680)
9017Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9018
9019Patch 8.2.1420
9020Problem: Test 49 is old style.
9021Solution: Convert remaining parts to new style. Remove obsolete items.
9022 (Yegappan Lakshmanan, closes #6683)
9023Files: Filelist, runtime/doc/testing.txt, src/Make_mvc.mak, src/Makefile,
9024 src/testdir/Make_all.mak, src/testdir/Make_amiga.mak,
9025 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
9026 src/testdir/Make_vms.mms, src/testdir/Makefile,
9027 src/testdir/README.txt, src/testdir/test49.in,
9028 src/testdir/test49.ok, src/testdir/test49.vim,
9029 src/testdir/test_quickfix.vim, src/testdir/test_vimscript.vim
9030
9031Patch 8.2.1421
9032Problem: Vim9: handling "+" and "-" before number differs from Vim script.
9033Solution: Use the same sequence of commands.
9034Files: src/vim9compile.c
9035
9036Patch 8.2.1422
9037Problem: The Mac GUI implementation is outdated and probably doesn't even
9038 work.
9039Solution: Remove the Mac GUI code. The MacVim project provides the
9040 supported Vim GUI version.
9041Files: Filelist, src/gui_mac.c, src/proto/gui_mac.pro, src/proto.h,
9042 src/Makefile, src/configure.ac, src/auto/configure,
9043 src/evalfunc.c, src/fileio.c, src/gui.c, src/if_mzsch.c,
9044 src/main.c, src/misc2.c, src/mouse.c, src/os_mac_conv.c,
9045 src/os_unix.c, src/feature.h, src/globals.h, src/gui.h,
9046 src/option.h, src/optiondefs.h, src/os_mac.h, src/structs.h,
9047 src/vim.h, src/INSTALLmac.txt
9048
9049Patch 8.2.1423
9050Problem: Vim9: find global function when looking for script-local.
9051Solution: Don't strip prefix if name starts with "s:". (closes #6688)
9052Files: src/userfunc.c, src/testdir/test_vim9_func.vim
9053
9054Patch 8.2.1424 (after 8.2.1422)
9055Problem: Mac build fails.
9056Solution: Adjust configure to not fall back to Athena. Adjust some other
9057 files.
9058Files: src/configure.ac, src/auto/configure, src/os_macosx.m,
9059 src/version.c
9060
9061Patch 8.2.1425
9062Problem: Vim9: cannot use call() without :call.
9063Solution: Do not skip over "call(". (closes #6689)
9064Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
9065
9066Patch 8.2.1426
9067Problem: Vim9: cannot call autoload function in :def function.
9068Solution: Load the autoload script. (closes #6690)
9069Files: src/vim9execute.c, src/vim9compile.c, src/scriptfile.c,
9070 src/testdir/test_vim9_expr.vim
9071
9072Patch 8.2.1427
9073Problem: Vim9: cannot use a range with marks in :def function.
9074Solution: Parse range after colon. (closes #6686)
9075Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
9076
9077Patch 8.2.1428
9078Problem: Vim9: :def function does not abort on nested function error.
9079Solution: Check whether an error message was given. (closes #6691)
9080Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
9081
9082Patch 8.2.1429
9083Problem: Vim9: no error for missing white after : in dict.
9084Solution: Check for white space. (closes #6671) Also check that there is no
9085 white before the :.
9086Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
9087 src/testdir/test_vim9_func.vim
9088
9089Patch 8.2.1430
9090Problem: Vim9: error for missing comma instead of extra white space.
9091Solution: Check if comma can be found after white space. (closes #6668)
9092 Also check for extra white space in literal dict. (closes #6670)
9093Files: src/list.c, src/dict.c, src/vim9compile.c,
9094 src/testdir/test_vim9_expr.vim
9095
9096Patch 8.2.1431
9097Problem: Vim9: no error for white space before comma in dict.
9098Solution: Check for extra white space. (closes #6674)
9099Files: src/vim9compile.c, src/dict.c, src/testdir/test_vim9_expr.vim
9100
9101Patch 8.2.1432
9102Problem: Various inconsistencies in test files.
9103Solution: Add modelines where they were missing. Use Check commands instead
9104 of silently skipping over tests. Adjust indents and comments.
9105 (Ken Takata, closes #6695)
9106Files: src/testdir/test_arglist.vim, src/testdir/test_assert.vim,
9107 src/testdir/test_autochdir.vim, src/testdir/test_autocmd.vim,
9108 src/testdir/test_autoload.vim, src/testdir/test_balloon.vim,
9109 src/testdir/test_balloon_gui.vim, src/testdir/test_behave.vim,
9110 src/testdir/test_blockedit.vim, src/testdir/test_breakindent.vim,
9111 src/testdir/test_bufline.vim, src/testdir/test_bufwintabinfo.vim,
9112 src/testdir/test_cd.vim, src/testdir/test_changedtick.vim,
9113 src/testdir/test_changelist.vim, src/testdir/test_channel.vim,
9114 src/testdir/test_checkpath.vim, src/testdir/test_cindent.vim,
9115 src/testdir/test_cjk_linebreak.vim,
9116 src/testdir/test_clientserver.vim,
9117 src/testdir/test_close_count.vim, src/testdir/test_cmdline.vim,
9118 src/testdir/test_command_count.vim,
9119 src/testdir/test_comparators.vim, src/testdir/test_compiler.vim,
9120 src/testdir/test_crypt.vim, src/testdir/test_cursorline.vim,
9121 src/testdir/test_curswant.vim, src/testdir/test_debugger.vim,
9122 src/testdir/test_delete.vim, src/testdir/test_diffmode.vim,
9123 src/testdir/test_digraph.vim, src/testdir/test_display.vim,
9124 src/testdir/test_edit.vim, src/testdir/test_environ.vim,
9125 src/testdir/test_erasebackword.vim,
9126 src/testdir/test_escaped_glob.vim, src/testdir/test_ex_equal.vim,
9127 src/testdir/test_ex_undo.vim, src/testdir/test_ex_z.vim,
9128 src/testdir/test_exec_while_if.vim, src/testdir/test_exists.vim,
9129 src/testdir/test_exists_autocmd.vim, src/testdir/test_exit.vim,
9130 src/testdir/test_expand_dllpath.vim,
9131 src/testdir/test_expr_utf8.vim, src/testdir/test_feedkeys.vim,
9132 src/testdir/test_file_size.vim, src/testdir/test_fileformat.vim,
9133 src/testdir/test_filter_cmd.vim,
9134 src/testdir/test_find_complete.vim, src/testdir/test_findfile.vim,
9135 src/testdir/test_fixeol.vim, src/testdir/test_flatten.vim,
9136 src/testdir/test_fnameescape.vim, src/testdir/test_fold.vim,
9137 src/testdir/test_functions.vim, src/testdir/test_ga.vim,
9138 src/testdir/test_getcwd.vim, src/testdir/test_getvar.vim,
9139 src/testdir/test_glob2regpat.vim, src/testdir/test_global.vim,
9140 src/testdir/test_gui.vim, src/testdir/test_gui_init.vim,
9141 src/testdir/test_highlight.vim, src/testdir/test_hlsearch.vim,
9142 src/testdir/test_iminsert.vim,
9143 src/testdir/test_increment_dbcs.vim,
9144 src/testdir/test_ins_complete.vim, src/testdir/test_interrupt.vim,
9145 src/testdir/test_job_fails.vim, src/testdir/test_join.vim,
9146 src/testdir/test_json.vim, src/testdir/test_jumplist.vim,
9147 src/testdir/test_jumps.vim, src/testdir/test_lambda.vim,
9148 src/testdir/test_langmap.vim, src/testdir/test_largefile.vim,
9149 src/testdir/test_lineending.vim, src/testdir/test_listchars.vim,
9150 src/testdir/test_listener.vim, src/testdir/test_listlbr.vim,
9151 src/testdir/test_listlbr_utf8.vim,
9152 src/testdir/test_makeencoding.vim, src/testdir/test_man.vim,
9153 src/testdir/test_mapping.vim, src/testdir/test_marks.vim,
9154 src/testdir/test_matchadd_conceal.vim,
9155 src/testdir/test_matchadd_conceal_utf8.vim,
9156 src/testdir/test_memory_usage.vim, src/testdir/test_menu.vim,
9157 src/testdir/test_messages.vim, src/testdir/test_mksession.vim,
9158 src/testdir/test_modeline.vim,
9159 src/testdir/test_nested_function.vim, src/testdir/test_number.vim,
9160 src/testdir/test_options.vim, src/testdir/test_packadd.vim,
9161 src/testdir/test_partial.vim, src/testdir/test_paste.vim,
9162 src/testdir/test_plus_arg_edit.vim, src/testdir/test_preview.vim,
9163 src/testdir/test_profile.vim, src/testdir/test_prompt_buffer.vim,
9164 src/testdir/test_quickfix.vim, src/testdir/test_quotestar.vim,
9165 src/testdir/test_random.vim, src/testdir/test_recover.vim,
9166 src/testdir/test_regex_char_classes.vim,
9167 src/testdir/test_regexp_latin.vim, src/testdir/test_registers.vim,
9168 src/testdir/test_rename.vim, src/testdir/test_retab.vim,
9169 src/testdir/test_scriptnames.vim, src/testdir/test_scroll_opt.vim,
9170 src/testdir/test_scrollbind.vim, src/testdir/test_search_stat.vim,
9171 src/testdir/test_searchpos.vim, src/testdir/test_set.vim,
9172 src/testdir/test_sha256.vim, src/testdir/test_shift.vim,
9173 src/testdir/test_shortpathname.vim, src/testdir/test_signs.vim,
9174 src/testdir/test_sort.vim, src/testdir/test_sound.vim,
9175 src/testdir/test_source_utf8.vim, src/testdir/test_spellfile.vim,
9176 src/testdir/test_startup.vim, src/testdir/test_startup_utf8.vim,
9177 src/testdir/test_stat.vim, src/testdir/test_suspend.vim,
9178 src/testdir/test_swap.vim, src/testdir/test_syntax.vim,
9179 src/testdir/test_tab.vim, src/testdir/test_tabline.vim,
9180 src/testdir/test_tagcase.vim, src/testdir/test_tagjump.vim,
9181 src/testdir/test_taglist.vim, src/testdir/test_termcodes.vim,
9182 src/testdir/test_termencoding.vim, src/testdir/test_terminal.vim,
9183 src/testdir/test_terminal2.vim, src/testdir/test_terminal3.vim,
9184 src/testdir/test_terminal_fail.vim,
9185 src/testdir/test_true_false.vim,
9186 src/testdir/test_utf8_comparisons.vim,
9187 src/testdir/test_vartabs.vim, src/testdir/test_version.vim,
9188 src/testdir/test_vim9_expr.vim, src/testdir/test_winbar.vim,
9189 src/testdir/test_winbuf_close.vim,
9190 src/testdir/test_window_cmd.vim, src/testdir/test_window_id.vim,
9191 src/testdir/test_windows_home.vim, src/testdir/test_wnext.vim,
9192 src/testdir/test_wordcount.vim, src/testdir/test_writefile.vim,
9193 src/testdir/test_xxd.vim
9194
9195Patch 8.2.1433
9196Problem: Vim9: cannot mingle comments in multi-line lambda.
9197Solution: Skip over NULL lines. (closes #6694)
9198Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9199
9200Patch 8.2.1434
9201Problem: Vim9: crash when lambda uses outer function argument.
9202Solution: Set the flag that the outer context is used.
9203Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9204
9205Patch 8.2.1435
9206Problem: Vim9: always converting to string for ".." leads to mistakes.
9207Solution: Only automatically convert simple types.
9208Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9.h,
9209 src/vim9execute.c, src/proto/vim9execute.pro, src/eval.c,
9210 src/evalfunc.c, src/testdir/test_vim9_expr.vim,
9211 src/testdir/test_vim9_disassemble.vim
9212
9213Patch 8.2.1436
9214Problem: Function implementing :substitute has unexpected name.
9215Solution: Rename from do_sub() to ex_substitute().
9216Files: src/ex_cmds.c, src/proto/ex_cmds.pro, src/ex_docmd.c,
9217 src/ex_cmds.h
9218
9219Patch 8.2.1437
9220Problem: Vim9: 'statusline' is evaluated using Vim9 script syntax.
9221Solution: Always use legacy script syntax.
9222Files: src/eval.c, src/testdir/test_vim9_script.vim
9223
9224Patch 8.2.1438
9225Problem: Missing tests for interrupting script execution from debugger.
9226Solution: Add tests. (Yegappan Lakshmanan, closes #6697)
9227Files: src/testdir/test_debugger.vim
9228
9229Patch 8.2.1439
9230Problem: Tiny and small builds have no test coverage.
9231Solution: Restore tests that do not depend on the +eval feature.
9232 (Ken Takata, closes #6696)
9233Files: .travis.yml, Filelist, Makefile, runtime/doc/testing.txt,
9234 src/Make_mvc.mak, src/Makefile, src/testdir/Make_all.mak,
9235 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
9236 src/testdir/Make_ming.mak, src/testdir/Make_vms.mms,
9237 src/testdir/Makefile, src/testdir/runtest.vim,
9238 src/testdir/test1.in, src/testdir/test1.ok, src/testdir/test20.in,
9239 src/testdir/test20.ok, src/testdir/test21.in,
9240 src/testdir/test21.ok, src/testdir/test22.in,
9241 src/testdir/test22.ok, src/testdir/test23.in,
9242 src/testdir/test23.ok, src/testdir/test24.in,
9243 src/testdir/test24.ok, src/testdir/test25.in,
9244 src/testdir/test25.ok, src/testdir/test26.in,
9245 src/testdir/test26.ok, src/testdir/test27.in,
9246 src/testdir/test27.ok, src/testdir/test_options.vim
9247
9248Patch 8.2.1440
9249Problem: Debugger code insufficiently tested.
9250Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6700)
9251Files: src/testdir/test_debugger.vim, src/testdir/test_vimscript.vim
9252
9253Patch 8.2.1441
9254Problem: Running tests in tiny version gives error for summarize.vim.
9255Solution: Set 'cpoptions' to allow for line continuation. Restore
9256 redirecting test output to /dev/null.
9257Files: src/testdir/summarize.vim, src/testdir/Makefile
9258
9259Patch 8.2.1442
9260Problem: Outdated references to the Mac Carbon GUI.
9261Solution: Remove or update references. (Yee Cheng Chin, closes #6703)
9262Files: READMEdir/README_extra.txt, src/Makefile, src/configure.ac,
9263 src/auto/configure, src/gui_haiku.cc, src/os_macosx.m,
9264 src/testdir/test_iminsert.vim, src/vim.h
9265
9266Patch 8.2.1443
9267Problem: Vim9: crash when interrupting a nested :def function.
9268Solution: Push a dummy return value onto the stack. (closes #6701)
9269Files: src/vim9execute.c
9270
9271Patch 8.2.1444
9272Problem: Error messages are spread out and names can be confusing.
9273Solution: Start moving error messages to a separate file and use clear
9274 names.
9275Files: Filelist, src/vim.h, src/globals.h, src/errors.h, src/Makefile,
9276 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms,
9277 src/dict.c, src/evalvars.c, src/ex_docmd.c, src/list.c,
9278 src/userfunc.c, src/vim9compile.c, src/vim9execute.c,
9279 src/vim9script.c, src/vim9type.c
9280
9281Patch 8.2.1445
9282Problem: Vim9: function expanded name is cleared when sourcing a script
9283 again.
9284Solution: Only clear the expanded name when deleting the function.
9285 (closes #6707)
9286Files: src/userfunc.c, src/testdir/test_vim9_script.vim
9287
9288Patch 8.2.1446
9289Problem: Vim9: line number in error message is not correct.
9290Solution: Set SOURCING_LNUM before calling emsg(). (closes #6708)
9291Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
9292
9293Patch 8.2.1447
9294Problem: Vim9: return type of keys() is list<any>.
9295Solution: Should be list<string>. (closes #6711)
9296Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
9297
9298Patch 8.2.1448
9299Problem: Test 77a for VMS depends on small.vim which does not exist.
9300Solution: Use the 'silent while 0" trick. (issue #6696)
9301Files: src/testdir/test77a.in
9302
9303Patch 8.2.1449
9304Problem: Some test makefiles delete files that are not generated.
9305Solution: Remove the deletion commands.
9306Files: src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
9307 src/testdir/Make_amiga.mak, src/testdir/Make_vms.mms
9308
9309Patch 8.2.1450
9310Problem: Vim9: no check that script-local items don't become global.
9311Solution: Add a test.
9312Files: src/testdir/test_vim9_script.vim
9313
9314Patch 8.2.1451
9315Problem: Vim9: list type at script level only uses first item.
9316Solution: Use all members, like in a compiled function. (closes #6712)
9317 Also for dictionary.
9318Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
9319
9320Patch 8.2.1452
9321Problem: Vim9: dead code in to_name_end().
9322Solution: Remove check for lambda and dict, it won't be used.
9323Files: src/vim9compile.c
9324
9325Patch 8.2.1453
9326Problem: Vim9: failure to compile lambda not tested.
9327Solution: Add a test case.
9328Files: src/testdir/test_vim9_expr.vim
9329
9330Patch 8.2.1454
9331Problem: Vim9: failure invoking lambda with wrong arguments.
9332Solution: Handle invalid arguments. Add a test.
9333Files: src/vim9compile.c, src/vim9execute.c,
9334 src/testdir/test_vim9_expr.vim
9335
9336Patch 8.2.1455
9337Problem: Vim9: crash when using typecast before constant.
9338Solution: Generate constant before checking type. Add tets.
9339Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9340
9341Patch 8.2.1456
9342Problem: MS-Windows: test files are not deleted.
9343Solution: use "del" instead of $(DEL).
9344Files: src/testdir/Make_dos.mak
9345
9346Patch 8.2.1457
9347Problem: Vim9: the output of :disassemble cannot be interrupted.
9348Solution: Check got_int. (closes #6715)
9349Files: src/vim9execute.c
9350
9351Patch 8.2.1458
9352Problem: .gawk files not recognized.
9353Solution: Recognize .gawk files. (Doug Kearns)
9354Files: runtime/filetype.vim, src/testdir/test_filetype.vim
9355
9356Patch 8.2.1459
Bram Moolenaar1588bc82022-03-08 21:35:07 +00009357Problem: Vim9: declaring a script variable at the script level does not
Bram Moolenaarc51cf032022-02-26 12:25:45 +00009358 infer the type.
9359Solution: Get the type from the value. (closes #6716)
9360Files: src/evalvars.c, src/testdir/test_vim9_script.vim
9361
9362Patch 8.2.1460
9363Problem: Error messages are spread out.
9364Solution: Move more messages into errors.h.
9365Files: src/errors.h, src/globals.h, src/vim9compile.c, src/vim9execute.c,
9366 src/vim9script.c, src/vim9type.c, src/scriptfile.c, src/ex_cmds.c,
9367 src/ex_docmd.c, src/match.c, src/eval.c, src/evalvars.c,
9368 src/userfunc.c, src/testdir/test_vim9_expr.vim,
9369 src/testdir/test_vim9_disassemble.vim,
9370 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
9371
9372Patch 8.2.1461
9373Problem: Vim9: string indexes are counted in bytes.
9374Solution: Use character indexes. (closes #6574)
9375Files: runtime/doc/eval.txt, src/eval.c, src/proto/eval.pro,
9376 src/vim9execute.c, src/eval.c, src/testdir/test_vim9_expr.vim
9377
9378Patch 8.2.1462
9379Problem: Vim9: string slice not supported yet.
9380Solution: Add support for string slicing.
9381Files: src/errors.h, src/vim9compile.c, src/vim9.h, src/vim9execute.c,
9382 src/eval.c, src/proto/eval.pro, src/testdir/test_vim9_expr.vim,
9383 src/testdir/test_vim9_disassemble.vim
9384
9385Patch 8.2.1463
9386Problem: Vim9: list slice not supported yet.
9387Solution: Add support for list slicing.
9388Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/eval.c,
9389 src/list.c, src/proto/list.pro, src/testdir/test_vim9_expr.vim,
9390 src/testdir/test_vim9_disassemble.vim
9391
9392Patch 8.2.1464
9393Problem: Vim9: build warning for unused variable.
9394Solution: Delete the variable declaration.
9395Files: src/vim9execute.c
9396
9397Patch 8.2.1465
9398Problem: Vim9: subscript not handled properly.
9399Solution: Adjust error message. Remove dead code. Disallow string to
9400 number conversion in scripts.
9401Files: src/errors.h, src/vim9compile.c, src/vim9execute.c, src/eval.c,
9402 src/typval.c, src/list.c, src/testdir/test_vim9_expr.vim,
9403 src/testdir/test_vim9_script.vim
9404
9405Patch 8.2.1466
9406Problem: Vim9: cannot index or slice a variable with type "any".
9407Solution: Add runtime index and slice.
9408Files: src/eval.c, src/proto/eval.pro, src/vim9compile.c,
9409 src/vim9execute.c, src/vim9.h, src/errors.h, src/list.c,
9410 src/testdir/test_vim9_expr.vim,
9411 src/testdir/test_vim9_disassemble.vim,
9412 src/testdir/test_vim9_script.vim
9413
9414Patch 8.2.1467
9415Problem: Vim9: :echomsg doesn't like a dict argument.
9416Solution: Convert arguments like in legacy script. (closes #6717)
9417Files: src/vim9compile.c, src/vim9execute.c,
9418 src/testdir/test_vim9_script.vim
9419
9420Patch 8.2.1468
9421Problem: Vim9: invalid error for missing white space.
9422Solution: Don't skip over white space after index. (closes #6718)
9423Files: src/eval.c, src/testdir/test_vim9_expr.vim
9424
9425Patch 8.2.1469
9426Problem: Vim9: cannot assign string to string option.
9427Solution: Change checks for option value. (closes #6720)
9428Files: src/evalvars.c, src/testdir/test_vim9_script.vim
9429
9430Patch 8.2.1470
9431Problem: Errors in spell file not tested.
9432Solution: Add test for spell file errors. (Yegappan Lakshmanan,
9433 closes #6721)
9434Files: src/testdir/test_spellfile.vim
9435
9436Patch 8.2.1471
9437Problem: :const only locks the variable, not the value.
9438Solution: Lock the value as ":lockvar 1 var" would do. (closes #6719)
9439Files: src/evalvars.c, src/testdir/test_const.vim
9440
9441Patch 8.2.1472
9442Problem: ":argdel" does not work like ":.argdel" as documented. (Alexey
9443 Demin)
9444Solution: Make ":argdel" work like ":.argdel". (closes #6727)
9445 Also fix giving the error "0 more files to edit".
9446Files: src/arglist.c, src/ex_docmd.c, src/testdir/test_arglist.vim
9447
9448Patch 8.2.1473
9449Problem: Items in a list given to :const can still be modified.
9450Solution: Work like ":lockvar! name" but don't lock referenced items.
9451 Make locking a blob work.
9452Files: runtime/doc/eval.txt, src/evalvars.c, src/eval.c,
9453 src/testdir/test_const.vim
9454
9455Patch 8.2.1474
9456Problem: /usr/lib/udef/rules.d not recognized as udevrules.
9457Solution: Adjust match pattern. (Haochen Tong, closes 36722)
9458Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim
9459
9460Patch 8.2.1475
9461Problem: Vim9: can't use v:true for option flags.
9462Solution: Add tv_get_bool_chk(). (closes #6725)
9463Files: src/typval.c, src/proto/typval.pro, src/channel.c
9464
9465Patch 8.2.1476 (after 8.2.1474)
9466Problem: Filetype test fails on MS-Windows.
9467Solution: Remove "^" from pattern.
9468Files: runtime/autoload/dist/ft.vim
9469
9470Patch 8.2.1477
9471Problem: Vim9: error when using bufnr('%').
9472Solution: Don't give an error for using a string argument. (closes #6723)
9473Files: src/evalbuffer.c, src/testdir/test_vim9_func.vim
9474
9475Patch 8.2.1478
9476Problem: Vim9: cannot use "true" for some popup options.
9477Solution: Add dict_get_bool(). (closes #6725)
9478Files: src/dict.c, src/proto/dict.pro, src/popupwin.c
9479
9480Patch 8.2.1479
9481Problem: Vim9: error for list index uses wrong line number.
9482Solution: Set source line number. (closes #6724) Add a way to assert the
9483 line number of the error with assert_fails().
9484Files: runtime/doc/testing.txt, src/vim9execute.c, src/testing.c,
9485 src/evalfunc.c, src/message.c, src/globals.h, src/testdir/vim9.vim,
9486 src/testdir/test_vim9_expr.vim
9487
9488Patch 8.2.1480
9489Problem: Vim9: skip expression in search() gives error.
9490Solution: use tv_get_bool() eval_expr_to_bool(). (closes #6729)
9491Files: src/eval.c, src/typval.c, src/proto/typval.pro,
9492 src/testdir/test_vim9_func.vim
9493
9494Patch 8.2.1481
9495Problem: Vim9: line number reported with error may be wrong.
9496Solution: Check line number in tests.
9497Files: src/testdir/test_vim9_expr.vim, src/testdir/vim9.vim,
9498 src/vim9execute.c
9499
9500Patch 8.2.1482
9501Problem: Vim9: crash when using a nested lambda.
9502Solution: Do not clear the growarray when not evaluating. Correct pointer
9503 when getting the next line. (closes #6731)
9504Files: src/eval.c, src/scriptfile.c, src/testdir/test_vim9_expr.vim
9505
9506Patch 8.2.1483
9507Problem: Vim9: error for using special as number when returning "false"
9508 from a popup filter.
9509Solution: Use tv_get_bool(). (closes #6733)
9510Files: src/popupwin.c
9511
9512Patch 8.2.1484
9513Problem: Flaky failure in assert_fails().
9514Solution: Only used fourth argument if there is a third argument.
9515Files: src/testing.c
9516
9517Patch 8.2.1485
9518Problem: Vim9: readdirex() expression doesn't accept bool.
9519Solution: Accept both -1 and bool. (closes #6737)
9520Files: src/filepath.c, src/testdir/test_vim9_func.vim
9521
9522Patch 8.2.1486
9523Problem: Vim9: readdir() expression doesn't accept bool.
9524Solution: Merge with code for readdirex(). (closes #6737)
9525Files: src/filepath.c, src/testdir/test_vim9_func.vim
9526
9527Patch 8.2.1487
9528Problem: Travis: installing snd-dummy is not always useful.
9529Solution: Only install snd-dummy on amd64. (Ozaki Kiichi, closes #6738)
9530Files: .travis.yml, ci/load-snd-dummy.sh
9531
9532Patch 8.2.1488
9533Problem: Text does not scroll when inserting above first line.
9534Solution: Adjust off-by-one error. (Ken Takata, closes #6739)
9535Files: src/drawscreen.c, src/testdir/test_display.vim,
9536 src/testdir/dumps/Test_display_scroll_at_topline.dump
9537
9538Patch 8.2.1489
9539Problem: Vim9: error when setting an option with setbufvar().
9540Solution: Do not get a number from a string value. (closes #6740)
9541Files: src/evalvars.c, src/testdir/test_vim9_func.vim
9542
9543Patch 8.2.1490
9544Problem: Vim9: using /= with float and number doesn't work.
9545Solution: Better support assignment with operator. (closes #6742)
9546Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
9547
9548Patch 8.2.1491
9549Problem: Vim9: crash when compiling heredoc lines start with comment.
9550Solution: Skip over NULL pointers. Do not remove comment and empty lines
9551 when fetching function lines. (closes #6743)
9552Files: src/vim9compile.c, src/scriptfile.c, src/proto/scriptfile.pro,
9553 src/structs.h, src/ex_docmd.c, src/proto/ex_docmd.pro,
9554 src/ex_cmds.h, src/autocmd.c, src/proto/autocmd.pro,
9555 src/ex_getln.c, src/proto/ex_getln.pro, src/userfunc.c,
9556 src/proto/userfunc.pro, src/evalfunc.c,
9557 src/testdir/test_vim9_script.vim
9558
9559Patch 8.2.1492
9560Problem: Build failures.
9561Solution: Move typedef out of #ifdef. Adjust argument types. Discover
9562 America.
9563Files: src/structs.h, src/ex_docmd.c
9564
9565Patch 8.2.1493
9566Problem: Not enough test coverage for the spell file handling.
9567Solution: Add spell file tests. (Yegappan Lakshmanan, closes #6728)
9568Files: src/spellfile.c, src/testdir/test_spellfile.vim
9569
9570Patch 8.2.1494
9571Problem: Missing change to calling eval_getline().
9572Solution: Change last argument.
9573Files: src/eval.c
9574
9575Patch 8.2.1495
9576Problem: "make clean" may delete too many files.
9577Solution: Do not delete $APPDIR. (closes #6751)
9578Files: src/Makefile
9579
9580Patch 8.2.1496
9581Problem: Vim9: cannot use " #" in a mapping.
9582Solution: Do not remove a comment with the EX_NOTRLCOM flag. (closes #6746)
9583Files: src/ex_docmd.c, src/vim9compile.c, src/testdir/test_vim9_cmd.vim
9584
9585Patch 8.2.1497
9586Problem: CursorHold test is flaky. (Jakub Kądziołka)
9587Solution: Use WaitForAssert() (closes #6754)
9588Files: src/testdir/test_autocmd.vim
9589
9590Patch 8.2.1498
9591Problem: On slow systems tests can be flaky.
9592Solution: Use TermWait() instead of term-wait(). (Yegappan Lakshmanan,
9593 closes #6756)
9594Files: src/testdir/test_digraph.vim, src/testdir/test_display.vim,
9595 src/testdir/test_popupwin.vim, src/testdir/test_termcodes.vim,
9596 src/testdir/test_terminal.vim, src/testdir/test_terminal3.vim,
9597 src/testdir/test_writefile.vim
9598
9599Patch 8.2.1499
9600Problem: Vim9: error when using "$" with col().
9601Solution: Reorder getting the column value. (closes #6744)
9602Files: src/eval.c, src/testdir/test_vim9_func.vim
9603
9604Patch 8.2.1500
9605Problem: Vim9: error when using address without a command.
9606Solution: Execute the range itself. (closes #6747)
9607Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
9608
9609Patch 8.2.1501
9610Problem: Vim9: concatenating to constant reverses order.
9611Solution: Generate constant before option, register and environment
9612 variable. (closes #6757)
9613Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9614
9615Patch 8.2.1502
9616Problem: Vim9: can use += with a :let command at script level.
9617Solution: Give an error.
9618Files: src/evalvars.c, src/testdir/test_vim9_script.vim,
9619 src/testdir/test_vim9_expr.vim
9620
9621Patch 8.2.1503
9622Problem: Vim9: error for an autocmd defined in a :def function in legacy
9623 Vim script.
9624Solution: Don't check the variable type. (closes #6758)
9625Files: src/vim9script.c, src/testdir/test_vim9_script.vim
9626
9627Patch 8.2.1504
9628Problem: Vim9: white space checks are only done for a :def function.
9629Solution: Also do checks at the script level. Adjust the name of a few
9630 error messages.
9631Files: src/userfunc.c, src/errors.h, src/dict.c, src/list.c,
9632 src/vim9compile.c, src/vim9script.c, src/vim9type.c,
9633 src/evalvars.c, src/testdir/test_vim9_expr.vim,
9634 src/testdir/vim9.vim
9635
9636Patch 8.2.1505
9637Problem: Not all file read and writecode is tested.
9638Solution: Add a few tests. (Dominique Pellé, closes #6764)
9639Files: src/testdir/test_eval_stuff.vim, src/testdir/test_fnamemodify.vim,
9640 src/testdir/test_functions.vim
9641
9642Patch 8.2.1506
9643Problem: Vim9: no error when using a number other than 0 or 1 as bool.
9644Solution: Check the number is 0 or 1.
9645Files: src/errors.h, src/typval.c, src/testdir/test_vim9_func.vim
9646
9647Patch 8.2.1507
9648Problem: Using malloc() directly.
9649Solution: Use ALLOC_ONE(). Remove superfluous typecast. (Hussam al-Homsi,
9650 closes #6768)
9651Files: src/eval.c, src/memline.c, src/vimrun.c
9652
9653Patch 8.2.1508
9654Problem: Not all debugger commands covered by tests.
9655Solution: Add tests for going up/down in the stack. (Ben Jackson,
9656 closes #6765)
9657Files: src/testdir/test_debugger.vim
9658
9659Patch 8.2.1509
9660Problem: Vertical separator is cleared when dragging a popup window using a
9661 multi-byte character for the border.
9662Solution: Only clear the character before the window if it is using a
9663 multi-byte character. (closes #6766)
9664Files: src/screen.c
9665
9666Patch 8.2.1510
9667Problem: Using "var" in a :def function may refer to a legacy Vim script
9668 variable.
9669Solution: Require using "s:" to refer to a legacy Vim script variable.
9670 (closes #6771)
9671Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
9672
9673Patch 8.2.1511
9674Problem: Putting a string in Visual block mode ignores multi-byte
9675 characters.
9676Solution: Adjust the column for Visual block mode. (closes #6767)
9677Files: src/register.c, src/testdir/test_visual.vim
9678
9679Patch 8.2.1512
9680Problem: Failure after ternary expression fails.
9681Solution: Restore eval_flags. (Yasuhiro Matsumoto, closes #6776)
9682Files: src/eval.c, src/testdir/test_vimscript.vim,
9683 src/testdir/test_vim9_expr.vim
9684
9685Patch 8.2.1513
9686Problem: Cannot interrupt shell used for filename expansion. (Dominique
9687 Pellé)
9688Solution: Do set tmode in mch_delay(). (closes #6770)
9689Files: src/vim.h, src/os_unix.c, src/proto/os_unix.pro, src/term.c,
9690 src/channel.c, src/if_cscope.c, src/os_amiga.c, src/ui.c,
9691 src/proto/os_amiga.pro, src/os_win32.c, src/proto/os_win32.pro
9692
9693Patch 8.2.1514
9694Problem: Multibyte vertical separator is cleared when dragging a popup
9695 window using a multi-byte character for the border.
9696Solution: Only clear the character before the window if it is double width.
9697 (closes #6766)
9698Files: src/screen.c
9699
9700Patch 8.2.1515
9701Problem: Vim9: can create s:var in legacy script but cannot unlet.
9702Solution: Allow :unlet for legacy script var.
9703Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
9704
9705Patch 8.2.1516
9706Problem: Vim9: error for :exe has wrong line number.
9707Solution: Set line number before calling do_cmdline_cmd(). (closes #6774)
9708Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
9709
9710Patch 8.2.1517
9711Problem: Cannot easily get the character under the cursor.
9712Solution: Add the {chars} argument to strpart().
9713Files: runtime/doc/eval.txt, src/evalfunc.c,
9714 src/testdir/test_functions.vim
9715
9716Patch 8.2.1518
9717Problem: Vim9: cannot assign to local option.
9718Solution: Skip over "&l:" and "&g:". (closes #6749)
9719Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/testdir/vim9.vim,
Bram Moolenaar47c532e2022-03-19 15:18:53 +00009720 src/vim9compile.c, src/testdir/test_vim9_script.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +00009721
9722Patch 8.2.1519
9723Problem: Vim9: Ex command default range is not set.
9724Solution: When range is not given use default. (closes #6779)
9725Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
9726
9727Patch 8.2.1520
9728Problem: Vim9: CTRL-] used in :def function does not work.
9729Solution: Omit count or prepend colon. (closes #6769)
9730Files: src/normal.c, src/testdir/test_vim9_cmd.vim
9731
9732Patch 8.2.1521
9733Problem: Reading past end of buffer when reading spellfile. (Yegappan
9734 Lakshmanan)
9735Solution: Store the byte length and check for it.
9736Files: src/spellfile.c, src/spell.h
9737
9738Patch 8.2.1522
9739Problem: Not enough test coverage for the spell file handling.
9740Solution: Add spell file tests. (Yegappan Lakshmanan, closes #6763)
9741Files: src/testdir/test_spellfile.vim
9742
9743Patch 8.2.1523
9744Problem: Still not enough test coverage for the spell file handling.
9745Solution: Add spell file tests. (Yegappan Lakshmanan, closes #6790)
9746Files: src/testdir/test_spellfile.vim
9747
9748Patch 8.2.1524
9749Problem: No longer get an error for string concatenation with float.
9750 (Tsuyoshi Cho)
9751Solution: Only convert float for Vim9 script. (closes #6787)
9752Files: src/eval.c, src/testdir/test_eval_stuff.vim
9753
9754Patch 8.2.1525
9755Problem: Messages from tests were not always displayed.
9756Solution: Always show messages, the timing is always useful. (Ken Takata,
9757 closes #6792)
9758Files: src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
9759 src/testdir/Makefile
9760
9761Patch 8.2.1526
9762Problem: Line in testdir Makefile got commented out. (Christian Brabandt)
9763Solution: Revert.
9764Files: src/testdir/Makefile
9765
9766Patch 8.2.1527
9767Problem: Vim9: cannot use a function name as a function reference at script
9768 level.
9769Solution: Check if a name is a function name. (closes #6789)
9770Files: src/evalvars.c, src/testdir/test_vim9_expr.vim,
9771 src/testdir/test_vim9_script.vim
9772
9773Patch 8.2.1528
9774Problem: Vim9: :endif not found after "if false".
9775Solution: When skipping still check for a following command. (closes #6797)
9776Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
9777
9778Patch 8.2.1529
9779Problem: Vim9: :elseif may be compiled when not needed.
9780Solution: Do evaluate the :elseif expression.
9781Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
9782
9783Patch 8.2.1530
9784Problem: Vim9: test fails on MS-Windows.
9785Solution: Skip Ex command inside "if false".
9786Files: src/vim9compile.c
9787
9788Patch 8.2.1531
9789Problem: Vim9: test still fails on MS-Windows.
9790Solution: When skipping expect function to be NULL.
9791Files: src/vim9compile.c
9792
9793Patch 8.2.1532
9794Problem: Compiler warning for conversion of size_t to long.
9795Solution: Add type cast.
9796Files: src/eval.c
9797
9798Patch 8.2.1533
9799Problem: Vim9: error when passing getreginfo() result to setreg().
9800Solution: Use dict_get_bool() for "isunnamed". (closes #6784)
9801Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
9802
9803Patch 8.2.1534
9804Problem: Vim9: type error for argument type is not at call position.
9805Solution: Set the context and stack after checking the arguments.
9806 (issue #6785)
9807Files: src/userfunc.c, src/vim9execute.c, src/testdir/test_vim9_func.vim
9808
9809Patch 8.2.1535
9810Problem: It is not possible to specify cell widths of characters.
9811Solution: Add setcellwidths().
9812Files: runtime/doc/eval.txt, runtime/doc/options.txt,
9813 runtime/doc/usr_41.txt, src/evalfunc.c, src/mbyte.c,
9814 src/proto/mbyte.pro, src/errors.h, src/testdir/test_utf8.vim
9815
9816Patch 8.2.1536
9817Problem: Cannot get the class of a character; emoji widths are wrong in
9818 some environments.
9819Solution: Add charclass(). Update some emoji widths. Add script to check
9820 emoji widths.
9821Files: Filelist, runtime/doc/eval.txt, runtime/doc/usr_41.txt,
9822 src/evalfunc.c, src/mbyte.c, src/proto/mbyte.pro,
9823 src/testdir/emoji_list.vim, src/testdir/test_functions.vim
9824
9825Patch 8.2.1537
Bram Moolenaar1588bc82022-03-08 21:35:07 +00009826Problem: Memory access error when using setcellwidths().
Bram Moolenaarc51cf032022-02-26 12:25:45 +00009827Solution: Use array and pointers correctly.
9828Files: src/mbyte.c, src/errors.h, src/testdir/test_utf8.vim
9829
9830Patch 8.2.1538
9831Problem: Python: iteration over vim objects fails to keep reference.
9832Solution: Keep a reference for the object. (Paul Ollis, closes #6803,
9833 closes #6806)
9834Files: src/if_py_both.h, src/testdir/test_python3.vim
9835
9836Patch 8.2.1539
9837Problem: Using invalid script ID causes a crash.
9838Solution: Check the script ID to be valid. (closes #6804)
9839Files: src/globals.h, src/evalvars.c, src/profiler.c, src/scriptfile.c,
9840 src/vim9compile.c, src/testdir/test_vim9_script.vim
9841
9842Patch 8.2.1540
9843Problem: The user cannot try out emoji character widths.
9844Solution: Move the emoji script to the runtime/tools directory.
9845Files: Filelist, src/testdir/emoji_list.vim, runtime/tools/emoji_list.vim
9846
9847Patch 8.2.1541
9848Problem: Vim9: cannot find function reference for s:Func.
9849Solution: Recognize <SNR> prefix. (closes #6805)
9850Files: src/userfunc.c, src/vim9execute.c,
9851 src/testdir/test_vim9_script.vim
9852
9853Patch 8.2.1542
9854Problem: Vim9: test with invalid SID does not work in the GUI.
9855Solution: Skip the test in the GUI.
9856Files: src/testdir/test_vim9_script.vim
9857
9858Patch 8.2.1543
9859Problem: Vim9: test with invalid SID is skipped in the GUI.
9860Solution: Read the CTRL-C that feedkeys() put in typeahead.
9861Files: src/testdir/test_vim9_script.vim
9862
9863Patch 8.2.1544
9864Problem: Cannot translate messages in a Vim script.
9865Solution: Add gettext(). Try it out for a few messages in the options
9866 window.
9867Files: Filelist, src/po/Makefile, src/po/README.txt, runtime/optwin.vim,
9868 src/evalfunc.c, src/po/tojavascript.vim, src/po/fixfilenames.vim,
9869 runtime/doc/eval.txt, runtime/doc/usr_41.txt
9870
9871Patch 8.2.1545
9872Problem: ch_logfile() is unclear about closing when forking.
9873Solution: Adjust the log messages.
9874Files: src/channel.c, src/os_unix.c
9875
9876Patch 8.2.1546
9877Problem: Build rule for Vim.app is unused.
9878Solution: Delete the related build rules.
9879Files: src/Makefile
9880
9881Patch 8.2.1547
9882Problem: Various comment problems.
9883Solution: Update comments.
9884Files: src/arglist.c, src/map.c, src/mbyte.c, src/tag.c, src/undo.c,
9885 src/testdir/README.txt, src/testdir/test_put.vim,
9886 src/libvterm/README
9887
9888Patch 8.2.1548
9889Problem: Cannot move position of "%%" in message translations. (Emir Sarı)
9890Solution: Improve the check script.
9891Files: src/po/check.vim
9892
9893Patch 8.2.1549
9894Problem: The "r" command fails for keys with modifiers if 'esckeys' is off
9895 and modifyOtherKeys is used. (Lauri Tirkkonen)
9896Solution: Temporarily disable bracketed paste and modifyOtherKeys if
9897 'esckeys' is off. (closes #6809)
9898Files: src/normal.c
9899
9900Patch 8.2.1550
9901Problem: Vim9: bufname('%') gives an error.
9902Solution: Only give an error for wrong argument type. (closes #6807)
9903Files: src/evalbuffer.c, src/testdir/test_vim9_func.vim
9904
9905Patch 8.2.1551
9906Problem: Vim9: error for argument type does not mention the number.
9907Solution: Pass the argument number to where the error is given.
9908Files: src/vim9type.c, src/proto/vim9type.pro, src/vim9compile.c,
9909 src/vim9execute.c, src/vim9script.c, src/eval.c,
9910 src/testdir/test_vim9_func.vim
9911
9912Patch 8.2.1552
9913Problem: Warnings from asan with clang-11. (James McCoy)
9914Solution: Avoid using a NULL pointer. (issue #6811)
9915Files: src/fold.c
9916
9917Patch 8.2.1553 (after 8.2.1552)
9918Problem: Crash in edit test.
9919Solution: Avoid using invalid pointer.
9920Files: src/fold.c
9921
9922Patch 8.2.1554
9923Problem: Crash in normal test.
9924Solution: Skip adjusting marks if there are no folds.
9925Files: src/fold.c
9926
9927Patch 8.2.1555
9928Problem: Not all tests are executed on Github Actions.
9929Solution: Copy "src" to "src2" earlier. Recognize "src2" in a couple more
9930 places. Add two tests to the list of flaky tests. (Ken Takata,
9931 closes #6798)
9932Files: .github/workflows/ci-windows.yaml, src/testdir/runtest.vim,
9933 src/testdir/test_python2.vim, src/testdir/test_python3.vim
9934
9935Patch 8.2.1556
9936Problem: Cursorline highlighting always overrules sign highlighting.
9937Solution: Combine the highlighting, use the priority to decide how.
9938 (closes #6812)
9939Files: runtime/doc/sign.txt, src/structs.h, src/drawline.c,
9940 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim,
9941 src/testdir/test_signs.vim,
9942 src/testdir/dumps/Test_sign_cursor_5.dump,
9943 src/testdir/dumps/Test_sign_cursor_6.dump
9944
9945Patch 8.2.1557
9946Problem: Crash in :vimgrep when started as "vim -n". (Raul Segura)
9947Solution: Check mfp pointer. (Yegappan Lakshmanan, closes #6827)
9948Files: src/quickfix.c, src/testdir/test_quickfix.vim
9949
9950Patch 8.2.1558
9951Problem: Signs test fails.
9952Solution: Add missing change to sign.c.
9953Files: src/sign.c
9954
9955Patch 8.2.1559
9956Problem: s390x tests work again.
9957Solution: re-enable s390x tests. (James McCoy, closes #6829)
9958Files: .travis.yml
9959
9960Patch 8.2.1560
9961Problem: Using NULL pointers in some code. (James McCoy)
9962Solution: Avoid adding to a NULL pointer. Use byte as unsigned.
9963Files: src/fold.c, src/eval.c, src/spellsuggest.c, src/spellfile.c,
9964 src/vim9compile.c
9965
9966Patch 8.2.1561
9967Problem: Using NULL pointers in fold code.
9968Solution: Avoid using a NULL pointer. (Dominique Pellé, closes #6831,
9969 closes #6831)
9970Files: src/fold.c
9971
9972Patch 8.2.1562
9973Problem: Vim9: error when using "%" where a buffer is expected.
9974Solution: Add tv_get_buf_from_arg(). (closes #6814)
9975Files: src/typval.c, src/proto/typval.pro, src/evalbuffer.c,
9976 src/testdir/test_vim9_func.vim
9977
9978Patch 8.2.1563
9979Problem: Vim9: error when using '%" with setbufvar() or getbufvar().
9980Solution: Use tv_get_buf_from_arg(). (closes #6816)
9981Files: src/evalvars.c, src/testdir/test_vim9_func.vim
9982
9983Patch 8.2.1564
9984Problem: A few remaining errors from ubsan.
9985Solution: Avoid the warnings. (Dominique Pellé, closes #6837)
9986Files: src/spellfile.c, src/spellsuggest.c, src/viminfo.c
9987
9988Patch 8.2.1565
9989Problem: Spellfile test sometimes fails.
9990Solution: Check running into the end of the file.
9991Files: src/spellfile.c
9992
9993Patch 8.2.1566
9994Problem: Not all Bazel files are recognized.
9995Solution: Add *.bazel and *.BUILD. (closes #6836)
9996Files: runtime/filetype.vim, src/testdir/test_filetype.vim
9997
9998Patch 8.2.1567
9999Problem: No example to use ubsan with clang.
10000Solution: Add example commands. (Dominique Pellé, issue #6811)
10001Files: src/Makefile
10002
10003Patch 8.2.1568
10004Problem: prop_find() skips properties in the same line if "skipstart" is
10005 used.
10006Solution: Use "continue" instead of "break". (closes #6840)
10007Files: src/textprop.c, src/testdir/test_textprop.vim
10008
10009Patch 8.2.1569
10010Problem: Vim9: fixes for functions not tested; failure in getchangelist().
10011Solution: Add tests. (closes #6813, closes #6815, closes #6817)
10012Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10013
10014Patch 8.2.1570
10015Problem: Configure check for dirfd() does not work on HPUX. (Michael Osipov)
10016Solution: Use AC_TRY_LINK instead of AC_TRY_COMPILE. (closes #6838)
10017Files: src/configure.ac, src/auto/configure, src/fileio.c, src/globals.h
10018
10019Patch 8.2.1571
10020Problem: Vim9: count() third argument cannot be "true".
10021Solution: Use tv_get_bool_chk(). (closes #6818)
10022Files: src/typval.c, src/list.c, src/testdir/test_vim9_func.vim
10023
10024Patch 8.2.1572
10025Problem: Vim9: expand() does not take "true" as argument.
10026Solution: Use tv_get_bool_chk(). (closes #6819)
10027Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10028
10029Patch 8.2.1573
10030Problem: Vim9: getreg() does not take "true" as argument.
10031Solution: Use tv_get_bool_chk(). (closes #6820)
10032Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10033
10034Patch 8.2.1574
10035Problem: Vim9: glob() does not take "true" as argument.
10036Solution: Use tv_get_bool_chk(). (closes #6821)
10037Files: src/filepath.c, src/testdir/test_vim9_func.vim
10038
10039Patch 8.2.1575
10040Problem: Vim9: globpath() does not take "true" as argument.
10041Solution: Use tv_get_bool_chk(). (closes #6821)
10042Files: src/filepath.c, src/testdir/test_vim9_func.vim
10043
10044Patch 8.2.1576
10045Problem: Vim9: index() does not take "true" as argument.
10046Solution: Use tv_get_bool_chk(). (closes #6823)
10047Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10048
10049Patch 8.2.1577
10050Problem: Vim9: hasmapto(), mapcheck() and maparg() do not take "true" as
10051 argument.
10052Solution: Use tv_get_bool(). (closes #6822, closes #6824)
10053Files: src/evalfunc.c, src/map.c, src/testdir/test_vim9_func.vim
10054
10055Patch 8.2.1578
10056Problem: Vim9: popup_clear() does not take "true" as argument.
10057Solution: Use tv_get_bool(). (closes #6826)
10058Files: src/popupwin.c, src/testdir/test_popupwin.vim
10059
10060Patch 8.2.1579
10061Problem: Reports from asan are not optimal.
10062Solution: Use clang with ubsan. (James McCoy, closes #6811)
10063Files: .travis.yml
10064
10065Patch 8.2.1580
10066Problem: Wildmenu does not work properly.
10067Solution: Do not call may_do_incsearch_highlighting() if completion is in
10068 progress.
10069Files: src/ex_getln.c, src/testdir/test_cmdline.vim,
10070 src/testdir/dumps/Test_wildmenu_1.dump,
10071 src/testdir/dumps/Test_wildmenu_2.dump,
10072 src/testdir/dumps/Test_wildmenu_3.dump,
10073 src/testdir/dumps/Test_wildmenu_4.dump
10074
10075Patch 8.2.1581
10076Problem: Using line() for global popup window doesn't work.
10077Solution: Set tabpage to "curtab". (closes #6847)
10078Files: src/evalwindow.c, src/testdir/test_popupwin.vim
10079
10080Patch 8.2.1582
10081Problem: The channel log does not show typed text.
10082Solution: Add raw typed text to the log file.
10083Files: src/ui.c, src/os_win32.c
10084
10085Patch 8.2.1583
10086Problem: MS-Windows: cannot easily measure code coverage.
10087Solution: Add the COVERAGE option. (Ken Takata, closes #6842)
10088Files: src/Make_cyg_ming.mak
10089
10090Patch 8.2.1584
10091Problem: Vim9: cannot use "true" for "skipstart" in prop_find().
10092Solution: Use dict_get_bool() instead of tv_get_number(). (closes #6852)
10093Files: src/textprop.c, src/testdir/test_textprop.vim
10094
10095Patch 8.2.1585
10096Problem: Messages in errors.h not translated, xgettext on MS-Windows not
10097 fully supported.
10098Solution: Add errors.h to list of input files. Update MS-Windows makefiles
10099 to improve message translations. (Ken Takata, closes #6858)
10100Files: src/po/Make_cyg.mak, src/po/Make_ming.mak, src/po/Make_mvc.mak,
10101 src/po/Makefile, src/po/README.txt, src/po/fixfilenames.vim
10102
10103Patch 8.2.1586
10104Problem: :resize command not fully tested.
10105Solution: Add a couple of tests. (Dominique Pellé, closes #6857)
10106Files: src/testdir/test_window_cmd.vim
10107
10108Patch 8.2.1587
10109Problem: Loop for handling keys for the command line is too long.
10110Solution: Move wild menu handling to separate functions. (Yegappan
10111 Lakshmanan, closes #6856)
10112Files: src/cmdexpand.c, src/proto/cmdexpand.pro, src/ex_getln.c
10113
10114Patch 8.2.1588
10115Problem: Cannot read back the prompt of a prompt buffer.
10116Solution: Add prompt_getprompt(). (Ben Jackson, closes #6851)
10117Files: runtime/doc/channel.txt, runtime/doc/eval.txt,
10118 runtime/doc/usr_41.txt, src/channel.c, src/edit.c, src/evalfunc.c,
10119 src/proto/channel.pro, src/proto/edit.pro,
10120 src/testdir/test_prompt_buffer.vim
10121
10122Patch 8.2.1589
10123Problem: Term_start() options for size are overruled by 'termwinsize'.
10124 (Sergey Vlasov)
10125Solution: Set 'termwinsize' to the specified size.
10126Files: src/terminal.c, src/testdir/test_terminal2.vim,
10127 src/testdir/term_util.vim
10128
10129Patch 8.2.1590
10130Problem: Vim9: bufnr() doesn't take "true" argument.
10131Solution: use tv_get_bool_chk(). (closes #6863)
10132Files: src/evalbuffer.c, src/testdir/test_vim9_func.vim
10133
10134Patch 8.2.1591
10135Problem: Using winheight('.') in tests works but is wrong.
10136Solution: Use winheight(0). (issue #6863)
10137Files: src/testdir/test_functions.vim, src/testdir/test_quickfix.vim
10138
10139Patch 8.2.1592
10140Problem: Vim9: passing "true" to char2nr() fails.
10141Solution: Use tv_get_bool_chk(). (closes #6865)
10142Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10143
10144Patch 8.2.1593
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010145Problem: Tests do not check the error number properly.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010146Solution: Add a colon after the error number. (closes #6869)
10147Files: src/testdir/test_assert.vim, src/testdir/test_autocmd.vim,
10148 src/testdir/test_backspace_opt.vim, src/testdir/test_channel.vim,
10149 src/testdir/test_clientserver.vim, src/testdir/test_cmdline.vim,
10150 src/testdir/test_const.vim, src/testdir/test_cscope.vim,
10151 src/testdir/test_eval_stuff.vim, src/testdir/test_functions.vim,
10152 src/testdir/test_global.vim, src/testdir/test_gui.vim,
10153 src/testdir/test_hlsearch.vim, src/testdir/test_lambda.vim,
10154 src/testdir/test_let.vim, src/testdir/test_listdict.vim,
10155 src/testdir/test_move.vim, src/testdir/test_normal.vim,
10156 src/testdir/test_popupwin.vim, src/testdir/test_put.vim,
10157 src/testdir/test_quickfix.vim, src/testdir/test_rename.vim,
10158 src/testdir/test_search.vim, src/testdir/test_signs.vim,
10159 src/testdir/test_substitute.vim, src/testdir/test_syntax.vim,
10160 src/testdir/test_tagfunc.vim, src/testdir/test_tagjump.vim,
10161 src/testdir/test_taglist.vim, src/testdir/test_terminal.vim,
10162 src/testdir/test_terminal2.vim, src/testdir/test_textprop.vim,
10163 src/testdir/test_timers.vim, src/testdir/test_true_false.vim,
10164 src/testdir/test_user_func.vim, src/testdir/test_vim9_func.vim,
10165 src/testdir/test_vim9_script.vim, src/testdir/test_vimscript.vim,
10166 src/testdir/test_winbar.vim, src/testdir/test_winbuf_close.vim,
10167 src/testdir/test_window_cmd.vim, src/testdir/test_writefile.vim
10168
10169Patch 8.2.1594
10170Problem: Pull requests on github do not notify a maintainer.
10171Solution: Add a CODEOWNERS file with a few initial entries.
10172Files: Filelist, .github/CODEOWNERS
10173
10174Patch 8.2.1595
10175Problem: Cannot easily see what Vim sends to the terminal.
10176Solution: Write output to the channel log if it contains terminal control
10177 sequences. Avoid warnings for tputs() argument.
10178Files: src/term.c, src/globals.h, src/edit.c, src/normal.c,
10179 src/optionstr.c
10180
10181Patch 8.2.1596
10182Problem: Using win_screenpos('.') in tests works but is wrong.
10183Solution: Use win_screenpos(0).
10184Files: src/testdir/test_terminal3.vim
10185
10186Patch 8.2.1597
10187Problem: The channel source file is too big.
10188Solution: Move job related code to a new source file.
10189Files: Filelist, src/Makefile, src/Make_mvc.mak, src/Make_cyg_ming.mak,
10190 src/channel.c, src/proto/channel.pro, src/job.c,
10191 src/proto/job.pro, src/proto.h, src/edit.c, src/proto/edit.pro,
10192 src/globals.h, src/configure.ac, src/auto/configure
10193
10194Patch 8.2.1598
10195Problem: Starting a hidden terminal resizes the current window.
10196Solution: Do not resize the current window for a hidden terminal.
10197 (closes #6872)
10198Files: src/terminal.c, src/testdir/test_terminal2.vim
10199
10200Patch 8.2.1599
10201Problem: Missing line end when skipping a long line with :cgetfile.
10202Solution: Fix off-by-one error. (closes #6870)
10203Files: src/quickfix.c, src/testdir/test_quickfix.vim
10204
10205Patch 8.2.1600
10206Problem: Vim9: cannot use "true" with deepcopy().
10207Solution: Use tv_get_bool_chk(). (closes #6867)
10208Files: src/evalfunc.c, src/testdir/test_vim9_func.vim,
10209 src/testdir/test_listdict.vim
10210
10211Patch 8.2.1601
10212Problem: Vim9: cannot use "true" with garbagecollect().
10213Solution: Use tv_get_bool(). (closes #6871)
10214Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10215
10216Patch 8.2.1602
10217Problem: Vim9: cannot use "true" with getbufinfo().
10218Solution: Use dict_get_bool(). (closes #6873)
10219Files: src/evalbuffer.c, src/testdir/test_vim9_func.vim
10220
10221Patch 8.2.1603
10222Problem: Vim9: cannot use "true" with getchar().
10223Solution: use tv_get_bool_chk(). (closes #6874)
10224Files: src/getchar.c, src/testdir/test_vim9_func.vim
10225
10226Patch 8.2.1604
10227Problem: Vim9: cannot use "true" with getcompletion().
10228Solution: use tv_get_bool_chk(). (closes #6875)
10229Files: src/cmdexpand.c, src/testdir/test_vim9_func.vim
10230
10231Patch 8.2.1605
10232Problem: Default maintainer on github is wrong.
10233Solution: Use Bram's account.
10234Files: .github/CODEOWNERS
10235
10236Patch 8.2.1606
10237Problem: Vim9: cannot use "true" with has().
10238Solution: Use tv_get_bool(). (closes #6876)
10239Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10240
10241Patch 8.2.1607
10242Problem: Vim9: getchar() test fails on MS-Windows.
10243Solution: First consume any available input.
10244Files: src/testdir/test_vim9_func.vim
10245
10246Patch 8.2.1608
10247Problem: Vim9: getchar() test fails with GUI.
10248Solution: Avoid that getchar(0) gets stuck on K_IGNORE.
10249Files: src/getchar.c
10250
10251Patch 8.2.1609
10252Problem: Vim9: test fails when build without +channel.
10253Solution: Add check for +channel. (closes #6879)
10254Files: src/testdir/test_vim9_expr.vim
10255
10256Patch 8.2.1610
10257Problem: Vim9: cannot pass "true" to list2str() and str2list().
10258Solution: Use tv_get_bool_chk(). (closes #6877)
10259Files: src/evalfunc.c, src/list.c, src/testdir/test_vim9_func.vim
10260
10261Patch 8.2.1611
10262Problem: Vim9: cannot pass "true" to nr2char().
10263Solution: use tv_get_bool_chk(). (closes #6878)
10264Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10265
10266Patch 8.2.1612
10267Problem: Vim9: cannot pass "true" to prop_remove().
10268Solution: Use dict_get_bool(). (closes #6853)
10269Files: src/textprop.c, src/testdir/test_textprop.vim
10270
10271Patch 8.2.1613
10272Problem: Vim9: cannot pass "true" to prop_type_add().
10273Solution: Use tv_get_bool(). (closes #6850)
10274Files: src/textprop.c, src/testdir/test_textprop.vim
10275
10276Patch 8.2.1614
10277Problem: Vim9: cannot pass "true" to searchcount().
10278Solution: Use tv_get_bool_chk(). (closes #6854)
10279Files: src/search.c, src/testdir/test_vim9_func.vim
10280
10281Patch 8.2.1615
10282Problem: Vim9: cannot pass "true" to searchdecl().
10283Solution: use tv_get_bool_chk(). (closes #6881)
10284Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10285
10286Patch 8.2.1616
10287Problem: Vim9: cannot pass "true" to synID().
10288Solution: Use tv_get_bool_chk(). (closes #6860)
10289Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10290
10291Patch 8.2.1617
10292Problem: Vim9: cannot pass "true" to win_splitmove().
10293Solution: Use dict_get_bool(). (closes #6862) Alphabetize test functions.
10294Files: src/evalwindow.c, src/testdir/test_vim9_func.vim
10295
10296Patch 8.2.1618
10297Problem: Vim9: cannot pass "true" to setloclist().
10298Solution: Use dict_get_bool(). (closes #6882)
10299Files: src/quickfix.c, src/testdir/test_vim9_func.vim
10300
10301Patch 8.2.1619
10302Problem: Vim9: cannot pass "true" to spellsuggest().
10303Solution: Use tv_get_bool_chk(). (closes #6883)
10304Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10305
10306Patch 8.2.1620
10307Problem: searchcount() test fails.
10308Solution: Restore default flag value.
10309Files: src/search.c
10310
10311Patch 8.2.1621
10312Problem: Crash when using submatch(0, 1) in substitute().
10313Solution: Increment reference count. (closes #6887)
10314Files: src/regexp.c, src/testdir/test_substitute.vim
10315
10316Patch 8.2.1622
10317Problem: Loop to handle keys for the command line is too long.
10318Solution: Move code to functions. (Yegappan Lakshmanan, closes #6880)
10319Files: src/ex_getln.c
10320
10321Patch 8.2.1623
10322Problem: Vim9: using :call where it is not needed.
10323Solution: Remove :call. (closes #6892)
10324Files: src/testdir/test_maparg.vim, src/testdir/test_textprop.vim,
10325 src/testdir/test_vim9_disassemble.vim,
10326 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
10327 src/testdir/test_vim9_script.vim
10328
10329Patch 8.2.1624
10330Problem: Vim9: cannot pass "true" to split(), str2nr() and strchars().
10331Solution: Use tv_get_bool_chk(). (closes #6884, closes #6885, closes #6886)
10332Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
10333
10334Patch 8.2.1625
10335Problem: Compiler warning for use of fptr_T.
10336Solution: Make the type less strict.
10337Files: src/regexp.c
10338
10339Patch 8.2.1626
10340Problem: Test for strchars() fails with different error number.
10341Solution: Adjust the error number.
10342Files: src/testdir/test_utf8.vim
10343
10344Patch 8.2.1627
10345Problem: Vim9: cannot pass "true" to submatch(), term_gettty() and
10346 term_start()
10347Solution: Use tv_get_bool_chk(). (closes #6888, closes #6890, closes #6889)
10348Files: src/evalfunc.c, src/terminal.c, src/job.c,
10349 src/testdir/test_vim9_func.vim
10350
10351Patch 8.2.1628
10352Problem: Vim9: cannot pass "true" to timer_paused().
10353Solution: Use tv_get_bool(). (closes #6891)
10354Files: src/time.c, src/testdir/test_vim9_func.vim
10355
10356Patch 8.2.1629
10357Problem: Test fails without terminal feature.
10358Solution: Check for terminal feature.
10359Files: src/testdir/test_vim9_func.vim
10360
10361Patch 8.2.1630
10362Problem: Terminal test fails.
10363Solution: Correct argument to term_start(). Correct error number.
10364Files: src/testdir/test_terminal.vim, src/testdir/test_terminal2.vim
10365
10366Patch 8.2.1631
10367Problem: test_fails() does not check the context of the line number.
10368Solution: Use another argument to specify the context of the line number.
10369Files: runtime/doc/testing.txt, runtime/doc/eval.txt,
10370 src/testdir/test_vim9_func.vim, src/testing.c, src/globals.h,
10371 src/evalfunc.c, src/message.c
10372
10373Patch 8.2.1632
10374Problem: Not checking the context of test_fails().
10375Solution: Add the line number and context arguments. Give error if
10376 assert_fails() argument types are wrong.
10377Files: src/testing.c, src/errors.h, src/testdir/test_assert.vim,
10378 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
10379
10380Patch 8.2.1633
10381Problem: Some error messages are internal but do not use iemsg().
10382Solution: Use iemsg(). (Dominique Pellé, closes #6894)
10383Files: src/regexp.c, src/regexp_bt.c, src/regexp_nfa.c
10384
10385Patch 8.2.1634
10386Problem: Loop to handle keys for the command line is too long.
10387Solution: Move a few more parts to separate functions. (Yegappan Lakshmanan,
10388 closes #6895)
10389Files: src/ex_getln.c, src/testdir/test_cmdline.vim
10390
10391Patch 8.2.1635
10392Problem: No digraph for 0x2022 BULLET.
10393Solution: Use "oo". (Hans Ginzel, closes #6904)
10394Files: src/digraph.c, runtime/doc/digraph.txt
10395
10396Patch 8.2.1636
10397Problem: Get stuck if a popup filter causes an error.
10398Solution: Check whether the function can be called and does not cause an
10399 error. (closes #6902)
10400Files: src/structs.h, src/popupwin.c, src/testdir/test_popupwin.vim
10401 src/testdir/dumps/Test_popupwin_wrong_name.dump,
10402 src/testdir/dumps/Test_popupwin_three_errors_1.dump,
10403 src/testdir/dumps/Test_popupwin_three_errors_2.dump
10404
10405Patch 8.2.1637
10406Problem: Vim9: :put ={expr} does not work inside :def function.
10407Solution: Add ISN_PUT. (closes #6397)
10408Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/register.c,
10409 src/proto/register.pro, src/edit.c, src/ex_docmd.c, src/mouse.c,
10410 src/normal.c, src/testdir/test_vim9_cmd.vim,
10411 src/testdir/test_vim9_disassemble.vim
10412
10413Patch 8.2.1638
10414Problem: Leaking memory when popup filter function can't be called.
10415Solution: Don't return too soon.
10416Files: src/popupwin.c
10417
10418Patch 8.2.1639
10419Problem: Options window cannot be translated.
10420Solution: Get the translation for "local to" texts once and use them in many
10421 places. Fix that 'whichwrap' is not a local option. (issue #6800)
10422Files: runtime/optwin.vim
10423
10424Patch 8.2.1640
10425Problem: Amiga: missing header for getgrgid().
10426Solution: Add the grp.h header. (Ola Söder, closes #6906)
10427Files: src/os_amiga.h
10428
10429Patch 8.2.1641
10430Problem: Vim9: cannot use 0 or 1 where a bool is expected.
10431Solution: Allow using 0 and 1 for a bool type. (closes #6903)
10432Files: src/vim9compile.c, src/vim9type.c, src/proto/vim9type.pro,
10433 src/structs.h, src/testdir/test_vim9_script.vim
10434
10435Patch 8.2.1642
10436Problem: Options test fails.
10437Solution: Correct call to OptionG().
10438Files: runtime/optwin.vim
10439
10440Patch 8.2.1643
10441Problem: Vim9: :defcompile compiles dead functions.
10442Solution: Skip over dead functions.
10443Files: src/userfunc.c
10444
10445Patch 8.2.1644
10446Problem: Vim9: cannot assign 1 and 0 to bool at script level.
10447Solution: Add the TTFLAG_BOOL_OK flag to the type. Fix name of test
10448 function.
10449Files: src/vim9type.c, src/testdir/test_vim9_script.vim,
10450 src/testdir/vim9.vim, src/testdir/test_vim9_expr.vim
10451
10452Patch 8.2.1645
10453Problem: GTK3: icons become broken images when resized.
10454Solution: Use gtk_image_new_from_icon_name(). (closes #6916)
10455 Fix compiler warnings.
10456Files: src/gui_gtk_x11.c
10457
10458Patch 8.2.1646
10459Problem: Amiga: Unnecessary #include.
10460Solution: Remove the #include. (Ola Söder, closes #6908)
10461Files: src/version.c
10462
10463Patch 8.2.1647
10464Problem: Vim9: result of expression with && and || cannot be assigned to a
10465 bool variable.
10466Solution: Add the TTFLAG_BOOL_OK flag and convert the value if needed.
10467Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
10468 src/testdir/test_vim9_disassemble.vim
10469
10470Patch 8.2.1648
10471Problem: Amiga: no common build file for Amiga (-like) systems.
10472Solution: Turn Make_morph.mak into Make_ami.mak. (Ola Söder, closes #6805)
10473Files: Filelist, src/Make_ami.mak, src/Make_morph.mak, src/INSTALLami.txt
10474
10475Patch 8.2.1649
10476Problem: GTK3: using old file chooser.
10477Solution: Use native file chooser on GTK 3.20 and above. (Yogeshwar
10478 Velingker, closes #6909)
10479Files: src/gui_gtk.c
10480
10481Patch 8.2.1650
10482Problem: Vim9: result of && and || expression cannot be assigned to a bool
10483 at the script level.
10484Solution: Add the VAR_BOOL_OK flag. Convert to bool when needed.
10485Files: src/structs.h, src/vim9type.c, src/proto/vim9type.pro,
10486 src/vim9script.c, src/evalvars.c, src/eval.c,
10487 src/testdir/test_vim9_script.vim
10488
10489Patch 8.2.1651
10490Problem: Spellfile code not completely tested.
10491Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #6918)
10492Files: src/testdir/test_spellfile.vim
10493
10494Patch 8.2.1652
10495Problem: Cannot translate lines in the options window.
10496Solution: Use the AddOption() function to split descriptions where indicated
10497 by a line break. (issue #6800)
10498Files: runtime/optwin.vim
10499
10500Patch 8.2.1653
10501Problem: Expand('<stack>') does not include the final line number.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010502Solution: Add the line number. (closes #6927)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010503Files: src/vim.h, src/scriptfile.c, src/proto/scriptfile.pro,
10504 src/debugger.c, src/ex_docmd.c, src/ex_eval.c, src/message.c,
10505 src/testing.c, src/testdir/test_expand_func.vim
10506
10507Patch 8.2.1654
10508Problem: When job writes to hidden buffer current window has display
10509 errors. (Johnny McArthur)
10510Solution: Use aucmd_prepbuf() instead of switch_to_win_for_buf().
10511 (closes #6925)
10512Files: src/channel.c
10513
10514Patch 8.2.1655
10515Problem: Cannot build with Strawberry Perl 5.32.0.
10516Solution: Use Perl_sv_2pvbyte_flags. (closes #6921)
10517Files: src/if_perl.xs
10518
10519Patch 8.2.1656
10520Problem: Vim9: callstack wrong if :def function calls :def function.
10521Solution: Set the line number before calling. (closes #6914)
10522Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
10523
10524Patch 8.2.1657
10525Problem: Vim9: no proper error for nested ":def!".
10526Solution: Check for "!". (closes #6920)
10527Files: src/errors.h, src/vim9compile.c, src/testdir/test_vim9_func.vim
10528
10529Patch 8.2.1658
10530Problem: Expand('<stack>') has trailing "..".
10531Solution: Remove the "..". (closes #6927)
10532Files: src/scriptfile.c, src/testdir/test_expand_func.vim
10533
10534Patch 8.2.1659
10535Problem: Spellfile code not completely tested.
10536Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #6929)
10537Files: src/testdir/test_spell.vim, src/testdir/test_spellfile.vim
10538
10539Patch 8.2.1660
10540Problem: Assert functions require passing expected result as the first
10541 argument, which isn't obvious.
10542Solution: Use a method, as in "runtest()->assert_equal(expected)".
10543Files: src/testdir/test_vim9_func.vim
10544
10545Patch 8.2.1661
10546Problem: Cannot connect to 127.0.0.1 for host with only IPv6 addresses.
10547Solution: pass AI_V4MAPPED flag to getaddrinfo. (Filipe Brandenburger,
10548 closes #6931)
10549Files: src/channel.c
10550
10551Patch 8.2.1662
10552Problem: :mksession does not restore shared terminal buffer properly.
10553Solution: Keep a hashtab with terminal buffers. (Rob Pilling, closes #6930)
10554Files: src/hashtab.c, src/proto/terminal.pro, src/session.c,
10555 src/terminal.c, src/testdir/test_mksession.vim
10556
10557Patch 8.2.1663
10558Problem: Options window entries cannot be translated.
10559Solution: Use AddOption() for all explanations. (closes #6800)
10560Files: runtime/optwin.vim
10561
10562Patch 8.2.1664
10563Problem: Memory leak when using :mkview with a terminal buffer.
10564Solution: Don't use a hastab for :mkview. (Rob Pilling, closes #6935)
10565Files: src/session.c, src/terminal.c, src/testdir/test_mksession.vim
10566
10567Patch 8.2.1665
10568Problem: Cannot do fuzzy string matching.
10569Solution: Add matchfuzzy(). (Yegappan Lakshmanan, closes #6932)
10570Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
10571 src/proto/search.pro, src/search.c, src/testdir/test_functions.vim
10572
10573Patch 8.2.1666
10574Problem: The initial value of 'backupskip' can have duplicate items.
10575Solution: Remove duplicates, like when it is set later. (Tom Ryder,
10576 closes #6940)
10577Files: src/option.c, src/testdir/test_options.vim
10578
10579Patch 8.2.1667
10580Problem: Local function name cannot shadow a global function name.
10581Solution: Ignore global functions when checking a script-local or scoped
10582 function name. (closes #6926)
10583Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro,
10584 src/testdir/test_vim9_func.vim
10585
10586Patch 8.2.1668
10587Problem: Vim9: not accepting 0 or 1 as bool when type is any.
10588Solution: Convert the type with the CHECKTYPE instruction. (closes #6913)
10589Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
10590
10591Patch 8.2.1669
10592Problem: Vim9: memory leak when storing a value fails.
10593Solution: Free the value when not storing it.
10594Files: src/evalvars.c
10595
10596Patch 8.2.1670
10597Problem: A couple of gcc compiler warnings.
10598Solution: Initialize local variables. (Dominique Pellé, closes #6944)
10599Files: src/memline.c, src/option.c
10600
10601Patch 8.2.1671
10602Problem: Vim9: stray error for missing white space.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010603Solution: Do not skip over white space after member. (closes #6917)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010604Files: src/eval.c, src/testdir/test_vim9_expr.vim
10605
10606Patch 8.2.1672
10607Problem: v_lock is used when it is not initialized. (Yegappan Lakshmanan)
10608Solution: Initialize the typval in eval1().
10609Files: src/eval.c
10610
10611Patch 8.2.1673
10612Problem: complete_info() selected index has an invalid value. (Ben Jackson)
10613Solution: Set the index when there is only one match. (closes #6945)
10614 Add test for complete_info().
10615Files: src/insexpand.c, src/testdir/test_ins_complete.vim
10616
10617Patch 8.2.1674
10618Problem: Vim9: internal error when using variable that was not set.
10619Solution: Give a meaningful error. (closes #6937)
10620Files: src/vim9script.c, src/testdir/test_vim9_script.vim
10621
10622Patch 8.2.1675
10623Problem: MinGW: testdir makefile deletes non-existing file.
10624Solution: Use another way to delete the output file if it already exists.
10625 (Michael Soyka)
10626Files: src/testdir/Make_ming.mak
10627
10628Patch 8.2.1676
10629Problem: Compiler warnings for function typecast.
10630Solution: Add an intermediate cast to "void *".
10631Files: src/os_unix.c
10632
10633Patch 8.2.1677
10634Problem: Memory access errors when calling setloclist() in an autocommand.
10635Solution: Give an error if the list was changed unexpectedly. (closes #6946)
10636Files: src/quickfix.c, src/testdir/test_quickfix.vim
10637
10638Patch 8.2.1678
10639Problem: Crash when using ":set" after ":ownsyntax". (Dhiraj Mishra)
10640Solution: Make sure 'spelloptions' is not NULL. (closes #6950)
10641Files: src/syntax.c, src/testdir/test_syntax.vim
10642
10643Patch 8.2.1679
10644Problem: Vim9: ":*" is not recognized as a range.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010645Solution: Move recognizing "*" into skip_range(). (closes #6938)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010646Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/cmdexpand.c,
10647 src/ex_getln.c, src/userfunc.c, src/vim9compile.c,
10648 src/testdir/test_vim9_cmd.vim
10649
10650Patch 8.2.1680
10651Problem: Vim9: line number for compare error is wrong.
10652Solution: Set SOURCING_LNUM. (closes #6936)
10653Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
10654
10655Patch 8.2.1681
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010656Problem: Vim9: unnecessary :call commands in tests.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010657Solution: Remove the commands. (issue #6936)
10658Files: src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
10659
10660Patch 8.2.1682
10661Problem: Vim9: const works in an unexpected way.
10662Solution: ":const" only disallows changing the variable, not the value.
10663 Make "list[0] = 9" work at the script level.
10664Files: src/vim9compile.c, src/evalvars.c, src/testdir/test_vim9_script.vim
10665
10666Patch 8.2.1683
10667Problem: Vim9: assignment test fails.
10668Solution: Include changes to find Ex command.
10669Files: src/ex_docmd.c
10670
10671Patch 8.2.1684
10672Problem: "gF" does not use line number after file in Visual mode.
10673Solution: Look for ":123" after the Visual area. (closes #6952)
10674Files: src/findfile.c, src/testdir/test_gf.vim
10675
10676Patch 8.2.1685
10677Problem: Vim9: cannot declare a constant value.
10678Solution: Introduce ":const!".
10679Files: runtime/doc/vim9.txt, src/ex_cmds.h, src/vim9compile.c,
10680 src/vim9.h, src/vim9execute.c, src/evalvars.c,
10681 src/proto/evalvars.pro, src/errors.h, src/vim.h, src/eval.c,
10682 src/testdir/test_vim9_script.vim
10683
10684Patch 8.2.1686
10685Problem: Vim9: "const!" not sufficiently tested.
10686Solution: Add a few more test cases. Fix type checking.
10687Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
10688
10689Patch 8.2.1687
10690Problem: Vim9: out of bounds error.
10691Solution: Check that cmdidx is not negative.
10692Files: src/vim9compile.c
10693
10694Patch 8.2.1688
10695Problem: Increment/decrement removes text property.
10696Solution: Insert the new number before deleting the old one. (closes #6962)
10697Files: src/ops.c, src/testdir/test_textprop.vim
10698
10699Patch 8.2.1689
10700Problem: 'colorcolumn' doesn't show in indent.
10701Solution: Also draw the column when draw_state is WL_BRI or WL_SBR.
10702 (Alexey Demin, closes #6948, closes #6619)
10703Files: src/drawline.c, src/testdir/dumps/Test_colorcolumn_2.dump,
10704 src/testdir/dumps/Test_colorcolumn_3.dump,
10705 src/testdir/test_highlight.vim
10706
10707Patch 8.2.1690
10708Problem: Text properties not adjusted for "I" in Visual block mode.
10709Solution: Call inserted_bytes(). (closes #6961)
10710Files: src/ops.c, src/change.c, src/proto/change.pro,
10711 src/testdir/test_textprop.vim
10712
10713Patch 8.2.1691
10714Problem: Vim9: list<any> is not accepted where list<number> is expected.
10715Solution: Add functions to allocate and free a type_T, use it in
10716 ISN_CHECKTYPE. (closes #6959)
10717Files: src/vim9.h, src/globals.h, src/vim9compile.c, src/vim9execute.c,
10718 src/vim9type.c, src/proto/vim9type.pro, src/errors.h,
10719 src/evalfunc.c, src/testdir/test_vim9_disassemble.vim,
10720 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
10721 src/testdir/test_vim9_script.vim
10722
10723Patch 8.2.1692
10724Problem: Build fails because TTFLAG_STATIC is missing.
10725Solution: Include missing change.
10726Files: src/structs.h
10727
10728Patch 8.2.1693
10729Problem: "hi def" does not work for cleared highlight.
10730Solution: Check the "sg_cleared" flag. (Maxim Kim, closes #6956,
10731 closes #4405)
10732Files: src/highlight.c, src/testdir/test_highlight.vim
10733
10734Patch 8.2.1694
10735Problem: Compiler warning for loss if data.
10736Solution: Add typecast.
10737Files: src/ops.c
10738
10739Patch 8.2.1695
10740Problem: Vim9: crash when using varargs type "any".
10741Solution: Check if uf_va_type is &t_any. (closes #6957)
10742Files: src/vim9compile.c, src/vim9execute.c,
10743 src/testdir/test_vim9_func.vim
10744
10745Patch 8.2.1696
10746Problem: Unused (duplicate) macros.
10747Solution: Remove the macros.
10748Files: src/spell.c
10749
10750Patch 8.2.1697
10751Problem: Inconsistent capitalization of error messages.
10752Solution: Always start with a capital.
10753Files: src/errors.h, src/testdir/test_vim9_expr.vim,
10754 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim,
10755 src/testdir/test_assert.vim
10756
10757Patch 8.2.1698
10758Problem: Cannot lock a variable in legacy Vim script like in Vim9.
10759Solution: Make ":lockvar 0" work.
10760Files: runtime/doc/eval.txt, src/evalvars.c, src/proto/evalvars.pro,
10761 src/dict.c, src/eval.c, src/list.c, src/typval.c, src/userfunc.c,
10762 src/testdir/test_const.vim, src/testdir/test_listdict.vim
10763
10764Patch 8.2.1699
10765Problem: Build failure due to missing error message.
10766Solution: Add error message.
10767Files: src/errors.h
10768
10769Patch 8.2.1700
10770Problem: Vim9: try/catch causes wrong value to be returned.
10771Solution: Reset tcd_return. (closes #6964)
10772Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
10773
10774Patch 8.2.1701
10775Problem: Vim9: sort("i") does not work.
10776Solution: Don't try getting a number for a string argument. (closes #6958)
10777Files: src/list.c, src/testdir/test_vim9_func.vim
10778
10779Patch 8.2.1702
10780Problem: Crash when using undo after deleting folded lines.
10781Solution: Check for NULL pointer. (closes #6968)
10782Files: src/fold.c, src/testdir/test_fold.vim
10783
10784Patch 8.2.1703
10785Problem: ":highlight clear" does not restore default link.
10786Solution: Remember the default link and restore it. (Antony Scriven,
10787 closes #6970, closes #4405)
10788Files: runtime/doc/syntax.txt, src/highlight.c,
10789 src/testdir/test_highlight.vim
10790
10791Patch 8.2.1704
10792Problem: Vim9: crash in for loop when autoload script has an error.
10793Solution: Reset suppress_errthrow. Check for NULL list. (closes #6967)
10794Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
10795
10796Patch 8.2.1705
10797Problem: "verbose hi Name" reports incorrect info after ":hi clear".
10798Solution: Store the script context. (Antony Scriven, closes #6975)
10799Files: src/highlight.c, src/testdir/test_highlight.vim
10800
10801Patch 8.2.1706
10802Problem: Vim9: crash after running into the "Multiple closures" error.
10803Solution: When a function fails still update any closures. (closes #6973)
10804Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
10805
10806Patch 8.2.1707
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010807Problem: Small inconsistency in highlight test.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010808Solution: Use one argument for :execute. (Antony Scriven, #6975)
10809Files: src/testdir/test_highlight.vim
10810
10811Patch 8.2.1708
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010812Problem: Vim9: error message for function has unprintable characters.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010813Solution: use printable_func_name(). (closes #6965)
10814Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
10815
10816Patch 8.2.1709
10817Problem: Vim9: memory leak when using multiple closures.
10818Solution: Free the partial.
10819Files: src/vim9execute.c
10820
10821Patch 8.2.1710
10822Problem: Vim9: list of list type can be wrong.
10823Solution: Use VAR_UNKNOWN for empty list. Recognize VAR_UNKNOWN when
10824 looking for a common type. (closes #6979)
10825Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
10826
10827Patch 8.2.1711
10828Problem: Vim9: leaking memory when using partial.
10829Solution: Do delete the function even when it was compiled.
10830Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
10831 src/vim9execute.c
10832
10833Patch 8.2.1712
10834Problem: Vim9: leaking memory when calling a lambda.
10835Solution: Decrement function reference from ISN_DCALL.
10836Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro
10837
10838Patch 8.2.1713
10839Problem: Motif GUI: crash when setting menu colors. (Andrzej Bylicki)
10840Solution: Add {} to make "n" incremented correctly. (closes #6989,
10841 closes #5948)
10842Files: src/gui_motif.c
10843
10844Patch 8.2.1714
10845Problem: Text properties corrupted with substitute command. (Filipe
10846 Brandenburger)
10847Solution: Get the changed line again after using u_savesub(). (closes #6984)
10848Files: src/textprop.c, src/testdir/test_textprop.vim
10849
10850Patch 8.2.1715
10851Problem: Motif GUI: commented out code missed {}.
10852Solution: Add {} and reenable the code. (similar to #6989)
10853Files: src/gui_motif.c
10854
10855Patch 8.2.1716
10856Problem: Options window has duplicate translations.
10857Solution: Make one entry for "global or local to buffer". Fix wrong text.
10858 (closes #6983)
10859Files: runtime/optwin.vim
10860
10861Patch 8.2.1717
10862Problem: MS-Windows installer doesn't have Russian translations.
10863Solution: Add Russian translations. (closes #6985)
10864Files: nsis/gvim.nsi, nsis/lang/russian.nsi
10865
10866Patch 8.2.1718
10867Problem: Vim9: :def function disallows "firstline" and "lastline" argument
10868 names for no good reason.
10869Solution: Don't check the arguments for a :def function. (closes #6986)
10870Files: src/userfunc.c, src/testdir/test_vim9_func.vim
10871
10872Patch 8.2.1719
10873Problem: Vim9: no error if comma is missing in between arguments.
10874Solution: Give an error message.
10875Files: src/errors.h, src/vim9compile.c, src/testdir/test_vim9_expr.vim
10876
10877Patch 8.2.1720
10878Problem: Vim9: memory leak with heredoc that isn't executed. (Dominique
10879 Pellé)
10880Solution: Don't clear the list items. (closes #6991)
10881Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
10882
10883Patch 8.2.1721
10884Problem: MS-Windows installer doesn't work.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010885Solution: Write "Russian" in ASCII. (closes #6995, see #6985).
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010886Files: nsis/lang/russian.nsi
10887
10888Patch 8.2.1722
10889Problem: Vim9: cannot assign a lambda to a variable of type function.
10890Solution: Allow for assigning a partial to a variable of type function.
10891 (Naruhiko Nishino, closes #6996)
10892Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
10893
10894Patch 8.2.1723
10895Problem: Vim9: Variable argument name cannot start with underscore.
10896Solution: Use eval_isnamec1(). (closes #6988)
10897Files: src/userfunc.c, src/testdir/test_vim9_func.vim
10898
10899Patch 8.2.1724
10900Problem: Vim9: assignment tests spread out.
10901Solution: Create new test file for assignment tests.
10902Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_cmd.vim,
10903 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_expr.vim,
10904 src/testdir/Make_all.mak
10905
10906Patch 8.2.1725
10907Problem: Not all Pascal files are recognized.
10908Solution: Add filetype patterns. (Doug Kearns)
10909Files: runtime/filetype.vim, src/testdir/test_filetype.vim
10910
10911Patch 8.2.1726
10912Problem: Fuzzy matching only works on strings.
10913Solution: Support passing a dict. Add matchfuzzypos() to also get the match
10914 positions. (Yegappan Lakshmanan, closes #6947)
10915Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
10916 src/proto/search.pro, src/search.c, src/testdir/Make_all.mak,
10917 src/testdir/test_functions.vim, src/testdir/test_matchfuzzy.vim
10918
10919Patch 8.2.1727
10920Problem: A popup created with "cursorline" will ignore "firstline".
10921Solution: When both "cursorline" and "firstline" are present put the cursor
10922 on "firstline". (closes #7000) Add the "winid" argument to
10923 getcurpos().
10924Files: runtime/doc/eval.txt, src/evalfunc.c, src/popupwin.c,
10925 src/evalwindow.c, src/testdir/test_popupwin.vim,
10926 src/testdir/test_functions.vim
10927
10928Patch 8.2.1728
10929Problem: Compiler warning for using uninitialized variable. (John Marriott)
10930Solution: Initialize "neighbor".
10931Files: src/search.c
10932
10933Patch 8.2.1729
10934Problem: Endless loop when ":normal" feeds popup window filter.
10935Solution: Add the ex_normal_busy_done flag.
10936Files: src/globals.h, src/getchar.c, src/evalfunc.c, src/ex_docmd.c,
10937 src/menu.c, src/testdir/test_popupwin.vim,
10938 src/testdir/dumps/Test_popupwin_normal_cmd.dump
10939
10940Patch 8.2.1730
10941Problem: Vim9: cannot use member of unknown type.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000010942Solution: When type is unknown use "any". (closes #6997)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000010943Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
10944
10945Patch 8.2.1731
10946Problem: Vim9: cannot use += to append to empty NULL list.
10947Solution: Copy the list instead of extending it. (closes #6998)
10948Files: src/eval.c, src/testdir/test_vim9_assign.vim
10949
10950Patch 8.2.1732
10951Problem: Stuck when win_execute() for a popup causes an error.
10952Solution: Disable the filter callback on error. (issue #6999)
10953Files: src/popupwin.c, src/testdir/term_util.vim,
10954 src/testdir/test_popupwin.vim,
10955 src/testdir/dumps/Test_popupwin_win_execute.dump
10956
10957Patch 8.2.1733
10958Problem: Vim9: memory leaks when using nested function.
10959Solution: Free function when compilation fails.
10960Files: src/vim9compile.c
10961
10962Patch 8.2.1734
10963Problem: Vim9: cannot use a funcref for a closure twice.
10964Solution: Instead of putting the funcref on the stack use a growarray on the
10965 execution context.
10966Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
10967 src/testdir/test_vim9_func.vim,
10968 src/testdir/test_vim9_disassemble.vim
10969
10970Patch 8.2.1735
10971Problem: Github actions appear to timeout too soon.
10972Solution: use "timeout" instead of "ping".
10973Files: .github/workflows/ci-windows.yaml
10974
10975Patch 8.2.1736
10976Problem: Failure to compile a pattern not tested much.
10977Solution: Add tests where a pattern fails to compile. (Yegappan Lakshmanan,
10978 closes #7004)
10979Files: src/testdir/gen_opt_test.vim, src/testdir/test_arglist.vim,
10980 src/testdir/test_autocmd.vim, src/testdir/test_buffer.vim,
10981 src/testdir/test_checkpath.vim, src/testdir/test_cmdline.vim,
10982 src/testdir/test_debugger.vim, src/testdir/test_functions.vim,
10983 src/testdir/test_history.vim, src/testdir/test_listdict.vim,
10984 src/testdir/test_options.vim, src/testdir/test_search_stat.vim,
10985 src/testdir/test_sort.vim, src/testdir/test_substitute.vim,
10986 src/testdir/test_syntax.vim, src/testdir/test_tagjump.vim,
10987 src/testdir/test_user_func.vim
10988
10989Patch 8.2.1737
10990Problem: Cursor line highlight in popup window is not always updated.
10991Solution: Check if the cursor has moved. (closes #7010)
10992Files: src/popupwin.c, src/testdir/test_popupwin.vim
10993 src/testdir/dumps/Test_popupwin_win_execute_cursorline.dump
10994
10995Patch 8.2.1738
10996Problem: Mac: str2float() recognizes comma instead of decimal point.
10997Solution: Set LC_NUMERIC to "C". (closes #7003)
10998Files: src/os_mac_conv.c
10999
11000Patch 8.2.1739
11001Problem: Vim9: crash when compiling a manually defined function. (Antony
11002 Scriven)
11003Solution: Check that the script ID is positive. (closes #7012)
11004Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
11005
11006Patch 8.2.1740
11007Problem: Test fails without the terminal feature.
11008Solution: Skip test if the terminal feature is not available.
11009Files: src/testdir/test_vim9_script.vim
11010
11011Patch 8.2.1741
11012Problem: pathshorten() only supports using one character.
11013Solution: Add an argument to control the length. (closes #7006)
11014Files: runtime/doc/eval.txt, src/evalfunc.c, src/filepath.c,
11015 src/proto/filepath.pro, src/testdir/test_functions.vim
11016
11017Patch 8.2.1742
11018Problem: Test still fails without the terminal feature.
11019Solution: Put check for terminal feature in separate function.
11020Files: src/testdir/test_vim9_script.vim
11021
11022Patch 8.2.1743
11023Problem: Cannot build without the eval feature.
11024Solution: Move shorten_dir outside of #ifdef.
11025Files: src/filepath.c
11026
11027Patch 8.2.1744
11028Problem: Vim9: using ":const!" is weird.
11029Solution: Use "var" - "final" - "const" like Dart. "let" still works for
11030 now.
11031Files: runtime/doc/vim9.txt, src/ex_cmds.h, src/errors.h, src/evalvars.c,
11032 src/proto/evalvars.pro, src/cmdexpand.c, src/eval.c,
11033 src/ex_docmd.c, src/vim9compile.c, src/vim9execute.c,
11034 src/vim9script.c, src/vim.h, src/ex_cmdidxs.h,
11035 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_script.vim
11036
11037Patch 8.2.1745
11038Problem: Tiny version doesn't build.
11039Solution: Add dummy ex_var() function.
11040Files: src/ex_docmd.c
11041
11042Patch 8.2.1746
11043Problem: Vim9: Cannot use "fina" for "finally". (Naruhiko Nishino)
11044Solution: Specifically check for "fina". (closes #7020)
11045Files: src/ex_docmd.c, src/testdir/test_trycatch.vim,
11046 src/testdir/test_vim9_script.vim
11047
11048Patch 8.2.1747
11049Problem: Result of expand() unexpectedly depends on 'completeslash'.
11050Solution: Temporarily reset 'completeslash'. (Yasuhiro Matsumoto,
11051 closes #7021)
11052Files: src/evalfunc.c, src/testdir/test_ins_complete.vim
11053
11054Patch 8.2.1748
11055Problem: Closing split window in other tab may cause a crash.
11056Solution: Set tp_curwin properly. (Rob Pilling, closes #7018)
11057Files: src/window.c, src/testdir/test_winbuf_close.vim
11058
11059Patch 8.2.1749
11060Problem: Vim9: crash when closure fails in nested function.
11061Solution: Handle function returns before dereferencing remaining closures.
11062 (closes #7008)
11063Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
11064
11065Patch 8.2.1750
11066Problem: Setting firstline with popup_setoptions() fails if cursorline is
11067 set.
11068Solution: Use apply_options(). Update the popup before applying "zz".
11069 (closes #7010)
11070Files: src/popupwin.c, src/proto/popupwin.pro, src/move.c,
11071 src/testdir/test_popupwin.vim,
11072 src/testdir/dumps/Test_popupwin_win_execute_cursorline.dump,
11073 src/testdir/dumps/Test_popupwin_set_firstline_1.dump,
11074 src/testdir/dumps/Test_popupwin_set_firstline_2.dump
11075
11076Patch 8.2.1751
11077Problem: Using 2 where bool is expected may throw an error.
11078Solution: Make this backwards compatible.
11079Files: src/typval.c, src/evalfunc.c, src/testdir/test_search.vim,
11080 src/testdir/test_terminal2.vim
11081
11082Patch 8.2.1752
11083Problem: GTK GUI: cannot map alt-? with <A-?>. (Ingo Karkat)
11084Solution: Adjust the characters for which the shift modifier is removed.
11085 (closes #7016) Make Motif and Win32 use the same function as GTK.
11086Files: src/misc2.c, src/gui_x11.c, src/gui_w32.c,
11087 src/testdir/test_termcodes.vim
11088
11089Patch 8.2.1753
11090Problem: Vim9: crash when using import at script level.
11091Solution: Give a "not implemented yet" error. (closes #7026)
11092Files: src/evalvars.c
11093
11094Patch 8.2.1754
11095Problem: Completion with spell checking not tested.
11096Solution: Add a test case. (Dominique Pellé, closes #7024)
11097Files: src/testdir/test_spell.vim
11098
11099Patch 8.2.1755
11100Problem: Vim9: crash when using invalid heredoc marker. (Dhiraj Mishra)
11101Solution: Check for NULL list. (closes #7027) Fix comment character.
11102Files: src/vim9compile.c, src/evalvars.c,
11103 src/testdir/test_vim9_assign.vim
11104
11105Patch 8.2.1756
11106Problem: Vim9: :let will soon be disallowed.
11107Solution: Add v:disallow_let temporarily. Fix tests.
11108Files: src/vim.h, src/errors.h, src/evalvars.c, src/vim9compile.c,
11109 src/userfunc.c, src/testdir/test_vim9_script.vim
11110
11111Patch 8.2.1757
11112Problem: Mac: default locale is lacking the encoding.
11113Solution: Add ".UTF-8 to the locale. (Yee Cheng Chin, closes #7022)
11114Files: src/os_mac_conv.c, src/testdir/test_environ.vim
11115
11116Patch 8.2.1758
11117Problem: Vim9: type of unmaterialized list is wrong.
11118Solution: Use list<number>.
11119Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
11120
11121Patch 8.2.1759
11122Problem: Vim9: Some tests are still using :let.
11123Solution: Change more declarations to use :var.
11124Files: src/testdir/test_vim9_expr.vim
11125
11126Patch 8.2.1760
11127Problem: Vim9: crash when end marker is missing. (Dhiraj Mishra)
11128Solution: Check for end of function lines. (closes #7031)
11129Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
11130
11131Patch 8.2.1761
11132Problem: Vim9: Some tests are still using :let.
11133Solution: Change more declarations to use :var.
11134Files: src/testdir/test_vim9_assign.vim,
11135 src/testdir/test_vim9_cmd.vim,
11136 src/testdir/test_vim9_disassemble.vim
11137
11138Patch 8.2.1762
11139Problem: When a timer uses :stopinsert Insert mode completion isn't
11140 stopped. (Stanley Chan)
11141Solution: Call ins_compl_prep(ESC).
11142Files: src/edit.c, src/testdir/test_ins_complete.vim,
11143 src/testdir/dumps/Test_pum_stopped_by_timer.dump
11144
11145Patch 8.2.1763
11146Problem: Vim9: cannot use "true" for popup window scrollbar option.
11147Solution: use dict_get_bool(). (closes #7029)
11148Files: src/popupwin.c, src/testdir/test_popupwin.vim
11149
11150Patch 8.2.1764
11151Problem: Vim9: no error when assigning to script var with wrong type.
11152Solution: Fix off-by-one error. (closes #7028)
11153Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
11154
11155Patch 8.2.1765
11156Problem: Vim9: some tests use "var var".
11157Solution: Use "var name". (closes #7032)
11158Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_expr.vim
11159
11160Patch 8.2.1766
11161Problem: Vim9: Some tests are still using :let.
11162Solution: Change the last few declarations to use :var.
11163Files: src/testdir/runtest.vim, src/testdir/test_vim9_assign.vim,
11164 src/testdir/test_vim9_cmd.vim,
11165 src/testdir/test_vim9_disassemble.vim,
11166 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
11167 src/testdir/test_vim9_script.vim, src/testdir/test_maparg.vim,
11168 src/testdir/test_popupwin.vim, src/testdir/test_textprop.vim
11169
11170Patch 8.2.1767
11171Problem: Vim9: test fails with python support.
11172Solution: Use "let" in legacy function.
11173Files: src/testdir/test_vim9_func.vim
11174
11175Patch 8.2.1768
11176Problem: Cannot use the help menu from a terminal window.
11177Solution: Add ":tlnoremenu" commands. (Yee Cheng Chin, closes #7023)
11178Files: runtime/menu.vim, src/testdir/test_gui.vim
11179
11180Patch 8.2.1769
11181Problem: A popup filter interferes with using :normal to move the cursor in
11182 a popup.
11183Solution: Do not invoke the filter when ex_normal_busy is set.
11184Files: runtime/doc/popup.txt, src/getchar.c, src/evalfunc.c,
11185 src/ex_docmd.c, src/menu.c, src/globals.h,
11186 src/testdir/test_popupwin.vim,
11187 src/testdir/dumps/Test_popupwin_normal_cmd.dump
11188
11189Patch 8.2.1770
11190Problem: Invalid memory use when using SpellFileMissing autocmd.
11191Solution: Add test case. (Dominique Pellé, closes #7036) Fix using a window
11192 that was closed.
11193Files: src/spell.c, src/testdir/test_spell.vim
11194
11195Patch 8.2.1771
11196Problem: synIDattr() cannot get the value of ctermul.
11197Solution: Add the "ul" value for "what". (closes #7037)
11198Files: runtime/doc/eval.txt, src/highlight.c, src/evalfunc.c,
11199 src/testdir/test_highlight.vim
11200
11201Patch 8.2.1772
11202Problem: Cannot use CTRL-W <Down> to move out of a terminal window.
11203Solution: Use special_to_buf() instead of mb_char2bytes(). (closes #7045)
11204Files: src/terminal.c, src/testdir/test_terminal.vim
11205
11206Patch 8.2.1773
11207Problem: Crash when calling mapset() with a list as first argument.
11208Solution: Check for NULL. (closes #7040)
11209Files: src/map.c, src/testdir/test_maparg.vim
11210
11211Patch 8.2.1774
11212Problem: GTK: hang when forced to exit.
11213Solution: Do not clean up "mainwin" when really_exiting is set.
11214 (Zdenek Dohnal, closes #7042)
11215Files: src/gui_gtk_x11.c
11216
11217Patch 8.2.1775
11218Problem: MS-Windows: adding a long quickfix list is slow.
11219Solution: Shorten the buffer name only for the first entry. (Yegappan
11220 Lakshmanan, closes #7039, closes #7033)
11221Files: src/quickfix.c, src/testdir/test_quickfix.vim
11222
11223Patch 8.2.1776
11224Problem: Filetype.vim may be loaded twice.
11225Solution: Do "syntax on" after "filetype on". (Adam Stankiewicz,
11226 closes #7049)
11227Files: runtime/defaults.vim
11228
11229Patch 8.2.1777
11230Problem: Vim9: some assignment tests in the wrong file.
11231Solution: Move assignment tests to test_vim9_assign.
11232Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_script.vim
11233
11234Patch 8.2.1778
11235Problem: Vim9: returning from a partial call clears outer context, causing
11236 a crash.
11237Solution: Put the outer context in the stack frame. (closes #7044)
11238Files: src/vim9execute.c, src/vim9.h, src/testdir/test_vim9_func.vim
11239
11240Patch 8.2.1779
11241Problem: Some debian changelog files are not recognized.
11242Solution: Add */debian/changelog. (Jason Franklin)
11243Files: runtime/filetype.vim, src/testdir/test_filetype.vim
11244
11245Patch 8.2.1780
11246Problem: Statusline not updated when splitting windows.
11247Solution: Call status_redraw_all(). (Jason Franklin, closes #5496)
11248Files: src/window.c, src/testdir/test_statusline.vim
11249
11250Patch 8.2.1781
11251Problem: Writing to prompt buffer interferes with insert mode.
11252Solution: Use win_enter() instead of just setting "curwin". (Ben Jackson,
11253 closes #7035)
11254Files: src/autocmd.c, src/testdir/test_prompt_buffer.vim
11255
11256Patch 8.2.1782
11257Problem: Vim9: cannot pass boolean to mapset().
11258Solution: Use get_tv_bool(). (closes #7041)
11259Files: src/map.c, src/testdir/test_vim9_func.vim
11260
11261Patch 8.2.1783 (after 8.2.1781)
11262Problem: Try-catch test fails.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011263Solution: Don't call win_enter(), only call entering_window().
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011264Files: src/autocmd.c, src/window.c, src/proto/window.pro,
11265 src/testdir/runtest.vim
11266
11267Patch 8.2.1784
11268Problem: commits are not scanned for security problems
11269Solution: Enable Github code scanning. (Christian Brabandt, closes #7057)
11270Files: .github/workflows/codeql-analysis.yml
11271
11272Patch 8.2.1785
11273Problem: Compiler warning for strcpy() out of bounds. (Christian Brabandt)
11274Solution: use memmove() instead.
11275Files: src/dict.c
11276
11277Patch 8.2.1786
11278Problem: Various Normal mode commands not fully tested.
11279Solution: Add more tests. (Yegappan Lakshmanan, closes #7059)
11280Files: src/testdir/test_normal.vim, src/testdir/test_regexp_utf8.vim,
11281 src/testdir/test_registers.vim, src/testdir/test_spellfile.vim,
11282 src/testdir/test_tagjump.vim, src/testdir/test_visual.vim
11283
11284Patch 8.2.1787
11285Problem: Crash with 'incsearch' and very long line.
11286Solution: Check whether regprog becomes NULL. (closes #7063)
11287Files: src/search.c, src/testdir/test_search.vim
11288
11289Patch 8.2.1788
11290Problem: Vim9: still allows :let for declarations.
11291Solution: Make the default for v:disallow_let one. It can still be set to
11292 zero to allow for using :let.
11293Files: src/evalvars.c, src/testdir/runtest.vim
11294
11295Patch 8.2.1789
11296Problem: Vim9: crash with invalid list constant. (Dhiraj Mishra)
11297Solution: Return FAIL when compiling the list fails. (closes #7066)
11298Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_expr.vim
11299
11300Patch 8.2.1790
11301Problem: MS-Windows with Python: crash when executed from Vifm.
11302Solution: Use NUL instead of CONIN. (Ken Takata, closes #7061, closes #7053)
11303Files: src/if_python3.c
11304
11305Patch 8.2.1791
11306Problem: Vim9: debugger test fails.
11307Solution: Use "var" instead of "let".
11308Files: src/testdir/test_debugger.vim
11309
11310Patch 8.2.1792
11311Problem: Configure does not recognize Racket 6.1+.
11312Solution: Add a check for "rktio". (closes #7062)
11313Files: src/configure.ac, src/auto/configure
11314
11315Patch 8.2.1793
11316Problem: Not consistently giving the "is a directory" warning.
11317Solution: Adjust check for illegal file name and directory. (Yasuhiro
11318 Matsumoto, closes #7067)
11319Files: src/fileio.c, src/testdir/test_edit.vim
11320
11321Patch 8.2.1794
11322Problem: No falsy Coalescing operator.
11323Solution: Add the "??" operator. Fix mistake with function argument count.
11324Files: runtime/doc/eval.txt, src/eval.c, src/vim9compile.c,
11325 src/vim9type.c, src/testdir/test_expr.vim,
11326 src/testdir/test_vim9_expr.vim,
11327 src/testdir/test_vim9_disassemble.vim
11328
11329Patch 8.2.1795
11330Problem: Vim9: operators && and || have a confusing result.
11331Solution: Make the result a boolean.
11332Files: runtime/doc/vim9.txt, src/eval.c, src/vim9compile.c,
11333 src/vim9execute.c, src/vim9type.c, src/structs.h, src/vim9.h,
11334 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_assign.vim,
11335 src/testdir/test_vim9_cmd.vim,
11336 src/testdir/test_vim9_disassemble.vim
11337
11338Patch 8.2.1796
11339Problem: Vim9: invalid memory access with weird function name. (Dhiraj
11340 Mishra)
11341Solution: Check the name is valid. Add a test.
11342Files: src/userfunc.c, src/testdir/test_vim9_func.vim
11343
11344Patch 8.2.1797
11345Problem: Vim9: some parts of the code not tested.
11346Solution: Add a few tests.
11347Files: src/testdir/test_vim9_func.vim
11348
11349Patch 8.2.1798
11350Problem: Vim9: ternary operator condition is too permissive.
11351Solution: Use tv_get_bool_chk().
11352Files: runtime/doc/vim9.txt, src/eval.c, src/vim9compile.c,
11353 src/vim9execute.c, src/testdir/vim9.vim,
11354 src/testdir/test_expr.vim, src/testdir/test_vim9_expr.vim,
11355 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_script.vim
11356
11357Patch 8.2.1799
11358Problem: Some Normal mode commands not fully tested.
11359Solution: Add a few more tests. (Yegappan Lakshmanan, closes #7073)
11360Files: src/testdir/test_gf.vim, src/testdir/test_goto.vim,
11361 src/testdir/test_normal.vim, src/testdir/test_registers.vim,
11362 src/testdir/test_startup.vim, src/testdir/test_tabpage.vim,
11363 src/testdir/test_visual.vim
11364
11365Patch 8.2.1800
11366Problem: Vim9: memory leak if "if" condition is invalid.
11367Solution: Free ppconst earlier.
11368Files: src/vim9compile.c
11369
11370Patch 8.2.1801
11371Problem: Undo file not found when using ":args" or ":next".
11372Solution: Handle like editing another file. (closes #7072)
11373Files: src/ex_cmds.c, src/testdir/test_undo.vim
11374
11375Patch 8.2.1802
11376Problem: Vim9: crash with unterminated dict. (Dhiraj Mishra)
11377Solution: Return empty string instead of NULL. (closes #7084)
11378Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
11379
11380Patch 8.2.1803
11381Problem: A few failures are not tested.
11382Solution: Test a few failures. (Dominique Pellé, closes #7075)
11383Files: src/testdir/test_arglist.vim, src/testdir/test_cmdline.vim,
11384 src/testdir/test_json.vim, src/testdir/test_listdict.vim
11385
11386Patch 8.2.1804
11387Problem: resolve('/') returns an empty string.
11388Solution: Don't remove single slash. (closes #7074)
11389Files: src/filepath.c, src/testdir/test_functions.vim
11390
11391Patch 8.2.1805
11392Problem: Unix: terminal mode changed when using ":shell".
11393Solution: Avoid calling settmode() when not needed. (issue #7079)
11394Files: src/os_unix.c
11395
11396Patch 8.2.1806
11397Problem: MS-Windows with Python: Vim freezes after import command.
11398Solution: Use either "NUL" or "CONIN$" when reopening stdin. (Yasuhiro
11399 Matsumoto, closes #7083)
11400Files: src/if_python3.c
11401
11402Patch 8.2.1807
11403Problem: Can use :help in a terminal popup window.
11404Solution: Give an error. (closes #7088)
11405Files: src/help.c, src/testdir/test_popupwin.vim
11406
11407Patch 8.2.1808
11408Problem: No test coverage for ":spelldump!".
11409Solution: Add a test. (Dominique Pellé, closes #7089)
11410Files: src/testdir/test_spell.vim
11411
11412Patch 8.2.1809
11413Problem: Mapping some keys with Ctrl does not work properly.
11414Solution: For terminal, GTK and Motif handle "@", "^" and "_" codes.
11415Files: src/misc2.c, src/proto/misc2.pro, src/term.c, src/gui_gtk_x11.c,
11416 src/gui_x11.c, src/testdir/test_termcodes.vim
11417
11418Patch 8.2.1810
11419Problem: Some code in normal.c not covered by tests.
11420Solution: Add normal mode tests. (Yegappan Lakshmanan, closes #7086)
11421Files: src/testdir/test_charsearch.vim, src/testdir/test_normal.vim
11422
11423Patch 8.2.1811
11424Problem: Mapping Ctrl-key does not work for '{', '}' and '|'.
11425Solution: Remove the shift modifier. (closes #6457)
11426Files: runtime/doc/map.txt, src/misc2.c, src/testdir/test_termcodes.vim
11427
11428Patch 8.2.1812
11429Problem: Vim9: nested closure throws an internal error.
11430Solution: Do not skip a local variable with a partial. (closes #7065)
11431Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
11432
11433Patch 8.2.1813
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011434Problem: Vim9: can assign wrong type to script dict. (Christian J. Robinson)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011435Solution: Check the type if known.
11436Files: src/structs.h, src/eval.c, src/vim9script.c,
11437 src/proto/vim9script.pro, src/proto/evalvars.pro,
11438 src/testdir/test_vim9_script.vim
11439
11440Patch 8.2.1814 (after 8.2.1813)
11441Problem: Missing change to remove "static".
11442Solution: Add the change.
11443Files: src/evalvars.c
11444
11445Patch 8.2.1815
11446Problem: Vim9: memory leak when using function reference.
11447Solution: Temporarily disable the test.
11448Files: src/testdir/test_vim9_disassemble.vim
11449
11450Patch 8.2.1816
11451Problem: Vim9: another memory leak when using function reference.
11452Solution: Temporarily disable the tests.
11453Files: src/testdir/test_vim9_func.vim
11454
11455Patch 8.2.1817
11456Problem: Vim9: wrong instruction when reusing a local variable spot.
11457Solution: Clear a newly allocated local variable. (closes #7080)
11458Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
11459
11460Patch 8.2.1818
11461Problem: SE Linux: deprecation warning for security_context_t.
11462Solution: Use "char *" instead. (James McCoy, closes #7093)
11463Files: src/os_unix.c
11464
11465Patch 8.2.1819
11466Problem: Vim9: Memory leak when using a closure.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011467Solution: Compute the minimal refcount in the funcstack. Reenable disabled
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011468 tests.
11469Files: src/vim9execute.c, src/proto/vim9execute.pro, src/structs.h,
11470 src/eval.c, src/testdir/test_vim9_disassemble.vim,
11471 src/testdir/test_vim9_func.vim
11472
11473Patch 8.2.1820
11474Problem: Vim9: crash when error happens in timer callback.
11475Solution: Check that current_exception is not NULL. (closes #7100)
11476Files: src/ex_docmd.c
11477
11478Patch 8.2.1821
11479Problem: Vim9: concatenating to a NULL list doesn't work.
11480Solution: Handle a NULL list like an empty list. (closes #7064)
11481Files: src/list.c, src/testdir/test_vim9_assign.vim
11482
11483Patch 8.2.1822 (after 8.2.1821)
11484Problem: List test doesn't fail.
11485Solution: Adjust the test for NULL list handling.
11486Files: src/testdir/test_listdict.vim
11487
11488Patch 8.2.1823
11489Problem: "gN" does not select the matched string.
11490Solution: Move the cursor to the start of the match.
11491Files: src/search.c, src/testdir/test_gn.vim
11492
11493Patch 8.2.1824
11494Problem: Vim9: variables at the script level escape their scope.
11495Solution: When leaving a scope remove variables declared in it.
11496Files: src/structs.h, src/ex_eval.c, src/evalvars.c,
11497 src/proto/evalvars.pro, src/testdir/test_vim9_script.vim
11498
11499Patch 8.2.1825
11500Problem: Vim9: accessing freed memory.
11501Solution: Clear sv_name when the variable is deleted.
11502Files: src/ex_eval.c
11503
11504Patch 8.2.1826
11505Problem: Vim9: cannot use a {} block at script level.
11506Solution: Recognize a {} block.
11507Files: src/ex_docmd.c, src/ex_cmds.h, src/ex_cmdidxs.h, src/ex_eval.c,
11508 src/structs.h, src/proto/ex_eval.pro, src/errors.h,
11509 src/testdir/test_vim9_script.vim
11510
11511Patch 8.2.1827
11512Problem: Filetype detection does not test enough file names.
11513Solution: Test more file names. (Adam Stankiewicz, closes #7099)
11514Files: runtime/filetype.vim, src/testdir/test_filetype.vim
11515
11516Patch 8.2.1828
11517Problem: Build failure without the +eval feature.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011518Solution: Add dummies for ex_block and ex_endblock.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011519Files: src/ex_docmd.c
11520
11521Patch 8.2.1829
11522Problem: Warnings when executing Github actions.
11523Solution: Use another method to set environment variables. (Ken Takata,
11524 closes #7107)
11525Files: .github/workflows/ci-windows.yaml
11526
11527Patch 8.2.1830
11528Problem: MS-Windows: Python3 issue with stdin.
11529Solution: Check if stdin is readable. (Ken Takata, closes #7106)
11530Files: src/if_python3.c
11531
11532Patch 8.2.1831
11533Problem: File missing from distribution.
11534Solution: Add the github code analyses file.
11535Files: Filelist
11536
11537Patch 8.2.1832
11538Problem: readdirex() error is displayed as a message. (Yegappan Lakshmanan)
11539Solution: Use semsg() instead of smsg().
11540Files: src/fileio.c, src/testdir/test_functions.vim
11541
11542Patch 8.2.1833
11543Problem: When reading from stdin dup() is called twice.
11544Solution: Remove the dup() in main.c. (Ken Takata, closes #7110)
11545Files: src/main.c
11546
11547Patch 8.2.1834
11548Problem: PyEval_InitThreads() is deprecated in Python 3.9.
11549Solution: Do not call PyEval_InitThreads in Python 3.9 and later. (Ken
11550 Takata, closes #7113) Avoid warnings for functions.
11551Files: src/if_python3.c, src/if_py_both.h
11552
11553Patch 8.2.1835
11554Problem: ":help ??" finds the "!!" tag.
11555Solution: Do not translate "?" into ".". (Naruhiko Nishino, closes #7114,
11556 closes #7115)
11557Files: src/help.c, src/testdir/test_help_tagjump.vim
11558
11559Patch 8.2.1836
11560Problem: Autocmd test fails on pacifist systems.
11561Solution: Check that /bin/kill exists. (James McCoy, closes #7117)
11562 Tune the timing, make the autocmd test run faster.
11563Files: src/testdir/test_autocmd.vim
11564
11565Patch 8.2.1837
11566Problem: Using "gn" after "gN" does not work.
11567Solution: Extend the other end of the Visual area. (closes #7109)
11568Files: src/search.c, src/testdir/test_gn.vim
11569
11570Patch 8.2.1838
11571Problem: Vim9: cannot insert a comment line in an expression.
11572Solution: Skip comment lines at the script level. (closes #7111)
11573Files: src/eval.c, src/testdir/test_vim9_expr.vim
11574
11575Patch 8.2.1839
11576Problem: Vim9: memory leaks reported in assign test.
11577Solution: Move the failing job_start() call to separate test files, it
11578 causes false leak reports.
11579Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_fails.vim,
11580 src/testdir/Make_all.mak
11581
11582Patch 8.2.1840
11583Problem: Vim9: error message is not clear about compilation error.
11584Solution: Say "compiling" instead of "processing".
11585Files: src/vim9compile.c, src/message.c, src/globals.h,
11586 src/testdir/test_vim9_func.vim
11587
11588Patch 8.2.1841
11589Problem: Vim9: test for compilation error fails in normal build.
11590Solution: Invoke CheckRunVimInTerminal in a separate function.
11591Files: src/testdir/test_vim9_func.vim
11592
11593Patch 8.2.1842
11594Problem: Crash when USE_FNAME_CASE is defined and using :browse.
11595Solution: Don't use read-only memory for ".". (Yegappan Lakshmanan,
11596 closes #7123)
11597Files: src/ex_cmds.c, src/ex_docmd.c, src/testdir/test_edit.vim
11598
11599Patch 8.2.1843
11600Problem: Netbeans: with huge buffer number memory allocation may fail.
11601Solution: Check for size overflow.
11602Files: src/netbeans.c
11603
11604Patch 8.2.1844
11605Problem: Using "q" at the more prompt doesn't stop a long message.
11606Solution: Check for "got_int". (closes #7122)
11607Files: src/message.c, src/testdir/test_messages.vim,
11608 src/testdir/dumps/Test_quit_long_message.dump
11609
11610Patch 8.2.1845
11611Problem: Vim9: function defined in a block can't use variables defined in
11612 that block.
11613Solution: First step: Make a second hashtab that holds all script variables,
11614 also block-local ones, with more information.
11615Files: src/structs.h, src/evalvars.c, src/ex_eval.c, src/vim9script.c,
11616 src/proto/vim9script.pro, src/scriptfile.c
11617
11618Patch 8.2.1846
11619Problem: Vim9: variables declared in a local block are not found in
11620 when a function is compiled.
11621Solution: Look for script variables in sn_all_vars.
11622Files: src/structs.h, src/vim9compile.c, src/proto/vim9compile.pro,
11623 src/userfunc.c, src/proto/userfunc.pro, src/ex_eval.c,
11624 src/vim9script.c, src/proto/vim9script.pro, src/vim9execute.c,
11625 src/testdir/test_vim9_script.vim
11626
11627Patch 8.2.1847
11628Problem: Vim9: using negative value for unsigned type.
11629Solution: Use zero instead of -1.
11630Files: src/vim9compile.c
11631
11632Patch 8.2.1848
11633Problem: Crash when passing a NULL string or list to popup_settext().
11634Solution: Check for NULL pointers. (closes #7132)
11635Files: src/popupwin.c, src/testdir/test_popupwin.vim
11636
11637Patch 8.2.1849
11638Problem: Vim9: garbage collection frees block-local variables.
11639Solution: Mark all script variables as used.
11640Files: src/evalvars.c, src/testdir/test_vim9_script.vim
11641
11642Patch 8.2.1850
11643Problem: "vat" does not select tags correctly over line break.
11644Solution: Adjust the search pattern. (Aufar Gilbran, closes #7136)
11645Files: src/textobject.c, src/testdir/test_textobjects.vim
11646
11647Patch 8.2.1851
11648Problem: Vim9: "!" followed by space incorrectly used.
11649Solution: Skip over trailing spaces. (closes #7131)
11650Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_expr.vim
11651
11652Patch 8.2.1852
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011653Problem: map() returning zero for NULL list is unexpected.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011654Solution: Return the empty list. (closes #7133)
11655Files: src/list.c, src/testdir/test_filter_map.vim,
11656 src/testdir/test_blob.vim
11657
11658Patch 8.2.1853
11659Problem: "to_f" is recognized at "topleft" modifier.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011660Solution: Do not recognize modifier when "_" follows. (closes #7019)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011661Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim
11662
11663Patch 8.2.1854
11664Problem: Vim9: crash when throwing exception for NULL string. (Dhiraj
11665 Mishra)
11666Solution: Handle NULL string like empty string. (closes #7139)
11667Files: src/vim9execute.c, src/errors.h, src/testdir/test_vim9_script.vim
11668
11669Patch 8.2.1855
11670Problem: Vim9: get error message when nothing is wrong.
11671Solution: Check called_emsg instead of did_emsg. (closes #7143)
11672Files: src/vim9compile.c, src/vim9execute.c, src/errors.h
11673
11674Patch 8.2.1856
11675Problem: "2resize" uses size of current window. (Daniel Steinberg)
11676Solution: Use size of resized window. (Yasuhiro Matsumoto, closes #7152)
11677Files: src/ex_docmd.c, src/testdir/test_window_cmd.vim
11678
11679Patch 8.2.1857
11680Problem: Vim9: using job_status() on an unused var gives an error.
11681Solution: Return "fail". (closes #7158)
11682Files: src/job.c, src/testdir/test_vim9_assign.vim
11683
11684Patch 8.2.1858
11685Problem: Vim9: filter functions return number instead of bool.
11686Solution: Return v:true instead of one. (closes #7144)
11687Files: src/popupwin.c, src/evalfunc.c, src/testdir/test_vim9_func.vim
11688
11689Patch 8.2.1859
11690Problem: Vim9: crash in unpack assignment.
11691Solution: Make sure an error message is turned into an exception.
11692 (closes #7159)
11693Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim,
11694 src/testdir/test_vim9_script.vim
11695
11696Patch 8.2.1860
11697Problem: Vim9: memory leak when throwing empty string.
11698Solution: Free the empty string.
11699Files: src/vim9execute.c
11700
11701Patch 8.2.1861
11702Problem: Vim9: no specific error when parsing lambda fails.
11703Solution: Also give syntax errors when not evaluating. (closes #7154)
11704Files: src/dict.c, src/testdir/test_vim9_expr.vim
11705
11706Patch 8.2.1862
11707Problem: vim9: memory leak when compiling lambda fails.
11708Solution: Call clear_evalarg().
11709Files: src/vim9compile.c
11710
11711Patch 8.2.1863
11712Problem: Json code not sufficiently tested.
11713Solution: Add more test cases. (Dominique Pellé, closes #7166)
11714Files: src/testdir/test_json.vim
11715
11716Patch 8.2.1864
11717Problem: Vim9: no error for wrong list type.
11718Solution: Add flag to indicate a constant. (closes #7160)
11719Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
11720
11721Patch 8.2.1865
11722Problem: Vim9: add() does not check type of argument.
11723Solution: Inline the add() call. (closes #7160)
11724Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/errors.h,
11725 src/testdir/test_vim9_func.vim,
11726 src/testdir/test_vim9_disassemble.vim
11727
11728Patch 8.2.1866
11729Problem: Vim9: appending to pushed blob gives wrong result.
11730Solution: Set ga_maxlen when copying a blob.
11731Files: src/blob.c, src/testdir/test_vim9_func.vim
11732
11733Patch 8.2.1867
11734Problem: Vim9: argument to add() not checked for blob.
11735Solution: Add the BLOBAPPEND instruction.
11736Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/errors.h,
11737 src/testdir/test_vim9_func.vim,
11738 src/testdir/test_vim9_disassemble.vim
11739
11740Patch 8.2.1868
11741Problem: Vim9: no error for missing space after comma in dict.
11742Solution: Check for white space. (closes #6672)
11743Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
11744
11745Patch 8.2.1869
11746Problem: Vim9: memory leak when using add().
11747Solution: Free the added item.
11748Files: src/vim9execute.c
11749
11750Patch 8.2.1870
11751Problem: Vim9: no need to keep all script variables.
11752Solution: Only keep script variables when a function was defined that could
11753 use them. Fix freeing static string on exit.
11754Files: src/vim9script.c, src/proto/vim9script.pro, src/structs.h,
11755 src/ex_eval.c, src/userfunc.c, src/testdir/test_vim9_script.vim
11756
11757Patch 8.2.1871
11758Problem: Using %v in 'errorformat' may fail before %Z.
11759Solution: Set qf_viscol only when qf_col is set. (closes #7169)
11760Files: src/quickfix.c, src/testdir/test_quickfix.vim
11761
11762Patch 8.2.1872
11763Problem: Matchfuzzy() does not prefer sequential matches.
11764Solution: Give sequential matches a higher bonus. (Christian Brabandt,
11765 closes #7140)
11766Files: src/search.c, src/testdir/test_matchfuzzy.vim
11767
11768Patch 8.2.1873
11769Problem: Vim9: missing white space when using <f-args>.
11770Solution: Add spaces. (Christian J. Robinson)
11771Files: src/usercmd.c, src/testdir/test_vim9_cmd.vim
11772
11773Patch 8.2.1874
11774Problem: Can't do something just before leaving Insert mode.
11775Solution: Add the InsertLeavePre autocommand event. (closes #7177)
11776Files: runtime/doc/autocmd.txt, src/edit.c, src/vim.h,
11777 src/autocmd.c, src/testdir/test_edit.vim
11778
11779Patch 8.2.1875
11780Problem: Warning when building GTK gui.
11781Solution: Add missing function parameter.
11782Files: src/gui_gtk_f.c
11783
11784Patch 8.2.1876
11785Problem: Vim9: argument types for builtin functions are not checked at
11786 compile time.
11787Solution: Add an argument type checking mechanism. Implement type checks for
11788 one function.
11789Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9compile.c,
11790 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_builtin.vim,
11791 src/testdir/Make_all.mak
11792
11793Patch 8.2.1877 (after 8.2.1876)
11794Problem: Test for function list fails.
11795Solution: Move "obsolete" comments one line up.
11796Files: src/evalfunc.c
11797
11798Patch 8.2.1878
11799Problem: GTK: error for redefining function. (Tony Mechelynck)
11800Solution: Remove "gtk_" prefix from local functions and prepend "gui_" to
11801 global functions.
11802Files: src/gui_gtk_f.c, src/gui_gtk_f.h, src/gui_gtk.c, src/gui_gtk_x11.c
11803
11804Patch 8.2.1879
11805Problem: Vim9: argument types of insert() not checked when compiling.
11806Solution: Add argument type checks for insert().
11807Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9compile.c,
11808 src/testdir/test_vim9_builtin.vim
11809
11810Patch 8.2.1880
11811Problem: Vim9: Asan complains about adding zero to NULL.
11812Solution: Check for argument count first.
11813Files: src/vim9compile.c
11814
11815Patch 8.2.1881
11816Problem: Cannot build with GTK3.
11817Solution: Adjust form functions.
11818Files: src/gui_gtk_f.c
11819
11820Patch 8.2.1882
11821Problem: Vim9: v:disallow_let is no longer needed.
11822Solution: Remove v:disallow_let.
11823Files: src/evalvars.c, src/vim.h, src/vim9compile.c
11824
11825Patch 8.2.1883
11826Problem: Compiler warnings when using Python.
11827Solution: Adjust PyCFunction to also have the second argument. Use "int"
11828 return type for some functions. Insert "(void *)" to get rid of
11829 the remaining warnings.
11830Files: src/if_py_both.h, src/if_python.c, src/if_python3.c
11831
11832Patch 8.2.1884
11833Problem: Compiler warning for uninitialized variable. (John Marriott)
11834Solution: Initialize with NULL.
11835Files: src/vim9compile.c, src/evalfunc.c
11836
11837Patch 8.2.1885
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011838Problem: Filetype tests unnecessarily creates swap files.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011839Solution: Disable 'swapfile'. (Ken Takata, closes #7183)
11840Files: src/testdir/test_filetype.vim
11841
11842Patch 8.2.1886
11843Problem: Using ":silent!" in a popup filter has unexpected effect.
11844Solution: Use did_emsg instead of called_emsg. (closes #7178)
11845Files: src/popupwin.c, src/testdir/test_popupwin.vim
11846
11847Patch 8.2.1887
11848Problem: Github actions not optimally configured.
11849Solution: Run CI on any pushed branches. Set fail-fast. (Ozaki Kiichi,
11850 closes #7184)
11851Files: .github/workflows/ci-windows.yaml
11852
11853Patch 8.2.1888
11854Problem: Vim9: Getbufline(-1, 1, '$') gives an error.
11855Solution: Return an empty list. (closes #7180)
11856Files: src/evalbuffer.c, src/testdir/test_vim9_builtin.vim
11857
11858Patch 8.2.1889
Bram Moolenaar1588bc82022-03-08 21:35:07 +000011859Problem: Vim9: erroneous error for missing white space after {}.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011860Solution: Don't skip over white space after {}. (issue #7167)
11861Files: src/dict.c, src/testdir/test_vim9_expr.vim
11862
11863Patch 8.2.1890
11864Problem: Vim9: strange error for subtracting from a list.
11865Solution: Check getting a number, not a string. (closes #7167)
11866Files: src/eval.c, src/testdir/test_vim9_expr.vim
11867
11868Patch 8.2.1891
11869Problem: Vim9: skipping over expression doesn't handle line breaks.
11870Solution: Pass evalarg to skip_expr(). (closes #7157)
11871Files: src/vim9compile.c, src/eval.c, src/proto/eval.pro, src/ex_docmd.c,
11872 src/misc1.c, src/testdir/test_vim9_cmd.vim
11873
11874Patch 8.2.1892
11875Problem: Valgrind warns for using uninitialized access in tests.
11876Solution: Fix condition for breaking out of loop. (Dominique Pellé,
11877 closes #7187)
11878Files: src/terminal.c
11879
11880Patch 8.2.1893
11881Problem: Fuzzy matching does not support multiple words.
11882Solution: Add support for matching white space separated words. (Yegappan
11883 Lakshmanan, closes #7163)
11884Files: runtime/doc/eval.txt, src/search.c,
11885 src/testdir/test_matchfuzzy.vim
11886
11887Patch 8.2.1894
11888Problem: Vim9: command modifiers are not supported.
11889Solution: Support "silent" and "silent!".
11890Files: src/structs.h, src/vim9compile.c, src/vim9.h, src/vim9execute.c,
11891 src/evalvars.c, src/testdir/test_vim9_disassemble.vim,
11892 src/testdir/test_vim9_cmd.vim
11893
11894Patch 8.2.1895 (after 8.2.1894)
11895Problem: Vim9: silent command modifier test fails.
11896Solution: Add missing changes.
11897Files: src/ex_docmd.c
11898
11899Patch 8.2.1896
11900Problem: Valgrind warns for using uninitialized memory.
11901Solution: NUL terminate the SmcOpenConnection() error message. (Dominique
11902 Pellé, closes #7194)
11903Files: src/os_unix.c
11904
11905Patch 8.2.1897
11906Problem: Command modifiers are saved and set inconsistently.
11907Solution: Separate parsing and applying command modifiers. Save values in
11908 cmdmod_T.
11909Files: src/structs.h, src/ex_docmd.c, src/proto/ex_docmd.pro,
11910 src/ex_cmds.h, src/vim9compile.c
11911
11912Patch 8.2.1898
11913Problem: Command modifier parsing always uses global cmdmod.
11914Solution: Pass in cmdmod_T to use. Rename struct fields consistently.
Bram Moolenaar47c532e2022-03-19 15:18:53 +000011915Files: src/structs.h, src/arglist.c, src/buffer.c, src/bufwrite.c,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000011916 src/diff.c, src/change.c, src/cmdhist.c, src/edit.c,
11917 src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c,
11918 src/fileio.c, src/filepath.c, src/gui.c, src/gui_gtk_x11.c,
11919 src/help.c, src/if_cscope.c, src/indent.c, src/mark.c,
11920 src/memline.c, src/message.c, src/option.c, src/ops.c,
11921 src/os_unix.c, src/quickfix.c, src/register.c, src/scriptfile.c,
11922 src/search.c, src/session.c, src/tag.c, src/terminal.c,
11923 src/textformat.c, src/usercmd.c, src/vim9compile.c, src/window.c,
11924 src/proto/ex_docmd.pro
11925
11926Patch 8.2.1899
11927Problem: Crash in out-of-memory situation.
11928Solution: Bail out if shell_name is NULL. (Dominique Pellé, closes #7196)
11929Files: src/ex_cmds.c
11930
11931Patch 8.2.1900
11932Problem: Vim9: command modifiers do not work.
11933Solution: Make most command modifiers work.
11934Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
11935 src/usercmd.c, src/proto/usercmd.pro, src/scriptfile.c,
11936 src/testdir/test_vim9_disassemble.vim
11937
11938Patch 8.2.1901
11939Problem: Variable completion does not work in command line window.
11940Solution: Use the "prevwin". (closes #7198)
11941Files: src/evalvars.c, src/testdir/test_ins_complete.vim
11942
11943Patch 8.2.1902
11944Problem: Default option values are changed when using :badd for an existing
11945 buffer.
11946Solution: When calling buflist_new() pass a zero line number. (closes #7195)
11947Files: src/ex_cmds.c, src/testdir/test_buffer.vim
11948
11949Patch 8.2.1903 (after 8.2.1902)
11950Problem: Buffer test fails with normal features.
11951Solution: Use 'numberwidth' instead of 'conceallevel' in the test.
11952Files: src/testdir/test_buffer.vim
11953
11954Patch 8.2.1904
11955Problem: Still using default option values after using ":badd +1".
11956Solution: Find a window where options were set. Don't set the window when
11957 using ":badd".
11958Files: src/buffer.c, src/ex_cmds.c, src/vim.h,
11959 src/testdir/test_buffer.vim
11960
11961Patch 8.2.1905
11962Problem: The wininfo list may contain stale entries.
11963Solution: When closing a window remove any other entry where the window
11964 pointer is NULL.
11965Files: src/buffer.c, src/proto/buffer.pro, src/window.c
11966
11967Patch 8.2.1906
11968Problem: Warning for signed/unsigned.
11969Solution: Use size_t instead of int. (Mike Williams)
11970Files: src/proto/usercmd.pro, src/usercmd.c, src/vim9execute.c
11971
11972Patch 8.2.1907
11973Problem: Complete_info().selected may be wrong.
11974Solution: Update cp_number if it was never set. (issue #6945)
11975Files: src/insexpand.c, src/testdir/test_ins_complete.vim
11976
11977Patch 8.2.1908
11978Problem: Lua is initialized even when not used.
11979Solution: Put lua_init() after check for "eap->skip". (Christian Brabandt,
11980 closes #7191). Avoid compiler warnings.
11981Files: src/if_lua.c, src/testdir/test_lua.vim
11982
11983Patch 8.2.1909
11984Problem: Number of status line items is limited to 80.
11985Solution: Dynamically allocate the arrays. (Rom Grk, closes #7181)
11986Files: runtime/doc/options.txt, src/buffer.c, src/optionstr.c,
11987 src/proto/buffer.pro, src/screen.c, src/structs.h,
11988 src/testdir/test_options.vim, src/testdir/test_statusline.vim,
11989 src/vim.h
11990
11991Patch 8.2.1910
11992Problem: Reading past the end of the command line.
11993Solution: Check for NUL. (closes #7204)
11994Files: src/ex_docmd.c, src/testdir/test_edit.vim
11995
11996Patch 8.2.1911
11997Problem: Tiny build fails.
11998Solution: Add #ifdef.
11999Files: src/insexpand.c
12000
12001Patch 8.2.1912
12002Problem: With Python 3.9 some tests fail.
12003Solution: Take into account the different error message. (James McCoy,
12004 closes #7210)
12005Files: src/testdir/test_python3.vim
12006
12007Patch 8.2.1913
12008Problem: GTK GUI: rounding for the cell height is too strict.
12009Solution: Round up above 15/16 of a pixel. (closes #7203)
12010Files: src/gui_gtk_x11.c
12011
12012Patch 8.2.1914
12013Problem: Vim9: cannot put line break in expression for '=' register.
12014Solution: Pass fgetline to set_expr_line(). (closes #7209)
12015Files: src/register.c, src/proto/register.pro, src/ex_docmd.c,
12016 src/eval.c, src/proto/eval.pro, src/misc2.c,
12017 src/testdir/test_vim9_script.vim
12018
12019Patch 8.2.1915
12020Problem: Vim9: error for wrong number of arguments is not useful.
12021Solution: Mention whatever we have for the name. (closes #7208)
12022Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
12023
12024Patch 8.2.1916
12025Problem: Vim9: function call is aborted even when "silent!" is used.
12026Solution: Use did_emsg instead of called_emsg. (closes #7213)
12027Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
12028
12029Patch 8.2.1917
12030Problem: No test for improved Man command.
12031Solution: Test that shell arguments are properly escaped.
12032Files: src/testdir/test_man.vim
12033
12034Patch 8.2.1918
12035Problem: Vim9: E1100 mentions :let.
12036Solution: Mention "var". (closes #7207)
12037Files: src/vim9script.c, src/errors.h
12038
12039Patch 8.2.1919
12040Problem: Assert_fails() setting emsg_silent changes normal execution.
12041Solution: Use a separate flag in_assert_fails.
12042Files: src/testing.c, src/globals.h, src/buffer.c, src/change.c,
12043 src/fileio.c, src/insexpand.c, src/message.c, src/misc1.c,
12044 src/normal.c, src/screen.c, src/term.c, src/vim9execute.c,
12045 src/testdir/test_vim9_func.vim, src/testdir/gen_opt_test.vim,
12046 src/testdir/test_autocmd.vim, src/testdir/test_mapping.vim,
12047 src/testdir/test_popup.vim, src/testdir/test_terminal.vim
12048
12049Patch 8.2.1920
12050Problem: Listlbr test fails when run after another test.
12051Solution: Add test separately to list of test targets.
12052Files: src/testdir/Make_all.mak, src/testdir/test_alot_utf8.vim
12053
12054Patch 8.2.1921
12055Problem: Fuzzy matching does not recognize path separators.
12056Solution: Add a bonus for slash and backslash. (Yegappan Lakshmanan,
12057 closes #7225)
12058Files: src/search.c, src/testdir/test_matchfuzzy.vim
12059
12060Patch 8.2.1922
12061Problem: Win32: scrolling doesn't work properly when part of window is
12062 off-screen.
12063Solution: Fall back to GDI scrolling if part of the window is off-screen.
12064 Handle multi-monitor setup better. (Ken Takata, closes #7219)
12065Files: src/gui_w32.c
12066
12067Patch 8.2.1923
12068Problem: Vim9: "filter" command modifier doesn't work.
12069Solution: Check for space on char before argument. (closes #7216,
12070 closes #7222)
12071Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
12072
12073Patch 8.2.1924
12074Problem: Vim9: crash when indexing dict with NULL key.
12075Solution: Use empty string instead of NULL. (closes #7229) Make error
12076 message more useful for empty string.
12077Files: src/vim9execute.c, src/globals.h, src/testdir/test_vim9_expr.vim
12078
12079Patch 8.2.1925 (after 8.2.1924)
12080Problem: List/dict test fails.
12081Solution: Correct expected exception.
12082File: src/testdir/test_listdict.vim
12083
12084Patch 8.2.1926
12085Problem: Cannot use a space in 'spellfile'. (Filipe Brandenburger)
12086Solution: Permit using a space. (closes #7230)
12087Files: src/spell.c, src/testdir/gen_opt_test.vim
12088
12089Patch 8.2.1927
12090Problem: Vim9: get unknown error with an error in a timer function.
12091Solution: Use did_emsg instead of called_emsg. (closes #7231)
12092Files: src/vim9compile.c, src/vim9execute.c
12093
12094Patch 8.2.1928
12095Problem: Vim9: "silent!" not effective when list index is wrong.
12096Solution: Ignore list index failure when emsg_silent is set. (closes #7232)
12097Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
12098
12099Patch 8.2.1929
12100Problem: MS-Windows: problem loading Perl 5.32.
12101Solution: Define NO_THREAD_SAFE_LOCALE. (Ken Takata, closes #7234)
12102Files: src/if_perl.xs
12103
12104Patch 8.2.1930
12105Problem: Wrong input if removing shift results in special key code.
12106Solution: Handle special key codes. (closes #7189)
12107Files: src/term.c, src/testdir/test_termcodes.vim
12108
12109Patch 8.2.1931
12110Problem: Vim9: arguments of extend() not checked at compile time.
12111Solution: Add argument type checking for extend().
12112Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
12113
12114Patch 8.2.1932
12115Problem: Compiler warnings when building with Athena GUI.
12116Solution: Fix function signatures.
12117Files: src/gui_at_fs.c
12118
12119Patch 8.2.1933
12120Problem: Cannot sort using locale ordering.
12121Solution: Add a flag for :sort and sort() to use the locale. (Dominique
12122 Pellé, closes #7237)
12123Files: runtime/doc/change.txt, runtime/doc/eval.txt, src/ex_cmds.c,
12124 src/list.c, src/testdir/test_sort.vim
12125
12126Patch 8.2.1934
12127Problem: Vim9: command modifiers in :def function not tested.
12128Solution: Add tests. Fix using modifier before filter command.
12129Files: src/ex_docmd.c, src/vim9compile.c, src/testdir/test_vim9_cmd.vim
12130
12131Patch 8.2.1935 (after 8.2.1933)
12132Problem: Sort test fails on Mac.
12133Solution: Disable the sort test with locale on Mac.
12134Files: src/testdir/test_sort.vim
12135
12136Patch 8.2.1936
12137Problem: Session sets the local 'scrolloff' value to the global value.
12138Solution: Do not let restoring the global option value change the local
12139 value.
12140Files: src/session.c, src/testdir/test_mksession.vim
12141
12142Patch 8.2.1937
12143Problem: Vim9: test for confirm modifier fails in some situations.
12144Solution: Add a short wait. Handle failure better.
12145Files: src/testdir/term_util.vim, src/testdir/test_vim9_cmd.vim
12146
12147Patch 8.2.1938
12148Problem: Wiping out a terminal buffer makes some tests fail.
12149Solution: Do not wipe out the terminal buffer unless wanted.
12150Files: src/testdir/term_util.vim, src/testdir/test_terminal.vim,
12151 src/testdir/test_terminal3.vim
12152
12153Patch 8.2.1939
12154Problem: Invalid memory access in Ex mode with global command.
12155Solution: Make sure the cursor is on a valid line. (closes #7238)
12156Files: src/move.c, src/testdir/test_ex_mode.vim
12157
12158Patch 8.2.1940
12159Problem: Vim9: browse modifier test fails on Mac.
12160Solution: Only test when the +browse feature is available.
12161Files: src/testdir/test_vim9_cmd.vim
12162
12163Patch 8.2.1941
12164Problem: Ex mode test fails on MS-Windows with GUI.
12165Solution: Skip the test when using gvim.
12166Files: src/testdir/test_ex_mode.vim
12167
12168Patch 8.2.1942
12169Problem: Insufficient test coverage for the Netbeans interface.
12170Solution: Add more tests. Fix an uncovered bug. (Yegappan Lakshmanan,
12171 closes #7240)
12172Files: runtime/doc/netbeans.txt, src/mouse.c,
12173 src/testdir/test_netbeans.py, src/testdir/test_netbeans.vim,
12174 src/testdir/test_quickfix.vim
12175
12176Patch 8.2.1943
12177Problem: Vim9: wrong error message when colon is missing.
12178Solution: Check for a missing colon. (issue #7239)
12179Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
12180
12181Patch 8.2.1944
12182Problem: Netbeans test is flaky.
12183Solution: Add a short delay. (Yegappan Lakshmanan, closes #7246)
12184Files: src/testdir/test_netbeans.vim
12185
12186Patch 8.2.1945
12187Problem: Crash when passing NULL function to reduce().
12188Solution: Check for NULL pointer and give an error. (Dominique Pellé,
12189 closes #7243)
12190Files: src/list.c, src/errors.h, src/testdir/test_listdict.vim
12191
12192Patch 8.2.1946
12193Problem: sort() with NULL string not tested.
12194Solution: Add a test. use v:collate. (Dominique Pellé, closes #7247)
12195Files: src/testdir/test_sort.vim
12196
12197Patch 8.2.1947
12198Problem: Crash when using "zj" without folds. (Sean Dewar)
12199Solution: Check for at least one fold. (closes #7245)
12200Files: src/fold.c, src/testdir/test_fold.vim
12201
12202Patch 8.2.1948
12203Problem: GUI: crash when handling message while closing a window. (Srinath
12204 Avadhanula)
12205Solution: Don't handle message while closing a window. (closes #7250)
12206Files: src/window.c, src/globals.h, src/getchar.c
12207
12208Patch 8.2.1949
12209Problem: Vim9: using extend() on null dict is silently ignored.
12210Solution: Give an error message. Initialize a dict variable with an empty
12211 dictionary. (closes #7251)
12212Files: src/errors.h, src/list.c, src/evalvars.c,
12213 src/testdir/test_vim9_assign.vim
12214
12215Patch 8.2.1950
12216Problem: Vim9: crash when compiling function fails when getting type.
12217Solution: Handle NULL type. (closes #7253)
12218Files: src/vim9type.c, src/testdir/test_vim9_expr.vim
12219
12220Patch 8.2.1951 (after 8.2.1949)
12221Problem: Test for list and dict fails.
12222Solution: Adjust for using an empty list/dict for a null one.
12223Files: src/testdir/test_listdict.vim, src/testdir/test_python2.vim,
12224 src/testdir/test_python3.vim
12225
12226Patch 8.2.1952
12227Problem: Vim9: crash when using a NULL dict key.
12228Solution: Use a NULL dict key like an empty string. (closes #7249)
12229Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
12230
12231Patch 8.2.1953
12232Problem: Vim9: extra "unknown" error after other error.
12233Solution: Restore did_emsg count after EXEC instruction. (closes #7254)
12234 Improve error message from assert_fails()
12235Files: src/vim9execute.c, src/testing.c,
12236 src/testdir/test_vim9_script.vim, src/testdir/test_assert.vim
12237
12238Patch 8.2.1954
12239Problem: Vim9: not all command modifiers are tested.
12240Solution: Add tests for "keep" modifiers. Fix that marks are lost even
12241 though ":lockmarks" is used.
12242Files: src/ex_cmds.c, src/testdir/test_vim9_cmd.vim
12243
12244Patch 8.2.1955
12245Problem: Vim9: not all command modifiers are tested.
12246Solution: Add tests for remaining modifiers.
12247Files: src/testdir/test_vim9_cmd.vim
12248
12249Patch 8.2.1956
12250Problem: Vim9: cannot specify argument types for lambda.
12251Solution: Allow adding argument types. Check arguments when calling a
12252 function reference.
12253Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9compile.c,
12254 src/eval.c, src/testdir/test_vim9_disassemble.vim,
12255 src/testdir/test_vim9_func.vim
12256
12257Patch 8.2.1957
12258Problem: Diff and cursorcolumn highlighting don't mix.
12259Solution: Fix condition for what attribute to use. (Christian Brabandt,
12260 closes #7258, closes #7260)
12261Files: src/drawline.c, src/testdir/dumps/Test_diff_cuc_01.dump,
12262 src/testdir/dumps/Test_diff_cuc_02.dump,
12263 src/testdir/dumps/Test_diff_cuc_03.dump,
12264 src/testdir/dumps/Test_diff_cuc_04.dump,
12265 src/testdir/test_diffmode.vim
12266
12267Patch 8.2.1958 (after 8.2.1956)
12268Problem: Build failure with timers.
12269Solution: Add missing change.
12270Files: src/popupwin.c
12271
12272Patch 8.2.1959
12273Problem: Crash when terminal buffer name is made empty. (Dhiraj Mishra)
12274Solution: Fall back to "[No Name]". (closes #7262)
12275Files: src/buffer.c, src/proto/buffer.pro, src/terminal.c,
12276 src/testdir/test_terminal.vim
12277
12278Patch 8.2.1960
12279Problem: Warning for uninitialized variable.
12280Solution: Initialize the variable.
12281Files: src/evalfunc.c
12282
12283Patch 8.2.1961
12284Problem: Various comments can be improved.
12285Solution: Various comment adjustments.
12286Files: src/dict.c, src/structs.h, src/time.c, src/testdir/shared.vim,
12287 src/testdir/test_netbeans.vim, src/gui_motif.c
12288
12289Patch 8.2.1962
12290Problem: Netbeans may access freed memory.
12291Solution: Check the buffer pointer is still valid. Add a test. (Yegappan
12292 Lakshmanan, closes #7248)
12293Files: src/netbeans.c, src/testdir/test_netbeans.vim
12294
12295Patch 8.2.1963
12296Problem: Crash when using a popup window with "latin1" encoding.
12297Solution: Don't use ScreenLinesUC when enc_utf8 is false. (closes #7241)
12298Files: src/screen.c, src/terminal.c, src/testdir/test_popupwin.vim
12299
12300Patch 8.2.1964
12301Problem: Not all ConTeXt files are recognized.
12302Solution: Add two patterns. (closes #7263)
12303Files: runtime/filetype.vim, src/testdir/test_filetype.vim
12304
12305Patch 8.2.1965
12306Problem: Vim9: tests fail without the channel feature.
12307Solution: Check if the channel feature is present. (Dominique Pellé,
Bram Moolenaar1588bc82022-03-08 21:35:07 +000012308 closes #7270)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012309Files: src/testdir/test_vim9_expr.vim
12310
12311Patch 8.2.1966
12312Problem: Popup becomes current window after closing a terminal window.
12313Solution: When restoring the window after executing autocommands, check that
12314 the window ID is still the same. (Naruhiko Nishino,
12315 closes #7272)
12316Files: src/autocmd.c, src/window.c, src/proto/window.pro, src/structs.h,
12317 src/testdir/test_popupwin.vim
12318
12319Patch 8.2.1967
12320Problem: The session file does not restore the alternate file.
12321Solution: Add ":balt". Works like ":badd" and also sets the buffer as the
12322 alternate file. Use it in the session file. (closes #7269,
12323 closes #6714)
12324Files: runtime/doc/windows.txt, src/ex_cmds.h, src/ex_cmdidxs.h,
12325 src/ex_docmd.c, src/vim.h, src/ex_cmds.c, src/session.c,
12326 src/testdir/test_buffer.vim
12327
12328Patch 8.2.1968
12329Problem: Vim9: has() assumes a feature does not change dynamically.
12330Solution: Check whether a feature may change dynamically. (closes #7265)
12331Files: src/vim9compile.c, src/evalfunc.c, src/proto/evalfunc.pro,
12332 src/testdir/test_vim9_disassemble.vim
12333
12334Patch 8.2.1969
12335Problem: Vim9: map() may change the list or dict item type.
12336Solution: Add mapnew().
12337Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
12338 src/list.c, src/proto/list.pro, src/testdir/test_filter_map.vim
12339
12340Patch 8.2.1970
12341Problem: It is easy to make mistakes when cleaning up swap files after the
12342 system crashed.
12343Solution: Warn for the process still running after recovery. Do not
12344 automatically delete a swap file created on another system.
12345 (David Fries, closes #7273)
12346Files: src/memline.c, src/testdir/test_swap.vim
12347
12348Patch 8.2.1971
12349Problem: Memory leak when map() fails.
12350Solution: Clear the typval.
12351Files: src/list.c
12352
12353Patch 8.2.1972
12354Problem: Crash when recreating nested fold.
12355Solution: Check for empty growarray. (closes #7278)
12356Files: src/fold.c, src/testdir/test_fold.vim
12357
12358Patch 8.2.1973
12359Problem: Finding a patch number can be a bit slow.
12360Solution: Use binary search. (closes #7279)
12361Files: src/version.c
12362
12363Patch 8.2.1974
12364Problem: Vim9: test for has('gui_running') fails with VIMDLL.
12365Solution: Adjust the #ifdef. (Ken Takata, closes #7276)
12366Files: src/evalfunc.c
12367
12368Patch 8.2.1975
12369Problem: Win32: memory leak when encoding conversion fails.
12370Solution: Free the allocated memory. (Ken Takata, closes #7277)
12371Files: src/os_win32.c
12372
12373Patch 8.2.1976
12374Problem: Cannot backspace in prompt buffer after using cursor-left. (Maxim
12375 Kim)
12376Solution: Ignore "arrow_used" in a prompt buffer. (closes #7281)
12377Files: src/edit.c, src/testdir/test_prompt_buffer.vim
12378
12379Patch 8.2.1977
12380Problem: Vim9: error for using a string in a condition is confusing.
12381Solution: Give a more specific error. Also adjust the compile time type
12382 checking for || and &&.
12383Files: src/vim9compile.c, src/vim9execute.c, src/proto/vim9execute.pro,
12384 src/typval.c, src/errors.h, src/testdir/test_vim9_cmd.vim,
12385 src/testdir/test_vim9_disassemble.vim,
12386 src/testdir/test_vim9_expr.vim
12387
12388Patch 8.2.1978
12389Problem: Making a mapping work in all modes is complicated.
12390Solution: Add the <Cmd> special key. (Yegappan Lakshmanan, closes #7282,
12391 closes 4784, based on patch by Bjorn Linse)
12392Files: runtime/doc/autocmd.txt, runtime/doc/eval.txt,
12393 runtime/doc/map.txt, src/edit.c, src/errors.h, src/ex_docmd.c,
12394 src/ex_getln.c, src/getchar.c, src/insexpand.c, src/keymap.h,
12395 src/map.c, src/misc2.c, src/normal.c, src/ops.c,
12396 src/proto/getchar.pro, src/screen.c, src/terminal.c,
12397 src/testdir/test_mapping.vim
12398
12399Patch 8.2.1979
12400Problem: "term_opencmd" option of term_start() is truncated. (Sergey
12401 Vlasov)
12402Solution: Allocate the buffer to hold the command. (closes #7284)
12403Files: src/terminal.c, src/testdir/test_terminal.vim
12404
12405Patch 8.2.1980
12406Problem: Vim9: some tests are not done at the script level.
12407Solution: Use CheckDefAndScriptSuccess() in more places. Fix uncovered
12408 problems.
12409Files: src/eval.c, src/list.c, src/scriptfile.c,
12410 src/testdir/test_vim9_expr.vim
12411
12412Patch 8.2.1981
12413Problem: MinGW: parallel compilation might fail.
12414Solution: Add dependencies on $(OUTDIR). (Masamichi Abe, closes #7287)
12415Files: src/Make_cyg_ming.mak
12416
12417Patch 8.2.1982
12418Problem: Quickfix window not updated when adding invalid entries.
12419Solution: Update the quickfix buffer properly. (Yegappan Lakshmanan, closes
12420 #7291, closes #7271)
12421Files: src/quickfix.c, src/testdir/test_quickfix.vim
12422
12423Patch 8.2.1983
12424Problem: ml_get error when using <Cmd> to open a terminal.
12425Solution: If the window changed reset the incsearch state. (closes #7289)
12426Files: src/ex_getln.c, src/testdir/test_terminal.vim,
12427 src/testdir/dumps/Test_terminal_from_cmd.dump
12428
12429Patch 8.2.1984
12430Problem: Cannot use :vimgrep in omni completion, causing C completion to
12431 fail.
12432Solution: Add the EX_LOCK_OK flag to :vimgrep. (closes #7292)
12433Files: src/ex_cmds.h, src/testdir/test_quickfix.vim
12434
12435Patch 8.2.1985
12436Problem: Crash when closing terminal popup with <Cmd> mapping.
12437Solution: Check b_term is not NULL. (closes #7294)
12438Files: src/terminal.c, src/testdir/test_terminal.vim
12439
12440Patch 8.2.1986
12441Problem: Expression test is flaky on Appveyor.
12442Solution: Temporarily disable the test in MS-Windows.
12443Files: src/testdir/test_vim9_expr.vim
12444
12445Patch 8.2.1987
12446Problem: MS-Windows: Win32.mak is no longer needed.
12447Solution: Do not include Win32.mak. (Jason McHugh, closes #7290)
12448Files: src/Make_mvc.mak, src/INSTALLpc.txt
12449
12450Patch 8.2.1988
12451Problem: Still in Insert mode when opening terminal popup with a <Cmd>
12452 mapping in Insert mode.
12453Solution: Exit Insert mode. (closes #7295)
12454Files: src/edit.c, src/testdir/test_terminal.vim
12455
12456Patch 8.2.1989
12457Problem: Info popup triggers WinEnter and WinLeave autocommands.
12458Solution: Suppress autocommands for the info popup. (closes #7296)
12459Files: src/popupmenu.c, src/testdir/test_popupwin.vim
12460
12461Patch 8.2.1990
12462Problem: Cursor position wrong in terminal popup with finished job.
12463Solution: Only add the top and left offset when not done already.
12464 (closes #7298)
12465Files: src/popupwin.c, src/structs.h, src/drawline.c, src/move.c,
12466 src/terminal.c, src/testdir/dumps/Test_terminal_popup_m1.dump
12467
12468Patch 8.2.1991
12469Problem: Coverity warns for not using the ga_grow() return value.
12470Solution: Bail out if ga_grow() fails. (Yegappan Lakshmanan, closes #7303)
12471Files: src/getchar.c
12472
12473Patch 8.2.1992
12474Problem: Build fails with small features.
12475Solution: Add #ifdef.
12476Files: src/move.c
12477
12478Patch 8.2.1993
12479Problem: Occasional failure of the netbeans test.
12480Solution: Add "silent!". (Yegappan Lakshmanan, closes #7304)
12481Files: src/testdir/test_netbeans.vim
12482
12483Patch 8.2.1994 (after 8.2.1981)
12484Problem: MS-Windows: MinGW always does a full build.
12485Solution: Only check if $OUTDIR exists. (Masamichi Abe, closes #7311)
12486Files: src/Make_cyg_ming.mak
12487
12488Patch 8.2.1995
12489Problem: The popup menu can cause too much redrawing.
12490Solution: Reduce the length of the displayed text. (Yasuhiro Matsumoto,
12491 closes #7306)
12492Files: src/popupmenu.c
12493
12494Patch 8.2.1996
12495Problem: Vim9: invalid error for argument of extend().
12496Solution: Check if the type could match. (closes #7299)
12497Files: src/evalfunc.c, src/vim9compile.c, src/proto/vim9compile.pro,
12498 src/vim9type.c, src/proto/vim9type.pro,
12499 src/testdir/test_vim9_builtin.vim
12500
12501Patch 8.2.1997
12502Problem: Window changes when using bufload() while in a terminal popup.
12503Solution: When searching for a window by ID also find a popup window.
12504 (closes #7307)
12505Files: src/window.c, src/testdir/test_terminal.vim
12506
12507Patch 8.2.1998
12508Problem: Terminal Cmd test sometimes fails to close popup.
12509Solution: Add "term_finish" option.
12510Files: src/testdir/test_terminal.vim
12511
12512Patch 8.2.1999
12513Problem: Terminal popup test sometimes fails.
12514Solution: Wait for the popup to close.
12515Files: src/testdir/test_terminal.vim
12516
12517Patch 8.2.2000
12518Problem: Vim9: dict.key assignment not implemented yet.
12519Solution: Implement dict.key assignment. (closes #7312)
12520Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
12521
12522Patch 8.2.2001
12523Problem: Vim9: :def function does not apply 'maxfuncdepth'.
12524Solution: Use 'maxfuncdepth'. (issue #7313)
12525Files: src/vim9execute.c, src/userfunc.c, src/proto/userfunc.pro,
12526 src/testdir/test_vim9_func.vim
12527
12528Patch 8.2.2002
12529Problem: Vim9: lambda argument shadowed by function name.
12530Solution: Let function name be shadowed by lambda argument. (closes #7313)
12531Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
12532
12533Patch 8.2.2003
12534Problem: Build error with +conceal but without +popupwin.
12535Solution: Add #ifdef. (Tom Ryder, closes #7316)
12536Files: src/drawline.c
12537
12538Patch 8.2.2004 (after 8.2.2002)
12539Problem: Compiler warning for uninitialized variable.
12540Solution: Initialize "ufunc". (John Marriott)
12541Files: src/vim9compile.c
12542
12543Patch 8.2.2005
12544Problem: Redoing a mapping with <Cmd> doesn't work properly.
12545Solution: Fill the redo buffer. Use "<SNR>" instead of a key code.
12546 (closes #7282)
12547Files: src/ops.c, src/getchar.c, src/testdir/test_mapping.vim
12548
12549Patch 8.2.2006
12550Problem: .pbtxt files are not recognized.
12551Solution: Recognize .pbtxt as protobuf text buffers. (closes #7326)
12552Files: runtime/filetype.vim, src/testdir/test_filetype.vim
12553
12554Patch 8.2.2007
12555Problem: Test for insert mode in popup is not reliable.
12556Solution: Wait for the popup to disappear. (Ozaki Kiichi, closes #7321)
12557Files: src/testdir/test_terminal.vim
12558
12559Patch 8.2.2008
12560Problem: MS-Windows GUI: handling channel messages lags.
12561Solution: Reduce the wait time from 100 to 10 msec. (closes #7097)
12562Files: src/gui_w32.c
12563
12564Patch 8.2.2009
12565Problem: MS-Windows: setting $LANG in gvimext only causes problems.
12566Solution: Do not set $LANG. (Ken Takata, closes #7325)
12567Files: src/GvimExt/gvimext.cpp
12568
12569Patch 8.2.2010
12570Problem: Vim9: compiling fails for unreachable return statement.
12571Solution: Fix it. (closes #7319)
12572Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
12573
12574Patch 8.2.2011
12575Problem: "syn sync" reports a very large number.
12576Solution: Use "at the first line".
12577Files: src/syntax.c, src/testdir/test_syntax.vim
12578
12579Patch 8.2.2012
12580Problem: Vim9: confusing error message when using bool wrongly.
12581Solution: Mention "Bool" instead of "Special". (closes #7323)
12582Files: src/typval.c, src/errors.h, src/testdir/test_vim9_expr.vim
12583
12584Patch 8.2.2013
12585Problem: Vim9: not skipping white space after unary minus.
12586Solution: Skip whitespace. (closes #7324)
12587Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
12588
12589Patch 8.2.2014
12590Problem: Using CTRL-O in a prompt buffer moves cursor to start of the line.
12591Solution: Do not move the cursor when restarting edit. (closes #7330)
12592Files: src/job.c, src/testdir/test_prompt_buffer.vim
12593
12594Patch 8.2.2015
12595Problem: Vim9: literal dict #{} is not like any other language.
12596Solution: Support the JavaScript syntax.
12597Files: runtime/doc/vim9.txt, src/vim9compile.c,
12598 src/proto/vim9compile.pro, src/errors.h,
12599 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_builtin.vim,
12600 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
12601
12602Patch 8.2.2016
12603Problem: Swap file test is a little flaky.
12604Solution: Don't set a byte to a fixed value, increment it.
12605Files: src/testdir/test_swap.vim
12606
12607Patch 8.2.2017 (after 8.2.2015)
12608Problem: Missing part of the dict change.
12609Solution: Also change the script level dict.
12610Files: src/dict.c
12611
12612Patch 8.2.2018
12613Problem: Vim9: script variable not found from lambda.
12614Solution: In a lambda also check the script hashtab for a variable without a
12615 scope. (closes #7329)
12616Files: src/evalvars.c, src/testdir/test_vim9_func.vim
12617
12618Patch 8.2.2019 (after 8.2.2016)
12619Problem: Swap file test fails on MS-Windows.
12620Solution: Add four to the process ID. (Ken Takata, closes #7333)
12621Files: src/testdir/test_swap.vim
12622
12623Patch 8.2.2020
12624Problem: Some compilers do not like the "namespace" argument.
12625Solution: Rename to "use_namespace". (closes #7332)
12626Files: src/vim9compile.c, src/proto/vim9compile.pro
12627
12628Patch 8.2.2021
12629Problem: Vim9: get E1099 when autocommand resets did_emsg.
12630Solution: Add did_emsg_cumul. (closes #7336)
12631Files: src/globals.h, src/ex_docmd.c, src/vim9execute.c,
12632 src/testdir/test_vim9_func.vim
12633
12634Patch 8.2.2022
Bram Moolenaar1588bc82022-03-08 21:35:07 +000012635Problem: Vim9: star command recognized erroneously.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012636Solution: Give an error for missing colon. (issue #7335)
12637Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
12638
12639Patch 8.2.2023
12640Problem: Vim: memory leak when :execute fails.
12641Solution: Clear the growarray.
12642Files: src/vim9execute.c
12643
12644Patch 8.2.2024
12645Problem: Flicker when redrawing a popup with a title and border.
12646Solution: Do not redraw the border where the title is displayed. (Naruhiko
12647 Nishino, closes #7334)
12648Files: src/popupwin.c
12649
12650Patch 8.2.2025
12651Problem: Amiga: Not all colors are used on OS4.
12652Solution: Adjust the #ifdef to include __amigaos4__. (Ola Söder,
12653 closes #7328)
12654Files: src/term.c
12655
12656Patch 8.2.2026
12657Problem: Coverity warns for possibly using not NUL terminated string.
12658Solution: Put a NUL in b0_hname just in case.
12659Files: src/memline.c
12660
12661Patch 8.2.2027
12662Problem: Coverity warns for uninitialized field.
12663Solution: Set "v_lock".
12664Files: src/list.c
12665
12666Patch 8.2.2028
12667Problem: Coverity warns for using an uninitialized variable.
12668Solution: Initialize to NULL.
12669Files: src/eval.c
12670
12671Patch 8.2.2029
12672Problem: Coverity warns for not checking return value.
12673Solution: Check that u_save_cursor() returns OK.
12674Files: src/ops.c
12675
12676Patch 8.2.2030
12677Problem: Some tests fail on Mac.
12678Solution: Avoid Mac test failures. Add additional test for wildmenu.
12679 (Yegappan Lakshmanan, closes #7341)
12680Files: src/testdir/runtest.vim, src/testdir/test_cmdline.vim,
12681 src/testdir/test_options.vim, src/testdir/test_popupwin.vim
12682
12683Patch 8.2.2031
12684Problem: Some tests fail when run under valgrind.
12685Solution: Avoid timing problems.
12686Files: src/testdir/test_vim9_func.vim, src/testdir/test_channel.vim,
12687 src/testdir/test_clientserver.vim, src/testdir/test_debugger.vim,
12688 src/testdir/test_quotestar.vim
12689
12690Patch 8.2.2032
12691Problem: Cabalconfig and cabalproject filetypes not recognized.
12692Solution: Detect more cabal files. (Marcin Szamotulski, closes #7339)
12693Files: runtime/filetype.vim, src/testdir/test_filetype.vim
12694
12695Patch 8.2.2033
12696Problem: Vim9: :def without argument gives compilation error.
12697Solution: Add the DEF instruction. (closes #7344)
12698Files: src/ex_docmd.c, src/vim9.h, src/vim9compile.c, src/vim9execute.c,
12699 src/userfunc.c, src/proto/userfunc.pro,
12700 src/testdir/test_vim9_disassemble.vim,
12701 src/testdir/test_vim9_func.vim
12702
12703Patch 8.2.2034
12704Problem: Vim9: list unpack in for statement not compiled yet.
12705Solution: Compile list unpack. (closes #7345)
12706Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/errors.h,
12707 src/eval.c, src/testdir/test_vim9_disassemble.vim,
12708 src/testdir/test_vim9_script.vim
12709
12710Patch 8.2.2035
12711Problem: MS-Windows: some tests may fail.
12712Solution: Avoid test failures. (Yegappan Lakshmanan, closes #7346)
12713Files: src/testdir/test_channel.vim, src/testdir/test_ex_mode.vim,
12714 src/testdir/test_functions.vim
12715
12716Patch 8.2.2036
12717Problem: Current buffer is messed up if creating a new buffer for the
12718 quickfix window fails.
12719Solution: Check that creating the buffer succeeds. (closes #7352)
12720Files: src/quickfix.c, src/testdir/test_quickfix.vim,
12721 src/testdir/dumps/Test_quickfix_window_fails.dump
12722
12723Patch 8.2.2037
12724Problem: Compiler test depends on list of compiler plugins.
12725Solution: Compare with the actual list of compiler plugins.
12726Files: src/testdir/test_compiler.vim
12727
12728Patch 8.2.2038
12729Problem: Compiler test fails on MS-Windows.
12730Solution: Sort the found compiler plugin names.
12731Files: src/testdir/test_compiler.vim
12732
12733Patch 8.2.2039
12734Problem: Viminfo is not written when creating a new file.
12735Solution: Set "b_marks_read" in the new buffer. (Christian Brabandt,
12736 closes #7350)
12737Files: src/bufwrite.c, src/testdir/test_viminfo.vim
12738
12739Patch 8.2.2040
12740Problem: Terminal buffer disappears even when 'bufhidden' is "hide".
12741 (Sergey Vlasov)
12742Solution: Check 'bufhiddden' when a terminal buffer becomes hidden.
12743 (closes #7358)
12744Files: src/buffer.c, src/testdir/test_terminal.vim
12745
12746Patch 8.2.2041
12747Problem: Haskell filetype not optimally recognized.
12748Solution: Recognize all *.hsc files as Haskell. (Marcin Szamotulski,
12749 closes #7354)
12750Files: runtime/filetype.vim, src/testdir/test_filetype.vim
12751
12752Patch 8.2.2042
12753Problem: Build failure with +profile but without +reltime.
12754Solution: Adjust #ifdef. (Christian Brabandt, closes #7361)
12755Files: src/syntax.c
12756
12757Patch 8.2.2043
12758Problem: GTK3: white border around text stands out.
12759Solution: Use current theme color. (closes #7357, issue #349)
12760Files: src/gui_gtk_x11.c
12761
12762Patch 8.2.2044
12763Problem: MS-Windows: swap file test sometimes fails.
12764Solution: Use a more reliable way to change the process ID. When "timeout"
12765 fails use "ping" to wait up to ten minutes. (Ken Takata,
12766 closes #7365)
12767Files: .github/workflows/ci-windows.yaml, src/testdir/test_swap.vim
12768
12769Patch 8.2.2045
12770Problem: Highlighting a character too much with incsearch.
12771Solution: Check "search_match_endcol". (Christian Brabandt, closes #7360)
12772Files: src/drawline.c, src/testdir/test_search.vim,
12773 src/testdir/dumps/Test_incsearch_newline1.dump,
12774 src/testdir/dumps/Test_incsearch_newline2.dump,
12775 src/testdir/dumps/Test_incsearch_newline3.dump,
12776 src/testdir/dumps/Test_incsearch_newline4.dump,
12777 src/testdir/dumps/Test_incsearch_newline5.dump
12778
12779Patch 8.2.2046
12780Problem: Some test failures don't give a clear error.
12781Solution: Use assert_match() and assert_fails() instead of assert_true().
12782 (Ken Takata, closes #7368)
12783Files: src/testdir/test_autocmd.vim, src/testdir/test_backspace_opt.vim
12784
12785Patch 8.2.2047
12786Problem: Amiga: FEAT_ARP defined when it should not.
12787Solution: Adjust #ifdef. (Ola Söder, closes #7370)
12788Files: src/feature.h
12789
12790Patch 8.2.2048
12791Problem: Amiga: obsolete code.
12792Solution: Remove the unused lines. (Ola Söder, closes #7373)
12793Files: src/gui.c
12794
12795Patch 8.2.2049
12796Problem: Amiga: obsolete function.
12797Solution: Remove the function. (Ola Söder, closes #7374)
12798Files: src/memfile.c
12799
12800Patch 8.2.2050
12801Problem: Search test contains unneeded sleeps.
12802Solution: Rename the function, remove sleeps. (Christian Brabandt,
12803 closes #7369)
12804Files: src/testdir/test_search.vim
12805
12806Patch 8.2.2051
12807Problem: Vim9: crash when aborting a user function call.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000012808Solution: Do not use the return value when aborting. (closes #7372)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012809Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
12810
12811Patch 8.2.2052
12812Problem: Vim9: "edit +4 fname" gives an error. (Naruhiko Nishino)
12813Solution: Allow using a range in the +cmd argument. (closes #7364)
12814Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/vim.h, src/ex_cmds.c,
12815 src/testdir/test_vim9_cmd.vim
12816
12817Patch 8.2.2053
Bram Moolenaar1588bc82022-03-08 21:35:07 +000012818Problem: Vim9: lambda doesn't accept argument types.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012819Solution: Optionally accept argument types at the script level.
12820Files: src/eval.c, src/testdir/test_vim9_expr.vim
12821
12822Patch 8.2.2054
12823Problem: Amiga: FEAT_ARP defined when it should not.
12824Solution: Adjust "||" to "&&" in #ifdef. (Ola Söder, closes #7375)
12825Files: src/feature.h
12826
12827Patch 8.2.2055
12828Problem: MS-Windows: two Vim instances may use the same temp file.
12829Solution: Use the process ID for the temp name. (Ken Takata, closes #7378)
12830Files: src/fileio.c
12831
12832Patch 8.2.2056
12833Problem: Configure fails when building with the
12834 "implicit-function-declaration" error enabled, specifically on Mac.
12835Solution: Declear the functions like in the source code. (suggestion by
12836 Clemens Lang, closes #7380)
12837Files: src/configure.ac, src/auto/configure
12838
12839Patch 8.2.2057
12840Problem: Getting the selection may trigger TextYankPost autocmd.
12841Solution: Only trigger the autocommand when yanking in Vim, not for getting
12842 the selection. (closes #7367)
12843Files: src/clipboard.c, src/normal.c, src/register.c,
12844 src/testdir/test_autocmd.vim
12845
12846Patch 8.2.2058
12847Problem: Using mkview/loadview changes the jumplist.
12848Solution: Use ":keepjumps". Don't let ":badd" or ":balt" change the
12849 jumplist. (closes #7371)
12850Files: src/session.c, src/ex_docmd.c, src/testdir/test_mksession.vim
12851
12852Patch 8.2.2059
12853Problem: Amiga: can't find plugins.
12854Solution: Do not use "**" in the pattern. (Ola Söder, closes #7384)
12855Files: src/main.c
12856
12857Patch 8.2.2060
12858Problem: Check for features implemented with "if".
12859Solution: Use the Check commands. (Ken Takata, closes #7383)
12860Files: src/testdir/test_autocmd.vim, src/testdir/test_compiler.vim,
12861 src/testdir/test_delete.vim, src/testdir/test_diffmode.vim,
12862 src/testdir/test_expr.vim, src/testdir/test_fold.vim
12863
12864Patch 8.2.2061
12865Problem: Vim9: E1030 error when using empty string for term_sendkeys().
12866Solution: Don't check for an invalid type unless the terminal can't be
12867 found. (closes #7382)
12868Files: src/terminal.c, src/testdir/test_termcodes.vim
12869
12870Patch 8.2.2062
12871Problem: <Cmd> does not handle CTRL-V.
12872Solution: Call get_literal() after encountering CTRL-V. (closes #7387)
12873Files: src/getchar.c, src/testdir/test_mapping.vim
12874
12875Patch 8.2.2063
12876Problem: Vim9: only one level of indexing supported.
12877Solution: Handle more than one index in an assignment.
12878Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_assign.vim
12879
12880Patch 8.2.2064
12881Problem: terminal: cursor is on while redrawing, causing flicker.
12882Solution: Switch the cursor off while redrawing. Always add the top and
12883 left offset to the cursor position when not done already.
12884 (closes #5943)
12885Files: src/terminal.c, src/popupwin.c
12886
12887Patch 8.2.2065
12888Problem: Using map() and filter() on a range() is inefficient.
12889Solution: Do not materialize the range. (closes #7388)
12890Files: src/list.c, src/testdir/test_functions.vim
12891
12892Patch 8.2.2066
12893Problem: Vim9: assignment with += doesn't work.
12894Solution: Do not see the "+" as an addition operator.
12895Files: src/eval.c, src/ex_docmd.c, src/testdir/test_vim9_assign.vim
12896
12897Patch 8.2.2067 (after 8.2.2064)
12898Problem: Cursor position in popup terminal is wrong.
12899Solution: Don't check the flags.
12900Files: src/terminal.c, src/testdir/test_popupwin.vim
12901
12902Patch 8.2.2068
12903Problem: Transparent syntax item uses start/end of containing region.
12904Solution: Do not change the startpos and endpos of a transparent region to
12905 that of its containing region. (Adrian Ghizaru, closes #7349,
12906 closes #7391)
12907Files: src/syntax.c, src/testdir/test_syntax.vim
12908
12909Patch 8.2.2069
12910Problem: The quickfix window is not updated after setqflist().
12911Solution: Update the quickfix buffer. (Yegappan Lakshmanan, closes #7390,
12912 closes #7385)
12913Files: src/quickfix.c, src/testdir/test_quickfix.vim
12914
12915Patch 8.2.2070
12916Problem: Can't get the exit value in VimLeave or VimLeavePre autocommands.
12917Solution: Add v:exiting like in Neovim. (Yegappan Lakshmanan, closes #7395)
12918Files: runtime/doc/autocmd.txt, runtime/doc/eval.txt, src/evalvars.c,
12919 src/main.c, src/testdir/test_exit.vim, src/vim.h
12920
12921Patch 8.2.2071
12922Problem: Vim9: list assign doesn't accept an empty remainder list.
12923Solution: Recognize list assignment with ";".
12924Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim
12925
12926Patch 8.2.2072
12927Problem: Vim9: list assign not well tested.
12928Solution: Test with different destinations. Fix white space error.
12929Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
12930
12931Patch 8.2.2073
12932Problem: Vim9: for with unpack only works for local variables.
12933Solution: Recognize different destinations.
12934Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
12935
12936Patch 8.2.2074
12937Problem: Vim9: using :normal from Vim9 script can't handle range.
12938Solution: Execute a :normal command in legacy script context. (closes #7401)
12939Files: src/structs.h, src/ex_docmd.c, src/testdir/test_vim9_script.vim
12940
12941Patch 8.2.2075
12942Problem: Error for const argument to mapnew().
12943Solution: Don't give an error. (closes #7400)
12944Files: src/list.c, src/testdir/test_filter_map.vim
12945
12946Patch 8.2.2076
12947Problem: MS-Windows console: sometimes drops typed characters.
12948Solution: Do not wait longer than 10 msec for input. (issue #7164)
12949Files: src/os_win32.c
12950
12951Patch 8.2.2077
12952Problem: Build failure with small features.
12953Solution: Add #ifdef.
12954Files: src/structs.h, src/ex_docmd.c
12955
12956Patch 8.2.2078
12957Problem: Illegal memory access when using :print on invalid text. (Dhiraj
12958 Mishra)
12959Solution: Check for more composing characters than supported. (closes #7399)
12960Files: src/message.c, src/testdir/test_utf8.vim
12961
12962Patch 8.2.2079
12963Problem: Vim9: cannot put a linebreak before or after "in" of ":for".
12964Solution: Skip over linebreak.
12965Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
12966
12967Patch 8.2.2080
12968Problem: Vim9: no proper error message for using s:var in for loop.
12969Solution: Give a specific error.
12970Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
12971
12972Patch 8.2.2081
12973Problem: Vim9: cannot handle a linebreak after "=" in assignment.
12974Solution: Skip over linebreak. (closes #7407)
12975Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
12976 src/testdir/test_vim9_expr.vim
12977
12978Patch 8.2.2082
Bram Moolenaar1588bc82022-03-08 21:35:07 +000012979Problem: Vim9: can still use the deprecated #{} dict syntax.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000012980Solution: Remove support for #{} in Vim9 script. (closes #7406, closes #7405)
12981Files: src/dict.c, src/proto/dict.pro, src/eval.c, src/vim9compile.c,
12982 src/testdir/test_vim9_assign.vim,
12983 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
12984 src/testdir/test_vim9_disassemble.vim,
12985 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
12986 src/testdir/test_vim9_script.vim, src/testdir/test_popupwin.vim,
12987 src/testdir/test_textprop.vim
12988
12989Patch 8.2.2083
12990Problem: Vim9: crash when using ":silent!" and getting member fails.
12991Solution: Jump to on_fatal_error. (closes #7412)
12992Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
12993
12994Patch 8.2.2084
12995Problem: CTRL-V U doesn't work to enter a Unicode character when
12996 modifyOtherKeys is effective. (Ken Takata)
12997Solution: Add a flag to get_literal() for the shift key. (closes #7413)
12998Files: src/edit.c, src/proto/edit.pro, src/ex_getln.c, src/getchar.c,
12999 src/normal.c, src/testdir/test_termcodes.vim
13000
13001Patch 8.2.2085
13002Problem: Qt translation file is recognized as typescript.
13003Solution: Check the first line for "<?xml". (closes #7418)
13004Files: runtime/filetype.vim, src/testdir/test_filetype.vim
13005
13006Patch 8.2.2086
13007Problem: Libvterm tests are only run on Linux.
13008Solution: Use static libraries. (Ozaki Kiichi, closes #7419)
13009Files: .travis.yml, src/Makefile, src/libvterm/Makefile,
13010 src/libvterm/t/run-test.pl
13011
13012Patch 8.2.2087
13013Problem: Vim9: memory leak when statement is truncated.
13014Solution: Increment the number of local variables.
13015Files: src/vim9compile.c
13016
13017Patch 8.2.2088
13018Problem: Vim9: script test sometimes fails.
13019Solution: Unlet variables.
13020Files: src/testdir/test_vim9_script.vim
13021
13022Patch 8.2.2089
13023Problem: Libvterm test fails to build on Mac.
13024Solution: Adjust configure to remove a space between -L and the path that
13025 follows.
13026Files: src/configure.ac, src/auto/configure
13027
13028Patch 8.2.2090
13029Problem: Vim9: dict does not accept a key in quotes.
13030Solution: Recognize a key in single or double quotes.
13031Files: runtime/doc/vim9.txt, src/dict.c, src/proto/dict.pro,
13032 src/vim9compile.c, src/testdir/test_vim9_expr.vim
13033
13034Patch 8.2.2091
13035Problem: MS-Windows: build warnings.
13036Solution: Add a #pragma to suppress the deprecation warning. (Ken Takata)
13037 Avoid using a non-ASCII character. (closes #7421)
13038Files: src/message.c, src/os_win32.c
13039
13040Patch 8.2.2092
13041Problem: Vim9: unpredictable errors for script tests.
13042Solution: Use a different script file name for each run.
13043Files: src/testdir/vim9.vim, src/testdir/test_vim9_script.vim,
13044 src/testdir/test_vim9_func.vim, src/testdir/test_quickfix.vim,
13045 src/testdir/test_vim9_assign.vim
13046
13047Patch 8.2.2093
13048Problem: Vim9: script test sometimes fails.
13049Solution: Do not find a script variable by its typval if the name was
13050 cleared.
13051Files: src/vim9script.c
13052
13053Patch 8.2.2094
13054Problem: When an expression fails getting the next command may be wrong.
13055Solution: Do not check for a next command after :eval fails. (closes #7415)
13056Files: src/eval.c, src/testdir/test_vim9_cmd.vim
13057
13058Patch 8.2.2095
13059Problem: Vim9: crash when failed dict member is followed by concatenation.
13060Solution: Remove the dict from the stack. (closes #7416)
13061Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
13062
13063Patch 8.2.2096
13064Problem: Vim9: command modifiers not restored after assignment.
13065Solution: Jump to nextline instead of using continue.
13066Files: src/vim9compile.c, src/vim9execute.c,
13067 src/testdir/test_vim9_func.vim
13068
13069Patch 8.2.2097
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013070Problem: Vim9: using :silent! when calling a function prevents aborting
13071 that function.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013072Solution: Add emsg_silent_def and did_emsg_def.
13073Files: src/globals.h, src/message.c, src/vim9execute.c,
13074 src/testdir/test_vim9_func.vim
13075
13076Patch 8.2.2098
13077Problem: Vim9: function argument of sort() and map() not tested.
13078Solution: Add a couple of tests.
13079Files: src/testdir/test_vim9_builtin.vim
13080
13081Patch 8.2.2099
13082Problem: Vim9: some checks are not tested.
13083Solution: Add a few more tests. Give better error messages.
13084Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
13085 src/testdir/test_vim9_expr.vim
13086
13087Patch 8.2.2100
13088Problem: Insufficient testing for function range and dict.
13089Solution: Add a few tests. (Dominique Pellé, closes #7428)
13090Files: src/testdir/test_functions.vim, src/testdir/test_lambda.vim,
13091 src/testdir/test_signals.vim, src/testdir/test_user_func.vim
13092
13093Patch 8.2.2101
13094Problem: Vim9: memory leak when literal dict has an error and when an
13095 expression is not complete.
13096Solution: Clear the typval and the growarray.
13097Files: src/dict.c, src/vim9compile.c
13098
13099Patch 8.2.2102
13100Problem: Vim9: not all error messages tested.
13101Solution: Add a few test cases.
13102Files: src/testdir/test_vim9_func.vim
13103
13104Patch 8.2.2103
13105Problem: Vim9: unreachable code.
13106Solution: Remove the code to prepend s: to the variable name
13107Files: src/vim9compile.c
13108
13109Patch 8.2.2104
13110Problem: Build problem with Ruby 2.7.
13111Solution: Adjust function declarations. (Ozaki Kiichi, closes #7430)
13112Files: src/configure.ac, src/auto/configure, src/if_ruby.c
13113
13114Patch 8.2.2105
13115Problem: Sound test is a bit flaky.
13116Solution: Use WaitForAssert(). (Dominique Pellé, closes #7429)
13117Files: src/testdir/test_sound.vim
13118
13119Patch 8.2.2106
13120Problem: TOML files are not recognized.
13121Solution: Match *.toml. (issue #7432)
13122Files: runtime/filetype.vim, src/testdir/test_filetype.vim
13123
13124Patch 8.2.2107
13125Problem: Vim9: some errors not tested.
13126Solution: Add tests. Fix getting the right error.
13127Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
13128 src/testdir/test_vim9_expr.vim
13129
13130Patch 8.2.2108
13131Problem: Vim9: no test to check for :let error.
13132Solution: Add a test. Rename tests from _let_ to _var_.
13133Files: src/testdir/test_vim9_assign.vim
13134
13135Patch 8.2.2109
13136Problem: "vim -" does not work well when modifyOtherKeys is enabled and a
13137 shell command is executed on startup.
13138Solution: Only change modifyOtherKeys when executing a shell command in raw
13139 mode.
13140Files: src/os_unix.c
13141
13142Patch 8.2.2110
13143Problem: Cannot use ":shell" when reading from stdin. (Gary Johnson)
13144Solution: Revert patch 8.2.1833.
13145Files: src/main.c
13146
13147Patch 8.2.2111
13148Problem: GTK: Menu background is the same color as the main window.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013149Solution: Fix white space around the text in another way. (closes #7437,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013150 closes #7427)
13151Files: src/gui_gtk_x11.c
13152
13153Patch 8.2.2112
13154Problem: Running tests may leave some files behind.
13155Solution: Delete the right files. Fix a few typos. (Dominique Pellé,
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013156 closes #7436)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013157Files: src/testdir/test_filetype.vim, src/testdir/test_messages.vim,
13158 src/testdir/test_mksession.vim
13159
13160Patch 8.2.2113
13161Problem: MS-Windows GUI: crash after using ":set guifont=" four times.
13162Solution: Check for NULL pointer. (Ken Takata, closes #7434)
13163Files: src/gui_dwrite.cpp, src/testdir/test_gui.vim
13164
13165Patch 8.2.2114
13166Problem: Vim9: unreachable code in assignment.
13167Solution: Remove impossible condition and code.
13168Files: src/vim9compile.c
13169
13170Patch 8.2.2115
13171Problem: Vim9: some errors not tested for; dead code.
13172Solution: Add a test. Remove dead code.
13173Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
13174
13175Patch 8.2.2116
13176Problem: MS-Windows GUI: test for 'guifont' is incomplete.
13177Solution: Set 'renderoptions'. (Christian Brabandt)
13178Files: src/testdir/test_gui.vim
13179
13180Patch 8.2.2117
13181Problem: Some functions use any value as a string.
13182Solution: Check that the value is a non-empty string.
13183Files: src/typval.c, src/proto/typval.pro, src/mbyte.c, src/filepath.c,
13184 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim
13185
13186Patch 8.2.2118
13187Problem: Dead code in the job support. (Dominique Pellé)
13188Solution: Define USE_ARGV before checking for it.
13189Files: src/job.c
13190
13191Patch 8.2.2119
13192Problem: GTK3: status line background color is wrong.
13193Solution: Don't change the code for earlier GTK3 versions. (closes #7444)
13194Files: src/gui_gtk_x11.c
13195
13196Patch 8.2.2120
13197Problem: Not all Perl functionality is tested.
13198Solution: Add a few more test cases. (Dominique Pellé, closes #7440)
13199Files: src/testdir/test_perl.vim
13200
13201Patch 8.2.2121
13202Problem: Internal error when using \ze before \zs in a pattern.
13203Solution: Check the end is never before the start. (closes #7442)
13204Files: src/regexp_bt.c, src/regexp_nfa.c,
13205 src/testdir/test_regexp_latin.vim
13206
13207Patch 8.2.2122
13208Problem: Vim9: crash when sourcing vim9script early.
13209Solution: Use set_option_value() instead of setting p_cpo directly.
13210 (closes #7441)
13211Files: src/scriptfile.c, src/testdir/test_vim9_script.vim
13212
13213Patch 8.2.2123
13214Problem: After using a complete popup the buffer is listed. (Boris
13215 Staletic)
13216Solution: Make the buffer unlisted.
13217Files: src/popupmenu.c, src/testdir/test_popupwin.vim
13218
13219Patch 8.2.2124
13220Problem: Vim9: a range cannot be computed at runtime.
13221Solution: Add the ISN_RANGE instruction.
13222Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
13223 src/testdir/test_vim9_script.vim,
13224 src/testdir/test_vim9_disassemble.vim
13225
13226Patch 8.2.2125 (after 8.2.2122)
13227Problem: Vim9: leaking memory.
13228Solution: Free the saved 'cpo' value.
13229Files: src/scriptfile.c
13230
13231Patch 8.2.2126
13232Problem: Ruby: missing function prototype.
13233Solution: Add the prototype.
13234Files: src/if_ruby.c
13235
13236Patch 8.2.2127
13237Problem: Vim9: executing user command defined in Vim9 script not tested.
13238Solution: Add a test.
13239Files: src/testdir/test_vim9_script.vim
13240
13241Patch 8.2.2128
13242Problem: There is no way to do something on CTRL-Z.
13243Solution: Add VimSuspend and VimResume autocommand events. (closes #7450)
13244Files: runtime/doc/autocmd.txt, src/autocmd.c, src/ex_docmd.c,
13245 src/normal.c, src/testdir/test_suspend.vim, src/vim.h
13246
13247Patch 8.2.2129
13248Problem: MS-Windows: Checking if a file name is absolute is slow.
13249Solution: Do not use mch_FullName(). (closes #7033)
13250Files: src/os_mswin.c
13251
13252Patch 8.2.2130
13253Problem: Insert mode completion messages end up in message history.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013254Solution: Set msg_hist_off. (closes #7452)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013255Files: src/insexpand.c, src/testdir/test_ins_complete.vim
13256
13257Patch 8.2.2131
13258Problem: Vim9: crash when lambda uses same var as assignment.
13259Solution: Do not let lookup_local change lv_from_outer, make a copy.
13260 (closes #7461)
13261Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
13262 src/evalvars.c, src/proto/evalvars.pro,
13263 src/testdir/test_vim9_func.vim
13264
13265Patch 8.2.2132
13266Problem: Padding not drawn properly for popup window with title.
13267Solution: Draw the padding below the title. (closes #7460)
13268Files: src/popupwin.c, src/testdir/test_popupwin.vim,
13269 src/testdir/dumps/Test_popupwin_longtitle_3.dump,
13270 src/testdir/dumps/Test_popupwin_longtitle_4.dump
13271
13272Patch 8.2.2133
13273Problem: Vim9: checking for a non-empty string is too strict.
13274Solution: Check for any string. (closes #7447)
13275Files: src/typval.c, src/proto/typval.pro, src/errors.h, src/filepath.c,
13276 src/testdir/test_vim9_builtin.vim
13277
13278Patch 8.2.2134
13279Problem: Vim9: get E1099 when autocmd triggered in builtin function.
13280Solution: Check that did_emsg increased instead of checking that it changed.
13281 (closes #7448)
13282Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
13283
13284Patch 8.2.2135
13285Problem: Vim9: #{ still seen as start of dict in some places.
13286Solution: Remove check for { after #. (closes #7456)
13287Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
13288
13289Patch 8.2.2136
13290Problem: Vim9: Using uninitialized variable.
13291Solution: Initialize "len" to zero. Clean up fnamemodify().
13292Files: src/filepath.c
13293
13294Patch 8.2.2137
13295Problem: Vim9: :echo and :execute give error for empty argument.
13296Solution: Ignore an empty argument. (closes #7468)
13297Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_script.vim,
13298 src/testdir/test_vim9_disassemble.vim
13299
13300Patch 8.2.2138
13301Problem: Vim9: "exit_cb" causes Vim to exit.
13302Solution: Require white space after a command in Vim9 script. (closes #7467)
13303 Also fix that Vim9 style heredoc was not always recognized.
13304Files: src/ex_cmds.h, src/ex_docmd.c, src/errors.h, src/userfunc.c,
13305 src/testdir/test_vim9_assign.vim,
13306 src/testdir/test_vim9_script.vim, src/testdir/test_let.vim
13307
13308Patch 8.2.2139
13309Problem: Vim9: unreachable code in assignment.
13310Solution: Don't check "new_local" when "has_index" is set. Add test for
13311 wrong type of list index.
13312Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
13313
13314Patch 8.2.2140
13315Problem: Build failure with tiny features.
13316Solution: Add #ifdef.
13317Files: src/ex_docmd.c
13318
13319Patch 8.2.2141
13320Problem: A user command with try/catch may not catch an expression error.
13321Solution: When an expression fails check for following "|". (closes #7469)
13322Files: src/eval.c, src/testdir/test_trycatch.vim,
13323 src/testdir/test_vimscript.vim
13324
13325Patch 8.2.2142
13326Problem: Memory leak when heredoc is not terminated.
13327Solution: Free heredoc_trimmed.
13328Files: src/userfunc.c
13329
13330Patch 8.2.2143
13331Problem: Vim9: dead code in compiling :unlet.
13332Solution: Don't check for "!" a second time.
13333Files: src/vim9compile.c
13334
13335Patch 8.2.2144
13336Problem: Vim9: some corner cases not tested.
13337Solution: Add a few tests.
13338Files: src/testdir/test_vim9_script.vim, src/testdir/test_vim9_cmd.vim
13339
13340Patch 8.2.2145
13341Problem: Vim9: concatenating lists does not adjust type of result.
13342Solution: When list member types differ use "any" member type.
13343 (closes #7473)
13344Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
13345
13346Patch 8.2.2146
13347Problem: Vim9: automatic conversion of number to string for dict key.
13348Solution: Do not convert number to string. (closes #7474)
13349Files: src/dict.c, src/testdir/test_vim9_expr.vim
13350
13351Patch 8.2.2147
13352Problem: Quickfix window title not updated in all tab pages.
13353Solution: Update the quickfix window title in all tab pages. (Yegappan
13354 Lakshmanan, closes #7481, closes #7466)
13355Files: src/quickfix.c, src/testdir/test_quickfix.vim
13356
13357Patch 8.2.2148
13358Problem: Vim9: crash when user command doesn't match.
13359Solution: Adjust command index. (closes #7479)
13360Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
13361
13362Patch 8.2.2149
13363Problem: Popupwin test for latin1 sometimes fails.
13364Solution: Wait for the script to finish.
13365Files: src/testdir/test_popupwin.vim
13366
13367Patch 8.2.2150
13368Problem: Github actions CI isn't used for all available platforms.
13369Solution: Update the github workflows. (Ozaki Kiichi, closes #7433)
13370Files: .coveralls.yml, .github/workflows/ci-windows.yaml,
13371 .github/workflows/ci.yml, .travis.yml, README.md,
13372 ci/build-snd-dummy.sh, ci/setup-xvfb.sh
13373
13374Patch 8.2.2151
13375Problem: $dir not expanded when configure checks for moonjit.
13376Solution: Use double quotes instead of single quotes. (closes #7478)
13377Files: src/configure.ac, src/auto/configure
13378
13379Patch 8.2.2152
13380Problem: screenpos() does not include the WinBar offset.
13381Solution: Use W_WINROW() instead of directly using w_window. (closes #7487)
13382Files: src/move.c, src/testdir/test_cursor_func.vim
13383
13384Patch 8.2.2153
13385Problem: Popupwin test for latin1 still fails sometimes.
13386Solution: Wait for the "cat" command to finish.
13387Files: src/testdir/test_popupwin.vim
13388
13389Patch 8.2.2154
13390Problem: Popupwin test for terminal buffer fails sometimes.
13391Solution: Wait for the prompt to appear.
13392Files: src/testdir/test_popupwin.vim
13393
13394Patch 8.2.2155
13395Problem: Warning from Github actions for code analysis.
13396Solution: Remove the "git checkout HEAD^2" block.
13397Files: .github/workflows/codeql-analysis.yml
13398
13399Patch 8.2.2156
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013400Problem: Github actions run on pushing a tag.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013401Solution: Don't run CI on tag push. Omit coveralls on pull-request.
13402 (Ozaki Kiichi, closes #7489)
13403Files: .github/workflows/ci.yml, .github/workflows/codeql-analysis.yml
13404
13405Patch 8.2.2157
13406Problem: Vim9: can delete a Vim9 script variable from a function.
13407Solution: Check the variable is defined in Vim9 script. (closes #7483)
13408Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
13409
13410Patch 8.2.2158
13411Problem: CI on cirrus times out, coveralls doesn't always run.
13412Solution: Set timeout to 20 minutes. Adjust condition. (closes #7493)
13413Files: .cirrus.yml, .github/workflows/ci.yml
13414
13415Patch 8.2.2159
13416Problem: Vim9: when declaring a list it is not allocated yet, causing a
13417 following extend() to fail.
13418Solution: When fetching a variable value for a list or dict that is null
13419 allocate the list or dict, so it can be used. (closes #7491)
13420Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
13421
13422Patch 8.2.2160
13423Problem: Various typos.
13424Solution: Fix spelling mistakes. (closes #7494)
13425Files: src/bufwrite.c, src/cindent.c, src/cmdexpand.c, src/eval.c,
13426 src/ex_cmds.c, src/feature.h, src/getchar.c, src/gui_haiku.cc,
13427 src/gui_xmdlg.c, src/help.c, src/if_ole.cpp, src/insexpand.c,
13428 src/list.c, src/map.c, src/memline.c, src/normal.c,
13429 src/os_win32.c, src/search.c, src/term.c,
13430 src/testdir/test_arglist.vim, src/testdir/test_autocmd.vim,
13431 src/testdir/test_debugger.vim, src/testdir/test_increment.vim,
13432 src/testdir/test_menu.vim, src/testdir/test_netbeans.vim,
13433 src/testdir/test_popupwin.vim, src/testdir/test_python2.vim,
13434 src/testdir/test_python3.vim, src/testdir/test_sort.vim,
13435 src/testdir/test_terminal2.vim, src/testdir/test_terminal3.vim,
13436 src/testdir/test_vartabs.vim, src/testdir/test_vimscript.vim,
13437 src/textprop.c, src/userfunc.c, src/vim9.h, src/vim9compile.c,
13438 src/vim9execute.c
13439
13440Patch 8.2.2161
13441Problem: Arguments -T and -x not tested yet.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013442Solution: Add a test. (Dominique Pellé, closes #7490)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013443Files: src/testdir/test_startup.vim
13444
13445Patch 8.2.2162
13446Problem: Vim9: Cannot load or store autoload variables.
13447Solution: Add ISN_LOADAUTO and ISN_STOREAUTO. (closes #7485)
13448Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/dict.c,
13449 src/eval.c, src/evalvars.c, src/proto/evalvars.pro,
13450 src/testdir/test_vim9_disassemble.vim,
13451 src/testdir/test_vim9_script.vim
13452
13453Patch 8.2.2163
13454Problem: Crash when discarded exception is the current exception.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013455Solution: Compare the exception with current_exception. (closes #7499)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013456Files: src/ex_eval.c
13457
13458Patch 8.2.2164
13459Problem: Vim9: autoload function doesn't work in script that starts with
13460 an upper case letter.
13461Solution: Check for the autoload character. (closes #7502)
13462Files: src/userfunc.c, src/testdir/test_vim9_script.vim
13463
13464Patch 8.2.2165
13465Problem: Vim9: assignment to dict member does not work.
13466Solution: Fix recognizing dict member. (closes #7484)
13467Files: src/ex_docmd.c, src/eval.c, src/evalvars.c, src/vim.h
13468
13469Patch 8.2.2166
13470Problem: Auto format doesn't work when deleting text.
13471Solution: Make "x" trigger auto format. (closes #7504)
13472Files: src/ops.c, src/testdir/test_textformat.vim
13473
13474Patch 8.2.2167
13475Problem: Vim9: assign test fails. (Elimar Riesebieter)
13476Solution: Adjust the test for dict assignment.
13477Files: src/testdir/test_vim9_assign.vim
13478
13479Patch 8.2.2168
13480Problem: Vim9: error for assigning to dict of dict.
13481Solution: Remember the destination type. (closes #7506)
13482Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
13483
13484Patch 8.2.2169
13485Problem: Vim9: test leaves file behind.
13486Solution: Rename script files. (Dominique Pellé, closes #7511)
13487 Use try/finally.
13488Files: src/testdir/test_vim9_script.vim, src/testdir/vim9.vim
13489
13490Patch 8.2.2170
13491Problem: Vim9: a global function defined in a :def function fails if it
13492 uses the context.
13493Solution: Create a partial to store the closure context. (see #7410)
13494Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9execute.c,
13495 src/structs.h, src/testdir/test_vim9_func.vim
13496
13497Patch 8.2.2171
13498Problem: Valgrind warning for using uninitialized value.
13499Solution: Do not use "startp" or "endp" unless there is a match.
13500Files: src/regexp_nfa.c
13501
13502Patch 8.2.2172
13503Problem: Vim9: number of arguments is not always checked. (Yegappan
13504 Lakshmanan)
13505Solution: Check number of arguments when calling function by name.
13506Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9execute.c,
13507 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
13508
13509Patch 8.2.2173
13510Problem: Vim9: get internal error when assigning to undefined variable.
13511Solution: Add error message. (closes #7475)
13512Files: src/vim9compile.c, src/vim9execute.c, src/errors.h,
13513 src/testdir/test_vim9_cmd.vim
13514
13515Patch 8.2.2174
13516Problem: Mac version doesn't specify the CPU architecture.
13517Solution: Add "arm64" or "x86_64". (Yee Cheng Chin, closes #7519)
13518Files: src/version.c
13519
13520Patch 8.2.2175
13521Problem: Github actions: clang-11 handling suboptimal.
13522Solution: Separate step of installing clang-11. Get ubuntu release name
13523 dynamically. (Ozaki Kiichi, closes #7514)
13524Files: .github/workflows/ci.yml
13525
13526Patch 8.2.2176
13527Problem: Crash with a sequence of fold commands.
13528Solution: Bail out when there are no folds at all. Add a test (Dominique
13529 Pellé) (closes #7515)
13530Files: src/fold.c, src/testdir/test_fold.vim
13531
13532Patch 8.2.2177
13533Problem: Pattern "^" does not match if the first character in the line is
13534 combining. (Rene Kita)
13535Solution: Do accept a match at the start of the line. (closes #6963)
13536Files: src/regexp_nfa.c, src/testdir/test_regexp_utf8.vim
13537
13538Patch 8.2.2178
13539Problem: Python 3: non-utf8 character cannot be handled.
13540Solution: Change the string decode. (Björn Linse, closes #1053)
13541Files: src/if_py_both.h, src/if_python.c, src/if_python3.c,
13542 src/testdir/test_python3.vim, src/testdir/test_python2.vim
13543
13544Patch 8.2.2179
13545Problem: Vim9: crash when indexing a dict with a number.
13546Solution: Add ISN_STOREINDEX. (closes #7513)
13547Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
13548 src/errors.h, src/testdir/test_vim9_assign.vim,
13549 src/testdir/test_vim9_disassemble.vim
13550
13551Patch 8.2.2180
13552Problem: Vim9: test for error after error is flaky.
13553Solution: Wait for job to finish instead of a fixed delay.
13554Files: src/testdir/test_vim9_script.vim
13555
13556Patch 8.2.2181
13557Problem: Valgrind warnings for using uninitialized value.
13558Solution: Do not use "start" or "end" unless there is a match.
13559Files: src/regexp_nfa.c, src/regexp_bt.c
13560
13561Patch 8.2.2182
13562Problem: Vim9: value of 'magic' is still relevant.
13563Solution: Always behave like 'magic' is on in Vim9 script (closes #7509)
13564Files: src/option.c, src/proto/option.pro, src/arglist.c, src/buffer.c,
13565 src/cmdexpand.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c,
13566 src/insexpand.c, src/normal.c, src/search.c, src/tag.c,
13567 src/structs.h, src/globals.h, src/ex_cmds.h,
13568 src/testdir/test_vim9_cmd.vim
13569
13570Patch 8.2.2183
13571Problem: Vim9: value of 'edcompatible' and 'gdefault' are used.
13572Solution: Ignore these deprecated options in Vim9 script. (closes #7508)
13573Files: src/ex_cmds.c, src/testdir/test_vim9_cmd.vim
13574
13575Patch 8.2.2184
13576Problem: Vim9: no error when using "2" for a line number.
13577Solution: Give an error message if the line number is invalid. (closes #7492)
13578Files: src/typval.c, src/evalfunc.c, src/testdir/test_vim9_builtin.vim,
13579 src/testdir/test_cursor_func.vim
13580
13581Patch 8.2.2185
13582Problem: BufUnload is not triggered for the quickfix dummy buffer.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013583Solution: Do trigger BufUnload. (Pontus Leitzler, closes #7518, closes #7517)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013584 Fix white space around "=".
13585Files: src/quickfix.c, src/testdir/test_autocmd.vim
13586
13587Patch 8.2.2186
13588Problem: Vim9: error when using 'opfunc'.
13589Solution: Do not expect a return value from 'opfunc'. (closes #7510)
13590Files: src/eval.c, src/proto/eval.pro, src/ops.c,
13591 src/testdir/test_vim9_func.vim
13592
13593Patch 8.2.2187
13594Problem: Python 3 test fails sometimes. (Christian Brabandt)
13595Solution: Accept two SystemError messages.
13596Files: src/testdir/test_python3.vim
13597
13598Patch 8.2.2188
13599Problem: Vim9: crash when calling global function from :def function.
13600Solution: Set the outer context. Define the partial for the context on the
13601 original function. Use a refcount to keep track of which ufunc is
13602 using a dfunc. (closes #7525)
13603Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9execute.c,
13604 src/proto/vim9execute.pro, src/userfunc.c, src/proto/userfunc.pro,
13605 src/structs.h, src/vim9.h, src/testdir/test_vim9_func.vim
13606
13607Patch 8.2.2189
13608Problem: Cannot repeat a command that uses the small delete register.
13609Solution: Store the register name instead of the contents. (Christian
13610 Brabandt, closes #7527)
13611Files: src/ops.c, src/register.c, src/testdir/test_registers.vim
13612
13613Patch 8.2.2190
13614Problem: Vim9: crash when compiled with EXITFREE.
13615Solution: Check that df_ufunc is not NULL.
13616Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
13617
13618Patch 8.2.2191
13619Problem: Vim9: using wrong name with lambda in nested function.
13620Solution: Copy the lambda name earlier. (closes #7525)
13621Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
13622
13623Patch 8.2.2192
13624Problem: Codecov on github actions fails.
13625Solution: Revert to codecov script. (Ozaki Kiichi, closes #7529)
13626Files: Filelist, .github/workflows/ci.yml
13627
13628Patch 8.2.2193
13629Problem: Vim9: can change constant in :def function.
13630Solution: Check if a variable is locked. (issue #7526)
13631Files: src/evalvars.c, src/proto/evalvars.pro, src/vim9execute.c,
13632 src/testdir/test_vim9_func.vim
13633
13634Patch 8.2.2194
13635Problem: Vim9: cannot use :const or :final at the script level.
13636Solution: Support using :const and :final. (closes #7526)
13637Files: src/vim.h, src/evalvars.c, src/testdir/test_vim9_assign.vim,
13638 src/testdir/test_vim9_func.vim
13639
13640Patch 8.2.2195
13641Problem: Failing tests for :const.
13642Solution: Add missing check for ASSIGN_FINAL.
13643Files: src/eval.c, src/evalvars.c, src/testdir/test_vim9_func.vim
13644
13645Patch 8.2.2196
13646Problem: :version output has extra spaces in compile and link command.
13647Solution: Adjust QUOTESED. (closes #7505)
13648Files: src/configure.ac, src/auto/configure
13649
13650Patch 8.2.2197
13651Problem: Assert arguments order reversed.
13652Solution: Swap the arguments. (Christian Brabandt, closes #7531)
13653Files: src/testdir/test_registers.vim
13654
13655Patch 8.2.2198
13656Problem: ml_get error when resizing window and using text property.
13657Solution: Validate botline of the right window. (closes #7528)
13658Files: src/move.c, src/proto/move.pro, src/textprop.c,
13659 src/testdir/test_textprop.vim
13660
13661Patch 8.2.2199
13662Problem: First write after setting 'eol' does not have NL added. (Tomáš
13663 Janoušek)
13664Solution: Only use b_no_eol_lnum when doing a binary write. (closes #7535)
13665Files: src/bufwrite.c, src/testdir/test_writefile.vim
13666
13667Patch 8.2.2200
13668Problem: Vim9: lambda without white space around -> is confusing.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013669Solution: Require white space in a :def function. (issue #7503)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013670Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
13671 src/testdir/test_vim9_disassemble.vim
13672
13673Patch 8.2.2201
13674Problem: Write file test fails on MS-Windows.
13675Solution: Force edit after setting 'fileformat'.
13676Files: src/testdir/test_writefile.vim
13677
13678Patch 8.2.2202
13679Problem: Write file test still fails on MS-Windows.
13680Solution: Set fileformat with the :edit command
13681Files: src/testdir/test_writefile.vim
13682
13683Patch 8.2.2203
13684Problem: Moodle gift files are not recognized.
13685Solution: Add a filetype pattern. (Delim Temizer)
13686Files: runtime/filetype.vim, src/testdir/test_filetype.vim
13687
13688Patch 8.2.2204
13689Problem: Vim9: using -> both for method and lambda is confusing.
13690Solution: Use => for lambda in :def function.
13691Files: runtime/doc/vim9.txt, src/vim9compile.c, src/userfunc.c,
13692 src/testdir/test_vim9_expr.vim
13693
13694Patch 8.2.2205
13695Problem: Vim9: memory leak when parsing lambda fails.
13696Solution: Clear growarrays.
13697Files: src/userfunc.c
13698
13699Patch 8.2.2206
13700Problem: :exe command line completion only works for first argument.
13701Solution: Skip over text if more is following. (closes #7546)
13702Files: src/eval.c, src/testdir/test_cmdline.vim
13703
13704Patch 8.2.2207
13705Problem: Illegal memory access if popup menu items are changed while the
13706 menu is visible. (Tomáš Janoušek)
13707Solution: Make a copy of the text. (closes #7537)
13708Files: src/popupmenu.c, src/testdir/test_popup.vim,
13709 src/testdir/dumps/Test_popup_command_04.dump,
13710 src/testdir/dumps/Test_popup_command_05.dump
13711
13712Patch 8.2.2208
13713Problem: Vim9: after reloading a script variable index may be invalid.
13714Solution: When the sequence number doesn't match give an error for using a
13715 script-local variable from a compiled function. (closes #7547)
13716Files: src/vim9.h, src/structs.h, src/errors.h, src/vim9compile.c,
13717 src/vim9execute.c, src/scriptfile.c,
13718 src/testdir/test_vim9_script.vim
13719
13720Patch 8.2.2209
13721Problem: Vim9: return type of => lambda not parsed.
13722Solution: Parse and use the return type.
13723Files: src/vim9compile.c, src/userfunc.c, src/vim9type.c,
Bram Moolenaar47c532e2022-03-19 15:18:53 +000013724 src/proto/vim9type.pro, src/vim9script.c, src/eval.c,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013725 src/testdir/test_vim9_expr.vim
13726
13727Patch 8.2.2210
13728Problem: Vim9: allocating a type to set TTFLAG_BOOL_OK.
13729Solution: Add t_number_bool.
13730Files: src/globals.h, src/vim9type.c, src/vim9compile.c
13731
13732Patch 8.2.2211
13733Problem: MS-Windows: can't load Python dll if not in the path.
13734Solution: Use the InstallPath registry entry. (Kelvin Lee, closes #7540)
13735Files: src/if_python3.c
13736
13737Patch 8.2.2212
13738Problem: Vim9: lambda with => does not work at the script level.
13739Solution: Make it work.
13740Files: src/eval.c, src/vim9type.c, src/userfunc.c,
13741 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_expr.vim
13742
13743Patch 8.2.2213
13744Problem: Checking white space around -> is not backwards compatible.
13745Solution: Only check white space around =>.
13746Files: src/userfunc.c
13747
13748Patch 8.2.2214
13749Problem: ":e#" does not give a warning for missing white space.
13750Solution: Adjust the check for white space. (closes #7545)
13751Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
13752
13753Patch 8.2.2215
13754Problem: Vim9: `=expr` not recognized in global command.
13755Solution: Skip over pattern. (issue #7541)
13756Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
13757
13758Patch 8.2.2216
13759Problem: Vim9: range with missing colon can be hard to spot.
13760Solution: Include the start of the range in the error. (closes #7543)
13761Files: src/errors.h, src/ex_docmd.c, src/vim9compile.c,
13762 src/testdir/test_vim9_cmd.vim
13763
13764Patch 8.2.2217
13765Problem: Vim9: command modifiers not restored in catch block.
13766Solution: Restore command modifiers. (closes #7542)
13767Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
13768
13769Patch 8.2.2218
13770Problem: Vim9: failure if passing more arguments to a lambda than expected.
13771Solution: Only put expected arguments on the stack. (closes #7548)
13772Files: src/vim9execute.c, src/testdir/test_vim9_builtin.vim
13773
13774Patch 8.2.2219
13775Problem: Vim9: method call with expression not supported.
13776Solution: Implement expr->(expr)().
13777Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
13778
13779Patch 8.2.2220
13780Problem: Vim9: memory leak when parsing nested parenthesis.
13781Solution: Clear newargs.
13782Files: src/userfunc.c
13783
13784Patch 8.2.2221
13785Problem: If <Down> is mapped on the command line 'wildchar' is inserted.
13786Solution: Set KeyTyped when using 'wildchar'. (closes #7552)
13787Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
13788
13789Patch 8.2.2222
13790Problem: Vim9: cannot keep script variables when reloading.
13791Solution: Add the "noclear" argument to :vim9script.
13792Files: runtime/doc/vim9.txt, src/structs.h, src/scriptfile.c,
13793 src/vim9script.c, src/ex_cmds.h, src/ex_docmd.c,
13794 src/testdir/test_vim9_script.vim
13795
13796Patch 8.2.2223
13797Problem: Vim9: Reloading marks a :def function as deleted.
13798Solution: Clear the function contents but keep the index.
13799Files: runtime/doc/vim9.txt, src/vim9compile.c, src/userfunc.c,
13800 src/testdir/test_vim9_script.vim
13801
13802Patch 8.2.2224
13803Problem: Vim9: crash if script reloaded with different variable type.
13804Solution: Check the type when accessing the variable.
13805Files: src/vim9execute.c, src/vim9compile.c, src/vim9.h, src/vim9type.c,
13806 src/proto/vim9type.pro, src/errors.h, src/evalvars.c,
13807 src/vim9script.c, src/proto/vim9script.pro,
13808 src/testdir/test_vim9_script.vim
13809
13810Patch 8.2.2225
13811Problem: Vim9: error when using :import in legacy script twice.
13812Solution: Make it possible to redefine an import when reloading.
13813Files: src/vim9script.c, src/proto/vim9script.pro, src/structs.h,
13814 src/evalvars.c, src/vim9compile.c,
13815 src/testdir/test_vim9_script.vim
13816
13817Patch 8.2.2226
13818Problem: Vim9: script test fails.
13819Solution: Add missing change.
13820Files: src/scriptfile.c
13821
13822Patch 8.2.2227
13823Problem: Vim9: recognizing lambda is too complicated.
13824Solution: Call compile_lambda() and check for NOTDONE.
13825Files: src/vim9compile.c, src/userfunc.c, src/testdir/test_vim9_expr.vim
13826
13827Patch 8.2.2228
13828Problem: Vim9: cannot use ":e #" because # starts a comment.
13829Solution: Support using %% instead of #.
13830Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
13831
13832Patch 8.2.2229
13833Problem: build failure without the +eval feature.
13834Solution: Add #ifdef.
13835Files: src/ex_docmd.c
13836
13837Patch 8.2.2230
13838Problem: Vim9: insert completion runs into error.
13839Solution: Insert colon before range. (closes #7556)
13840Files: src/insexpand.c, src/testdir/test_vim9_cmd.vim
13841
13842Patch 8.2.2231
13843Problem: When "--remote file" is used "file" is not reloaded.
13844Solution: When a :drop command is used for a file that is already displayed
13845 in a window and it has not been changed, check if it needs to be
13846 reloaded. (closes #7560)
13847Files: src/ex_cmds.c, src/testdir/test_clientserver.vim
13848
13849Patch 8.2.2232
13850Problem: Compiler error for falling through into next case.
13851Solution: Move FALLTHROUGH below the #endif
13852Files: src/ex_docmd.c
13853
13854Patch 8.2.2233
13855Problem: Cannot convert a byte index into a character index.
13856Solution: Add charidx(). (Yegappan Lakshmanan, closes #7561)
13857Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
13858 src/testdir/test_functions.vim
13859
13860Patch 8.2.2234
13861Problem: Command line wildmenu test often fails with Unix GUI.
13862Solution: Skip the test where it is expected to fail.
13863Files: src/testdir/test_cmdline.vim
13864
13865Patch 8.2.2235
13866Problem: Build failure with some Ruby versions.
13867Solution: Adjust the code for Ruby 3.0. (Ozaki Kiichi, closes #7564)
13868Files: ci/config.mk.clang.sed, src/if_ruby.c
13869
13870Patch 8.2.2236
13871Problem: 'scroll' option can change when setting the statusline or tabline
13872 but the option context is not updated.
13873Solution: Update the script context when the scroll option is changed as a
13874 side effect. (Christian Brabandt, closes #7533)
13875Files: runtime/doc/options.txt, src/scriptfile.c,
13876 src/testdir/test_options.vim, src/vim.h, src/window.c
13877
13878Patch 8.2.2237
13879Problem: CI on Mac fails in sed command.
13880Solution: Set LC_ALL to "C". (Ozaki Kiichi, closes #7565)
13881Files: .github/workflows/ci.yml
13882
13883Patch 8.2.2238
13884Problem: Vim9: cannot load a Vim9 script without the +eval feature.
13885Solution: Support Vim9 script syntax without the +eval feature.
13886Files: src/ex_docmd.c, src/vim9script.c, src/globals.h, src/main.c,
13887 src/autocmd.c, src/buffer.c, src/structs.h, src/menu.c,
13888 src/scriptfile.c, src/usercmd.c, src/proto.h, src/errors.h
13889
13890Patch 8.2.2239
13891Problem: Vim9: concatenating lines with backslash is inconvenient.
13892Solution: Support concatenating lines starting with '|', useful for
13893 :autocmd, :command, etc. (closes #6702)
13894Files: runtime/doc/vim9.txt, src/scriptfile.c, src/vim9script.c,
13895 src/proto/vim9script.pro, src/vim9compile.c,
13896 src/proto/vim9compile.pro, src/userfunc.c, src/structs.h,
13897 src/testdir/test_vim9_cmd.vim
13898
13899Patch 8.2.2240
13900Problem: Clientserver test fails if full path is used.
13901Solution: Ignore the path preceding the file name.
13902Files: src/testdir/test_clientserver.vim
13903
13904Patch 8.2.2241
13905Problem: Build with Ruby and clang may fail.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013906Solution: Adjust configure and sed script. (Ozaki Kiichi, closes #7566)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013907Files: ci/config.mk.clang.sed, src/auto/configure, src/configure.ac
13908
13909Patch 8.2.2242
13910Problem: Vim9: line continuation with bar does not work at script level.
13911Solution: Check for Vim9 script.
13912Files: src/structs.h, src/ex_docmd.c, src/userfunc.c, src/scriptfile.c,
13913 src/testdir/test_vim9_cmd.vim
13914
13915Patch 8.2.2243
13916Problem: Crash when popup mask contains zeroes.
13917Solution: Check boundaries properly. (closes #7569)
13918Files: src/popupwin.c, src/testdir/test_popupwin.vim
13919
13920Patch 8.2.2244
13921Problem: Crash when making the window width of the not-current window
13922 negative.
13923Solution: Make sure the window width is not negative. (closes #7568)
13924Files: src/window.c, src/testdir/test_window_cmd.vim
13925
13926Patch 8.2.2245
13927Problem: Vim9: return value of winrestcmd() cannot be executed.
13928Solution: Put colons before each range. (closes #7571)
13929Files: src/evalwindow.c, src/testdir/test_vim9_builtin.vim
13930
13931Patch 8.2.2246
13932Problem: Cursor keys not recognized at the hit-Enter prompt after executing
13933 an external command.
13934Solution: Change the codes for the extra cursor keys. (closes #7562)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000013935 Tune the delays to avoid test flakiness.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013936Files: runtime/doc/term.txt, src/term.c, src/testdir/test_terminal3.vim
13937
13938Patch 8.2.2247
13939Problem: VMS: various smaller problems.
13940Solution: Fix VMS building and other problems. (Zoltan Arpadffy)
13941Files: src/term.c, src/gui_gtk_vms.h, src/os_vms_conf.h, src/gui_x11.c,
13942 src/Make_vms.mms, src/macros.h, src/gui.h, src/os_unix.h
13943
13944Patch 8.2.2248
13945Problem: ASAN error on exit with GUI.
13946Solution: Check the window still has lines. (Christian Brabandt,
13947 closes #7573)
13948Files: src/term.c
13949
13950Patch 8.2.2249
Bram Moolenaar47c532e2022-03-19 15:18:53 +000013951Problem: Termcodes test is flaky when used over ssh with X forwarding.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000013952Solution: Set 'mousetime' to a larger value. (Dominique Pellé, closes #7576,
13953 closes #7563)
13954Files: src/testdir/test_termcodes.vim
13955
13956Patch 8.2.2250
13957Problem: Vim9: sublist is ambiguous.
13958Solution: Require white space around the colon. (closes #7409)
13959Files: src/vim9compile.c, src/eval.c, src/testdir/test_vim9_expr.vim,
13960 src/testdir/test_vim9_disassemble.vim
13961
13962Patch 8.2.2251
13963Problem: Test failures in legacy script.
13964Solution: Check for Vim9 script.
13965Files: src/eval.c
13966
13967Patch 8.2.2252
13968Problem: Vim9: crash when using lambda without return type in dict.
13969Solution: Without a return type use t_unknown. (closes #7587)
13970Files: src/vim9type.c, src/vim9compile.c, src/testdir/test_vim9_expr.vim
13971
13972Patch 8.2.2253
13973Problem: Vim9: expr test fails.
13974Solution: Add missing assignment.
13975Files: src/userfunc.c
13976
13977Patch 8.2.2254
13978Problem: Vim9: bool option type is number.
13979Solution: Have get_option_value() return a different value for bool and
13980 number options. (closes #7583)
13981Files: src/option.h, src/option.c, src/proto/option.pro, src/evalvars.c,
13982 src/if_mzsch.c, src/if_ruby.c, src/spell.c, src/typval.c,
13983 src/vim9compile.c, src/testdir/test_vim9_assign.vim,
13984 src/testdir/test_vim9_cmd.vim
13985
13986Patch 8.2.2255 (after 8.2.2254)
13987Problem: Tcl test fails.
13988Solution: Change option handling.
13989Files: src/if_tcl.c
13990
13991Patch 8.2.2256
13992Problem: Vim9: cannot use function( after line break in :def function.
13993Solution: Check for "(" after "function". (closes #7581)
13994Files: src/userfunc.c, src/testdir/test_vim9_func.vim
13995
13996Patch 8.2.2257
13997Problem: Vim9: using -> for lambda is ambiguous.
13998Solution: Stop supporting ->, must use =>.
13999Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_assign.vim,
14000 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
14001 src/testdir/test_vim9_disassemble.vim,
14002 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
14003 src/testdir/test_vim9_script.vim
14004
14005Patch 8.2.2258
14006Problem: Not all OCaml related files are detected.
14007Solution: Update OCaml file type detection. (Markus Mottl, closes #7590)
14008Files: runtime/filetype.vim, src/testdir/test_filetype.vim
14009
14010Patch 8.2.2259
14011Problem: Test_Executable() fails when using chroot.
14012Solution: Ignore the difference between "sbin" and "bin".
14013Files: src/testdir/test_functions.vim
14014
14015Patch 8.2.2260
14016Problem: Window resize test fails in very wide terminal.
14017Solution: Resize using the 'columns' option. (Vladimir Lomov, closes #7592)
14018Files: src/testdir/test_window_cmd.vim
14019
14020Patch 8.2.2261
14021Problem: Vim9: boolean option gets string type.
14022Solution: Check for VAR_BOOL. (closes #7588)
14023Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14024
14025Patch 8.2.2262
14026Problem: Vim9: converting bool to string prefixes v:.
14027Solution: Do not use the v: prefix.
14028Files: src/evalvars.c, src/testdir/test_vim9_expr.vim,
14029 src/testdir/test_vim9_disassemble.vim
14030
14031Patch 8.2.2263
14032Problem: Vim9: compilation error with try-catch in skipped block.
14033Solution: Do not bail out when generate_instr() returns NULL. (closes #7584)
14034Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
14035
14036Patch 8.2.2264
14037Problem: Vim9: no error for mismatched :endfunc or :enddef.
14038Solution: Check for the mismatch. (issue #7582)
14039Files: src/errors.h, src/userfunc.c, src/testdir/test_vim9_func.vim
14040
14041Patch 8.2.2265
14042Problem: Error message for missing endfunc/enddef is last line.
14043Solution: Report the line where the function starts. (closes #7582)
14044Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14045
14046Patch 8.2.2266
14047Problem: Vim9: it can be hard to see where white space is missing.
14048Solution: Mention the text where the error was seen. (closes #7580)
14049Files: src/errors.h, src/eval.c, src/evalvars.c, src/userfunc.c,
14050 src/vim9compile.c, src/testdir/test_vim9_expr.vim
14051
14052Patch 8.2.2267
14053Problem: Vim9: cannot use unlet for a dict member.
14054Solution: Pass GLV_NO_DECL to get_lval(). (closes #7585)
14055Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
14056
14057Patch 8.2.2268
14058Problem: Vim9: list unpack seen as declaration.
14059Solution: Check for "var". (closes #7594)
14060Files: src/vim9compile.c, src/evalvars.c, src/eval.c, src/vim.h,
14061 src/vim9execute.c, src/testdir/test_vim9_assign.vim
14062
14063Patch 8.2.2269
14064Problem: Not all :hardcopy code covered by tests.
14065Solution: Test more combinations. (Dominique Pellé, closes #7595)
14066Files: src/testdir/test_hardcopy.vim
14067
14068Patch 8.2.2270
14069Problem: Warning for size_t to int conversion. (Randall W. Morris)
14070Solution: Add a type cast.
14071Files: src/vim9execute.c
14072
14073Patch 8.2.2271
14074Problem: ml_get error when changing hidden buffer in Python.
14075Solution: Block updating folds. (closes #7598)
14076Files: src/evalbuffer.c, src/testdir/test_python3.vim
14077
14078Patch 8.2.2272
14079Problem: Vim9: extend() can violate the type of a variable.
14080Solution: Add the type to the dictionary or list and check items against it.
14081 (closes #7593)
14082Files: src/structs.h, src/evalvars.c, src/dict.c, src/list.c,
14083 src/vim9script.c, src/proto/vim9script.pro, src/vim9compile.c,
14084 src/vim9execute.c, src/testdir/test_vim9_builtin.vim,
14085 src/testdir/test_vim9_disassemble.vim
14086
14087Patch 8.2.2273
14088Problem: Build failure.
14089Solution: Add missing changes to header file.
14090Files: src/vim9.h
14091
14092Patch 8.2.2274
14093Problem: badge for Travis is outdated.
14094Solution: Update badge for move from travis-ci.org to travis-ci.com.
14095Files: README.md
14096
14097Patch 8.2.2275
14098Problem: CTRL-C not recognized in Mintty.
14099Solution: Recognize the modifyOtherKeys code ending in "u". (Christian
14100 Brabandt, closes #7575)
14101Files: src/ui.c
14102
14103Patch 8.2.2276
14104Problem: List of distributed files is outdated.
14105Solution: Update the file list. Minor comment updates.
14106Files: Filelist, src/clipboard.c, src/fileio.c, src/option.c,
14107 src/screen.c, src/testdir/test_signals.vim,
14108 src/testdir/Make_vms.mms
14109
14110Patch 8.2.2277
14111Problem: Missing backslash.
14112Solution: Add backslash.
14113Files: Filelist
14114
14115Patch 8.2.2278
14116Problem: Falling back to old regexp engine can some patterns.
14117Solution: Do not fall back once [[:lower:]] or [[:upper:]] is used.
14118 (Christian Brabandt, closes #7572)
14119Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test_regexp_utf8.vim
14120
14121Patch 8.2.2279
14122Problem: Vim9: memory leak with catch in skipped block.
14123Solution: Free the pattern if not used.
14124Files: src/vim9compile.c
14125
14126Patch 8.2.2280
14127Problem: Fuzzy matching doesn't give access to the scores.
14128Solution: Return the scores with a third list. (Yegappan Lakshmanan,
14129 closes #7596)
14130Files: runtime/doc/eval.txt, src/search.c,
14131 src/testdir/test_matchfuzzy.vim
14132
14133Patch 8.2.2281
14134Problem: Vim9: compiled "wincmd" cannot be followed by bar.
14135Solution: Check for bar after "wincmd". (closes #7599)
14136Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
14137
14138Patch 8.2.2282
14139Problem: Length check mismatch with argument of strncmp(). (Christian
14140 Brabandt)
14141Solution: Adjust length check.
14142Files: src/ui.c
14143
14144Patch 8.2.2283
14145Problem: Vim9: crash when lambda has fewer arguments than expected.
14146Solution: Don't check arguments when already failed. (closes #7606)
14147Files: src/vim9type.c, src/testdir/test_vim9_func.vim
14148
14149Patch 8.2.2284
14150Problem: Vim9: cannot set an option to a boolean value.
14151Solution: Check for VAR_BOOL. (closes #7603)
14152Files: src/evalvars.c, src/testdir/test_vim9_builtin.vim
14153
14154Patch 8.2.2285
14155Problem: Vim9: cannot set an option to a false.
14156Solution: For VAR_BOOL use string "0". (closes #7603)
14157Files: src/evalvars.c, src/testdir/test_vim9_builtin.vim
14158
14159Patch 8.2.2286
14160Problem: Sort test fails when locale is Canadian English. (Neil H Watson)
14161Solution: Expect a different sort order. (closes #7609)
14162Files: src/testdir/test_sort.vim
14163
14164Patch 8.2.2287
14165Problem: Sort test fails when locale is French Canadian.
14166Solution: Expect a different sort order. (Dominique Pellé, closes #7609)
14167Files: src/testdir/test_sort.vim
14168
14169Patch 8.2.2288
14170Problem: Vim9: line break and comment not always skipped.
14171Solution: Skip over white space and then line break more consistently.
14172 (closes #7610)
14173Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14174
14175Patch 8.2.2289
14176Problem: Vim9: 'cpo' can become empty.
14177Solution: Use empty_option instead of an empty string. Update quickfix
14178 buffer after restoring 'cpo'. (closes #7608)
14179Files: src/evalfunc.c, src/syntax.c, src/eval.c, src/quickfix.c,
14180 src/evalbuffer.c, src/ex_eval.c, src/gui_motif.c, src/map.c,
14181 src/testdir/test_quickfix.vim
14182
14183Patch 8.2.2290
14184Problem: Vim9: unlet of global variable cannot be compiled.
14185Solution: Skip over variables that might be defined later. Give an error if
14186 a subscript is found. (closes #7585)
14187Files: src/eval.c, src/vim9compile.c, src/vim.h,
14188 src/testdir/test_vim9_assign.vim
14189
14190Patch 8.2.2291
14191Problem: Vim9: cannot use "null" for v:null.
14192Solution: Support "null" like "true" and "false". (closes #7495)
14193Files: runtime/doc/vim9.txt, src/vim9compile.c, src/evalvars.c,
14194 src/testdir/test_vim9_expr.vim
14195
14196Patch 8.2.2292
14197Problem: Vim: expr test fails.
14198Solution: Add missing part of "null" support.
14199Files: src/eval.c
14200
14201Patch 8.2.2293
14202Problem: Build failure with Motif. (Tony Mechelynck)
14203Solution: Use empty_option instead of empty_options.
14204Files: src/gui_motif.c
14205
14206Patch 8.2.2294
14207Problem: VMS: a few remaining problems.
14208Solution: Add VMS specific changes. Add Lua support. (Zoltan Arpadffy)
14209Files: src/fileio.c, src/os_vms_conf.h, src/Make_vms.mms, src/macros.h,
14210 src/os_vms.c, src/vim9execute.c, src/gui_xmebw.c, src/os_unix.h
14211
14212Patch 8.2.2295
14213Problem: Incsearch does not detect empty pattern properly.
14214Solution: Return magic state when skipping over a pattern. (Christian
14215 Brabandt, closes #7612, closes #6420)
14216Files: src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c, src/globals.h,
14217 src/option.c, src/tag.c, src/proto/regexp.pro, src/regexp.c,
14218 src/search.c, src/structs.h, src/vim9compile.c,
14219 src/testdir/dumps/Test_incsearch_sub_01.dump,
14220 src/testdir/dumps/Test_incsearch_sub_02.dump,
14221 src/testdir/test_search.vim
14222
14223Patch 8.2.2296
14224Problem: Cannot use CTRL-N and CTRL-P in a popup menu.
14225Solution: Use CTRL-N like <Down> and CTRL-P like <Up>. (closes #7614)
14226Files: runtime/doc/popup.txt, src/popupwin.c,
14227 src/testdir/test_popupwin.vim
14228
14229Patch 8.2.2297
14230Problem: Vim9: cannot set 'number' to a boolean value.
14231Solution: Use tv_get_bool(). (closes #7615)
14232Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
14233
14234Patch 8.2.2298
14235Problem: Vim9: comment right after "(" of function not recognized.
14236Solution: Do not skip over white space before calling get_function_args().
14237 (closes #7613)
14238Files: src/userfunc.c, src/proto/userfunc.pro,
14239 src/testdir/test_vim9_func.vim
14240
14241Patch 8.2.2299
14242Problem: Vim9: invalid memory access making error message flaky.
14243Solution: Do not check cmd_argt for CMD_USER. (issue #7467)
14244Files: src/ex_docmd.c, src/vim9execute.c, src/errors.h,
14245 src/vim9compile.c, src/testdir/test_vim9_cmd.vim
14246
14247Patch 8.2.2300
14248Problem: Vim9: wrong order on type stack when using dict.
14249Solution: Generate constants before a dict. (closes #7619)
14250Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14251
14252Patch 8.2.2301
14253Problem: Vim9: cannot unlet a dict or list item.
14254Solution: Add ISN_UNLETINDEX. Refactor assignment code to use for unlet.
14255Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c,
14256 src/testdir/test_vim9_assign.vim
14257
14258Patch 8.2.2302
14259Problem: Vim9: using an option value may use uninitialized memory.
14260Solution: Clear v_lock. (closes #7620)
14261Files: src/typval.c, src/testdir/test_vim9_expr.vim
14262
14263Patch 8.2.2303
14264Problem: Vim9: backtick expansion doesn't work for :foldopen.
14265Solution: Do recognize backtick expansion. (closes #7621)
14266Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
14267
14268Patch 8.2.2304
14269Problem: Vim9: no test for unletting an imported variable.
14270Solution: Add a test. Fix line number in error.
14271Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
14272
14273Patch 8.2.2305
14274Problem: Vim9: "++var" and "--var" are silently accepted.
14275Solution: Give an error message.
14276Files: src/vim9compile.c, src/eval.c, src/proto/eval.pro,
14277 src/testdir/test_vim9_expr.vim
14278
14279Patch 8.2.2306
14280Problem: Vim9: when using function reference type is not checked.
14281Solution: When using a function reference lookup the type and check the
14282 argument types. (issue #7629)
14283Files: src/userfunc.c, src/proto/userfunc.pro, src/eval.c, src/structs.h,
14284 src/vim9type.c, src/proto/vim9type.pro, src/vim9compile.c,
14285 src/vim9execute.c, src/evalvars.c, src/evalfunc.c,
14286 src/testdir/test_vim9_func.vim
14287
14288Patch 8.2.2307
14289Problem: A shell command in the vimrc causes terminal output.
14290Solution: Do not call starttermcap() after a shell command if the termcap
14291 wasn't active before.
14292Files: src/ex_cmds.c
14293
14294Patch 8.2.2308
14295Problem: Vim9: no error when assigning lambda to funcref without return
14296 value.
14297Solution: Default return value to "any". (closes #7629)
14298Files: src/userfunc.c, src/vim9compile.c,
14299 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_func.vim
14300
14301Patch 8.2.2309
14302Problem: 0o777 not recognized as octal.
14303Solution: Use vim_isodigit(). (Ken Takata, closes #7633, closes #7631)
14304Files: src/charset.c, src/testdir/test_eval_stuff.vim
14305
14306Patch 8.2.2310
14307Problem: Vim9: winsaveview() return type is too generic.
14308Solution: use dict<number> instead of dict<any>. (closes #7626)
14309Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
14310
14311Patch 8.2.2311
14312Problem: Vim9: cannot assign to a variable that shadows a command modifier.
14313Solution: Check for assignment after possible command modifier.
14314 (closes #7632)
14315Files: src/vim9compile.c, src/ex_docmd.c,
14316 src/testdir/test_vim9_assign.vim
14317
14318Patch 8.2.2312
14319Problem: Build failure with Ruby 3.0 and 32 bits.
14320Solution: Add #ifdef. (closes #7638)
14321Files: src/if_ruby.c
14322
14323Patch 8.2.2313
14324Problem: Vim9: using uninitialized field when parsing range. ":silent!" not
14325 respected when parsing range fails.
14326Solution: Initialize ea.skip. On pattern failure handle it like an error.
14327 (closes #7636)
14328Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
14329
14330Patch 8.2.2314
14331Problem: Vim9: returning zero takes two instructions.
14332Solution: Add ISN_RETURN_ZERO.
14333Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
14334 src/testdir/test_vim9_disassemble.vim
14335
14336Patch 8.2.2315
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014337Problem: Vim9: "enddef" as dict key misinterpreted as function end.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014338Solution: Check for following colon. (closes #7640)
14339Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14340
14341Patch 8.2.2316
14342Problem: Vim9: cannot list a lambda function.
14343Solution: Support the <lambda>9 notation, like :disassemble. (closes #7634)
14344Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14345
14346Patch 8.2.2317
14347Problem: Vim9: command modifier before list unpack doesn't work.
14348Solution: Only recognize "[" directly after the name. (closes #7641)
14349Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim
14350
14351Patch 8.2.2318
14352Problem: Vim9: string and list index work differently.
14353Solution: Make string index work like list index. (closes #7643)
14354Files: src/eval.c, src/proto/eval.pro, src/vim9execute.c, src/list.c,
14355 src/proto/vim9execute.pro, src/testdir/test_vim9_expr.vim
14356
14357Patch 8.2.2319
14358Problem: "exptype_T" can be read as "expected type".
14359Solution: Rename to "exprtype_T", expression type.
14360Files: src/eval.c, src/typval.c, src/proto/typval.pro, src/vim9compile.c,
14361 src/proto/vim9compile.pro, src/vim9execute.c, src/structs.h,
14362 src/vim9.h
14363
14364Patch 8.2.2320
14365Problem: Vim9: no error for comparing bool with string.
14366Solution: Check for wrong types when comparing. (closes #7639)
14367Files: src/typval.c, src/errors.h, src/testdir/test_vim9_expr.vim
14368
14369Patch 8.2.2321
14370Problem: Vim9: cannot nest closures.
14371Solution: Add the nesting level to ISN_LOADOUTER and ISN_STOREOUTER.
14372 (closes #7150, closes #7635)
14373Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/structs.h,
14374 src/testdir/test_vim9_disassemble.vim,
14375 src/testdir/test_vim9_func.vim
14376
14377Patch 8.2.2322
14378Problem: Vim9: closure nested limiting to one level.
14379Solution: Add outer_T. Also make STOREOUTER work.
14380Files: src/vim9execute.c, src/vim9.h, src/structs.h,
14381 src/testdir/test_vim9_func.vim
14382
14383Patch 8.2.2323
14384Problem: Vim9: error when inferring type from empty dict/list.
14385Solution: When the member is t_unknown use t_any. (closes #7009)
14386Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14387
14388Patch 8.2.2324
14389Problem: Not easy to get mark en cursor position by character count.
14390Solution: Add functions that use character index. (Yegappan Lakshmanan,
14391 closes #7648)
14392Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/eval.c,
14393 src/evalfunc.c, src/proto/eval.pro, src/tag.c,
14394 src/testdir/test_cursor_func.vim, src/typval.c
14395
14396Patch 8.2.2325
14397Problem: Vim9: crash if map() changes the item type.
14398Solution: Check that the item type is still OK. (closes #7652)
14399 Fix problem with mapnew() on range list.
14400Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9compile.c,
14401 src/list.c, src/testdir/test_vim9_builtin.vim,
14402 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim
14403
14404Patch 8.2.2326
14405Problem: Build error with +eval feature but without +spell.
14406Solution: Adjust #ifdef. (John Marriott)
14407Files: src/mbyte.c
14408
14409Patch 8.2.2327
14410Problem: Debugging code included.
14411Solution: Remove the debugging code.
14412Files: src/vim9execute.c
14413
14414Patch 8.2.2328
14415Problem: Some test files may not be deleted.
14416Solution: Add a delete() call, correct name. (Dominique Pellé, closes #7654)
14417Files: src/testdir/test_clientserver.vim,
14418 src/testdir/test_vim9_script.vim
14419
14420Patch 8.2.2329
14421Problem: Not all ways Vim can be started are tested.
14422Solution: Add a test for different program names. (Dominique Pellé,
14423 closes #7651)
14424Files: src/testdir/test_startup.vim
14425
14426Patch 8.2.2330
14427Problem: Vim9: crash when using :trow in a not executed block.
14428Solution: Don't generate the instruction when skipping. (closes #7659)
14429Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
14430
14431Patch 8.2.2331
14432Problem: Vim9: wrong error when modifying dict declared with :final.
14433Solution: Do not check for writable variable when an index follows.
14434 (closes #7657)
14435Files: src/vim9compile.c, src/structs.h, src/vim9script.c,
14436 src/proto/vim9script.pro, src/evalvars.c,
14437 src/testdir/test_vim9_assign.vim
14438
14439Patch 8.2.2332
14440Problem: Vim9: missing :endif not reported when using :windo.
14441Solution: Pass a getline function to do_cmdline(). (closes #7650)
14442Files: src/vim9execute.c, src/structs.h, src/scriptfile.c,
14443 src/testdir/test_vim9_cmd.vim
14444
14445Patch 8.2.2333
14446Problem: Vim9: warning for uninitialized variable. (Tony Mechelynck)
14447Solution: Initialize "res".
14448Files: src/vim9execute.c
14449
14450Patch 8.2.2334
14451Problem: Pascal-like filetypes not always detected.
14452Solution: Improved Puppet, InstantFPC and Pascal detection. (Doug Kearns,
14453 closes #7662)
14454Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
14455 runtime/scripts.vim, src/testdir/test_filetype.vim
14456
14457Patch 8.2.2335
14458Problem: Vim9: "silent return" does not restore command modifiers.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014459Solution: Restore command modifiers before returning. (closes #7649)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014460Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
14461
14462Patch 8.2.2336
14463Problem: Vim9: it is not possible to extend a dictionary with different
14464 item types.
14465Solution: Add extendnew(). (closes #7666)
14466Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
14467 src/list.c, src/proto/list.pro, src/testdir/test_listdict.vim,
14468 src/testdir/test_vim9_builtin.vim
14469
14470Patch 8.2.2337
14471Problem: Configure test for GTK only says "no". (Harm te Hennepe)
14472Solution: Hint that a -def package is needed. (closes #5229)
14473Files: src/configure.ac, src/auto/configure
14474
14475Patch 8.2.2338
14476Problem: Vim9: no error if using job_info() result wrongly.
14477Solution: Adjust return type on number of arguments. (closes #7667)
14478Files: src/evalfunc.c, src/globals.h, src/testdir/test_vim9_builtin.vim
14479
14480Patch 8.2.2339
14481Problem: Cannot get the type of a value as a string.
14482Solution: Add typename().
14483Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
14484 src/vim9type.c, src/proto/vim9type.pro,
14485 src/testdir/test_vimscript.vim, src/testdir/test_vim9_builtin.vim
14486
14487Patch 8.2.2340
14488Problem: win_execute() unexpectedly returns number zero when failing.
14489Solution: Return an empty string. (closes #7665)
14490Files: src/evalwindow.c, src/testdir/test_vim9_builtin.vim,
14491 src/testdir/test_execute_func.vim
14492
14493Patch 8.2.2341
14494Problem: Expression command line completion shows variables but not
14495 functions after "g:". (Gary Johnson)
14496Solution: Prefix "g:" when needed to a global function.
14497Files: src/evalfunc.c, src/evalvars.c, src/proto/evalvars.pro,
14498 src/testdir/test_cmdline.vim
14499
14500Patch 8.2.2342
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014501Problem: "char" functions return the wrong column in Insert mode when the
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014502 cursor is beyond the end of the line.
14503Solution: Compute the column correctly. (Yegappan Lakshmanan, closes #7669)
14504Files: src/eval.c, src/evalfunc.c, src/testdir/test_cursor_func.vim
14505
14506Patch 8.2.2343
14507Problem: Vim9: return type of readfile() is any.
14508Solution: Add readblob() so that readfile() can be expected to always
14509 return a list of strings. (closes #7671)
14510Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
14511 src/filepath.c, src/proto/filepath.pro,
14512 src/testdir/test_vim9_builtin.vim
14513
14514Patch 8.2.2344
14515Problem: Using inclusive index for slice is not always desired.
14516Solution: Add the slice() method, which has an exclusive index. (closes
14517 #7408)
14518Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
14519 src/eval.c, src/proto/eval.pro, src/vim9execute.c,
14520 src/proto/vim9execute.pro, src/list.c, src/proto/list.pro,
14521 src/testdir/test_vim9_builtin.vim
14522
14523Patch 8.2.2345
14524Problem: No focus events in a terminal.
14525Solution: Add the t_fd and t_fe termcap entries and implement detecting
14526 focus events. (Hayaki Saito, Magnus Groß, closes #7673,
14527 closes #609, closes #5526)
14528Files: runtime/doc/term.txt, src/optiondefs.h, src/term.c, src/term.h
14529
14530Patch 8.2.2346
14531Problem: Codecov reports every little coverage drop.
14532Solution: Tolerate a 0.05% drop. Hide the appveyor config file. (Ozaki
14533 Kiichi, closes #7678)
14534Files: .appveyor.yml, appveyor.yml, .codecov.yml
14535
14536Patch 8.2.2347
14537Problem: Build failure without GUI.
14538Solution: Add #ifdef.
14539Files: src/term.c
14540
14541Patch 8.2.2348 (after 8.2.2345)
14542Problem: No check for modified files after focus gained. (Mathias Stearn)
14543Solution: Call ui_focus_change().
14544Files: src/term.c, src/ui.c
14545
14546Patch 8.2.2349
14547Problem: Vim9: cannot handle line break after parenthesis at line end.
14548Solution: Skip over line break. (closes #7677)
14549Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14550
14551Patch 8.2.2350
14552Problem: Using "void" for no reason.
14553Solution: Use "char *".
14554Files: src/ex_docmd.c
14555
14556Patch 8.2.2351
14557Problem: Vim9: error message for "throw" in function that was called with
14558 "silent!".
14559Solution: Do not throw the exception when not caught or displayed.
14560 (closes #7672)
14561Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
14562
14563Patch 8.2.2352
14564Problem: If the focus lost/gained escape sequence is received twice it is
14565 not ignored. (Christ van Willigen)
14566Solution: Adjust the logic to ignore the escape code.
14567Files: src/term.c
14568
14569Patch 8.2.2353
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014570Problem: Sparql files are not detected.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014571Solution: Add the sparql filetype. (closes #7679)
14572Files: runtime/filetype.vim, src/testdir/test_filetype.vim
14573
14574Patch 8.2.2354
14575Problem: Crash with a weird combination of autocommands.
14576Solution: Increment b_nwindows when needed. (closes #7674)
14577Files: src/ex_cmds.c, src/buffer.c, src/proto/buffer.pro,
14578 src/testdir/test_autocmd.vim
14579
14580Patch 8.2.2355
14581Problem: Stray test failure on Appveyor.
14582Solution: Finish insert command.
14583Files: src/testdir/test_autocmd.vim
14584
14585Patch 8.2.2356
14586Problem: Vim9: ":put =expr" does not handle a list properly.
14587Solution: Use the same logic as eval_to_string_eap(). (closes #7684)
14588Files: src/vim9execute.c, src/eval.c, src/proto/eval.pro,
14589 src/testdir/test_vim9_cmd.vim
14590
14591Patch 8.2.2357
14592Problem: Vim9: crash when parsing function return type fails.
14593Solution: Bail out and set return type to "unknown". (closes #7685)
14594Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14595
14596Patch 8.2.2358
14597Problem: Wrong #ifdef for use_xterm_like_mouse().
14598Solution: Use FEAT_MOUSE_XTERM.
14599Files: src/term.c
14600
14601Patch 8.2.2359
14602Problem: Strange test failure with MS-Windows.
14603Solution: Skip the system() call for now.
14604Files: src/testdir/test_autocmd.vim
14605
14606Patch 8.2.2360
14607Problem: Test leaves file behind.
14608Solution: Delete the right file. (Dominique Pellé, closes #7689)
14609Files: src/testdir/test_filetype.vim
14610
14611Patch 8.2.2361
14612Problem: Vim9: no highlight for "s///gc" when using 'opfunc'.
14613Solution: Reset 'lazyredraw' temporarily. (closes #7687)
14614Files: src/ex_cmds.c
14615
14616Patch 8.2.2362
14617Problem: Vim9: check of builtin function argument type is incomplete.
14618Solution: Use need_type() instead of check_arg_type().
14619Files: src/vim9compile.c, src/proto/vim9compile.pro, src/evalfunc.c,
14620 src/proto/evalfunc.pro, src/vim9type.c, src/proto/vim9type.pro,
14621 src/testdir/test_vim9_builtin.vim
14622
14623Patch 8.2.2363
14624Problem: curpos() does not accept a string argument as before.
14625solution: Make a string argument work again. (Yegappan Lakshmanan,
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014626 closes #7690)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014627Files: src/evalfunc.c, src/testdir/test_cursor_func.vim
14628
14629Patch 8.2.2364
14630Problem: Vim9: line break in lambda accesses freed memory.
14631Solution: Make a copy of the return type. (closes #7664)
14632Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14633
14634Patch 8.2.2365
14635Problem: Vim9: no check for map() changing item type at script level.
14636Solution: Check the new value type.
14637Files: src/list.c, src/testdir/test_vim9_builtin.vim,
14638 src/testdir/test_vim9_assign.vim
14639
14640Patch 8.2.2366
14641Problem: When using ":sleep" the cursor is always displayed.
14642Solution: Do not display the cursor when using ":sleep!". (Jeremy Lerner,
14643 closes #7688)
14644Files: runtime/doc/index.txt, runtime/doc/various.txt, src/ex_cmds.h,
14645 src/ex_docmd.c, src/normal.c, src/proto/ex_docmd.pro, src/term.c,
14646 src/testdir/Make_all.mak, src/testdir/test_sleep.vim
14647
14648Patch 8.2.2367
14649Problem: Test failures on some less often used systems.
14650Solution: Adjust printf formats and types. (James McCoy, closes #7691)
14651Files: src/errors.h, src/evalfunc.c, src/list.c, src/vim9execute.c
14652
14653Patch 8.2.2368
14654Problem: Insufficient tests for setting options.
14655Solution: Add a few tests. (Dominique Pellé, closes #7695)
14656Files: src/testdir/test_options.vim
14657
14658Patch 8.2.2369
14659Problem: Vim9: functions return true/false but can't be used as bool.
14660Solution: Add ret_number_bool(). (closes #7693)
14661Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim,
14662 src/testdir/test_vim9_disassemble.vim
14663
14664Patch 8.2.2370
14665Problem: Vim9: command fails in catch block.
14666Solution: Reset force_abort and need_rethrow. (closes #7692)
14667Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
14668
14669Patch 8.2.2371
14670Problem: Vim9: crash when using types in :for with unpack.
14671Solution: Check for skip_var_list() failing. Pass include_type to
14672 skip_var_one(). Skip type when compiling. (closes #7694)
14673Files: src/vim9compile.c, src/evalvars.c,
14674 src/testdir/test_vim9_script.vim
14675
14676Patch 8.2.2372 (after 8.2.2371)
14677Problem: Confusing error message for wrong :let command.
14678Solution: Only check for type in Vim9 script.
14679Files: src/evalvars.c
14680
14681Patch 8.2.2373
14682Problem: Vim9: list assignment only accepts a number index.
14683Solution: Accept "any" and do a runtime type check. (closes #7694)
14684Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
14685
14686Patch 8.2.2374
14687Problem: Accessing uninitialized memory in test_undo.
14688Solution: Do not look in typebuf.tb_buf if it is empty. (Dominique Pellé,
14689 closes #7697)
14690Files: src/edit.c
14691
14692Patch 8.2.2375
14693Problem: Test for RGB color skipped in the terminal.
14694Solution: Run the GUI if possible.
14695Files: src/testdir/test_highlight.vim
14696
14697Patch 8.2.2376
14698Problem: Vim9: crash when dividing by zero in compiled code using
14699 constants.
14700Solution: Call num_divide() and num_modulus(). (closes #7704)
14701Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
14702
14703Patch 8.2.2377
14704Problem: Vim9: crash when using a range after another expression.
14705Solution: Set the variable type to number. Fix using :put with a range and
14706 the "=" register. (closes #7706)
14707Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
14708
14709Patch 8.2.2378
14710Problem: Vim9: no error message for dividing by zero.
14711Solution: Give an error message. (issue #7704)
14712Files: src/errors.h, src/eval.c, src/vim9execute.c,
14713 src/testdir/test_vim9_expr.vim
14714
14715Patch 8.2.2379
14716Problem: Finding spell suggestions twice if 'spellsuggest' contains number.
14717Solution: Only do internal suggestions once. (closes #7713)
14718Files: src/spellsuggest.c
14719
14720Patch 8.2.2380
14721Problem: Vim9: occasional crash when using try/catch and a timer.
14722Solution: Save and restore "need_rethrow" when invoking a timer callback.
14723 (closes #7708)
14724Files: src/time.c
14725
14726Patch 8.2.2381
14727Problem: Vim9: divide by zero does not abort expression execution.
14728Solution: Use a "failed" flag. (issue #7704)
14729Files: src/eval.c, src/proto/eval.pro, src/evalvars.c, src/vim9compile.c,
14730 src/testdir/vim9.vim, src/testdir/test_vim9_assign.vim
14731
14732Patch 8.2.2382 (after 8.2.2381)
14733Problem: Build failure.
14734Solution: Add missing changes.
14735Files: src/vim9execute.c
14736
14737Patch 8.2.2383
14738Problem: Focus escape sequences are not named in ":set termcap" output.
14739Solution: Add the names to the list. (closes #7718)
14740Files: src/misc2.c
14741
14742Patch 8.2.2384
14743Problem: Turtle filetype not recognized.
14744Solution: Add a rule to detect turtle files. (closes #7722)
14745Files: runtime/filetype.vim, src/testdir/test_filetype.vim
14746
14747Patch 8.2.2385
14748Problem: "gj" and "gk" do not work correctly when inside a fold.
14749Solution: Move check for folding. (closes #7724, closes #4095)
14750Files: src/normal.c, src/testdir/test_fold.vim
14751
14752Patch 8.2.2386
14753Problem: Vim9: crash when using ":silent! put".
14754Solution: When ignoring an error for ":silent!" rewind the stack and skip
14755 ahead to restoring the cmdmod. (closes #7717)
14756Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
14757
14758Patch 8.2.2387
14759Problem: Runtime type check does not mention argument index.
14760Solution: Add ct_arg_idx. (closes #7720)
14761Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
14762 src/testdir/test_vim9_builtin.vim,
14763 src/testdir/test_vim9_disassemble.vim,
14764 src/testdir/test_vim9_func.vim
14765
14766Patch 8.2.2388
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014767Problem: No easy way to get the maximum or minimum number value.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014768Solution: Add v:numbermax and v:numbermin.
14769Files: src/evalvars.c, src/vim.h, src/testdir/test_eval_stuff.vim,
14770 runtime/doc/eval.txt
14771
14772Patch 8.2.2389
14773Problem: Test failure on a few systems.
14774Solution: Avoid that "char" value is negative.
14775Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h
14776
14777Patch 8.2.2390
14778Problem: Vim9: using positive offset is unexpected.
14779Solution: Use int8_T instead of char. (James McCoy)
14780Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c
14781
14782Patch 8.2.2391
14783Problem: Memory leak when creating a global function with closure.
14784Solution: Create a separate partial for every instantiated function.
14785Files: src/userfunc.c, src/vim9execute.c
14786
14787Patch 8.2.2392
14788Problem: Fennel filetype not recognized.
14789Solution: Detect with pattern and hashbang. (Chinmay Dalal, closes #7729)
14790Files: runtime/filetype.vim, runtime/scripts.vim,
14791 src/testdir/test_filetype.vim
14792
14793Patch 8.2.2393
14794Problem: Vim9: error message when script line starts with "[{".
14795Solution: Do not give an error for checking for end of list.
14796Files: src/dict.c, src/testdir/test_vim9_script.vim
14797
14798Patch 8.2.2394
14799Problem: Vim9: min() and max() return type is "any".
14800Solution: Use return type "number". (closes #7728)
14801Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
14802
14803Patch 8.2.2395
14804Problem: Vim9: error for wrong type may report wrong line number.
14805Solution: Save and restore the line number when evaluating the expression.
14806 (closes #7727)
14807Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
14808
14809Patch 8.2.2396
14810Problem: Vim9: no white space allowed before "->".
14811Solution: Allow for white space. (closes #7725)
14812Files: src/ex_docmd.c, src/eval.c, src/testdir/test_vim9_cmd.vim
14813
14814Patch 8.2.2397
14815Problem: Vim9: "%%" not seen as alternate file name for commands with a
14816 buffer name argument.
14817Solution: Recognize "%%" like "#". (closes #7732)
14818Files: src/buffer.c, src/testdir/test_vim9_cmd.vim
14819
14820Patch 8.2.2398 (after 8.2.2396)
14821Problem: Method test fails.
14822Solution: Adjust test for allowed white space.
14823Files: src/testdir/test_method.vim
14824
14825Patch 8.2.2399 (after 8.2.2385)
14826Problem: Fold test fails in wide terminal.
14827Solution: Adjust the test. (Dominique Pelle, closes #7731, closes #7739)
14828Files: src/testdir/test_fold.vim
14829
14830Patch 8.2.2400
14831Problem: Vim9: compiled functions are not profiled.
14832Solution: Add initial changes to profile compiled functions. Fix that a
14833 script-local function was hard to debug.
14834Files: runtime/doc/repeat.txt, src/vim9.h, src/vim9compile.c,
14835 src/vim9execute.c, src/userfunc.c, src/proto/vim9compile.pro,
14836 src/structs.h, src/vim9type.c, src/debugger.c, src/ex_cmds.h,
14837 src/ex_docmd.c, src/profiler.c, src/proto/profiler.pro,
14838 src/testdir/test_vim9_disassemble.vim,
14839 src/testdir/test_profile.vim
14840
14841Patch 8.2.2401
14842Problem: Build fails without +profiling feature.
14843Solution: Add #ifdefs.
14844Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/structs.h,
14845 src/testdir/test_vim9_disassemble.vim
14846
14847Patch 8.2.2402
14848Problem: Some filetypes not detected.
14849Solution: Detect Ruby Signature and Puppet related files. (Doug Kearns)
14850Files: runtime/filetype.vim, src/testdir/test_filetype.vim
14851
14852Patch 8.2.2403
14853Problem: Vim9: profiling if/elseif/endif not correct.
14854Solution: Add profile instructions. Fix that "elseif" was wrong.
14855Files: src/vim9compile.c, src/testdir/test_profile.vim,
14856 src/testdir/test_vim9_script.vim,
14857 src/testdir/test_vim9_disassemble.vim
14858
14859Patch 8.2.2404
14860Problem: Vim9: profiling try/catch not correct.
14861Solution: Add profile instructions. Fix that "entry" did not rethrow an
Bram Moolenaar1588bc82022-03-08 21:35:07 +000014862 exception.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000014863Files: src/vim9compile.c, src/vim9execute.c, src/testdir/test_profile.vim
14864
14865Patch 8.2.2405
14866Problem: Vim9: no need to allow white space before "(" for :def.
14867Solution: Give an error for stray white space. (issue #7734)
14868Files: src/userfunc.c, src/testdir/test_vim9_func.vim
14869
14870Patch 8.2.2406
14871Problem: Vim9: profiled :def function leaks memory.
14872Solution: Delete the profiled instructions.
14873Files: src/vim9compile.c
14874
14875Patch 8.2.2407
14876Problem: Old jumplist code is never used.
14877Solution: Delete the dead code. (Yegappan Lakshmanan, closes #7740)
14878Files: src/mark.c
14879
14880Patch 8.2.2408
14881Problem: MinGW: "--preprocessor" flag no longer supported.
14882Solution: Remove the flag, use the defaults. (Christopher Wellons,
14883 closes #7741)
14884Files: src/GvimExt/Make_ming.mak, src/Make_cyg_ming.mak
14885
14886Patch 8.2.2409
14887Problem: Vim9: profiling only works for one function.
14888Solution: Select the right instructions when calling and returning.
14889 (closes #7743)
14890Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
14891 src/testdir/test_profile.vim
14892
14893Patch 8.2.2410
14894Problem: Build failure without the +profiling feature.
14895Solution: Add dummy argument to macro.
14896Files: src/vim9.h
14897
14898Patch 8.2.2411
14899Problem: Profile test fails on MS-Windows.
14900Solution: Do the profiling in a separate Vim command.
14901Files: src/testdir/test_profile.vim
14902
14903Patch 8.2.2412
14904Problem: Not all fields in "cstack" are initialized which might cause a
14905 crash.
14906Solution: Use CLEAR_FIELD().
14907Files: src/ex_docmd.c
14908
14909Patch 8.2.2413
14910Problem: Crash when using :all while using a cmdline window. (Zdenek Dohnal)
14911Solution: Disallow :all from the cmdline window.
14912Files: src/arglist.c, src/ex_getln.c, src/testdir/test_arglist.vim
14913
14914Patch 8.2.2414
14915Problem: Using freed memory when closing the cmdline window.
14916Solution: Check the window is still valid.
14917Files: src/ex_getln.c
14918
14919Patch 8.2.2415
14920Problem: No way to check for the cmdwin feature, cmdline_hist is now always
14921 enabled.
14922Solution: Add has('cmdwin') support. Skip arglist test on Windows
14923 temporarily.
14924Files: runtime/doc/cmdline.txt, src/evalfunc.c,
14925 src/testdir/test_autocmd.vim, src/testdir/test_arglist.vim,
14926 src/testdir/test_cmdline.vim, src/testdir/test_ins_complete.vim,
14927 src/testdir/test_normal.vim, src/testdir/test_tabpage.vim,
14928 src/testdir/test_termcodes.vim, src/testdir/test_window_cmd.vim
14929
14930Patch 8.2.2416
14931Problem: May get stuck in command line window state.
14932Solution: Reset "cmdwin_type" when editing buffer fails. Make arglist test
14933 pass on MS-Windows.
14934Files: src/ex_getln.c, src/testdir/test_arglist.vim
14935
14936Patch 8.2.2417
14937Problem: Condition stack values may be used when not set.
14938Solution: Clear cs_script_var_len and cs_block_id just in case they get used
14939 later. (issue #7733)
14940Files: src/ex_eval.c
14941
14942Patch 8.2.2418
14943Problem: Color not changed if ModeMsg highlight is set in InsertEnter
14944 autocmd event. (Paul Swanson)
14945Solution: Call highlight_changed() after triggering InsertEnter.
14946 (closes #7751)
14947Files: src/edit.c
14948
14949Patch 8.2.2419
14950Problem: Autocmd test was failing on MS-Windows with GUI.
14951Solution: Remove stray feedkeys().
14952Files: src/testdir/test_autocmd.vim
14953
14954Patch 8.2.2420
14955Problem: Too many problems with using all autocommand events.
14956Solution: Disallow defining an autocommand for all events.
14957Files: src/autocmd.c, src/errors.h, src/testdir/test_autocmd.vim,
14958 src/testdir/test_quickfix.vim, src/testdir/test_window_cmd.vim
14959
14960Patch 8.2.2421
14961Problem: Double free when using autocommand with "argdel". (Houyunsong)
14962Solution: Add the arglist_locked flag.
14963Files: src/arglist.c, src/testdir/test_autocmd.vim
14964
14965Patch 8.2.2422
14966Problem: Crash when deleting with line number out of range. (Houyunsong)
14967Solution: Avoid using a negative line number.
14968Files: src/normal.c, src/testdir/test_ex_mode.vim
14969
14970Patch 8.2.2423 (after 8.2.2422)
14971Problem: Missing error message.
14972Solution: Add the error message.
14973Files: src/errors.h
14974
14975Patch 8.2.2424
14976Problem: Some tests are known to cause an error with ASAN.
14977Solution: Add CheckNotAsan.
14978Files: src/testdir/check.vim, src/testdir/test_ins_complete.vim,
14979 src/testdir/test_memory_usage.vim, src/testdir/test_ex_mode.vim
14980
14981Patch 8.2.2425
14982Problem: Cursor on invalid line with range and :substitute.
14983Solution: Do not move the cursor when skipping commands. (closes #3434)
14984Files: src/ex_cmds.c, src/testdir/test_eval_stuff.vim
14985
14986Patch 8.2.2426
14987Problem: Allowing 'completefunc' to switch windows causes trouble.
14988Solution: use "textwinlock" instead of "textlock".
14989Files: src/insexpand.c, src/testdir/test_ins_complete.vim,
14990 src/testdir/test_popup.vim
14991
14992Patch 8.2.2427
14993Problem: Can still switch windows for 'completefunc'.
14994Solution: Also disallow switching windows for other completions.
14995Files: src/insexpand.c, src/testdir/test_ins_complete.vim,
14996 src/testdir/test_popup.vim
14997
14998Patch 8.2.2428
14999Problem: FocusGained does not work when 'ttymouse' is empty.
15000Solution: Don't use the short mouse code if there is a longer matching code.
15001 (closes #7755) Add a test.
15002Files: src/term.c, src/testdir/test_termcodes.vim
15003
15004Patch 8.2.2429
15005Problem: :goto does not work correctly with text properties. (Sam McCall)
15006Solution: Add a test. (Andrew Radev) Also use the text property size when
15007 computing the remaining offset. (closes #5930)
15008Files: src/memline.c, src/testdir/test_textprop.vim
15009
15010Patch 8.2.2430
15011Problem: :vimgrep expands wildcards twice.
15012Solution: Do not expand wildcards a second time.
15013Files: src/quickfix.c, src/arglist.c, src/testdir/test_quickfix.vim
15014
15015Patch 8.2.2431
15016Problem: Warning for -fno-strength-reduce with Clang 11.
15017Solution: Adjust check for clang version number.
15018Files: src/configure.ac, src/auto/configure
15019
15020Patch 8.2.2432
15021Problem: Libvterm tests are executed even when libtool doesn't work.
15022Solution: Only run libvterm tests if /usr/bin/gcc exists.
15023Files: src/Makefile
15024
15025Patch 8.2.2433
15026Problem: Opening cmdline window gives error in BufLeave autocommand.
15027Solution: Reset cmdwin_type when triggering the autocommand.
15028Files: src/ex_cmds.c, src/testdir/test_cmdline.vim
15029
15030Patch 8.2.2434
15031Problem: Vim9: no error when compiling str2nr() with a number.
15032Solution: Add argument type checks. (closes #7759)
15033Files: src/evalfunc.c, src/typval.c, src/proto/typval.pro,
15034 src/testdir/test_vim9_builtin.vim
15035
15036Patch 8.2.2435
15037Problem: setline() gives an error for some types.
15038Solution: Allow any type, convert each item to a string.
15039Files: runtime/doc/eval.txt, src/evalbuffer.c, src/typval.c,
15040 src/proto/typval.pro, src/debugger.c, src/vim9execute.c,
15041 src/testdir/test_bufline.vim, src/testdir/test_vim9_builtin.vim
15042
15043Patch 8.2.2436
15044Problem: Vim9 script test is a bit flaky.
15045Solution: Wait longer for exit callback.
15046Files: src/testdir/test_vim9_script.vim
15047
15048Patch 8.2.2437
15049Problem: Deprecation warnings with default configuration.
15050Solution: Add -Wno-deprecated-declarations.
15051Files: src/configure.ac, src/auto/configure
15052
15053Patch 8.2.2438
15054Problem: Out of bounds compiler warning.
15055Solution: Increase the size of uf_name.
15056Files: src/structs.h
15057
15058Patch 8.2.2439
15059Problem: Not easy to figure out what packages to get when installing Vim on
15060 a new Ubuntu system.
15061Solution: Mention explicit commands that are easy to follow.
15062Files: src/INSTALL
15063
15064Patch 8.2.2440
15065Problem: Documentation based on patches is outdated.
15066Solution: Add changes to documentation in a patch.
15067Files: runtime/doc/arabic.txt, runtime/doc/autocmd.txt,
15068 runtime/doc/change.txt, runtime/doc/channel.txt,
15069 runtime/doc/cmdline.txt, runtime/doc/debugger.txt,
15070 runtime/doc/develop.txt, runtime/doc/digraph.txt,
15071 runtime/doc/editing.txt, runtime/doc/eval.txt,
15072 runtime/doc/filetype.txt, runtime/doc/ft_sql.txt,
15073 runtime/doc/gui.txt, runtime/doc/gui_w32.txt,
15074 runtime/doc/gui_x11.txt, runtime/doc/hangulin.txt,
15075 runtime/doc/helphelp.txt, runtime/doc/help.txt,
15076 runtime/doc/if_lua.txt, runtime/doc/if_mzsch.txt,
15077 runtime/doc/if_tcl.txt, runtime/doc/indent.txt,
15078 runtime/doc/index.txt, runtime/doc/insert.txt,
15079 runtime/doc/intro.txt, runtime/doc/map.txt, runtime/doc/mbyte.txt,
15080 runtime/doc/message.txt, runtime/doc/mlang.txt,
15081 runtime/doc/motion.txt, runtime/doc/netbeans.txt,
15082 runtime/doc/options.txt, runtime/doc/os_dos.txt,
15083 runtime/doc/os_haiku.txt, runtime/doc/os_unix.txt,
15084 runtime/doc/os_vms.txt, runtime/doc/os_win32.txt,
15085 runtime/doc/pattern.txt, runtime/doc/pi_getscript.txt,
15086 runtime/doc/pi_logipat.txt, runtime/doc/pi_netrw.txt,
15087 runtime/doc/pi_tar.txt, runtime/doc/pi_vimball.txt,
15088 runtime/doc/pi_zip.txt, runtime/doc/popup.txt,
15089 runtime/doc/print.txt, runtime/doc/quickfix.txt,
15090 runtime/doc/quickref.txt, runtime/doc/recover.txt,
15091 runtime/doc/remote.txt, runtime/doc/repeat.txt,
15092 runtime/doc/rileft.txt, runtime/doc/sign.txt,
15093 runtime/doc/spell.txt, runtime/doc/starting.txt,
15094 runtime/doc/syntax.txt, runtime/doc/tabpage.txt,
15095 runtime/doc/tagsrch.txt, runtime/doc/terminal.txt,
15096 runtime/doc/term.txt, runtime/doc/testing.txt,
15097 runtime/doc/textprop.txt, runtime/doc/tips.txt,
15098 runtime/doc/todo.txt, runtime/doc/uganda.txt,
15099 runtime/doc/undo.txt, runtime/doc/usr_02.txt,
15100 runtime/doc/usr_03.txt, runtime/doc/usr_04.txt,
15101 runtime/doc/usr_05.txt, runtime/doc/usr_07.txt,
15102 runtime/doc/usr_08.txt, runtime/doc/usr_10.txt,
15103 runtime/doc/usr_11.txt, runtime/doc/usr_20.txt,
15104 runtime/doc/usr_22.txt, runtime/doc/usr_23.txt,
15105 runtime/doc/usr_24.txt, runtime/doc/usr_27.txt,
15106 runtime/doc/usr_30.txt, runtime/doc/usr_31.txt,
15107 runtime/doc/usr_40.txt, runtime/doc/usr_41.txt,
15108 runtime/doc/usr_42.txt, runtime/doc/usr_44.txt,
15109 runtime/doc/usr_45.txt, runtime/doc/usr_46.txt,
15110 runtime/doc/usr_90.txt, runtime/doc/usr_toc.txt,
15111 runtime/doc/various.txt, runtime/doc/version5.txt,
15112 runtime/doc/version6.txt, runtime/doc/version7.txt,
15113 runtime/doc/version8.txt, runtime/doc/vi_diff.txt,
15114 runtime/doc/vim9.txt, runtime/doc/visual.txt,
15115 runtime/doc/windows.txt
15116
15117Patch 8.2.2441
15118Problem: Vim9: extend() does not give an error for a type mismatch.
15119Solution: Check the type of the second argument. (closes #7760)
15120Files: src/list.c, src/testdir/test_vim9_builtin.vim
15121
15122Patch 8.2.2442
15123Problem: Automatic GUI selection does not check for GTK 3.
15124Solution: Make SKIP_GTK3 empty for automatic GUI support. Set SKIP_GTK3 to
15125 YES when checking for GTK2.
15126Files: src/configure.ac, src/auto/configure
15127
15128Patch 8.2.2443
15129Problem: Vim9: no compile time error for wrong str2float argument.
15130Solution: Check argument type. (closes #7759)
15131Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
15132
15133Patch 8.2.2444
15134Problem: Vim9: compile error with combination of operator and list.
15135Solution: Generate constants before parsing a list or dict. (closes #7757)
15136Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
15137
15138Patch 8.2.2445
15139Problem: Vim9: no proper error for lambda missing return type.
15140Solution: Check for this error. (closes #7758)
15141Files: src/errors.h, src/userfunc.c, src/testdir/test_vim9_func.vim
15142
15143Patch 8.2.2446
15144Problem: Setting 'term' empty has different error if compiled with GUI.
15145Solution: Insert "else". (closes #7766)
15146Files: src/optionstr.c, src/testdir/test_options.vim
15147
15148Patch 8.2.2447
15149Problem: 'foldlevel' not applied to folds restored from session.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000015150Solution: Set 'foldlevel' after creating the folds. (closes #7767)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000015151Files: src/fold.c, src/testdir/test_mksession.vim
15152
15153Patch 8.2.2448
15154Problem: Compilation error with Ruby 3.0.
15155Solution: Adjust #ifdefs and declaration. (Ken Takata, closes #7761)
15156Files: src/if_ruby.c
15157
15158Patch 8.2.2449
15159Problem: Vim9: flatten() always changes the list type.
15160Solution: Disallow using flatten() and add flattennew().
15161Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
15162 src/list.c, src/proto/list.pro, src/errors.h, src/vim9compile.c,
15163 src/testdir/test_flatten.vim, src/testdir/test_vim9_builtin.vim
15164
15165Patch 8.2.2450
15166Problem: MS-Windows: ADS was not preserved if 'backupcopy' is "yes".
15167Solution: Copy ADS before truncating the file. (Ken Takata, closes #7762)
15168Files: src/bufwrite.c
15169
15170Patch 8.2.2451
15171Problem: MS-Windows: Extended Attributes not preserved.
15172Solution: Preserve Extended Attributes when writing a file. (Ken Takata,
15173 closes #7765)
15174Files: src/os_win32.c
15175
15176Patch 8.2.2452
15177Problem: No completion for the 'filetype' option.
15178Solution: Add filetype completion. (Martin Tournoij, closes #7747)
15179Files: src/option.c, src/optiondefs.h, src/testdir/test_options.vim
15180
15181Patch 8.2.2453
15182Problem: Vim9: a variable name with "->" in the next line doesn't work.
15183Solution: Recognize a variable name by itself. (closes #7770)
15184Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
15185
15186Patch 8.2.2454
15187Problem: Leading space can not be made visible.
15188Solution: Add "lead:" to 'listchars'. (closes #7772)
15189Files: runtime/doc/options.txt, src/drawline.c, src/globals.h,
15190 src/message.c, src/screen.c, src/testdir/test_listchars.vim
15191
15192Patch 8.2.2455
15193Problem: Vim9: key type that can be used for literal dict and indexing is
15194 inconsistent.
15195Solution: Allow using number and bool as key for a literal dict. (#7771)
15196Files: runtime/doc/vim9.txt, src/dict.c, src/eval.c, src/vim9compile.c,
15197 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_builtin.vim,
15198 src/testdir/test_vim9_script.vim
15199
15200Patch 8.2.2456
15201Problem: Coverity warning for strcpy() into fixed size array.
15202Solution: Add a type cast to hopefully silence the bogus warning.
15203Files: src/userfunc.c
15204
15205Patch 8.2.2457
15206Problem: Coverity warns for memory leak.
15207Solution: Free memory when out of memory.
15208Files: src/if_cscope.c
15209
15210Patch 8.2.2458
15211Problem: Coverity warns for :retab using freed memory.
15212Solution: Use the updated line pointer when moving text properties.
15213Files: src/indent.c
15214
15215Patch 8.2.2459
15216Problem: Coverity reports dead code.
15217Solution: Remove the dead code.
15218Files: src/eval.c
15219
15220Patch 8.2.2460
15221Problem: Coverity warns for unused value.
15222Solution: Do not reset the return value to OK.
15223Files: src/vim9compile.c
15224
15225Patch 8.2.2461
15226Problem: Coverity warns for unchecked return value.
15227Solution: Add "(void)" to avoid the warning.
15228Files: src/vim9execute.c
15229
15230Patch 8.2.2462
15231Problem: Coverity warns for not checking for fseek() error.
15232Solution: Give an error message if fseek() fails.
15233Files: src/spellfile.c
15234
15235Patch 8.2.2463
15236Problem: Using :arglocal in an autocommand may use freed memory.
15237 (houyunsong)
15238Solution: Check if the arglist is locked.
15239Files: src/arglist.c, src/testdir/test_autocmd.vim
15240
15241Patch 8.2.2464
15242Problem: Using freed memory if window closed in autocommand. (houyunsong)
15243Solution: Check the window still exists.
15244Files: src/ex_cmds.c, src/testdir/test_autocmd.vim
15245
15246Patch 8.2.2465
15247Problem: Using freed memory in :psearch. (houyunsong)
15248Solution: Check the current window is still valid. Fix flaky test.
15249Files: src/search.c, src/testdir/test_autocmd.vim
15250
15251Patch 8.2.2466
15252Problem: Max() and min() can give many error messages.
15253Solution: Bail out at the first error. (closes #1039, closes #7778)
15254Files: src/evalfunc.c, src/testdir/test_functions.vim
15255
15256Patch 8.2.2467
15257Problem: Script generated by :mkview changes alternate file.
15258Solution: Only write :balt in the session file. (Harish Rajagopal,
15259 closes #7779)
15260Files: src/session.c, src/testdir/test_mksession.vim
15261
15262Patch 8.2.2468
15263Problem: Not easy to get the full command name from a shortened one.
15264Solution: Add fullcommand(). (Martin Tournoij, closes #7777)
15265Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
15266 src/ex_docmd.c, src/proto/evalfunc.pro,
15267 src/testdir/test_cmdline.vim
15268
15269Patch 8.2.2469
15270Problem: Confusing error if :winsize has a wrong argument.
15271Solution: Quote the argument in the error. (closes #2523)
15272Files: src/ex_docmd.c, src/testdir/test_excmd.vim
15273
15274Patch 8.2.2470
15275Problem: Popup_getoptions() does not get textprop from other tab.
15276Solution: use win_valid_any_tab(). (closes #7786)
15277Files: src/popupwin.c, src/testdir/test_popupwin.vim
15278
15279Patch 8.2.2471
15280Problem: Popup_setoptions() does not set textprop in other tab.
15281Solution: use win_valid_any_tab(). (closes #7788)
15282Files: src/popupwin.c, src/testdir/test_popupwin.vim
15283
15284Patch 8.2.2472
15285Problem: Crash when using command line window in an autocommand.
15286 (houyunsong)
15287Solution: Save and restore au_new_curbuf.
15288Files: src/ex_cmds.c, src/testdir/test_autocmd.vim
15289
15290Patch 8.2.2473
15291Problem: Crash when leaving command line window triggers autocommand.
15292 (houyunsong)
15293Solution: Make sure not to close the current window or buffer.
15294Files: src/ex_getln.c, src/testdir/test_autocmd.vim
15295
15296Patch 8.2.2474
15297Problem: Using freed memory when window is closed by autocommand.
15298 (houyunsong)
15299Solution: Check the window pointer is still valid.
15300Files: src/quickfix.c, src/testdir/test_autocmd.vim
15301
15302Patch 8.2.2475
15303Problem: Autocommand tests hangs on MS-Windows.
15304Solution: Skip one test.
15305Files: src/testdir/test_autocmd.vim
15306
15307Patch 8.2.2476
15308Problem: Using freed memory when using an autocommand to split a window
15309 while a buffer is being closed.
15310Solution: Disallow splitting when the buffer has b_locked_split set.
15311Files: src/buffer.c, src/window.c, src/errors.h, src/structs.h,
15312 src/popupwin.c, src/testdir/test_autocmd.vim
15313
15314Patch 8.2.2477
15315Problem: Autocommand tests hang on MS-Windows.
15316Solution: Skip a couple of tests. Fix file name.
15317Files: src/testdir/test_autocmd.vim
15318
15319Patch 8.2.2478
15320Problem: MS-Windows: backup files for plugins are loaded.
15321Solution: Do not use the alternate file name for files ending in "~".
15322Files: src/filepath.c
15323
15324Patch 8.2.2479
15325Problem: set/getbufline test fails without the job feature.
15326Solution: Check whether the job feature is supported. (Dominique Pellé,
15327 closes #7790)
15328Files: src/testdir/test_bufline.vim, src/testdir/test_vim9_builtin.vim
15329
15330Patch 8.2.2480
15331Problem: Vim9: some errors for white space do not show context.
15332Solution: Include the text at the error.
15333Files: src/errors.h, src/dict.c, src/list.c, src/userfunc.c,
15334 src/vim9compile.c, src/vim9script.c, src/vim9type.c
15335
15336Patch 8.2.2481
15337Problem: Vim9: confusing error when variable arguments have a default
15338 value.
15339Solution: Give a specific error message. (closes #7793)
15340Files: src/userfunc.c, src/testdir/test_vim9_func.vim
15341
15342Patch 8.2.2482
15343Problem: Build error.
15344Solution: Add new error message.
15345Files: src/errors.h
15346
15347Patch 8.2.2483
Bram Moolenaar1588bc82022-03-08 21:35:07 +000015348Problem: Vim9: type error for malformed expression.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000015349Solution: Check for end of command before checking type. (closes #7795)
15350Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
15351
15352Patch 8.2.2484
15353Problem: Vim9: Cannot use a comment starting with #{ after an expression.
15354Solution: Remove the check for "{" since #{ dictionaries are not supported.
15355Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
15356
15357Patch 8.2.2485
15358Problem: When sourcing a script again the script version isn't reset.
15359Solution: Set sn_version to one when sourcing a script again. Clear
15360 sn_save_cpo properly. (closes #7608)
15361Files: src/scriptfile.c, src/testdir/test_vim9_script.vim
15362
15363Patch 8.2.2486
15364Problem: Vim9: some errors for white space do not show context.
15365Solution: Include the text at the error.
15366Files: src/errors.h, src/dict.c, src/list.c, src/userfunc.c,
15367 src/vim9compile.c, src/vim9type.c
15368
15369Patch 8.2.2487
15370Problem: Terminal shows garbage after double-wide character with a
15371 combining character. (Kyoichiro Yamada)
15372Solution: Libvterm: do not add the width of the combining character to the
15373 glyph width. (closes #7801)
15374Files: src/libvterm/src/state.c, src/testdir/test_terminal.vim,
15375 src/testdir/dumps/Test_terminal_combining.dump
15376
15377Patch 8.2.2488
15378Problem: json_encode() gives generic argument error.
15379Solution: Mention the type that can't be encoded. (issue #7802)
15380Files: src/json.c, src/errors.h, src/testdir/test_json.vim
15381
15382Patch 8.2.2489
15383Problem: current buffer is wrong after deletebufline() fails to delete a
15384 line in another buffer.
15385Solution: Restore the current buffer.
15386Files: src/evalbuffer.c, src/testdir/test_bufline.vim
15387
15388Patch 8.2.2490
15389Problem: 'wrap' option is always reset when starting diff mode.
15390Solution: Add the "followwrap" item in 'diffopt'. (Rick Howe, closes #7797)
15391Files: runtime/doc/diff.txt, runtime/doc/options.txt, src/diff.c,
15392 src/testdir/test_diffmode.vim
15393
15394Patch 8.2.2491
15395Problem: Popup window for text property may show in first screen line.
15396Solution: If the text position is invisible do not show the popup window.
15397 (closes #7807)
15398Files: src/popupwin.c, src/testdir/test_popupwin.vim,
15399 src/testdir/dumps/Test_popup_prop_not_visible_01.dump,
15400 src/testdir/dumps/Test_popup_prop_not_visible_02.dump,
15401 src/testdir/dumps/Test_popup_prop_not_visible_03.dump
15402
15403Patch 8.2.2492
15404Problem: Command line buffer name cannot be translated.
15405Solution: Add _(). (Gabriel Dupras, closes #7812)
15406Files: src/ex_getln.c
15407
15408Patch 8.2.2493
15409Problem: Text property for text left of window shows up.
15410Solution: Check if the text property ends before the current column.
15411 (closes #7806)
15412Files: src/drawline.c, src/testdir/test_textprop.vim,
15413 src/testdir/dumps/Test_textprop_nowrap_01.dump,
15414 src/testdir/dumps/Test_textprop_nowrap_02.dump
15415
15416Patch 8.2.2494
15417Problem: ":rviminfo!" clears most of oldfiles.
15418Solution: Add VIF_ONLY_CURBUF to read_viminfo(). (closes #1781)
15419Files: src/viminfo.c, src/vim.h
15420
15421Patch 8.2.2495
15422Problem: Text jumps up and down when moving the cursor in a small window
15423 with wrapping text and 'scrolloff' set.
15424Solution: Adjust the computation of w_skipcol. (partly by Ghjuvan Lacambre,
15425 closes #7813)
15426Files: src/move.c, src/testdir/test_breakindent.vim
15427
15428Patch 8.2.2496 (after 8.2.2495)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000015429Problem: Insufficient testing for text jumping fix.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000015430Solution: Add another test case.
15431Files: src/testdir/test_breakindent.vim
15432
15433Patch 8.2.2497
15434Problem: No error when using more than one character for a register name.
15435Solution: In Vim9 script check for a single character string. (closes #7814)
15436 Fix that VAR_BOOL and VAR_SPECIAL are not considered equal.
15437Files: src/errors.h, src/evalfunc.c, src/typval.c,
15438 src/testdir/test_vim9_builtin.vim
15439
15440Patch 8.2.2498
15441Problem: No test for what 8.2.2494 fixes.
15442Solution: Add a simple change to test the fix. (closes #7818)
15443Files: src/testdir/test_viminfo.vim
15444
15445Patch 8.2.2499
15446Problem: "vim -g --version" does not redirect output.
15447Solution: Reset gui.starting when showing version info. (closes #7815)
15448Files: src/main.c, src/testdir/test_version.vim
15449
15450Patch 8.2.2500 (after 8.2.2499)
15451Problem: Build fails without the GUI feature.
15452Solution: Add #ifdef.
15453Files: src/main.c
15454
15455Patch 8.2.2501
15456Problem: Not always clear where an error is reported.
15457Solution: Add the where_T structure and pass it around. (closes #7796)
15458Files: src/structs.h, src/vim9type.c, src/proto/vim9type.pro,
15459 src/errors.h, src/evalvars.c, src/proto/evalvars.pro, src/eval.c,
15460 src/proto/eval.pro, src/vim9execute.c, src/vim9script.c,
15461 src/proto/vim9script.pro, src/dict.c, src/list.c,
15462 src/vim9compile.c, src/testdir/test_vim9_assign.vim
15463
15464Patch 8.2.2502
15465Problem: A few github actions are failing.
15466Solution: Install setuptools-rust. (closes #7823)
15467Files: .github/workflows/ci.yml
15468
15469Patch 8.2.2503
15470Problem: Vim9: a caught error may leave something on the stack.
15471Solution: Drop items from the stack if needed. (closes #7826)
15472Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
15473
15474Patch 8.2.2504
15475Problem: Vim9: crash when using an argument from a closure.
15476Solution: Check if gen_load_outer is NULL. (closes #7821)
15477Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
15478
15479Patch 8.2.2505
15480Problem: Vim9: crash after defining function with invalid return type.
15481Solution: Clear function growarrays. Fix memory leak.
15482Files: src/userfunc.c, src/testdir/test_vim9_func.vim
15483
15484Patch 8.2.2506
15485Problem: Vim9: :continue does not work correctly in a :try block
15486Solution: Add the TRYCLEANUP instruction. (closes #7827)
15487Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
15488 src/testdir/test_vim9_script.vim,
15489 src/testdir/test_vim9_disassemble.vim
15490
15491Patch 8.2.2507
15492Problem: Github build may fail if Ubuntu 20.04 is used. Installing rust is
15493 not needed.
15494Solution: Specify ubuntu-18.04 instead of latest. Update "pip" instead of
15495 installing rust. (Ozaki Kiichi, closes #7820)
15496Files: .github/workflows/ci.yml
15497
15498Patch 8.2.2508
15499Problem: Cannot change the character displayed in non existing lines.
15500Solution: Add the "eob" item to 'fillchars'. (closes #7832, closes #3820)
15501Files: runtime/doc/options.txt, runtime/doc/todo.txt,
15502 runtime/doc/windows.txt, src/drawscreen.c, src/globals.h,
15503 src/optiondefs.h, src/screen.c, src/testdir/test_display.vim
15504
15505Patch 8.2.2509
15506Problem: Tests fail on s390 build.
15507Solution: Initialize trycmd_T.
15508Files: src/vim9execute.c
15509
15510Patch 8.2.2510
15511Problem: Internal error when popup with mask is zero height or width.
15512Solution: Bail out if width or height is zero. (closes #7831)
15513Files: src/popupwin.c, src/testdir/test_popupwin.vim
15514
15515Patch 8.2.2511
15516Problem: Vim9: cannot use Vim9 script syntax in some places.
15517Solution: Add the :vim9cmd command modifier. Incompatible: Makes ":vim9"
15518 mean ":vim9cmd" instead of ":vim9script".
15519Files: runtime/doc/vim9.txt, runtime/doc/repeat.txt, src/ex_docmd.c,
15520 src/ex_cmds.h, src/structs.h, src/ex_cmdidxs.h, src/errors.h,
15521 src/testdir/test_vim9_cmd.vim, src/testdir/test_cmdline.vim,
15522 src/testdir/dumps/Test_wildmenu_1.dump,
15523 src/testdir/dumps/Test_wildmenu_2.dump,
15524 src/testdir/dumps/Test_wildmenu_3.dump,
15525 src/testdir/dumps/Test_wildmenu_4.dump,
15526 src/testdir/test_quickfix.vim
15527
15528Patch 8.2.2512
15529Problem: Vim9: compiling error test sometimes fails.
15530Solution: use WaitForAssert() instead of sleeping for a bit. (Dominique
15531 Pellé, closes #7837)
15532Files: src/testdir/term_util.vim, src/testdir/test_vim9_func.vim,
15533 src/testdir/test_vim9_script.vim
15534
15535Patch 8.2.2513 (after 8.2.2511)
15536Problem: Vim9: missing part of :vim9cmd change.
15537Solution: Use command modifier in in_vim9script().
15538Files: src/vim9script.c
15539
15540Patch 8.2.2514 (after 8.2.2511)
15541Problem: Vim9: build error in tiny version.
15542Solution: Add #ifdef.
15543Files: src/ex_docmd.c
15544
15545Patch 8.2.2515
15546Problem: Memory access error when truncating an empty message.
15547Solution: Check for an empty string. (Dominique Pellé, closes #7841)
15548Files: src/message.c, src/message_test.c
15549
15550Patch 8.2.2516
15551Problem: Test failure on s390. (analyses by James McCoy)
15552Solution: Only set the try_finally label when not skipping.
15553Files: src/vim9compile.c
15554
15555Patch 8.2.2517
15556Problem: Vim9: fix for s390 not tested on other systems.
15557Solution: Add a test.
15558Files: src/testdir/test_vim9_script.vim
15559
15560Patch 8.2.2518
15561Problem: 'listchars' should be window-local.
15562Solution: Make 'listchars' global-local. (Yegappan Lakshmanan, Marco Hinz,
15563 closes #5206, closes #7850)
15564Files: runtime/doc/options.txt, src/buffer.c, src/charset.c,
15565 src/drawline.c, src/drawscreen.c, src/evalfunc.c, src/globals.h,
15566 src/indent.c, src/message.c, src/misc1.c, src/option.c,
15567 src/option.h, src/optiondefs.h, src/optionstr.c,
15568 src/proto/screen.pro, src/screen.c, src/structs.h,
15569 src/testdir/test_listchars.vim, src/testdir/test_listlbr.vim
15570
15571Patch 8.2.2519
15572Problem: Vim9: no reason to keep strange Vi behavior.
15573Solution: ":3" and ":3|" both go to line 3. ":|" does not print the line.
15574 (closes #7840)
15575Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
15576
15577Patch 8.2.2520
15578Problem: Missing tests for 'listchars'.
15579Solution: Add a few more checks. (Yegappan Lakshmanan, closes #7854)
15580Files: src/testdir/test_listchars.vim
15581
15582Patch 8.2.2521
15583Problem: Some compilers can't handle pointer initialization. (John
15584 Marriott)
15585Solution: Use a local struct and assign it afterwards.
15586Files: src/screen.c
15587
15588Patch 8.2.2522
15589Problem: Beancount filetype not recognized.
15590Solution: Add a detection rule. (Brian Ryall, closes #7859)
15591Files: runtime/filetype.vim, src/testdir/test_filetype.vim
15592
15593Patch 8.2.2523
15594Problem: Svelte filetype not recognized.
15595Solution: Add a detection rule. (Brian Ryall, closes #7858)
15596Files: runtime/filetype.vim, src/testdir/test_filetype.vim
15597
15598Patch 8.2.2524
15599Problem: Cannot change the characters displayed in the foldcolumn.
15600Solution: Add fields to 'fillchars'. (Yegappan Lakshmanan, Matthieu Coudron,
15601 closes #7860)
15602Files: runtime/doc/options.txt, src/globals.h, src/mouse.c, src/screen.c,
15603 src/testdir/test_display.vim
15604
15605Patch 8.2.2525
15606Problem: Vim9: only local variables checked for a name.
15607Solution: Also check arguments and script variables. (closes #7838)
15608Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
15609 src/testdir/test_vim9_cmd.vim
15610
15611Patch 8.2.2526 (after 8.2.2525)
15612Problem: Build failure.
15613Solution: Change lookup_scriptvar() arguments.
15614Files: src/evalvars.c, src/proto/evalvars.pro
15615
15616Patch 8.2.2527
15617Problem: Vim9: lambda return type is not determined at script level.
15618Solution: Compile the lambda to get the return type. (closes #7843)
15619Files: src/eval.c, src/vim.h, src/vim9.h,
15620 src/testdir/test_vim9_assign.vim
15621
15622Patch 8.2.2528
15623Problem: Vim9: crash when compiling lambda fails.
15624Solution: Bail out after compilation fails. (closes #7862)
15625Files: src/eval.c, src/testdir/test_vim9_assign.vim
15626
15627Patch 8.2.2529
15628Problem: Vim9: Not possible to use legacy and Vim9 script in one file.
15629Solution: Vim9: allow for "if false" before :vim9script. (closes #7851)
15630Files: runtime/doc/vim9.txt, src/ex_docmd.c,
15631 src/testdir/test_vim9_script.vim
15632
15633Patch 8.2.2530
15634Problem: Vim9: not enough testing for profiling.
15635Solution: Add a test with nested functions and a lambda. Fix profiling
15636 for calling a compiled function.
15637Files: src/profiler.c, src/proto/profiler.pro, src/userfunc.c,
15638 src/vim9execute.c, src/testdir/test_profile.vim
15639
15640Patch 8.2.2531
15641Problem: Vim9: the :k command is obscure.
15642Solution: Disallow using :k, can use :mark instead. (closes #7874)
15643Files: runtime/doc/vim9.txt, src/ex_docmd.c, src/vim9script.c,
15644 src/vim9compile.c, src/ex_cmds.h, src/testdir/test_vim9_script.vim
15645
15646Patch 8.2.2532
15647Problem: Vim9: confusing error if :k is used with a range.
15648Solution: Give an error about the range. (issue #7874)
15649Files: src/vim9script.c, src/vim9compile.c,
15650 src/testdir/test_vim9_script.vim
15651
15652Patch 8.2.2533
15653Problem: Vim9: cannot use a range with :unlet.
15654Solution: Implement ISN_UNLETRANGE.
15655Files: src/errors.h, src/eval.c, src/evalvars.c, src/list.c,
15656 src/proto/evalvars.pro, src/proto/list.pro, src/vim9.h,
Bram Moolenaar47c532e2022-03-19 15:18:53 +000015657 src/vim9compile.c, src/vim9execute.c,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000015658 src/testdir/test_vim9_assign.vim
15659
15660Patch 8.2.2534
15661Problem: Missing test coverage.
15662Solution: Improve test coverage for completion with different encodings,
15663 mapset(), and term function failures. (Dominique Pellé,
15664 closes #7877)
15665Files: src/testdir/test_edit.vim, src/testdir/test_maparg.vim,
15666 src/testdir/test_terminal3.vim
15667
15668Patch 8.2.2535
15669Problem: MS-Windows: cannot run all vim9 tests.
15670Solution: Make test_vim9 target work.
15671Files: src/Make_mvc.mak
15672
15673Patch 8.2.2536
15674Problem: Coverity complains about unchecked return value.
15675Solution: Add (void).
15676Files: src/userfunc.c
15677
15678Patch 8.2.2537
15679Problem: Vim9: crash when map() fails.
15680Solution: Clear typval before using it. (closes #7884)
15681Files: src/list.c, src/testdir/test_vim9_builtin.vim
15682
15683Patch 8.2.2538
15684Problem: Crash when using Python list iterator.
15685Solution: Increment the list reference count. (closes #7886)
15686Files: src/if_py_both.h, src/testdir/test_python3.vim
15687
15688Patch 8.2.2539
15689Problem: Vim9: return from finally block causes a hang.
15690Solution: Store both the finally and endtry indexes. (closes #7885)
15691Files: src/vim9execute.c, src/vim9compile.c, src/vim9.h,
15692 src/testdir/test_vim9_script.vim,
Bram Moolenaar47c532e2022-03-19 15:18:53 +000015693
Bram Moolenaarc51cf032022-02-26 12:25:45 +000015694Patch 8.2.2540
15695Problem: Vim9: no error for using script var name for argument.
15696Solution: Check for this error. (closes #7868)
15697Files: src/userfunc.c, src/vim9compile.c, src/proto/vim9compile.pro,
15698 src/testdir/test_vim9_func.vim
15699
15700Patch 8.2.2541
15701Problem: Popup_create() does not allow boolean for "cursorline".
15702Solution: Use dict_get_bool(). (issue #7869)
15703Files: src/popupwin.c, src/testdir/test_popupwin.vim
15704
15705Patch 8.2.2542
15706Problem: Highlight of char beyond line end is not correct. (Chuan Wei Foo)
15707Solution: Fix counting NUL as one cell. Draw one more character if the EOL
15708 is part of the match. (closes #7883)
15709Files: src/match.c, src/testdir/test_search.vim,
15710 src/testdir/dumps/Test_hlsearch_1.dump,
15711 src/testdir/dumps/Test_hlsearch_2.dump
15712
15713Patch 8.2.2543
15714Problem: Vim9: a return inside try/catch does not restore exception state
15715 properly.
15716Solution: When there is no ":finally" jump to ":endtry". (closes #7882)
15717Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
15718
15719Patch 8.2.2544
15720Problem: Vim9: error for argument when checking for lambda.
15721Solution: Respect the skip flag. (closes #7887)
15722Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
15723
15724Patch 8.2.2545
15725Problem: Errors and crash when terminal window is zero height. (Leonid V.
15726 Fedorenchik)
15727Solution: Do not resize when width or height is zero. (closes #7890)
15728Files: src/terminal.c, src/testdir/test_terminal.vim
15729
15730Patch 8.2.2546
15731Problem: Typo in mouse key name.
15732Solution: Fix the typo. (issue #4725)
15733Files: src/misc2.c
15734
15735Patch 8.2.2547
15736Problem: "%" command not accurate for big files.
15737Solution: Make it more accurate for files up to 21M lines. (Dominique Pellé,
15738 closes #7889)
15739Files: src/normal.c
15740
15741Patch 8.2.2548
15742Problem: May get stuck in the cmdline window using :normal.
15743Solution: Have nv_esc() return K_IGNORE.
15744Files: src/normal.c
15745
15746Patch 8.2.2549
15747Problem: Crash after using "g:" in a for loop.
15748Solution: Increment the reference count. (closes #7892)
15749Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
15750
15751Patch 8.2.2550
15752Problem: Signal stack size is wrong with latest glibc 2.34.
15753Solution: Use sysconf(_SC_SIGSTKSZ) if available. (Zdenek Dohnal, closes
15754 #7895)
15755Files: src/config.h.in, src/configure.ac, src/os_unix.c,
15756 src/auto/configure
15757
15758Patch 8.2.2551
15759Problem: MS-Windows: colors test file is not installed.
15760Solution: Also copy runtime/colors/tools. (Ken Takata, closes #7902)
15761Files: nsis/gvim.nsi
15762
15763Patch 8.2.2552
15764Problem: Vim9: no reason to consider "{{{{{{{{" a command.
15765Solution: Just use "{". (issue #7904)
15766Files: src/ex_cmds.h
15767
15768Patch 8.2.2553
15769Problem: Vim9: Cannot put "|" after "{".
15770Solution: Add the EX_TRLBAR flag. (issue #7904)
15771Files: src/ex_cmds.h, src/ex_eval.c
15772
15773Patch 8.2.2554
15774Problem: Vim9: exporting a final is not tested.
15775Solution: Add a test.
15776Files: src/testdir/test_vim9_script.vim
15777
15778Patch 8.2.2555
15779Problem: Vim9: missing test for 8.2.2553.
15780Solution: Add a simple test.
15781Files: src/testdir/test_vim9_script.vim
15782
15783Patch 8.2.2556
15784Problem: Vim9: :import with "as" not fully supported.
15785Solution: Implement "as" for more cases.
15786Files: src/vim9script.c, src/testdir/test_vim9_script.vim
15787
15788Patch 8.2.2557
15789Problem: Compiler warning for shadowed variable.
15790Solution: Declare "p" only once.
15791Files: src/vim9script.c
15792
15793Patch 8.2.2558
15794Problem: No error if a lambda argument shadows a variable.
15795Solution: Check that the argument name shadows a local, argument or script
15796 variable. (closes #7898)
15797Files: src/vim9compile.c, src/proto/vim9compile.pro, src/userfunc.c,
15798 src/vim9script.c, src/errors.h, src/testdir/test_vim9_func.vim,
15799 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_script.vim
15800
15801Patch 8.2.2559
15802Problem: MS-Windows: guifont test fails on Windows XP.
15803Solution: Check windowsversion().
15804Files: src/testdir/test_gui.vim
15805
15806Patch 8.2.2560
15807Problem: Setting 'winminheigt' does not take tabline into account.
15808Solution: Subtract the tabline from the available height. (closes #7899)
15809Files: src/window.c, src/testdir/test_options.vim
15810
15811Patch 8.2.2561
15812Problem: Not all textprop code is covered by tests.
15813Solution: Add a few more test cases. (Dominique Pellé, closes #7908)
15814Files: src/testdir/test_textprop.vim
15815
15816Patch 8.2.2562
Bram Moolenaar1588bc82022-03-08 21:35:07 +000015817Problem: GUI: star register changed when 'clipboard' is "unnamedplus". (Ingo
Bram Moolenaarc51cf032022-02-26 12:25:45 +000015818 Karkat)
15819Solution: Do not change the star register when 'clipboard' contains
15820 "unnamedplus" and not "unnamed". (closes #1516)
15821Files: src/register.c
15822
15823Patch 8.2.2563
15824Problem: Cannot use multibyte characters for folding in 'fillchars'.
15825Solution: Port pull request 11568 to Vim. (Yegappan Lakshmanan,
15826 closes #7924)
15827Files: src/drawline.c, src/drawscreen.c, src/macros.h,
15828 src/proto/screen.pro, src/screen.c, src/testdir/test_fold.vim,
15829 src/testdir/test_profile.vim
15830
15831Patch 8.2.2564
15832Problem: Focus events end Insert mode if 'esckeys' is not set.
15833Solution: Do not enable focus events when 'esckeys' is off. (closes #7926)
15834Files: src/term.c
15835
15836Patch 8.2.2565
15837Problem: Vim9: "..=" not always recognized.
15838Solution: Do not consider "..=" to be string concatenation. (closes #7905)
15839Files: src/eval.c, src/testdir/test_vim9_assign.vim
15840
15841Patch 8.2.2566
15842Problem: Vim9: Function name is not recognized.
15843Solution: Change lookup_scriptvar() to also find function names.
15844 (closes #7770)
15845Files: src/vim9script.c, src/evalvars.c, src/proto/evalvars.pro,
15846 src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
15847
15848Patch 8.2.2567
15849Problem: Vim9: no error if variable is defined for existing function.
15850Solution: Check if name isn't already in use. (closes #7897)
15851Files: src/evalvars.c, src/testdir/test_vim9_script.vim
15852
15853Patch 8.2.2568
15854Problem: Second time a preview popup is opened highlight is not set.
15855 (Gabriel Dupras)
15856Solution: Apply 'previewpopup' after getting the file. (closes #7928)
15857Files: src/tag.c, src/testdir/test_popupwin.vim,
15858 src/testdir/dumps/Test_popupwin_previewpopup_2.dump,
15859 src/testdir/dumps/Test_popupwin_previewpopup_3.dump,
15860 src/testdir/dumps/Test_popupwin_previewpopup_4.dump,
15861 src/testdir/dumps/Test_popupwin_previewpopup_5.dump
15862
15863Patch 8.2.2569
15864Problem: 'fillchars' "stl" and "stlnc" items must be single byte.
15865Solution: Accept multi-byte characters. (Christian Wellenbrock, Yegappan
15866 Lakshmanan, closes #7927)
15867Files: runtime/doc/options.txt, src/buffer.c, src/macros.h, src/screen.c,
15868 src/testdir/test_fold.vim, src/testdir/test_statusline.vim
15869
15870Patch 8.2.2570
15871Problem: Tests fail when run as root.
15872Solution: Add a comment mentioning the expected failure. (issue #7919)
15873Files: src/testdir/test_edit.vim, src/testdir/test_excmd.vim,
15874 src/testdir/test_help.vim, src/testdir/test_writefile.vim
15875
15876Patch 8.2.2571
15877Problem: Test may leave file behind.
15878Solution: Delete the temporary file. Don't profile in the running Vim
15879 instance.
15880Files: src/testdir/test_quickfix.vim, src/testdir/test_profile.vim
15881
15882Patch 8.2.2572
15883Problem: Vim9: crash when getting the types for a legacy function.
15884Solution: Initialize the type list growarray. (closes #7929)
15885Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
15886
15887Patch 8.2.2573
15888Problem: Vim9: using invalid pointer for error message.
15889Solution: Use the right pointer. (closes #7921)
15890Files: src/eval.c, src/testdir/test_vim9_expr.vim
15891
15892Patch 8.2.2574
15893Problem: Vim9: crash when calling partial with wrong function.
15894Solution: Check argument types of called function. (closes #7912)
15895Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
15896
15897Patch 8.2.2575
15898Problem: Vim9: a function name with "->" in the next line doesn't work.
15899Solution: Recognize a function name by itself. (closes #7770)
15900Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
15901
15902Patch 8.2.2576
15903Problem: Vim9: defining a :func function checks for white space after a
15904 comma in the arguments.
15905Solution: Only check for white space in a :def function. (closes #7930)
15906Files: src/userfunc.c, src/testdir/test_vim9_func.vim
15907
15908Patch 8.2.2577
15909Problem: Compiler warning for type conversion.
15910Solution: Add a typecast. (Mike Williams)
15911Files: src/drawline.c
15912
15913Patch 8.2.2578
15914Problem: Lua cannot handle a passed in lambda.
15915Solution: Handle VAR_PARTIAL. (Prabir Shrestha, closes #7937, closes #7936)
15916Files: src/if_lua.c, src/testdir/test_lua.vim
15917
15918Patch 8.2.2579
15919Problem: Vim9: crash in garbagecollect after for loop.
15920Solution: Do not set a reference in script item when the name was cleared.
15921 (closes #7935)
15922Files: src/evalvars.c
15923
15924Patch 8.2.2580
15925Problem: Vim9: checking vararg type is wrong when function is auto-loaded.
15926Solution: Use the member type. (closes #7933)
15927Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
15928
15929Patch 8.2.2581
15930Problem: Vim9: sourcing Vim9 script triggers a redraw.
15931Solution: Do not let setting/restoring 'cpoptions' cause a redraw.
15932 (closes #7920)
15933Files: src/vim.h, src/option.c, src/optionstr.c, src/scriptfile.c,
15934 src/vim9script.c, src/testdir/test_vim9_script.vim,
15935 src/testdir/dumps/Test_vim9_no_redraw.dump
15936
15937Patch 8.2.2582 (after 8.2.2581)
15938Problem: Vim9: screendump test fails on MS-Windows.
15939Solution: Use :function instead of :def.
15940Files: src/testdir/test_vim9_script.vim
15941
15942Patch 8.2.2583
15943Problem: Vim9: cannot compare result of getenv() with null.
15944Solution: Make the return type of getenv() "any". (closes #7943)
15945Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
15946
15947Patch 8.2.2584
15948Problem: Vim9: type error for assigning the result of list concatenation to
15949 a list.
15950Solution: Do not consider concatenation result in a constant. (closes #7942)
15951Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
15952
15953Patch 8.2.2585
15954Problem: Vim9: illegal memory access.
15955Solution: Check byte right after "null", not one more.
15956Files: src/vim9compile.c
15957
15958Patch 8.2.2586
15959Problem: Process id may be invalid.
15960Solution: Use sysinfo.uptime to check for recent reboot. (suggested by Hugo
15961 van der Sanden, closes #7947)
15962Files: src/configure.ac, src/auto/configure, src/config.h.in,
15963 src/memline.c, src/testing.c, src/globals.h,
15964 src/testdir/test_recover.vim
15965
15966Patch 8.2.2587 (after 8.2.2586)
15967Problem: Recover test fails on FreeBSD.
15968Solution: Check for Linux.
15969Files: src/testdir/check.vim, src/testdir/test_recover.vim
15970
15971Patch 8.2.2588 (after 8.2.2586)
15972Problem: Build failure with tiny features.
15973Solution: Add #ifdef. Run recover test separately.
15974Files: src/memline.c, src/testdir/Make_all.mak, src/testdir/test_alot.vim
15975
15976Patch 8.2.2589 (after 8.2.2586)
15977Problem: Recover test hangs in the GUI.
15978Solution: Add g:skipped_reason to skip a _nocatch_ test.
15979Files: src/testdir/runtest.vim, src/testdir/test_recover.vim
15980
15981Patch 8.2.2590
15982Problem: Vim9: default argument value may cause internal error.
15983Solution: Hide later function arguments when compiling the expression.
15984 (closes #7948)
15985Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
15986
15987Patch 8.2.2591
15988Problem: Poke files are not recognized.
15989Solution: Add a filetype entry. (Matt Ihlenfield)
15990Files: runtime/filetype.vim, src/testdir/test_filetype.vim
15991
15992Patch 8.2.2592
15993Problem: Code coverage could be improved.
15994Solution: Add a few more tests. (Dominique Pellé, closes #7957)
15995Files: src/testdir/test_fileformat.vim, src/testdir/test_normal.vim,
15996 src/testdir/test_sleep.vim, src/testdir/test_textformat.vim,
15997 src/testdir/test_viminfo.vim
15998
15999Patch 8.2.2593
16000Problem: List of distributed files is incomplete.
16001Solution: Add a file and rename another.
16002Files: Filelist
16003
16004Patch 8.2.2594
16005Problem: Alternate buffer added to session file even when it's hidden.
16006Solution: Check the 'buflisted' option. (closes #7951)
16007Files: src/session.c, src/testdir/test_mksession.vim
16008
16009Patch 8.2.2595
16010Problem: Setting 'winminheight' may cause 'lines' to change.
16011Solution: Also take minimal height of other tabpages into account. (#7899)
16012Files: src/window.c, src/testdir/test_options.vim
16013
16014Patch 8.2.2596
16015Problem: :doautocmd may confuse scripts listening to WinEnter.
16016Solution: Do the current buffer last. (closes #7958)
16017Files: src/autocmd.c, src/testdir/test_autocmd.vim
16018
16019Patch 8.2.2597
16020Problem: Vim9: "import * as" does not work at script level.
16021Solution: Implement using an imported namespace.
16022Files: src/vim.h, src/eval.c, src/evalvars.c, src/proto/evalvars.pro,
16023 src/vim9execute.c, src/errors.h, src/vim9script.c,
16024 src/proto/vim9script.pro, src/testdir/test_vim9_script.vim
16025
16026Patch 8.2.2598
16027Problem: Vim9: :open does not need to be supported.
16028Solution: Do not support :open in Vim9 script.
16029Files: src/ex_docmd.c, src/vim9script.c, src/testdir/test_vim9_script.vim
16030
16031Patch 8.2.2599 (after 8.2.2597)
16032Problem: Build failure.
16033Solution: Add missing change.
16034Files: src/vim9compile.c
16035
16036Patch 8.2.2600
16037Problem: Vim9: crash when putting an unknown type in a dictionary.
16038 (Yegappan Lakshmanan)
16039Solution: Handle a NULL type pointer.
16040Files: src/vim9type.c, src/testdir/test_vim9_builtin.vim
16041
16042Patch 8.2.2601
16043Problem: Memory usage test often fails on FreeBSD.
16044Solution: Increase multiplier for upper limit.
16045Files: src/testdir/test_memory_usage.vim
16046
16047Patch 8.2.2602
16048Problem: Vim9: continue doesn't work if :while is very first command.
16049 (Yegappan Lakshmanan)
16050Solution: Add one to the continue instruction index.
16051Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
16052
16053Patch 8.2.2603
16054Problem: Vim9: no effect if user command is also a function.
16055Solution: Check for paren following. (closes #7960)
16056Files: src/evalvars.c, src/proto/evalvars.pro, src/ex_docmd.c,
16057 src/proto/ex_docmd.pro, src/vim9compile.c,
16058 src/testdir/test_vim9_cmd.vim
16059
16060Patch 8.2.2604
16061Problem: GUI-specific command line arguments not tested.
16062Solution: Add tests for several arguments. (Dominique Pellé, closes #7962)
16063Files: src/testdir/test_startup.vim
16064
16065Patch 8.2.2605
16066Problem: Vim9: string index and slice does not include composing chars.
16067Solution: Include composing characters. (issue #6563)
16068Files: runtime/doc/vim9.txt, src/vim9execute.c,
16069 src/testdir/test_vim9_expr.vim
16070
16071Patch 8.2.2606
16072Problem: strchars() defaults to counting composing characters.
16073Solution: Add strcharlen() which ignores composing characters.
16074Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
16075 src/testdir/test_utf8.vim
16076
16077Patch 8.2.2607
16078Problem: strcharpart() cannot include composing characters.
16079Solution: Add the {skipcc} argument.
16080Files: runtime/doc/eval.txt, src/evalfunc.c,
16081 src/testdir/test_expr_utf8.vim
16082
16083Patch 8.2.2608
16084Problem: Character input not fully tested.
16085Solution: Add more tests. (Yegappan Lakshmanan, closes #7963)
16086Files: src/testdir/test_functions.vim, src/testdir/test_messages.vim,
16087 src/testdir/test_paste.vim, src/testdir/test_registers.vim,
16088 src/testdir/test_undo.vim
16089
16090Patch 8.2.2609
16091Problem: Test disabled on MS-Windows even though it should work.
16092Solution: Restore the condition for skipping the test. (Ken Takata,
16093 closes #7970)
16094Files: src/testdir/test_startup.vim
16095
16096Patch 8.2.2610
16097Problem: Mouse click test fails when using remote connection.
16098Solution: Use a larger 'mousetime'. (Dominique Pellé, closes #7968)
16099Files: src/testdir/test_selectmode.vim
16100
16101Patch 8.2.2611
16102Problem: Conditions for startup tests are not exactly right.
16103Solution: Check for type of GUI instead of MS-Windows. (Ozaki Kiichi,
16104 closes #7976)
16105Files: src/main.c, src/testdir/check.vim, src/testdir/test_startup.vim
16106
16107Patch 8.2.2612
16108Problem: col('.') may get outdated column value.
16109Solution: Add a note to the help how to make this work and add a test for
16110 it. (closes #7971)
16111Files: runtime/doc/map.txt, src/testdir/test_mapping.vim
16112
16113Patch 8.2.2613 (after 8.2.2612)
16114Problem: New test throws exception.
16115Solution: Adjust the function cleanup.
16116Files: src/testdir/test_mapping.vim
16117
16118Patch 8.2.2614
16119Problem: Vim9: function is deleted while executing.
16120Solution: increment the call count, when more than zero do not delete the
16121 function but mark it as dead. (closes #7977)
16122Files: src/vim9execute.c, src/userfunc.c,
16123 src/testdir/test_vim9_script.vim
16124
16125Patch 8.2.2615 (after 8.2.2614)
16126Problem: Test is sourcing the wrong file.
16127Solution: Correct the file name.
16128Files: src/testdir/test_vim9_script.vim
16129
16130Patch 8.2.2616
16131Problem: Vim9: if 'cpo' is changed in Vim9 script it may be restored.
16132Solution: Apply the changes to 'cpo' to the restored value.
16133Files: runtime/doc/vim9.txt, src/scriptfile.c,
16134 src/testdir/test_vim9_script.vim
16135
16136Patch 8.2.2617
16137Problem: Vim9: script variable in a block scope not found by a nested
16138 function.
16139Solution: Copy the block scope IDs before compiling the function.
16140Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
16141 src/testdir/test_vim9_disassemble.vim
16142
16143Patch 8.2.2618
16144Problem: Vim9: cannot use a normal list name to store function refs.
16145Solution: Allow a lower case name if it is indexed.
16146Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
16147
16148Patch 8.2.2619
16149Problem: Vim9: no test for return type of lambda.
16150Solution: Add a test.
16151Files: src/testdir/test_vim9_func.vim
16152
16153Patch 8.2.2620
16154Problem: Vim9: Using #{ for a dictionary gives strange errors.
16155Solution: Give an error when using #{ for a comment after a command.
16156Files: src/vim9compile.c, src/vim9script.c, src/proto/vim9script.pro,
16157 src/errors.h, src/testdir/test_vim9_expr.vim,
16158 src/testdir/test_vim9_script.vim
16159
16160Patch 8.2.2621
16161Problem: typval2type() cannot handle recursive structures.
16162Solution: Use copyID. (closes #7979)
16163Files: src/list.c, src/vim9script.c, src/vim9type.c,
16164 src/proto/vim9type.pro, src/testdir/test_vimscript.vim
16165
16166Patch 8.2.2622
16167Problem: GTK: error when starting up and -geometry is given. (Dominique
16168 Pellé)
16169Solution: Use another function to get the monitor if the window has not been
16170 created yet. (closes #7978)
16171Files: src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro, src/gui_beval.c,
16172 src/gui_xim.c
16173
16174Patch 8.2.2623
16175Problem: Some tests fail when run as root.
16176Solution: Use CheckNotRoot.
16177Files: src/testdir/test_edit.vim, src/testdir/test_excmd.vim,
16178 src/testdir/test_help.vim, src/testdir/test_writefile.vim
16179
16180Patch 8.2.2624
16181Problem: Atom files not recognized.
16182Solution: Recognize .atom as XML. (Kivin Locke, closes #7986)
16183Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16184
16185Patch 8.2.2625
16186Problem: Rss files not recognized.
16187Solution: Recognize .rss as XML. (Kivin Locke, closes #7987)
16188Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16189
16190Patch 8.2.2626
16191Problem: GTK3: error when starting up and -geometry is given. (Dominique
16192 Pellé)
16193Solution: Use another function to get the monitor if the window has not been
16194 created yet. (closes #7978)
16195Files: src/gui_gtk_x11.c
16196
16197Patch 8.2.2627
16198Problem: No need to check for BSD after checking for not root.
16199Solution: Remove CheckNotBSD. (Ozaki Kiichi, closes #7989)
16200Files: src/testdir/test_excmd.vim, src/testdir/test_help.vim,
16201 src/testdir/check.vim
16202
16203Patch 8.2.2628
16204Problem: Vim9: #{ can still be used at the script level.
16205Solution: Give an error for #{ like in a :def function.
16206Files: src/eval.c, src/ex_docmd.c, src/testdir/test_vim9_expr.vim
16207
16208Patch 8.2.2629
16209Problem: Vim9: error for #{{ is not desired.
16210Solution: Adjust the checks. (closes #7990)
16211Files: src/errors.h, src/vim9script.c, src/ex_docmd.c,
16212 src/testdir/test_vim9_expr.vim
16213
16214Patch 8.2.2630
16215Problem: Hard to see where a test gets stuck.
16216Solution: Print the executed test function. (Dominique Pellé, closes #7975)
16217Files: src/testdir/Makefile
16218
16219Patch 8.2.2631
16220Problem: Commands from winrestcmd() do not always work properly. (Leonid V.
16221 Fedorenchik)
16222Solution: Repeat the size commands twice. (closes #7988)
16223Files: src/evalwindow.c, src/testdir/test_window_cmd.vim
16224
16225Patch 8.2.2632
16226Problem: Not all command line arguments are tested.
16227Solution: Add tests for -D and -serverlist. (Dominique Pellé, closes #7992)
16228Files: src/testdir/test_clientserver.vim, src/testdir/test_startup.vim
16229
16230Patch 8.2.2633
16231Problem: Multi-byte 'fillchars' for folding do not show properly.
16232Solution: Handle multi-byte characters correctly. (Yegappan Lakshmanan,
16233 closes #7983, closes #7955)
16234Files: src/screen.c, src/testdir/test_fold.vim
16235
16236Patch 8.2.2634
16237Problem: 'tagfunc' does not indicate using a pattern.
16238Solution: Add the "r" flag. (Andy Massimino, closes #7982)
16239Files: runtime/doc/tagsrch.txt, src/tag.c, src/testdir/test_tagfunc.vim
16240
16241Patch 8.2.2635
16242Problem: Vim9: cannot define an inline function.
16243Solution: Make an inline function mostly work.
16244Files: src/userfunc.c, src/errors.h, src/vim9compile.c, src/misc2.c,
16245 src/proto/vim9compile.pro, src/testdir/test_vim9_expr.vim
16246
16247Patch 8.2.2636 (after 8.2.2635)
16248Problem: Memory leak when compiling inline function.
16249Solution: Free the prefetched line.
16250Files: src/userfunc.c, src/vim9compile.c, src/structs.h, src/globals.h,
16251 src/eval.c
16252
16253Patch 8.2.2637
16254Problem: prop_remove() causes a redraw even when nothing changed.
16255Solution: Only redraw if a property was removed. (Dominique Pellé)
16256Files: src/textprop.c
16257
16258Patch 8.2.2638
16259Problem: Cannot write a message to the terminal from the GUI.
16260Solution: Add :echoconsole and use it in the test runner. (issue #7975)
16261Files: runtime/doc/eval.txt, runtime/doc/index.txt, src/ex_cmds.h,
16262 src/ex_cmdidxs.h, src/eval.c, src/ui.c, src/proto/ui.pro,
16263 src/term.c, src/testdir/runtest.vim
16264
16265Patch 8.2.2639 (after 8.2.2638)
16266Problem: Build failure when fsync() is not available.
16267Solution: Add #ifdef.
16268Files: src/ui.c
16269
16270Patch 8.2.2640
16271Problem: screenstring() returns non-existing composing characters.
16272Solution: Only use composing characters if there is a base character.
16273Files: src/evalfunc.c, src/testdir/test_listchars.vim
16274
16275Patch 8.2.2641
16276Problem: Display test fails because of lacking redraw.
16277Solution: Add a redraw command.
16278Files: src/testdir/test_display.vim
16279
16280Patch 8.2.2642
16281Problem: Vim9: no clear error for wrong inline function.
16282Solution: Check for something following the "{".
16283Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
16284
16285Patch 8.2.2643
16286Problem: Various code not covered by tests.
16287Solution: Add a few more test. (Yegappan Lakshmanan, closes #7995)
16288Files: src/testdir/test_edit.vim, src/testdir/test_functions.vim,
16289 src/testdir/test_mapping.vim, src/testdir/test_termcodes.vim,
16290 src/testdir/test_undo.vim
16291
16292Patch 8.2.2644
16293Problem: prop_clear() causes a screen update even when nothing changed.
16294Solution: Only redraw when a property was cleared. (Dominique Pellé)
16295Files: src/textprop.c
16296
16297Patch 8.2.2645
16298Problem: Using inline function is not properly tested.
16299Solution: Add test cases, esp. for errors. Minor code improvements.
16300Files: src/userfunc.c, src/errors.h, src/testdir/test_vim9_expr.vim,
16301 src/testdir/test_vim9_func.vim
16302
16303Patch 8.2.2646
16304Problem: Vim9: error for not using string doesn't mention argument.
16305Solution: Add argument number.
16306Files: src/filepath.c, src/typval.c, src/proto/typval.pro, src/errors.h,
16307 src/mbyte.c, src/testdir/test_vim9_builtin.vim
16308
16309Patch 8.2.2647
16310Problem: Terminal test sometimes hangs.
16311Solution: Wait for the shell to display a prompt.
16312Files: src/testdir/test_terminal.vim
16313
16314Patch 8.2.2648
16315Problem: Terminal resize test sometimes hangs.
16316Solution: Wait for the shell to display a prompt and other output.
16317Files: src/testdir/test_terminal2.vim
16318
16319Patch 8.2.2649
16320Problem: Vim9: some wincmd arguments cause a white space error.
16321Solution: Insert a space before the count. (closes #8001)
16322Files: src/window.c, src/testdir/test_vim9_cmd.vim
16323
16324Patch 8.2.2650
16325Problem: Vim9: command modifiers not handled in nested function.
16326Solution: Keep function-local info in a structure and save it on the stack.
16327Files: src/vim9execute.c, src/vim9.h, src/testdir/test_vim9_func.vim
16328
16329Patch 8.2.2651
16330Problem: Vim9: restoring command modifiers happens after jump.
16331Solution: Move the restore instruction to before the jump. (closes #8006)
16332 Also handle for and while.
16333Files: src/vim9compile.c, src/vim9execute.c,
16334 src/testdir/test_vim9_disassemble.vim
16335
16336Patch 8.2.2652
16337Problem: Vim9: can use command modifier without an effect.
16338Solution: Give an error for a misplaced command modifier. Fix error message
16339 number.
16340Files: src/vim9compile.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
16341 src/ex_eval.c, src/testdir/test_vim9_cmd.vim,
16342 src/testdir/test_vim9_builtin.vim,
16343 src/testdir/test_vim9_disassemble.vim
16344
16345Patch 8.2.2653
16346Problem: Build failure.
16347Solution: Add missing changes.
16348Files: src/errors.h
16349
16350Patch 8.2.2654
16351Problem: Vim9: getting a character from a string can be slow.
16352Solution: Avoid a function call to get the character byte size. (#8000)
16353Files: src/vim9execute.vim
16354
16355Patch 8.2.2655
16356Problem: The -w command line argument doesn't work.
16357Solution: Don't set 'window' when set with the -w argument. (closes #8011)
16358Files: src/term.c, src/testdir/test_startup.vim
16359
16360Patch 8.2.2656
16361Problem: Some command line arguments and regexp errors not tested.
16362Solution: Add a few test cases. (Dominique Pellé, closes #8013)
16363Files: src/testdir/test_regexp_latin.vim, src/testdir/test_startup.vim
16364
16365Patch 8.2.2657
16366Problem: Vim9: error message for declaring variable in for loop.
16367Solution: Clear variables when entering block again. (closes #8012)
16368Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
16369
16370Patch 8.2.2658
16371Problem: :for cannot loop over a string.
16372Solution: Accept a string argument and iterate over its characters.
16373Files: runtime/doc/eval.txt, src/eval.c, src/vim9compile.c,
16374 src/vim9execute.c, src/errors.h, src/testdir/test_vimscript.vim,
16375 src/testdir/test_vim9_disassemble.vim,
16376 src/testdir/test_vim9_script.vim
16377
16378Patch 8.2.2659 (after 8.2.2658)
16379Problem: Eval test fails because for loop on string works.
16380Solution: Check looping over function reference fails.
16381Files: src/testdir/test_eval_stuff.vim
16382
16383Patch 8.2.2660
16384Problem: Vim9: no error for declaration with trailing text.
16385Solution: Give an error. (closes #8014)
16386Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
16387
16388Patch 8.2.2661
16389Problem: Leaking memory when looping over a string.
16390Solution: Free the memory.
16391Files: src/eval.c
16392
16393Patch 8.2.2662
16394Problem: There is no way to avoid some escape sequences.
16395Solution: Suppress escape sequences when the --not-a-term argument is used.
16396 (Gary Johnson)
16397Files: src/main.c, src/os_unix.c, src/testdir/test_startup.vim
16398
16399Patch 8.2.2663
16400Problem: Vim9: leaking memory when inline function has an error.
16401Solution: Free the partially allocated function.
16402Files: src/userfunc.c
16403
16404Patch 8.2.2664
16405Problem: Vim9: not enough function arguments checked for string.
16406Solution: Check in balloon functions. Refactor function arguments.
16407Files: src/typval.c, src/proto/typval.pro, src/filepath.c,
16408 src/evalfunc.c, src/mbyte.c, src/testdir/test_vim9_builtin.vim
16409
16410Patch 8.2.2665 (after 8.2.2664)
16411Problem: Test failures.
16412Solution: Check more specific feature. Add missing change.
16413Files: src/testdir/test_vim9_builtin.vim, src/evalbuffer.c
16414
16415Patch 8.2.2666
16416Problem: Vim9: not enough function arguments checked for string.
16417Solution: Check in ch_logfile(), char2nr() and others.
16418Files: src/channel.c, src/evalfunc.c, src/filepath.c, src/eval.c,
16419 src/testdir/test_vim9_builtin.vim
16420
16421Patch 8.2.2667
16422Problem: prop_find() cannot find item matching both id and type.
16423Solution: Add the "both" argument. (Naohiro Ono, closes #8019)
16424Files: runtime/doc/textprop.txt, src/testdir/test_textprop.vim,
16425 src/textprop.c
16426
16427Patch 8.2.2668
16428Problem: Vim9: omitting "call" for "confirm()" does not give an error.
16429Solution: Do not recognize a modifier followed by "(".
16430Files: src/ex_docmd.c, src/testdir/test_vim9_builtin.vim
16431
16432Patch 8.2.2669
16433Problem: Command line completion does not work after "vim9".
16434Solution: Include the "9". (Naohiro Ono, closes #8025)
16435Files: src/cmdexpand.c, src/ex_docmd.c, src/testdir/test_cmdline.vim
16436
16437Patch 8.2.2670
16438Problem: Vim9: error for append(0, text).
16439Solution: Check for negative number. (closes #8022)
16440Files: src/typval.c, src/testdir/test_vim9_builtin.vim
16441
16442Patch 8.2.2671 (after 8.2.2670)
16443Problem: Error for line number in legacy script.
16444Solution: Check for number type.
16445Files: src/typval.c
16446
16447Patch 8.2.2672
16448Problem: Vim9: cannot use :lockvar and :unlockvar in compiled script.
16449Solution: Implement locking support.
16450Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_cmd.vim
16451
16452Patch 8.2.2673
16453Problem: Vim9: script-local funcref can have lower case name.
16454Solution: Require an upper case name.
16455Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
16456
16457Patch 8.2.2674
16458Problem: Motif: cancelling the font dialog resets the font.
16459Solution: When no font is selected to not change the font. (closes #7825,
16460 closes #8035) Fix compiler warnings.
16461Files: src/gui_x11.c, src/gui_motif.c
16462
16463Patch 8.2.2675
16464Problem: Directory change in a terminal window shell is not followed.
16465Solution: Add the 'autoshelldir' option. (closes #6290)
16466Files: runtime/doc/options.txt, runtime/doc/quickref.txt,
16467 runtime/optwin.vim, src/charset.c, src/feature.h, src/option.h,
16468 src/optiondefs.h, src/terminal.c, src/testdir/check.vim,
16469 src/testdir/test_terminal3.vim
16470
16471Patch 8.2.2676
16472Problem: Missing error message.
16473Solution: Add new error message.
16474Files: src/errors.h
16475
16476Patch 8.2.2677
16477Problem: Vim9: cannot use only some of the default arguments.
16478Solution: Use v:none to use default argument value. Remove
16479 uf_def_arg_idx[], use JUMP_IF_ARG_SET. (closes #6504)
16480Files: runtime/doc/vim9.txt, src/vim9compile.c, src/vim9execute.c,
16481 src/userfunc.c, src/structs.h, src/vim9.h,
16482 src/testdir/test_vim9_disassemble.vim,
16483 src/testdir/test_vim9_func.vim
16484
16485Patch 8.2.2678
16486Problem: Test for 'autoshelldir' does not reset the option.
16487Solution: Reset the option after testing.
16488Files: src/testdir/test_terminal3.vim
16489
16490Patch 8.2.2679
16491Problem: Winbar drawn over status line for non-current window with winbar
16492 if frame is zero height. (Leonid V. Fedorenchik)
16493Solution: Do not draw the window if the frame height is zero. (closes #8037)
16494Files: src/drawscreen.c, src/testdir/test_winbar.vim,
16495 src/testdir/dumps/Test_winbar_not_visible.dump
16496
16497Patch 8.2.2680
16498Problem: Vim9: problem defining a script variable from legacy function.
16499Solution: Check if the script is Vim9, not the current syntax.
16500 (closes #8032)
16501Files: src/vim9script.c, src/proto/vim9script.pro, src/evalvars.c,
16502 src/testdir/test_vim9_script.vim
16503
16504Patch 8.2.2681
16505Problem: Vim9: test fails for redeclaring script variable.
16506Solution: It's OK to assign to an existing script variable in legacy.
16507Files: src/evalvars.c
16508
16509Patch 8.2.2682
16510Problem: Vim9: cannot find Name.Func from "import * as Name". (Alexander
16511 Goussas)
16512Solution: When no variable found try finding a function. (closes #8045)
16513 Check that the function was exported.
16514Files: src/vim9compile.c, src/vim9script.c,
16515 src/testdir/test_vim9_script.vim
16516
16517Patch 8.2.2683
16518Problem: Build failure without the +eval feature.
16519Solution: Add #ifdef.
16520Files: src/vim9script.c
16521
16522Patch 8.2.2684
16523Problem: Not enough folding code is tested.
16524Solution: Add more test cases. (Yegappan Lakshmanan, closes #8046)
16525Files: src/testdir/test_fold.vim, src/testdir/test_mksession.vim,
16526 src/testdir/test_source.vim
16527
16528Patch 8.2.2685 (after 8.2.2152)
16529Problem: Custom statusline not drawn correctly with WinBar.
16530Solution: Also adjust the column for the custom status line. (Yee Cheng
16531 Chin, closes #8047)
16532Files: src/drawscreen.c, src/proto/drawscreen.pro, src/screen.c,
16533 src/testdir/dumps/Test_winbar_not_visible_custom_statusline.dump,
16534 src/testdir/test_winbar.vim
16535
16536Patch 8.2.2686
16537Problem: Status line is not updated when going to cmdline mode.
16538Solution: Redraw status lines if 'statusline' is set and going to status
16539 line mode. (based on patch from Justin M. Keyes et al.,
16540 closes #8044)
16541Files: src/ex_getln.c, src/testdir/test_statusline.vim,
16542 src/testdir/dumps/Test_statusline_mode_1.dump,
16543 src/testdir/dumps/Test_statusline_mode_2.dump
16544
16545Patch 8.2.2687
16546Problem: Vim9: cannot use "const" for global variable in :def function.
16547Solution: Do allow using :const for a global variable. (closes #8030)
16548Files: src/vim9compile.c, src/vim9execute.c,
16549 src/testdir/test_vim9_assign.vim
16550
16551Patch 8.2.2688
16552Problem: Vim9: crash when using s: for script variable.
16553Solution: Pass the end pointer. (closes #8045)
16554Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
16555
16556Patch 8.2.2689
16557Problem: Tiny build fails.
16558Solution: Add #ifdef around use of p_stl.
16559Files: src/ex_getln.c
16560
16561Patch 8.2.2690
16562Problem: PowerShell files are not recognized.
16563Solution: Recognize several PowerShell extension. (Heath Stewart,
16564 closes #8051)
16565Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16566
16567Patch 8.2.2691
16568Problem: Autoconf may mess up compiler flags.
16569Solution: Handle removing FORTIFY_SOURCE a bit better. (Vladimir Lomov,
16570 closes #8049)
16571Files: src/configure.ac, src/auto/configure
16572
16573Patch 8.2.2692
16574Problem: Vim9: locked script variable can be changed.
16575Solution: Check for locked value. (closes #8031)
16576Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
16577
16578Patch 8.2.2693
16579Problem: Vim9: locked script variable can be changed.
16580Solution: Check legacy script variable for being locked. (issue #8031)
16581Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
16582
16583Patch 8.2.2694
16584Problem: When 'matchpairs' is empty every character beeps. (Marco Hinz)
16585Solution: Bail out when no character in 'matchpairs' was found.
16586 (closes #8053) Add assert_nobeep().
16587Files: runtime/doc/testing.txt, runtime/doc/eval.txt, src/search.c,
16588 src/testing.c, src/proto/testing.pro, src/evalfunc.c,
16589 src/testdir/test_textformat.vim
16590
16591Patch 8.2.2695
16592Problem: Cursor position reset with nested autocommands.
16593Solution: Only check and reset line numbers for not nested autocommands.
16594 (closes #5820)
16595Files: src/autocmd.c, src/testdir/test_terminal.vim
16596
16597Patch 8.2.2696
16598Problem: Lua test fails with Lua 5.4.3 and later.
16599Solution: Check for different error messages. (Yegappan Lakshmanan,
16600 closes #8050)
16601Files: src/testdir/test_lua.vim
16602
16603Patch 8.2.2697
16604Problem: Function list test fails.
16605Solution: Add missing function. (Yegappan Lakshmanan)
16606Files: runtime/doc/usr_41.txt
16607
16608Patch 8.2.2698 (after 8.2.2696)
16609Problem: Lua test fails on MS-Windows.
16610Solution: Fall back to old method if "lua -v" doesn't work.
16611Files: src/testdir/test_lua.vim
16612
16613Patch 8.2.2699
16614Problem: Lua test fails.
16615Solution: Fix condition. (Yegappan Lakshmanan, closes #8060)
16616Files: src/testdir/test_lua.vim
16617
16618Patch 8.2.2700
16619Problem: Nested autocmd test fails sometimes.
16620Solution: Wait for the job to finish.
16621Files: src/testdir/test_terminal.vim
16622
16623Patch 8.2.2701
16624Problem: Order of removing FORTIFY_SOURCE is wrong.
16625Solution: Use the more specific pattern first.
16626Files: src/configure.ac, src/auto/configure
16627
16628Patch 8.2.2702
16629Problem: Compiler completion test fails when more scripts are added.
16630Solution: Add a more generic pattern.
16631Files: src/testdir/test_compiler.vim
16632
16633Patch 8.2.2703
16634Problem: Vim9: memory leak when failing on locked variable.
16635Solution: Free the memory.
16636Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
16637
16638Patch 8.2.2704
16639Problem: Adding a lot of completions can be a bit slow.
16640Solution: Use fast_breakcheck() instead of ui_breakcheck() when adding a
16641 list of completions. (Ben Jackson, closes #8061)
16642Files: src/insexpand.c
16643
16644Patch 8.2.2705
16645Problem: Vim9: misleading reported line number for wrong type.
16646Solution: Remember and use the line number at the start. (closes #8059)
16647Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
16648
16649Patch 8.2.2706
16650Problem: Vim9: wrong line number reported for boolean operator.
16651Solution: Use the line number before skipping over line break.
16652 (closes #8058)
16653Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
16654
16655Patch 8.2.2707 (after 8.2.2704)
16656Problem: Adding a lot of completions can still be a bit slow.
16657Solution: Add the check for CP_FAST. (Ben Jackson)
16658Files: src/insexpand.c
16659
16660Patch 8.2.2708
16661Problem: Test sometimes fails waiting for shell in terminal.
16662Solution: Use WaitForAssert() so we can see the actual job status. Use
16663 Run_shell_in_terminal().
16664Files: src/testdir/term_util.vim, src/testdir/test_mksession.vim
16665
16666Patch 8.2.2709
16667Problem: The GTK GUI has a gap next to the scrollbar.
16668Solution: Calculate the scrollbar padding for GTK. (closes #8027)
16669Files: src/gui_gtk.c
16670
16671Patch 8.2.2710
16672Problem: Vim9: not all tests cover script and :def function.
16673Solution: Run tests in both if possible. Fix differences.
16674Files: src/eval.c, src/vim9compile.c, src/vim9execute.c,
16675 src/testdir/vim9.vim, src/testdir/test_vim9_expr.vim
16676
16677Patch 8.2.2711
16678Problem: "gj" in a closed fold does not move out of the fold. (Marco Hinz)
16679Solution: Add a check for being in a closed fold. (closes #8062)
16680Files: src/normal.c, src/testdir/test_fold.vim
16681
16682Patch 8.2.2712
16683Problem: Memory leak when adding to a blob fails.
16684Solution: Clear the second typval before returning.
16685Files: src/eval.c
16686
16687Patch 8.2.2713
16688Problem: Folding code not sufficiently tested.
16689Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #8064)
16690Files: src/testdir/test_fold.vim
16691
16692Patch 8.2.2714
16693Problem: Filetype pattern ending in star is too far up.
16694Solution: Move down to where patterns ending in star belong. (closes #8065)
16695Files: runtime/filetype.vim, src/testdir/test_filetype.vim
16696
16697Patch 8.2.2715
16698Problem: Vim9: tests fail without the channel feature. (Dominique Pellé)
16699Solution: Check for the channel feature. (closes #8063)
16700Files: src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim
16701
16702Patch 8.2.2716
16703Problem: The equivalent class regexp is missing some characters.
16704Solution: Update the list of equivalent characters. (Dominique Pellé,
16705 closes #8029)
16706Files: src/regexp_bt.c, src/regexp_nfa.c,
16707 src/testdir/test_regexp_utf8.vim
16708
16709Patch 8.2.2717
16710Problem: GTK menu items don't show a tooltip.
16711Solution: Add a callback to show the tooltip. (Leonid V. Fedorenchik,
16712 closes #8067, closes #7810)
16713Files: src/gui_gtk.c
16714
16715Patch 8.2.2718
16716Problem: Vim9: no explicit test for using a global function without the g:
16717 prefix.
16718Solution: Add a test case.
16719Files: src/testdir/test_vim9_func.vim
16720
16721Patch 8.2.2719
16722Problem: Vim9: appending to dict item doesn't work in a :def function.
16723Solution: Implement assignment with operator on indexed item.
16724Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
16725
16726Patch 8.2.2720
16727Problem: GTK menu tooltip moves the cursor.
16728Solution: Position the cursor after displaying the tooltip. Do not show the
16729 tooltip when editing the command line.
16730Files: src/gui_gtk.c
16731
16732Patch 8.2.2721
16733Problem: Vim9: cannot have a linebreak inside a lambda.
16734Solution: Compile the expression before the arguments.
16735Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
16736
16737Patch 8.2.2722
16738Problem: Vim9: crash when using LHS with double index.
16739Solution: Handle lhs_dest which is "dest_expr". (closes #8068)
16740 Fix confusing error message for missing dict item.
16741Files: src/vim9compile.c, src/eval.c, src/testdir/test_vim9_assign.vim
16742
16743Patch 8.2.2723 (after 8.2.2722)
16744Problem: Assignment test fails.
16745Solution: Adjust error number.
16746Files: src/testdir/test_let.vim
16747
16748Patch 8.2.2724 (after 8.2.2722)
16749Problem: Vim9: concatenating to list in dict not tested.
16750Solution: Add a test. (issue #8068)
16751Files: src/testdir/test_vim9_assign.vim
16752
16753Patch 8.2.2725
16754Problem: Vim9: message about compiling is wrong when using try/catch.
16755Solution: Store the compiling flag with the message. (closes #8071)
16756Files: src/ex_docmd.c, src/ex_eval.c, src/structs.h,
16757 src/testdir/test_vim9_func.vim
16758
16759Patch 8.2.2726
16760Problem: Confusing error message with white space before comma in the
16761 arguments of a function declaration.
16762Solution: Give a specific error message. (closes #2235)
16763Files: src/userfunc.c, src/testdir/test_vim9_func.vim
16764
16765Patch 8.2.2727 (after 8.2.2726)
16766Problem: Function test fails.
16767Solution: Adjust expected error number.
16768Files: src/testdir/test_user_func.vim
16769
16770Patch 8.2.2728
16771Problem: Special key names don't work if 'isident' is cleared.
16772Solution: Add vim_isNormalIDc() and use it for special key names.
16773 (closes #2389)
16774Files: src/charset.c, src/proto/charset.pro, src/misc2.c,
16775 src/testdir/test_mapping.vim
16776
16777Patch 8.2.2729
16778Problem: Vim9: wrong error message for referring to legacy script variable.
16779Solution: Do allow referring to a variable in legacy script without "s:" if
16780 it exists at compile time. (closes #8076)
16781Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
16782
16783Patch 8.2.2730
16784Problem: Coverity complains about not restoring character.
16785Solution: Also restore the character in case of an error.
16786Files: src/vim9compile.c
16787
16788Patch 8.2.2731
16789Problem: Mac: SF symbols are not displayed properly.
16790Solution: Add custom range to list of double-width characters. (Yee Cheng
16791 Chin, closes #8077)
16792Files: src/mbyte.c
16793
16794Patch 8.2.2732
16795Problem: Prompt for s///c in Ex mode can be wrong.
16796Solution: Position the cursor before showing the prompt. (closes #8073)
16797Files: src/ex_cmds.c, src/testdir/test_ex_mode.vim
16798
16799Patch 8.2.2733
16800Problem: Detecting Lua version is not reliable.
16801Solution: Add "vim.lua_version". (Ozaki Kiichi, closes #8080)
16802Files: runtime/doc/if_lua.txt, ci/if_ver-1.vim, src/if_lua.c,
16803 src/testdir/test_lua.vim
16804
16805Patch 8.2.2734
16806Problem: Vim9: cannot use legacy script-local var from :def function.
16807Solution: Do not insist on using "s:" prefix. (closes #8076)
16808Files: src/vim9compile.c, src/proto/vim9compile.pro,
16809 src/testdir/test_vim9_expr.vim
16810
16811Patch 8.2.2735
16812Problem: Vim9: function reference found with prefix, not without.
16813Solution: Also find function reference without prefix.
16814Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
16815
16816Patch 8.2.2736
16817Problem: Vim9: for loop over string is a bit slow.
16818Solution: Avoid using strlen().
16819Files: src/vim9execute.c
16820
16821Patch 8.2.2737
16822Problem: Status line not updated when local 'statusline' option set.
16823Solution: Check the 'statusline' option of each window.
16824Files: src/ex_getln.c, src/testdir/test_statusline.vim,
16825 src/testdir/dumps/Test_statusline_mode_1.dump,
16826 src/testdir/dumps/Test_statusline_mode_2.dump
16827
16828Patch 8.2.2738
16829Problem: Extending a list with itself can give wrong result.
16830Solution: Remember the item before where the insertion happens and skip to
16831 after the already inserted items. (closes #1112)
16832Files: src/list.c, src/testdir/test_listdict.vim
16833
16834Patch 8.2.2739
16835Problem: Vim9: a lambda accepts too many arguments at the script level.
16836Solution: Do not set uf_varargs in Vim9 script.
16837Files: src/userfunc.c, src/testdir/test_vim9_func.vim,
16838 src/testdir/test_vim9_script.vim
16839
16840Patch 8.2.2740
16841Problem: Vim9: lambda with varargs doesn't work.
16842Solution: Make "...name" work. Require type to be a list.
16843Files: src/userfunc.c, src/vim9compile.c, src/vim9execute.c,
16844 src/errors.h, src/testdir/test_vim9_func.vim,
16845 src/testdir/test_vim9_script.vim
16846
16847Patch 8.2.2741
16848Problem: Vim9: Partial call does not check right arguments.
16849Solution: Adjust the offset for whether the partial is before or after the
16850 arguments. (closes #8091)
16851Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
16852
16853Patch 8.2.2742
16854Problem: Vim9: when compiling a function fails it is cleared.
16855Solution: Keep the function lines, prevent execution with a different
16856 status. (closes #8093)
16857Files: src/vim9compile.c, src/structs.h, src/vim9execute.c,
16858 src/testdir/test_vim9_func.vim
16859
16860Patch 8.2.2743
16861Problem: Vim9: function state stuck when compiling with ":silent!".
16862Solution: Check for uf_def_status to be UF_COMPILING.
16863Files: src/vim9compile.c, src/message.c, src/globals.h,
16864 src/testdir/test_vim9_func.vim
16865
16866Patch 8.2.2744
16867Problem: Vim9: no way to explicitly ignore an argument.
16868Solution: Use the underscore as the name for an ignored argument.
16869Files: runtime/doc/vim9.txt, src/vim9compile.c, src/eval.c,
16870 src/evalvars.c, src/errors.h, src/testdir/test_vim9_func.vim
16871
16872Patch 8.2.2745 (after 8.2.2744)
16873Problem: Vim9: missing part of the argument change.
16874Solution: Add missing changes.
16875Files: src/userfunc.c
16876
16877Patch 8.2.2746 (after 8.2.2745)
16878Problem: Check for duplicate arguments does not work.
16879Solution: Correct condition.
16880Files: src/userfunc.c
16881
16882Patch 8.2.2747
16883Problem: Vim9: not always an error for too many function arguments.
16884Solution: Check for getting too many arguments.
16885Files: src/vim9execute.c, src/testdir/test_vim9_func.vim,
16886 src/testdir/test_vim9_builtin.vim
16887
16888Patch 8.2.2748
16889Problem: Vim9: memory leak when calling :def function fails.
16890Solution: Jump to failed_early instead of returning.
16891Files: src/vim9execute.c
16892
16893Patch 8.2.2749
16894Problem: Vim9: test for error can be a bit flaky.
16895Solution: Increase the wait time a bit.
16896Files: src/testdir/test_vim9_script.vim
16897
16898Patch 8.2.2750
16899Problem: Vim9: error for using underscore in nested function.
16900Solution: Do not consider "_" already defined. (closes #8096)
16901Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
16902
16903Patch 8.2.2751
16904Problem: Coverity warns for using NULL pointer.
16905Solution: Check for NULL in calling function.
16906Files: src/userfunc.c
16907
16908Patch 8.2.2752
16909problem: coverity reports unreachable code.
16910Solution: Remove check for positive index.
16911Files: src/typval.c
16912
16913Patch 8.2.2753
16914Problem: Vim9: cannot ignore an item in assignment unpack.
16915Solution: Allow using an underscore.
16916Files: runtime/doc/vim9.txt, src/vim.h, src/evalvars.c, src/eval.c,
16917 src/vim9compile.c, src/testdir/test_vim9_assign.vim
16918
16919Patch 8.2.2754
16920Problem: :sleep! does not always hide the cursor.
16921Solution: Add the cursor_is_asleep flag. (Jeremy Lerner, closes #8097,
16922 closes #7998)
16923Files: src/drawscreen.c, src/ex_docmd.c, src/gui.c, src/proto/term.pro,
16924 src/term.c
16925
16926Patch 8.2.2755
16927Problem: Vim9: no error for using a number in a condition.
16928Solution: Also use ISN_COND2BOOL if the type is t_number_bool.
16929 (closes #7644)
16930Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
16931 src/testdir/test_vim9_disassemble.vim
16932
16933Patch 8.2.2756
16934Problem: Vim9: blob index and slice not implemented yet.
16935Solution: Implement blob index and slice.
16936Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/eval.c,
16937 src/blob.c, src/proto/blob.pro, src/testdir/test_vim9_expr.vim
16938
16939Patch 8.2.2757
16940Problem: Vim9: blob tests for legacy and Vim9 script are separate.
16941Solution: Add CheckLegacyAndVim9Success(). Make blob index assign work.
16942Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/errors.h,
16943 src/blob.c, src/proto/blob.pro, src/eval.c, src/ex_docmd.c,
16944 src/testdir/vim9.vim, src/testdir/test_blob.vim
16945
16946Patch 8.2.2758
16947Problem: Vim9: wrong line number for autoload function with wrong name.
16948Solution: Set and restore SOURCING_LNUM. (closes #8100)
16949Files: src/userfunc.c, src/testdir/test_vim9_func.vim
16950
16951Patch 8.2.2759
16952Problem: Vim9: for loop infers type of loop variable.
16953Solution: Do not get the member type. (closes #8102)
16954Files: src/vim9type.c, src/proto/vim9type.pro, src/list.c,
16955 src/vim9script.c, src/proto/vim9script.pro, src/vim.h,
16956 src/testdir/test_vim9_script.vim
16957
16958Patch 8.2.2760
16959Problem: Vim9: no error for changing a for loop variable.
16960Solution: Make the loop variable read-only. (issue #8102)
16961Files: src/eval.c, src/evalvars.c, src/vim9compile.c, src/vim.h,
16962 src/testdir/test_vim9_script.vim
16963
16964Patch 8.2.2761
16965Problem: Using "syn include" does not work properly.
16966Solution: Don't add current_syn_inc_tag to topgrp. (Jaehwang Jerry Jung,
16967 closes #8104)
16968Files: src/syntax.c, src/testdir/test_syntax.vim
16969
16970Patch 8.2.2762
16971Problem: Vim9: function line truncated when compiling.
16972Solution: Copy the line before processing it. (closes #8101)
16973Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
16974
16975Patch 8.2.2763
16976Problem: Vim9: cannot use type in for loop unpack at script level.
16977Solution: Advance over the type name.
16978Files: src/evalvars.c, src/testdir/test_vim9_script.vim
16979
16980Patch 8.2.2764
16981Problem: Memory leak when default function argument is allocated.
16982Solution: Free the expression result.
16983Files: src/userfunc.c, src/testdir/test_functions.vim
16984
16985Patch 8.2.2765
16986Problem: Vim9: not all blob operations work.
16987Solution: Run more tests also with Vim9 script and :def functions. Fix what
16988 doesn't work.
16989Files: src/eval.c, src/blob.c, src/proto/blob.pro, src/vim9execute.c,
16990 src/errors.h, src/testdir/vim9.vim, src/testdir/test_blob.vim
16991
16992Patch 8.2.2766 (after 8.2.2765)
16993Problem: Test failure.
16994Solution: Add change to Vim9 compilation error message.
16995Files: src/vim9compile.c
16996
16997Patch 8.2.2767 (after 8.2.2765)
16998Problem: Compiler warning for unused argument.
16999Solution: Remove the argument.
17000Files: src/blob.c, src/proto/blob.pro, src/vim9execute.c, src/eval.c
17001
17002Patch 8.2.2768
17003Problem: Vim9: memory leak with blob range error.
17004Solution: Jump to end instead of returning.
17005Files: src/vim9compile.c
17006
17007Patch 8.2.2769
17008Problem: Modula-3 config files are not recognized.
17009Solution: Add filetype patterns. (Doug Kearns)
17010Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17011
17012Patch 8.2.2770
17013Problem: Vim9: type of loop variable is not used.
17014Solution: Parse and check the variable type. (closes #8107)
17015Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
17016
17017Patch 8.2.2771
17018Problem: Vim9: assignment not recognized if declaration was skipped.
17019Solution: Also recognized an assignment if the variable does not exist.
17020 (closes #8108)
17021Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim
17022
17023Patch 8.2.2772
17024Problem: Problems when restoring 'runtimepath' from a session file.
17025Solution: Add the "skiprtp" item in 'sessionoptions'.
17026Files: runtime/doc/options.txt, src/session.c, src/optionstr.c,
17027 src/option.h, src/vim.h, src/option.c,
17028 src/testdir/test_mksession.vim
17029
17030Patch 8.2.2773
17031Problem: PSL filetype not recognized.
17032Solution: Add a filetype pattern. (Daniel Kho, closes #8117)
17033Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17034
17035Patch 8.2.2774
17036Problem: Vim9: cannot import an existing name even when using "as".
17037Solution: Do not check for an existing name when using "as". (closes #8113)
17038Files: src/vim9script.c, src/testdir/test_vim9_script.vim
17039
17040Patch 8.2.2775
17041Problem: Vim9: wrong line number used for some commands.
17042Solution: For :exe, :echo and the like use the line number of the start of
17043 the command. When calling a function set the line number in the
17044 script context.
17045Files: src/vim9compile.c, src/vim9execute.c, src/structs.h,
17046 src/testdir/test_vim9_script.vim
17047
17048Patch 8.2.2776
17049Problem: :mksession uses current value of 'splitbelow' and 'splitright'
17050 even though "options" is not in 'sessionoptions'. (Maxim Kim)
17051Solution: Save and restore the values, instead of setting to the current
17052 value. (closes #8119)
17053Files: src/session.c, src/testdir/test_mksession.vim
17054
17055Patch 8.2.2777
17056Problem: Vim9: blob operations not tested in all ways.
17057Solution: Run tests with CheckLegacyAndVim9Success(). Make blob assign with
17058 index work.
17059Files: src/vim9compile.c, src/vim9execute.c, src/errors.h, src/blob.c,
17060 src/proto/blob.pro, src/testdir/test_blob.vim,
17061 src/testdir/test_vim9_disassemble.vim
17062
17063Patch 8.2.2778
17064Problem: Problem restoring 'packpath' in session.
17065Solution: Let "skiprtp" also apply to 'packpath'.
17066Files: runtime/doc/options.txt, src/option.c,
17067 src/testdir/test_mksession.vim
17068
17069Patch 8.2.2779
17070Problem: Memory access error in remove() for blob.
17071Solution: Adjust length for memmove().
17072Files: src/blob.c
17073
17074Patch 8.2.2780
17075Problem: Vim9: for loop over blob doesn't work.
17076Solution: Make it work.
17077Files: src/vim9compile.c, src/vim9execute.c, src/testdir/test_blob.vim
17078
17079Patch 8.2.2781
17080Problem: Add() silently skips when adding to null list or blob.
17081Solution: Give an error in Vim9 script. Allocate blob when it is NULL like
17082 with list and dict.
17083Files: src/list.c, src/evalvars.c, src/vim9execute.c,
17084 src/testdir/test_blob.vim, src/testdir/test_vim9_builtin.vim
17085
17086Patch 8.2.2782
17087Problem: Vim9: blob operations not fully tested.
17088Solution: Make more blob tests run in Vim9 script. Fix filter(). Make
17089 insert() give an error for a null blob, like add().
17090Files: src/list.c, src/testdir/test_blob.vim,
17091 src/testdir/test_vim9_builtin.vim
17092
17093Patch 8.2.2783
17094Problem: Duplicate code for setting byte in blob, blob test may fail.
17095Solution: Call blob_set_append(). Test sort failure with "N".
17096Files: src/eval.c, src/testdir/test_blob.vim
17097
17098Patch 8.2.2784
17099Problem: Vim9: cannot use \=expr in :substitute.
17100Solution: Compile the expression into instructions and execute them when
17101 invoked.
17102Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
17103 src/proto/vim9execute.pro, src/regexp.c, src/ex_cmds.c,
17104 src/proto/ex_cmds.pro, src/globals.h,
17105 src/testdir/test_vim9_cmd.vim,
17106 src/testdir/test_vim9_disassemble.vim
17107
17108Patch 8.2.2785
17109Problem: Vim9: cannot redirect to local variable.
17110Solution: Compile :redir when redirecting to a variable.
17111Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/errors.h,
17112 src/evalvars.c, src/proto/evalvars.pro,
17113 src/testdir/test_vim9_cmd.vim,
17114 src/testdir/test_vim9_disassemble.vim
17115
17116Patch 8.2.2786
17117Problem: Vim9: memory leak when using :s with expression.
17118Solution: Clean up the instruction list.
17119Files: src/vim9compile.c
17120
17121Patch 8.2.2787
17122Problem: MS-Windows: crash when using :echoconsole.
17123Solution: Do not write a NUL when it's already there.
17124Files: src/os_win32.c
17125
17126Patch 8.2.2788
17127Problem: Raku is now the only name what once was called perl6.
17128Solution: Adjust the filetype detection. (closes #8120)
17129Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17130
17131Patch 8.2.2789
17132Problem: Vim9: using \=expr in :substitute does not handle jumps.
17133Solution: Start with instruction count zero. (closes #8128)
17134Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
17135
17136Patch 8.2.2790 (after 8.2.2788)
17137Problem: filetype test fails
17138Solution: Also update the scripts detection
17139Files: runtime/scripts.vim
17140
17141Patch 8.2.2791
17142Problem: Vim9: memory leak when using \=expr in :substitute.
17143Solution: Do not allocate a new instruction list.
17144Files: src/vim9compile.c
17145
17146Patch 8.2.2792
17147Problem: Vim9: :disas shows instructions for default args but no text.
17148Solution: Show the expression test above the default argument instructions.
17149 (closes #8129)
17150Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim
17151
17152Patch 8.2.2793
17153Problem: MS-Windows: string literals are writable with MSVC.
17154Solution: Add the /GF compiler flag. Make mch_write() safer. (Ken Takata,
17155 closes #8133)
17156Files: src/Make_mvc.mak, src/os_win32.c
17157
17158Patch 8.2.2794
17159Problem: Linux users don't know how to get ncurses.
17160Solution: Add the name of the package. (closes #8132)
17161Files: src/configure.ac, src/auto/configure
17162
17163Patch 8.2.2795
17164Problem: Coverity warns for not using return value.
17165Solution: Check the return value of compiling the substitute expression.
17166Files: src/vim9compile.c
17167
17168Patch 8.2.2796
17169Problem: Vim9: redir to variable does not accept an index.
17170Solution: Make the index work.
17171Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
17172
17173Patch 8.2.2797
17174Problem: Search highlight disappears in the Visual area.
17175Solution: Combine the search attributes. (closes #8134)
17176Files: src/drawline.c, src/testdir/test_search.vim,
17177 src/testdir/dumps/Test_hlsearch_visual_1.dump
17178
17179Patch 8.2.2798
17180Problem: Vim9: redir to variable with append does not accept an index.
17181Solution: Make the appending work.
17182Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
17183
17184Patch 8.2.2799
17185Problem: Vim9: type casts don't fully work at the script level.
17186Solution: Implement the missing piece.
17187Files: src/eval.c, src/testdir/test_vim9_expr.vim
17188
17189Patch 8.2.2800
17190Problem: After a timer displays text a hit-enter prompt is given.
17191Solution: Reset msg_didany and need_wait_return. (closes #8136)
17192Files: src/drawscreen.c, src/testdir/test_timers.vim
17193
17194Patch 8.2.2801
17195Problem: Free Pascal makefile not recognized.
17196Solution: Add the fpcmake filetype. (Doug Kearns)
17197Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17198
17199Patch 8.2.2802
17200Problem: Vim9: illegal memory access.
17201Solution: Check for comment before checking for white space. (closes #8142)
17202Files: src/eval.c, src/testdir/test_vim9_func.vim
17203
17204Patch 8.2.2803
17205Problem: Flicker when the popup menu has an info popup.
17206Solution: Avoid drawing over the popup when it's going to be redrawn in the
17207 same position. (closes #8131) Also avoid redrawing the scrollbar.
17208Files: src/popupmenu.c, src/proto/popupmenu.pro, src/drawscreen.c,
17209 src/globals.h
17210
17211Patch 8.2.2804
17212Problem: Setting buffer local mapping with mapset() changes global mapping.
17213Solution: Only set the local mapping. (closes #8143)
17214Files: src/map.c, src/testdir/test_maparg.vim
17215
17216Patch 8.2.2805
17217Problem: Vim9: cannot use legacy syntax in Vim9 script.
17218Solution: Add the :legacy command.
17219Files: src/ex_cmds.h, runtime/doc/vim9.txt, runtime/doc/index.txt
17220 src/ex_cmdidxs.h, src/ex_docmd.c, src/structs.h, src/vim9script.c,
17221 src/vim9compile.c, src/testdir/test_vim9_func.vim,
17222 src/testdir/test_vim9_assign.vim
17223
17224Patch 8.2.2806
17225Problem: Vim9: using "++nr" as a command might not work.
17226Solution: Do not recognize "++" and "--" in a following line as addition or
17227 subtraction.
17228Files: src/vim9compile.c, src/ex_docmd.c, src/ex_cmds.h, src/ex_cmdidxs.h,
17229 src/vim9script.c, src/proto/vim9script.pro, src/eval.c,
17230 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_expr.vim
17231
17232Patch 8.2.2807
17233Problem: Build fails with tiny features.
17234Solution: Use a dummy function for ex_incdec().
17235Files: src/ex_docmd.c
17236
17237Patch 8.2.2808
17238Problem: Vim9: increment and decrement not sufficiently tested.
17239Solution: Add assertions.
17240Files: src/testdir/test_vim9_assign.vim
17241
17242Patch 8.2.2809
17243Problem: Vim9: :def function compilation fails when using :legacy.
17244Solution: Reset CMOD_LEGACY when compiling a function. (closes #8137)
17245Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
17246
17247Patch 8.2.2810
17248Problem: Vim9: crash when calling a function in a substitute expression.
17249Solution: Set the instructions back to the substitute expression
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017250 instructions. (closes #8148)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017251Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
17252
17253Patch 8.2.2811
17254Problem: Vim9: error for missing white space doesn't say where it is
17255 missing
17256Solution: Mention the command. (closes #8149)
17257Files: src/ex_docmd.c, src/errors.h, src/testdir/test_vim9_cmd.vim
17258
17259Patch 8.2.2812
17260Problem: Vim9: still crash when using substitute expression.
17261Solution: Put the instruction list in the stack frame. (closes #8154)
17262Files: src/vim9execute.c, src/vim9.h, src/testdir/test_vim9_cmd.vim
17263
17264Patch 8.2.2813
17265Problem: Cannot grep using fuzzy matching.
17266Solution: Add the "f" flag to :vimgrep. (Yegappan Lakshmanan, closes #8152)
17267Files: runtime/doc/quickfix.txt, src/ex_cmds.c, src/proto/search.pro,
17268 src/quickfix.c, src/search.c, src/vim.h,
17269 src/testdir/test_quickfix.vim
17270
17271Patch 8.2.2814 (after 8.2.2812)
17272Problem: Vim9: unused variable. (John Marriott)
17273Solution: Adjust #ifdef.
17274Files: src/vim9execute.c
17275
17276Patch 8.2.2815
17277Problem: Status line flickers when redrawing popup menu info.
17278Solution: Do not redraw the status line when the focus is in the popup
17279 window. (issue #8144)
17280Files: src/popupmenu.c
17281
17282Patch 8.2.2816
17283Problem: Vim9: comment below expression in lambda causes problems.
17284Solution: Use a single space for empty and comment lines. (closes #8156)
17285Files: src/eval.c, src/testdir/test_vim9_expr.vim
17286
17287Patch 8.2.2817
17288Problem: Vim9: script sourcing continues after an error.
17289Solution: Make an error in any command in "vim9script" abort sourcing.
17290Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim,
17291 src/testdir/test_vim9_assign.vim,
17292 src/testdir/test_vim9_func.vim
17293
17294Patch 8.2.2818
17295Problem: No jump added to jumplist when opening terminal in current window.
17296Solution: Call setpcmark(). (closes #8158)
17297Files: src/terminal.c, src/testdir/test_terminal.vim
17298
17299Patch 8.2.2819
17300Problem: Finishing an abbreviation with a multi-byte char may not work.
17301Solution: Escape K_SPECIAL in the typed character. (closes #8160)
17302Files: src/map.c, src/testdir/test_mapping.vim
17303
17304Patch 8.2.2820
17305Problem: Session file may divide by zero.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017306Solution: Avoid writing divide by zero. (closes #8162)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017307Files: src/session.c, src/testdir/test_mksession.vim
17308
17309Patch 8.2.2821
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017310Problem: MS-Windows: unnecessarily loading libraries when registering OLE.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017311Solution: Skip loading libraries when invoked with "-register".
17312Files: src/main.c, src/globals.h, src/os_win32.c
17313
17314Patch 8.2.2822 (after 8.2.2821)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017315Problem: MS-Windows: unnecessarily loading libraries when unregistering OLE.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017316Solution: Also skip loading libraries when invoked with "-unregister". Run
17317 Vim for README.txt with user privileges.
17318Files: src/main.c, nsis/gvim.nsi, nsis/README.txt
17319
17320Patch 8.2.2823
17321Problem: MS-Windows: launching Vim from installer doesn't open README.
17322Solution: Adjust the quotes.
17323Files: nsis/gvim.nsi
17324
17325Patch 8.2.2824
17326Problem: MS-Windows: build failure with MSVC.
17327Solution: Adjust the list of distributed files. Add hint about python.
17328 Adjust path for reading runtime files.
17329Files: Filelist, src/testdir/shared.vim,
17330 src/testdir/test_function_lists.vim
17331
17332Patch 8.2.2825
17333Problem: Code in checkreadonly() not fully tested.
17334Solution: Add more tests. (Dominique Pellé, closes #8169)
17335Files: src/testdir/test_excmd.vim
17336
17337Patch 8.2.2826
17338Problem: Compiler warnings for int to size_t conversion. (Randall W.
17339 Morris)
17340Solution: Add type casts.
17341Files: src/map.c, src/quickfix.c
17342
17343Patch 8.2.2827
17344Problem: Test file was not deleted.
17345Solution: Uncomment the delete() call. (Dominique Pellé, closes #8172)
17346Files: src/testdir/test_mksession.vim
17347
17348Patch 8.2.2828
17349Problem: Coverity complains about not checking the rename() return value.
17350Solution: Add "(void)", can't do anything in case of a failure.
17351Files: src/fileio.c
17352
17353Patch 8.2.2829
17354Problem: Some comments are not correct or clear.
17355Solution: Adjust the comments. Add test for cursor position.
17356Files: src/regexp_bt.c, src/regexp_nfa.c,
17357 src/testdir/test_exec_while_if.vim,
17358 src/testdir/test_substitute.vim
17359
17360Patch 8.2.2830
17361Problem: Terminal colors are not updated when 'background' is set.
17362Solution: Call term_update_colors() for all terminals. (Marcin Szamotulski,
17363 closes #8171, closes #8150)
17364Files: src/terminal.c, src/proto/terminal.pro, src/optionstr.c
17365
17366Patch 8.2.2831
17367Problem: Vim9: expandcmd() not tested.
17368Solution: Add a test.
17369Files: src/testdir/test_vim9_builtin.vim
17370
17371Patch 8.2.2832
17372Problem: Operator cancelled by moving mouse when using popup. (Sergey
17373 Vlasov)
17374Solution: Do not trigger an operator for a mouse move events. (closes #8176)
17375Files: src/normal.c
17376
17377Patch 8.2.2833
17378Problem: Two key command cancelled by moving mouse when using popup.
17379 (Sergey Vlasov)
17380Solution: Ignore K_MOUSEMOVE in plain_vgetc().
17381Files: src/getchar.c
17382
17383Patch 8.2.2834
17384Problem: Vim9: :cexpr does not work with local variables.
17385Solution: Compile :cexpr.
17386Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/quickfix.c,
17387 src/proto/quickfix.pro, src/testdir/test_quickfix.vim,
17388 src/testdir/test_vim9_disassemble.vim
17389
17390Patch 8.2.2835 (after 8.2.2834)
17391Problem: Vim9: leaking memory in :cexpr.
17392Solution: Also free the command line copy.
17393Files: src/vim9compile.c
17394
17395Patch 8.2.2836 (after 8.2.2834)
17396Problem: Build failure without the +quickfix feature. (John Marriott)
17397Solution: Add #ifdef.
17398Files: src/vim9compile.c, src/vim9execute.c, src/tag.c
17399
17400Patch 8.2.2837
17401Problem: Various code lines not covered by tests.
17402Solution: Add test cases. (Dominique Pellé, closes #8178)
17403Files: src/testdir/test_excmd.vim, src/testdir/test_functions.vim,
17404 src/testdir/test_options.vim, src/testdir/test_startup.vim,
17405 src/testdir/test_syntax.vim, src/testdir/test_vim9_cmd.vim
17406
17407Patch 8.2.2838
17408Problem: File extension .wrap not recognized.
17409Solution: Use dosini filetype for .wrap files. (Liam Beguin, closes #8177)
17410Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17411
17412Patch 8.2.2839
17413Problem: Default redirection missing "ash" and "dash".
17414Solution: Recognize "ash" and "dash". (Natanael Copa, closes #8180)
17415Files: runtime/doc/options.txt, src/option.c
17416
17417Patch 8.2.2840
17418Problem: Vim9: member operation not fully tested.
17419Solution: Add a few tests.
17420Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
17421
17422Patch 8.2.2841
17423Problem: MS-Windows: cursor in wrong position when 'lazyredraw' and
Bram Moolenaar47c532e2022-03-19 15:18:53 +000017424 'statusline' are set.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017425Solution: Call compute_cmdrow(). (closes #8170, closes #8184)
17426Files: src/os_win32.c
17427
17428Patch 8.2.2842
17429Problem: Vim9: skip argument to searchpair() is not compiled.
17430Solution: Add VAR_INSTR.
17431Files: src/structs.h, src/vim9.h, src/vim9compile.c, src/vim9execute.c,
17432 src/proto/vim9execute.pro, src/eval.c, src/evalfunc.c, src/vim.h,
17433 src/evalvars.c, src/typval.c, src/vim9type.c, src/testing.c,
17434 src/viminfo.c, src/if_py_both.h, src/json.c,
17435 src/testdir/test_vim9_disassemble.vim,
17436 src/testdir/test_vim9_builtin.vim
17437
17438Patch 8.2.2843 (after 8.2.2842)
17439Problem: Vim9: skip argument to searchpairpos() is not compiled.
17440Solution: Handle like searchpair(). Also for search() and searchpos().
17441Files: src/vim9compile.c, src/testdir/test_vim9_builtin.vim
17442
17443Patch 8.2.2844
17444Problem: Vim9: memory leak when using searchpair().
17445Solution: Free the v_instr field.
17446Files: src/typval.c
17447
17448Patch 8.2.2845
17449Problem: MS-Windows: warning for signed/unsigned comparison.
17450Solution: Add type cast.
17451Files: src/terminal.c
17452
17453Patch 8.2.2846
17454Problem: Vim9: "echo Func()" does not give an error for a function without
17455 a return value.
17456Solution: Give an error. Be more specific about why a value is invalid.
17457Files: src/globals.h, src/errors.h, src/eval.c, src/evalfunc.c,
17458 src/typval.c, src/vim9compile.c, src/vim9execute.c,
17459 src/testdir/test_vim9_cmd.vim
17460
17461Patch 8.2.2847
17462Problem: Perl not tested sufficiently.
17463Solution: Add test. Also test W17. (Dominique Pellé, closes #8193)
17464Files: src/testdir/test_arabic.vim, src/testdir/test_perl.vim
17465
17466Patch 8.2.2848
17467Problem: Crash when calling partial.
17468Solution: Check for NULL pointer. (Dominique Pellé, closes #8202)
17469Files: src/eval.c, src/evalfunc.c, src/testdir/test_functions.vim,
17470 src/testdir/test_listdict.vim
17471
17472Patch 8.2.2849
17473Problem: Bufwrite not sufficiently tested.
17474Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8192)
17475Files: src/testdir/test_startup.vim, src/testdir/test_writefile.vim
17476
17477Patch 8.2.2850
17478Problem: Recalling commands from history is not tested.
17479Solution: Add tests. (closes #8194)
17480Files: src/testdir/test_cmdline.vim
17481
17482Patch 8.2.2851
17483Problem: Using <Cmd> mapping on the command line triggers CmdlineChanged.
17484 (Naohiro Ono)
17485Solution: Jump to cmdline_not_changed if the command line didn't change.
17486 (closes #8208)
17487Files: src/ex_getln.c, src/testdir/test_cmdline.vim
17488
17489Patch 8.2.2852
17490Problem: Configure can add --as-needed a second time.
17491Solution: Only add --as-needed if not already there. (Natanael Copa,
17492 closes #8189, closes #8181)
17493Files: src/configure.ac, src/auto/configure
17494
17495Patch 8.2.2853 (after 8.2.2851)
17496Problem: Window is not updated after using <Cmd> mapping.
17497Solution: So jump to cmdline_changed but skip autocommand.
17498Files: src/ex_getln.c
17499
17500Patch 8.2.2854
17501Problem: Custom statusline cannot contain % items.
17502Solution: Add "%{% expr %}". (closes #8190)
17503Files: runtime/doc/options.txt, src/buffer.c, src/optionstr.c,
17504 src/testdir/test_statusline.vim
17505
17506Patch 8.2.2855
17507Problem: White space after "->" does not give E274.
17508Solution: Do not skip white space in legacy script. (closes #8212)
17509Files: src/eval.c, src/testdir/test_method.vim
17510
17511Patch 8.2.2856
17512Problem: Get readonly error for device that can't be written to.
17513Solution: Check for being able to write first. (closes #8205)
17514Files: src/ex_cmds.c, src/testdir/test_writefile.vim
17515
17516Patch 8.2.2857
17517Problem: Vim9: exception in ISN_INSTR caught at wrong level.
17518Solution: Set the starting trylevel in exec_instructions(). (closes #8214)
17519Files: src/vim9compile.c, src/vim9execute.c, src/globals.h,
17520 src/testdir/test_vim9_builtin.vim
17521
17522Patch 8.2.2858 (after 8.2.2857)
17523Problem: Test fails because of changed error message.
17524Solution: Adjust the expected error message.
17525Files: src/testdir/test_ex_mode.vim
17526
17527Patch 8.2.2859 (after 8.2.2857)
17528Problem: Tcl test fails because of changed error message.
17529Solution: Adjust the expected error message.
17530Files: src/testdir/test_tcl.vim
17531
17532Patch 8.2.2860
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017533Problem: Adding a text property causes the whole window to be redrawn.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017534Solution: Use changed_lines_buf() to only redraw the affected lines.
17535Files: src/change.c, src/proto/change.pro, src/textprop.c
17536
17537Patch 8.2.2861
17538Problem: Vim9: "legacy return" is not recognized as a return statement.
17539Solution: Specifically check for a return command. (closes #8213)
17540Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
17541 src/testdir/test_vim9_expr.vim
17542
17543Patch 8.2.2862
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017544Problem: Removing a text property causes the whole window to be redrawn.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017545Solution: Use changed_lines_buf() to only redraw the affected lines.
17546Files: src/textprop.c
17547
17548Patch 8.2.2863 (after 8.2.2862)
17549Problem: Removing a text property does not redraw optimally.
17550Solution: Only redraw the lines that mithg actually have been changed.
17551Files: src/textprop.c
17552
17553Patch 8.2.2864
17554Problem: Vim9: crash when using inline function.
17555Solution: Check for NULL pointer. Make using inline function work inside
17556 lambda. (closes #8217)
17557Files: src/userfunc.c, src/testdir/test_vim9_func.vim
17558
17559Patch 8.2.2865 (after 8.2.2864)
17560Problem: Skipping over function body fails.
17561Solution: Do not define the function when skipping.
17562Files: src/userfunc.c
17563
17564Patch 8.2.2866
17565Problem: Vim9: memory leak when using inline function.
17566Solution: Remember what strings to free.
17567Files: src/userfunc.c, src/structs.h, src/eval.c
17568
17569Patch 8.2.2867 (after 8.2.2866)
17570Problem: Build failure.
17571Solution: Add missing part of the change.
17572Files: src/globals.h
17573
17574Patch 8.2.2868
17575Problem: Vim9: When executing a compiled expression the trylevel at start
17576 is changed but not restored. (closes #8214)
17577Solution: Restore the trylevel at start.
17578Files: src/vim9execute.c, src/testdir/test_vim9_builtin.vim
17579
17580Patch 8.2.2869
17581Problem: Using unified diff is not tested.
17582Solution: Test all cases also with unified diff. (issue #8197)
17583Files: src/testdir/test_diffmode.vim
17584
17585Patch 8.2.2870
17586Problem: CmdlineChange event triggered twice for CTRL-R.
17587Solution: Return CMDLINE_NOT_CHANGED from cmdline_insert_reg().
17588 (closes #8219)
17589Files: src/ex_getln.c, src/testdir/test_cmdline.vim
17590
17591Patch 8.2.2871
Bram Moolenaar1588bc82022-03-08 21:35:07 +000017592Problem: Unnecessary VIM_ISDIGIT() calls, badly indented code.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000017593Solution: Call skipdigits() on the next character. Improve indenting.
17594 (Dominique Pellé, closes #8227)
17595Files: src/charset.c, src/evalfunc.c, src/ex_docmd.c, src/json.c,
17596 src/ops.c, src/tag.c, src/vim9compile.c
17597
17598Patch 8.2.2872
17599Problem: Python tests fail without the channel feature.
17600Solution: Add a feature check. (Dominique Pellé, closes #8226)
17601Files: src/testdir/test_python2.vim, src/testdir/test_python3.vim
17602
17603Patch 8.2.2873
17604Problem: Not enough tests for writing buffers.
17605Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8229)
17606Files: src/testdir/test_buffer.vim, src/testdir/test_cmdline.vim,
17607 src/testdir/test_functions.vim, src/testdir/test_writefile.vim
17608
17609Patch 8.2.2874
17610Problem: MS-Windows: screen redraws too often.
17611Solution: Do not redraw when peeking for a character. (closes #8230,
17612 closes #8211)
17613Files: src/os_win32.c
17614
17615Patch 8.2.2875
17616Problem: Cancelling inputlist() after a digit does not return zero.
17617Solution: Always return zero when cancelling. (closes #8231)
17618Files: src/misc1.c, src/testdir/test_functions.vim
17619
17620Patch 8.2.2876
17621Problem: Configure cannot detect Python 3.10.
17622Solution: Use sys.version_info. (closes #8233)
17623Files: src/configure.ac, src/auto/configure
17624
17625Patch 8.2.2877
17626Problem: Insufficient tests for popup menu rightleft.
17627Solution: Add tests. (Yegappan Lakshmanan, closes #8235)
17628Files: src/testdir/test_popup.vim,
17629 src/testdir/dumps/Test_pum_rightleft_01.dump,
17630 src/testdir/dumps/Test_pum_rightleft_02.dump,
17631 src/testdir/dumps/Test_pum_scrollbar_01.dump,
17632 src/testdir/dumps/Test_pum_scrollbar_02.dump
17633
17634Patch 8.2.2878
17635Problem: Vim9: for loop list unpack only allows for one "_".
17636Solution: Drop the value when the variable is "_". (closes #8232)
17637Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
17638
17639Patch 8.2.2879
17640Problem: File extension .hsig not recognized.
17641Solution: Use Haskell filetype for .hsig files. (Marcin Szamotulski,
17642 closes #8236)
17643Files: runtime/filetype.vim, src/testdir/test_filetype.vim
17644
17645Patch 8.2.2880
17646Problem: Unified diff fails if actually used.
17647Solution: Invoke :diffupdate in the test. Fix the check for working external
17648 diff. (Ghjuvan Lacambre, Christian Brabandt, closes #8197)
17649Files: src/diff.c, src/testdir/test_diffmode.vim
17650
17651Patch 8.2.2881
17652Problem: Various pieces of code not covered by tests.
17653Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8245)
17654Files: src/testdir/test_const.vim, src/testdir/test_functions.vim,
17655 src/testdir/test_python2.vim, src/testdir/test_python3.vim,
17656 src/testdir/test_user_func.vim, src/testdir/test_vim9_expr.vim,
17657 src/testdir/test_vim9_func.vim
17658
17659Patch 8.2.2882
17660Problem: Vim9: memory leak when lambda has an error.
17661Solution: Free the list of argument types on failure.
17662Files: src/userfunc.c
17663
17664Patch 8.2.2883
17665Problem: MS-Windows manifest file name is misleading.
17666Solution: Rename the file. (closes #8241)
17667Files: .gitignore, .hgignore, Filelist, Makefile, src/Make_cyg_ming.mak,
17668 src/Make_mvc.mak, src/gvim.exe.mnf, src/vim.manifest, src/vim.rc
17669
17670Patch 8.2.2884
17671Problem: Not enough cscope code is covered by tests.
17672Solution: Add a few test cases. (Dominique Pellé, closes #8246)
17673Files: src/testdir/test_cscope.vim
17674
17675Patch 8.2.2885
17676Problem: searching for \%'> does not match linewise end of line. (Tim Chase)
17677Solution: Match end of line if column is MAXCOL. (closes #8238)
17678Files: src/regexp_nfa.c, src/regexp_bt.c, src/testdir/test_search.vim
17679
17680Patch 8.2.2886
17681Problem: Various pieces of code not covered by tests.
17682Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8255)
17683Files: src/testdir/test_expr.vim, src/testdir/test_functions.vim,
17684 src/testdir/test_listdict.vim, src/testdir/test_registers.vim,
17685 src/testdir/test_user_func.vim, src/testdir/test_vim9_builtin.vim,
17686 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim
17687
17688Patch 8.2.2887
17689Problem: Crash when passing null string to fullcommand().
17690Solution: Check for NULL pointer. (closes #8256)
17691Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
17692
17693Patch 8.2.2888
17694Problem: Vim9: "k" command recognized in Vim9 script.
17695Solution: Do not recognize "k" or "s" and "d" with flags.
17696Files: src/ex_docmd.c, src/testdir/test_vim9_builtin.vim,
17697 src/testdir/test_vim9_script.vim
17698
17699Patch 8.2.2889
17700Problem: Typo and verbose comment in Makefiles.
17701Solution: Fix typo. Use @#. (Ken Takata, closes #8252)
17702Files: Makefile, src/testdir/Makefile
17703
17704Patch 8.2.2890
17705Problem: Text property duplicated when data block splits.
17706Solution: Do not continue text prop from previous line. (closes #8261)
17707Files: src/memline.c, src/structs.h, src/testdir/test_textprop.vim
17708
17709Patch 8.2.2891
17710Problem: Cannot build with Perl 5.34.
17711Solution: Add Perl_SvTRUE_common(). (Ozaki Kiichi, closes #8266,
17712 closes #8250)
17713Files: src/if_perl.xs
17714
17715Patch 8.2.2892
17716Problem: Error message contains random characters.
17717Solution: Pass the right pointer to error_white_both(). (closes #8272,
17718 closes #8263)
17719Files: src/eval.c, src/testdir/test_vim9_expr.vim
17720
17721Patch 8.2.2893
17722Problem: Multi-byte text in popup title shows up wrong.
17723Solution: Use the character width instead of the byte length. (Ralf Schandl,
17724 closes #8267, closes #8264)
17725Files: src/popupwin.c, src/message_test.c, src/testdir/test_popupwin.vim,
17726 src/testdir/dumps/Test_popupwin_multibytetitle.dump
17727
17728Patch 8.2.2894
17729Problem: MS-Windows: using enc_locale() for strftime() might not work.
17730Solution: Use wcsftime(). (Ken Takata, closes #8271)
17731Files: src/time.c
17732
17733Patch 8.2.2895
17734Problem: Vim9: random characters appear in some error messages.
17735Solution: Pass the correct pointer. (closes #8277)
17736Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_expr.vim
17737
17738Patch 8.2.2896
17739Problem: Spellfile functionality not fully tested.
17740Solution: Add tests for CHECKCOMPOUNDPATTERN and COMMON. (Dominique Pellé,
17741 closes #8270)
17742Files: src/testdir/test_spellfile.vim
17743
17744Patch 8.2.2897
17745Problem: Vim9: can use reserved words at the script level.
17746Solution: Check variable names for reserved words. (closes #8253)
17747Files: src/vim9compile.c, src/vim9script.c, src/proto/vim9script.pro,
17748 src/eval.c, src/testdir/test_vim9_assign.vim
17749
17750Patch 8.2.2898
17751Problem: QuitPre and ExitPre not triggered when GUI window is closed.
17752Solution: Call before_quit_autocmds(). (closes #8242)
17753Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/gui.c
17754
17755Patch 8.2.2899
17756Problem: Appveyor script does not detect nmake failure.
17757Solution: Explicitly check for executable. (Ken Takata, closes #8281)
17758Files: ci/appveyor.bat
17759
17760Patch 8.2.2900
17761Problem: QuitPre is triggered before :wq writes the file, which is
17762 different from other commands.
17763Solution: Trigger QuitPre after writing the file. (closes #8279)
17764Files: src/ex_docmd.c, src/testdir/test_writefile.vim
17765
17766Patch 8.2.2901
17767Problem: Some operators not fully tested.
17768Solution: Add a few test cases. (Yegappan Lakshmanan, closes #8282)
17769Files: src/testdir/test_cpoptions.vim, src/testdir/test_increment.vim,
17770 src/testdir/test_normal.vim, src/testdir/test_virtualedit.vim,
17771 src/testdir/test_visual.vim
17772
17773Patch 8.2.2902
17774Problem: Spellfile functionality not fully tested.
17775Solution: Add tests for CIRCUMFIX, NOBREAK and others. (Dominique Pellé,
17776 closes #8283)
17777Files: src/testdir/test_spellfile.vim
17778
17779Patch 8.2.2903
17780Problem: Cursor position wrong on wrapped line with 'signcolumn'.
17781Solution: Don't add space for showbreak twice. (Christian Brabandt,
17782 closes #8262)
17783Files: src/drawline.c, src/testdir/test_display.vim
17784
17785Patch 8.2.2904
17786Problem: "g$" causes scroll if half a double width char is visible.
17787Solution: Advance to the last fully visible character. (closes #8254)
17788Files: src/normal.c, src/testdir/test_normal.vim
17789
17790Patch 8.2.2905
17791Problem: No error when defaults.vim cannot be loaded.
17792Solution: Add an error message. (Christian Brabandt, closes #8248)
17793Files: runtime/doc/starting.txt, src/errors.h, src/main.c,
17794 src/testdir/test_startup.vim
17795
17796Patch 8.2.2906 (after 8.2.2905)
17797Problem: ASAN reports errors for test_startup for unknown reasons.
17798Solution: Temporarily disable the new test.
17799Files: src/testdir/test_startup.vim
17800
17801Patch 8.2.2907
17802Problem: Memory leak when running out of memory.
17803Solution: Free the allocated memory. (Dominique Pellé, closes #8284)
17804Files: src/term.c
17805
17806Patch 8.2.2908
17807Problem: Crash when using a terminal popup window from the cmdline window.
17808Solution: Instead of checking cmdwin_type call cmdwin_is_active().
17809 (closes #8286)
17810Files: src/terminal.c, src/errors.h, src/testdir/test_cmdline.vim,
17811 src/testdir/dumps/Test_cmdwin_no_terminal.dump
17812
17813Patch 8.2.2909
17814Problem: Build error with non-Unix system.
17815Solution: Always include limits.h.
17816Files: src/vim.h
17817
17818Patch 8.2.2910
17819Problem: Test for cmdline window and terminal fails on MS-Windows.
17820Solution: Skip the test on MS-Windows.
17821Files: src/testdir/test_cmdline.vim
17822
17823Patch 8.2.2911
17824Problem: Pattern "\%V" does not match all of block selection. (Rick Howe)
17825Solution: Use the value of vi_curswant. (closes #8285)
17826Files: src/regexp.c, src/testdir/test_search.vim,
17827 src/testdir/dumps/Test_hlsearch_block_visual_match.dump
17828
17829Patch 8.2.2912
17830Problem: MS-Windows: most users expect using Unicode.
17831Solution: Default 'encoding' to utf-8 on MS-Windows. (Ken Takata,
17832 closes #3907)
17833Files: runtime/doc/options.txt, src/mbyte.c, src/option.c, src/option.h,
17834 src/testdir/test_writefile.vim
17835
17836Patch 8.2.2913
17837Problem: MS-Windows conpty supports using mouse events.
17838Solution: When enabling the mouse enable mouse input and disable quick edit
17839 mode. (Wez Furlong, closes #8280)
17840Files: src/os_win32.c
17841
17842Patch 8.2.2914
17843Problem: Cannot paste a block without adding padding.
17844Solution: Add "zp" and "zP" which paste without adding padding. (Christian
17845 Brabandt, closes #8289)
17846Files: runtime/doc/change.txt, runtime/doc/index.txt, src/normal.c,
17847 src/register.c, src/vim.h, src/testdir/test_normal.vim,
17848 src/testdir/test_visual.vim
17849
17850Patch 8.2.2915
17851Problem: MS-Windows: when using "default" for encoding utf-8 is used.
17852Solution: Use the system encoding. (Ken Takata, closes #8300)
17853Files: src/mbyte.c, runtime/doc/options.txt
17854
17855Patch 8.2.2916
17856Problem: Operators are not fully tested.
17857Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8290)
17858Files: src/ops.c, src/testdir/test_netbeans.vim,
17859 src/testdir/test_normal.vim, src/testdir/test_visual.vim
17860
17861Patch 8.2.2917
17862Problem: Spellfile functionality not fully tested.
17863Solution: Add tests for SFX with removal of characters, spelling
17864 suggestions with NOBREAK and others. (Dominique Pellé,
17865 closes #8293)
17866Files: src/testdir/test_spellfile.vim
17867
17868Patch 8.2.2918
17869Problem: Builtin function can be shadowed by global variable.
17870Solution: Check for builtin function before variable. (Yasuhiro Matsumoto,
17871 closes #8302)
17872Files: src/eval.c, src/testdir/test_functions.vim
17873
17874Patch 8.2.2919
17875Problem: Using ":!command" does not work if the command uses posix_spawn().
17876Solution: Do not call ioctl() with TIOCSCTTY. (Felipe Contreras)
17877Files: src/os_unix.c
17878
17879Patch 8.2.2920
17880Problem: Still a way to shadow a builtin function. (Yasuhiro Matsumoto)
17881Solution: Check the key when using extend(). (issue #8302)
17882Files: src/eval.c, src/dict.c, src/proto/dict.pro,
17883 src/testdir/test_functions.vim
17884
17885Patch 8.2.2921
17886Problem: E704 for script local variable is not backwards compatible.
17887 (Yasuhiro Matsumoto)
17888Solution: Only give the error in Vim9 script. Also check for function-local
17889 variable.
17890Files: src/dict.c, src/testdir/test_functions.vim
17891
17892Patch 8.2.2922
17893Problem: Computing array length is done in various ways.
17894Solution: Use ARRAY_LENGTH everywhere. (Ken Takata, closes #8305)
17895Files: src/arabic.c, src/blowfish.c, src/cindent.c, src/cmdexpand.c,
17896 src/cmdhist.c, src/dosinst.c, src/eval.c, src/evalfunc.c,
17897 src/ex_docmd.c, src/fileio.c, src/gui_athena.c, src/gui_gtk_x11.c,
17898 src/gui_haiku.cc, src/gui_photon.c, src/gui_w32.c,
17899 src/gui_xmebw.c, src/hardcopy.c, src/help.c, src/highlight.c,
17900 src/if_mzsch.c, src/macros.h, src/main.c, src/map.c, src/mbyte.c,
17901 src/memline.c, src/menu.c, src/misc2.c, src/normal.c, src/ops.c,
17902 src/option.c, src/optiondefs.h, src/os_win32.c, src/popupwin.c,
17903 src/quickfix.c, src/regexp.c, src/screen.c, src/search.c,
17904 src/syntax.c, src/term.c, src/terminal.c, src/time.c,
17905 src/usercmd.c, src/version.c
17906
17907Patch 8.2.2923
17908Problem: EBCDIC build is broken.
17909Solution: Move sortFunctions() to evalfunc.c. (Ken Takata, closes #8306)
17910Files: src/eval.c, src/evalfunc.c, src/proto/evalfunc.pro
17911
17912Patch 8.2.2924
17913Problem: Superfluous extern declaration.
17914Solution: Delete the declaration. (Ken Takata, closes #8307)
17915Files: src/main.c
17916
17917Patch 8.2.2925
17918Problem: Vim9: line continuation comment uses legacy syntax.
17919Solution: Check for #\ instead of "\. (closes #8295)
17920Files: src/scriptfile.c, src/testdir/test_vim9_script.vim
17921
17922Patch 8.2.2926
17923Problem: Vim9: no good error for using :legacy in a :def function.
17924Solution: Give an explicit error where :legacy is not working.
17925 (closes #8309)
17926Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_func.vim
17927
17928Patch 8.2.2927
17929Problem: Test commented out because it fails with ASAN.
17930Solution: Only skip the test when running with ASAN.
17931Files: src/testdir/test_startup.vim
17932
17933Patch 8.2.2928
17934Problem: The evalfunc.c file is too big.
17935Solution: Move float related functionality to a separate file. (Yegappan
17936 Lakshmanan, closes #8287)
17937Files: Filelist, src/Make_ami.mak, src/Make_cyg_ming.mak,
17938 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
17939 src/eval.c, src/evalfunc.c, src/float.c, src/proto.h,
17940 src/proto/eval.pro, src/proto/float.pro
17941
17942Patch 8.2.2929
17943Problem: Accidentally enable tcl by default.
17944Solution: Revert change to Makefile
17945Files: src/Makefile
17946
17947Patch 8.2.2930
17948Problem: When a popup is visible a mouse move my restart Visual mode.
17949Solution: Reset held_button when ending Visual mode. (closes #8318)
17950Files: src/mouse.c, src/proto/mouse.pro, src/normal.c
17951
17952Patch 8.2.2931
17953Problem: Vim9: line continuation comment still uses legacy syntax in one
17954 place.
17955Solution: Check for #\ instead of "\ earlier. (closes #8316)
17956Files: src/scriptfile.c, src/testdir/test_vim9_script.vim
17957
17958Patch 8.2.2932 (after 8.2.2930)
17959Problem: Select mode test fails.
17960Solution: Do not always reset the held mouse button.
17961Files: src/mouse.c, src/normal.c, src/proto/normal.pro
17962
17963Patch 8.2.2933
17964Problem: When 'clipboard' is "unnamed" zp and zP do not work correctly.
17965Solution: Pass -1 to str_to_reg() and fix computing the character width
17966 instead of using the byte length. (Christian Brabandt,
17967 closes #8301, closes #8317)
17968Files: src/clipboard.c, src/mbyte.c, src/register.c
17969
17970Patch 8.2.2934 (after 8.2.2933)
17971Problem: ASAN error when using text from the clipboard.
17972Solution: Get width of each character.
17973Files: src/register.c
17974
17975Patch 8.2.2935 (after 8.2.2934)
17976Problem: Calculating register width is not always needed. (Christian
17977 Brabandt)
17978Solution: Only calculate the width when the type is MBLOCK.
17979Files: src/register.c
17980
17981Patch 8.2.2936
17982Problem: Vim9: converting number to bool uses wrong stack offset. (Salman
17983 Halim)
17984Solution: Include the offset in the 2BOOL command.
17985Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c,
17986 src/testdir/test_vim9_expr.vim,
17987 src/testdir/test_vim9_disassemble.vim
17988
17989Patch 8.2.2937
17990Problem: Popup test fails if rightleft feature not enabled.
17991Solution: Check that the rightleft feature is available. (Dominique Pellé,
17992 closes #8321)
17993Files: src/testdir/test_popup.vim
17994
17995Patch 8.2.2938
17996Problem: After using motion force from feedkeys() it may not be reset.
17997Solution: Clear motion_force in clearop(). (closes #8323)
17998Files: src/normal.c, src/testdir/test_visual.vim
17999
18000Patch 8.2.2939
18001Problem: GTK: righthand scrollbar does not show with split window.
18002Solution: Adjust padding when two scrollbars are used. (Matt Wozniski,
18003 closes #8324)
18004Files: src/gui_gtk.c
18005
18006Patch 8.2.2940
18007Problem: MS-Windows: cannot see the size of the text area when resizing the
18008 gvim window.
18009Solution: Show a tooltip with the text size. (Ken Takata, closes #8326)
18010Files: src/gui_w32.c
18011
18012Patch 8.2.2941
18013Problem: Vim9: using `=expr` does not handle a list of strings.
18014Solution: Convert a list to a string and escape each item. (closes #8310)
18015Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
18016
18017Patch 8.2.2942
18018Problem: Vim9: internal error when calling function with too few arguments
18019Solution: Check for argument count to be too few. (closes #8325)
18020Files: src/errors.h, src/vim9execute.c, src/testdir/test_vim9_builtin.vim
18021
18022Patch 8.2.2943
18023Problem: Vim9: check for argument count ignores default values.
18024Solution: Take default argument values into account.
18025Files: src/vim9execute.c
18026
18027Patch 8.2.2944
18028Problem: Vim9: no error when using job or channel as a string.
18029Solution: Be more strict about conversion to string. (closes #8312)
18030Files: src/typval.c, src/job.c, src/proto/job.pro, src/channel.c,
18031 src/proto/channel.pro, src/eval.c, src/vim9execute.c,
18032 src/testdir/test_vim9_builtin.vim
18033
18034Patch 8.2.2945
18035Problem: Some buffer related code is not tested.
18036Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8320)
18037Files: src/termlib.c, src/testdir/test_excmd.vim,
18038 src/testdir/test_recover.vim, src/testdir/test_swap.vim,
18039 src/testdir/test_visual.vim
18040
18041Patch 8.2.2946
18042Problem: Vim9: substitute expression cannot be a List in a :def function.
18043Solution: Use typval2string(). (closes #8330)
18044Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
18045
18046Patch 8.2.2947
18047Problem: Build failure without the channel feature.
18048Solution: Add back #ifdef. (John Marriott)
18049Files: src/eval.c
18050
18051Patch 8.2.2948
18052Problem: Substitute() accepts a number but not a float expression.
18053Solution: Also accept a float. (closes #8331)
18054Files: src/typval.c, src/testdir/test_substitute.vim
18055
18056Patch 8.2.2949 (after 8.2.2948)
18057Problem: Tests failing because there is no error for float to string
18058 conversion.
18059Solution: Change the check for failure to check for correct result. Make
18060 some conversions strict in Vim9 script.
18061Files: src/evalfunc.c, src/float.c, src/findfile.c, src/json.c,
18062 src/filepath.c, src/testdir/test_eval_stuff.vim,
18063 src/testdir/test_execute_func.vim,
18064 src/testdir/test_float_func.vim, src/testdir/test_functions.vim,
18065 src/testdir/test_listdict.vim, src/testdir/test_glob2regpat.vim
18066
18067Patch 8.2.2950
18068Problem: Sound code not fully tested.
18069Solution: Add more sound tests. (Dominique Pellé, closes #8332)
18070Files: src/testdir/test_sound.vim
18071
18072Patch 8.2.2951
18073Problem: Vim9: cannot use heredoc in :def function for :python, :lua, etc.
18074Solution: Concatenate the heredoc lines and pass them in the ISN_EXEC_SPLIT
18075 instruction.
18076Files: src/userfunc.c, src/vim9compile.c, src/vim9.h, src/vim9execute.c,
18077 src/testdir/test_vim9_func.vim,
18078 src/testdir/test_vim9_disassemble.vim
18079
18080Patch 8.2.2952
18081Problem: Recover test fails on big endian systems.
18082Solution: Disable the failing test on big endian systems. (Yegappan
18083 Lakshmanan, closes #8335)
18084Files: src/testdir/test_recover.vim, src/testdir/test_swap.vim
18085
18086Patch 8.2.2953 (after 8.2.2951)
18087Problem: Vim9: leaking memory when using heredoc script.
18088Solution: Free the first line.
18089Files: src/vim9execute.c
18090
18091Patch 8.2.2954
18092Problem: Short file name extension for Scala not recognized.
18093Solution: Recognize *.sc. (closes #8337)
18094Files: runtime/filetype.vim, src/testdir/test_filetype.vim
18095
18096Patch 8.2.2955
18097Problem: Vim9: using filter in compiled command does not work.
18098Solution: Generate EXEC including the command modifier.
18099Files: src/vim9compile.c, src/ex_docmd.c, src/ex_cmds.c,
18100 src/proto/ex_cmds.pro, src/testdir/test_vim9_cmd.vim
18101
18102Patch 8.2.2956
18103Problem: Vim9: need to plan for future additions.
18104Solution: Reserve commands for future use: :type, :class, :enum.
18105Files: src/ex_cmds.h, src/ex_cmdidxs.h
18106
18107Patch 8.2.2957
18108Problem: Using getchar() in Vim9 script is problematic.
18109Solution: Add getcharstr(). (closes #8343)
18110Files: runtime/doc/eval.txt, src/evalfunc.c, src/getchar.c,
Bram Moolenaar47c532e2022-03-19 15:18:53 +000018111 src/proto/getchar.pro, src/testdir/test_functions.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018112
18113Patch 8.2.2958 (after 8.2.2957)
18114Problem: Function list test fails.
18115Solution: Add newly added function to the list. Fix typo.
18116Files: runtime/doc/usr_41.txt, src/testdir/test_function_lists.vim
18117
18118Patch 8.2.2959
18119Problem: sound_playfile() is not tested on MS-Windows.
18120Solution: Make it work and enable the test. (Dominique Pellé, closes #8338)
18121Files: src/sound.c, src/testdir/test_sound.vim
18122
18123Patch 8.2.2960
18124Problem: Swap file recovery not sufficiently tested.
18125Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8339)
18126Files: src/testdir/test_recover.vim
18127
18128Patch 8.2.2961
18129Problem: Keys typed during a :normal command are discarded.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018130Solution: Concatenate saved typeahead and typed keys. (closes #8340)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018131Files: src/getchar.c, src/proto/getchar.pro, src/ex_docmd.c,
18132 src/evalfunc.c, src/debugger.c, src/ui.c, src/proto/ui.pro
18133
18134Patch 8.2.2962
18135Problem: MS-Windows command line arguments have wrong encoding.
18136Solution: Always use utf-8 in get_cmd_argsW(). (Ken Takata, closes #8347)
18137Files: src/os_win32.c
18138
18139Patch 8.2.2963
18140Problem: GUI: mouse move may start Visual mode with a popup visible.
18141Solution: Add special code for mouse move. (closes #8318)
18142Files: src/vim.h, src/gui.c, src/keymap.h, src/term.c
18143
18144Patch 8.2.2964
18145Problem: Vim9: hang when using space after ->. (Naohiro Ono)
18146Solution: Skip over white space to find the function name. (closes #8341)
18147Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_expr.vim
18148
18149Patch 8.2.2965
18150Problem: Vim9: crash when calling function that failed to compile.
18151Solution: Fail when trying to call the function. (closes #8344)
18152Files: src/errors.h, src/vim9compile.c, src/testdir/test_vim9_func.vim
18153
18154Patch 8.2.2966
18155Problem: ml_get errors after recovering a file. (Yegappan Lakshmanan)
18156Solution: Fix the cursor position after deleting lines.
18157Files: src/memline.c
18158
18159Patch 8.2.2967
18160Problem: Vim9: crash when using two levels of partials.
18161Solution: Add outer_ref_T and use it in the execution context.
18162Files: src/structs.h, src/vim9execute.c, src/testdir/test_vim9_func.vim
18163
18164Patch 8.2.2968 (after 8.2.2967)
18165Problem: Vim9: memory leak
18166Solution: Unreference pt_outer of partial.
18167Files: src/eval.c
18168
18169Patch 8.2.2969
18170Problem: Subtracting from number option fails when result is zero. (Ingo
18171 Karkat)
18172Solution: Reset the string value when using the numeric value.
18173 (closes #8351)
18174Files: src/evalvars.c, src/testdir/test_vimscript.vim
18175
18176Patch 8.2.2970
18177Problem: Python configure check uses deprecated command.
18178Solution: Use sysconfig instead of distutils if possible. (Zdenek Dohnal,
18179 closes #8354)
18180Files: src/configure.ac, src/auto/configure
18181
18182Patch 8.2.2971
18183Problem: Cannot yank a block without trailing spaces.
18184Solution: Add the "zy" command. (Christian Brabandt, closes #8292)
18185Files: runtime/doc/change.txt, runtime/doc/index.txt, src/normal.c,
18186 src/ops.c, src/register.c, src/structs.h,
18187 src/testdir/test_visual.vim
18188
18189Patch 8.2.2972
18190Problem: "%bd" tries to delete popup window buffers, which fails. (Ralf
18191 Schandl)
18192Solution: Do not try to delete a popup window buffer. (closes #8349)
18193Files: src/buffer.c, src/vim.h, src/testdir/test_popupwin.vim
18194
18195Patch 8.2.2973
18196Problem: Fix for recovery and diff mode not tested.
18197Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8352)
18198Files: src/testdir/test_diffmode.vim, src/testdir/test_prompt_buffer.vim,
18199 src/testdir/test_recover.vim
18200
18201Patch 8.2.2974
18202Problem: Greek spell checking uses wrong case folding.
18203Solution: Fold capital sigma depending on whether it is at the end of a
18204 word or not. (closes #299)
18205Files: src/spell.c, src/proto/spell.pro, src/spellfile.c,
18206 src/spellsuggest.c
18207
18208Patch 8.2.2975
18209Problem: Vim9: can only use an autoload function name as a string.
18210Solution: Load the autoload script when encountered. (closes #8124)
18211Files: src/vim9compile.c, src/evalvars.c, src/scriptfile.c,
18212 src/testdir/test_vim9_func.vim
18213
18214Patch 8.2.2976 (after 8.2.2975)
18215Problem: Build failure without the +eval feature.
18216Solution: Add #ifdefs.
18217Files: src/scriptfile.c
18218
18219Patch 8.2.2977
18220Problem: Crash when using a null function reference. (Naohiro Ono)
18221Solution: Check for an invalid function name. (closes #8367)
18222Files: src/eval.c, src/errors.h, src/testdir/test_functions.vim
18223
18224Patch 8.2.2978 (after 8.2.2977)
18225Problem: Warning for uninitialized variable.
18226Solution: Set return value to FAIL.
18227Files: src/eval.c
18228
18229Patch 8.2.2979
18230Problem: Not all options code is covered by tests.
18231Solution: Add more tests for options. (Yegappan Lakshmanan, closes #8369)
18232Files: src/testdir/test_edit.vim, src/testdir/test_excmd.vim,
18233 src/testdir/test_help.vim, src/testdir/test_mksession.vim,
18234 src/testdir/test_options.vim, src/testdir/test_vartabs.vim,
18235 src/testdir/test_window_cmd.vim
18236
18237Patch 8.2.2980
18238Problem: Popup window test is a bit flaky.
18239Solution: Add a redraw command.
18240Files: src/testdir/test_popupwin.vim
18241
18242Patch 8.2.2981
18243Problem: Recovery test is not run on big-endian systems.
18244Solution: Make it work on big-endian systems. (James McCoy, closes #8368)
18245Files: src/testdir/test_recover.vim
18246
18247Patch 8.2.2982
18248Problem: Vim9: future commands are not reserved yet.
18249Solution: Add commands to be implemented later. Make "this" a reserved
18250 name.
18251Files: runtime/doc/vim9.txt, src/ex_cmds.h, src/ex_cmdidxs.h,
18252 src/vim9script.c, src/testdir/test_vim9_assign.vim
18253
18254Patch 8.2.2983
18255Problem: Vim9: an inline function requires specifying the return type.
18256Solution: Make the return type optional.
18257Files: src/eval.c, src/vim9compile.c, src/userfunc.c,
18258 src/testdir/test_vim9_func.vim
18259
18260Patch 8.2.2984 (after 8.2.2983)
18261Problem: Vim9: Test fails because of missing return statement.
18262Solution: When type is unknown set type to void.
18263Files: src/vim9compile.c
18264
18265Patch 8.2.2985
18266Problem: Vim9: a compiled function cannot be debugged.
18267Solution: Add initial debugging support.
18268Files: src/vim9.h, src/vim9compile.c, src/proto/vim9compile.pro,
18269 src/vim.h, src/eval.c, src/vim9execute.c, src/userfunc.c,
18270 src/vim9type.c, src/testdir/test_debugger.vim,
18271 src/testdir/test_vim9_disassemble.vim
18272
18273Patch 8.2.2986
18274Problem: Build failure without the profile feature.
18275Solution: Add #ifdef.
18276Files: src/vim9compile.c
18277
18278Patch 8.2.2987
18279Problem: Build failure with normal features.
18280Solution: Remove #define.
18281Files: src/vim9execute.c
18282
18283Patch 8.2.2988
18284Problem: Vim9: debugger test fails.
18285Solution: Get the debugger instructions when needed.
18286Files: src/vim.h, src/vim9.h
18287
18288Patch 8.2.2989
18289Problem: Vim9: memory leak when debugging a :def function.
18290Solution: Free the debug instructions.
18291Files: src/vim9compile.c
18292
18293Patch 8.2.2990
18294Problem: Jupyter Notebook files are not recognized.
18295Solution: Recognize *.ipynb. (closes #8375)
18296Files: runtime/filetype.vim, src/testdir/test_filetype.vim
18297
18298Patch 8.2.2991
18299Problem: Vim9: no completion for :vim9 and :legacy.
18300Solution: Expand argument as a command. (closes #8377)
18301Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
18302
18303Patch 8.2.2992
18304Problem: Vim9: completion for :disassemble is incomplete.
18305Solution: Recognize the "debug" and "profile" arguments.
18306Files: src/cmdexpand.c, src/vim9execute.c, src/proto/vim9execute.pro,
18307 src/vim.h, src/testdir/test_cmdline.vim
18308
18309Patch 8.2.2993
18310Problem: 'fileencodings' default value should depend on 'encoding'. (Gary
18311 Johnson)
18312Solution: When 'encoding' is "utf-8" use a different default value for
18313 'fileencodings'.
18314Files: src/mbyte.c, src/option.c, src/proto/option.pro,
18315 src/testdir/test_options.vim
18316
18317Patch 8.2.2994
18318Problem: Various code is not fully tested.
18319Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8378)
18320Files: src/testdir/test_excmd.vim, src/testdir/test_mapping.vim,
18321 src/testdir/test_modeline.vim, src/testdir/test_options.vim,
18322 src/testdir/test_paste.vim, src/vim9compile.c
18323
18324Patch 8.2.2995
18325Problem: Linker errors with dynamic Python 3.10.
18326Solution: Add a couple of library entries. (Zdenek Dohnal, closes #8381,
18327 closes #8356)
18328Files: src/if_python3.c
18329
18330Patch 8.2.2996
18331Problem: Vim9: when debugging cannot inspect local variables.
18332Solution: Make local variables available when debugging.
18333Files: src/vim9execute.c, src/proto/vim9execute.pro, src/vim9compile.c,
18334 src/vim9.h, src/debugger.c, src/testdir/test_debugger.vim
18335
18336Patch 8.2.2997 (after 8.2 2996)
18337Problem: Vim9: disassemble test fails.
18338Solution: Adjust expected output.
18339Files: src/testdir/test_vim9_disassemble.vim
18340
18341Patch 8.2.2998 (after 8.2 2996)
18342Problem: Vim9: disassemble test fails.
18343Solution: Add missing call to lookup_debug_var().
18344Files: src/evalvars.c
18345
18346Patch 8.2.2999
18347Problem: Balloon sometimes does not hide with GTK 3.
18348Solution: Also listen to GDK_LEAVE_NOTIFY. (Johannes Stezenbach)
18349Files: src/gui_beval.c
18350
18351Patch 8.2.3000
18352Problem: Vim9: warning for uninitialized variable.
18353Solution: Add initialization. (John Marriott)
18354Files: src/vim9compile.c
18355
18356Patch 8.2.3001
18357Problem: Vim9: memory leak when compilation fails.
18358Solution: Free the list of variable names.
18359Files: src/vim9compile.c
18360
18361Patch 8.2.3002
18362Problem: Vim doesn't abort on a fatal Tcl error.
18363Solution: Change emsg() to iemsg(). (Dominique Pellé, closes #8383)
18364Files: src/if_tcl.c
18365
18366Patch 8.2.3003
18367Problem: Vim9: closure compiled with wrong compile type.
18368Solution: Use COMPILE_TYPE() when calling a function. (closes #8384)
18369Files: src/vim9execute.c, src/testdir/test_debugger.vim
18370
18371Patch 8.2.3004
18372Problem: Vim9: error for missing colon given while skipping.
18373Solution: Do not give the error when skipping. (closes #8385)
18374Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
18375
18376Patch 8.2.3005
18377Problem: Vim9: using a void value does not give a proper error message.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018378Solution: Give a clear error message. (closes #8387)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018379Files: src/typval.c, src/vim9compile.c, src/vim9.h, src/vim9execute.c,
18380 src/testdir/test_vim9_expr.vim,
18381 src/testdir/test_vim9_disassemble.vim
18382
18383Patch 8.2.3006
18384Problem: Crash when echoing a value very early. (Naruhiko Nishino)
18385Solution: Do not use a NUL to truncate the message, make a copy.
18386 (closes #8388)
18387Files: src/message.c, src/testdir/test_startup.vim
18388
18389Patch 8.2.3007 (after 8.2.3005)
18390Problem: Vim9: test for void value fails.
18391Solution: Adjust expected error. Do not make a copy of void.
18392Files: src/typval.c, src/testdir/test_functions.vim
18393
18394Patch 8.2.3008 (after 8.2.3006)
18395Problem: Startup test may hang.
18396Solution: Add quit command in the script.
18397Files: src/testdir/test_startup.vim
18398
18399Patch 8.2.3009 (after 8.2.3006)
18400Problem: Startup test may hang.
18401Solution: Do not run the test in the GUI.
18402Files: src/testdir/test_startup.vim
18403
18404Patch 8.2.3010
18405Problem: Not enough testing for viminfo code.
18406Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8390)
18407Files: src/register.c, src/testdir/test_fileformat.vim,
18408 src/testdir/test_smartindent.vim, src/testdir/test_viminfo.vim
18409
18410Patch 8.2.3011
18411Problem: Vim9: cannot get argument values during debugging.
18412Solution: Lookup names in the list of arguments. Put debug instruction
18413 halfway for command.
18414Files: src/vim9compile.c, src/vim9execute.c,
18415 src/testdir/test_debugger.vim
18416
18417Patch 8.2.3012
18418Problem: When 'rightleft' is set the line number is sometimes drawn
18419 reversed.
18420Solution: Adjust how space is handled. (Christian Brabandt, closes #8389,
18421 closes #8391)
18422Files: src/drawline.c, src/testdir/test_number.vim
18423
18424Patch 8.2.3013
18425Problem: Vim: when debugging only the first line of a command using line
18426 continuation is displayed.
18427Solution: Find the next command and concatenate lines until that one.
18428 (closes #8392)
18429Files: src/vim9execute.c, src/testdir/test_debugger.vim
18430
18431Patch 8.2.3014
18432Problem: Coverity warns for freeing static string.
18433Solution: Do not assign static string to pointer. (Dominique Pellé,
18434 closes #8397)
18435Files: src/vim9execute.c
18436
18437Patch 8.2.3015
18438Problem: Vim9: Assigning to @# requires a string. (Naohiro Ono)
18439Solution: Accent a number or a string. (closes #8396)
18440Files: src/vim9compile.c, src/vim9execute.c, src/globals.h,
18441 src/testdir/test_vim9_assign.vim
18442
18443Patch 8.2.3016
18444Problem: Confusing error when expression is followed by comma.
18445Solution: Give a different error for trailing text. (closes #8395)
18446Files: src/eval.c, src/testdir/test_let.vim,
18447 src/testdir/test_eval_stuff.vim, src/testdir/test_vim9_expr.vim,
18448 src/testdir/test_vim9_script.vim, src/testdir/test_viminfo.vim,
18449 src/testdir/test_vimscript.vim
18450
18451Patch 8.2.3017
18452Problem: Vim9: debugger shows too many lines.
18453Solution: Truncate at a comment, "enddef", etc. (closes #8392)
18454Files: src/vim9execute.c, src/testdir/test_debugger.vim
18455
18456Patch 8.2.3018
18457Problem: Formatting using quickfixtextfunc is lost when updating location
18458 lists for different buffers. (Yorick Peterse)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018459Solution: Use the right window for the location list. (Yegappan Lakshmanan,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018460 closes #8400, closes #8403)
18461Files: src/quickfix.c, src/testdir/test_quickfix.vim
18462
18463Patch 8.2.3019
18464Problem: Location list only has the start position.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018465Solution: Make it possible to add an end position. (thinca, closes #8393)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018466Files: runtime/doc/eval.txt, src/quickfix.c,
18467 src/testdir/dumps/Test_quickfix_cwindow_1.dump,
18468 src/testdir/dumps/Test_quickfix_cwindow_2.dump,
18469 src/testdir/test_quickfix.vim, src/testdir/test_tagjump.vim,
18470 src/testdir/test_vim9_expr.vim
18471
18472Patch 8.2.3020
18473Problem: Unreachable code.
18474Solution: Remove the code. (closes #8406)
18475Files: src/ex_docmd.c
18476
18477Patch 8.2.3021
18478Problem: Spaces allowed between option name and "!", "?", etc.
18479Solution: Disallow spaces in Vim9 script, it was not documented.
18480 (closes #8408)
18481Files: src/option.c, src/testdir/test_vim9_script.vim
18482
18483Patch 8.2.3022
18484Problem: Available encryption methods are not strong enough.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018485Solution: Add initial support for xchacha20. (Christian Brabandt,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018486 closes #8394)
18487Files: .github/workflows/ci.yml, runtime/doc/eval.txt,
18488 runtime/doc/options.txt, runtime/doc/various.txt,
18489 src/INSTALLpc.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak,
18490 src/auto/configure, src/blowfish.c, src/bufwrite.c,
18491 src/config.h.in, src/configure.ac, src/crypt.c, src/crypt_zip.c,
18492 src/errors.h, src/evalfunc.c, src/feature.h, src/fileio.c,
18493 src/memline.c, src/option.c, src/optionstr.c,
18494 src/proto/blowfish.pro, src/proto/crypt.pro,
18495 src/proto/crypt_zip.pro, src/structs.h,
18496 src/testdir/samples/crypt_sodium_invalid.txt,
18497 src/testdir/test_crypt.vim, src/undo.c, src/version.c
18498
18499Patch 8.2.3023
18500Problem: Vim9: arguments for execute() not checked at compile time.
18501Solution: Add a function to check the argument types.
18502Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
18503
18504Patch 8.2.3024 (after 8.2.3023)
18505Problem: execute() function test fails.
18506Solution: Adjust test for different error.
18507Files: src/testdir/test_execute_func.vim
18508
18509Patch 8.2.3025
18510Problem: Not enough tests for quickfix end_col and end_lnum.
18511Solution: Add a few more test cases. (Shane-XB-Qian, closes #8409)
18512Files: src/testdir/test_quickfix.vim
18513
18514Patch 8.2.3026
18515Problem: Vim9: cannot set breakpoint in compiled function.
18516Solution: Check for breakpoint when calling a function.
18517Files: src/vim9execute.c, src/structs.h, src/vim.h, src/vim9.h,
18518 src/debugger.c, src/testdir/test_debugger.vim
18519
18520Patch 8.2.3027
18521Problem: Vim9: breakpoint in compiled function not always checked.
18522Solution: Check for breakpoint when calling compiled function from compiled
18523 function.
18524Files: src/vim9execute.c, src/testdir/test_debugger.vim
18525
18526Patch 8.2.3028
18527Problem: GUI mouse events not tested.
18528Solution: Add test_gui_mouse_event(). Add mouse tests. Also add a few
18529 viminfo tests. (Yegappan Lakshmanan, closes #8407)
18530Files: runtime/doc/eval.txt, runtime/doc/testing.txt,
18531 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/testing.pro,
18532 src/testdir/test_gui.vim, src/testdir/test_viminfo.vim,
18533 src/testing.c
18534
18535Patch 8.2.3029
18536Problem: Vim9: crash when using operator and list unpack assignment.
18537 (Naohiro Ono)
18538Solution: Get variable value before operation. (closes #8416)
18539Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c, src/ex_docmd.c,
18540 src/testdir/test_vim9_assign.vim,
18541 src/testdir/test_vim9_disassemble.vim
18542
18543Patch 8.2.3030
18544Problem: Coverity reports a memory leak.
18545Solution: Fix the leak and a few typos. (Dominique Pellé, closes #8418)
18546Files: src/crypt.c, src/errors.h
18547
18548Patch 8.2.3031
18549Problem: No error if a function name starts with an underscore. (Naohiro
18550 Ono)
18551Solution: In Vim9 script disallow a function name starting with an
18552 underscore, as is mentioned in the help. (closes #8414)
18553Files: src/userfunc.c, src/testdir/test_vim9_func.vim
18554
18555Patch 8.2.3032
18556Problem: Build problems with MSVC, other crypt issues with libsodium.
18557Solution: Adjust MSVC makefile. Disable swap file only when 'key' is set.
18558 Adjust error message used when key is wrong. Fix Coverity issues.
18559 (Christian Brabandt, closes #8420, closes #8411)
18560Files: src/Make_mvc.mak, src/crypt.c, src/errors.h, src/fileio.c,
18561 src/memline.c, src/proto/crypt.pro
18562
18563Patch 8.2.3033
18564Problem: No error when using alpha delimiter with :global.
18565Solution: Check the delimiter like with :substitute. (closes #8415)
18566Files: src/ex_cmds.c, src/testdir/test_global.vim
18567
18568Patch 8.2.3034
18569Problem: Installing packages on github CI sometimes fails.
18570Solution: Update package information first. (Christian Brabandt,
18571 closes #8432)
18572Files: .github/workflows/ci.yml
18573
18574Patch 8.2.3035
18575Problem: Vim9: crash when calling :def function with partial and return
18576 type is not set.
18577Solution: When the return type is not set handle like the return type is
18578 unknown. (closes #8422)
18579Files: src/vim9type.c, src/testdir/test_vim9_func.vim
18580
18581Patch 8.2.3036
18582Problem: Vim9: builtin function arguments not checked at compile time.
18583Solution: Add more argument type specs. Check arguments to test_setmouse()
18584 and test_gui_mouse_event(). (Yegappan Lakshmanan, closes #8425)
18585Files: src/evalfunc.c, src/testdir/test_assert.vim,
18586 src/testdir/test_gui.vim, src/testdir/test_popupwin.vim,
18587 src/testdir/test_vim9_builtin.vim, src/testing.c
18588
18589Patch 8.2.3037
18590Problem: Configure reports libcanberra when checking for libsodium.
18591Solution: Adjust the message. (Ozaki Kiichi, closes #8435)
18592Files: src/configure.ac, src/auto/configure
18593
18594Patch 8.2.3038
18595Problem: Amiga built-in version string doesn't include build date.
18596Solution: Add the build date if available. (Ola Söder, closes #8437)
18597Files: src/os_amiga.c
18598
18599Patch 8.2.3039
18600Problem: Vim9: breakpoint at a comment line does not work.
18601Solution: Add the comment line number to the debug instruction.
18602 (closes #8429)
18603Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
18604 src/testdir/test_debugger.vim,
18605 src/testdir/test_vim9_disassemble.vim
18606
18607Patch 8.2.3040
18608Problem: GUI: dropping files not tested.
18609Solution: Add test_gui_drop_files() and tests. (Yegappan Lakshmanan,
18610 closes #8434)
18611Files: runtime/doc/eval.txt, runtime/doc/testing.txt,
18612 runtime/doc/usr_41.txt, src/evalfunc.c, src/gui.c,
18613 src/proto/testing.pro, src/testdir/test_gui.vim, src/testing.c
18614
18615Patch 8.2.3041
18616Problem: Detecting if the process of a swap file is running fails if the
18617 process is owned by another user.
18618Solution: Check for the ESRCH error. (closes #8436)
18619Files: src/os_unix.c
18620
18621Patch 8.2.3042 (after 8.2.3041)
18622Problem: Swap file test fails.
18623Solution: Check for a very high process ID instead of one, which should be
18624 running.
18625Files: src/testdir/test_swap.vim
18626
18627Patch 8.2.3043
18628Problem: Amiga: cannot get the shell size on MorphOS and AROS.
18629Solution: Use control sequences. (Ola Söder, closes #8438)
18630Files: src/os_amiga.c
18631
18632Patch 8.2.3044
18633Problem: Amiga MorphOS and AROS: process ID is not valid.
18634Solution: Use FindTask to return something which is unique to all processes.
18635 (Ola Söder, closes #8444)
18636Files: src/os_amiga.c
18637
18638Patch 8.2.3045
18639Problem: Minor typos.
18640Solution: Fix the typos. (Christian Brabandt, closes #8441)
18641Files: src/VisVim/README_VisVim.txt, src/evalfunc.c, src/testdir/vim9.vim
18642
18643Patch 8.2.3046
18644Problem: Amiga MorphOS: Term mode is set using DOS packets.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018645Solution: Use the same way of setting term mode on all next gen Amiga-like
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018646 systems. (Ola Söder, closes #8445)
18647Files: src/os_amiga.c
18648
18649Patch 8.2.3047
18650Problem: Increment and decrement don't allow for next command.
18651Solution: Allow for comment and next command. (closes #8442)
18652Files: src/ex_cmds.h, src/vim9script.c, src/testdir/test_vim9_assign.vim
18653
18654Patch 8.2.3048
18655Problem: Strange error for white space after ++ command.
18656Solution: Check for white space explicitly. (closes #8440)
18657Files: src/vim9script.c, src/errors.h, src/vim9compile.c,
18658 src/testdir/test_vim9_assign.vim
18659
18660Patch 8.2.3049
18661Problem: JSON patch file not recognized.
18662Solution: Recognize json-patch as json. (Kevin Locke, closes #8450)
18663Files: runtime/filetype.vim, src/testdir/test_filetype.vim
18664
18665Patch 8.2.3050
18666Problem: Cannot recognize elixir files.
18667Solution: Recognize Elixir-specific files. Check if an .ex file is Euphoria
18668 or Elixir. (Austin Gatlin, closes #8401, closes #8446)
18669Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
18670 src/testdir/test_filetype.vim
18671
18672Patch 8.2.3051
18673Problem: Vim9: for loop with one list variable does not work.
18674Solution: Use a separate flag for unpacking a list. (closes #8452)
18675Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
18676
18677Patch 8.2.3052
18678Problem: Vim9: "legacy call" does not work.
18679Solution: Do not skip "call" after "legacy". (closes #8454)
18680Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
18681
18682Patch 8.2.3053
18683Problem: Vim9: cannot assign to @@ in :def function
18684Solution: Handle '@' like '"'. (closes #8456)
18685Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
18686
18687Patch 8.2.3054
18688Problem: Vim9: unpack assignment using "_" after semicolon fails.
18689Solution: Drop the expression result. (closes #8453)
18690Files: src/vim9compile.c, src/errors.h, src/testdir/test_vim9_assign.vim
18691
18692Patch 8.2.3055
18693Problem: Strange error for assigning to "x.key" on non-dictionary.
18694Solution: Add a specific error message. (closes #8451)
18695Files: src/eval.c, src/errors.h, src/testdir/test_vim9_assign.vim,
18696 src/testdir/test_listdict.vim, src/testdir/test_let.vim
18697
18698Patch 8.2.3056
18699Problem: Vim9: using default value in lambda gives confusing error.
18700Solution: Pass "default_args" on the first pass to get the arguments.
18701 (closes #8455)
18702Files: src/userfunc.c, src/testdir/test_vim9_func.vim
18703
18704Patch 8.2.3057
18705Problem: Vim9: debugger test fails with normal features and +terminal.
18706 (Dominique Pellé)
18707Solution: Adjust the INSTRUCTIONS macro. (closes #8460)
18708Files: src/vim9.h
18709
18710Patch 8.2.3058 (after 8.2.3056)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018711Problem: Vim9: cannot use ternary operator in parentheses.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018712Solution: Do not use "==" for a default argument value. (closes #8462)
18713Files: src/userfunc.c, src/testdir/test_vim9_func.vim
18714
18715Patch 8.2.3059 (after 8.2.3056)
18716Problem: Vim9: memory leak when using lambda.
18717Solution: Do not store the default value strings when skipping.
18718Files: src/userfunc.c
18719
18720Patch 8.2.3060 (after 8.2.3056)
Bram Moolenaar1588bc82022-03-08 21:35:07 +000018721Problem: Vim9: cannot use ternary operator in parentheses.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000018722Solution: Do not use "=~" for a default argument value. (closes #8462)
18723Files: src/userfunc.c, src/testdir/test_vim9_func.vim
18724
18725Patch 8.2.3061
18726Problem: Testing the shell option is incomplete and spread out.
18727Solution: Move shell tests to one file and increase coverage. (Yegappan
18728 Lakshmanan, closes #8464)
18729Files: src/testdir/Make_all.mak, src/testdir/test_functions.vim,
18730 src/testdir/test_options.vim, src/testdir/test_shell.vim,
18731 src/testdir/test_system.vim
18732
18733Patch 8.2.3062
18734Problem: Internal error when adding several text properties.
18735Solution: Do not handle text properties when deleting a line for splitting a
18736 data block. (closes #8466)
18737Files: src/structs.h, src/memline.c, src/testdir/test_textprop.vim
18738
18739Patch 8.2.3063
18740Problem: Crash when switching 'cryptmethod' to xchaha20 with an existing
18741 undo file. (Martin Tournoij)
18742Solution: Disable reading undo file when decoding can't be done inplace.
18743 (issue #8467)
18744Files: src/fileio.c, src/bufwrite.c
18745
18746Patch 8.2.3064
18747Problem: Vim9: in script cannot set item in uninitialized list.
18748Solution: When a list is NULL allocate an empty one. (closes #8461)
18749Files: src/eval.c, src/testdir/test_vim9_assign.vim
18750
18751Patch 8.2.3065
18752Problem: Vim9: error when sourcing script twice and reusing a function
18753 name.
18754Solution: Check if the function is dead. (closes #8463)
18755Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
18756
18757Patch 8.2.3066
18758Problem: Vim9: debugging lambda does not work.
18759Solution: Use the compile type of the function when compiling a lambda.
18760 (closes #8412)
18761Files: src/vim9compile.c, src/testdir/test_debugger.vim
18762
18763Patch 8.2.3067
18764Problem: Building fails with Athena. (Elimar Riesebieter)
18765Solution: Adjust #ifdefs and add the 'drop_file' feature.
18766Files: src/evalfunc.c, src/testing.c, src/testdir/test_gui.vim
18767
18768Patch 8.2.3068
18769Problem: Unicode tables are slightly outdated.
18770Solution: Update the tables for Unicode release 13. (Christian Brabandt
18771 closes #8430)
18772Files: runtime/tools/unicode.vim, src/mbyte.c
18773
18774Patch 8.2.3069
18775Problem: Error messages are spread out.
18776Solution: Move some error messages to errors.h. Use clearer names.
18777Files: src/errors.h, src/globals.h, src/arglist.c, src/buffer.c,
18778 src/channel.c, src/eval.c, src/evalfunc.c, src/evalvars.c,
18779 src/evalwindow.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c,
18780 src/filepath.c, src/fold.c, src/getchar.c, src/indent.c,
18781 src/list.c, src/map.c, src/mark.c, src/normal.c, src/ops.c,
18782 src/optionstr.c, src/popupwin.c, src/quickfix.c, src/spellfile.c,
18783 src/textprop.c, src/typval.c, src/undo.c, src/userfunc.c,
18784 src/vim9compile.c, src/window.c
18785
18786Patch 8.2.3070
18787Problem: Not enough testing for shell use.
18788Solution: Add a bit more testing. (Yegappan Lakshmanan, closes #8469)
18789Files: src/testdir/test_shell.vim, src/testdir/test_startup.vim
18790
18791Patch 8.2.3071
18792Problem: Shell options are not set properly for PowerShell.
18793Solution: Use better option defaults. (Mike Williams, closes #8459)
18794Files: runtime/doc/eval.txt, runtime/doc/options.txt,
18795 runtime/doc/os_dos.txt, src/fileio.c, src/misc2.c, src/option.c,
18796 src/os_win32.c, src/testdir/test_shell.vim
18797
18798Patch 8.2.3072
18799Problem: The "zy" command does not work well when 'virtualedit' is set to
18800 "block". (Johann Höchtl)
18801Solution: Make endspaces zero. (Christian Brabandt, closes #8468,
18802 closes #8448)
18803Files: src/register.c, src/testdir/test_visual.vim
18804
18805Patch 8.2.3073
18806Problem: When cursor is moved for block append wrong text is inserted.
18807Solution: Calculate an offset. (Christian Brabandt, closes #8433,
18808 closes #8288)
18809Files: src/ops.c, src/testdir/test_blockedit.vim,
18810 src/testdir/test_visual.vim
18811
18812Patch 8.2.3074
18813Problem: popup_atcursor() uses wrong position with concealing.
18814Solution: Keep w_wcol in conceal_check_cursor_line(). (closes #8476)
18815Files: src/screen.c, src/proto/screen.pro, src/normal.c, src/edit.c,
18816 src/ui.c, src/testdir/test_popupwin.vim,
18817 src/testdir/dumps/Test_popupwin_atcursor_pos.dump
18818
18819Patch 8.2.3075
18820Problem: Xxd always reports an old version string. (Ã…smund Ervik)
18821Solution: Update the version string with the last known change date.
18822 (Jürgen Weigert, closes #8475)
18823Files: src/xxd/xxd.c, src/testdir/test_xxd.vim
18824
18825Patch 8.2.3076
18826Problem: Vim9: using try in catch block causes a hang.
18827Solution: Save and restore the ec_in_catch flag. (closes #8478)
18828Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
18829
18830Patch 8.2.3077
18831Problem: Vim9: an error in a catch block is not reported.
18832Solution: Put the "in catch" flag in the try stack. (closes #8478)
18833Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
18834
18835Patch 8.2.3078
18836Problem: Vim9: profile test fails.
18837Solution: Make throw in :catch jump to :finally.
18838Files: src/vim9compile.c, src/vim9execute.c,
18839 src/testdir/test_vim9_script.vim
18840
18841Patch 8.2.3079
18842Problem: Powershell core not supported by default.
18843Solution: Set option defaults for "pwsh". (Mike Williams, closes #8481)
18844Files: runtime/doc/eval.txt, runtime/doc/options.txt,
18845 runtime/doc/os_dos.txt, runtime/doc/os_win32.txt, src/fileio.c,
18846 src/misc2.c, src/option.c, src/os_win32.c,
18847 src/testdir/test_shell.vim
18848
18849Patch 8.2.3080
18850Problem: Recover test fails on 32bit systems. (Ondřej Súkup)
18851Solution: Detect 32/64 bit systems. (Yegappan Lakshmanan, closes #8485,
18852 closes #8479)
18853Files: src/testdir/test_recover.vim
18854
18855Patch 8.2.3081
18856Problem: Cannot catch errors in a channel command.
18857Solution: Instead of skipping the error make it silent. (closes #8477)
18858Files: src/channel.c
18859
18860Patch 8.2.3082
18861Problem: A channel command "echoerr" does not show anything.
18862Solution: Do not use silent errors when using an "echoerr" command.
18863 (closes #8494)
18864Files: src/channel.c, src/testdir/test_channel.py,
18865 src/testdir/test_channel.vim
18866
18867Patch 8.2.3083
18868Problem: Crash when passing null string to charclass().
18869Solution: Bail out when string pointer is NULL. (Christian Brabandt,
18870 closes #8498, closes #8260)
18871Files: src/mbyte.c, src/testdir/test_functions.vim
18872
18873Patch 8.2.3084
18874Problem: Vim9: builtin function argument types are not checked at compile
18875 time.
18876Solution: Add argument types. (Yegappan Lakshmanan, closes #8503)
18877Files: src/evalfunc.c, src/testdir/test_functions.vim,
18878 src/testdir/test_glob2regpat.vim,
18879 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim
18880
18881Patch 8.2.3085
18882Problem: JSONC files are not recognized.
18883Solution: Recognize .jsonc files. (Izhak Jakov, closes #8500)
18884Files: runtime/filetype.vim, src/testdir/test_filetype.vim
18885
18886Patch 8.2.3086
18887Problem: Vim9: breakpoint on "for" does not work.
18888Solution: Use the right line number in ISN_DEBUG. (closes #8486)
18889Files: src/vim9compile.c, src/testdir/test_debugger.vim
18890
18891Patch 8.2.3087
18892Problem: Gemtext files are not recognized.
18893Solution: Recognize .gmi and .gemini files. (closes #8427)
18894Files: runtime/filetype.vim, src/testdir/test_filetype.vim
18895
18896Patch 8.2.3088
18897Problem: With 'virtualedit' set to "block" Visual highlight is wrong after
18898 using "$". (Marco Trosi)
18899Solution: Do not set w_old_cursor_lcol to MAXCOL. (closes #8495)
18900Files: src/drawscreen.c, src/testdir/test_visual.vim,
18901 src/testdir/dumps/Test_visual_block_with_virtualedit.dump
18902
18903Patch 8.2.3089
18904Problem: Garbage collection has useless code.
18905Solution: Bail out when aborting. (closes #8504)
18906Files: src/userfunc.c
18907
18908Patch 8.2.3090
18909Problem: With concealing enabled and indirectly closing a fold the cursor
18910 may be somewhere in a folded line.
18911Solution: Recompute the cursor position when the cursor line can be
18912 concealed. (closes #8480)
18913Files: src/drawscreen.c
18914
18915Patch 8.2.3091
18916Problem: Vim9: default argument expression cannot use previous argument
18917Solution: Correct argument index. (closes #8496)
18918Files: src/vim9compile.c, src/structs.h, src/testdir/test_vim9_func.vim
18919
18920Patch 8.2.3092
18921Problem: Vim9: builtin function test fails without the +channel feature.
18922Solution: Check the +channel feature is supported. (Dominique Pellé,
18923 closes #8507)
18924Files: runtime/doc/eval.txt, src/testdir/test_vim9_builtin.vim
18925
18926Patch 8.2.3093
18927Problem: tablabel_tooltip test fails with Athena. (Dominique Pellé)
18928Solution: Skip the test when using Athena. (closes #8508)
18929Files: src/testdir/test_gui.vim, src/testdir/check.vim
18930
18931Patch 8.2.3094
18932Problem: Test_popup_atcursor_pos() fails without the conceal feature.
18933Solution: Add a check for the conceal feature. (Dominique Pellé,
18934 closes #8505)
18935Files: src/testdir/test_popupwin.vim
18936
18937Patch 8.2.3095 (after 8.2.3088)
18938Problem: With 'virtualedit' set to "block" block selection is wrong after
18939 using "$". (Marco Trosi)
18940Solution: Compute the longest selected line. (closes #8495)
18941Files: src/drawscreen.c, src/testdir/test_visual.vim,
18942 src/testdir/dumps/Test_visual_block_with_virtualedit2.dump
18943
18944Patch 8.2.3096
18945Problem: Temp files remain after running tests.
18946Solution: Delete the right files. (Dominique Pellé, closes #8509)
18947Files: src/testdir/test_debugger.vim, src/testdir/test_lambda.vim,
18948 src/testdir/test_visual.vim
18949
18950
18951Patch 8.2.3097
18952Problem: Crash when using "quit" at recovery prompt and autocommands are
18953 triggered.
18954Solution: Block autocommands when creating an empty buffer to use as the
18955 current buffer. (closes #8506)
18956Files: src/buffer.c, src/testdir/test_swap.vim
18957
18958Patch 8.2.3098
18959Problem: Popup window test is flaky on MS-Windows with GUI.
18960Solution: Skip the check in this situation.
18961Files: src/testdir/test_popupwin.vim
18962
18963Patch 8.2.3099
18964Problem: Vim9: missing catch/finally not reported at script level.
18965Solution: Give an error. (closes #8487)
18966Files: src/structs.h, src/ex_eval.c, src/testdir/test_vim9_script.vim
18967
18968Patch 8.2.3100
18969Problem: Vim9: no error when using type with unknown number of arguments.
18970Solution: Do not ignore argument count of -1. (closes #8492)
18971Files: src/vim9type.c, src/evalfunc.c, src/proto/evalfunc.pro,
18972 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_expr.vim,
18973 src/testdir/test_vim9_func.vim
18974
18975Patch 8.2.3101
18976Problem: Missing function prototype for vim_round().
18977Solution: Add the prototype.
18978Files: src/proto/float.pro
18979
18980Patch 8.2.3102 (after 8.2.3097)
18981Problem: Test for crash fix does not fail without the fix.
18982Solution: Adjust the test sequence. (closes #8506)
18983Files: src/testdir/test_swap.vim
18984
18985Patch 8.2.3103 (after 8.2.3102)
18986Problem: Swap test may fail on some systems when jobs take longer to exit.
18987Solution: Use different file names.
18988Files: src/testdir/test_swap.vim
18989
18990Patch 8.2.3104
18991Problem: Vim9: unspecified function type causes type error.
18992Solution: Don't check type when min_argcount is negative. (issue #8492)
18993Files: src/globals.h, src/vim9type.c, src/testdir/test_vim9_assign.vim
18994
18995Patch 8.2.3105
18996Problem: Vim9: type of partial is wrong when it has arguments.
18997Solution: Subtract arguments from the count. (issue #8492)
18998Files: src/vim9type.c, src/userfunc.c, src/testdir/test_vim9_assign.vim
18999
19000Patch 8.2.3106
19001Problem: Vim9: confusing line number reported for error.
19002Solution: Use the start line number for the store instruction.
19003 (closes #8488)
19004Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
19005
19006Patch 8.2.3107
19007Problem: Vim9: error for arguments while type didn't specify arguments.
19008Solution: Do not update that type to check when no argument count is
19009 specified. (closes #8492)
19010Files: src/userfunc.c, src/testdir/test_vim9_assign.vim
19011
19012Patch 8.2.3108
19013Problem: Test for remote_foreground() fails. (Elimar Riesebieter)
19014Solution: Check that $DISPLAY is set. (Christian Brabandt)
19015Files: src/testdir/check.vim, src/testdir/test_clientserver.vim,
19016 src/testdir/test_vim9_builtin.vim
19017
19018Patch 8.2.3109
19019Problem: Check for $DISPLAY never fails.
19020Solution: Use eval().
19021Files: src/testdir/check.vim
19022
19023Patch 8.2.3110
Bram Moolenaar47c532e2022-03-19 15:18:53 +000019024Problem: A pattern that matches the cursor position is a bit complicated.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019025Solution: Use a dot to indicate the cursor line and column. (Christian
19026 Brabandt, closes #8497, closes #8179)
19027Files: runtime/doc/pattern.txt, src/errors.h, src/regexp_bt.c,
19028 src/regexp_nfa.c, src/testdir/test_regexp_latin.vim
19029
19030Patch 8.2.3111
19031Problem: Vim9: confusing error with extra whitespace before colon.
19032Solution: Check for colon after white space. (closes #8513)
19033Files: src/eval.c, src/vim9compile.c, src/testdir/test_vim9_script.vim
19034
19035Patch 8.2.3112 (after 8.2.3090)
19036Problem: With concealing enabled and indirectly closing a fold the cursor
19037 may be somewhere in a folded line when it is not on the first line
19038 of the fold.
Bram Moolenaar47c532e2022-03-19 15:18:53 +000019039Solution: Check if the cursor is somewhere in the folded text.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019040Files: src/drawscreen.c
19041
19042Patch 8.2.3113
19043Problem: No error when for loop variable shadows script variable.
19044Solution: Check for the error. (closes #8512)
19045Files: src/eval.c, src/testdir/test_vim9_script.vim
19046
19047Patch 8.2.3114
19048Problem: Amiga-like systems: build error checking for running process
19049Solution: Only build swapfile_process_running() on systems where it is
19050 actually used. (Ola Söder, closes #8519)
19051Files: src/memline.c
19052
19053Patch 8.2.3115
19054Problem: Coverity complains about free_wininfo() use.
19055Solution: Add a condition that "wip2" is not equal to "wip". (Neovim #14996)
19056Files: src/window.c
19057
19058Patch 8.2.3116
19059Problem: Vim9: crash when debugging a function with line continuation.
19060Solution: Check for a NULL pointer. (closes #8521)
19061Files: src/vim9execute.c, src/testdir/test_debugger.vim
19062
19063Patch 8.2.3117
19064Problem: Vim9: type not properly checked in for loop.
19065Solution: Have items() return a list of lists. Add runtime type checks.
19066 (closes #8515)
19067Files: src/evalfunc.c, src/globals.h, src/vim9compile.c,
19068 src/testdir/test_vim9_script.vim
19069
19070Patch 8.2.3118
19071Problem: Vim9: "any" type not handled correctly in for loop.
19072Solution: Change compile time check into runtime check. (closes #8516)
19073Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
19074
19075Patch 8.2.3119
19076Problem: Compiler warning for unused argument.
19077Solution: Add UNUSED.
19078Files: src/evalfunc.c
19079
19080Patch 8.2.3120
19081Problem: Crypt with sodium test fails on MS-Windows.
19082Solution: Make the tests pass. (closes #8428)
19083Files: src/testdir/test_crypt.vim
19084
19085Patch 8.2.3121
19086Problem: 'listchars' "exceeds" character appears in foldcolumn. Window
19087 separator is missing. (Leonid V. Fedorenchik)
19088Solution: Only draw the "exceeds" character in the text area. Break the
19089 loop when not drawing the text. (closes #8524)
19090Files: src/drawline.c, src/testdir/test_listchars.vim,
19091 src/testdir/dumps/Test_listchars_01.dump,
19092 src/testdir/dumps/Test_listchars_02.dump,
19093 src/testdir/dumps/Test_listchars_03.dump,
19094 src/testdir/dumps/Test_listchars_04.dump,
19095 src/testdir/dumps/Test_listchars_05.dump
19096
19097Patch 8.2.3122
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019098Problem: With 'nowrap' cursor position is unexpected in narrow window.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019099 (Leonid V. Fedorenchik)
19100Solution: Put cursor on the last non-empty line. (closes #8525)
19101Files: src/move.c, src/testdir/test_listchars.vim,
19102 src/testdir/dumps/Test_listchars_06.dump,
19103 src/testdir/dumps/Test_listchars_07.dump
19104
19105Patch 8.2.3123
19106Problem: Vim9: confusing error when using white space after option, before
19107 one of "!&<".
19108Solution: Give a specific error. (issue #8408)
19109Files: src/errors.h, src/option.c, src/testdir/test_vim9_script.vim
19110
19111Patch 8.2.3124
19112Problem: Vim9: no error for white space between option and "=9".
19113Solution: Check for extraneous white space. (issue #8408)
19114Files: src/option.c, src/testdir/test_vim9_script.vim
19115
19116Patch 8.2.3125
19117Problem: Variables are set but not used.
19118Solution: Move the declarations to the block where they are used.
19119 (closes #8527)
19120Files: src/regexp_nfa.c
19121
19122Patch 8.2.3126
19123Problem: Vim9: for loop error reports wrong line number.
19124Solution: Save and restore the line number when evaluating the expression.
19125 (closes #8514)
19126Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
19127
19128Patch 8.2.3127
19129Problem: Vim9: no error when adding number to list of string.
19130Solution: Check the value type. (closes #8529)
19131Files: src/list.c, src/testdir/test_vim9_builtin.vim
19132
19133Patch 8.2.3128
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019134Problem: Vim9: uninitialized list does not get type checked.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019135Solution: Set the type when initializing the variable. (closes #8529)
19136Files: src/eval.c, src/evalvars.c, src/vim9script.c,
19137 src/userfunc.c, src/proto/vim9script.pro,
19138 src/testdir/test_vim9_builtin.vim
19139
19140Patch 8.2.3129
19141Problem: Vim9: imported uninitialized list does not get type checked.
19142Solution: Get type from imported variable.
19143Files: src/eval.c, src/evalvars.c, src/vim9script.c,
19144 src/proto/vim9script.pro, src/userfunc.c,
19145 src/testdir/test_vim9_script.vim
19146
19147Patch 8.2.3130
19148Problem: Vim9: import test fails.
19149Solution: Rename directory back to "import", use "p" to avoid an error when
19150 the directory already exists.
19151Files: src/testdir/test_vim9_script.vim
19152
19153Patch 8.2.3131
19154Problem: MS-Windows: ipv6 channel test is very flaky in the GUI.
19155Solution: Skip the test.
19156Files: src/testdir/test_channel.vim
19157
19158Patch 8.2.3132
19159Problem: Compiler warns for size_t to colnr_T conversion. (Randall W.
19160 Morris)
19161Solution: Add a type cast.
19162Files: src/drawscreen.c
19163
19164Patch 8.2.3133
19165Problem: Vim9: memory leak when add() fails.
19166Solution: Allocate listitem_T after type check.
19167Files: src/list.c
19168
19169Patch 8.2.3134
19170Problem: Crash when using typename() on a function reference. (Naohiro Ono)
19171Solution: Initialize pointer to NULL. (closes #8531)
19172Files: src/vim9type.c, src/testdir/test_vim9_builtin.vim
19173
19174Patch 8.2.3135
19175Problem: Vim9: builtin function arguments not checked at compile time.
19176Solution: Add more type checks. (Yegappan Lakshmanan, closes #8539)
19177Files: src/channel.c, src/errors.h, src/evalfunc.c, src/proto/typval.pro,
19178 src/terminal.c, src/testdir/test_search.vim,
19179 src/testdir/test_textprop.vim, src/testdir/test_vim9_builtin.vim,
19180 src/testing.c, src/textprop.c, src/typval.c
19181
19182Patch 8.2.3136
19183Problem: No test for E187 and "No swap file".
19184Solution: Add a test. (Dominique Pellé, closes #8540)
19185Files: src/testdir/test_cd.vim, src/testdir/test_swap.vim
19186
19187Patch 8.2.3137
19188Problem: Vim9: no error when a line only has a variable name.
19189Solution: Give an error when an expression is evaluated without an effect.
19190 (closes #8538)
19191Files: src/ex_eval.c, src/errors.h, src/vim9compile.c,
19192 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_expr.vim,
19193 src/testdir/test_vim9_func.vim
19194
19195Patch 8.2.3138 (after 8.2.3137)
19196Problem: Debugger test fails.
19197Solution: Adjust eval command.
19198Files: src/testdir/test_debugger.vim
19199
19200Patch 8.2.3139
19201Problem: Functions for string manipulation are spread out.
19202Solution: Move string related functions to a new source file. (Yegappan
19203 Lakshmanan, closes #8470)
19204Files: Filelist, src/Make_ami.mak, src/Make_cyg_ming.mak,
19205 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
19206 src/eval.c, src/evalfunc.c, src/mbyte.c, src/misc1.c, src/misc2.c,
19207 src/proto.h, src/proto/eval.pro, src/proto/evalfunc.pro,
19208 src/proto/mbyte.pro, src/proto/misc1.pro, src/proto/misc2.pro,
19209 src/proto/strings.pro, src/strings.c
19210
19211Patch 8.2.3140 (after 8.2.3131)
19212Problem: MS-Windows: ipv6 channel test is very flaky also without the GUI.
19213Solution: Skip the test also without the GUI.
19214Files: src/testdir/test_channel.vim
19215
19216Patch 8.2.3141
19217Problem: No error when using :complete for :command without -nargs.
19218Solution: Give an error. (Martin Tournoij, closes #8544, closes #8541)
19219Files: src/usercmd.c, src/errors.h, src/testdir/test_usercommands.vim
19220
19221Patch 8.2.3142
19222Problem: Vim9: type check for has_key() argument is too strict.
19223Solution: Also allow for a number key argument. (closes #8542)
19224Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
19225
19226Patch 8.2.3143
19227Problem: Vim9: A lambda may be compiled with the wrong context if it is
19228 called from a profiled function.
19229Solution: Compile the lambda with and without profiling. (closes #8543)
19230Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
19231
19232Patch 8.2.3144
19233Problem: Vim9: no error when using an invalid value for a line number.
19234Solution: Give an error if the string value is not recognized.
19235 (closes #8536)
19236Files: src/errors.h, src/eval.c, src/testdir/test_vim9_builtin.vim
19237
19238Patch 8.2.3145
19239Problem: Vim9: profile test fails without profile feature.
19240Solution: Check the profile feature is present.
19241Files: src/testdir/test_vim9_script.vim
19242
19243Patch 8.2.3146
19244Problem: Vim9: line number wrong for :execute argument.
19245Solution: Use the line number of the :execute command itself. (closes #8537)
19246Files: src/eval.c, src/testdir/test_vim9_script.vim
19247
19248Patch 8.2.3147
19249Problem: Vim9: profiling does not work with a nested function.
19250Solution: Also compile a nested function without profiling. (closes #8543)
19251 Handle that compiling may cause the table of compiled functions to
19252 change.
19253Files: src/vim9compile.c, src/vim9execute.c,
19254 src/testdir/test_vim9_script.vim
19255
19256Patch 8.2.3148
19257Problem: Vim9: function arg type check does not handle base offset.
19258Solution: Take the base offset into account when checking builtin function
19259 argument types.
19260Files: src/evalfunc.c, src/vim9compile.c,
19261 src/testdir/test_vim9_builtin.vim
19262
19263Patch 8.2.3149 (after 8.2.3141)
19264Problem: Some plugins have a problem with the error check for using
19265 :command with -complete but without -nargs.
19266Solution: In legacy script only give a warning message.
19267Files: src/usercmd.c, src/message.c, src/proto/message.pro,
19268 src/testdir/test_usercommands.vim
19269
19270Patch 8.2.3150
19271Problem: Vim9: argument types are not checked at compile time.
19272Solution: Add more type checks. (Yegappan Lakshmanan, closes #8545)
19273Files: src/evalfunc.c, src/testing.c, src/testdir/test_vim9_builtin.vim
19274
19275Patch 8.2.3151
19276Problem: Vim9: profiling fails if nested function is also profiled.
19277Solution: Use the compile type from the outer function. (closes #8543)
19278Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
19279
19280Patch 8.2.3152
19281Problem: Vim9: accessing "s:" results in an error.
19282Solution: Do not try to lookup a script variable for "s:". (closes #8549)
19283Files: src/evalvars.c, src/testdir/test_vim9_expr.vim
19284
19285Patch 8.2.3153
19286Problem: URLs with a dash in the scheme are not recognized.
19287Solution: Allow for a scheme with a dash, but not at the start or end.
19288 (Tsuyoshi CHO, closes #8299)
19289Files: src/misc1.c, src/testdir/test_buffer.vim
19290
19291Patch 8.2.3154
19292Problem: Vim9: some type checks for builtin functions fail.
19293Solution: Correct the type checks. (Yegappan Lakshmanan, closes #8551,
19294 closes #8550)
19295Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
19296
19297Patch 8.2.3155
19298Problem: Some option related code not covered by tests.
19299Solution: Add a few test cases. (Dominique Pellé, closes #8552)
19300Files: src/testdir/test_options.vim, src/testdir/test_set.vim
19301
19302Patch 8.2.3156
19303Problem: Vim9: term_getansicolors() test fails without +termguicolors.
19304Solution: Add a check for the feature. (Dominique Pellé, closes #8555)
19305Files: src/testdir/test_vim9_builtin.vim
19306
19307Patch 8.2.3157
19308Problem: Crypt test may fail on MS-Windows.
19309Solution: Ignore "[unix]" in the file message. (Christian Brabandt,
19310 closes #8561)
19311Files: src/testdir/test_crypt.vim
19312
19313Patch 8.2.3158
19314Problem: Strange error message when using islocked() with a number.
19315 (Yegappan Lakshmanan)
19316Solution: Check that the name is empty.
19317Files: src/evalfunc.c, src/testdir/test_functions.vim
19318
19319Patch 8.2.3159
19320Problem: Cursor displayed in wrong position after deleting line.
19321Solution: When deleting lines do not approximate botline. (fixes #8559)
19322Files: src/change.c
19323
19324Patch 8.2.3160
19325Problem: 'breakindent' does not work well for bulleted and numbered lists.
19326Solution: Add the "list" entry to 'breakindentopt'. (Christian Brabandt,
19327 closes #8564, closes #1661)
19328Files: runtime/doc/options.txt, src/indent.c, src/structs.h,
19329 src/testdir/test_breakindent.vim
19330
19331Patch 8.2.3161
19332Problem: Vim9: no error when reltime() has invalid arguments.
19333Solution: Add an error. (closes #8562)
19334Files: src/time.c, src/testdir/test_vim9_builtin.vim
19335
19336Patch 8.2.3162
19337Problem: Vim9: argument types are not checked at compile time.
19338Solution: Add more type checks. (Yegappan Lakshmanan, closes #8560)
19339Files: runtime/doc/channel.txt, src/clientserver.c, src/cmdhist.c,
19340 src/errors.h, src/evalfunc.c, src/evalwindow.c, src/filepath.c,
19341 src/globals.h, src/popupwin.c, src/proto/typval.pro, src/sign.c,
19342 src/strings.c, src/terminal.c, src/testdir/test_normal.vim,
19343 src/testdir/test_reltime.vim, src/testdir/test_vim9_builtin.vim,
19344 src/testdir/test_vim9_expr.vim, src/testing.c, src/textprop.c,
19345 src/time.c, src/typval.c
19346
19347Patch 8.2.3163
19348Problem: Location list window may open a wrong file.
19349Solution: Also update the qf_ptr field. (Wei-Chung Wen, closes #8565,
19350 closes #8566)
19351Files: src/quickfix.c, src/testdir/test_quickfix.vim
19352
19353Patch 8.2.3164
19354Problem: MS-Windows: reported version lacks patchlevel, causing some update
19355 tools to update too often. (Klaus Frank)
19356Solution: Add the patchlevel to the version. (Christian Brabandt)
19357Files: src/dosinst.c
19358
19359Patch 8.2.3165
19360Problem: Vim9: in a || expression the error line number may be wrong.
19361Solution: Save and restore the line number when checking the type.
19362 (closes #8569)
19363Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
19364
19365Patch 8.2.3166
19366Problem: Vim9: nested autoload call error overruled by "Unknown error".
19367Solution: Check need_rethrow before giving an "Unknown error".
19368 (closes #8568)
19369Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
19370
19371Patch 8.2.3167
19372Problem: Get E12 in a job callback when searching for tags. (Andy Stewart)
19373Solution: Use the sandbox only for executing a command, not for searching.
19374 (closes #8511)
19375Files: src/tag.c
19376
19377Patch 8.2.3168
19378Problem: Vim9: type error for constant of type any.
19379Solution: Do add a runtime type check if a constant has type any.
19380 (closes #8570)
19381Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
19382
19383Patch 8.2.3169
19384Problem: Vim9: cannot handle nested inline function.
19385Solution: Check for nested inline function. (closes #8575)
19386Files: src/userfunc.c, src/testdir/test_vim9_func.vim,
19387 src/testdir/test_vim9_expr.vim
19388
19389Patch 8.2.3170
19390Problem: Illegal memory access in test.
19391Solution: Check pointer is not before the start of the line.
19392Files: src/userfunc.c
19393
19394Patch 8.2.3171
19395Problem: Another illegal memory access in test.
19396Solution: Check pointer is after the start of the line.
19397Files: src/userfunc.c
19398
19399Patch 8.2.3172
19400Problem: MzScheme test fails. (Christian Brabandt)
19401Solution: Correct function name.
19402Files: src/testdir/test_vim9_builtin.vim
19403
19404Patch 8.2.3173
19405Problem: Vim9: argument types are not checked at compile time.
19406Solution: Add more type checks. (Yegappan Lakshmanan, closes #8581)
19407Files: src/diff.c, src/errors.h, src/evalfunc.c, src/globals.h,
19408 src/job.c, src/proto/typval.pro, src/strings.c, src/terminal.c,
19409 src/testdir/test_vim9_builtin.vim, src/typval.c
19410
19411Patch 8.2.3174
19412Problem: Vim9: "legacy undo" finds "undo" variable.
19413Solution: Do not pass lookup function to find_ex_command(). (closes #8563)
19414Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
19415
19416Patch 8.2.3175
19417Problem: Vim9: using illegal pointer with inline function inside a lambda.
19418Solution: Clear eval_tofree_cmdline when advancing to the next line.
19419 (closes #8578)
19420Files: src/eval.c, src/testdir/test_vim9_func.vim
19421
19422Patch 8.2.3176
19423Problem: Vim9: no type error for comparing number with string.
19424Solution: Add a runtime type check. (closes #8571)
19425Files: src/typval.c, src/errors.h, src/testdir/test_vim9_expr.vim
19426
19427Patch 8.2.3177
19428Problem: Vim9: can not use "for _ in expr" at script level.
19429Solution: Skip assignment if the loop variable is "_".
19430Files: src/eval.c, src/testdir/test_vim9_script.vim
19431
19432Patch 8.2.3178
19433Problem: Vim9: the file name of an :import cannot be an expression.
19434Solution: Accept an expression that results in a string. Do not support
19435 :import in a function.
19436Files: runtime/doc/vim9.txt, src/vim9script.c, src/vim9compile.c,
19437 src/testdir/test_vim9_script.vim
19438
19439Patch 8.2.3179
19440Problem: Vim9: cannot assign to an imported variable at script level.
19441Solution: Lookup imported items when assigning.
19442Files: src/evalvars.c, src/errors.h, src/eval.c,
19443 src/testdir/test_vim9_script.vim
19444
19445Patch 8.2.3180
19446Problem: Vim9: memory leak when concatenating to an imported string.
19447Solution: Clear the destination.
19448Files: src/evalvars.c
19449
19450Patch 8.2.3181
19451Problem: Vim9: builtin function test fails without channel feature.
19452Solution: Add feature checks. (Dominique Pellé, closes #8586) Make feature
19453 checks more consistent.
19454Files: src/testdir/test_vim9_builtin.vim
19455
19456Patch 8.2.3182
19457Problem: Vim9: crash when using removing items from a constant list.
19458 (Yegappan Lakshmanan)
19459Solution: When a list was allocated with items copy them.
19460Files: src/list.c, src/testdir/test_vim9_builtin.vim
19461
19462Patch 8.2.3183
19463Problem: Duplicate error numbers.
19464Solution: Adjust the error numbers.
19465Files: src/errors.h, src/testdir/test_vim9_builtin.vim
19466
19467Patch 8.2.3184
19468Problem: Cannot add a digraph with a leading space. It is not easy to list
19469 existing digraphs.
19470Solution: Add setdigraph(), setdigraphlist(), getdigraph() and
19471 getdigraphlist(). (closes #8580)
19472Files: runtime/doc/digraph.txt, runtime/doc/eval.txt,
19473 runtime/doc/usr_41.txt, src/digraph.c, src/evalfunc.c,
19474 src/ex_docmd.c, src/globals.h, src/errors.h,
19475 src/proto/digraph.pro, src/testdir/test_digraph.vim
19476
19477Patch 8.2.3185
19478Problem: Vim9: start of inline function found in comment line.
19479Solution: Do not check for inline function in comment line. (closes #8589)
19480Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
19481
19482Patch 8.2.3186
19483Problem: Vim9: not all failures for import tested
19484Solution: Test more import failures
19485Files: src/errors.h, src/evalvars.c, src/testdir/test_vim9_script.vim
19486
19487Patch 8.2.3187
19488Problem: Vim9: popup timer callback is not compiled.
19489Solution: Compile the callback when creating the timer.
19490Files: src/vim9compile.c, src/proto/vim9compile.pro, src/popupwin.c
19491
19492Patch 8.2.3188
19493Problem: Vim9: argument types are not checked at compile time.
19494Solution: Add several more type checks, also at runtime. (Yegappan
19495 Lakshmanan, closes #8587)
19496Files: src/blob.c, src/channel.c, src/clientserver.c, src/cmdexpand.c,
19497 src/cmdhist.c, src/dict.c, src/diff.c, src/errors.h, src/eval.c,
19498 src/evalbuffer.c, src/evalfunc.c, src/evalvars.c,
19499 src/evalwindow.c, src/filepath.c, src/globals.h, src/insexpand.c,
19500 src/job.c, src/list.c, src/map.c, src/match.c,
19501 src/proto/typval.pro, src/quickfix.c, src/search.c, src/sign.c,
19502 src/strings.c, src/terminal.c, src/testdir/test_blob.vim,
19503 src/testdir/test_gui.vim, src/testdir/test_vim9_builtin.vim,
19504 src/testing.c, src/textprop.c, src/time.c, src/typval.c
19505
19506Patch 8.2.3189
19507Problem: Vim9: error when using "try|".
19508Solution: Allow for "|" right after a command.
19509Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
19510
19511Patch 8.2.3190
19512Problem: Error messages are spread out.
19513Solution: Move error messages to errors.h and give them a clear name.
19514Files: src/globals.h, src/errors.h, src/buffer.c, src/debugger.c,
19515 src/digraph.c, src/edit.c, src/ex_cmds.c, src/ex_cmds2.c,
19516 src/ex_docmd.c, src/ex_eval.c, src/gui.c, src/list.c, src/main.c,
19517 src/map.c, src/match.c, src/quickfix.c, src/regexp.c,
19518 src/regexp_bt.c, src/regexp_nfa.c, src/register.c, src/search.c,
19519 src/session.c, src/spell.c, src/syntax.c, src/time.c,
19520 src/userfunc.c, src/vim9execute.c, src/window.c
19521
19522Patch 8.2.3191
19523Problem: Vim9: not enough code is tested.
19524Solution: Use CheckLegacyAndVim9Success() in more places. Fix uncovered
19525 problems.
19526Files: src/vim9compile.c, src/vim9execute.c,
19527 src/testdir/test_listdict.vim
19528
19529Patch 8.2.3192 (after 8.2.3190)
19530Problem: Build failure with small version (Tony Mechelynck).
19531Solution: Remove stray #ifdef.
19532Files: src/errors.h
19533
19534Patch 8.2.3193
19535Problem: screenpos() is wrong when the last line is partially visible and
19536 'display' is "lastline".
19537Solution: Also compute the position for a partially visible line.
19538 (closes #8599)
19539Files: src/move.c, src/testdir/test_cursor_func.vim
19540
19541Patch 8.2.3194
19542Problem: Vim9: argument types are not checked at compile time.
19543Solution: Add several more type checks, simplify some. (Yegappan
19544 Lakshmanan, closes #8598)
19545Files: src/diff.c, src/evalbuffer.c, src/evalfunc.c, src/job.c,
19546 src/proto/typval.pro, src/sign.c, src/terminal.c,
19547 src/testdir/test_vim9_builtin.vim, src/typval.c
19548
19549Patch 8.2.3195
19550Problem: Vim9: unclear error when passing too many arguments to lambda.
19551Solution: Pass the expression itself instead of "[expression]".
19552 (closes #8604)
19553Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
19554
19555Patch 8.2.3196
19556Problem: Vim9: bool expression with numbers only fails at runtime.
19557Solution: Check constant to be bool at compile time. (closes #8603)
19558Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
19559
19560Patch 8.2.3197
19561Problem: Error messages are spread out.
19562Solution: Move a few more error messages to errors.h.
19563Files: src/globals.h, src/errors.h, src/edit.c, src/ex_cmds.c,
19564 src/ex_docmd.c, src/evalvars.c, src/option.c, src/quickfix.c,
19565 src/regexp_bt.c, src/regexp_nfa.c, src/regexp.c, src/undo.c,
19566 src/vim9compile.c, src/vim9script.c
19567
19568Patch 8.2.3198
19569Problem: Cannot use 'formatlistpat' for breakindent.
19570Solution: Use a negative list indent. (Maxim Kim, closes #8594)
19571Files: runtime/doc/options.txt, src/indent.c,
19572 src/testdir/test_breakindent.vim
19573
19574Patch 8.2.3199
19575Problem: Vim9: execution speed can be improved.
19576Solution: Make the break counter static.
19577Files: src/vim9execute.c
19578
19579Patch 8.2.3200
19580Problem: Vim9: hard to guess where a type error is given.
19581Solution: Add the function name where possible. (closes #8608)
19582Files: src/dict.c, src/proto/dict.pro, src/eval.c, src/list.c,
19583 src/vim9compile.c, src/vim9execute.c, src/structs.h,
19584 src/vim9type.c, src/proto/vim9type.pro, src/if_py_both.h,
19585 src/errors.h, src/testdir/test_vim9_builtin.vim
19586
19587Patch 8.2.3201 (after 8.2.3200)
19588Problem: Crash in test.
19589Solution: Initialize "where".
19590Files: src/eval.c, src/evalvars.c
19591
19592Patch 8.2.3202
19593Problem: Vim9: tests are only executed for legacy script.
19594Solution: Run more tests also for Vim9 script. Fix uncovered problems.
19595Files: src/vim9execute.c, src/ex_docmd.c, src/testdir/test_listdict.vim
19596
19597Patch 8.2.3203
19598Problem: Vim9: compiled string expression causes type error. (Yegappan
19599 Lakshmanan)
19600Solution: Remove the string type from the stack.
19601Files: src/vim9compile.c, src/evalfunc.c
19602
19603Patch 8.2.3204
19604Problem: Display garbled when 'cursorline' is set and lines wrap. (Gabriel
19605 Dupras)
19606Solution: Avoid inserting lines twice. (closes #7255)
19607Files: src/drawscreen.c, src/testdir/test_cursorline.vim,
19608 src/testdir/dumps/Test_cursorline_redraw_1.dump,
19609 src/testdir/dumps/Test_cursorline_redraw_2.dump
19610
19611Patch 8.2.3205
19612Problem: Coverity reports a null pointer dereference.
19613Solution: Change the logic to avoid Coverity gets confused.
19614Files: src/vim9compile.c
19615
19616Patch 8.2.3206
19617Problem: Vim9: argument types are not checked at compile time.
19618Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8611)
19619Files: runtime/doc/eval.txt, src/blob.c, src/cmdhist.c, src/dict.c,
19620 src/errors.h, src/evalfunc.c, src/filepath.c, src/globals.h,
19621 src/job.c, src/list.c, src/match.c, src/misc1.c, src/popupwin.c,
19622 src/proto/typval.pro, src/sign.c, src/terminal.c,
19623 src/testdir/test_blob.vim, src/testdir/test_vim9_builtin.vim,
19624 src/typval.c
19625
19626Patch 8.2.3207
19627Problem: Vim9: crash when compiling string fails. (Yegappan Lakshmanan)
19628Solution: Adjust the type stack length.
19629Files: src/vim9compile.c, src/testdir/test_vim9_builtin.vim
19630
19631Patch 8.2.3208
19632Problem: Dynamic library load error does not mention why it failed.
19633Solution: Add the error message. (Martin Tournoij, closes #8621)
19634Files: src/globals.h, src/if_cscope.c, src/if_lua.c, src/if_mzsch.c,
19635 src/if_perl.xs, src/if_python.c, src/if_python3.c, src/if_ruby.c,
19636 src/if_tcl.c, src/mbyte.c, src/os_win32.c, src/proto/os_win32.pro,
19637 src/terminal.c
19638
19639Patch 8.2.3209
19640Problem: Vim9: lambda doesn't find block-local variable.
19641Solution: Adjust how a script-local variable is found. (closes #8614)
19642Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
19643
19644Patch 8.2.3210
19645Problem: Vim9: searchpair() sixth argument is compiled. (Yegappan
19646 Lakshmanan)
19647Solution: Only compile the fifth argument.
19648Files: src/vim9compile.c, src/testdir/test_vim9_builtin.vim
19649
19650Patch 8.2.3211
19651Problem: Vim9: argument types are not checked at compile time.
19652Solution: Add several more type checks. Fix type check for matchaddpos().
19653 (Yegappan Lakshmanan, closes #8619)
19654Files: src/channel.c, src/evalfunc.c, src/evalvars.c, src/if_cscope.c,
19655 src/job.c, src/proto/typval.pro,
19656 src/testdir/test_vim9_builtin.vim, src/time.c, src/typval.c
19657
19658Patch 8.2.3212
19659Problem: Vim9: execution speed can be improved.
19660Solution: Use __builtin_expect() to have the compiler produce better code.
19661 (Dominique Pellé, closes #8613)
19662Files: src/vim9execute.c
19663
19664Patch 8.2.3213
19665Problem: NOCOMPOUNDSUGS entry in spell file not tested.
19666Solution: Add a test. (Dominique Pellé, closes #8624)
19667Files: src/testdir/test_spellfile.vim
19668
19669Patch 8.2.3214
19670Problem: MS-Windows: passing /D does not set the install location.
19671Solution: Adjust how the installer uses $VIM. Update the documentation.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019672 (Christian Brabandt, Ken Takata, closes #8605)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019673Files: nsis/gvim.nsi, runtime/doc/os_win32.txt
19674
19675Patch 8.2.3215
19676Problem: Vim9: argument types are not checked at compile time.
19677Solution: Add several more type checks. Sort the argument lists.
19678 (Yegappan Lakshmanan, closes #8626)
19679Files: src/change.c, src/evalfunc.c, src/filepath.c, src/sound.c,
19680 src/testdir/test_gui.vim, src/testdir/test_vim9_builtin.vim,
19681 src/testing.c
19682
19683Patch 8.2.3216
19684Problem: Vim9: crash when using variable in a loop at script level.
19685Solution: Do not clear the variable if a function was defined.
19686 Do not create a new entry in sn_var_vals every time.
19687 (closes #8628)
19688Files: src/eval.c, src/ex_eval.c, src/vim9script.c, src/userfunc.c,
19689 src/evalvars.c, src/structs.h
19690
19691Patch 8.2.3217 (after 8.2.3216)
19692Problem: Build failure.
19693Solution: Add missing changes.
19694Files: src/globals.h
19695
19696Patch 8.2.3218
19697Problem: When using xchaha20 crypt undo file is not removed.
19698Solution: Reset 'undofile' and delete the file. (Christian Brabandt,
19699 closes #8630, closes #8467)
19700Files: src/bufwrite.c, src/crypt.c, src/proto/undo.pro,
19701 src/testdir/test_crypt.vim, src/undo.c
19702
19703Patch 8.2.3219
19704Problem: :find searches non-existing directories.
19705Solution: Check the path is not "..". Update help. (Christian Brabandt,
19706 closes #8612, closes #8533)
19707Files: runtime/doc/editing.txt, src/findfile.c,
19708 src/testdir/test_findfile.vim
19709
19710Patch 8.2.3220
19711Problem: Test_term_setansicolors() fails in some configurations.
19712Solution: Check available features. (Dominique Pellé, closes #8636)
19713Files: src/testdir/test_vim9_builtin.vim
19714
19715Patch 8.2.3221
19716Problem: Vim9: argument types are not checked at compile time.
19717Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8632)
19718Files: src/evalfunc.c, src/popupwin.c, src/proto/typval.pro,
19719 src/testdir/test_assert.vim, src/testdir/test_vim9_builtin.vim,
19720 src/testdir/test_vim9_script.vim, src/testing.c, src/typval.c
19721
19722Patch 8.2.3222
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019723Problem: Vim9: cannot use loop variable later as lambda argument.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019724Solution: When not in function context check the current block ID.
19725 (closes #8637)
19726Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
19727
19728Patch 8.2.3223
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019729Problem: Vim: using {} block in autoloaded omnifunc fails.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019730Solution: Allow using {} block when text is locked. (closes #8631)
19731Files: src/ex_cmds.h, src/testdir/test_ins_complete.vim
19732
19733Patch 8.2.3224
19734Problem: Cannot call script-local function after :vim9cmd. (Christian J.
19735 Robinson)
19736Solution: Skip over "<SNR>123".
19737Files: src/vim9compile.c, src/eval.c, src/testdir/test_vim9_cmd.vim
19738
19739Patch 8.2.3225
19740Problem: Incsearch highlighting is attempted halfway a mapping.
19741Solution: Only do incsearch highlighting if keys were typed or there is no
19742 more typeahead.
19743Files: src/ex_getln.c
19744
19745Patch 8.2.3226
19746Problem: New digraph functions use old naming scheme.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019747Solution: Use the digraph_ prefix. (Hirohito Higashi, closes #8642)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019748Files: runtime/doc/digraph.txt, runtime/doc/eval.txt,
19749 runtime/doc/usr_41.txt, src/digraph.c, src/edit.c, src/errors.h,
19750 src/evalfunc.c, src/proto/digraph.pro,
19751 src/testdir/test_digraph.vim
19752
19753Patch 8.2.3227
19754Problem: 'virtualedit' can only be set globally.
19755Solution: Make 'virtualedit' global-local. (Gary Johnson, closes #8638)
19756Files: runtime/doc/options.txt, src/buffer.c, src/change.c,
19757 src/drawscreen.c, src/edit.c, src/misc2.c, src/normal.c,
19758 src/ops.c, src/option.c, src/option.h, src/optiondefs.h,
19759 src/optionstr.c, src/proto/option.pro, src/register.c,
19760 src/structs.h, src/testdir/test_virtualedit.vim
19761
19762Patch 8.2.3228
19763Problem: Cannot use a simple block for the :command argument. (Maarten
19764 Tournoij)
19765Solution: Recognize a simple {} block. (issue #8623)
19766Files: runtime/doc/map.txt, src/misc2.c, src/proto/misc2.pro,
19767 src/usercmd.c, src/testdir/test_usercommands.vim
19768
19769Patch 8.2.3229
19770Problem: Vim9: runtime and compile time type checks are not the same.
19771Solution: Add more runtime type checks for builtin functions. (Yegappan
19772 Lakshmanan, closes #8646)
19773Files: src/arglist.c, src/change.c, src/channel.c, src/cindent.c,
19774 src/clientserver.c, src/cmdhist.c, src/dict.c, src/diff.c,
19775 src/digraph.c, src/errors.h, src/eval.c, src/evalbuffer.c,
19776 src/evalfunc.c, src/evalwindow.c, src/ex_docmd.c, src/ex_getln.c,
19777 src/filepath.c, src/findfile.c, src/float.c, src/fold.c,
19778 src/getchar.c, src/indent.c, src/insexpand.c, src/job.c,
19779 src/json.c, src/list.c, src/mark.c, src/match.c, src/mbyte.c,
19780 src/menu.c, src/misc1.c, src/move.c, src/popupwin.c,
19781 src/proto/typval.pro, src/quickfix.c, src/search.c, src/sign.c,
19782 src/sound.c, src/strings.c, src/terminal.c,
19783 src/testdir/test_assert.vim, src/testdir/test_blob.vim,
19784 src/testdir/test_execute_func.vim,
19785 src/testdir/test_float_func.vim, src/testdir/test_functions.vim,
19786 src/testdir/test_glob2regpat.vim, src/testdir/test_listdict.vim,
19787 src/testdir/test_vim9_builtin.vim,
19788 src/testdir/test_vim9_script.vim, src/testing.c, src/textprop.c,
19789 src/time.c, src/typval.c, src/undo.c
19790
19791Patch 8.2.3230
19792Problem: Vim9: type error when function return type is not known yet.
19793Solution: When return type is unknown, use "any". (closes #8644)
19794Files: src/vim9compile.c, src/testdir/test_vim9_builtin.vim
19795
19796Patch 8.2.3231
19797Problem: Build failure with small features.
19798Solution: Adjust #ifdef.
19799Files: src/errors.h
19800
19801Patch 8.2.3232 (after 8.2.3229)
19802Problem: system() does not work without a second argument.
19803Solution: Do not require a second argument. (Yegappan Lakshmanan,
19804 closes #8651, closes #8650)
19805Files: src/misc1.c, src/proto/typval.pro,
19806 src/testdir/test_vim9_builtin.vim, src/typval.c
19807
19808Patch 8.2.3233
19809Problem: prop_list() and prop_find() do not indicate the buffer for the
19810 used type.
19811Solution: Add "type_bufnr" to the results. (closes #8647)
19812Files: runtime/doc/textprop.txt, src/testdir/test_textprop.vim,
19813 src/textprop.c
19814
19815Patch 8.2.3234
19816Problem: Crash when printing long string with Lua.
19817Solution: Remove lua_pop(). (Martin Tournoij, closes #8648)
19818Files: src/if_lua.c, src/testdir/test_lua.vim
19819
19820Patch 8.2.3235
19821Problem: Cannot use lambda in {} block in user command. (Martin Tournoij)
19822Solution: Do not go over the end of the lambda.
19823Files: src/userfunc.c, src/testdir/test_usercommands.vim
19824
19825Patch 8.2.3236
19826Problem: mode() does not indicate using CTRL-O in Select mode.
19827Solution: Use "vs" and similar. (closes #8640)
19828Files: runtime/doc/eval.txt, src/globals.h, src/misc1.c, src/normal.c,
19829 src/testdir/test_functions.vim
19830
19831Patch 8.2.3237
19832Problem: When a builtin function gives an error processing continues.
19833Solution: In Vim9 script return FAIL in get_func_tv().
19834Files: src/userfunc.c, src/testdir/test_vim9_assign.vim
19835
19836Patch 8.2.3238
19837Problem: Vim9: error message does not indicate the location.
19838Solution: Add the relevant text. (issue #8634)
19839Files: src/errors.h, src/vim9compile.c, src/testdir/test_vim9_expr.vim
19840
19841Patch 8.2.3239
19842Problem: Vim9: no error using heredoc for a number variable.
19843Solution: Add a type check. (closes #8627)
19844Files: src/vim9compile.c, src/evalvars.c,
19845 src/testdir/test_vim9_assign.vim
19846
19847Patch 8.2.3240
19848Problem: Lua print() does not work properly.
19849Solution: Put back lua_pop().
19850Files: src/if_lua.c, src/testdir/test_lua.vim
19851
19852Patch 8.2.3241
19853Problem: Vim9: memory leak when function reports an error.
19854Solution: Clear the return value.
19855Files: src/userfunc.c
19856
19857Patch 8.2.3242
19858Problem: Vim9: valgrind reports leaks in builtin function test.
19859Solution: Do not start a job.
19860Files: src/testdir/test_vim9_builtin.vim
19861
19862Patch 8.2.3243
19863Problem: MS-Windows: the "edit with multiple Vim" choice is not that
19864 useful.
19865Solution: Change it to "Edit with multiple tabs". (Michael Soyka,
19866 closes #8645)
19867Files: src/GvimExt/gvimext.cpp, src/GvimExt/gvimext.h
19868
19869Patch 8.2.3244
19870Problem: Lua 5.3 print() with a long string crashes.
19871Solution: Use a growarray instead of a Lua buffer. (Yegappan Lakshmanan,
19872 closes #8655)
19873Files: src/if_lua.c, src/misc2.c, src/proto/misc2.pro
19874
19875Patch 8.2.3245
19876Problem: The crypt key may appear in a swap partition.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019877Solution: When using xchacha20 use sodium_mlock(). (Christian Brabandt,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019878 closes #8657)
19879Files: src/buffer.c, src/crypt.c, src/errors.h, src/fileio.c,
19880 src/memline.c, src/vim.h
19881
19882Patch 8.2.3246
19883Problem: Memory use after free.
19884Solution: When clearing a string option set the pointer to "empty_option".
19885Files: src/option.c
19886
19887Patch 8.2.3247
19888Problem: Using uninitialized memory when checking for crypt method.
19889Solution: Check the header length before using the salt and seed.
19890Files: src/fileio.c
19891
19892Patch 8.2.3248
19893Problem: Vim9: error message for wrong input uses wrong line number.
19894Solution: Use the line number of the start of the command. (issue #8653)
19895Files: src/vim9script.c, src/testdir/test_vim9_script.vim
19896
19897Patch 8.2.3249
19898Problem: Vim9: error for re-imported function with default argument.
19899Solution: Do not check argument type if it is still unknown. (closes #8653)
19900Files: src/vim9type.c, src/proto/vim9type.pro, src/vim9script.c,
19901 src/vim.h, src/eval.c, src/vim9execute.c,
19902 src/testdir/test_vim9_script.vim
19903
19904Patch 8.2.3250
19905Problem: MS-Windows: cannot build with libsodium.
19906Solution: Change FEAT_SODIUM into HAVE_SODIUM. (Christian Brabandt,
19907 closes #8668, closes #8663)
19908Files: src/Make_mvc.mak
19909
19910Patch 8.2.3251
19911Problem: Listing builtin_gui as an available terminal is confusing.
19912Solution: Do not list builtin_gui. (Christian Brabandt, closes #8669,
19913 closes #8661)
19914Files: src/term.c, src/testdir/test_termcodes.vim
19915
19916Patch 8.2.3252
19917Problem: Duplicated code for adding buffer lines.
19918Solution: Move code to a common function. Also move map functions to map.c.
19919 (Yegappan Lakshmanan, closes #8665)
19920Files: src/evalbuffer.c, src/evalfunc.c, src/map.c, src/proto/map.pro
19921
19922Patch 8.2.3253
19923Problem: Channel test fails randomly.
19924Solution: Add a sleep after sending the "echoerr" command. (Michael Soyka)
19925Files: src/testdir/test_channel.vim, src/testdir/test_channel.py
19926
19927Patch 8.2.3254
19928Problem: win_gettype() does not recognize a quickfix window.
19929Solution: Add "quickfix" and "loclist". (Yegappan Lakshmanan, closes #8676)
19930Files: runtime/doc/eval.txt, src/evalwindow.c, src/misc2.c,
19931 src/testdir/test_quickfix.vim
19932
19933Patch 8.2.3255
19934Problem: ci" finds following string but ci< and others don't.
19935Solution: When not inside an object find the start. (Connor Lane Smit,
19936 closes #8670)
19937Files: src/search.c, src/testdir/test_textobjects.vim, src/textobject.c
19938
19939Patch 8.2.3256
19940Problem: Executable test may fail on new Ubuntu system.
19941Solution: Consider /usr/bin/cat and /bin/cat the same.
19942Files: src/testdir/test_functions.vim
19943
19944Patch 8.2.3257
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019945Problem: Calling prop_find() with -1 for ID gives erroneous error. (Naohiro
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019946 Ono)
19947Solution: When passing -1 use -2. (closes #8674)
19948Files: src/textprop.c, src/testdir/test_textprop.vim
19949
19950Patch 8.2.3258
19951Problem: Error messages have the wrong text.
19952Solution: Adjust the error message.
19953Files: src/errors.h, src/typval.c, src/testdir/test_vim9_builtin.vim
19954
19955Patch 8.2.3259
19956Problem: When 'indentexpr' causes an error the did_throw flag may remain
19957 set.
19958Solution: Reset did_throw and show the error. (closes #8677)
19959Files: src/indent.c, src/ex_docmd.c, src/proto/ex_docmd.pro
19960
19961Patch 8.2.3260
19962Problem: Build failure with small features.
19963Solution: Add #ifdef.
19964Files: src/ex_docmd.c
19965
19966Patch 8.2.3261
19967Problem: Vim9: when compiling repeat(123, N) return type is number.
19968Solution: Make return type a string. (closes #8664)
19969Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
19970
19971Patch 8.2.3262
19972Problem: Build failure when ABORT_ON_INTERNAL_ERROR is defined.
19973Solution: Adjust how estack_len_before is used.
19974Files: src/ex_docmd.c
19975
19976Patch 8.2.3263
19977Problem: Vim9: "..=" does not accept same types as the ".." operator.
19978Solution: Convert value to string like ".." does. (issue #8664)
19979Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
19980 src/testdir/test_vim9_disassemble.vim
19981
19982Patch 8.2.3264 (after 8.2.3263)
19983Problem: Vim9: assign test fails.
19984Solution: Add missing change.
19985Files: src/eval.c
19986
19987Patch 8.2.3265
19988Problem: Smartcase does not work correctly in very magic pattern.
19989Solution: Take the magicness into account when skipping over regexp items.
19990 (Christian Brabandt, closes #8682, closes #7845)
19991Files: src/search.c, src/testdir/test_search.vim
19992
19993Patch 8.2.3266
19994Problem: Vim9: assignment with two indexes may check next line.
19995Solution: Limit the number of lines to avoid checking the next line when
Bram Moolenaar1588bc82022-03-08 21:35:07 +000019996 assigning to a LHS subscript. (closes #8660)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000019997Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
19998
19999Patch 8.2.3267
20000Problem: Vim9: crash when disassembling a function that uses a deleted
20001 script variable.
20002Solution: Check the variable still exists. (closes #8683)
20003Files: src/vim9execute.c, src/testdir/test_vim9_disassemble.vim
20004
20005Patch 8.2.3268
20006Problem: Cannot use a block with :autocmd like with :command.
20007Solution: Add support for a {} block after :autocmd. (closes #8620)
20008Files: runtime/doc/autocmd.txt, runtime/doc/map.txt, src/autocmd.c,
20009 src/proto/autocmd.pro, src/usercmd.c, src/proto/usercmd.pro,
20010 src/ex_docmd.c, src/vim.h, src/testdir/test_autocmd.vim
20011
20012Patch 8.2.3269
20013Problem: Vim9: wrong argument check for partial. (Naohiro Ono)
20014Solution: Handle getting return type without arguments. Correct the minimal
20015 number of arguments for what is included in the partial.
20016 (closes #8667)
20017Files: src/evalfunc.c, src/vim9type.c, src/testdir/test_vim9_func.vim
20018
20019Patch 8.2.3270
20020Problem: prop_find() finds property with ID -2.
20021Solution: Use a separate flag to indicate an ID was specified. (issue #8674)
20022Files: src/textprop.c
20023
20024Patch 8.2.3271
20025Problem: Vim9: cannot use :command or :au with a block in a :def function.
20026Solution: Recognize the start of the block.
20027Files: src/userfunc.c, src/usercmd.c, src/ex_docmd.c,
20028 src/proto/ex_docmd.pro, src/vim9compile.c,
20029 src/testdir/test_vim9_script.vim
20030
20031Patch 8.2.3272
20032Problem: Cannot use id zero with prop_find(). (Naohiro Ono)
20033Solution: Also accept id zero.
20034Files: src/textprop.c, src/testdir/test_textprop.vim
20035
20036Patch 8.2.3273
20037Problem: Autocmd test fails.
20038Solution: Require white space before the "{" that starts a block.
20039Files: src/userfunc.c
20040
20041Patch 8.2.3274
20042Problem: Macro for printf format check can be simplified.
20043Solution: Add ATTRIBUTE_FORMAT_PRINTF(). (Dominique Pellé, issue #8635)
20044Files: src/channel.c, src/gui_xim.c, src/if_mzsch.c, src/nbdebug.c,
20045 src/nbdebug.h, src/netbeans.c, src/proto.h, src/term.c, src/vim.h,
20046 src/vim9execute.c
20047
20048Patch 8.2.3275
20049Problem: Optimizer can use hints about ga_grow() normally succeeding.
20050Solution: Use GA_GROW_FAILS() and GA_GROW_OK() in several places. (Dominique
20051 Pellé, issue #8635)
20052Files: src/arglist.c, src/macros.h, src/vim9execute.c, src/vim9compile.c
20053
20054Patch 8.2.3276
20055Problem: Vim9: exists() can only be evaluated at runtime.
20056Solution: Evaluate at compile time for option name literals. (closes #8437)
20057Files: src/vim9compile.c, src/evalfunc.c, src/proto/evalfunc.pro,
20058 src/testdir/test_vim9_builtin.vim
20059
20060Patch 8.2.3277 (after 8.2.3276)
20061Problem: Vim9: compiled has() does not work properly.
20062Solution: Fix check for has() vs exists().
20063Files: src/vim9compile.c
20064
20065Patch 8.2.3278
20066Problem: Vim9: error when adding 1 to float.
20067Solution: Accept t_number_bool. (closes #8687)
20068Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
20069
20070Patch 8.2.3279
20071Problem: Vim9: cannot use block in cmdline window.
20072Solution: Add EX_CMDWIN to the CMD_block flags. (closes #8689)
20073Files: src/ex_cmds.h, src/testdir/test_vim9_cmd.vim
20074
20075Patch 8.2.3280
20076Problem: 'virtualedit' local to buffer is not the best solution.
20077Solution: Make it window-local. (Gary Johnson, closes #8685)
20078Files: runtime/doc/options.txt, src/buffer.c, src/drawscreen.c,
20079 src/ops.c, src/option.c, src/option.h, src/optionstr.c,
20080 src/structs.h, src/testdir/test_virtualedit.vim
20081
20082Patch 8.2.3281
20083Problem: Vim9: TODO items in tests can be taken care of.
20084Solution: Update test for now working functionality. (closes #8694)
20085Files: src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_func.vim,
20086 src/testdir/test_vim9_script.vim
20087
20088Patch 8.2.3282
20089Problem: Vim9: error about using -complete without -nargs is confusing.
20090Solution: Change the wording.
20091Files: src/usercmd.c, src/errors.h
20092
20093Patch 8.2.3283
20094Problem: Julia filetype is not recognized
20095Solution: Add filetype detection. (Christian Clason, closes #8700)
20096Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20097
20098Patch 8.2.3284
20099Problem: No error for insert() or remove() changing a locked blob.
20100Solution: Check a blob is not locked before changing it. (Sean Dewar,
20101 closes #8696)
20102Files: src/blob.c, src/errors.h, src/eval.c, src/list.c,
20103 src/proto/blob.pro, src/testdir/test_blob.vim,
20104 src/testdir/test_eval_stuff.vim
20105
20106Patch 8.2.3285
20107Problem: Scdoc filetype is not recognized.
20108Solution: Add filetype detection. (Gregory Anders, closes #8701)
20109Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20110
20111Patch 8.2.3286
20112Problem: win_enter_ext() has too many boolean arguments.
20113Solution: use one flags argument with defined values.
20114Files: src/window.c
20115
20116Patch 8.2.3287
20117Problem: Channel events not handled in BufEnter autocommand.
20118Solution: Decrement dont_parse_messages earlier. (Tim Pope, closes #8697)
20119Files: src/window.c, src/testdir/test_channel.vim
20120
20121Patch 8.2.3288
20122Problem: Cannot easily access namespace dictionaries from Lua.
20123Solution: Add vim.g, vim.b, etc. (Yegappan Lakshmanan, closes #8693,
20124 from NeoVim)
20125Files: runtime/doc/if_lua.txt, src/if_lua.c, src/testdir/test_lua.vim
20126
20127Patch 8.2.3289 (after 8.2.3287)
20128Problem: Compiler warning for unused variable with small features.
20129Solution: Rearrange #ifdefs.
20130Files: src/window.c
20131
20132Patch 8.2.3290
20133Problem: Vim9: compiling dict may use pointer after free and leak memory on
20134 failure.
20135Solution: Pass a pointer to generate_PUSHS(). (Zdenek Dohnal, closes #8699)
20136Files: src/vim9compile.c
20137
20138Patch 8.2.3291
20139Problem: Coverity warns for not checking return value.
20140Solution: If dict_add() fails give an error message.
20141Files: src/if_lua.c, src/testdir/test_lua.vim
20142
20143Patch 8.2.3292
20144Problem: Underscore in very magic pattern causes a hang. Pattern with \V
20145 are case sensitive. (Yutao Yuan)
20146Solution: Adjust condition for magicness and advance pointer. (Christian
20147 Brabandt, closes #8707, closes #8704, closes #8705)
20148Files: src/search.c, src/testdir/test_search.vim
20149
20150Patch 8.2.3293
20151Problem: Finding completions may cause an endless loop.
20152Solution: Use a better way to check coming back where the search started.
20153 (Andy Gozas, closes #8672, closes #8671)
20154Files: src/insexpand.c, src/testdir/Make_all.mak,
20155 src/testdir/test_ins_complete_no_halt.vim
20156
20157Patch 8.2.3294
20158Problem: Lua: memory leak when adding dict item fails.
20159Solution: Free the typval and the dict item.
20160Files: src/if_lua.c
20161
20162Patch 8.2.3295
20163Problem: 'cursorline' should not apply to 'breakindent'.
20164Solution: Make 'cursorline' apply to 'breakindent' and 'showbreak'
20165 consistently. (closes #8684)
20166Files: src/drawline.c, src/testdir/dumps/Test_Xcursorline_19.dump,
20167 src/testdir/dumps/Test_Xcursorline_20.dump,
20168 src/testdir/dumps/Test_Xcursorline_21.dump,
20169 src/testdir/dumps/Test_Xcursorline_22.dump,
20170 src/testdir/dumps/Test_Xcursorline_23.dump,
20171 src/testdir/dumps/Test_Xcursorline_24.dump,
20172 src/testdir/dumps/Test_diff_with_cul_bri_01.dump,
20173 src/testdir/dumps/Test_diff_with_cul_bri_02.dump,
20174 src/testdir/dumps/Test_diff_with_cul_bri_03.dump,
20175 src/testdir/dumps/Test_diff_with_cul_bri_04.dump,
20176 src/testdir/test_cursorline.vim, src/testdir/test_diffmode.vim
20177
20178Patch 8.2.3296
20179Problem: Vim9: cannot add a number to a float.
20180Solution: Accept a number if the destination is a float. (closes #8703)
20181Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim
20182
20183Patch 8.2.3297
20184Problem: Cannot use all commands inside a {} block after :command and
20185 :autocmd.
20186Solution: Do consider \n to separate commands. (closes #8620)
20187Files: runtime/doc/map.txt, src/ex_docmd.c, src/proto/ex_docmd.pro,
20188 src/ex_eval.c, src/proto/ex_eval.pro, src/eval.c, src/evalvars.c,
20189 src/ex_cmds.c, src/syntax.c, src/userfunc.c, src/vim9compile.c,
20190 src/vim9script.c, src/errors.h, src/testdir/test_autocmd.vim,
20191 src/testdir/test_usercommands.vim
20192
20193Patch 8.2.3298
20194Problem: Build failure with small features.
20195Solution: Add #ifdef.
20196Files: src/ex_docmd.c
20197
20198Patch 8.2.3299
20199Problem: Vim9: exists() does not handle much at compile time.
20200Solution: Handle variable names. (closes #8688)
20201Files: src/vim9compile.c, src/evalfunc.c,
20202 src/testdir/test_vim9_builtin.vim
20203
20204Patch 8.2.3300
20205Problem: Lua: can only execute one Vim command at a time. Not easy to get
20206 the Vim version.
20207Solution: Make vim.command() accept multiple lines. Add vim.version().
20208 (Yegappan Lakshmanan, closes #8716)
20209Files: runtime/doc/if_lua.txt, src/evalfunc.c, src/if_lua.c,
20210 src/proto/evalfunc.pro, src/testdir/test_lua.vim,
20211 src/testdir/test_shell.vim
20212
20213Patch 8.2.3301
20214Problem: Memory allocation functions don't have their own place.
20215Solution: Move memory allocation functions to alloc.c. (Yegappan
20216 Lakshmanan, closes #8717)
20217Files: Filelist, src/Make_ami.mak, src/Make_cyg_ming.mak,
20218 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md,
20219 src/alloc.c, src/misc2.c, src/proto.h, src/proto/alloc.pro,
20220 src/proto/misc2.pro
20221
20222Patch 8.2.3302
20223Problem: Coverity is not run from github.
20224Solution: Add a coverity script. (James McCoy, closes #8714)
20225Files: .github/workflows/coverity.yml, Filelist
20226
20227Patch 8.2.3303
20228Problem: Some structures could be smaller.
20229Solution: Rearrange members to reduce size. (Dominique Pellé, closes #8725)
20230Files: src/structs.h, src/vim9.h, src/vim9execute.c
20231
20232Patch 8.2.3304
20233Problem: Popup window title with wide characters is truncated.
20234Solution: Use vim_strsize() instead of MB_CHARLEN(). (Naruhiko Nishino,
20235 closes #8721)
20236Files: src/popupwin.c, src/testdir/test_popupwin.vim,
20237 src/testdir/dumps/Test_popupwin_multibytetitle.dump
20238
20239Patch 8.2.3305
20240Problem: Vim9: :finally in skipped block not handled correctly.
20241Solution: Check whether :finally is in a skipped block. (Naruhiko Nishino,
20242 closes #8724)
20243Files: src/ex_eval.c, src/vim9compile.c, src/testdir/test_vim9_script.vim
20244
20245Patch 8.2.3306
20246Problem: Unexpected "No matching autocommands".
20247Solution: Do not give the message when aborting. Mention the arguments in
20248 the message. (closes #8690)
20249Files: src/autocmd.c,
20250
20251Patch 8.2.3307
20252Problem: Vim9: :echoconsole cannot access local variables.
20253Solution: Handle like other :echo commands. (closes #8708)
20254Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c,
20255 src/testdir/test_vim9_script.vim,
20256 src/testdir/test_vim9_disassemble.vim
20257
20258Patch 8.2.3308
20259Problem: Vim9: no runtime check for argument type if a function only has
20260 varargs.
20261Solution: Also check argument types if uf_va_type is set. (closes #8715)
20262Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
20263
20264Patch 8.2.3309
20265Problem: Vim9: divide by zero causes a crash.
20266Solution: Give an error message. (closes #8727)
20267Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
20268
20269Patch 8.2.3310
20270Problem: Vim9: unpack assignment does not mention source of type error.
20271Solution: Mention the argument number. (closes #8719)
20272Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
20273 src/testdir/test_vim9_disassemble.vim
20274
20275Patch 8.2.3311
20276Problem: Vim9: check for DO_NOT_FREE_CNT is very slow.
20277Solution: Move to a separate function so it can be skipped by setting
20278 $TEST_SKIP_PAT.
20279Files: src/testdir/test_vim9_expr.vim, src/testdir/runtest.vim
20280
20281Patch 8.2.3312
20282Problem: Vim9: after "if false" line breaks in expression not skipped.
20283Solution: Do parse the expression. (closes #8723)
20284Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
20285
20286Patch 8.2.3313
20287Problem: Unused code in win_exchange() and frame_remove().
20288Solution: Remove the code. (closes #8728)
20289Files: src/window.c
20290
20291Patch 8.2.3314
20292Problem: Behavior of exists() in a :def function is unpredictable.
20293Solution: Add exists_compiled().
20294Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
20295 src/errors.h, src/vim9compile.c, src/testdir/test_vim9_builtin.vim
20296
20297Patch 8.2.3315
20298Problem: Cannot use single quote in a float number for readability.
20299Solution: Support single quotes like in numbers. (closes #8713)
20300Files: src/typval.c, src/float.c, src/proto/float.pro, src/json.c,
20301 src/viminfo.c, src/testdir/test_float_func.vim
20302
20303Patch 8.2.3316 (after 8.2.3315)
20304Problem: Float test fails.
20305Solution: Add missing change.
20306Files: src/evalfunc.c
20307
20308Patch 8.2.3317
20309Problem: Vim9: No error for missing white space before return type.
20310Solution: Check for white space. (closes #8733)
20311Files: src/userfunc.c, src/testdir/test_vim9_func.vim
20312
20313Patch 8.2.3318
20314Problem: Vim9: cannot ignore quotes in number at the command line.
20315Solution: Use in_vim9script() so that after ":vim9" quotes are ignored.
20316Files: src/typval.c, src/testdir/test_float_func.vim
20317
20318Patch 8.2.3319
20319Problem: Coverity action on github does not work.
20320Solution: Remove undefined $SRCDIR. (James McCoy, closes #8739)
20321Files: .github/workflows/coverity.yml
20322
20323Patch 8.2.3320
20324Problem: Some local functions are not static.
20325Solution: Add "static". Move snprintf() related code to strings.c.
20326 (Yegappan Lakshmanan, closes #8734)
20327Files: src/alloc.c, src/channel.c, src/dict.c, src/digraph.c, src/edit.c,
20328 src/ex_docmd.c, src/getchar.c, src/job.c, src/list.c,
20329 src/message.c, src/profiler.c, src/proto/channel.pro,
20330 src/proto/dict.pro, src/proto/digraph.pro, src/proto/edit.pro,
20331 src/proto/ex_docmd.pro, src/proto/getchar.pro, src/proto/job.pro,
20332 src/proto/list.pro, src/proto/profiler.pro, src/proto/spell.pro,
20333 src/proto/vim9compile.pro, src/proto/vim9script.pro,
20334 src/proto/vim9type.pro, src/spell.c, src/strings.c,
20335 src/vim9compile.c, src/vim9script.c, src/vim9type.c, src/window.c
20336
20337Patch 8.2.3321
20338Problem: Some code is not tested.
20339Solution: Add some more tests. (Dominique Pellé, closes #8735)
20340Files: src/testdir/test_excmd.vim, src/testdir/test_writefile.vim
20341
20342Patch 8.2.3322
20343Problem: Vim9: checking type of dict does not check member type.
20344Solution: When getting the type of a typval use dv_type and lv_type.
20345 (closes #8732)
20346Files: src/vim9type.c, src/testdir/test_vim9_builtin.vim
20347
20348Patch 8.2.3323
20349Problem: Help tag for exists_compiled() is wrong. (Maxim Kim)
20350Solution: Adjust the help tag.
20351Files: runtime/doc/eval.txt
20352
20353Patch 8.2.3324
20354Problem: Vim9: Cannot use :silent with :endwhile.
20355Solution: Allow for using the :silent modifier. (closes #8737)
20356Files: src/ex_eval.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
20357 src/vim9compile.c, src/testdir/test_vim9_cmd.vim
20358
20359Patch 8.2.3325
20360Problem: Digraph test fails when LC_ALL is set to "C".
20361Solution: When restoring 'encoding' set it to "utf-8". (closes #8742)
20362Files: src/testdir/test_digraph.vim
20363
20364Patch 8.2.3326
20365Problem: Vim9: no error passing an empty list of the wrong type.
20366Solution: Use ISN_SETTYPE also for "list<any>". (closes #8732)
20367Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
20368 src/testdir/test_vim9_disassemble.vim
20369
20370Patch 8.2.3327
20371Problem: No check for sysconf() failing.
20372Solution: If sysconf() fails use SIGSTKSZ for the signal stack size.
20373 (Zdenek Dohnal, closes #8743)
20374Files: src/os_unix.c
20375
20376Patch 8.2.3328
20377Problem: Coverity error for not checking return value.
20378Solution: Check value is not negative.
20379Files: src/spellfile.c
20380
20381Patch 8.2.3329
20382Problem: v_lock not set when getting value of environment variable.
20383Solution: Set v_lock to zero.
20384Files: src/typval.c
20385
20386Patch 8.2.3330
20387Problem: Coverity reports using uninitialized field.
20388Solution: Initialize the field early.
20389Files: src/tag.c
20390
20391Patch 8.2.3331
20392Problem: Coverity warns for using value without boundary check.
20393Solution: Add a boundary check.
20394Files: src/viminfo.c
20395
20396Patch 8.2.3332
20397Problem: Vim9: cannot assign to range in list.
20398Solution: Implement overwriting a list range.
20399Files: src/vim9compile.c, src/vim9execute.c, src/list.c,
20400 src/proto/list.pro, src/eval.c, src/proto/eval.pro,
20401 src/testdir/test_listdict.vim, src/testdir/test_vim9_assign.vim
20402
20403Patch 8.2.3333
20404Problem: Vim9: not enough tests run with Vim9.
20405Solution: Run a few more tests in Vim9 script and :def function.
20406Files: src/testdir/test_listdict.vim, src/testdir/vim9.vim
20407
20408Patch 8.2.3334
20409Problem: Vim9: not enough tests run with Vim9.
20410Solution: Run a few more tests in Vim9 script and :def function. Fix
20411 islocked(). Fix error for locking local variable.
20412Files: src/evalfunc.c, src/vim9compile.c, src/testdir/test_listdict.vim
20413
20414Patch 8.2.3335
20415Problem: Vim9: not enough tests run with Vim9.
20416Solution: Run a few more tests in Vim9 script and :def function. Fix that
Bram Moolenaar1588bc82022-03-08 21:35:07 +000020417 items(), keys() and values() return zero for a NULL dict.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000020418 Make join() return an empty string for a NULL list. Make sort()
20419 return an empty list for a NULL list.
20420Files: src/dict.c, src/list.c, src/testdir/test_listdict.vim,
20421 src/testdir/vim9.vim
20422
20423Patch 8.2.3336
20424Problem: Behavior of negative index in list change changed. (Naruhiko
20425 Nishino)
20426Solution: Only change it for Vim9 script. (closes #8749)
20427Files: src/list.c, src/testdir/test_listdict.vim
20428
20429Patch 8.2.3337
20430Problem: Completing "call g:" returns entries with just "g:". (Naohiro Ono)
20431Solution: Skip empty strings returned by get_user_func_name(). (closes #8753)
20432Files: src/evalfunc.c, src/testdir/test_cmdline.vim
20433
20434Patch 8.2.3338
20435Problem: Vim9: no type check when assigning a list range. (Naohiro Ono)
20436Solution: Check the member type. (closes #8750)
20437Files: src/list.c, src/testdir/test_listdict.vim
20438
20439Patch 8.2.3339
20440Problem: Vim9: cannot lock a member in a local dict.
20441Solution: Get the local dict from the stack and pass it to get_lval().
20442Files: src/eval.c, src/vim9execute.c, src/vim9compile.c, src/vim9.h,
20443 src/globals.h, src/testdir/test_vim9_cmd.vim,
20444 src/testdir/test_vim9_disassemble.vim
20445
20446Patch 8.2.3340 (after 8.2.3339)
20447Problem: Accessing uninitialized pointer.
20448Solution: Set pointer to NULL.
20449Files: src/eval.c
20450
20451Patch 8.2.3341
20452Problem: Vim9: function call aborted despite try/catch. (Naohiro Ono)
20453Solution: Ignore error caught by try/catch. (closes #8755)
20454Files: src/evalvars.c, src/vim9execute.c, src/message.c, src/time.c,
20455 src/globals.h, src/testdir/vim9.vim, src/testdir/test_vim9_func.vim
20456
20457Patch 8.2.3342 (after 8.2.3341)
20458Problem: Test for :let errors fails.
20459Solution: Adjust the test and how to avoid a second error message.
20460Files: src/evalvars.c, src/testdir/test_let.vim
20461
20462Patch 8.2.3343 (after 8.2.3342)
20463Problem: Vim9: autoload test fails.
20464Solution: Adjust the way the second message is avoided
20465Files: src/evalvars.c
20466
20467Patch 8.2.3344 (after 8.2.3343)
20468Problem: Vimscript test fails.
20469Solution: Have test verify first error instead of second
20470Files: src/testdir/test_vimscript.vim
20471
20472Patch 8.2.3345
20473Problem: Some code not covered by tests.
20474Solution: Add a few more tests. (Dominique Pellé, closes #8757)
20475Files: src/testdir/test_arglist.vim, src/testdir/test_cmdline.vim,
20476 src/testdir/test_spellfile.vim, src/testdir/test_substitute.vim
20477
20478Patch 8.2.3346
20479Problem: Vim9: no error for using "." for concatenation after ":vim9cmd".
20480 (Naohiro Ono)
20481Solution: Check for Vim9 script syntax. (closes #8756)
20482Files: src/eval.c, src/testdir/test_vim9_cmd.vim
20483
20484Patch 8.2.3347
20485Problem: Check for legacy script is incomplete. (Naohiro Ono)
20486Solution: Also check the :legacy modifier. Use for string concatenation
20487 with "." and others (issue #8756)
20488Files: src/vim9script.c, src/proto/vim9script.pro, src/eval.c,
20489 src/typval.c, src/evalvars.c, src/errors.h, src/ex_docmd.c,
20490 src/testdir/test_vim9_cmd.vim
20491
20492Patch 8.2.3348
20493Problem: line2byte() returns wrong value after adding textprop. (Yuto
20494 Kimura)
20495Solution: Reduce the length by the size of the text property. (closes #8759)
20496Files: src/memline.c, src/testdir/test_textprop.vim
20497
20498Patch 8.2.3349 (after 8.2.3347)
20499Problem: Eval test for scriptversion fails.
20500Solution: Fix off-by-one error.
20501Files: src/vim9script.c
20502
20503Patch 8.2.3350 (after 8.2.3348)
20504Problem: Text properties test fails on MS-Windows.
20505Solution: Set fileformat to unix.
20506Files: src/testdir/test_textprop.vim
20507
20508Patch 8.2.3351
20509Problem: Vim9: using a function by name may delete it. (Naohiro Ono)
20510Solution: Increment the reference count when using a function by name.
20511 (closes #8760)
20512Files: src/evalvars.c, src/testdir/test_vim9_func.vim
20513
20514Patch 8.2.3352
20515Problem: Vim9: error for nested :enddef has wrong line number.
20516Solution: Compute the line number.
20517Files: src/userfunc.c, src/testdir/test_vim9_func.vim
20518
20519Patch 8.2.3353
20520Problem: Vim9: type of argument for negate not checked at compile time.
20521Solution: Add a compile time check.
20522Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim,
20523 src/testdir/test_vim9_script.vim,
20524 src/testdir/test_vim9_disassemble.vim
20525
20526Patch 8.2.3354
20527Problem: Build failure with +byte_offset but without +textprop. (John
20528 Marriott)
20529Solution: Adjust the #ifdef.
20530Files: src/memline.c
20531
20532Patch 8.2.3355
20533Problem: MS-Windows: compiler warning for 64-32 bit conversion.
20534Solution: Add type casts.
20535Files: src/memline.c
20536
20537Patch 8.2.3356
20538Problem: Adding many text properties requires a lot of function calls.
20539Solution: Add the prop_add_list() function. (Yegappan Lakshmanan,
20540 closes #8751)
20541Files: runtime/doc/eval.txt, runtime/doc/textprop.txt,
20542 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/textprop.pro,
20543 src/testdir/test_textprop.vim, src/testdir/test_vim9_builtin.vim,
20544 src/textprop.c
20545
20546Patch 8.2.3357
20547Problem: Crash when 'virtualedit' is set and window is narrow.
20548Solution: Check that width is not zero. (closes #8767)
20549Files: src/misc2.c, src/testdir/test_number.vim
20550
20551Patch 8.2.3358
20552Problem: Structurizr files are not recognized.
20553Solution: Recognize the file by contents. (Bastian Venthur, closes #8764)
20554Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20555
20556Patch 8.2.3359
20557Problem: Vim9: error for type when variable is not set.
20558Solution: Give a specific error for a NULL function. (closes #8773)
20559Files: src/vim9type.c, src/errors.h, src/testdir/test_vim9_func.vim
20560
20561Patch 8.2.3360
20562Problem: User function completion fails with dict function.
20563Solution: Do not stop sequencing through the list if user functions when
20564 encountering an empty name. (Naohiro Ono, closes #8765,
20565 closes #8774)
20566Files: src/evalfunc.c, src/testdir/test_cmdline.vim
20567
20568Patch 8.2.3361
20569Problem: Vim9: crash with nested :while.
20570Solution: Handle skipping better. (Naruhiko Nishino, closes #8778)
20571Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
20572
20573Patch 8.2.3362
20574Problem: Buffer overflow when completing long tag name.
20575Solution: Allocate the buffer dynamically. (Gregory Anders, closes #8769)
20576Files: src/tag.c, src/testdir/test_tagjump.vim
20577
20578Patch 8.2.3363
20579Problem: When :edit reuses the current buffer the alternate file is set to
20580 the same buffer.
20581Solution: Only set the alternate file when not reusing the buffer.
20582 (closes #8783)
20583Files: src/ex_cmds.c, src/testdir/test_undo.vim,
20584 src/testdir/test_cmdline.vim, src/testdir/test_vim9_builtin.vim,
20585 src/testdir/test_vim9_script.vim
20586
20587Patch 8.2.3364
20588Problem: Vim9: crash when :for is skipped.
20589Solution: Skip more code generation. (Naruhiko Nishino, closes #8777)
20590Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
20591
20592Patch 8.2.3365
20593Problem: Vim9: cannot use option for all operations.
20594Solution: Recognize more operations. (closes #8779)
20595Files: src/vim9compile.c, src/proto/vim9compile.pro, src/ex_docmd.c,
20596 src/testdir/test_vim9_cmd.vim
20597
20598Patch 8.2.3366
20599Problem: Vim9: debugging elseif does not stop before condition.
20600Solution: Move debug statement to after the jump. (closes #8781)
20601Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
20602
20603Patch 8.2.3367
20604Problem: Vim9: :@r executing a register is inconsistent.
20605Solution: Use "@r" as the start of an expression. (issue #8779)
20606Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
20607
20608Patch 8.2.3368
20609Problem: Not all Racket files are recognized.
20610Solution: Also recognize .rktl and .rktd files. (Doug Kearns)
20611Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20612
20613Patch 8.2.3369
20614Problem: Auto formatting after "cw" leaves cursor in wrong spot.
20615Solution: Do not auto-format after the delete. (closes #8789)
20616Files: src/ops.c, src/testdir/test_textformat.vim
20617
20618Patch 8.2.3370
20619Problem: Vim9: no check for white space before type in declaration.
20620 (Naohiro Ono)
20621Solution: Check for white space like in a compiled function. (closes #8785)
20622Files: src/eval.c, src/testdir/test_vim9_assign.vim
20623
20624Patch 8.2.3371
20625Problem: Vim9: :$ENV cannot be followed by ->func() in next line.
20626Solution: Use "$ENV" as the start of an expression. (closes #8790)
20627Files: src/ex_docmd.c, src/vim9compile.c, src/testdir/test_vim9_cmd.vim
20628
20629Patch 8.2.3372
20630Problem: line2byte() value wrong when adding a text property. (Yuto Kimura)
20631Solution: Adjust length for text property. (closes #8772) Also fix it for
20632 deleting a line.
20633Files: src/memline.c, src/testdir/test_textprop.vim
20634
20635Patch 8.2.3373 (after 8.2.3372)
20636Problem: text property test fails on MS-Windows.
20637Solution: Set fileformat to "unix"
20638Files: src/testdir/test_textprop.vim
20639
20640Patch 8.2.3374
20641Problem: Pyret files are not recognized.
20642Solution: Recognize .arr files as Pyret. (Doug Kearns)
20643Files: runtime/filetype.vim, src/testdir/test_filetype.vim
20644
20645Patch 8.2.3375
20646Problem: Using uninitialized memory.
20647Solution: Initialize textprop_save_len.
20648Files: src/memline.c
20649
20650Patch 8.2.3376
20651Problem: Vim9: no warning that "@r" does not do anything.
20652Solution: Give a "no effect" error. (closes #8779)
20653Files: src/ex_eval.c, src/proto/ex_eval.pro, src/vim9compile.c,
20654 src/testdir/test_vim9_cmd.vim
20655
20656Patch 8.2.3377
20657Problem: Vim9: :disass completion does not understand "s:".
20658Solution: Expand "s:" to a pattern. (closes #8780)
20659Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
20660
20661Patch 8.2.3378
20662Problem: MS-Windows: completing environment variables with % is wrong.
20663Solution: Only complete environment variables with $. (Albert Liu,
20664 closes #8791)
20665Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
20666
20667Patch 8.2.3379
20668Problem: Crash when using NULL job.
20669Solution: Copy static string into buffer. (issue #8260)
20670Files: src/job.c, src/testdir/test_channel.vim
20671
20672Patch 8.2.3380
20673Problem: Crash when using NULL string for funcref().
20674Solution: Check for NULL argument. (issue #8260)
20675Files: src/evalfunc.c, src/testdir/test_expr.vim
20676
20677Patch 8.2.3381
20678Problem: Crash when using NULL list with sign functions.
20679Solution: Handle a NULL list like an empty list. (issue #8260)
20680Files: src/globals.h, src/testdir/test_signs.vim
20681
20682Patch 8.2.3382
20683Problem: Crash when getting the type of a NULL partial.
20684Solution: Check for NULL. (closes #8260)
20685Files: src/vim9type.c, src/testdir/test_vim9_builtin.vim
20686
20687Patch 8.2.3383
20688Problem: Vim9: completion for :disassemble adds parenthesis.
20689Solution: Don't add parenthesis. (Naohiro Ono, closes #8802)
20690Files: src/userfunc.c, src/testdir/test_cmdline.vim
20691
20692Patch 8.2.3384
20693Problem: Cannot disable modeline for an individual file.
20694Solution: Recognize "nomodeline" in a modeline. (Hu Jialun, closes #8798)
20695Files: runtime/doc/options.txt, src/buffer.c,
20696 src/testdir/test_modeline.vim
20697
20698Patch 8.2.3385
20699Problem: Escaping for fish shell does not work properly.
20700Solution: Insert a backslash before a backslash. (Jason Cox, closes #8810)
20701Files: runtime/doc/eval.txt, src/strings.c, src/testdir/test_shell.vim
20702
20703Patch 8.2.3386
20704Problem: Using uninitialized memory.
20705Solution: Initialize the rm_ic field. (Dominique Pellé, closes #8800)
20706Files: src/indent.c
20707
20708Patch 8.2.3387
20709Problem: Compiler warning for non-static function.
20710Solution: Make the function static. (Dominique Pellé, closes #8816)
20711Files: src/strings.c
20712
20713Patch 8.2.3388
20714Problem: fnamemodify('path/..', ':p') differs from using 'path/../'. (David
20715 Briscoe)
20716Solution: Include the "/.." in the directory name. (closes #8808)
20717Files: src/os_unix.c, src/testdir/test_fnamemodify.vim
20718
20719Patch 8.2.3389
20720Problem: Cannot stop insert mode completion without side effects.
20721Solution: Add CTRL-X CTRL-Z. (closes #8821)
20722Files: runtime/doc/index.txt, runtime/doc/insert.txt, src/insexpand.c,
20723 src/testdir/test_ins_complete.vim
20724
20725Patch 8.2.3390
20726Problem: Included xdiff code is outdated.
20727Solution: Sync with xdiff in git 2.33. (Christian Brabandt, closes #8431)
20728Files: src/diff.c, src/xdiff/README.txt, src/xdiff/xdiff.h,
20729 src/xdiff/xdiffi.c, src/xdiff/xdiffi.h, src/xdiff/xemit.c,
20730 src/xdiff/xemit.h, src/xdiff/xhistogram.c, src/xdiff/xinclude.h,
20731 src/xdiff/xmacros.h, src/xdiff/xpatience.c, src/xdiff/xprepare.h,
20732 src/xdiff/xtypes.h, src/xdiff/xutils.c, src/xdiff/xutils.h
20733
20734Patch 8.2.3391
20735Problem: Crash with combination of 'linebreak' and other options.
20736Solution: Avoid n_extra to become negative. (Christian Brabandt,
20737 closes #8817)
20738Files: src/drawline.c
20739
20740Patch 8.2.3392
20741Problem: augroup completion escapes regexp pattern characters.
20742Solution: Do not escape the augroup name. (closes #8826)
20743Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
20744
20745Patch 8.2.3393
20746Problem: Escaping for fish shell is skipping some characters.
20747Solution: Escape character after backslash if needed. (Jason Cox,
20748 closes #8827)
20749Files: src/strings.c, src/testdir/test_shell.vim
20750
20751Patch 8.2.3394
20752Problem: Filler lines are wrong when changing text in diff mode.
20753Solution: Don't change the filler lines on every change. Check
20754 scrollbinding when updating the filler lines. (closes #8809)
20755Files: src/move.c, src/diff.c, src/testdir/test_diffmode.vim,
20756 src/testdir/dumps/Test_diff_scroll_change_01.dump,
20757 src/testdir/dumps/Test_diff_scroll_change_02.dump
20758
20759Patch 8.2.3395
20760Problem: Vim9: expression breakpoint not checked in :def function.
20761Solution: Always compile a function for debugging if there is an expression
20762 breakpoint. (closes #8803)
20763Files: src/vim9execute.c, src/proto/vim9execute.pro, src/debugger.c,
20764 src/proto/debugger.pro, src/vim.h, src/vim9.h,
20765 src/testdir/test_debugger.vim
20766
20767Patch 8.2.3396
20768Problem: When libcall() fails invalid pointer may be used.
20769Solution: Initialize the string to NULL. (Yasuhiro Matsumoto, closes #8829)
20770Files: src/evalfunc.c
20771
20772Patch 8.2.3397
20773Problem: No test for what 8.2.3391 fixes.
20774Solution: Add a test. (Yegappan Lakshmanan, closes #8828)
20775Files: src/testdir/test_breakindent.vim
20776
20777Patch 8.2.3398
20778Problem: Html text objects are not fully tested.
20779Solution: Add tests for dbcs encoding and different number of backslashes.
20780 (Dominique Pellé, closes #8831)
20781Files: src/testdir/test_textobjects.vim
20782
20783Patch 8.2.3399
20784Problem: Octave files are not recognized.
20785Solution: Detect Octave files. (Doug Kearns)
20786Files: runtime/autoload/dist/ft.vim, runtime/doc/filetype.txt,
20787 runtime/filetype.vim, src/testdir/test_filetype.vim
20788
20789Patch 8.2.3400
20790Problem: ":z!" is not supported.
20791Solution: Make ":z!" work and add tests. (Dominique Pellé, closes #8836)
20792 Use display height instead of current window height.
20793Files: runtime/doc/various.txt, src/ex_cmds.h, src/ex_cmds.c,
20794 src/testdir/test_ex_z.vim
20795
20796Patch 8.2.3401
20797Problem: Vim9: cannot use a negative count with finddir() and findfile().
20798Solution: Adjust the return type. (closes #8776)
20799Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
20800
20801Patch 8.2.3402
20802Problem: Invalid memory access when using :retab with large value.
20803Solution: Check the number is positive.
20804Files: src/indent.c, src/option.c, src/optionstr.c,
20805 src/testdir/test_retab.vim
20806
20807Patch 8.2.3403 (after 8.2.3402)
20808Problem: Memory leak for :retab with invalid argument.
20809Solution: Free the memory. Make error messages consistent.
20810Files: src/indent.c
20811
20812Patch 8.2.3404
20813Problem: Vim9: no error for white space before "(".
20814Solution: Give an error, like in a compiled function.
20815Files: src/userfunc.c, src/testdir/test_vim9_func.vim
20816
20817Patch 8.2.3405
20818Problem: Cannot have a comment line in a {} block of a user command.
20819Solution: Continue after the line break. (closes #8837)
20820Files: src/ex_docmd.c, src/testdir/test_usercommands.vim
20821
20822Patch 8.2.3406
20823Problem: On some systems tests fail without _REENTRANT. (Elimar
20824 Riesebieter)
20825Solution: Add -D_REENTRANT in configure. (closes #7402)
20826Files: src/configure.ac, src/auto/configure
20827
20828Patch 8.2.3407
20829Problem: Using uninitialized memory with "let g:['bar'] = 2".
20830Solution: Initialize v_type of a new dict item.
20831Files: src/dict.c
20832
20833Patch 8.2.3408
20834Problem: Can delete a numbered function. (Naohiro Ono)
20835Solution: Disallow deleting a numbered function. (closes #8760)
20836Files: src/userfunc.c, src/testdir/test_user_func.vim
20837
20838Patch 8.2.3409
20839Problem: Reading beyond end of line with invalid utf-8 character.
20840Solution: Check for NUL when advancing.
20841Files: src/regexp_nfa.c, src/testdir/test_regexp_utf8.vim
20842
20843Patch 8.2.3410
20844Problem: Crash with linebreak, listchars and large tabstop.
20845Solution: Account for different size listchars for a tab. (closes #8841)
20846Files: src/drawline.c, src/testdir/test_listlbr_utf8.vim
20847
20848Patch 8.2.3411
20849Problem: Vim9: crash when using base name of import. (Naohiro Ono)
20850Solution: Check the import flags. (closes #8843)
20851Files: src/evalvars.c, src/errors.h, src/testdir/test_vim9_script.vim
20852
20853Patch 8.2.3412 (after 8.2.3411)
20854Problem: Vim9: importing the wrong file.
20855Solution: Correct the file name. Delete the file afterwards.
20856Files: src/testdir/test_vim9_script.vim
20857
20858Patch 8.2.3413
20859Problem: Vim9: too many characters are allowed in import name.
20860Solution: Disallow ':' and '#', check for white space. (closes #8845)
20861Files: src/vim9script.c, src/errors.h, src/testdir/test_vim9_script.vim
20862
20863Patch 8.2.3414
20864Problem: fullcommand() gives the wrong name if there is a buffer-local user
20865 command. (Naohiro Ono)
20866Solution: Use a separate function to get the user command name.
20867 (closes #8840)
20868Files: src/usercmd.c, src/proto/usercmd.pro, src/ex_docmd.c,
20869 src/testdir/test_cmdline.vim
20870
20871Patch 8.2.3415
20872Problem: Vim9: Not all function argument types are properly checked.
20873Solution: Add and improve argument type checks. (Yegappan Lakshmanan,
20874 closes #8839)
20875Files: src/channel.c, src/digraph.c, src/evalfunc.c, src/terminal.c,
20876 src/testdir/test_digraph.vim, src/testdir/test_vim9_builtin.vim
20877
20878Patch 8.2.3416
20879Problem: Second error is reported while exception is being thrown.
20880Solution: Do not check for trailing characters when already aborting.
20881 (closes #8842)
20882Files: src/userfunc.c, src/testdir/test_trycatch.vim
20883
20884Patch 8.2.3417
20885Problem: Vim9: a failing debug expression aborts script sourcing.
20886Solution: Do not let expression failure abort script sourcing. (closes #8848)
20887Files: src/debugger.c, src/testdir/test_debugger.vim
20888
20889Patch 8.2.3418
20890Problem: Garbage collection while evaluating may cause trouble.
20891Solution: Disable garbage collection while evaluating an expression.
20892 (Christian Brabandt, issue #8848)
20893Files: src/eval.c
20894
20895Patch 8.2.3419
20896Problem: A failing debug expression may make Vim unusable.
20897Solution: Suppress error messages. (closes #8848)
20898Files: src/debugger.c, src/testdir/test_debugger.vim
20899
20900Patch 8.2.3420
20901Problem: _REENTRANT defined more than once.
20902Solution: Fix configure script. (Christian Brabandt, closes #8852)
20903Files: src/configure.ac, src/auto/configure
20904
20905Patch 8.2.3421
20906Problem: A bit of code is not covered by tests.
20907Solution: Add a few more test cases. (Dominique Pellé, closes #8857)
20908Files: src/testdir/test_functions.vim, src/testdir/test_history.vim,
20909 src/testdir/test_startup.vim
20910
20911Patch 8.2.3422
20912Problem: Vim9: no failure if return type differs from returned variable.
20913Solution: Copy type when copying a list. (closes #8847)
20914Files: src/list.c, src/testdir/test_vim9_func.vim
20915
20916Patch 8.2.3423
20917Problem: Vim9: list += list creates a new list in :def function.
20918Solution: Append to the existing list.
20919Files: src/structs.h, src/vim9compile.c, src/vim9execute.c,
20920 src/testdir/test_vim9_assign.vim
20921
20922Patch 8.2.3424
20923Problem: A sequence of spaces is hard to see in list mode.
20924Solution: Add the "multispace" option to 'listchars'. (closes #8834)
20925Files: runtime/doc/options.txt, src/drawline.c, src/message.c,
20926 src/screen.c, src/structs.h, src/testdir/test_listchars.vim
20927
20928Patch 8.2.3425
20929Problem: Warning for using uninitialized variable.
20930Solution: Initialize it. (John Marriott)
20931Files: src/screen.c
20932
20933Patch 8.2.3426
20934Problem: Crash when deleting a listener in a listener callback. (Naohiro
20935 Ono)
20936Solution: Mark the listener and delete it later. (closes #8863)
20937Files: src/change.c, src/testdir/test_listener.vim
20938
20939Patch 8.2.3427
20940Problem: Double free when list is copied.
20941Solution: Allocate the type when making a copy. (closes #8862)
20942 Clear the type for flattennew(). Avoid a memory leak when
20943 flattennew() fails.
20944Files: src/list.c, src/testdir/test_vim9_builtin.vim
20945
20946Patch 8.2.3428
20947Problem: Using freed memory when replacing. (Dhiraj Mishra)
20948Solution: Get the line pointer after calling ins_copychar().
20949Files: src/normal.c, src/testdir/test_edit.vim
20950
20951Patch 8.2.3429
20952Problem: Leaking memory when assigning to list or dict.
20953Solution: Free the list or dict type before overwriting it.
20954Files: src/vim9type.c, src/evalvars.c
20955
20956Patch 8.2.3430
20957Problem: No generic way to trigger an autocommand on mode change.
20958Solution: Add the ModeChanged autocommand event. (Magnus Gross, closes #8856)
20959Files: runtime/doc/autocmd.txt, src/autocmd.c, src/edit.c,
20960 src/ex_docmd.c, src/ex_getln.c, src/globals.h, src/misc1.c,
20961 src/normal.c, src/proto/autocmd.pro, src/proto/misc1.pro,
20962 src/testdir/test_edit.vim, src/vim.h
20963
20964Patch 8.2.3431
20965Problem: Completion for :disas sorts local functions first.
20966Solution: Sort local functions last, like with :delfunc. (Naohiro Ono,
20967 closes #8860)
20968Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
20969
20970Patch 8.2.3432
20971Problem: Octave/Matlab filetype detection does not work properly.
20972Solution: Update the patterns used for matching. (Doug Kearns)
20973Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim
20974
20975Patch 8.2.3433
20976Problem: :delcommand does not take a -buffer option.
20977Solution: Add the -buffer option.
20978Files: runtime/doc/map.txt, src/usercmd.c, src/errors.h,
20979 src/testdir/test_usercommands.vim
20980
20981Patch 8.2.3434 (after 8.2.3430)
20982Problem: Function prototype for trigger_modechanged() is incomplete.
20983Solution: Add "void".
20984Files: src/proto/misc1.pro
20985
20986Patch 8.2.3435
20987Problem: Vim9: dict is not passed to dict function.
20988Solution: Keep the dict used until a function call.
20989Files: src/vim9compile.c, src/vim9execute.c, src/vim9.h,
20990 src/testdir/test_vim9_func.vim,
20991 src/testdir/test_vim9_disassemble.vim
20992
20993Patch 8.2.3436
20994Problem: Check for optional bool type has confusing return type.
20995Solution: Explicitly return OK.
20996Files: src/typval.c
20997
20998Patch 8.2.3437
20999Problem: Compiler warnings for 32/64 bit usage.
21000Solution: Add type casts. (Mike Williams, closes #8870)
21001Files: src/screen.c, src/xdiff/xemit.c, src/xdiff/xutils.c
21002
21003Patch 8.2.3438
21004Problem: Cannot manipulate blobs.
21005Solution: Add blob2list() and list2blob(). (Yegappan Lakshmanan,
21006 closes #8868)
21007Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/blob.c,
21008 src/errors.h, src/evalfunc.c, src/proto/blob.pro,
21009 src/proto/typval.pro, src/testdir/test_blob.vim,
21010 src/testdir/test_vim9_builtin.vim, src/typval.c
21011
21012Patch 8.2.3439
21013Problem: Deleted lines go to wrong yank register.
21014Solution: Reset y_append when not calling get_yank_register(). (Christian
21015 Brabandt, closes #8872)
21016Files: src/ops.c, src/proto/register.pro, src/register.c,
21017 src/testdir/test_registers.vim
21018
21019Patch 8.2.3440
21020Problem: Recover test fails if there is an old swap file.
21021Solution: Delete old swap files.
21022Files: src/testdir/test_recover.vim
21023
21024Patch 8.2.3441
21025Problem: MS-Windows: vimtutor can't handle path with spaces.
21026Solution: Add double quotes. (Christian Brabandt, closes #8871)
21027Files: vimtutor.bat
21028
21029Patch 8.2.3442
21030Problem: Vim9: || and && are not handled at compile time when possible.
21031Solution: When using constants generate fewer instructions.
21032Files: src/vim9.h, src/vim9compile.c, src/vim9execute.c,
21033 src/testdir/test_vim9_disassemble.vim
21034
21035Patch 8.2.3443
21036Problem: Vim9: memory leak when and/or fails.
21037Solution: Also clear the growarray when the length is zero.
21038Files: src/vim9compile.c
21039
21040Patch 8.2.3444
21041Problem: concealed text not revealed when leaving insert mode. (Michael
21042 Soyka)
21043Solution: Check if concealing changed when leaving insert mode.
21044 (closes #8880)
21045Files: src/edit.c, src/testdir/test_conceal.vim,
21046 src/testdir/dumps/Test_conceal_two_windows_07in.dump
21047
21048Patch 8.2.3445
21049Problem: On Solaris longVersion may be declared twice. (Vladimir Marek)
21050Solution: Always declare longVersion in version.c
21051Files: src/globals.h, src/version.c
21052
21053Patch 8.2.3446
21054Problem: Not enough tests for empty string arguments.
21055Solution: Add tests, fix type check. (Yegappan Lakshmanan, closes #8881)
21056Files: runtime/doc/sign.txt, runtime/doc/textprop.txt, src/sign.c,
21057 src/testdir/test_blob.vim, src/testdir/test_vim9_builtin.vim
21058
21059Patch 8.2.3447
21060Problem: A couple of declarations are not ANSI C.
21061Solution: Put argument type inside (). (Yegappan Lakshmanan, closes #8890)
21062Files: src/os_unix.h
21063
21064Patch 8.2.3448
21065Problem: :endtry after function call that throws not found.
21066Solution: Do check for following :endtry if an exception is being thrown.
21067 (closes #8889)
21068Files: src/userfunc.c, src/testdir/test_trycatch.vim
21069
21070Patch 8.2.3449
21071Problem: Sort fails if the sort compare function returns 999.
21072Solution: Adjust value to -1 / 0 / 1. (Yasuhiro Matsumoto, closes #8884)
21073Files: src/list.c, src/testdir/test_sort.vim
21074
21075Patch 8.2.3450
21076Problem: Coveralls action fails.
21077Solution: Disable it for now.
21078Files: .github/workflows/ci.yml
21079
21080Patch 8.2.3451
21081Problem: Not all apache files are recognized.
21082Solution: Adjust the filetype pattern. (Zdenek Dohnal, closes #8882)
21083Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21084
21085Patch 8.2.3452
21086Problem: MPD files are not recognized.
21087Solution: Recognize MPD files as XML. (Steven Penny, closes #8893)
21088Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21089
21090Patch 8.2.3453
21091Problem: Autocmd not executed when editing a directory ending in a path
21092 separator inside try block.
21093Solution: Return NOTDONE instead of FAIL. (closes #8885)
21094Files: src/fileio.c, src/testdir/test_autocmd.vim
21095
21096Patch 8.2.3454
21097Problem: Using a count with "gp" leaves cursor in wrong position. (Naohiro
21098 Ono)
21099Solution: Count the inserted lines. (closes #8899)
21100Files: src/register.c, src/testdir/test_put.vim
21101
21102Patch 8.2.3455 (after 8.2.3454)
21103Problem: Using a count with "gp" leaves '] in wrong position. (Naohiro Ono)
21104Solution: Correct the mark position. (closes #8899)
21105Files: src/register.c, src/testdir/test_put.vim
21106
21107Patch 8.2.3456
21108Problem: Vim9: Not all functions are tested with an empty string argument.
21109Solution: Add tests with empty strings. (Yegappan Lakshmanan, closes #8915)
21110Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
21111
21112Patch 8.2.3457
21113Problem: MS-Windows Vim9: test executed and fails.
21114Solution: Add extra check for not being on MS-Windows.
21115Files: src/testdir/test_vim9_script.vim
21116
21117Patch 8.2.3458
21118Problem: Not all dictdconf files are recognized.
21119Solution: Adjust the pattern. (Doug Kearns)
21120Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21121
21122Patch 8.2.3459
21123Problem: Vim9: need more tests for empty string arguments.
21124Solution: Add more tests. Also use empty argument with menu_info() to get
21125 the top-level menu names. (Yegappan Lakshmanan, closes #8925)
21126Files: runtime/doc/eval.txt, src/menu.c, src/testdir/test_menu.vim,
21127 src/testdir/test_vim9_builtin.vim
21128
21129Patch 8.2.3460
21130Problem: Some type casts are not needed.
21131Solution: Remove unnecessary type casts. (closes #8934)
21132Files: src/autocmd.c, src/buffer.c, src/debugger.c, src/getchar.c,
21133 src/hardcopy.c, src/if_cscope.c, src/move.c, src/tag.c,
21134 src/version.c
21135
21136Patch 8.2.3461
21137Problem: Cannot distinguish Normal and Terminal-Normal mode.
21138Solution: Make mode() return "nt" for Terminal-Normal mode. (issue #8856)
21139Files: runtime/doc/eval.txt, src/misc1.c, src/testdir/test_functions.vim
21140
21141Patch 8.2.3462
21142Problem: The ModeChanged event only uses one character for the new_mode and
21143 old_mode values.
21144Solution: Pass one as first argument to mode(). (issue #8856)
21145Files: src/misc1.c, src/testdir/test_edit.vim
21146
21147Patch 8.2.3463
21148Problem: Pattern matching with ModeChanged not tested.
21149Solution: Add a few more test lines. (issue #8856)
21150Files: src/testdir/test_edit.vim
21151
21152Patch 8.2.3464
21153Problem: nginx files are not recognized.
21154Solution: Add several file patterns. (Chris Aumann, closes #8922)
21155Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21156
21157Patch 8.2.3465
21158Problem: Cannot detect insert scroll mode.
21159Solution: Add "scroll" to complete_info(). (closes #8943)
21160Files: runtime/doc/eval.txt, src/insexpand.c, src/testdir/test_popup.vim
21161
21162Patch 8.2.3466
21163Problem: Completion submode not indicated for virtual replace.
21164Solution: Add submode to "Rv". (closes #8945)
21165Files: runtime/doc/eval.txt, src/misc1.c, src/testdir/test_functions.vim
21166
21167Patch 8.2.3467
21168Problem: CursorHoldI event interferes with "CTRL-G U". (Naohiro Ono)
21169Solution: Restore the flag for "CTRL-G U" after triggering CursorHoldI.
21170 (closes #8937)
21171Files: src/edit.c, src/testdir/test_autocmd.vim
21172
21173Patch 8.2.3468
21174Problem: Problem with :cd when editing file in non-existent directory. (Yee
21175 Cheng Chin)
21176Solution: Prepend the current directory to get the full path. (closes #8903)
21177Files: src/os_unix.c, src/testdir/test_cd.vim
21178
21179Patch 8.2.3469
21180Problem: Some files with json syntax are not recognized.
21181Solution: Add a few file patterns. (Emiliano Ruiz Carletti, closes #8947)
21182Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21183
21184Patch 8.2.3470
21185Problem: Crash with error in :catch and also in :finally.
21186Solution: Only discard an exception if there is one. (closes #8954)
21187Files: src/ex_eval.c, src/testdir/test_trycatch.vim
21188
21189Patch 8.2.3471
21190Problem: Crash when using CTRL-T after an empty search pattern.
21191Solution: Bail out when there is no previous search pattern. (closes #8953)
21192Files: src/ex_getln.c, src/testdir/test_search.vim
21193
21194Patch 8.2.3472
21195Problem: Other crashes with empty search pattern not tested.
21196Solution: Add a few more test lines. (Dominique Pellé)
21197Files: src/testdir/test_search.vim
21198
21199Patch 8.2.3473
21200Problem: Some files with tcl syntax are not recognized.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021201Solution: Add a few file patterns. (Doug Kearns)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021202Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21203
21204Patch 8.2.3474
21205Problem: Some places use "Vimscript" instead of "Vim script".
21206Solution: Consistently use "Vim script". (Hirohito Higashi, closes #8910)
21207Files: runtime/doc/if_lua.txt, src/getchar.c, src/if_lua.c
21208
21209Patch 8.2.3475
21210Problem: Expression register set by not executed put command.
21211Solution: Do not set the register if the command is skipped. (closes #8909)
21212Files: src/ex_docmd.c, src/testdir/test_excmd.vim
21213
21214Patch 8.2.3476
21215Problem: Renaming a buffer on startup may cause using freed memory.
21216Solution: Check if the buffer is used in a window. (closes #8955)
21217Files: src/buffer.c, src/testdir/test_startup.vim
21218
21219Patch 8.2.3477 (after 8.2.3476)
21220Problem: Startup test fails on MS-Windows.
21221Solution: Skip the test if not on Unix.
21222Files: src/testdir/test_startup.vim
21223
21224Patch 8.2.3478 (after 8.2.3470)
21225Problem: Still crash with error in :catch and also in :finally.
21226Solution: Only call finish_exception() once. (closes #8954)
21227Files: src/ex_eval.c, src/structs.h
21228
21229Patch 8.2.3479
21230Problem: Crash when calling job_start with an invalid argument. (Virginia
21231 Senioria)
21232Solution: Clear the first item in argv. (closes #8957)
21233Files: src/misc2.c, src/testdir/test_channel.vim
21234
21235Patch 8.2.3480 (after 8.2.3478)
21236Problem: Test does not fail without the fix for a crash.
21237Solution: Write the bad code in a file and source it. (Dominique Pellé,
21238 closes #8961)
21239Files: src/testdir/test_trycatch.vim
21240
21241Patch 8.2.3481
21242Problem: Failures when char is unsigned.
21243Solution: Use int8_T. Make a CI run with unsigned char. (James McCoy,
21244 closes #8936)
21245Files: src/structs.h, .github/workflows/ci.yml
21246
21247Patch 8.2.3482
21248Problem: Reading beyond end of line ending in quote and backslash.
21249Solution: Check for non-NUL after backslash. (closes #8964)
21250Files: src/cindent.c, src/testdir/test_cindent.vim
21251
21252Patch 8.2.3483
21253Problem: #ifdef for using sysinfo() is incomplete.
21254Solution: Also check for HAVE_SYSINFO. Make autoconf check use TRY_LINK.
21255 (closes #8952)
21256Files: src/memline.c, src/configure.ac, src/auto/configure
21257
21258Patch 8.2.3484
21259Problem: Crash when going through spell suggestions.
21260Solution: Limit the text length for finding suggestions to the original
21261 length. Do not update buffers when exiting. (closes #8965)
21262Files: src/spellsuggest.c, src/clipboard.c,
21263 src/testdir/test_spell_utf8.vim
21264
21265Patch 8.2.3485
21266Problem: Python 3 test fails with Python 3.10.
21267Solution: Adjust expected error message. (zdohnal Dohnal, closes #8969)
21268Files: src/testdir/test_python3.vim
21269
21270Patch 8.2.3486
21271Problem: Illegal memory access with invalid sequence of commands.
21272Solution: Do not call leave_block() when not in a try block. (closes #8966)
21273 Reset did_emsg so that exception is shown as an error.
21274Files: src/ex_eval.c, src/testdir/test_trycatch.vim
21275
21276Patch 8.2.3487
21277Problem: Illegal memory access if buffer name is very long.
21278Solution: Make sure not to go over the end of the buffer.
21279Files: src/drawscreen.c, src/testdir/test_statusline.vim
21280
21281Patch 8.2.3488
21282Problem: Issue template is not easy to use.
21283Solution: Use a yaml template. (closes #8928)
21284Files: .github/ISSUE_TEMPLATE/bug_report.md,
21285 .github/ISSUE_TEMPLATE/bug_report.yml
21286
21287Patch 8.2.3489
21288Problem: ml_get error after search with range.
21289Solution: Limit the line number to the buffer line count.
21290Files: src/ex_docmd.c, src/testdir/test_search.vim
21291
21292Patch 8.2.3490
21293Problem: Superfluous return statements.
21294Solution: Remove superfluous return statements from void functions.
21295 (closes #8977)
21296Files: src/buffer.c, src/getchar.c, src/memline.c, src/move.c,
21297 src/option.c
21298
21299Patch 8.2.3491
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021300Problem: xpm2 filetype detection is not so good.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021301Solution: Adjust the check for xpm2. (closes #8914)
21302Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21303
21304Patch 8.2.3492
21305Problem: Crash when pasting too many times.
21306Solution: Limit the size to what fits in an int. (closes #8962)
21307Files: src/register.c, src/errors.h, src/testdir/test_put.vim
21308
21309Patch 8.2.3493 (after 8.2.3492)
21310Problem: Large count test fails on MS-Windows.
21311Solution: Skip the test on MS-Windows.
21312Files: src/testdir/test_put.vim
21313
21314Patch 8.2.3494
21315Problem: Illegal memory access in utf_head_off.
21316Solution: Check cursor position when reselecting the Visual area.
21317 (closes #8963)
21318Files: src/normal.c, src/testdir/test_visual.vim
21319
21320Patch 8.2.3495
21321Problem: GUI geometry startup test fails on some systems. (Drew Vogel)
21322Solution: Add tolerance to the size check. (closes #8815)
21323Files: src/testdir/test_startup.vim
21324
21325Patch 8.2.3496
21326Problem: Crypt test fails on MS-Windows if xxd was not installed yet.
21327Solution: Use the just built xxd executable if it exists. (James McCoy,
21328 closes #8929)
21329Files: src/testdir/test_crypt.vim
21330
21331Patch 8.2.3497
21332Problem: Put test fails when run by itself.
21333Solution: Source check.vim. (Dominique Pellé, closes #8990)
21334Files: src/testdir/test_put.vim
21335
21336Patch 8.2.3498
21337Problem: Recover test may fail on some systems.
21338Solution: Adjust the little endian and 64 bit detection. (James McCoy,
21339 closes #8941)
21340Files: src/testdir/test_recover.vim
21341
21342Patch 8.2.3499
21343Problem: GUI geometry startup test fails.
21344Solution: Check string values instead of numbers
21345Files: src/testdir/test_startup.vim
21346
21347Patch 8.2.3500
21348Problem: Github CI fails to install clang.
21349Solution: Install llvm-11 explicitly. (Christian Brabandt, closes #8993)
21350Files: .github/workflows/ci.yml
21351
21352Patch 8.2.3501
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021353Problem: tmux filetype detection is incomplete
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021354Solution: Also use tmux for files having text after .conf. (Eric Pruitt,
21355 closes #8971)
21356Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21357
21358Patch 8.2.3502 (after 8.2.2919)
21359Problem: Cannot enter password in shell command.
21360Solution: Revert patch 8.2.2919.
21361Files: src/os_unix.c
21362
21363Patch 8.2.3503
21364Problem: Vim9: using g:pat:cmd is confusing.
21365Solution: Do not recognize g: as the :global command. Also for s:pat:repl.
21366 (closes #8982)
21367Files: runtime/doc/vim9.txt, src/ex_docmd.c, src/ex_cmds.c, src/errors.h,
21368 src/vim9compile.c, src/proto/vim9compile.pro,
21369 src/testdir/test_vim9_cmd.vim
21370
21371Patch 8.2.3504 (after 8.2.3503)
21372Problem: Vim9: warning for signed vs unsigned.
21373Solution: Add type cast.
21374Files: src/vim9compile.c
21375
21376Patch 8.2.3505 (after 8.2.3503)
21377Problem: Vim9: build failure without the +eval feature.
21378Solution: Add #ifdef.
21379Files: src/ex_cmds.c
21380
21381Patch 8.2.3506 (after 8.2.3503)
21382Problem: Vim9: special cases for "g" and "s" insufficiently tested.
21383Solution: Add a few more test cases.
21384Files: src/testdir/test_vim9_cmd.vim
21385
21386Patch 8.2.3507
21387Problem: Generating proto files may fail.
21388Solution: Define __attribute().
21389Files: src/Makefile
21390
21391Patch 8.2.3508 (after 8.2.3503)
21392Problem: Vim9: bad separators for "g" and "s" insufficiently tested.
21393Solution: Add a few more test cases.
21394Files: src/testdir/test_vim9_cmd.vim
21395
21396Patch 8.2.3509
21397Problem: Undo file is not synced. (Sami Farin)
21398Solution: Sync the undo file if 'fsync' is set. (Christian Brabandt,
21399 closes #8879, closes #8920)
21400Files: runtime/doc/options.txt, src/undo.c
21401
21402Patch 8.2.3510
21403Problem: Changes are only detected with one second accuracy.
21404Solution: Use the nanosecond time if possible. (Leah Neukirchen,
21405 closes #8873, closes #8875)
21406Files: runtime/doc/eval.txt, src/auto/configure, src/bufwrite.c,
21407 src/config.h.in, src/configure.ac, src/fileio.c,
21408 src/proto/fileio.pro, src/memline.c, src/netbeans.c,
21409 src/structs.h, src/evalfunc.c, src/testdir/test_stat.vim
21410
21411Patch 8.2.3511
21412Problem: Vim9: entry for loop variable is created every round.
21413Solution: Only create the entry once. (closes #8996)
21414Files: src/evalvars.c, src/vim9script.c
21415
21416Patch 8.2.3512
21417Problem: Timestamp test fails on some systems.
21418Solution: Sleep for a short while.
21419Files: src/testdir/test_stat.vim
21420
21421Patch 8.2.3513
21422Problem: Using freed memory when using a timer and searching. (Dominique
21423 Pellé)
21424Solution: Allocated mr_pattern.
21425Files: src/search.c
21426
21427Patch 8.2.3514
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021428Problem: Autoread test with nanosecond time sometimes fails.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021429Solution: Mark the test as being flaky.
21430Files: src/testdir/test_stat.vim
21431
21432Patch 8.2.3515
21433Problem: Nano time test fails on Mac and FreeBSD.
21434Solution: Also check nano time when not on Linux. (Ozaki Kiichi,
21435 closes #9000)
21436Files: src/fileio.c
21437
21438Patch 8.2.3516
21439Problem: Terminal window does not have transparent background when
21440 'termguicolors' is used.
21441Solution: Fix the background color. (closes #2361, closes #9002)
21442Files: runtime/doc/terminal.txt, src/highlight.c, src/proto/terminal.pro,
21443 src/terminal.c
21444
21445Patch 8.2.3517
21446Problem: TextChanged does not trigger after TextChangedI.
21447Solution: Store the tick separately for TextChangedI. (Christian Brabandt,
21448 closes #8968, closes #8932)
21449Files: src/buffer.c, src/bufwrite.c, src/edit.c, src/structs.h,
21450 src/testdir/test_autocmd.vim
21451
21452Patch 8.2.3518
21453Problem: Test_xrestore sometimes fails.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021454Solution: Mark the test as flaky. Move marking test as flaky to the test
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021455 instead of listing them in runtest.
21456Files: src/testdir/test_paste.vim, src/testdir/runtest.vim,
21457 src/testdir/test_autocmd.vim, src/testdir/test_channel.vim,
21458 src/testdir/test_clientserver.vim, src/testdir/test_diffmode.vim,
21459 src/testdir/test_functions.vim, src/testdir/test_gui.vim,
21460 src/testdir/test_mapping.vim, src/testdir/test_popup.vim,
21461 src/testdir/test_quotestar.vim, src/testdir/test_reltime.vim,
21462 src/testdir/test_terminal.vim, src/testdir/test_terminal2.vim,
21463 src/testdir/test_timers.vim
21464
21465Patch 8.2.3519
21466Problem: TOML files are not recognized.
21467Solution: Add filetype patterns for TOML. (Aman Verma, closes #8984)
21468Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21469
21470Patch 8.2.3520
21471Problem: Cannot define a function for thesaurus completion.
21472Solution: Add 'thesaurusfunc'. (Yegappan Lakshmanan, closes #8987,
21473 closes 8950)
21474Files: runtime/doc/insert.txt, runtime/doc/options.txt,
21475 runtime/doc/quickref.txt, src/buffer.c, src/insexpand.c,
21476 src/option.c, src/option.h, src/optiondefs.h, src/optionstr.c,
21477 src/structs.h, src/testdir/test_edit.vim
21478
21479Patch 8.2.3521 (after 8.2.3520)
21480Problem: Options completion test fails.
21481Solution: Add 'thesaurusfunc' to the results.
21482Files: src/testdir/test_options.vim
21483
21484Patch 8.2.3522
21485Problem: Cannot use \x and \u when setting 'listchars'.
21486Solution: Support hex and unicode in hex form. (closes #9006)
21487Files: runtime/doc/options.txt, src/screen.c, src/charset.c,
21488 src/testdir/test_listchars.vim
21489
21490Patch 8.2.3523
21491Problem: Duplicated code in xxd.
21492Solution: Remove duplicated lines. (closes #8972)
21493Files: src/xxd/xxd.c
21494
21495Patch 8.2.3524
21496Problem: GUI: ligatures are not used.
21497Solution: Add the 'guiligatures' option. (Dusan Popovic, closes #8933)
21498Files: runtime/doc/options.txt, src/gui.c, src/gui.h, src/gui_gtk_x11.c,
21499 src/option.h, src/optiondefs.h, src/optionstr.c, src/errors.h,
21500 src/proto/gui.pro, src/proto/gui_gtk_x11.pro,
21501 src/testdir/test_gui.vim
21502
21503Patch 8.2.3525
21504Problem: Option variable name does not match option name. (Christ van
21505 Willigen)
21506Solution: Rename the variable.
21507Files: src/buffer.c, src/insexpand.c, src/option.c, src/optionstr.c,
21508 src/structs.h
21509
21510Patch 8.2.3526
21511Problem: Tests have clumsy check for X11 based GUI.
21512Solution: Add CheckX11BasedGui.
21513Files: src/testdir/check.vim, src/testdir/test_gui.vim,
21514 src/testdir/test_gui_init.vim, src/testdir/setup_gui.vim
21515
21516Patch 8.2.3527
21517Problem: Gcc complains about uninitialized variable. (Tony Mechelynck)
21518Solution: Initialize it.
21519Files: src/gui_gtk_x11.c
21520
21521Patch 8.2.3528
21522Problem: 'thesaurus' and 'thesaurusfunc' do not have the same scope.
21523Solution: Make 'thesaurusfunc' global-local.
21524Files: runtime/doc/options.txt, runtime/doc/insert.txt,
21525 src/optiondefs.h, src/option.h, src/option.c, src/structs.h,
21526 src/insexpand.c, src/testdir/test_edit.vim
21527
21528Patch 8.2.3529
21529Problem: Xxd usage output is incomplete.
21530Solution: Add "bytes" to "-g" flag. (Atsushi Sugawara, closes #8944)
21531Files: src/xxd/xxd.c
21532
21533Patch 8.2.3530
21534Problem: ":buf \{a}" fails while ":edit \{a}" works.
21535Solution: Unescape "\{". (closes #8917)
21536Files: src/vim.h, src/cmdexpand.c, src/evalfunc.c, src/ex_getln.c,
21537 src/proto/ex_getln.pro, src/normal.c, src/session.c,
21538 src/terminal.c, src/vim9execute.c, src/testdir/test_cmdline.vim
21539
21540Patch 8.2.3531 (after 8.2.3530)
21541Problem: Command line completion test fails on MS-Windows.
21542Solution: Do not test with "\{" on MS-Windows.
21543Files: src/testdir/test_cmdline.vim
21544
21545Patch 8.2.3532
21546Problem: The previous '' mark is restored after moving the cursor to the
21547 original jump position. (Tony Chen)
21548Solution: Forget the previous position after checking. (closes #8985)
21549Files: src/mark.c, src/testdir/test_marks.vim
21550
21551Patch 8.2.3533
21552Problem: Inefficient code in xxd.
21553Solution: Don't use "p" when "hextype" is non-zero. (closes #9013)
21554Files: src/xxd/xxd.c
21555
21556Patch 8.2.3534
21557Problem: Autoread test is a bit flaky.
21558Solution: Wait a brief moment before overwriting the file.
21559Files: src/testdir/test_stat.vim
21560
21561Patch 8.2.3535
21562Problem: If-else indenting is confusing.
21563Solution: Add curly brackets and indent. (Dominique Pellé, closes #9010)
21564Files: src/drawscreen.c
21565
21566Patch 8.2.3536
21567Problem: The do_highlight() function is way too long.
21568Solution: Split it into several functions. (Yegappan Lakshmanan,
21569 closes #9011)
21570Files: src/highlight.c
21571
21572Patch 8.2.3537
21573Problem: mode() does not return the right value in 'operatorfunc'.
21574Solution: Reset finish_op while calling 'operatorfunc'.
21575Files: src/ops.c, src/testdir/test_functions.vim
21576
21577Patch 8.2.3538
21578Problem: Else-if indenting is confusing.
21579Solution: Add curly brackets. (Yegappan Lakshmanan, closes #9017)
21580Files: src/highlight.c
21581
21582Patch 8.2.3539
21583Problem: GTK3: with 'rightleft' set scrollbar may move unintentionally.
21584Solution: Ignore events while moving the scrollbar thumb. (closes #8958)
21585Files: src/gui_gtk.c
21586
21587Patch 8.2.3540
21588Problem: The mark '] is wrong after put with a count. (Naohiro Ono)
21589Solution: Use the right line number. (closes #8956)
21590Files: src/register.c, src/testdir/test_put.vim
21591
21592Patch 8.2.3541
21593Problem: Compiler warning for unused variable in tiny version.
21594Solution: Add #ifdef. (John Marriott)
21595Files: src/highlight.c
21596
21597Patch 8.2.3542
21598Problem: Too many comments are old style.
21599Solution: Change comments to // style. (closes #9021)
21600Files: src/buffer.c
21601
21602Patch 8.2.3543
21603Problem: Swapname has double slash when 'directory' ends in double slash.
21604 (Shane Smith)
21605Solution: Remove the superfluous slash. (closes #8876)
21606Files: src/memline.c, src/testdir/test_swap.vim
21607
21608Patch 8.2.3544
21609Problem: Unix: may leak file descriptor when using a non-existing
21610 directory.
21611Solution: Always close the file. (closes #9023)
21612Files: src/os_unix.c
21613
21614Patch 8.2.3545
21615Problem: setcellwidths() may make 'listchars' or 'fillchars' invalid.
21616Solution: Check the value and give an error. (closes #9024)
21617Files: runtime/doc/eval.txt, src/optionstr.c, src/errors.h, src/mbyte.c,
21618 src/testdir/test_utf8.vim
21619
21620Patch 8.2.3546 (after 8.2.3545)
21621Problem: Build failure without the +eval feature.
21622Solution: Add #ifdef. (closes #9025)
21623Files: src/errors.h
21624
21625Patch 8.2.3547
21626Problem: Opening the quickfix window triggers BufWinEnter twice. (Yorick
21627 Peterse)
21628Solution: Only trigger BufWinEnter with "quickfix". (closes #9022)
21629Files: src/ex_cmds.c, src/vim.h, src/quickfix.c, src/buffer.c,
21630 src/testdir/test_quickfix.vim
21631
21632Patch 8.2.3548
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021633Problem: GTK GUI crashes when reading from stdin.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021634Solution: Do not overwrite the NUL after the string. (closes #9028)
21635Files: src/gui_gtk_x11.c, src/testdir/test_gui.vim
21636
21637Patch 8.2.3549
21638Problem: Mistakes in test comments.
21639Solution: Fix the comments. (closes #9029)
21640Files: src/testdir/test_autocmd.vim
21641
21642Patch 8.2.3550
21643Problem: completion() does not work properly.
21644Solution: Set xp_line and add WILD_HOME_REPLACE. (Shougo Matsushita,
21645 closes #9016)
21646Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
21647
21648Patch 8.2.3551
21649Problem: Checking first character of url twice.
21650Solution: Only check once. (closes #9026)
21651Files: src/misc1.c
21652
21653Patch 8.2.3552
21654Problem: Xxd revert does not handle end of line correctly.
21655Solution: Check for newline first. (closes #9034)
21656Files: src/xxd/xxd.c, src/testdir/test_xxd.vim
21657
21658Patch 8.2.3553 (after 8.2.3552)
21659Problem: Xxd test fails on MS-Windows.
21660Solution: Split shell command in two.
21661Files: src/testdir/test_xxd.vim
21662
21663Patch 8.2.3554
21664Problem: Xxd has various way to exit.
21665Solution: Add function to print error and exit. (closes #9035)
21666Files: src/xxd/xxd.c
21667
21668Patch 8.2.3555
21669Problem: ModeChanged is not triggered on every mode change.
21670Solution: Also trigger on minor mode changes. (Maguns Gross, closes #8999)
21671Files: runtime/doc/autocmd.txt, src/autocmd.c, src/insexpand.c,
21672 src/misc1.c, src/normal.c, src/terminal.c,
21673 src/testdir/test_edit.vim
21674
21675Patch 8.2.3556
21676Problem: Filler lines are incorrect for other window in diff mode after
21677 making a change.
21678Solution: Copy filler lines from the current window. (closes #8809)
21679Files: src/diff.c, src/testdir/test_diffmode.vim,
21680 src/testdir/dumps/Test_diff_scroll_change_03.dump
21681
21682Patch 8.2.3557
21683Problem: Vim9: cannot call imported funcref at script level.
21684Solution: Check for an imported function. (closes #9007)
21685Files: src/userfunc.c, src/testdir/test_vim9_script.vim
21686
21687Patch 8.2.3558 (after 8.2.3557)
21688Problem: Vim9: asserting the wrong variable.
21689Solution: Don't use Foo, use Goo.
21690Files: src/testdir/test_vim9_script.vim
21691
21692Patch 8.2.3559
21693Problem: Loop variable recreated every time.
21694Solution: Keep the loop variable when looping.
21695Files: src/ex_eval.c
21696
21697Patch 8.2.3560
21698Problem: Using freed memory with lambda.
21699Solution: Do not free lines early, keep them until the expression is
21700 finished. (closes #9020)
21701Files: src/eval.c, src/proto/eval.pro, src/userfunc.c, src/vim9compile.c,
21702 src/structs.h, src/globals.h, src/testdir/test_vim9_func.vim
21703
21704Patch 8.2.3561
21705Problem: Cscope has a complicated way of giving an error message.
21706Solution: Use semsg(). (James McCoy, closes #9038)
21707Files: src/if_cscope.c
21708
21709Patch 8.2.3562
21710Problem: Cannot add color names.
21711Solution: Add the v:colornames dictionary. (Drew Vogel, closes #8761)
21712Files: Filelist, READMEdir/README_extra.txt, nsis/gvim.nsi,
21713 runtime/colors/README.txt, runtime/colors/lists/csscolors.vim,
21714 runtime/colors/lists/default.vim, runtime/doc/eval.txt,
21715 runtime/doc/gui_w32.txt, runtime/doc/message.txt,
21716 runtime/doc/os_haiku.txt, runtime/doc/syntax.txt,
21717 runtime/doc/usr_06.txt, src/Makefile, src/evalvars.c,
21718 src/gui_haiku.cc, src/highlight.c, src/gui.c, src/job.c,
21719 src/proto/highlight.pro, src/proto/term.pro, src/term.c,
21720 src/vim.h, src/globals.h, src/errors.h,
21721 src/testdir/test_highlight.vim
21722
21723Patch 8.2.3563 (after 8.2.3562)
21724Problem: Build failure with +eval but without GUI or +termguicolors
21725Solution: Adjust #ifdef. (John Marriott)
21726Files: src/highlight.c
21727
21728Patch 8.2.3564
21729Problem: Invalid memory access when scrolling without a valid screen.
21730Solution: Do not set VALID_BOTLINE in w_valid.
21731Files: src/move.c, src/testdir/test_normal.vim
21732
21733Patch 8.2.3565
21734Problem: Makefile dependencies are outdated. (Gary Johnson)
21735Solution: Run "make depend" and add missing dependencies.
21736Files: src/Makefile
21737
21738Patch 8.2.3566
21739Problem: Build failure on old systems when using nano timestamp.
21740Solution: Define _BSD_SOURCE, _SVID_SOURCE and _DEFAULT_SOURCE. (Gary
21741 Johnson, closes #9054)
21742Files: src/vim.h
21743
21744Patch 8.2.3567
21745Problem: CTRL-I in Insert mode is not tested
21746Solution: Add a test case. (Dominique Pellé, closes #8866)
21747Files: src/testdir/test_edit.vim
21748
21749Patch 8.2.3568
21750Problem: Ctrl-hat test fails with Athena and Motif. (Elimar Riesebieter)
21751Solution: Run the test only with GTK. (Dominique Pellé, closes #9069)
21752Files: src/testdir/test_edit.vim
21753
21754Patch 8.2.3569
21755Problem: Error for :let when vimrc is Vim 9 script.
21756Solution: Prepend :legacy in the code for converting arguments. (Christian
21757 Brabandt, closes #9068, closes #9077)
21758Files: src/os_win32.c
21759
21760Patch 8.2.3570
21761Problem: Test_very_large_count fails on 32bit systems.
21762Solution: Bail out when using 32 bit numbers. (closes #9072)
21763Files: src/testdir/test_put.vim
21764
21765Patch 8.2.3571
21766Problem: Some unicode control characters are considered printable.
21767Solution: Make 0x2060 - 0x2069 not printable.
21768Files: src/mbyte.c
21769
21770Patch 8.2.3572
21771Problem: Memory leak when closing window and using "multispace" in
21772 'listchars'.
21773Solution: Free the memory. (closes #9071)
21774Files: src/window.c, src/testdir/test_listchars.vim
21775
21776Patch 8.2.3573
21777Problem: Cannot decide whether to skip test that fails with 64 bit ints.
21778 (closes #9072)
21779Solution: Add v:sizeofint, v:sizeoflong and v:sizeofpointer. Improve the
21780 check for multiply overflow.
21781Files: runtime/doc/eval.txt, src/vim.h, src/evalvars.c, src/register.c,
21782 src/testdir/test_put.vim
21783
21784Patch 8.2.3574 (after 8.2.3573)
21785Problem: Divide by zero.
21786Solution: Don't check for overflow if multiplicand is zero.
21787Files: src/register.c
21788
21789Patch 8.2.3575 (after 8.2.3574)
21790Problem: Overflow check still fails when sizeof(int) == sizeof(long).
21791Solution: Use a float to check the result.
21792Files: src/register.c
21793
21794Patch 8.2.3576
21795Problem: Some functions are not documented for use with a method.
21796Solution: Add examples. Fix that sign_unplacelist() only takes one
21797 argument. (Sean Dewar, closes #9081)
21798Files: src/evalfunc.c, runtime/doc/eval.txt
21799
21800Patch 8.2.3577 (after 8.2.3574)
21801Problem: Overflow check fails with 32 bit ints.
21802Solution: Only test with 64 bit ints.
21803Files: src/testdir/test_put.vim
21804
21805Patch 8.2.3578
21806Problem: Manipulating highlighting is complicated.
21807Solution: Add the hlget() and hlset() functions. (Yegappan Lakshmanan,
21808 closes #9039)
21809Files: runtime/doc/eval.txt, runtime/doc/syntax.txt,
21810 runtime/doc/usr_41.txt, runtime/doc/windows.txt, src/evalfunc.c,
21811 src/highlight.c, src/proto/highlight.pro,
21812 src/testdir/test_highlight.vim, src/testdir/test_vim9_builtin.vim
21813
21814Patch 8.2.3579
21815Problem: CI sometimes fails for MinGW.
21816Solution: Use backslashes in HandleSwapExists(). (Christian Brabandt,
21817 closes #9078)
21818Files: src/testdir/runtest.vim
21819
21820Patch 8.2.3580
21821Problem: gj does not move properly with a wide character.
21822Solution: Move one to the right. (Christian Brabandt, closes #8702)
21823Files: src/normal.c, src/testdir/test_normal.vim
21824
21825Patch 8.2.3581
21826Problem: Reading character past end of line.
21827Solution: Correct the cursor column.
21828Files: src/ex_docmd.c, src/testdir/test_put.vim
21829
21830Patch 8.2.3582
21831Problem: Reading uninitialized memory when giving spell suggestions.
21832Solution: Check that preword is not empty.
21833Files: src/spellsuggest.c, src/testdir/test_spell.vim
21834
21835Patch 8.2.3583
21836Problem: The "gd" and "gD" commands do not update search stats. (Gary
21837 Johnson)
21838Solution: Clear search stats.
21839Files: src/normal.c, src/testdir/test_search_stat.vim,
21840 src/testdir/dumps/Test_searchstatgd_1.dump,
21841 src/testdir/dumps/Test_searchstatgd_2.dump
21842
21843Patch 8.2.3584
21844Problem: "verbose set efm" reports the location of the :compiler command.
21845 (Gary Johnson)
21846Solution: Add the "-keepscript" argument to :command and use it when
21847 defining CompilerSet.
21848Files: runtime/doc/map.txt, src/ex_cmds2.c, src/usercmd.c, src/ex_cmds.h,
21849 src/testdir/test_compiler.vim
21850
21851Patch 8.2.3585
21852Problem: Crash when passing float to "term_rows" in the options argument of
21853 term_start(). (Virginia Senioria)
21854Solution: Bail out if the argument is not a number. (closes #9116)
21855Files: src/job.c, src/terminal.c, src/testdir/test_terminal.vim
21856
21857Patch 8.2.3586 (after 8.2.3584)
21858Problem: Command completion test fails.
21859Solution: Add new argument to expected output
21860Files: src/testdir/test_usercommands.vim
21861
21862Patch 8.2.3587 (after 8.2.3584)
21863Problem: Compiler test fails with backslash file separator.
21864Solution: Accept slash and backslash.
21865Files: src/testdir/test_compiler.vim
21866
21867Patch 8.2.3588
21868Problem: Break statement is never reached.
21869Solution: Rely on return value of set_chars_option() not changing.
21870 (closes #9103)
21871Files: src/optionstr.c
21872
21873Patch 8.2.3589
21874Problem: Failure when the "term_rows" argument of term_start() is an
21875 unusual value.
21876Solution: Limit to range of zero to 1000. (closes #9116)
21877Files: runtime/doc/terminal.txt, src/job.c, src/testdir/test_terminal.vim
21878
21879Patch 8.2.3590
21880Problem: Test for v:colornames sometimes fails. (Dominique Pellé)
21881Solution: Check features. Clear v:colornames between tests. (Drew Vogel,
21882 closes #9105, closes #9073)
21883Files: runtime/doc/eval.txt, src/highlight.c, src/proto/highlight.pro,
21884 src/testdir/test_highlight.vim
21885
21886Patch 8.2.3591
21887Problem: No event is triggered when closing a window.
21888Solution: Add the WinClosed event. (Naohiro Ono, closes #9110)
21889Files: runtime/doc/autocmd.txt, src/autocmd.c,
21890 src/testdir/test_autocmd.vim, src/vim.h, src/window.c
21891
21892Patch 8.2.3592
21893Problem: Test_hlset fails when terminal has many columns.
21894Solution: Set the number of columns to 80. (Dominique Pellé, closes #9101,
21895 closes #9100)
21896Files: src/testdir/test_highlight.vim
21897
21898Patch 8.2.3593
21899Problem: Directory is wrong after executing "lcd" with win_execute().
21900Solution: Correct the directory when going back to the original window.
21901 (closes #9132)
21902Files: src/evalwindow.c, src/window.c, src/proto/window.pro,
21903 src/testdir/test_execute_func.vim
21904
21905Patch 8.2.3594
21906Problem: Xxd code is a bit difficult to understand.
21907Solution: Move some lines to a separate function. (closes #9037)
21908Files: src/xxd/xxd.c
21909
21910Patch 8.2.3595
21911Problem: Check for signed overflow might not work everywhere.
21912Solution: Limit to 32 bit int. (closes #9043, closes #9067)
21913Files: src/getchar.c
21914
21915Patch 8.2.3596
21916Problem: Crash when using :pedit in Vim9 script.
21917Solution: Move check for arguments to after checking there are arguments.
21918 (Yegappan Lakshmanan, closes #9134, closes #9135)
21919Files: src/popupwin.c, src/testdir/test_vim9_cmd.vim
21920
21921Patch 8.2.3597
21922Problem: Vim seems to hang when writing a very long text to a terminal
21923 window.
21924Solution: Limit the amount of text based on 'termwinscroll'. (issue #9080)
21925Files: runtime/doc/options.txt, src/terminal.c
21926
21927Patch 8.2.3598
21928Problem: RouterOS filetype is not recognized.
21929Solution: Add file and script patterns. (closes #9097)
21930Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21931
21932Patch 8.2.3599
21933Problem: Not all gdbinit files are recognized.
21934Solution: Add "gdbinit". (Doug Kearns)
21935Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21936
21937Patch 8.2.3600 (after 8.2.3598)
21938Problem: Filetype test fails.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000021939Solution: Add missing change.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000021940Files: runtime/scripts.vim
21941
21942Patch 8.2.3601
21943Problem: Check for overflow in put count does not work well.
21944Solution: Improve the overflow check. (Ozaki Kiichi, closes #9102)
21945Files: src/register.c, src/testdir/test_put.vim
21946
21947Patch 8.2.3602
21948Problem: Python3 test fails with Python 3.10 on MS-Windows.
21949Solution: Adjust the expected error. (Ken Takata, closes #9118)
21950Files: src/testdir/test_python3.vim
21951
21952Patch 8.2.3603
21953Problem: Fish filetype not recognized.
21954Solution: Add a file pattern and match script line. (Doug Kearns)
21955Files: runtime/filetype.vim, runtime/scripts.vim,
21956 src/testdir/test_filetype.vim
21957
21958Patch 8.2.3604
21959Problem: Not all sudoers files are recognized.
21960Solution: Add a file pattern. (Doug Kearns, closes #1192)
21961Files: runtime/filetype.vim, src/testdir/test_filetype.vim
21962
21963Patch 8.2.3605
21964Problem: Cannot clear and unlink a highlight group with hlset() in a
21965 single call.
21966Solution: Add the "force" option. (Yegappan Lakshmanan, closes #9117)
21967Files: runtime/doc/eval.txt, src/highlight.c,
21968 src/testdir/test_highlight.vim, src/testdir/test_vim9_builtin.vim,
21969 src/testdir/test_vim9_cmd.vim
21970
21971Patch 8.2.3606
21972Problem: File missing from list of distributed files.
21973Solution: Add the file.
21974Files: Filelist
21975
21976Patch 8.2.3607
21977Problem: GTK3 screen updating is slow.
21978Solution: Remove some of the GTK3-specific code. (closes #9052)
21979Files: src/gui.h, src/gui_gtk_x11.c
21980
21981Patch 8.2.3608
21982Problem: Users who type "q:" instead of ":q" are confused.
21983Solution: Add an autocmd to give a message that explains this is the
21984 command-line window. (Egor Zvorykin, closes #9146)
21985Files: runtime/defaults.vim, src/testdir/test_autocmd.vim,
21986 src/testdir/test_cmdline.vim
21987
21988Patch 8.2.3609
21989Problem: Internal error when ModeChanged is triggered when v:event is
21990 already in use.
21991Solution: Save and restore v:event if needed.
21992Files: src/misc1.c, src/proto/misc1.pro, src/testdir/test_edit.vim,
21993 src/insexpand.c, src/structs.h, src/register.c
21994
21995Patch 8.2.3610
21996Problem: Crash when ModeChanged triggered too early.
21997Solution: Trigger ModeChanged after setting VIsual.
21998Files: src/normal.c, src/testdir/test_edit.vim
21999
22000Patch 8.2.3611
22001Problem: Crash when using CTRL-W f without finding a file name.
22002Solution: Bail out when the file name length is zero.
22003Files: src/findfile.c, src/normal.c, src/testdir/test_visual.vim
22004
22005Patch 8.2.3612
22006Problem: Using freed memory with regexp using a mark.
22007Solution: Get the line again after getting the mark position.
22008Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test_regexp_latin.vim
22009
22010Patch 8.2.3613
22011Problem: :find test fails.
22012Solution: Put length check inside if block.
22013Files: src/findfile.c
22014
22015Patch 8.2.3614
22016Problem: zindex of popup windows not used when redrawing popup menu.
22017Solution: Check the zindex when redrawing the popup menu. (closes #9129,
22018 closes #9089)
22019Files: src/popupmenu.c, src/popupwin.c, src/proto/popupmenu.pro,
22020 src/screen.c, src/testdir/test_popupwin.vim,
22021 src/testdir/dumps/Test_popupwin_popupmenu_masking_1.dump,
22022 src/testdir/dumps/Test_popupwin_popupmenu_masking_2.dump
22023
22024Patch 8.2.3615
22025Problem: When re-formatting with an indent expression the first line of a
22026 paragraph may get the wrong indent. (Martin F. Krafft)
22027Solution: Apply the correct indenting function for the first line.
22028 (Christian Brabandt, closes #9150, closes #9056)
22029Files: src/textformat.c, src/testdir/test_indent.vim
22030
22031Patch 8.2.3616
22032Problem: Arglist test does not clear the argument list consistently.
22033Solution: Call Reset_arglist(). (Shougo Matsushita, closes #9154)
22034Files: src/testdir/test_arglist.vim
22035
22036Patch 8.2.3617
22037Problem: ":verbose pwd" does not mention 'autochdir' was applied.
22038Solution: Remember the last chdir was done by 'autochdir'. (issue #9142)
22039Files: src/globals.h, src/buffer.c, src/ex_docmd.c, src/window.c,
22040 src/main.c, src/netbeans.c, src/os_win32.c,
22041 src/testdir/test_autochdir.vim
22042
22043Patch 8.2.3618
22044Problem: getcwd() is unclear about how 'autochdir' is used.
22045Solution: Update the help for getcwd(). Without any arguments always return
22046 the actual current directory. (closes #9142)
22047Files: runtime/doc/eval.txt, src/filepath.c, src/testdir/test_cd.vim
22048
22049Patch 8.2.3619
22050Problem: Cannot use a lambda for 'operatorfunc'.
22051Solution: Support using a lambda or partial. (Yegappan Lakshmanan,
22052 closes #8775)
22053Files: runtime/doc/map.txt, runtime/doc/options.txt, src/ops.c,
22054 src/option.c, src/optionstr.c, src/proto/ops.pro,
22055 src/proto/option.pro, src/quickfix.c, src/testdir/test_normal.vim
22056
22057Patch 8.2.3620
22058Problem: Memory leak reported in libtlib.
22059Solution: Call del_curterm() when cleaning up memory. Rename term.h to
22060 termdefs.h to avoid a name clash.
22061Files: src/term.c, src/proto/term.pro, src/alloc.c, src/configure.ac,
22062 src/auto/configure, src/config.h.in, src/Makefile,
22063 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms,
22064 src/term.h, src/termdefs.h
22065
22066Patch 8.2.3621 (after 8.2.3620)
22067Problem: Build failure.
22068Solution: Add missing change.
22069Files: src/vim.h
22070
22071Patch 8.2.3622
22072Problem: "verbose pwd" shows confusing info when :lcd does not change
22073 directory.
22074Solution: Clear last_chdir_reason also when the directory does not change.
22075 (closes #9160)
22076Files: src/ex_docmd.c, src/testdir/test_autochdir.vim
22077
22078Patch 8.2.3623
22079Problem: "$*" is expanded to "nonomatch".
22080Solution: Only add "set nonomatch" when using a csh-like shell. (Christian
22081 Brabandt, closes #9159, closes #9153)
22082Files: src/os_unix.c, src/testdir/test_expand.vim
22083
22084Patch 8.2.3624
22085Problem: When renaming a terminal buffer the status text is not updated.
22086Solution: Clear the cached status text when renaming a terminal buffer.
22087 (closes #9162)
22088Files: src/buffer.c, src/terminal.c, src/proto/terminal.pro,
22089 src/testdir/test_terminal.vim
22090
22091Patch 8.2.3625
22092Problem: Illegal memory access when C-indenting.
22093Solution: Also set the cursor column.
22094Files: src/cindent.c, src/testdir/test_cindent.vim
22095
22096Patch 8.2.3626
22097Problem: "au!" and "au! event" cannot be followed by another command as
22098 documented.
22099Solution: When a bar is found set nextcmd.
22100Files: src/autocmd.c, src/testdir/test_autocmd.vim
22101
22102Patch 8.2.3627
22103Problem: difficult to know where the text starts in a window. (Sergey
22104 Vlasov)
22105Solution: Add the "textoff" entry in the result of getwininfo().
22106 (closes #9163)
22107Files: runtime/doc/eval.txt, src/evalwindow.c,
22108 src/testdir/test_bufwintabinfo.vim
22109
22110Patch 8.2.3628
22111Problem: Looking up terminal colors is a bit slow.
22112Solution: Cache the terminal colors. (closes #9130, closes #9058)
22113Files: src/highlight.c, src/libvterm/include/vterm.h, src/option.c,
22114 src/optionstr.c, src/popupwin.c, src/proto/terminal.pro,
22115 src/structs.h, src/terminal.c, src/window.c,
22116 src/testdir/test_terminal3.vim,
22117 src/testdir/dumps/Test_terminal_color_MyTermCol.dump,
22118 src/testdir/dumps/Test_terminal_color_MyTermCol_over_Terminal.dump,
22119 src/testdir/dumps/Test_terminal_color_MyWinCol.dump,
22120 src/testdir/dumps/Test_terminal_color_MyWinCol_over_group.dump,
22121 src/testdir/dumps/Test_terminal_color_Terminal.dump,
22122 src/testdir/dumps/Test_terminal_color_gui_MyTermCol.dump,
22123 src/testdir/dumps/Test_terminal_color_gui_MyWinCol.dump,
22124 src/testdir/dumps/Test_terminal_color_gui_Terminal.dump,
22125 src/testdir/dumps/Test_terminal_color_gui_transp_MyTermCol.dump,
22126 src/testdir/dumps/Test_terminal_color_gui_transp_MyWinCol.dump,
22127 src/testdir/dumps/Test_terminal_color_gui_transp_Terminal.dump,
22128 src/testdir/dumps/Test_terminal_color_transp_MyTermCol.dump,
22129 src/testdir/dumps/Test_terminal_color_transp_MyWinCol.dump,
22130 src/testdir/dumps/Test_terminal_color_transp_Terminal.dump,
22131 src/testdir/dumps/Test_terminal_popup_MyPopupHlCol.dump,
22132 src/testdir/dumps/Test_terminal_popup_MyTermCol_over_Terminal.dump,
22133 src/testdir/dumps/Test_terminal_popup_MyWinCol.dump,
22134 src/testdir/dumps/Test_terminal_popup_MyWinCol_over_group.dump,
22135 src/testdir/dumps/Test_terminal_popup_gui_MyPopupHlCol.dump,
22136 src/testdir/dumps/Test_terminal_popup_gui_MyTermCol.dump,
22137 src/testdir/dumps/Test_terminal_popup_gui_MyWinCol.dump,
22138 src/testdir/dumps/Test_terminal_popup_gui_Terminal.dump,
22139 src/testdir/dumps/Test_terminal_popup_gui_transp_MyPopupHlCol.dump,
22140 src/testdir/dumps/Test_terminal_popup_gui_transp_MyTermCol.dump,
22141 src/testdir/dumps/Test_terminal_popup_gui_transp_MyWinCol.dump,
22142 src/testdir/dumps/Test_terminal_popup_gui_transp_Terminal.dump,
22143 src/testdir/dumps/Test_terminal_popup_transp_MyPopupHlCol.dump,
22144 src/testdir/dumps/Test_terminal_popup_transp_MyTermCol.dump,
22145 src/testdir/dumps/Test_terminal_popup_transp_MyWinCol.dump,
22146 src/testdir/dumps/Test_terminal_popup_transp_Terminal.dump,
22147 src/testdir/dumps/Test_terminal_wincolor_split_MyWinCol.dump,
22148 src/testdir/dumps/Test_terminal_wincolor_split_MyWinCol2.dump
22149
22150Patch 8.2.3629
22151Problem: Command completion in cmdline window uses global user commands,
22152 not local commands for the window where it was opened from.
22153Solution: Use local commands. (closes #9168)
22154Files: src/ex_getln.c, src/proto/ex_getln.pro, src/evalvars.c,
22155 src/usercmd.c, src/testdir/test_ins_complete.vim
22156
22157Patch 8.2.3630
22158Problem: Printf() with %S does not handle multi-byte correctly.
22159Solution: Count cells instead of bytes. (closes #9169, closes #7486)
22160Files: src/strings.c, src/testdir/test_expr.vim
22161
22162Patch 8.2.3631
22163Problem: "syntax enable" does not work properly in Vim9 context.
22164Solution: Also handle Vim9 context. (closes #9161)
22165Files: src/syntax.c, src/testdir/test_vim9_cmd.vim
22166
22167Patch 8.2.3632
22168Problem: GTK3: undercurl does not get removed properly.
22169Solution: Set the cairo cursor first. (closes #9170)
22170Files: src/gui_gtk_x11.c
22171
22172Patch 8.2.3633
22173Problem: Vim9: line number of lambda is off by one.
22174Solution: Add one to the line number. (closes #9083)
22175Files: src/userfunc.c, src/testdir/test_vim9_func.vim
22176
22177Patch 8.2.3634
22178Problem: Error for already defined function uses wrong line number.
22179Solution: Set SOURCING_LNUM before giving the error message. (closes #9085)
22180Files: src/userfunc.c, src/testdir/test_vim9_func.vim
22181
22182Patch 8.2.3635
22183Problem: GTK: composing underline does not show.
22184Solution: Include composing character in pango call. A few more
22185 optimizations for ligatures. (Dusan Popovic, closes #9171,
22186 closes #9147)
22187Files: src/gui_gtk_x11.c
22188
22189Patch 8.2.3636
22190Problem: Coverity warns for unreachable code.
22191Solution: Remove unreachable else block.
22192Files: src/gui_gtk_x11.c
22193
22194Patch 8.2.3637
22195Problem: Typos in test files.
22196Solution: Correct the typos. (Dominique Pellé, closes #9175)
22197Files: src/testdir/runtest.vim, src/testdir/test_debugger.vim,
22198 src/testdir/test_diffmode.vim, src/testdir/test_edit.vim,
22199 src/testdir/test_excmd.vim, src/testdir/test_flatten.vim,
22200 src/testdir/test_ins_complete.vim, src/testdir/test_normal.vim,
22201 src/testdir/test_options.vim, src/testdir/test_python2.vim,
22202 src/testdir/test_python3.vim, src/testdir/test_quickfix.vim,
22203 src/testdir/test_recover.vim, src/testdir/test_spellfile.vim,
22204 src/testdir/test_syntax.vim, src/testdir/test_termcodes.vim,
22205 src/testdir/test_textobjects.vim, src/testdir/test_trycatch.vim,
22206 src/testdir/test_vim9_script.vim, src/testdir/test_viminfo.vim
22207
22208Patch 8.2.3638
22209Problem: getcompletion() always passes zero as position to custom
22210 completion function.
22211Solution: Pass the pattern length. (closes #9173)
22212Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
22213
22214Patch 8.2.3639 (after 8.2.2922)
22215Problem: Line commented out accidentally.
22216Solution: Uncomment. (Volodymyr Kot, closes #9172)
22217Files: src/main.c
22218
22219Patch 8.2.3640
22220Problem: Freeze when calling term_wait() in a close callback.
22221Solution: Set a "closing" flag to tell term_wait() to return. (closes #9152)
22222Files: src/channel.c, src/terminal.c, src/proto/terminal.pro,
22223 src/testdir/test_terminal.vim
22224
22225Patch 8.2.3641
22226Problem: Xxd code has duplicate expressions.
22227Solution: Refactor to avoid duplication. (closes #9185)
22228Files: src/xxd/xxd.c
22229
22230Patch 8.2.3642
22231Problem: List of distributed files is outdated.
22232Solution: Rename term.h to termdefs.h.
22233Files: Filelist
22234
22235Patch 8.2.3643
22236Problem: Header for source file is outdated.
22237Solution: Make the header more accurate. (closes #9186)
22238Files: src/map.c, src/getchar.c
22239
22240Patch 8.2.3644
22241Problem: Count for 'operatorfunc' in Visual mode is not redone.
22242Solution: Add the count to the redo buffer. (closes #9174)
22243Files: src/normal.c, src/proto/normal.pro, src/ops.c,
22244 src/testdir/test_normal.vim
22245
22246Patch 8.2.3645
22247Problem: Vim9: The "no effect" error is not given for all registers.
22248Solution: Include any character following '@'. (closes #8779)
22249Files: src/ex_eval.c, src/testdir/test_vim9_cmd.vim
22250
22251Patch 8.2.3646
22252Problem: Using <sfile> in a function gives an unexpected result.
22253Solution: Give an error in a Vim9 function. (issue #9189)
22254Files: src/scriptfile.c, src/errors.h, src/testdir/test_vim9_builtin.vim
22255
22256Patch 8.2.3647
22257Problem: GTK: when using ligatures the cursor is drawn wrong.
22258Solution: Clear more characters when ligatures are used. (Dusan Popovic,
22259 closes #9190)
22260Files: src/gui.c
22261
22262Patch 8.2.3648
22263Problem: "verbose pwd" is incorrect after dropping files on Vim.
22264Solution: Set the chdir reason to "drop".
22265Files: src/gui.c
22266
22267Patch 8.2.3649
22268Problem: Vim9: error for variable declared in while loop.
22269Solution: Do not keep the first variable. (closes #9191)
22270Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
22271
22272Patch 8.2.3650
22273Problem: Vim9: for loop variable can be a list member.
22274Solution: Check for valid variable name. (closes #9179)
22275Files: src/vim9compile.c, src/dict.c, src/eval.c, src/evalvars.c,
22276 src/proto/evalvars.pro, src/testdir/test_vim9_script.vim
22277
22278Patch 8.2.3651
22279Problem: Vim9: no error for :lock or :unlock with unknown variable.
22280Solution: Give an error. (closes #9188)
22281Files: src/evalvars.c, src/errors.h, src/testdir/test_vim9_cmd.vim
22282
22283Patch 8.2.3652
22284Problem: Can only get text properties one line at a time.
22285Solution: Add options to prop_list() to use a range of lines and filter by
22286 types. (Yegappan Lakshmanan, closes #9138)
22287Files: runtime/doc/textprop.txt, src/textprop.c,
22288 src/testdir/test_textprop.vim
22289
22290Patch 8.2.3653
22291Problem: Terminal ANSI colors may be wrong.
22292Solution: Initialize the color type. (closes #9198, closes #9197)
22293Files: src/terminal.c
22294
22295Patch 8.2.3654
22296Problem: GTK: a touch-drag does not update the selection.
22297Solution: Add GDK_BUTTON1_MASK to the state. (Chris Dalton, close #9196,
22298 closes #9194)
22299Files: src/gui_gtk_x11.c
22300
22301Patch 8.2.3655
22302Problem: Compiler warning for using size_t for int.
22303Solution: Add a type cast. (Mike Williams, closes #9199)
22304Files: src/vim9compile.c
22305
22306Patch 8.2.3656
Bram Moolenaar1588bc82022-03-08 21:35:07 +000022307Problem: Vim9: no error for an environment variable by itself.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000022308Solution: Give a "without effect" error. (closes #9166)
22309Files: src/ex_eval.c, src/testdir/test_vim9_cmd.vim
22310
22311Patch 8.2.3657
22312Problem: Vim9: debug text misses one line of return statement.
22313Solution: Add a line when not at a debug instruction. (closes #9137)
22314Files: src/vim9execute.c, src/testdir/test_debugger.vim
22315
22316Patch 8.2.3658
22317Problem: Duplicate code in xxd.
22318Solution: Merge duplicated code. Add more tests. (closes #9192)
22319Files: src/xxd/xxd.c, src/testdir/test_xxd.vim
22320
22321Patch 8.2.3659
22322Problem: Integer overflow with large line number.
22323Solution: Check for overflow. (closes #9202)
22324Files: src/errors.h, src/ex_docmd.c, src/testdir/test_excmd.vim
22325 src/normal.c, src/testdir/test_normal.vim
22326
22327Patch 8.2.3660 (after 8.2.3659)
22328Problem: Overflow check uses wrong number.
22329Solution: Divide by ten.
22330Files: src/normal.c
22331
22332Patch 8.2.3661 (after 8.2.3659)
22333Problem: Test for put with large count fails.
22334Solution: Adjust the counts in the test.
22335Files: src/testdir/test_put.vim
22336
22337Patch 8.2.3662
22338Problem: Illegal memory access if malloc() fails.
22339Solution: Check 'foldmethod' is not empty. (closes #9207)
22340Files: src/fold.c
22341
22342Patch 8.2.3663
22343Problem: Using %S in printf() does not work correctly.
22344Solution: Fix the problem and add more tests. (closes #9208)
22345Files: src/strings.c, src/testdir/test_expr.vim
22346
22347Patch 8.2.3664
22348Problem: Cannot adjust sign highlighting for 'cursorline'.
22349Solution: Add CursorLineSign and CursorLineFold highlight groups.
22350 (Gregory Anders, closes #9201)
22351Files: runtime/doc/sign.txt, runtime/doc/syntax.txt, src/drawline.c,
22352 src/highlight.c, src/optiondefs.h, src/popupwin.c,
22353 src/proto/sign.pro, src/sign.c, src/structs.h, src/vim.h,
22354 src/testdir/test_signs.vim
22355
22356Patch 8.2.3665
22357Problem: Cannot use a lambda for 'tagfunc'.
22358Solution: Use 'tagfunc' like 'opfunc'. (Yegappan Lakshmanan, closes #9204)
22359Files: runtime/doc/options.txt, src/buffer.c, src/option.c,
22360 src/optionstr.c, src/proto/tag.pro, src/structs.h, src/tag.c,
22361 src/testdir/test_tagfunc.vim
22362
22363Patch 8.2.3666
22364Problem: Libvterm is outdated.
22365Solution: Include patches from revision 769 to revision 789.
22366Files: Filelist, src/libvterm/Makefile, src/libvterm/doc/seqs.txt,
22367 src/libvterm/include/vterm.h, src/libvterm/src/mouse.c,
22368 src/libvterm/src/parser.c, src/libvterm/src/state.c,
22369 src/libvterm/src/vterm.c, src/libvterm/src/vterm_internal.h,
22370 src/libvterm/t/02parser.test, src/libvterm/t/17state_mouse.test,
22371 src/libvterm/t/29state_fallback.test,
22372 src/libvterm/t/40state_selection.test, src/libvterm/t/harness.c,
22373 src/libvterm/t/run-test.pl, src/libvterm/vterm.pc.in,
22374 src/terminal.c
22375
22376Patch 8.2.3667
22377Problem: Building libvterm fails with MSVC.
22378Solution: Don't use C99 construct.
22379Files: src/libvterm/src/state.c
22380
22381Patch 8.2.3668
22382Problem: Messages may be corrupted.
22383Solution: Use another buffer instead of IObuff. (Yegappan Lakshmanan,
22384 closes #9195)
22385Files: src/highlight.c, src/testdir/test_highlight.vim
22386
22387Patch 8.2.3669
22388Problem: Buffer overflow with long help argument.
22389Solution: Use snprintf().
22390Files: src/help.c, src/testdir/test_help.vim
22391
22392Patch 8.2.3670
22393Problem: Error checks repeated several times.
22394Solution: Move the checks to functions. (closes #9213)
22395Files: src/xxd/xxd.c
22396
22397Patch 8.2.3671
22398Problem: Restarting Insert mode in prompt buffer too often when a callback
22399 switches windows and comes back. (Sean Dewar)
22400Solution: Do not set "restart_edit" when already in Insert mode.
22401 (closes #9212)
22402Files: src/window.c, src/testdir/test_prompt_buffer.vim
22403
22404Patch 8.2.3672 (after 8.2.3670)
22405Problem: Build failure with unsigned char.
22406Solution: Use int instead of char.
22407Files: src/xxd/xxd.c
22408
22409Patch 8.2.3673
22410Problem: Crash when allocating signal stack fails.
22411Solution: Only using sourcing info when available. (closes #9215)
22412Files: src/globals.h, src/message.c
22413
22414Patch 8.2.3674
22415Problem: When ml_get_buf() fails it messes up IObuff.
22416Solution: Return a local pointer. (closes #9214)
22417Files: src/memline.c
22418
22419Patch 8.2.3675
22420Problem: Using freed memory when vim_strsave() fails.
22421Solution: Clear "last_sourcing_name". Check for msg_source() called
22422 recursively. (closes #8217)
22423Files: src/message.c
22424
22425Patch 8.2.3676
22426Problem: Unused runtime file.
22427Solution: Remove rgb.txt.
22428Files: runtime/rgb.txt
22429
22430Patch 8.2.3677
22431Problem: After a put the '] mark is on the last byte of a multi-byte
22432 character.
22433Solution: Move it to the first byte. (closes #9047)
22434Files: src/register.c, src/testdir/test_put.vim
22435
22436Patch 8.2.3678 (after 8.2.3677)
22437Problem: Illegal memory access.
22438Solution: Ignore changed indent when computing byte offset.
22439Files: src/register.c
22440
22441Patch 8.2.3679
22442Problem: objc file detected as Octave. (Antony Lee)
22443Solution: Detect objc by preprocessor lines. (Doug Kearns, closes #9223,
22444 closes #9220)
22445Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim
22446
22447Patch 8.2.3680
22448Problem: Repeated code in xxd.
22449Solution: Change exit_on_ferror() to getc_or_die(). (closes #9226)
22450Files: src/xxd/xxd.c
22451
22452Patch 8.2.3681
22453Problem: Cannot drag popup window after click on a status line. (Sergey
22454 Vlasov)
22455Solution: Reset on_status_line. (closes #9221)
22456Files: src/mouse.c, src/testdir/test_popupwin.vim,
22457 src/testdir/dumps/Test_popupwin_drag_04.dump
22458
22459Patch 8.2.3682
22460Problem: Vim9: assigning to a script variable drops the required type.
22461Solution: Lookup the type of the variable and use it. (closes #9219)
22462Files: src/evalvars.c, src/vim9script.c, src/proto/vim9script.pro,
22463 src/testdir/test_vim9_assign.vim
22464
22465Patch 8.2.3683
22466Problem: Vim9: cannot use `=expr` in :...do commands.
22467Solution: Add EX_EXPAND to the commands. (closes #9232)
22468Files: src/ex_cmds.h, src/testdir/test_vim9_cmd.vim
22469
22470Patch 8.2.3684
22471Problem: Blockwise insert does not handle autoindent properly.
22472Solution: Adjust text column for indent. (closes #9229)
22473Files: src/ops.c, src/testdir/test_blockedit.vim
22474
22475Patch 8.2.3685
Bram Moolenaar1588bc82022-03-08 21:35:07 +000022476Problem: Visual Studio project files are not recognized.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000022477Solution: Use the xml file type. (Doug Kearns)
22478Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22479
22480Patch 8.2.3686
22481Problem: Filetype detection often mixes up Forth and F#.
22482Solution: Add a function to inspect the file contents. (Doug Kearns)
22483Files: runtime/autoload/dist/ft.vim, runtime/doc/filetype.txt,
22484 runtime/doc/syntax.txt, runtime/filetype.vim, runtime/scripts.vim,
22485 src/testdir/test_filetype.vim
22486
22487Patch 8.2.3687
22488Problem: Blockwise insert does not handle autoindent properly when tab is
22489 inserted.
22490Solution: Adjust text column for indent before computing column.
22491 (closes #9229)
22492Files: src/ops.c, src/testdir/test_blockedit.vim
22493
22494Patch 8.2.3688
22495Problem: The window title is not updated when dragging the scrollbar.
22496Solution: Call maketitle(). (Christian Brabandt, closes #9238, closes #5383)
22497Files: src/gui.c
22498
22499Patch 8.2.3689
22500Problem: ex_let_one() is too long.
22501Solution: Split into multiple functions.
22502Files: src/evalvars.c
22503
22504Patch 8.2.3690
22505Problem: Vim9: "filter #pat# cmd" does not work.
22506Solution: Do not see #pat# as a comment.
22507Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim
22508
22509Patch 8.2.3691
22510Problem: Build failure with small features.
22511Solution: Add #ifdef. (Dominique Pellé)
22512Files: src/gui.c
22513
22514Patch 8.2.3692
22515Problem: Vim9: cannot use :func inside a :def function.
22516Solution: Make it work.
22517Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c, src/errors.h,
22518 src/structs.h, src/userfunc.c, src/testdir/test_vim9_func.vim
22519
22520Patch 8.2.3693
22521Problem: Coverity warns for possibly using a NULL pointer.
22522Solution: Check for NULL and give an error.
22523Files: src/vim9execute.c, src/errors.h
22524
22525Patch 8.2.3694
22526Problem: Cannot use quotes in the count of an Ex command.
22527Solution: Add getdigits_quoted(). Give an error when misplacing a quote in
22528 a range. (closes #9240)
22529Files: src/ex_docmd.c, src/charset.c, src/proto/charset.pro,
22530 src/testdir/test_usercommands.vim
22531
22532Patch 8.2.3695
22533Problem: Confusing error for missing key.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000022534Solution: Use the actual key for the error. (closes #9241)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000022535Files: src/eval.c, src/testdir/test_listdict.vim
22536
22537Patch 8.2.3696
22538Problem: Vim9: error for invalid assignment when skipping.
22539Solution: Do not check white space when skipping. (closes #9243)
22540Files: src/evalvars.c, src/testdir/test_vim9_assign.vim
22541
22542Patch 8.2.3697
22543Problem: Cannot drag a popup without a border.
22544Solution: Add the "dragall" option. (closes #9218)
22545Files: runtime/doc/popup.txt, src/mouse.c, src/popupwin.c, src/vim.h,
22546 src/testdir/test_popupwin.vim,
22547 src/testdir/dumps/Test_popupwin_drag_05.dump,
22548 src/testdir/dumps/Test_popupwin_drag_06.dump
22549
22550Patch 8.2.3698
22551Problem: Match highlighting continues over breakindent.
22552Solution: Stop before the end column. (closes #9242)
22553Files: src/match.c, src/proto/match.pro, src/drawline.c,
22554 src/testdir/test_match.vim,
22555 src/testdir/dumps/Test_match_linebreak.dump
22556
22557Patch 8.2.3699
22558Problem: The +title feature adds a lot of #ifdef but little code.
22559Solution: Graduate the +title feature.
22560Files: src/feature.h, src/alloc.c, src/arglist.c, src/autocmd.c,
22561 src/buffer.c, src/bufwrite.c, src/change.c, src/drawscreen.c,
22562 src/evalfunc.c, src/ex_cmds.c, src/ex_docmd.c, src/gui.c,
22563 src/gui_gtk_x11.c, src/if_xcmdsrv.c, src/locale.c, src/main.c,
22564 src/misc2.c, src/netbeans.c, src/option.c, src/optionstr.c,
22565 src/os_amiga.c, src/os_mswin.c, src/os_unix.c, src/os_win32.c,
22566 src/regexp.c, src/term.c, src/ui.c, src/version.c, src/window.c,
22567 src/globals.h, src/option.h, src/optiondefs.h,
22568 runtime/doc/options.txt, runtime/doc/various.txt
22569
22570Patch 8.2.3700
22571Problem: Text property highlighting continues over breakindent.
22572Solution: Stop before the end column. (closes #9242)
22573Files: src/drawline.c, src/testdir/test_textprop.vim,
22574 src/testdir/dumps/Test_prop_linebreak.dump
22575
22576Patch 8.2.3701
22577Problem: Vim9: invalid LHS is not possible.
22578Solution: Remove unreachable error message.
22579Files: src/vim9compile.c
22580
22581Patch 8.2.3702
22582Problem: First key in dict is seen as curly expression and fails.
22583Solution: Ignore failure of curly expression. (closes #9247)
22584Files: src/typval.c, src/dict.c, src/testdir/test_listdict.vim
22585
22586Patch 8.2.3703 (after 8.2.3686)
22587Problem: Most people call F# "fsharp" and not "fs".
22588Solution: Rename filetype "fs" to "fsharp".
22589Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
22590 src/testdir/test_filetype.vim
22591
22592Patch 8.2.3704
22593Problem: Vim9: cannot use a list declaration in a :def function.
22594Solution: Make it work.
22595Files: runtime/doc/vim9.txt, src/vim9compile.c, src/errors.h,
22596 src/testdir/test_vim9_assign.vim
22597
22598Patch 8.2.3705
22599Problem: Cannot pass a lambda name to function() or funcref(). (Yegappan
22600 Lakshmanan)
22601Solution: Handle a lambda name differently.
22602Files: src/userfunc.c, src/proto/userfunc.pro, src/evalfunc.c,
22603 src/testdir/test_expr.vim
22604
22605Patch 8.2.3706 (after 8.2.3700)
22606Problem: Text property highlighting is used on Tab.
22607Solution: Only set in_linebreak when not on a Tab. (closes #9242)
22608Files: src/drawline.c, src/testdir/test_textprop.vim,
22609 src/testdir/dumps/Test_prop_after_tab.dump
22610
22611Patch 8.2.3707
22612Problem: Vim9: constant expression of elseif not recognized.
22613Solution: Set instruction count before generating the expression.
22614Files: src/vim9compile.c, src/testdir/test_vim9_disassemble.vim
22615
22616Patch 8.2.3708 (after 8.2.3707)
22617Problem: Vim9: test fails with different error.
22618Solution: Correct the error number.
22619Files: src/testdir/test_vim9_cmd.vim
22620
22621Patch 8.2.3709
22622Problem: Vim9: backtick expression expanded when not desired.
22623Solution: Only expand a backtick expression for commands that expand their
22624 argument. Remove a few outdated TODO comments.
22625Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
22626
22627Patch 8.2.3710
22628Problem: Vim9: backtick expression expanded for :global.
22629Solution: Check the following command.
22630Files: runtime/doc/vim9.txt, src/vim9compile.c,
22631 src/testdir/test_vim9_cmd.vim
22632
22633Patch 8.2.3711
22634Problem: Vim9: memory leak when compiling :elseif fails.
22635Solution: Cleanup ppconst.
22636Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim
22637
22638Patch 8.2.3712
22639Problem: Cannot use Vim9 lambda for 'tagfunc'.
22640Solution: Make it work, add more tests. (Yegappan Lakshmanan, closes #9250)
22641Files: runtime/doc/options.txt, src/insexpand.c, src/option.c,
22642 src/testdir/test_tagfunc.vim
22643
22644Patch 8.2.3713
22645Problem: MS-Windows: No error message if vimgrep pattern is not matching.
22646Solution: Give an error message. (Christian Brabandt, closes #9245,
22647 closes #8762)
22648Files: src/quickfix.c, src/testdir/test_quickfix.vim
22649
22650Patch 8.2.3714
22651Problem: Some unused assignments and ugly code in xxd.
22652Solution: Leave out assignments. Use marcro for fprintf(). (closes #9246)
22653Files: src/xxd/xxd.c
22654
22655Patch 8.2.3715
22656Problem: Vim9: valgrind reports spurious problems for a test.
22657Solution: Move the test to the set that is known to fail.
22658Files: src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_fails.vim
22659
22660Patch 8.2.3716
22661Problem: Vim9: range without a command is not compiled.
22662Solution: Add the ISN_EXECRANGE byte code.
22663Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/vim9compile.c,
22664 src/vim9execute.c, src/vim9.h,
22665 src/testdir/test_vim9_disassemble.vim
22666
22667Patch 8.2.3717
22668Problem: Vim9: error for constant list size is only given at runtime.
22669Solution: Give the error at compile time if possible.
22670Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
22671 src/testdir/test_vim9_script.vim,
22672 src/testdir/test_vim9_disassemble.vim
22673
22674Patch 8.2.3718
22675Problem: Compiler warns for unused variable without the +textprop feature.
22676 (John Marriott)
22677Solution: Adjust #ifdefs.
22678Files: src/drawline.c
22679
22680Patch 8.2.3719
22681Problem: MS-Windows: test sometimes runs into existing swap file.
22682Solution: Use a different file name.
22683Files: src/testdir/test_buffer.vim
22684
22685Patch 8.2.3720
22686Problem: Vim9: Internal error when invoking closure in legacy context.
22687Solution: Give a more appropriate error message. (closes #9251)
22688Files: src/errors.h, src/vim9execute.c, src/testdir/test_vim9_func.vim
22689
22690Patch 8.2.3721
22691Problem: Using memory freed by losing the clipboard selection. (Dominique
22692 Pellé)
22693Solution: Check y_array is still valid after calling changed_lines().
22694 (closes #9253)
22695Files: src/errors.h, src/register.c
22696
22697Patch 8.2.3722
22698Problem: Amiga: superfluous messages for freeing lots of yanked text.
22699Solution: Assume that the machine isn't that slow these days.
22700Files: src/register.c
22701
22702Patch 8.2.3723
22703Problem: When using 'linebreak' a text property starts too early.
22704Solution: Decrement "bcol" when looking for property start. (closes #9242)
22705Files: src/drawline.c, src/testdir/test_textprop.vim,
22706 src/testdir/dumps/Test_prop_after_linebreak.dump
22707
22708Patch 8.2.3724
22709Problem: Build error for missing error message in small build.
22710Solution: Correct #ifdef.
22711Files: src/errors.h
22712
22713Patch 8.2.3725
22714Problem: Cannot use a lambda for 'completefunc' and 'omnifunc'.
22715Solution: Implement lambda support. (Yegappan Lakshmanan, closes #9257)
22716Files: runtime/doc/options.txt, src/buffer.c, src/insexpand.c,
22717 src/option.c, src/optionstr.c, src/proto/insexpand.pro,
22718 src/proto/tag.pro, src/proto/userfunc.pro, src/structs.h,
22719 src/tag.c, src/userfunc.c, src/testdir/test_ins_complete.vim,
22720 src/testdir/test_tagfunc.vim
22721
22722Patch 8.2.3726
22723Problem: README file in a config directory gets wrong filetype.
22724Solution: Match README before patterns that match everything in a directory.
22725Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22726
22727Patch 8.2.3727
22728Problem: In a gnome terminal keys are recognized as mouse events.
22729Solution: Only recognize DEC mouse events when four numbers are following.
22730 (closes #9256)
22731Files: src/term.c, src/testdir/test_termcodes.vim
22732
22733Patch 8.2.3728
22734Problem: Internal error when passing range() to list2blob().
22735Solution: Materialize the list first. (closes #9262)
22736Files: src/blob.c, src/testdir/test_blob.vim
22737
22738Patch 8.2.3729
22739Problem: No support for squirrels.
22740Solution: Recognize nuts. (closes #9259)
22741Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22742
22743Patch 8.2.3730
22744Problem: "/etc/Muttrc.d/README" gets filetype muttrc.
22745Solution: Move the Muttrc.d pattern down, add exception for *.rc files.
22746Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22747
22748Patch 8.2.3731
22749Problem: "set! termcap" shows codes in one column, but not keys.
22750Solution: Also use one column for keys. (closes #9258)
22751Files: src/option.c, src/term.c, src/proto/term.pro,
22752 src/testdir/test_set.vim
22753
22754Patch 8.2.3732 (after 8.2.3731)
22755Problem: "set! termcap" test fails.
22756Solution: Account for keys without a t_xx entry.
22757Files: src/testdir/test_set.vim
22758
22759Patch 8.2.3733
22760Problem: Vim9: using "legacy" before range does not work.
22761Solution: Skip over range before parsing command. (closes #9270)
22762Files: src/vim9compile.c, src/usercmd.c, src/testdir/test_vim9_cmd.vim
22763
22764Patch 8.2.3734
22765Problem: Vim9: crash when no pattern match found.
22766Solution: Check for error.
22767Files: src/vim9execute.c
22768
22769Patch 8.2.3735
22770Problem: Cannot use a lambda for 'imactivatefunc'.
22771Solution: Add lambda support for 'imactivatefunc' and 'imstatusfunc'.
22772 (Yegappan Lakshmanan, closes #9275)
22773Files: runtime/doc/options.txt, src/alloc.c, src/gui_xim.c,
22774 src/optionstr.c, src/proto/gui_xim.pro,
22775 src/testdir/test_iminsert.vim, src/testdir/test_ins_complete.vim
22776
22777Patch 8.2.3736
22778Problem: Test fails without the channel feature. (Dominique Pellé)
22779Solution: Source the check.vim script. (closes #9277)
22780Files: src/testdir/test_vim9_fails.vim
22781
22782Patch 8.2.3737
22783Problem: Test fails without the 'autochdir' option.
22784Solution: Check that the option is available. (Dominique Pellé, closes #9272)
22785Files: src/testdir/test_cd.vim
22786
22787Patch 8.2.3738
22788Problem: Screen is cleared when a FocusLost autocommand triggers.
22789Solution: Do not redraw when at the hit-enter or more prompt. (closes #9274)
22790Files: src/misc1.c
22791
22792Patch 8.2.3739
22793Problem: In wrong directory when using win_execute() with 'acd' set.
22794Solution: Restore the directory when returning to the window. (closes #9276)
22795Files: src/window.c, src/testdir/test_autochdir.vim
22796
22797Patch 8.2.3740
22798Problem: Memory left allocated on exit when using Tcl.
22799Solution: Call Tcl_Finalize().
22800Files: src/if_tcl.c, src/proto/if_tcl.pro, src/alloc.c
22801
22802Patch 8.2.3741
22803Problem: Using freed memory in open command.
22804Solution: Make a copy of the current line.
22805Files: src/ex_docmd.c, src/testdir/test_ex_mode.vim
22806
22807Patch 8.2.3742
22808Problem: Dec mouse test fails without gnome terminfo entry.
22809Solution: Check if there is a gnome entry. Also fix 'acd' test on
22810 MS-Windows. (Ozaki Kiichi, closes #9282)
22811Files: src/testdir/test_termcodes.vim, src/testdir/test_autochdir.vim
22812
22813Patch 8.2.3743
22814Problem: ":sign" can add a highlight group without a name.
22815Solution: Give an error if the group name is missing. (closes #9280)
22816Files: src/sign.c, src/errors.h, src/testdir/test_signs.vim
22817
22818Patch 8.2.3744
22819Problem: E854 is not tested; some spelling suggestions are not tested.
22820Solution: Add a couple of tests. (Dominique Pellé, closes #9279)
22821Files: src/testdir/test_options.vim, src/testdir/test_spell.vim
22822
22823Patch 8.2.3745
22824Problem: Autochdir test fails without the +channel feature.
22825Solution: Remove the ch_logfile() call. (Dominique Pellé, closes #9281)
22826Files: src/testdir/test_autochdir.vim
22827
22828Patch 8.2.3746
22829Problem: Cannot disassemble function starting with "debug" or "profile".
22830Solution: Check for white space following. (closes #9273)
22831Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
22832
22833Patch 8.2.3747 (after 8.2.3743)
22834Problem: Cannot remove highlight from an existing sign. (James McCoy)
22835Solution: Only reject empty argument for a new sign.
22836Files: src/sign.c, src/testdir/test_signs.vim
22837
22838Patch 8.2.3748 (after 8.2.3747)
22839Problem: Giving an error for an empty sign argument breaks a plugin.
22840Solution: Do not give an error.
22841Files: src/sign.c, src/errors.h, src/testdir/test_signs.vim
22842
22843Patch 8.2.3749
22844Problem: Error messages are everywhere.
22845Solution: Move more error messages to errors.h and adjust the names.
22846Files: src/errors.h, src/regexp_bt.c, src/regexp.c, src/regexp_nfa.c,
22847 src/globals.h, src/memfile.c, src/tag.c, src/getchar.c,
22848 src/bufwrite.c, src/cmdexpand.c
22849
22850Patch 8.2.3750
22851Problem: Error messages are everywhere.
22852Solution: Move more error messages to errors.h and adjust the names.
22853Files: src/globals.h, src/errors.h, src/blob.c, src/buffer.c,
22854 src/channel.c, src/ex_docmd.c, src/job.c, src/list.c, src/mark.c,
22855 src/misc1.c, src/os_unix.c, src/popupwin.c, src/register.c,
22856 src/session.c, src/spellfile.c, src/term.c, src/userfunc.c
22857
22858Patch 8.2.3751
22859Problem: Cannot assign a lambda to an option that takes a function.
22860Solution: Automatically convert the lambda to a string. (Yegappan
22861 Lakshmanan, closes #9286)
22862Files: runtime/doc/options.txt, src/eval.c, src/proto/eval.pro,
22863 src/evalvars.c, src/if_mzsch.c, src/if_ruby.c, src/if_tcl.c,
22864 src/option.c, src/option.h, src/optiondefs.h,
22865 src/proto/option.pro, src/spell.c, src/typval.c,
22866 src/vim9compile.c, src/testdir/test_iminsert.vim,
22867 src/testdir/test_ins_complete.vim, src/testdir/test_tagfunc.vim
22868
22869Patch 8.2.3752
22870Problem: Build error when using Photon GUI.
22871Solution: Adjust #ifdef. (closes #9288)
22872Files: src/beval.c
22873
22874Patch 8.2.3753
22875Problem: Vim9: function unreferenced while called is never deleted.
22876Solution: Delete a function when no longer referenced.
22877Files: src/vim9execute.c, src/userfunc.c, src/proto/userfunc.pro
22878
22879Patch 8.2.3754 (after 8.2.3615)
22880Problem: Undesired changing of the indent of the first formatted line.
22881Solution: Do not indent the first formatted line.
22882Files: src/textformat.c, src/testdir/test_indent.vim
22883
22884Patch 8.2.3755
22885Problem: Coverity warns for using a buffer in another scope.
22886Solution: Declare the buffer in a common scope.
22887Files: src/evalvars.c
22888
22889Patch 8.2.3756
22890Problem: might crash when callback is not valid.
22891Solution: Check for valid callback. (Yegappan Lakshmanan, closes #9293)
22892Files: src/insexpand.c, src/option.c, src/tag.c, src/job.c,
22893 src/userfunc.c, src/testdir/test_iminsert.vim,
22894 src/testdir/test_ins_complete.vim, src/testdir/test_tagfunc.vim
22895
22896Patch 8.2.3757
22897Problem: An overlong highlight group name is silently truncated.
22898Solution: Give an error if the name is too long. (closes #9289)
22899Files: src/errors.h, src/highlight.c, src/testdir/test_highlight.vim
22900
22901Patch 8.2.3758
22902Problem: Options that take a function insufficiently tested.
22903Solution: Add additional tests and enhance existing tests. (Yegappan
22904 Lakshmanan, closes #9298)
22905Files: src/testdir/test_ins_complete.vim, src/testdir/test_normal.vim,
22906 src/testdir/test_tagfunc.vim
22907
22908Patch 8.2.3759
22909Problem: Quickfix buffer becomes hidden while still in a window.
22910Solution: Check if the closed window is the last window showing the quickfix
22911 buffer. (Yegappan Lakshmanan, closes #9303, closes #9300)
22912Files: src/quickfix.c, src/testdir/test_quickfix.vim, src/window.c
22913
22914Patch 8.2.3760
22915Problem: Not automatically handling gnome terminal mouse like xterm.
22916Solution: Default 'ttymouse' to "xterm" and recognize Focus events.
22917 (issue #9296)
22918Files: src/os_unix.c
22919
22920Patch 8.2.3761
22921Problem: Focus change is not passed on to a terminal window.
22922Solution: If the current window is a terminal and focus events are enabled
22923 send a focus event escape sequence to the terminal.
22924Files: src/ui.c, src/terminal.c, src/proto/terminal.pro,
22925 src/testdir/test_terminal.vim,
22926 src/testdir/dumps/Test_terminal_focus_1.dump,
22927 src/testdir/dumps/Test_terminal_focus_2.dump
22928
22929Patch 8.2.3762
22930Problem: If the quickfix buffer is wiped out getqflist() still returns its
22931 number.
22932Solution: Use zero if the buffer is no longer present. (Yegappan Lakshmanan,
22933 closes #9306)
22934Files: src/quickfix.c, src/testdir/test_quickfix.vim
22935
22936Patch 8.2.3763
22937Problem: When editing the command line a FocusLost callback may cause the
22938 screen to scroll up.
22939Solution: Do not redraw at the last line but at the same place where the
22940 command line was before. (closes #9295)
22941Files: src/ex_getln.c, src/ui.c, src/beval.c, src/channel.c,
22942 src/drawscreen.c, src/proto/drawscreen.pro, src/job.c,
22943 src/popupwin.c, src/sound.c, src/terminal.c, src/time.c,
22944 src/testdir/test_terminal.vim,
22945 src/testdir/dumps/Test_terminal_focus_1.dump,
22946 src/testdir/dumps/Test_terminal_focus_2.dump,
22947 src/testdir/dumps/Test_terminal_focus_3.dump
22948
22949Patch 8.2.3764
22950Problem: Cannot see any text when window was made zero lines or zero
22951 columns.
22952Solution: Ensure there is at least one line and column. (fixes #9307)
22953Files: src/window.c, src/proto/window.pro, src/normal.c, src/edit.c,
22954 src/testdir/test_window_cmd.vim
22955
22956Patch 8.2.3765
22957Problem: Vim9: cannot use a lambda for 'opfunc' and others.
22958Solution: Convert the lambda to a string.
22959Files: src/vim9compile.c, src/vim9.h, src/vim9execute.c,
22960 src/testdir/test_vim9_func.vim,
22961 src/testdir/test_vim9_disassemble.vim
22962
22963Patch 8.2.3766
22964Problem: Converting a funcref to a string leaves out "g:", causing the
22965 meaning of the name depending on the context.
22966Solution: Prepend "g:" for a global function.
22967Files: src/eval.c, src/testdir/test_functions.vim
22968
22969Patch 8.2.3767 (after 8.2.3766)
22970Problem: Crash when using NULL partial.
22971Solution: Check for NULL.
22972Files: src/eval.c
22973
22974Patch 8.2.3768
22975Problem: timer_info() has the wrong repeat value in a timer callback.
22976 (Sergey Vlasov)
22977Solution: Do not add one to the repeat value when in the callback.
22978 (closes #9294)
22979Files: src/time.c, src/testdir/test_timers.vim
22980
22981Patch 8.2.3769
22982Problem: Zig files are not recognized.
22983Solution: Add *.zig. (Gregory Anders, closes #9313)
22984Files: runtime/filetype.vim, src/testdir/test_filetype.vim
22985
22986Patch 8.2.3770
22987Problem: New compiler warnings from clang-12 and clang-13.
22988Solution: Adjust CI and suppress some warnings. (Ozaki Kiichi, closes #9314)
22989Files: .github/workflows/ci.yml, ci/config.mk.clang-12.sed,
22990 src/os_unix.c, src/spellfile.c
22991
22992Patch 8.2.3771
22993Problem: Vim9: accessing freed memory when checking type.
22994Solution: Make a copy of a function type.
22995Files: src/structs.h, src/evalvars.c, src/vim9script.c,
22996 src/testdir/test_vim9_func.vim
22997
22998Patch 8.2.3772
22999Problem: Timer info test fails on slow machine.
23000Solution: Use WaitForAssert().
23001Files: src/testdir/test_timers.vim
23002
23003Patch 8.2.3773
23004Problem: Wrong window size when a modeline changes 'columns' and there is
23005 more than one tabpage. (Michael Soyka)
23006Solution: Adjust the frames of all tabpages. (closes #9315)
23007Files: src/window.c
23008
23009Patch 8.2.3774 (after 8.2.3773)
23010Problem: Test for command line height fails.
23011Solution: Use another way to handle window size change.
23012Files: src/structs.h, src/window.c
23013
23014Patch 8.2.3775
23015Problem: Vim9: lambda compiled without outer context when debugging.
23016Solution: When compiling a lambda for debugging also compile it without.
23017 (closes #9302)
23018Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
23019
23020Patch 8.2.3776
23021Problem: When a tags file line is long a tag may not be found.
23022Solution: When increasing the buffer size read the same line again.
23023Files: src/tag.c, src/testdir/test_taglist.vim
23024
23025Patch 8.2.3777
23026Problem: Spell file write error not checked.
23027Solution: Check writing the prefix conditions. (Bjorn Linse, closes #9323)
23028Files: src/spellfile.c
23029
23030Patch 8.2.3778
23031Problem: Lambda debug test fails in some configurations.
23032Solution: Check feature in a legacy function.
23033Files: src/testdir/test_vim9_script.vim
23034
23035Patch 8.2.3779
23036Problem: Using freed memory when defining a user command from a user
23037 command.
23038Solution: Do not use the command pointer after executing the command.
23039 (closes #9318)
23040Files: src/usercmd.c, src/testdir/test_usercommands.vim
23041
23042Patch 8.2.3780
23043Problem: ":cd" works differently on MS-Windows.
23044Solution: Add the 'cdhome' option. (closes #9324)
23045Files: runtime/doc/editing.txt, runtime/doc/options.txt,
23046 runtime/doc/quickref.txt, runtime/optwin.vim, src/ex_docmd.c,
23047 src/option.h, src/optiondefs.h, src/testdir/runtest.vim,
23048 src/testdir/test_options.vim
23049
23050Patch 8.2.3781
23051Problem: The option window script is outdated.
23052Solution: Add several changes.
23053Files: runtime/optwin.vim
23054
23055Patch 8.2.3782
23056Problem: Vim9: no error if a function shadows a script variable.
23057Solution: Check the function doesn't shadow a variable. (closes #9310)
23058Files: src/userfunc.c, src/evalvars.c, src/vim.h,
23059 src/testdir/test_vim9_script.vim
23060
23061Patch 8.2.3783
23062Problem: Confusing error for using a variable as a function.
23063Solution: If a function is not found but there is a variable, give a more
23064 useful error. (issue #9310)
23065Files: src/eval.c, src/userfunc.c, src/proto/userfunc.pro,
23066 src/structs.h, src/vim9execute.c, src/testdir/test_functions.vim,
23067 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_func.vim
23068
23069Patch 8.2.3784
23070Problem: The help for options is outdated.
23071Solution: Include all the recent changes.
23072Files: runtime/doc/options.txt
23073
23074Patch 8.2.3785
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023075Problem: Running CI on macOS with gcc is not useful.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023076Solution: Only use clang. (Ozaki Kiichi, closes #9326) Also build with
23077 normal features.
23078Files: .github/workflows/ci.yml
23079
23080Patch 8.2.3786
23081Problem: Test fails because of using Vim9 syntax in legacy function.
23082Solution: Add "call".
23083Files: src/testdir/test_functions.vim
23084
23085Patch 8.2.3787
23086Problem: No proper formatting of a C line comment after a statement.
23087Solution: Find the start of the line comment, insert the comment leader and
23088 indent the comment properly.
23089Files: src/change.c, src/proto/change.pro, src/search.c,
23090 src/proto/search.pro, src/cindent.c, src/edit.c, src/normal.c,
23091 src/textformat.c, src/testdir/test_textformat.vim,
23092 src/testdir/test_cindent.vim
23093
23094Patch 8.2.3788
23095Problem: Lambda for option that is a function may be garbage collected.
23096Solution: Set a reference in the funcref. (Yegappan Lakshmanan,
23097 closes #9330)
23098Files: src/eval.c, src/evalbuffer.c, src/evalvars.c, src/gui_xim.c,
23099 src/insexpand.c, src/ops.c, src/proto/eval.pro,
23100 src/proto/gui_xim.pro, src/proto/insexpand.pro, src/proto/ops.pro,
23101 src/proto/tag.pro, src/quickfix.c, src/tag.c,
23102 src/testdir/test_iminsert.vim, src/testdir/test_ins_complete.vim,
23103 src/testdir/test_normal.vim, src/testdir/test_quickfix.vim,
23104 src/testdir/test_tagfunc.vim
23105
23106Patch 8.2.3789
23107Problem: Test_window_minimal_size can fail on a slow machine.
23108Solution: Do not rely on timers firing at the expected time. (Ozaki Kiichi,
23109 closes #9335)
23110Files: src/testdir/test_window_cmd.vim
23111
23112Patch 8.2.3790
23113Problem: Test for term_gettitle() fails in some environments.
23114Solution: Make the digits after "VIM" optional. (Kenta Sato, closes #9334)
23115Files: src/testdir/test_terminal2.vim
23116
23117Patch 8.2.3791
23118Problem: Build error with +cindent but without +smartindent.
23119Solution: Move declaration of "do_cindent". (John Marriott)
23120Files: src/change.c
23121
23122Patch 8.2.3792
23123Problem: Setting *func options insufficiently tested.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023124Solution: Improve tests. (Yegappan Lakshmanan, closes #9337)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023125Files: src/testdir/test_iminsert.vim, src/testdir/test_ins_complete.vim,
23126 src/testdir/test_normal.vim, src/testdir/test_quickfix.vim,
23127 src/testdir/test_tagfunc.vim
23128
23129Patch 8.2.3793
23130Problem: Using "g:Func" as a funcref does not work in script context
23131 because "g:" is dropped.
23132Solution: Keep "g:" in the name. Also add parenthesis to avoid confusing
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023133 operator precedence. (closes #9336)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023134Files: src/evalvars.c, src/testdir/test_vim9_func.vim
23135
23136Patch 8.2.3794
23137Problem: Vim9: cannot find script-local func using "s:". (Yegappan
23138 Lakshmanan)
23139Solution: Skip the "s:".
23140Files: src/userfunc.c, src/testdir/test_vim9_func.vim
23141
23142Patch 8.2.3795
23143Problem: Too many #ifdefs.
23144Solution: Graduate the jumplist feature.
23145Files: runtime/doc/various.txt, runtime/doc/motion.txt, src/feature.h,
23146 src/buffer.c, src/change.c, src/evalfunc.c, src/ex_docmd.c,
23147 src/mark.c, src/normal.c, src/undo.c, src/version.c,
23148 src/viminfo.c, src/window.c, src/structs.h,
23149 src/testdir/test_changelist.vim, src/testdir/test_jumplist.vim,
23150 src/testdir/test_normal.vim
23151
23152Patch 8.2.3796
23153Problem: The funcexe_T struct members are not named consistently.
23154Solution: Prefix "fe_" to all the members.
23155Files: src/structs.h, src/eval.c, src/list.c, src/regexp.c,
23156 src/terminal.c, src/userfunc.c, src/vim9execute.c
23157
23158Patch 8.2.3797
23159Problem: No good reason to limit the message history in the tiny version.
23160Solution: Always use 200.
23161Files: runtime/doc/message.txt, src/feature.h
23162
23163Patch 8.2.3798
23164Problem: A :def callback function postpones an error message.
23165Solution: Display the error after calling the function. (closes #9340)
23166Files: src/userfunc.c, src/testdir/test_vim9_func.vim,
23167 src/testdir/dumps/Test_opfunc_error.dump
23168
23169Patch 8.2.3799 (after 8.2.3798)
23170Problem: Edit test hangs or fails.
23171Solution: Do not rethrow an exception when inside try/catch.
23172Files: src/userfunc.c
23173
23174Patch 8.2.3800
23175Problem: When cross compiling the output of "uname" cannot be set. (Ben
23176 Reeves)
23177Solution: Use cache variables. (closes #9338)
23178Files: src/configure.ac, src/auto/configure
23179
23180Patch 8.2.3801
23181Problem: If a terminal shows in two windows, only one is redrawn.
23182Solution: Reset the dirty row range only after redrawing all windows.
23183 (closes #9341)
23184Files: src/terminal.c, src/proto/terminal.pro, src/drawscreen.c,
23185 src/testdir/test_terminal.vim
23186
23187Patch 8.2.3802
23188Problem: Terminal in two windows test fails on some systems.
23189Solution: Wait a bit between commands.
23190Files: src/testdir/test_terminal.vim
23191
23192Patch 8.2.3803
23193Problem: Crash when 'writedelay' is set and using a terminal window to
23194 execute a shell command.
23195Solution: Check that "tl_vterm" isn't NULL. (closes #9346)
23196Files: src/terminal.c
23197
23198Patch 8.2.3804
23199Problem: Script context not set when copying 'swf' and 'ts'.
23200Solution: Use COPY_OPT_SCTX with the right argument. (closes #9347)
23201Files: src/option.c
23202
23203Patch 8.2.3805
23204Problem: i3config files are not recognized.
23205Solution: Add patterns to match i3config files. (Quentin Hibon,
23206 closes #7969)
23207Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23208
23209Patch 8.2.3806
23210Problem: Terminal focus test fails sometimes.
23211Solution: Run the test function before others.
23212Files: src/testdir/test_terminal.vim
23213
23214Patch 8.2.3807
23215Problem: Vim9: can call import with star directly.
23216Solution: Check that the import used star.
23217Files: src/userfunc.c, src/eval.c, src/testdir/test_vim9_script.vim
23218
23219Patch 8.2.3808
23220Problem: Vim9: obsolete TODO items
23221Solution: Remove the comments.
23222Files: src/vim9execute.c
23223
23224Patch 8.2.3809
23225Problem: Vim9: crash when garbage collecting a nested partial. (Virginia
23226 Senioria)
23227Solution: Set references in all the funcstacks. (closes #9348)
23228Files: src/vim9execute.c, src/proto/vim9execute.pro, src/structs.h,
23229 src/eval.c, src/testdir/test_vim9_func.vim
23230
23231Patch 8.2.3810
23232Problem: Vim9: expr4 test fails on MS-Windows.
23233Solution: Do not give an error for a missing function name when skipping.
23234Files: src/eval.c, src/testdir/test_vim9_expr.vim
23235
23236Patch 8.2.3811
23237Problem: The opfunc error test fails on a slow machine.
23238Solution: Use WaitForAssert().
23239Files: src/testdir/test_vim9_func.vim
23240
23241Patch 8.2.3812
23242Problem: Vim9: leaking memory in numbered function test.
23243Solution: Skip "g:" when checking for numbered function. Clean up after
23244 errors properly.
23245Files: src/userfunc.c
23246
23247Patch 8.2.3813
23248Problem: confusing error when using :cc without error list. (Gary Johnson)
23249Solution: Give the "no errors" error.
23250Files: src/ex_docmd.c, src/testdir/test_quickfix.vim
23251
23252Patch 8.2.3814
23253Problem: .csx files and .sln files are not recognized.
23254Solution: Add filetype patterns. (Doug Kearns)
23255Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23256
23257Patch 8.2.3815
23258Problem: Vim9: cannot have a multi-line dict inside a block.
23259Solution: Do not split the command at a line break, handle NL characters
23260 as white space.
23261Files: src/ex_docmd.c, src/charset.c, src/proto/charset.pro,
23262 src/eval.c, src/testdir/test_vim9_expr.vim
23263
23264Patch 8.2.3816
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023265Problem: Compiler warning for possible loss of data on MS-Windows.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023266Solution: Add type cast. (Mike Williams, closes #9349)
23267Files: src/userfunc.c
23268
23269Patch 8.2.3817 (after 8.2.3815)
23270Problem: Vim9: Not using NL as command end does not work for :autocmd.
23271Solution: Only ignore NL for commands with an expression argument.
23272Files: src/ex_cmds.h, src/ex_docmd.c, src/testdir/test_usercommands.vim
23273
23274Patch 8.2.3818
23275Problem: Cannot filter or map characters in a string.
23276Solution: Make filter() and map() work on a string. (Naruhiko Nishino,
23277 closes #9327)
23278Files: runtime/doc/eval.txt, src/errors.h, src/list.c,
23279 src/testdir/test_filter_map.vim
23280
23281Patch 8.2.3819 (after 8.2.3818)
23282Problem: Test fails because error message changed.
23283Solution: Update screendumps.
23284Files: src/testdir/dumps/Test_popupwin_three_errors_1.dump,
23285 src/testdir/dumps/Test_popupwin_three_errors_2.dump
23286
23287Patch 8.2.3820
23288Problem: "vrc" does not replace composing characters, while "rc" does.
23289Solution: Check the byte length including composing characters.
23290 (closes #9351)
23291Files: src/ops.c, src/testdir/test_visual.vim
23292
23293Patch 8.2.3821
23294Problem: ASAN test run fails.
23295Solution: Use asan_symbolize-13 instead of asan_symbolize-11.
23296Files: .github/workflows/ci.yml
23297
23298Patch 8.2.3822
23299Problem: Leaking memory in map() and filter(), cannot use a string argument
23300 in Vim9 script.
23301Solution: Fix the leak, adjust the argument check, also run the tests as
23302 Vim9 script. (Yegappan Lakshmanan, closes #9354)
23303Files: src/errors.h, src/evalfunc.c, src/list.c, src/proto/typval.pro,
23304 src/testdir/test_filter_map.vim,
23305 src/testdir/test_vim9_builtin.vim, src/typval.c
23306
23307Patch 8.2.3823
23308Problem: Test for visual replace is in wrong function.
23309Solution: Move it to another function.
23310Files: src/testdir/test_visual.vim
23311
23312Patch 8.2.3824
23313Problem: No ASAN support for MSVC.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023314Solution: Add ASAN support and fix a couple of uncovered problems. (Yegappan
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023315 Lakshmanan, closes #9357)
23316Files: src/Make_mvc.mak, src/findfile.c, src/os_mswin.c,
23317 src/testdir/test_fnamemodify.vim
23318
23319Patch 8.2.3825
23320Problem: Various comments could be improved.
23321Solution: Improve the comments.
23322Files: src/getchar.c, src/mbyte.c, src/regexp_nfa.c,
23323 src/testdir/test_edit.vim, src/gui_motif.c
23324
23325Patch 8.2.3826
23326Problem: Vim9: using "g:Func" as a funcref does not work in a :def
23327 function.
23328Solution: Include "g:" in the function name. (closes #9336)
23329Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
23330 src/testdir/test_vim9_disassemble.vim
23331
23332Patch 8.2.3827
23333Problem: Huntr badge does not really fit in the list.
23334Solution: Move the link to Huntr to the issue template.
23335Files: Filelist, .github/ISSUE_TEMPLATE/bug_report.yml, README.md
23336
23337Patch 8.2.3828
23338Problem: when opening a terminal from a timer the first typed character
23339 is lost. (Virginia Senioria)
23340Solution: When opening a terminal while waiting for a character put K_IGNORE
23341 in the input buffer.
23342Files: src/terminal.c, src/edit.c, src/testdir/test_terminal.vim
23343
23344Patch 8.2.3829
23345Problem: No error when setting a func option to a script-local function.
23346Solution: Give an error if the name starts with "s:". (closes #9358)
23347Files: src/option.c, src/testdir/test_tagfunc.vim,
23348 src/testdir/dumps/Test_set_tagfunc_on_cmdline.dump
23349
23350Patch 8.2.3830
23351Problem: Error messages are spread out.
23352Solution: Move more error messages to errors.h.
23353Files: src/globals.h, src/errors.h, src/buffer.c, src/dict.c, src/diff.c,
23354 src/digraph.c, src/eval.c, src/evalfunc.c, src/evalvars.c,
23355 src/misc2.c, src/quickfix.c, src/typval.c, src/ui.c,
23356 src/userfunc.c, src/vim9compile.c, src/vim9execute.c,
23357 src/vim9type.c, src/window.c
23358
23359Patch 8.2.3831
23360Problem: Opfunc test fails when missing feature changes function name.
23361 (Dominique Pellé)
23362Solution: Check the relevant screen line instead of using a screendump.
23363 (closes #9360)
23364Files: src/testdir/test_vim9_func.vim,
23365 src/testdir/dumps/Test_opfunc_error.dump
23366
23367Patch 8.2.3832 (after 8.2.3830)
23368Problem: Test fails because of changed error message.
23369Solution: Adjust the expected error message.
23370Files: src/testdir/test_vimscript.vim
23371
23372Patch 8.2.3833
23373Problem: Error from term_start() not caught by try/catch.
23374Solution: save and restore did_emsg when applying autocommands. (Ozaki
23375 Kiichi, closes #9361)
23376Files: src/autocmd.c, src/testdir/test_terminal3.vim
23377
23378Patch 8.2.3834
23379Problem: Test_out_cb often fails on Mac.
23380Solution: Increase the timeout with every retry.
23381Files: src/testdir/test_channel.vim
23382
23383Patch 8.2.3835
23384Problem: The inline-function example does not work.
23385Solution: Drop ":let". Add EX_EXPR_ARG to CMD_var. (issue #9352)
23386Files: runtime/doc/vim9.txt, src/ex_cmds.h,
23387 src/testdir/test_vim9_expr.vim
23388
23389Patch 8.2.3836
23390Problem: Vim9: comment after expression not skipped to find NL.
23391Solution: After evaluating an expression look for a newline after a #
23392 comment.
23393Files: src/eval.c
23394
23395Patch 8.2.3837
23396Problem: QNX: crash when compiled with GUI but using terminal.
23397Solution: Check gui.in_use is set. (Hirohito Higashi, closes #9363)
23398Files: src/autocmd.c
23399
23400Patch 8.2.3838
23401Problem: Cannot use script-local function for setting *func options.
23402Solution: Use the script context. (Yegappan Lakshmanan, closes #9362)
23403Files: src/option.c, src/testdir/dumps/Test_set_tagfunc_on_cmdline.dump,
23404 src/testdir/test_ins_complete.vim, src/testdir/test_normal.vim,
23405 src/testdir/test_quickfix.vim, src/testdir/test_tagfunc.vim
23406
23407Patch 8.2.3839
23408Problem: Using \z() with \z1 not tested for syntax highlighting.
23409Solution: Add a test. (Dominique Pellé, closes #9365)
23410Files: src/testdir/test_syntax.vim
23411
23412Patch 8.2.3840
23413Problem: Useless test for negative index in check functions.
23414Solution: Remove the test for negative index. (Naruhiko Nishino,
23415 closes #9364)
23416Files: src/typval.c
23417
23418Patch 8.2.3841
23419Problem: Vim9: outdated TODO items, disabled tests that work.
23420Solution: Remove TODO items, run tests that work now. Check that a dict
23421 item isn't locked.
23422Files: src/vim9execute.c, src/evalvars.c, src/errors.h, src/globals.h,
23423 src/testdir/test_listdict.vim, src/testdir/test_vim9_assign.vim
23424
23425Patch 8.2.3842
23426Problem: Vim9: can change locked list and list items.
23427Solution: Check that a list and list item isn't locked.
23428Files: src/vim9execute.c, src/testdir/test_listdict.vim
23429
23430Patch 8.2.3843
23431Problem: Dep3patch files are not recognized.
23432Solution: Recognize dep3patch files by their location and content. (James
23433 McCoy, closes #9367)
23434Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
23435 src/testdir/test_filetype.vim
23436
23437Patch 8.2.3844
23438Problem: Vim9: no type error if assigning a value with type func(number) to
23439 a variable of type func(string).
23440Solution: Use check_type_maybe(): return MAYBE if a runtime type check is
23441 useful. (issue #8492)
23442Files: src/vim9type.c, src/proto/vim9type.pro, src/vim9compile.c,
23443 src/testdir/test_vim9_assign.vim
23444
23445Patch 8.2.3845
23446Problem: Vim9: test fails when the channel feature is missing.
23447Solution: Check for the channel feature. (Dominique Pellé, closes #9368)
23448Files: src/testdir/test_vim9_builtin.vim
23449
23450Patch 8.2.3846
23451Problem: No error when using control character for 'lcs' or 'fcs'.
23452Solution: Use char2cells() to check the width. (closes #9369)
23453Files: src/screen.c, src/testdir/test_display.vim,
23454 src/testdir/test_listchars.vim
23455
23456Patch 8.2.3847
23457Problem: Illegal memory access when using a lambda with an error.
23458Solution: Avoid skipping over the NUL after a string.
23459Files: src/eval.c, src/testdir/test_lambda.vim
23460
23461Patch 8.2.3848
23462Problem: Cannot use reduce() for a string.
23463Solution: Make reduce() work with a string. (Naruhiko Nishino, closes #9366)
23464Files: runtime/doc/eval.txt, src/errors.h, src/evalfunc.c, src/list.c,
23465 src/typval.c, src/proto/typval.pro, src/testdir/test_listdict.vim,
23466 src/testdir/test_vim9_builtin.vim
23467
23468Patch 8.2.3849
23469Problem: Functions implementing reduce and map are too long.
23470Solution: Use a function for each type of value. Add a few more test cases
23471 and add to the help. (Yegappan Lakshmanan, closes #9370)
23472Files: runtime/doc/eval.txt, src/list.c, src/testdir/test_listdict.vim
23473
23474Patch 8.2.3850
23475Problem: Illegal memory access when displaying a partial.
23476Solution: Terminate the string with a NUL. (closes #9371)
23477Files: src/eval.c, src/testdir/test_messages.vim
23478
23479Patch 8.2.3851
23480Problem: Vim9: overhead when comparing string, dict or function.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023481Solution: Call the intended compare function directly. Refactor to avoid
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023482 duplicated code.
23483Files: src/vim9execute.c, src/typval.c, src/proto/typval.pro
23484
23485Patch 8.2.3852
23486Problem: Vim9: not enough tests.
23487Solution: Also run existing tests for Vim9 script. Make errors more
23488 consistent.
23489Files: src/testdir/test_listdict.vim, src/eval.c, src/vim9compile.c,
23490 src/errors.h
23491
23492Patch 8.2.3853
23493Problem: Vim9: not enough tests.
23494Solution: Run more existing tests for Vim9 script.
23495Files: src/testdir/test_listdict.vim
23496
23497Patch 8.2.3854
23498Problem: Vim9: inconsistent arguments for test functions.
23499Solution: When :def function and script have different arguments use a list
23500 with two items instead of a separate function.
23501Files: src/testdir/vim9.vim, src/testdir/test_execute_func.vim,
23502 src/testdir/test_float_func.vim, src/testdir/test_functions.vim,
23503 src/testdir/test_glob2regpat.vim, src/testdir/test_listdict.vim,
23504 src/testdir/test_vim9_assign.vim,
23505 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
23506 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
23507 src/testdir/test_vim9_script.vim
23508
23509Patch 8.2.3855
23510Problem: Illegal memory access when displaying a blob.
23511Solution: Append a NUL at the end. (Yegappan Lakshmanan, closes #9372)
23512Files: src/blob.c, src/regexp_nfa.c, src/testdir/test_blob.vim,
23513 src/testdir/test_messages.vim
23514
23515Patch 8.2.3856
23516Problem: Vim9: not enough tests.
23517Solution: Run more expression tests also with Vim9. Fix an uncovered
23518 problem.
23519Files: src/vim9compile.c, src/testdir/test_expr.vim, src/testdir/vim9.vim
23520
23521Patch 8.2.3857
23522Problem: Vim9: inconsistent error for using function().
23523Solution: Use a runtime type check for the result of function().
23524 (closes #8492)
23525Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
23526
23527Patch 8.2.3858
23528Problem: Vim9: not enough tests.
23529Solution: Add tests for :try/:catch and :redir. Add missing type check.
23530Files: src/vim9compile.c, src/testdir/test_vim9_script.vim,
23531 src/testdir/test_vim9_cmd.vim
23532
23533Patch 8.2.3859
23534Problem: Vim9: some code lines not tested.
23535Solution: Add a few specific tests.
23536Files: src/vim9compile.c, src/testdir/test_vim9_cmd.vim, src/errors.h,
23537 src/testdir/test_vim9_script.vim
23538
23539Patch 8.2.3860
23540Problem: Vim9: codecov struggles with the file size.
23541Solution: Split vim9compile.c into four files.
23542Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9instr.c,
23543 src/proto/vim9instr.pro, src/vim9expr.c, src/proto/vim9expr.pro,
23544 src/vim9cmds.c, src/proto/vim9cmds.pro, src/vim9.h,
23545 src/vim9execute.c, src/vim9script.c, src/proto.h,
23546 src/Makefile, src/Make_ami.mak, src/Make_cyg_ming.mak,
23547 src/Make_mvc.mak, src/Make_vms.mms
23548
23549Patch 8.2.3861
23550Problem: List of distributed files is outdated.
23551Solution: Add new files.
23552Files: Filelist
23553
23554Patch 8.2.3862
23555Problem: Crash on exit with EXITFREE and using win_execute().
23556Solution: Also save and restore tp_topframe. (issue #9374)
23557Files: src/evalwindow.c, src/testdir/test_execute_func.vim
23558
23559Patch 8.2.3863 (after 8.2.3860)
23560Problem: Various build flags accidentally enabled.
23561Solution: Revert several lines in Makefile.
23562Files: src/Makefile
23563
23564Patch 8.2.3864
23565Problem: Cannot disable requesting key codes from xterm.
23566Solution: Add the 'xtermcodes' option, default on.
23567Files: runtime/doc/options.txt, runtime/doc/term.txt, src/option.h,
23568 src/optiondefs.h, src/term.c, runtime/optwin.vim
23569
23570Patch 8.2.3865
23571Problem: Vim9: compiler complains about using "try" as a struct member.
23572Solution: Rename "try" to "tryref".
23573Files: src/vim9.h, src/vim9cmds.c, src/vim9execute.c, src/vim9instr.c
23574
23575Patch 8.2.3866
23576Problem: Vim9: type checking global variables is inconsistent.
23577Solution: Use the "unknown" type in more places.
23578Files: src/globals.h, src/vim9expr.c, src/vim9instr.c, src/vim9cmds.c,
23579 src/evalfunc.c, src/testdir/test_vim9_func.vim
23580
23581Patch 8.2.3867
23582Problem: Implementation of some list functions too complicated.
23583Solution: Refactor do_sort_uniq(), f_count() and extend() (Yegappan
23584 Lakshmanan, closes #9378)
23585Files: src/list.c
23586
23587Patch 8.2.3868 (after 8.2.3866)
23588Problem: Vim9: function test fails.
23589Solution: Add missing changes. Add test for earlier patch.
23590Files: src/vim9type.c, src/testdir/test_vim9_disassemble.vim
23591
23592Patch 8.2.3869
23593Problem: Vim9: type checking for "any" is inconsistent.
23594Solution: Always use a runtime type check for using "any" for a more
23595 specific type.
23596Files: src/vim9type.c, src/vim9compile.c, src/vim9expr.c,
23597 src/testdir/test_vim9_func.vim
23598
23599Patch 8.2.3870
23600Problem: MS-Windows: wrong working directory when opening two files with
23601 right-click context menu. (Gabriel Dupras)
23602Solution: Use the working directory and pass it on to the process creation.
23603 (Nir Lichtman, closes #9382, closes #8874)
23604Files: src/GvimExt/gvimext.cpp, src/GvimExt/gvimext.h
23605
23606Patch 8.2.3871
23607Problem: List.c contains code for dict and blob.
23608Solution: Refactor to put code where it belongs. (Yegappan Lakshmanan,
23609 closes #9386)
23610Files: src/blob.c, src/dict.c, src/list.c, src/proto/blob.pro,
23611 src/proto/dict.pro, src/proto/list.pro, src/proto/strings.pro,
23612 src/strings.c, src/structs.h, src/testdir/test_filter_map.vim,
23613 src/testdir/test_listdict.vim, src/testdir/test_sort.vim
23614
23615Patch 8.2.3872
23616Problem: Vim9: finddir() and uniq() return types can be more specific.
23617Solution: Adjust the return type.
23618Files: src/evalfunc.c, src/testdir/vim9.vim,
23619 src/testdir/test_vim9_builtin.vim
23620
23621Patch 8.2.3873
23622Problem: go.mod files are not recognized.
23623Solution: Check for the file name. (closes #9380)
23624Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23625
23626Patch 8.2.3874
23627Problem: Cannot highlight the number column for a sign.
23628Solution: Add the "numhl" argument. (James McCoy, closes #9381)
23629Files: runtime/doc/options.txt, runtime/doc/sign.txt, src/drawline.c,
23630 src/popupwin.c, src/proto/sign.pro, src/sign.c, src/structs.h,
23631 src/testdir/test_signs.vim
23632
23633Patch 8.2.3875
23634Problem: gcc complains about buffer overrun.
23635Solution: Use mch_memmove() instead of STRCPY(). (John Marriott)
23636Files: src/dict.c
23637
23638Patch 8.2.3876
23639Problem: 'cindent' does not recognize inline namespace.
23640Solution: Skip over "inline" to find "namespace". (closes #9383)
23641Files: src/cindent.c, src/testdir/test_cindent.vim
23642
23643Patch 8.2.3877
23644Problem: Function does not abort after a type error in compare
23645Solution: Check getting number fails. (closes #9384)
23646Files: src/typval.c, src/testdir/test_vim9_expr.vim
23647
23648Patch 8.2.3878
23649Problem: Vim9: debugger tries to read more lines than there are.
23650Solution: Check the number of lines. (closes #9394)
23651Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
23652
23653Patch 8.2.3879
23654Problem: getreg() and getregtype() contain dead code.
23655Solution: Remove the needless check. (closes #9392) Also refactor to put
23656 common code in a shared function.
23657Files: src/evalfunc.c
23658
23659Patch 8.2.3880
23660Problem: Solution filter files are not recognized.
23661Solution: Add pattern *.slnf and use json. (Doug Kearns)
23662Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23663
23664Patch 8.2.3881
23665Problem: QNX: crash when compiled with GUI but using terminal.
23666Solution: Check the gui.in_use flag. (Hirohito Higashi, closes #9391)
23667Files: src/main.c
23668
23669Patch 8.2.3882 (after 8.2.3879)
23670Problem: More duplicated code in f_getreginfo().
23671Solution: Also use getreg_get_regname(). (closes #9398)
23672Files: src/evalfunc.c
23673
23674Patch 8.2.3883
23675Problem: Crash when switching to other regexp engine fails.
23676Solution: Check for regprog being NULL.
23677Files: src/ex_cmds.c
23678
23679Patch 8.2.3884
23680Problem: Crash when clearing the argument list while using it.
23681Solution: Lock the argument list for ":all".
23682Files: src/arglist.c, src/testdir/test_arglist.vim
23683
23684Patch 8.2.3885
23685Problem: Arglist test fails.
23686Solution: Adjust for locking the arglist for ":all".
23687Files: src/testdir/test_arglist.vim
23688
23689Patch 8.2.3886
23690Problem: Can define autocmd for every event by using "au!".
23691Solution: Check if a command is present also for "au!".
23692Files: src/autocmd.c, src/testdir/test_autocmd.vim,
23693 src/testdir/test_arglist.vim
23694
23695Patch 8.2.3887
23696Problem: E1135 is used for two different errors.
23697Solution: Renumber one error.
23698Files: src/errors.h, src/testdir/test_mapping.vim
23699
23700Patch 8.2.3888
23701Problem: The argument list may contain duplicates.
23702Solution: Add the :argdedeupe command. (Nir Lichtman, closes #6235)
23703Files: runtime/doc/editing.txt, runtime/doc/index.txt, src/arglist.c,
23704 src/ex_cmdidxs.h, src/ex_cmds.h, src/proto/arglist.pro,
23705 src/testdir/test_arglist.vim
23706
23707Patch 8.2.3889
23708Problem: Duplicate code for translating script-local function name.
23709Solution: Move the code to get_scriptlocal_funcname(). (Yegappan Lakshmanan,
23710 closes #9393)
23711Files: src/evalfunc.c, src/evalvars.c, src/option.c, src/userfunc.c,
23712 src/proto/userfunc.pro, src/testdir/test_expr.vim,
23713 src/testdir/test_normal.vim
23714
23715Patch 8.2.3890
23716Problem: Vim9: type check for using v: variables is basic.
23717Solution: Specify a more precise type.
23718Files: src/evalvars.c, src/proto/evalvars.pro, src/vim9instr.c,
23719 src/testdir/test_vim9_expr.vim
23720
23721Patch 8.2.3891
23722Problem: Github CI: workflows may overlap.
23723Solution: Cancel previous workflows when starting a new one. (Yegappan
23724 Lakshmanan, closes #9400)
23725Files: .github/workflows/ci.yml, .github/workflows/codeql-analysis.yml
23726
23727Patch 8.2.3892
23728Problem: When modifyOtherKeys is used CTRL-C is not recognized.
23729Solution: Check for uppercase C as well, fix minimum length.
23730Files: src/ui.c
23731
23732Patch 8.2.3893
23733Problem: Vim9: many local variables are initialized with an instruction.
23734Solution: Initialize local variables to zero to avoid the instructions.
23735Files: src/vim9execute.c, src/vim9compile.c, src/vim9instr.c,
23736 src/proto/vim9instr.pro, src/vim9cmds.c,
23737 src/testdir/test_vim9_disassemble.vim
23738
23739Patch 8.2.3894
23740Problem: Vim9: no proper type check for first argument of call().
23741Solution: Add specific type check.
23742Files: src/evalfunc.c, src/typval.c, src/proto/typval.pro,
23743 src/errors.h, src/testdir/test_vim9_builtin.vim
23744
23745Patch 8.2.3895
23746Problem: Vim9: confusing error when using function() with a number.
23747Solution: Check for a function or string argument.
23748Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
23749
23750Patch 8.2.3896
23751Problem: Vim9: no test for nested function not available later.
23752Solution: Add a test.
23753Files: src/testdir/test_vim9_func.vim
23754
23755Patch 8.2.3897
23756Problem: Vim9: the second argument of map() and filter() is not checked at
23757 compile time.
23758Solution: Add more specific type check for the second argument.
23759Files: src/evalfunc.c, src/globals.h, src/list.c,
23760 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim,
23761 src/testdir/test_vim9_script.vim
23762
23763Patch 8.2.3898
23764Problem: Vim9: not sufficient testing for variable initialization.
23765Solution: Add another test case.
23766Files: src/testdir/test_vim9_disassemble.vim
23767
23768Patch 8.2.3899 (after 8.2.3897)
23769Problem: Vim9: test for map() on string fails.
23770Solution: Expect string return type.
23771Files: src/evalfunc.c
23772
23773Patch 8.2.3900
23774Problem: It is not easy to use a script-local function for an option.
23775Solution: recognize s: and <SID> at the start of the expression. (Yegappan
23776 Lakshmanan, closes #9401)
23777Files: runtime/doc/diff.txt, runtime/doc/fold.txt,
23778 runtime/doc/options.txt, runtime/doc/print.txt, src/optionstr.c,
23779 src/testdir/test_diffmode.vim, src/testdir/test_edit.vim,
23780 src/testdir/test_fold.vim, src/testdir/test_gf.vim,
23781 src/testdir/test_gui.vim, src/testdir/test_hardcopy.vim,
23782 src/testdir/test_normal.vim
23783
23784Patch 8.2.3901
23785Problem: Vim9: Cannot set 'cpo' in main .vimrc if using Vim9 script.
23786Solution: Do not restore 'cpo' at the end of the main .vimrc.
23787Files: runtime/doc/vim9.txt, runtime/doc/options.txt, src/scriptfile.c,
23788 src/structs.h, src/testdir/test_vim9_script.vim
23789
23790Patch 8.2.3902
23791Problem: Vim9: double free with nested :def function.
23792Solution: Pass "line_to_free" from compile_def_function() and make sure
23793 cmdlinep is valid.
23794Files: src/vim9compile.c, src/userfunc.c, src/proto/userfunc.pro,
23795 src/vim9execute.c, src/testdir/test_vim9_func.vim
23796
23797Patch 8.2.3903
23798Problem: "gM" does not count tabs as expected.
23799Solution: Use linetabsize() instead of mb_string2cells(). (closes #9409)
23800Files: src/normal.c, src/testdir/test_normal.vim
23801
23802Patch 8.2.3904
23803Problem: Vim9: skip expression type is not checked at compile time.
23804Solution: Add argument type checks.
23805Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
23806
23807Patch 8.2.3905
23808Problem: Dockerfile using prefix name not recognized.
23809Solution: Recognize Dockerfile.*. (closes #9410)
23810Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23811
23812Patch 8.2.3906
23813Problem: Vim9 help still contains "under development" warnings.
23814Solution: Remove the explicit warning.
23815Files: runtime/doc/vim9.txt
23816
23817Patch 8.2.3907
23818Problem: Error messages are spread out.
23819Solution: Move error messages to errors.h. Avoid duplicates.
23820Files: src/userfunc.c, src/ex_cmds.c, src/viminfo.c, src/errors.h,
23821 src/testdir/test_user_func.vim
23822
23823Patch 8.2.3908
23824Problem: Cannot use a script-local function for 'foldtext'.
23825Solution: Expand "s:" and "<SID>". (Yegappan Lakshmanan, closes #9411)
23826Files: runtime/doc/fold.txt, src/optionstr.c, src/strings.c,
23827 src/testdir/test_blob.vim, src/testdir/test_expr.vim,
23828 src/testdir/test_filter_map.vim, src/testdir/test_fold.vim,
23829 src/testdir/test_listdict.vim
23830
23831Patch 8.2.3909
23832Problem: Containerfile using prefix name not recognized.
23833Solution: Recognize Containerfile.*.
23834Files: runtime/filetype.vim, src/testdir/test_filetype.vim
23835
23836Patch 8.2.3910
23837Problem: When the compare function of sort() produces and error then sort()
23838 does not abort.
23839Solution: Check if did_emsg was incremented.
23840Files: src/list.c, src/testdir/test_vim9_builtin.vim
23841
23842Patch 8.2.3911
23843Problem: Vim9: type check for filter() does not accept unknown.
23844Solution: Also accept unknown for the return type. (closes #9413)
23845Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
23846
23847Patch 8.2.3912
23848Problem: The ins_complete() function is much too long.
23849Solution: Split it up into multiple functions. (Yegappan Lakshmanan,
23850 closes #9414)
23851Files: src/insexpand.c
23852
23853Patch 8.2.3913
23854Problem: Help for expressions does not mention Vim9 syntax.
23855Solution: Add the rules for Vim9 to the expression help. Rename functions
23856 to match the help.
23857Files: runtime/doc/vim9.txt, runtime/doc/eval.txt, src/vim9expr.c
23858
23859Patch 8.2.3914
23860Problem: Various spelling mistakes in comments.
23861Solution: Fix the mistakes. (Dominique Pellé, closes #9416)
23862Files: src/alloc.c, src/blowfish.c, src/buffer.c, src/cindent.c,
23863 src/clipboard.c, src/diff.c, src/drawline.c, src/edit.c,
23864 src/ex_cmds.c, src/ex_docmd.c, src/findfile.c, src/fold.c,
23865 src/getchar.c, src/gui.c, src/gui_athena.c, src/gui_gtk.c,
23866 src/gui_motif.c, src/gui_photon.c, src/gui_w32.c, src/gui_xmebw.c,
23867 src/if_python.c, src/if_python3.c, src/if_xcmdsrv.c, src/main.c,
23868 src/memline.c, src/menu.c, src/message.c, src/misc1.c, src/move.c,
23869 src/option.c, src/os_amiga.c, src/os_mac.h, src/os_mac_conv.c,
23870 src/os_mswin.c, src/os_unix.c, src/os_win32.c, src/os_win32.h,
23871 src/quickfix.c, src/regexp_nfa.c, src/screen.c, src/scriptfile.c,
23872 src/spell.c, src/spellfile.c, src/spellsuggest.c, src/strings.c,
23873 src/term.c, src/terminal.c, src/testdir/test_debugger.vim,
23874 src/testdir/test_source.vim, src/textformat.c, src/userfunc.c,
23875 src/vim.h, src/vim9.h, src/vim9cmds.c, src/vim9execute.c,
23876 src/winclip.c, src/window.c
23877
23878Patch 8.2.3915
23879Problem: illegal memory access when completing with invalid bytes.
23880Solution: Avoid going over the end of the completion text.
23881Files: src/insexpand.c, src/testdir/test_ins_complete.vim
23882
23883Patch 8.2.3916
23884Problem: No error for passing an invalid line number to append().
23885Solution: In Vim9 script check for a non-negative number. (closes #9417)
23886Files: src/evalbuffer.c, src/textprop.c, src/errors.h, src/indent.c,
23887 src/eval.c, src/testdir/test_vim9_builtin.vim
23888
23889Patch 8.2.3917
23890Problem: The eval.txt help file is way too big.
23891Solution: Move the builtin function details to a separate file.
23892Files: runtime/doc/eval.txt, runtime/doc/builtin.txt,
23893 runtime/doc/Makefile, runtime/doc/help.txt, runtime/doc/remote.txt
23894
23895Patch 8.2.3918 (after 8.2.3916)
23896Problem: Function list test fails.
23897Solution: Adjust the test for the new location of the function list.
23898Files: src/testdir/test_function_lists.vim
23899
23900Patch 8.2.3919
23901Problem: Vim9: wrong argument for append() results in two errors.
23902Solution: Check did_emsg. Also for setline(). Adjust the help for
23903 appendbufline().
23904Files: runtime/doc/builtin.txt, src/evalbuffer.c, src/typval.c,
23905 src/testdir/test_vim9_builtin.vim
23906
23907Patch 8.2.3920
23908Problem: Restoring directory after using another window is inefficient.
23909Solution: Only restore the directory for win_execute(). Apply 'autochdir'
23910 only when needed.
23911Files: src/evalwindow.c, src/testdir/test_autochdir.vim
23912
23913Patch 8.2.3921
23914Problem: The way xdiff is used is inefficient.
23915Solution: Use hunk_func instead of the out_line callback. (Lewis Russell,
23916 closes #9344)
23917Files: src/diff.c
23918
23919Patch 8.2.3922
23920Problem: Cannot build with dynamic Ruby 3.1.
23921Solution: Add "_EXTRA" variables for CI. Add missing functions. (Ozaki
23922 Kiichi, closes #9420)
23923Files: ci/config.mk.clang-12.sed, ci/config.mk.clang.sed,
23924 ci/config.mk.sed, src/Makefile, src/auto/configure,
23925 src/config.mk.in, src/configure.ac, src/if_ruby.c, src/vim.h
23926
23927Patch 8.2.3923
23928Problem: Vim9: double free if a nested function has a line break in the
23929 argument list.
23930Solution: Set cmdlinep when freeing the previous line.
23931Files: src/userfunc.c, src/testdir/test_vim9_func.vim
23932
23933Patch 8.2.3924
23934Problem: Vim9: no error if something follows :enddef in a nested function.
23935Solution: Give an error. Move common code to a function.
23936Files: src/userfunc.c, src/vim9compile.c, src/errors.h,
23937 src/testdir/test_vim9_func.vim
23938
23939Patch 8.2.3925
23940Problem: Diff mode confused by NUL bytes.
23941Solution: Handle NUL bytes differently. (Christian Brabandt, closes #9421,
23942 closes #9418)
23943Files: src/diff.c, src/testdir/test_diffmode.vim,
23944 src/testdir/dumps/Test_diff_bin_01.dump,
23945 src/testdir/dumps/Test_diff_bin_02.dump,
23946 src/testdir/dumps/Test_diff_bin_03.dump,
23947 src/testdir/dumps/Test_diff_bin_04.dump
23948
23949Patch 8.2.3926 (after 8.2.3920)
23950Problem: Build failure without the 'autochdir' option. (John Marriott)
23951Solution: Add #ifdefs.
23952Files: src/evalwindow.c
23953
23954Patch 8.2.3927
23955Problem: Vim9: double free when using lambda.
23956Solution: Don't free both cmdline and line_to_free.
23957Files: src/userfunc.c
23958
23959Patch 8.2.3928
23960Problem: Heredoc test fails.
23961Solution: Correct order of function arguments.
23962Files: src/userfunc.c
23963
23964Patch 8.2.3929
Bram Moolenaar1588bc82022-03-08 21:35:07 +000023965Problem: Using uninitialized variable.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000023966Solution: Set the option flags to zero for a terminal option.
23967Files: src/option.c
23968
23969Patch 8.2.3930
23970Problem: getcmdline() argument has a misleading type.
23971Solution: Use the correct type, even though the value is not used.
23972Files: src/ex_getln.c, src/proto/ex_getln.pro, src/ex_docmd.c,
23973 src/normal.c, src/register.c, src/userfunc.c
23974
23975Patch 8.2.3931
23976Problem: Coverity reports a memory leak.
23977Solution: Free memory in case of failure.
23978Files: src/diff.c
23979
23980Patch 8.2.3932
23981Problem: C line comment not formatted properly.
23982Solution: If a line comment follows after "#if" the next line is not the end
23983 of a paragraph.
23984Files: src/textformat.c, src/testdir/test_textformat.vim
23985
23986Patch 8.2.3933
23987Problem: After ":cd" fails ":cd -" is incorrect.
23988Solution: Set the previous directory only after successfully changing
23989 directory. (Richard Doty, closes #9419, closes #8983)
23990Files: src/ex_docmd.c, src/testdir/test_cd.vim
23991
23992Patch 8.2.3934
23993Problem: Repeating line comment is undesired for "O" command.
23994Solution: Do not copy line comment leader for "O". (closes #9426)
23995Files: src/change.c, src/testdir/test_textformat.vim
23996
23997Patch 8.2.3935
23998Problem: CTRL-U in Insert mode does not fix the indent.
23999Solution: Fix the indent when 'cindent' is set.
24000Files: src/edit.c, src/testdir/test_textformat.vim
24001
24002Patch 8.2.3936
24003Problem: No proper test for maintaining change mark in diff mode.
24004Solution: Run the test with internal and external diff. (Sean Dewar,
24005 closes #9424)
24006Files: src/testdir/test_diffmode.vim
24007
24008Patch 8.2.3937
24009Problem: Insert mode completion function is too long.
24010Solution: Refactor into multiple functions. (Yegappan Lakshmanan,
24011 closes #9423)
24012Files: src/insexpand.c, src/testdir/test_ins_complete.vim
24013
24014Patch 8.2.3938
24015Problem: Line comment start is also found in a string.
24016Solution: Skip line comments in a string.
24017Files: src/cindent.c, src/proto/cindent.pro, src/search.c,
24018 src/testdir/test_textformat.vim
24019
24020Patch 8.2.3939
24021Problem: MS-Windows: fnamemodify('', ':p') does not work.
24022Solution: Do not consider an empty string a full path. (Yegappan Lakshmanan,
24023 closes #9428, closes #9427)
24024Files: src/os_mswin.c, src/testdir/test_fnamemodify.vim
24025
24026Patch 8.2.3940
24027Problem: Match highlight disappears when doing incsearch for ":s/pat".
24028Solution: Only use line limit for incsearch highlighting. (closes #9425)
24029Files: src/match.c, src/testdir/test_match.vim,
24030 src/testdir/dumps/Test_match_with_incsearch_1.dump,
24031 src/testdir/dumps/Test_match_with_incsearch_2.dump
24032
24033Patch 8.2.3941
24034Problem: SIGTSTP is not handled.
24035Solution: Handle SIGTSTP like pressing CTRL-Z. (closes #9422)
24036Files: runtime/doc/autocmd.txt, src/ex_docmd.c, src/os_unix.c,
24037 src/proto/ex_docmd.pro, src/testdir/test_signals.vim
24038
24039Patch 8.2.3942
24040Problem: Coverity reports a possible memory leak.
24041Solution: Free the array if allocation fails.
24042Files: src/insexpand.c
24043
24044Patch 8.2.3943
24045Problem: Compiler warning from gcc for uninitialized variable.
24046Solution: Initialize variable. (closes #9429)
24047Files: src/diff.c
24048
24049Patch 8.2.3944
24050Problem: Insert mode completion functions are too long.
24051Solution: Split up into multiple functions. (Yegappan Lakshmanan,
24052 closes #9431)
24053Files: src/insexpand.c, src/testdir/test_ins_complete.vim
24054
24055Patch 8.2.3945
24056Problem: Vim9: partial variable argument types are wrong, leading to a
24057 crash.
24058Solution: When adjusting the argument count also adjust the argument types.
24059 (closes #9433)
24060Files: src/vim9type.c, src/userfunc.c, src/testdir/test_vim9_assign.vim
24061
24062Patch 8.2.3946
24063Problem: When an internal error makes Vim exit the error is not seen.
24064Solution: Add the error to the test output.
24065Files: src/message.c, src/testdir/runtest.vim
24066
24067Patch 8.2.3947
24068Problem: Unnecessary check for NULL pointer.
24069Solution: Remove the check. (closes #9434)
24070Files: src/ex_docmd.c
24071
24072Patch 8.2.3948
24073Problem: Vim9: failure with partial with unknown argument count.
24074Solution: Do not copy argument types if there aren't any.
24075Files: src/vim9type.c
24076
24077Patch 8.2.3949
24078Problem: Using freed memory with /\%V.
24079Solution: Get the line again after getvvcol().
24080Files: src/regexp.c, src/testdir/test_regexp_latin.vim
24081
24082Patch 8.2.3950
24083Problem: Going beyond the end of the line with /\%V.
24084Solution: Check for valid column in getvcol().
24085Files: src/charset.c, src/testdir/test_regexp_latin.vim
24086
24087Patch 8.2.3951
24088Problem: Vim9: memory leak when text after a nested function.
24089Solution: Free the function if text is found after "enddef".
24090Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
24091
24092Patch 8.2.3952
24093Problem: First line not redrawn when adding lines to an empty buffer.
24094Solution: Adjust the argument to appended_lines(). (closes #9439,
24095 closes #9438)
24096Files: src/ex_cmds.c, src/testdir/test_excmd.vim
24097
24098Patch 8.2.3953
24099Problem: Insert completion code is too complicated.
24100Solution: More refactoring. Move function arguments into a struct.
24101 (Yegappan Lakshmanan, closes #9437)
24102Files: src/insexpand.c
24103
24104Patch 8.2.3954
24105Problem: Vim9: no error for shadowing if script var is declared later.
24106Solution: Check argument names when compiling a function.
24107Files: src/vim9compile.c, src/testdir/test_vim9_func.vim,
24108 src/testdir/test_vim9_assign.vim
24109
24110Patch 8.2.3955
24111Problem: Error messages are spread out.
24112Solution: Move more errors to errors.h.
24113Files: src/errors.h, src/globals.h, src/debugger.c, src/ex_cmds.c,
24114 src/help.c, src/sign.c, src/spellfile.c
24115
24116Patch 8.2.3956
24117Problem: Duplicate assignment.
24118Solution: Remove the second assignment. (closes #9442)
24119Files: src/evalfunc.c
24120
24121Patch 8.2.3957
24122Problem: Error messages are spread out.
24123Solution: Move more errors to errors.h.
24124Files: src/errors.h, src/globals.h, src/arglist.c, src/bufwrite.c,
Bram Moolenaar47c532e2022-03-19 15:18:53 +000024125 src/evalvars.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_eval.c,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024126 src/help.c, src/scriptfile.c, src/usercmd.c, src/userfunc.c,
24127 src/vim9cmds.c, src/vim9compile.c
24128
24129Patch 8.2.3958
24130Problem: Build failure compiling xxd with "-std=c2x".
24131Solution: define _XOPEN_SOURCE. (Yegappan Lakshmanan, closes #9444)
24132Files: src/xxd/xxd.c
24133
24134Patch 8.2.3959
24135Problem: Error messages are spread out.
24136Solution: Move more errors to errors.h.
24137Files: src/errors.h, src/autocmd.c, src/bufwrite.c, src/evalvars.c,
24138 src/ex_docmd.c, src/ex_eval.c, src/ex_getln.c, src/fileio.c,
24139 src/getchar.c, src/gui.c, src/locale.c, src/map.c
24140
24141Patch 8.2.3960
24142Problem: Error messages are spread out.
24143Solution: Move more errors to errors.h.
24144Files: src/errors.h, src/alloc.c, src/arglist.c, src/autocmd.c,
24145 src/blob.c, src/blowfish.c, src/buffer.c, src/bufwrite.c
24146
24147Patch 8.2.3961
24148Problem: Error messages are spread out.
24149Solution: Move more errors to errors.h.
Bram Moolenaar47c532e2022-03-19 15:18:53 +000024150Files: src/errors.h, src/globals.h, src/arglist.c, src/autocmd.c,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024151 src/blob.c, src/bufwrite.c, src/channel.c, src/clipboard.c,
24152 src/cmdexpand.c, src/debugger.c, src/dict.c, src/eval.c,
24153 src/evalfunc.c, src/evalvars.c, src/evalwindow.c, src/ex_cmds.c,
24154 src/ex_docmd.c, src/ex_eval.c, src/ex_getln.c, src/fileio.c,
24155 src/filepath.c, src/gui_gtk_x11.c, src/gui_haiku.cc,
24156 src/gui_photon.c, src/gui_w32.c, src/gui_x11.c, src/highlight.c,
24157 src/indent.c, src/insexpand.c, src/job.c, src/json.c, src/list.c,
24158 src/map.c, src/mark.c, src/match.c, src/mbyte.c, src/menu.c,
24159 src/message.c, src/misc2.c, src/ops.c, src/option.c,
24160 src/optionstr.c, src/popupwin.c, src/quickfix.c, src/screen.c,
24161 src/scriptfile.c, src/search.c, src/sign.c, src/spell.c,
24162 src/spellfile.c, src/strings.c, src/syntax.c, src/terminal.c,
24163 src/testing.c, src/textprop.c, src/time.c, src/userfunc.c,
24164 src/vim9cmds.c, src/vim9execute.c, src/vim9script.c, src/window.c
24165
24166Patch 8.2.3962 (after 8.2.3961)
24167Problem: Build fails for missing error message.
24168Solution: Add changes in missed file.
24169Files: src/regexp_bt.c
24170
24171Patch 8.2.3963
24172Problem: Build failure with tiny and small features. (Tony Mechelynck)
24173Solution: Adjust #ifdefs.
24174Files: src/errors.h, src/message.c
24175
24176Patch 8.2.3964
24177Problem: Some common lisp and scheme files not recognized.
24178Solution: Recognize *.asd as lisp and *.sld as scheme. (Alex Vear,
24179 closes #9447)
24180Files: runtime/filetype.vim, src/testdir/test_filetype.vim
24181
24182Patch 8.2.3965
24183Problem: Vim9: no easy way to check if Vim9 script is supported.
24184Solution: Add has('vim9script').
24185Files: runtime/doc/vim9.txt, src/evalfunc.c,
24186 src/testdir/test_vim9_script.vim
24187
24188Patch 8.2.3966
24189Problem: When using feedkeys() abbreviations may be blocked.
24190Solution: Reset tb_no_abbr_cnt when running out of characters.
24191 (closes #9448)
24192Files: src/getchar.c, src/testdir/test_feedkeys.vim
24193
24194Patch 8.2.3967
24195Problem: Error messages are spread out.
24196Solution: Move more errors to errors.h.
24197Files: src/errors.h, src/globals.h, src/feature.h, src/arglist.c,
24198 src/autocmd.c, src/blob.c, src/bufwrite.c, src/channel.c,
24199 src/cmdexpand.c, src/dict.c, src/diff.c, src/eval.c,
24200 src/evalfunc.c, src/evalvars.c, src/ex_cmds.c, src/ex_docmd.c,
24201 src/fileio.c, src/filepath.c, src/getchar.c, src/gui_gtk_x11.c,
24202 src/gui_x11.c, src/hardcopy.c, src/help.c, src/highlight.c,
24203 src/if_cscope.c, src/if_lua.c, src/if_mzsch.c, src/if_perl.xs,
24204 src/if_python.c, src/if_python3.c, src/if_ruby.c, src/if_tcl.c,
24205 src/if_xcmdsrv.c, src/indent.c, src/insexpand.c, src/job.c,
24206 src/list.c, src/main.c, src/map.c, src/match.c, src/mbyte.c,
24207 src/message.c, src/misc1.c, src/option.c, src/optionstr.c,
24208 src/os_mswin.c, src/os_unix.c, src/os_win32.c, src/popupwin.c,
24209 src/profiler.c, src/quickfix.c, src/scriptfile.c, src/search.c,
24210 src/session.c, src/sign.c, src/spell.c, src/spellfile.c,
24211 src/spellsuggest.c, src/syntax.c, src/tag.c, src/terminal.c,
24212 src/testing.c, src/textprop.c, src/typval.c, src/userfunc.c,
24213 src/vim9execute.c, src/vim9expr.c, src/vim9instr.c,
24214 src/vim9script.c
24215
24216Patch 8.2.3968
24217Problem: Build failure.
24218Solution: Add missing changes.
24219Files: src/strings.c, src/vim9compile.c
24220
24221Patch 8.2.3969
24222Problem: Value of MAXCOL not available in Vim script.
24223Solution: Add v:maxcol. (Naohiro Ono, closes #9451)
24224Files: runtime/doc/builtin.txt, runtime/doc/eval.txt, src/evalvars.c,
24225 src/testdir/test_cursor_func.vim, src/testdir/test_normal.vim,
24226 src/testdir/test_put.vim, src/vim.h
24227
24228Patch 8.2.3970
24229Problem: Error messages are spread out.
24230Solution: Move more errors to errors.h.
24231Files: src/errors.h, src/globals.h, src/buffer.c, src/bufwrite.c,
24232 src/clientserver.c, src/cmdhist.c, src/dict.c, src/edit.c,
24233 src/eval.c, src/evalfunc.c, src/evalvars.c, src/ex_cmds.c,
24234 src/ex_docmd.c, src/ex_eval.c, src/ex_getln.c, src/gui_w32.c,
24235 src/gui_x11.c, src/if_xcmdsrv.c, src/insexpand.c, src/json.c,
24236 src/match.c, src/menu.c, src/option.c, src/optionstr.c,
24237 src/os_mswin.c, src/quickfix.c, src/regexp_bt.c, src/regexp_nfa.c,
24238 src/scriptfile.c, src/sign.c, src/spellfile.c, src/undo.c,
24239 src/userfunc.c, src/vim9cmds.c, src/vim9compile.c,
24240 src/vim9execute.c, src/vim9expr.c, src/window.c
24241
24242Patch 8.2.3971
24243Problem: Build fails.
24244Solution: Use the right error message name.
24245Files: src/typval.c
24246
24247Patch 8.2.3972
24248Problem: Error messages are spread out.
24249Solution: Move the last errors from globals.h to errors.h.
24250Files: src/errors.h, src/globals.h, src/eval.c, src/evalfunc.c,
24251 src/evalvars.c, src/evalwindow.c, src/ex_eval.c, src/list.c,
24252 src/match.c, src/menu.c, src/popupmenu.c, src/search.c,
24253 src/vim9cmds.c, src/vim9expr.c
24254
24255Patch 8.2.3973
24256Problem: Tiny build fails.
24257Solution: Adjust #ifdefs
24258Files: src/errors.h
24259
24260Patch 8.2.3974
24261Problem: Vim9: LISTAPPEND instruction does not check for a locked list.
24262Solution: Check whether the list is locked. (closes #9452)
24263Files: src/vim9execute.c, src/testdir/test_vim9_builtin.vim
24264
24265Patch 8.2.3975
24266Problem: Error messages are spread out.
24267Solution: Move more error messages to errors.h.
24268Files: src/errors.h, src/clientserver.c, src/fileio.c, src/gui.c,
24269 src/gui_beval.c, src/gui_w32.c, src/gui_x11.c, src/if_cscope.c,
24270 src/if_xcmdsrv.c, src/os_mswin.c, src/sign.c, src/viminfo.c,
24271 src/window.c
24272
24273Patch 8.2.3976
24274Problem: FEARG_LAST is never used. (Dominique Pellé)
24275Solution: Remove FEARG_LAST and the related code.
24276Files: src/evalfunc.c
24277
24278Patch 8.2.3977
24279Problem: Error messages are spread out.
24280Solution: Move more error messages to errors.h.
24281Files: src/errors.h, src/change.c, src/clientserver.c, src/eval.c,
24282 src/gui_xim.c, src/if_cscope.c, src/if_py_both.h, src/if_python.c,
24283 src/if_python3.c, src/if_ruby.c, src/if_tcl.c, src/main.c,
24284 src/mark.c, src/match.c, src/memfile.c, src/memline.c,
24285 src/terminal.c, src/textprop.c, src/userfunc.c
24286
24287Patch 8.2.3978
Bram Moolenaar1588bc82022-03-08 21:35:07 +000024288Problem: Build error when using dynamically loaded Python 3.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024289Solution: Adjust #ifdef.
24290Files: src/errors.h
24291
24292Patch 8.2.3979
24293Problem: Vim9: the feature is not mentioned in the right places.
24294Solution: Add +vim9script to the help and :version output.
24295Files: runtime/doc/builtin.txt, runtime/doc/various.txt, src/version.c
24296
24297Patch 8.2.3980
24298Problem: If 'operatorfunc' invokes an operator the remembered Visual mode
24299 may be changed. (Naohiro Ono)
24300Solution: Save and restore the information for redoing the Visual area.
24301 (closes #9455)
24302Files: src/ops.c, src/testdir/test_normal.vim
24303
24304Patch 8.2.3981
24305Problem: Vim9: debugging a for loop doesn't stop before it starts.
24306Solution: Keep the DEBUG instruction before the expression is evaluated.
24307 (closes #9456)
24308Files: src/vim9cmds.c, src/testdir/test_vim9_disassemble.vim
24309
24310Patch 8.2.3982
24311Problem: Some lines of code not covered by tests.
24312Solution: Add a few more test cases. (Dominique Pellé, closes #9453)
24313Files: src/testdir/test_filter_map.vim, src/testdir/test_highlight.vim,
24314 src/testdir/test_regexp_latin.vim, src/testdir/test_search.vim,
24315 src/testdir/test_vim9_builtin.vim
24316
24317Patch 8.2.3983
24318Problem: Error messages are spread out.
24319Solution: Move more error messages to errors.h.
24320Files: src/errors.h, src/ex_docmd.c, src/fileio.c, src/filepath.c,
24321 src/findfile.c, src/hardcopy.c, src/memfile.c, src/memline.c,
24322 src/menu.c, src/normal.c, src/regexp_bt.c
24323
24324Patch 8.2.3984 (after 8.2.3981)
24325Problem: Debugger test fails.
24326Solution: Adjust the test for modified debugging of a for loop.
24327Files: src/testdir/test_debugger.vim
24328
24329Patch 8.2.3985
24330Problem: Error messages are spread out.
24331Solution: Move more error messages to errors.h.
24332Files: src/errors.h, src/findfile.c, src/fold.c, src/hardcopy.c,
24333 src/highlight.c, src/map.c, src/message.c, src/normal.c,
24334 src/option.c, src/os_amiga.c, src/os_unix.c, src/os_win32.c,
24335 src/quickfix.c, src/regexp.c, src/register.c, src/search.c,
24336 src/syntax.c, src/tag.c, src/term.c, src/typval.c, src/undo.c,
24337 src/window.c
24338
24339Patch 8.2.3986
24340Problem: Error messages are spread out.
24341Solution: Move more error messages to errors.h.
24342Files: src/errors.h, src/evalvars.c, src/ex_cmds.c, src/ex_docmd.c,
24343 src/fileio.c, src/fold.c, src/gui_x11.c, src/hardcopy.c,
24344 src/help.c, src/highlight.c, src/if_cscope.c, src/json.c,
24345 src/map.c, src/netbeans.c, src/popupwin.c, src/usercmd.c,
24346 src/userfunc.c
24347
24348Patch 8.2.3987
24349Problem: Error messages are spread out.
24350Solution: Move more error messages to errors.h.
24351Files: src/errors.h, src/digraph.c, src/ex_eval.c, src/gui.c,
24352 src/hardcopy.c, src/if_cscope.c, src/if_tcl.c, src/if_xcmdsrv.c,
24353 src/mbyte.c, src/misc2.c, src/netbeans.c, src/option.c,
24354 src/optionstr.c, src/quickfix.c, src/regexp.c, src/tag.c,
24355 src/term.c, src/viminfo.c
24356
24357Patch 8.2.3988 (after 8.2.3987)
24358Problem: Tiny build fails.
24359Solution: Fix misplaced #ifdef.
24360Files: src/errors.h
24361
24362Patch 8.2.3989
24363Problem: Some insert completion code is not tested.
24364Solution: Add a few tests. Refactor thesaurus completion. (Yegappan
24365 Lakshmanan, closes #9460)
24366Files: src/insexpand.c, src/testdir/test_edit.vim,
24367 src/testdir/test_ins_complete.vim
24368
24369Patch 8.2.3990
24370Problem: Testing wrong operator.
24371Solution: Test "g@" instead of "r_". (Naohiro Ono, closes #9463)
24372Files: src/testdir/test_normal.vim
24373
24374Patch 8.2.3991
24375Problem: Vim9: error when extending dict<any> with another type that it was
24376 initialized with.
24377Solution: Also set the type for dict<any> if the initializer has a more
24378 specific type. (closes #9461)
24379Files: src/vim9compile.c, src/vim9type.c, src/vim9.h, src/eval.c,
24380 src/list.c, src/vim9script.c, src/testdir/test_vim9_assign.vim,
24381 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_func.vim
24382
24383Patch 8.2.3992
24384Problem: Wrong local-additions in the help with language mix.
24385Solution: Adjust how the local additions list is generated. (Hirohito
24386 Higashi, closes #9464)
24387Files: src/help.c, src/testdir/test_help.vim
24388
24389Patch 8.2.3993
24390Problem: When recording a change in Select mode the first typed character
24391 appears twice.
24392Solution: When putting the character back into typeahead remove it from
24393 recorded characters. (closes #9462)
24394Files: src/getchar.c, src/proto/getchar.pro, src/normal.c,
24395 src/testdir/test_registers.vim
24396
24397Patch 8.2.3994
24398Problem: Vim9: extend() complains about the type even when it was not
24399 declared.
24400Solution: Only check the list or dict type when it was declared.
24401Files: src/list.c, src/testdir/test_vim9_builtin.vim
24402
24403Patch 8.2.3995
24404Problem: Not all sshconfig files are detected as such.
24405Solution: Adjust the patterns used for sshconfig detection. (David Auer,
24406 closes #9322)
24407Files: runtime/filetype.vim, src/testdir/test_filetype.vim
24408
24409Patch 8.2.3996
24410Problem: Vim9: type checking for list and dict lacks information about
24411 declared type.
24412Solution: Add dv_decl_type and lv_decl_type. Refactor the type stack to
24413 store two types in each entry.
24414Files: src/structs.h, src/dict.c, src/list.c, src/vim9type.c,
24415 src/proto/vim9type.pro, src/vim9instr.c, src/proto/vim9instr.pro,
24416 src/vim9compile.c, src/evalfunc.c, src/proto/evalfunc.pro,
24417 src/evalbuffer.c, src/proto/evalbuffer.pro, src/vim9expr.c,
24418 src/vim9cmds.c, src/testdir/test_vim9_assign.vim,
24419 src/testdir/test_vim9_builtin.vim
24420
24421Patch 8.2.3997
24422Problem: Vim9: not enough testing for extend() and map().
24423Solution: Add more test cases. Fix uncovered problems. Remove unused type
24424 fields.
24425Files: src/structs.h, src/dict.c, src/list.c, src/vim9compile.c,
24426 src/testdir/test_vim9_builtin.vim,
24427 src/testdir/test_vim9_disassemble.vim
24428
24429Patch 8.2.3998
24430Problem: Asan error for adding zero to NULL.
24431Solution: Do not compute pointer if there are no entries.
24432Files: src/vim9type.c
24433
24434Patch 8.2.3999
24435Problem: Redundant check for NUL byte.
24436Solution: Remove the check for a NUL byte. (closes #9471)
24437Files: src/ex_docmd.c
24438
24439Patch 8.2.4000
24440Problem: Coverity warns for checking for NULL pointer after using it.
24441Solution: Remove check for NULL.
24442Files: src/help.c
24443
24444Patch 8.2.4001
24445Problem: Insert complete code uses global variables.
24446Solution: Make variables local to the file and use accessor functions.
24447 (Yegappan Lakshmanan, closes #9470)
24448Files: src/edit.c, src/getchar.c, src/globals.h, src/insexpand.c,
24449 src/proto/insexpand.pro, src/search.c
24450
24451Patch 8.2.4002
24452Problem: First char typed in Select mode can be wrong.
24453Solution: Escape special bytes in the input buffer. (closes #9469)
24454Files: src/getchar.c, src/testdir/test_utf8.vim
24455
24456Patch 8.2.4003
24457Problem: Error messages are spread out.
24458Solution: Move more error messages to errors.h.
24459Files: src/errors.h, src/channel.c, src/ex_docmd.c, src/ex_eval.c,
24460 src/gui_at_fs.c, src/hardcopy.c, src/if_cscope.c, src/menu.c,
24461 src/netbeans.c, src/optionstr.c, src/os_mswin.c, src/sign.c,
24462 src/typval.c
24463
24464Patch 8.2.4004
24465Problem: Old compiler complains about struct init with variable.
Bram Moolenaar47c532e2022-03-19 15:18:53 +000024466Solution: Set the struct member later. (John Marriott)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024467Files: src/evalfunc.c
24468
24469Patch 8.2.4005
24470Problem: Error messages are spread out.
24471Solution: Move more error messages to errors.h.
24472Files: src/errors.h, src/dict.c, src/eval.c, src/evalfunc.c,
24473 src/evalvars.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_eval.c,
24474 src/filepath.c, src/gui.c, src/gui_w32.c, src/hardcopy.c,
24475 src/help.c, src/highlight.c, src/if_python.c, src/list.c,
24476 src/misc1.c, src/normal.c, src/quickfix.c, src/regexp.c,
24477 src/regexp_bt.c, src/regexp_nfa.c, src/typval.c, src/userfunc.c
24478
24479Patch 8.2.4006
24480Problem: Vim9: crash when declaring variable on the command line.
24481Solution: Use a temporary type list. (closes #9474)
24482Files: src/eval.c, src/testdir/test_vim9_assign.vim
24483
24484Patch 8.2.4007
24485Problem: Session does not restore help buffer properly when "options' is
24486 missing from 'sessionoptions'.
24487Solution: Use a ":help" command to create the help window. (closes #9475,
24488 closes #9458, closes #9472)
24489Files: src/session.c, src/testdir/test_mksession.vim
24490
24491Patch 8.2.4008
24492Problem: Error messages are spread out.
24493Solution: Move more error messages to errors.h.
24494Files: src/errors.h, src/diff.c, src/digraph.c, src/evalfunc.c,
24495 src/evalvars.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c,
24496 src/insexpand.c, src/match.c, src/memline.c, src/menu.c,
24497 src/ops.c, src/profiler.c, src/quickfix.c, src/regexp.c,
24498 src/regexp_bt.c, src/regexp_nfa.c, src/register.c, src/spell.c,
24499 src/spell.h, src/spellfile.c, src/strings.c, src/syntax.c,
24500 src/typval.c, src/undo.c, src/userfunc.c
24501
24502Patch 8.2.4009
24503Problem: Reading one byte beyond the end of the line.
24504Solution: Check for NUL byte first.
24505Files: src/vim9compile.c, src/ex_docmd.c, src/testdir/test_vim9_func.vim
24506
24507Patch 8.2.4010
24508Problem: Error messages are spread out.
24509Solution: Move more error messages to errors.h.
24510Files: src/errors.h, src/crypt.c, src/diff.c, src/ex_docmd.c,
24511 src/ex_getln.c, src/fileio.c, src/findfile.c, src/float.c,
24512 src/gui.c, src/highlight.c, src/if_mzsch.c, src/if_py_both.h,
24513 src/if_python.c, src/if_python3.c, src/insexpand.c, src/match.c,
24514 src/memline.c, src/option.c, src/popupwin.c, src/regexp.c,
24515 src/regexp_nfa.c, src/spellfile.c, src/strings.c, src/syntax.c,
24516 src/textprop.c, src/typval.c, src/undo.c, src/usercmd.c,
24517 src/userfunc.c, src/window.c
24518
24519Patch 8.2.4011
24520Problem: Test fails because of changed error number.
24521Solution: Restore old duplicate error message.
24522Files: src/errors.h, src/match.c
24523
24524Patch 8.2.4012
24525Problem: Error messages are spread out.
24526Solution: Move the last error messages to errors.h.
24527Files: src/errors.h, src/channel.c, src/clientserver.c, src/diff.c,
24528 src/evalfunc.c, src/evalvars.c, src/ex_cmds2.c, src/ex_docmd.c,
24529 src/gui_w32.c, src/help.c, src/if_mzsch.c, src/if_py_both.h,
24530 src/if_python.c, src/job.c, src/json.c, src/list.c, src/option.c,
24531 src/optionstr.c, src/quickfix.c, src/regexp.c, src/regexp_nfa.c,
24532 src/register.c, src/scriptfile.c, src/sign.c, src/syntax.c,
24533 src/tag.c, src/terminal.c, src/textprop.c, src/typval.c,
24534 src/undo.c, src/userfunc.c, src/vim9compile.c, src/viminfo.c
24535
24536Patch 8.2.4013
24537Problem: Build failure without the spell feature.
24538Solution: Adjust #ifdefs.
24539Files: src/errors.h
24540
24541Patch 8.2.4014
24542Problem: Git and gitcommit file types not properly recognized.
24543Solution: Adjust filetype detection. (Tim Pope, closes #9477)
24544Files: runtime/filetype.vim, runtime/scripts.vim,
24545 src/testdir/test_filetype.vim
24546
24547Patch 8.2.4015
24548Problem: Build failure with tiny features. (Tony Mechelynck)
24549Solution: Adjust #ifdefs.
24550Files: src/errors.h
24551
24552Patch 8.2.4016
24553Problem: Vim9: incorrect error for argument that is shadowing var.
24554Solution: Ignore variable that is not in block where the function was
24555 defined.
24556Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
24557
24558Patch 8.2.4017
24559Problem: Gcc warns for misleading indent in Athena menu code.
24560Solution: Add curlies around the two statements. (Dominique Pellé,
24561 closes #9480)
24562Files: src/gui_athena.c
24563
24564Patch 8.2.4018
24565Problem: ml_get error when win_execute redraws with Visual selection.
24566Solution: Disable Visual area temporarily. (closes #9479)
24567Files: src/evalwindow.c, src/proto/evalwindow.pro, src/structs.h,
24568 src/evalbuffer.c, src/proto/evalbuffer.pro, src/evalvars.c,
24569 src/if_py_both.h, src/evalfunc.c,
24570 src/testdir/test_execute_func.vim
24571
24572Patch 8.2.4019
24573Problem: Vim9: import mechanism is too complicated.
24574Solution: Do not use the Javascript mechanism but a much simpler one.
24575Files: runtime/doc/vim9.txt, src/vim9script.c, src/proto/vim9script.pro,
24576 src/errors.h, src/structs.h, src/eval.c, src/proto/eval.pro,
24577 src/evalvars.c, src/proto/evalvars.pro, src/userfunc.c,
24578 src/vim9expr.c, src/vim9compile.c, src/vim9execute.c,
24579 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_script.vim
24580
24581Patch 8.2.4020 (after 8.2.4019)
24582Problem: Debugger test fails.
24583Solution: Fix import statement.
24584Files: src/testdir/test_debugger.vim
24585
24586Patch 8.2.4021 (after 8.2.4019)
24587Problem: Missing part of the :import changes.
24588Solution: Add changes in vim9cmds.c.
24589Files: src/vim9cmds.c
24590
24591Patch 8.2.4022
24592Problem: Two error messages in the wrong file.
24593Solution: Use the error message from errors.h.
24594Files: src/popupwin.c, src/usercmd.c
24595
24596Patch 8.2.4023
24597Problem: Using uninitialized variable.
24598Solution: Initialize "ufunc" also when an item is not exported.
24599Files: src/vim9script.c
24600
24601Patch 8.2.4024
24602Problem: Confusing error message if imported name is used directly.
24603Solution: Give a better error message.
24604Files: src/eval.c, src/proto/eval.pro, src/evalvars.c, src/userfunc.c,
24605 src/testdir/test_vim9_script.vim
24606
24607Patch 8.2.4025
24608Problem: Error for import not ending in .vim does not work for .vimrc.
24609Solution: Check that .vim is the end. (closes #9484)
24610Files: src/vim9script.c, src/errors.h, src/testdir/test_vim9_script.vim
24611
24612Patch 8.2.4026
24613Problem: ml_get error with specific win_execute() command. (Sean Dewar)
24614Solution: Check cursor and Visual area are OK.
24615Files: src/evalwindow.c, src/testdir/test_execute_func.vim
24616
24617Patch 8.2.4027
24618Problem: Import test fails on MS-Windows.
24619Solution: Use a different directory name.
24620Files: src/testdir/test_vim9_script.vim
24621
24622Patch 8.2.4028
24623Problem: ml_get error with :doautoall and Visual area. (Sean Dewar)
24624Solution: Disable Visual mode while executing autocommands.
24625Files: src/structs.h, src/autocmd.c, src/testdir/test_autocmd.vim
24626
24627Patch 8.2.4029
24628Problem: Debugging NFA regexp my crash, cached indent may be wrong.
24629Solution: Fix some debug warnings in the NFA regexp code. Make sure log_fd
24630 is set when used. Fix breakindent and indent caching. (Christian
24631 Brabandt, closes #9482)
24632Files: src/indent.c, src/optionstr.c, src/regexp_nfa.c
24633
24634Patch 8.2.4030
24635Problem: A script local funcref is not found from a mapping.
24636Solution: When looking for a function, also find a script-local funcref.
24637 (closes #9485)
24638Files: src/evalvars.c, src/proto/evalvars.pro, src/userfunc.c,
24639 src/testdir/test_vim9_script.vim
24640
24641Patch 8.2.4031
24642Problem: Crash in xterm with only two lines. (Dominique Pellé)
24643Solution: Only perform xterm compatibility test if possible. (closes #9488)
24644Files: src/term.c, src/testdir/test_startup.vim
24645
24646Patch 8.2.4032
24647Problem: ATTRIBUTE_NORETURN is not needed.
24648Solution: Use NORETURN(). (Ozaki Kiichi, closes #9487)
24649Files: src/if_ruby.c, src/vim.h
24650
24651Patch 8.2.4033
24652Problem: Running filetype tests leaves directory behind.
24653Solution: Delete the top directory. (closes #9483)
24654Files: src/testdir/test_filetype.vim
24655
24656Patch 8.2.4034
24657Problem: Coverity warns for possibly using a NULL pointer.
24658Solution: Check v_partial is not NULL.
24659Files: src/vim9type.c
24660
24661Patch 8.2.4035
24662Problem: Timer triggered at the debug prompt may cause trouble.
24663Solution: Do not trigger any timer at the debug prompt. (closes #9481)
24664Files: src/time.c
24665
24666Patch 8.2.4036
24667Problem: Vim9: script test file is getting too long.
24668Solution: Split the import/export functionality to a separate file.
Bram Moolenaar47c532e2022-03-19 15:18:53 +000024669Files: src/testdir/test_vim9_script.vim, src/testdir/test_vim9_import.vim,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024670 src/testdir/Make_all.mak
24671
24672Patch 8.2.4037
24673Problem: Insert mode completion is insufficiently tested.
24674Solution: Add more tests. Fix uncovered memory leak. (Yegappan Lakshmanan,
24675 closes #9489)
24676Files: src/insexpand.c, src/testdir/test_ins_complete.vim
24677
24678Patch 8.2.4038
24679Problem: Various code not used when features are disabled.
24680Solution: Add #ifdefs. (Dominique Pellé, closes #9491)
24681Files: src/alloc.c, src/buffer.c, src/charset.c, src/clipboard.c,
24682 src/cmdhist.c, src/crypt.c, src/edit.c, src/eval.c,
24683 src/evalbuffer.c, src/evalfunc.c, src/ex_docmd.c, src/globals.h,
24684 src/gui_xim.c, src/hashtab.c, src/highlight.c, src/insexpand.c,
24685 src/main.c, src/mark.c, src/message.c, src/misc1.c, src/misc2.c,
24686 src/ops.c, src/option.c, src/option.h, src/optionstr.c,
24687 src/register.c, src/scriptfile.c, src/tag.c, src/term.c,
24688 src/typval.c, src/usercmd.c, src/userfunc.c, src/vim9script.c,
24689 src/vim9type.c
24690
24691Patch 8.2.4039
24692Problem: The xdiff library is linked in even when not used.
24693Solution: Use configure to decide whether xdiff object files are included.
24694Files: src/Makefile, src/config.mk.in, src/configure.ac,
24695 src/auto/configure, src/feature.h
24696
24697Patch 8.2.4040
24698Problem: Keeping track of allocated lines in user functions is too
24699 complicated.
24700Solution: Instead of freeing individual lines keep them all until the end.
24701Files: src/alloc.c, src/proto/alloc.pro, src/vim9compile.c,
24702 src/userfunc.c, src/proto/userfunc.pro, src/message.c,
24703 src/usercmd.c, src/viminfo.c, src/testdir/test_vim9_func.vim
24704
24705Patch 8.2.4041
Bram Moolenaar1588bc82022-03-08 21:35:07 +000024706Problem: Using uninitialized pointer.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024707Solution: Store "ht" when variable is in another script.
24708Files: src/evalvars.c
24709
24710Patch 8.2.4042
24711Problem: Vim9: build error.
24712Solution: Use grow array instead of character pointer.
24713Files: src/vim9execute.c
24714
24715Patch 8.2.4043
24716Problem: Using int for second argument of ga_init2().
Bram Moolenaar1588bc82022-03-08 21:35:07 +000024717Solution: Remove unnecessary type cast (int) when using sizeof().
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024718Files: src/arglist.c, src/channel.c, src/cmdexpand.c, src/dict.c,
24719 src/digraph.c, src/eval.c, src/evalfunc.c, src/evalvars.c,
24720 src/evalwindow.c, src/ex_docmd.c, src/fileio.c, src/filepath.c,
24721 src/findfile.c, src/fold.c, src/hardcopy.c, src/help.c,
24722 src/job.c, src/list.c, src/menu.c, src/os_win32.c, src/register.c,
24723 src/scriptfile.c, src/spellfile.c, src/spellsuggest.c,
24724 src/strings.c, src/syntax.c, src/tag.c, src/terminal.c,
24725 src/undo.c, src/usercmd.c, src/userfunc.c, src/vim9execute.c,
24726 src/viminfo.c, src/window.c, src/if_py_both.h
24727
24728Patch 8.2.4044
24729Problem: Vim9: no error when importing the same script twice.
24730Solution: Give an error, unless it is a reload.
24731Files: src/vim9script.c, src/errors.h, src/testdir/test_vim9_import.vim
24732
24733Patch 8.2.4045
24734Problem: Some global functions are only used in one file.
24735Solution: Make the functions static. (Yegappan Lakshmanan, closes #9492)
24736Files: src/ex_getln.c, src/highlight.c, src/proto/ex_getln.pro,
24737 src/proto/highlight.pro, src/proto/vim9compile.pro,
24738 src/proto/vim9instr.pro, src/proto/window.pro, src/vim9compile.c,
24739 src/vim9instr.c, src/window.c
24740
24741Patch 8.2.4046
24742Problem: Some error messages not in the right place.
24743Solution: Adjust the errors file. Fix typo.
24744Files: src/errors.h, src/regexp_bt.c, src/typval.c,
24745
24746Patch 8.2.4047
24747Problem: Depending on the build features error messages are unused.
24748Solution: Add #ifdefs. (Dominique Pellé, closes #9493)
24749Files: src/errors.h
24750
24751Patch 8.2.4048
24752Problem: gcc complains about use of "%p" in printf.
24753Solution: Add (void *) typecast. (Dominique Pellé, closes #9494)
24754Files: src/if_py_both.h
24755
24756Patch 8.2.4049
24757Problem: Vim9: reading before the start of the line with "$" by itself.
24758Solution: Do not subtract one when reporting the error.
24759Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim
24760
24761Patch 8.2.4050
24762Problem: Vim9: need to prefix every item in an autoload script.
24763Solution: First step in supporting "vim9script autoload" and "import
24764 autoload".
24765Files: runtime/doc/repeat.txt, runtime/doc/vim9.txt, src/structs.h,
24766 src/errors.h, src/vim9script.c, src/scriptfile.c,
24767 src/proto/scriptfile.pro, src/userfunc.c, src/eval.c,
24768 src/evalvars.c, src/vim9compile.c, src/proto/vim9compile.pro,
24769 src/vim9expr.c, src/testdir/test_vim9_script.vim
24770
24771Patch 8.2.4051
24772Problem: Compiler complains about possibly uninitialized variable.
24773Solution: Add code to avoid a compiler warning. (John Marriott)
24774Files: src/scriptfile.c
24775
24776Patch 8.2.4052
24777Problem: Not easy to resize a window from a plugin.
24778Solution: Add win_move_separator() and win_move_statusline() functions.
24779 (Daniel Steinberg, closes #9486)
24780Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
24781 src/evalwindow.c, src/proto/evalwindow.pro,
24782 src/testdir/test_window_cmd.vim
24783
24784Patch 8.2.4053
24785Problem: Vim9: autoload mechanism doesn't fully work yet.
24786Solution: Define functions and variables with their autoload name, add the
24787 prefix when calling a function, find the variable in the table of
24788 script variables.
24789Files: src/structs.h, src/scriptfile.c, src/proto/scriptfile.pro,
24790 src/vim9script.c, src/proto/vim9script.pro, src/userfunc.c,
24791 src/evalvars.c, src/testdir/test_vim9_script.vim
24792
24793Patch 8.2.4054 (after 8.2.4053)
24794Problem: Vim9 script test fails.
24795Solution: Add missing change.
24796Files: src/vim9compile.c
24797
24798Patch 8.2.4055
24799Problem: Vim9: line break in expression causes v:errmsg to be filled.
24800 (Yegappan Lakshmanan)
24801Solution: Do not give an error when skipping over an expression.
24802Files: src/userfunc.c, src/testdir/test_vim9_expr.vim
24803
24804Patch 8.2.4056
24805Problem: Vim9: memory leak when exporting function in autoload script.
24806Solution: Free the name if replacing it.
24807Files: src/scriptfile.c
24808
24809Patch 8.2.4057
24810Problem: Vim9: not fully implementing the autoload mechanism.
24811Solution: Allow for exporting a legacy function. Improve test coverage.
24812Files: src/vim9script.c, src/testdir/test_vim9_import.vim,
24813 src/testdir/test_vim9_script.vim
24814
24815Patch 8.2.4058
24816Problem: Vim9: import test failure in wrong line.
24817Solution: Adjust line number.
24818Files: src/testdir/test_vim9_import.vim
24819
24820Patch 8.2.4059
24821Problem: Vim9: an expression of a map cannot access script-local items.
24822 (Maxim Kim)
24823Solution: Use the script ID of where the map was defined.
24824Files: src/getchar.c, src/map.c, src/proto/map.pro,
24825 src/testdir/test_vim9_import.vim
24826
24827Patch 8.2.4060
24828Problem: win_execute() is slow on systems where getcwd() or chdir() is
24829 slow. (Rick Howe)
24830Solution: Avoid using getcwd() and chdir() if no local directory is used and
24831 'acd' is not set. (closes #9504)
24832Files: src/evalwindow.c
24833
24834Patch 8.2.4061
24835Problem: Codecov bash script is deprecated.
24836Solution: Use the codecov action. (Ozaki Kiichi, closes #9505)
24837Files: .github/workflows/ci.yml
24838
24839Patch 8.2.4062
24840Problem: Match highlighting of tab too short.
24841Solution: Do not stop match highlighting if on a Tab. (Christian Brabandt,
24842 closes #9507, closes #9500)
24843Files: src/drawline.c, src/testdir/test_match.vim,
24844 src/testdir/dumps/Test_match_tab_linebreak.dump
24845
24846Patch 8.2.4063
24847Problem: Vim9: exported function in autoload script not found. (Yegappan
24848 Lakshmanan)
24849Solution: Use the autoload prefix to search for the function.
24850Files: src/userfunc.c, src/testdir/test_vim9_import.vim
24851
24852Patch 8.2.4064
24853Problem: Foam files are not detected.
24854Solution: Detect the foam filetype by the path and file contents. (Mohammed
24855 Elwardi Fadeli, closes #9501)
24856Files: runtime/filetype.vim, runtime/autoload/dist/ft.vim,
24857 src/testdir/test_filetype.vim
24858
24859Patch 8.2.4065
24860Problem: Computation overflow with large count for :yank.
24861Solution: Avoid an overflow.
24862Files: src/ex_docmd.c, src/testdir/test_excmd.vim
24863
24864Patch 8.2.4066
24865Problem: Vim9: imported autoload script loaded again.
24866Solution: Do not create a new imported_T every time.
24867Files: src/vim9script.c, src/vim9compile.c,
24868 src/testdir/test_vim9_import.vim
24869
24870Patch 8.2.4067
24871Problem: Vim9: cannot call imported function with :call. (Drew Vogel)
24872Solution: Translate the function name. (closes #9510)
24873Files: src/userfunc.c, src/testdir/test_vim9_import.vim
24874
24875Patch 8.2.4068 (after 8.2.4066)
24876Problem: Vim9: import test fails.
24877Solution: Add missing change.
24878Files: src/scriptfile.c
24879
24880Patch 8.2.4069
24881Problem: Vim9: import test fails on MS-Windows.
24882Solution: Ignore case. Adjust test to avoid name that only differs in case.
24883Files: src/eval.c, src/scriptfile.c, src/testdir/test_vim9_import.vim
24884
24885Patch 8.2.4070
24886Problem: Using uninitialized memory when reading empty file.
24887Solution: Check for empty file before checking for NL. (Dominique Pellé,
24888 closes #9511)
24889Files: src/filepath.c, src/testdir/test_eval_stuff.vim
24890
24891Patch 8.2.4071
24892Problem: Vim9: no detection of return in try/endtry. (Dominique Pellé)
24893Solution: Check if any of the blocks inside try/endtry did not end in
24894 return.
24895Files: src/vim9.h, src/vim9compile.c, src/vim9cmds.c,
24896 src/testdir/test_vim9_script.vim
24897
24898Patch 8.2.4072
24899Problem: Vim9: compiling function fails when autoload script is not loaded
24900 yet.
24901Solution: Depend on runtime loading.
24902Files: src/vim9expr.c, src/vim9script.c, src/vim9instr.c,
24903 src/vim9execute.c, src/testdir/test_vim9_import.vim
24904
24905Patch 8.2.4073
24906Problem: Coverity warns for using NULL pointer.
24907Solution: Bail out when running out of memory. Check for running over end of
24908 a string.
24909Files: src/userfunc.c,
24910
24911Patch 8.2.4074
24912Problem: Going over the end of NameBuff.
24913Solution: Check length when appending a space.
24914Files: src/drawscreen.c, src/testdir/test_edit.vim
24915
24916Patch 8.2.4075 (after 8.2.4073)
24917Problem: Test failures.
24918Solution: Change check for NULL pointer.
24919Files: src/userfunc.c
24920
24921Patch 8.2.4076
24922Problem: Memory leak in autoload import.
24923Solution: Do not overwrite the autoload prefix.
24924Files: src/vim9script.c
24925
24926Patch 8.2.4077
24927Problem: Not all Libsensors files are recognized.
24928Solution: Add "sensors.d/*" pattern. (Doug Kearns)
24929Files: runtime/filetype.vim, src/testdir/test_filetype.vim
24930
24931Patch 8.2.4078
24932Problem: Terminal test for current directory not used on FreeBSD.
24933Solution: Make it work on FreeBSD. (Ozaki Kiichi, closes #9516) Add
24934 TermWait() inside Run_shell_in_terminal() as a generic solution.
24935Files: src/testdir/test_terminal3.vim, src/testdir/term_util.vim,
24936 src/testdir/test_terminal.vim, src/testdir/test_terminal2.vim,
24937 src/testdir/test_mapping.vim
24938
24939Patch 8.2.4079
24940Problem: MS-Windows: "gvim --version" didn't work when build with VIMDLL.
24941Solution: Adjust #ifdef. (Ken Takata, closes #9517)
24942Files: src/main.c
24943
24944Patch 8.2.4080
24945Problem: Not sufficient test coverage for xxd.
24946Solution: Add a few more test cases. (Erki Auerswald, closes #9515)
24947Files: src/testdir/test_xxd.vim
24948
24949Patch 8.2.4081
24950Problem: CodeQL reports problem in if_cscope causing it to fail.
24951Solution: Use execvp() instead of execl(). Merge the header file into the
24952 source file. (Ozaki Kiichi, closes #9519)
24953Files: Filelist, src/Make_cyg_ming.mak, src/Make_mvc.mak,
24954 src/Make_vms.mms, src/Makefile, src/if_cscope.c, src/if_cscope.h,
24955 src/testdir/test_cscope.vim
24956
24957Patch 8.2.4082
24958Problem: Check for autoload file name and prefix fails. (Christian J.
24959 Robinson)
24960Solution: Only lower case the prefix on systems where the file name is not
24961 case sensitive.
24962Files: src/scriptfile.c, src/testdir/test_vim9_import.vim
24963
24964Patch 8.2.4083
Bram Moolenaar1588bc82022-03-08 21:35:07 +000024965Problem: Vim9: no test for "vim9script autoload" and using script variable
Bram Moolenaarc51cf032022-02-26 12:25:45 +000024966 in the same script.
24967Solution: Add a simple test. Fix uncovered problem.
24968Files: src/evalvars.c, src/testdir/test_vim9_import.vim
24969
24970Patch 8.2.4084
24971Problem: Memory leak when looking for autoload prefixed variable.
24972Solution: Free the concatenated string.
24973Files: src/evalvars.c
24974
24975Patch 8.2.4085
24976Problem: Vim9: no test for using import in legacy script.
24977Solution: Add a test.
24978Files: src/testdir/test_vim9_import.vim
24979
24980Patch 8.2.4086
24981Problem: "cctx" argument of find_func_even_dead() is unused.
24982Solution: Remove the argument.
24983Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9compile.c,
24984 src/vim9instr.c, src/evalfunc.c, src/evalvars.c, src/testing.c,
24985 src/vim9execute.c, src/vim9expr.c, src/vim9script.c,
24986 src/vim9type.c
24987
24988Patch 8.2.4087
24989Problem: Cannot test items from an autoload script easily.
24990Solution: Add the "autoload" value for test_override().
24991Files: runtime/doc/testing.txt, src/testing.c, src/globals.h,
24992 src/vim9script.c, src/testdir/test_vim9_import.vim
24993
24994Patch 8.2.4088
24995Problem: Xxd cannot output everything in one line.
24996Solution: Make zero columns mean infinite columns. (Erik Auerswald,
24997 closes #9524)
24998Files: runtime/doc/xxd.1, runtime/doc/xxd.man, src/testdir/test_xxd.vim,
24999 src/xxd/xxd.c
25000
25001Patch 8.2.4089 (after 8.2.4078)
25002Problem: Terminal test for current directory fails on FreeBSD.
25003Solution: Skip the test.
25004Files: src/testdir/test_terminal3.vim
25005
25006Patch 8.2.4090
25007Problem: After restoring a session buffer order can be quite different.
25008Solution: Create buffers first. (Evgeni Chasnovski, closes #9520)
25009Files: src/session.c, src/testdir/test_mksession.vim
25010
25011Patch 8.2.4091
25012Problem: Virtcol is recomputed for statusline unnecessarily.
25013Solution: Just use "w_virtcol". (closes #9523)
25014Files: src/buffer.c, src/testdir/test_statusline.vim
25015
25016Patch 8.2.4092
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025017Problem: macOS CI: unnecessarily doing "Install packages".
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025018Solution: Only do "Install packages" for huge build. (Ozaki Kiichi,
25019 closes #9521)
25020Files: .github/workflows/ci.yml
25021
25022Patch 8.2.4093
25023Problem: Cached breakindent values not initialized properly.
25024Solution: Initialize and cache formatlistpat. (Christian Brabandt,
25025 closes #9526, closes #9512)
25026Files: runtime/doc/options.txt, src/indent.c, src/option.c,
25027 src/proto/option.pro, src/testdir/test_breakindent.vim
25028
25029Patch 8.2.4094
25030Problem: 'virtualedit' is window-local but using buffer-local enum.
25031Solution: Use window-local enum. (closes #9529)
25032Files: src/option.h, src/optiondefs.h
25033
25034Patch 8.2.4095
25035Problem: Sed script not recognized by the first line.
25036Solution: Recognize a sed script starting with "#n". (Doug Kearns)
25037Files: runtime/scripts.vim, src/testdir/test_filetype.vim
25038
25039Patch 8.2.4096
25040Problem: Linux CI: unnecessarily installing packages
25041Solution: Only install packages for huge build. (Ozaki Kiichi,
25042 closes #9530)
25043Files: .github/workflows/ci.yml
25044
25045Patch 8.2.4097
25046Problem: Wrong number in error message on 32 bit system. (John Paul Adrian
25047 Glaubitz)
25048Solution: Add type cast. (closes #9527)
25049Files: src/vim9compile.c
25050
25051Patch 8.2.4098
25052Problem: Typing "interrupt" at debug prompt may keep exception around,
25053 causing function calls to fail.
25054Solution: Discard any exception at the toplevel. (closes #9532)
25055Files: src/main.c
25056
25057Patch 8.2.4099
25058Problem: Vim9: cannot use Vim9 syntax in mapping.
25059Solution: Add <ScriptCmd> to use the script context for a command.
25060Files: runtime/doc/map.txt, src/normal.c, src/getchar.c,
25061 src/proto/getchar.pro, src/ex_getln.c, src/edit.c, src/terminal.c,
25062 src/keymap.h, src/insexpand.c, src/misc2.c, src/ops.c,
25063 src/testdir/test_vim9_import.vim
25064
25065Patch 8.2.4100
25066Problem: Early return when getting the 'formatlistpat' value.
25067Solution: Remove the first line. (Christian Brabandt)
25068Files: src/option.c, src/testdir/test_breakindent.vim
25069
25070Patch 8.2.4101
25071Problem: Warning for unused argument in tiny version.
25072Solution: Add "UNUSED".
25073Files: src/getchar.c
25074
25075Patch 8.2.4102
25076Problem: Vim9: import cannot be used after method.
25077Solution: Recognize an imported function name. (closes #9496)
25078Files: src/eval.c, src/testdir/test_vim9_import.vim
25079
25080Patch 8.2.4103
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025081Problem: Vim9: variable declared in for loop not initialized.
25082Solution: Always initialize the variable. (closes #9535)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025083Files: src/vim9instr.c, src/proto/vim9instr.pro, src/vim9compile.c,
25084 src/testdir/test_vim9_assign.vim
25085
25086Patch 8.2.4104
25087Problem: Vim9: lower casing the autoload prefix causes problems.
25088Solution: Always store the prefix with case preserved.
25089Files: src/scriptfile.c, src/testdir/test_vim9_import.vim
25090
25091Patch 8.2.4105
25092Problem: Translation related comment in the wrong place.
25093Solution: Move it back with the text. (Ken Takata, closes #9537)
25094Files: src/errors.h, src/ex_docmd.c
25095
25096Patch 8.2.4106
25097Problem: Going over the end of the w_lines array.
25098Solution: Break out of the loop when "idx" is too big. (issue #9540)
25099Files: src/drawscreen.c
25100
25101Patch 8.2.4107
25102Problem: Script context not restored after using <ScriptCmd>.
25103Solution: Also restore context when not in a script. (closes #9536)
25104 Add the 'c' flag to feedkeys() to be able to test this.
25105Files: runtime/doc/builtin.txt, src/getchar.c, src/evalfunc.c,
25106 src/testdir/test_mapping.vim
25107
25108Patch 8.2.4108
25109Problem: Going over the end of the w_lines array.
25110Solution: Check not going over the end and limit to Rows. (issue #9540)
25111Files: src/drawscreen.c
25112
25113Patch 8.2.4109
25114Problem: MS-Windows: high dpi support is outdated.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025115Solution: Improve High DPI support by using PerMonitorV2. (Ken Takata
25116 closes #9525, closes #3102)
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025117Files: src/gui.c, src/gui.h, src/gui_w32.c, src/vim.manifest
25118
25119Patch 8.2.4110
25120Problem: Coverity warns for using NULL pointer.
25121Solution: Check "evalarg" is not NULL. Skip errors when "verbose" is false.
25122Files: src/eval.c
25123
25124Patch 8.2.4111
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025125Problem: Potential problem when map is deleted while executing.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025126Solution: Reset last used map pointer when deleting a mapping.
25127Files: src/map.c
25128
25129Patch 8.2.4112
25130Problem: Function not deleted at end of test.
25131Solution: Delete the function.
25132Files: src/testdir/test_diffmode.vim
25133
25134Patch 8.2.4113
25135Problem: Typo on DOCMD_RANGEOK results in not recognizing command.
25136Solution: Correct the typo. (closes #9539)
25137Files: src/vim.h, src/testdir/test_mapping.vim
25138
25139Patch 8.2.4114
25140Problem: Vim9: type checking for a funcref does not work for when it is
25141 used in a method.
25142Solution: Pass the base to where the type is checked.
25143Files: src/vim9type.c, src/proto/vim9type.pro, src/userfunc.c,
25144 src/testdir/test_vim9_expr.vim
25145
25146Patch 8.2.4115
25147Problem: Cannot use a method with a complex expression.
25148Solution: Evaluate the expression after "->" and use the result.
25149Files: src/eval.c, src/errors.h, src/testdir/test_vim9_expr.vim
25150
25151Patch 8.2.4116
25152Problem: Vim9: cannot use a method with a complex expression in a :def
25153 function.
25154Solution: Implement compiling the expression.
25155Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim
25156
25157Patch 8.2.4117
25158Problem: Vim9: wrong white space error after using imported item.
25159Solution: Don't skip over white space. (closes #9544)
25160Files: src/eval.c, src/testdir/test_vim9_import.vim
25161
25162Patch 8.2.4118
25163Problem: Using UNUSED for argument that is used.
25164Solution: Remove UNUSED.
25165Files: src/usercmd.c
25166
25167Patch 8.2.4119
25168Problem: Build failure when disabling the channel feature.
25169Solution: Adjust #ifdef. (Dominique Pellé, closes #9545)
25170Files: src/misc2.c
25171
25172Patch 8.2.4120
25173Problem: Block insert goes over the end of the line.
25174Solution: Handle invalid byte better. Fix inserting the wrong text.
25175Files: src/ops.c, src/testdir/test_visual.vim
25176
25177Patch 8.2.4121
25178Problem: Visual test fails on MS-Windows.
25179Solution: Set 'isprint' so that the character used is not printable.
25180Files: src/testdir/test_visual.vim
25181
25182Patch 8.2.4122
25183Problem: ":command Cmd" does not show custom completion argument.
25184Solution: Show the completion argument when using ":verbose".
25185Files: src/usercmd.c, src/testdir/test_usercommands.vim
25186
25187Patch 8.2.4123
25188Problem: Complete function cannot be import.Name.
25189Solution: Dereference the function name if needed. Also: do not see
25190 "import.Name" as a builtin function. (closes #9541)
25191Files: src/userfunc.c, src/eval.c, src/testdir/test_vim9_import.vim
25192
25193Patch 8.2.4124
25194Problem: Vim9: method in compiled function may not see script item.
25195Solution: Make sure not to skip to the next line. (closes #9496)
25196Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim
25197
25198Patch 8.2.4125
25199Problem: Completion tests fail.
25200Solution: Disable error messages while dereferencing the function name.
25201Files: src/eval.c
25202
25203Patch 8.2.4126
25204Problem: Crash on exit when built with dynamic Tcl and EXITFREE is defined.
25205 (Dominique Pellé)
25206Solution: Only call Tcl_Finalize() when initialized. (closes #9546)
25207Files: src/if_tcl.c
25208
25209Patch 8.2.4127
25210Problem: Build failure without the +eval feature.
25211Solution: Add #ifdef.
25212Files: src/usercmd.c
25213
25214Patch 8.2.4128
25215Problem: Crash when method cannot be found. (Christian J. Robinson)
25216Solution: Don't mix up pointer names.
25217Files: src/eval.c, src/testdir/test_vim9_expr.vim
25218
25219Patch 8.2.4129
25220Problem: Building with +sound but without +eval fails. (Dominique Pellé)
25221Solution: Disable canberra in tiny and small build. (closes #9548)
25222Files: src/configure.ac, src/auto/configure
25223
25224Patch 8.2.4130
25225Problem: MS-Windows: MSVC build may have libraries duplicated.
25226Solution: Improve the MSVC Makefile. (Ken Takata, closes #9547)
25227Files: src/Make_mvc.mak
25228
25229Patch 8.2.4131
25230Problem: Vim9: calling function in autoload import does not work in a :def
25231 function.
25232Solution: When a variable is not found and a PCALL follows use a funcref.
25233 (closes #9550)
25234Files: src/vim9execute.c, src/testdir/test_vim9_import.vim
25235
25236Patch 8.2.4132
25237Problem: Vim9: wrong error message when autoload script can't be found.
25238Solution: Correct check for using autoload with wrong name.
25239Files: src/vim9script.c, src/testdir/test_vim9_import.vim
25240
25241Patch 8.2.4133
25242Problem: output of ":scriptnames" goes into the message history, while this
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025243 does not happen for other commands, such as ":ls".
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025244Solution: Use msg_outtrans() instead of smsg(). (closes #9551)
25245Files: src/scriptfile.c, src/testdir/test_scriptnames.vim
25246
25247Patch 8.2.4134
25248Problem: MS-Windows: test for import with absolute path fails.
25249Solution: Handle path starting with slash as an absolute path.
25250Files: src/vim9script.c
25251
25252Patch 8.2.4135
25253Problem: Vim9: ":scriptnames" shows unloaded imported autoload script.
25254Solution: Mark the unloaded script with "A". (closes #9552)
25255Files: runtime/doc/repeat.txt, src/scriptfile.c,
25256 src/testdir/test_vim9_import.vim
25257
25258Patch 8.2.4136
25259Problem: Vim9: the "autoload" argument of ":vim9script" is not useful.
25260Solution: Remove the argument. (closes #9555)
25261Files: runtime/doc/vim9.txt, runtime/doc/repeat.txt, src/vim9script.c,
25262 src/errors.h, src/testdir/test_vim9_import.vim
25263
25264Patch 8.2.4137
25265Problem: Vim9: calling import with and without method is inconsistent.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025266Solution: Set a flag that a parenthesis follows to compile_load_scriptvar().
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025267 Add some more tests. Improve error message.
25268Files: src/vim9expr.c, src/vim9execute.c, src/vim9script.c,
25269 src/testdir/test_vim9_import.vim
25270
25271Patch 8.2.4138
25272Problem: Vim9: no error for return with argument when the function does not
25273 return anything.
25274Solution: Give an error for the invalid argument. (issue #9497)
25275Files: src/vim9cmds.c, src/testdir/test_vim9_func.vim
25276
25277Patch 8.2.4139
25278Problem: Using freed memory if an expression abbreviation deletes the
25279 abbreviation.
25280Solution: Do not access the pointer after evaluating the expression.
25281Files: src/map.c, src/testdir/test_mapping.vim
25282
25283Patch 8.2.4140
25284Problem: maparg() does not indicate the type of script where it was defined.
25285Solution: Add "scriptversion".
25286Files: runtime/doc/builtin.txt, src/map.c, src/testdir/test_maparg.vim
25287
25288Patch 8.2.4141 (after 8.2.4140)
25289Problem: Vim9 builtin functions test fails.
25290Solution: Add "scriptversion" item to maparg() result.
25291Files: src/testdir/test_vim9_builtin.vim
25292
25293Patch 8.2.4142
25294Problem: Build failure with normal features without persistent undo.
25295Solution: Adjust #ifdef. (closes #9557)
25296Files: src/fileio.c
25297
25298Patch 8.2.4143
25299Problem: MS-Windows: IME support for Win9x is obsolete.
25300Solution: Remove the Win9x code. (Ken Takata, closes #9559)
25301Files: src/gui_w32.c
25302
25303Patch 8.2.4144
25304Problem: Cannot load libsodium dynamically.
25305Solution: Support dynamic loading on MS-Windows. (Ken Takata, closes #9554)
25306Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/buffer.c,
25307 src/crypt.c, src/memline.c, src/proto/crypt.pro
25308
25309Patch 8.2.4145
25310Problem: Confusing error when using name of import for a function.
25311Solution: Pass a flag to trans_function_name().
25312Files: src/vim.h, src/userfunc.c, src/proto/userfunc.pro, src/eval.c,
25313 src/testdir/test_vim9_import.vim
25314
25315Patch 8.2.4146
25316Problem: Vim9: shadowed function can be used in compiled function but not
25317 at script level.
25318Solution: Also give an error in a compiled function. (closes #9563)
25319Files: src/vim9expr.c
25320
25321Patch 8.2.4147
25322Problem: E464 does not always include the offending command.
25323Solution: Add another error message with "%s". (closes #9564)
25324Files: src/errors.h, src/vim9compile.c, src/ex_docmd.c,
25325 src/testdir/test_vim9_script.vim
25326
25327Patch 8.2.4148
25328Problem: Deleting any mapping may cause <ScriptCmd> to not set the script
25329 context.
25330Solution: Only reset last_used_map if it is the deleted mapping.
25331 (closes #9568)
25332Files: src/map.c, src/getchar.c, src/proto/getchar.pro,
25333 src/testdir/test_mapping.vim
25334
25335Patch 8.2.4149
25336Problem: Test override not restored, autocommand left behind.
25337Solution: Correct restoring test override. Delete autocommand afterwards.
25338Files: src/testdir/test_autocmd.vim, src/testdir/test_mapping.vim
25339
25340Patch 8.2.4150
25341Problem: Coverity warns for using pointer after free.
25342Solution: Swap statements, even though using the pointer is no problem.
25343Files: src/map.c
25344
25345Patch 8.2.4151
25346Problem: Reading beyond the end of a line.
25347Solution: For block insert only use the offset for correcting the length.
25348Files: src/ops.c, src/testdir/test_visual.vim
25349
25350Patch 8.2.4152
25351Problem: Block insert with double wide character fails.
25352Solution: Adjust the expected output.
25353Files: src/testdir/test_utf8.vim
25354
25355Patch 8.2.4153
25356Problem: MS-Windows: Global IME is no longer supported.
25357Solution: Remove the Global IME implementation. (Ken Takata, closes #9562)
25358Files: Filelist, runtime/doc/mbyte.txt, src/Make_mvc.mak, src/dimm.idl,
25359 src/glbl_ime.cpp, src/glbl_ime.h, src/gui_w32.c, src/vim.h
25360
25361Patch 8.2.4154
25362Problem: ml_get error when exchanging windows in Visual mode.
25363Solution: Correct end of Visual area when entering another buffer.
25364Files: src/window.c, src/testdir/test_visual.vim
25365
25366Patch 8.2.4155
25367Problem: Translating strftime() argument results in check error.
25368Solution: Add gettext comment.
25369Files: src/time.c
25370
25371Patch 8.2.4156
25372Problem: Fileinfo message overwrites echo'ed message.
25373Solution: Reset need_fileinfo when displaying a message. (Rob Pilling,
25374 closes #9569)
25375Files: src/message.c, src/testdir/test_messages.vim,
25376 src/testdir/dumps/Test_fileinfo_after_echo.dump
25377
25378Patch 8.2.4157
25379Problem: Terminal test fails because Windows sets the title.
25380Solution: Add the "vterm_title" testing override and use it in the test.
25381 (Ozaki Kiichi, closes #9556)
25382Files: runtime/doc/testing.txt, src/globals.h, src/terminal.c,
25383 src/testing.c, src/testdir/test_terminal.vim
25384
25385Patch 8.2.4158
25386Problem: MS-Windows: memory leak in :browse.
25387Solution: Free stuff before returning. (Ken Takata, closes #9574)
25388Files: src/gui_w32.c
25389
25390Patch 8.2.4159
25391Problem: MS-Windows: _WndProc() is very long.
25392Solution: Move code to separate functions. (Ken Takata, closes #9573)
25393Files: src/gui_w32.c
25394
25395Patch 8.2.4160
25396Problem: Cannot change the register used for Select mode delete.
25397Solution: Make CTRL-R set the register to be used when deleting text for
25398 Select mode. (Shougo Matsushita, closes #9531)
25399Files: runtime/doc/visual.txt, src/globals.h, src/normal.c, src/ops.c,
25400 src/testdir/test_selectmode.vim
25401
25402Patch 8.2.4161
25403Problem: Vim9: warning for missing white space after imported variable.
25404Solution: Do not skip white space. (closes #9567)
25405Files: src/vim9expr.c, src/testdir/test_vim9_import.vim
25406
25407Patch 8.2.4162
25408Problem: Vim9: no error for redefining function with export.
25409Solution: Check for existing function with/without prefix. (closes #9577)
25410Files: src/userfunc.c, src/scriptfile.c, src/testdir/test_vim9_import.vim
25411
25412Patch 8.2.4163
25413Problem: No error for omitting function name after autoload prefix.
25414Solution: Check for missing function name. (issue #9577)
25415Files: src/userfunc.c, src/testdir/test_vim9_import.vim
25416
25417Patch 8.2.4164 (after 8.2.4162)
25418Problem: Error in legacy code for function shadowing variable.
25419Solution: Only give the error in Vim9 script.
25420Files: src/userfunc.c
25421
25422Patch 8.2.4165
25423Problem: The nv_g_cmd() function is too long.
25424Solution: Move code to separate functions. (Yegappan Lakshmanan,
25425 closes #9576)
25426Files: src/normal.c
25427
25428Patch 8.2.4166
25429Problem: Undo synced when switching buffer in another window.
25430Solution: Do not sync undo when not needed. (closes #9575)
25431Files: src/buffer.c, src/testdir/test_timers.vim
25432
25433Patch 8.2.4167
25434Problem: Vim9: error message for old style import.
25435Solution: Use another error message. Add a test.
25436Files: src/evalvars.c, src/errors.h, src/testdir/test_vim9_import.vim
25437
25438Patch 8.2.4168 (after 8.2.4163)
25439Problem: Disallowing empty function name breaks existing plugins.
25440Solution: Allow empty function name in legacy script.
25441Files: src/userfunc.c, src/testdir/test_autoload.vim,
25442 src/testdir/sautest/autoload/foo.vim
25443
25444Patch 8.2.4169
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025445Problem: MS-Windows: unnecessary casts and other minor things.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025446Solution: Clean up the MS-Windows code. (Ken Takata, closes #9583)
25447Files: src/gui_w32.c
25448
25449Patch 8.2.4170
25450Problem: MS-Windows: still using old message API calls.
25451Solution: Call the "W" functions directly. (Ken Takata, closes #9582)
25452Files: src/gui_w32.c, src/os_mswin.c, src/os_win32.c, src/os_win32.h
25453
25454Patch 8.2.4171
25455Problem: Cannot invoke option function using autoload import.
25456Solution: Expand the import to an autoload function name. (closes #9578)
25457Files: src/userfunc.c, src/evalvars.c, src/proto/evalvars.pro,
25458 src/option.c, src/testdir/test_vim9_import.vim
25459
25460Patch 8.2.4172
25461Problem: Filetype detection for BASIC is not optimal.
25462Solution: Improve BASIC filetype detection. (Doug Kearns)
25463Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
25464 src/testdir/test_filetype.vim
25465
25466Patch 8.2.4173
25467Problem: Cannot use an import in 'foldexpr'.
25468Solution: Set the script context to where 'foldexpr' was set. (closes #9584)
25469 Fix that the script context was not set for all buffers.
25470Files: src/eval.c, src/proto/eval.pro, src/fold.c, src/structs.h,
25471 src/option.c, src/testdir/test_vim9_import.vim
25472
25473Patch 8.2.4174
25474Problem: Vim9: can use an autoload name in normal script.
25475Solution: Disallow using an autoload name.
25476Files: src/userfunc.c, src/errors.h, src/testdir/test_vim9_import.vim
25477
25478Patch 8.2.4175
25479Problem: MS-Windows: runtime check for multi-line balloon is obsolete.
25480Solution: Remove the obsolete code. (Ken Takata, closes #9592)
25481Files: src/evalfunc.c, src/gui_w32.c, src/proto/gui_w32.pro
25482
25483Patch 8.2.4176
25484Problem: Vim9: cannot use imported function with call().
25485Solution: Translate the function name. (closes #9590)
25486Files: src/evalfunc.c, src/testdir/test_vim9_import.vim
25487
25488Patch 8.2.4177
25489Problem: Vim9: autoload script not loaded after "vim9script noclear".
25490Solution: Check IMP_FLAGS_AUTOLOAD properly. (closes #9593)
25491Files: src/vim9compile.c, src/testdir/test_vim9_import.vim
25492
25493Patch 8.2.4178
25494Problem: Vim9: invalid error for return type of lambda when debugging.
25495Solution: Do not check the return type of a lambda. (closes #9589)
25496Files: src/vim9cmds.c
25497
25498Patch 8.2.4179
25499Problem: 'foldtext' is evaluated in the current script context.
25500Solution: Use the script context where the option was set.
25501Files: src/fold.c, src/buffer.c, src/eval.c, src/proto/eval.pro,
25502 src/findfile.c, src/testdir/test_vim9_import.vim
25503
25504Patch 8.2.4180
25505Problem: 'balloonexpr' is evaluated in the current script context.
25506Solution: Use the script context where the option was set.
25507Files: src/beval.c, src/option.c, src/proto/option.pro,
25508 src/testdir/test_balloon.vim,
25509 src/testdir/dumps/Test_balloon_eval_term_01.dump,
25510 src/testdir/dumps/Test_balloon_eval_term_01a.dump,
25511 src/testdir/dumps/Test_balloon_eval_term_02.dump
25512
25513Patch 8.2.4181
25514Problem: Vim9: cannot use an import in 'diffexpr'.
25515Solution: Set the script context when evaluating 'diffexpr'. Do not require
25516 'diffexpr' to return a bool, it was ignored anyway.
25517Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25518
25519Patch 8.2.4182 (after 8.2.4182)
25520Problem: Memory leak when evaluating 'diffexpr'.
25521Solution: Use free_tv() instead of clear_tv().
25522Files: src/evalvars.c
25523
25524Patch 8.2.4183
25525Problem: Cannot use an import in 'formatexpr'.
25526Solution: Set the script context when evaluating 'formatexpr'.
25527Files: src/textformat.c, src/testdir/test_vim9_import.vim
25528
25529Patch 8.2.4184
25530Problem: Cannot use an import in 'includeexpr'.
25531Solution: Set the script context when evaluating 'includeexpr'
25532Files: src/findfile.c, src/testdir/test_vim9_import.vim
25533
25534Patch 8.2.4185
25535Problem: Cannot use an import in 'indentexpr'.
25536Solution: Set the script context when evaluating 'indentexpr'
25537Files: src/indent.c, src/testdir/test_vim9_import.vim
25538
25539Patch 8.2.4186
25540Problem: Cannot use an import in 'patchexpr'.
25541Solution: Set the script context when evaluating 'patchexpr'. Do not
25542 require 'patchexpr' to return a bool, it was ignored anyway.
25543Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25544
25545Patch 8.2.4187
25546Problem: Gnuplot file not recognized.
25547Solution: Recognize ".gnuplot". (closes #9588)
25548Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25549
25550Patch 8.2.4188
25551Problem: Not all gitconfig files are recognized.
25552Solution: Add a few more patterns. (Tim Pope, closes #9597)
25553Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25554
25555Patch 8.2.4189
25556Problem: MS-Windows: code for "old look" is obsolete.
25557Solution: Delete obsolete code. Use "MS Shell Dlg" font. (Ken Takata,
25558 closes #9596)
25559Files: src/gui_w32.c
25560
25561Patch 8.2.4190
25562Problem: All conceal tests are skipped without the screendumps feature.
25563Solution: Only skip the tests that use screendumps. (closes #9599)
25564Files: src/testdir/test_conceal.vim
25565
25566Patch 8.2.4191
25567Problem: json5 files are not recognized.
25568Solution: Add a pattern for json5 files. (closes #9601)
25569Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25570
25571Patch 8.2.4192
25572Problem: Cannot use an import in 'printexpr'.
25573Solution: Set the script context when evaluating 'printexpr'.
25574Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25575
25576Patch 8.2.4193
25577Problem: Cannot use an import in 'charconvert'.
25578Solution: Set the script context when evaluating 'charconvert'. Also expand
25579 script-local functions in 'charconvert'.
25580Files: src/evalvars.c, src/optionstr.c, src/testdir/test_vim9_import.vim
25581
25582Patch 8.2.4194
25583Problem: MS-Windows: code for calculating font size is duplicated.
25584Solution: Move the code to a function. (Ken Takata, closes #9603)
25585Files: src/gui_w32.c
25586
25587Patch 8.2.4195
25588Problem: Resizing terminal may cause to behave like CTRL-Z.
25589Solution: Set "got_tstp" only when in_mch_suspend is set. (Dorian Bivolaru,
25590 closes #9602, closes #9586)
25591Files: src/os_unix.c
25592
25593Patch 8.2.4196
25594Problem: Various file types not recognized.
25595Solution: Add patterns to recognize more file types (closes #9607)
25596Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25597
25598Patch 8.2.4197
25599Problem: Cannot use an import in the "expr" part of 'spellsuggest'.
25600Solution: Set the script context when evaluating "expr" of 'spellsuggest'.
25601Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25602
25603Patch 8.2.4198
25604Problem: Vim9: the switch for executing instructions is too long.
25605Solution: Move some code to separate functions.
25606Files: src/vim9execute.c
25607
25608Patch 8.2.4199
25609Problem: MS-Windows: Support for MSVC before 2003 is not useful.
25610Solution: Remove the exceptions for MSVC 6.0. (Ken Takata, closes #9616)
25611Files: src/GvimExt/gvimext.h, src/ex_docmd.c, src/feature.h,
25612 src/gui_w32.c, src/if_cscope.c, src/if_ole.cpp, src/if_ruby.c,
25613 src/macros.h, src/os_mswin.c, src/os_win32.c, src/os_win32.h,
25614 src/proto/os_win32.pro, src/time.c, src/vim.h
25615
25616Patch 8.2.4200
25617Problem: Some tests do not clean up properly.
25618Solution: Delete created files. (Yegappan Lakshmanan, closes #9611)
25619Files: src/testdir/test_filetype.vim, src/testdir/test_messages.vim,
25620 src/testdir/test_vim9_import.vim
25621
25622Patch 8.2.4201
25623Problem: When using the GUI CTRL-Z does not stop gvim.
25624Solution: When using the GUI set SIGTSTP to SIG_DFL. (Andrew Maltsev,
25625 closes #9570)
25626Files: src/os_unix.c
25627
25628Patch 8.2.4202
25629Problem: Vim9: cannot export function that exists globally.
25630Solution: When checking if a function already exists only check for
25631 script-local functions. (closes #9615)
Bram Moolenaar47c532e2022-03-19 15:18:53 +000025632Files: src/userfunc.c, src/proto/userfunc.pro, src/vim.h,
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025633 src/vim9compile.c, src/vim9instr.c,
25634 src/testdir/test_vim9_import.vim
25635
25636Patch 8.2.4203
25637Problem: Entering a character with CTRL-V may include modifiers.
25638Solution: Reset "mod_mask" when entering a character with digits after
25639 CTRL-V. (closes #9610)
25640Files: src/edit.c, src/testdir/test_edit.vim
25641
25642Patch 8.2.4204
25643Problem: screenpos() has non-zero row for invisible text.
25644Solution: Only add the window row when the text is visible. (closes #9618)
25645Files: src/move.c, src/testdir/test_cursor_func.vim
25646
25647Patch 8.2.4205
25648Problem: The normal_cmd() function is too long.
25649Solution: Move parts to separate functions. (Yegappan Lakshmanan,
25650 closes #9608)
25651Files: src/normal.c
25652
25653Patch 8.2.4206
25654Problem: Condition with many "(" causes a crash.
25655Solution: Limit recursion to 1000.
25656Files: src/errors.h, src/eval.c, src/testdir/test_eval_stuff.vim
25657
25658Patch 8.2.4207 (after 8.2.4206)
25659Problem: Recursion test fails with MSVC.
25660Solution: Use a smaller limit for MSVC.
25661Files: src/eval.c
25662
25663Patch 8.2.4208
25664Problem: Using setbufvar() may change the window title.
25665Solution: Do not redraw when creating the autocommand window. (closes #9613)
25666Files: src/autocmd.c, src/testdir/test_functions.vim
25667
25668Patch 8.2.4209
25669Problem: partial in 'opfunc' cannot use an imported function.
25670Solution: Also expand the function name in a partial. (closes #9614)
25671Files: src/evalvars.c, src/testdir/test_vim9_import.vim
25672
25673Patch 8.2.4210 (after 8.2.4208)
25674Problem: Window title test fails in some configurations.
25675Solution: Only run the test if the title can be obtained.
25676Files: src/testdir/test_functions.vim
25677
25678Patch 8.2.4211 (after 8.2.4208)
25679Problem: Window title test still fails in some configurations.
25680Solution: Use WaitForAssert().
25681Files: src/testdir/test_functions.vim
25682
25683Patch 8.2.4212 (after 8.2.4208)
25684Problem: Window title test still fails in some configurations.
25685Solution: Explicitly set the 'title' option.
25686Files: src/testdir/test_functions.vim
25687
25688Patch 8.2.4213
25689Problem: Too much code for supporting old MSVC versions.
25690Solution: Remove MSVC 2003 support. (Ken Takata, closes #9623)
25691Files: Filelist, src/INSTALLpc.txt, src/Make_mvc.mak, src/gui_w32.c,
25692 src/msvcsetup.bat, src/os_win32.c
25693
25694Patch 8.2.4214
25695Problem: Illegal memory access with large 'tabstop' in Ex mode.
25696Solution: Allocate enough memory.
25697Files: src/ex_getln.c, src/testdir/test_ex_mode.vim
25698
25699Patch 8.2.4215
25700Problem: Illegal memory access when copying lines in Visual mode.
25701Solution: Adjust the Visual position after copying lines.
25702Files: src/ex_cmds.c, src/testdir/test_visual.vim
25703
25704Patch 8.2.4216
25705Problem: Vim9: cannot use a function from an autoload import directly.
25706Solution: Add the AUTOLOAD instruction to figure out at runtime.
25707 (closes #9620)
25708Files: src/vim9expr.c, src/vim9.h, src/vim9execute.c, src/vim9instr.c,
25709 src/proto/vim9instr.pro, src/testdir/test_vim9_import.vim,
25710 src/testdir/test_vim9_disassemble.vim
25711
25712Patch 8.2.4217
25713Problem: Illegal memory access when undo makes Visual area invalid.
25714Solution: Correct the Visual area after undo.
25715Files: src/undo.c, src/testdir/test_visual.vim
25716
25717Patch 8.2.4218
25718Problem: Illegal memory access with bracketed paste in Ex mode.
25719Solution: Reserve space for the trailing NUL.
25720Files: src/edit.c, src/testdir/test_paste.vim
25721
25722Patch 8.2.4219
25723Problem: Reading before the start of the line.
25724Solution: Check boundary before trying to read the character.
25725Files: src/register.c, src/testdir/test_visual.vim
25726
25727Patch 8.2.4220
25728Problem: MS-Windows: some old compiler support remains.
25729Solution: Remove obsolete compiler support. (Ken Takata, closes #9627)
25730Files: src/Make_mvc.mak, src/vim.h
25731
25732Patch 8.2.4221
25733Problem: Some functions in normal.c are very long.
25734Solution: Move code to separate functions. (Yegappan Lakshmanan,
25735 closes #9628)
25736Files: src/normal.c
25737
25738Patch 8.2.4222
25739Problem: MS-Windows: clumsy way to suppress progress on CI.
25740Solution: Check for "$CI" in the Makefile itself. (Ken Takata, closes #9631)
25741Files: .github/workflows/ci.yml, ci/appveyor.bat, src/Make_mvc.mak
25742
25743Patch 8.2.4223
25744Problem: Long/int compiler warnings; function arguments swapped.
25745Solution: Add type casts. Swap arguments. (Ken Takata, closes #9632)
25746Files: src/alloc.c, src/eval.c, src/vim9script.c
25747
25748Patch 8.2.4224
25749Problem: Vim9: no error when using a number for map() second argument
25750Solution: Disallow number to string conversion. (closes #9630)
25751Files: src/eval.c, src/evalfunc.c, src/testdir/test_vim9_builtin.vim
25752
25753Patch 8.2.4225
25754Problem: Vim9: depth argument of :lockvar not parsed in :def function.
25755Solution: Parse the optional depth argument. (closes #9629)
25756 Fix that locking doesn't work for a non-materialize list.
25757Files: src/vim9cmds.c, src/evalvars.c, src/structs.h, src/evalfunc.c,
25758 src/errors.h, src/vim9execute.c, src/testdir/test_vim9_cmd.vim,
25759 src/testdir/test_vim9_disassemble.vim
25760
25761Patch 8.2.4226 (after 8.2.4224)
25762Problem: Filter-map test fails.
25763Solution: Only reject number argument in Vim9 script.
25764Files: src/eval.c
25765
25766Patch 8.2.4227
25767Problem: Vim9: using "lockvar!" in :def function does not work.
25768Solution: Add "!" instead of "-1". (closes #9634)
25769Files: src/vim9cmds.c, src/testdir/test_vim9_cmd.vim
25770
25771Patch 8.2.4228
25772Problem: No tests for clicking in the GUI tabline.
25773Solution: Add test functions to generate the events. Add tests using the
25774 functions. (Yegappan Lakshmanan, closes #9638)
25775Files: runtime/doc/builtin.txt, runtime/doc/testing.txt,
25776 runtime/doc/usr_41.txt, src/evalfunc.c, src/normal.c,
25777 src/proto/testing.pro, src/testdir/test_diffmode.vim,
25778 src/testdir/test_gui.vim, src/testdir/test_normal.vim,
25779 src/testing.c
25780
25781Patch 8.2.4229
25782Problem: Possible crash when invoking timer callback fails.
25783Solution: Initialize the typval. Give an error for an empty callback.
25784 (closes #9636)
25785Files: src/time.c, src/testdir/test_vim9_builtin.vim
25786
25787Patch 8.2.4230
25788Problem: MS-Windows: set_guifontwide() is included but won't work.
25789Solution: Include set_guifontwide() only for X11. (Ken Takata, closes #9640)
25790Files: src/gui.c
25791
25792Patch 8.2.4231
25793Problem: Vim9: map() gives type error when type was not declared.
25794Solution: Only check the type when it was declared, like extend() does.
25795 (closes #9635)
25796Files: src/list.c, src/evalfunc.c, src/vim9instr.c,
25797 src/testdir/test_vim9_builtin.vim,
25798 src/testdir/test_vim9_assign.vim
25799
25800Patch 8.2.4232 (after 8.2.4231)
25801Problem: Some compilers don't like a goto label without statement.
25802Solution: Return instead of using a goto.
25803Files: src/list.c
25804
25805Patch 8.2.4233
25806Problem: Crash when recording and using Select mode.
25807Solution: When deleting the last recorded character check there is something
25808 to delete.
25809Files: src/getchar.c, src/testdir/test_registers.vim
25810
25811Patch 8.2.4234
25812Problem: test_garbagecollect_now() does not check v:testing as documented.
25813Solution: Give an error if v:testing is not set.
25814Files: src/testing.c, src/errors.h, src/testdir/test_functions.vim
25815
25816Patch 8.2.4235
25817Problem: Invalid check for NULL pointer.
25818Solution: Remove the check.
25819Files: src/getchar.c
25820
25821Patch 8.2.4236
25822Problem: Accessing freed memory.
25823Solution: Set the bh_curr pointer to NULL.
25824Files: src/getchar.c
25825
25826Patch 8.2.4237
25827Problem: Record buffer wrong if character in Select mode was not typed.
25828Solution: Only delete the tail from the record buffer if the character was
25829 typed. (closes #9650)
25830Files: src/normal.c, src/testdir/test_registers.vim
25831
25832Patch 8.2.4238
25833Problem: *.tf file could be fileytpe "tf" or "terraform".
25834Solution: Detect the type from the file contents. (closes #9642)
25835Files: runtime/filetype.vim, runtime/autoload/dist/ft.vim,
25836 src/testdir/test_filetype.vim
25837
25838Patch 8.2.4239
25839Problem: Build fails with unusual configuration.
25840Solution: Adjust #ifdef. (closes #9651)
25841Files: src/testing.c
25842
25843Patch 8.2.4240
25844Problem: Error for using flatten() in Vim9 script is unclear.
25845Solution: Add a remark to use flattennew().
25846Files: src/errors.h
25847
25848Patch 8.2.4241
25849Problem: Some type casts are redundant.
25850Solution: Remove the type casts. (closes #9643)
25851Files: src/blob.c, src/buffer.c, src/channel.c, src/clientserver.c,
25852 src/clipboard.c, src/drawline.c, src/drawscreen.c, src/edit.c,
25853 src/evalfunc.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_eval.c,
25854 src/fold.c, src/if_cscope.c, src/json.c, src/match.c,
25855 src/memline.c, src/message.c, src/misc1.c, src/normal.c,
25856 src/ops.c, src/option.c, src/optionstr.c, src/os_unix.c,
25857 src/register.c, src/sign.c, src/spellfile.c, src/tag.c, src/ui.c,
25858 src/undo.c, src/window.c
25859
25860Patch 8.2.4242
25861Problem: Put in Visual mode cannot be repeated.
25862Solution: Use "P" to put without yanking the deleted text into the unnamed
25863 register. (Shougo Matsushita, closes #9591)
25864Files: runtime/doc/visual.txt, src/normal.c, src/register.c,
25865 src/testdir/test_visual.vim
25866
25867Patch 8.2.4243
25868Problem: Lua tests fail with Lua 5.4.4.
25869Solution: Check messages like before Lua 5.4.3. (Jakub Kulík, closes #9652)
25870Files: src/testdir/test_lua.vim
25871
25872Patch 8.2.4244
25873Problem: MS-Windows: warning from MSVC on debug build.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000025874Solution: Adjust "/opt" options. Remove unused variables. Make variables
Bram Moolenaarc51cf032022-02-26 12:25:45 +000025875 uppercase for consistency. (Ken Takata, closes #9647)
25876Files: src/Make_mvc.mak
25877
25878Patch 8.2.4245
25879Problem: ":retab 0" may cause illegal memory access.
25880Solution: Limit the value of 'tabstop' to 10000.
25881Files: src/option.c, src/vim.h, src/indent.c,
25882 src/testdir/test_options.vim
25883
25884Patch 8.2.4246
25885Problem: One error message not in errors.h. (Antonio Colombo)
25886Solution: Move the message and rename.
25887Files: src/errors.h, src/if_perl.xs
25888
25889Patch 8.2.4247
25890Problem: Stack corruption when looking for spell suggestions.
25891Solution: Prevent the depth increased too much. Add a five second time
25892 limit to finding suggestions.
25893Files: src/spellsuggest.c, src/testdir/test_spell.vim
25894
25895Patch 8.2.4248
25896Problem: No proper test for moving the window separator.
25897Solution: Add a test. Add comment in code. (closes #9656)
25898Files: src/window.c, src/testdir/test_window_cmd.vim
25899
25900Patch 8.2.4249
25901Problem: The timeout limit for spell suggestions is always 5000 milli
25902 seconds.
25903Solution: Add the "timeout" entry to 'spellsuggest'.
25904Files: runtime/doc/options.txt, src/spellsuggest.c,
25905 src/testdir/test_spell.vim
25906
25907Patch 8.2.4250
25908Problem: Channel out callback test is flaky on Mac.
25909Solution: Assign high priority to the test process. (Ozaki Kiichi,
25910 closes #9653)
25911Files: src/testdir/test_channel_pipe.py, src/testdir/thread_util.py
25912
25913Patch 8.2.4251
25914Problem: Vala files are not recognized.
25915Solution: Add the *.vala pattern. (closes #9654)
25916Files: runtime/filetype.vim, src/testdir/test_filetype.vim
25917
25918Patch 8.2.4252
25919Problem: Generating the normal command table at runtime is inefficient.
25920Solution: Generate the table with a Vim script and put it in a header file.
25921 (Yegappan Lakshmanan, closes #9648)
25922Files: Filelist, runtime/doc/builtin.txt, runtime/doc/usr_41.txt,
25923 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms,
25924 src/Makefile, src/create_nvcmdidxs.vim, src/evalfunc.c,
25925 src/main.c, src/normal.c, src/nv_cmdidxs.h, src/proto/normal.pro
25926
25927Patch 8.2.4253
25928Problem: Using freed memory when substitute uses a recursive function call.
25929Solution: Make a copy of the substitute text.
25930Files: src/ex_cmds.c, src/testdir/test_substitute.vim
25931
25932Patch 8.2.4254
25933Problem: Using short instead of int.
25934Solution: Use int. (closes #9658)
25935Files: src/if_cscope.c
25936
25937Patch 8.2.4255
25938Problem: Theoretical computation overflow.
25939Solution: Perform multiplication in a wider type. (closes #9657)
25940Files: src/alloc.c, src/drawline.c, src/eval.c, src/evalfunc.c,
25941 src/ex_docmd.c, src/hardcopy.c, src/list.c, src/memfile.c,
25942 src/memline.c, src/popupwin.c
25943
25944Patch 8.2.4256
25945Problem: MS-Windows: compiler warnings when compiled with /W4.
25946Solution: Small adjustments to the code. (Ken Takata, closes #9659)
25947Files: src/gui_w32.c, src/os_win32.c
25948
25949Patch 8.2.4257
25950Problem: Vim9: finding global function without g: prefix but not finding
25951 global variable is inconsistent.
25952Solution: Require using g: for a global function. Change the vim9.vim
25953 script into a Vim9 script with exports. Fix that import in legacy
25954 script does not work.
25955Files: src/vim9expr.c, src/evalfunc.c, src/eval.c, src/userfunc.c,
25956 src/testdir/vim9.vim, src/testdir/test_vim9_assign.vim,
25957 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
25958 src/testdir/test_vim9_disassemble.vim,
25959 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
25960 src/testdir/test_vim9_import.vim,
25961 src/testdir/test_vim9_script.vim, src/testdir/test_blob.vim,
25962 src/testdir/test_execute_func.vim, src/testdir/test_debugger.vim,
25963 src/testdir/test_expr.vim, src/testdir/test_filter_map.vim,
25964 src/testdir/test_float_func.vim, src/testdir/test_functions.vim,
25965 src/testdir/test_glob2regpat.vim, src/testdir/test_highlight.vim,
25966 src/testdir/test_iminsert.vim, src/testdir/test_ins_complete.vim,
25967 src/testdir/test_listdict.vim, src/testdir/test_mapping.vim,
25968 src/testdir/test_normal.vim, src/testdir/test_popupwin.vim,
25969 src/testdir/test_profile.vim, src/testdir/test_quickfix.vim,
25970 src/testdir/test_tagfunc.vim, src/testdir/test_textprop.vim,
25971 src/testdir/test_usercommands.vim
25972
25973Patch 8.2.4258
25974Problem: Coverity warns for array overrun.
25975Solution: Restrict depth to MAXWLEN - 1.
25976Files: src/spellsuggest.c
25977
25978Patch 8.2.4259
25979Problem: Number of test functions for GUI events is growing.
25980Solution: Use one function with a dictionary. (Yegappan Lakshmanan,
25981 closes #9660)
25982Files: runtime/doc/builtin.txt, runtime/doc/testing.txt,
25983 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/testing.pro,
25984 src/testdir/test_gui.vim, src/testdir/test_vim9_builtin.vim,
25985 src/testing.c
25986
25987Patch 8.2.4260
25988Problem: Vim9: can still use a global function without g: at the script
25989 level.
25990Solution: Also check for g: at the script level. (issue #9637)
25991Files: src/userfunc.c, src/proto/userfunc.pro, src/evalvars.c,
25992 src/vim9expr.c, src/testdir/test_vim9_assign.vim,
25993 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
25994 src/testdir/test_vim9_disassemble.vim,
25995 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
25996 src/testdir/test_vim9_import.vim,
25997 src/testdir/test_ins_complete.vim, src/testdir/test_popupwin.vim,
25998 src/testdir/dumps/Test_popupwin_scroll_11.dump,
25999 src/testdir/dumps/Test_popupwin_scroll_12.dump
26000
26001Patch 8.2.4261
26002Problem: Accessing invalid memory when a regular expression checks the
26003 Visual area while matching in a string.
26004Solution: Do not try matching the Visual area in a string.
26005Files: src/regexp.c, src/testdir/test_help.vim
26006
26007Patch 8.2.4262 (after 8.2.4261)
26008Problem: Some search tests fail.
26009Solution: Use a better way to reject searching for the Visual area.
26010Files: src/regexp.c
26011
26012Patch 8.2.4263
26013Problem: No test for the GUI find/replace dialog.
26014Solution: Add a test function and a test. (Yegappan Lakshmanan,
26015 closes #9662)
26016Files: runtime/doc/testing.txt, src/testdir/test_gui.vim, src/testing.c
26017
26018Patch 8.2.4264
26019Problem: Vim9: can use old style autoload function name.
26020Solution: Give an error for old style autoload function name.
26021Files: src/errors.h, src/userfunc.c, src/testdir/test_vim9_import.vim,
26022 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim
26023
26024Patch 8.2.4265 (after 8.2.4264)
26025Problem: Autoload tests fails.
26026Solution: Use export instead of name with #.
26027Files: src/testdir/sautest/autoload/auto9.vim,
Bram Moolenaar47c532e2022-03-19 15:18:53 +000026028 src/testdir/test_autoload.vim, src/testdir/test_ins_complete.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +000026029
26030Patch 8.2.4266
26031Problem: Compiler warning for uninitialized variable.
26032Solution: Initialize saved_did_emsg.
26033Files: src/userfunc.c
26034
26035Patch 8.2.4267
26036Problem: Unused entry in keymap enum.
26037Solution: Remove the entry.
26038Files: src/keymap.h
26039
26040Patch 8.2.4268
26041Problem: CI log output is long.
26042Solution: Group output in sections. (Ozaki Kiichi, closes #9670)
26043Files: .github/workflows/ci.yml
26044
26045Patch 8.2.4269
26046Problem: Coverity warns for using a NULL pointer.
26047Solution: Check for "name" to not be NULL.
26048Files: src/userfunc.c
26049
26050Patch 8.2.4270
26051Problem: Generating nv_cmdidxs.h requires building Vim twice.
26052Solution: Move the table into a separate file and use a separate executable
26053 to extract the command characters. (Ozaki Kiichi, closes #9669)
26054Files: src/normal.c, src/nv_cmds.h, Filelist, runtime/doc/builtin.txt,
26055 runtime/doc/usr_41.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak,
26056 src/Make_vms.mms, src/Makefile, src/create_nvcmdidxs.c,
26057 src/create_nvcmdidxs.vim, src/evalfunc.c, src/proto/normal.pro
26058
26059Patch 8.2.4271
26060Problem: MS-Windows: cannot build with Ruby 3.1.0.
26061Solution: Adjust the DLL name and include directory. (Ken Takata,
26062 closes #9666)
26063Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
26064
26065Patch 8.2.4272
26066Problem: Vim9 expr test fails without the channel feature. (Dominique
26067 Pellé)
26068Solution: Remove "g:" before "CheckFeature". (closes #9671)
26069Files: src/testdir/test_vim9_expr.vim
26070
26071Patch 8.2.4273
26072Problem: The EBCDIC support is outdated.
26073Solution: Remove the EBCDIC support.
26074Files: src/ascii.h, src/charset.c, src/cindent.c, src/digraph.c,
26075 src/edit.c, src/eval.c, src/evalfunc.c, src/ex_cmds.c,
26076 src/feature.h, src/filepath.c, src/findfile.c, src/getchar.c,
26077 src/gui.c, src/gui_motif.c, src/hardcopy.c, src/help.c,
26078 src/macros.h, src/map.c, src/mark.c, src/misc2.c, src/normal.c,
26079 src/ops.c, src/option.c, src/option.h, src/optiondefs.h,
26080 src/os_unix.c, src/proto/evalfunc.pro, src/regexp.c,
26081 src/regexp_bt.c, src/regexp_nfa.c, src/register.c, src/screen.c,
26082 src/spell.c, src/strings.c, src/structs.h, src/term.c,
26083 src/version.c, src/viminfo.c, src/testdir/test_edit.vim,
26084 src/testdir/test_exec_while_if.vim, src/testdir/test_expr.vim,
26085 src/testdir/test_gf.vim, src/testdir/test_regexp_utf8.vim
26086
26087Patch 8.2.4274
26088Problem: Basic and form filetype detection is incomplete.
26089Solution: Add a separate function for .frm files. (Doug Kearns, closes #9675)
26090Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
26091 src/testdir/test_filetype.vim
26092
26093Patch 8.2.4275
26094Problem: Cannot use an autoload function from a package under start.
26095Solution: Also look in the "start" package directory. (Bjorn Linse,
26096 closes #7193)
26097Files: src/scriptfile.c, src/testdir/test_packadd.vim
26098
26099Patch 8.2.4276
26100Problem: Separate test function for the GUI scrollbar.
26101Solution: Use test_gui_event(). (Yegappan Lakshmanan, closes #9674)
26102Files: runtime/doc/builtin.txt, runtime/doc/testing.txt,
26103 runtime/doc/usr_41.txt, src/evalfunc.c, src/testing.c,
26104 src/proto/testing.pro, src/testdir/test_gui.vim,
26105 src/testdir/test_vim9_builtin.vim
26106
26107Patch 8.2.4277
26108Problem: Vim9: an import does not shadow a command modifier.
26109Solution: Do not accept a command modifier followed by a dot.
26110Files: src/ex_docmd.c, src/testdir/test_vim9_import.vim
26111
26112Patch 8.2.4278
26113Problem: Build with Athena GUI fails. (Elimar Riesebieter)
26114Solution: Add #ifdef.
26115Files: src/testing.c
26116
26117Patch 8.2.4279
26118Problem: Vim9: cannot change item type with map() after range().
26119Solution: Split the return type in current type and declared type.
26120 (closes #9665)
26121Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9instr.c,
26122 src/vim9type.c, src/proto/vim9type.pro,
26123 src/testdir/test_vim9_builtin.vim
26124
26125Patch 8.2.4280 (after 8.2.4279)
26126Problem: list-dict test crashes.
26127Solution: Check declared type for add().
26128Files: src/vim9expr.vim
26129
26130Patch 8.2.4281
26131Problem: Using freed memory with :lopen and :bwipe.
26132Solution: Do not use a wiped out buffer.
26133Files: src/buffer.c, src/testdir/test_quickfix.vim
26134
26135Patch 8.2.4282
26136Problem: Restricted mode requires the -Z command line option.
26137Solution: Use restricted mode when $SHELL ends in "nologin" or "false".
26138 (closes #9681)
26139Files: runtime/doc/starting.txt, src/option.c,
26140 src/testdir/test_restricted.vim
26141
26142Patch 8.2.4283
26143Problem: Using a variable for the return value is not needed.
26144Solution: Return the value directly. (closes #9687)
26145Files: src/ex_docmd.c, src/misc2.c
26146
26147Patch 8.2.4284
26148Problem: Old mac resources files are no longer used.
26149Solution: Delete the unused files. (Ozaki Kiichi, closes #9688)
26150Files: Filelist, src/Makefile, src/dehqx.py, src/infplist.xml,
26151 src/os_mac.rsr.hqx, src/os_mac_rsrc/app.icns,
26152 src/os_mac_rsrc/doc-txt.icns, src/os_mac_rsrc/doc.icns
26153
26154Patch 8.2.4285
26155Problem: Vim9: type of item in for loop not checked properly.
26156Solution: Adjust the type checking. (closes #9683)
26157Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9cmds.c,
26158 src/testdir/test_vim9_script.vim
26159
26160Patch 8.2.4286
26161Problem: Vim9: strict type checking after copy() and deepcopy().
26162Solution: Allow type to change after making a copy. (closes #9644)
26163Files: src/eval.c, src/proto/eval.pro, src/dict.c, src/proto/dict.pro,
26164 src/list.c, src/proto/list.pro, src/evalfunc.c, src/vim9execute.c,
26165 src/vim9type.c, src/proto/vim9type.pro, src/evalvars.c,
26166 src/testdir/test_vim9_builtin.vim,
26167 src/testdir/test_vim9_assign.vim
26168
26169Patch 8.2.4287
26170Problem: Cannot assign empty list with any list type to variable with
26171 specific list type.
26172Solution: Use unknown list type for empty list if the specified type is any.
26173Files: src/vim9type.c, src/testdir/test_vim9_assign.vim,
26174 src/testdir/test_vim9_func.vim
26175
26176Patch 8.2.4288
26177Problem: Preprocessor indents are inconsistent.
26178Solution: Fix preprocessor indents. (Ken Takata, closes #9691)
26179Files: src/arglist.c, src/change.c, src/ex_cmds.c, src/gui.c,
26180 src/hashtab.c, src/indent.c, src/ops.c, src/os_win32.c
26181
26182Patch 8.2.4289
26183Problem: Warnings reported by MSVC.
26184Solution: Rename variables and other fixes. (Ken Takata, closes #9689)
26185Files: src/cmdexpand.c, src/drawscreen.c, src/filepath.c, src/getchar.c,
26186 src/menu.c, src/os_win32.c, src/version.c
26187
26188Patch 8.2.4290
26189Problem: MS-Windows: using type casts for timer IDs.
26190Solution: Remove type casts and use the right type. (Ken Takata,
26191 closes #9690) Remove old debug comments. Rename variables and
26192 functions.
26193Files: src/gui_w32.c
26194
26195Patch 8.2.4291
26196Problem: Error number used twice.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000026197Solution: Renumber the errors.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000026198Files: src/errors.h
26199
26200Patch 8.2.4292 (after 8.2.4291)
26201Problem: Test fails.
26202Solution: Adjust the expected error number.
26203Files: src/testdir/test_vim9_cmd.vim
26204
26205Patch 8.2.4293
26206Problem: Vim9: when copying a list it gets type list<any> even when the
26207 original list did not have a type.
26208Solution: Only set the type when the original list has a type. (closes #9692)
26209Files: src/list.c, src/testdir/test_vim9_expr.vim
26210
26211Patch 8.2.4294
26212Problem: MS-Windows: #ifdefs for Cygwin are too complicated.
26213Solution: Simplify the conditions. (Ken Takata, closes #9693)
26214Files: src/evalfunc.c, src/main.c, src/os_unix.c, src/os_win32.c,
26215 src/os_win32.h
26216
26217Patch 8.2.4295
26218Problem: Vim9: concatenating two lists may result in wrong type.
26219Solution: Remove the type instead of using list<any>. (closes #9692)
26220Files: src/list.c, src/testdir/test_vim9_expr.vim
26221
26222Patch 8.2.4296
26223Problem: Vim9: not all code covered by tests.
26224Solution: Add a few more tests for corner cases. Fix hang when single quote
26225 is missing.
26226Files: src/vim9expr.c, src/testdir/test_vim9_assign.vim,
26227 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_expr.vim
26228
26229Patch 8.2.4297
26230Problem: Vim9: not all code covered by tests.
26231Solution: Add a couple more tests.
26232Files: src/testdir/test_vim9_script.vim,
26233 src/testdir/test_vim9_disassemble.vim
26234
26235Patch 8.2.4298
26236Problem: Divide by zero with huge tabstop value.
26237Solution: Reject tabstop value that overflows to zero.
26238Files: src/indent.c, src/testdir/test_vartabs.vim
26239
26240Patch 8.2.4299
26241Problem: SafeState autocommand interferes with debugging.
26242Solution: Do not trigger SafeState while debugging. (closes #9697)
26243Files: src/main.c
26244
26245Patch 8.2.4300 (after 8.2.4299)
26246Problem: Cannot build tiny version. (Tony Mechelynck)
26247Solution: Add #ifdef.
26248Files: src/main.c
26249
26250Patch 8.2.4301
26251Problem: Vim9: type error for copy of dict.
26252Solution: Do not use dict<any> but no type. (closes #9696)
26253Files: src/dict.c, src/testdir/test_vim9_builtin.vim
26254
26255Patch 8.2.4302
26256Problem: Vim9: return type of getline() is too strict.
26257Solution: Make the declared type list<any>. Also do this for other
26258 functions returning a list of a specific type.
26259Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
26260
26261Patch 8.2.4303
26262Problem: A few messages should not be translated.
26263Solution: Remove _(). (Dominique Pellé, closes #9702)
26264Files: src/syntax.c
26265
26266Patch 8.2.4304
26267Problem: Vim9: slice() makes a copy but doesn't change the type.
26268Solution: Change the declared type like copy(). (closes #9696)
26269Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
26270
26271Patch 8.2.4305
26272Problem: Tex filetype detection fails.
26273Solution: Check value to be positive. (closes #9704)
26274Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim
26275
26276Patch 8.2.4306
26277Problem: No test for fixed perl filetype check.
26278Solution: Add a test. Sort test functions.
26279Files: src/testdir/test_filetype.vim
26280
26281Patch 8.2.4307
26282Problem: A few more messages should not be translated.
26283Solution: Remove _().
26284Files: src/syntax.c
26285
26286Patch 8.2.4308
26287Problem: Vim9: cannot list autoload function.
26288Solution: Don't give an error for using # when listing a function.
26289 (closes #9703)
26290Files: src/userfunc.c, src/testdir/test_vim9_import.vim
26291
26292Patch 8.2.4309
26293Problem: Vim9: crash when using a partial in the wrong context.
26294Solution: Don't use an NULL outer pointer. (closes #9706)
26295Files: src/vim9execute.c, src/testdir/test_vim9_func.vim
26296
26297Patch 8.2.4310
26298Problem: Vim9: constant list and dict get a declaration type other than
26299 "any".
26300Solution: A constant list and dict have a declared member type "any".
26301 (closes #9701)
26302Files: src/vim9instr.c, src/vim9type.c, src/proto/vim9type.pro,
26303 src/testdir/test_vim9_builtin.vim
26304
26305Patch 8.2.4311
26306Problem: Vim9: changing script variable type not caught at compile time.
26307Solution: Set the declared type.
26308Files: src/vim9instr.c, src/testdir/test_vim9_assign.vim
26309
26310Patch 8.2.4312
26311Problem: No error for using :vim9script in a :def function.
26312Solution: Give an error when compiling.
26313Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
26314
26315Patch 8.2.4313
26316Problem: Vim9: cannot change type of list after making a slice.
26317Solution: Adjust the declared member type. (closes #9696)
26318Files: src/vim9expr.c, src/testdir/test_vim9_builtin.vim
26319
26320Patch 8.2.4314 (after 8.2.4312)
26321Problem: Test fails where lines are skipped.
26322Solution: Only give an error when not skipping commands.
26323Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
26324
26325Patch 8.2.4315
26326Problem: Put in Visual mode not fully tested.
26327Solution: Add a few more test cases. (closes #9708)
26328Files: src/testdir/test_visual.vim
26329
26330Patch 8.2.4316
26331Problem: __CYGWIN32__ is not defined on 64 bit systems.
26332Solution: Update #ifdefs. (Ken Takata, closes #9709)
26333Files: src/main.c, src/os_unix.c, src/pty.c, src/vim.h
26334
26335Patch 8.2.4317
26336Problem: MS-Windows: Vim exits when Python 3 initialisation fails.
26337Solution: Hook into the exit() function to recover from the failure.
26338 (Ken Takata, closes #9710)
26339Files: runtime/doc/if_pyth.txt, src/if_python3.c, src/os_win32.c,
26340 src/errors.h, src/proto/os_win32.pro
26341
26342Patch 8.2.4318
26343Problem: Various comment and indent mistakes, returning wrong zero.
26344Solution: Fix the mistakes. Return NULL instead of FAIL.
26345Files: src/clientserver.c, src/eval.c, src/evalvars.c, src/vim9cmds.c,
26346 src/window.c
26347
26348Patch 8.2.4319
26349Problem: :put does not work properly in compiled function. (John Beckett)
26350Solution: Adjust the direction when using line zero.
26351Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim
26352
26353Patch 8.2.4320
26354Problem: Athena and Motif: when maximized scrollbar position is wrong.
26355Solution: Implement the scrollbar padding functions. (closes #9712)
26356Files: src/gui_athena.c, src/gui_motif.c
26357
26358Patch 8.2.4321
26359Problem: Vim9: crash when using a funcref to a closure.
26360Solution: Copy pt_outer to the new partial. (closes #9714)
26361Files: src/evalfunc.c, src/testdir/test_vim9_func.vim
26362
26363Patch 8.2.4322
26364Problem: Vim9: crash when using funcref with closure.
26365Solution: Keep a reference to the funcref that has the outer context.
26366 (closes #9716)
26367Files: src/evalfunc.c, src/structs.h, src/eval.c, src/vim9execute.c,
26368 src/testdir/test_vim9_func.vim
26369
26370Patch 8.2.4323
26371Problem: Vim9: nested function name can start with "_".
26372Solution: Use same rule for function name for nested functions.
26373 (closes #9713)
26374Files: src/vim9compile.c, src/testdir/test_vim9_func.vim
26375
26376Patch 8.2.4324
26377Problem: Vim9: script-local function name can start with "_".
26378Solution: Check for leading capital after "s:". Correct error message.
26379Files: src/userfunc.c, src/errors.h, src/vim9compile.c,
26380 src/testdir/test_vim9_func.vim
26381
26382Patch 8.2.4325
26383Problem: 'wildmenu' only shows few matches.
26384Solution: Add the "pum" option: use a popup menu to show the matches.
26385 (Yegappan Lakshmanan et al., closes #9707)
26386Files: runtime/doc/options.txt, src/vim.h, src/cmdexpand.c,
26387 src/drawscreen.c, src/evalfunc.c, src/ex_getln.c, src/option.h,
26388 src/optionstr.c, src/popupmenu.c, src/proto/cmdexpand.pro,
26389 src/testdir/test_cmdline.vim,
26390 src/testdir/dumps/Test_wildmenu_pum_01.dump,
26391 src/testdir/dumps/Test_wildmenu_pum_02.dump,
26392 src/testdir/dumps/Test_wildmenu_pum_03.dump,
26393 src/testdir/dumps/Test_wildmenu_pum_04.dump,
26394 src/testdir/dumps/Test_wildmenu_pum_05.dump,
26395 src/testdir/dumps/Test_wildmenu_pum_06.dump,
26396 src/testdir/dumps/Test_wildmenu_pum_07.dump,
26397 src/testdir/dumps/Test_wildmenu_pum_08.dump,
26398 src/testdir/dumps/Test_wildmenu_pum_09.dump,
26399 src/testdir/dumps/Test_wildmenu_pum_10.dump,
26400 src/testdir/dumps/Test_wildmenu_pum_11.dump,
26401 src/testdir/dumps/Test_wildmenu_pum_12.dump,
26402 src/testdir/dumps/Test_wildmenu_pum_13.dump,
26403 src/testdir/dumps/Test_wildmenu_pum_14.dump,
26404 src/testdir/dumps/Test_wildmenu_pum_15.dump,
26405 src/testdir/dumps/Test_wildmenu_pum_16.dump,
26406 src/testdir/dumps/Test_wildmenu_pum_17.dump,
26407 src/testdir/dumps/Test_wildmenu_pum_18.dump,
26408 src/testdir/dumps/Test_wildmenu_pum_19.dump,
26409 src/testdir/dumps/Test_wildmenu_pum_20.dump,
26410 src/testdir/dumps/Test_wildmenu_pum_21.dump,
26411 src/testdir/dumps/Test_wildmenu_pum_22.dump,
26412 src/testdir/dumps/Test_wildmenu_pum_23.dump,
26413 src/testdir/dumps/Test_wildmenu_pum_24.dump,
26414 src/testdir/dumps/Test_wildmenu_pum_25.dump,
26415 src/testdir/dumps/Test_wildmenu_pum_26.dump,
26416 src/testdir/dumps/Test_wildmenu_pum_27.dump,
26417 src/testdir/dumps/Test_wildmenu_pum_28.dump,
26418 src/testdir/dumps/Test_wildmenu_pum_29.dump
26419
26420Patch 8.2.4326
26421Problem: "o" and "O" copying comment not sufficiently tested.
26422Solution: Add a test case. (closes #9718)
26423Files: src/testdir/test_textformat.vim
26424
26425Patch 8.2.4327
26426Problem: May end up with no current buffer.
26427Solution: When deleting the current buffer to not pick a quickfix buffer as
26428 the new current buffer.
26429Files: src/buffer.c, src/testdir/test_quickfix.vim
26430
26431Patch 8.2.4328
Bram Moolenaar1588bc82022-03-08 21:35:07 +000026432Problem: Command line complete matches cleared when typing character.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000026433 (Dominique Pellé)
26434Solution: Only remove a popup menu if there is one.
26435Files: src/ex_getln.c, src/testdir/test_cmdline.vim,
26436 src/testdir/dumps/Test_wildmenu_pum_30.dump,
26437 src/testdir/dumps/Test_wildmenu_pum_31.dump
26438
26439Patch 8.2.4329
26440Problem: No support for end line number and column in 'errorformat'.
26441Solution: Add %e and %k. (closes #9624)
26442Files: runtime/doc/quickfix.txt, src/quickfix.c,
26443 src/testdir/test_quickfix.vim
26444
26445Patch 8.2.4330
26446Problem: Vim9: no error if script imports itself.
26447Solution: Give an error when a script imports itself.
26448Files: src/vim9script.c, src/errors.h, src/testdir/test_vim9_import.vim
26449
26450Patch 8.2.4331
26451Problem: Vim9: no test for existing script variable in block.
26452Solution: Add a test.
26453Files: src/testdir/test_vim9_func.vim
26454
26455Patch 8.2.4332
26456Problem: Vim9: incomplete test for existing script variable in block.
26457Solution: Add a couple more tests. Fix uncovered problem.
26458Files: src/userfunc.c, src/vim9compile.c, src/proto/vim9compile.pro,
26459 src/vim9script.c, src/vim9expr.c, src/testdir/test_vim9_func.vim
26460
26461Patch 8.2.4333
26462Problem: cstack not always passed to where it is needed.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000026463Solution: Pass cstack through functions.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000026464Files: src/eval.c, src/vim9expr.c, src/vim9script.c,
26465 src/proto/vim9script.pro, src/vim9compile.c,
26466 src/proto/vim9compile.pro
26467
26468Patch 8.2.4334
26469Problem: Command line popup menu not positioned correctly.
26470Solution: Also use vim_strsize() on the existing text. (Naruhiko Nishino,
26471 closes #9727)
26472Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
26473 src/testdir/dumps/Test_wildmenu_pum_32.dump
26474
26475Patch 8.2.4335
26476Problem: No autocommand event triggered before changing directory. (Ronnie
26477 Magatti)
26478Solution: Add DirChangedPre. (closes #9721)
26479Files: runtime/doc/autocmd.txt, src/ex_docmd.c, src/proto/ex_docmd.pro,
26480 src/vim.h, src/autocmd.c, src/misc2.c,
26481 src/testdir/test_autocmd.vim
26482
26483Patch 8.2.4336
26484Problem: Using :filter for :scriptnames does not work. (Ben Jackson)
26485Solution: Call message_filtered(). (closes #9720)
26486Files: src/scriptfile.c, src/testdir/test_filter_cmd.vim
26487
26488Patch 8.2.4337
26489Problem: Part of condition is always true.
26490Solution: Remove that part of the condition. (closes #9729)
26491Files: src/filepath.c
26492
26493Patch 8.2.4338
26494Problem: An error from an expression mapping messes up the display.
26495Solution: When the expression results in an empty string return K_IGNORE.
26496 In cmdline mode redraw the command line. (closes #9726)
26497Files: src/getchar.c, src/testdir/test_mapping.vim,
26498 src/testdir/dumps/Test_map_expr_2.dump,
26499 src/testdir/dumps/Test_map_expr_3.dump,
26500 src/testdir/dumps/Test_map_expr_4.dump
26501
26502Patch 8.2.4339
26503Problem: CTRL-A does not work properly with the cmdline popup menu.
26504Solution: Fix issues with CTRL-A. Add more tests for the cmdline popup
26505 menu. Remove TermWait() before VeriryScreenDump(). Refactor the
26506 cmdline popup code. (Yegappan Lakshmanan, closes #9735)
26507Files: src/cmdexpand.c, src/ex_getln.c, src/popupmenu.c,
26508 src/testdir/screendump.vim, src/testdir/test_bufline.vim,
26509 src/testdir/test_cmdline.vim, src/testdir/test_conceal.vim,
26510 src/testdir/test_cursorline.vim, src/testdir/test_diffmode.vim,
26511 src/testdir/test_display.vim, src/testdir/test_highlight.vim,
26512 src/testdir/test_match.vim, src/testdir/test_popup.vim,
26513 src/testdir/test_search_stat.vim, src/testdir/test_terminal.vim,
26514 src/testdir/test_textprop.vim,
26515 src/testdir/dumps/Test_wildmenu_pum_33.dump,
26516 src/testdir/dumps/Test_wildmenu_pum_34.dump,
26517 src/testdir/dumps/Test_wildmenu_pum_35.dump,
26518 src/testdir/dumps/Test_wildmenu_pum_36.dump,
26519 src/testdir/dumps/Test_wildmenu_pum_37.dump
26520
26521Patch 8.2.4340
26522Problem: Amiga: mch_can_exe() is not implemented.
26523Solution: Implement mch_can_exe() for Amiga OS 4. (Ola Söder, closes #9731)
26524Files: src/os_amiga.c
26525
26526Patch 8.2.4341
26527Problem: Command line not redrawn when finishing popup menu and the screen
26528 has scrolled up.
26529Solution: Redraw the command line after updating the screen. (closes #9722)
26530Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
26531 src/testdir/dumps/Test_wildmenu_pum_38.dump
26532
26533Patch 8.2.4342
26534Problem: CI will soon switch to other windows version.
26535Solution: Use "windows-2019" instead of "windows-latest". (Ozaki Kiichi,
26536 closes #9740)
26537Files: .github/workflows/ci.yml
26538
26539Patch 8.2.4343
26540Problem: When reloading not all properties are detected.
26541Solution: Add the "edit" value to v:fcs_choice. (Rob Pilling, closes #9579)
26542Files: runtime/doc/editing.txt, runtime/doc/eval.txt, src/fileio.c,
26543 src/proto/fileio.pro, src/message.c, src/spellfile.c,
26544 src/testdir/test_filechanged.vim
26545
26546Patch 8.2.4344
26547Problem: Amiga: header file included twice.
26548Solution: Remove #include. (Ola Söder, closes #9733)
26549Files: src/memfile.c
26550
26551Patch 8.2.4345
26552Problem: <amatch> is expanded like a file name for DirChangedPre.
26553Solution: Do not expand <amatch>. (closes #9742) Also for the User event.
26554Files: src/autocmd.c, src/testdir/test_autocmd.vim
26555
26556Patch 8.2.4346
26557Problem: A custom statusline may cause Esc to work like Enter on the
26558 command line when the popup menu is displayed.
26559Solution: Save and restore KeyTyped. (closes #9749)
26560Files: src/drawscreen.c, src/testdir/test_cmdline.vim,
26561 src/testdir/dumps/Test_wildmenu_pum_39.dump
26562
26563Patch 8.2.4347
26564Problem: In some build setups UNUSED is not defined.
26565Solution: Change the logic of how UNUSED is defined. (Ola Söder,
26566 closes #9734)
26567Files: src/vim.h
26568
26569Patch 8.2.4348
26570Problem: "legacy exe cmd" does not do what one would expect.
26571Solution: Apply the "legacy" and "vim9script" command modifiers to the
26572 argument of ":execute".
26573Files: runtime/doc/vim9.txt, src/globals.h, src/eval.c, src/ex_docmd.c,
26574 src/testdir/test_vim9_cmd.vim
26575
26576Patch 8.2.4349
26577Problem: FileChangedShell test fails on MS-Windows.
26578Solution: Skip the test on MS-Windows.
26579Files: src/testdir/test_filechanged.vim
26580
26581Patch 8.2.4350
26582Problem: FEAT_GUI_ENABLED defined but never used.
26583Solution: Remove the #define. (Ola Söder, closes #9732)
26584Files: src/vim.h
26585
26586Patch 8.2.4351
26587Problem: No coverage is measured on MS-Windows CI.
26588Solution: Enable coverage on MS-Windows. (Ozaki Kiichi, closes #9750)
26589Files: .github/workflows/ci.yml
26590
26591Patch 8.2.4352
26592Problem: ReScript files are not recognized.
26593Solution: Add the *.res and *.resi patterns. (Ananda Umamil, closes #9752)
26594Files: runtime/filetype.vim, src/testdir/test_filetype.vim
26595
26596Patch 8.2.4353
26597Problem: CI does not use the latest Lua and Python.
26598Solution: Use Lua 5.4.2 and Python 3.10. (closes #9744)
26599Files: .github/workflows/ci.yml
26600
26601Patch 8.2.4354
26602Problem: Dynamic loading of libsodium not handled properly.
26603Solution: Fix has() and :version. Show an error message when loading fails.
26604 Fix memory leaks. (Ken Takata, closes #9754)
26605Files: src/crypt.c, src/evalfunc.c, src/gui_dwrite.cpp, src/if_cscope.c,
26606 src/os_win32.c, src/proto/crypt.pro, src/proto/os_win32.pro,
26607 src/version.c
26608
26609Patch 8.2.4355
26610Problem: Unnecessary call to check_colorcolumn().
26611Solution: Remove the call. (Sean Dewar, closes #9748)
26612Files: src/option.c, src/window.c
26613
26614Patch 8.2.4356
26615Problem: Command line completion functions are very long.
26616Solution: Refactor into multiple functions. (Yegappan Lakshmanan,
26617 closes #9753)
26618Files: src/cmdexpand.c
26619
26620Patch 8.2.4357 (after 8.2.4348)
26621Problem: sticky command modifiers are too sticky.
26622Solution: Do not apply command modifiers to a sourced script. (closes #9751)
26623Files: src/scriptfile.c, src/testdir/test_vim9_cmd.vim
26624
26625Patch 8.2.4358
26626Problem: Vim9: line number of exception is not set.
26627Solution: Set the line number before throwing an exception. (closes #9755)
26628Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
26629
26630Patch 8.2.4359
26631Problem: crash when repeatedly using :retab.
26632Solution: Bail out when the line is getting too long.
26633Files: src/indent.c, src/testdir/test_retab.vim
26634
26635Patch 8.2.4360
26636Problem: Vim9: allowing use of "s:" leads to inconsistencies.
26637Solution: Disallow using "s:" in Vim9 script at the script level.
26638Files: src/userfunc.c, src/proto/userfunc.pro, src/errors.h,
26639 src/vim9compile.c, src/eval.c, src/testdir/vim9.vim,
26640 src/testdir/test_vim9_assign.vim,
26641 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_cmd.vim,
26642 src/testdir/test_vim9_disassemble.vim,
26643 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim,
26644 src/testdir/test_vim9_import.vim, src/testdir/test_vim9_script.vim
26645
26646Patch 8.2.4361 (after 8.2.4360)
26647Problem: Vim9: some tests fail.
26648Solution: Fix the tests, mostly by removing "s:".
26649Files: src/testdir/test_expr.vim, src/testdir/test_functions.vim,
26650 src/testdir/test_ins_complete.vim, src/testdir/test_normal.vim,
26651 src/testdir/test_tagfunc.vim
26652
26653Patch 8.2.4362
26654Problem: :retab may allocate too much memory.
26655Solution: Bail out when allocating more than MAXCOL bytes.
26656Files: src/indent.c
26657
26658Patch 8.2.4363
26659Problem: MS-Windows: running out of memory for a very long line.
26660Solution: Use a 32 bit value for MAXCOL also when ints are 64 bits.
26661Files: src/vim.h
26662
26663Patch 8.2.4364
26664Problem: MS-Windows: still running out of memory for a very long line.
26665Solution: Check for negative length.
26666Files: src/indent.c
26667
26668Patch 8.2.4365 (after 8.2.4348)
26669Problem: sticky command modifiers are too sticky.
26670Solution: Do not apply command modifiers to a called function. (closes #9751)
26671Files: src/userfunc.c, src/testdir/test_vim9_cmd.vim
26672
26673Patch 8.2.4366
26674Problem: Not enough tests for command line completion.
26675Solution: Add a few more tests. (Yegappan Lakshmanan, closes #9760)
26676Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
26677 src/testdir/test_usercommands.vim
26678
26679Patch 8.2.4367
26680Problem: Calling in_vim9script() multiple times.
26681Solution: Call it once and keep the result.
26682Files: src/userfunc.c, src/eval.c
26683
26684Patch 8.2.4368
26685Problem: Amiga: a few compiler warnings.
26686Solution: Adjust #ifdefs. Add "UNUSED". (Ola Söder, closes #9756,
26687 closes #9757)
26688Files: src/term.c, src/os_amiga.c
26689
26690Patch 8.2.4369
26691Problem: Redundant #ifdef argument.
26692Solution: Remove unused MSWIN. (Ola Söder, closes #9758)
26693Files: src/feature.h
26694
26695Patch 8.2.4370
26696Problem: MS-Windows: libsodium.dll not included with the installer.
26697Solution: Add the file to the installer if it exists. (Christian Brabandt,
26698 closes #9762)
26699Files: nsis/gvim.nsi
26700
26701Patch 8.2.4371
26702Problem: Vim9: can create a script variable from a legacy function.
26703Solution: Disallow creating a script variable from a function.
26704Files: src/evalvars.c, src/errors.h, src/testdir/test_vim9_script.vim
26705
26706Patch 8.2.4372
26707Problem: Filetype detection from file contents is in legacy script.
26708Solution: Use a compiled function for filetype detection.
26709Files: runtime/scripts.vim, runtime/autoload/dist/script.vim
26710
26711Patch 8.2.4373
26712Problem: Expression test fails.
26713Solution: Make the test work with latest Vim9 syntax.
26714Files: src/testdir/test_expr.vim
26715
26716Patch 8.2.4374
26717Problem: Unreachable code.
26718Solution: Remove outdated code lines.
26719Files: src/vim9compile.c
26720
26721Patch 8.2.4375
26722Problem: ctx_imports is not used.
26723Solution: Delete ctx_imports. Add missing dependency.
26724Files: src/vim9.h, src/vim9compile.c, src/proto/vim9compile.pro,
26725 src/eval.c, src/evalfunc.c, src/evalvars.c, src/userfunc.c,
26726 src/vim9expr.c, src/vim9script.c, src/Makefile
26727
26728Patch 8.2.4376
26729Problem: Not enough tests for command line completion.
26730Solution: Add a few more tests. (Yegappan Lakshmanan, closes #9771)
26731Files: src/testdir/test_cmdline.vim, src/testdir/test_usercommands.vim
26732
26733Patch 8.2.4377
26734Problem: CI steps for Windows are a bit unorganized.
26735Solution: Organize CI test steps on Windows. (Ozaki Kiichi, closes #9764)
26736Files: .github/workflows/ci.yml
26737
26738Patch 8.2.4378
26739Problem: Incsearch highlight broken when calling searchcount() in 'tabLine'
26740 function. (Mirko Palmer)
26741Solution: Save and restore the incsearch state. (Christian Brabandt,
26742 closes #9763, closes #9633)
26743Files: src/search.c, src/testdir/test_search_stat.vim,
26744 src/testdir/dumps/Test_searchstat_inc_1.dump,
26745 src/testdir/dumps/Test_searchstat_inc_2.dump,
26746 src/testdir/dumps/Test_searchstat_inc_3.dump
26747
26748Patch 8.2.4379
26749Problem: An empty change is reported to a listener.
26750Solution: Do not report an empty change. (closes #9768) Remove unused
26751 return value.
26752Files: src/undo.c, src/change.c, src/testdir/test_listener.vim
26753
26754Patch 8.2.4380
26755Problem: Small differences between Chinese translation files.
26756Solution: Add rule for converting UTF-8 to gb2312. (closes #9773)
26757Files: src/po/Makefile, src/po/Make_all.mak
26758
26759Patch 8.2.4381 (after 8.2.4380)
26760Problem: Translation file listed twice.
26761Solution: Remove one entry.
26762Files: src/po/Make_all.mak
26763
26764Patch 8.2.4382 (after 8.2.4346)
26765Problem: A custom 'tabline' may cause Esc to work like Enter on the
26766 command line when the popup menu is displayed.
26767Solution: Save and restore KeyTyped. (closes #9776)
26768Files: src/drawscreen.c, src/screen.c, src/testdir/test_cmdline.vim,
26769 src/testdir/dumps/Test_wildmenu_pum_40.dump
26770
26771Patch 8.2.4383
26772Problem: Vim9: unused code lines.
26773Solution: Rely on either "cctx" or "cstack" to not be NULL.
26774Files: src/vim9compile.c
26775
26776Patch 8.2.4384
26777Problem: Vim9: error message not tested, some code not tested.
26778Solution: Add a couple of test cases. Give an error for a command modifier
26779 without a command.
26780Files: src/errors.h, src/vim9compile.c, src/ex_docmd.c,
26781 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_cmd.vim
26782
26783Patch 8.2.4385 (after 8.2.4384)
26784Problem: Cannot build tiny version.
26785Solution: Adjust #ifdefs.
26786Files: src/errors.h
26787
26788Patch 8.2.4386 (after 8.2.4384)
26789Problem: Still cannot build tiny version.
26790Solution: Adjust #ifdefs.
26791Files: src/ex_docmd.c
26792
26793Patch 8.2.4387
26794Problem: Command line completion doesn't always work properly.
26795Solution: Adjust triggering after a "|". Add more tests. (Yegappan
26796 Lakshmanan, closes #9779)
26797Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
26798
26799Patch 8.2.4388
26800Problem: Dead code in op_insert().
26801Solution: Remove condition and else block. (closes #9782)
26802Files: src/ops.c
26803
26804Patch 8.2.4389
26805Problem: screenpos() does not handle a position in a closed fold.
26806Solution: Check if the position is inside a closed fold. (closes #9778)
26807Files: src/move.c, src/testdir/test_cursor_func.vim
26808
26809Patch 8.2.4390
26810Problem: Vim9: list from declaration with inferred type does not set the
26811 type on the value.
26812Solution: When inferring the type in a variable declaration also set the
26813 type of the list or dictionary. (closes #9705) Do not set the
26814 type when the member is "any".
26815Files: src/vim9compile.c, src/testdir/test_vim9_assign.vim,
26816 src/testdir/test_vim9_builtin.vim,
26817 src/testdir/test_vim9_disassemble.vim
26818
26819Patch 8.2.4391
26820Problem: Command line executed when typing Esc in the GUI.
26821Solution: Move saving/restoring KeyTyped to build_stl_str_hl().
26822 (closes #9783)
26823Files: src/buffer.c, src/screen.c
26824
26825Patch 8.2.4392 (after 8.2.4002)
26826Problem: MS-Windows with VIMDLL: Escaping CSI is wrong.
26827Solution: Put back #ifdef. (Ken Takata, closes #9769)
26828Files: src/getchar.c
26829
26830Patch 8.2.4393
26831Problem: Possible number overflow with nested folds.
26832Solution: Avoid a negative line number.
26833Files: src/fold.c
26834
26835Patch 8.2.4394 (after 8.2.4392)
26836Problem: UTF8 select mode test fails on MS-Windows.
26837Solution: Revert the #ifdef change.
26838Files: src/getchar.c
26839
26840Patch 8.2.4395
26841Problem: Some code lines not covered by tests.
26842Solution: Add a few more test cases. Fix getting more than one error for
26843 invalid assignment.
26844Files: src/evalvars.c, src/errors.h, src/vim9compile.c,
26845 src/testdir/test_vim9_assign.vim, src/testdir/test_vim9_cmd.vim,
26846 src/testdir/test_vim9_func.vim
26847
26848Patch 8.2.4396 (after 8.2.4395)
26849Problem: Python3 test fails.
26850Solution: Remove "let".
26851Files: src/testdir/test_vim9_func.vim
26852
26853Patch 8.2.4397
26854Problem: Crash when using many composing characters in error message.
26855Solution: Use mb_cptr2char_adv() instead of mb_ptr2char_adv().
26856Files: src/testing.c, src/testdir/test_assert.vim
26857
26858Patch 8.2.4398
26859Problem: Some command completion functions are too long.
26860Solution: Refactor code into separate functions. Add a few more tests.
26861 (Yegappan Lakshmanan, closes #9785)
26862Files: src/cmdexpand.c, src/ex_getln.c, src/usercmd.c,
26863 src/proto/usercmd.pro, src/testdir/test_cmdline.vim
26864
26865Patch 8.2.4399
26866Problem: Crash after ml_get error.
26867Solution: When returning "???" flush the line and set ml_line_lnum.
26868Files: src/memline.c
26869
26870Patch 8.2.4400 (after 8.2.4394)
26871Problem: MS-Windows: cannot use the mouse in the console with VIMDLL.
26872Solution: use add_char2buf() instead of fix_input_buffer(). (closes #9784,
26873 closes #9769)
26874Files: src/getchar.c
26875
26876Patch 8.2.4401
26877Problem: Map listing does not clear the rest of the command line.
26878Solution: Call msg_clear_eos(). (closes #5623, closes #5962)
26879Files: src/map.c, src/testdir/test_mapping.vim,
26880 src/testdir/dumps/Test_map_list_1.dump
26881
26882Patch 8.2.4402
26883Problem: Missing parenthesis may cause unexpected problems.
26884Solution: Add more parenthesis is macros. (closes #9788)
26885Files: src/autocmd.c, src/charset.c, src/drawline.c, src/drawscreen.c,
26886 src/evalfunc.c, src/fileio.c, src/fold.c, src/getchar.c,
26887 src/highlight.c, src/memline.c, src/normal.c, src/quickfix.c,
26888 src/regexp.c, src/search.c, src/sha256.c, src/spell.c,
26889 src/spellfile.c, src/spellsuggest.c, src/syntax.c, src/window.c
26890
26891Patch 8.2.4403
26892Problem: ml_get error with nested folds and deleting lines.
26893Solution: Correct the last line number before calling hasFoldingWin().
26894Files: src/change.c
26895
26896Patch 8.2.4404
26897Problem: Vim9: some code not covered by tests.
26898Solution: Add a few specific test cases.
26899Files: src/vim9execute.c, src/testdir/test_vim9_func.vim,
26900 src/testdir/test_vim9_import.vim
26901
26902Patch 8.2.4405
26903Problem: Compiler warning for unused variable without the +folding feature.
26904 (Tony Mechelynck)
26905Solution: Add #ifdef.
26906Files: src/change.c
26907
26908Patch 8.2.4406
26909Problem: Expand functions use confusing argument names.
26910Solution: Rename "file" to "match". Refactor some completion code. Add a
26911 few more tests. (Yegappan Lakshmanan, closes #9790)
26912Files: src/cmdexpand.c, src/testdir/test_usercommands.vim
26913
26914Patch 8.2.4407
26915Problem: Vim9: some code not covered by tests.
26916Solution: Add more tests. Avoid giving two errors. Remove dead code.
26917Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim,
26918 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_func.vim
26919
26920Patch 8.2.4408
26921Problem: Vim9: some code not covered by tests.
26922Solution: Add a few more tests. Correct error message. Allow unlet on dict
26923 with a number key.
26924Files: src/vim9execute.c, src/errors.h, src/testdir/test_vim9_assign.vim
26925
26926Patch 8.2.4409
26927Problem: Vim9: some code not covered by tests.
26928Solution: Add a few more tests. Fix reported line number.
26929Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim
26930
26931Patch 8.2.4410
26932Problem: Vim9: some code not covered by tests.
26933Solution: Add a few more tests. Remove dead code.
26934Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim,
26935 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_expr.vim,
26936 src/testdir/test_vim9_script.vim
26937
26938Patch 8.2.4411
26939Problem: Bicep files are not recognized.
26940Solution: Match *.bicep files. (Dundar Goc, closes #9791)
26941Files: runtime/filetype.vim, src/testdir/test_filetype.vim
26942
26943Patch 8.2.4412
26944Problem: Translation cleanup script does not remove empty lines at end.
26945Solution: Remove empty lines at the end. (Ken Takata, closes #9794)
26946Files: src/po/cleanup.vim
26947
26948Patch 8.2.4413
26949Problem: Vim9: Coverity warns for using NULL pointer.
26950Solution: Give an internal error when funcref function can't be found.
26951Files: src/vim9execute.c
26952
26953Patch 8.2.4414
26954Problem: Solidity files are not recognized.
26955Solution: Add the *.sol pattern. (Dundar Goc, closes #9792)
26956Files: runtime/filetype.vim, src/testdir/test_filetype.vim
26957
26958Patch 8.2.4415
26959Problem: Function argument name conflicts with C++ keyword.
26960Solution: Rename the argument.
26961Files: src/usercmd.c, src/proto/usercmd.pro
26962
26963Patch 8.2.4416
26964Problem: Vim9: using a script-local function requires using "s:" when
26965 setting 'completefunc'.
26966Solution: Do not require "s:" in Vim9 script. (closes #9796)
26967Files: runtime/doc/options.txt, src/userfunc.c,
26968 src/testdir/test_ins_complete.vim
26969
26970Patch 8.2.4417 (after 8.2.4416)
26971Problem: Using NULL pointer.
26972Solution: Set offset after checking for NULL pointer.
26973Files: src/userfunc.c
26974
26975Patch 8.2.4418
26976Problem: Crash when using special multi-byte character.
26977Solution: Don't use isalpha() for an arbitrary character.
26978Files: src/charset.c, src/proto/charset.pro, src/filepath.c,
26979 src/testdir/test_autochdir.vim
26980
26981Patch 8.2.4419
26982Problem: Illegal memory access when using exactly 20 highlights.
26983Solution: Add one more item in the array. (Brandon Richardson,
26984 closes #9800)
26985Files: src/buffer.c, src/testdir/test_tabline.vim
26986
26987Patch 8.2.4420
26988Problem: Menu translations are inconsistent.
26989Solution: Add a Makefile to convert between encodings. (Ada (Haowen) Yu,
26990 closes #9801)
26991Files: runtime/lang/Makefile, runtime/lang/menu_af_af.latin1.vim,
26992 runtime/lang/menu_ca_es.latin1.vim,
26993 runtime/lang/menu_chinese_gb.936.vim,
26994 runtime/lang/menu_chinese_taiwan.950.vim,
26995 runtime/lang/menu_cs_cz.iso_8859-2.vim,
26996 runtime/lang/menu_cs_cz.utf-8.vim,
26997 runtime/lang/menu_czech_czech_republic.1250.vim,
26998 runtime/lang/menu_czech_czech_republic.ascii.vim,
26999 runtime/lang/menu_da.utf-8.vim,
27000 runtime/lang/menu_de_de.latin1.vim,
27001 runtime/lang/menu_eo.utf-8.vim,
27002 runtime/lang/menu_es_es.latin1.vim,
27003 runtime/lang/menu_fi_fi.latin1.vim,
27004 runtime/lang/menu_fr_fr.latin1.vim,
27005 runtime/lang/menu_hu_hu.iso_8859-2.vim,
27006 runtime/lang/menu_hu_hu.utf-8.vim,
27007 runtime/lang/menu_is_is.latin1.vim,
27008 runtime/lang/menu_it_it.latin1.vim,
27009 runtime/lang/menu_ja_jp.euc-jp.vim,
27010 runtime/lang/menu_ja_jp.utf-8.vim,
27011 runtime/lang/menu_japanese_japan.932.vim,
27012 runtime/lang/menu_ko_kr.euckr.vim,
27013 runtime/lang/menu_ko_kr.utf-8.vim,
27014 runtime/lang/menu_nl_nl.latin1.vim,
27015 runtime/lang/menu_no_no.latin1.vim,
27016 runtime/lang/menu_pl_pl.iso_8859-2.vim,
27017 runtime/lang/menu_pl_pl.utf-8.vim,
27018 runtime/lang/menu_polish_poland.1250.vim,
27019 runtime/lang/menu_pt_br.vim, runtime/lang/menu_pt_pt.vim,
27020 runtime/lang/menu_ru.utf-8.vim,
27021 runtime/lang/menu_ru_ru.koi8-r.vim,
27022 runtime/lang/menu_ru_ru.utf-8.vim, runtime/lang/menu_ru_ru.vim,
27023 runtime/lang/menu_sk_sk.iso_8859-2.vim,
27024 runtime/lang/menu_sl_si.cp1250.vim,
27025 runtime/lang/menu_sl_si.latin2.vim,
27026 runtime/lang/menu_sl_si.utf-8.vim,
27027 runtime/lang/menu_slovak_slovak_republic.1250.vim,
27028 runtime/lang/menu_sr_rs.ascii.vim,
27029 runtime/lang/menu_sr_rs.iso_8859-2.vim,
27030 runtime/lang/menu_sr_rs.iso_8859-5.vim,
27031 runtime/lang/menu_sr_rs.utf-8.vim,
27032 runtime/lang/menu_sv_se.latin1.vim,
27033 runtime/lang/menu_tr_tr.cp1254.vim,
27034 runtime/lang/menu_tr_tr.iso_8859-9.vim,
27035 runtime/lang/menu_tr_tr.utf-8.vim,
27036 runtime/lang/menu_uk_ua.cp1251.vim,
27037 runtime/lang/menu_uk_ua.koi8-u.vim,
27038 runtime/lang/menu_uk_ua.utf-8.vim, runtime/lang/menu_vi_vn.vim,
27039 runtime/lang/menu_zh_cn.utf-8.vim,
27040 runtime/lang/menu_zh_tw.utf-8.vim
27041
27042Patch 8.2.4421
27043Problem: Some installed files and directories have wrong permissions.
27044Solution: Adjust the Makefile and shell to set permissions. (closes #9793)
27045Files: src/Makefile, src/installman.sh
27046
27047Patch 8.2.4422
27048Problem: Autochdir test fails on MS-Windows.
Bram Moolenaar1588bc82022-03-08 21:35:07 +000027049Solution: Expect another error on MS-Windows.
Bram Moolenaarc51cf032022-02-26 12:25:45 +000027050Files: src/testdir/test_autochdir.vim
27051
27052Patch 8.2.4423
27053Problem: "make nvcmdidxs" fails.
27054Solution: Use "-S" instead of "-u" to source the script.
27055Files: src/Makefile
27056
27057Patch 8.2.4424
27058Problem: ".gts" and ".gjs" files are not recognized.
27059Solution: Recognize Glimmer flavored typescript and javascript.
27060 (closes #9799)
27061Files: runtime/filetype.vim, src/testdir/test_filetype.vim
27062
27063Patch 8.2.4425
27064Problem: map() function does not check function arguments at compile time.
27065Solution: Give an error if the arguments of a map() function are wrong.
27066Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim,
27067 src/testdir/test_vim9_func.vim
27068
27069Patch 8.2.4426
27070Problem: map() function on string and blob does not check argument types at
27071 compile time.
27072Solution: Check string and blob argument types. Support "0z1234->func()".
27073Files: src/vim9compile.c, src/evalfunc.c, src/ex_docmd.c,
27074 src/testdir/test_vim9_builtin.vim
27075
27076Patch 8.2.4427
27077Problem: getchar() may return modifiers if no character is available.
27078Solution: Do not process modifiers when there is no character. (closes #9806)
27079Files: src/getchar.c, src/testdir/test_functions.vim
27080
27081Patch 8.2.4428
27082Problem: Crash when switching tabpage while in the cmdline window.
27083Solution: Disallow switching tabpage when in the cmdline window.
27084Files: src/window.c, src/proto/window.pro, src/evalvars.c,
27085 src/evalvars.c, src/usercmd.c
27086
27087Patch 8.2.4429
27088Problem: Using script-local function from the wrong script when using a
27089 partial. (Yegappan Lakshmanan)
27090Solution: Include the script ID in the partial name.
27091Files: src/userfunc.c, src/proto/userfunc.pro, src/evalfunc.c,
27092 src/vim9type.c, src/testdir/test_vim9_import.vim
27093
Bram Moolenaard799daa2022-06-20 11:17:32 +010027094Patch 8.2.4430
27095Problem: GTK: crash when using 'guiligatures' and reading from stdin.
27096Solution: Make a copy of the message. (Amon Sha, closes #9719, closes #9814)
27097Files: src/fileio.c
27098
27099Patch 8.2.4431
27100Problem: Unnecessary condition when assigning to a variable.
27101Solution: Remove the condition.
27102Files: src/evalvars.c
27103
27104Patch 8.2.4432 (after 8.2.4428)
27105Problem: Cannot use settabvar() while the cmdline window is open.
27106Solution: Only give an error when actually switching tabpage.
27107 (closes #9813)
27108Files: src/window.c
27109
27110Patch 8.2.4433
27111Problem: CI: cannot see interface versions for MS-Windows.
27112Solution: List the interface versions. (Ken Takata, closes #9811)
27113Files: .github/workflows/ci.yml
27114
27115Patch 8.2.4434
27116Problem: Duplicate check for cmdline window.
27117Solution: Remove the second check. (Sean Dewar, closes #9816)
27118Files: src/window.c
27119
27120Patch 8.2.4435
27121Problem: Dead code in checking map() arguments. (Dominique Pellé)
27122Solution: Remove the first return statement. (closes #9815)
27123Files: src/evalfunc.c
27124
27125Patch 8.2.4436
27126Problem: Crash with weird 'vartabstop' value.
27127Solution: Check for running into the end of the line.
27128Files: src/indent.c, src/testdir/test_vartabs.vim
27129
27130Patch 8.2.4437
27131Problem: Vartabs test fails on MS-Windows.
27132Solution: Use iso8859-1 'encoding'. (Ken Takata, closes #9818)
27133Files: src/testdir/test_vartabs.vim
27134
27135Patch 8.2.4438
27136Problem: Crash on exit when using cmdline window.
27137Solution: Reset "cmdwin_type" before exiting. (closes #9817)
27138Files: src/ui.c, src/testdir/test_exit.vim
27139
27140Patch 8.2.4439
27141Problem: Accepting "iso8859" 'encoding' as "iso-8859-".
27142Solution: use "iso8859" as "iso-8859-1".
27143Files: src/mbyte.c, src/testdir/test_options.vim
27144
27145Patch 8.2.4440
27146Problem: Crash with specific regexp pattern and string.
27147Solution: Stop at the start of the string.
27148Files: src/regexp_bt.c, src/testdir/test_regexp_utf8.vim
27149
27150Patch 8.2.4441
27151Problem: Vim9: function argument of filter() not checked like map().
27152Solution: Also check the function argument of filter().
27153Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
27154
27155Patch 8.2.4442 (after 8.2.4438)
27156Problem: Test for error reading input fails on MS-Windows.
27157Solution: Don't run the test on MS-Windows.
27158Files: src/testdir/test_exit.vim
27159
27160Patch 8.2.4443 (after 8.2.4440)
27161Problem: Regexp pattern test fails on Mac.
27162Solution: Do not use a swapfile for the buffer.
27163Files: src/testdir/test_regexp_utf8.vim
27164
27165Patch 8.2.4444
27166Problem: Beep caused by test. ASAN reports leaks.
27167Solution: Do not put a NL at the end of the script. Make the text work on
27168 MS-Windows. Do not run the test with ASAN.
27169Files: src/testdir/test_exit.vim
27170
27171Patch 8.2.4445
27172Problem: Exit test fails on MS-Windows anyway.
27173Solution: Skip the test on MS-Windows.
27174Files: src/testdir/test_exit.vim
27175
27176Patch 8.2.4446
27177Problem: Vim9: cannot refer to a global function like a local one.
27178Solution: When g:name is not a variable but a function, use a function
27179 reference. (closes #9826)
27180Files: src/vim9execute.c, src/testdir/test_vim9_builtin.vim
27181
27182Patch 8.2.4447
27183Problem: Vim9: can still use s:var in a compiled function.
27184Solution: Disallow using s:var for Vim9 script. (closes #9824)
27185Files: runtime/doc/vim9.txt, src/vim9expr.c, src/vim9compile.c,
27186 src/testdir/test_vim9_assign.vim
27187
27188Patch 8.2.4448 (after 8.2.4447)
27189Problem: Filetype detection is failing.
27190Solution: Do not use "s:" where it is no longer allowed.
27191Files: runtime/autoload/dist/ft.vim,
27192
27193Patch 8.2.4449
27194Problem: vim9: function argument of sort() not checked at compile time.
27195Solution: Add a compile time check.
27196Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
27197
27198Patch 8.2.4450 (after 8.2.4449)
27199Problem: List sort test fails.
27200Solution: Pass a valid "how" argument.
27201Files: src/testdir/test_listdict.vim
27202
27203Patch 8.2.4451 (after 8.2.4450)
27204Problem: sort() fails when ignoring case.
27205Solution: Accept a number one argument in sort().
27206Files: src/evalfunc.c, src/testdir/test_listdict.vim
27207
27208Patch 8.2.4452
27209Problem: Test for what 8.2.4436 fixes does not check for regression.
27210Solution: Set several options. (Ken Takata, closes #9830)
27211Files: src/testdir/test_vartabs.vim
27212
27213Patch 8.2.4453
27214Problem: :helpgrep may free an option that was not allocated. (Yegappan
27215 Lakshmanan)
27216Solution: Check if the value was allocated.
27217Files: src/option.c, src/proto/option.pro, src/quickfix.c,
27218 src/testdir/test_quickfix.vim
27219
27220Patch 8.2.4454
27221Problem: Resetting cmdwin_type only for one situation.
27222Solution: Reset cmdwin_type before closing windows. (closes #9822)
27223Files: src/ui.c, src/window.c, src/testdir/test_exit.vim
27224
27225Patch 8.2.4455
27226Problem: Accepting one and zero for the second sort() argument is strange.
27227Solution: Disallow using one and zero in Vim9 script.
27228Files: runtime/doc/builtin.txt, src/evalfunc.c, src/list.c,
27229 src/testdir/test_listdict.vim
27230
27231Patch 8.2.4456
27232Problem: Terminal test may fail on some machines.
27233Solution: Increase wait time. (Zdenek Dohnal, closes #9834)
27234Files: src/testdir/test_terminal.vim
27235
27236Patch 8.2.4457
27237Problem: The GPM library can only be linked statically.
27238Solution: Make it possible to load the GPM library dynamically. (Damien)
27239Files: runtime/doc/various.txt, src/config.h.in, src/configure.ac,
27240 src/Makefile, src/evalfunc.c, src/feature.h, src/os_unix.c,
27241 src/proto/os_unix.pro, src/version.c
27242
27243Patch 8.2.4458
27244Problem: Vim9: compiling filter() call fails with funcref that has unknown
27245 arguments.
27246Solution: Do not check the arguments if they are unknown at compile time.
27247 (closes #9835)
27248Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
27249
27250Patch 8.2.4459
27251Problem: Vim9: compiling sort() call fails with a funcref that has unknown
27252 arguments.
27253Solution: Do not check the arguments if they are unknown at compile time.
27254 (closes #9835)
27255Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
27256
27257Patch 8.2.4460
27258Problem: Vim9: wrong error for defining dict function.
27259Solution: Explicitly check for trying to define a dict function.
27260 (closes 9827)
27261Files: src/errors.h, src/userfunc.c, src/vim9compile.c,
27262 src/testdir/test_vim9_func.vim
27263
27264Patch 8.2.4461
27265Problem: MS-Windows: garbage characters on stdout with VIMDLL.
27266Solution: Don't call gui_focus_change() when about to quit. (Ken Takata,
27267 closes #9840)
27268Files: src/gui_w32.c
27269
27270Patch 8.2.4462
27271Problem: Not enough testing for quickfix code.
27272Solution: Add more tests. Fix uncovered problem. (Yegappan Lakshmanan,
27273 closes #9839)
27274Files: src/quickfix.c, src/window.c, src/testdir/test_makeencoding.vim,
27275 src/testdir/test_quickfix.vim
27276
27277Patch 8.2.4463
27278Problem: Completion only uses strict matching.
27279Solution: Add the "fuzzy" item for 'wildoptions'. (Yegappan Lakshmanan,
27280 closes #9803)
27281Files: runtime/doc/options.txt, src/buffer.c, src/cmdexpand.c,
27282 src/option.c, src/option.h, src/optionstr.c,
27283 src/proto/cmdexpand.pro, src/proto/option.pro,
27284 src/proto/search.pro, src/search.c, src/structs.h,
27285 src/testdir/gen_opt_test.vim, src/testdir/test_cmdline.vim
27286
27287Patch 8.2.4464
27288Problem: Dtrace files are recognized as filetype D.
27289Solution: Add a pattern for Dtrace files. (Teubel György, closes #9841)
27290 Add some more testing.
27291Files: runtime/autoload/dist/ft.vim, runtime/filetype.vim,
27292 src/testdir/test_filetype.vim
27293
27294Patch 8.2.4465
27295Problem: Fuzzy completion does not order matches properly.
27296Solution: Do not use regular expression match. (Yegappan Lakshmanan,
27297 closes #9843)
27298Files: src/cmdexpand.c, src/search.c, src/testdir/test_cmdline.vim
27299
27300Patch 8.2.4466
27301Problem: MS-Windows: illegal memory access in installer when using
27302 "create-directories" as the final argument.
27303Solution: Check the argument count. (Cam Sinclair, closes #9844)
27304Files: src/dosinst.c
27305
27306Patch 8.2.4467
27307Problem: Running filetype test leaves file behind.
27308Solution: Delete the file.
27309Files: src/testdir/test_filetype.vim
27310
27311Patch 8.2.4468
27312Problem: Coverity warns for uninitialized struct member.
27313Solution: Set color.index to zero.
27314Files: src/terminal.c
27315
27316Patch 8.2.4469
27317Problem: Coverity warns for uninitialized variable.
27318Solution: Set the value to zero.
27319Files: src/ex_getln.c
27320
27321Patch 8.2.4470
27322Problem: Coverity warns for uninitialized variable.
27323Solution: Set can_spell to zero.
27324Files: src/drawline.c
27325
27326Patch 8.2.4471
27327Problem: Coverity warns for uninitialized variable.
27328Solution: Set flags to zero.
27329Files: src/vim9cmds.c
27330
27331Patch 8.2.4472
27332Problem: Coverity warns for use of a freed function name.
27333Solution: Only check an autoload name when is prefixed.
27334Files: src/userfunc.c
27335
27336Patch 8.2.4473
27337Problem: Coverity warnds for not checking return value of ftell().
27338Solution: Bail out if ftell() returns a negative value.
27339Files: src/spellfile.c
27340
27341Patch 8.2.4474
27342Problem: Memory allocation failures not tested in quickfix code.
27343Solution: Add alloc IDs and tests. (Yegappan Lakshmanan, closes #9848)
27344Files: src/alloc.h, src/quickfix.c, src/vim.h,
27345 src/testdir/test_quickfix.vim
27346
27347Patch 8.2.4475
27348Problem: Fuzzy cmdline completion does not work for lower case.
27349Solution: Also use fuzzy completion for lower case input. (Yegappan
27350 Lakshmanan, closes #9849)
27351Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
27352
27353Patch 8.2.4476
27354Problem: Operator name spelled wrong.
27355Solution: Change trinary to ternary. (Goc Dundar, closes #9850)
27356Files: src/testdir/test_expr.vim, src/testdir/test_vim9_expr.vim,
27357 src/testdir/test_vimscript.vim
27358
27359Patch 8.2.4477
27360Problem: Crash when using fuzzy completion.
27361Solution: Temporary fix: put back regexp. (closes #9851)
27362Files: src/cmdexpand.c
27363
27364Patch 8.2.4478
27365Problem: Crash when using fuzzy completion.
27366Solution: Temporary fix: put back regexp. (closes #9852, closes #9851)
27367Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
27368
27369Patch 8.2.4479
27370Problem: No fuzzy completieon for maps and abbreviations.
27371Solution: Fuzzy complete maps and abbreviations. (Yegappan Lakshmanan,
27372 closes #9856)
27373Files: src/cmdexpand.c, src/map.c, src/proto/map.pro, src/search.c,
27374 src/testdir/test_cmdline.vim
27375
27376Patch 8.2.4480
27377Problem: Suspending with CTRL-Z does not work on Android.
27378Solution: Do not handle SIGTSTP. (closes #9854)
27379Files: src/os_unix.c
27380
27381Patch 8.2.4481
27382Problem: Cmdline popup menu not removed when 'lazyredraw' is set.
27383Solution: Temporarily reset 'lazyredraw' when removing the popup menu.
27384 (closes #9857)
27385Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
27386 src/testdir/dumps/Test_wildmenu_pum_41.dump
27387
27388Patch 8.2.4482
27389Problem: No fuzzy cmdline completion for user defined completion.
27390Solution: Add fuzzy completion for user defined completion. (Yegappan
27391 Lakshmanan, closes #9858)
27392Files: src/cmdexpand.c, src/testdir/test_cmdline.vim
27393
27394Patch 8.2.4483
27395Problem: Command completion makes two rounds to collect matches.
27396Solution: Use a growarray to collect matches. (Yegappan Lakshmanan,
27397 closes #9860)
27398Files: src/buffer.c, src/cmdexpand.c, src/map.c,
27399 src/testdir/test_cmdline.vim
27400
27401Patch 8.2.4484
27402Problem: Vim9: some error messages are not tested.
27403Solution: Add a few more test cases. Delete dead code.
27404Files: src/vim9execute.c, src/testdir/test_vim9_assign.vim,
27405 src/testdir/test_vim9_expr.vim, src/testdir/test_vim9_func.vim
27406
27407Patch 8.2.4485
27408Problem: Compiler warning for uninitialized variable.
27409Solution: Initialize the variable. (John Marriott)
27410Files: src/cmdexpand.c
27411
27412Patch 8.2.4486
27413Problem: MS-Windows GUI: slow scrolling with maximized window.
27414Solution: Use a better way to check the window is on screen. (Ken Takata,
27415 closes #9865)
27416Files: src/gui_w32.c
27417
27418Patch 8.2.4487
27419Problem: Vim9: cannot compare with v:null.
27420Solution: Allow comparing anything with v:null. (closes #9866)
27421Files: src/vim9instr.c, src/typval.c, src/proto/typval.pro,
27422 src/vim9.h, src/vim9execute.c, src/evalvars.c,
27423 src/testdir/test_vim9_expr.vim,
27424 src/testdir/test_vim9_disassemble.vim
27425
27426Patch 8.2.4488 (after 8.2.4487)
27427Problem: Build error with +eval but without +channel or +job.
27428Solution: Add #ifdef. (John Marriott)
27429Files: src/typval.c
27430
27431Patch 8.2.4489 (after 8.2.4487)
27432Problem: Failing test for comparing v:null with number.
27433Solution: Allow comparing v:null with number in legacy script.
27434 (Ken Takata, closes #9873) Also do this for float.
27435Files: src/typval.c, src/testdir/test_vimscript.vim
27436
27437Patch 8.2.4490
27438Problem: Terminal focus reporting only works for xterm-like terminals.
27439 (Jonathan Rascher)
27440Solution: Remove the "focus_mode" flag. (closes #9859)
27441Files: src/term.c
27442
27443Patch 8.2.4491
27444Problem: MS-Windows makefile dependencies are outdated.
27445Solution: Update dependencies. (Ken Takata, closes #9876)
27446Files: src/Make_cyg_ming.mak, src/Make_mvc.mak
27447
27448Patch 8.2.4492
27449Problem: No error if an option is given an invalid value with
27450 ":let &opt = val".
27451Solution: Give the error. (closes #9864)
27452Files: src/evalvars.c, src/testdir/test_options.vim
27453
27454Patch 8.2.4493 (after 8.2.4492)
27455Problem: Options test fails in the GUI.
27456Solution: Do not save and restore 'term'.
27457Files: src/testdir/gen_opt_test.vim
27458
27459Patch 8.2.4494
27460Problem: The find_tags() function is much too long.
27461Solution: Refactor the function. (Yegappan Lakshmanan, closes #9869)
27462Files: src/quickfix.c, src/tag.c, src/testdir/test_tagjump.vim
27463
27464Patch 8.2.4495
27465Problem: Help test fails in 24 line terminal.
27466Solution: Use up to 23 lines for text.
27467Files: src/testdir/test_help.vim
27468
27469Patch 8.2.4496 (after 8.2.4494)
27470Problem: Coverity gives warnings after tags code refactoring.
27471Solution: Avoid the warnings. (Yegappan Lakshmanan, closes #9882)
27472Files: src/tag.c
27473
27474Patch 8.2.4497
27475Problem: Wrong color for half of wide character next to pum scrollbar.
27476Solution: Redraw the screen cell with the right color. (closes #9874)
27477Files: src/screen.c, src/testdir/test_ins_complete.vim,
27478 src/testdir/dumps/Test_scrollbar_on_wide_char.dump
27479
27480Patch 8.2.4498
27481Problem: Using <Plug> with "noremap" does not work.
27482Solution: Always remap <Plug>. (closes #9879, closes #9789)
27483Files: runtime/doc/map.txt, src/getchar.c, src/testdir/test_mapping.vim
27484
27485Patch 8.2.4499
27486Problem: Vim9: at the script level declarations leak from try block to
27487 catch and finally block.
27488Solution: End the block and start a new one. (closes #9883)
27489Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
27490
27491Patch 8.2.4500
27492Problem: Vim9: can declare a global variable on the command line.
27493Solution: Disallow declaring a variable on the command line. (closes #9881)
27494Files: src/errors.h, src/evalvars.c, src/testdir/test_vim9_assign.vim,
27495 src/testdir/test_vim9_script.vim,
27496 src/testdir/dumps/Test_vim9_reject_declaration.dump
27497
27498Patch 8.2.4501
27499Problem: With 'showbreak' set and after the end of the line the cursor
27500 may be displayed in the wrong position.
27501Solution: Do not apply 'showbreak' after the end of the line. (closes #9884)
27502Files: src/charset.c, src/testdir/test_breakindent.vim,
27503 src/testdir/dumps/Test_cursor_position_with_showbreak.dump
27504
27505Patch 8.2.4502
27506Problem: In the GUI a modifier is not recognized for the key typed after
27507 CTRL-X, which may result in a mapping to be used. (Daniel
27508 Steinberg)
27509Solution: Recognize a modifier starting with CSI. (closes #9889)
27510Files: src/getchar.c, src/testdir/test_ins_complete.vim
27511
27512Patch 8.2.4503
27513Problem: Vim9: there is no point in supporting :Print and :mode.
27514Solution: Do not recognize :Print and :mode as commands. (closes #9870)
27515Files: src/ex_docmd.c, src/testdir/test_vim9_script.vim
27516
27517Patch 8.2.4504
27518Problem: When there is a partially matching map and modifyOtherKeys is
27519 active a full map may not work.
27520Solution: Only simplify modifiers when there is no matching mapping.
27521 (closes #8792)
27522Files: src/getchar.c, src/testdir/test_termcodes.vim
27523
27524Patch 8.2.4505
27525Problem: Vim9: outdated "autocmd nested" still works.
27526Solution: Do not accept the :autocmd argument "nested" without "++" in Vim9
27527 script.
27528Files: src/autocmd.c, src/errors.h, src/testdir/test_autocmd.vim
27529
27530Patch 8.2.4506
27531Problem: "pattern not found" for :global is not an error message.
27532Solution: In Vim9 script make this an actual error, so that try/catch can be
27533 used as expected.
27534Files: src/ex_cmds.c, src/errors.h, src/testdir/test_global.vim
27535
27536Patch 8.2.4507 (after 8.2.4506)
27537Problem: Test fails because of new error message.
27538Solution: Avoid the test fails.
27539Files: src/testdir/test_vim9_cmd.vim
27540
27541Patch 8.2.4508
27542Problem: Vim9: cannot assign to a global variable on the command line.
27543Solution: Allow using :vim9cmd for assignment on the command line.
27544Files: src/evalvars.c, src/testdir/test_vim9_script.vim,
27545 src/testdir/dumps/Test_vim9_reject_declaration.dump,
27546 src/testdir/dumps/Test_vim9_reject_declaration_1.dump,
27547 src/testdir/dumps/Test_vim9_reject_declaration_2.dump
27548
27549Patch 8.2.4509
27550Problem: Vim9: can declare a variable with ":va".
27551Solution: Disallow using ":va", require using ":var".
27552Files: src/evalvars.c, src/errors.h, src/vim9compile.c,
27553 src/testdir/test_vim9_assign.vim
27554
27555Patch 8.2.4510
27556Problem: Vim9: shortening commands leads to confusing script.
27557Solution: In Vim9 script require at least ":cont" for ":continue", "const"
27558 instead of "cons", "break" instead of "brea", "catch" instead of
27559 "cat", "else" instead of "el" "elseif" instead of "elsei" "endfor"
27560 instead of "endfo" "endif" instead of "en" "endtry" instead of
27561 "endt", "finally" instead of "fina", "throw" instead of "th",
27562 "while" instead of "wh".
27563Files: src/ex_cmds.h, src/ex_docmd.c, src/errors.h, src/evalvars.c,
27564 src/vim9compile.c, src/testdir/test_vim9_script.vim
27565
27566Patch 8.2.4511
27567Problem: Filetype test fails.
27568Solution: Change "endw" to "endwhile".
27569Files: runtime/autoload/dist/ft.vim
27570
27571Patch 8.2.4512
27572Problem: The find_tags_in_file() function is much too long.
27573Solution: Refactor into multiple smaller functions. (Yegappan Lakshmanan,
27574 closes #9892)
27575Files: Filelist, src/Makefile, src/quickfix.c, src/tag.c,
27576 src/testdir/test83-tags2, src/testdir/test83-tags3,
27577 src/testdir/test_tagjump.vim
27578
27579Patch 8.2.4513
27580Problem: Window-local directory is not applied if 'acd' fails.
27581Solution: Don't call do_autochdir(). (closes #9891)
27582Files: src/window.c, src/testdir/test_autochdir.vim
27583
27584Patch 8.2.4514
27585Problem: Vim9: some flow commands can be shortened.
27586Solution: Also require using the full name for ":return", ":enddef",
27587 ":continue", ":export" and ":import".
27588Files: src/ex_cmds.h, src/ex_docmd.c, src/errors.h, src/userfunc.c,
27589 src/testdir/test_vim9_script.vim
27590
27591Patch 8.2.4515
27592Problem: Old subsitute syntax is still supported.
27593Solution: Disallow using backslash after ":s" in Vim9 script.
27594Files: src/ex_cmds.c, src/errors.h, src/testdir/test_substitute.vim
27595
27596Patch 8.2.4516 (after 8.2.4515)
27597Problem: Build failure without the +eval feature.
27598Solution: Move error message outside of #ifdef.
27599Files: src/errors.h
27600
27601Patch 8.2.4517
27602Problem: MS-Windows: cannot specify location of sodium library.
27603Solution: Allow for using a path for SODIUM. (Ken Takata, closes #9896)
27604Files: src/Make_cyg_ming.mak
27605
27606Patch 8.2.4518
27607Problem: The binary tag search feature is always enabled.
27608Solution: Remove the #ifdefs. Add a few more tests. (Yegappan Lakshmanan,
27609 closes #9893)
27610Files: src/evalfunc.c, src/feature.h, src/tag.c, src/version.c,
27611 src/testdir/test_tagjump.vim, src/testdir/test_taglist.vim
27612
27613Patch 8.2.4519
27614Problem: Vim9: Can still use ":fini" and ":finis" for ":finish".
27615Solution: Require using ":finish".
27616Files: src/ex_cmds.h, src/testdir/test_vim9_script.vim
27617
27618Patch 8.2.4520
27619Problem: Using wrong highlight for cursor line number.
27620Solution: Take filler lines into account when using CursorLineNr.
27621 (closes #9897)
27622Files: src/drawline.c, src/testdir/test_diffmode.vim,
27623 src/testdir/dumps/Test_diff_with_cursorline_number_01.dump,
27624 src/testdir/dumps/Test_diff_with_cursorline_number_02.dump
27625
27626Patch 8.2.4521 (after 8.2.4520)
27627Problem: Build failure without the +diff feature. (John Marriott)
27628Solution: Define filler+lines if not declaring it.
27629Files: src/drawline.c
27630
27631Patch 8.2.4522 (after 8.2.4492)
27632Problem: GUI test fails with Motif. (Dominique Pellé)
27633Solution: Remove using an invalid value for 'guifontset'.
27634Files: src/testdir/test_gui.vim
27635
27636Patch 8.2.4523
27637Problem: When gvim is started maximized the 'window' option isn't set
27638 properly. (Christian J. Robinson)
27639Solution: Check if 'windows' was already set or not. (Ken Takata,
27640 closes #9904)
27641Files: src/term.c
27642
27643Patch 8.2.4524
27644Problem: MS-Windows: cannot build with some sodium libraries.
27645Solution: Make the DLL name configuragle. Add build instructions.
27646 (Ken Takata, closes #9905)
27647Files: src/INSTALLpc.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak,
27648 src/crypt.c
27649
27650Patch 8.2.4525
27651Problem: Some GUI tests don't work on Athena.
27652Solution: Skip tests that won't work. (Yegappan Lakshmanan, closes #9902)
27653Files: src/testdir/test_gui.vim
27654
27655Patch 8.2.4526
27656Problem: Vim9: cannot set variables to a null value.
27657Solution: Add null_list, null_job, etc.
27658Files: runtime/doc/vim9.txt, src/eval.c, src/proto/eval.pro,
27659 src/vim9expr.c, src/vim9script.c, src/vim9instr.c,
27660 src/vim9compile.c, src/vim9execute.c, src/vim9.h, src/vim9type.c,
27661 src/evalvars.c, src/testdir/test_vim9_assign.vim,
27662 src/testdir/test_vim9_disassemble.vim,
27663 src/testdir/test_vim9_func.vim, src/testdir/test_expr.vim
27664
27665Patch 8.2.4527
27666Problem: The Athena GUI is old and does not work well.
27667Solution: Remove the Athena GUI from configure to find out who still wants
27668 support for this GUI.
27669Files: src/configure.ac, src/auto/configure, src/Makefile
27670
27671Patch 8.2.4528
27672Problem: Crash when using null_function for a partial.
27673Solution: Don't call fname_trans_sid() with NULL. (closes #9908)
27674Files: src/userfunc.c, src/testdir/test_vim9_func.vim
27675
27676Patch 8.2.4529
27677Problem: Vim9: comparing partial with function fails.
27678Solution: Support this comparison. Avoid a crash. (closes #9909)
27679 Add more test cases.
27680Files: src/vim9instr.c, src/userfunc.c, src/vim9type.c,
27681 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim,
27682 src/testdir/test_vim9_func.vim, src/testdir/test_vimscript.vim
27683
27684Patch 8.2.4530
27685Problem: Making comparison with null work changes legacy behavior.
27686Solution: Only use the better comparison in Vim9 script. (closes #9910)
27687Files: src/typval.c, src/testdir/test_expr.vim
27688
27689Patch 8.2.4531
27690Problem: LGTM warnings for condition always true and buffer size too small.
27691Solution: Remove the useless condition. Make the buffer larger. (Goc
27692 Dundar, closes #9914)
27693Files: src/charset.c, src/term.c
27694
27695Patch 8.2.4532
27696Problem: Suspending with CTRL-Z does not work on OpenBSD.
27697Solution: Adjust #ifdef for SIGTSTP. (Stuart Henderson, closes #9912)
27698Files: src/os_unix.c
27699
27700Patch 8.2.4533
27701Problem: Vim9: no test that after assigning null the type is still checked.
27702Solution: Add a test.
27703Files: src/testdir/test_vim9_assign.vim
27704
27705Patch 8.2.4534
27706Problem: Vim9: "is" operator with empty string and null returns true.
27707Solution: Consider empty string and null to be different for "is".
27708Files: src/typval.c, src/vim9execute.c, src/testdir/test_vim9_expr.vim
27709
27710Patch 8.2.4535
27711Problem: Filename modifer ":8" removes the filename.
27712Solution: Use strncpy() instead of vim_strncpy(). (Christian Brabandt,
27713 closes #9918, closes #8600)
27714Files: src/filepath.c, src/testdir/test_shortpathname.vim
27715
27716Patch 8.2.4536 (after 8.2.4534)
27717Problem: Debugger test fails when breaking on expression.
27718Solution: Compare strings with "==" instead of "is".
27719Files: src/debugger.c
27720
27721Patch 8.2.4537
27722Problem: Output from linter and language server shows up in git.
27723Solution: Add patterns to .gitignore. (Goc Dundar, closes #9925)
27724Files: .gitignore
27725
27726Patch 8.2.4538
27727Problem: The find_tags_in_file() function is too long.
27728Solution: Refactor into smaller functions. (Yegappan Lakshmanan,
27729 closes #9920)
27730Files: src/tag.c, src/testdir/test_tagjump.vim
27731
27732Patch 8.2.4539
27733Problem: When comparing special v:none and v:null are handled the same when
27734 compiling.
27735Solution: Pass more information so that v:none can be handled differently at
27736 compile time. (issue #9923)
27737Files: src/vim9instr.c, src/vim9compile.c, src/globals.h,
27738 src/testdir/test_vim9_expr.vim
27739
27740Patch 8.2.4540
27741Problem: Line number for error is off by one.
27742Solution: Remember the line number of the comparison. (closes #9923)
27743Files: src/eval.c, src/testdir/test_vim9_expr.vim
27744
27745Patch 8.2.4541
27746Problem: Crash in debugger when a variable is not available in the current
27747 block.
27748Solution: Check for a NULL name. (closes #9926)
27749Files: src/vim9execute.c, src/testdir/test_debugger.vim
27750
27751Patch 8.2.4542
27752Problem: Vim9: "break" inside try/catch not handled correctly.
27753Solution: First jump to :endtry. (closes #9927)
27754Files: src/vim9cmds.c, src/vim9.h, src/testdir/test_vim9_script.vim
27755
27756Patch 8.2.4543
27757Problem: Coverity warning for refactored tag search code.
27758Solution: Avoid the warnings. Update comments. Add one more test case.
27759 (Yegappan Lakshmanan, closes #9928)
27760Files: src/tag.c, src/testdir/test_tagjump.vim
27761
27762Patch 8.2.4544
27763Problem: Coverity warnings for not using returned value.
27764Solution: Assign to vim_ignored.
27765Files: src/tag.c
27766
27767Patch 8.2.4545
27768Problem: MS-Windows: the installed icon is low resolution.
27769Solution: Use a better icon. Install vim.ico. (Christian Brabandt,
27770 closes #9931, closes #9930)
27771Files: Filelist, nsis/gvim.nsi, src/vim.ico, runtime/bitmaps/vim.ico
27772
27773Patch 8.2.4546
27774Problem: Duplicate #undef.
27775Solution: Remove one #undef. (closes #9932)
27776Files: src/regexp_nfa.c
27777
27778Patch 8.2.4547
27779Problem: The neXTaw GUI is old and does not work well.
27780Solution: Remove the neXTaw GUI from configure to find out who still wants
27781 support for this GUI.
27782Files: src/configure.ac, src/auto/configure, src/Makefile
27783
27784Patch 8.2.4548
27785Problem: Script-local function is deleted when used in a funcref.
27786Solution: Do not consider a function starting with "<SNR>" reference
27787 counted. (closes #9916, closes #9820)
27788Files: src/userfunc.c, src/testdir/test_vim9_func.vim
27789
27790Patch 8.2.4549
27791Problem: Cannot build with Motif and editres. (Tony Mechelynck)
27792Solution: Fix configure mistake.
27793Files: src/configure.ac, src/auto/configure
27794
27795Patch 8.2.4550
27796Problem: Motif: cannot set the color of the scrollbar thumb.
27797Solution: Remove #ifdef.
27798Files: src/gui_motif.c
27799
27800Patch 8.2.4551
27801Problem: When mapping <Esc> terminal codes are not recognized.
27802Solution: Specifically recognize a mapping with just <Esc> and check for
27803 terminal codes even though there is no partial mapping.
27804 (closes #9903)
27805Files: src/getchar.c, src/testdir/test_termcodes.vim
27806
27807Patch 8.2.4552
27808Problem: In a :def function "put = expr" does not work.
27809Solution: Skip over white space. (closes #9936)
27810Files: src/vim9cmds.c, src/testdir/test_vim9_cmd.vim
27811
27812Patch 8.2.4553
27813Problem: Linear tag search is a bit slow.
27814Solution: Remove a vim_ftell() call. (Yegappan Lakshmanan, closes #9937)
27815Files: src/tag.c, src/testdir/test_taglist.vim
27816
27817Patch 8.2.4554
27818Problem: Vim9: using null values not sufficiently tested.
27819Solution: Add more tests. Fix uncovered problem.
27820Files: src/vim9type.c, src/testdir/test_vim9_assign.vim,
27821 src/testdir/test_vim9_func.vim
27822
27823Patch 8.2.4555
27824Problem: getmousepos() returns the wrong column. (Ernie Rael)
27825Solution: Limit to the text size, not the number of bytes.
27826Files: src/mouse.c, src/testdir/test_functions.vim
27827
27828Patch 8.2.4556
27829Problem: Test fails without the +job or +channel feature. (Dominique Pellé)
27830Solution: Adjust #ifdefs. Pass on skip flag. (closes #9942)
27831Files: src/eval.c, src/vim9compile.c
27832
27833Patch 8.2.4557
27834Problem: Confusing comment about 'cursorlineopt'.
27835Solution: Adjust comment. (closes #9939) Add parenthesis around logical
27836 OR.
27837Files: src/drawline.c
27838
27839Patch 8.2.4558
27840Problem: Motif: using default colors does not work as expected.
27841Solution: Do not try to store the default colors, use the resources.
27842 (closes #9933)
27843Files: src/gui_motif.c, src/gui.h
27844
27845Patch 8.2.4559 (after 8.24555)
27846Problem: getmousepos() returns the screen column. (Ernie Rael)
27847Solution: Return the text column, as documented.
27848Files: src/mouse.c, src/testdir/test_functions.vim
27849
27850Patch 8.2.4560
27851Problem: Suspending with CTRL-Z does not work on DragonFlyBSD.
27852Solution: Adjust #ifdef. (Ozaki Kiichi, closes #9943)
27853Files: src/os_unix.c
27854
27855Patch 8.2.4561
27856Problem: Build failure with some combination of features. (John Marriott)
27857Solution: Adjust #ifdef.
27858Files: src/mouse.c
27859
27860Patch 8.2.4562
27861Problem: Linear tag search is not optimal.
27862Solution: Improve linear tag search performance. (Yegappan Lakshmanan,
27863 closes #9944)
27864Files: src/tag.c
27865
27866Patch 8.2.4563
27867Problem: "z=" in Visual mode may go beyond the end of the line.
27868Solution: Adjust "badlen".
27869Files: src/spellsuggest.c, src/testdir/test_spell.vim
27870
27871Patch 8.2.4564
27872Problem: Running test leaves file behind. (Dominique Pellé)
27873Solution: Run the profiling in a separate Vim instance. (closes #9952)
27874Files: src/testdir/test_vim9_script.vim
27875
27876Patch 8.2.4565
27877Problem: No command line completion for :breakadd and :breakdel.
27878Solution: Add completion for :breakadd and :breakdel. (Yegappan Lakshmanan,
27879 closes #9950)
27880Files: runtime/doc/builtin.txt, src/cmdexpand.c, src/spellsuggest.c,
27881 src/usercmd.c, src/vim.h, src/testdir/test_cmdline.vim,
27882 src/testdir/test_writefile.vim
27883
27884Patch 8.2.4566
27885Problem: Check for existing buffer in session file does not work for files
27886 in the home directory.
27887Solution: Use fnamemodify(). (James Cherti, closes #9945) Add a test.
27888Files: src/session.c, src/testdir/test_mksession.vim
27889
27890Patch 8.2.4567
27891Problem: Bracketed paste doesn't work well in Visual linewise mode.
27892Solution: Handle linewise Visual mode differently. (closes #9947)
27893Files: src/normal.c, src/testdir/test_paste.vim
27894
27895Patch 8.2.4568
27896Problem: getmousepos() does not compute the column below the last line.
27897Solution: Also compute the column when the mouse is below the last line.
27898 (Sean Dewar, closes #9946)
27899Files: src/mouse.c, src/testdir/test_functions.vim
27900
27901Patch 8.2.4569
27902Problem: Coverity warning for not using a return value.
27903Solution: Add "(void)".
27904Files: src/popupwin.c
27905
27906Patch 8.2.4570
27907Problem: No command line completion for :profile and :profdel.
27908Solution: Implement completion. (Yegappan Lakshmanan, closes #9955)
27909Files: src/cmdexpand.c, src/profiler.c, src/testdir/test_cmdline.vim,
27910 src/testdir/test_profile.vim
27911
27912Patch 8.2.4571
27913Problem: Not all gdb files are recognized.
27914Solution: Add a few more patterns for gdb. (Jade Lovelace, closes #9956)
27915Files: runtime/filetype.vim, src/testdir/test_filetype.vim
27916
27917Patch 8.2.4572
27918Problem: Vim9: return type "any" is sometimes changed to first returned
27919 type. (Virginia Senioria)
27920Solution: Do not change the return type if declared as "any". (closes #9949)
27921Files: src/vim9cmds.c, src/testdir/test_vim9_func.vim
27922
27923Patch 8.2.4573
27924Problem: A nested function (closure) is compiled for debugging without
27925 context.
27926Solution: Check if a nested function is marked for debugging before
27927 compiling it. Give an error when trying to compile a closure
27928 without its context. (closes #9951)
27929Files: src/vim9compile.c, src/vim9execute.c, src/proto/vim9execute.pro,
27930 src/vim9expr.c, src/errors.h
27931
27932Patch 8.2.4574
27933Problem: Vim9: test for profiling fails.
27934Solution: Mark function for profiling earlier to avoid E1271.
27935Files: src/testdir/test_vim9_script.vim
27936
27937Patch 8.2.4575
27938Problem: Vim9: test for profiling still fails.
27939Solution: Update flags for profiling and breakpoints when obtaining the
27940 compile type. Do not set the FC_CLOSURE flag for a toplevel
27941 function.
27942Files: src/vim.h, src/vim9compile.c, src/proto/vim9compile.pro,
27943 src/eval.c, src/vim9execute.c, src/vim9expr.c, src/vim9instr.c,
27944 src/vim9.h
27945
27946Patch 8.2.4576
27947Problem: Vim9: error for comparing with null can be annoying.
27948Solution: Allow comparing anything with null. (closes #9948)
27949Files: src/vim9instr.c, src/typval.c, src/testdir/test_vim9_expr.vim
27950
27951Patch 8.2.4577
27952Problem: Message test is flaky. (Elimar Riesebieter)
27953Solution: Trigger the autocommand event only after startup is finished.
27954Files: src/testdir/test_messages.vim
27955
27956Patch 8.2.4578
27957Problem: No warning when an autoload script for completion function has an
27958 error.
27959Solution: Do not ignore errors when a function name is given with a dot or
27960 '#' character. (closes #9958)
27961Files: src/eval.c, src/testdir/test_cmdline.vim
27962
27963Patch 8.2.4579
27964Problem: Cannot use page-up and page-down in the command line completion
27965 popup menu.
27966Solution: Check for to page-up and page-down keys. (Yegappan Lakshmanan,
27967 closes #9960)
27968Files: src/cmdexpand.c, src/ex_getln.c, src/spellsuggest.c, src/vim.h,
27969 src/testdir/test_cmdline.vim,
27970 src/testdir/dumps/Test_wildmenu_pum_42.dump,
27971 src/testdir/dumps/Test_wildmenu_pum_43.dump,
27972 src/testdir/dumps/Test_wildmenu_pum_44.dump,
27973 src/testdir/dumps/Test_wildmenu_pum_45.dump,
27974 src/testdir/dumps/Test_wildmenu_pum_46.dump,
27975 src/testdir/dumps/Test_wildmenu_pum_47.dump,
27976 src/testdir/dumps/Test_wildmenu_pum_48.dump,
27977 src/testdir/dumps/Test_wildmenu_pum_49.dump,
27978 src/testdir/dumps/Test_wildmenu_pum_50.dump
27979
27980Patch 8.2.4580
27981Problem: Vim9: incorrect error for shadowing variable.
27982Solution: Do not pass the context when compiling a referenced function.
27983Files: src/vim9expr.c, src/testdir/test_vim9_func.vim
27984
27985Patch 8.2.4581
27986Problem: Null types not fully tested.
27987Solution: Add some more tests using null types.
27988Files: src/testdir/test_vim9_expr.vim
27989
27990Patch 8.2.4582
27991Problem: Useless code handling a type declaration.
27992Solution: Remove the code and give an error.
27993Files: src/eval.c, src/errors.h, src/testdir/test_vim9_script.vim,
27994 src/testdir/dumps/Test_misplaced_type.dump
27995
27996Patch 8.2.4583 (after 8.2.4582)
27997Problem: Screendump test fails.
27998Solution: Check that making a screendump is possible.
27999Files: src/testdir/test_vim9_script.vim
28000
28001Patch 8.2.4584 (after 8.2.4578)
28002Problem: Error for using autoload function in custom completion.
28003Solution: Do not check for errors when using an autoload function.
28004 (closes #9962)
28005Files: src/eval.c, src/testdir/test_cmdline.vim
28006
28007Patch 8.2.4585
28008Problem: Cannot use keypad page-up/down for completion menu.
28009Solution: Recognize the keypad keys. (Yegappan Lakshmanan, closes #9963)
28010Files: src/ex_getln.c, src/testdir/test_cmdline.vim
28011
28012Patch 8.2.4586
28013Problem: Vim9: no error for using lower case name for "func" argument.
28014 (Ernie Rael)
28015Solution: Check the name as soon as the type is known.
28016Files: src/userfunc.c, src/testdir/test_vim9_func.vim
28017
28018Patch 8.2.4587
28019Problem: Vim9: double free after unpacking a list.
28020Solution: Make a copy of the value instead of moving it. (closes #9968)
28021Files: src/vim9execute.c, src/testdir/test_vim9_script.vim
28022
28023Patch 8.2.4588
28024Problem: Mapping with key code after other matching mapping does not work.
28025Solution: Change ">" to ">=". (closes #9903)
28026Files: src/getchar.c, src/testdir/test_termcodes.vim
28027
28028Patch 8.2.4589
28029Problem: Cannot index the g: dictionary.
28030Solution: Recognize using "g:[key]". (closes #9969)
28031Files: src/ex_docmd.c, src/eval.c, src/vim9compile.c,
28032 src/testdir/test_vim9_assign.vim
28033
28034Patch 8.2.4590
28035Problem: Vim9: range type check has wrong offset.
28036Solution: Adjust offset for CHECKTYPE. Remove other type check.
28037Files: src/vim9compile.c, src/vim9execute.c,
28038 src/testdir/test_vim9_assign.vim
28039
28040Patch 8.2.4591
28041Problem: Cursor line not updated when a callback moves the cursor.
28042Solution: Check if the cursor moved. (closes #9970)
28043Files: src/main.c, src/drawscreen.c, src/proto/drawscreen.pro,
28044 src/testdir/test_cursorline.vim,
28045 src/testdir/dumps/Test_cursorline_callback_1.dump
28046
28047Patch 8.2.4592
28048Problem: Search continues after giving E1204.
28049Solution: Return failure after giving E1204. (closes #9972)
28050Files: src/regexp_nfa.c
28051
28052Patch 8.2.4593
28053Problem: Unnecessary call to redraw_later().
28054Solution: Remove the call to redraw_later() in op_yank(). (closes #9971)
28055Files: src/register.c
28056
28057Patch 8.2.4594
28058Problem: Need to write script to a file to be able to source them.
28059Solution: Make ":source" use lines from the current buffer. (Yegappan
28060 Lakshmanan et al., closes #9967)
28061Files: runtime/doc/repeat.txt, runtime/doc/todo.txt, src/alloc.c,
28062 src/digraph.c, src/eval.c, src/ex_cmds.h, src/scriptfile.c,
28063 src/proto/scriptfile.pro, src/vim9script.c,
28064 src/testdir/test_source.vim
28065
28066Patch 8.2.4595
28067Problem: X11: using --remote-wait may keep the CPU busy.
28068Solution: Set the timeout for select() on every call. (Jacopo Secchiero,
28069 closes #9973)
28070Files: src/if_xcmdsrv.c
28071
28072Patch 8.2.4596
28073Problem: Installing tutor binary may fail.
28074Solution: Fix the dependency. (Sergei Trofimovich, closes #9978)
28075Files: src/Makefile
28076
28077Patch 8.2.4597
28078Problem: LuaV_debug() not covered by tests.
28079Solution: Add a test. (Dominique Pellé, closes #9980)
28080Files: src/testdir/test_lua.vim
28081
28082Patch 8.2.4598
28083Problem: Profile completion test sometimes fails.
28084Solution: Delete the .res file before running tests.
28085Files: src/testdir/runtest.vim
28086
28087Patch 8.2.4599
28088Problem: GTK: get assertion errors when scrolling a split window.
28089Solution: Use GDK_IS_DRAWABLE() on the scrollbar window. (closes #9982)
28090Files: src/gui_gtk.c
28091
28092Patch 8.2.4600
28093Problem: Vim9: not enough test coverage for executing :def function.
28094Solution: Add a few more tests. Fix inconsistencies.
28095Files: src/vim9execute.c, src/evalvars.c, src/proto/evalvars.pro,
28096 src/testdir/test_listdict.vim, src/testdir/test_vim9_assign.vim,
28097 src/testdir/test_vim9_cmd.vim
28098
28099Patch 8.2.4601
28100Problem: Vim9: not enough test coverage for executing :def function.
28101Solution: Add a few more tests.
28102Files: src/testdir/test_vim9_script.vim, src/testdir/test_vim9_func.vim,
28103 src/testdir/test_vim9_cmd.vim
28104
28105Patch 8.2.4602
28106Problem: Vim9: not enough test coverage for executing :def function.
28107Solution: Add a few more tests. Fix uncovered problem. Remove dead code.
28108Files: src/vim9execute.c, src/vim9.h, src/vim9instr.c,
28109 src/proto/vim9instr.pro, src/vim9compile.c,
28110 src/testdir/test_vim9_script.vim, src/testdir/test_vim9_expr.vim
28111
28112Patch 8.2.4603
28113Problem: Sourcing buffer lines is too complicated.
28114Solution: Simplify the code. Make it possible to source Vim9 script lines.
28115 (Yegappan Lakshmanan, closes #9974)
28116Files: runtime/doc/repeat.txt, src/ex_docmd.c, src/proto/scriptfile.pro,
28117 src/scriptfile.c, src/structs.h, src/testdir/test_source.vim
28118
28119Patch 8.2.4604
28120Problem: Error for redefining a script item may be confusing.
28121Solution: Put quotes around the name.
28122Files: src/errors.h
28123
28124Patch 8.2.4605
28125Problem: Error for arguments of remote_expr() even when the +clientserver
28126 feature is not included.
28127Solution: Move #ifdef.
28128Files: src/clientserver.c
28129
28130Patch 8.2.4606 (after 8.2.4605)
28131Problem: Test fails because of changed error message.
28132Solution: Update the expected error message
28133Files: src/testdir/test_vim9_import.vim
28134
28135Patch 8.2.4607
28136Problem: Sourcing buffer lines may lead to errors for conflicts.
28137Solution: Add the ++clear argument. (Yegappan Lakshmanan, closes #9991)
28138Files: runtime/doc/repeat.txt, src/scriptfile.c, src/vim9script.c,
28139 src/proto/vim9script.pro, src/testdir/test_source.vim
28140
28141Patch 8.2.4608
28142Problem: getcompletion() does not work properly when 'wildoptions
28143 contains "fuzzy".
28144Solution: Do not use addstar(). (Yegappan Lakshmanan, closes #9992,
28145 closes #9986)
28146Files: runtime/doc/builtin.txt, src/cmdexpand.c,
28147 src/testdir/test_cmdline.vim
28148
28149Patch 8.2.4609
28150Problem: :unhide does not check for failing to close a window.
28151Solution: When closing a window fails continue with the next one. Do not
28152 try closing the autocmd window. (closes #9984)
28153Files: src/buffer.c, src/window.c, src/proto/window.pro,
28154 src/testdir/test_autocmd.vim
28155
28156Patch 8.2.4610
28157Problem: Some conditions are always true.
28158Solution: Remove the useless conditions. (closes #9993)
28159Files: src/clientserver.c, src/drawline.c, src/drawscreen.c,
28160 src/ex_cmds.c, src/fileio.c, src/message.c, src/misc2.c,
28161 src/ops.c, src/sign.c, src/spell.c, src/vim9cmds.c, src/window.c
28162
28163Patch 8.2.4611
28164Problem: Typos in tests; one lua line not covered by test.
28165Solution: Fix typos. Add test case. (Dominique Pellé, closes #9994)
28166Files: src/testdir/test_breakindent.vim, src/testdir/test_crypt.vim,
28167 src/testdir/test_cursorline.vim, src/testdir/test_digraph.vim,
28168 src/testdir/test_gui.vim, src/testdir/test_lua.vim,
28169 src/testdir/test_regexp_latin.vim, src/testdir/test_signals.vim,
28170 src/testdir/test_spell.vim, src/testdir/test_statusline.vim,
28171 src/testdir/test_vim9_disassemble.vim,
28172 src/testdir/test_vim9_expr.vim, src/testdir/test_vimscript.vim
28173
28174Patch 8.2.4612
28175Problem: Vim9: cannot use a recursive call in a nested function. (Sergey
28176 Vlasov)
28177Solution: Define the funcref before compiling the function. (closes #9989)
28178Files: src/vim9compile.c, src/vim9instr.c, src/proto/vim9instr.pro,
28179 src/vim9expr.c, src/testdir/test_vim9_func.vim
28180
28181Patch 8.2.4613
28182Problem: Return type of swapfile_unchanged() is wrong.
28183Solution: Use "int". (closes #10000 Yeah!)
28184Files: src/memline.c
28185
28186Patch 8.2.4614
28187Problem: Redrawing too much when 'cursorline' is set and jumping around.
28188Solution: Rely on win_update() to redraw the current and previous cursor
28189 line, do not mark lines as modified. (closes #9996)
28190Files: src/drawline.c, src/drawscreen.c, src/move.c, src/proto/move.pro,
28191 src/option.c
28192
28193Patch 8.2.4615
28194Problem: Mapping with escaped bar does not work in :def function. (Sergey
28195 Vlasov)
28196Solution: Do not remove the backslash. (closes #10002)
28197Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/syntax.c,
28198 src/vim9cmds.c, src/testdir/test_vim9_cmd.vim
28199
28200Patch 8.2.4616
28201Problem: Vim9: Declarations in a {} block of a user command do not use Vim9
28202 rules if defined in a legacy script. (Yegappan Lakshmanan)
28203Solution: Pretend the script is Vim9 script.
28204Files: src/usercmd.c, src/testdir/test_usercommands.vim
28205
28206Patch 8.2.4617
28207Problem: No completion for :scriptnames.
28208Solution: Implement :scriptnames completion. (Yegappan Lakshmanan,
28209 closes #10005)
28210Files: runtime/doc/builtin.txt, src/cmdexpand.c, src/ex_cmds.h,
28211 src/scriptfile.c, src/usercmd.c, src/vim.h,
28212 src/testdir/test_cmdline.vim, src/testdir/test_quickfix.vim
28213
28214Patch 8.2.4618
28215Problem: Command line completion does not recognize single letter commands.
28216Solution: Use the condition from find_ex_command().
28217Files: src/ex_docmd.c
28218
28219Patch 8.2.4619
28220Problem: Mapping is cancelled when mouse moves and popup is visible.
28221Solution: Only generate mouse moved events when a popup may use them.
28222 (closes #10004)
28223Files: src/gui.c, src/globals.h, src/popupwin.c
28224
28225Patch 8.2.4620 (after 8.2.4618)
28226Problem: Two letter substitute commands don't work. (Yegappan Lakshmanan)
28227Solution: Invert condition.
28228Files: src/ex_docmd.c
28229
28230Patch 8.2.4621
28231Problem: Crash when using the tabline right-click menu.
28232Solution: Use XtPointer for XmNuserData. (closes #10009)
28233Files: src/gui_motif.c
28234
28235Patch 8.2.4622
28236Problem: Vim9: Crash with :execute and :finish. (Sergey Vlasov)
28237Solution: Check for NULL. (closes #10011)
28238Files: src/eval.c, src/testdir/test_vim9_script.vim
28239
28240Patch 8.2.4623
28241Problem: Coverity warns for using uninitialized field.
28242Solution: Initialize he field to zero.
28243Files: src/ex_docmd.c
28244
28245Patch 8.2.4624
28246Problem: Old Coverity warning for resource leak.
28247Solution: Close the file if memory allocation fails.
28248Files: src/diff.c
28249
28250Patch 8.2.4625
28251Problem: Old Coverity warning for resource leak.
28252Solution: Call FreeWild() if expanding matches did not fail.
28253Files: src/help.c
28254
28255Patch 8.2.4626
28256Problem: Visual area not fully updated when removing sign in Visual mode
28257 while scrolling.
28258Solution: Adjust check for topline. (closes #10017)
28259Files: src/drawscreen.c, src/testdir/test_display.vim,
28260 src/testdir/dumps/Test_display_scroll_update_visual.dump
28261
28262Patch 8.2.4627
28263Problem: flatten() does not use maxdepth correctly.
28264Solution: Use a recursive implementation. (closes #10020)
28265Files: src/list.c, src/testdir/test_flatten.vim
28266
28267Patch 8.2.4628
28268Problem: Not enough testing for 2/3 letter substitute commands.
28269Solution: Add more tests. (Yegappan Lakshmanan, closes #10019)
28270Files: src/testdir/test_cmdline.vim, src/testdir/test_substitute.vim
28271
28272Patch 8.2.4629
28273Problem: flattennew() makes a deep copy unnecessarily.
28274Solution: Use a shallow copy. (issue #10012)
28275Files: src/list.c
28276
28277Patch 8.2.4630
28278Problem: 'cursorline' not always updated with 'cursorlineopt' is
28279 "screenline".
28280Solution: Call check_redraw_cursorline() more often. (closes #10013)
28281Files: src/normal.c, src/edit.c, src/testdir/test_cursorline.vim,
28282 src/testdir/dumps/Test_cursorline_screenline_1.dump,
28283 src/testdir/dumps/Test_cursorline_screenline_2.dump
28284
28285Patch 8.2.4631
28286Problem: Crash when switching window in BufWipeout autocommand.
28287Solution: Put any buffer in the window to avoid it being NULL.
28288 (closes #10024)
28289Files: src/window.c, src/buffer.c, src/testdir/test_autocmd.vim
28290
28291Patch 8.2.4632
28292Problem: Using freed memory in flatten().
28293Solution: Clear typval after recursing into list.
28294Files: src/list.c
28295
28296Patch 8.2.4633
28297Problem: Visual range does not work before command modifiers.
28298Solution: Move Visual range to after command modifiers.
28299Files: src/ex_docmd.c, src/testdir/test_source.vim
28300
28301Patch 8.2.4634
28302Problem: Vim9: cannot initialize a variable to null_list.
28303Solution: Give negative count to NEWLIST. (closes #10027)
28304 Also fix inconsistencies in comparing with null values.
28305Files: src/vim9instr.c, src/proto/vim9instr.pro, src/vim9.h,
28306 src/vim9compile.c, src/vim9expr.c, src/vim9execute.c,
28307 src/evalvars.c, src/typval.c, src/testdir/test_vim9_expr.vim,
28308 src/testdir/test_vim9_builtin.vim,
28309 src/testdir/test_vim9_disassemble.vim
28310
28311Patch 8.2.4635 (after 8.2.4634)
28312Problem: Tests using null list or dict fail.
28313Solution: Only use the new rules for Vim9 script.
28314Files: src/evalvars.c
28315
28316Patch 8.2.4636 (after 8.2.4633)
28317Problem: Not using Visual range.
28318Solution: Put the command pointer back to the range.
28319Files: src/ex_docmd.c
28320
28321Patch 8.2.4637
28322Problem: Warning for using uninitialized variable. (Tony Mechelynck)
28323Solution: Initialize it.
28324Files: src/ex_docmd.c
28325
28326Patch 8.2.4638
28327Problem: Superfluous check if a redraw is needed for 'cursorline'.
28328Solution: Remove check_redraw_cursorline(). (closes #10030, closes #10029)
28329Files: src/drawscreen.c, src/proto/drawscreen.pro, src/edit.c,
28330 src/main.c, src/normal.c, src/move.c,
28331 src/testdir/dumps/Test_cursorcolumn_callback_1.dump,
28332 src/testdir/dumps/Test_relativenumber_callback_1.dump,
28333 src/testdir/test_highlight.vim, src/testdir/test_number.vim
28334
28335Patch 8.2.4639
28336Problem: Not sufficient parenthesis in preprocessor macros.
28337Solution: Add more parenthesis. (closes #10031)
28338Files: src/globals.h, src/gui.h, src/if_py_both.h, src/macros.h,
28339 src/option.h, src/regexp.h, src/spell.h, src/structs.h, src/vim.h,
28340 src/vim9.h
28341
28342Patch 8.2.4640
28343Problem: Some boolean options use "long" instead of "int".
28344Solution: Adjust the type. (James McCoy, closes #10033)
28345Files: src/option.h
28346
28347Patch 8.2.4641
28348Problem: May mark the wrong window for redrawing.
28349Solution: Use redraw_win_later(). (closes #10032)
28350Files: src/move.c
28351
28352Patch 8.2.4642
28353Problem: Vim9: in :def function script var cannot be null.
28354Solution: Only initialize a script variable when not set to a null value.
28355 (closes #10034)
28356Files: src/vim9execute.c, src/vim9type.c, src/globals.h, src/evalvars.c,
28357 src/vim.h, src/vim9script.c, src/testdir/test_vim9_expr.vim
28358
28359Patch 8.2.4643
28360Problem: Vim9: variable may be locked unintentionally.
28361Solution: Clear "v_lock". (closes #10036)
28362Files: src/vim9execute.c, src/testdir/test_vim9_builtin.vim
28363
28364Patch 8.2.4644
28365Problem: Redrawing too often when 'relativenumber' is set.
28366Solution: Only redraw when the cursor line changed. (Lewis Russell,
28367 closes #10040)
28368Files: src/change.c, src/drawscreen.c, src/structs.h
28369
28370Patch 8.2.4645
28371Problem: 'shortmess' changed when session does not store options.
28372Solution: Save and restore 'shortmess' if needed. (James Charti,
28373 closes #10037)
28374Files: src/session.c, src/testdir/test_mksession.vim
28375
28376Patch 8.2.4646
28377Problem: Using buffer line after it has been freed in old regexp engine.
28378Solution: After getting mark get the line again.
28379Files: src/regexp_bt.c, src/testdir/test_regexp_latin.vim
28380
28381Patch 8.2.4647
28382Problem: "source" can read past end of copied line.
28383Solution: Add a terminating NUL.
28384Files: src/scriptfile.c, src/testdir/test_source.vim
28385
28386Patch 8.2.4648
28387Problem: Handling LSP messages is a bit slow.
28388Solution: Included support for LSP messages. (Yegappan Lakshmanan,
28389 closes #10025)
28390Files: runtime/doc/channel.txt, src/channel.c, src/job.c, src/json.c,
28391 src/proto/json.pro, src/structs.h, src/testdir/test_channel.vim,
28392 src/testdir/test_channel_lsp.py
28393
28394Patch 8.2.4649
28395Problem: Various formatting problems.
28396Solution: Improve the code formatting.
28397Files: src/mark.c, src/quickfix.c, src/regexp_nfa.c, src/register.c,
28398 src/testdir/test_filechanged.vim, src/gui_athena.c,
28399 src/gui_motif.c, src/os_unix.c
28400
28401Patch 8.2.4650
28402Problem: "import autoload" only works with using 'runtimepath'.
28403Solution: Also support a relative and absolute file name.
28404Files: runtime/doc/vim9.txt, src/structs.h, src/scriptfile.c,
28405 src/proto/scriptfile.pro, src/vim9script.c, src/vim9expr.c,
28406 src/vim9.h, src/vim9execute.c, src/vim9instr.c,
28407 src/proto/vim9instr.pro, src/vim.h, src/userfunc.c,
28408 src/proto/userfunc.pro, src/testdir/test_vim9_import.vim,
28409 src/testdir/test_vim9_disassemble.vim
28410
28411Patch 8.2.4651 (after 8.2.4650)
28412Problem: Test fails because path differs.
28413Solution: Only compare the tail of the path.
28414Files: src/testdir/test_vim9_disassemble.vim
28415
28416Patch 8.2.4652 (after 8.2.4650)
28417Problem: Leaking memory if assignment fails.
28418Solution: Clear assigned value on failure.
28419Files: src/vim9execute.c
28420
28421Patch 8.2.4653
28422Problem: "import autoload" does not check the file name.
28423Solution: Give an error if the file is not readable. (closes #10049)
28424Files: src/filepath.c, src/proto/filepath.pro, src/errors.h,
28425 src/ex_cmds.c, src/ex_docmd.c, src/spellfile.c,
28426 src/testdir/test_vim9_import.vim
28427
28428Patch 8.2.4654 (after 8.2.4653)
28429Problem: Missing changes for import check.
28430Solution: Add missing changes.
28431Files: src/vim9script.c
28432
28433Patch 8.2.4655
28434Problem: Command line completion popup menu positioned wrong when using a
28435 terminal window.
28436Solution: Position the popup menu differently when editing the command line.
28437 (Yegappan Lakshmanan, closes #10050, closes #10035)
28438Files: src/popupmenu.c, src/testdir/test_cmdline.vim,
28439 src/testdir/test_terminal.vim,
28440 src/testdir/dumps/Test_wildmenu_pum_term_01.dump
28441
28442Patch 8.2.4656
28443Problem: Vim9: can't use items from "import autoload" with autoload
28444 directory name.
28445Solution: Let sn_autoload_prefix overrule sn_import_autoload.
28446 (closes #10054)
28447Files: src/structs.h, src/vim9instr.c, src/vim9expr.c, src/vim9script.c,
28448 src/testdir/test_vim9_import.vim
28449
28450Patch 8.2.4657
28451Problem: Errors for functions are sometimes hard to read.
28452Solution: Use printable_func_name() in more places.
28453Files: src/vim9execute.c, src/userfunc.c, src/proto/userfunc.pro,
28454 src/vim9expr.c, src/eval.c, src/vim9instr.c, src/vim9type.c,
28455 src/testdir/test_vim9_expr.vim
28456
28457Patch 8.2.4658
28458Problem: Org-mode files are not recognized.
28459Solution: Add patterns to recognize "org" files. (closes #10046)
28460Files: runtime/filetype.vim, src/testdir/test_filetype.vim
28461
28462Patch 8.2.4659
28463Problem: Invalid memory access when using printable function name.
28464Solution: Adjust copied name length.
28465Files: src/userfunc.c
28466
28467Patch 8.2.4660
28468Problem: Cursorcolumn is sometimes not correct.
28469Solution: Recompute the cursor column when entering Insert mode and the
28470 cursor is on a character wider than a screen cell. (closes #10057)
28471Files: src/edit.c, src/testdir/test_highlight.vim,
28472 src/testdir/dumps/Test_cursorcolumn_insert_on_tab_1.dump,
28473 src/testdir/dumps/Test_cursorcolumn_insert_on_tab_2.dump
28474
28475Patch 8.2.4661
28476Problem: Coverity warning for using uninitialized variable.
28477Solution: Initialize variable to NULL.
28478Files: src/vim9expr.c
28479
28480Patch 8.2.4662
28481Problem: No error for using out of range list index.
28482Solution: Check list index at script level like in compiled function.
28483 (closes #10051)
28484Files: src/vim.h, src/evalvars.c, src/list.c, src/proto/list.pro,
28485 src/eval.c, src/vim9execute.c, src/testdir/test_vim9_assign.vim
28486
28487Patch 8.2.4663
28488Problem: Occasional crash when running the GUI tests.
28489Solution: Check that the line index is not too high. (closes #8681)
28490Files: src/screen.c
28491
28492Patch 8.2.4664
28493Problem: Elvish files are not recognized.
28494Solution: Recognize .elv files. (Bruno Roque, closes #10058)
28495Files: runtime/filetype.vim, src/testdir/test_filetype.vim
28496
28497Patch 8.2.4665
28498Problem: Popup with "minwidth" and scrollbar not updated properly.
28499Solution: Adjust the computation if the window width. (closes #10061)
28500Files: src/popupwin.c, src/testdir/test_popupwin.vim,
28501 src/testdir/dumps/Test_popupwin_previewpopup_4.dump,
28502 src/testdir/dumps/Test_popupwin_previewpopup_5.dump,
28503 src/testdir/dumps/Test_popupwin_previewpopup_7.dump,
28504 src/testdir/dumps/Test_popupwin_previewpopup_8.dump,
28505 src/testdir/dumps/Test_popupwin_previewpopup_9.dump,
28506 src/testdir/dumps/Test_popupwin_previewpopup_10.dump,
28507 src/testdir/dumps/Test_popupwin_drag_minwidth_1.dump,
28508 src/testdir/dumps/Test_popupwin_drag_minwidth_2.dump,
28509 src/testdir/dumps/Test_popupwin_drag_minwidth_3.dump
28510
28511Patch 8.2.4666
28512Problem: Vim9: assignment not recognized in skipped block.
28513Solution: When skipping assume identifier exists. (closes #10059)
28514Files: src/vim9compile.c, src/proto/vim9compile.pro, src/vim9cmds.c,
28515 src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_script.vim
28516
28517Patch 8.2.4667
28518Problem: expandcmd() fails on an error.
28519Solution: On failure return the command unmodified. (yegappan Lakshmanan,
28520 closes #10063)
28521Files: runtime/doc/builtin.txt, src/evalfunc.c,
28522 src/testdir/test_expand.vim
28523
28524Patch 8.2.4668
28525Problem: Buffer allocation failures insufficiently tested.
28526Solution: Add tests for memory allocation failures. (Yegappan Lakshmanan,
28527 closes #10064)
28528Files: src/alloc.h, src/buffer.c, src/popupwin.c, src/window.c,
28529 src/testdir/test_buffer.vim, src/testdir/test_swap.vim
28530
28531Patch 8.2.4669
28532Problem: In compiled code len('string') is not inlined.
28533Solution: Compute the length at compile time if possible. (closes #10065)
28534Files: src/evalfunc.c, src/proto/evalfunc.pro, src/vim9expr.c,
28535 src/testdir/test_vim9_disassemble.vim
28536
28537Patch 8.2.4670
28538Problem: Memory allocation failures for new tab page not tested.
28539Solution: Add tests with failing memory allocation. (Yegappan Lakshmanan,
28540 closes #10067)
28541Files: src/alloc.h, src/blob.c, src/buffer.c, src/window.c,
28542 src/testdir/test_blob.vim, src/testdir/test_buffer.vim,
28543 src/testdir/test_tabpage.vim, src/testdir/test_window_cmd.vim
28544
28545Patch 8.2.4671
28546Problem: 'wildignorecase' is sometimes not used for glob().
28547Solution: Also use 'wildignorecase' when there are no wildcards.
28548 (closes #10066, closes #8350)
28549Files: src/filepath.c, src/testdir/test_functions.vim
28550
28551Patch 8.2.4672
28552Problem: Using :normal with Ex mode may make :substitute hang.
28553Solution: When getting an empty line behave like 'q' was typed.
28554 (closes #10070)
28555Files: src/ex_cmds.c, src/testdir/test_normal.vim
28556
28557Patch 8.2.4673
28558Problem: Redrawing a vertically split window is slow when using CTRL-F and
28559 CTRL-B.
28560Solution: When deciding on USE_REDRAW bail out if scrolling more than three
28561 lines. (issue #8002)
28562Files: src/screen.c
28563
28564Patch 8.2.4674
28565Problem: Cannot force getting MouseMove events.
28566Solution: Add the 'mousemoveevent' option with implementaiton for the GUI.
28567 (Ernie Rael, closes #10044)
28568Files: runtime/doc/gui.txt, runtime/doc/options.txt,
28569 runtime/doc/testing.txt, src/gui.c, src/option.h,
28570 src/optiondefs.h, src/testing.c, src/testdir/test_gui.vim
28571
28572Patch 8.2.4675
28573Problem: No error for missing expression after :elseif. (Ernie Rael)
28574Solution: Check for missing expression. (closes #10068)
28575Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
28576
28577Patch 8.2.4676 (after 8.2.4675)
28578Problem: Test fails with different error.
28579Solution: Add argument to :elseif.
28580Files: src/testdir/test_vimscript.vim
28581
28582Patch 8.2.4677
28583Problem: The Athena GUI support is outdated.
28584Solution: Remove the Athena GUI code.
28585Files: Filelist, src/Makefile, src/proto.h, src/clipboard.c,
28586 src/gui_athena.c, src/proto/gui_athena.pro, src/gui_at_sb.c,
28587 src/gui_at_sb.h, src/gui_at_fs.c, src/gui_motif.c, src/evalfunc.c,
28588 src/gui.c, src/gui_beval.c, src/gui_x11.c, src/if_mzsch.c,
28589 src/main.c, src/menu.c, src/mouse.c, src/version.c, src/feature.h,
28590 src/gui.h, src/structs.h, src/vim.h, src/testdir/gui_init.vim,
28591 src/testdir/setup_gui.vim, src/testdir/test_clientserver.vim,
28592 src/testdir/test_edit.vim, src/testdir/test_gui.vim,
28593 src/testdir/test_highlight.vim, src/testdir/test_quotestar.vim,
28594 src/testdir/test_startup.vim, runtime/doc/gui.txt,
28595 runtime/doc/gui_x11.txt
28596
28597Patch 8.2.4678
28598Problem: Vim9: not all code is tested.
28599Solution: Add a few more tests.
28600Files: src/vim9execute.c, src/testdir/test_vim9_script.vim,
28601 src/testdir/test_vim9_import.vim, src/testdir/test_vim9_cmd.vim
28602
28603Patch 8.2.4679
28604Problem: Cannot have expandcmd() give an error message for mistakes.
28605Solution: Add an optional argument to give errors. Fix memory leak when
28606 expanding files fails. (Yegappan Lakshmanan, closes #10071)
28607Files: runtime/doc/builtin.txt, src/evalfunc.c, src/filepath.c,
28608 src/testdir/test_expand.vim, src/testdir/test_vim9_builtin.vim
28609
28610Patch 8.2.4680
28611Problem: Build failure without +postscript.
28612Solution: Use another error message.
28613Files: src/vim9execute.c, src/testdir/test_vim9_import.vim
28614
28615Patch 8.2.4681
28616Problem: Build fails with a combination of features.
28617Solution: Remove #ifdef for alloc_clear_id(). (John Marriott)
28618Files: src/alloc.c
28619
28620Patch 8.2.4682
28621Problem: Vim9: can use :unlockvar for const variable. (Ernie Rael)
28622Solution: Check whether the variable is a const.
28623Files: src/ex_docmd.c, src/evalvars.c, src/vim9script.c,
28624 src/proto/vim9script.pro, src/eval.c, src/userfunc.c,
28625 src/testdir/test_vim9_cmd.vim
28626
28627Patch 8.2.4683
28628Problem: Verbose check with dict_find() to see if a key is present.
28629Solution: Add dict_has_key(). (Yegappan Lakshmanan, closes #10074)
28630Files: src/channel.c, src/dict.c, src/evalwindow.c, src/filepath.c,
28631 src/highlight.c, src/json.c, src/match.c, src/popupwin.c,
28632 src/proto/dict.pro, src/quickfix.c, src/search.c, src/sign.c,
28633 src/tag.c, src/terminal.c, src/testing.c, src/textprop.c,
28634 src/time.c
28635
28636Patch 8.2.4684
28637Problem: Cannot open a channel on a Unix domain socket.
28638Solution: Add Unix domain socket support. (closes #10062)
28639Files: runtime/doc/channel.txt, src/channel.c, src/testdir/check.vim,
28640 src/testdir/shared.vim, src/testdir/test_channel.py,
28641 src/testdir/test_channel.vim, src/testdir/test_channel_unix.py,
28642 src/testdir/test_cmdline.vim
28643
28644Patch 8.2.4685
28645Problem: When a swap file is found for a popup there is no dialog and the
28646 buffer is loaded anyway.
28647Solution: Silently load the buffer read-only. (closes #10073)
28648Files: runtime/doc/popup.txt, src/memline.c, src/popupwin.c, src/vim.h,
28649 src/buffer.c, src/testdir/test_popupwin.vim
28650
28651Patch 8.2.4686
28652Problem: Configure doesn't find the Motif library with Cygwin.
28653Solution: Check for libXm.dll.a. (Kelvin Lee, closes #10077)
28654Files: src/configure.ac, src/auto/configure
28655
28656Patch 8.2.4687
28657Problem: "vimgrep /\%v/ *" may cause a crash.
28658Solution: When compiling the pattern with the old engine fails, restore the
28659 regprog of the new engine instead of leaving it NULL.
28660 (closes #10079)
28661Files: src/regexp.c
28662
28663Patch 8.2.4688
28664Problem: New regexp engine does not give an error for "\%v".
28665Solution: Check for a value argument. (issue #10079)
28666Files: src/regexp_nfa.c, src/errors.h, src/regexp_bt.c,
28667 src/testdir/test_regexp_latin.vim
28668
28669Patch 8.2.4689
28670Problem: Using <Cmd> in a mapping does not work for mouse keys in Insert
28671 mode. (Sergey Vlasov)
28672Solution: When reading the <Cmd> argument do not use the stuff buffer.
28673 (closes #10080)
28674Files: src/getchar.c
28675
28676Patch 8.2.4690
28677Problem: Channel tests fail on MS-Windows.
28678Solution: Check if the AF_UNIX attribute exists. (closes #10083)
28679Files: src/testdir/test_channel.py, src/testdir/test_channel_unix.py
28680
28681Patch 8.2.4691 (after 8.2.4689)
28682Problem: Solution for <Cmd> in a mapping causes trouble.
28683Solution: Use another solution: put back CTRL-O after reading the <Cmd>
28684 sequence.
28685Files: src/getchar.c
28686
28687Patch 8.2.4692
28688Problem: No test for what 8.2.4691 fixes.
28689Solution: Add a test. Use a more generic sotlution. (closes #10090)
28690Files: src/getchar.c, src/mouse.c, src/testdir/test_mapping.vim
28691
28692Patch 8.2.4693 (after 8.2.4688)
28693Problem: new regexp does not accept pattern "\%>0v".
28694Solution: Do accept digit zero.
28695Files: src/regexp_bt.c, src/regexp_nfa.c,
28696 src/testdir/test_regexp_latin.vim
28697
28698Patch 8.2.4694
28699Problem: Avoidance of #elif causes more preproc nesting.
28700Solution: Use #elif where it is useful. (Ozaki Kiichi, closes #10081)
28701Files: src/option.c, src/optiondefs.h, src/optionstr.c, src/version.c
28702
28703Patch 8.2.4695
28704Problem: JSON encoding could be faster.
28705Solution: Optimize encoding JSON strings. (closes #10086)
28706Files: src/json.c, src/testdir/test_json.vim
28707
28708Patch 8.2.4696
28709Problem: delete() with "rf" argument does not report a failure.
28710Solution: Return -1 if the directory could not be removed. (closes #10078)
28711Files: src/fileio.c, src/testdir/test_functions.vim
28712
28713Patch 8.2.4697
28714Problem: Vim9: crash when adding a duplicate key to a dictionary.
28715Solution: Clear the stack item when it has been moved into the dictionary.
28716 (closes #10087)
28717Files: src/vim9execute.c, src/testdir/test_vim9_expr.vim
28718
28719Patch 8.2.4698
28720Problem: Vim9: script variable has no flag that it was set.
28721Solution: Add a flag that it was set, to avoid giving it a value when used.
28722 (closes #10088)
28723Files: src/structs.h, src/vim9script.c, src/vim9execute.c,
28724 src/evalvars.c, src/testdir/test_vim9_assign.vim,
28725 src/testdir/test_vim9_builtin.vim
28726
28727Patch 8.2.4699
28728Problem: Hard to reproduce hang when reading from a channel.
28729Solution: Check for readahead before starting to wait. (closes #10093,
28730 closes #7781, closes #6364)
28731Files: src/channel.c
28732
28733Patch 8.2.4700
28734Problem: Buffer remains active if a WinClosed event throws an exception.
28735Solution: Ignore aborting() when closing the buffer. (closes #10097)
28736Files: src/window.c, src/testdir/test_autocmd.vim
28737
28738Patch 8.2.4701
28739Problem: Kuka Robot Language files not recognized.
28740Solution: Recognize *.src and *.dat files. (Patrick Meiser-Knosowski,
28741 closes #10096)
28742Files: runtime/filetype.vim, src/testdir/test_filetype.vim,
28743 runtime/autoload/dist/ft.vim
28744
28745Patch 8.2.4702
28746Problem: C++ scope labels are hard-coded.
28747Solution: Add 'cinscopedecls' to define the labels. (Rom Praschan,
28748 closes #10109)
28749Files: runtime/doc/indent.txt, runtime/doc/options.txt,
28750 runtime/doc/quickref.txt, runtime/optwin.vim, src/buffer.c,
28751 src/cindent.c, src/option.c, src/option.h, src/optiondefs.h,
28752 src/optionstr.c, src/structs.h, src/testdir/test_cindent.vim
28753
28754Patch 8.2.4703 (after 8.2.4702)
28755Problem: Memory leak in handling 'cinscopedecls'.
28756Solution: Free the memory before returning.
28757Files: src/cindent.c
28758
28759Patch 8.2.4704
28760Problem: Using "else" after return or break increases indent.
28761Solution: Remove "else" and reduce indent. (Goc Dundar, closes #10099)
28762Files: src/fileio.c, src/memline.c, src/option.c, src/syntax.c
28763
28764Patch 8.2.4705
28765Problem: reg_executing may not be cleared.
28766Solution: Reset reg_executing later. (closes #10111, closes #10110)
28767Files: src/ex_docmd.c, src/getchar.c, src/globals.h, src/structs.h,
28768 src/testdir/test_registers.vim
28769
28770Patch 8.2.4706
28771Problem: Buffer remains active if a WinClosed event throws an exception
28772 when there are multiple tabpages.
28773Solution: Ignore aborting() when closing the buffer. (closes #10101)
28774Files: src/window.c, src/testdir/test_autocmd.vim
28775
28776Patch 8.2.4707
28777Problem: Redrawing could be a bit more efficient.
28778Solution: Optimize redrawing. (closes #10105)
28779Files: src/change.c, src/edit.c, src/testdir/test_highlight.vim,
28780 src/testdir/dumps/Test_cursorcolumn_insert_on_tab_3.dump
28781
28782Patch 8.2.4708
28783Problem: PHP test files are not recognized.
28784Solution: Add the *.phpt pattern. (Julien Voisin, closes #10112)
28785Files: runtime/filetype.vim, src/testdir/test_filetype.vim
28786
28787Patch 8.2.4709
28788Problem: After :redraw the statusline highlight might be used.
28789Solution: Clear the screen attribute after redrawing the screen.
28790 (closes #10108)
28791Files: src/ex_docmd.c
28792
28793Patch 8.2.4710
28794Problem: Smart indenting does not work after completion.
28795Solution: Set "can_si". (Christian Brabandt, closes #10113, closes #558)
28796Files: src/edit.c, src/testdir/test_ins_complete.vim
28797
28798Patch 8.2.4711
28799Problem: When 'insermode' is set :edit from <Cmd> mapping misbehaves.
28800Solution: Don't set "need_start_insertmode" when already in Insert mode.
28801 (closes #10116)
28802Files: src/ex_cmds.c, src/testdir/test_edit.vim
28803
28804Patch 8.2.4712
28805Problem: Only get profiling information after exiting.
28806Solution: Add "profile dump" and "profile stop". (Marco Hinz, Yegappan
28807 Lakshmanan, closes #10107)
28808Files: runtime/doc/repeat.txt, src/profiler.c,
28809 src/testdir/test_profile.vim
28810
28811Patch 8.2.4713
28812Problem: Plugins cannot track text scrolling.
28813Solution: Add the WinScrolled event. (closes #10102)
28814Files: runtime/doc/autocmd.txt, src/autocmd.c, src/proto/autocmd.pro,
28815 src/edit.c, src/gui.c, src/main.c, src/structs.h, src/vim.h,
28816 src/window.c, src/proto/window.pro, src/testdir/test_autocmd.vim
28817
28818Patch 8.2.4714
28819Problem: Using g:filetype_dat and g:filetype_src not tested.
28820Solution: Add a test. (Patrick Meiser-Knosowski, closes #10117)
28821Files: src/testdir/test_filetype.vim
28822
28823Patch 8.2.4715
28824Problem: Vagrantfile not recognized.
28825Solution: Recognize Vagrantfile as ruby. (Julien Voisin, closes #10119)
28826Files: runtime/filetype.vim, src/testdir/test_filetype.vim
28827
28828Patch 8.2.4716
28829Problem: Memory allocation failure not tested when defining a function.
28830Solution: Add a test. (Yegappan Lakshmanan, closes #10127)
28831Files: src/alloc.c, src/alloc.h, src/proto/alloc.pro, src/userfunc.c,
28832 src/testdir/test_user_func.vim, src/testdir/test_vim9_func.vim
28833
28834Patch 8.2.4717
28835Problem: For TextYankPost v:event does not contain information about the
28836 operation being inclusive or not.
28837Solution: Add "inclusive" to v:event. (Justn M. Keyes, Yegappan Lakshmanan,
28838 closes #10125)
28839Files: runtime/doc/autocmd.txt, src/register.c,
28840 src/testdir/test_autocmd.vim
28841
28842Patch 8.2.4718
28843Problem: @@@ in the last line sometimes drawn in the wrong place.
28844Solution: Make sure the column is valid. (closes #10130)
28845Files: src/drawscreen.c, src/screen.c, src/testdir/test_display.vim
28846 src/testdir/dumps/Test_display_lastline_1.dump,
28847 src/testdir/dumps/Test_display_lastline_2.dump,
28848 src/testdir/dumps/Test_display_lastline_3.dump,
28849 src/testdir/dumps/Test_display_lastline_4.dump
28850
28851Patch 8.2.4719
28852Problem: ">" marker sometimes not displayed in the jumplist.
28853Solution: If the buffer no longer exists show "-invalid-". (Christian
28854 Brabandt, closes #10131, closes #10100)
28855Files: runtime/doc/motion.txt, src/mark.c, src/testdir/Make_all.mak,
28856 src/testdir/test_alot.vim, src/testdir/test_jumplist.vim,
28857 src/testdir/test_jumps.vim
28858
28859Patch 8.2.4720
28860Problem: ABB Rapid files are not recognized properly.
28861Solution: Add checks for ABB Rapid files. (Patrick Meiser-Knosowski,
28862 closes #10104)
28863Files: runtime/autoload/dist/ft.vim, runtime/doc/filetype.txt,
28864 runtime/filetype.vim, src/testdir/test_filetype.vim
28865
28866Patch 8.2.4721
28867Problem: Cooklang files are not recognized.
28868Solution: recognize *.cook files. (Goc Dundar, closes #10120)
28869Files: runtime/filetype.vim, src/testdir/test_filetype.vim
28870
28871Patch 8.2.4722
28872Problem: When a recording is ended with a mapped key that key is also
28873 recorded.
28874Solution: Remember the previous last_recorded_len. (closes #10122)
28875Files: src/getchar.c, src/testdir/test_registers.vim
28876
28877Patch 8.2.4723
28878Problem: The ModeChanged autocmd event is inefficient.
28879Solution: Avoid allocating memory. (closes #10134) Rename
28880 trigger_modechanged() to may_trigger_modechanged().
28881Files: src/misc1.c, src/proto/misc1.pro, src/edit.c, src/ex_docmd.c,
28882 src/ex_getln.c, src/insexpand.c, src/normal.c, src/terminal.c,
28883 src/autocmd.c
28884
28885Patch 8.2.4724
28886Problem: Current instance of last search pattern not easily spotted.
28887Solution: Add CurSearch highlighting. (closes #10133)
28888Files: runtime/doc/options.txt, runtime/doc/syntax.txt, src/highlight.c,
28889 src/match.c, src/normal.c, src/optiondefs.h, src/structs.h,
28890 src/vim.h, src/normal.c, src/testdir/test_search.vim,
28891 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line.dump,
28892 src/testdir/dumps/Test_hlsearch_cursearch_single_line_1.dump,
28893 src/testdir/dumps/Test_hlsearch_cursearch_single_line_2.dump,
28894 src/testdir/dumps/Test_hlsearch_cursearch_single_line_3.dump
28895
28896Patch 8.2.4725 (after 8.2.4724)
28897Problem: Unused variable in tiny build.
28898Solution: Add #ifdef.
28899Files: src/normal.c
28900
28901Patch 8.2.4726
28902Problem: Cannot use expand() to get the script name.
28903Solution: Support expand('<script>'). (closes #10121)
28904Files: runtime/doc/cmdline.txt, src/errors.h, src/ex_docmd.c,
28905 src/scriptfile.c, src/vim.h, src/testdir/test_expand.vim
28906
28907Patch 8.2.4727
28908Problem: Unused code.
28909Solution: Remove code and add #ifdefs. (Dominique Pellé, closes #10136)
28910Files: runtime/doc/editing.txt, runtime/doc/eval.txt,
28911 runtime/doc/vim9.txt, src/errors.h, src/option.c, src/search.c,
28912 src/proto/search.pro
28913
28914Patch 8.2.4728
28915Problem: No test that v:event cannot be modified.
28916Solution: Add a test. (closes #10139)
28917Files: src/testdir/test_autocmd.vim
28918
28919Patch 8.2.4729
28920Problem: HEEx and Surface templates do not need a separate filetype.
28921Solution: Use Eelixir for the similar filetypes. (Aaron Tinio, closes #10124)
28922Files: runtime/filetype.vim, src/testdir/test_filetype.vim
28923
28924Patch 8.2.4730
28925Problem: MS-Windows GUI: cannot use CTRL-/.
28926Solution: Handle the WM_KEYUP event. (Yasuhiro Matsumoto, closes #10141)
28927Files: src/gui_w32.c
28928
28929Patch 8.2.4731
28930Problem: The changelist index is not remembered per buffer.
28931Solution: Keep the changelist index per window and buffer. (closes #10135,
28932 closes #2173)
28933Files: src/buffer.c, src/evalfunc.c, src/structs.h,
28934 src/testdir/test_changelist.vim
28935
28936Patch 8.2.4732
28937Problem: Duplicate code to free fuzzy matches.
28938Solution: Bring back fuzmatch_str_free().
28939Files: src/search.c, src/proto/search.pro, src/cmdexpand.c
28940
28941Patch 8.2.4733 (after 8.2.4729)
28942Problem: HEEx and Surface do need a separate filetype.
28943Solution: Revert 8.2.4729. (closes #10147)
28944Files: runtime/filetype.vim, src/testdir/test_filetype.vim
28945
28946Patch 8.2.4734
28947Problem: getcharpos() may change a mark position.
28948Solution: Copy the mark position. (closes #10148)
28949Files: src/eval.c, src/testdir/test_cursor_func.vim
28950
28951Patch 8.2.4735
28952Problem: Quickfix tests can be a bit hard to read.
28953Solution: Use heredoc instead of strings and line continuation. (Yegappan
28954 Lakshmanan, closes #10145)
28955Files: src/testdir/test_quickfix.vim
28956
28957Patch 8.2.4736
28958Problem: Build problem for Cygwin with Motif.
28959Solution: Undefine ControlMask. (Kelvin Lee, closes #10152)
28960Files: src/mbyte.c
28961
28962Patch 8.2.4737
28963Problem: // in JavaScript string recognized as comment.
28964Solution: Only check for linecomment if 'cindent' is set. (closes #10151)
28965Files: src/change.c, src/testdir/test_textformat.vim
28966
28967Patch 8.2.4738
28968Problem: Esc on commandline executes command instead of abandoning it.
28969Solution: Save and restore KeyTyped when removing the popup menu.
28970 (closes #10154)
28971Files: src/cmdexpand.c, src/testdir/test_cmdline.vim,
28972 src/testdir/dumps/Test_wildmenu_with_pum_foldexpr_1.dump,
28973 src/testdir/dumps/Test_wildmenu_with_pum_foldexpr_2.dump
28974
28975Patch 8.2.4739
28976Problem: Accessing freed memory after WinScrolled autocmd event.
28977Solution: Check the window pointer is still valid. (closes #10156)
28978 Remove the argument from may_trigger_winscrolled().
28979Files: src/window.c, src/proto/window.pro, src/edit.c, src/gui.c,
28980 src/main.c, src/testdir/test_autocmd.vim
28981
28982Patch 8.2.4740
28983Problem: When expand() fails there is no error message.
28984Solution: When 'verbose' is set give an error message.
28985Files: runtime/doc/builtin.txt, src/evalfunc.c,
28986 src/testdir/test_expand.vim
28987
28988Patch 8.2.4741 (after 8.2.4740)
28989Problem: Startup test fails.
28990Solution: Avoid an error for verbose expansion. Fix that the "0verbose"
28991 command modifier doesn't work.
28992Files: runtime/syntax/syntax.vim, runtime/syntax/synload.vim,
28993 src/structs.h, src/ex_docmd.c, src/testdir/test_excmd.vim
28994
28995Patch 8.2.4742
28996Problem: There is no way to start logging very early in startup.
28997Solution: Add the --log argument. Include the date in the start message in
28998 the log file. Avoid a duplicate message when forking. Log an
28999 executed shell command.
29000Files: runtime/doc/starting.txt, runtime/doc/channel.txt,
29001 src/main.c, src/channel.c, src/os_unix.c, src/os_win32.c,
29002 src/testdir/test_startup.vim
29003
29004Patch 8.2.4743
29005Problem: Clang 14 is available on CI.
29006Solution: Switch from clang 13 to 14. (closes #10157)
29007Files: .github/workflows/ci.yml
29008
29009Patch 8.2.4744
29010Problem: A terminal window can't use the bell.
29011Solution: Add bell support for the terminal window. (closes #10178)
29012Files: runtime/doc/options.txt, src/gui_w32.c, src/option.h,
29013 src/optionstr.c, src/terminal.c
29014
29015Patch 8.2.4745 (after 8.2.4744)
29016Problem: Using wrong flag for using bell in the terminal.
29017Solution: Change to use BO_TERM.
29018Files: src/terminal.c, src/misc1.c
29019
29020Patch 8.2.4746
29021Problem: Supercollider filetype not recognized.
29022Solution: Match file extentions and check file contents to detect
29023 supercollider. (closes #10142)
29024Files: runtime/filetype.vim, runtime/autoload/dist/ft.vim,
29025 src/testdir/test_filetype.vim
29026
29027Patch 8.2.4747
29028Problem: No filetype override for .sys files.
29029Solution: Add g:filetype_sys. (Patrick Meiser-Knosowski, closes #10181)
29030Files: runtime/doc/filetype.txt, runtime/autoload/dist/ft.vim,
29031 src/testdir/test_filetype.vim
29032
29033Patch 8.2.4748
29034Problem: Cannot use an imported function in a mapping.
29035Solution: Recognize <SID>name.Func.
29036Files: runtime/doc/vim9.txt, src/term.c, src/vim9execute.c,
29037 src/proto/vim9execute.pro, src/scriptfile.c,
29038 src/testdir/test_vim9_import.vim
29039
29040Patch 8.2.4749
29041Problem: <script> is not expanded in autocmd context.
29042Solution: Add the context to the pattern struct. (closes #10144)
29043 Rename AutoPatCmd to AutoPatCmd_T.
29044Files: src/autocmd.c, src/proto/autocmd.pro, src/scriptfile.c,
29045 src/structs.h, src/testdir/test_expand.vim
29046
29047Patch 8.2.4750
29048Problem: Small pieces of dead code.
29049Solution: Remove the dead code. (Goc Dundar, closes #10190) Rename the
29050 qftf_cb struct member to avoid confusion.
29051Files: src/ex_cmds.c, src/misc1.c, src/optionstr.c, src/quickfix.c
29052
29053Patch 8.2.4751 (after 8.2.4748)
29054Problem: Mapping <SID>name.Func does not work for script in autoload
29055 directory.
29056Solution: Use the # form for a script in the autoload directory.
29057 (closes #10186)
29058Files: src/term.c, src/testdir/test_vim9_import.vim
29059
29060Patch 8.2.4752
29061Problem: Wrong 'statusline' value can cause illegal memory access.
29062Solution: Properly check the value. (closes #10192)
29063Files: src/optionstr.c, src/testdir/test_options.vim
29064
29065Patch 8.2.4753
29066Problem: Error from setting an option is silently ignored.
29067Solution: Handle option value errors better. Fix uses of N_().
29068Files: src/option.c, src/proto/option.pro, src/optionstr.c,
29069 src/channel.c, src/crypt.c, src/diff.c, src/edit.c,
29070 src/eval.c, src/evalfunc.c, src/evalvars.c, src/ex_cmds2.c,
29071 src/ex_docmd.c, src/ex_getln.c, src/getchar.c, src/gui.c,
29072 src/gui_gtk_x11.c, src/help.c, src/highlight.c, src/if_tcl.c,
29073 src/main.c, src/memline.c, src/message_test.c,
29074 src/popupmenu.c, src/quickfix.c, src/scriptfile.c, src/spell.c,
29075 src/spellfile.c, src/term.c, src/undo.c, src/vim9script.c
29076
29077Patch 8.2.4754
29078Problem: Still using cached values after unsetting some known environment
29079 variables.
29080Solution: Take care of the side effects. (closes #10194)
29081Files: src/evalfunc.c, src/evalvars.c, src/misc1.c, src/proto/misc1.pro,
29082 src/vim9execute.c, src/optionstr.c, src/testdir/test_environ.vim
29083
29084Patch 8.2.4755
29085Problem: Cannot use <SID>FuncRef in completion spec.
29086Solution: Dereference a function name in another way. (closes #10197)
29087Files: src/eval.c, src/testdir/test_vim9_import.vim
29088
29089Patch 8.2.4756 (after 8.2.4754)
29090Problem: Build error without the +eval feature.
29091Solution: Adjust #ifdefs.
29092Files: src/misc1.c
29093
29094Patch 8.2.4757
29095Problem: List of libraries to suppress lsan errors is outdated.
29096Solution: Add another library. (closes #10201)
29097Files: src/testdir/lsan-suppress.txt
29098
29099Patch 8.2.4758
29100Problem: When using an LSP channel want to get the message ID.
29101Solution: Have ch_sendexpr() return the ID. (Yegappan Lakshmanan,
29102 closes #10202)
29103Files: runtime/doc/channel.txt, src/channel.c, src/evalfunc.c,
29104 src/testdir/test_channel.vim
29105
29106Patch 8.2.4759
29107Problem: CurSearch highlight does not work for multi-line match.
29108Solution: Check cursor position before adjusting columns. (closes #10133)
29109Files: src/structs.h, src/match.c, src/testdir/test_search.vim,
29110 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line.dump,
29111 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line_1.dump,
29112 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line_2.dump,
29113 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line_3.dump,
29114 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line_4.dump,
29115 src/testdir/dumps/Test_hlsearch_cursearch_multiple_line_5.dump
29116
29117Patch 8.2.4760
29118Problem: Using matchfuzzy() on a long list can take a while.
29119Solution: Add a limit to the number of matches. (Yasuhiro Matsumoto,
29120 closes #10189)
29121Files: runtime/doc/builtin.txt, src/search.c,
29122 src/testdir/test_matchfuzzy.vim
29123
29124Patch 8.2.4761
29125Problem: Documentation for using LSP messages is incomplete.
29126Solution: Update the documentation. (Yegappan Lakshmanan, closes #10206)
29127Files: runtime/doc/channel.txt
29128
29129Patch 8.2.4762
29130Problem: Using freed memory when using synstack() and synID() in WinEnter.
29131Solution: Check using the syntax window. (closes #10204)
29132Files: src/syntax.c, src/testdir/test_syntax.vim
29133
29134Patch 8.2.4763
29135Problem: Using invalid pointer with "V:" in Ex mode.
29136Solution: Correctly handle the command being changed to "+".
29137Files: src/ex_docmd.c, src/testdir/test_ex_mode.vim
29138
29139Patch 8.2.4764
29140Problem: CI uses an older gcc version.
29141Solution: Use GCC 11. (closes #10185)
29142Files: .github/workflows/ci.yml, src/testdir/lsan-suppress.txt
29143
29144Patch 8.2.4765
29145Problem: Function matchfuzzy() sorts too many items.
29146Solution: Only put matches in the array. (Yegappan Lakshmanan,
29147 closes #10208)
29148Files: src/search.c
29149
29150Patch 8.2.4766
29151Problem: KRL files using "deffct" not recognized.
29152Solution: Adjust the pattern used for matching. (Patrick Meiser-Knosowski,
29153 closes #10200)
29154Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim
29155
29156Patch 8.2.4767
29157Problem: Openscad files are not recognized.
29158Solution: Add a filetype pattern. (Niklas Adam, closes #10199)
29159Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29160
29161Patch 8.2.4768
29162Problem: CI: codecov upload sometimes does not work.
29163Solution: Use action v3 instead of v2. (closes #10209)
29164Files: .github/workflows/ci.yml
29165
29166Patch 8.2.4769
29167Problem: Build warning with UCRT.
29168Solution: Adjust #ifdef for _wenviron. (John Marriott)
29169Files: src/evalfunc.c
29170
29171Patch 8.2.4770
29172Problem: Cannot easily mix expression and heredoc.
29173Solution: Support `=expr` in heredoc. (Yegappan Lakshmanan, closes #10138)
29174Files: runtime/doc/eval.txt, src/evalvars.c, src/userfunc.c,
29175 src/testdir/test_let.vim, src/testdir/test_vim9_assign.vim
29176
29177Patch 8.2.4771
29178Problem: Coverity warns for not checking return value.
29179Solution: Check return value of rettv_dict_alloc().
29180Files: src/channel.c
29181
29182Patch 8.2.4772
29183Problem: Old Coverity warning for not checking ftell() return value.
29184Solution: Check return value of fseek() and ftell().
29185Files: src/misc1.c
29186
29187Patch 8.2.4773
29188Problem: Build failure without the +eval feature.
29189Solution: Use other error message. Avoid warnings.
29190Files: src/misc1.c, src/cindent.c, src/term.c
29191
29192Patch 8.2.4774
29193Problem: Crash when using a number for lambda name.
29194Solution: Check the type of the lambda reference.
29195Files: src/eval.c, src/errors.h, src/testdir/test_lambda.vim
29196
29197Patch 8.2.4775
29198Problem: SpellBad highlighting does not work in Konsole.
29199Solution: Do not keep t_8u defined for Konsole. Redraw when t_8u is reset.
29200 (closes #10177)
29201Files: src/term.c
29202
29203Patch 8.2.4776
29204Problem: GTK: 'lines' and 'columns' may change during startup.
29205Solution: Ignore stale GTK resize events. (Ernie Rael, closes #10179)
29206Files: src/gui_gtk_x11.c
29207
29208Patch 8.2.4777 (after 8.2.4775)
29209Problem: Screendump tests fail because of a redraw.
29210Solution: Do not output t_8u before receiving termresponse. Redraw only
29211 when t_8u is not reset and termresponse is received.
29212Files: src/term.c
29213
29214Patch 8.2.4778
29215Problem: Pacman files use dosini filetype.
29216Solution: Use conf instead. (Chaoren Lin, closes #10213)
29217Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29218
29219Patch 8.2.4779
29220Problem: lsan suppression is too version specific.
29221Solution: Leave out the version number. (Christian Brabandt, closes #10214)
29222Files: src/testdir/lsan-suppress.txt
29223
29224Patch 8.2.4780
29225Problem: Parsing an LSP message fails when it is split.
29226Solution: Collapse the received data before parsing. (Yegappan Lakshmanan,
29227 closes #10215)
29228Files: runtime/doc/channel.txt, src/channel.c,
29229 src/testdir/test_channel.vim, src/testdir/test_channel_lsp.py
29230
29231Patch 8.2.4781
29232Problem: Maxima files are not recognized.
29233Solution: Add patterns to detect Maxima files. (Doron Behar, closes #10211)
29234Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29235
29236Patch 8.2.4782
29237Problem: Accessing freed memory.
29238Solution: Clear evalarg after checking for trailing characters.
29239 (issue #10218)
29240Files: src/userfunc.c, src/testdir/test_lambda.vim
29241
29242Patch 8.2.4783
29243Problem: Coverity warns for leaking memory.
29244Solution: Use another strategy freeing "theline".
29245Files: src/evalvars.c
29246
29247Patch 8.2.4784
29248Problem: Lamba test with timer is flaky.
29249Solution: Adjust sleep time on retry.
29250Files: src/testdir/test_lambda.vim
29251
29252Patch 8.2.4785
29253Problem: Visual mode not stopped early enough if win_gotoid() goes to
29254 another buffer. (Sergey Vlasov)
29255Solution: Stop Visual mode before jumping to another buffer. (closes #10217)
29256Files: src/evalwindow.c, src/testdir/test_vim9_builtin.vim,
29257 src/testdir/dumps/Test_win_gotoid_1.dump,
29258 src/testdir/dumps/Test_win_gotoid_2.dump,
29259 src/testdir/dumps/Test_win_gotoid_3.dump
29260
29261Patch 8.2.4786 (after 8.2.4785)
29262Problem: Test for win_gotoid() in Visual mode fails on Mac.
29263Solution: Skip the test on MacOS.
29264Files: src/testdir/test_vim9_builtin.vim
29265
29266Patch 8.2.4787
29267Problem: prop_find() does not find the right property.
29268Solution: Fix the scan order. (closes #10220)
29269Files: src/textprop.c, src/testdir/test_textprop.vim
29270
29271Patch 8.2.4788
29272Problem: Large payload for LSP message not tested.
29273Solution: Add a test with a large LSP payload. (Yegappan Lakshmanan,
29274 closes #10223)
29275Files: src/channel.c, src/testdir/test_channel.vim,
29276 src/testdir/test_channel_lsp.py
29277
29278Patch 8.2.4789
29279Problem: The cursor may be in the in wrong place when using :redraw while
29280 editing the cmdline.
29281Solution: When editing the command line let :redraw update the command line
29282 too. (closes #10210)
29283Files: src/ex_docmd.c, src/testdir/test_cmdline.vim,
29284 src/testdir/dumps/Test_redraw_in_autocmd_1.dump,
29285 src/testdir/dumps/Test_redraw_in_autocmd_2.dump
29286
29287Patch 8.2.4790
29288Problem: Lilypond filetype not recognized.
29289Solution: Add patterns for lilypond. (Doug Kearns)
29290Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29291
29292Patch 8.2.4791
29293Problem: Autocmd events triggered in different order when reusing an empty
29294 buffer.
29295Solution: Call buff_freeall() earlier. (Charlie Groves, closes #10198)
29296Files: src/buffer.c, src/testdir/test_autocmd.vim
29297
29298Patch 8.2.4792
29299Problem: Indent operator creates an undo entry for every line.
29300Solution: Create one undo entry for all lines. (closes #10227)
29301Files: src/indent.c, src/testdir/test_indent.vim
29302
29303Patch 8.2.4793
29304Problem: Recognizing Maxima filetype even though it might be another.
29305Solution: Remove *.mc and *.dem patterns from Maxima files
29306Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29307
29308Patch 8.2.4794
29309Problem: Compiler warning for not initialized variable.
29310Solution: Initialize the variable. (John Marriott)
29311Files: src/indent.c
29312
29313Patch 8.2.4795
29314Problem: 'cursorbind' scrolling depends on whether 'cursorline' is set.
29315Solution: Always call validate_cursor(). (Christian Brabandt, closes #10230,
29316 closes #10014)
29317Files: src/move.c, src/testdir/README.txt,
29318 src/testdir/test_cursorline.vim,
29319 src/testdir/dumps/Test_hor_scroll_1.dump,
29320 src/testdir/dumps/Test_hor_scroll_2.dump,
29321 src/testdir/dumps/Test_hor_scroll_3.dump,
29322 src/testdir/dumps/Test_hor_scroll_4.dump
29323
29324Patch 8.2.4796 (after 8.2.4795)
29325Problem: File left behind after running cursorline tests.
29326Solution: Uncomment the line that deletes the file.
29327Files: src/testdir/test_cursorline.vim
29328
29329Patch 8.2.4797
29330Problem: getwininfo() may get oudated values.
29331Solution: Make sure w_botline is up-to-date. (closes #10226)
29332Files: src/evalwindow.c, src/testdir/test_bufwintabinfo.vim
29333
29334Patch 8.2.4798
29335Problem: t_8u option was reset even when set by the user.
29336Solution: Only reset t_8u when using the default value. (closes #10239)
29337Files: src/term.c
29338
29339Patch 8.2.4799
29340Problem: Popup does not use correct topline.
29341Solution: Also add one when firstline is negative. (closes #10229)
29342Files: src/popupwin.c, src/testdir/test_popupwin.vim
29343
29344Patch 8.2.4800 (after 8.2.4798)
29345Problem: Missing test update for adjusted t_8u behavior.
29346Solution: Update and extend the test.
29347Files: src/testdir/test_termcodes.vim
29348
29349Patch 8.2.4801 (after 8.2.4795)
29350Problem: Fix for cursorbind fix not fully tested.
29351Solution: Add another test case. (Christian Brabandt, closes #10240)
29352Files: src/testdir/test_cursorline.vim,
29353 src/testdir/dumps/Test_hor_scroll_5.dump
29354
29355Patch 8.2.4802
29356Problem: Test is not cleaned up.
29357Solution: Make test clean up after itself. Avoid NUL. (closes #10233)
29358Files: src/testdir/test_autocmd.vim
29359
29360Patch 8.2.4803
29361Problem: WinScrolled not always triggered when scrolling with the mouse.
29362Solution: Add calls to may_trigger_winscrolled(). (closes #10246)
29363Files: src/mouse.c, src/testdir/test_autocmd.vim
29364
29365Patch 8.2.4804
29366Problem: Expression in heredoc doesn't work for compiled function.
29367Solution: Implement compiling the heredoc expressions. (Yegappan Lakshmanan,
29368 closes #10232)
29369Files: runtime/doc/eval.txt, src/evalvars.c, src/proto/evalvars.pro,
29370 src/ex_getln.c, src/vim9compile.c, src/proto/vim9compile.pro,
29371 src/testdir/test_vim9_assign.vim
29372
29373Patch 8.2.4805
29374Problem: CurSearch used for all matches in current line.
29375Solution: Don't use the non-zero line count. (closes #10247)
29376Files: src/match.c, src/testdir/test_search.vim,
29377 src/testdir/dumps/Test_hlsearch_cursearch_single_line_1.dump,
29378 src/testdir/dumps/Test_hlsearch_cursearch_single_line_2.dump,
29379 src/testdir/dumps/Test_hlsearch_cursearch_single_line_2a.dump,
29380 src/testdir/dumps/Test_hlsearch_cursearch_single_line_2b.dump
29381
29382Patch 8.2.4806
29383Problem: A mapping using <LeftDrag> does not start Select mode.
29384Solution: When checking for starting select mode with the mouse also do this
29385 when there is typeahead. (closes #10249)
29386Files: src/normal.c
29387
29388Patch 8.2.4807
29389Problem: Processing key events in Win32 GUI is not ideal.
29390Solution: Improve processing of key events. (closes #10155)
29391Files: src/gui_w32.c
29392
29393Patch 8.2.4808
29394Problem: Unused item in engine struct.
29395Solution: Remove "expr". Add comment with tags.
29396Files: src/regexp.h
29397
29398Patch 8.2.4809
29399Problem: Various things not properly tested.
29400Solution: Add various test cases. (Yegappan Lakshmanan, closes #10259)
29401Files: src/testdir/test_blob.vim, src/testdir/test_debugger.vim,
29402 src/testdir/test_listdict.vim, src/testdir/test_vim9_builtin.vim,
29403 src/testdir/test_vim9_import.vim, src/testdir/test_vim9_script.vim
29404
29405Patch 8.2.4810 (after 8.2.4808)
29406Problem: Missing changes in one file.
29407Solution: Also change the struct initializers.
29408Files: src/regexp.c
29409
29410Patch 8.2.4811 (after 8.2.4807)
29411Problem: Win32 GUI: caps lock doesn't work.
29412Solution: Handle VK_CAPITAL. (closes #10260, closes #10258)
29413Files: src/gui_w32.c
29414
29415Patch 8.2.4812
29416Problem: Unused struct item.
29417Solution: Remove "lines" match_T. Simplify the code. (closes #10256)
29418Files: src/match.c, src/structs.h
29419
29420Patch 8.2.4813
29421Problem: Pasting text while indent folding may mess up folds.
29422Solution: Adjust the way folds are split. (Brandon Simmons, closes #10254)
29423Files: src/fold.c, src/testdir/test_fold.vim
29424
29425Patch 8.2.4814
29426Problem: Possible to leave a popup window with win_gotoid().
29427Solution: Give an error when trying to leave a popup window with
29428 win_gotoid(). (closes #10253)
29429Files: src/evalwindow.c, src/testdir/test_terminal3.vim
29430
29431Patch 8.2.4815 (after 8.2.4776)
29432Problem: Cannot build with older GTK version.
29433Solution: Use gtk_window_get_size() instead of gdk_window_get_width() and
29434 gdk_window_get_height(). (Ernie Rael, closes #10257)
29435Files: src/gui_gtk_x11.c
29436
29437Patch 8.2.4816
29438Problem: Still using older codecov app in some places of CI.
29439Solution: Use v3.1.0. (closes #10209)
29440Files: .github/workflows/ci.yml
29441
29442Patch 8.2.4817
29443Problem: Win32 GUI: modifiers are not always used.
29444Solution: Handle more modifiers. (closes #10269)
29445Files: src/gui_w32.c
29446
29447Patch 8.2.4818 (after 8.2 4806)
29448Problem: No test for what 8.2.4806 fixes.
29449Solution: Add a test. (closes #10272)
29450Files: src/testdir/test_mapping.vim
29451
29452Patch 8.2.4819
29453Problem: Unmapping simplified keys also deletes other mapping.
29454Solution: Only unmap a mapping with m_simplified set. (closes #10270)
29455Files: src/map.c, src/testdir/test_mapping.vim
29456
29457Patch 8.2.4820
29458Problem: No simple programmatic way to find a specific mapping.
29459Solution: Add getmappings(). (Ernie Rael, closes #10273)
29460Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
29461 src/map.c, src/proto/map.pro, src/testdir/test_maparg.vim
29462
29463Patch 8.2.4821
29464Problem: Crash when imported autoload script was deleted.
29465Solution: Initialize local variable. (closes #10274) Give a more meaningful
29466 error message.
29467Files: src/eval.c, src/vim9script.c, src/testdir/test_vim9_import.vim
29468
29469Patch 8.2.4822
29470Problem: Setting ufunc to NULL twice.
29471Solution: Set ufunc to NULL in find_exported(). (closes #19275)
29472Files: src/eval.c, src/vim9script.c
29473
29474Patch 8.2.4823
29475Problem: Concatenating more than 2 strings in a :def function is
29476 inefficient.
29477Solution: Add a count to the CONCAT instruction. (closes #10276)
29478Files: src/vim9.h, src/vim9cmds.c, src/vim9compile.c, src/vim9execute.c,
29479 src/vim9expr.c, src/vim9instr.c, src/proto/vim9instr.pro,
29480 src/testdir/test_vim9_disassemble.vim
29481
29482Patch 8.2.4824
29483Problem: Expression is evaluated multiple times.
29484Solution: Evaluate expression once and store the result. (closes #10278)
29485Files: src/map.c
29486
29487Patch 8.2.4825
29488Problem: Can only get a list of mappings.
29489Solution: Add the optional {abbr} argument. (Ernie Rael, closes #10277)
29490 Rename to maplist(). Rename test file.
29491Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
29492 src/map.c, src/proto/map.pro, src/testdir/test_maparg.vim,
29493 src/testdir/test_map_functions.vim, src/testdir/Make_all.mak
29494
29495Patch 8.2.4826
29496Problem: .cshtml files are not recognized.
29497Solution: Use html filetype for .cshtml files. (Julien Voisin, closes #10212)
29498Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29499
29500Patch 8.2.4827
29501Problem: Typo in variable name. (Gabriel Dupras)
29502Solution: Rename the variable.
29503Files: src/map.c
29504
29505Patch 8.2.4828
29506Problem: Fix for unmapping simplified key not fully tested.
29507Solution: Add a test case. (closes #10292)
29508Files: src/map.c, src/testdir/test_mapping.vim
29509
29510Patch 8.2.4829
29511Problem: A key may be simplified to NUL.
29512Solution: Use K_ZERO instead. Use macros instead of hard coded values.
29513 (closes #10290)
29514Files: src/getchar.c, src/misc2.c, src/testdir/test_termcodes.vim
29515
29516Patch 8.2.4830
29517Problem: Possible endless loop if there is unused typahead.
29518Solution: Only loop when the typeahead changed.
29519Files: src/channel.c
29520
29521Patch 8.2.4831
29522Problem: Crash when using maparg() and unmapping simplified keys.
29523Solution: Do not keep a mapblock pointer. (closes #10294)
29524Files: src/map.c, src/testdir/test_map_functions.vim
29525
29526Patch 8.2.4832
29527Problem: Passing zero instead of NULL to a pointer argument.
29528Solution: Use NULL. (closes #10296)
29529Files: src/getchar.c, src/term.c
29530
29531Patch 8.2.4833
29532Problem: Failure of mapping not checked for.
29533Solution: Check return value of ins_typebuf(). (closes #10299)
29534Files: src/getchar.c, src/term.c, src/testdir/test_termcodes.vim
29535
29536Patch 8.2.4834
29537Problem: Vim9: some lines not covered by tests.
29538Solution: Add a few more tests. Remove dead code.
29539Files: src/vim9execute.c, src/vim9instr.c, src/vim9.h,
29540 src/testdir/test_vim9_expr.vim
29541
29542Patch 8.2.4835
29543Problem: Vim9: some lines not covered by tests.
29544Solution: Add a few more tests. Fix disassemble output.
29545Files: src/vim9execute.c, src/testdir/test_vim9_cmd.vim,
29546 src/testdir/test_vim9_script.vim,
29547 src/testdir/test_vim9_disassemble.vim
29548
29549Patch 8.2.4836
29550Problem: Vim9: some lines not covered by tests.
29551Solution: Remove dead code. Add disassemble tests.
29552Files: src/vim9execute.c, src/vim9.h,
29553 src/testdir/test_vim9_disassemble.vim
29554
29555Patch 8.2.4837 (after patch 8.2.0919
29556Problem: Modifiers not simplified when timed out or using feedkeys() with
29557 'n" flag.
29558Solution: Adjust how mapped flag and timeout are used. (closes #10305)
29559Files: src/getchar.c, src/testdir/test_paste.vim,
29560 src/testdir/test_termcodes.vim
29561
29562Patch 8.2.4838
29563Problem: Checking for absolute path is not trivial.
29564Solution: Add isabsolutepath(). (closes #10303)
29565Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
29566 src/filepath.c, src/proto/filepath.pro,
29567 src/testdir/test_functions.vim
29568
29569Patch 8.2.4839
29570Problem: Compiler warning for unused argument.
29571Solution: Add "UNUSED".
29572Files: src/gui_gtk_x11.c
29573
29574Patch 8.2.4840
29575Problem: Heredoc expression evaluated even when skipping.
29576Solution: Don't evaluate when "skip" is set. (closes #10306)
29577Files: src/evalvars.c, src/testdir/test_let.vim
29578
29579Patch 8.2.4841
29580Problem: Empty string considered an error for expand() when 'verbose' is
29581 set. (Christian Brabandt)
29582Solution: Do not give an error for an empty result. (closes #10307)
29583Files: src/evalfunc.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
29584 src/filepath.c, src/testdir/test_expand_func.vim
29585
29586Patch 8.2.4842 (after 8.2.4841)
29587Problem: expand("%:p") is not empty when there is no buffer name.
29588Solution: When ignoring errors still return NULL. (closes #10311)
29589Files: src/ex_docmd.c, src/testdir/test_expand_func.vim
29590
29591Patch 8.2.4843 (after 8.2.4807)
29592Problem: Win32 GUI: Treating CTRL + ALT as AltGr is not backwards
29593 compatible. (Axel Bender)
29594Solution: Make a difference between left and right menu keys.
29595 (closes #10308)
29596Files: src/gui_w32.c
29597
29598Patch 8.2.4844
29599Problem: <C-S-I> is simplified to <S-Tab>.
29600Solution: Do not simplify CTRL if there is also SHIFT. (closes #10313)
29601Files: src/getchar.c, src/testdir/test_gui.vim
29602
29603Patch 8.2.4845
29604Problem: Duplicate code.
29605Solution: Move code below if/else. (closes #10314)
29606Files: src/misc1.c
29607
29608Patch 8.2.4846 (after 8.2.4844)
29609Problem: Termcodes test fails.
29610Solution: use CTRL-SHIFT-V to insert an unsimplified key. (closes #10316)
29611Files: runtime/doc/cmdline.txt, src/edit.c, src/getchar.c,
29612 src/testdir/test_gui.vim
29613
29614Patch 8.2.4847
29615Problem: Crash when using uninitialized function pointer.
29616Solution: Check for NULL pointer. (closes #10319, closes #10319)
29617Files: src/eval.c, src/testdir/test_vim9_script.vim
29618
29619Patch 8.2.4848
29620Problem: Local completion with mappings and simplification not working.
29621Solution: Fix local completion <C-N>/<C-P> mappings not ignored if keys are
29622 not simplified. (closes #10323)
29623Files: src/getchar.c, src/testdir/test_popup.vim
29624
29625Patch 8.2.4849
29626Problem: Gleam filetype not detected.
29627Solution: Add a pattern for Gleam files. (Mathias Jean Johansen,
29628 closes #10326)
29629Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29630
29631Patch 8.2.4850
29632Problem: Mksession mixes up "tabpages" and "curdir" arguments.
29633Solution: Correct logic for storing tabpage in session. (closes #10312)
29634Files: src/session.c, src/testdir/test_mksession.vim
29635
29636Patch 8.2.4851
29637Problem: Compiler warning for uninitialized variable.
29638Solution: Use another variable to decide to restore option values.
29639Files: src/session.c
29640
29641Patch 8.2.4852
29642Problem: ANSI color index to RGB value not correct.
29643Solution: Convert the cterm index to ANSI index. (closes #10321,
29644 closes #9836))
29645Files: src/term.c
29646
29647Patch 8.2.4853
29648Problem: CI with FreeBSD is a bit outdated.
29649Solution: Use 12.3 instead of 12.1. (closes #10333)
29650Files: .cirrus.yml
29651
29652Patch 8.2.4854
29653Problem: Array size does not match usage.
29654Solution: Make array size 3 instead of 4. (Christian Brabandt, closes #10336)
29655Files: src/term.c
29656
29657Patch 8.2.4855
29658Problem: Robot files are not recognized.
29659Solution: Add patterns for robot files. (Zoe Roux, closes #10339)
29660Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29661
29662Patch 8.2.4856
29663Problem: MinGW compiler complains about unknown escape sequence.
29664Solution: Avoid using a backslash in path. (Christian Brabandt,
29665 closes #10337)
29666Files: .github/workflows/ci.yml
29667
29668Patch 8.2.4857
29669Problem: Yaml indent for multiline is wrong.
29670Solution: Adjust patterns. (closes #10328, closes #8740)
29671Files: runtime/indent/yaml.vim, runtime/indent/testdir/yaml.in,
29672 runtime/indent/testdir/yaml.ok
29673
29674Patch 8.2.4858
29675Problem: K_SPECIAL may be escaped twice.
29676Solution: Avoid double escaping. (closes #10340)
29677Files: src/highlight.c, src/misc2.c, src/proto/misc2.pro, src/term.c,
29678 src/typval.c, src/testdir/test_eval_stuff.vim,
29679 src/testdir/test_feedkeys.vim, src/testdir/test_functions.vim,
29680 src/testdir/test_mapping.vim
29681
29682Patch 8.2.4859
29683Problem: wget2 files are not recognized.
29684Solution: Add patterns to recognize wget2. (Doug Kearns)
29685Files: runtime/filetype.vim, src/testdir/test_filetype.vim
29686
29687Patch 8.2.4860
29688Problem: MS-Windows: always uses current directory for executables.
29689Solution: Check the NoDefaultCurrentDirectoryInExePath environment variable.
29690 (Yasuhiro Matsumoto, closes #10341)
29691Files: runtime/doc/builtin.txt, src/os_win32.c,
29692 src/testdir/test_functions.vim
29693
29694Patch 8.2.4861
29695Problem: It is not easy to restore saved mappings.
29696Solution: Make mapset() accept a dict argument. (Ernie Rael, closes #10295)
29697Files: runtime/doc/builtin.txt, src/errors.h, src/evalfunc.c, src/map.c,
29698 src/typval.c, src/proto/typval.pro,
29699 src/testdir/test_map_functions.vim,
29700 src/testdir/test_vim9_builtin.vim
29701
29702Patch 8.2.4862
29703Problem: Vim9: test may fail when run with valgrind.
29704Solution: Wait longer for callback if needed.
29705Files: src/testdir/test_vim9_script.vim
29706
29707Patch 8.2.4863
29708Problem: Accessing freed memory in test without the +channel feature.
29709 (Dominique Pellé)
29710Solution: Do not generted PUSHCHANNEL or PUSHJOB if they are not
29711 implemented. (closes #10350)
29712Files: src/vim9instr.c, src/errors.h, src/vim9compile.c,
29713 src/testdir/test_vim9_script.vim
29714
29715Patch 8.2.4864 (after 8.2.4863)
29716Problem: Vim9: script test fails.
29717Solution: Remove "if" around declaration.
29718Files: src/testdir/test_vim9_script.vim
29719
29720Patch 8.2.4865
29721Problem: :startinsert right after :stopinsert does not work when popup menu
29722 is still visible.
29723Solution: Use ins_compl_active() instead of pum_visible(). (closes #10352)
29724Files: src/edit.c, src/testdir/test_ins_complete.vim
29725
29726Patch 8.2.4866
29727Problem: Duplicate code in "get" functions.
29728Solution: Use get_var_from() for getwinvar(), gettabvar(), gettabwinvar()
29729 and getbufvar(). (closes #10335)
29730Files: src/evalvars.c
29731
29732Patch 8.2.4867
29733Problem: Listing of mapping with K_SPECIAL is wrong.
29734Solution: Adjust escaping of special characters. (closes #10351)
29735Files: src/map.c, src/message.c, src/testdir/test_mapping.vim
29736
29737Patch 8.2.4868
29738Problem: When closing help window autocmds triggered for the wrong window.
29739Solution: Figure out the new current window earlier. (closes #10348)
29740Files: src/window.c, src/testdir/test_help.vim
29741
29742Patch 8.2.4869
29743Problem: Expression in command block does not look after NL.
29744Solution: Skip over NL to check what follows. (closes #10358)
29745Files: src/eval.c, src/proto/eval.pro, src/vim9script.c,
29746 src/testdir/test_usercommands.vim
29747
29748Patch 8.2.4870
29749Problem: Vim9: expression in :substitute is not compiled.
29750Solution: Use an INSTR instruction if possible. (closes #10334)
29751Files: src/evalfunc.c, src/regexp.c, src/vim9execute.c, src/vim9expr.c,
29752 src/testdir/test_vim9_builtin.vim,
29753 src/testdir/test_vim9_disassemble.vim
29754
29755Patch 8.2.4871
29756Problem: Vim9: in :def function no error for using a range with a command
29757 that does not accept one.
29758Solution: Check for the command to accept a range. (closes #10330)
29759Files: src/vim9compile.c, src/testdir/test_vim9_script.vim
29760
29761Patch 8.2.4872
29762Problem: Vim9: no error for using an expression only at the script level
29763 when followed by an empty line.
29764Solution: Do not check the line number but whether something follows.
29765 (closes #10357)
29766Files: src/ex_eval.c, src/testdir/test_vim9_cmd.vim
29767
29768Patch 8.2.4873
29769Problem: Vim9: using "else" differs from using "endif/if !cond".
29770Solution: Leave the block and enter another one. (closes #10320)
29771Files: src/ex_eval.c, src/testdir/test_vim9_script.vim
29772
29773Patch 8.2.4874
29774Problem: Win32 GUI: horizontal scroll wheel not handled properly.
29775Solution: Also handle WM_MOUSEHWHEEL. (closes #10309)
29776Files: src/gui_w32.c
29777
29778Patch 8.2.4875
29779Problem: MS-Windows: some .exe files are not recognized.
29780Solution: Parse APPEXECLINK junctions. (closes #10302)
29781Files: src/os_mswin.c, src/proto/os_mswin.pro, src/os_win32.c,
29782 src/os_win32.h, src/testdir/test_functions.vim
29783
29784Patch 8.2.4876
29785Problem: MS-Windows: Shift-BS results in strange character in powershell.
29786Solution: Add K_S_BS. (Christian Brabandt, closes #10283, closes #10279)
29787Files: src/edit.c, src/keymap.h, src/term.c, src/testdir/shared.vim,
29788 src/testdir/test_edit.vim
29789
29790Patch 8.2.4877
29791Problem: MS-Windows: Using Normal colors for termguicolors causes problems.
29792Solution: Do not use Normal colors to set sg_gui_fg and sg_gui_bg.
29793 (Christian Brabandt, closes #10317, closes #10241)
29794Files: src/highlight.c
29795
29796Patch 8.2.4878
29797Problem: Valgrind warning for using uninitialized variable.
29798Solution: Initialize the type of newtv.
29799Files: src/strings.c
29800
29801Patch 8.2.4879
29802Problem: Screendump test may fail when using valgrind.
29803Solution: Wait longer for the first screendump.
29804Files: src/testdir/test_vim9_builtin.vim, src/testdir/screendump.vim
29805
29806Patch 8.2.4880
29807Problem: Vim9: misplaced elseif causes invalid memory access.
29808Solution: Check cs_idx not to be negative.
29809Files: src/ex_eval.c
29810
29811Patch 8.2.4881
29812Problem: "P" in Visual mode still changes some registers.
29813Solution: Make "P" in Visual mode not change any register. (Shougo
29814 Matsushita, closes #10349)
29815Files: runtime/doc/change.txt, runtime/doc/index.txt,
29816 runtime/doc/visual.txt, src/normal.c, src/testdir/test_visual.vim
29817
29818Patch 8.2.4882
29819Problem: Cannot make 'breakindent' use a specific column.
29820Solution: Add the "column" entry in 'breakindentopt'. (Christian Brabandt,
29821 closes #10362, closes #10325)
29822Files: runtime/doc/options.txt, src/indent.c, src/structs.h,
29823 src/testdir/test_breakindent.vim
29824
29825Patch 8.2.4883
29826Problem: String interpolation only works in heredoc.
29827Solution: Support interpolated strings. Use syntax for heredoc consistent
29828 with strings, similar to C#. (closes #10327)
29829Files: runtime/doc/eval.txt, src/errors.h, src/eval.c, src/evalvars.c,
29830 src/proto/evalvars.pro, src/typval.c, src/proto/typval.pro,
29831 src/vim9compile.c, src/proto/vim9compile.pro, src/vim9expr.c,
29832 src/testdir/test_debugger.vim, src/testdir/test_expr.vim,
29833 src/testdir/test_let.vim, src/testdir/test_vim9_assign.vim,
29834 src/testdir/test_vim9_disassemble.vim
29835
29836Patch 8.2.4884
29837Problem: Test fails without the job/channel feature. (Dominique Pellé)
29838Solution: Add condition.
29839Files: src/testdir/test_vim9_script.vim
29840
29841Patch 8.2.4885 (after 8.2.4884)
29842Problem: Test fails with the job/channel feature.
29843Solution: Move check for job/channel separately.
29844Files: src/testdir/test_vim9_script.vim
29845
29846Patch 8.2.4886
29847Problem: Vim9: redir in skipped block seen as assignment.
29848Solution: Check for valid assignment.
29849Files: src/ex_docmd.c, src/testdir/test_vim9_assign.vim
29850
29851Patch 8.2.4887
29852Problem: Channel log does not show invoking a timer callback.
29853Solution: Add a ch_log() call.
29854Files: src/time.c
29855
29856Patch 8.2.4888
29857Problem: Line number of lambda ignores line continuation.
29858Solution: Use the line number of where the arguments are. Avoid outputting
29859 "..." twice. (closes #10364)
29860Files: src/userfunc.c
29861
29862Patch 8.2.4889
29863Problem: CI only tests with FreeBSD 12.
29864Solution: Also test with FreeBSD 13. (closes #10366)
29865Files: .cirrus.yml
29866
29867Patch 8.2.4890
29868Problem: Inconsistent capitalization in error messages.
29869Solution: Make capitalization consistent. (Doug Kearns)
29870Files: src/errors.h
29871
29872Patch 8.2.4891
29873Problem: Vim help presentation could be better.
29874Solution: Add an imported file for extra Vim help support. Show highlight
29875 names in the color they have.
29876Files: Filelist, runtime/import/dist/vimhelp.vim
29877
29878Patch 8.2.4892
29879Problem: Test failures because of changed error messages.
29880Solution: Adjust the exptected error messages.
29881Files: src/testdir/test_vim9_assign.vim,
29882 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim,
29883 src/testdir/test_vim9_func.vim, src/testdir/test_vim9_script.vim,
29884 src/testdir/test_expand.vim, src/testdir/test_tcl.vim,
29885 src/testdir/test_vimscript.vim
29886
29887Patch 8.2.4893 (after 8.2.4891)
29888Problem: Distributed import files are not installed.
29889Solution: Add rules to Makefile and NSIS.
29890Files: src/Makefile, nsis/gvim.nsi
29891
29892Patch 8.2.4894
29893Problem: MS-Windows: not using italics.
29894Solution: Use italics. Simplify the code. (closes #10359)
29895Files: src/term.c
29896
29897Patch 8.2.4895
29898Problem: Buffer overflow with invalid command with composing chars.
29899Solution: Check that the whole character fits in the buffer.
29900Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
29901
29902Patch 8.2.4896 (after 8.2.4869)
29903Problem: Expression in command block does not look after NL when command is
29904 typed.
29905Solution: Skip over NL also when not in a script. (closes #10358)
29906Files: src/eval.c, src/testdir/test_usercommands.vim
29907
29908Patch 8.2.4897
29909Problem: Comment inside an expression in lambda ignores the rest of the
29910 expression.
29911Solution: Truncate the line at the comment. (closes #10367)
29912Files: src/eval.c, src/testdir/test_lambda.vim
29913
29914Patch 8.2.4898
29915Problem: Coverity complains about pointer usage.
29916Solution: Move code for increment/decerment.
29917Files: src/vim9compile.c
29918
29919Patch 8.2.4899
29920Problem: With latin1 encoding CTRL-W might go before the start of the
29921 command line.
29922Solution: Check already being at the start of the command line.
29923Files: src/ex_getln.c, src/testdir/test_cmdline.vim
29924
29925Patch 8.2.4900
29926Problem: Vim9 expression test fails without the job feature.
29927Solution: Add a check for the job feature. (Dominique Pellé, closes #10373)
29928Files: src/testdir/test_vim9_expr.vim
29929
29930Patch 8.2.4901
29931Problem: NULL pointer access when using invalid pattern.
29932Solution: Check for failed regexp program.
29933Files: src/buffer.c, src/testdir/test_buffer.vim
29934
29935Patch 8.2.4902
29936Problem: Mouse wheel scrolling is inconsistent.
29937Solution: Use the MS-Winows system setting. (closes #10368)
29938Files: runtime/doc/scroll.txt, src/gui_w32.c, src/mouse.c,
29939 src/proto/mouse.pro, src/testing.c, src/testdir/test_gui.vim
29940
29941Patch 8.2.4903
29942Problem: Cannot get the current cmdline completion type and position.
29943Solution: Add getcmdcompltype() and getcmdscreenpos(). (Shougo Matsushita,
29944 closes #10344)
29945Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/cmdexpand.c,
29946 src/proto/cmdexpand.pro, src/evalfunc.c, src/ex_getln.c,
29947 src/proto/ex_getln.pro, src/usercmd.c, src/proto/usercmd.pro,
29948 src/testdir/test_cmdline.vim
29949
29950Patch 8.2.4904
29951Problem: codecov includes MS-Windows install files.
29952Solution: Ignore dosinst.c and uninstall.c.
29953Files: .codecov.yml
29954
29955Patch 8.2.4905
29956Problem: codecov includes MS-Windows install header file.
29957Solution: Ignore dosinst.h.
29958Files: .codecov.yml
29959
29960Patch 8.2.4906
29961Problem: MS-Windows: cannot use transparent background.
29962Solution: Make transparent background work with 'termguicolors' and NONE
29963 background color. (Yasuhiro Matsumoto, closes #10310, closes #7162)
29964Files: runtime/doc/options.txt, src/os_win32.c, src/term.c
29965
29966Patch 8.2.4907
29967Problem: Some users do not want a line comment always inserted.
29968Solution: Add the '/' flag to 'formatoptions' to not repeat the comment
29969 leader after a statement when using "o".
29970Files: runtime/doc/change.txt, src/option.h, src/change.c,
29971 src/testdir/test_textformat.vim
29972
29973Patch 8.2.4908
29974Problem: No text formatting for // comment after a statement.
29975Solution: format a comment when the 'c' flag is in 'formatoptions'.
29976Files: src/textformat.c, src/testdir/test_textformat.vim
29977
29978Patch 8.2.4909
29979Problem: MODE_ enum entries names are too generic.
29980Solution: use CH_MODE_.
29981Files: src/structs.h, src/channel.c, src/job.c, src/terminal.c
29982
29983Patch 8.2.4910
29984Problem: Imperfect coding.
29985Solution: Make code nicer.
29986Files: src/ex_getln.c
29987
29988Patch 8.2.4911
29989Problem: The mode #defines are not clearly named.
29990Solution: Prepend MODE_. Renumber them to put the mapped modes first.
29991Files: src/vim.h, src/autocmd.c, src/buffer.c, src/change.c,
29992 src/charset.c, src/cindent.c, src/clipboard.c, src/debugger.c,
29993 src/digraph.c, src/drawline.c, src/drawscreen.c, src/edit.c,
29994 src/evalfunc.c, src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c,
29995 src/fileio.c, src/fold.c, src/getchar.c, src/globals.h, src/gui.c,
29996 src/gui_gtk.c, src/gui_w32.c, src/gui_xim.c, src/indent.c,
29997 src/insexpand.c, src/macros.h, src/main.c, src/map.c, src/menu.c,
29998 src/message.c, src/misc1.c, src/misc2.c, src/mouse.c,
29999 src/netbeans.c, src/normal.c, src/ops.c, src/option.c,
30000 src/os_unix.c, src/os_win32.c, src/popupmenu.c, src/search.c,
30001 src/tag.c, src/screen.c, src/term.c, src/terminal.c,
30002 src/textformat.c, src/window.c
30003
30004Patch 8.2.4912
30005Problem: Using execute() to define a lambda doesn't work. (Ernie Rael)
30006Solution: Put the getline function in evalarg. (closes #10375)
30007Files: src/eval.c, src/evalfunc.c, src/proto/evalfunc.pro,
30008 src/testdir/test_vim9_func.vim
30009
30010Patch 8.2.4913
30011Problem: Popup_hide() does not always have effect.
30012Solution: Add the POPF_HIDDEN_FORCE flag. (closes #10376)
30013Files: src/popupwin.c, src/vim.h, src/testdir/test_popupwin.vim,
30014 src/testdir/dumps/Test_popup_prop_not_visible_01a.dump,
30015 src/testdir/dumps/Test_popup_prop_not_visible_01b.dump
30016
30017Patch 8.2.4914
30018Problem: String interpolation in :def function may fail.
30019Solution: Do not terminate the expression. (closes #10377)
30020Files: src/vim9compile.c, src/testdir/test_vim9_expr.vim
30021
30022Patch 8.2.4915
30023Problem: Sometimes the cursor is in the wrong position.
30024Solution: When the cursor moved to another line, recompute w_botline.
30025 (closes #9736)
30026Files: src/move.c
30027
30028Patch 8.2.4916 (after 8.2.4915)
30029Problem: Mouse in Insert mode test fails.
30030Solution: Fix the test and check relevant positions.
30031Files: src/testdir/test_edit.vim
30032
30033Patch 8.2.4917
30034Problem: Fuzzy expansion of option names is not right.
30035Solution: Pass the fuzzy flag down the call chain. (Christian Brabandt,
30036 closes #10380, closes #10318)
30037Files: src/cmdexpand.c, src/option.c, src/proto/option.pro,
30038 src/testdir/test_options.vim
30039
30040Patch 8.2.4918
30041Problem: Conceal character from matchadd() displayed too many times.
30042Solution: Check the syntax flag. (closes #10381, closes #7268)
30043Files: src/drawline.c, src/testdir/test_matchadd_conceal.vim
30044
30045Patch 8.2.4919
30046Problem: Can add invalid bytes with :spellgood.
30047Solution: Check for a valid word string.
30048Files: src/mbyte.c, src/spellfile.c, src/errors.h,
30049 src/testdir/test_spell_utf8.vim
30050
30051Patch 8.2.4920 (after 8.2.4902)
30052Problem: MS-Windows GUI: unused variables.
30053Solution: Delete the variables. (John Marriott)
30054Files: src/gui_w32.c
30055
30056Patch 8.2.4921
30057Problem: Spell test fails because of new illegal byte check.
30058Solution: Remove the test.
30059Files: src/testdir/test_spell.vim
30060
30061Patch 8.2.4922 (after 8.2.4916)
30062Problem: Mouse test fails on MS-Windows.
30063Solution: Set 'mousemodel' to "extend".
30064Files: src/testdir/test_edit.vim
30065
30066Patch 8.2.4923
30067Problem: Test checks for terminal feature unnecessarily.
30068Solution: Remove CheckRunVimInTerminal. (closes #10383)
30069Files: src/testdir/test_matchadd_conceal.vim
30070
30071Patch 8.2.4924
30072Problem: maparg() may return a string that cannot be reused.
30073Solution: use msg_outtrans_special() instead of str2special().
30074 (closes #10384)
30075Files: src/message.c, src/option.c, src/testdir/test_map_functions.vim,
30076 src/testdir/test_mapping.vim, src/testdir/test_options.vim
30077
30078Patch 8.2.4925
30079Problem: Trailing backslash may cause reading past end of line.
30080Solution: Check for NUL after backslash.
30081Files: src/textobject.c, src/testdir/test_textobjects.vim
30082
30083Patch 8.2.4926
30084Problem: #ifdef for crypt feature around too many lines.
30085Solution: Move code outside of #ifdef. (closes #10388)
30086Files: src/option.c
30087
30088Patch 8.2.4927
30089Problem: Return type of remove() incorrect when using three arguments.
30090Solution: Use first argument type when there are three arguments.
30091 (closes #10387)
30092Files: src/evalfunc.c, src/testdir/test_vim9_builtin.vim
30093
30094Patch 8.2.4928
30095Problem: Various white space and cosmetic mistakes.
30096Solution: Change spaces to tabs, improve comments.
30097Files: src/bufwrite.c, src/channel.c, src/cindent.c, src/crypt.c,
30098 src/debugger.c, src/digraph.c, src/edit.c, src/evalwindow.c,
30099 src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c, src/fileio.c,
30100 src/filepath.c, src/gui.c, src/highlight.c, src/indent.c,
30101 src/insexpand.c, src/job.c, src/keymap.h, src/macros.h,
30102 src/menu.c, src/misc1.c, src/misc2.c, src/mouse.c, src/move.c,
30103 src/normal.c, src/ops.c, src/option.c, src/option.h, src/search.c,
30104 src/session.c, src/spellsuggest.c, src/structs.h, src/tag.c,
30105 src/term.c, src/terminal.c, src/textformat.c, src/typval.c,
30106 src/ui.c, src/userfunc.c, src/vim.h, src/vim9.h,
30107 src/vim9compile.c, src/vim9execute.c, src/window.c,
30108 src/testdir/test_cursorline.vim, src/os_unix.c, src/if_lua.c,
30109 src/if_py_both.h, src/os_amiga.c, src/os_win32.c, src/os_mswin.c,
30110 src/os_vms.c, src/os_vms_conf.h
30111
30112Patch 8.2.4929
30113Problem: Off-by-one error in in statusline item.
30114Solution: Subtrace one less. (closes #10394, closes #5599)
30115Files: src/buffer.c, src/testdir/test_statusline.vim,
30116 src/testdir/dumps/Test_statusline_hl.dump
30117
30118Patch 8.2.4930
30119Problem: Interpolated string expression requires escaping.
30120Solution: Do not require escaping in the expression.
30121Files: runtime/doc/eval.txt, src/typval.c, src/proto/typval.pro,
30122 src/dict.c, src/eval.c, src/evalvars.c, src/proto/evalvars.pro,
30123 src/vim9compile.c, src/proto/vim9compile.pro, src/vim9expr.c,
30124 src/vim9instr.c, src/alloc.c, src/proto/alloc.pro,
30125 src/testdir/test_expr.vim, src/testdir/test_let.vim
30126
30127Patch 8.2.4931
30128Problem: Crash with sequence of Perl commands.
30129Solution: Move PUTBACK to another line. (closes #10386)
30130Files: src/if_perl.xs
30131
30132Patch 8.2.4932
30133Problem: Not easy to filter the output of maplist().
30134Solution: Add mode_bits to the dictionary. (Ernie Rael, closes #10356)
30135Files: runtime/doc/builtin.txt, src/map.c,
30136 src/testdir/test_map_functions.vim,
30137 src/testdir/test_vim9_builtin.vim
30138
30139Patch 8.2.4933
30140Problem: A few more capitalization mistakes in error messages.
30141Solution: Adjust capitalization. (Doug Kearns)
30142Files: src/errors.h
30143
30144Patch 8.2.4934
30145Problem: String interpolation fails when not evaluating.
30146Solution: Skip the expression when not evaluating. (closes #10398)
30147Files: src/typval.c, src/evalvars.c, src/proto/evalvars.pro,
30148 src/testdir/test_vim9_expr.vim
30149
30150Patch 8.2.4935
30151Problem: With 'foldmethod' "indent" some lines are not included in the
30152 fold. (Oleg Koshovetc)
30153Solution: Fix it. (Brandon Simmons, closes #10399, closes #3214)
30154Files: src/fold.c, src/testdir/test_fold.vim
30155
30156Patch 8.2.4936
30157Problem: MS-Windows: mouse coordinates for scroll event are wrong.
30158Solution: Convert coordinates to the text area coordinates. (closes #10400)
30159Files: src/gui_w32.c
30160
30161Patch 8.2.4937 (after 8.2.4931)
30162Problem: No test for what 8.2.4931 fixes.
30163Solution: Add a test that triggers a valgrind error.
30164Files: src/testdir/test_perl.vim
30165
30166Patch 8.2.4938
30167Problem: Crash when matching buffer with invalid pattern.
30168Solution: Check for NULL regprog.
30169Files: src/buffer.c, src/testdir/test_buffer.vim
30170
30171Patch 8.2.4939
30172Problem: matchfuzzypos() with "matchseq" does not have all positions.
30173Solution: Also add a position for white space. (closes #10404)
30174Files: runtime/doc/builtin.txt, src/search.c,
30175 src/testdir/test_matchfuzzy.vim
30176
30177Patch 8.2.4940
30178Problem: Some code is never used.
30179Solution: Remove dead code. Add a few more test cases.
30180Files: src/vim9expr.c, src/proto/vim9expr.pro, src/vim9compile.c,
30181 src/testdir/test_vim9_builtin.vim, src/testdir/test_vim9_expr.vim
30182
30183Patch 8.2.4941
30184Problem: '[ and '] marks may be wrong after undo.
30185Solution: Adjust the '[ and '] marks if needed. (closes #10407, closes #1281)
30186Files: src/undo.c, src/testdir/test_undo.vim
30187
30188Patch 8.2.4942
30189Problem: Error when setting 'filetype' in help file again.
30190Solution: Deal with text property type already existing. (closes #10409)
30191Files: runtime/import/dist/vimhelp.vim
30192
30193Patch 8.2.4943
30194Problem: Changing 'switchbuf' may have no effect.
30195Solution: Handle 'switchbuf' in didset_string_options(). (Sean Dewar,
30196 closes #10406)
30197Files: src/optionstr.c, src/testdir/test_options.vim
30198
30199Patch 8.2.4944
30200Problem: Text properties are wrong after "cc". (Axel Forsman)
30201Solution: Pass the deleted byte count to inserted_bytes(). (closes #10412,
30202 closes #7737, closes #5763)
30203Files: src/change.c, src/testdir/test_textprop.vim
30204
30205Patch 8.2.4945
30206Problem: Inconsistent use of white space.
30207Solution: Use Tabs and Spaces consistently.
30208Files: src/os_amiga.c, src/if_py_both.h, src/os_win32.c, src/os_mswin.c,
30209 src/os_vms.c, src/os_vms_conf.h
30210
30211Patch 8.2.4946
30212Problem: Vim9: some code not covered by tests.
30213Solution: Add a few more test cases. Remove dead code.
30214Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim,
30215 src/testdir/test_vim9_builtin.vim
30216
30217Patch 8.2.4947
30218Problem: Text properties not adjusted when accepting spell suggestion.
30219Solution: Adjust text properties when text changes. (closes #10414)
30220Files: src/spell.c, src/spellsuggest.c, src/testdir/test_textprop.vim
30221
30222Patch 8.2.4948
30223Problem: Cannot use Perl heredoc in nested :def function. (Virginia
30224 Senioria)
30225Solution: Only concatenate heredoc lines when not in a nested function.
30226 (closes #10415)
30227Files: src/userfunc.c, src/testdir/test_vim9_func.vim
30228
30229Patch 8.2.4949
30230Problem: Vim9: some code not covered by tests.
30231Solution: Add a few more test cases. Fix double error message.
30232Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim
30233
30234Patch 8.2.4950
30235Problem: Text properties position wrong after shifting text.
30236Solution: Adjust the text properties when shifting a block of text.
30237 (closes #10418)
30238Files: src/ops.c, src/testdir/test_textprop.vim
30239
30240Patch 8.2.4951
30241Problem: Smart indenting done when not enabled.
30242Solution: Check option values before setting can_si. (closes #10420)
30243Files: src/indent.c, src/proto/indent.pro, src/change.c, src/edit.c,
30244 src/ops.c, src/testdir/test_smartindent.vim
30245
30246Patch 8.2.4952
30247Problem: GUI test will fail if color scheme changes.
30248Solution: Reduce the test for now.
30249Files: src/testdir/test_gui.vim
30250
30251Patch 8.2.4953
30252Problem: With 'smartindent' inserting '}' after completion goes wrong.
30253Solution: Check the cursor is in indent. (closes #10420)
30254Files: src/indent.c, src/testdir/test_smartindent.vim
30255
30256Patch 8.2.4954
30257Problem: Inserting line breaks text property spanning more then one line.
30258Solution: Check TP_FLAG_CONT_PREV and TP_FLAG_CONT_NEXT. (closes #10423)
30259Files: src/textprop.c, src/testdir/test_textprop.vim
30260
30261Patch 8.2.4955
30262Problem: Text property in wrong position after auto-indent.
30263Solution: Adjust text property columns. (closes #10422, closes #7719)
30264Files: src/change.c, src/testdir/test_textprop.vim
30265
30266Patch 8.2.4956
30267Problem: Reading past end of line with "gf" in Visual block mode.
30268Solution: Do not include the NUL in the length.
30269Files: src/normal.c, src/testdir/test_gf.vim
30270
30271Patch 8.2.4957
30272Problem: Text properties in a wrong position after a block change.
30273Solution: Adjust the properties columns. (closes #10427)
30274Files: src/ops.c, src/testdir/test_textprop.vim
30275
30276Patch 8.2.4958
30277Problem: A couple conditions are always true.
30278Solution: Remove the conditions. (Goc Dundar, closes #10428)
30279Files: src/evalfunc.c, src/quickfix.c
30280
30281Patch 8.2.4959
30282Problem: Using NULL regexp program.
30283Solution: Check for regexp program becoming NULL in more places.
30284Files: src/buffer.c, src/testdir/test_buffer.vim
30285
30286Patch 8.2.4960
30287Problem: Text properties that cross line boundary are not correctly updated
30288 for a deleted line.
30289Solution: Correct computing location of text property entry. (Paul Ollis,
30290 closes #10431, closes #10430)
30291Files: src/memline.c, src/testdir/test_textprop.vim
30292
30293Patch 8.2.4961
30294Problem: Build error with a certain combination of features.
30295Solution: Adjust #if. (John Marriott)
30296Files: src/memline.c
30297
30298Patch 8.2.4962
30299Problem: Files show up in git status.
30300Solution: Adjust the list of ignored files. Clean up more test files.
30301 (Shane xb Qian, closes #9929)
30302Files: .gitignore, src/testdir/Makefile
30303
30304Patch 8.2.4963
30305Problem: Expanding path with "/**" may overrun end of buffer.
30306Solution: Use vim_snprintf().
30307Files: src/filepath.c
30308
30309Patch 8.2.4964
30310Problem: MS-Windows GUI: mouse event test is flaky.
30311Solution: Add a short delay after generating a mouse event.
30312Files: src/testdir/test_gui.vim
30313
30314Patch 8.2.4965
30315Problem: GUI: testing mouse move event depends on screen cell size.
30316Solution: Multiply the row and column with the screen cell size.
30317Files: runtime/doc/testing.txt, src/testing.c, src/testdir/test_gui.vim
30318
30319Patch 8.2.4966
30320Problem: MS-Windows GUI: mouse event test gets extra event.
30321Solution: Ignore one move event.
30322Files: src/testdir/test_gui.vim
30323
30324Patch 8.2.4967 (after 8.2.4966)
30325Problem: MS-Windows GUI: mouse event test sometimes fails.
30326Solution: Ignore one move event only if there is an extra event.
30327Files: src/testdir/test_gui.vim
30328
30329Patch 8.2.4968
30330Problem: Reading past end of the line when C-indenting.
30331Solution: Check for NUL.
30332Files: src/cindent.c, src/testdir/test_cindent.vim
30333
30334Patch 8.2.4969
30335Problem: Changing text in Visual mode may cause invalid memory access.
30336Solution: Check the Visual position after making a change.
30337Files: src/change.c, src/edit.c, src/misc2.c, src/proto/misc2.pro,
30338 src/testdir/test_visual.vim
30339
30340Patch 8.2.4970
30341Problem: "eval 123" gives an error, "eval 'abc'" does not.
30342Solution: Also give an error when evaluating only a string. (closes #10434)
30343Files: src/ex_eval.c, src/testdir/test_vim9_cmd.vim
30344
30345Patch 8.2.4971
30346Problem: Vim9: interpolated string seen as range.
30347Solution: Recognize an interpolated string at the start of a command line.
30348 (closes #10434)
30349Files: src/ex_docmd.c, src/testdir/test_vim9_expr.vim
30350
30351Patch 8.2.4972
30352Problem: Vim9: compilation fails when using dict member when skipping.
30353Solution: Do not generate ISN_USEDICT when skipping. (closes #10433)
30354Files: src/vim9expr.c, src/testdir/test_vim9_expr.vim
30355
30356Patch 8.2.4973
30357Problem: Vim9: type error for list unpack mentions argument.
30358Solution: Mention variable. (close #10435)
30359Files: src/vim9.h, src/vim9execute.c, src/vim9instr.c,
30360 src/proto/vim9instr.pro, src/vim9compile.c,
30361 src/testdir/test_vim9_script.vim,
30362 src/testdir/test_vim9_disassemble.vim
30363
30364Patch 8.2.4974
30365Problem: ":so" command may read after end of buffer.
30366Solution: Compute length of text properly.
30367Files: src/scriptfile.c, src/testdir/test_source.vim
30368
30369Patch 8.2.4975
30370Problem: Recursive command line loop may cause a crash.
30371Solution: Limit recursion of getcmdline().
30372Files: src/ex_getln.c, src/testdir/test_cmdline.vim
30373
30374Patch 8.2.4976
30375Problem: Coverity complains about not restoring a saved value.
30376Solution: Restore value before handling error.
30377Files: src/vim9execute.c
30378
30379Patch 8.2.4977
30380Problem: Memory access error when substitute expression changes window.
30381Solution: Disallow changing window in substitute expression.
30382Files: src/ex_cmds.c, src/testdir/test_substitute.vim
30383
30384Patch 8.2.4978
30385Problem: No error if engine selection atom is not at the start.
30386Solution: Give an error. (Christian Brabandt, closes #10439)
30387Files: runtime/doc/pattern.txt, src/errors.h, src/regexp_bt.c,
30388 src/regexp_nfa.c, src/testdir/test_regexp_latin.vim
30389
30390Patch 8.2.4979
30391Problem: Accessing freed memory when line is flushed.
30392Solution: Make a copy of the pattern to search for.
30393Files: src/window.c, src/testdir/test_tagjump.vim
30394
30395Patch 8.2.4980
30396Problem: When 'shortmess' contains 'A' loading a session may still warn for
30397 an existing swap file. (Melker Österberg)
30398Solution: Keep the 'A' flag to 'shortmess' in the session file.
30399 (closes #10443)
30400Files: src/session.c, src/testdir/test_mksession.vim
30401
30402Patch 8.2.4981
30403Problem: It is not possible to manipulate autocommands.
30404Solution: Add functions to add, get and set autocommands. (Yegappan
30405 Lakshmanan, closes #10291)
30406Files: runtime/doc/autocmd.txt, runtime/doc/builtin.txt,
30407 runtime/doc/usr_41.txt, src/autocmd.c, src/evalfunc.c,
30408 src/proto/autocmd.pro, src/testdir/test_autocmd.vim,
30409 src/testdir/test_vim9_builtin.vim
30410
30411Patch 8.2.4982
30412Problem: Colors in terminal window are not 100% correct.
30413Solution: Use g:terminal_ansi_colors as documented. (closes #10429,
30414 closes #7227 closes #10347)
30415Files: src/job.c, src/option.c, src/proto/term.pro,
30416 src/terminal.c, src/proto/terminal.pro, src/term.c,
30417 src/testdir/test_functions.vim, src/testdir/test_terminal.vim
30418
30419Patch 8.2.4983 (after 8.2.4982)
30420Problem: Colors test fails in the GUI.
30421Solution: Reset g:terminal_ansi_colors.
30422Files: src/testdir/test_functions.vim
30423
30424Patch 8.2.4984
30425Problem: Dragging statusline fails for window with winbar.
30426Solution: Fix off-by-one error. (closes #10448)
30427Files: src/mouse.c, src/testdir/test_winbar.vim
30428
30429Patch 8.2.4985
30430Problem: PVS warns for possible array underrun.
30431Solution: Add a check for a positive value. (Goc Dundar, closes #10451)
30432Files: src/spell.c
30433
30434Patch 8.2.4986
30435Problem: Some github actions are outdated.
30436Solution: Update CodeQl to v2, update checkout to v3. (closes #10450)
30437Files: .github/workflows/ci.yml, .github/workflows/codeql-analysis.yml,
30438 .github/workflows/coverity.yml
30439
30440Patch 8.2.4987
30441Problem: After deletion a small fold may be closable.
30442Solution: Check for a reverse range. (Brandon Simmons, closes #10457)
30443Files: src/fold.c, src/testdir/test_fold.vim
30444
30445Patch 8.2.4988
30446Problem: Textprop in wrong position when replacing multi-byte chars.
30447Solution: Adjust textprop position. (closes #10461)
30448Files: src/change.c, src/testdir/test_textprop.vim
30449
30450Patch 8.2.4989
30451Problem: Cannot specify a function name for :defcompile.
30452Solution: Implement a function name argument for :defcompile.
30453Files: runtime/doc/vim9.txt, src/userfunc.c, src/proto/userfunc.pro,
30454 src/vim9execute.c, src/ex_cmds.h, src/testdir/test_vim9_cmd.vim,
30455 src/testdir/test_vim9_disassemble.vim
30456
30457Patch 8.2.4990 (after 8.2.4989)
30458Problem: Memory leak when :defcompile fails.
30459Solution: Free fname when returning early.
30460Files: src/userfunc.c
30461
30462Patch 8.2.4991
30463Problem: No test for what patch 8.1.0535 fixes.
30464Solution: Add a test. (closes #10462)
30465Files: src/testdir/test_fold.vim
30466
30467Patch 8.2.4992 (after 8.2.4989)
30468Problem: Compiler warning for possibly uninitialized variable. (Tony
30469 Mechelynck)
30470Solution: Initialize variable in the caller instead of in the function.
30471Files: src/userfunc.c, src/vim9execute.c
30472
30473Patch 8.2.4993
30474Problem: smart/C/lisp indenting is optional, which makes the code more
30475 complex, while it only reduces the executable size a bit.
30476Solution: Graduate FEAT_CINDENT, FEAT_SMARTINDENT and FEAT_LISP.
30477Files: runtime/doc/builtin.txt, runtime/doc/indent.txt,
30478 runtime/doc/options.txt, runtime/doc/various.txt, src/feature.h,
30479 src/buffer.c, src/change.c, src/cindent.c, src/charset.c,
30480 src/edit.c, src/evalfunc.c, src/indent.c, src/insexpand.c,
30481 src/main.c, src/mouse.c, src/ops.c, src/option.c, src/optionstr.c,
30482 src/register.c, src/search.c, src/textformat.c, src/version.c,
30483 src/option.h, src/optiondefs.h, src/structs.h, src/globals.h,
30484 src/testdir/test_edit.vim
30485
30486Patch 8.2.4994
30487Problem: Tests are using legacy functions.
30488Solution: Convert a few tests to use :def functions.
30489Files: src/testdir/test_cindent.vim
30490
30491Patch 8.2.4995 (after 8.2.4992)
30492Problem: Still a compiler warning for possibly uninitialized variable.
30493 (Tony Mechelynck)
30494Solution: Initialize variables.
30495Files: src/vim9execute.c
30496
30497Patch 8.2.4996 (after 8.2.4969)
30498Problem: setbufline() may change Visual selection. (Qiming Zhao)
30499Solution: Disable Visual mode when using another buffer. (closes #10466)
30500Files: src/evalbuffer.c, src/testdir/test_bufline.vim
30501
30502Patch 8.2.4997
30503Problem: Python: changing hidden buffer can cause the display to be messed
30504 up.
30505Solution: Do not mark changed lines when using another buffer. (Paul Ollis,
30506 closes #10437, closes #7972)
30507Files: src/if_py_both.h, src/testdir/test_python3.vim
30508
30509Patch 8.2.4998
30510Problem: Vim9: crash when using multiple funcref().
30511Solution: Check if varargs type is NULL. (closes #10467)
30512Files: src/vim9type.c, src/testdir/test_vim9_func.vim
30513
30514Patch 8.2.4999
30515Problem: Filetype test table is not properly sorted.
30516Solution: Sort by filetype. (Doug Kearns)
30517Files: src/testdir/test_filetype.vim
30518
30519Patch 8.2.5000
30520Problem: No patch for documentation updates.
30521Solution: Update documentation files.
30522Files: runtime/doc/arabic.txt, runtime/doc/autocmd.txt,
30523 runtime/doc/builtin.txt, runtime/doc/change.txt,
30524 runtime/doc/channel.txt, runtime/doc/cmdline.txt,
30525 runtime/doc/diff.txt, runtime/doc/digraph.txt,
30526 runtime/doc/editing.txt, runtime/doc/eval.txt,
30527 runtime/doc/filetype.txt, runtime/doc/fold.txt,
30528 runtime/doc/ft_ada.txt, runtime/doc/ft_ps1.txt,
30529 runtime/doc/ft_raku.txt, runtime/doc/ft_rust.txt,
30530 runtime/doc/ft_sql.txt, runtime/doc/gui.txt,
30531 runtime/doc/gui_w32.txt, runtime/doc/helphelp.txt,
30532 runtime/doc/help.txt, runtime/doc/if_cscop.txt,
30533 runtime/doc/if_lua.txt, runtime/doc/if_perl.txt,
30534 runtime/doc/if_pyth.txt, runtime/doc/if_tcl.txt,
30535 runtime/doc/indent.txt, runtime/doc/index.txt,
30536 runtime/doc/insert.txt, runtime/doc/intro.txt,
30537 runtime/doc/map.txt, runtime/doc/mbyte.txt,
30538 runtime/doc/message.txt, runtime/doc/motion.txt,
30539 runtime/doc/netbeans.txt, runtime/doc/options.txt,
30540 runtime/doc/os_dos.txt, runtime/doc/os_vms.txt,
30541 runtime/doc/os_win32.txt, runtime/doc/pattern.txt,
30542 runtime/doc/pi_netrw.txt, runtime/doc/pi_zip.txt,
30543 runtime/doc/popup.txt, runtime/doc/print.txt,
30544 runtime/doc/quickfix.txt, runtime/doc/quickref.txt,
30545 runtime/doc/remote.txt, runtime/doc/repeat.txt,
30546 runtime/doc/rileft.txt, runtime/doc/scroll.txt,
30547 runtime/doc/sign.txt, runtime/doc/spell.txt,
30548 runtime/doc/sponsor.txt, runtime/doc/starting.txt,
30549 runtime/doc/syntax.txt, runtime/doc/tabpage.txt,
30550 runtime/doc/tagsrch.txt, runtime/doc/terminal.txt,
30551 runtime/doc/term.txt, runtime/doc/testing.txt,
30552 runtime/doc/textprop.txt, runtime/doc/tips.txt,
30553 runtime/doc/todo.txt, runtime/doc/uganda.txt,
30554 runtime/doc/undo.txt, runtime/doc/usr_02.txt,
30555 runtime/doc/usr_04.txt, runtime/doc/usr_05.txt,
30556 runtime/doc/usr_06.txt, runtime/doc/usr_08.txt,
30557 runtime/doc/usr_09.txt, runtime/doc/usr_12.txt,
30558 runtime/doc/usr_20.txt, runtime/doc/usr_29.txt,
30559 runtime/doc/usr_40.txt, runtime/doc/usr_41.txt,
30560 runtime/doc/usr_45.txt, runtime/doc/usr_46.txt,
30561 runtime/doc/usr_50.txt, runtime/doc/usr_51.txt,
30562 runtime/doc/usr_52.txt, runtime/doc/usr_90.txt,
30563 runtime/doc/usr_toc.txt, runtime/doc/various.txt,
30564 runtime/doc/version5.txt, runtime/doc/version6.txt,
30565 runtime/doc/version7.txt, runtime/doc/version8.txt,
30566 runtime/doc/version9.txt, runtime/doc/vi_diff.txt,
30567 runtime/doc/vim9.txt, runtime/doc/visual.txt,
30568 runtime/doc/windows.txt, runtime/doc/tags, runtime/doc/Makefile
30569
30570Patch 8.2.5001
30571Problem: Checking translations affects the search pattern history.
30572Solution: Use "keeppatterns". (Doug Kearns)
30573Files: src/po/check.vim
30574
30575Patch 8.2.5002
30576Problem: deletebufline() may change Visual selection.
30577Solution: Disable Visual mode when using another buffer. (closes #10469)
30578Files: src/evalbuffer.c, src/testdir/test_bufline.vim
30579
30580Patch 8.2.5003
30581Problem: Cannot do bitwise shifts.
30582Solution: Add the >> and << operators. (Yegappan Lakshmanan, closes #8457)
30583Files: runtime/doc/eval.txt, src/errors.h, src/eval.c, src/structs.h,
30584 src/vim.h, src/vim9execute.c, src/vim9expr.c,
30585 src/testdir/test_expr.vim, src/testdir/test_vim9_disassemble.vim,
30586 src/testdir/test_vim9_expr.vim
30587
30588Patch 8.2.5004
30589Problem: Right shift on negative number does not work as documented.
30590Solution: Use a uvarnumber_T type cast.
30591Files: runtime/doc/eval.txt, src/eval.c, src/vim9expr.c,
30592 src/vim9execute.c, src/charset.c, src/testdir/test_expr.vim
30593
30594Patch 8.2.5005 (after 8.2.5003)
30595Problem: Compiler warning for uninitialized variable. (John Marriott)
30596Solution: Initialize the pointer to NULL.
30597Files: src/vim9expr.vim
30598
30599Patch 8.2.5006 (after 8.2.5003)
30600Problem: Asan warns for undefined behavior.
30601Solution: Cast the shifted value to unsigned.
30602Files: src/eval.c, src/vim9expr.c, src/vim9execute.c
30603
30604Patch 8.2.5007
30605Problem: Spell suggestion may use uninitialized memory. (Zdenek Dohnal)
30606Solution: Avoid going over the end of the word.
30607Files: src/spellsuggest.c, src/testdir/test_spell_utf8.vim
30608
30609Patch 8.2.5008
30610Problem: When 'formatoptions' contains "/" wrongly wrapping a long trailing
30611 comment.
30612Solution: Pass the OPENLINE_FORMAT flag.
30613Files: src/change.c, src/vim.h, src/textformat.c,
30614 src/testdir/test_textformat.vim
30615
30616Patch 8.2.5009
30617Problem: Fold may not be closeable after appending.
30618Solution: Set the fd_small flag to MAYBE. (Brandon Simmons, closes #10471)
30619Files: src/fold.c, src/testdir/test_fold.vim
30620
30621Patch 8.2.5010
30622Problem: The terminal debugger uses various global variables.
30623Solution: Add a dictionary to hold the terminal debugger preferences.
30624Files: runtime/doc/terminal.txt,
30625 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
30626
30627Patch 8.2.5011
30628Problem: Replacing an autocommand requires several lines.
30629Solution: Add the "replace" flag to autocmd_add(). (Yegappan Lakshmanan,
30630 closes #10473)
30631Files: runtime/doc/autocmd.txt, runtime/doc/builtin.txt, src/autocmd.c,
30632 src/testdir/test_autocmd.vim
30633
30634Patch 8.2.5012
30635Problem: Cannot select one character inside ().
30636Solution: Do not try to extend the area if it is empty. (closes #10472,
30637 closes #6616)
30638Files: src/textobject.c, src/testdir/test_textobjects.vim
30639
30640Patch 8.2.5013
30641Problem: After text formatting the cursor may be in an invalid position.
30642Solution: Correct the cursor position after formatting.
30643Files: src/textformat.c, src/testdir/test_textformat.vim
30644
30645Patch 8.2.5014
30646Problem: Byte offsets are wrong when using text properties.
30647Solution: Make sure text properties do not affect the byte counts.
30648 (Paul Ollis, closes #10474)
30649Files: src/memline.c, src/textprop.c, src/testdir/test_textprop.vim
30650
30651Patch 8.2.5015
30652Problem: Hoon and Moonscript files are not recognized.
30653Solution: Add filetype patterns. (Goc Dundar, closes #10478)
30654Files: runtime/filetype.vim, src/testdir/test_filetype.vim
30655
30656Patch 8.2.5016
30657Problem: Access before start of text with a put command.
30658Solution: Check the length is more than zero.
30659Files: src/register.c, src/testdir/test_put.vim
30660
30661Patch 8.2.5017
30662Problem: Gcc 12.1 warns for uninitialized variable.
30663Solution: Initialize the variable. (closes #10476)
30664Files: src/evalvars.c
30665
30666Patch 8.2.5018
30667Problem: Vim9: some code is not covered by tests.
30668Solution: Delete dead code.
30669Files: src/vim9instr.c, src/proto/vim9instr.pro, src/vim9compile.c,
30670 src/vim9expr.c,
30671
30672Patch 8.2.5019
30673Problem: Cannot get the first screen column of a character.
30674Solution: Let virtcol() optionally return a list. (closes #10482,
30675 closes #7964)
30676Files: runtime/doc/builtin.txt, src/evalfunc.c,
30677 src/testdir/test_functions.vim, src/testdir/test_vim9_builtin.vim
30678
30679Patch 8.2.5020
30680Problem: Using 'imstatusfunc' and 'imactivatefunc' breaks 'foldopen'.
30681Solution: Save and restore the KeyTyped flag. (closes #10479)
30682Files: src/gui_xim.c, src/testdir/test_iminsert.vim
Bram Moolenaarc51cf032022-02-26 12:25:45 +000030683
30684
Bram Moolenaard799daa2022-06-20 11:17:32 +010030685Patch 8.2.5021
30686Problem: Build fails with normal features and +terminal. (Dominique Pellé)
30687Solution: Add #ifdefs. (closes #10484)
30688Files: src/terminal.c
30689
30690Patch 8.2.5022
30691Problem: 'completefunc'/'omnifunc' error does not end completion.
30692Solution: Check if there was an error or exception. (closes #10486,
30693 closes #4218)
30694Files: src/insexpand.c, src/testdir/test_ins_complete.vim
30695
30696Patch 8.2.5023
30697Problem: Substitute overwrites allocated buffer.
30698Solution: Disallow undo when in a substitute command.
30699Files: src/normal.c, src/undo.c, src/testdir/test_substitute.vim
30700
30701Patch 8.2.5024
30702Problem: Using freed memory with "]d".
30703Solution: Copy the pattern before searching.
30704Files: src/normal.c, src/testdir/test_tagjump.vim
30705
30706Patch 8.2.5025
30707Problem: Vim9: a few lines not covered by tests.
30708Solution: Add a few tests.
30709Files: src/vim9script.c, src/testdir/test_vim9_assign.vim,
30710 src/testdir/test_vim9_import.vim
30711
30712Patch 8.2.5026
30713Problem: Vim9: a few lines not covered by tests.
30714Solution: Delete dead code. Add a few test cases. make "12->func()" work.
30715Files: src/vim9type.c, src/ex_docmd.c, src/proto/ex_docmd.pro,
30716 src/vim9compile.c, src/testdir/test_vim9_assign.vim,
30717 src/testdir/test_vim9_func.vim
30718
30719Patch 8.2.5027
30720Problem: Error for missing :endif when an exception was thrown. (Dani
30721 Dickstein)
30722Solution: Do not give an error when aborting. (closes #10490)
30723Files: src/ex_docmd.c, src/testdir/test_trycatch.vim
30724
30725Patch 8.2.5028
30726Problem: Syntax regexp matching can be slow.
30727Solution: Adjust the counters for checking the timeout to check about once
30728 per msec. (closes #10487, closes #2712)
30729Files: src/regexp_bt.c, src/regexp_nfa.c
30730
30731Patch 8.2.5029
30732Problem: "textlock" is always zero.
30733Solution: Remove "textlock" and rename "textwinlock" to "textlock".
30734 (closes #10489)
30735Files: runtime/doc/insert.txt, runtime/doc/tags, src/beval.c,
30736 src/change.c, src/edit.c, src/errors.h, src/eval.c, src/ex_cmds.c,
30737 src/ex_getln.c, src/proto/ex_getln.pro, src/globals.h,
30738 src/indent.c, src/insexpand.c, src/map.c, src/register.c,
30739 src/undo.c, src/window.c, src/testdir/test_edit.vim,
30740 src/testdir/test_ins_complete.vim, src/testdir/test_popup.vim,
30741 src/testdir/test_quickfix.vim
30742
30743Patch 8.2.5030
30744Problem: autocmd_add() can only handle one event and pattern.
30745Solution: Support a list of events and patterns. (Yegappan Lakshmanan,
30746 closes #10483)
30747Files: runtime/doc/builtin.txt, src/autocmd.c, src/errors.h,
30748 src/testdir/test_autocmd.vim
30749
30750Patch 8.2.5031
30751Problem: Cannot easily run the benchmarks.
30752Solution: Have "make benchmark" in the src directory work.
30753Files: src/Makefile, src/testdir/Makefile
30754
30755Patch 8.2.5032
30756Problem: Python 3 test fails without the GUI.
30757Solution: Check the balloon_eval feature is available.
30758Files: src/testdir/test_python3.vim
30759
30760Patch 8.2.5033 (after 8.2.5030)
30761Problem: Build error with +eval but without +quickfix. Warning for
30762 uninitialized variable.
30763Solution: Adjust #ifdefs. (John Marriott)
30764Files: src/errors.h, src/autocmd.c
30765
30766Patch 8.2.5034
30767Problem: There is no way to get the byte index from a virtual column.
30768Solution: Add virtcol2col(). (Yegappan Lakshmanan, closes #10477,
30769 closes #10098)
30770Files: runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/evalfunc.c,
30771 src/move.c, src/proto/move.pro, src/testdir/test_cursor_func.vim
30772
30773Patch 8.2.5035
30774Problem: When splitting a window the changelist position moves.
30775Solution: Set the changelist index a bit later. (closes #10493)
30776Files: src/window.c, src/testdir/test_changelist.vim,
30777 src/testdir/test_normal.vim
30778
30779Patch 8.2.5036 (after 8.2.5028)
30780Problem: Using two counters for timeout check in NFA engine.
30781Solution: Use only one counter. Tune the counts based on guessing.
30782Files: src/regexp_nfa.c
30783
30784Patch 8.2.5037
30785Problem: Cursor position may be invalid after "0;" range.
30786Solution: Check the cursor position when it was set by ";" in the range.
30787Files: src/ex_docmd.c, src/testdir/test_excmd.vim
30788
30789Patch 8.2.5038
30790Problem: A finished terminal in a popup window does not show a scrollbar.
30791Solution: Show the scrollbar if the terminal job is finished. (closes
30792 #10497)
30793Files: src/popupwin.c, src/testdir/test_popupwin.vim,
30794 src/testdir/dumps/Test_popupwin_poptermscroll_1.dump,
30795 src/testdir/dumps/Test_popupwin_poptermscroll_2.dump,
30796 src/testdir/dumps/Test_popupwin_poptermscroll_3.dump
30797
30798Patch 8.2.5039
30799Problem: Confusing error if first argument of popup_create() is wrong.
30800Solution: Give a more informative error.
30801Files: src/popupwin.c, src/testdir/test_popupwin.vim, src/errors.h,
30802 src/testdir/dumps/Test_popup_settext_07.dump
30803
30804Patch 8.2.5040
30805Problem: Scrollbar thumb in scrolled popup not visible.
30806Solution: Show at least one thumb character. (fixes 10492)
30807Files: src/popupwin.c, src/testdir/test_popupwin.vim,
30808 src/testdir/dumps/Test_popupwin_scroll_13.dump
30809
30810Patch 8.2.5041
30811Problem: Cannot close a terminal popup with "NONE" job.
30812Solution: Adjust the conditions for whether a job is running.
30813 (closes #10498)
30814Files: src/buffer.c, src/terminal.c, src/proto/terminal.pro,
30815 src/undo.c, src/testdir/test_popupwin.vim
30816
30817Patch 8.2.5042
30818Problem: Scrollbar thumb in tall scrolled popup not visible.
30819Solution: Show at least one thumb character. (fixes 10492)
30820Files: src/popupwin.c, src/testdir/test_popupwin.vim,
30821 src/testdir/dumps/Test_popupwin_scroll_13.dump
30822
30823Patch 8.2.5043
30824Problem: Can open a cmdline window from a substitute expression.
30825Solution: Disallow opening a command line window when text or buffer is
30826 locked.
30827Files: src/buffer.c, src/ex_getln.c, src/proto/ex_getln.pro,
30828 src/window.c, src/testdir/test_substitute.vim
30829
30830Patch 8.2.5044 (after 8.2.5043)
30831Problem: Command line test fails.
30832Solution: Also beep when cmdline win can't be opened because of locks.
30833 Make the test not beep. Make the test pass on MS-Windows.
30834Files: src/ex_getln.c, src/testdir/test_substitute.vim
30835
30836Patch 8.2.5045
30837Problem: Can escape a terminal popup window when the job is finished.
30838Solution: Only check for a finished job where it is relevant.
30839 (closes #10253)
30840Files: src/popupwin.c, src/testdir/test_popupwin.vim,
30841 src/testdir/dumps/Test_popupwin_poptermscroll_1.dump,
30842 src/testdir/dumps/Test_popupwin_poptermscroll_2.dump,
30843 src/testdir/dumps/Test_popupwin_poptermscroll_3.dump,
30844 src/testdir/dumps/Test_popupwin_poptermscroll_4.dump
30845
30846Patch 8.2.5046
30847Problem: vim_regsub() can overwrite the destination.
30848Solution: Pass the destination length, give an error when it doesn't fit.
30849Files: src/regexp.h, src/regexp.c, src/proto/regexp.pro, src/eval.c,
30850 src/ex_cmds.c
30851
30852Patch 8.2.5047
30853Problem: CurSearch highlight is often wrong.
30854Solution: Remember the last highlighted position and redraw when needed.
30855Files: src/globals.h, src/match.c, src/drawscreen.c, src/change.c,
30856 src/testdir/test_search.vim,
30857 src/testdir/dumps/Test_hlsearch_cursearch_changed_1.dump
30858
30859Patch 8.2.5048
30860Problem: When using XIM the gui test may fail.
30861Solution: Only use --not-a-term when not using XIM.
30862Files: src/testdir/test_gui.vim
30863
30864Patch 8.2.5049
30865Problem: Insufficient tests for autocommands.
30866Solution: Add a few more tests. (Yegappan Lakshmanan, closes #10507)
30867Files: src/autocmd.c, src/testdir/gen_opt_test.vim,
30868 src/testdir/test_autocmd.vim, src/testdir/test_cmdline.vim
30869
30870Patch 8.2.5050
30871Problem: Using freed memory when searching for pattern in path.
30872Solution: Make a copy of the line.
30873Files: src/search.c, src/testdir/test_tagjump.vim
30874
30875Patch 8.2.5051
30876Problem: Check for autocmd_add() event argument is confusing.
30877Solution: Make the code more straightforward.
30878Files: src/autocmd.c
30879
30880Patch 8.2.5052
30881Problem: CI checkout step title is a bit cryptic.
30882Solution: Add a better title. (closes #10509)
30883Files: .github/workflows/ci.yml, .github/workflows/coverity.yml,
30884 .github/workflows/codeql-analysis.yml
30885
30886Patch 8.2.5053
30887Problem: Cannot have a comment halfway an expression in an autocmd command
30888 block.
30889Solution: When skipping over the NL also skip over comments. (closes #10519)
30890Files: src/eval.c, src/testdir/test_autocmd.vim
30891
30892Patch 8.2.5054
30893Problem: No good filetype for conf files similar to dosini.
30894Solution: Add the confini filetype. (closes #10518)
30895Files: runtime/filetype.vim, src/testdir/test_filetype.vim
30896
30897Patch 8.2.5055
30898Problem: Statusline is not updated when terminal title changes.
30899Solution: Redraw the status line when the title changes. (issue #10425)
30900Files: src/terminal.c
30901
30902Patch 8.2.5056
30903Problem: The channel log only contains some of the raw terminal output.
30904Solution: Add the "o" flag to log all terminal output. Use it for "--log".
30905Files: runtime/doc/channel.txt, runtime/doc/starting.txt, src/main.c,
30906 src/channel.c, src/vim.h, src/term.c, src/edit.c, src/normal.c,
30907 src/optionstr.c
30908
30909Patch 8.2.5057
30910Problem: Using gettimeofday() for timeout is very inefficient.
30911Solution: Set a platform dependent timer. (Paul Ollis, closes #10505)
30912Files: src/auto/configure, src/config.h.in, src/configure.ac,
30913 src/drawscreen.c, src/errors.h, src/evalfunc.c, src/ex_cmds.c,
30914 src/ex_getln.c, src/match.c, src/os_mac.h, src/os_macosx.m,
30915 src/os_unix.c, src/os_win32.c, src/proto/os_unix.pro,
30916 src/proto/os_win32.pro, src/proto/regexp.pro, src/quickfix.c,
30917 src/regexp.c, src/regexp.h, src/regexp_bt.c, src/regexp_nfa.c,
30918 src/screen.c, src/search.c, src/structs.h, src/syntax.c,
30919 src/testdir/test_hlsearch.vim, src/testdir/test_search.vim,
30920 src/testdir/test_syntax.vim
30921
30922Patch 8.2.5058
30923Problem: input() does not handle composing characters properly.
30924Solution: Use mb_cptr2char_adv() instead of mb_ptr2char_adv().
30925 (closes #10527)
30926Files: src/getchar.c, src/testdir/test_functions.vim
30927
30928Patch 8.2.5059
30929Problem: Autoconf 2.71 produces many obsolete warnings.
30930Solution: Replace obsolete macros with non-obsolete ones, where the
30931 functionality does not change. (issue #10528)
30932Files: src/configure.ac, src/auto/configure
30933
30934Patch 8.2.5060 (after 8.2.5059)
30935Problem: Running configure fails.
30936Solution: Remove line break.
30937Files: src/configure.ac, src/auto/configure
30938
30939Patch 8.2.5061
30940Problem: C89 requires signal handlers to return void.
30941Solution: Drop RETSIGTYPE and hard-code a void return value.
30942Files: src/configure.ac, src/auto/configure, src/if_cscope.c,
30943 src/os_unix.c, src/pty.c, src/os_mac.h, src/os_vms_conf.h,
30944 src/config.h.in, src/osdef1.h.in
30945
30946Patch 8.2.5062
30947Problem: Coverity warns for dead code.
30948Solution: Remove the dead code.
30949Files: src/os_unix.c, src/match.c
30950
30951Patch 8.2.5063
30952Problem: Error for a command may go over the end of IObuff.
30953Solution: Truncate the message.
30954Files: src/ex_docmd.c, src/testdir/test_cmdline.vim
30955
30956Patch 8.2.5064
30957Problem: No test for what 8.1.0052 fixes.
30958Solution: Add a test. (closes #10531)
30959Files: src/getchar.c, src/testdir/test_mapping.vim
30960
30961Patch 8.2.5065
30962Problem: Wrong return type for main() in tee.c.
30963Solution: Use "int" instead of "void". Remove unused variable.
30964Files: src/tee/tee.c
30965
30966Patch 8.2.5066
30967Problem: Can specify multispace listchars only for whole line.
30968Solution: Add "leadmultispace". (Christian Brabandt, closes #10496)
30969Files: runtime/doc/options.txt, src/drawline.c, src/message.c,
30970 src/screen.c, src/structs.h, src/window.c,
30971 src/testdir/test_listchars.vim
30972
30973Patch 8.2.5067
30974Problem: Timer_create is not available on every Mac system. (Hisashi T
30975 Fujinaka)
30976Solution: Adjust #ifdef.
30977Files: src/os_unix.c
30978
30979Patch 8.2.5068
30980Problem: Gcc 12.1 warning when building tee.
30981Solution: Change type to size_t. (John Marriott)
30982Files: src/tee/tee.c
30983
30984Patch 8.2.5069
30985Problem: Various warnings from clang on MS-Windows.
30986Solution: Fix the code to avoid the warnings. (Yegappan Lakshmanan,
30987 closes #10538)
30988Files: src/dosinst.c, src/fileio.c, src/gui_w32.c, src/os_mswin.c,
30989 src/os_win32.c
30990
30991Patch 8.2.5070
30992Problem: Unnecessary code.
30993Solution: Remove code that isn't needed. (closes #10534)
30994Files: src/message.c, src/screen.c
30995
30996Patch 8.2.5071
30997Problem: With some Mac OS version clockid_t is redefined.
30998Solution: Adjust #ifdefs. (Ozaki Kiichi, closes #10549)
30999Files: src/os_mac.h
31000
31001Patch 8.2.5072
31002Problem: Using uninitialized value and freed memory in spell command.
31003Solution: Initialize "attr". Check for empty line early.
31004Files: src/spell.c, src/testdir/test_spell_utf8.vim
31005
31006Patch 8.2.5073
31007Problem: Clang on MS-Windows produces warnings.
31008Solution: Avoid the warnings. (Yegappan Lakshmanan, closes #10546)
31009Files: src/dosinst.c, src/dosinst.h, src/gui_dwrite.cpp, src/gui_w32.c,
31010 src/iscygpty.c, src/libvterm/src/vterm_internal.h, src/mbyte.c,
31011 src/os_win32.c, src/os_win32.h, src/term.c, src/xdiff/xinclude.h
31012
31013Patch 8.2.5074
31014Problem: Spell test fails on MS-Windows.
31015Solution: Do not change 'encoding'
31016Files: src/testdir/test_spell_utf8.vim
31017
31018Patch 8.2.5075
31019Problem: Clang gives an out of bounds warning.
31020Solution: adjust conditional expression (John Marriott)
31021Files: src/ui.c
31022
31023Patch 8.2.5076
31024Problem: Unnecessary code.
31025Solution: Remove code and replace with function call. (closes #10552)
31026Files: src/drawline.c, src/getchar.c
31027
31028Patch 8.2.5077
31029Problem: Various warnings from clang on MS-Windows.
31030Solution: Avoid the warnings. (Yegappan Lakshmanan, closes #10553)
31031Files: src/dosinst.c, src/dosinst.h, src/filepath.c, src/gui_w32.c,
31032 src/misc1.c, src/os_win32.c
31033
31034Patch 8.2.5078
31035Problem: Substitute test has a one second delay.
31036Solution: Use ":silent!". Add another test case. (closes #10558)
31037Files: src/testdir/test_substitute.vim
31038
31039Patch 8.2.5079
31040Problem: DirChanged autocommand may use freed memory. (Shane-XB Qian)
31041Solution: Free the memory later. (closes #10555)
31042Files: src/ex_docmd.c, src/testdir/test_autocmd.vim
31043
31044Patch 8.2.5080
31045Problem: When indenting gets out of hand it is hard to stop.
31046Solution: When line gets too long set got_int.
31047Files: src/indent.c
31048
31049Patch 8.2.5081
31050Problem: Autocmd test fails on MS-Windows.
31051Solution: Set shellslash to get forward slashes.
31052Files: src/testdir/test_autocmd.vim
31053
31054Patch 8.2.5082 (after 8.2.5080)
31055Problem: Retab test fails.
31056Solution: Disable the test for now.
31057Files: src/testdir/test_retab.vim
31058
31059Patch 8.2.5083
31060Problem: Autocmd test still fails on MS-Windows.
31061Solution: Change backward to forward slashes.
31062Files: src/testdir/test_autocmd.vim
31063
31064Patch 8.2.5084
31065Problem: When the GUI shows a dialog tests get stuck.
31066Solution: Add the --gui-dialog-file argument.
31067Files: runtime/doc/starting.txt, src/Make_mvc.mak, src/gui.c, src/main.c,
31068 src/message.c, src/os_mswin.c, src/proto/gui.pro,
31069 src/proto/main.pro, src/structs.h, src/testdir/Make_dos.mak,
31070 src/testdir/Make_ming.mak, src/testdir/Makefile,
31071 src/testdir/runtest.vim, src/testdir/shared.vim
31072
31073Patch 8.2.5085
31074Problem: Gcc gives warning for signed/unsigned difference.
31075Solution: Use a different pointer type. (John Marriott)
31076Files: src/os_mswin.c
31077
31078Patch 8.2.5086
31079Problem: CI runs on Windows 2019.
31080Solution: Switch to Windows 2022. (closes #10566)
31081Files: .github/workflows/ci.yml
31082
31083Patch 8.2.5087
31084Problem: Cannot build with clang on MS-Windows.
31085Solution: Add support for building with clang. (Yegappan Lakshmanan,
31086 closes #10557)
31087Files: src/GvimExt/Make_ming.mak, src/INSTALLpc.txt,
31088 src/Make_cyg_ming.mak
31089
31090Patch 8.2.5088
31091Problem: Value of cmod_verbose is a bit complicated to use.
31092Solution: Use zero for not set, value + 1 when set. (closes #10564)
31093Files: src/ex_docmd.c, src/ex_getln.c, src/globals.h, src/structs.h
31094
31095Patch 8.2.5089
31096Problem: Some functions return a different value on failure.
31097Solution: Initialize the return value earlier. (Yegappan Lakshmanan,
31098 closes #10568)
31099Files: src/autocmd.c, src/dict.c, src/evalfunc.c, src/list.c
31100
31101Patch 8.2.5090
31102Problem: MS-Windows: vim.def is no longer used.
31103Solution: Delete vim.def. (Ken Takata, closes #10569)
31104Files: Filelist, Makefile, src/vim.def
31105
31106Patch 8.2.5091
31107Problem: Terminal test fails with some shell commands.
31108Solution: Disable setting the window title. (closes #10530)
31109Files: src/testdir/test_terminal.vim
31110
31111Patch 8.2.5092
31112Problem: Using "'<,'>" in Ex mode may compare unrelated pointers.
31113Solution: Set eap->cmd to "+" only later.
31114Files: src/ex_docmd.c
31115
31116Patch 8.2.5093
31117Problem: Error message for unknown command may mention the command twice.
31118 (Malcolm Rowe)
31119Solution: Add the did_append_cmd flag. (closes #10570)
31120Files: src/ex_docmd.c
31121
31122Patch 8.2.5094
31123Problem: MS-Windows GUI: empty command may cause a dialog.
31124Solution: Delete the dialog file. Improve the message.
31125Files: src/testdir/runtest.vim, src/testdir/test_ex_mode.vim
31126
31127Patch 8.2.5095
31128Problem: Terminal test still fails with some shell commands.
31129Solution: Disable setting the window title in the Vim instance running in a
31130 terminal window. (closes #10530)
31131Files: src/testdir/test_terminal.vim
31132
31133Patch 8.2.5096 (after 8.2.5095)
31134Problem: Terminal test still fails with some shell commands.
31135Solution: Add missing "call". (closes #10530)
31136Files: src/testdir/test_terminal.vim
31137
31138Patch 8.2.5097
31139Problem: Using uninitialized memory when using 'listchars'.
31140Solution: Use the length returned by mb_char2bytes(). (closes #10576)
31141Files: src/message.c
31142
31143Patch 8.2.5098
31144Problem: Spelldump test sometimes hangs.
31145Solution: Catch the problem of the spell file not being found to avoid
31146 hanging in the download dialog.
31147Files: src/testdir/test_spell.vim
31148
31149Patch 8.2.5099
31150Problem: Some terminal tests are not retried.
31151Solution: Mark terminal tests as flaky.
31152Files: src/testdir/test_terminal.vim
31153
31154Patch 8.2.5100
31155Problem: Memory usage tests are not retried.
31156Solution: Mark memory usage tests as flaky.
31157Files: src/testdir/test_memory_usage.vim
31158
31159Patch 8.2.5101
31160Problem: MS-Windows with MinGW: $CC may be "cc" instead of "gcc".
31161Solution: Set $CC if it is not matching "clang". (Yegappan Lakshmanan,
31162 closes #10578)
31163Files: src/INSTALLpc.txt, src/Make_cyg_ming.mak
31164
31165Patch 8.2.5102
31166Problem: Interrupt not caught in test.
31167Solution: Consider an exception thrown in the current try/catch when got_int
31168 is set. Also catch early exit when not using try/catch.
31169Files: src/indent.c, src/testing.c, src/testdir/test_retab.vim,
31170 src/testdir/runtest.vim
31171
31172Patch 8.2.5103
31173Problem: Build fails with small features.
31174Solution: Add #ifdef. Skip test on MS-Windows.
31175Files: src/indent.c, src/testdir/test_retab.vim
31176
31177Patch 8.2.5104 (after 8.2.5103)
31178Problem: Test hangs on MS-Windows.
31179Solution: Skip another test on MS-Windows.
31180Files: src/testdir/test_retab.vim
31181
31182Patch 8.2.5105 (after 8.2.5104)
31183Problem: Test still hangs on MS-Windows.
31184Solution: Skip "nocatch" test the right way.
31185Files: src/testdir/test_retab.vim
31186
31187Patch 8.2.5106
31188Problem: Default cmdwin mappings are re-mappable.
31189Solution: Make the default mappings not re-mappable. (closes #10580) Use
31190 symbols for the first do_map() argument.
31191Files: src/vim.h, src/ex_getln.c, src/map.c, src/proto/map.pro,
31192 src/digraph.c, src/netbeans.c
31193
31194Patch 8.2.5107
31195Problem: Some callers of rettv_list_alloc() check for not OK. (Christ van
31196 Willegen)
31197Solution: Use "==" instead of "!=" when checking the return value.
31198Files: src/evalbuffer.c, src/channel.c, src/cmdexpand.c, src/evalfunc.c,
31199 src/evalwindow.c, src/insexpand.c, src/job.c, src/list.c,
31200 src/map.c, src/menu.c, src/mouse.c, src/move.c, src/sign.c,
31201 src/textprop.c, src/term.c, src/time.c
31202
31203Patch 8.2.5108
31204Problem: Retab test disabled because it hangs on MS-Windows.
31205Solution: Also set got_int at the other place a overlong text is detected.
31206Files: src/indent.c, src/testdir/test_retab.vim
31207
31208Patch 8.2.5109
31209Problem: Mode not updated after CTRL-O CTRL-C in Insert mode.
31210Solution: Set redraw_mode and use it. (closes #10581)
31211Files: src/main.c, src/normal.c, src/testdir/test_normal.vim,
31212 src/testdir/dumps/Test_mode_updated_1.dump
31213
31214Patch 8.2.5110
31215Problem: Icon filetype not recognized from the first line.
31216Solution: Add a check for the first line. (Doug Kearns)
31217Files: runtime/autoload/dist/script.vim, src/testdir/test_filetype.vim
31218
31219Patch 8.2.5111
31220Problem: No test for --gui-dialog-file.
31221Solution: Add a test.
31222Files: src/testdir/test_gui.vim
31223
31224Patch 8.2.5112 (after 8.2.5111)
31225Problem: Gui test hangs on MS-Windows.
31226Solution: Use "!start" to start Vim.
31227Files: src/testdir/test_gui.vim
31228
31229Patch 8.2.5113
31230Problem: Timer becomes invalid after fork/exec, :gui gives errors. (Gabriel
31231 Dupras)
31232Solution: Delete the timer befor forking. (closes #10584)
31233Files: src/os_unix.c, src/proto/os_unix.pro, src/gui.c
31234
31235Patch 8.2.5114
31236Problem: Time limit on searchpair() does not work properly.
31237Solution: Set the time limit once instead of for each regexp. (closes #10562)
31238Files: src/search.c, src/evalfunc.c, src/testdir/test_search.vim
31239
31240Patch 8.2.5115
31241Problem: Search timeout is overrun with some patterns.
31242Solution: Check for timeout in more places. Make the flag volatile and
31243 atomic. Use assert_inrange() to see what happened.
31244Files: src/regexp_nfa.c, src/regexp_bt.c, src/regexp.c, src/os_unix.c,
31245 src/proto/os_unix.pro, src/testdir/test_search.vim
31246
31247Patch 8.2.5116
31248Problem: "limit" option of matchfuzzy() not always respected.
31249Solution: Remove "else". (Kazuyuki Miyagi, closes #10586)
31250Files: runtime/doc/builtin.txt, src/search.c,
31251 src/testdir/test_matchfuzzy.vim
31252
31253Patch 8.2.5117
31254Problem: Crash when calling a Lua callback from a :def function. (Bohdan
31255 Makohin)
31256Solution: Handle FC_CFUNC in call_user_func_check(). (closes #10587)
31257Files: src/userfunc.c, src/testdir/test_lua.vim
31258
31259Patch 8.2.5118
31260Problem: MS-Windows: sending a message to another Vim may hang if that Vim
31261 is halted.
31262Solution: Add a timeout to serverSendToVim(). (Ken Takata, closes #10585)
31263Files: runtime/pack/dist/opt/editexisting/plugin/editexisting.vim,
31264 src/os_mswin.c
31265
31266Patch 8.2.5119
31267Problem: CI uses cache v2.
31268Solution: Use cache v3. (closes #10588)
31269Files: .github/workflows/ci.yml
31270
31271Patch 8.2.5120
31272Problem: Searching for quotes may go over the end of the line.
31273Solution: Check for running into the NUL.
31274Files: src/textobject.c
31275
31276Patch 8.2.5121
31277Problem: Interrupt test sometimes fails.
31278Solution: Use a different file name.
31279Files: src/testdir/test_interrupt.vim
31280
31281Patch 8.2.5122
31282Problem: Lisp indenting my run over the end of the line.
31283Solution: Check for NUL earlier.
31284Files: src/indent.c, src/testdir/test_indent.vim
31285
31286Patch 8.2.5123
31287Problem: Using invalid index when looking for spell suggestions.
31288Solution: Do not decrement the index when it is zero.
31289Files: src/spellsuggest.c, src/testdir/test_spell.vim
31290
31291Patch 8.2.5124
31292Problem: When syntax timeout test fails it does not show the time.
31293Solution: Use assert_inrange().
31294Files: src/testdir/test_syntax.vim
31295
31296Patch 8.2.5125
31297Problem: MS-Windows: warnings from MinGW compyler.
31298Solution: Use "volatile". (Yasuhiro Matsumoto, closes #10589) Initialize
31299 variable.
31300Files: src/os_win32.c, src/proto/os_win32.pro, src/map.c
31301
31302Patch 8.2.5126
31303Problem: Substitute may overrun destination buffer.
31304Solution: Disallow switching buffers in a substitute expression.
31305Files: src/ex_docmd.c, src/testdir/test_substitute.vim
31306
31307Patch 8.2.5127
31308Problem: Using assert_true() does not show value on failure.
31309Solution: Use assert_inrange(). (closes #10593)
31310Files: src/testdir/test_channel.vim, src/testdir/test_hlsearch.vim
31311
31312Patch 8.2.5128
31313Problem: Syntax highlighting disabled when using synID() in searchpair()
31314 skip expression and it times out. (Jaehwang Jung)
31315Solution: Add the redrawtime_limit_set flag. (closes #10562)
31316Files: src/globals.h, src/drawscreen.c, src/syntax.c
31317
31318Patch 8.2.5129
31319Problem: Timeout handling is not optimal.
31320Solution: Avoid setting timeout_flag twice. Adjust the pointer when
31321 stopping the regexp timeout. Adjust variable name.
31322Files: src/os_unix.c, src/os_win32.c, src/regexp.c
Bram Moolenaarc51cf032022-02-26 12:25:45 +000031323
31324
31325
31326 vim:tw=78:ts=8:noet:ft=help:norl: